BetterDev #219 - How to win at CORS and How Microsoft reduced Windows 11 update size by 40%
Better Dev #219 Oct 18, 2021
CORS is complicated because it’s a standard implement on client side, by browsers. it’s up to browser to do what it wants or needs to implement. CORS also evolved due to the complexity of modern app. The result leads to many outdated documents about CORS. Example, did you know that when using Access-Control-Allow-Origin: *
then you cannot pass cookie? but it’s up to client to implement that protection. Or if we pass cookie, Access-Control-Allow-Credentials
has to be existed in preflight. And when and why browser made preflight requests. Great, it’s getting complicated ;-)
Microsoft delivers the latest Windows security and user experiences updates monthly. Updates are modular meaning that, regardless of which update you currently have installed, you only need the most recent quality update to get your machine up to date. With the fast pace of Windows security and quality fixes, distributing this large amount of updated content takes up substantial bandwidth. Reducing this network transfer is critical for a great experience. Moreover, users on slower networks can struggle to keep their machines up to date with the latest security fixes if they cannot download the package.
A series by honeycomb about time series database. Their inner working. Different between row vs columnar storage How they compress data, what is the data layout look like on disk.
Most databases involve heavy sorting operations before the data is analyzed, visualized, and presented to end-users. Often, depending on the complexity of the query and the volume of data to be sorted, it not only turns out to be highly expensive operation, but capable enough to bring chaos in a production environment. It’s critical not just to tune resources required for sorting, but also do so sensibly, so you can achieve the desired result by sorting fewer rows from a table instead of having to scan the whole table.
Writing CSS has probably never been more fun and exciting than it is today. In this post we’ll take a look at common problems and use cases we all have to face in our work and how to solve them with modern CSS. I particularly like the Form Field Focus without outlines and going to implement it for all of my username/password form in the future.
A very thoughful and responsible whitehat hacking of a school district to take over all of network device to play same sound all at the same time. Also hat off to how the administrator team handles the hack.
How apt does this nice progress bar stuck at the bottom line while still writing scrolling text.
Just the same Letsencrypt expiration topic. But this time, the OS CA cert are fine and up to date but apparently the application has a HTTP client that uses its own CA bundle and it’s broke once Letsencrupt CA expired.
When running a production database, one needs to carefully consider all the data access patterns. The usual trap people fall into is optimizing for one data access pattern at the cost of all others. This causes production systems to fail spectacularly or lose millions of dollar as the system becomes slower over time. The team at battlefy presents us how they evolve from reduce write, calculation on read, cache to using materialized views.
Code to read
Arbitrary-precision fixed-point decimal numbers in go that can handle up to 2^31 digits after the decimal point.
GoVideo
Tools
A simple, experimental Nintendo Switch emulator written in C# and can run on Linux, Mac, Window. And a nice interview with its creator
a curated list of Unix binaries that can be used to bypass local security restrictions in misconfigured systems
SecurityHave ever write a shell script and want a real window UI to input data? Hook up to sixtyfps. Basically from your shell script, you call sixtyfps, pass a UI DSL into stdin and sixtyfps render the UI. User enter data, click “OK”, and sixtyfps quite, and write back output to stdout where your shell script can access and parse it. Very useful. Read introduction post
Turn a Raspberry Pi into an Airplay server using RPiPlay to enable screen mirroring on tvs, monitors and projectors.
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 #218 - Scaling Large Production Clusters with Partitioned Synchronization
Wednesday, October 13, 2021
Better Dev #218 Oct 12, 2021 Happy tuesday everyone. I hope you enjoy this issue, as much as I do. This issue make this newsletter feel like a database newsletter. It just happens we have so many
BetterDev #217 - Self-parking car in 500 lines of code
Tuesday, October 5, 2021
Better Dev #217 Oct 05, 2021 We skipped one issue last week due to my personal workload on my side project, email forwarding service. I also get into a few blockchain projects recently and it was a lot
BetterDev #216 - Why Authorization is Hard and The pitfalls of using ssh-agent, or how to use an agent safely
Monday, September 20, 2021
Better Dev #216 Sep 20, 2021 A very practical issue. Dealing with authorization, SSH agent, design API, optimize big JS bundle, text vs varchar in database design. I hope you like these as much as I do
BetterDev #215 - Can Podcasts Predict the Stock Market?
Monday, September 13, 2021
Better Dev #215 Sep 13, 2021 Hi everyone, full of security related articles this week. I want to shift gear a bit to give everyone gain more knowledge and exposure to cyber security. Can Podcasts
BetterDev #214 - Picturing Git: Conceptions and Misconception
Tuesday, September 7, 2021
Better Dev #214 Sep 07, 2021 This issue is arrived one day later than our usual schedule due to US holiday. We're back now and hope everyone had a great week despite of the holiday or not Picturing
You Might Also Like
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company
Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign
Wednesday, November 27, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.
The Sequence Chat: Why are Foundation Models so Hard to Explain and What are we Doing About it?
Wednesday, November 27, 2024
Addressing some of the interpretability challenges of foundation models and the emerging fields of mechanistic interpretability and behavioral probing. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Overcoming Perfectionism: How to Break Free from the Enemy of Progress
Wednesday, November 27, 2024
Discover how perfectionism hinders progress and learn practical strategies to overcome the fear of imperfection, boost productivity, and achieve your goals without getting stuck in the pursuit of
🖤 Laravel Black Friday Deals!
Wednesday, November 27, 2024
The biggest deals of the year Laravel Black Friday Deals View in browser Laravel News Editor Note: We are sending this outside the regular Sunday newsletter schedule because some of these specials end
BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?
Wednesday, November 27, 2024
Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as
Mapped | Unemployment Rate By U.S. State in 2024 💼
Tuesday, November 26, 2024
As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!
🔊 7 DIY Tips for Soundproofing a Room — Why I Switched to Xfce for Linux Mint
Tuesday, November 26, 2024
Also: Home Theater Sound Terms Explained, and More! How-To Geek Logo November 26, 2024 Did You Know The shiny layer of a CD doesn't contain the data; the plastic polycarbonate layer does. The shiny
JSK Daily for Nov 26, 2024
Tuesday, November 26, 2024
JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted