Is there a way to enable jupyterlab_vim to specific user not to all users?

I'm not sure if this is possible. I would try asking the JupyterLab devs. Is it possible for you to have separate jupyterlab installs?

This may be of interest. https://github.com/jupyterlab/jupyterlab/issues/4064

It's possible by building one jupyterlab application per user with something like:
export JUPYTERLAB_DIR=/home/user1/.local/share/jupyter/lab
jupyter labextension install jupyterlab_vim
jupyter lab

Note that jupyterlab is installed in the JUPYTERLAB_DIR folder. You can check the default value with jupyter lab path.

Interesting! This would be nice to have in the README. @mdeff if you or someone else has confirmed that this works, I'd happily accept a PR.

Would you like something like a "Tips" or FAQ section? As this is not something specific to this extension, I'm not sure it belongs in the README.

I think I like that better. It's nice to keep the readme succint. Perhaps you or someone can add it to the wiki? I made it publicly editable.
https://github.com/jwkvam/jupyterlab_vim/wiki

done :)


cloudflare: @cloudflare/workers-types is stale

What version of Remix are you using?
1.18.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Interact with any Cloudflare platform feature and observe the types are stale.
Expected Behavior
Types are not stale.
Actual Behavior
Remix currently pins to an old version of the https://github.com/cloudflare/workers-types repo - types are now generated from https://github.com/cloudflare/workerd/tree/main/types/defines

The old versions are < 4.0 - e.g. https://github.com/remix-run/remix/blob/main/templates/cloudflare-workers/package.json#L21C1-L22C1 - "@cloudflare/workers-types": "^3.19.0"
New versions are > 4.0 - e.g. 4.20230628.0 per https://www.npmjs.com/package/@cloudflare/workers-types?activeTab=versions

Ask: The next Remix point release should update these types - e.g. pin to ^4.0 to capture all types in the 4.x series.

This would be a breaking change, we'll update the types in v2 (which is done in #5732)


Add parallel reads to GetQualitiesForChallenge

Add parallel reads to GetQualitiesForChallenge
Ignore "Disk read position regressed" warning, it will be always in this case if read file is in parallel
This time it should pass all the tests. It is so strange that it works in Windows but not Unix-type systems previously. I fixed it anyway.

I think you should drop that merge commit and rebase on top of main instead

I will fix all the things based on the most recent branch including the switch of parallel read.

did you benchmark this function before and after this patch?
If there is no or very small improvements, it may not be worth the added complexity

did you benchmark this function before and after this patch?
If there is no or very small improvements, it may not be worth the added complexity

I did it in my setup. I am using NFS so the latency is significantly high. It will short about 4 seconds when the total time for find a proof is 20s. I will do a further benchmark now and update it here to get more accurate timing.


This repo appears to have been abandoned

There hasn't been a push or merge in well over a year.
Critical issues like #85 and #94 have languished.
Please do the decent thing and archive the repo, as an indicator to others that they shouldn't get their hopes up. Several recently updated forks are available.

Hey @pdehlke,
We apologize for the lack of maintenance and we will try to do better henceforth.
Regarding the PRs you've mentioned, the issues have been tackled and the respective releases were published to the marketplace. Furthermore, all the security vulnerabilities are now fixed.


feature: Would this project consider integreting any Multiple cursors plugin?

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
Would this project consider integreting any Multiple cursors plugin like https://github.com/mg979/vim-visual-multi ?
Describe the solution you'd like
A multiple cursors plugin is provided and configured.
The keymaping conflictions are resolved.
Describe alternatives you've considered
NA
Additional context
No response

Not for everyone, but you can of course add it to your own onfig

@folke Coming from Emacs, I rely heavily on multiple cursors to change some strings in the current buffer. I am curious about whether to add vim-visual-multi to my config because I see LazyVim as a 'complete' solution. So, I assume you have a better workflow to change multiple strings at once? In my opinion, nvim-spectre is overkill for a single-buffer small region replacement.

Based on this config https://github.com/folke/dot/blob/1007fc65738ad1f7a3e9c91432430017a6878378/nvim/lua/plugins/tmp.lua#L55C6-L55C23, I believe Folke is using muren.nvim

Hi @folke ,
Not to be rude, but @azzamsa is right. If this is a neovim distro (a lazy one :) ), it should contain a plugin such as vim-visual-multi at least in the extras with its respective keybindings in the which-key plugin.
Kindly consider this,
Thanks,
Regards,

I only have the following
  {
    "mg979/vim-visual-multi",
    event = "LazyFile",
    init = function()
      vim.g.VM_theme = "purplegray"
      vim.g.VM_mouse_mappings = 1
    end,
  },

and it works pretty well. I admit I don't use it that much, so I can't speak to all of its features. I mainly do <C-n> to start selecting the current word and subsequent instances of the same word or I just do <C-Down> for vertical cursors or just <C-Mouse1> to select different not sequential points where I want the cursors to appear.

If this is a neovim distro (a lazy one :) ), it should contain a plugin such as vim-visual-multi at least in the extras with its respective keybindings in the which-key plugin.

I personally, as just a simple user like you, don't agree with this. A Neovim distro only has to give the users sane defaults. Since Neovim itself doesn't support multiple cursors, this is extra effort and maintenance for something that is not officially supported. So, this belongs in the user's personal configuration in my humble opinion.
There's also a Lua alternative https://github.com/jake-stewart/multicursor.nvim, which I've tried briefly but didn't like the fact that it didn't show all the cursors update simultaneously. However, it might have other different features that might fit someone else's personal preferences, so you should try it out yourself and decide which one fits you best.

Hi @dpetka2001 ,
It seems that it was an issue on my end; after correction the plugin works perfectly fine.
I fully understand, however, I think the vim-visual-multi is a popular plugin that is used by thousands of developers worldwide and I personally can't think of coding (or text editing in general for that matter) without the ability to edit multiple lines, words...etc when needed,
I genuinely think this functionality should be part of any text editor or IDE, and it actually is part of most of them. TBH this doesn't really affect me or you that much, since we can always customise our setups to our needs fairly easily; but it's so convenient and great to have such plugins at a press of a button, more so for the casual user,

That's why the personal configuration exists. Not everything can be defaults in a distro. Ans it just takes 4 lines of a plugin spec to install and use it. Don't take me wrong, i also have it installed (though i'm not that accustomed to fully using it), but in the end it's the maintainer's decision and i can understand perfectly if he thinks it would be better for users to install it themselves. He's already made his decision on this topic.

I am using this.
    {
        "smoka7/multicursors.nvim",
        event = "VeryLazy",
        dependencies = {
            "smoka7/hydra.nvim",
        },
        opts = {},
        cmd = { "MCstart", "MCvisual", "MCclear", "MCpattern", "MCvisualPattern", "MCunderCursor" },
        config = function()
            require("multicursors").setup({
                -- Any hint position has the potential to cover the target text.
                -- hint_config = false,
                hint_config = {
                    border = "single",
                    position = "top-left",
                    type = "statusline",
                },
                generate_hints = {
                    normal = true,
                    insert = true,
                    extend = true,
                    config = {
                        -- Enable these line if you use `type = window`
                        -- column_count = 2,
                        -- max_hint_length = 15,
                    },
                },
            })
        end,
    },


Error on fresh angular install

Hi, awesome work. Love the design of theses components.
But i can't add it to my app.

Created a freshly angular 12 project
Use npm i @swimlane/ngx-ui --S

And got :

Am i doing something wrong ?

For now please add --legacy-peer-deps

Thanks @Hypercubed !


Fix typo

It's a typo
export function equals<T>(input: unknown: T): input is T;

->
export function equals<T>(input: unknown | T): input is T;

Learn more about the CONTRIBUTING

I knew it, so I fixed it.


Failing Inquiries

So, we have a higher than expected number of failing inquiries. A look through seems to indicate two things, sorry non-OSS peeps.

It's for trail users
It's mostly a 404

Perhaps somewhere we are generating an incorrect URL for the POST?  Why some and not others?
We should also amend the analytics call for "Inquiry error" to include the URL too - it should exist as NSURLErrorFailingURLErrorKey.

I looked a bit on gravity, and the only potential for getting a 404 is when we couldn't find or create an user to associate

Looking at this graph I believe the error is happening only for authenticated users (when is_trial_user is false)

There are two types of "404" results indicated, one starting around June 25, and the other Sept 10. (see this graph). As far as I can tell, these dates don't coincide with any releases on the iOS end.

From @jorystiefel in Slack:

I’m told there were significant changes on the Gravity side to that artwork inquiries around the time we started seeing those 404s, … just an update.

Comparing your last graph against the commit history of Gravity for that endpoint, it seems to have started around/after this commit. Since then @sweir27 and @joeyAghion have been doing work on it.
So I guess the question is, are we sending incorrect data in certain cases and, if so, what is that incorrect/missing data?

I think we can ignore the June date, as it appears that is when we started tracking these events, so we can just focus on the Sept 10th as the date new 404s started appearing.

As it turns out, our baseline rate of 404s has not changed. What has changed is that we switched to AFNetworking 2.0, which rewords the way 404s are explained from:
Expected status code in (200-299), got 404
to:
Request failed: not found (404)
This caused a new line to sprout up in the Mixpanel graph, but it is not a new problem, per se.
You can see the AFNetworking change here

Again, referencing (this graph), as the new line of 404s emerges, the existing one declines.

Errors will now get submitted to the analytics provider, so hopefully we’ll be able to better diagnose this for the next sprint: https://github.com/artsy/eigen/pull/836

We're post 2.3.0 - this is Mixpanel for all Inquiry Errors on 2.3.0
Alas we only have one to work with, and that error is that the person submitting the form was offline. We don't have enough information yet.

@katarinabatina This is that issue I mentioned at the stand-up.

thanks @alloy

Current known error messages received from gravity:

the blank one is the most often, it represents when we do not receive any data from Artsy.
A better link to analytics: (here)[https://mixpanel.com/report/275154/segmentation/#action:segment,arb_event:'Inquiry error',bool_op:and,chart_analysis_type:rolling,chart_type:line,from_date:-167,ms_checked:(' / Request failed: not found (404)':!t,' / The Internet connection appears to be offline.':!t,' / The data couldn’t be read because it isn’t in the correct format.':!t,' / The network connection was lost.':!t,' / The request timed out.':!t,'Inquirer cannot be an admin. / Request failed: bad request (400)':!t,'Inquiries associated with an anonymous session must have a session id, email and name. / Request failed: bad request (400)':!t,'undefined / Expected status code in (200-299), got 400':!t,'undefined / Expected status code in (200-299), got 404':!t,'undefined / Request failed: not found (404)':!t,'undefined / The Internet connection appears to be offline.':!t,'undefined / The request timed out.':!t),ms_values:!('undefined / Expected status code in (200-299), got 404','undefined / Request failed: not found (404)',' / Request failed: not found (404)',' / The data couldn’t be read because it isn’t in the correct format.','undefined / Expected status code in (200-299), got 400','undefined / The request timed out.','Inquirer cannot be an admin. / Request failed: bad request (400)','undefined / The Internet connection appears to be offline.','Inquiries associated with an anonymous session must have a session id, email and name. / Request failed: bad request (400)',' / The Internet connection appears to be offline.',' / The request timed out.',' / The network connection was lost.'),segfilter:!((property:(name:response,source:properties,type:string),selected_property_type:string,type:string)),segment_type:string,subsegment_property:(name:errors,source:properties,type:string),subsegment_type:string,to_date:0,type:general,unit:day]

So those where we don’t receive any data are either because a network error occurred, the only thing we can do about that is ensure that we show a helpful message to the user, and the others are HTTP error statuses without a message.
E.g. a 404, which seems weird?

Here’s a view with all network errors removed.
@orta I was also wondering if this is from any app version or only certain versions? I couldn’t find where to specify that.

here is one specific to our latest release

Thanks!
So we use this route. Looking at that endpoint, there are 2 explicit locations where a 404 is returned:

Artwork Not Found
User Not Found

However, both of these errors seem to include a message that would indicate what type the error is about, so not sure if us not having a response message means we’re doing something wrong when unpacking the error or if these are not the errors we’re looking for.
Maybe we should look at the Gravity logs for the corresponding calls?

cc @anipetrov

is this an issue we should keep open? @alloy

We’ve recently done an investigation into some inquiry issues, which is resolved. Right now there are no new errors being reported.


Fix unions of DML overlays on reverse inline pointers

We install the source path in the rvar in that case, but we need to
make sure that we install it into each possible DML overlay subquery,
since _lateral_union_join requires this.
Fixes #3681.

Cherry-picked to 1.3


Implement new ABAC rules for DR

[x] Expand existing rules to work for DR: 1,4,5
Use this rules for get DR by id
[x] New rules :

  @rule_6 @read  @diagnostic_report
      Scenario: Doctor can read diagnostic report created in the doctors MSP
        Given Diagnostic report has been created on my MSP
        When I require read access
        Then I can read

The origin_episode of DR is my LE's episode. Should be used diagnostic_report.origin_episode field.
@rule_7 @read  @diagnostic_report
      Scenario: Doctor can read diagnostic report originated by his episode
        Given Diagnostic report has been originated by mine episode
        When I require read access
        Then I can read

Use this rules for get DR by id

I received an error from Cacher
{
    "error": {
        "message": "Access denied - you have no active declaration with the patient",
        "type": "forbidden"
    },
    "meta": {
        "code": 403,
        "request_id": "806e0f81-ac97-470e-988f-6391e9abf642#19507",
        "type": "object",
        "url": "http://api-medical-events.me.svc.cluster.local/api/patients/7d60d862-6df2-4dd9-95b3-7496b189b906/diagnostic_reports/574378b9-50de-49d7-b15d-1cbebcec2999"
    }
}


feat(dossier): add direct dependency for js-dossier

This update also resolves API doc compile errors that were caused by Closure compiler/library version conflicts between opensphere and js-dossier.
BREAKING CHANGE: This project now directly depends on js-dossier to resolve
version issues related to hoisted dependencies. Other projects should remove
their dependency on js-dossier and use the inherited version instead.

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dataset.getData() doesn't work locally on Windows

Await dataset.getData() returns only empty paginationList. The same code works in Apify Actor.

The functions actually work, the problem is elsewhere. I have to add little waiting for it to work. I understand there may be some delay in the file system probably, but this will confuse users.
dataset = await Apify.openDataset(listUrl.replace(/\/|:|\./g,'-'))
await new Promise(resolve=>setTimeout(resolve, 5))
const urlsFromDataset = await dataset.map(item=>item.url)

Fixed - https://github.com/apifytech/apify-js/pull/117 . Releasing as BETA shortly


Collections

Meant to go into a fork, sorry.

No worries @evln, I've done that way too many times myself :grinning: