ASCII-Nova 🇺🇦
86 subscribers
980 photos
39 videos
9 files
426 links
предложка: @ascii_nova_suggest_bot

Гиковство && занудство, инди-музыка, геймдев и непрошенные советы

Чат, где мы обсуждаем код и всё около него: @ascii_nova_chat
Download Telegram
Forwarded from gmanka (Эффект буравчика)
This media is not supported in your browser
VIEW IN TELEGRAM
😁3🔥1
Forwarded from 
gmanka
Video
Один день игры в Dwarf Fortress
Web3 Data Engineering Crash Course | Kamu Data
https://www.kamu.dev/blog/2024-08-05-web3-data-crash-course/

This will NOT be about counting some nonsensical NFTs, or quantitative analysis of a made-up cryptocurrency - this is about data architecture and technical innovations in Web3 that will soon reach both enterprise and scientific data space.

You will learn about:

- Web3 design principles - personal data ownership, decentralized identity, verifiability
- Using data on blockchains - smart contracts and the oracle problem
- Analytics on blockchain data - Ethereum logs and indexers
- Decentralized storage and physical infrastructure networks


#web3
👍2👀2🔥1
Forwarded from trace!("TheBestTvarynka") (Pavlo Myroniuk)
Both frontend and backend are written in Rust. Sometimes you need to know the host OS in the frontend code. #[cfg(target_os = "...")] will not work because all Rust frontend code is compiled with the wasm32-unknown-unknown target. So, you'll always get a non-Windows target OS.
After some googling, I wrote a small workaround.
// build.rs
fn main() {
println!("cargo::rustc-check-cfg=cfg(windows_is_host_os)");
if cfg!(windows) {
println!("cargo:rustc-cfg=windows_is_host_os");
}
}

The idea is to define a custom cfg attribute in the build.rs. All code in build.rs is executed after dependencies compilation but before app compilation. So, in the build.rs we have more information about the host OS than in the frontend code.
Now I can use the windows_is_host_os in the #[cfg(...)] attribute:
// somewhere in the frontend code
#[cfg(windows_is_host_os)]
{
// Windows
}
#[cfg(not(windows_is_host_os))]
{
// Not Windows
}


#rust
🔥4😁1
придумайте комментарий
🥰1
Forwarded from Disks 'n Dinosaurs
Чи подобаються вам артбуки? Мені дуже. Й ось один із моїх найулюбленіших – Dungeons and Dragons Art and Arcana: A Visual History. Книга була випущена у 2018 році й демонструє повну історію створення всіх культових (та й не тільки) образів цього всесвіту.

Але ж що там такого, щоб бути у списку «найулюбленіших»? Ну, крім того, що це добротний експонат для фанатів, Art and Arcana – не просто книжка з картинками, а справжній історичний альманах, майже енциклопедія, з купою ексклюзивного контенту: інтерв'ю художників, загублені скетчі, концепт-арти легендарних чудовиськ і багато чого ще. А головне, що все це ілюструє тернистий шлях D&D від сором'язливих перших кроків до тотального панування у світі настільних рольових ігор. Я дуже радий мати таку річ на своїй полиці, адже, як ви могли помітити, історія поп-культури – це те, що мене захоплює. Й саме опис розвитку тут є тією самою родзинкою, тож якщо ви теж цікавитеся драконами чи, наприклад, підземеллями, я щиро можу рекомендувати цей артбук як грошову інвестицію! 🗡
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1🔥1
Forwarded from Чат динозаврів
1
Forwarded from Dolynskyi - The future is here! X💎
😎 $WMT является крупнейшим частным работодателем в 21 штате США.
Dolynskyi - The future is here! X💎
😎 $WMT является крупнейшим частным работодателем в 21 штате США.
впечатляет, что самым крупным работодателем штата может быть университет!
👍1💯1