20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
ПИ«придумала» Кляйн, которая занималась«детским» психоанализом, и вот эти все«магические» штуки — это способы, с помощью которых дети, которые еще не умеют говорить, общаются с матерью. А потом это становятся способами, с помощью которых взрослые люди, которые не могут говорить,«общаются» с другими людьми.
«Се́тунь» — малая ЭВМ на основе троичной логики, разработанная в вычислительном центре Московского государственного университета в 1959 году
терапевтка принимала на дому, делала записи и вышла, например, в туалет, а клиентка залезла в эти записи и получила — правильно — скандал про«нарушение границ» и чуть ли не отказ работать дальше.
Правильный терапевт, разумеется, не только знал бы, что терапия — это место, где его границы будут нарушаться (и это будет оплачиваться), но и первым делом с интересом обсудил бы мотивы и фантазии клиента, зачем он это сделал и что хотел там найти. И только потом бы с любовью и принятием говорил про нарушение границ.
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
Если для придания уверенности в себе вам нужен карманный ствол — я рекомендую обратиться к психологу. Это дурной симптом.
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.
Go developers said they are more interested in AI/ML tooling that improves the quality, reliability, and performance of code they write, rather than writing code for them. An always-awake, never-busy expert “reviewer” might be one of the more helpful forms of AI developer assistance.
The top requests for improving toolchain warnings and errors were to make the messages more comprehensible and actionable; this sentiment was shared by developers of all experience levels, but was particularly strong among newer Go developers.
Our experiment with project templates (gonew) appears to solve critical problems for Go developers (especially developers new to Go) and does so in a way that matches their existing workflows for starting a new project. Based on these findings, we believe gonew can substantially reduce onboarding barriers for new Go developers and ease adoption of Go in organizations.
Three out of every four respondents work on Go software that also uses cloud services; this is evidence that developers see Go as a language for modern, cloud-based development.
Developer sentiment towards Go remains extremely positive, with 90% of survey respondents saying they felt satisfied while working with Go during the prior year.
This huge collection of non-scary optical illusions and fascinating visual phenomena emphasizes interactive exploration, beauty, and scientific explanation.
Luxury beliefs have, to a large extent, replaced luxury goods.
Luxury beliefs are ideas and opinions that confer status on the upper class, while often inflicting costs on the lower classes.
Выступление про текст, кодировки, шрифты, эмодзи, лигатуры, диакритику итп.
Хорошее
Коллекция интерактивных штуковин. Очень красивое
О том, как велосипед поворачивает и держит равновесие
О том, как находить места на фото с помощью Оверпасс турбо
О том, что люди получают много денег на технических должностях, но не работают и не учатся новому. Из-за большой зарплаты трудно сменить работу, потому что многим важна стабильность. Получается замкнутый круг.
О том, почему ё важна