Offer still stands. If you help me implement a follow request in #ActivityPub, I’ll Venmo or Paypay you $100.
Let me know if you wanna see my current code. https://dpaste.org/nNx9 = Follow code Pub/Priv certificates located here = https://dpaste.org/Qyhp Live non-functioning instance running at https://p.farhan.codes.
Anyone know #ActivityPub well and wanna make me $100 by helping me get a Follow request working?
I’m willing to pay by Venmo or Paypal.
I don’t understand HTTP signatures. Are the requests checked? If so, how does one view the certificate? Does each user have their own certificate? If so, how do I view them?
Lets do a test…
Give me unique text from a random Post anywhere on the #Fediverse in the last 24 hours. As long as its not a locked down instance, I’ll see if I can tell you which account said it.
ie, If the message is “I am going to Florida on Tuesday to vote for the President”, give me “I am going to Florida”.
Really good podcast: LaYinka Sanni | Male insecurities & Muslim women in public | Blood Brothers #48 https://www.youtube.com/watch?v=LqYode0UfUA
Software design question
I am writing some code that will poll the API of an arbitrarily high number of sites (starting at around 50 but it certainly will go up) once every 1-2 seconds and logging retrieved information to a database.
The sites report highly overlapping data, so there must be a process to prevent duplicates.
What is the best way to structure this?
My off-the-cuff approach is to have each website poll run as a separate thread and send the retrieved data to a database writing thread. The database writing thread will do all duplicate verification. Obviously it is going to be very busy and will likely saturate its connection quite quickly.
I also thought of having the polling threads connect directly to the database - but then the database would have multiple connections and potentially race conditions.
My current working idea is to have the database thread split into 2 parts: A. The main thread process the retrieved information to verify if it’s a duplicate or not (lots of SELECT operations) If new… B. Send the result to a writing thread.
This could potentially also create race-conditions, no?
Is there a more efficient way to do this?
Muslim | إنسان ناقص | BSD Unix | C | Anti-Ethno-Nationalist | Privacy | ﷺ
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!