uz
Feedback
Блог*

Блог*

Kanalga Telegram’da o‘tish

Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here

Ko'proq ko'rsatish
1 927
Obunachilar
-124 soatlar
+47 kunlar
+430 kunlar
Postlar arxiv
Repost from N/a
photo content

#meme #politota на злобу дня

Repost from N/a
photo content

И ведь у меня есть такая песня

Карта Грузии по мнению россиян в поисках жилья заехавших через Ларс
Карта Грузии по мнению россиян в поисках жилья заехавших через Ларс

Когда хочешь поздравить с пятницей, но уже суббота

#prog #rust #article A performance retrospective using Rust (part 3) Или когда ? оказался медленнее try!.

#prog #bash #abnormalprogramming TickTick enables you to put JSON in bash scripts. Yes, just encapsulate them with two back-ticks. github.com/kristopolous/TickTick

Вот теперь оно может заменить нас

GitHub Copilot ленится по пятницам. Это он, если что, после сигнатуры гордо дописал мне // TODO.
GitHub Copilot ленится по пятницам. Это он, если что, после сигнатуры гордо дописал мне // TODO.

#prog #abnormalprogramming (#evenmoreabnormalprogramming?) Вероятно, многие мои читатели уже знают про movfuscator: The M/o/Vfuscator (short 'o', sounds like "mobfuscator") compiles programs into "mov" instructions, and only "mov" instructions. Arithmetic, comparisons, jumps, function calls, and everything else a program needs are all performed through mov operations; there is no self-modifying code, no transport-triggered calculation, and no other form of non-mov cheating. Так вот, оказывается, как средство обфускации этот проект не так уж и надёжен: есть Demovfuscator This tool constitutes a generic way of recovering the control flow of the original program from movfuscated binaries. As our approach makes zero assumptions about register allocations or a particular instruction order, but rather adheres to the high-level invariants that each movfuscated binary needs to conform to, our demovfuscator is also not affected by the proposed hardening techniques such as register renaming and instruction reordering. To achieve this, we use a combination of static taint analysis on the movfuscated code and a satisfiable modulo theory (SMT) solver. We successfully used our demovfuscator against several movfuscated binaries that emerged during several CTFs during the last months (Hackover CTF and 0CTF) proving that it already can handle real-world binaries that were not created by us. (thanks @vitvakatu)

#prog #abnormalprogramming github.com/woodrush/lambda-8cc

Repost from N/a
photo content

#prog #haskell #article Товарищ Мёртвопищ 0xd34df00d написал декодер и енкодер QOI на хаскелле. И весьма быстрые. Haskell is quite OK for images: decoding QOI Haskell is quite OK for images: encoding QOI

Арочный мост Кинтай - главная достопримечательность японского города Ивакуни. Он был построен еще в 1673 году и до сих пор вы
Арочный мост Кинтай - главная достопримечательность японского города Ивакуни. Он был построен еще в 1673 году и до сих пор выглядит (почти) как при самураях. До отказа от феодального строя, кстати, только самураям и разрешалось ходить по ценному мосту - и так приходилось чинить его слишком часто. Крестьяне переправлялись через реку на лодках.

#prog #c #article Type Punning Functions in C #include <math.h> #include <stdio.h> double DoubleToTheInt(double base, int power) { return pow(base, power); } int main() { // cast to a function pointer with arguments reversed double (*IntPowerOfDouble)(int, double) = (double (*)(int, double))&DoubleToTheInt; // prints 0.366032 printf("(0.99)^100: %lf \n", DoubleToTheInt(0.99, 100)); // also prints 0.366032 printf("(0.99)^100: %lf \n", IntPowerOfDouble(100, 0.99)); }

Оцените прошедший день
Anonymous voting

#prog #rust #article Brute forcing protected ZIP archives in Rust Комментарии к статье на Reddit едва ли не ценнее самой статьи. Спойлер: на rayon и проще, и быстрее.

dtolnay — это не человек, а крейт на crates.io