Web_programming
1.15K subscribers
353 photos
14 videos
125 files
1.21K links
Sharif web programming
If you have any questions, please feel free to ask(@yumcoder)
Download Telegram
https://go.dev/doc/tutorial/fuzz

تست Fuzzing در golang


Fuzzing is a type of automated testing which continuously manipulates inputs to a program to find bugs. Go fuzzing uses coverage guidance to intelligently walk through the code being fuzzed to find and report failures to the user. Since it can reach edge cases which humans often miss, fuzz testing can be particularly valuable for finding security exploits and vulnerabilities.
https://www.uber.com/en-CA/blog/ubers-next-gen-push-platform-on-grpc/

Essential reading for individuals interested in large-scale and distributed systems 👆
When you need to pass data between a new tab that you open in a browser and the parent tab (the one that opened the new tab), you can use a combination of techniques, such as:
- URL Parameters
- localStorage or sessionStorage
- window.opener
-window.postMessage
Nested List Comprehension in python
🚀 Sync Airflow DAGs from Git and deploy in one click! The popular Git sync tool is now available as a standalone docker image - just run it and your DAGs auto-sync. 🐳
https://github.com/data-burst/airflow-git-sync
Has anyone had experience with Edge Network and Edge Runtime and would like to share their own experience?
package main

import (
"fmt"
"time"
)

func main() {
ch := make(chan int)

// Start a goroutine to receive data from the channel
go func() {
data := <-ch
fmt.Println("Received data:", data)
}()

// Sleep for a while to simulate some delay
time.Sleep(2 * time.Second)

// Send data to the channel
ch <- 42

fmt.Println("Main goroutine exiting...")
}

what’s the problem of this code?
Twitter Cards are a set of metadata tags that you can add to your web pages to enhance how your content appears when shared on Twitter. Similar to Open Graph tags, Twitter Cards provide structured information about your web pages, allowing you to control the way your content is displayed in Twitter's timeline and tweets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Twitter Card meta tags -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Your Page Title">
<meta name="twitter:description" content="A brief description of your page content.">
<meta name="twitter:image" content="https://example.com/your-image.jpg">
<!-- Other Twitter Card meta tags can be added as needed -->
<title>Your Page Title</title>
</head>
<body>
<!-- Your web page content goes here -->
</body>
</html>
Pymilo is an open-source Python package that provides a simple, efficient, and safe way for users to export pre-trained machine-learning models in a transparent way. By this, the exported model can be used in other environments, transferred across different platforms, and shared with others. PyMilo allows the users to export the models that are trained using popular Python libraries like scikit-learn, and then use them in deployment environments, or share them without exposing the underlying code or dependencies. The transparency of the exported models ensures reliability and safety for the end users, as it eliminates the risks of binary or pickle formats.
As this library is still in its early stages of development, it currently supports a limited number of machine learning models provided by Scikit-learn. Nevertheless, we believe it would be immensely valuable if we ask the community to utilize this library and provide us with their feedbacks about how to improve the package's interface and prioritize future developments. Your cooperation would be invaluable to us.
A concise guidebook for understanding Web3