oleg_log
1.72K subscribers
1.88K photos
131 videos
9 files
2.82K links
Shelter for antisocial programmers "Oleg"

halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
Download Telegram
О, а расскажите про идеальный для вас CI (и может CD). Или хотя бы то, что у вас болит по этим темам.
Плакаться сюда: @olegkovalov
NSA has developed a software reverse engineering framework known as GHIDRA, which will be demonstrated for the first time at RSAC 2019. An interactive GUI capability enables reverse engineers to leverage an integrated set of features that run on a variety of platforms including Windows, Mac OS and LINUX and supports a variety of processor instruction sets. The GHIDRA platform includes all the features expected in high-end commercial tools, with new and expanded functionality NSA uniquely developed, and will be released for free public use at RSA.
(с)
Очередной how to go 101 собирает 5к лайков на медиум.
Статья о best practices...ну...набирает что-то.
wow
Восхитительное решение для борьбы с ботами. Атака нацелена на тех, кто юзает phantomjs, headless chrome и прочее. Боту в ответ кидают cpu-intensive код, который тупо жрет ресурсы (и не только, там в ответах речь про рекурсивный зип).
Черт, это крутое решение.

https://twitter.com/J0hnnyXm4s/status/1081227041255706626
According to Standish Group’s Chaos Report, 94% of software projects are redeveloped from scratch more than once. That’s huge.
(c)
когда устал от проблем, но продолжаешь о них думать
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
логично
// Unset remove element at position i
func Unset(a []string, i int) []string {
a[i] = a[len(a)-1]
a[len(a)-1] = ""
return a[:len(a)-1]
}
oleg_log
логично // Unset remove element at position i func Unset(a []string, i int) []string { a[i] = a[len(a)-1] a[len(a)-1] = "" return a[:len(a)-1] }
Для тех, кто не уловил: я не понимаю и презираю такие названия методов. Чем обычный ‘Delete’ не угодил? Зачем делать из кода поэму с глубоким смыслом? Идите в свой руби и пишите хокку. Откуда берется этот движ на литературный стиль?
Самое ужасное, что помню, это ‘HasSuchStringElement’.
Теперь гугл будет детерменированный *ехидный блинчик*

On the proposal for a regulation of the European Parliament and of the Council on promoting fairness and transparency for business users of online intermediation services

Amendment 7
(6) A uniform and targeted set of mandatory rules should therefore be established at Union level to ensure a fair, predictable, sustainable and trusted online business environment within the internal market by ensuring, in particular, that the business users of online intermediation services are afforded appropriate transparency as well as effective redress possibilities throughout the Union. Those rules should also provide for appropriate incentives to promote fair and proportionate business behaviour and transparency, especially as regards the ranking of corporate website users in the search results generated by online search engines, including voice assistance services. At the same time, those rules should be such as to recognize and safeguard the important innovation potential of the wider online platform economy and allow for healthy competition leading to increased consumer choice.

http://www.europarl.europa.eu/sides/getDoc.do?pubRef=-//EP//TEXT+REPORT+A8-2018-0444+0+DOC+XML+V0//EN&language=EN
О, в puppet можно замутить рекурсивные конфиги. Угадайте, сколько раз машины на проде были убиты процессом руби, выжирающим все ресурсы проца?
(больше одного раза)
Simplicity
The protocol must be simple to implement.
It is more important for the protocol to be simple than the backend implementation.

Correctness
The protocol must be verifiably correct.
Incorrect behavior is simply not allowed.

Safety
The protocol must be designed in a way that is safe.
Behavior and functionality which risks safety is considered incorrect.

Completeness
The protocol must cover as many situations as is practical.
All reasonably expected cases must be covered.
Simplicity is not a valid excuse to reduce completeness.
(с)
Current mood OverwriteableUsernamePermissionDetector
Позвали на ревью по оптимизации одного сервиса.
Достаю увлажняющий гель для рук, салфетки, думаю - ну ща.

Дифф 3 линии:
Хип: 1024мб -> 2048мб
Цпу: 0.5 -> 2
и удаленние пустой строки в конце файла.