BetterDev #225 - Neural Network From Scratch
Better Dev #225 Jan 10, 2022
I’m a big fan of this Napkin Math newsletter. If you haven’t subscribe to Napkin Math, you should do it. In this edition of Napkin Math, we’ll invoke the spirit of the Napkin Math series to establish a mental model for how a neural network works by building one from scratch. In a future issue we will do napkin math on performance, as establishing the first-principle understanding is plenty of ground to cover for today!
How to approach design a system at a scale of WhatsApp. What is data storage, push notification, user status all look like. What is the plan of monitoring and identify bottle neck.
JPEG (or JPG) is not really a file format but rather an image compression standard. The JPEG standard is complicated with many different options and color space regulations. It was not widely adopted. A much simpler standard version was advocated at the same time, called JFIF. This is the image compression algorithm that most people mean when they say JPEG compression, and the one that we will be describing in this class. Note that the file extensions .jpeg and .jpg have stuck, even though the underneath algorithm is (strictly speaking) JFIF compression.
On September 30th 2021, Slack had an outage that impacted less than 1% of our online user base, and lasted for 24 hours. This outage was the result of our attempt to enable DNSSEC — an extension intended to secure the DNS protocol, required for FedRAMP Moderate — but which ultimately led to a series of unfortunate events.
As part of Uber engineering’s wide efforts to reach profitability, recently our team was focused on reducing cost of compute capacity by improving efficiency. Some of the most impactful work was around GOGC optimization. In this blog we want to share our experience with a highly effective, low-risk, large-scale, semi-automated Go GC tuning mechanism. If you are into Go and memory managemet, checkout Saving a Third of Our Memory by Re-ordering Go Struct Fields too.
It’s 2022 and the dominant way of handling user input is still based on events and — in some form or another — callbacks. But in nearly every code base I’ve worked in, the hairiest, most difficult-to-modify logic is in the event handling code. To help me understand the pros and cons of the events-and-callbacks model and to experiment with some other approaches, I decided to write up a simple example in a three different styles.
UUID has a string reperesentation which make it looks like string with non numeric character, but behind the scene, many system store them as a 128 bit number.
new year, learn something new, do something different, take on challenges. The author will be building an SQL query which will emulate a quantum computer. This query will process quantum assembly, build the circuit, run the emulation and make the measurements.
ssh-agent forwarding allow remote host to forward authentication to a local node. It’s very useful when you do a ssh-add
, then login to remote server, and you can use your key to login to another server. but it open a hole where anyone can use it to connect to any host with your keys. A recent experimental feature for the upcoming OpenSSH 8.9 release will help close that hole. Instead of allowing the keys held in the agent to be used for authenticating to any host where they might work, SSH agent restriction will allow users to specify where and how those keys can be used.
Code to read
help you increase your application’s performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries), when you’re using eager loading that isn’t necessary and when you should use counter cache.
RubyLightweight full-text search engine in Javascript for browser search and offline search
JavaScripta small, full-text search library for use in the Elixir environment. It indexes JSON documents and provides a friendly search interface to retrieve documents.
ElixirA blazingly fast JSON serializing & deserializing library. JSON is still one of area that get lots of improvement due to lack of generic cause people have to use reflection and many solution emerge to solve the problem
GoI’m not a hard core C programmer and not gonna explore this. It’s more in Tools section but I decided put it here in case anyone want to see what more about video decoding and rendering, in a terminal. Impressive work.
CAll in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
C#Tools
one of the biggest open source libraries with currently 1007 SVG Icons. No premium icons, no email sign-up, no newsletters
an interactive analytics and data visualization component, which is especially well-suited for large and/or streaming datasets. Originally developed at J.P. Morgan
You can view this issue in web browser.
If you have any suggestion/feedback, do tell me by replying to this email. I read them all.
No longer want to receive these emails? Unsubscribe
Older messages
BetterDev #224 - How a Single Line of Code Made a 24-core Server Slower Than a Laptop
Wednesday, January 5, 2022
Better Dev #224 Jan 4, 2022 How a Single Line of Code Made a 24-core Server Slower Than a Laptop Imagine you wrote a program for a pleasingly parallel problem, where each thread does its own
BetterDev #223 - Roll your own network and Cache Poisoning at Scale
Tuesday, December 28, 2021
Better Dev #223 Dec 27, 2021 Roll Your Own Network An extensive guide to self hosted many cloud service in your own network, from hardware to software to network configuration. All done by you. Cache
BetterDev #222 - How does NTP works and The team that powers VLC
Tuesday, December 7, 2021
Better Dev #222 Dec 07, 2021 Hi all, It's almost the end of year. BetterDev has been 3 years. I never focus on growing it. All I do is just send out newsletter from thing I think will help everyone
BetterDev #221 - How JavaScript engines achieve great performance
Tuesday, November 30, 2021
Better Dev #221 Nov 29, 2021 Hi all, It has been 3 weeks without an issue and I miss BetterDev myself. We're planning for some new release of a new version of BetterDev to also contribute useful
BetterDev #220 - How to build an Anycast network
Tuesday, November 2, 2021
Better Dev #220 Nov 2, 2021 How to Build an Anycast Network An anycast network is two or more servers advertising the same IP address from different locations. This is useful for globally distributed
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your