Forwarded from FrontEndDev
CSS лифт: конечный автомат на чистом CSS для навигации по этажам
Как при помощи современных возможностей CSS можно создать полнофункциональный лифт с перемещением между этажами без JavaScript. Интерфейс работает как конечный автомат: пользователь выбирает этаж, и благодаря состояниям CSS лифт «понимает», куда ему двигаться.
https://css-tricks.com/css-elevator-a-pure-css-state-machine-with-floor-navigation/
Как при помощи современных возможностей CSS можно создать полнофункциональный лифт с перемещением между этажами без JavaScript. Интерфейс работает как конечный автомат: пользователь выбирает этаж, и благодаря состояниям CSS лифт «понимает», куда ему двигаться.
https://css-tricks.com/css-elevator-a-pure-css-state-machine-with-floor-navigation/
Common Go Mistakes - 100 Go Mistakes and How to Avoid Them
https://100go.co/
https://100go.co/
100go.co
Common Go Mistakes - 100 Go Mistakes and How to Avoid Them
Summary of the mistakes in the 100 Go Mistakes book.
Forwarded from Data Secrets
This media is not supported in your browser
VIEW IN TELEGRAM
Google продолжают экспериментировать с ИИ-продуктами и на этот раз выкатили Code Wiki – агента, который сделает по любому репозиторию красочную понятную документацию
Открываете codewiki.google/, вставляете ссылку на репозиторий и все: перед вами подробная документация с оглавлением и схемами, по которой вы можете перемещаться в интерактивном режиме.
Тут же встроен чат с ассистеном, которому можно задавать вопросы по проекту и доке: он будет отвечать сразу с гиперссылками на файлы и куски кода, очень удобно.
И еще интересная фича: документация будет автоматически обновляться каждый раз, когда в репозитории происходят изменения.
Скоро обещают выкатить еще и CLI расширение, а пока Code Wiki можно попробовать абсолютно бесплатно здесь
Открываете codewiki.google/, вставляете ссылку на репозиторий и все: перед вами подробная документация с оглавлением и схемами, по которой вы можете перемещаться в интерактивном режиме.
Тут же встроен чат с ассистеном, которому можно задавать вопросы по проекту и доке: он будет отвечать сразу с гиперссылками на файлы и куски кода, очень удобно.
И еще интересная фича: документация будет автоматически обновляться каждый раз, когда в репозитории происходят изменения.
Скоро обещают выкатить еще и CLI расширение, а пока Code Wiki можно попробовать абсолютно бесплатно здесь
Forwarded from Технотренды
Вышел Google на МАКСИМАЛКАХ — сервис ищет ЛЮБЫЕ файлы и страницы в сети.
Самое главное — ищет инфу без SEO-мусора и рекламы и находит то, что обычный Google пропускает.
DorkGPT работает на русском и бесплатно. Проверяем по ссылке.
📲 Технотренды
Самое главное — ищет инфу без SEO-мусора и рекламы и находит то, что обычный Google пропускает.
DorkGPT работает на русском и бесплатно. Проверяем по ссылке.
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Denis Sexy IT 🤖
Если кто-то хотел почитать вечером что-то на Английском, то вот – копия емейл ящика Джеффри Эпштейна с закосом под Gmail почту:
https://jmail.world/
Переписку официально опубликовал сенат США на этой неделе
Если вы не знаете кто это, я вам завидую – почитать можно тут, сразу скажу, история мерзейшая, не буду ее пересказывать
https://jmail.world/
Переписку официально опубликовал сенат США на этой неделе
Если вы не знаете кто это, я вам завидую – почитать можно тут, сразу скажу, история мерзейшая, не буду ее пересказывать
Forwarded from ITTales :(){ :|:& };:
Недавно узнал что в go можно эмбедить файлы прямо в бинарник. Это прям супер удобно, особенно для написания различных CLI-утилит, которые традиционно распространяются в формате: "скачай бинарник из запусти".
Раньше я использовал кодогенерацию, но в большинстве случаев можно обойтись без неё. Можно эмбедить Kubernetes-манифесты, Helm-чарты, так и вообще любую статику.
//go:embed позволяет на этапе сборки положить файлы прямо в бинарь. Go читает указанные пути, запаковывает содержимое в секцию данных, а в рантайме это выглядит как обычная переменная или embed.FS.
Дальше с этим можно работать так же, как с привычной файловой системой из пакета io/fs: открывать файлы, читать директории, перечислять содержимое. Фактически это виртуальный read-only FS, который живёт внутри бинарника и полностью повторяет структуру исходных путей.
Примеры:
- Довольно исчерпывающий пример от Go by example
- Мой пример в Talm, где я эмбежу
Раньше я использовал кодогенерацию, но в большинстве случаев можно обойтись без неё. Можно эмбедить Kubernetes-манифесты, Helm-чарты, так и вообще любую статику.
//go:embed позволяет на этапе сборки положить файлы прямо в бинарь. Go читает указанные пути, запаковывает содержимое в секцию данных, а в рантайме это выглядит как обычная переменная или embed.FS.
Дальше с этим можно работать так же, как с привычной файловой системой из пакета io/fs: открывать файлы, читать директории, перечислять содержимое. Фактически это виртуальный read-only FS, который живёт внутри бинарника и полностью повторяет структуру исходных путей.
Примеры:
- Довольно исчерпывающий пример от Go by example
- Мой пример в Talm, где я эмбежу
./charts в гошный пакетForwarded from Root — IT Технологии
This media is not supported in your browser
VIEW IN TELEGRAM
Превращаем ЛЮБОЙ репозиторий в интерактивную карту — GitDiagram декомпозирует даже сложнейшие проекты, чтобы изучить и понять их быстрее.
• Всё просто: кидаем URL в тулзу — получаем визуализацию структуры проекта со ВСЕМИ связями.
• Мастхев, чтобы быстро вникнуть в чужой код.
Юзаем полезность — тут.
Root — IT Технологии
• Всё просто: кидаем URL в тулзу — получаем визуализацию структуры проекта со ВСЕМИ связями.
• Мастхев, чтобы быстро вникнуть в чужой код.
Юзаем полезность — тут.
Root — IT Технологии
Forwarded from Data Secrets
Стартап OpenAGI (лайк за название) выпустили Computer Use модель Lux и утверждают, что это прорыв
По бенчмаркам модель на целое поколение обгоняет аналоги от Google, OpenAI и Anthropic. Кроме того, модель работает быстрее (примерно 1 секунда на шаг вместо 3 секунд у конкурентов) и в 10 раз дешевле по стоимости обработки одного токена.
Создатели (исследователи из MIT, кстати) утверждают, что суть успеха – в том, что это не затюненная LLM, а модель, которую с самого начала учили именно совершать действия. То есть абсолютно другая парадигма.
Из приятного: они даже открыли код инфры, в которой обучали агента, можно покопаться.
https://www.agiopen.org/
По бенчмаркам модель на целое поколение обгоняет аналоги от Google, OpenAI и Anthropic. Кроме того, модель работает быстрее (примерно 1 секунда на шаг вместо 3 секунд у конкурентов) и в 10 раз дешевле по стоимости обработки одного токена.
Создатели (исследователи из MIT, кстати) утверждают, что суть успеха – в том, что это не затюненная LLM, а модель, которую с самого начала учили именно совершать действия. То есть абсолютно другая парадигма.
Из приятного: они даже открыли код инфры, в которой обучали агента, можно покопаться.
https://www.agiopen.org/
Forwarded from GitHub Community
Timelinize — организуйте свои фотографии и видео, чаты и сообщения, историю местоположений, контент из социальных сетей, контакты и многое другое в единую хронологию на своём компьютере, где они будут храниться вечно.
Timelinize позволяет импортировать данные практически отовсюду: с вашего компьютера, телефона, из онлайн-аккаунтов, радиостанций с поддержкой GPS, различных приложений и программ, списков контактов, камер и т. д.
🐱 GitHub
Timelinize позволяет импортировать данные практически отовсюду: с вашего компьютера, телефона, из онлайн-аккаунтов, радиостанций с поддержкой GPS, различных приложений и программ, списков контактов, камер и т. д.
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Axis of Ordinary
Propose, Solve, Verify (PSV): Self-play for code with proofs, not tests
Most AI coding systems learn from unit tests: they write code, run it on a few examples, and get rewarded if it passes. But tests are incomplete. Code can pass all tests and still be wrong on rare inputs. So the AI can learn “cheap tricks,” and those errors can spread during training.
PSV replaces this with a much stricter judge: formal verification. Instead of checking a handful of examples, a verifier tries to prove mathematically that the program meets the specification for all possible inputs.
The PSV loop
1. Propose: write the “what”
The Proposer invents a new task by writing a specification (a precise denoscription of what the program must do).
Here is the crucial idea: the proposer does not need to be a genius that can foresee what will stump a superhuman solver (like designing a benchmark for Terence Tao). PSV relies on a simpler asymmetry:
- It's often easy to state constraints.
- It's often harder to satisfy them (and prove you did).
A proposer can cheaply say: “Sort this list,” or “Sort it and keep it stable,” or “Sort it, return an index mapping, and prove nothing was lost or duplicated.” Stacking constraints is much easier to describe than to implement and prove them correct.
2. Solve: do the “how”
The Solver tries to write the program (and the proof-style annotations the verifier needs). It samples many attempts (like trying many “mutations”).
3. Verify: harsh selection
A formal verifier checks each attempt. Only solutions that are provably correct count as wins. This is the key difference from unit tests: passing isn't “it worked on a few examples,” it’s “it’s correct for everything.”
4. Learn: keep the survivors
The solver then trains on those verified wins, becoming more likely to produce correct solutions next time.
How problems get harder without a smarter proposer: PSV makes “hard” relative, not absolute. Instead of the proposer guessing difficulty in advance, the system measures it empirically:
- If the solver verifies solutions for a spec 90% of the time, it’s easy.
- If it verifies only 10% of the time, it’s hard.
- If it never verifies, it’s too hard (for now).
The proposer is shown examples labeled EASY / MEDIUM / HARD and asked to generate new specs at a target difficulty. If the solver starts succeeding too often, the system nudges the proposer toward harder specs (more conditions, tighter guarantees). If nothing succeeds, it nudges back.
So the proposer doesn’t need to “outthink” the solver. It just needs to generate many candidate specs, while the system uses feedback (pass rates) to keep the difficulty near the frontier (like a teacher who adjusts homework based on how the student actually performs).
Where the intelligence increase comes from. PSV is basically evolution with a very strict referee:
- Variation: many proposed problems, many attempted solutions.
- Selection: only solutions that pass the verifier survive
- Inheritance: the solver trains on the survivors.
- Moving frontier: as the solver improves, yesterday’s “hard” becomes today’s “medium,” so the system keeps pushing forward.
That’s why self-play works here: the verifier prevents the loop from “learning lies,” and the proposer and feedback mechanism keep generating fresh challenges just beyond the current capability.
A sign it scales: In the paper, generating more proposed tasks per round helped. Increasing from 1,000 to 32,000 proposed questions raised MBPP pass@1 from 22.3% to 44.3%. This is consistent with the idea that more self-generated practice plus strict verification produces real capability gains.
Paper: https://arxiv.org/abs/2512.18160
Most AI coding systems learn from unit tests: they write code, run it on a few examples, and get rewarded if it passes. But tests are incomplete. Code can pass all tests and still be wrong on rare inputs. So the AI can learn “cheap tricks,” and those errors can spread during training.
PSV replaces this with a much stricter judge: formal verification. Instead of checking a handful of examples, a verifier tries to prove mathematically that the program meets the specification for all possible inputs.
The PSV loop
1. Propose: write the “what”
The Proposer invents a new task by writing a specification (a precise denoscription of what the program must do).
Here is the crucial idea: the proposer does not need to be a genius that can foresee what will stump a superhuman solver (like designing a benchmark for Terence Tao). PSV relies on a simpler asymmetry:
- It's often easy to state constraints.
- It's often harder to satisfy them (and prove you did).
A proposer can cheaply say: “Sort this list,” or “Sort it and keep it stable,” or “Sort it, return an index mapping, and prove nothing was lost or duplicated.” Stacking constraints is much easier to describe than to implement and prove them correct.
2. Solve: do the “how”
The Solver tries to write the program (and the proof-style annotations the verifier needs). It samples many attempts (like trying many “mutations”).
3. Verify: harsh selection
A formal verifier checks each attempt. Only solutions that are provably correct count as wins. This is the key difference from unit tests: passing isn't “it worked on a few examples,” it’s “it’s correct for everything.”
4. Learn: keep the survivors
The solver then trains on those verified wins, becoming more likely to produce correct solutions next time.
How problems get harder without a smarter proposer: PSV makes “hard” relative, not absolute. Instead of the proposer guessing difficulty in advance, the system measures it empirically:
- If the solver verifies solutions for a spec 90% of the time, it’s easy.
- If it verifies only 10% of the time, it’s hard.
- If it never verifies, it’s too hard (for now).
The proposer is shown examples labeled EASY / MEDIUM / HARD and asked to generate new specs at a target difficulty. If the solver starts succeeding too often, the system nudges the proposer toward harder specs (more conditions, tighter guarantees). If nothing succeeds, it nudges back.
So the proposer doesn’t need to “outthink” the solver. It just needs to generate many candidate specs, while the system uses feedback (pass rates) to keep the difficulty near the frontier (like a teacher who adjusts homework based on how the student actually performs).
Where the intelligence increase comes from. PSV is basically evolution with a very strict referee:
- Variation: many proposed problems, many attempted solutions.
- Selection: only solutions that pass the verifier survive
- Inheritance: the solver trains on the survivors.
- Moving frontier: as the solver improves, yesterday’s “hard” becomes today’s “medium,” so the system keeps pushing forward.
That’s why self-play works here: the verifier prevents the loop from “learning lies,” and the proposer and feedback mechanism keep generating fresh challenges just beyond the current capability.
A sign it scales: In the paper, generating more proposed tasks per round helped. Increasing from 1,000 to 32,000 proposed questions raised MBPP pass@1 from 22.3% to 44.3%. This is consistent with the idea that more self-generated practice plus strict verification produces real capability gains.
Paper: https://arxiv.org/abs/2512.18160