Тож крутая вещь, скок всего ща будут все автоматизировать. Прям вангую инциденты https://developers.notion.com/
Notion Docs
Notion API quickstart
Create a page in your Notion workspace with a personal access token and a single API request.
Еще -1 эпоха. https://github.com/golang/go/issues/38968
Дополнительно уточню - заморозили, а не удалили. Работать будет, просто никто не хочет развивать. Поэтому еще раз golangci-lint & co
Дополнительно уточню - заморозили, а не удалили. Работать будет, просто никто не хочет развивать. Поэтому еще раз golangci-lint & co
oleg_log
У меня тут сильно пригорело с UX go.googlesource.com и редиректов с pkg.go.dev на стдлиб, что я прам наругался матом в лс хорошему человеку (даже в твитор поныл). Но как заметил хороший человек, лучше было бы сделать ишью, чтобы это пофиксили, хоть я и не…
The stdlib source repo is changed to cs.opensource.google/go/go.
https://github.com/golang/pkgsite/commit/080753ead6aa7a72d96845f665a0b63d1e0ba560
Пример https://cs.opensource.google/go/go/+/refs/tags/go1.12:src/bytes/buffer.go
https://github.com/golang/pkgsite/commit/080753ead6aa7a72d96845f665a0b63d1e0ba560
Пример https://cs.opensource.google/go/go/+/refs/tags/go1.12:src/bytes/buffer.go
Новость чуть старая, но внезапно широкая. (RTOS - real-time OS)
Microsoft’s Section 52, the Azure Defender for IoT security research group, recently uncovered a series of critical memory allocation vulnerabilities in IoT and OT devices that adversaries could exploit to bypass security controls in order to execute malicious code or cause a system crash.
These remote code execution (RCE) vulnerabilities cover more than 25 CVEs and potentially affect a wide range of domains, from consumer and medical IoT to Industrial IoT, Operational Technology (OT), and industrial control systems.
All of these vulnerabilities stem from the usage of vulnerable memory functions such as malloc, calloc, realloc, memalign, valloc, pvalloc, and more. Our research shows that memory allocation implementations written throughout the years as part of IoT devices and embedded software have not incorporated proper input validations.
https://msrc-blog.microsoft.com/2021/04/29/badalloc-memory-allocation-vulnerabilities-could-affect-wide-range-of-iot-and-ot-devices-in-industrial-medical-and-enterprise-networks/
Твит с патчем не всего в Linux https://twitter.com/embeddedgus/status/1392725518022230017
Мда уж, memory is the new El Dorado of CVE.
Microsoft’s Section 52, the Azure Defender for IoT security research group, recently uncovered a series of critical memory allocation vulnerabilities in IoT and OT devices that adversaries could exploit to bypass security controls in order to execute malicious code or cause a system crash.
These remote code execution (RCE) vulnerabilities cover more than 25 CVEs and potentially affect a wide range of domains, from consumer and medical IoT to Industrial IoT, Operational Technology (OT), and industrial control systems.
All of these vulnerabilities stem from the usage of vulnerable memory functions such as malloc, calloc, realloc, memalign, valloc, pvalloc, and more. Our research shows that memory allocation implementations written throughout the years as part of IoT devices and embedded software have not incorporated proper input validations.
https://msrc-blog.microsoft.com/2021/04/29/badalloc-memory-allocation-vulnerabilities-could-affect-wide-range-of-iot-and-ot-devices-in-industrial-medical-and-enterprise-networks/
Твит с патчем не всего в Linux https://twitter.com/embeddedgus/status/1392725518022230017
Мда уж, memory is the new El Dorado of CVE.
Twitter
Gustavo A. R. Silva
BTW, in case people want to help us with this, I tried to find all instances that could POTENTIALLY be transformed to struct_size(). It took over an hour, 50GB of RAM and 128 cores. So, I really hope this can be useful to people interested in this work. …
Поехавшие. Не понимаю, как им удаётся завозить оптимизации до сих пор.
Хотя ПРы с уменьшением стека прикольные, вроде и понятно, а вроде и не приходилось сталкиваться. Хотя как-то был похожий кейз в Uber, годик-два назад. Правда в Go.
https://github.com/facebook/zstd/releases/tag/v1.5.0
Хотя ПРы с уменьшением стека прикольные, вроде и понятно, а вроде и не приходилось сталкиваться. Хотя как-то был похожий кейз в Uber, годик-два назад. Правда в Go.
https://github.com/facebook/zstd/releases/tag/v1.5.0
Кто бы мог подумать, Apple даёт приватное API для больших фирм. Шок-сенсации.
С одной стороны обидно, с другой стороны даже честно (если у вас супер потребность - иди проси, и нам легче поддерживать, и вы ничего не натворите).
https://blog.thinktapwork.com/post/649630720084639744/ipad-camera-multitasking
С одной стороны обидно, с другой стороны даже честно (если у вас супер потребность - иди проси, и нам легче поддерживать, и вы ничего не натворите).
https://blog.thinktapwork.com/post/649630720084639744/ipad-camera-multitasking
Tumblr
iPad Camera Multitasking
A few months back I was surprised to see that Zoom had somehow been able to tap into using the camera during iPad Split View multitasking. This is an obvious feature for a videoconferencing app so...
Пришлось сделать клонилку репозиториев Github (захотелось собрать все сервисы по паттерну и посмотреть некоторые вещи).
В общем, за основу взял другой скрипт, ток добавил
Может кому-то пригодится, хз
https://gist.github.com/cristaloleg/9242e988ad6768873150bd4f6d1f232f
В общем, за основу взял другой скрипт, ток добавил
jq с паттерном на имя, спасибо конвенции называть репы с сервисами с префиксом.Может кому-то пригодится, хз
https://gist.github.com/cristaloleg/9242e988ad6768873150bd4f6d1f232f
Observing my cellphone switch towers.
Сразу вспоминаются миссии Sleeping dogs с поиском человека по вышкам.
https://fabiensanglard.net/lte/index.html
Сразу вспоминаются миссии Sleeping dogs с поиском человека по вышкам.
https://fabiensanglard.net/lte/index.html
Нашел какой-то тех список ишусов и патчей в Go. Эдакая Жыра для бедных реально работающих людей.
Следить за такой плохо, но можно быстро грепать, что хорошо. Вдруг кому-то пригодится.
https://dev.golang.org/release#Go1.17
Следить за такой плохо, но можно быстро грепать, что хорошо. Вдруг кому-то пригодится.
https://dev.golang.org/release#Go1.17
oleg_log
Проекту только полгода, а какие планы-то. Все конечно ощущается unsafe костылями, но оно того стоит. Не знаю как вам, а мне идея крайне нравится. Cosmopolitan makes C a build-once run-anywhere language, similar to Java, except it doesn't require interpreters…
Вот и v1 приехало.
Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS or UEFI with the best possible performance and the tiniest footprint imaginable.
https://github.com/jart/cosmopolitan/releases/tag/1.0
Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS or UEFI with the best possible performance and the tiniest footprint imaginable.
https://github.com/jart/cosmopolitan/releases/tag/1.0
Отета зачет. Давайте добавим
Пайк даж не против, но вы там полайкайте)
TextVar который может записать текст в переменную. Вариант с big.Int прям с жызы снятvar t time.Timehttps://github.com/golang/go/issues/45754
flag.TextVar(&t, "start_time", time.Now(), "Time to start processing at.")
or
var n big.Int
flag.TextVar(&n, "n", big.NewInt(3853882583591558728), "Run integer factorization for this number")
Пайк даж не против, но вы там полайкайте)
GitHub
flag: add TextVar to handle types that implement encoding.TextUnmarshaler · Issue #45754 · golang/go
The encoding.TextMarshaler and encoding.TextUnmarshaler interfaces are the de-facto way for a type to self-report that it can serialize to/from some humanly readable text format. The easiest ways t...
This media is not supported in your browser
VIEW IN TELEGRAM
Ну не жеза ли? 😍
Мне тут по секрету сказали, что будем 1 митап и там будет Go с дженериками и ORM. Наличие Ruby в ссылке не моя сфера ответственности)
https://railsclub.timepad.ru/event/1561926/
https://railsclub.timepad.ru/event/1561926/
Chad Strings - The Chad way to handle strings in C.
One
https://github.com/skullchap/chadstr
500строк С-магии и макросов, малая цена ради такой красоты)
One
str(...) macro to handle them all.nt table = 13;
int id = 37;
str test1 = str("SELECT * FROM ", table, " where person_id ", id);
str test2 = str(test1); //copies test1 to test2
str test3 = str(test2, test1); // returns concat of test2 and test1
test2 = test1; // acceptable, but wrong since test2 now points to test1 not copies it.
str(*test1); // returns const char* to use in printf like functions
Ex: puts(str(*test1)); // prints test1;
https://github.com/skullchap/chadstr
500строк С-магии и макросов, малая цена ради такой красоты)
Forwarded from Сингулярити 🎉
This media is not supported in your browser
VIEW IN TELEGRAM
FU Interface
На Experiments with Google подъехали первые эксперименты с TensorFlow Lite for Microcontrollers.
Например, интерфейс для управления девайсами через жесты пальцем.
TensorFlow + IMU sensor + Arduino.
Прожигать часы за скроллингом ленты на телеке стало еще удобнее. Каеф.
https://g.co/tfmicroexperiments
На Experiments with Google подъехали первые эксперименты с TensorFlow Lite for Microcontrollers.
Например, интерфейс для управления девайсами через жесты пальцем.
TensorFlow + IMU sensor + Arduino.
Прожигать часы за скроллингом ленты на телеке стало еще удобнее. Каеф.
https://g.co/tfmicroexperiments
Forwarded from Generative Anton
Media is too big
VIEW IN TELEGRAM
Придумал шутку про GIL в Python.
- Что будет, если часы написать на Python?
- *видео*
- Что будет, если часы написать на Python?
- *видео*