Создаем шахматы с «туманом войны» на JavaScript: от идеи до работающего прототипа
Всё началось с внутреннего предложения на работе присоединиться к отделу по развитию и поддержке веб-сайтов (название другое, но это их обязанности, поэтому написал так). Это была одновременно лестная и пугающая перспектива. Возможность работать над реальными проектами манила, но мой опыт в веб-разработке был скорее теоретическим. Я понимал, что для старта мне нужен был собственный, понятный проект, который стал бы началом. И тут я вспомнил о своей идее сделать сайт для консольной реализации шахмат на Python. Это была сухая игра, написанная на Pygame для двоих программистов, но не для людей, так как её нельзя было запустить на других устройствах. И у меня родилась идея: а что, если превратить этот скелет игры в веб-приложение на JS? Из минусов было только то, что моя игра написана на языке Python, а для работы мне нужен JavaScript, и я решил, что это не проблема, и начал переписывать готовую логику на новый язык, параллельно добавляя новые функции. Идея зацепила сразу, представьте: вы переносите свой проверенный, рабочий кейс, у которого вся шахматная логика (проверка ходов, матов и пат) уже работает и ничего нового придумывать не надо, нужно только сделать интерфейс для браузера и все новые идеи (например, таймер).
https://habr.com/ru/companies/ruvds/articles/967956/
#шахматы #ruvds_статьи #javascript #php #Шахматы_на_js #вебразработа #chess
Spread Operator - array_merge vs Spread
💻 Spread Operator - array_merge vs Spread - Junior vs Senior PHP code comparison! See how professionals write code differently. This will improve your skills! Can you spot all the issues? #PHP #WebDev #CodingTips #coding
#php #programming #coding #webdevelopment #softwareengineering #juniorvssenior #codereview #programmingtips #phptutorial #codingtutorial #bestpractices #phpprogramming #codequality #cleanco...
https://www.youtube.com/watch?v=2ISHsG6Gfr8
Relational Databases Made Simple. #PHP
https://www.phparch.com/2025/12/relational-databases-made-simple/
Relational Databases Made Simple. #PHP
Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileatom
A053767: Sum of first n composite numbers
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A053767.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A053767.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A053767.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

A053726: "Flag numbers": number of dots that can be arranged in successive rows of K, K-1, K, K-1, K, ..., K-1, K (assuming there is a total of L > 1 rows of size K > 1)
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/Flag_numbers.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/Flag_numbers.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/Flag_numbers.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

OK, y'all know of a #PHP static-site engine (or library) that can take pages from a database instead of/in addition to files on disk? Looking to add static rendering to the CMS I'm building.
「エスケープ」と「エンコード」の違いをGeminiに教わる
#Encode #Escape #Gemini #HTML #Javascript #PHP #文字コード
プログラムなどのコードを作成する際に文字を本来の文字とは異なる文字で表現することが多々あるのだが、「エスケープ」と「エンコード」は違うらしく、私は混同して使っていたし、今後も間違えそうである。特に、元に戻す方は「デコード」と一緒くたにしていたのだが、エスケープされた文字を戻すのは「アンエスケープ」であって「デコード」とは言わないらしい。その件についてGeminiに尋ねてみた。
WebのhtmlコードやURLやプログラムで、日本語がそのまま表示されるのではなく、エスケープとかエンコードされますが、このエスケープとエンコードに違いを教えてください。
ウェブにおける**エスケープ(Escape [...続きは下のURLで]
https://ishii00141.stars.ne.jp/20251208-0858-4492/
The PHP Cargo Moment: Why I Built a "Universal" Toolchain. #PHP
https://dev.to/makalin/the-php-cargo-moment-why-i-built-a-universal-toolchain-5dkd
The PHP Cargo Moment: Why I Built a "Universal" Toolchain. #PHP
Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileatom
#PHP 8.5 changes now added to https://caniphp.com/ ![]()
I spent a few hours this evening working through all the new features and deprecations and closing a few old PRs.
If you use the “API" then this is also updated at: https://caniphp.com/features.json (<- @dianawebdev !)
I've completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/7
Done in #PHP
Very happy, solution run in ~25ms (by part, but same algo).
Not so difficult, just need to find a good optimized solution for part 2.
I use my matrix helper class again to ease the readability.
Code here: https://github.com/velkuns/adventofcode-2025/blob/main/src/Day/PuzzleDay7.php