assert_eq!(
Some(unsafe { std::num::NonZeroUsize::new_unchecked(0) }),
None
);
🤯11❤3💩1
мне не нравится реальность
IF LET CHAINS ARE STABILIZED IN RUST 1.64 rust-lang/rust/pull/94927#event-7007028976 > 2 years, 4 months, 3 weeks and 1 day of long nights, obstacles and headaches. > Hope stabilization won't be reverted but regardless, thanks to everyone who helped make…
GitHub
Revert let_chains stabilization by Noratrieb · Pull Request #100538 · rust-lang/rust
This reverts commit 3266460.
It was discovered in #100513 that they are not implemented correctly, which does not make them ready for stabilization.
The merge in the let parsing had a few conflicts...
It was discovered in #100513 that they are not implemented correctly, which does not make them ready for stabilization.
The merge in the let parsing had a few conflicts...
😢6
> называет себя анимешником
> не может вспомнить, когда в последний раз смотрел анимэ
> не может вспомнить, когда в последний раз смотрел анимэ
🔥3
💩3🤯2😢2
#prog #article
Soft Deletion Probably Isn't Worth It (Мягкое удаление чаще всего не нужно)
В комментариях к переводу, впрочем, навалили критики.
Soft Deletion Probably Isn't Worth It (Мягкое удаление чаще всего не нужно)
В комментариях к переводу, впрочем, навалили критики.
brandur.org
Soft Deletion Probably Isn't Worth It
The traditional soft deletion pattern using <code>deleted_at</code> columns leaks into code, curbs the usefulness of foreign keys, and makes data removal difficult. Luckily, there’s an alternative.
#prog #gamedev #article
The World Generation of Minecraft (перевод)
Попенять можно разве что за чрезмерное удаление технических деталей.
The World Generation of Minecraft (перевод)
Попенять можно разве что за чрезмерное удаление технических деталей.
Alan Zucconi
The World Generation of Minecraft - Alan Zucconi
Learn how Minecraft creates its worlds. This article will finally explain how the world, biome and terrain generation algorithms work.
#prog #sql #article
Against SQL (оригинальная ссылка отдаёт 404, ссылка на веб-архив)
To summarize:
* Design flaws in the SQL language resulted in a language with no library ecosystem and a burdensome spec which limits innovation.
* Additional design flaws in SQL database interfaces resulted in moving as much logic as possible to the application layer and limiting the use of the most valuable features of the database.
* It's probably too late to fix either of these.
(thanks @Fuyfuy)
Against SQL (оригинальная ссылка отдаёт 404, ссылка на веб-архив)
To summarize:
* Design flaws in the SQL language resulted in a language with no library ecosystem and a burdensome spec which limits innovation.
* Additional design flaws in SQL database interfaces resulted in moving as much logic as possible to the application layer and limiting the use of the most valuable features of the database.
* It's probably too late to fix either of these.
(thanks @Fuyfuy)
👍7❤1
Forwarded from Чтобы не выгорать
Если работа — это единственный центр внимания, может появиться мысль «Если я не работаю, то я не существую».
Помните, что вы существуете, даже когда не работаете.
Подумайте о том, какие у вас есть ещё сферы жизни и центры внимания
Помните, что вы существуете, даже когда не работаете.
Подумайте о том, какие у вас есть ещё сферы жизни и центры внимания
👍12🤮3🤔1