ModernCloud.ir
56 subscribers
145 photos
15 videos
2 files
164 links
Download Telegram
Unified LoRaWAN Networks for the Connected World



لینک مقاله : https://www.iotforall.com/unified-lorawan-for-the-connected-world
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#LoRaWAN #connected #World
Apache Beam Overview


Apache Beam is an open source, unified model for defining both batch and streaming data-parallel processing pipelines. Using one of the open source Beam SDKs, you build a program that defines the pipeline. The pipeline is then executed by one of Beam’s supported distributed processing back-ends, which include Apache Flink, Apache Spark, and Google Cloud Dataflow.

لینک : https://beam.apache.org/get-started/beam-overview
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#apache #beam #google #dataflow
محصولات ابری گوگل
گوگل یکی از شناخته شده ترین و بزرگ‌ترین کمپانی‌های نرم‌افزاری دنیاست که در زمینه های مختلف در حال توسعه و عرضه محصولات متنوع است. گوگل دارای بیش از 100 محصول ابریست که ...
ادامه مطلب در لینک زیر

لینک پست : https://moderncloud.ir/articles/مطالب-آموزشی/P1105-محصولات-ابری-گوگل.html
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#cloud #google #product
محصولات ابری IBM

شرکت IBM یکی از بازیگران اصلی عرصه خدمات ابریست که در مجموع بیش از 170 محصول و سرویس ابری را در دسته بندی‌های مختلف از جمله موارد زیر توسعه داده است...
ادامه در وبسایت


لینک پست : https://moderncloud.ir/articles/مطالب-آموزشی/P1106-محصولات-ابری-ibm.html
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#IBM #cloud #product
محصولات ابری آمازون AWS

شرکت آمازون رتبه اول در خدمات ابری جهان را داراست که بیش از 220 محصول ابری خود را در دسته بندی‌های زیر عرضه کرده است...
ادامه در سایت

لینک پست : https://moderncloud.ir/articles/مطالب-آموزشی/P1107-محصولات-ابری-آمازون-aws.html
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#aws #cloud #amazon
UNIT TESTING VS INTEGRATION TESTING - EXPLAINED IN UNDER 5 MINUTES




لینک ویدئو : https://www.youtube.com/watch?v=pf6Zhm-PDfQ
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#unit #testing #INTEGRATION
تصمیم دارم فردا یک سری استوری از زندگی روزانم توی یکشنبه‌ها منتشر کنم
روز من از ساعت حدود 5 صبح شروع میشه باهام همراه باشید

پیشنهاد میکنم حتما حساب اینستام رو فالو کنید و استوری‌های فردا رو از دست ندید.

حساب اینستاگرام: https://www.instagram.com/behnamsabaghi.ir
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#work #job
Atlassian Bitbucket Server vulnerable to critical RCE vulnerability


لینک خبر : https://www.bleepingcomputer.com/news/security/atlassian-bitbucket-server-vulnerable-to-critical-rce-vulnerability
لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#news #Atlassian #Bitbucket #Server #vulnerable
How Bluetooth® Low Energy Is Transforming IoT Asset Tracking

For most of human history, shipping goods was a leap of faith. Medieval merchants risked entire fortunes on seaborne exports. All they could do was hope the fleet arrived safely at foreign ports. Often, it didn’t.
...


لینک مقاله : https://www.iotforall.com/bluetooth-low-energy-is-transforming-asset-tracking

لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#Bluetooth #LowEnergy #Transforming #IoT #Asset #Tracking
آیا میدانستید که DTLS نسخه سازگار شده TLS برای دیتاگرام است و میتوانید با استفاده از آن پیام‌های ارسالی روی UDP را رمزنگاری کنید؟


لینک استک : https://stackoverflow.com/questions/3040123/best-practices-for-encrypting-continuous-small-udp-data

لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#DTLS #TLS #UDP.
به بینگ چت گفتم:
compare redis vs kafka
جواب داد
Kafka is a distributed, partitioned, replicated commit log service that provides the functionality of a messaging system, but with a unique design¹. It can be classified as a tool in the "Message Queue" category¹.

Redis, on the other hand, is an open-source, BSD licensed, advanced key-value store that is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets¹. It is grouped under "In-Memory Databases" category¹.

One main difference between Redis Pub/Sub and Kafka Pub/Sub is that Redis Pub/Sub is push-based while Kafka Pub/Sub is pull-based. That means messages published to Redis will be automatically delivered to subscribers instantly, while in Kafka data/messages are never pushed out to consumers; the consumer will ask for messages when they are ready to handle the message³.

I hope this helps!

Source: Conversation with Bing, 3/25/2023(1) Kafka vs Redis | What are the differences? - stackshare.io. https://stackshare.io/stackups/kafka-vs-redis Accessed 3/25/2023.
(2) Difference between Redis and Kafka - Stack Overflow. https://stackoverflow.com/questions/37990784/difference-between-redis-and-kafka Accessed 3/25/2023.
(3) Redis vs Kafka | Top 7 Useful Differences You Should Know - EDUCBA. https://www.educba.com/redis-vs-kafka/ Accessed 3/25/2023.
(4) Redis streams vs. Kafka — Matt Westcott. https://mattwestcott.org/blog/redis-streams-vs-kafka Accessed 3/25/2023.
(5) Redis Enterprise and Kafka | Learn the Differences. https://redis.com/comparisons/redis-enterprise-and-kafka/ Accessed 3/25/2023.
(6) The Difference Between Kafka and Redis and why Both are Most ... - Medium. https://medium.com/dataprophet/the-difference-between-kafka-and-redis-and-why-both-are-most-important-d912870632c4 Accessed 3/25/2023.


لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#bing #chat #microsoft
سوال:
write and example to use auth2 in drogon c++ web freamwork and write server and client examples

جواب :
Drogon is a high-performance C++ web framework that supports OAuth2 authentication. In this example, we'll create a simple OAuth2 server and client using Drogon. We'll use the authorization code grant flow in this example.

First, let's create the OAuth2 server:

OAuth2Server/main.cpp
#include <drogon/drogon.h>
#include <drogon/orm/DbClient.h>
#include <drogon/orm/RestfulController.h>
#include <drogon/auth/OAuth2.h>

using namespace drogon;

int main()
{
// Initialize Drogon
drogon::app().loadConfigFile("config.json");

// Set up OAuth2 provider
auto oauth2 = drogon::OAuth2::newOAuth2Provider()
.clientId("your_client_id")
.clientSecret("your_client_secret")
.authorizationEndpoint("/oauth2/authorize")
.tokenEndpoint("/oauth2/token")
.build();

// Register OAuth2 provider
drogon::app().registerOAuth2Provider(oauth2);

// Start the server
drogon::app().run();

return 0;
}

OAuth2Server/config.json
{
"app": {
"threads_num": 1
},
"listeners": [
{
"address": "0.0.0.0",
"port": 8080,
"https": false
}
]
}

Now, let's create the OAuth2 client:

OAuth2Client/main.cpp
#include <drogon/drogon.h>
#include <drogon/auth/OAuth2.h>

using namespace drogon;

int main()
{
// Initialize Drogon
drogon::app().loadConfigFile("config.json");

// Set up OAuth2 client
auto oauth2Client = drogon::OAuth2::newOAuth2Client()
.clientId("your_client_id")
.clientSecret("your_client_secret")
.authorizationEndpoint("http://localhost:8080/oauth2/authorize")
.tokenEndpoint("http://localhost:8080/oauth2/token")
.build();

// Register OAuth2 client
drogon::app().registerOAuth2Client(oauth2Client);

// Start the client
drogon::app().run();

return 0;
}

OAuth2Client/config.json
{
"app": {
"threads_num": 1
},
"listeners": [
{
"address": "0.0.0.0",
"port": 8081,
"https": false
}
]
}

To test the OAuth2 server and client, run both applications and access the client's authorization endpoint using a web browser. The user will be redirected to the server's authorization endpoint and then back to the client after successful authentication. The client will then use the authorization code to request an access token from the server's token endpoint.

Please note that this example is just a starting point and doesn't include the implementation of user authentication or resource protection. You'll need to implement these features according to your application's requirements. You can find more information about Drogon and its OAuth2 support in the official documentation.

لینک کانال تلگرام ما : https://t.me/moderncloud_ir
#chat #gpt4
Forwarded from Programmer Jokes
دوستان به یک برنامه نویس حرفه‌ای ترجیحا مسلط به سرور نویسی با سی پلاس پلاس نیاز داریم
در صورتی که امکان همکاری دارید ممنون میشم بهم پیام بدید
@fonqri
Forwarded from ModernCpp.ir
Media is too big
VIEW IN TELEGRAM
آراد استخدام می‌کند.
لینک جابینجا: B2n.ir/AradJobs
ارتباط با منابع انسانی : @Arad_HRManagement
This media is not supported in your browser
VIEW IN TELEGRAM
آراد استخدام می‌کند.
لینک جابینجا: B2n.ir/AradJobs
ارتباط با منابع انسانی : @Arad_HRManagement