20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
The Color Theory Behind Industrial Seafoam Green
Pretty pictures! Reminds of Merveilles' seafoam green and of Soviet half-wall-tall colouring. Due to the latter, this colour also bears additional doomer connotations.
I wonder if this colour could work well in computer UIs? Does it work the same on glowing screens?
you don’t have to sign your kids up to do expensive things in order for them to reach their full potential
The safest and most reliable way to deal with feature flags is to hardcode them
Этнографическая карта РФ. Какие народы живут в России
Applying The Blue Angel Criteria To Free Software
Skip brings Swift app development to Android
Сначала было про культуру общения в Интернете, а стало про культуры общения в разных странах.
package src
type config struct {
// Required
foo, bar string
// Optional
fizz, bazz int
}
// Each optional configuration attribute will have its own public method
func (c *config) WithFizz(fizz int) *config {
c.fizz = fizz
return c
}
func (c *config) WithBazz(bazz int) *config {
c.bazz = bazz
return c
}
// This only accepts the required options as params
func NewConfig(foo, bar string) *config {
// First fill in the options with default values
return &config{foo, bar, 10, 100}
}
func Do(c *config) {}
You’d use the API as follows:
package main
import ".../src"
func main() {
// Initialize the struct with only the required options and then chain
// the option methods to update the optional configuration attributes
c := src.NewConfig("hello", "world").WithFizz(0).WithBazz(42)
src.Do(c)
}
a minimalist and opinionated feed reader.
Rendering text, how hard could it be? As it turns out, incredibly hard! To my knowledge, literally no system renders text “perfectly”. It’s all best-effort, although some efforts are more important than others.
Везде речь о флетвайте. В случае сетей я указываю адреса только тех точек, в которых я был, и при этом там хорошо. Во всех местах из этого списка дают воду, если попросить. Цену указал, где помню.
Давайте разберёмся, каких принципов бюджетирования стоит придерживаться и почему.
Именно так я и веду свои финансы
Идея ролика возникла после вопроса, прилетевшего в личку: а почему бы, собственно, России не проиграть СВО и не сдаться на милость каким-нибудь США? Казалось бы, ответ очевиден, но, видимо, нужно всё разжевать и разложить по полочкам.
Переосмысление дорожных знаков от Ильи Бирмана