- 86
- 104 614
Daniel Duan
United States
เข้าร่วมเมื่อ 18 ก.พ. 2014
Daniel Duan writes code.
What is dynamic linking?
A quick demo of how dynamic libraries work on Linux.
In this video, we use a simple C project to demonstrate basic usage of dynamic library. We'll break, and fix the executable in multiple ways, introducing tools like ldd, readelf, and LD_LIBRARY_PATH along the way.
daniel_duan
In this video, we use a simple C project to demonstrate basic usage of dynamic library. We'll break, and fix the executable in multiple ways, introducing tools like ldd, readelf, and LD_LIBRARY_PATH along the way.
daniel_duan
มุมมอง: 4 789
วีดีโอ
12 Daily Command-line Tools for 2022
มุมมอง 2932 ปีที่แล้ว
A short video show-casing some essential command-line tools I use every day! My dot files: github.com/dduan/dotfiles Home manager: github.com/nix-community/home-manager The 12 tools are: bat: github.com/sharkdp/bat fd: github.com/sharkdp/fd fzf: github.com/junegunn/fzf tig: github.com/jonas/tig tre: github.com/dduan/tre tag: github.com/keith/tag alacritty: github.com/alacritty/alacritty fish sh...
Clue: output format development | Part 3
มุมมอง 572 ปีที่แล้ว
Implement colored, human-readable output as well as machine format JSON and CSV for output of Clue! Watch live at www.twitch.tv/daniel_duan 00:00:00 Stream starts 00:01:50 Explain the inspiration for the development of Clue 00:07:40 Develop human-readable, colored terminal output 01:12:00 Develop human-readable, uncolored output 01:21:20 Develop JSON output 02:37:48 Develop CSV output
Swift CLI and Library: Clue Development | Part 2
มุมมอง 372 ปีที่แล้ว
Worked a various aspect of Clue, my Swift source code symbol finder. Watch live at www.twitch.tv/daniel_duan 00:00:00 Stream starts 00:07:15 add strict symbol lookup option 00:18:14 Public API organization 00:30:04 Add cached database state to enable efficient consecutive queries 01:25:49 Explore ways to query for didSet/willSet 01:46:56 Set up scaffolding for formatted command output
Swift tool to find symbol references | Part 1
มุมมอง 1532 ปีที่แล้ว
I streamed! Worked on my latest command line tool and Swift library: Clue, which help programmers find symbol references in their Swift project. Watch live at www.twitch.tv/daniel_duan 00:00:00 Intro to Clue, the Swift library and CLI tool for finding Swift symbols 00:08:08 Finishing the command-line interface 00:46:28 Adding "preset" for symbol reference lookups. 00:57:50 Hooking up command-li...
Vim Tips: Pasting done right!
มุมมอง 1.5K3 ปีที่แล้ว
How do you replace some text in Vim with something from the default pasteboard? Do you...copy-delete-paste? Or is it copy-paste-delete? There must be a better way! Connect with me on Twitter: daniel_duan
Vim Tips: Jump to line before opening a file
มุมมอง 6683 ปีที่แล้ว
For a long time, if I needed to look at a line in a file in Vim, I do the "normal" thing: open the file, go to the line. But there's a better way that lets you stare at the line number from a command output while you type the line number. Connect with me on Twitter! daniel_duan
Refactoring | SwiftUI | macOS | Composable Architecture | Stream
มุมมอง 1284 ปีที่แล้ว
Refactoring | SwiftUI | macOS | Composable Architecture | Stream
Profile Creation View | SwiftUI | macOS | Composable Architecture | Stream
มุมมอง 3284 ปีที่แล้ว
Profile Creation View | SwiftUI | macOS | Composable Architecture | Stream
Refactoring / adding popover menus in DrString | SwiftUI | macOS | Composable Architecture | Stream
มุมมอง 1844 ปีที่แล้ว
Refactoring / adding popover menus in DrString | SwiftUI | macOS | Composable Architecture | Stream
Profile renaming in DrString | SwiftUI | macOS | Composable Architecture | Stream
มุมมอง 934 ปีที่แล้ว
Profile renaming in DrString | SwiftUI | macOS | Composable Architecture | Stream
Adding LS_COLORS support for tre | Beginner Rust Programming
มุมมอง 1824 ปีที่แล้ว
Adding LS_COLORS support for tre | Beginner Rust Programming
Synchronize git branches with GitHub Actions
มุมมอง 4434 ปีที่แล้ว
Synchronize git branches with GitHub Actions
[stream] Setting Up Rust CI with GitHub Actions | Beginner Rust Programming
มุมมอง 3794 ปีที่แล้ว
[stream] Setting Up Rust CI with GitHub Actions | Beginner Rust Programming
[Stream] Making a CLI tool to help me stream | Beginner Rust Programming
มุมมอง 1164 ปีที่แล้ว
[Stream] Making a CLI tool to help me stream | Beginner Rust Programming
[Stream] File System API For Swift Library Pathos | Part 3 | Path normalization, and "split drive"
มุมมอง 304 ปีที่แล้ว
[Stream] File System API For Swift Library Pathos | Part 3 | Path normalization, and "split drive"
[Stream] File System API For Swift Library Pathos | Part 2
มุมมอง 264 ปีที่แล้ว
[Stream] File System API For Swift Library Pathos | Part 2
[Stream] File System API For Swift Library Pathos | Part 1
มุมมอง 364 ปีที่แล้ว
[Stream] File System API For Swift Library Pathos | Part 1
[Stream] Enhancing "tre" Command on Windows | Rust Programming
มุมมอง 774 ปีที่แล้ว
[Stream] Enhancing "tre" Command on Windows | Rust Programming
[stream] Writing a refactor tool for Swift projects with IndexStoreDB | Part 2
มุมมอง 704 ปีที่แล้ว
[stream] Writing a refactor tool for Swift projects with IndexStoreDB | Part 2
[stream] Writing a refactor tool for Swift projects with IndexStoreDB | Part 1
มุมมอง 814 ปีที่แล้ว
[stream] Writing a refactor tool for Swift projects with IndexStoreDB | Part 1
[stream] DrString for Xcode - Xcode editor extension + SwiftUI macOS app - Part 2
มุมมอง 914 ปีที่แล้ว
[stream] DrString for Xcode - Xcode editor extension SwiftUI macOS app - Part 2
[Stream] Add Formatting Ability to DrString
มุมมอง 655 ปีที่แล้ว
[Stream] Add Formatting Ability to DrString
[Stream] Modernizing OSS Swift Project Infrastructure
มุมมอง 315 ปีที่แล้ว
[Stream] Modernizing OSS Swift Project Infrastructure
Clear and useful and perfect English which is crucial to me as a non English native speaker.
Fantastic explanation, thank you!
What app do you use to read the documentation? How do you get it?
Thank!
amazing! Thanks a lot :)
If you want to keep going with cli tools written you "may" be able to replace tmux with Zellij...
Woah! something I didn't watch out for!! this video is incredibly underrated too
thank you so much, really helped me understand library dependencies on Linux :3ccc
I can tell you've thought about how you want to explain what you're doing and what to shoelw before starting this video. Instead of most people who just start recording in front of a terminal with a vague idea of what they're doing.
This is why Object Oriented Programming shouldn't be left behind
ok what is the difference between utf8 and utf16le, i know what le is but what is utf16 EDIT: just looked it up, number at the end represents minimum spacce each character would take
1. Hit escape, to make sure you're in NORMAL mode. 2. Yank the text you want to copy. 3. Navigate to the text you want to replace. 4. Hit V, which switches vim from NORMAL mode to VISUAL MODE. 5. Move the cursor over the text you want to replace. You'll notice the next being highlighted. 6. Once you've highlighted all the text you want to replace, hit P. This puts/pastes the text where the highlighted text was. Everything about Vim is completely alien until all of a sudden it's second nature. Or so the theory goes, anyway. Best of luck.
And I thought I was typing fast... Great video though, thanks!
God (just youtube) gave me subtitles, I'm grateful And *Thank You*
Damn... subscribe immediately 🤣
Thank you Daniel
Really good. Thanks for putting this together.
As a programmer I never had an issue it’s quite straight forward I found, UTF-8/16/32/64 is a format that Unicode is stored as, UTF-8 is a popular format used because it varies in size depending on the Unicode allowing backward compatibility with 7-bit ASCII it’s all pretty much self explanatory and easy to understand
How can I open a file link that I see in my terminal without typing manually `nvim +<LINE_NUMBER> <FILE_PATH>`? In any IDE you can just click with your mouse on a `file_path:line_no` link and it will be opened. It is redundant to type it manually. Is there any neovim plugin?
Nicely explained in simple terms
Ma man just made life easier JAJAJA
Yeah I thought he was talking about encoding for real
Thanks!
Any idea how to integrate with vimdiff?
HI Daniel, I have a C library that uses nanopb and wolfssl as dependencies. How do I go about creating a swift package like you did with this configuration?
odm unite
Nine minutes and ten seconds packed with knowledge 😊👍
You should definitely check out the wonderful 'bat-extras' by eth-p, been using them daily recently and I have a very similar setup to you, would be a fantastic compliment to your workflow
Thanks a lot for this video. Really helpful!
Yo bro, this was amazing. You have a talent for explaining concepts in ways that make sense. Bravo!!!
2:05 tbh, as a noob, this was a MAJOR eye-opener for me. Thanks!
Great video! Maybe next time, record another track for the voiceover once the script is complete :D That way the voice doesn't feel like it's hopping all over the place with edits.
bat & tig & tag === 🤯, do yo use any GUI tools for Git
Nope! Tig, Fugitive (vim plugin) and mostly just raw git CLI.
lazygit is awesome
Thanks man! Really helped
damn mate lol just tell me how to do it ahah
This is still so confusing :P
AMAZING explanation! Thanks a lot!
To much info please anyone tell me (( why some pepole useing the utf-8 in the web scraping ??? ))
excellent ... was looking exactly for same step
Love this video! This really makes me feel I am not alone ❤️
I don't understand. Why do you initially keep pointing to "your favorite" as if it changes anything?
Fantastic explanation and teaching style. TY.
Hangul
Yeah, sometimes it works, sometimes it doesn't.
3:23 - That's ASCII along with an 8-bit extension. Basic ASCII by itself is only 7-bit, ranging from 0-127. 3:54 - That is not the GB 18030 binary representation of the number 六; 0xC1 0xF9 is, which is only two bytes. You're also overcomplicating this. Just say that Unicode defines a set of characters and assigns each one a unique number. UTF-8 and UTF-16 (and others) are simply ways of representing those number in memory. It is furthermore possible to convert between UTF-16 and UTF-8, as both can represent all possible Unicode values. Also mention that UTF-8 was developed to be compatible with basic ASCII, and that UTF-16 was designed to be compatible with UCS-2.
wow, very helpful 👏👏👏👏👏👏👍👍👍👍
i have watched too many videos to understand this and finally nod and understood from your video, thank you so much!
Where were you man all this time 😭 I was doing a data migration which had characters from all languages and I was working on windows, programs run on linux and was facing many issues with encoding and decoding To add to that we were trying to zip and store some of the data, so bytes being compressed, decompressed and being converted back to different languages
Thanks a lot
🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🤑🎂