20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
Discover a friendly language for scalable, type-safe systems. Gleam comes with compiler, build tool, formatter, editor integrations, and package manager all built in.
BEAM, cute understandable syntax
Case study: it's possible to live on one income, and to raise kids in shared housing.
Максим Ильяхов разговаривает с гинекологом
Paying by the hour is a modern form of slavery that must be replaced by paying for results, which is a much more effective and healthy form of management.
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)
}
In this post I describe a couple of practice that makes the process of writing code faster, more predictable and straightforward
Few people know how to use computers.
The most important consideration when defining a concatenated index is how to choose the column order so it can be used as often as possible.
Например, поиск по имени без фамилии бесполезен. Значит, составной индекс должен начинаться с фамилии, а потом уже будет имя.
Офигенно
Earth looked very different long ago. Search for addresses across 750 million years of Earth's history.
В лифте написано УП вместо ВВЕРХ.
Представьте, какой гемор был бы построить это в Экселе, Гугле или даже на языке программирования вроде Питона. Там с одним только парсингом дат и времени наешься, а тут все из коробки.
Выступление про текст, кодировки, шрифты, эмодзи, лигатуры, диакритику итп.
Хорошее
Утилита для создания загрузочной флешки сразу с несколькими образами
Коллекция рабочих мест
SVG иконки
О том, что люди получают много денег на технических должностях, но не работают и не учатся новому. Из-за большой зарплаты трудно сменить работу, потому что многим важна стабильность. Получается замкнутый круг.