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

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Блог*
#prog #моё Если вы используете регулярные выражения — вам должно быть за это стыдно У регулярных выражений есть куча недостатков, и, на мой взгляд, их слишком часто используют там, где не надо. Сейчас я расскажу о том, что же с ними не так. Проблемы 1.…
#prog #regex #article

The true power of regular expressions

<...>

As the article was quite long, here a summary of the main points:

* The “regular expressions” used by programmers have very little in common with the original notion of regularity in the context of formal language theory.
* Regular expressions (at least PCRE) can match all context-free languages. As such they can also match well-formed HTML and pretty much all other programming languages.
* Regular expressions can match at least some context-sensitive languages.
* Matching of regular expressions is NP-complete. As such you can solve any other NP problem using regular expressions.

But don’t forget: Just because you can, doesn’t mean that you should. Processing HTML with regular expressions is a really bad idea in some cases. In other cases it’s probably the best thing to do.
5
#momma 🥰🥺
7😁5😢2
Никто:
Антон: забывает, что ему теперь переводят зарплату на карту другого банка
3😁2
#meme

(использую на линуксах xfce BTW)
🔥6💩2😍1
Forwarded from RWPS::Mirror
И не поспоришь
6🥰5😁2👎1
Forwarded from The After Times
😁20💩92
Блог*
#music youtube.com/watch?v=abBW51X-x-w
Если вам это понравилось, то вот вам ещё #music подобного плана.

youtube.com/watch?v=U4GXNzom6ik
👍5🥰1💩1🤡1
#meme про траву и клещей
16😁1
5🌚3👍1
😁286👍1🤡1
#prog #rust

Esteban Kuber продолжает улучшать диагностики парсера rustc. Теперь парсер ещё и восстанавливается от маркеров конфликта слияния.

github.com/rust-lang/rust/pull/106242
🔥7👍2
std::collections::#Map

std::collections::🅱🌳Map
🥰84🥴2👍1
Блог*
std::collections::#Map std::collections::🅱🌳Map
Хотя что это я

#⃣🗺

🅱🌳🗺
🔥9🥴7