BetterDev #233 - Let's write a chess engine
Better Dev #233 Nov 14, 2022
In this article we will try to understand how chess engines work by porting the sunfish chess engine to Go. Sunfish is notable for its simplicity and small size, while still being capable of playing decent chess. Go is also known as a simple and highly readable language, so I hope the two of them could make a great couple.
It seems like a “useless” thing, just draw a tree but I really enjoy reading these kind of rendering/drawing graphic. I learn a bit of GLSL vertex shader today. Highly recommend you give this a try.
This isn’t an article about how to use regexes; you’ve probably seen plenty of those already. It’s about how you would write a regex package from scratch, in a language like C that doesn’t already have regexes. The author use Perl but you got the idea of writing a RegEx engine.
I like a lot article about hardware because as a software programmer, hardware is like a blackbox to me :-)
PostgresML engineering team discuss how they horizontally scale PostgresML to achieve more than 1 million XGBoost predictions per second on commodity hardware. Their architecture and benchmarking method.
Netflix upgraded their servers to large instances and didn’t see the increaseing performance they are looking for and go hunt it.
Kind of like a short guide for tcpflow. it can analyze the data transmitted via tcp sockets. It can look at any live tcp socket and show the back and forth communications.
Nothing is better than building a PoC of some established protocol. You’ll learn a lot.
Xdavidhu found a vulnerability affecting seemingly all Google Pixel phones where if you gave them any locked Pixel device, they could give it back to you unlocked. The bug just got fixed in the November 5, 2022 security update.
it will be interesting to dig into the mind of a frontend developer while they are working on implementing a component. The most important thing here is the thinking process, not the CSS outcome as sometimes it can get fairly straightforward to understand
Pagination on a single table with a sort key is easy, but when we add join and filter out query from that join table, the pagination can be slow. Here, Hey.com, an email app shares a technique they used to improve its performance.
A curated list of Wasm and Docker working togethe
Code to read
the All-in-one Web Server for Ruby Apps. I found its codebase is quite small enough to read.
Rubya Python Chess Engine in 111 lines of code. It’s amazing and have lot of comment to help understand it, code is very clean.
Pythona collection of geometric algorithms that are mostly useful for GUI manipulation like checking containment of a point in popular geometric shapes such as rectangle, square, arc, circle, polygon, and paths containing lines, quadratic bézier curves, and cubic bezier curves. Also, some general math algorithms like IEEE-754 Remainder.
PythonA full featured, stand-alone, high-performance HTTP server and client written entirely in plain Java. I am not a Java dev but this library is from FusionAuth which I found very useful replacement for tools like okta or auth0 now that both of them got acquired by big corps.
Javaa common vector drawing target that can output SVG, PDF, EPS, raster images (PNG, JPG, GIF, …), HTML Canvas through WASM, OpenGL, and Gio. It has a wide range of path manipulation functionality such as flattening, stroking and dashing implemented. I really love to learn how to draw thing with code.
GoAzure as an external process source for psDoom-ng. a fun experiment please don’t use it for real.
bashVideo
Not hacking in term of fraud but for people who know up an down of a system can can escape/avoid a certain rule or retrisction that the eco system put on. Such as how to get root on an iPhone.
Tools
a free and open-source application firewall that does the heavy lifting for you. They are entirely open source, check out portmaster and safing private network
A places that people create and share beautiful custom elements made with CSS and HTML which you can pretty much immediately copy and paste to apply to your website.
Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL.
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
Key phrases
Older messages
BetterDev #232 - Reducing BigQuery Costs: How We Fixed A $1 Million Query
Monday, November 7, 2022
Better Dev #232 Nov 07, 2022 Hi everyone, welcome to first issue of November. This week, where I live, red leaves start to emerge and my family went outside, enjoy seeing the beautiful color of autumn.
BetterDev #231 - Time is an illusion, Unix time doubly so
Monday, October 31, 2022
Better Dev #231 Oct 31, 2022 Hi, everyone, happy halloween. This issue is a haloween treat :-), it has a lot of short and small articles which you can apply to your daily work and small tips and tricks
BetterDev #230 - Secure your server by limit outgoing connection
Monday, October 24, 2022
Better Dev #230 Oct 24, 2022 Hi, everyone, welcome to our second issue of the come back. I had received many emails with encouragement about my resumt. I really really appreciate that. Thank you so
BetterDev #229 - BetterDev is back
Monday, October 17, 2022
Better Dev #229 Oct 17, 2022 Hi, everyone. It has been almost 6 months with out any betterdev issue :-). It was due to my busy schedule. I finally started to get thing back on track. I will come back
BetterDev #228 - Memory leaks: the forgotten side of web performance
Monday, February 7, 2022
Better Dev #228 Feb 07, 2022 Memory leaks: the forgotten side of web performance I've researched and learned enough about client-side memory leaks to know that most web developers aren't
You Might Also Like
SWLW #595: My role as a founder CTO, AI Product Management, and more.
Friday, April 19, 2024
Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found
The bill to ban TikTok is barreling ahead
Friday, April 19, 2024
The Morning After It's Friday, April 19, 2024. The bill that could ban TikTok in the United States inches closer to becoming law. The legislation passed the House of Representatives last month,
Digest #134: TDD with Serverless, Terraform AI Conversions, K8s Cost Metrics & OpenTofu Response
Friday, April 19, 2024
Learn to convert Terraform templates, deploy SSR on AWS Amplify, and apply TDD to Serverless. Gain insights on PostgreSQL, microfrontends, and secure APIs. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Akira Ransomware Gang Extorts $42 Million; Now Targets Linux Servers
Friday, April 19, 2024
THN Daily Updates Newsletter cover Webinar -- The Future of Threat Hunting Is Powered by Generative AI From Data to Defense: Step Into the Next Era of Cybersecurity with CensysGPT Download Now
ASP.NET Core News - 04/19/2024
Friday, April 19, 2024
View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! This newsletter is sponsored by elmah.io - the most advanced, yet so simple to set up, error logging and
Post from Syncfusion Blogs on 04/19/2024
Friday, April 19, 2024
New blogs from Syncfusion Syncfusion Prepares for MS Build 2024 with Cloud-Ready Solutions on Azure Marketplace By gingerr Syncfusion offers cloud-ready solutions in Azure Marketplace for MS Build 2024
Hacker Newsletter #696
Friday, April 19, 2024
The greatest value of a picture is when it forces us to notice what we never expected to see. //John W. Tukey hackernewsletter Issue #696 // 2024-04-19 // View in your browser #Favorites Unlock your
Google's massive reorg 🧑🤝🧑, Meta's Llama 3 launch 🤖, China bans WhatsApp 💬
Friday, April 19, 2024
Google has reorganized its Android, Chrome, and Google hardware divisions Sign Up |Advertise|View Online TLDR TLDR 2024-04-19 📱 Big Tech & Startups Meta's battle with ChatGPT begins now (5
Is your Notes app completely disorganized?
Friday, April 19, 2024
Hi there, Is your Notes app completely disorganized? In a recent survey we found that 77% of our readers would like to learn how to better organize the notes on their iPhone. That's why we're
Data Science Weekly - Issue 543
Friday, April 19, 2024
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏