Trying to get it to work...

Well, I'm trying to use MoltenGamepad to control my mouse pointer with my wiimote. I'm doing that cause I don't use keyboard and mouse to play some games cause my hands get pain over time.
Well, it compiles fine, it runs like shown below:
loading /etc/xdg/moltengamepad/moltengamepad.cfg
driver: wiimote driver initialized.
hotplug: device wm1 added.
wiimote: wm1: added core
wiimote: wm1: added accelerometers
wiimote: wm1: added IR
wiimote: wm1: added motion+
slot: wm1 assigned to slot virtpad1

But it just doesn't work at all. No keyboard buttons are mapped, and my profile file looks ok, I have tryied to setup it for hours, but there is something wrong here. Can you anyone help me with that?... I want to do a tutorial on how to setup it after get it working.
(yeah, I have read all the documentation, but there is no step by step simple and direct page that could help me)
(there is no forum, so here is the only place I found to get help, sorry for that)

Hello. Yes, documentation is an issue for this project. I am glad to help get this working.
In this case, I believe the issue is that wm1 is being assigned to the output slot virtpad1, which is a virtual gamepad. It doesn't support keyboard and mouse events. Instead, wm1 must be placed on the keyboard slot.
Would you mind sharing just one of the mappings from your profile?
Does it look like
wiimote.wm_a = key_a

or
wiimote.wm_a = key(key_a)

?
I am guessing it looks like the former. If it is the latter, then this is a bug, as the latter should be working. (The second way uses a special event translator that forces it to be sent to the virtual keyboard).
You can do this manually, via entering move wm1 to keyboard on MG's standard input.
There are also ways to get the wiimote to end up on the keyboard slot automatically. They include:

Running MG with zero virtual gamepads via the -n 0 command line flag.
Changing the number of active pads to zero set slots active_pads = 0
Using the hard-assign feature, assign slot keyboard to name wm1

That's how my profile looks like:
[wiimote]
wiimote.wm_a = key(key_a)
wiimote.wm_b = key(key_b)
wiimote.wm_1 = key(key_1)
wiimote.wm_2 = key(key_2)
wiimote.wm_up = key(key_up)
wiimote.wm_down = key(key_down)
wiimote.wm_left = key(key_left)
wiimote.wm_right = key(key_right)
wiimote.wm_plus = key(key_4)
wiimote.wm_minus = key(key_3)
wiimote.wm_ir_x mouse(rel_x)
wiimote.wm_ir_y mouse(rel_y)
it's saved as /home/me/.config/moltengamepad/profiles/mywiimote
my configuration file looks like this:
load profiles from /home/gustavo/.config/moltengampad/profiles/mywiimote
and it's saved as /etc/xdg/moltengamepad/moltengamepad.cfg
I'm executing moltengamepad as root, because when I try as a normal user I get this output:
"open subdevice:: Permission denied"
I'm really interested in use it to control my mouse pointer. Cwiid works fine for that, but when trying to play fps like games it's impossible cause it's not getting relative inputs, but absolute ones. So, moltengamepad would solve my issue.
Any clue?

That looks right, other than some missing = signs on the last two.
As for the opening subdevice, it sounds like your normal user wasn't give the right permissions for wiimote devices, but that is a separate issue.
Weird, that does sound like something is wrong. Things are still working on this end. Can you run evtest and verify that there is a virtual keyboard created? And do you see any events generated on that device while running MG?
As for that last bit, MG does support outputting relative events, but that won't magically make FPS games  handle like Metroid Prime or whatnot, so you mileage may vary.

Oh, and can you do print profiles wiimote into MG? I see output above that says your moltengamepad.cfg is being read, but I would expect to see a line about loading the profile file as well. It's possible the profile isn't being loaded.

When running evtest, that's what I get:
sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:	HID 0b38:0010
/dev/input/event1:	HID 0b38:0010
/dev/input/event2:	USB Optical Mouse
/dev/input/event3:	Sony Navigation Controller
/dev/input/event4:	Power Button
/dev/input/event5:	Power Button
/dev/input/event6:	PC Speaker
/dev/input/event7:	HDA Intel PCH Rear Mic
/dev/input/event8:	HDA Intel PCH Front Mic
/dev/input/event9:	HDA Intel PCH Line
/dev/input/event10:	HDA Intel PCH Line Out Front
/dev/input/event11:	HDA Intel PCH Line Out Surround
/dev/input/event12:	HDA Intel PCH Line Out CLFE
/dev/input/event13:	HDA Intel PCH Line Out Side
/dev/input/event14:	HDA NVidia HDMI/DP,pcm=3
/dev/input/event15:	HDA NVidia HDMI/DP,pcm=7
/dev/input/event16:	HDA NVidia HDMI/DP,pcm=8
/dev/input/event17:	HDA NVidia HDMI/DP,pcm=9
/dev/input/event18:	UVC Camera (046d:0825)
/dev/input/event19:	Nintendo Wii Remote Accelerometer
/dev/input/event20:	Nintendo Wii Remote IR
/dev/input/event21:	Nintendo Wii Remote
/dev/input/event22:	Nintendo Wii Remote Motion Plus
/dev/input/event23:	Virtual Keyboard (MoltenGamepad)
/dev/input/event24:	Virtual Mouse (MoltenGamepad)
/dev/input/event25:	Virtual Gamepad (MoltenGamepad)
/dev/input/event26:	Virtual Gamepad (MoltenGamepad)
/dev/input/event27:	Virtual Gamepad (MoltenGamepad)
/dev/input/event28:	Virtual Gamepad (MoltenGamepad)
Select the device event number [0-28]:
## when running print profiles wiimote that's my output:
loading /etc/xdg/moltengamepad/moltengamepad.cfg
driver: wiimote driver initialized.
hotplug: device wm1 added.
wiimote: wm1: added core
wiimote: wm1: added accelerometers
wiimote: wm1: added IR
wiimote: wm1: added motion+
slot: wm1 assigned to slot virtpad1
print profiles wiimote
wiimote.cc_right_x = +right_x
wiimote.cc_y = fourth
wiimote.cc_minus = select
wiimote.cc_x = third
wiimote.cc_plus = start
wiimote.cc_up = up
wiimote.cc_down = down
wiimote.cc_home = mode
wiimote.cc_b = secondary
wiimote.cc_left_x = +left_x
wiimote.cc_zr = tr2
wiimote.cc_thumbl = thumbl
wiimote.cc_left = left
wiimote.cc_left_y = +left_y
wiimote.bal_x = nothing
wiimote.nk_stick_y = +left_y
wiimote.nk_accel_y = nothing
wiimote.nk_accel_x = nothing
wiimote.nk_ir_y = nothing
wiimote.nk_wm_accel_z = nothing
wiimote.nk_wm_accel_y = nothing
wiimote.nk_wm_accel_x = nothing
wiimote.wm_ir_y = nothing
wiimote.wm_accel_z = nothing
wiimote.nk_left = left
wiimote.nk_a = primary
wiimote.nk_b = secondary
wiimote.wm_down = right
wiimote.nk_minus = select
wiimote.wm_plus = start
wiimote.wm_2 = primary
wiimote.wm_a = third
wiimote.nk_1 = tl
wiimote.nk_home = mode
wiimote.wm_home = mode
wiimote.nk_accel_z = nothing
wiimote.nk_up = up
wiimote.wm_1 = secondary
wiimote.wm_left = down
wiimote.cc_right_y = +right_y
wiimote.bal_y = nothing
wiimote.nk_right = right
wiimote.nk_2 = tr
wiimote.wm_up = left
wiimote.nk_ir_x = nothing
wiimote.wm_right = up
wiimote.wm_accel_y = nothing
wiimote.nk_c = third
wiimote.nk_z = fourth
wiimote.cc_right = right
wiimote.cc_r = tr
wiimote.wm_b = fourth
wiimote.cc_l = tl
wiimote.nk_stick_x = +left_x
wiimote.cc_zl = tl2
wiimote.wm_minus = select
wiimote.cc_a = primary
wiimote.cc_thumbr = thumbr
wiimote.nk_down = down
wiimote.wm_ir_x = nothing
wiimote.nk_plus = start
wiimote.wm_accel_x = nothing
wiimote.?grab_permissions = false
Grab device via blocking all read permissions
wiimote.?grab_exclusive = true
Grab device events via ioctl EVIOCGRAB
wiimote.?nk_ir_active = false
Enable IR data when nunchuk is present
wiimote.?nk_accel_active = false
Enable accelerometers when nunchuk is present
wiimote.?wm_accel_active = false
Enable accelerometers when no extension is present
wiimote.?wm_ir_active = false
Enable IR data when no extension is present
Well, you are right, there is anything saying my profile is being loaded. So, maybe that's is the issue here, but what did I wrong?

Thanks for following up on all this. Sounds like there is a bug in the cfg loading. I will try to drill down on that this weekend.
As for the mouse stuff, please make sure you got
wiimote.?wm_ir_active = true

somewhere in your profile, since the IR sensor is left off by default.

That's my profile after putting your suggestion:
[wiimote]
wiimote.?wm_ir_active = true
wiimote.?wm_accel_active = true
wiimote.wm_a = key(key_a)
wiimote.wm_b = key(key_b)
wiimote.wm_1 = key(key_1)
wiimote.wm_2 = key(key_2)
wiimote.wm_up = key(key_up)
wiimote.wm_down = key(key_down)
wiimote.wm_left = key(key_left)
wiimote.wm_right = key(key_right)
wiimote.wm_plus = key(key_4)
wiimote.wm_minus = key(key_3)
wiimote.wm_ir_x = mouse(rel_x)
wiimote.wm_ir_y = mouse(rel_y)

It makes my wii remote act as a mouse pointer, but there is a issue: no matter where I point it, it keeps the mouse pointer going to down and to the left... when looking at the MG's output, I can see that the relative input is like this:
mouse(+rel_y)
mouse(+rel_x)

So, maybe that's something wrong here....

The + just means non-inverted, and is the default. (similar to how positive numbers tend not to have a + in front of them, but still mean the same). That's not a problem, and your profile seems fine.
This constant drift is exactly what relative input promises to happen, assuming "down and to the left" is the last thing we get from the IR sensor. This IR processing is very basic, and when tracking is lost, MG just sticks with the last known value. (if you point just a little too far, such that the IR isn't seen anymore, it doesn't really make sense to zero-out the cursor)
So I'd need to know more about the IR values being seen to tell what is going on here, and that is likely too much info to be conveyed here.
Since you were using cwiid previously, I'll assume MG is at fault here and that you have your IR sources set well enough. I will try to look for any major bugs in the IR stuff this weekend as well.

Please, take a look at this: https://www.youtube.com/watch?v=a1RyykpBO98&t=71s

Sorry for the late reply, things have been busy. It is still technically the weekend where I am sitting, though.
About auto-loading profiles: I duplicated the set up, and things worked fine over here. I was worried it was something going wrong in the parsing, such as expecting quotes or a newline, but neither were an issue.
However, I have since noticed you had moltengampad instead of moltengamepad in the path specified in your cfg. Perhaps that was the issue?
About IR functionality: it was bugged! MG wasn't centering the IR data, instead it was reporting it directly. This meant any value seen was reported as positive, hence the constant movement to the corner.
It still isn't very natural to move the mouse in this relative IR mode, but with the fix it is at least working as expected. It is very, very basic event processing.
I think this is worthy of a hotfix on the master branch, so I'll get to work on pushing that out.
About Ryochan7's code: I expect this handles pretty well, judging from the uploaded videos and the fact that Ryochan7 was the main author of Antimicro.
I am hesitant to borrow too heavily from the gist, given the unclear licensing situation. It appears they pierced through some layers of abstraction to get it working, but I think the interfaces can be extended a bit cleaner and get similar results. I don't fully understand all the logic, but I think one can learn a lot about how to make nice movements from wiimote data from there.

About the "moltengampad", it was actually a typo when editing my post, my path is correct.
About the Ryochan7's code, I don't think he would mind about using it here, since He sent that link to me after I ask him on youtube.
I'm really hoping your fixes will help me, and I'm glad to know that, in some way, I'm contributing reporting bugs. This project is awesome and I want to help it to make it alive.
I can't wait to test your new fixes. :P

Hmm. Then I am currently at a loss as to why the .cfg is being loaded, but the profile specified inside is not. Perhaps the new messages I added about profile loading can help see what is going on? I do want to get to the bottom of this issue, but I can't reproduce it over here.
The master branch now has the hotfix with the IR processing, give it a whirl. It just uses the left-most visible IR dot, so it can act a bit weird if using a sensor bar (with multiple IR dots) when the currently left-most dot goes out of view.
I am glad to hear that others are interested in this project. That's some good motivation to try to find time to work on this again. Your bug reports here are quite valued on my end.

Well, about the my profile loading issue, It was really my fault, I'm sorry about that, I was using a lot config files, and it was typo in one of them.
About your fixes, it really worked!, of course it's not fluid as good as a mouse, but it's indeed a great progress to use the relative input to play games which require it. I have tried to play CS using it, and worked.
I think with some tweaking on the code based on Ryochan's patch, would be really playable and get closer to a mouse.
I have some experience in C, but not with low level programming, so, unfortunately, I can help being a tester here.
Enjoy your weekend, I'm happy that you want to keep this project alive.

Well, about the my profile loading issue, It was really my fault, I'm sorry about that, I was using a lot config files, and it was typo in one of them.
About your fixes, it really worked!, of course it's not fluid as good as a mouse, but it's indeed a great progress to use the relative input to play games which require it. I have tried to play CS using it, and worked.
I think with some tweaking on the code based on Ryochan's patch, would be really playable and get closer to a mouse.
I have some experience in C, but not with low level programming, so, unfortunately, I can help being a tester here.
Enjoy your weekend, I'm happy that you want to keep this project alive.

Well, about the my profile loading issue, It was really my fault, I'm sorry about that, I was using a lot config files, and it was typo in one of them.
About your fixes, it really worked!, of course it's not fluid as good as a mouse, but it's indeed a great progress to use the relative input to play games which require it. I have tried to play CS using it, and worked.
I think with some tweaking on the code based on Ryochan's patch, would be really playable and get closer to a mouse.
I have some experience in C, but not with low level programming, so, unfortunately, I can help being a tester here.
Enjoy your weekend, I'm happy that you want to keep this project alive.

The changes that were made were based around commit 797d4efd721e0fd599d9086d4c0efc6277da9755 and I still have not gotten around to converting the code over to the current HEAD. I cleaned up the code and Git history from my local copy and made an archive of the source.
https://drive.google.com/file/d/0B6yGHDx0CFzDaWZyal9pUGxkVFU/view?usp=sharing

Thanks!
I think I understand what you did a bit better now that I have tried it out. What is cursorHold doing in that code? I wasn't able to notice anything when pushing A or B.
I'll try writing a group translator that'll read the accels, gyros, and a ratchet button and see if I can emulate the behavior you wrote.
The only part I'm hesistant about is the calibration period, as it isn't guaranteed that the user will set down the controller at first, especially if it is freshly connected.
I wonder if there is a reasonable threshold where we could just keep sampling during the calibration period until things settle down.

When A or B is usually pressed, the Wiimote will be moved unintentionally which would normally cause the mouse cursor to move. holdCursor is being used to not take a certain amount of input into account in order to minimize any unintentional movement of the Wiimote from pressing A or B. The technique is similar to Mouse Dampening for the Steam Controller. Right now, only the first input is being zeroed out.
As for the calibration part, that is a big problem. Since calibration is being done at startup, it is assumed that the Wiimote will be set down or it will not work properly. Also, it takes some time for the gyro to warm up and stabilize so the input values will jitter more at startup. Calibration will have to be done after using the Wiimote for a period of time or you will have to fight with cursor drift. I have not thought of a way to combat this while using the Wiimote so I just end up restarting MoltenGamepad to re-calibrate the gyro.

Updated routine to version 0.3.4. I could have sworn that I performed a pull in the past couple of days. Smoothing factors have also been increased.
https://drive.google.com/file/d/0B6yGHDx0CFzDcEZrdGVwMmtkTU0/view?usp=sharing
Gist: https://gist.github.com/Ryochan7/a288dcfe70445cb722207a1739541540


Add FAQ item about changing tlmgr's sys_bin option

cf. https://github.com/yihui/tinytex/issues/365

Thanks! I'm not sure if this question will be frequently asked, so I'm simply pointing users to the issue yihui/tinytex#365 instead (as mentioned in #172). I hope that works, too.

Sure, thanks!


Update Pod Security Policies for dockershim

Ref: https://github.com/kubernetes/website/issues/30777
Update specifically:

the bullet point on DefaultAddCapabilities here: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#capabilities
https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp the section on docker/default here

/sig security
/triage accepted
/milestone 1.24

/sig auth

/assign

@chris-short I would like to submit a PR for resolving this particular issue. May I assign it to me?

Update specifically:

the bullet point on DefaultAddCapabilities here: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#capabilities
https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp the section on docker/default here

I see Docker written here:

What should I write instead?
Thanks!

/assign mehabhalodiya

We have figure out where else DefaultAddCapabilities are documented. Then we'll need to talk to a few SIGs to about how to handle that. I think sig-auth was one of them.

/assign mehabhalodiya

/assign


Add Typesense vector store

This PR adds support for Typesense, an open source search engine with vector search.
I've followed the Pinecone implementation closely and tested all the API endpoints locally.
Resolves #34.

@isafulf Could I get your help in reviewing this PR? If this looks good, I can then resolve the conflicts.

What's the status of this?


[Proposal] wrap SwifterSwift extensions in a namespace?

Now all extension method are exposed directly under extended type. e.g, UIView.cornerRadius. It is convenient in most time, but increased the possibility of name conflict.
I just met the case
class MyButton: UIButton {
    var cornerRadius: CGFloat
}

Above code conflicts with
UIView.cornerRadius // property defined in swifterswift UIViewExtensions

Maybe introduce a separate namespace like swifter, then
view.swifter.cornerRadius // the one defined in swifterswift

Duplicate of #645

@omaralbeik the original issue is closed and seems no further plan.
Subspec is not working in my case, I use UIKit subspec in the project.  So I renamed the property in my own code to avoid the conflict.

But don't you see the catch? More extension we have, more chance we conflict with user's own code or other library. Which will leads the project to some sorrow situation. :P

Yes, we are aware. As you can see in #645 we had quite a long discussion about it, a bit offline as well. There are pros and cons to both solutions, and in the end we decided not to implement this change.
For now, in order to deal with conflict, either you'll have to change your project's code, or, if you have a clash from 2 separate libraries, you can use the solution recommended in #645: https://nshipster.com/import/


ERROR: Process exited with code 25

I get this error when i would install the adapter over the "cat" of iobroker:
$ iobroker url https://github.com/Apollon77/daikin-controller-cloud --host iobroker
install Apollon77/daikin-controller-cloud#0f1b4ce9ecdb06d97a7b3fb2711b32bec3562af4
NPM version: 6.14.16
npm install Apollon77/daikin-controller-cloud#0f1b4ce9ecdb06d97a7b3fb2711b32bec3562af4 --loglevel error --prefix "/opt/iobroker" (System call)
host.iobroker Cannot install Apollon77/daikin-controller-cloud#0f1b4ce9ecdb06d97a7b3fb2711b32bec3562af4: 0
ERROR: Process exited with code 25
Versions:

Adapter version: v0.2.1
JS-Controller version: 3.3.22
Node version: v12.22.10
Operating system: Ubuntu 20.04.3 LTS

Hm ... WHo said that this is an iobroker adapter? N, it is just a library ... so yes it can not be installed ... I did not had time so far to make an adapter out of it, so you need to weait for that


PSI Library: Implement Histogram (Statistic) (Rust)

Protobuff Definition

[ ] Write definition
[ ] Write comments/docs

Rust Runtime

[x] Write runtime
[ ] Implement tests
[ ] Write comments/docs

Rust Validator

[ ] Write validator
[ ] Implement tests
[ ] Write comments/docs

Python bindings

[ ] Create bindings
[ ] Implement tests
[ ] Write docs

R bindings

[ ] Create bindings
[ ] Implement tests
[ ] Write docs

See commit a06a67ab1db056356b7b5d5fa9f67b8e564f3829 for first attempt at the histogram runtime

We are probably not going to use the histogram code I wrote, as we might end up building the histogram out of existing components? Either way, we will probably need to generalize the FieldEvaluation to accept hashmaps.

Currently the returned value is a dictionary of bin names and counts.

some debugging needed on bin
need validator traits to fully test


Fixed broken condition in the check_worker_is_up function and bump to 0.7.2

What kind of change does this PR introduce?
Bug fix:
A commit for worker.c altered its "is active" response message from "pg_net worker" to "pg_net " VERSION " worker".
However, the net.check_worker_is_up() function in pg_net.sql hasn't been revised to accommodate this change. Consequently, it inaccurately concludes that the worker is always inactive. I've adjusted its test condition to align with the updated format.
What is the current behavior?
Even when the worker is active, net.check_worker_is_up() returns:

"ERROR: the pg_net background worker is not up"

What is the new behavior?
By updating the comparison in net.check_worker_is_up() to support versioning, the function is able to properly detect when the worker is active.
Old Comparison:
... where backend_type = 'pg_net worker')
New Comparison:
... where backend_type ~ 'pg_net \d+(\.\d+){0,2} worker')
Additional context
This pull request was informed by an error discussed in issue 98. The issuer utilized the net.check_worker_is_up function for debugging purposes. They observed that the function produced inaccurate outcomes:

The query SELECT net.check_worker_is_up() generated an error: "ERROR: the pg_net background worker is not up"

Manually querying SELECT * from pg_stat_activity displayed a running worker, but the reported backend_type was "pg_net 0.7.1 worker," whereas the function expected "pg_net worker."

@TheOtherBrian1 Sorry for the late reply. The change looks good, but I'd like to bring back the test suite first. I'll do a PR and then we can rebase here.

Btw this needs a version update and a migration script, since the function definition changed. Example PR: https://github.com/supabase/pg_net/pull/83/files
I've also seen another PR that's missing a version upgrade: https://github.com/supabase/pg_net/pull/93

@TheOtherBrian1 Rebasing should make the tests green now. Just merged https://github.com/supabase/pg_net/pull/102

@steve-chavez There might be something wrong with the GitHub action variables. The tests gave the following error:

ERROR:  extension "pg_net" has no installation script nor update path for version "0.7.2"

There might be something wrong with the GitHub action variables. The tests gave the following error:
ERROR: extension "pg_net" has no installation script nor update path for version "0.7.2"

@TheOtherBrian1 Are you able to reproduce the above locally?

Thanks for your work here @TheOtherBrian1.
I've merged https://github.com/supabase/pg_net/pull/105, which should supersede this PR.
We'll also make a new release on https://github.com/supabase/pg_net/pull/109.


Feature Request: searchFollowers() and searchFollowings()

It would be very useful to have two new functions for search searchFollowers() and searchFollowings() that would live adjacent to getFollowers() and getFollowings().
This is possible somewhere in the API as demonstrated by the official IG mobile apps (not the web app) where you can search the followers of another user while not signed in as either of those users. The same can be done for searching followings, as well we mutual friendships for the current signed in user.

See also https://mashable.com/2016/03/28/instagram-search-followers-following/

This package relies on the instagram's web api (as said in his name). The mobile application probably relies on something else. If the official website doesn't use this feature, it still might be in development or simply not implemented.
However, I think you can bypass that limitation by easily fetching followers with getFollowers() and followings with getFollowings() then searching in it.
If you want mutual friends, you can just check elements of his follower/following array and compare to yours.

This package relies on the instagram's web api (as said in his name). The mobile application probably relies on something else. If the official website doesn't use this feature, it still might be in development or simply not implemented.
However, I think you can bypass that limitation by easily fetching followers with getFollowers() and followings with getFollowings() then searching in it.
If you want mutual friends, you can just check elements of his follower/following array and compare to yours.


Mechanism for exposing expanded foreign keys in JSON

https://datasette-cluster-map-demo.datasettes.com/sf-trees-02c8ef1/Street_Tree_List?qCareAssistant=1

It would be nice if the info bubbles there could expose more than just the IDs, and if the title showed the expanded name of the selected qCareAssistant.

I considered including a "table" key like this:
    "qLegalStatus": {
        "value" 2,
        "label": "Private",
        "table": "qLegalStatus"
    }

This would help generate the HTML links using just the JSON data. But... I realized that in a list of 50 rows that value would be duplicated 50 times which is a bit nasty.

Nearly done, but I need the HTML view to ignore the ?_labels=1 param (it throws an error at the moment).

Demo: https://datasette-json-labels-demo.now.sh/fixtures-fda0fea/facetable.json?_labels=1&_shape=array

I'm also going to add the ability to specify individual columns that you want to expand using ?_label=city_id&_label=state_id

The .json and .csv links displayed on the table page should default to using ?_labels=1 if Datasette detects that there are foreign key expansions available for the page.

I'm going to support ?_labels= on HTML views, but I'll allow it to be used to turn them off (they are on by default) using ?_labels=off. See 7e0caa1e62607c6579101cc0e62bec8899013715 where I added a new value_as_boolean helper extracted from how --config works in cli.py.

For the moment I'm going with _labels=.


Add support for remote development

Summary
Add support for remote development
Use cases
Well support for everyone who codes in a remote environment like

docker
wsl
ssh
github codespaces
vscode server
...

Proposed solution
The extension need to be loaded on the remote development container and at the client.
The remove container sends throw the client the request to the op cli
for vscode instances running on the browser at the client some other solution may be required.
A solution may be to use the browser extensions instead
Is there a workaround to accomplish this today?
Sadly i don't know a workaround
References & Prior Work
¯\_(ツ)_/¯

Hey @PhoenixmitX! Thanks for the request. This is indeed an interesting feature request. It's a little tricky because the extension relies on the CLI, which (in our case) relies on 1Password Desktop itself to perform biometric authentication. In the future we may support Connect server or Service Accounts which may solve this as well.

I would love this feature! Currently testing different Password managers and this would definitely be sensational.

I would also love to see this feature! Thanks for your hard work, @jodyheavener!

+1 for this feature. Thank you

I'd like to add that service accounts aren't ideal bc you now have long lived credentials on developer machines. Ideally a developer can connect to 1Password from inside a container but auth via the desktop app on the host.

It's a little tricky because the extension relies on the CLI, which (in our case) relies on 1Password Desktop itself to perform biometric authentication. In the future we may support Connect server or Service Accounts which may solve this as well.

It would be really nice to have access/proxy through the 1Password-BrowserSupport.sock into the remote container to allow running op without any workarounds but linked to the host's biometrics.
On Linux I can easily add a mount to pull it in, but that does not work for my colleagues on other operating systems.

It would be really nice to have access/proxy through the 1Password-BrowserSupport.sock into the remote container to allow running op without any workarounds but linked to the host's biometrics.

On Linux I can easily add a mount to pull it in, but that does not work for my colleagues on other operating systems.

@DavidS-ovm That's interesting. We have a similar worklfow where we often work on a remote docker container. I was wondering how you acchieved this access/proxy. Did you use a reverse ssh tunnel?

It would be really nice to have access/proxy through the 1Password-BrowserSupport.sock into the remote container to allow running op without any workarounds but linked to the host's biometrics.

On Linux I can easily add a mount to pull it in, but that does not work for my colleagues on other operating systems.

@DavidS-ovm That's interesting. We have a similar worklfow where we often work on a remote docker container. I was wondering how you acchieved this access/proxy. Did you use a reverse ssh tunnel?

No, I'm now using a service account token inside the container that I inject through op run code at startup time, which is protected by the actual user's identity. It's not great, but it works for now.

It would be great to have requests provided through ex vscode tunnels.
Currently running windows machines, so my options are ultimately limited.

It partially works if you force to run extension on host ("ui"):
{
	"customizations": {
		"vscode": {
			"settings": {
				"remote.extensionKind": {
					"1Password.op-vscode": [
					  "ui"
					]
				  }
			},
			"extensions": [
				"1Password.op-vscode"
			]
		}
	}
}

Make sure that op is working in Terminal: Create New Integrated Terminal (Local), you may have to restart VS Code if op was recently installed and PATH was updated.
Sad part is that 1Password: Preview with secrets does not work for current version of CLU (I'm on 2.29.0)
Error executing CLI command: Inject is not supported on Windows for version >=2.6.2 of the CLI.

Maybe it will work if op is downgraded but I'm not going to go that route. Other solution is to have a launched for VS code which will inject env var and then you can access them in VS Code (and in devcontainer.json) to configure Terraform and such, but it's sketchy.

Create .env file:
TF_VAR_github_token = op://VAULT_NAME/GITHUB_TOKEN/FINE_GRAINED

Create launcher of your choice, for example with PowerShell:
# Define the path to your .env file
$envFilePath = "./.env"

# Define the command to execute
$command = "op run --env-file='$envFilePath' -- code ."

# Execute the command
Invoke-Expression $command

Update devcontainer.json to proxy TF_VAR_github_token to container:
{
  "remoteEnv": {
    "TF_VAR_github_token": "${localEnv:TF_VAR_github_token}"
  }
}

Run PowerShell as Administrator and execute this:
Set-ExecutionPolicy RemoteSigned

Start VS Code:
.\op.ps1

Wipe tears of joy:
printenv TF_VAR_github_token
github_pat_...


EntityRef("#182")

transformEntityRef needs to be update to handle this syntax, expected behavior is: https://alvinalexander.com/scala/scala-xml-entityref-example-unicode-character

<div>¶</div> should work, nothing special to be done on the library side of scala.xml


Feature/nonroot docker user and port 8080

+1

Coverage remained the same at 92.313% when pulling 7b6fa070d051053834a4e8dc566999164533b31c on feature/nonroot-docker-user-and-port-8080 into 7f32228c029463e01016ace27f7e5454f6c443ca on master.


Handle errors returned from FFI calls

Currently we assume on all platforms that most calls succeed. For example, on_update_routes.
We should respond with error cases for calls that can fail and react accordingly, even if it's just ignoring the error.

[ ] Android: buildVpnService can return null fd if not successful
[ ] on_update_routes, on_set_interface_config, etc

Our FFI no longer has errors.


Fix JSON Schemas

Related Issue(s): None
Proposed Changes:

Fix several issues found in JSON Schemas

PR Checklist:

[x] This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
[x] This PR has no breaking changes.
[ ] I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.
[ ] This PR affects the STAC API spec, and I have opened issue/PR #XXX to track the change.

Seems like we'll need a beta.2 soon, so people can use schemas that work?

Now that I have validation working I'm going to check all examples and schemas, that will take some time.

Yeah, we feel a bit cursed lately. I'd say we should be checking everything before, but I think the point of the beta1 release is actually to really start on that. But we should build up more checks / infrastructure. Validate every example, and indeed I think we should shift to making sure the validator and core libraries are updated during the 'release candidate' process, even if that means longer release candidates.
Thanks for catching it early and working on it @m-mohr

Well, tooling and some more reviewers are missing to check beforehand, I think. Most tooling unfortunately isn't (logically, it's Open Source) always keeping up with the pace. I should be getting better with the 1.0.0 releases. I guess I could release my validator and easily put it in CI for now. It already checks all examples + extension schemas... I'll issue another PR with examples fixes.

I'd say we give beta1 a little time, see if there are any other issues that arise with schemas or examples, and add a bunch of examples.


Feature/Refactor getDeployTransaction

Description:
The method should be refactored such that it returns an array of TransactionRequests:

first element returned should be the FileCreate TX
n number of File Appends
last element should be the ContractCreate TX

Related issue(s):
Fixes #

https://github.com/hashgraph/hethers.js/issues/81
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

You shoud also pull the latest develop state in your branch.


Can't use pyppeteer together with requests-html

I'm trying to take a screenshot of a page and extract some metadata at the same time. Importing requests-html hangs the app, but both pyppeteer and requests-html work fine separately.
Would it be possible to expose the pyppeteer Browser instance so one could use it together with requests-html without trying a second import? That would allow also calling other methods, like setViewport() and screenshot() on Page.

the brower or the page?

in master, you can now access the r.html.page attribute after running r.html.render().

Wow, this was fast. Thank You!
Also, found out that the problem I had with imports was propably due to some circular import and not the library itself, but in any case, this change solves my use case perfectly. Thank You again for your hard work on these awesome tools. 👍


Update release instructions for PMC

@dszeto @chanlee514 I modified the release instructions slightly. Can you take a look?
Aside from this, I'm thinking about whether we should improve and automate the release process or not.

LGTM. Regarding automation, I think we can create scripts for some steps inside the doc.

@shimamoto If you don't mind, please add the missing step that makes a release on JIRA (https://issues.apache.org/jira/projects/PIO?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page&status=no-filter).

@dszeto Sure! You mean you want me to add the step that creates a next version after a release?

That would be great too. What I meant was we need to mark the version as released on JIRA. If you don’t see the option in JIRA please let me know.

I fixed it!

LGTM. Merging. Thank you!


D3D11: currently doesn't recognize display resize (see Paclone demo)

repro: maximize window in Paclone demo in D3D11, content should keep aspect ratio and be centered instead of stretched.

Basic window resizing support for D3D11 is implemented and works for most samples, but Paclone renders black screen after resize. Need to investigate later..

...and: minimizing the window currently crashes because width/height is 0!

...BlendTest also doesn't look right after resizing (tested on Windows7)


In 0.4.0, dbt test succeeds but dbt build fails

Noticed this in our production build when we tried updating to 0.4.0. We had some fairly simple tests that did a couple of mocks and an expect, and we noticed in CI that while dbt test worked, dbt build would fail. So I've tried to replicate the issue by wrangling/simplifying the typical jaffle_shop example.
The files look like:
# models/seed_orders.sql

select
    1 as order_id
    , 1 as customer_id
    , '2000-01-01'::date as order_date
    , 'pending' as status

# models/orders.sql

select * from {{ dbt_unit_testing.ref('seed_orders') }}

# tests/orders_test.sql

{{ config(tags=['unit-test']) }}

{% call dbt_unit_testing.test ('orders',
    'it should do something with orders') %}

    {% call dbt_unit_testing.mock_ref ('seed_orders') %}
        select
            2 as order_id
            , 2 as customer_id
            , '2024-01-01'::date as order_date
            , 'completed' as status
    {% endcall %}

    {% call dbt_unit_testing.expect() %}
        select
            2 as order_id
            , 2 as customer_id
            , '2024-01-01'::date as order_date
            , 'completed' as status
    {% endcall %}
{% endcall %}

# packages.yml

packages:
  - package: EqualExperts/dbt_unit_testing
    version: 0.4.0

Prepare to run:

dbt clean
dbt deps

Run results in 0.4.0:
~/C/jaffle_shop git:main ❯❯❯ dbt test --select orders_test                                                                                ⏎ ✖ ✱ ◼
03:15:17  Running with dbt=1.4.5
03:15:17  Found 6 models, 21 tests, 0 snapshots, 0 analyses, 738 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics
03:15:17
03:15:17  Concurrency: 1 threads (target='dev')
03:15:17
03:15:17  1 of 1 START test orders_test .................................................. [RUN]
03:15:17  1 of 1 PASS orders_test ........................................................ [PASS in 0.12s]
03:15:17
03:15:17  Finished running 1 test in 0 hours 0 minutes and 0.24 seconds (0.24s).
03:15:17
03:15:17  Completed successfully

~/C/jaffle_shop git:main ❯❯❯ dbt build --select orders_test                                                                                ✖ ✱ ◼
03:16:00  Running with dbt=1.4.5
03:16:00  Found 6 models, 21 tests, 0 snapshots, 0 analyses, 738 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics
03:16:00
03:16:01  Concurrency: 1 threads (target='dev')
03:16:01
03:16:01  1 of 1 START test orders_test .................................................. [RUN]
03:16:01  1 of 1 ERROR orders_test ....................................................... [ERROR in 0.03s]
03:16:01
03:16:01  Finished running 1 test in 0 hours 0 minutes and 0.13 seconds (0.13s).
03:16:01
03:16:01  Completed with 1 error and 0 warnings:
03:16:01
03:16:01  Database Error in test orders_test (tests/orders_test.sql)
03:16:01    syntax error at or near ")"
03:16:01    LINE 17:     ) dbt_internal_test
03:16:01                 ^
03:16:01    compiled Code at target/run/jaffle_shop/tests/orders_test.sql
03:16:01
03:16:01  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Change back to 0.3.4
Update packages.yml to use 0.3.4 and then dbt clean and dbt deps again.
build in 0.3.4
~/C/jaffle_shop git:main ❯❯❯ dbt build --select orders_test                                                                                ✖ ✱ ◼
03:17:49  Running with dbt=1.4.5
03:17:49  Found 6 models, 21 tests, 0 snapshots, 0 analyses, 732 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics
03:17:49
03:17:49  Concurrency: 1 threads (target='dev')
03:17:49
03:17:50  1 of 1 START test orders_test .................................................. [RUN]
03:17:50  1 of 1 PASS orders_test ........................................................ [PASS in 0.10s]
03:17:50
03:17:50  Finished running 1 test in 0 hours 0 minutes and 0.19 seconds (0.19s).
03:17:50
03:17:50  Completed successfully
03:17:50
03:17:50  Done. PASS=1 WARN=0 ERROR=0 SKIP=0 TOTAL=1

Notes
After a bit of digging we noticed that the file target/run/jaffle_shop/tests/orders_test.sql looked like this in 0.3.4:
select
      count(*) as failures,
      count(*) != 0 as should_warn,
      count(*) != 0 as should_error
    from (

    select 1 as a from (select 1) as t where False

    ) dbt_internal_test

... but like this in 0.4.0:
select
      count(*) as failures,
      count(*) != 0 as should_warn,
      count(*) != 0 as should_error
    from (

    ) dbt_internal_test

... which seems to be the reason that the error is showing up as a syntax error.
Thanks for the package, hopefully this is just a simple case of me holding it wrong 😭

Thanks for the commit. I tried it out but unfortunately I noticed something else. When I purposely fail the test, dbt test correctly shows the failure but dbt build passes when it shouldn't.
Test (note different order_id in the expect()):
{{ config(tags=['unit-test']) }}

{% call dbt_unit_testing.test ('orders',
    'it should do something with orders') %}

    {% call dbt_unit_testing.mock_ref ('seed_orders') %}
        select
            2 as order_id
            , 2 as customer_id
            , '2024-01-01'::date as order_date
            , 'completed' as status
    {% endcall %}

    {% call dbt_unit_testing.expect() %}
        select
            1 as order_id /* <-- different order id */
            , 2 as customer_id
            , '2024-01-01'::date as order_date
            , 'completed' as status
    {% endcall %}
{% endcall %}

Results in 0.3.4
dbt test
~/C/jaffle_shop git:main ❯❯❯ dbt test --select orders_test                                                                                ✖ ✱ ◼
22:22:14  Running with dbt=1.4.5
22:22:14  Unable to do partial parsing because saved manifest not found. Starting full parse.
22:22:15  Found 6 models, 21 tests, 0 snapshots, 0 analyses, 472 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics
22:22:15
22:22:15  Concurrency: 1 threads (target='dev')
22:22:15
22:22:15  1 of 1 START test orders_test .................................................. [RUN]
22:22:15  MODEL: orders
22:22:15  TEST:  it should do something with orders
22:22:15  ERROR: Rows mismatch:
22:22:15  | diff | count | order_id | customer_id | order_date | status    |
22:22:15  | ---- | ----- | -------- | ----------- | ---------- | --------- |
22:22:15  | +    |     1 |        2 |           2 | 2024-01-01 | completed |
22:22:15  | -    |     1 |        1 |           2 | 2024-01-01 | completed |
22:22:15  1 of 1 FAIL 1 orders_test ...................................................... [FAIL 1 in 0.11s]
22:22:15
22:22:15  Finished running 1 test in 0 hours 0 minutes and 0.23 seconds (0.23s).
22:22:15
22:22:15  Completed with 1 error and 0 warnings:
22:22:15
22:22:15  Failure in test orders_test (tests/orders_test.sql)
22:22:15    Got 1 result, configured to fail if != 0
22:22:15
22:22:15    compiled Code at target/compiled/jaffle_shop/tests/orders_test.sql
22:22:15
22:22:15  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

dbt build
~/C/jaffle_shop git:main ❯❯❯ dbt build --select orders_test                                                                                ⏎ ✖ ✱ ◼
22:22:20  Running with dbt=1.4.5
22:22:20  Found 6 models, 21 tests, 0 snapshots, 0 analyses, 472 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics
22:22:20
22:22:20  Concurrency: 1 threads (target='dev')
22:22:20
22:22:20  1 of 1 START test orders_test .................................................. [RUN]
22:22:20  MODEL: orders
22:22:20  TEST:  it should do something with orders
22:22:20  ERROR: Rows mismatch:
22:22:20  | diff | count | order_id | customer_id | order_date | status    |
22:22:20  | ---- | ----- | -------- | ----------- | ---------- | --------- |
22:22:20  | +    |     1 |        2 |           2 | 2024-01-01 | completed |
22:22:20  | -    |     1 |        1 |           2 | 2024-01-01 | completed |
22:22:20  1 of 1 FAIL 1 orders_test ...................................................... [FAIL 1 in 0.12s]
22:22:20
22:22:20  Finished running 1 test in 0 hours 0 minutes and 0.21 seconds (0.21s).
22:22:20
22:22:20  Completed with 1 error and 0 warnings:
22:22:20
22:22:20  Failure in test orders_test (tests/orders_test.sql)
22:22:20    Got 1 result, configured to fail if != 0
22:22:20
22:22:20    compiled Code at target/compiled/jaffle_shop/tests/orders_test.sql
22:22:20
22:22:20  Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Results in 0.4.1
dbt test
Same as 0.3.4 dbt test
dbt build
~/C/jaffle_shop git:main ❯❯❯ dbt build --select orders_test                                                                                ⏎ ✖ ✱ ◼
22:24:05  Running with dbt=1.4.5
22:24:05  Found 6 models, 21 tests, 0 snapshots, 0 analyses, 478 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics
22:24:05
22:24:05  Concurrency: 1 threads (target='dev')
22:24:05
22:24:05  1 of 1 START test orders_test .................................................. [RUN]
22:24:05  1 of 1 PASS orders_test ........................................................ [PASS in 0.03s]
22:24:05
22:24:05  Finished running 1 test in 0 hours 0 minutes and 0.12 seconds (0.12s).
22:24:05
22:24:05  Completed successfully
22:24:05
22:24:05  Done. PASS=1 WARN=0 ERROR=0 SKIP=0 TOTAL=1

Hi @davenettle, sorry about that. Please try v0.4.11, I hope it fixes your issue.
Thanks again for the report 👍

Thanks @psousa50, that seems to have fixed it!


ExEx notification type targets finalized/safe blocktag

Add Stream type that only yields a canonstate notififaction on new finalized/safe block.
This should be a helper wrapper type over
https://github.com/paradigmxyz/reth/blob/ead753db4c96f5f9f0fd2867106d88ef6d312405/crates/storage/provider/src/traits/chain.rs#L30-L30
that monitors buffers a Chain until a new finalized/safe block is reached, this info can be obtained from a Provider

Hey can i work on it.Also can you please share more pointers?

not exactly what this should do is skip new items if it's not the latest, or finalized hash,
perhaps we should first introduce a tokio watch for the safe/finalized trackers
https://github.com/paradigmxyz/reth/blob/a8e5eb6186bcd5ea9e63044ebf19e87a7c531c3e/crates/storage/provider/src/providers/chain_info.rs#L131-L136

closing in favor of #8794


build(client): Remove exports field

This PR removes the exports field from all packages so we can enable it in a more controlled fashion.
I used npe to make the changes:
flub exec -g client -- "npe --delete exports"

This change was included in #18650, so closing.


⚠ Bofrost.at has degraded performance

In efa69f5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1381 ms

Resolved: Bofrost.at performance has improved in 036d8c5.


anthro osteology does not get one of its namespaces populated in RecordMapper

    "ns_uri": {
      "osteology_common": "http://collectionspace.org/services/osteology",
      "osteology_anthropology": null
    },

That URI value should be: http://collectionspace.org/services/osteology/domain/anthropology

Fixed in https://github.com/collectionspace/cspace-config-untangler/pull/60


How to get user email ID in composer when we are connected to MsTeams

Complete the necessary portions of this template and delete the rest.
Describe the bug
Give a clear and concise description of what the bug is.
Version
What version of the Composer are you using? Paste the build SHA found on the about page (/about).
Browser
What browser are you using?

[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS
What operating system are you using?

[ ] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots/gif/video to help explain your problem.
Additional context
Add any other context about the problem here.

@KoradaRajesh
I have the same question, did you find a way to do it?


[Docs] Meshery CLI Contributing Guide Details and Artifacts

Notes for Reviewers
@eeshaanSA I incorporated your changes here. I couldn't get this commit pushed to your branch, so instead I pulled your commit into here.
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit b3532dfb32794c76bb48273a421174253854c267 at: https://63adcbeac3a04d0850906944--meshery-docs-preview.netlify.app

Oh, makes sense, @leecalcote


Then exception thrown and caught, no code is run after $app->run()

Expected:
If exception is caught, the execution is continued, $app->run() in index.php returns, any code after it is executed.
Observed:
If exception is thrown, caught and displayed (this time it's yii\web\UnauthorizedHttpException, but I think problem is total), $app->run() seemingly never returns and code behind it is never run.
Reason:
I use phacility/xhprof not only to improve performance in normal execution but to investigate execution path in case of error, so having it OK in error is crucial for me. I don't want to explode my mind between xhprof and xdebug (it works indepenndent of PHP code and always saves profile).

if an exception is thrown that is not cought anywhere inside of the application this will result in the error handling mechanism to turn in and handle it. no code of the original php script can be continued after that. if you need to run some code after this situation you have to put it into a shutdown function.


Just as the worker, the cli should also write the render license file.

Especially, the file is needed for AE >= v17.5.

Hey @brassel
The reason the CLI does not do that by default is that I got feedback from lots of people that it was influencing their setups of After Effects (by disabling the editing interface on the instance). People thought it was a bug or even that nexrender broke their installation. To prevent such a damaging situation, I decided to keep it opposite from the worker instead. So that you would need to opt-in for this behavior to work on CLI. Especially including the fact that people mostly use CLI version with AE and in pair, and not like render-only instance.
However, if you see reasons why it should be a default behavior please let me know. Also, could you elaborate on reasons mentioned in your comment above? "for AE >= v17.5."
Thanks!

Hi @inlife,
I realize I should have followed my usual pattern to first pose a question and discuss it. This time I thought it would be a simple bug fix, since the default value for that setting is false and the only way to manipulate it is an explicit command line flag to set it to false as well.
I can imagine what you mean about people complaining that nexrender "broke" their AE installation. I heard a lot of curses about that "dang empty file" myself. :)
And as aerender would work on those machines without the file it was sensible to have false as a default. But then we need a flag to turn it on I guess. And in addition, there was a change in AE beginning with version 17.5 that aerender would no longer work without that file at all. So I guess, now people will have the opposite complaint....
What would be a good solution? Maybe write the file when it is missing and delete it again after rendering when we have added it or something like that?

@brassel, the solution you've mentioned might be a good one indeed.

Maybe write the file when it is missing and delete it again after rendering when we have added it or something like that?

The only "bad" case of things going wrong would be when nexrender dies in an unusual way, and the file won't be removed. However that should not be regularly occurring, and I would even say a rare case, so probably it should be ok!


Review htcondorce

Review of HTCondor-CE Overview Document
SOFTWARE-3056

Added link to Slurm website
Add Authenticate as well as authorize incoming job
Move the "Over SSH" section above the other HTCondor-CE configurations
It is more important for new users, probably.
Change wording from grid job, to "incoming grid job", which is used
and defined before.
Remove mention of User certificates.  Instead, use the word "client"
and "host" certificates.
Make links at the bottom full links, rather than just words in the subject.
Adding email to user-support for SSH HTCondor-CE

Hopefully fixed.

Links fixed.


New command: install specified app in a site

Install the specified app in a site using the ALM API: <siteUrl>/_api/web/tenantappcatalog/AvailableApps/GetById({id})/Install

command name: spo tenant app install --siteUrl|-u <siteUrl> --id <appId>
requires connection to a SharePoint site

More information: https://github.com/SharePoint/PnP-Sites-Core/blob/73c703c507d480142ec18c241e6e72aae67982cc/Core/OfficeDevPnP.Core/ALM/AppManager.cs

I will pickup this. Can be marked as work in progress.

Awesome @VelinGeorgiev 💪

I've just merged a commit that refactors how commands are built (#40). Please have a look at the latest changes as well as the updated guide on building commands at https://github.com/SharePoint/office365-cli/blob/dev/docs/guides/adding-command.md. Don't forget to sync with the latest dev before submitting the PR 🙂

Hey @VelinGeorgiev, I've just heard from @erwinvanhunen that he has this code complete. Hope it's not too late and you didn't spend much time on it.

I have not started yet. Just prepared my dev env. Thanks for letting me know!

Great you didn't do any double work! There are still a few other commands we could use help on 🙂


tests(deps): use dev branch of resty.events(DO NOT MERGE)

Summary

Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference

Fix #[issue number]

test ok, close it.


Postman Challenge points not assigned

@SakshamShandilya @sanjay-kv Day before Yesterday, it was showing 500 points and since yesterday it's showing 0. My PR is https://github.com/GSSoC24/Postman-Challenge/pull/365. Still it is showing 0 in the Leaderboard.
Kindly see to it. Please!

Please assign points , it's not been added for raising an issue or closing it?!


Job sometimes crashes with EFS-related message

Unable to recursively delete directory:
[ec2-user@ip-172-31-43-16 ~]$ cat banyan-output-for-job-2021-11-20-082050016fec17e589901c38f6cc0067f1d1bc
Sent end message
Getting next execution request
Getting next execution request
ERROR: LoadError: SystemError (with efs/job_2021-11-20-082050016fec17e589901c38f6cc0067f1d1bc_val_1360): rmdir: Directory not empty
Stacktrace:
 [1] systemerror(p::Symbol, errno::Int32; extrainfo::String)
   @ Base ./error.jl:168
 [2] #systemerror#62
   @ ./error.jl:167 [inlined]
 [3] rm(path::String; force::Bool, recursive::Bool)
   @ Base.Filesystem ./file.jl:290
 [4] Write(src::Nothing, part::DataFrames.DataFrame, params::Dict{String, Any}, batch_idx::Int64, nbatches::Int64, comm::MPI.Comm, loc_name::String, loc_params::Dict{String, Any})
   @ Banyan ~/3cdb527a673d0fb779b82f7d87defea517cb009d7076c3a26fc951f51fa89334/banyan-julia/Banyan/src/pfs.jl:458
 [5] exec_code(banyan_data::Dict{Any, Any})
   @ Main ./string:346
 [6] top-level scope
   @ ~/executor.jl:104
in expression starting at /home/ec2-user/executor.jl:83
srun: error: compute-dy-t3large-1: task 0: Exited with exit code 1
slurmstepd: error: compute-dy-t3large-1 [0] pmixp_client_v2.c:210 [_errhandler] mpi/pmix: ERROR: Error handler invoked: status = -25: Interrupted system call (4)
slurmstepd: error: *** STEP 2556.0 ON compute-dy-t3large-1 CANCELLED AT 2021-11-20T09:39:32 ***
srun: Job step aborted: Waiting up to 32 seconds for job step to finish.
srun: error: compute-dy-t3large-1: task 1: Killed

Another time I got this issue:
ERROR: LoadError: unable to determine if efs/banyan_dataset_10244564515853285896 is accessible in the HDF5 format (file may not exist)
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] h5open(filename::String, mode::String; swmr::Bool, pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ HDF5 ~/.julia/packages/HDF5/pIJra/src/HDF5.jl:430
 [3] h5open(filename::String, mode::String)
   @ HDF5 ~/.julia/packages/HDF5/pIJra/src/HDF5.jl:412
 [4] ReadBlock(src::Nothing, params::Dict{String, Any}, batch_idx::Int64, nbatches::Int64, comm::MPI.Comm, loc_name::String, loc_params::Dict{String, Any})
   @ Banyan ~/17d11e66635497fe6fa18ecd7b2364743c53d52ab7270e07d9fb5e1556e5a3e6/banyan-julia/Banyan/src/pfs.jl:50
 [5] exec_code(banyan_data::Dict{Any, Any})
   @ Main ./string:39
 [6] top-level scope
   @ ~/executor.jl:104
in expression starting at /home/ec2-user/executor.jl:83
srun: error: compute-dy-t3large-2: task 0: Exited with exit code 1
slurmstepd: error: compute-dy-t3large-2 [0] pmixp_client_v2.c:210 [_errhandler] mpi/pmix: ERROR: Error handler invoked: status = -25: Interrupted system call (4)
slurmstepd: error: *** STEP 2600.0 ON compute-dy-t3large-2 CANCELLED AT 2021-11-22T01:12:01 ***
srun: Job step aborted: Waiting up to 32 seconds for job step to finish.
srun: error: compute-dy-t3large-2: task 1: Killed

Variation of this error:
    Building MPI   `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/340d8dc89e1c85a846d3f38ee294bfdd1684055a/build.log`
    Building HDF5   `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/698c099c6613d7b7f151832868728f426abe698b/build.log`
  Activating environment at `~/17d11e66635497fe6fa18ecd7b2364743c53d52ab7270e07d9fb5e1556e5a3e6/banyan-julia/BanyanArrays/test/Project.toml`
  Activating environment at `~/17d11e66635497fe6fa18ecd7b2364743c53d52ab7270e07d9fb5e1556e5a3e6/banyan-julia/BanyanArrays/test/Project.toml`
Getting next execution request
Getting next execution request
Getting next execution request
HDF5-DIAG: Error detected in HDF5 (1.12.1) MPI-process 0:
  #000: H5F.c line 620 in H5Fopen(): unable to open file
    major: File accessibility
    minor: Unable to open file
  #001: H5VLcallback.c line 3502 in H5VL_file_open(): failed to iterate over available VOL connector plugins
    major: Virtual Object Layer
    minor: Iteration failed
  #002: H5PLpath.c line 579 in H5PL__path_table_iterate(): can't iterate over plugins in plugin path '(null)'
    major: Plugin for dynamically loaded library
    minor: Iteration failed
  #003: H5PLpath.c line 620 in H5PL__path_table_iterate_process_path(): can't open directory: /usr/local/hdf5/lib/plugin
    major: Plugin for dynamically loaded library
    minor: Can't open directory or file
  #004: H5VLcallback.c line 3351 in H5VL__file_open(): open failed
    major: Virtual Object Layer
    minor: Can't open object
  #005: H5VLnative_file.c line 97 in H5VL__native_file_open(): unable to open file
    major: File accessibility
    minor: Unable to open file
  #006: H5Fint.c line 1990 in H5F_open(): unable to read superblock
    major: File accessibility
    minor: Read failed
  #007: H5Fsuper.c line 617 in H5F__super_read(): truncated file: eof = 2026732, sblock->base_addr = 0, stored_eof = 2402848
    major: File accessibility
    minor: File has been truncated
ERROR: LoadError: Error opening file efs/banyan_dataset_10244564515853285896
Stacktrace:
 [1] error(::String, ::String)
   @ Base ./error.jl:42
 [2] h5f_open(pathname::String, flags::UInt16, fapl_id::HDF5.Properties)
   @ HDF5 ~/.julia/packages/HDF5/pIJra/src/api.jl:761
 [3] h5open(filename::String, mode::String; swmr::Bool, pv::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ HDF5 ~/.julia/packages/HDF5/pIJra/src/HDF5.jl:436
 [4] h5open(filename::String, mode::String)
   @ HDF5 ~/.julia/packages/HDF5/pIJra/src/HDF5.jl:412
 [5] ReadBlock(src::Nothing, params::Dict{String, Any}, batch_idx::Int64, nbatches::Int64, comm::MPI.Comm, loc_name::String, loc_params::Dict{String, Any})
   @ Banyan ~/17d11e66635497fe6fa18ecd7b2364743c53d52ab7270e07d9fb5e1556e5a3e6/banyan-julia/Banyan/src/pfs.jl:50
 [6] exec_code(banyan_data::Dict{Any, Any})
   @ Main ./string:32
 [7] top-level scope
   @ ~/executor.jl:104
in expression starting at /home/ec2-user/executor.jl:83
srun: error: compute-dy-t3large-1: task 0: Exited with exit code 1
slurmstepd: error: compute-dy-t3large-1 [0] pmixp_client_v2.c:210 [_errhandler] mpi/pmix: ERROR: Error handler invoked: status = -25: Interrupted system call (4)
slurmstepd: error: *** STEP 2618.0 ON compute-dy-t3large-1 CANCELLED AT 2021-11-22T04:21:50 ***
srun: Job step aborted: Waiting up to 32 seconds for job step to finish.
srun: error: compute-dy-t3large-1: task 1: Killed

[ Info: Destroying job with ID 2021-11-22-041923e06d7d18a7fa51cc3d537261d385b9ab
[ Info: Destroying job with ID 2021-11-22-041923e06d7d18a7fa51cc3d537261d385b9ab

This issue could be because we are downloading to EFS multiple times on different nodes potentially causing conflicts. It might be a good idea to go through all places where we interact with the shared NFS, EFS, or S3FS in pfs.jl and utils_pfs.jl and ensure that we are not reading to the same location on different nodes or reading without necessary barriers or fsyncs.

Note that we have also had similar issues when interacting with EFS with recursive, forced rm and cp.

Based on https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html, we need to make sure we fsync or close files to ensure consistency.

This is actually because of .nfs* files [1] being created in the process of recursively force-deleting files. However, this does not explain the failures with cp.
[1] https://www.ibm.com/support/pages/what-are-nfs-files-accumulate-and-why-cant-they-be-deleted-even-after-stopping-cognos-8

Closing for now but will reopen if an issue comes up with cp.


Plugin not working

Hi,
I've been trying to use your plugin wich seems so usefull.
However when i try to enable the feature in the panel option it doesn't appear.

Grafan recognize the plugin and I even can add the panel wich shows me that i need to configure the pannel option.

Have you ever seen this issues?
I'm using the latest version of Grafana 9.4.3 on a self managed type.

Thanks !

With the new release v0.1.0 this should be fixed.

Feel free to reopen this issue if it isn't resolved with the new release.


[FEATURE REQ] support the new config data feature since spring boot 2.4 in AppConfiguration.

Refs:

https://spring.io/blog/2020/08/14/config-file-processing-in-spring-boot-2-4
https://github.com/spring-cloud/spring-cloud-vault/blob/9b5ea839182d47211e6ed2d5ad9510435033978f/spring-cloud-vault-config/src/main/resources/META-INF/spring.factories#L14

Closing this issue in favor of https://github.com/Azure/azure-sdk-for-java/issues/23043


Timesheet - 29/10/2021 - Mr. K

Task 1
Worked on ‘Tutorial & Detail’ pages responsive design and interactions.
Worked on the core, user flows handoff.
Proof of Work

https://www.figma.com/file/7wpscWMvHdtRIIDDxSFlw7/Tutorials-Page?node-id=293%3A1793

Time Spent
8.0 hours
Account Number
c93ee24b89991a1438b45444cf06e5bb167ed1796d54a800174def4480f98ed0

Hi, could you grant me Figma access so that I can review this?

what is your email address?


allow for connected overlay to be positioned relative to a rectangle

Feature Description
I would like to see something like the following interface added to FlexibleConnectedPositionStrategyOrigin:
interface ClientRectSource {
  getBoundingClientRect(): ClientRect;
}

Use Case
I need to position around a rectangle instead of an Element.  This is to position an overlay around a word in a textarea.  Currently I am doing this by creating an ElementRef, but would prefer something officially supported (my previous version was casting to an HTMLElement and was broken when support for more origin types was added).
e.g.
new ElementRef({
  getBoundingClientRect() {
    //Calculate rectangle of word within textarea
  }
}),

The existing point option is not enough since it doesn't have height (I need to position below or above the word depending on available space).  Besides, a fixed point wouldn't allow for scrolling (although I think in my case most means of scrolling would close the overlay anyway).

That's an interesting use case that I hadn't though of. We already support positioning it relative to a point so expanding it to a rectangle should be easy.


Dumping JSON

@cdeil , currently I am only able to fetch
cols = ['Source_Name', 'RAJ2000', 'DEJ2000', 'GLON', 'GLAT', 'CLASS']

Should I manually enter all the columns or is there a way to get all the cols programatically ?

You can get all the columns by accessing the table.colnames or table.columns attribute of an Astropy table. But in this case I'd say wait ... you don't really need extra columns at the moment, right?

Actually now I have a need to have the 3FGL and 2FHL catalog info on a webpage.
(it really doesn't exist anywhere as far as I can tell).
There's a helper function to convert all table info to JSON here:
https://github.com/astropy/astropy/issues/4604#issuecomment-184551578
@kepta - Do you have time or should I do it?

Hey @cdeil I am currently in the conference, I will get time after 21st.
If you can wait till then let me know.


Unload Assets

Do you plan to implement asset unloading?  From my tests, this doesn't appear to take place:

Load first state with its own AssetCollection that has 5mb of assets.  Memory usage goes up ~5mb
Change state that uses a different AssetCollection that has <1mb of assets and doesn't use any of the assets from the previous state's collection
Note that memory usage doesn't go back down, and the assets from the first collection remain.

This would not be good for applications with large amounts of assets.
Additionally, in my Component despawn function that runs on state exit, I tried AssetServer::free_unused_assets() but that doesn't work either.  My knowledge is limited, but I'm guessing it has something to do with the Assets being loaded as Strong handles?  Either way, it would be nice if AssetCollections would unload assets if the new state doesn't use them.
I suppose the problem implementing this feature would be that some people would prefer assets to stay loaded, and others not.  Maybe an unload option could be set for a collection, individual assets, or both; i.e. tag a collection to be automatically unloaded, except where otherwise specified on the individual asset... and of course vice versa.

The expectation for unloading is that you take care of this yourself. Because, as you already mentioned, different people/games will want different collections to stay and others to be unloaded.
It should be enough to add on_exit systems to a state and use commands.remove_resource::<MyAssetCollection>() to unload that collection. Bevy will then take care of unloading the assets, as long as you do not save handles to the assets anywhere outside of the asset collection.

Okie dokie, thanks.


Azure Web PubSub is not in Azure products list

Azure Web PubSub (https://docs.microsoft.com/en-us/azure/azure-web-pubsub/) is not found in Azure documentation page (https://docs.microsoft.com/en-us/azure/?product=all) where all Azure services are listed.
Azure Web PubSub should be in "Web" category (https://docs.microsoft.com/en-us/azure/?product=web).
Could you update https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/index.yml to include Azure Web PubSub?
I can update the index.yml by myself, but I don't have a "imageSrc" URL (product icon) for Azure Web PubSub.

Azure Web PubSub tile missing from hub page #74787

Thanks for alerting us to the problem. It is fixed in https://github.com/MicrosoftDocs/azure-docs-pr/pull/197801. An index card was added under Integration and Web categories. The updates will be published to public docs in ~24 hours.
#please-close


Addition_of_FAQs[CDS-88933]: FAQs for 26th JAN

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65b6e1f241423db4c4507978--harness-developer.netlify.app


Discovered MTU         : 1480

You might want to try adjusting your IPIP MTU - https://projectcalico.docs.tigera.io/networking/mtu#big-picture

Use XDP or dpdk to proxy traffic before the protocol stack？

@withlin closing this as inactive, feel free to reopen if you're still seeing the issue and/or have additional information


conflict with boostrap nav-bar

Hi,
I have found your script and it's great.
Unfortunatly, I have an issue with bootstrap nav-bar, which does not work when I use your script.
Here is a fiddle with a working nav-bar : http://jsfiddle.net/35gSz/102/
If i uncomment the call to respond the toggle does not work: http://jsfiddle.net/35gSz/101/
Any idea ?
Thanks for help,

I'm at work atm, I can take lunch in an hour, I'll be able to help more then, sorry!

Until then temporarily v1.0.0 work if it holding up you're work: http://jsfiddle.net/35gSz/103/

Great, thanks a lot !


Add validate config step to GitHub Actions

Current dependencies on/for this PR:

main

PR #109   👈

This stack of pull requests is managed by Graphite.


MDLabel font_name hitch

This is my first bug report - let me know where I go wrong.
It is a minor thing and it has a workaround. Thought I should report if not for someone else to find the workaround.
Problem description
The MDLabel test does not always correctly when Chinese, (Arabic, etc) fonts are used.
lbl_1 (top) does not render as the font_name is not updated. (Kivy Label works as intended when defined as lbl_1 )
lbl_2 renders correctly when the font_name is updated after the MDLabel was defined.
For what it is worth - it seems to be an updating problem. It is most certainly not a font problem as the problem appears for multiple fonts and languages.
A font can be downloaded here: https://fonts.google.com/noto/specimen/Noto+Sans+SC

Code Example
from kivymd.app import MDApp
from kivymd.uix.label import MDLabel
from kivy.uix.gridlayout import GridLayout

class DebugThis(MDApp):
    def build(self):
        ch_fnt = './fonts/NotoSansSC-Regular.ttf'

        gl = GridLayout(cols=1)

        #Does not render as it should
        lbl_1 = MDLabel(
            text='中国人',
            font_context=None,
            font_name = ch_fnt
            )

        #OK
        lbl_2 = MDLabel(
            text='中国人',
            font_context=None,
            )
        lbl_2.font_name = ch_fnt

        gl.add_widget(lbl_1)
        gl.add_widget(lbl_2)

        return gl

DebugThis().run()

Use fonts with Arabic/Chinese language support

As the example demonstrates - I do use a font with Chinese language support
The lbl_2 would not render correctly otherwise.

This will not be fixed in version 1.2.0
Only in 2.0.0

Most of the issue were deprecated along with previous versions of the KivyMD library. All these issue will be closed as soon as version 2.0.0 gets into the master branch.


InfiniteArrays.jl example

Hi @sdwfrost, opening a PR to work on #39. Looking forward to hearing your feedback, right now the example uses DifferentialEquations.jl with a struct that stores the infinite array to track the number of infectious persons who have infected 1,2,... other persons.

Thanks @slwu89! I'll add in some more details of the model later but am merging for now (if you calculate the next generation matrix of the model and compute the eigenvector of the NGM, it shows the geometric series nicely). The closest kind of approach to this that I've seen is in @kerguler sPop C library (now sPop2) that dynamically keeps different age classes in a data structure.

That's very interesting but makes a lot of sense intuitively, and a fun mathematical exercise to work out later! Thanks for the sPop2 link, I played with sPop 1, didn't know it had such a significant upgrade lately.


CMake: change ${CMAKE_SOURCE_DIR}/tmp with ${CMAKE_BINARY_DIR}

Your great patch is much appreciated. We are considering to apply your patch into the SoftEther VPN main tree.
SoftEther VPN Patch Acceptance Policy:
http://www.softether.org/5-download/src/9.patch
You have two options which are described on the above policy.
Could you please choose either option 1 or 2, and specify it clearly on the reply?

one

We should do that for hamcorebuilder too:
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/b34d0366477191ff7581af87ceefb99579815778/src/hamcorebuilder/CMakeLists.txt#L5-L7

And also for install_wrapper_script:
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/b34d0366477191ff7581af87ceefb99579815778/src/CMakeLists.txt#L6-L10

I tried to change those as well, build fails. I'll address it later

No problem.


"Pull" realize capability

Right now, Realization is a feature that pushed a view into a table that is not really managed by Tilda.
We want to allow Tilda to generate upsert-based data movement into a managed table. the idea would be to specify "realize" meta-data that would pull from a defined view, with column mappings and life-cycle specification for proper UPSERT logic. This would allow to more easily generate ETL code for dimension tables for example.

Depends on #194 and #193

Merged as part of #90


very cool project!

Very cool project! Thanks for your hard work!
Hope more features can be added to fit with Davinci 18!
Many thanks!!!!

For example, can we write text in Davinci with pydavinci?

Hi @LittleTerry,
This probably can be achieved with the Fusion API, but unfortunately it's out of the scope of this project.
Pedro


fixed readme

just added a "return" to Readme

Coverage remained the same at 92.636% when pulling f10b01ecdbe097b35e9a90d24ab43088319a8f42 on StephanPraetsch:master into 261c1e20b010650ca593e4a524c3b9e6e2597fe5 on Mercateo:master.

Thanks!


Where is codemirror.js?

Maybe I have overseen some, but where is the codemirror.js?
You are refering (see demoscripts) to:
Looked inside versions back to 5.2x.x .. nothing?
Therefore also the demos are not working because if missing script!

@osworx You need to cd to the repository and run npm install.
After that, codemirrors.js will be added to the lib directory.

Thx, but what if I add the script the 'normal' way, not using any installer?
Such a way to add codemirror to a system should be also possible - thanks in advance.
In the meantime I copied the script manually.

Such a way to add codemirror to a system should be also possible - thanks in advance.
Yea, I'm not sure why they didn't include the bundled script in the downloaded repository.

I'm not sure why they didn't include the bundled script in the downloaded repository.

Because it's not part of the sources and doesn't need to be version controlled. Get the package from NPM or the zip on the website if you want a distribution. This here is a source repository.

@marijnh That this is a 'source repository' is known!

get the zip on this website

You're joking, there is no script inside the zip  that's why i am asking.

Nice, thanks for the link @marijnh.
FWIW - I'm still unable to locate the .zip download link on the website.

I agree with @osworx - the way the releases are set up is confusing. I expect "releases" on Github to include ready-to-run artifacts, alongside the source code. This has been a waste of time the last couple times I've had to update, because I grab the zip from here, try to use it, and find that file missing ("oh right, the zips aren't the same...go find the other one")...perhaps now that I've bothered to complain it'll stick in my head that I can't use the release notification to download the release...
If it's not too much of a headache to implement, it would be really helpful to include a link to the "build" zip, in addition to the source zip, in the Github releases.


Using tmLanguage-grammar to extend vscode integrated markdown extensions syntax highlighting

I am working on a language extension for vscode. I defined a tmLanguage file and everything works nicely. In the hover feature, using vscode.MarkdownString.appendCodeblock() the markdown is being interpreted correctly and syntax highlighting for my custom language just works out of the box, by doing something like:
const content = new MarkdownString("", true)
content.appendMarkdown("## Examples: \n")
content.appendCodeblock(examples, "lmps")

where examples contains some example code in my custom language and "lmps" is my language identifier.

I wonder if there is a way to achieve the same thing in a webview. I succeeded displaying the content in a webview, compiling the markdownString into html:
async function set_doc_panel_content(panel: DocPanel | undefined, md_content: vscode.MarkdownString) {
		const html: string = await vscode.commands.executeCommand('markdown.api.render', md_content.value) as string;
		panel!.webview.html = html;
	}

So far so good, but in this way, markdown doesn't know my custom language and doesn't do any syntax highlighting.

Now, I understand that adding language-support to the Markdown extension can be achieved by contributing a markdown-it plugin by returning an object in the activation function.
export function activate(context: vscode.ExtensionContext) {

...

    return {
        extendMarkdownIt(md: any) {
          return md.use(require('markdown-it-emoji'));
        }
}

However, this requires actually developing a dedicated markdown-it plugin if I see that right. I wonder if there is an easier way to integrate a custom language into the markdown api.
Alternatively: Since vscode can obviously render custom grammars natively in hover and completion suggestions already, would it be possible to use this functionality in a webview?

Try following https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example


update storage version to v1

/cc @ahmetb

NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box. This is a temporary workaround to address a known issue with GitHub.

This change is

You need to update non-CN file too (there are 2 in this repo with the same name unfortunately #6055)

@ahmetb I added the non-CN file with the change from v1beta1 to v1. Is it OK to merge this now?

@steveperry-53 if I understand correctly statefulset is still v1beta2 in 1.8 (and not v1 yet), so this should not be merged right away.

My bad ignore that. Looks like this is for StorageClass type.
/lgtm


Broken with notify 5.0.0

When compiling with the latest version of notify I get:
error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> /Users/ndmitchell/.cargo/registry/src/github.com-1ecc6299db9ec823/linemux-0.2.3/src/events.rs:62:49
    |
62  |           let inner: notify::RecommendedWatcher = notify::RecommendedWatcher::new(move |res| {
    |  _________________________________________________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
63  | |             // The only way `send` can fail is if the receiver is dropped,
64  | |             // and `MuxedEvents` controls both. `unwrap` is not used,
65  | |             // however, since `Drop` idiosyncrasies could otherwise result
66  | |             // in a panic.
67  | |             let _ = tx.send(res);
68  | |         })
    | |__________- an argument of type `Config` is missing
    |
note: associated function defined here
   --> /Users/ndmitchell/.cargo/registry/src/github.com-1ecc6299db9ec823/notify-5.0.0/src/lib.rs:294:8
    |
294 |     fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self>

I think the type of RecommendedWatcher can vary by OS, but the function notify_recommended_watcher always takes a single argument, so maybe that is the right thing to use?

Appologies, I seem to have downgraded to 0.2.3 by accident

@ndmitchell thanks in any case, this reminded me that I haven't cut a release with stable notify v5 yet (#60). Will try to do that this week.

@ndmitchell version 0.3.0 has been published to crates.io! Sorry for the delay.


Error: Multiple assemblies with equivalent identity have been imported.

This is almost a duplicate of https://github.com/dotnet/core/issues/588. However, my issues surfaces on my local developer environment. I have VS 2015 and a simple web project that is targeting the .Net 4.6.2 framework.
When I add a dependency from Nuget for Microsoft.Extensions.DependencyInjection, which in turn has a dependency on System.Runtime.Extensions.dll and try to build the project, I get the following error.
Error	CS1703	Multiple assemblies with equivalent identity have been imported: 'c:\users\mmuggli\documents\visual studio 2015\Projects\packages\System.Runtime.Extensions.4.1.0\lib\net462\System.Runtime.Extensions.dll' and 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.2\Facades\System.Runtime.Extensions.dll'. Remove one of the duplicate references.	WebApplication3	c:\users\mmuggli\documents\visual studio 2015\Projects\WebApplication3\CSC	1	Active
I believe that my instance of Visual Studio 2015 is using the MSBuild Tools version 14.0

I had this too. The workaround from https://github.com/dotnet/sdk/issues/1539 worked for me.

I'm going to close this here and let it be tracked by dotnet/sdk#1539


Rename operation does not rename examples in docstrings

Given cargo new --lib rename with contents:
/// Prints "Hello, world!".
///
/// # Example
/// ```rust
/// use rename::hello;
/// hello();
/// ```
pub fn hello() {
    println!("Hello, world!");
}

and using the rename operation (F2 in VSCode) on the hello() function, you end up with
/// Prints "Hello, world!".
///
/// # Example
/// ```rust
/// use rename::hello;
/// hello();
/// ```
pub fn hello_world() {
    println!("Hello, world!");
}

which results in cargo test breaking:
---- src/lib.rs - hello_world (line 4) stdout ----
error[E0432]: unresolved import `rename::hello`
 --> src/lib.rs:5:5
  |
4 | use rename::hello;
  |     ^^^^^^^^^^^^^ no `hello` in the root

error: aborting due to previous error

Considering rust-analyzer manages to provide syntax highlighting within the docstring example blocks, it would be nice if the rename operation affected the docstrings as well.

cc #8242, https://github.com/rust-analyzer/rust-analyzer/issues/4170


Filter for "My Tasks"

I'd like to be able to use filters for the "My Tasks" page just like you can on Kanban board pages.
You can search if you click on the "Search" link, but it doesn't really act the same as the filter on the board page.

What to you mean by "doesn't really act the same as the filter on the board"?

The filter functionality does not show up directly on the ?controller=app&action=tasks "My Tasks" page like it does on the taskboard. On the task board you could apply a filter right there and it would remember your filter on subsequent page visits.


Add windows video

~Image size is fixed to 640x480.~
~Pixel format is fixed to RGB.~
temporary branched from #83
fix #26

It works now, but enumerating device props seems not implemented yet in Wine. It works only on real Windows.

 I can't imagine interfacing with their APIs, as you did. lol


Route change prevented with beforeRouteUpdate still calls asyncData

If I prevent a route change with routeBeforeUpdate method (as on vue-router spec) it seems asyncData for the new route (that has not been shown) is still called.
It looks as though routeBeforeLeave works fine, but as I need to prevent a route change when a slug/prop of a URL changes I need to use routeBeforeUpdate.
Is there a simple check that can be put in place to make sure the new route is definitely going to be shown before asyncData is called?
Also, if the new route is not shown, and then it is allowed to be shown, asyncData isn't called I think because NuxtJS believes that route is already being shown (or it looks that way just seeing outputs when logging to the console)

Hi. Why don't you use validate ?

I think because validate doesn't meet my requirements for what I'm looking to do.
I am creating a page which can be edited by an administrator. I want to warn a user before they leave the page if they have not saved their changes to give them a chance to discard, save them or continue editing the content on the page. So I need this action to happen as the page is being left, and not on a new page being shown.

any workarounds? this is kinda frustrating.


feat: setup a pyproject.toml

Decomposing a previous PR into smaller parts.
Using a pyproject.toml will enable us to use supersetbot to replace
dependabot in managing/bumping our python libraries. The fact that
pyproject is parsable enables more automation down the line

I don't think there's anything controversial here, just moving dep management to a new, parsable file that is becoming the standard. Mergin'

@mistercrunch is the intent to:

Remove setup.py and setup.cfg? I know we use the later for Mypy et al., but it seems that most packages can use the pyproject.toml file for configuration (example)?
Update the code and documentation to reference pyproject.toml?

My main intent was to be able to parse the dependencies to support supersetbot acting as dependabot while moving to more modern means to store metadata. But I agree we should consolidate as much as possible, happy to follow up with a PR to try and kill setup.cfg is possible and update the docs where needed.

https://github.com/apache/superset/pull/27884


Compile issues seen on Ubuntu 18

Describe the bug
I see 11 compile errors, some pointing to "byte" type data and some pointing to certain macros. I am trying to compile the code and run it on my laptop. Can you please help me at the earliest. I tried changing std to 17 and also tried the solution from a suggested solution for the "byte" problem (https://github.com/catchorg/Catch2/issues/1992). I am unable to find the cause and I am not sure about the other errors because they seem to be repository specific.
In file included from selfdrive/ui/replay/filereader.cc:6:
./selfdrive/ui/replay/util.h:34:38: error: no type named 'byte' in namespace 'std'
std::string decompressBZ2(const std::byte *in, size_t in_size, std::atomic *abort = nullptr);
~^
1 error generated.
scons: *** [selfdrive/camerad/camera-filereader.o] Error 1
In file included from selfdrive/ui/replay/framereader.cc:1:
./selfdrive/ui/replay/framereader.h:23:24: error: no type named 'byte' in namespace 'std'
bool load(const std::byte *data, size_t size, bool no_hw_decoder = false, std::atomic *abort = nullptr);
~^
./selfdrive/ui/replay/framereader.h:34:28: error: unknown type name 'AVHWDeviceType'
bool initHardwareDecoder(AVHWDeviceType hw_device_type);
^
In file included from selfdrive/ui/replay/framereader.cc:2:
./selfdrive/ui/replay/util.h:34:38: error: no type named 'byte' in namespace 'std'
std::string decompressBZ2(const std::byte *in, size_t in_size, std::atomic *abort = nullptr);
~^
selfdrive/ui/replay/framereader.cc:81:15: error: reference to type 'const std::string' (aka 'const basic_string') could not bind to an rvalue of type 'std::byte *'
return load((std::byte *)data.data(), data.size(), no_hw_decoder, abort);
^~~~~~~~~~~~
selfdrive/ui/replay/framereader.cc:76:43: note: passing argument to parameter 'url' here
bool FrameReader::load(const std::string &url, bool no_hw_decoder, std::atomic *abort, bool local_cache, int chunk_size, int retries) {
^
selfdrive/ui/replay/framereader.cc:84:19: error: out-of-line definition of 'load' does not match any declaration in 'FrameReader'
bool FrameReader::load(const std::byte *data, size_t size, bool no_hw_decoder, std::atomic *abort) {
^~~~
selfdrive/ui/replay/framereader.cc:126:30: error: use of undeclared identifier 'AV_HWDEVICE_TYPE_CUDA'
if (!initHardwareDecoder(HW_DEVICE_TYPE)) {
^
selfdrive/ui/replay/framereader.cc:13:24: note: expanded from macro 'HW_DEVICE_TYPE'
#define HW_DEVICE_TYPE AV_HWDEVICE_TYPE_CUDA
^
selfdrive/ui/replay/framereader.cc:153:39: error: unknown type name 'AVHWDeviceType'
bool FrameReader::initHardwareDecoder(AVHWDeviceType hw_device_type) {
^
selfdrive/ui/replay/framereader.cc:155:11: error: unknown type name 'AVCodecHWConfig'
const AVCodecHWConfig *config = avcodec_get_hw_config(decoder_ctx->codec, i);
^
selfdrive/ui/replay/framereader.cc:155:37: error: use of undeclared identifier 'avcodec_get_hw_config'
const AVCodecHWConfig *config = avcodec_get_hw_config(decoder_ctx->codec, i);
^
selfdrive/ui/replay/framereader.cc:161:27: error: use of undeclared identifier 'AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX'
if (config->methods & AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX && config->device_type == hw_device_type) {
^
selfdrive/ui/replay/framereader.cc:227:16: error: use of undeclared identifier 'av_hwframe_transfer_data'
if ((ret = av_hwframe_transfer_data(hw_frame.get(), av_frame_.get(), 0)) < 0) {
^
11 errors generated.
OS Version
Ubuntu 18.04
openpilot version or commit
No response
Additional info
No response

Openpilot isn’t supported on Ubuntu 18, it's only expected to work on 20.04.

@GregorKikelj is right. We target the Ubuntu LTS used on our workstations and AGNOS, currently 20.04, and will merge fixes for the very latest Ubuntu LTS. Beyond that, we make no guarantees.