20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
Avoid these things:
Asking the developer how things should work: It’s your responsibility to know how a feature should work; if you don’t, how can you test it?
Reporting bugs outside of the ticket: Avoid informal bug discussions, as they waste time for you and your team.
Using vague phrases like “This does not work properly”: ‘Properly’ is unclear—specify exactly what’s wrong.
Документальная фотосъемка работы волонтеров по ликвидации последствий розлива мазута в Черном море. Январь 2025.
When project scope is perfectly decomposed and management rules are clear and strict, speed of delivery is the virtue, not the quality.
Chats, emails, phone calls, mailing lists, issue tracking systems, face-to-face meetings, and other communication instruments for a software project.
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)
}
Papers about programming languages involve complex notations, systems, and proofs. Static PDFs offer little support in understanding such concepts. I describe Nota, a framework for academic papers that uses the browser's interactive capabilities to support comprehension in context. Nota uses hover effects, tooltips, expandable sections, toggleable explanations, and other interactions to help readers understand a language's syntax and semantics. I demonstrate the use of Nota by rewriting a PL paper using its primitives, and also by writing this paper in Nota.
Functions that are part of your project’s source code but can never be
reached in any execution are called “dead code”, and they exert a drag
on codebase maintenance efforts.
Today we’re pleased to share a tool named deadcode to help you identify them.
Статистика по беженцам из Украины
Генерирует фотку экрана с кодом, который вставит пользователь
Представьте, какой гемор был бы построить это в Экселе, Гугле или даже на языке программирования вроде Питона. Там с одним только парсингом дат и времени наешься, а тут все из коробки.
Настройщик раскладки под макось
Оверпасс с человеческим лицом или лицом нейросети.
Можно написать, что ты хочешь видеть на карте, а нейронка обработает запрос и выдаст результат.
Симулятор печатной машинки. Советую потыкаться и осознать, как было больно раньше стирать буквы, но как просто ставить диакритические знаки любым символам.
О том, почему ё важна
Моё лучшее музыкальное открытие начала года