20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
The bags were developed as an alternative to paper bags, which were considered bad for the environment because they resulted in forests being chopped down.
They were significantly stronger than paper bags, which meant – in theory – they could be used over and over again.
However, single-use plastic took off and now our consumption of this polluting material is one of the biggest threats facing the world’s seas, with marine plastic set to outweigh fish by 2050.
Raoul Thulin, son of Sten, told the BBC: “To my dad, the idea that people would simply throw these away would be bizarre. He always carried [a plastic bag] in his pocket folded up. You know what we’re all being encouraged to do today, which is to take your bags back to the shop, he was doing back in the Seventies and Eighties, just naturally, because, well, why wouldn’t you?”
In the debrief, BG shared some advice for actually getting good at Clojure: work through the problems on 4clojure using only the official documentation (not ClojureDocs, which include examples!) and the Clojure source code.
4Clojure is a collection of programming problems that teach you the standard library, each problem building on the one before it, kind of in the spirit of The Little Schemer. The reason to go through it looking at source code rather than examples is to force you to reason from first principles (the implementation) rather than from someone’s ideas of how code is written.
Clean Code doesn't work—not because the principles are wrong, but because the real world is dirty, chaotic, unpredictable, and asynchronous. The best code I’ve ever seen violated a good half of Clean Code’s commandments.
We are adding a new generated code API to Go Protobuf.
Олешко Т.С. О двух типах нарциссических пациентов
How do you know what hourly rate you are worth? What factors should be taken into account? Here are my criteria.
In XDSD everybody is motivated to produce tangible and meaningful results. That's why we don't use emails, Skype, HipChat or phone calls.
Solving technical problems in a large scope which is difficult to understand is a very stressful activity; I suggest we behave professionally.
Список пользовательских эппл команд.
Long daily commutes can leave little time around busy work days for commuters, who tend to be less physically active, overweight, drink more alcohol, and sleep poorly as a result.
The author doesn't like how modern UI:s are designed. Gives good examples.
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.
Из комментариев под статьёй:
Кто-то не очень понимает, что ORM в первую очередь - маппер. Да, и называется он Object-Relational Mapper. Отвечает за взаимосвязь между реляционными данными и объектно-ориентированным миром.
Тот, кто хотя бы раз сталкивался с опечаткой при загрузке поля в объект, уже не задаёт вопросы, оправдан ли ORM. Когда за тебя связку делает кодогенератор с нулевой возможностью ошибки на любой сложности схеме - начинаешь ценить надёжность такого решения.
Что касается SQL. ORM не может в принципе покрыть весь синтаксис SQL. И не должен, это не его задача. Его задача - сделать простым синтаксис 95% случаев, когда дальше джойна и WHERE ничего не надо. ORM не мешает использовать чистый SQL, а чаще всего может его дополнить, переводя результат сложного запроса в набор объектов.
Free Encyclopedia of Programming Languages.
The environmental effectiveness of procurement incentives for electric vehicle (EV) sales depends on the behaviour of EV adopters. This study explores such a relationship and how procurement policies should be designed in order to achieve emissions reduction and be economically efficient.
Внезапно)) электрокары вредны и особенно вредны, если на них не ездить.