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
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
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
NumPy, Loop Targets, Vector Animation, and More
Tuesday, November 26, 2024
NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to
Your Games Quarterly newsletter has arrived
Tuesday, November 26, 2024
What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16