1.83K subscribers
3.3K photos
132 videos
15 files
3.58K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
#meme

Да, боян, но смешно же
Forwarded from Секстикулы (Юленька<3)
😁122
Секстикулы
Photo
This media is not supported in your browser
VIEW IN TELEGRAM
2
На дворе 2023 год
@
В C++ все ещё нужно писать руками обрезание пробельных символов в строке
😁12👍43
Forwarded from Generative Anton
Некто в интернете решил сделать скрапер мемов и столкнулся с тем, что часто OCR (aka optical character recognition) open-source штуки типа tessaract’a работают плохо и выдают белиберду на трудночитаемом тексте.
Но внезапно оказалось, что хорошо работает… OCR в новой iOS в iPhone’ах. В итоге наше герой скупил на ebay старые iPhone’ы и сделал из них OCR-ферму.

На фото — OCR-ферма айфонов с rapsberry pi поверх, который торчит наружу и служет load-balancer’ом для iPhone’ов.

Теперь его боты бегают по сайтикам с мемами и весь текст складывают в elastic search для удобного поиска.
🔥19🥴6
Это не #meme, это жиза(
Forwarded from rus dacent
🌝
😢333👍3🔥2🌚1
Что общего у девопса и пекаря?

Ждут, пока поднимется.
😁13
Forwarded from Саламандра. Сдвиг окна Овертона (Яна Ике 🔥 (огонёк одобряем))
Реально 18+, детям такое лучше не показывать, да и взрослым тоже
💩11😁72🔥2🤔1
Forwarded from You Had No Job
Запрет определённых действий
🌚9
#prog #3dcg #article

Swallowing the elephant into Blender

Some years ago Matt Pharr wrote an excellent blog post series, “Swallowing the elephant”, in which he describes various optimizations done in pbrt using Disnay’s Moana Island Scene.

Recently I was optimizing Blender’s OBJ importer, and the state of it in the end was “the bottlenecks are not OBJ specific anymore”. I was looking for some larger test scene to import, noticed that the Moana scene got a USD version done in 2022, and started to wonder how well that would import into Blender.

So yeah. It takes almost four hours until the import is finished, and then Blender crashes while trying to display it in the viewport. Not quite usable! Here’s a story of random optimizations that I did, and some learnings along the way.
😐2👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Сладкие вкусняшки плывут вам прямо в рот – в прямом смысле слова!

Так доставляют заказ к столику в кофейне Донгури в японском городе Нумадзу.
4
Forwarded from я что-то �� и всё ����
🔁 Samuel Tardieu
Thanks to my students and former students at @TelecomParis for this perfect gift: a #rustlang themed temperature sensitive cup.
😁19👍8
Я: хочу набрать слово "однопользовательская"
Моя клавиатура:
😁63
😢13👍31
This media is not supported in your browser
VIEW IN TELEGRAM
Пока в России на зиму отключают фонтаны, в Японии они зимой мало того что работают, но выглядят даже круче! На видео - пруд в замковом парке в городе Акита.
2🔥2
Forwarded from useless stuff
"Я понял что вы имели ввиду, но напишите по-другому"
😁20👍5😐53
#prog #rust

github.com/rust-lang/rust/pull/106519

fn main() {
let x = {
println!("foo");
42;
};
println!("{}", x);
}

⬇️

error[E0277]: `()` doesn't implement `std::fmt::Display`
--> src/main.rs:6:20
|
4 | 42;
| - help: remove this semicolon
5 | };
6 | println!("{}", x);
| ^ `()` cannot be formatted with the default formatter

❤️
11👍5👌2
#prog #rust

github.com/rust-lang/rust/pull/106400

Ошибки несоответствия типов стали более информативными. 👏

fn bar(_: Vec<i32>) {}
fn main() {
let v = vec![1, 2, 3, 4, 5];
let mut foo = vec![];
for i in &v {
foo.push(i);
}
bar(foo);
}

⬇️

error[E0308]: mismatched types
--> src/main.rs:8:9
|
6 | foo.push(i);
| - this is of type `&{integer}`, which causes `foo` to be inferred as `Vec<&{integer}>`
7 | }
8 | bar(foo);
| --- ^^^ expected `i32`, found `&{integer}`
| |
| arguments to this function are incorrect
👍114