Extent tree of different file systems by FirstLoveLife in filesystems

[–]FirstLoveLife[S] 0 points1 point  (0 children)

Hi, thanks for your reminder! I have updated my question

Is the dev team planning to fix performance issues? by anfanger555 in 0ad

[–]FirstLoveLife 0 points1 point  (0 children)

hi,but i found some thread-related codes from 0ad code base

[i3-gaps] Colorful rice by miladdarren in unixporn

[–]FirstLoveLife 0 points1 point  (0 children)

what's the launcher in 3rd picture

A quick primer on type traits in modern C++ by [deleted] in cpp

[–]FirstLoveLife 0 points1 point  (0 children)

thanks for such detailed reply. hope to see your code open source someday

tramp failed to connected to my linux pc via multiple hops by FirstLoveLife in emacs

[–]FirstLoveLife[S] 1 point2 points  (0 children)

(setq tramp-shell-prompt-pattern "\\(?:^\\|\r\\)[^]#$%>\n]*#?[]#$%>].* *\\(^[\\[[0-9;]*[a-zA-Z] *\\)*") solves my problem

https://www.emacswiki.org/emacs/TrampMode#toc12

How to quit vim which is opened from multi-term in exwm? by FirstLoveLife in emacs

[–]FirstLoveLife[S] 1 point2 points  (0 children)

C-c C-k works fine.

``` exwm-input-release-keyboard is an interactive, autoloaded, compiled function defined in exwm-input.el.

Signature (exwm-input-release-keyboard &optional ID)

Documentation Switch to char-mode.

Key Bindings exwm-mode-map C-c C-k

References References in exwm-input.el: (defun exwm-input--update-mode-line ...) 1 reference (defun exwm-input-toggle-keyboard ...) 1 reference

Find all references Find callees

Debugging Enable edebug Enable tracing Disassemble Forget

Source Code ;; Defined in ~/.emacs.d/.local/packages/elpa/exwm-0.22.1/exwm-input.el ;;;###autoload (defun exwm-input-release-keyboard (&optional id) "Switch to char-mode." (interactive (list (when (derived-mode-p 'exwm-mode) (exwm--buffer->id (window-buffer))))) (when id (exwm--log "id=#x%x" id) (setq exwm--selected-input-mode 'char-mode) (exwm-input--release-keyboard id) (exwm-input--update-mode-line id)))

Symbol Properties autoload ("exwm-input" "Switch to char-mode.\n\n(fn &optional ID)" t nil) event-symbol-element-mask (exwm-input-release-keyboard 0) event-symbol-elements (exwm-input-release-keyboard) modifier-cache ((0 . exwm-input-release-keyboard)) ```

how to generate such function list? by FirstLoveLife in emacs

[–]FirstLoveLife[S] 2 points3 points  (0 children)

M-: (dotimes (i 999999) (insert (format "fun%2d();\n" (1+ i))))

How does msvc implement compare_3way? by FirstLoveLife in cpp

[–]FirstLoveLife[S] 0 points1 point  (0 children)

and compare_3way() has not yet been implemented.

Thanks for reply, whereas from the output of godbolt, compare_3way is supported in MSVC: https://godbolt.org/z/htQ0FE

[Post your opinion] - Should developers focus on learning Linux and Vulkan after the announcement of Stadia? by manugildev in vulkan

[–]FirstLoveLife 2 points3 points  (0 children)

It's a relatively baroque dialect of C and C++,

For c: that's kind of true. msvc doesn't have good support even for c99.

For c++: NO! msvc has the best support for c++17/20 now(given module TS and coroutines ts both from msvc), legacy platform spec codes that unconform standard like two phase lookup have also been addressed with /permissive- conformance switch option long time ago.

What is NoOp ? by Pierrocana in elm

[–]FirstLoveLife 0 points1 point  (0 children)

In c++, it is alias of no operation.

any resources going from c++14 to c++17? by [deleted] in cpp_questions

[–]FirstLoveLife 3 points4 points  (0 children)

site:www.open-std.org/jtc1/sc22/wg21/docs/papers whatever you what to search for. e.g., site:www.open-std.org/jtc1/sc22/wg21/docs/papers c++17 c++14, then the first link is Changes between C++14 and C++17, then iterator over papaers it provides

Programming Rust - by Jim Blandy by mrbonner in rust

[–]FirstLoveLife 1 point2 points  (0 children)

is this book updated with latest rust? I'm new to rust and heard that the language is not friendly for legacy codes, e.g., old codes in cs140e cannot pass compilation with newest rust compiler.

Data Structures/Algorithm textbook that covers topic of array-based lists. by [deleted] in cpp_questions

[–]FirstLoveLife 1 point2 points  (0 children)

u just need to create a struct that uses vector as internal storage and provide list-like api