Уязвимость старая, но идея еще жива. Просто оптимизирующий компилятор может сделать больше, чем от него просят. Хотя и справедливо...
https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
Redhat
Security flaws caused by compiler optimizations
An optimizing compiler is one that tries to maximize some attribute(s) of an executable program at the expense of other attribute(s). Usually the goal is to improve performance or code size at the expense of compiler time and the possibility to debug the…
oleg_log
Уязвимость старая, но идея еще жива. Просто оптимизирующий компилятор может сделать больше, чем от него просят. Хотя и справедливо... https://www.redhat.com/en/blog/security-flaws-caused-compiler-optimizations
А еще я узнал о такой вещи сегодня:
Но в статье куча других вещей, полезно, однако.
https://interrupt.memfault.com/blog/code-size-optimization-gcc-flags
#pragma GCC push_options
#pragma GCC optimize ("O3")
/* Code that needs optimizing */
#pragma GCC pop_options
Но в статье куча других вещей, полезно, однако.
https://interrupt.memfault.com/blog/code-size-optimization-gcc-flags
Interrupt
Code Size Optimization: GCC Compiler Flags
A walk through of GCC configuration options and flags to optimize firmware code size
В блоге #go вышел новый пост про миграцию на модули:
ч1 и ч2 (март и август соотв)
https://blog.golang.org/using-go-modules
https://blog.golang.org/migrating-to-go-modules
ч1 и ч2 (март и август соотв)
https://blog.golang.org/using-go-modules
https://blog.golang.org/migrating-to-go-modules
О, спринг-фреймворк ушел за 2.7Б:
VMware acquires Carbon Black for $2.1B and Pivotal for $2.7 billion.
https://techcrunch.com/2019/08/22/vmware-acquires-carbon-black-for-2-1b-and-pivotal-for-2-7-billion/
VMware acquires Carbon Black for $2.1B and Pivotal for $2.7 billion.
https://techcrunch.com/2019/08/22/vmware-acquires-carbon-black-for-2-1b-and-pivotal-for-2-7-billion/
TechCrunch
VMware acquires Carbon Black for $2.1B and Pivotal for $2.7 billion
VMware today announced that it is acquiring Carbon Black, a publicly traded security company that focuses on securing modern cloud-native workloads. The price of the acquisition is about $2.1 billion.
Forwarded from Литий и стенания
A colleague had setup some machines to align configurations among each other, via a script (of course). This script has grown over and over, and now has parameters, options and configurations. For short: it's a big mess. Quite logic and readable actually (the guy was smart), assuming you have time and patience to go trough it.
This guy starts the configuration of some new servers then leaves in the middle. "Leaves" as in "leaves the company entirely". So the script does not work, and erases configurations instead. Luckly, the erasing happens after a daily backup.
So I had to fix this... But i was in the middle of 1400 other things, and the quickest way was to add another script to fix the mess created with a scrtipt with another script. So there came to be another script that restores the backups and aligns it.
So there's a big customer, an important company on a national scale, whose machines erase each other's configurations every day, and then the same machines restore each other every day. All within a daily maintenance window.
That thing has been working for a suprising number of months now.
I really don't want to touch it ever again
This guy starts the configuration of some new servers then leaves in the middle. "Leaves" as in "leaves the company entirely". So the script does not work, and erases configurations instead. Luckly, the erasing happens after a daily backup.
So I had to fix this... But i was in the middle of 1400 other things, and the quickest way was to add another script to fix the mess created with a scrtipt with another script. So there came to be another script that restores the backups and aligns it.
So there's a big customer, an important company on a national scale, whose machines erase each other's configurations every day, and then the same machines restore each other every day. All within a daily maintenance window.
That thing has been working for a suprising number of months now.
I really don't want to touch it ever again
Не знал, что можно глянуть данные про модуль на sum.golang.org
(выдаст как на скрине)
https://sum.golang.org/lookup/gomodules.xyz/jsonpatch/v2@v2.0.1
А еще в #go есть переменная
https://tip.golang.org/cmd/go/
(выдаст как на скрине)
https://sum.golang.org/lookup/gomodules.xyz/jsonpatch/v2@v2.0.1
А еще в #go есть переменная
GOSUMDB в которую можно передать хост на свое хранилище чексумм (это в 1.13 вроде появится) https://tip.golang.org/cmd/go/
Из жизни замечательных людей: на тернарный оператор нужно 3 пропозала за полгода.
Вот бы все эти потраченные серотонинные запасы на благое дело...
https://github.com/golang/go/issues/33171
https://github.com/golang/go/issues/31659
https://github.com/golang/go/issues/32860
Вот бы все эти потраченные серотонинные запасы на благое дело...
https://github.com/golang/go/issues/33171
https://github.com/golang/go/issues/31659
https://github.com/golang/go/issues/32860
Еще одна бесполезно-забавная фишечка в твитер.
vaguely reassuring state machines
https://twitter.com/happyautomata
Вот как надо (свою?) либку для автоматов на С рекламировать! https://github.com/katef/libfsm
vaguely reassuring state machines
https://twitter.com/happyautomata
Вот как надо (свою?) либку для автоматов на С рекламировать! https://github.com/katef/libfsm
oleg_log
Один из лучших материалов из раздела #ненормальное Всем давно известно, что шаблоны в спп Тюринг-полные, как майнкрафт и дварф фортресс, я даже хтмл+цсс знал, но....power point http://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
Надо возродить подобные ненормальные штуки под тегом #ненормальное
В этот раз Ray tracing in Excel, спасибо Кириллу.
Небольшое описание https://www.reddit.com/r/gamedev/comments/ctf9f7/raytracing_in_excel_incl_excel_model_link_and/
видос (ВНИМАНИЕ ГРОМКОЕ 8БИТНОЕ МУЗЛО)
https://www.youtube.com/watch?v=m28jJ7CMp8A&feature=youtu.be
Ну и гитхаб (у меня в гуглдок не открылось, а вот быстрое открытие с гугл драйва внезапно заработало, правда оч медленно, сюда форварднуло https://speedtesting.herokuapp.com/)
https://github.com/s0lly/Raytracer-In-Excel
В этот раз Ray tracing in Excel, спасибо Кириллу.
Небольшое описание https://www.reddit.com/r/gamedev/comments/ctf9f7/raytracing_in_excel_incl_excel_model_link_and/
видос (ВНИМАНИЕ ГРОМКОЕ 8БИТНОЕ МУЗЛО)
https://www.youtube.com/watch?v=m28jJ7CMp8A&feature=youtu.be
Ну и гитхаб (у меня в гуглдок не открылось, а вот быстрое открытие с гугл драйва внезапно заработало, правда оч медленно, сюда форварднуло https://speedtesting.herokuapp.com/)
https://github.com/s0lly/Raytracer-In-Excel
В слаке нет проверки ввода для кастомных стилей.
Хм, а ведь красиво, а ведь работает.
https://t.me/fault_13/12
UPD: вставлять нужно в какой-то цвет, последнее поле ввода это для расшаривания (там и написано).
пример с ъуъ https://t.me/fault_13/14
Хм, а ведь красиво, а ведь работает.
https://t.me/fault_13/12
UPD: вставлять нужно в какой-то цвет, последнее поле ввода это для расшаривания (там и написано).
пример с ъуъ https://t.me/fault_13/14
Может помните, раньше была шуточка (из 2009 и ранее):
(дада, баш родимый https://bash.im/quote/403615)
Так я к чему, а, точно, как же далеко мы ушли в эти абстракции, и шутки про деление уже не так смешны.
Нам лучше подавай тукши пор канакренис, шутки про мл-дс или очередные подарки ямла. Стопталась землюшка, стопталась...
^_^: Чего б ты щас хотел?
alias: честно?
^_^: Честно.
alias: делить на ноль
(дада, баш родимый https://bash.im/quote/403615)
Так я к чему, а, точно, как же далеко мы ушли в эти абстракции, и шутки про деление уже не так смешны.
Нам лучше подавай тукши пор канакренис, шутки про мл-дс или очередные подарки ямла. Стопталась землюшка, стопталась...
Отличное напоминание, что можно успешно сделать проект без микросервиса на каждый пук. Даже на питоне. Хотя время от комита до прода меня напрягает. Зачем так лететь?
Instagram Server is entirely Python powered. <...>. Our server app is a monolith, one big codebase of several million lines and a few thousand Django endpoints .
We have hundreds of engineers shipping hundreds of commits every day. We deploy those commits continuously, every seven minutes, typically deploying to production around a hundred times per day. We aim to keep less than an hour of latency between a commit landing in master and going live in production.
Статья вообще про анализ кода (неоч интересная по себе) https://instagram-engineering.com/static-analysis-at-scale-an-instagram-story-8f498ab71a0c
Instagram Server is entirely Python powered. <...>. Our server app is a monolith, one big codebase of several million lines and a few thousand Django endpoints .
We have hundreds of engineers shipping hundreds of commits every day. We deploy those commits continuously, every seven minutes, typically deploying to production around a hundred times per day. We aim to keep less than an hour of latency between a commit landing in master and going live in production.
Статья вообще про анализ кода (неоч интересная по себе) https://instagram-engineering.com/static-analysis-at-scale-an-instagram-story-8f498ab71a0c
7.11 trillion calls to the DynamoDB API, peaking at 45.4 million requests per second, during 48 hours of Prime Day. Amazon Aurora also supports the network of Amazon fulfillment centers. On Prime Day, 1,900 database instances processed 148 billion transactions, stored 609 terabytes of data, and transferred 306 terabytes of data. The EBS team added an additional 63 petabytes of storage ahead of Prime Day; the resulting fleet handled 2.1 trillion requests per day and transferred 185 petabytes of data per day.
https://aws.amazon.com/blogs/aws/amazon-prime-day-2019-powered-by-aws/
https://aws.amazon.com/blogs/aws/amazon-prime-day-2019-powered-by-aws/
Nu Shell - A modern, GitHub-era shell written in Rust
https://github.com/nushell/nushell
https://t.me/sysadmin_tools/2082 ❤️
https://github.com/nushell/nushell
https://t.me/sysadmin_tools/2082 ❤️
This media is not supported in your browser
VIEW IN TELEGRAM
k8s distribution be like:
Forwarded from Defront — про фронтенд-разработку и не только
Tproger вчера запостил (https://t.me/tproger_web/193) awesome-список, посвящённый мобильной web-разработке, который я веду больше года. Там есть разные статьи, книги и инструменты, которые могут помочь в создании быстрого mobile-friendly сайта. Рекомендую посмотреть подборку всем web-разработчикам, так как пользователей интернета сейчас больше всего именно на мобильных платформах.
#mobile #list
https://github.com/myshov/awesome-mobile-web-development
#mobile #list
https://github.com/myshov/awesome-mobile-web-development
Telegram
Веб-страница
Подборка полезных материалов для мобильной веб-разработки от нашего подписчика: https://tprg.ru/haO7
Книги и статьи про оптимизацию, паттерны, ссылки на актуальные стандарты, инструменты и API.
#mobile
Книги и статьи про оптимизацию, паттерны, ссылки на актуальные стандарты, инструменты и API.
#mobile