Pinned Tweet
we already had the long journey, have to stoped this and find the next stop for us. goodbye to bygones. those are bygones
tradingview.com/blog/en/new-…
Trần Hoàng Minh retweeted
SOMEONE CREATED A GITHUB REPO WITH AN ENTIRE SETUP FOR AN AI AGENCY
Engineers, designers, growth marketers, product managers.
Broken down how even a rookie could understand.
It has over 10K stars in 7 days
GitHub: github.com/msitarzewski/agen…
Buy on red days to sell on green days $CERE :)
$CERE tokens are now available on @base through @QuickswapDEX 🔥
Join the CERE/USDC pool now & earn $QUICK
293
Trần Hoàng Minh retweeted
We'd like to send a big Thank You to our Soft Launch players! We had an amazing time in all the tournaments & events. We're really excited to play with you guys once again on August 20th. See details in thread about your soft launch items 🧵
Trần Hoàng Minh retweeted
Behind the Stack w/ Marketplace Partner - Cere Network xitter.gq/i/broadcasts/1OyJALjMD…
Trần Hoàng Minh retweeted
In 2021, we set out to do something big with @cereofficial; building a completely decentralized data cloud, with a clean separation of protocol and cloud, to disrupt the massive data infrastructure space.
Between reliable and truly decentralized data storage, retrieval, and delivery, we had a long path ahead of us..
THREAD 🧵
Tl;dr -> bit.ly/DDCD1
Trần Hoàng Minh retweeted
Top 5 common ways to improve API performance.
Result Pagination:
This method is used to optimize large result sets by streaming them back to the client, enhancing service responsiveness and user experience.
Asynchronous Logging:
This approach involves sending logs to a lock-free buffer and returning immediately, rather than dealing with the disk on every call. Logs are periodically flushed to the disk, significantly reducing I/O overhead.
Data Caching:
Frequently accessed data can be stored in a cache to speed up retrieval. Clients check the cache before querying the database, with data storage solutions like Redis offering faster access due to in-memory storage.
Payload Compression:
To reduce data transmission time, requests and responses can be compressed (e.g., using gzip), making the upload and download processes quicker.
Connection Pooling:
This technique involves using a pool of open connections to manage database interaction, which reduces the overhead associated with opening and closing connections each time data needs to be loaded. The pool manages the lifecycle of connections for efficient resource use.
Over to you: What other ways do you use to improve API performance?
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Trần Hoàng Minh retweeted
It's 2023, and we still don't have proper ETH and BTC interoperability.
Until today. 🧵👇
xitter.gq/VitalikButerin/status/…
Trần Hoàng Minh retweeted
We are focused on bringing #BTC utility with the cross-chain interoperability of tBTC. 🐂
@mhluongo chatted with @Austin_Federa of the @solana Validated Podcast about everything Threshold & tBTC 🚀
🎬 Watch @ValidatedPod here: youtu.be/zrQ52XRcINc
Let’s slay this #Bitcoin pet rock meme!
such a good metaphor
Replying to @AshCrypto
𝗛𝗲𝗿𝗲 𝗶𝘀 𝗠𝗮𝗿𝗴𝗼𝘁 𝗥𝗼𝗯𝗯𝗶𝗲, 𝘁𝗼 𝗯𝗿𝗲𝗮𝗸 𝗱𝗼𝘄𝗻 𝗣𝗼𝗹𝗸𝗮𝗱𝗼𝘁 𝟮.𝟬 𝗳𝗼𝗿 𝘆𝗼𝘂 – 𝗯𝘂𝘁 𝘄𝗶𝘁𝗵 𝗽𝗮𝗻𝗰𝗮𝗸𝗲𝘀.
Right now, Polkadot's like a big kitchen that only makes pancakes but only sells them as huge batches. That’s great for some who don’t want to worry about being hungry later on, but what if you don't need 10,000 pancakes at once?
Polkadot 2.0 is like this kitchen starting to offer not just giant batches, but also single pancakes, or even just the ingredients – eggs, flour, milk. Now, builders can make just what they need, be it one pancake or a smaller batch.
And it gets better. Polkadot 2.0's kitchen is expanding its menu. Not just pancakes anymore, but also crepes, cakes, pasta, even souffles. It's about giving chefs (builders) the flexibility to cook up whatever they fancy.
This kitchen is top-notch, Michelin-star quality. 𝗪𝗲'𝗿𝗲 𝘁𝗮𝗹𝗸𝗶𝗻𝗴 𝗮𝗯𝗼𝘂𝘁 𝘂𝗻𝗱𝗲𝗿 𝗮 𝗺𝗶𝗻𝘂𝘁𝗲 𝗳𝗼𝗿 𝘆𝗼𝘂𝗿 𝗼𝗿𝗱𝗲𝗿 (𝗳𝗮𝘀𝘁 𝗳𝗶𝗻𝗮𝗹𝗶𝘁𝘆), 𝗮𝗻𝗱 𝘄𝗶𝘁𝗵 𝗮 𝗵𝘂𝗴𝗲 𝘀𝗲𝗰𝘂𝗿𝗶𝘁𝘆 ( ~$𝟯.𝟯𝗕 𝘀𝘁𝗮𝗸𝗲𝗱 𝗗𝗢𝗧) 𝗯𝗮𝗰𝗸𝗶𝗻𝗴 𝗶𝘁 𝘂𝗽, you know you're getting the best.
And imagine a marketplace where you can trade these ingredients – eggs, flour, whatever – with other chefs, based on what you need to boost your recipes. All of these traded as NFTs. That’s the first novel utility for NFTs.
𝗔𝘁𝗼𝗺𝗶𝗰 𝗰𝗼𝗺𝗽𝗼𝘀𝗮𝗯𝗶𝗹𝗶𝘁𝘆 𝗮𝗻𝗱 𝗶𝗻𝘁𝗲𝗿𝗼𝗽𝗲𝗿𝗮𝗯𝗶𝗹𝗶𝘁𝘆?
Now imagine you're at a huge international food market/Polkadot ecosystem with various food stalls (parachains). Now, you want to make the perfect breakfast, which involves getting ingredients from different stalls. How do you make sure this process is smooth, efficient, and trustworthy?
𝗫𝗖𝗠 : This is like having a 𝘂𝗻𝗶𝘃𝗲𝗿𝘀𝗮𝗹 𝗹𝗮𝗻𝗴𝘂𝗮𝗴𝗲 or a set of hand signals that everyone in the market understands. You can point, gesture, or speak in this language to tell a vendor what you want. It's great because it helps you communicate your intentions, like "I want eggs" or "I need flour."
The catch?
Just because you've communicated clearly, there's no absolute guarantee the vendor will give you exactly what you asked for. Still there is a trust. Same happens within Cosmos with IBC.
𝗔𝗰𝗰𝗼𝗿𝗱𝘀: Now, imagine some of these food stalls sign a special agreement (an Accord). They agree to always provide certain ingredients or services in a specific way, no matter what. It's like a binding contract. So, if you go to a stall that's part of this Accord and use your universal language, you can be much more confident you'll get exactly what you asked for. These stalls are held to a higher standard and can't just change their minds or rules on a whim.
𝗔𝗰𝗰𝗼𝗿𝗱 𝗦𝗽𝗮𝗰𝗲: Picture these Accord stalls having an extra layer of oversight, almost like they're part of an exclusive club that ensures they stick to their promises.
It's like having embassies from different countries in your city. Each embassy follows the laws of its home country but exists physically in your local space. In the food market, this means certain stalls (chains) can offer unique, reliable services or ingredients that aren't typically part of their usual offerings.
With that DEXs is going to operate seamlessly across multiple chains. With Accords, you could use this DEX locally on any chain without the hassle of setting up complex, bi-directional channels.
So, you can enjoy your favorite food stall that can magically appear in multiple markets at once, offering you the same great service wherever you are.
In short, Polkadot 2.0 isn't just upgrading the kitchen; it's changing the whole cooking experience for the crypto space.
Turning a bustling, chaotic market into a well-oiled machine, where every stall understands you, and you can trust them to deliver exactly what you need.
And the best part? You can mix and match these ingredients to create the perfect breakfast, just the way Margot Robbie likes it.
17
Trần Hoàng Minh retweeted
8. tldraw
Turn Your Sketches into Websites in Seconds.
Sketch anything and let our AI transform it into a fully-functional website.
Try now:
makereal.tldraw.com
Trần Hoàng Minh retweeted
Have you heard of Mixture of Experts (MoE) models? 🤔 With the release of @MistralAI Mixtral 8x7B, MoEs are gaining attention, it is also rumored @OpenAI GPT-4 is an MoE👀
But what exactly are MoEs, and how do they work?
We created an in-depth blog.
huggingface.co/blog/moe
Trần Hoàng Minh retweeted
Netflix's Tech Stack.
This post is based on research from many Netflix engineering blogs and open-source projects. If you come across any inaccuracies, please feel free to inform us.
Mobile and web: Netflix has adopted Swift and Kotlin to build native mobile apps. For its web application, it uses React.
Frontend/server communication: GraphQL.
Backend services: Netflix relies on ZUUL, Eureka, the Spring Boot framework, and other technologies.
Databases: Netflix utilizes EV cache, Cassandra, CockroachDB, and other databases.
Messaging/streaming: Netflix employs Apache Kafka and Fink for messaging and streaming purposes.
Video storage: Netflix uses S3 and Open Connect for video storage.
Data processing: Netflix utilizes Flink and Spark for data processing, which is then visualized using Tableau. Redshift is used for processing structured data warehouse information.
CI/CD: Netflix employs various tools such as JIRA, Confluence, PagerDuty, Jenkins, Gradle, Chaos Monkey, Spinnaker, Altas, and more for CI/CD processes.
–-
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Trần Hoàng Minh retweeted
This Python library is so powerful! 🔥
Introducing pix2tex! 🚀
Now you can convert images of equations into LaTeX in just 5 lines of code!👇
from PIL import Image
from pix2tex.cli import LatexOCR
img = Image. open('path/to/image.png')
model = LatexOCR()
print(model(img))
Repo: github.com/lukas-blecher/LaT…
If you are interested in AI Engineering, subscribe to my technical newsletter @ML_Spring (5k+ readers): mlspring.beehiiv.com/subscri…
Trần Hoàng Minh retweeted
Logistic Regression is the most important foundational algorithm in Classification Modeling. In 2 minutes, I'll teach you what took me 2 months to learn. Let's dive in:
1. Logistic regression is a statistical method used for analyzing a dataset in which there are one or more independent variables that determine a binary outcome (in which there are only two possible outcomes). This is commonly called a binary classification problem.
2. The Logit (Log-Odds): The formula estimates the log-odds or logit. The right-hand side is the same as the form for linear regression. But the left-hand side is the logit function, which is the natural log of the odds ratio. The logit function is what distinguishes logistic regression from other types of regression.
3. The S-Curve: Logistic regression uses a sigmoid (or logistic) function to model the data. This function maps any real-valued number into a value between 0 and 1, making it suitable for a probability estimation. This is where the S-curve shape comes in.
4. Why not Linear Regression? The shape of the S-curve often fits the binary outcome better than a linear regression. Linear regression assumes the relationship is linear, which often does not hold for binary outcomes, where the relationship between the independent variables and the probability of the outcome is typically not linear but sigmoidal (S-shaped).
5. Coefficient Estimation: Like linear regression, logistic regression calculates coefficients for each independent variable. However, these coefficients are in the log-odds scale.
6. Coefficient Interpretation (Log-Odds to Odds): Exponentiating a coefficient converts it from log odds to odds. For example, if a coefficient is 0.5, the odds ratio is exp(0.5), which is approximately 1.65. This means that with a one-unit increase in the predictor, the odds of the outcome increase by a factor of 1.65.
7. Model evaluation: The evaluation metrics for linear regression (like R-squared) are not suitable for assessing the performance of a model in a classification context. For Logistic regression, I normally use classification-specific evaluation metrics like AUC, precision, recall, F1 score, ROC curve, etc.
===
Ready to learn Data Science for Business?
I put together a free on-demand workshop that covers the 10 skills that helped me make the transition to Data Scientist: learn.business-science.io/fr…
And if you'd like to speed it up, I have a live workshop next week where I'll share how to use ChatGPT for Data Science: learn.business-science.io/re…
Trần Hoàng Minh retweeted
Here's a fantastic article by @helloiamleonie outlining 12 strategies for tuning your RAG system:
Ingestion
1. Data Cleaning
2. Chunking
3. Embedding models
4. Metadata
5. Multi-indexing
6. Indexing algorithms
Inference
7. Query Transformations
8. Retrieval Parameters
9. Advanced Retrieval Strategies
10. Re-ranking
11. LLMs
12. Good ol' prompt engineering
We have extensive guides, abstractions, and resources in @llama_index for all of these levers, on both the ingestion and inference side. Many of our resources are linked in the article (including our advanced retrieval strategies), check it out!
towardsdatascience.com/a-gui…
Trần Hoàng Minh retweeted
Summary of Gemini's 60-page technical report.
1. Written in Jax and trained using TPUs. The architecture, while not explained in details, seems similar to Flamigo's.
2. Gemini Pro's performance is similar to GPT-3.5 and Gemini Ultra is reported to be better than GPT-4. Nano-1 (1.8B params) and Nano-2 (3.25B params) are designed to run on-device.
3. 32K context length.
4. Very good at understanding vision and speech.
5. Coding ability: the big jump in HumanEval compared to GPT-4 (74.4% vs. 67%), if true, is awesome. However, the Natural2Code benchmark (no leakage on the Internet) shows a much smaller gap (74.9% vs. 73.9%).
6. On MMLU: using COT@32 (32 samples) to show that Gemini is better than GPT-4 seems forced. In 5-shot setting, GPT-4 is better (86.4% vs. 83.7%).
7. No information at all on the training data, other than they ensured "all data enrichment workers are paid at least a local living wage."
Full report: storage.googleapis.com/deepm…



































