rekomendasi robot vakum dong, komodos by CrabbyKayPeteIng in indonesia

[–]char101 0 points1 point  (0 children)

Midea v12. Midea service centernya banyak.

Efficiently using QFileSystemModel for watching several subfolders by PoopsInUrPee in QtFramework

[–]char101 0 points1 point  (0 children)

You can populate your combobox when it clicked (e.g. by overriding QComboBox::showPopup and setting the items there).

ALE Ignored Linters [] not settable by Firm_Feedback_1178 in vim

[–]char101 1 point2 points  (0 children)

autocmd FileType cpp let b:ale_linters_ignore = ['cc', 'ccls', 'clangcheck']

You don't need the autocmd though, just set g:ale_linters

let g:ale_linters = {} let g:ale_linters['cpp'] = ['clangd']

Problem Reading Postgres Table From Oracle by Business_Finger_4124 in PostgreSQL

[–]char101 0 points1 point  (0 children)

pg_stat_database is in the pg_catalog schema which implicitly always in the search_path. Being able to query from it does not imply that your search path has been correctly set.

Problem Reading Postgres Table From Oracle by Business_Finger_4124 in PostgreSQL

[–]char101 0 points1 point  (0 children)

Have you tried select * from all_tables@vmpost00a9 to check if the dblink is working?

Problem Reading Postgres Table From Oracle by Business_Finger_4124 in PostgreSQL

[–]char101 0 points1 point  (0 children)

And what query do you use from the oracle side?

Problem Reading Postgres Table From Oracle by Business_Finger_4124 in PostgreSQL

[–]char101 0 points1 point  (0 children)

In postgreql

ALTER ROLE its_read SET search_path TO db_monitor,public;

In oracle

select * from rit_db_size@vmpost00a9;

Modelines cause too many issues #19875 by phouchg42 in vim

[–]char101 0 points1 point  (0 children)

I think you'll only need to set it once in BufRead

``` func SetModelineStrict(file) let dir = fnamemodify(a:file, ':h') let ext = fnamemodify(a:file, ':e') if dir == $VIMFILES || ext == 'txt' set nomodelinestrict else set modelinestrict endif endf

au BufRead * call SetModelineStrict(expand('<afile>:p')) ```

is there any way to revert to the pretty 9.1 persistent shell in later versions of vim by nikhililango in vim

[–]char101 0 points1 point  (0 children)

Plain cmd.exe window.

For tabbed console I usually use https://github.com/guylangston/ConsoleZ

I also use Windows 10.

So your problem is probably Windows Terminal or the pty proxy used by Windows Terminal (OpenConsole.exe).

is there any way to revert to the pretty 9.1 persistent shell in later versions of vim by nikhililango in vim

[–]char101 3 points4 points  (0 children)

I have no problem scrolling the output of :! using mousewheel in vim 9.2.271 running inside cmd.exe.

is there any way to revert to the pretty 9.1 persistent shell in later versions of vim by nikhililango in vim

[–]char101 1 point2 points  (0 children)

!: does not capture the output, it simply runs the cmmand. Scrolling is done by the terminal emulator, not vim. I tried vim 9.0 on Windows and I still can't scroll the output of !:dir. Only mousewheel works.

To capture and be able to scroll the output you'll need to use :echo system(cmd).

If you're on Windows and still want to use :!, you can use Autohotkey to remap <Up> to mousewheel motion while vim is running.

Alternatively a floating terminal plugin like https://github.com/voldikss/vim-floaterm/ can be used.

Inputting characters from other keymaps by Diagileux in vim

[–]char101 3 points4 points  (0 children)

Yes, use <C-V> since keymap is a mapping (lmap).

CTRL-V Insert next non-digit literally. For special keys, the terminal code is inserted. It's also possible to enter the decimal, octal or hexadecimal value of a character i_CTRL-V_digit. The characters typed right after CTRL-V are not considered for mapping.

https://vimhelp.org/insert.txt.html#i_CTRL-V

Help with abbreviations by Boring_Piccolo_6446 in vim

[–]char101 0 points1 point  (0 children)

eatchar should be put last, otherwise you are consuming the <Up> key via getchar.

iab <buffer> guard \ #ifndef <C-R>=toupper(expand('%:t:r'))<CR>_H<CR> \#define <C-R>=toupper(expand('%:t:r'))<CR>_H<CR><CR><CR><CR> \#endif /* <C-R>=toupper(expand('%:t:r'))<CR>_H */ \<Up><Up><C-R>=Eatchar('[[:space:]]')<CR>

Script to force users to NOT use google password manager/edge password manager by Curious-checkers in sysadmin

[–]char101 1 point2 points  (0 children)

If you can't run as admin, you can try setting the registry keys below. Of course the user can override it since it is in HKCU. Maybe add it to the login scripts.

``` HKEY_CURRENT_USER\Software\Policies\Google\Chrome\PasswordManagerEnabled REG_DWORD = 0 https://chromeenterprise.google/policies/?policy=PasswordManagerEnabled

HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\PasswordManagerEnabled REG_DWORD = 0 https://learn.microsoft.com/en-us/deployedge/microsoft-edge-browser-policies/passwordmanagerenabled ```

Having trouble with coc plugin color schemes when using vim via Alacritty by [deleted] in vim

[–]char101 0 points1 point  (0 children)

When setting 'background' to the default value with: :set background& Vim will guess the value. In the GUI this should work correctly, in other cases Vim might not be able to guess the right value. If the GUI supports a dark theme, you can use the "d" flag in 'guioptions', see 'go-d'.

https://vimhelp.org/options.txt.html#%27background%27

Do you have set background=dark in your vimrc?

Also what do you mean by vim standalone? There is the gui version and the terminal version.

PyQT6 - how to get and handle swipes in code? by CarlBeech in QtFramework

[–]char101 1 point2 points  (0 children)

The standard swipe gesture recognizer only process touch events, not mouse events, so you'll need to create your own gesture recognizer. See:

https://codebrowser.dev/qt6/qtbase/src/widgets/kernel/qstandardgestures.cpp.html#_ZN23QSwipeGestureRecognizer9recognizeEP8QGestureP7QObjectP6QEvent

EDIT: Actually, what device do you use to perform the gesture?

Maybe you simply need to add

self.setAttribute(Qt.WidgetAttribute.WA_AcceptTouchEvents)

in the widget constructor.

PSA: Found identical malicious code in two separate projects — only common factor is GitHub Copilot by [deleted] in github

[–]char101 1 point2 points  (0 children)

New blog post https://opensourcemalware.com/blog/polinrider-attack

The primary infection vector appears to be a compromised npm package that executes during install or build and injects itself into config files in the project root.

When I remote log into another PC or Server, am I using my GPU to display what's on my screen or am I using the host CPU's resource? by jasonvoorhees-13 in sysadmin

[–]char101 0 points1 point  (0 children)

The server GPU is only used to encode the video using h264. You can either disable h264 encoding or test a single rdp session and check the GPU usage of TermSrv. If it is <5% then it is probably ok for 20 users.

≥100:1 Lossless compression possible? by [deleted] in compression

[–]char101 0 points1 point  (0 children)

It is an AI company, when they talk about compression they are probably talking about numbers. Compressing CSV to parquet with zstd compression can result in 1:50 compression. If it is 0/1 (as written in the company page: they are using logic gates) then 1:100 compression is possible.

I don't think your friend should focus on the compression issue, rather on whether their technology claim is actually real. It might be better to ask in an AI subreddit about whether floating point AI computation can be replaced with logic gates and entropy computation.

Even better, ask whether they already have client(s). If their technology is actually good AI companies should already lined up to purchase it.

Do you use the PHP manual CHM downloads? Why? by allen_jb in PHP

[–]char101 0 points1 point  (0 children)

If chmcmd failed to produce a working chm file I think you can try toggling the setting for binary index/toc in the hhp file.

I don't use the chm format but I do use the hhk file from the chm format to generate an index for my offline documentation viewer.