oleg_log
1.77K subscribers
1.86K photos
130 videos
9 files
2.77K links
Shelter for antisocial programmers "Oleg"

halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
Download Telegram
It's true, there's no individual competitive advantage for Microsoft to continue developing their own Edge browser. Moving to chrome is just good business, as they say. But as we've seen with SQLite, ubitquity is it's own risk. SQLite is everywhere because it's easy to use and does the job. Thank network effects for the rest. The problem is when SQLite has serious vulnerabilities—remote code execution—then the entire ecosystem is immediately at risk. Monocultures aren't robust, yet the winner take all nature of tech over time tends to produce monocultures. While Microsoft benefits from their decision, herd immunity would benefit from more diversity. Innoculate now. There are no bulkheads for ubiquity.
(c)
Крутой доклад у людей, которые угорели по кодогенерации. Чуток дисциплины на старте, и каждый микросервис становится таким же, как и другие. Прям гениально.
https://www.youtube.com/watch?v=j6ow-UemzBc
И так шоб каждый
о, 100 подписоты, ОКР 2018 закрыт. всем спасибо.
а еще десктопная телега научилась делать опросы из меню.
дабл вин
Йоу всем, кто знаком с настройкой сервера (в контексте сесурити, хотя не только), пинганите в лс, чтобы вы посоветовали сделать и не сделать. Все средства хороши.
(для особо ленивых -> @olegkovalov)
ОЛДЫ ТУТ?
ПРОСРАЛИ ВСЕ ПОЛИМЕРЫ
More and more iPhone owners blindly upgrade to iOS 12.1.2 reports are now flooding in from around the world that it cuts off mobile data services.
https://www.forbes.com/sites/gordonkelly/2018/12/22/apple-ios-12-1-2-problem-iphone-xs-max-xr-mobile-data-cellular-4g-cannot-load-internet/#35760b301985
Many (open source) hackers are proud if they achieve large amounts of code, because they believe the more lines of code they’ve written, the more progress they have made. The more progress they have made, the more skilled they are. This is simply a delusion.
Most hackers actually don’t care much about code quality. Thus, if they get something working which seems to solve a problem, they stick with it. If this kind of software development is applied to the same source code throughout its entire life-cycle, we’re left with large amounts of code, a totally screwed code structure, and a flawed system design. This is because of a lack of conceptual clarity and integrity in the development process.
Code complexity is the mother of bloated, hard to use, and totally inconsistent software. With complex code, problems are solved in suboptimal ways, valuable resources are endlessly tied up, performance slows to a halt, and vulnerabilities become a commonplace. The only solution is to scrap the entire project and rewrite it from scratch.
The bad news: quality rewrites rarely happen, because hackers are proud of large amounts of code. They think they understand the complexity in the code, thus there’s no need to rewrite it. They think of themselves as masterminds, understanding what others can never hope to grasp. To these types, complex software is the ideal.
Ingenious ideas are simple. Ingenious software is simple. Simplicity is the heart of the Unix philosophy. The more code lines you have removed, the more progress you have made. As the number of lines of code in your software shrinks, the more skilled you have become and the less your software sucks.
Оказывается в баш есть аналог defer. И это черт возьми круто.
#!/bin/bash
function finish {
# Your cleanup code here
}
trap finish EXIT
Я увидел зло. Это скалист, который заевангелировал к себе жс разраба, который хочет написать все на семигруппах, но не может, и не знает зачем, но продолжает превознемогать. Спасибо Вселенной, что я не с ними, а в соседней тиме.
oleg_log
ОЛДЫ ТУТ?
а вот и объяснение подъехало
Случайно заимпортил отету вещь: https://github.com/golang-migrate/migrate
И не сразу понял, почему у меня гогет работал минуту.
Ааа, вот почему: https://github.com/golang-migrate/migrate/blob/master/go.mod
Хоть ты и СТО в СФ, но накидывать зависимостей как гавна никто не запрешает.
Не мое, но проиграл:
Орёл и Решка про программистов: Фронтенд и Бекенд, кто первый выгорит.
Одному дают стильный макбук, моднейший JS фреймворк, ведут в барбершоп, он строчит в твиттер, в перервых делает один лендинг.
Другому дают сервер на CentOS5, 350 rps от криворукого лендинга и коробку доширака.
На хабре опять порвались романтики-гохейтеры: https://habr.com/post/434478/
> Go — это бизнес-эффект, а не инженерное решение.
> Программируя, я хочу заниматься творчеством.
так это, шашечки или решать проблемы?

На самом очередная показательная статья: я хочу творить, а на работе надо работать. Почему эти вольные каменщики не могут понять, что вне работы есть время на творчество? (привет опенсурс).
Далеко не всем выпадает возможность творить в рабочее время и за это получать коины. Так чего ныть? надо лично менять условия :/
А еще я в ближайшем году сделаю пару статей про архитектурные решения одного проекта, и почему у него будет NINE NINES. И я не про ерланг сейчас 🙃