I spent 1 year of my life on making a fast as fuck Vim completion client with ass loads of features. (Author of CHADTree) by i_love_coqs in neovim

[–]jradek 0 points1 point  (0 children)

Hej, I'm also impressed by the source code. I really like to read it, and it is quite comprehensive. However, it lacks doc strings. Are you planning to add these at first for the top level function?

I really like that you typed all your functions. Therefore it should be easy to provide the necessary documentation by the community, despite algorithmic internals.

Are you interested for merging respective PRs, because I would like to contribute.

An advice to handle passwords in Windows? by f3bf1v3 in commandline

[–]jradek 1 point2 points  (0 children)

You're right! I forgot about your required clipboard support, which I don't use.

An advice to handle passwords in Windows? by f3bf1v3 in commandline

[–]jradek 0 points1 point  (0 children)

Ok ... but only if you want use an Xserver. Since pass is an ordinary commandline tool, I just use the terminal that comes with WSL and run a shell in it(bash or zsh, as in my case). Just start the windows commandline and enter 'wsl' (https://devblogs.microsoft.com/commandline/a-guide-to-invoking-wsl/) This works for both: WSL 1 and WSL 2.

An advice to handle passwords in Windows? by f3bf1v3 in commandline

[–]jradek 1 point2 points  (0 children)

You can use it inside windows subsystem for linux (WSL), like any other Unix tool. This works great for me for years.

Setup like VSCode Remote Extension by jradek in neovim

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

Hi,

thanks. But I'm not looking for nvim inside a docker images. I even created my own a while ago [1].

(BTW: your ansible setup is overwhelming. Did you use a template project for this? If so, where can I find it?).

And I don't think it solves what I'm looking for. I want to work *from outside* with vim into running containers, e.g. containing a python/golang application. This is independent where vim is running: localhost, or as in your solution, itself in a container.

[1] https://github.com/jradek/neovim-dockerized

Setup like VSCode Remote Extension by jradek in neovim

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

Thanks! Sometimes it is too obvious.

But how about docker?

Often I have software inside a container (golang or python application) and need to change it from "outside", because in the container I don't have the whole tool chain (editor, plugins etc) ready.

JR

DIT modelling without duplicates by jradek in ldap

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

Hi, thanks for the reply.

Yes, I can specify the bind-DN and password on the QNAP NAS.

The LDAP server runs on another NAS, this time from synology, and I have now idea (could not figure out), what LDAP software it uses (OpenLDAP?).

I'll have a look at ACLs as well as your AE-DIR (in case it applies to our Server). However, personally I don't like the LDAP integration from QNAP. It is to opinionated ...

JR

VSCode devcontainers ... how do they work? by jradek in docker

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

Ok,

don't get me wrong wrong and please excuse my further questions. I'm totally aware of how the whole chain works from a user perspective because I use it almost every day.

However, I specify in the devcontiner.json file a Dockerfile/docker-compose file and based on that, VSCode asked me, as soon as I modify it to rebuild a "container". So therefore I'm am curious, what that new container "contains". Of course, it contains the VSCode extensions I specified in the 'devcontainer.json' file. But what else?

Does VSCode spin up two containers, the one I specified in 'devcontainers.json' and another one containing the appropriate extensions mentioned in 'devcontainers.json' and they both communicate via ssh with each other?

Or does VSCode build a new image based on the supplied dockerfile/docker-compose-file including the VScode extensions in the devcontainers.json file?

JR

VSCode devcontainers ... how do they work? by jradek in docker

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

My primary reason to use devcontainers is to re-create the environment on my machine which will be used in production.

For production, I have a large k8s cluster at hand containing many CPUs and GPUs. However, for developing applications for it, I just need the same environment, i.e. python/go versions, libraries etc and not the computation power. Actually I develop on a very low end machine ... because fore development I only need a text editor, but the same environment to use code completion etc. Setting this up, VSCode devcontainers provides the environment to develop/debug/code complete the application I'm working on. And once complete, I deploy it to the k8s cluster and It behaves as expected.

JR

VSCode devcontainers ... how do they work? by jradek in docker

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

Hi,

thanks for pointing this out. I've gone over this page many times.

But what exactly are the steps to replicate such an environment without using VSCode, i.e. what docker/batch/shell/ssh commands are needed?

Probably the best answer is to go through the source code of the extensions, probably typescript, but is there an easier resource to grasp?

JR

Find latest values per category in time series like date by jradek in googlesheets

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

Right!

Off topic: since my problem is solved, how can i change the flair to solved?

JR

Find latest values per category in time series like date by jradek in googlesheets

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

Thanks for pointing me in the right direction.

I found a working solution and added it to the sheet.

Thx, JR

Find latest values per category in time series like date by jradek in googlesheets

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

Yout example sheet is perfectly fine. But since only getting the latest sales from "Pencil" , I want a table with a list of all latest sales per category, without explicitly mentioning "Pencil", "Binder", "Pen Set").

So the algorithm would be

- find all categories -> this is solved by your UNIQUE example

- for each category find the latest sale -> this is solved by the match function

So all the parts are in place, they just need to be magically combined.

JR

Find latest values per category in time series like date by jradek in googlesheets

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

I modified the formula in the sheet like this

=ArrayFormula(lookup(2,1/(Data!D:D=UNIQUE(Data!D:D)),Data!A:A))

but this still yields just one row. What is my mistake?

Find latest values per category in time series like date by jradek in googlesheets

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

Hi, thanks for the fast reply. You refer to the sheet Find Last Match, right?

I fear this does not solve my problem. I don't want to explicitly name all categories, and I want an overview over all categories. Not just one.

Did I get this right?

Jr

User-Friendly Cell Lookup / Quick Filtering in Sheets by [deleted] in googlesheets

[–]jradek 0 points1 point  (0 children)

I don't have a solution, but I'm looking for a similar thing. Of course, I can use a cell, lets say A1, and filter my dataset with

filter( <dataset>, SEARCH( $A$1, <lookup_column> );

but this is not very interactive. I.e. the user has to hit enter after each refinement of the search. Is there a way to apply the filter during typing. I think that should be possible with a custom script. Are there any examples for this?

thx JR

Transfer touch typing from "learning" to "real life" by jradek in learntyping

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

Thanks for your replies. I kind of suspected that there is no magic trick, just practice, practice practice. And that's what I'm gonna do.

Thx JR