Default gateway

Posted this in the [Alpine Linux forums] (http://forum.alpinelinux.org/forum/networking/route-command-no-default-gateway) but haven't gotten any responses. So I'm trying here, too.
I'm attempting to create an OpenVPN client using the gliderlabs/docker-alpine image. I've mostly succeeded, except that OpenVPN is unable to change the default gateway upon connection. The specific message is:
NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
In trying to troubleshoot, I discovered that the 'route' command doesn't return a default gateway:
/openvpn # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>      *               <IP_ADDRESS>     U     0      0        0 eth0

Though 'ip route' does:
/openvpn # ip r
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/16 dev eth0  proto kernel  scope link  src <IP_ADDRESS>

Compare/contrast with the output from the same commands run on a Debian image:
root@51e708159cd8:/# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         <IP_ADDRESS>     <IP_ADDRESS>         UG    0      0        0 eth0
<IP_ADDRESS>      *               <IP_ADDRESS>     U     0      0        0 eth0

root@51e708159cd8:/# ip r
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/16 dev eth0  proto kernel  scope link  src <IP_ADDRESS>

And for good measure, here are 'cat /proc/net/route' from both:
/openvpn # cat /proc/net/route
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask            MTU     Window  IRTT
eth0    00000000        012A11AC        0003    0       0       0       00000000        0       0       0
eth0    000011AC        00000000        0001    0       0       0       0000FFFF        0       0       0

root@51e708159cd8:/# cat /proc/net/route
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask            MTU     Window  IRTT
eth0    00000000        012A11AC        0003    0       0       0       00000000        0       0       0
eth0    000011AC        00000000        0001    0       0       0       0000FFFF        0       0       0

Here's the 'route' output after connecting via OpenVPN in the Alpine container:
<IP_ADDRESS>      <IP_ADDRESS>      <IP_ADDRESS> UGH   0      0        0 tun0
<IP_ADDRESS>      *               <IP_ADDRESS> UH    0      0        0 tun0
<IP_ADDRESS>      *               <IP_ADDRESS>     U     0      0        0 eth0
```

And from 'ip route':
```
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS> via <IP_ADDRESS> dev tun0
<IP_ADDRESS> dev tun0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/16 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
```

I've tried replacing the default route manually after creating the VPN (```ip route replace default via <IP_ADDRESS> dev tun0```), but that breaks routing completely.

Am I missing something here, like a package or some networking nuance? Is this a BusyBox bug/feature?  I'm happy to provide additional information. Any help would be greatly appreciated.

Hmm, mine seems to show the route correctly:
$ docker run -it alpine route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         <IP_ADDRESS>     <IP_ADDRESS>         UG    0      0        0 eth0
<IP_ADDRESS>      *               <IP_ADDRESS>     U     0      0        0 eth0

Can you give a little more information:

Alpine version?
Docker version?
Host OS?
Dockerfile used to build the image?

With pleasure!

Alpine: latest (3.2)
Docker: 1.7.1
Host OS: Fedora 22

Dockerfile:
FROM alpine:3.2
MAINTAINER Michael Goodness<EMAIL_ADDRESS>
RUN cd /tmp && \
  apk --update add openvpn && \
  rm -rf /tmp/* && \
  rm -rf /var/cache/apk/*

COPY ["vpn/", "/vpn/"]
COPY ["openvpn.sh", "/openvpn.sh"]

VOLUME ["/vpn"]
WORKDIR /vpn

ENTRYPOINT ["/openvpn.sh"]
CMD ["vpn"]

Does the docker run -it alpine route output look correct on your Fedora host (using stock base Alpine)? I tested with Docker 1.7.1 on Fedora 22 and it outputs correctly for me. I'm wondering if it is an issue with the OpenVPN image you are using or the openvpn Alpine package.

Bizzare:
 $ sudo docker run -it --name test alpine route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>      *               <IP_ADDRESS>     U     0      0        0 eth0

I'd be second-guessing my host configurations at this point, except that a debian:jessie base image with net-tools installed returns the correct input:
$ sudo docker run -it --name test test route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         <IP_ADDRESS>     <IP_ADDRESS>         UG    0      0        0 eth0
<IP_ADDRESS>      *               <IP_ADDRESS>     U     0      0        0 eth0

Docker daemon running with any special flags?
Can you try adding the net-tools package and running with /bin/route instead?
Can you show route output on the host as well?

I've the same problem in Raspberry Pi 2 (archlinuxarm)
[root@alarmpi ~]# docker run --rm hypriot/rpi-alpine-scratch route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0

[root@alarmpi ~]# docker run --rm hypriot/rpi-alpine-scratch ip route
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/16 dev eth0  src <IP_ADDRESS>

Is this also Fedora 22 host? Can you show the route route output?

Ah, I see it is Arch Linux. I'll try to get hold of some ARM hardware to test this.

I've tested on two Raspberry Pi 2B(archlinuxarm), I got the same result (default route is missing).
I'm trying to test on my Raspberry Pi B/B+.

I have not test on a clean system yet.
My current systems have VPN running, I even modified iptables.

I'm still waiting for routing tables from the host system. I haven't seen that in any output yet. It is possible that the host table is slightly different from the norm and musl libc is not interpreting it correctly.

This is my routing table from the host system:
[root@alarmpi ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>     <IP_ADDRESS>         UG    1024   0        0 eth0
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 docker0
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth0
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS> UH    1024   0        0 eth0

[root@alarmpi ~]# ip route
default via <IP_ADDRESS> dev eth0  proto dhcp  src <IP_ADDRESS>  metric 1024
<IP_ADDRESS>/16 dev docker0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/24 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS> dev eth0  proto dhcp  scope link  src <IP_ADDRESS>  metric 1024

The last line seems very dubious. You have a route for a single IP on a port and that IP happens to be your default gateway. I'll bet this is invalid in musl and is being ignored.

After I delete last line, the result is still the same.
[root@alarmpi ~]# ip route del <IP_ADDRESS>

[root@alarmpi ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>     <IP_ADDRESS>         UG    1024   0        0 eth0
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 docker0
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth0

[root@alarmpi ~]# systemctl restart docker

[root@alarmpi ~]# docker run --rm hypriot/rpi-alpine-scratch route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0

I have run into the same issue. After trying some older versions, I found that route works correctly in alpine:2.7. Compare:
$ docker run --net=container:openvpn-c.service -it --rm alpine:2.7 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>        <IP_ADDRESS>       UG    0      0        0 tun0
<IP_ADDRESS>         <IP_ADDRESS>     <IP_ADDRESS>         UG    0      0        0 eth0
<IP_ADDRESS>        <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 tun0
<IP_ADDRESS>   <IP_ADDRESS>     <IP_ADDRESS> UGH   0      0        0 eth0
<IP_ADDRESS>       <IP_ADDRESS>        <IP_ADDRESS>       UG    0      0        0 tun0
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0

$ docker run --net=container:openvpn-c.service -it --rm alpine:3.2 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>        <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 tun0
<IP_ADDRESS>   <IP_ADDRESS>     <IP_ADDRESS> UGH   0      0        0 eth0
<IP_ADDRESS>       <IP_ADDRESS>        <IP_ADDRESS>       UG    0      0        0 tun0
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0

Alpine < 3 is based on uClibc so this is likely something to do with musl libc. Though, i'm not sure how to debug yet.

Possibly related to this? The symptoms certainly seem to match.

I installed the latest Arch Linux ARM on Raspberry Pi 2.
I need to override docker.service (docker/docker#16256) to start docker daemon.
The result of route is correct.
[root@alarmpi ~]# cat /etc/systemd/system/docker.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/docker -d -H fd:// --exec-opt native.cgroupdriver=cgroupfs

[root@alarmpi ~]# docker run --rm hypriot/rpi-alpine-scratch route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>     <IP_ADDRESS>         UG    0      0        0 eth0
<IP_ADDRESS>      <IP_ADDRESS>         <IP_ADDRESS>     U     0      0        0 eth0

Can others having this issue check if setting --exec-opt native.cgroupdriver=cgroupfs on the daemon fixes it? Sounds like it may be related to systemd.

Can someone who was experiencing this problem see if Alpine 3.3 works any differently? I have a build artifact for 3.3 RC1 you can import with wget -qO - https://circle-artifacts.com/gh/gliderlabs/docker-alpine/303/artifacts/3/home/ubuntu/docker-alpine/images/gliderlabs_alpine:3.3-303.tar.gz | docker load.
I still don't have a way to reproduce this. Maybe it is a bug that is fixed in later BusyBox or utilities in Alpine 3.3.

Anyone able to confirm if this is still an issue before I close? I want to confirm that it is still an issue. If it was related to the previously posted patch it looks like it is in Kernel 4.2.0-7.7 per https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1483440.

Sorry for the silence, @andyshinn. Can neither confirm nor deny that the issue is solved, as I abandoned the project some time ago. Closing.


Check the return value of msg.sender.send

The compiler used in Truffle 2.0.8 raises error if send is not wrapped with if()
Instead of
msg.sender.send(msg.value);

do
 if(msg.sender.send(msg.value);){}

whether you want to throw in case of failure is another story.

https://github.com/makoto/blockparty/pull/18


Translation - Japanese - i18n

This issue is here to create japanese translation of our app. Can be done by adding jp.json and translating all field values from en.json
https://github.com/arc53/DocsGPT/tree/main/frontend/src/locale

Do you accept DeepL/Google translation or do you want someone experienced in japanese.

@charlesnilsson  Not necessarily need someone to know japanese, will accept ai translation. Would appreciate if someone with Japanese knowledge can just proofread

Honestly im not sure, try it out, would suggest you try them here

So that we can also see if anything will break in the middle

@dartpain This is my first time trying to make a pull request. If something went wrong, just tell me! 😅


For #128 - Use Datasource Builder to build a Hikari datasource & apply configuration properties

For #128

This PR seems to be concurrent with #129 . What do you plan to do with this one?

this was just an example to the alternative approach. but it looks like the property overriding approach is good from spring team. will close.


MudTable RightClick ContextMenu

Feature request type
Enhance component
Component name
MudTable
Is your feature request related to a problem?
I'm trying to implement a right click context menu on a table row. There is support for OnRowClick but this only responds to left click.
Describe the solution you'd like
I'd like a solution to implement a right click context menu for a table row.
Have you seen this feature anywhere else?
https://github.com/stavroskasidis/BlazorContextMenu/blob/develop/ReadmeResources/blazor-context-menu-demo-2.gif
Describe alternatives you've considered
This: https://github.com/stavroskasidis/BlazorContextMenu
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@jlcfg this is actually something that I'm currently working on for a contribution. I'm ironing out the configuration for the context menu generation right now. The solution I'm building will actually give the capability to put a context menu anywhere you'd like and not just on MudTable.

@jlcfg this is actually something that I'm currently working on for a contribution. I'm ironing out the configuration for the context menu generation right now. The solution I'm building will actually give the capability to put a context menu anywhere you'd like and not just on MudTable.

Isn't it possible for now?
https://mudblazor.com/components/menu#12059f72-6609-4056-ae71-b184668de2c1
We can wrap a whole page with MudMenu and set PositionAtCursor parameter.

So you can do something similar with a row definition like this:
<MudTd DataLabel="Col1">
    <MudMenu<EMAIL_ADDRESS>Dense="true"  >
        <ActivatorContent >
             -- Put the content of your row column here --
        </ActivatorContent>
    <ChildContent>
        <MudMenuItem @onclick="(() => SubMenu1OnClick(context))">Option One</MudMenuItem>
        <MudMenuItem @onclick="(() => SubMenu2OnClick(context))">Option Two</MudMenuItem>
        <MudMenuItem @onclick="(() => SubMenu3OnClick(context))">Option Three</MudMenuItem>
    </ChildContent>
    </MudMenu>
</MudTd>

Then your "SubMenu1OnClick" method looks like this:
public async void SubMenu1OnClick(ItemClickEventArgs e) { -- Do things here, your row data is found in e.Data --  }

However, this has a downside that I have no managed to resolve: The menu will close if the page is rendered, and my table has live data in it. Maybe this won't be a problem for you.
I also tried https://github.com/stavroskasidis/BlazorContextMenu which works fantastically, but I can't work out how to use the mudblazor themes with it (in darkmode, it stays light, but the text also goes light and unreadable).


⚠ GitLab Server has degraded performance

In 00a5514, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7503 ms

Resolved: GitLab Server performance has improved in 815428c.


Adding Synthetix Staking app

Closing it because of the issue reported it https://github.com/gnosis/safe-apps-list/issues/31. Feel free to open if you decide to optimize the problem


Corrects a broken link from the widgets documentation to the extending page.

- Summary
Corrects a broken link from the widgets documentation to the extending page.
- Test plan
Manual testing.
- Description for the changelog
Corrects a broken link from the widgets documentation to the extending page.
- A picture of a cute animal (not mandatory but encouraged)
https://i.ytimg.com/vi/QXtC0jOVZNs/hqdefault.jpg

Thanks for this @hamish! Believe it or not, this exact change is already open in a previous PR. There's a reason this is broken, and the fix is a tad complicated, check out #471 for details.


New feature - run configurations

This PR adds a new feature: Run configurations. Very much inspired by the jetbrains IDEs' feature of the same name. You can now run any program from inside the IDE.
It would be much appreciated if I could get some help with the UI/UX design specifically the run configurations-editor is not very pretty and could use some love
https://user-images.githubusercontent.com/4085393/200134260-b52d2600-0536-462d-b81e-c3b04ac8de4d.mov
Features

Add run configurations: run any kind of program from inside H-UPPAAL

Fixes / Minor improvements

Cleanup in classes that affect the run configurations feature
Buttons now have a subtle hover-effect, enhancing the user experience a bit
Updated gson to version 2.10 (notably, records can now be serialized/deserialized!)
add version information into the statusbar

Missing Tasks

[x] Clicking "stop" whilst a run configuration is running should SIGTERM it, right now it just adds another thread
[x] Bump version number
[x] Run configurations should be able to provide additional environment variables to the command
[x] Test on MacOS
[x] Test on GNU/Linux
[ ] Test on Windows

For the moment run configurations will be stored in preferences. I personally think they should be saved in the project files instead. However, to keep the scope reasonable I have omitted this from this PR.
The output of a command will currently be put in the "Warnings" tab. This is not ideal, however I am also working on a complete rewrite of the CodeAnalysis/Logging system (I will make sure to keep it backwards compatible to ensure that the uppaal integration still works) so unless it's a really big issue (or easy to fix) I have also considered that "out-of-scope" for this PR.

What is the intended use case for this feature?
I personally would just use a terminal to run executables and wonder if this is outside the scope of the application. It is probably just because I do not have a lot of experience using the system, but an example of a use case would be nice

The specific use-case would be that at our company we use a custom model compiler, debugger and a bunch of other utility tools (upload-scripts, unit-test runners etc.).
Model-designers are not necessarily developers themselves and they don't necessarily know how to use a terminal (especially on window, this can be a problem) so this feature provides a generic way to integrate our tools, and makes it much easier to iterate on a model and get feedback from our tools.
In combination with the logging system refactor tools can provide clickable links to exactly where an error has occurred - providing a seamless developer experience.
From the perspective of running a model-checker on your models, I would argue that it is more seamless to simply push a button in the editor and click on the problem, than to tab out, write the command, and interpret the standard-output manually to find the culprit component/syntax error/whatever went wrong.
For this feature to be truly complete, run-configurations would have to be saved per-project and should be "shareable" (through git) rather than saved in the global preferences. However, I dont have much insight in the model-representation part of the codebase (right now, I'm slowly learning the architecture) so I haven't implemented that yet.


How to use EMA model to do evaluation or test?

Do you mean adding EMA to models?  All models trained in mmdetection can do evaluation and testing by tools/test.py

Do you mean adding EMA to models? All models trained in mmdetection can do evaluation and testing by tools/test.py

I add custom hook to add EMA during training, but the keys in saved checkpoints is ema_xxx_xxx_xxx, which is hard to transfer to normal key names. I just want to know that is it using EMA model to evaluate results by default if EMAHook is in the config during test?

In EMA model, we register ema_xxx_xxx_ in the model as buffer. The normal keys are also in the model state_dict, so you can directly evaluate results by default.

In EMA model, we register ema_xxx_xxx_ in the model as buffer. The normal keys are also in the model state_dict, so you can directly evaluate results by default.

Do you mean directly evaluate results is equal to use the EMA model to evaluate instead of the online model?

I mean you can directly load the .pth model in tools/test.py. It will test normally. The parameters starting with ema will not influence the work of tools/test.py

Thanks for the answer. My point is, when we using EMA, there are two models, one is online model, and another is the EMA model (the temporal ensemble model). Just like the student model and the teacher model in mean teacher.
I want to know when we evaluate result, which model would be used?

You can directly use the saved model. EMAHook will swap the ema model and the normal model before CheckPoint saving.

Code can be found at here

Code can be found at here

Thanks a lot! Could you give me some advice about how to ensemble the results from different detectors?

Code can be found at here

Thanks a lot! Could you give me some advice about how to ensemble the results from different detectors?

Maybe you can refer to more materials related to ensemble learning.


Update things that need ingress changes for k8s 1.22+

https://github.com/dmwm/CMSKubernetes/pull/966 is merged


Options to extend statoscope report

Is your feature request related to a problem? Please describe.
Hi, I'm looking for a way to use the default statoscope report with additional data (not stats.json) and views.
As I see there are no options like that in the cli and webpack-ui. What do you think about adding this feature?
Describe the solution you'd like
I'd like to define a config for the cli and specify paths to stats.json and myData.json, jora helpers, queries, pages.
Describe alternatives you've considered
Also statoscope could provide a config with its views and data transformations for a separate new discovery.js instance.

Hi. Thanks for the issue.
Yep, this feature is in plan and will be implemented soon, after I done another cool feature that I’m working on :)

Release in v5.9
Please, see an example ☺


Add ZoomHub to Haskell powered web services

URL: http://zoomhub.net

Nice! :)
Thanks for the pull request


Safety is triggered with grepper open/close commands

As shown in the video below, when the gripper's open/close commands are sent, safety is triggered and the open/close cannot be completed.
[warning] Gripper safety triggered on R_UTHUMB

https://user-images.githubusercontent.com/6636600/235350928-027f1642-d43c-4dee-8471-d5375878a571.mp4
As shown in the graph below, the gripper joint does not track well.

Below is the same graph for the case of mc_openrtm + Choreonoid. This graph shows good tracking.

For reference, the PD gains for joint control in mujoco are as follows: Increasing the PD gain did not improve the results.
[info] [mc_mujoco] R_UTHUMB, pgain = 30.0, dgain = 3.0
[info] [mc_mujoco] R_LTHUMB, pgain = 30.0, dgain = 3.0
[info] [mc_mujoco] R_UINDEX, pgain = 30.0, dgain = 3.0
[info] [mc_mujoco] R_LINDEX, pgain = 30.0, dgain = 3.0
[info] [mc_mujoco] R_ULITTLE, pgain = 30.0, dgain = 3.0
[info] [mc_mujoco] R_LLITTLE, pgain = 30.0, dgain = 3.0

Hi @mmurooka san,
If I reduce the maximum velocity percentage (from 0.250 to about 0.050), opening/closing works as expected and safety is not triggered. Is it the same in choreonoid?
If the grippers can work fine at higher max velocity in choreonoid, maybe the inertial parameters of the gripper links in mujoco are wrong?

If the grippers can work fine at higher max velocity in choreonoid

Yes.

Below is the same graph for the case of mc_openrtm + Choreonoid. This graph shows good tracking.

This graph shows data from Choreonoid with the default parameters (i.e., maximum velocity percentage is 0.250).

the inertial parameters of the gripper links in mujoco are wrong?

The inertia parameters seem to be consistent (and the other parameters also seem to be consistent at a glance).
MuJoCo model: https://github.com/isri-aist/jvrc_mj_description/blob/bfb2bf25966ddfe0d0248385ef7e2586963c86a0/xml/jvrc1.xml#L310
Choreonoid model: https://github.com/jrl-umi3218/mc_openrtm/blob/master/projects/JVRC1/model/JVRC1/main.in.wrl#L776-L778

In the mc_rtc log in mc_mujoco, I found that the alphaOut (command velocity) of the gripper joints is always zero. For other joints (e.g. leg joints), the alphaOut is set correctly.

In the mc_rtc log in mc_mujoco, I found that the alphaOut (command velocity) of the gripper joints is always zero. For other joints (e.g. leg joints), the alphaOut is set correctly.

The above was reproduced in both logs of mc_mujoco and Choreonoid (via mc_openrtm). This means that the issue is not with mc_mujoco, but with mc_rtc. In the case of Choreonoid, the PDcontroller RTC calculates the target velocity independently of mc_rtc, so the safety triggering issue did not occur.

Yes, I confirmed alphaOut for gripper joints is zero even in case of HRP5P. And HRP5P grippers work fine in mc_mujoco

And HRP5P grippers work fine in mc_mujoco

Perhaps the velocity limit of the gripper joints was originally small, so that even with imperfect PD control, the safety trigger threshold was not exceeded. If you check the graphs for the tracking of the gripper joints, I would expect MuJoCo to have poorer performance than Choreonoid (or real robot).

The grippers are always position controlled outside of the QP in mc_rtc so alphaOut is not filled for them. This can be fixed in mc_rtc but as a quick fix, I tried the following:
diff --git a/src/mj_sim.cpp b/src/mj_sim.cpp
index 04d3325..a9ca294 100644
--- a/src/mj_sim.cpp
+++ b/src/mj_sim.cpp
@@ -649,7 +649,7 @@ void MjRobot::updateControl(const mc_rbdyn::Robot & robot)
     if(jIndex != -1)
     {
       mj_next_ctrl_q[ctrl_idx] = robot.mbc().q[jIndex][0];
-      mj_next_ctrl_alpha[ctrl_idx] = robot.mbc().alpha[jIndex][0];
+      mj_next_ctrl_alpha[ctrl_idx] = (mj_next_ctrl_q[ctrl_idx] - mj_prev_ctrl_q[ctrl_idx]) / 0.005;
       mj_next_ctrl_jointTorque[ctrl_idx] = robot.mbc().jointTorque[jIndex][0];
       ctrl_idx++;
     }

This still tracks poorly.
I then changed the PDgains from 30/3 to 500/24. I almost got there but it was not tracking the closing well. It turns out with the most recent modification on the gripper kinematic there's a self-collision between some of the fingers joints and the wrist link. After filtering those, the grippers can track without issue even at max speed.
I have pushed the changes I have made to the model. With the default velocity setting (0.25) it can track without the patch in mc_mujoco. I have opened an issue in mc_rtc to track the underlying issue.

Thank you @gergondet

It turns out with the most recent modification on the gripper kinematic there's a self-collision

I hadn't noticed this..
After the underlying issue is resolved on the mc_rtc side, the PD gains may be changed to be the same as for Choreonoid (currently only gripper joints have different gains).

After the underlying issue is resolved on the mc_rtc side, the PD gains may be changed to be the same as for Choreonoid (currently only gripper joints have different gains).

I will give it a look after the fix happens in mc_rtc. I just put arbitrarily high gains to check the tracking issue after the temporary fix but I hand't realized the gains were updated on Choreonoid side.

Now that the issue is patched on mc_rtc side I gave it a try with the 100/10 gain. It's ok for the default velocity setting but still fails to track at 100% velocity. I haven't check in Choreonoid yet if the same issue happens.

Thank you. I tried it with a non-patched version of mc_rtc, but gripper opening/closing worked with Choreonoid at 100/10 gain even at 100% velocity.
I don't necessarily insist on having the gains exactly the same for Choreonoid and MuJoCo, so even if you need different gains to match the behavior of Choreonoid and MuJoCo, closing this issue is not a problem for me.

Ok, after giving it a few more tries to bring the gains closer to Choreonoid I have decided to give up for now and keep the gain we have that works correctly at 100% speed after the issue has been addressed on mc_rtc side.


Multiple Endpoint object query fix

This quick fix is an extension of #3612 such that a workaround is applied to import and re-import in both the UI and the API. Though this is not a "proper" fix as desired by #3613, it will get the job done in the meantime.

Do we have some example data dumps maybe of instances where we have duplicate entries? Ideally we do the proper fix at some point :-)

Do we have some example data dumps maybe of instances where we have duplicate entries? Ideally we do the proper fix at some point :-)

No actually. I've never been able to reproduce. From what I've gathered so far, this only happens in the the event of a race condition like situation such as when two operations use the get_or_create method at the exact same time and both end up creating the object. Once the third time comes around, it will then find two objects.

No actually. I've never been able to reproduce. From what I've gathered so far, this only happens in the the event of a race condition like situation such as when two operations use the get_or_create method at the exact same time and both end up creating the object. Once the third time comes around, it will then find two objects.

Either way eventually there should be some kind of database constraint to prevent this from happening.

https://stackoverflow.com/questions/6586552/django-how-to-do-get-or-create-in-a-threadsafe-way

Either way eventually there should be some kind of database constraint to prevent this from happening.

https://stackoverflow.com/questions/6586552/django-how-to-do-get-or-create-in-a-threadsafe-way

Eventually yes.

Eventually yes.


Specs related upgrades

Wrong branch.

The right branch is the one merged into #3779, commit hash 0dae805c88847bf4b11f4cee95638743e8c6ec4f.


Updated validations.py python script.

Fixed the behavior of validate_user function in validations.py.
Closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!
El 2020-12-30 16:20, google-cla[bot] escribió:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for
help). Before we can look at your pull request, you'll need to sign a
Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with
@googlebot I signed it! and we'll verify it.
WHAT TO DO IF YOU ALREADY SIGNED THE CLA
INDIVIDUAL SIGNERS

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
[1] and verify that your email is set on your git commits [2].

CORPORATE SIGNERS

Your company has a Point of Contact who decides which employees
are authorized to participate. Ask your POC to be added to the group
of authorized contributors. If you don't know who your Point of
Contact is, direct the Google project maintainer to
go/cla#troubleshoot [3] (Public version [4]).
The email used to register you as an authorized contributor must
be the email used for the Git commit. Check your existing CLA data [1]
and verify that your email is set on your git commits [2].
The email used to register you as an authorized contributor must
also be attached to your GitHub account [5].

ℹ Googlers: Go here [6] for more info.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [7], or unsubscribe
[8].
Links:
[1] https://cla.developers.google.com/clas
[2] https://help.github.com/articles/setting-your-email-in-git/
[3] http://go/cla#troubleshoot
[4] https://opensource.google/docs/cla/#troubleshoot
[5] https://github.com/settings/emails
[6]
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogle%2Fit-cert-automation-practice%2Fpull%2F10935
[7]
https://github.com/google/it-cert-automation-practice/pull/10935#issuecomment-752775739
[8]
https://github.com/notifications/unsubscribe-auth/AQX5YVMCRP3G3W7S3DSP4FLSXORTLANCNFSM4VOYWTWA

@googlebot I signed it!
El 2020-12-30 16:20, google-cla[bot] escribió:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for
help). Before we can look at your pull request, you'll need to sign a
Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with
@googlebot I signed it! and we'll verify it.
WHAT TO DO IF YOU ALREADY SIGNED THE CLA
INDIVIDUAL SIGNERS

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
[1] and verify that your email is set on your git commits [2].

CORPORATE SIGNERS

Your company has a Point of Contact who decides which employees
are authorized to participate. Ask your POC to be added to the group
of authorized contributors. If you don't know who your Point of
Contact is, direct the Google project maintainer to
go/cla#troubleshoot [3] (Public version [4]).
The email used to register you as an authorized contributor must
be the email used for the Git commit. Check your existing CLA data [1]
and verify that your email is set on your git commits [2].
The email used to register you as an authorized contributor must
also be attached to your GitHub account [5].

ℹ Googlers: Go here [6] for more info.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [7], or unsubscribe
[8].
Links:
[1] https://cla.developers.google.com/clas
[2] https://help.github.com/articles/setting-your-email-in-git/
[3] http://go/cla#troubleshoot
[4] https://opensource.google/docs/cla/#troubleshoot
[5] https://github.com/settings/emails
[6]
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogle%2Fit-cert-automation-practice%2Fpull%2F10935
[7]
https://github.com/google/it-cert-automation-practice/pull/10935#issuecomment-752775739
[8]
https://github.com/notifications/unsubscribe-auth/AQX5YVMCRP3G3W7S3DSP4FLSXORTLANCNFSM4VOYWTWA


iOS Safari nav exapanding over zoom controls

Unlike other mobile browsers iOS Safari's normal behavior is to shrink the top address bar and hide the bottom navigation during fullscreen zoom. In many situations - if one touches the top address bar area the top and bottom bar expand - and remain that way - but hides the built-in controls.
This leaves only one option for the user - to reload the whole page to get out of the zoomed state.
On an iPhone 6 Plus - the hidden issue occurs upon zoom itself vs. the accidental touching of the top bar.  Very frustrating - and I know it's more of a Safari issue - but hope someone here may have insight into a workaround.
I use Bootstrap.  The issue occurs if I use the openseadragon-canvas in less than a full width grid (example:  have content on the same row in a different column).
And I've seen it manifest itself on other sites.
Any suggestions would be greatly appreciated!

Example page:  http://deepzoomchattanooga.com/gpn2.php
Code:
<!DOCTYPE html>

    <META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
      <META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">
        <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

          <meta charset="utf-8">
          <meta http-equiv="X-UA-Compatible" content="IE=edge">
          <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
          <meta name="apple-mobile-web-app-capable" content="yes">
          <meta name="mobile-web-app-capable" content="yes">

          <title>
            New Page
          </title>

          <link href="/bootstrap336/css/theme.min.css" rel="stylesheet">

          <link href="/bootstrap336/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

Demo

                    Set One

                  Lorem ipsum dolor sit amet, ad eam epicuri adipiscing delicatissimi, ludus menandri eu mel, has cu dolorum graecis neglegentur. Eum an populo facilisi, no solum soluta iriure has, sint tractatos interesset et sit. Vix ea appetere scriptorem, audire abhorreant eum no. Amet recusabo sententiae per ex. Ut sea velit ornatus facilis. Ignota regione cu sea, apeirian iudicabit ut eam.

                  Lorem ipsum dolor sit amet, ad eam epicuri adipiscing delicatissimi, ludus menandri eu mel, has cu dolorum graecis neglegentur. Eum an populo facilisi, no solum soluta iriure has, sint tractatos interesset et sit. Vix ea appetere scriptorem, audire abhorreant eum no. Amet recusabo sententiae per ex. Ut sea velit ornatus facilis. Ignota regione cu sea, apeirian iudicabit ut eam.

Zoom Images for everyone

Playing with your example on an iPhone, there is another way for the user to get the controls back: tapping at the very top of the address bar. This is the standard gesture for scrolling to the top of the page, and sure enough it scrolls the image down enough that the controls become visible again.
Of course we want to do this programmatically instead of relying on the user to do it. Perhaps you could watch for resize and/or scroll events to see if there's a way to know when the address bar appears, and then resize and/or scroll the viewer or page.
If you find a good solution for your page, maybe there's something from that that could be included into OpenSeadragon to make it even more automatic.
Incidentally, since zoom and pan are such common gestures on smart phones, the user doesn't really need any of the buttons in the OSD control bar except for the "exit fullscreen" button. Maybe you could take advantage of that fact somehow.

Well I must admit I had not tried that.  Apparently this is an iOS Safari issue only that is driving many developers nuts.
I typically use custom buttons and hide unwanted buttons via options.  (I re-enabled those on the demo link now)
However,  I believe hiding or changing what is shown on fullpage requires additional script - yes?
I do realize this isn't really an OpenSeadragon issue as much as it is an Apple/Safari pain.
Thanks.

Did you have any luck watching for size/scroll events on the window?
And yes, if you want to do something special in full page mode, you can watch for OSD's events for going into and out of that mode.

Not yet - had to focus on boring full-time job stuff : )
But I will revisit the subject / solution.
Thanks.


follow up on: BARK - The BOINC volunteer cluster manager for Apache Spark

 Issue by Erkan-Yilmaz
Tuesday Jan 24, 2017 at 11:19 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/57

mentioned in hangout 4: 0:35:41
status about emails ? if no replies: other ways/thoughts ?

discussing 'BARK - The BOINC volunteer cluster manager for Apache Spark'

students created this platform, not opensource at the moment, released 2015/2016
poster
fits good to make commercial projects to use in Gridcoin/BOINC

 Comment by grctest
Tuesday Jan 24, 2017 at 11:27 GMT

I wrote to the listed project supervisor in the paper/poster, as the student's listed email addresses are no longer in use (they've graduated); The supervisor has no up-to-date contact details (probably just privacy/data-protection concerns getting in the way).
We could approach them via LinkedIn. One of the students works at Google, and another works at MongoDB - they're probably unlikely to create the project, but it'd be great if they were to open source any of their project's code!
Anyone feel like volunteering for some social media networking?


Feature request: Removing [[]] links before export

Feature request: Removing [[]] links before export to none hypertext (e.g. odt, docx, etc)

Good idea, I'll probably do this by default. Do you think it should remove links entirely or display the link text as normal text?

I imagine a lot of people want to be able to export DOCX and PDF for publication in print where the link will not matter. As such, I would remove it entirely by default, with perhaps an option to display it as a link.

I'd love this as a filter of sorts! Personally, I would want the brackets to disappear, but the note name to stay [[Note]] -> Note.
Also, my use case would give an alias highest precedence. So [[Note|Alias]] -> Alias

Okay, what I'll probably do is add a dropdown then with three options:

Keep links there (but they don't do anything)
Convert links to plain text (giving aliases a higher precedence than note names)
Strip links entirely

I think I'll make no. 2 the default setting, as no. 3 is destructive.

Fixed! Here's a screenshot of the new setting:

This seems to be broken when exporing to PDF?
I am using version 0.2.5 and the links are treated just as text i.e. resulting in [[link]]

Even though I've chosen to remove links, after exporting, the document still treats it as text and includes two square brackets. What should I do? Thank you.

I have the same issue!

Even though I've chosen to remove links, after exporting, the document still treats it as text and includes two square brackets. What should I do? Thank you.

I have the same issue!

Even though I've chosen to remove links, after exporting, the document still treats it as text and includes two square brackets. What should I do? Thank you.

Same issue.


Out of focus when pinned to overflow menu

If you pin the extension icon to the overflow menu the keyboard shortcut will open the window but it will default to being out of focus.
Could be an easy fix, could just be the nature of Firefox rendering the overflow menu first and focusing it.
Steps:

Pin the extension icon to the overflow menu
Activate the QuickTabSwitch window via the keyabord shortcut

This seems to be an issue with how Firefox handles the overflow menu. It doesn't give focus directly to popups in the overflow menu. You can focus the popup when it's in the overflow menu by pressing tab twice. The first tab puts focus on the back button above the popup, and the second one puts focus on the popup itself.

Closing this because it seems that Firefox changed how the overflow menu works since this issue was opened. It seems to work as intended now.


CW-172: "Unpublish on two issues" mechanism causes old betas to become unrecoverable

Motivated by this post (but discovered some time ago already, but I cannot find any report):
To force new authors to curate their kata better, the mechanism has been introduced which causes beta kata to be auto-unpublished when they collect two issues during 24h (?) curation period after being published. The mechanism was meant to reduce the amount of newly published, bad kata, which can be fixed by authors and republished. However, it affects also old kata, when author is long gone, and there is no one to republish them.
To reproduce:

Find an old beta kata.
Do anything what causes update of its "modified" timestamp: approve a pending translation, create and approve a fork with a fix, edit it with kata editor and republish, etc.
Raise an issue or two on it (depending if it already has a pending issue or not), or use the "recalculate stats" mender action (if the kata has at least two issues).

At this point, the kata gets unpublished and moved to draft state. If its author is inactive, the kata cannot be recovered.
The effect is deemed to be undesired, because initially it was meant to handle only new kata, while their authors are still around, ready to react to issues.

another case here...: https://www.codewars.com/kata/55a9a6ffd7f21d7d000000e5/discuss
Author gone since 2015 / got unpublished with my issue...

Escalated to CW-172

This was introduced in June 2022:

Recently published kata (within the past 48h) is now automatically unpublished if it has 2 unresolved issues.
https://github.com/codewars/codewars.com/discussions/2600#discussioncomment-2969174

We overlooked that the "last published at" timestamp is modified by actions other than the original author publishing the kata. Not sure what's best to do. I don't want to change this and affect other stuff, nor add a new field just to track when the original author published the kata.

If its author is inactive, the kata cannot be recovered.

Can you (a mod) publish the draft kata from the editor? Maybe I'm overlooking something, but I don't think I see anything preventing that. Note that we don't allow publishing draft kata with unresolved issues, as proposed in #2598, so the "Publish" button should be disabled until the issues are resolved.

Attempting to republish a draft with no issues initially looked like it was working, but then I found myself on a page "You do not have permissions to view this page", and the publish did not work.

Can you (a mod) publish the draft kata from the editor? Maybe I'm overlooking something, but I don't think I see anything preventing that.

I think it's never been possible?
I just tried and got the same result as Kacarott: the Publish button is clickable, but after clicking it I end up with "You do not have permissions to view this page" and kata state seems to be not changed.

Thanks for checking. It took me forever to find why mods can save, but not publish a draft kata you don't own :man_facepalming:
I'll make these kata recoverable by allowing the mods to publish them like admins.

Would love to see the if which caused this :D

Will this also allow mods to publish even with open issues? This behaviour happens when some recently updated kata gets some new issues, so it would be nice to be able to directly republish without having to close the issues, republish, then re-open the issues.

can't you confirm that the issue is resolved, close the issue, then republish? Isn't that what the author is doing?

That's what's currently happening, yes.

I forgot exactly why we decided to disable publishing with unresolved issues

There were mostly 2 reasons (maybe I forgot some others, tho):

Most (newbie) authors will insta-republish if they can, even without solving the issues, so the kata will definitely get retired even if it has potential. This slow burn makes the beta process less destructive for authors, and less upsetting for beta testers.
At some point in the past, this also was an anti-troll-kata/author measure.

In most cases when a kata is unpublished, the original author will still be active, and they have easy access to their own kata and are usually the main person responsible for fixing the issues, so it works out well. But in the case where a kata is old and the author long gone, then theoretically mods can fix the issues and then resolve and republish, but it means that the responsibility for fixing the kata lies mostly on the mods, and in the time until its fixed, no one has easy access to the kata, they have to save the url somewhere.
I think it would be a lot more convenient if mods could republish even with open issues, because it allows old kata to still be accessed by other community members who might be interested in fixing it, and it also allows the kata to be republished quickly, before the link is lost.

I think it would be a lot more convenient if mods could republish even with open issues, because it allows old kata to still be accessed by other community members who might be interested in fixing it, and it also allows the kata to be republished quickly, before the link is lost.

Adding a condition to the unpublishing so that it doesn't happens when more than 2 issues are opened would avoid to auto-unpublish the old ones, maybe?

The change to allow mods to publish drafts was deployed, but I'm still thinking about republishing with unresolved issues and old betas with inactive authors.
Even if we allow the mods to republish with open issues, the kata will be unpublished whenever the current condition is met. I thought maybe we can check the date when the author last signed in, but that doesn't mean anything if they've lost interest in maintaining the kata.
Maybe we can add a way to flag a kata as "abandoned by author" and use it for special casing. If a kata is flagged as "abandoned", we won't auto-unpublish and allow mods to republish with open issues.

Maybe another metric could be kata age? Not 48h after "last published at", but (for example) 48h or 5 days or a week after "first published"? Kata seem to have such property because it is visible in "STATS" section of kata details? Or after first non-author solution, or attempt? This way, old kata would not get auto-unpublished regardless of the author's activity.

Good idea. Let's include when the kata was first published, and only consider unpublishing if the kata was first published at most a week ago. I think it still makes sense to only unpublish if the kata was last published within 48 hours. For example, don't unpublish if the kata had survived 3 days before 2 issues were opened.
Current condition:
total_unresolved_issues >= 2 && last_published_at >= 2.days.ago

New condition:
published_at >= 1.week.ago && total_unresolved_issues >= 2 && last_published_at >= 2.days.ago

Deployed the change


GNAT Studio plugin is unable to display some graphs

This is caused by missing entries in the generated locations.json.
Example
% rflx graph -d generated specs/ipv4.rflx
Parsing specs/ipv4.rflx
Processing IPv4
Creating generated/IPv4_Option.svg
Creating generated/IPv4_Packet.svg

% cat generated/locations.json
{"specs/ipv4.rflx": {"IPv4_Packet": {"start": {"line": 39, "column": 9}, "end": {"line": 62, "column": 18}}}}

The location for IPv4_Option is missing.

The issue is fixed in RecordFlux 0.10.0.


Unarchive the cordentity project

The covid cause to a high demand on digital identity technology. The Cordentity implements an efficient way to connect Indy and Corda so it makes possible to build sophisticated use cases where a verifier accepts credentials directly to a private decentralized network. The project was archived in 2019 due to low support, but in the mid/end of 2020 there is a number of external requests to unfreeze the project.
Signed-off-by: Alexander Kopnin<EMAIL_ADDRESS>Signed-off-by: Ry Jones<EMAIL_ADDRESS>

This replaces #159

https://github.com/hyperledger-labs/cordentity


[feature] Adding the CVSS/CVE score

Is your feature request related to a problem? Please describe.
The default graphql schema CertifyVuln do not contain any information related to CVSS or score  (it exists only in the scorecard).
Describe the solution you'd like
I would like to access this information in the vulnerability field or even a related score mapping.
    vulnerability {
      __typename
      ... on CVE {
        id
        year
        cveId
        score // new cvss field
        severity // new cvss field
      }

Describe alternatives you've considered
Having the score for filtering and enumerating the CVEs is a fundamental requirement

Hmm i think in this case since score and severity are values that change and may have different values from different sources, perhaps a VulnerabilityMetadata node with these fields would be fitting here.
CVEs data type is considered immutable in our model, so there are potentially different values at different times or from different sources, it would not work with the current way CVE nodes are used.

+1 to the VulnerabilityMetadata node that can link to vulnerabilities nodes.
enum CVSSSeverity {
  NONE
  LOW
  MEDIUM
  HIGH
  CRITICAL
}

type VulnerabilityMetadata {
  id: ID!
  score: Float!
  severity: CVSSSeverity!
  origin: String!
  collector: String!
}

Any other fields that might be worth capturing?

nit:   timeStamp instead of timeScanned, since it is technically not a scan.
Also, i think there's both CVSS 2.0 and 3.0, these should be separate fields and optional in case it is not present.
I'd also be in favor for a additionalInformation field which is text string if there's any other information, as well as a links []string to point to other resources.

type VulnerabilityMetadata {
  id: ID!
  vulnerability: Vulnerability!
  "optional cvss 2.0 score"
  cvss2.0Score: Float
  "optional cvss 3.0 score"
  cvss3.0Score: Float
  timeStamp: Time!
  additionalInformation: String!
  "Pointing to other resources"
  links: [String!]
  origin: String!
  collector: String!
}

Agree about the severity: that can be calculated post-process depending on the CVSS version that is used. @mihaimaruseac @mlieberman85 Thoughts?

I wonder if it's worthwhile to separate out cvss from some of the metadata into its own node? I just worry about having a place where we're dumping whatever into this where most of it is optional and it can be difficult to sort out.

true. Same for the scores and they would default to nothing. Updating the above to capture this.

Thanks! I will open a PR and we follow the discussions from there

@knabben Based on chatting more on this issue, it was decided that we should move score into its own node type and remove links and additionalInformation. I will update the issue once we get some more consensus on the node definitions.

VulnerabilityMetadata node (one-to-one mapping to score). Mapping to vulnerability ID node

remove additional information and links
put a timestamp on the edge property
score node

score type enum
score string


no space on device

When I try the local deploy I get errors in the make images step.
8a0bc36f08cd: Error pulling image (latest) from docker.io/jupyter/minimal-notebook, Untar re-exec error: exit status 1: output: write /usr/share/locale/vi/LC_MESSAGES/git.mo: no space left on device LC_MESSAGES/git.mo: no space left on device

No lack of disk space on my system. Perhaps the created VM is limited?

Fixed in 85c0f23. virtualbox.makefile was missing exports on the target variables. They are now added to the recipe shell environment properly.


atom factory atoms getting confused with refresh plugin enabled

When the @swc-jotai/react-refresh plugin is enabled, atoms created using a factory function have their values confused (i.e. given two atoms with different initial values, both of them will have the same value). Disabling the plugin returns the atoms to the correct behavior.
See https://github.com/jvatic/pmndrs-swc-jotai-issue-4 for a minimal repro.

Thanks for the report @jvatic.
What is the expected outcome in this case? No refresh support for these scenarios? I don't think we can capture these factory scenarios.

@Thisen Yeah, no refresh support for these scenarios sounds reasonable. For my use case there are still a number of atoms using the regular flow where having refresh would be useful. (Ideally factory scenarios could be supported too, but I totally get that being out of scope.)

Should be fixed with<EMAIL_ADDRESS>


Possible crash in language server

https://github.com/AnalyticalGraphicsInc/gltf-vscode/blob/7e07889d105fa8850170ac3c09126e8f43cb5ec9/server/src/server.ts#L188-L203
The value of parseResult.jsonMap.data is used without checking if it's valid.
This appears to be triggered by some JSON that had the start of an array with an object inside, and the object ended in a close brace but the array was never closed.


Minification error caused by regular expresson

ASP.NET minfication library gives an error when trying to minify the canvg script. The problem which is causing an error is on line 144 the regular expresson /{[^]*/gm.
I have checked on regex101 and it seems like this regex is acceptable in the Javascript regex engine but not in others. If you go choose either the PHP or Python engines it is not a valid regex.
In the source code near this expression (line 124) is the following comment:
// slightly modified version of https://github.com/keeganstreet/specificity/blob/master/specificity.js
If you follow that link and view line 88 you will see the corresponding use of the problematic regular expression, and it states that it's purpose is to Remove anything after a left brace in case a user has pasted in a rule, not just a selector. You guys may be able to work this out from the regex itself but it's always been a bit of an arcane art to me :).
I understand that this is not a bug with canvg and the problem lies with the minification tool I am using, but I figure if the regex is tweaked and it does the same thing then please could it be merged in as it will save me running a mirrored repo. I am also going to look into the issues with Edge drawing black SVG's next so it would help if I can work on the main repo for that too.
If the regex is changed so a wildcard goes in the character search like so /{[^*]*/gm then it is valid in the other regex engines on regex101, see the following link: https://regex101.com/r/nU8sY7/1
I am going to make this change and do a pull request. Please feel free to shout at me for my dodgy regex skills but that change does seem to do the trick.

if it's valid JS, i would expect the asp.net minifier to be fixed, or make a PR on specificity repo and i'll pull in their changes if applied.  i want to be in sync with that library here to ensure all the same use cases are covered.


Android: firebase remote notification config error

useRemoteNotifications hook fails for android as right configurations are not added for android ejected source. Need to add relevant google services config for android.


Imp 380 wx symbols plugin additions

Reference issue if exists
Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

Changes look good to me and it is so much better having human readable values in the decision tree :+1: . I've rerun the tests and they all worked. Sphinx is complaining about some of the formatting but I think this is because this pull request was created before the fixes went in. I might be worth just checking this after the code has  been merged.

I didn't see the warnings Caroline did when I ran the tests for the docs, probably because I merged it on top of master for testing. I only got one warning of the form:
home_space/improver/doc/source/modules.rst:: WARNING: document isn't included in any toctree
WARNING: html_static_path entry u'home_space/doc/source/_static' does not exist


Release article fixes

Issue number
#159
#158
Description

Added instructions for people that want to write articles
Updated URL link
Added beta 1 and beta 2 release notes

btw you can automatically mark an issue as fixed with Fixes #<issue number>

We also should probably add a remark to the 4.4 alpha 1 that it was originally released as 4.4 beta 1 by mistake.


Node v16 dependency deprecation warning

Node version: 16.0.0
Sails version (sails): 1.4.2

(node:6690) [DEP0128] DeprecationWarning: Invalid 'main' field in '<REDACTED>/node_modules/mpbasic/package.json' of '/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)

One of the dependencies throws a warning on latest node

Hi @0xGREG, mpbasic is not a dependency of Sails or any of our dependencies.

Try changing node version to 10..It works


[Bug]:  Missing packaging module

Describe the bug
I follow the installation instruction by running pip install autogenstudio then followed by autogenstudio ui.
The UI does not launch with error complains missing packaging module.
Resolution
Run pip install packaging
Steps to reproduce

conda activate autogenstudio
export AZURE_OPENAI_API_KEY=xxx
pip install autogenstudio
autogenstudio ui

Model Used
gpt-4
Expected Behavior
Server should start
Screenshots and logs
No response
Additional Information
No response

I'm experiencing this as well.  Full error:
Traceback (most recent call last):
File "/home/autogen/.local/bin/autogenstudio", line 5, in
from autogenstudio.cli import run
File "/home/autogen/.local/lib/python3.11/site-packages/autogenstudio/init.py", line 1, in
from .chatmanager import *
File "/home/autogen/.local/lib/python3.11/site-packages/autogenstudio/chatmanager.py", line 11, in
from .utils import extract_successful_code_blocks, get_modified_files, summarize_chat_history
File "/home/autogen/.local/lib/python3.11/site-packages/autogenstudio/utils/init.py", line 2, in
from .utils import *
File "/home/autogen/.local/lib/python3.11/site-packages/autogenstudio/utils/utils.py", line 8, in
import autogen
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/init.py", line 3, in
from .agentchat import *
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/agentchat/init.py", line 2, in
from .assistant_agent import AssistantAgent
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/agentchat/assistant_agent.py", line 5, in
from .conversable_agent import ConversableAgent
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/agentchat/conversable_agent.py", line 19, in
from ..code_utils import (
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/code_utils.py", line 15, in
from autogen import oai
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/oai/init.py", line 2, in
from autogen.oai.client import ModelClient, OpenAIWrapper
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/oai/client.py", line 15, in
from autogen.oai.openai_utils import OAI_PRICE1K, get_key, is_valid_api_key
File "/home/autogen/.local/lib/python3.11/site-packages/autogen/oai/openai_utils.py", line 14, in
from packaging.version import parse
ModuleNotFoundError: No module named 'packaging'


Update reactivemongo-bson-api to 1.0.5

Updates org.reactivemongo:reactivemongo-bson-api from 1.0.4 to 1.0.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.reactivemongo", artifactId = "reactivemongo-bson-api" } ]

labels: library-update, semver-patch

Codecov Report

Merging #190 (0eece58) into master (4696822) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #190   +/-   ##
=======================================
  Coverage   41.66%   41.66%
=======================================
  Files           1        1
  Lines          36       36
  Branches        1        1
=======================================
  Hits           15       15
  Misses         21       21

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4696822...0eece58. Read the comment docs.


Handle message listening and handling in different blocks

Looks good to me, should we merge, @stuart-lang ?


Error reported when executing on windows

1 Using binaries already available on github
2 windows 10
3 icmp-cnc.exe err ：
shell: usage: icmp-cnc.exe [-h] -d DESTINATION_IP
icmp-cnc.exe: error: the following arguments are required: -d/--destination_ip
why？

Hi @Cc28256, the pre-compiled binary normally works on Windows clients. The screenshot of yours does not look a Windows cmd shell? Did you try via cmd and on another computer?
Syntax usage example: icmp-cnc.exe -d <IP_ADDRESS>


Crash on ipad 13.3

Hi,
When i publish on apple store i have this message.
Your app crashed on iPad running iOS 13.3 on WiFi when we tapped on Facebook.
Could you resolve this problem ?
Thanks in advance

Hello,
Did you find a solution .. I have the same message ..
Thanks


Storybook >Components>Theme New > Invalid placeholder

Describe the bug
Invalid placeholder
Steps to reproduce bug
1.Go to 'https://react.raaghu.ai/'
2. Navigate to 'Components>Theme New>Default'
Actual result-
Invalid placeholder.
Screenshots

Expected result-
Select Style , Select Public Website Style, select Menu Placement, Select Menu Status
Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]

After submitting field is not clear

Completed -


Correct calculation for "Actual Performance Milestone Amount"

Describe the task
The "Actual Performance Milestone Amount" on the Emissions Intensity Report is currently 100 times the correct value, we need correct the calculation.

Acceptance Criteria

[ ] first
[ ] second
[ ] third

Additional context

Add any other context about the task here.
Or here

@LindsayMacfarlane: It looks like it could be a rounding error. Might be good to tackle that next sprint too :)


Unable to deploy - npx cdk deploy

Resource handler returned message: "The runtime parameter of python3.6 is no longer supported for creating or updating AWS Lambda functions. We recommend you u
se the new runtime (python3.9) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 6e070690-e0a8-43eb-bb26-419bced59b2b)" (Re
questToken: 64b577d6-fa91-752c-9334-66f3f0a6bc5f, HandlerErrorCode: InvalidRequest)

Thank you for this heads up.  I'll review and get an update in place in the near future.

It will be wonderfull can deploy the code as in the videos I have the same error I think some library needs to be updated I try to make it work but with out success :c

Please gives us an update on this issue or a possible work around.

All branches have been updated to CDK v. 1.178.0 which should resolve this issue.  Please re-open if you still have issues deploying.  Apologies for the delay on this.


Clarify usage?

@craighurley, I was intrigued by your comment in AESR -- I mentioned in the thread there that my team supports commercial software to manage the lifecycle of large numbers of roles and principals.  Our focus is on the back end role creation and management, although we support the AESR plugin for our users.
I'm trying to understand the aws-credentials-setup use case ... it looks like the idea is that an AWS administrator manages a single (encrypted) file of credentials in a YAML format, and processes it as a playbook to generate both the aws cli's creds & config file and the configuration file for AESR.  Is that correct, and is there more than that involved?  It looks like there are connections to SAML based federation as well.

Hi @rpattcorner.
My comment on that other thread was a bit cheeky :)
Yes, your right.  It creates 3 things for me:

AWS config and credentials files using this template: https://github.com/craighurley/aws-credentials-setup/blob/master/roles/credentials/templates/credentials.j2
AESR config using this template: https://github.com/craighurley/aws-credentials-setup/blob/master/roles/credentials/templates/extend_switch_roles.j2
Firefox containers config using this template: https://github.com/craighurley/aws-credentials-setup/blob/master/roles/credentials/templates/firefox_containers.j2

In the example ./vars/setup.yaml in the README.md, I include reference to saml auth because for those organisations where I use saml to auth, I use the cli tool saml2aws (https://github.com/Versent/saml2aws) to generate temporary credentials.  saml2aws will update any existing dummy credentials in your aws credentials file.
The workflow is.

Create/update your ./vars/setup.yaml usually on project kick-off/new AWS organisation.
Run ansible-playbook ./playbooks/credentials.yaml to generate all the files.
Copy AESR config into plugin in your browser.

After that, if you are working from the cli:

Authenticate for your AWS role (either IAM or SAML based).
Run AWS cli/sdk commands.

If you are simply using the AWS console

Open the specific signin profile URL.
AESR will do it's thing and present the appropriate roles for you.

Thanks!  Clear as day, and appreciated.


Imported .csv file w/ columns named latitude and longitude are converted to number even if type/content guessing is disabled

:point_up: happened while smoke testing on rui, works as expected in production.
Note that it's only those two columns that are converted, the rest are left as expected.
ex connect by URL using https://gist.github.com/viddo/cc7a6c7c259279b96755/raw/70edce8663797dfced2b0b300ba6e6ca5ad509b7/top5.csv

This was closed by @rafatower at #5612 just a moment after the last master merge into #4924 branch :sweat_smile: Just merged and pushed the merge.

:+1:


swt: 4.5 -> 4.14

Motivation for this change
swt 4.5 is outdated since 2015 (!). Moreover, it's GTK2 compatibility is with gtk 2.18, meaning running something depending on our swt with gtk 2.24.32 will spit out errors such as:
***WARNING: GTK+ version too new (major mismatch)
***WARNING: SWT requires GTK 2.18.0
***WARNING: Detected: 2.24.32

See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=476644
Related PR: https://github.com/NixOS/nixpkgs/pull/59999 .
BTW https://github.com/NixOS/nixpkgs/issues/30826 should be closed.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

I've tried switching over to the source tarball upstream provides (see the bottom link here) but the build failed because what's in src.zip is completely different then what's in that tarball, download the source table and see for your self.
EDIT:
Maintainers: cc @pSub

Thank you for your investigation @doronbehar. Much appreciated. I am currently really busy, but I will try to look into this.

Oh right, it seems that the main issue was to find the latest version - 4.14 according to this page and the default build procedure seems to work for this version just like the old ones. Yet, that swt based program I tried to run with this version installed failed with:
I18n Locale: en found ...
Exception in thread "main" java.lang.NullPointerException
        at java.base/java.io.Reader.<init>(Reader.java:167)
        at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
        at org.eclipse.swt.graphics.Device.lambda$overrideThemeValues$0(Device.java:719)
        at org.eclipse.swt.graphics.Device.overrideThemeValues(Device.java:733)
        at org.eclipse.swt.graphics.Device.init(Device.java:693)
        at org.eclipse.swt.widgets.Display.init(Display.java:3345)
        at org.eclipse.swt.graphics.Device.<init>(Device.java:176)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:623)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:614)
        at cz.natur.cuni.mirai.math.editor.swt.CommonTasks.shell(CommonTasks.java:180)
        at cz.natur.cuni.mirai.math.editor.swt.MiraiMath.<init>(MiraiMath.java:482)
        at cz.natur.cuni.mirai.math.editor.swt.MiraiMath.main(MiraiMath.java:545)

Not sure what that means, but most probably, that the latest swt isn't compatible with this program and it's unmaintained so screw it...
Anyway, swt seems to be updated now. @pSub do you know how to test all packages that depend on swt with this update?

I tested this with nix-review:
6 package built:
areca azureus ipscan swt tuxguitar vuze

However this does not fix #76168 for me, and it does not seem like the swt package is used in any way by JDK or Eclipse.

The way it is this breaks some applications. Vuze fails with the following error:
(java:5559): Gtk-ERROR **: 05:23:56.219: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

I was not able to fix this error, even after removing gtk3 from buildInputs again it still persists.

I see. TBH I've lost interest in this update, maybe we should create a swt4_14 derivation or likewise. I'm not closing this PR as there have been useful efforts made here.

I got to a similar NPE using nix-review and trying to run Tuxguitar,
cd ~/Projects/nixpkgs
nix run nixpkgs.nixpkgs-review
nixpkgs-review pr 75609
nix-shell -p tuxguitar

[nix-shell:~/.cache/nixpkgs-review/pr-75609]$ tuxguitar
java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.eclipse.swt.graphics.Device.lambda$overrideThemeValues$0(Device.java:719)
at org.eclipse.swt.graphics.Device.overrideThemeValues(Device.java:733)
at org.eclipse.swt.graphics.Device.init(Device.java:693)
at org.eclipse.swt.widgets.Display.init(Display.java:3345)
at org.eclipse.swt.graphics.Device.<init>(Device.java:176)
at org.eclipse.swt.widgets.Display.<init>(Display.java:623)
at org.eclipse.swt.widgets.Display.<init>(Display.java:614)
at org.herac.tuxguitar.ui.swt.SWTApplication.createDisplay(SWTApplication.java:65)
at org.herac.tuxguitar.ui.swt.SWTApplication.<init>(SWTApplication.java:15)
at org.herac.tuxguitar.ui.swt.SWTApplicationFactory.createApplication(SWTApplicationFactory.java:9)
at org.herac.tuxguitar.app.ui.TGApplication.<init>(TGApplication.java:25)
at org.herac.tuxguitar.app.ui.TGApplication$1.createInstance(TGApplication.java:56)
at org.herac.tuxguitar.app.ui.TGApplication$1.createInstance(TGApplication.java:54)
at org.herac.tuxguitar.util.singleton.TGSingletonUtil.getInstance(TGSingletonUtil.java:12)
at org.herac.tuxguitar.app.ui.TGApplication.getInstance(TGApplication.java:54)
at org.herac.tuxguitar.app.synchronizer.TGSynchronizerControllerImpl.<init>(TGSynchronizerControllerImpl.java:18)
at org.herac.tuxguitar.app.TuxGuitar.createUIContext(TuxGuitar.java:116)
at org.herac.tuxguitar.app.TuxGuitar.createApplication(TuxGuitar.java:102)
at org.herac.tuxguitar.app.TGMainSingleton.launchTuxGuitar(TGMainSingleton.java:59)
at org.herac.tuxguitar.app.TGMainSingleton.launchSingleton(TGMainSingleton.java:47)

To me tuxguitar is currently broken after an nixpkgs/home-manager update, so I'd rather have it broken with the nullptr, than with a library incompatibility and terminating right away, it feels that this is a step in the right direction anyways and maybe having a swt4_14 isn't really justified.

I don't know if this PR is worth something, not to me anyway. Closing.


Connection screen crashes

Somehow our IP list entries are not unique
EITHER:
Fix problem at the source by guaranteeing that the IP addresses are not-duplicated (better but harder)
"Just ignore the problem" by using indexes for list keys on the Connection screen and pray :3

Release 48 should at least avoid a crash, but it's not fixed exactly. We will need to go back to the drawing board to figure out why this problem happens in the first place.

Possibly fixed more properly in v49 by refactoring the ClientManagerImpl state holder - keep this open to see if play store reports go down


Generics support

Is there any way - or intent to add it - to create a binding for a generic class like Optional and have Result<T> as a return value type or T as a parameter type?

And provably it's worth to make TryIntoJavaValue object-safe, so it'd possible to return dyn values to java?


nuxt-link is not reactive for parameters.

 https://codesandbox.io/s/pensive-ellis-lguch?file=/pages/index.vue
Steps to reproduce
Click on the login button in the example.
What is Expected?

Page should navigate to accountHandle page
URL should say https://lguch.sse.codesandbox.io/valid

What is actually happening?

Page accurately navigates to accountHandle page ✅
URL incorrectly say https://lguch.sse.codesandbox.io/invalid 🛑

Its almost as if the nuxt-link evaluates the link only once, but does not re-evaluate it again before actually navigating.

The issue is that you change the parameter and then call the navigate function which was already passed as callback.
Instead, router.push might be a better option 👍🏻
Also, this is not a Nuxt issue (as you used router-link in your repro)


Missing plugin exception

When using flutter_foreground_task for android as described in combination with another plugin (which is written in native code, too) I do receive the following error message as soon as onStart() is called:
MissingPluginException(No implementation found for method xxx on channel yyy)
The plugin is working when called regularly on main function.
Is there anything I can do to make it work with this plugin?

For flutter 3.0.0 and later:
Use the following code in onStart method
DartPluginRegistrant.ensureInitialized();
For flutter prior to version 3.0.0 you have to register the plugin manually


Support different configs for different client

https://github.com/alibaba/FederatedScope/blob/b4914e68d40ce102fde676e92478e6181ace520c/federatedscope/core/fed_runner.py#L224-L225
Here the model uses the global configuration instead of the client configuration.

I think both contest branch and master branch have this issue. @DavdGao could you fix them?

Thanks, this issue is tracked in #115


Help with Spot Instances

First off, thanks for making this! This was the best end to end cloud formations template I could find for the gitlab runners.
I've got the basic setup working pretty well, but ran into some issues when I tried using spot instances.
First, I think there's an extra  leading comma on this line since you have one where the variable gets spliced in:
', "amazonec2-request-spot-instance=true",. I can submit a PR if you want although I cant verify everything end to end because of the next bit.
Once I fixed that, I was able to see the spot instances appear (although I did need to run
aws iam create-service-linked-role --aws-service-name spot.amazonaws.com
since my AWS account was pretty old).
Unfortunately docker-machine was never able to communicate with them. My theory is that the spot instances are unnamed, this is because while the spot requests have a name, the spot instances don't get the tags automatically and then the policies that work by resource tag don't work. I'm still pretty new to CF so not 100% sure and would appreciate if you had any thoughts!

Hey,
Thank you for your feedback. PR would be appreciated!
As for your theory, you will probably find the reason in /var/log/messages file at gitlab-manager instance.
You can also use commands like docker-mashine ls and docker-machine ssh to see what is going on.


what happens if applyAtProcessCreation  and applyAtShellIntegration are both true?

Testing #182970
should this be combined into one property, applyAt, of type processCreation or shellIntegration?

I was surprised that it's possible for them to be applied at both times 🤔 bc cannot think of a when that would be a useful/ desired outcome. Can you?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Added Gavdi packages to sources.json

Added the following Gavdi packages to sources.json:

@gavdi/caplog
@gavdi/cap-batch
@gavdi/cap-service-core

Issue: https://github.com/ui5-community/bestofui5-data/issues/102

Fixes ui5-community/bestofui5-data#102


chore: import in macro body for improved readablity

This change is

#1780  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite


Add documentation covering the plugin registry and its governance process

Sub of: #633
User story
As a user I want to understand how to add plugins to the registry, how to find plugins for my IF workflows and how the plugins are accepted for listing on the site. This understanding will make it easier for me to navigate the IF ecosystem.
Rationale
We are creating a public registry for IF plugins. We need to make the registry easily discoverable and provide documentation that helps users browse the plugin ecosystem so they can build effective pipelines for their use cases.
Implementation details

[ ] add page on if.greensoftware.foundation
[ ] add links to registry on existing pages on if.greensoftware.foundation
[ ] add link to registry to readmes for IF repositories
[ ] Add a new page on notion in collab with Ashara that holds all the relevant info on the building and submission process, including the link to the form and other docs.

Priority
4/5
Size
M
What does "done" look like?
New page exists, links added to existing pages and readmes.
Deadline
tbc

@ash-ara tagging you on this one so you have a reference to the context regarding that IF plugin wiki page

@jawache can you please check this copy https://www.notion.so/grnsft/How-to-add-plugins-104294fed34f46d7ae9e48f2acd164dd to see if you're happy for it to be published? If so, @ash-ara will be adding it to the wiki - and we can direct people to it from the plugin registry

@ash-ara please share a link with me when you've added this in the wiki 🙏

@zanete it's here: https://wiki.greensoftware.foundation/how-to-add-plugins


Organizations paging in InfluxDB 2.0 API is lacking

Paging of organizations is currently not possible in InfluxDB 2.0.
Steps to reproduce:

Create 30 organisations
GET /organizations
Observe the output. 20 organizations will be returned.

Expected behavior:
A link to the next page will be present in object {"links": {"next": "..."}}
Actual behavior:
Links object contains only self link
Environment info:

System info: Linux 4.19.76-linuxkit x86_64
InfluxDB version: InfluxDB 2.0.0-beta.14 (git: c8af0f35be) build_date: 2020-07-08T20:42:23Z
Runs in a Docker container

Note
It would be nice if we could set ?limit=999 to get all organizations without paging

Would be nice if this issue would be addressed soon. In the project I'm working on we have a use case requiring >20 organizations to separate the data of our customers.


Passwors is not mentioned...

Username is displayed, but password isn't. Any suggestions.

Did you entered password when it asks for it ?

Fixed

Closing this issue, feel free to open it again if you have an issue.


omnisharp script file not included in 1.9.1 in osx

I've updated Omnisharp to v1.9.1 using Package Control under OSX Yosemite (v10.10.2) and got a FileNotFound exception on load.
The reason seems to be that the PrebuiltOmniSharpServer folder does not contains the bash script file 'omnisharp' that I think runs the OmniSharp server for osx
The exception originated in the file OmniSharpSublime.py:22
I've solved the issue just copying manually that to the folder PrebuiltOmniSharpServer, and now everything seems to work fine.

Updating was bugged for me too. Resolved by removing the package and installing again through package manager-- worth a try.

Tried it on my test VM and it seems to be there after upgrading from 1.9.0 to 1.9.1.
I think for future upgrades I may need to put in the notes to restart Sublime after upgrades

I had restarted sublime text 3 after updating. Anyway, I've tried it at home and the installation worked flawlessly so I've just reinstalled the omnisharp package at works, and everything went ok.
I don't know why It gave me an error when installing at my work station but I'm glad to see is a "not working on my machine" problem :+1:


Minor improvements

Codecov Report

Merging #27 (11bb84e) into main (705c1f5) will increase coverage by 0.09%.
The diff coverage is 62.50%.

@@             Coverage Diff              @@
##               main      #27      +/-   ##
============================================
+ Coverage     95.22%   95.32%   +0.09%
- Complexity      367      368       +1
============================================
  Files            24       24
  Lines          1048     1048
============================================
+ Hits            998      999       +1
+ Misses           50       49       -1

Impacted Files
Coverage Δ

src/Environment/StubbedEnvironment.php
91.30% <ø> (-8.70%)
:arrow_down:

src/Report/Report.php
100.00% <ø> (ø)

src/Token/Tokenizer.php
97.30% <ø> (ø)

src/Runner/Fixer.php
81.30% <50.00%> (+2.80%)
:arrow_up:

src/Sniff/AbstractSpacingSniff.php
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 705c1f5...11bb84e. Read the comment docs.


Convert Contributors Conference 2019

This converts an initial event page.

I added a YouTubeEmbed component that we can style later
I also added a Logos component that you can put a bunch of image links into and it applies styles to
@stalgiag I updated the schema to add a "to" date in case the event specifies a from-to range, and a location

@Qianqianye let me know if this looks good!

Thanks @davepagurek!


container-hook: use a single fanotify to watch pid files

Before this patch, IG had one fanotify fd for monitoring executions of container runtimes (e.g. /usr/bin/runc) and one fanotify fd instantiated for each container between the runc create and the runc start to watch the creation of the pid file. When runc create fails, the pid file is never created and runc start is never executed; this leads to IG accumulating fanotify fds.
Fanotify fds are a scarce global resource on Linux:
FANOTIFY_DEFAULT_MAX_GROUPS=128
This patch changes the logic to use one permanent fanotify fd to watch the creation of the pid files. The number of fanotify fds used by IG is now always 2 and it is not fluctuating anymore.
Fixes https://github.com/inspektor-gadget/inspektor-gadget/issues/2967
How to use
No changes.
Testing done

[x] Test from #2998 with nfailure=130

I ran some manual tests with:
sudo -E strace -f -e fanotify_init,fanotify_mark ig list-containers -w

And then start some containers with:
docker run --rm -it --name ubuntu ubuntu bash

and
for i in `seq 130` ; do mkdir -p  /tmp/test-runc/$i/userdata ; touch /tmp/test-runc/$i/userdata/config.json ; runc create --bundle /tmp/test-runc/$i --pid-file /tmp/test-runc/$i/mypid &> /dev/null ; done

It seems to call fanotify_mark(FAN_MARK_REMOVE) as expected.

I also pushed to another branch citest/alban_runc_error to run more tests.

I tested this change with podman [crun] and cri-o and enrichment is working as expected. Also, I tried to create a broken deployment (replicas=10) on my cluster (CrashLoopBackOff because of broken command) I could see leaks for ig v0.29.0:
$ ls -la /proc/$(pidof ig)/fd
...
lrwx------ 1 root root 64 Jun 20 10:50 66 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 67 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 68 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 69 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:40 7 -> anon_inode:bpf-map
lrwx------ 1 root root 64 Jun 20 10:50 70 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 71 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 74 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 77 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 78 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:40 8 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 81 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 82 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 87 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 88 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 89 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:40 9 -> 'anon_inode:[perf_event]'
lrwx------ 1 root root 64 Jun 20 10:50 90 -> 'anon_inode:[fanotify]'
lrwx------ 1 root root 64 Jun 20 10:50 91 -> 'anon_inode:[fanotify]'
...

but it doesn't happen for ig from this PR.


Fixed review comments of previous PR of custom Links setup for GNAV

This PR is to address review comments for below PR:
https://github.com/adobecom/milo/pull/2942 (with added comments)
Resolves: MWPW-159262
Test URLs:

Before: https://main--milo--adobecom.hlx.page/?martech=off
After: https://mwpw-159262--milo--deva309.hlx.page/?martech=off

QA:
https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=MWPW-159262&authoringpath=/federal/dev/devashish&customlinks=home,learn

Hi @Deva309
Do not see the unav loading in the changes given , can you please take a look
https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=MWPW-159262&authoringpath=/federal/dev/devashish&customlinks=home,learn

https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=mwpw-159262&authoringpath=/federal/test-website&customlinks=home,learn,apps,discover,files

CC : @sigadamvenkata  , @prativas22

@spadmasa Please verify!
It should work now.

Validation done on the below url
https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=MWPW-159262&authoringpath=/federal/dev/devashish&customlinks=home,learn
https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=MWPW-159262&authoringpath=/federal/dev/devashish&customlinks=home,apps,learn&locale=jp


[Playground] Remove playground precompiled objects

Examples for Playground will be stored in Firestore Database. Unused resources will be removed.
In this pull request following items will be removed:

Terraform module for example bucket creation
terraform code will be changed to remove example bucket creation
Example bucket will be removed from "playground/infrastructure/proxy/allow_list.py"

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM


Improve Jacoco report titles

Background
The report titles are all the same for each combination of Scala and Spark in the matrix. It doesn't help to differentiate between them.
Feature
Add Scala and Spark version into the title of the Jacoco report

Release notes:
#34 - Improve JaCoCo report title

Add spark and scala versions into title
Add timestamp into title


Sharpen dashboard charts

[ ] update color pallet from the use of pastels
[ ] speed up chart introductory animations
[ ] adjust chart font

JEL-25


Refactor(eos_cli_config_gen): Concatenate templates

Change Summary
Concatenate eos_cli_gen templates to avoid j2 "include" statements and speed up processing.
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
At development task to create concatenated templates
How to test
molecule converge -s build_schemas_and_docs -- --tags documentation_template,cli_template
Checklist
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

This didn't improve performance, so abandoning this PR!


[Enchancment] Pattern Encoder checking network for oredictionary components.

Pattern Encoder is always connected to the system, but only receives power from it. Also, it does often create recipes which are not properly working with oredictionary (I honestly don't know the reason, but it does it very often - for example, if recipe needs Hardened Glass from TE or Quartz Glass from EnderIO, it always writes Quartz Glass on the Pattern, refuses to craft from Hardened Glass at all, untill I correct it manually; what is going on with ingots from different mods, is even worse), so my suggestion is to have it check connected network for the most amount of  written to recipe components.
I think it is a bad idea, but worth trying.
Sorry about my poor English.

It already does that, it takes the first variant of an item that is stored or craftable in the network (if there is one)


Make datetime friendly to use in the profile

Feature Request
Currently always have to specify datetimes to millisecond level of precision in the profile file.  Want to remove this requirement
Description of Problem -
As a DataHelix user, I want to be able to specify specific dates in the profile without having to specify precision to a level not interested in so that its easier to read and create
As a DataHelix user I want data helix to handle some more variations on the datetime format so that less time is spent fixing up trivla formatting issues when creating a json profile
Acceptance Criteria -
The following config can be used to generate output containing the configured single date value (currently returns error):
{
"schemaVersion": "0.10",
"fields": [
{
"name": "mydatetime",
"type": "datetime",
"nullable": false
},
],
"rules": [
{
"rule": "mydatetime",
"constraints": [
{ "field": "mydatetime", "is": "granularTo", "value": "days" },
{ "field": "mydatetime", "is": "equalTo", "value":"2019-09-02T00:00" }
]
}
]
}
Estimate
1
Tasks

[ ] write cucumber test that fails at moment using example in acceptance criteria and extend it so also works if specify no minutes or no seconds (and just uses 0 for these parts of the datetime).  ie handle 2019-09-02, 2019-09-02T, 2019-09-02T00, 2019-09-02T00:00, 2019-09-02T00:00:00, 2019-09-02T00:00:00.000
[ ] change code so accepts datetimes detailed to any level of precision as per the test
[ ] Ideally, alllow it to accept more types of date format - eg allow the T to be a space instead, make sure time zone accepted ok, etc -  update tests too.

Testing
Yes - see first task
Is this feature done?
Please run through the Definition of Done checklist

I've included tests for just specifying,month and year i.e. 2019-10 and 2019. Will we allow this?

I've included tests for just specifying month and year i.e. 2019-10 and 2019. Will we allow this?

Hi Tom, if we can be granular down to these levels then yes we probably should.  And i just checked the schema and we can be so makes sense to handle these too.  cheers

currently blocked by #1415


x/crypto/ssh: OpenSSH 8.8 disabled RSA signatures using the SHA-1 hash algorithm

What version of Go are you using (go version)?

$ go version
go version go1.16.8 linux/amd64

Does this issue reproduce with the latest release?
Though I didn't test it, I think it would reproduce, as this is most likely an issue with the ssh package and not so much golang itself.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/fas/.cache/go-build"
GOENV="/home/fas/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/fas/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/fas/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/snap/go/8408"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/snap/go/8408/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.8"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/fas/github.com/fasmide/sshdtests/server/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build725442376=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I tried out the ssh.NewServerConn example - and used the latest OpenSSH client (8.8p1)
Using golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
What did you see instead?

# ssh -p2022 <IP_ADDRESS>
Unable to negotiate with <IP_ADDRESS> port 2022: no matching host key type found. Their offer: ssh-rsa

So what is this?
I think the ssh package doesn't implement RFC8332, which in turn also needs RFC8308 in order to work.
As far as I can tell, this makes it impossible for the ssh package to provide RSA based verification using stronger algorithms such as rsa-sha2-256 or rsa-sha2-512

This is #39885

@mpx Yes is it! thanks! - I was unable to apply the necessary search terms :)


Add documention for ARM What-If feature when using an SDK

The ARM preview feature (similar to what Terraform does with its plan/apply flow) seems to be documented for Powershell and Azure CLI, but a short guide on using it via SDKs would be appreciated. Or at least let users know if it's even possible or if it can only be done via shell tools.
I am running my ARM deployments using Azure Python SDK and this would be a very nice feature.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a06520c-ba95-a3c7-85e4-9e9737ca1b69
Version Independent ID: fa6dbc5f-8301-6355-d899-2903e60d58f9
Content: Template deployment what-if (Preview) - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/template-deploy-what-if.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@serbaniuliuscezar Thanks for the comment!
Assigning @mumian for visibility, review and document enhancement consideration.

@serbaniuliuscezar - thanks for this feedback. Yes, it's possible through what-if. I can add links to reference docs for the SDKs, but at this point we are unable to provide full examples for all of the languages. We may reassess that approach in the future.