Unlock with no pin set doesn't let you interact with the screen

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go through lockscreen setup and choose "No PIN"
Suspend device
Press button to resume
You will be unable to interact with the screen.

Expected behavior
Should unlock properly
Version Information:

Device: reMarkable 1
Version: v2.1

Additional Information
You can work around this by using the left button hold action.

The same problem happens on the rM2.
The tarnish log is filled with this message
ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (inte
rnal error): ignored.

The full resume log is:
Jan 15 06:34:13 reMarkable tarnish[4508]: Suspending...
Jan 15 06:34:13 reMarkable tarnish[4508]: Recording previous app "codes.eeems.oxide"
Jan 15 06:34:13 reMarkable tarnish[4508]: Pausing  "/codes/eeems/oxide1/apps/d3641f0572435f76bb5cc1468d4fe1db"
Jan 15 06:34:13 reMarkable tarnish[4508]: Saving screen...
Jan 15 06:34:13 reMarkable tarnish[4508]: Compressing data...
Jan 15 06:34:13 reMarkable tarnish[4508]: Screen saved.
Jan 15 06:34:13 reMarkable tarnish[4508]: Paused  "/codes/eeems/oxide1/apps/d3641f0572435f76bb5cc1468d4fe1db"
Jan 15 06:34:13 reMarkable tarnish[4508]: Framebuffer has wrong id: "mxcfb"
Jan 15 06:34:13 reMarkable tarnish[4508]: Framebuffer initialized: QImage(QSize(1404, 1872),format=7,depth=16,devicePixelRatio=1,bytesPerLi
ne=2808,sizeInBytes=5256576) 5256576
Jan 15 06:34:13 reMarkable tarnish[4508]: Turning wifi off
Jan 15 06:34:13 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:14 reMarkable tarnish[4508]: Suspending...
Jan 15 06:34:14 reMarkable tarnish[4508]: Unregistered "/codes/eeems/oxide1/bss/30efbfbdefbfbdefbfbd3aefbfbd"
Jan 15 06:34:15 reMarkable tarnish[4508]: Unregistered "/codes/eeems/oxide1/bss/efbfbd7fefbfbd21"
Jan 15 06:34:15 reMarkable tarnish[4508]: Unregistered "/codes/eeems/oxide1/bss/74efbfbdefbfbdefbfbd3b24"
Jan 15 06:34:19 reMarkable tarnish[4508]: Resuming...
Jan 15 06:34:19 reMarkable tarnish[4508]: Unable to find current application
Jan 15 06:34:19 reMarkable tarnish[4508]: Resuming  "/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd"
Jan 15 06:34:19 reMarkable tarnish[4508]: Uncompressing screen...
Jan 15 06:34:19 reMarkable tarnish[4508]: Recalling screen...
Jan 15 06:34:19 reMarkable tarnish[4508]: Screen recalled.
Jan 15 06:34:19 reMarkable tarnish[4508]: Resumed  "/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd"
Jan 15 06:34:19 reMarkable tarnish[4508]: Suspend timer re-enabled due to resume
Jan 15 06:34:19 reMarkable tarnish[4508]: Turning wifi on
Jan 15 06:34:19 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:19 reMarkable tarnish[4508]: ip: can't find device 'wlan0'
Jan 15 06:34:19 reMarkable tarnish[4508]: ifconfig: SIOCGIFFLAGS: No such device
Jan 15 06:34:19 reMarkable tarnish[4508]: "Failed to enable wlan0"
Jan 15 06:34:19 reMarkable tarnish[4508]: Reconnecting to wifi
Jan 15 06:34:19 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:19 reMarkable tarnish[4508]: link failed:
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:22 reMarkable tarnish[4508]: Disconnected from "/codes/eeems/oxide1/network/d6e8207c628c5d03acbb78dffcd7211c"
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: Connected to "/codes/eeems/oxide1/network/d6e8207c628c5d03acbb78dffcd7211c"
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.

The same problem happens on the rM2.
The tarnish log is filled with this message
ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (inte
rnal error): ignored.

The full resume log is:
Jan 15 06:34:13 reMarkable tarnish[4508]: Suspending...
Jan 15 06:34:13 reMarkable tarnish[4508]: Recording previous app "codes.eeems.oxide"
Jan 15 06:34:13 reMarkable tarnish[4508]: Pausing  "/codes/eeems/oxide1/apps/d3641f0572435f76bb5cc1468d4fe1db"
Jan 15 06:34:13 reMarkable tarnish[4508]: Saving screen...
Jan 15 06:34:13 reMarkable tarnish[4508]: Compressing data...
Jan 15 06:34:13 reMarkable tarnish[4508]: Screen saved.
Jan 15 06:34:13 reMarkable tarnish[4508]: Paused  "/codes/eeems/oxide1/apps/d3641f0572435f76bb5cc1468d4fe1db"
Jan 15 06:34:13 reMarkable tarnish[4508]: Framebuffer has wrong id: "mxcfb"
Jan 15 06:34:13 reMarkable tarnish[4508]: Framebuffer initialized: QImage(QSize(1404, 1872),format=7,depth=16,devicePixelRatio=1,bytesPerLi
ne=2808,sizeInBytes=5256576) 5256576
Jan 15 06:34:13 reMarkable tarnish[4508]: Turning wifi off
Jan 15 06:34:13 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:14 reMarkable tarnish[4508]: Suspending...
Jan 15 06:34:14 reMarkable tarnish[4508]: Unregistered "/codes/eeems/oxide1/bss/30efbfbdefbfbdefbfbd3aefbfbd"
Jan 15 06:34:15 reMarkable tarnish[4508]: Unregistered "/codes/eeems/oxide1/bss/efbfbd7fefbfbd21"
Jan 15 06:34:15 reMarkable tarnish[4508]: Unregistered "/codes/eeems/oxide1/bss/74efbfbdefbfbdefbfbd3b24"
Jan 15 06:34:19 reMarkable tarnish[4508]: Resuming...
Jan 15 06:34:19 reMarkable tarnish[4508]: Unable to find current application
Jan 15 06:34:19 reMarkable tarnish[4508]: Resuming  "/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd"
Jan 15 06:34:19 reMarkable tarnish[4508]: Uncompressing screen...
Jan 15 06:34:19 reMarkable tarnish[4508]: Recalling screen...
Jan 15 06:34:19 reMarkable tarnish[4508]: Screen recalled.
Jan 15 06:34:19 reMarkable tarnish[4508]: Resumed  "/codes/eeems/oxide1/apps/549212b2493354f4a9ee5da097a2dacd"
Jan 15 06:34:19 reMarkable tarnish[4508]: Suspend timer re-enabled due to resume
Jan 15 06:34:19 reMarkable tarnish[4508]: Turning wifi on
Jan 15 06:34:19 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:19 reMarkable tarnish[4508]: ip: can't find device 'wlan0'
Jan 15 06:34:19 reMarkable tarnish[4508]: ifconfig: SIOCGIFFLAGS: No such device
Jan 15 06:34:19 reMarkable tarnish[4508]: "Failed to enable wlan0"
Jan 15 06:34:19 reMarkable tarnish[4508]: Reconnecting to wifi
Jan 15 06:34:19 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:19 reMarkable tarnish[4508]: link failed:
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:22 reMarkable tarnish[4508]: Disconnected from "/codes/eeems/oxide1/network/d6e8207c628c5d03acbb78dffcd7211c"
Jan 15 06:34:22 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:25 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:28 reMarkable tarnish[4508]: Connected to "/codes/eeems/oxide1/network/d6e8207c628c5d03acbb78dffcd7211c"
Jan 15 06:34:28 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.
Jan 15 06:34:31 reMarkable tarnish[4508]: ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (int
ernal error): ignored.

The tarnish log is filled with this message
ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (inte
rnal error): ignored.

It's safe to ignore this issue: https://github.com/ddvk/remarkable2-framebuffer/issues/37

The tarnish log is filled with this message
ERROR: ld.so: object '/opt/lib/librm2fb_client.so.1.0.0' from LD_PRELOAD cannot be preloaded (inte
rnal error): ignored.

It's safe to ignore this issue: https://github.com/ddvk/remarkable2-framebuffer/issues/37

Hi, sorry, how does one set a PIN after having already gone through setup? (I am also having the "can't interact with the screen after unlock" problem on 2.1.2, at least I think it's 2.1.2, the packages.zip file still contains packages numbered 2.1.1 but I figured that was a mistake) I tried just running decay but that didn't help.

Hi, sorry, how does one set a PIN after having already gone through setup? (I am also having the "can't interact with the screen after unlock" problem on 2.1.2, at least I think it's 2.1.2, the packages.zip file still contains packages numbered 2.1.1 but I figured that was a mistake) I tried just running decay but that didn't help.

systemctl stop tarnish
rm /home/root/.config/Eeems/decay.conf
systemctl start tarnish

Thanks for alerting me about forgetting to update the version number on v2.1.2, I'll get a new build with the updated version number ASAP.

systemctl stop tarnish
rm /home/root/.config/Eeems/decay.conf
systemctl start tarnish

Thanks for alerting me about forgetting to update the version number on v2.1.2, I'll get a new build with the updated version number ASAP.


[SW-23003] fix Exception Object Constructor call

1. Why is this change necessary?
see: https://issues.shopware.com/issues/SW-23003
2. What does this change do, exactly?
corrects the Exceptions Object initialisation
3. Describe each step to reproduce the issue or behaviour.
delete or rename an image file thats within an album and try to recrate thumbnails
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/SW-23003
5. Which documentation changes (if any) need to be made because of this PR?
none
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-23019
Please use this issue to track the state of your pull request.


Unable to view JPEGs after still image capture

Debian Buster Linux 4.20.4 running on Rpi3B with Python 3.7 and PICamera 1.13 from both PIP and Git/Master (Same result)
While running the following code:
`from time import sleep
from picamera import PiCamera
camera = PiCamera()
camera.resolution = (1024, 768)
camera.start_preview()
sleep(2)
camera.capture('foo.jpg')
The file is saved as "foo.jpg".
But the first 32 bytes of the file are cleared.
I'm unable to view the image from any application.

Please close the issue if your problem is resolved.


Add React

Category

[ ] Documentation
[x] Resource Addition

Description

We need to add React under 'Beginner-Friendly Repositories'.
Name: React
Link: https://github.com/facebook/react

No, @ruchit-t. We need to add the 'React' repository under the 'Beginner-Friendly Repositories' header in README.md.
The issue description contains all the information that you need to have to add the repo.


ng-drag-start doesn't work

Hi @all,
The drag and drop functionality works, but  the drag-start event is not fired on drag start.
The html:
<md-item ng-repeat="item in items" ng-drag-start="onDragStart(item)" ng-drag="true" ng-drag-data="item">

The function in my Controller:
        $scope.onDragStart = function(item){
            console.log(item);
        }

+1

+2

@gspinella my solution was to just use ionic's on-drag..... on-drag= "onDragStart($data, $event)" and handled everything I wanted to in the controller

ngDragStart should be used on a ng-drop element

Having ngDragStart on the dropable element doesn't really make sense, but in any case, it doesn't work there either.
I was able to accomplish what I needed with ng-mousedown="onDragStart($data, $event)"
In my case I wanted to copy the element html into the clone so that it appears the same:
$scope.onDragStart = function ($data, $event) {
            var clone = angular.element($event.currentTarget).clone();
            angular.element("[ng-drag-clone]").html(clone);
        };

:+1:

+1

+1

+1

+1

Works with the last version on GitHub !
I don't know why but bower update doesn't seem to update correctly the package... Try to replace full code with copy/paste and it will works !

Any codepen of example? 👍

is this issue fix?


EH debugging: reloading EH window does not restart debug session

Insiders 1.14.0:

open "Hello World" extension project in VS Code
F5 to start extension
press "Restart" button

Observe: EH window reloads and debug session is restarted. This works fine.

in Hello World extension reload window or open another project

Observe: EH window reloads but debug session terminates. This is the bug.
I've debugged this on the node-debug side and I see that the restart attribute of the DebugProtocol.DisconnectArguments is true for the 'Restart' case and 'false' for the Reload and Open case. It should be 'true' for all three cases.

Without a fix EH debugging becomes pretty useless because you cannot open the workspace required for the extension that you need to debug.

@bpasero looked into this and I am not getting an event in debug for the reload of the workbench. More precise here. This might have been introduced with some multi root refactoring. I am investigating further to find the root cause

@weinand I am not sure that VS Code was properly sending the restart attribute to true in the past.
In the order for the restart argument to be passed the debug adapter should terminate with an event that has restart in the body specifeid here
What I am seeing on the vscode side is that once a user reloads vscode

Debug adapter terminates -> I get a terminate event ( I am not sure who inititated this terminate)
Because I get a regualr terminate event I send a disconnect without the restart flag to the adapter

I believe there is some timing issue in the Insiders, since I can not repro the problem out of source, but can repro in insiders.
Bottom line: I think the root cause is not missing of the restart flag but something else (timing issue)

I've investigated this a bit more and found this:

"Reload Window" was already broken in 1.13 and 1.12, but "Open" was working fine so we did not notice this problem.
the debugger UI was never sending a "restart": "true" in the "Disconnect" request so it seems that we were always relying on a specific timing (and in Insider the timing has changed it a way that now even the "Open" triggers the issue).

I will experiment on the DA side to fix this. The problem is that the DA cannot send a terminate event with a "restart": "true" because it does not know that the EH terminated because of a "Reload" or "Open" (which both would need the restart flag to become true).

This problem started in VS Code 1.12 und it seems to be independent from the DA.
If I run VS Code 1.11.2 against the latest node-debug it works fine, whereas VS Code 1.12.2 against the latest node-debug shows the problem.

24191: __initialize: got process id 24189 from node
24191: _initialize: target node version: v7.4.0
24191: _injectDebuggerExtensions: code injection successful
24191: _startInitialize: stopped: true
24191: _startInitialize: no entry event after 10 retries; giving up
24191: NodeV8Protocol hook: ref cache size: 10
24191: _startInitialize2: fire initialized event
24191: _startInitialize2: remember to do a 'Continue' later
24191: setBreakPointsRequest: {"path":"/Users/weinand/MS/Projects/Scenarios/extensions/hello-ext/extension.js","name":"extension.js"} [{"line":20}]
24191: _setBreakpoint: {"type":"scriptRegExp","target":"^(.*[\\/\\\\])?\\/Users\\/weinand\\/MS\\/Projects\\/Scenarios\\/extensions\\/hello-ext\\/extension\\.js$","line":19,"column":0}
24191: _updateBreakpoints: result [{"verified":true,"line":20,"column":1}]
24191: setFunctionBreakPointsRequest: result []
24191: setExceptionBreakPointsRequest: ["uncaught"]
24191: configurationDoneRequest: do a 'Continue'
24191: _stopped: got exception event from node
24191: _stopped: new ref cache

here I pressed Cmd-R for reloading the window. What follows might be a hint towards the problem.
An "attach" request is sent to the old debug adapter which is already shutting down instead of the new DA.
24191: attachRequest: args: {"port":11321}
24191: _attach: address: <IP_ADDRESS> port: 11321
24191: _terminated: socket end
24191: _terminated: node v8protocol close
24191: shutdown: kill debugee and sub-processes
24191: disconnectRequest: send response

Thanks to git bisect we have a winner @jrieken commit https://github.com/Microsoft/vscode/commit/876c35b8cd9e95c3e8ca041f40257b5f1c657028
It seems like because the renderer got faster(?) the timing of events I am getting from @bpasero changed. I can investigate more into the exact timing of events, however we alrady released one stable version with this since this commit is 10weeks old so it might be ok to ship with this issue and devise a better strategy for extension debugging in july.
In any case I will look more into the ordering of events and will check if there is an easy fix.

Yeah, that commit is very old and we have shipped with that. If this is actually timing dependent, then trigger reload window which will not use cached data, adding roughly 700-800ms to the startup (loading workbench.js).

Yes, we have this problem since VS Code 1.12, but initially it affected only "Reload Window" and not "Open Workspace". In more recent releases additional performance improvements seem to have worsen the timing issue and now it affects "Open Workspace" as well.
@bpasero for this milestone could we disable using cached data when debugging?

@weinand you need to convince @jrieken

@jrieken @bpasero
We (the debugger) are not using "Reload Window" or "Open Workspace". So in order to get the old timing behaviour, we need to turn off the data cache for a renderer under debugging.
Is this easily doable?

You need to convince @egamma and co. Tho I am not how that fits into this

"Reload Window" was already broken in 1.13 and 1.12, but "Open" was working fine so we did not notice the problem.

"Reload Window" is the case in which cached-data isn't used (node/electron limitation). So this is the slow case. Cached-data is used on new windows, meaning that it is the fast case. So, I wonder what it helps to make the fast case the a slow case, which isn't working since long(?). Also, I'd say the "Reload Window" is more important then "Open New Window" when debugging an extension. I might be missing what we are aiming for...
If you wanna turn off cached data, do it here for renderers and here for the main process.

I have verified that turning off cached data for the renderer fixes the issue.
However for now I am simply reacting on the extension attach event with a 300 ms timeout, which gives the right ordering of events. I randomly picked 300ms and this works on my machine, however not sure how will other machines behave.
The real fix would be not to be dependent on the order of events and this we can tackle in the future.
I verified on mac, it would be great if the verifier tries on win and linux.
Right order after user reloads:
extension host dies, node adapter terminates
event from workbench to extensionAttach
This ordering was the other way around. Not sure if we could solve this in a nicer way directly from where we emit events @bpasero
Though in the end I believe we would also do some timeout strategy which I currently did on the debug side.

@isidorn can you please file a new issue so that we do not forget to come with a better fix for this than to rely on time outs.

@isidorn great, this confirms my hypothesis from above that the rawAttach was coming too early (and hitting the wrong session).
I'll verify the workaround tomorrow for linux and Windows.
Thanks for helping me with this.

@egamma created https://github.com/Microsoft/vscode/issues/29884 so we can tackle this properly
@weinand welcome

Sorry, I can still reproduce. When I reload the EH window (macOS), the debug toolbar disappears indicating to me that debugging connection is not re-established.
Hard to reproduce, maybe harder than before, but hitting it sometimes.

I am seeing very weird behaviour now: I reload and when a breakpoint is hit, my EH debugging window closes? Is that a new regression?

macOS: "opening a workspace" works fine again. I never saw a dropped debug session. "reload window" still drops the session occasionally. But workaround is simple: just repeat the "reload window".

The first time I reload the EH, the debug toolbar disappears as shown below. But it comes back when I reload again:

Since the current situation has much improved over the last stable (1.13) I suggest that we us the fix for 1.14.

Closing this issue as @weinand mentioned the current behavior is better than the last release. As for the real fix we have #29884 to track it


gitea container dies with open /data/gitea/LOG: is a directory

Gitea version (or commit ref): no idea, I just pulled a new image using gitea/gitea:latest I suppose this is: (Digest: sha256:65870adb04410220b2f90ed61ae6ed539a4dc01ebd505a6e7ee83fed2121c6cc)
Git version: git version 2.27.0.windows.1.7.g3c88881ab7.20200616203852
Operating system: Microsoft Windows [Version 10.0.18362.1082]
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist: https://gist.githubusercontent.com/chrisbra/bc0e1c415e834c8d018f219d2cfef0e1/raw/a459b8427b2c15100986e10163dae4c9ddc46e03/gitea.log

Description
The container dies with:
Error: Unable to create queue level for issue_indexer with cfg {"Addresses":"","BatchLength":20,"BlockTimeout":1000000000,"BoostTimeout":300000000000,"BoostWorkers":5,"ConnectionString":"/data/gitea","DBIndex":0,"DataDir":"/data/gitea/indexers/issues.queue","MaxWorkers":10,"Name":"issue_indexer","Network":"","Password":"","QueueLength":20,"QueueName":"issue_indexer_queue","SetName":"","Workers":1} by max attempts: error: open /data/gitea/LOG: is a directory

Here is my app.ini
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod
RUN_USER = git

[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[server]
APP_DATA_PATH    = /data/gitea
SSH_DOMAIN       = localhost
HTTP_PORT        = 3000
ROOT_URL         = http://localhost:3000/
DISABLE_SSH      = false
SSH_PORT         = 3022
SSH_LISTEN_PORT  = 22
LFS_START_SERVER = false
LFS_CONTENT_PATH = /data/git/lfs
DOMAIN           = localhost
OFFLINE_MODE     = false

[database]
PATH     = /data/gitea/gitea.db
DB_TYPE  = sqlite3
HOST     = localhost:3306
NAME     = gitea
USER     = root
PASSWD   =
SCHEMA   =
SSL_MODE = disable
CHARSET  = utf8

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER        = file

[picture]
AVATAR_UPLOAD_PATH            = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
DISABLE_GRAVATAR              = false
ENABLE_FEDERATED_AVATAR       = true

[attachment]
PATH = /data/gitea/attachments

[log]
ROOT_PATH = /data/gitea/log
MODE      = file
LEVEL     = info

[security]
INSTALL_LOCK   = true
SECRET_KEY     = Vn3Ff4jJenju2JBTFsgtIudUiDaOtByXUZE1PYeeHs8ah6nrBl6NVA1c0siVMU1X
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1ODY4NTY0MzV9.8xG1lBblY8VUKe4ERBynAQQeiTPkWqnp0hUAlaqVY34

[service]
DISABLE_REGISTRATION              = false
REQUIRE_SIGNIN_VIEW               = false
REGISTER_EMAIL_CONFIRM            = false
ENABLE_NOTIFY_MAIL                = false
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
ENABLE_CAPTCHA                    = false
DEFAULT_KEEP_EMAIL_PRIVATE        = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING       = true
NO_REPLY_ADDRESS                  = noreply.localhost

[oauth2]
JWT_SECRET = xwH0R481nXVt5XBAEg2e_BKG54zql5jANVU6gDNIgRU

[mailer]
ENABLED = false

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true

Now I saw https://github.com/go-gitea/gitea/issues/13023, but the ticket is closed, claiming this is fixed. But for me, I still see the same error. Any advises?

sorry, the last submit resulted in a 404, so I did resubmit. so closing.


update ossutil 1.6.11

Codecov Report

Merging #269 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #269   +/-   ##
=======================================
  Coverage   86.61%   86.61%
=======================================
  Files          50       50
  Lines        3078     3078
=======================================
  Hits         2666     2666
  Misses        284      284
  Partials      128      128

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 19058cd...826a40e. Read the comment docs.


chore(main): release 0.0.2-Dev3.0

:robot: I have created a release beep boop
0.0.2-Dev3.0 (2023-08-14)
Bug Fixes

重置404 (1d16b1a)

Docs

contributor: contrib-readme-action has updated readme (d66f3fb)
contributor: contrib-readme-action has updated readme (529a239)
contributor: contrib-readme-action has updated readme (151346f)
contributor: contrib-readme-action has updated readme (9881fe4)
contributor: contrib-readme-action has updated readme (769d6e8)
contributor: contrib-readme-action has updated readme (7d211c1)

update

添加firebase管控 (560bfc5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/LingASDJ/RW-API-Code/releases/tag/v0.0.2-Dev3.0 :sunflower:


Create CODE-OF-CONDUCT.md

This is a requested document for all repos. It follows a standard format.

I would prefer to just link to the one in the engineering handbook, since it's identical (https://input-output-hk.github.io/cardano-engineering-handbook/policy/project/index.html#code-of-conduct)

Sounds like a plan.


Typo between "application" context and "user" context

The marked word should be user instead of application

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

ID: b1d4287b-0207-5c4f-ae5b-9b0fc33d36a9
Version Independent ID: 53fdc584-5530-cf5e-fb2c-75591bb082bf
Content: Access the Microsoft Defender for Endpoint APIs
Content Source: microsoft-365/security/defender-endpoint/apis-intro.md
Product: m365-security
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@bityob Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/6557
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @bityob Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Fix END-IF error being thrown for END-FOR

If a template an errant END-FOR command, the current behaviour is to throw an error with the text:
Unexpected END-IF outside of IF statement context: end-for person

However, the command message is describes the wrong command/structure used.
This PR changes the outputted error message to report the command name used and corresponding context, working for both END-IF/END-FOR commands.
This can be reproduced with a template like this, with just the following text and nothing else:
+++END-FOR person+++

Great find, this does indeed look like a mistake! I'll test, merge, and release this on Monday.


Add Targeting Filter Based on Potion Effects

A homing projectile that will only target the entities that are poisoned
- class: CustomProjectile
target_potioneffect: POISON
And in parameters:
track_target: true
You might wanna look at how betonquest does this, its an open-source plugin:
https://github.com/Co0sh/BetonQuest/wiki/Conditions-List
look for potion effect condition there.

I think this could be done as a base spell targeting filter, so it could be used for homing in projectiles or any other targeting.

Well nearly a year later... I've added target_potion_effects and ignore_potion_effects parameters.
Both take a list of potion effect types. The target parameter will target entities with any of the given potion effects, the ignore parameter will skip entities with any of the effects.


Remove WebSocket support?

Currently WebSockets are only used for realtime updates of device logs.
Drawbacks I see

Added code complexity (eg. there are no tests yet for this endpoint, additional package)
Deployment complexity (eg. needs special handling if hosted in AWS)
Scalability issue: assuming #197 gets merged, it is the only functionality that has global state and makes it hard to scale to multiple workers if required.

Also: enabling WebSockets for the other screens could be substantial work and not worth the effort IMHO.
Proposal: eliminate WebSockets and add reload button in device log screen.
Thoughts?

Sure, seems like a good idea if it's causing issues.  Would likely want one of those auto refresh timers with a button I think?

You are right. Or thinking about it: just re-using the reload interval the other screens have as well.

I'm not sure it makes sense to entirely remove websockets but I do agree our currently implementation probably needs to go or be heavily redesigned(due to say issues with a lack of multi-process support).
I'm thinking what we probably want to have is simple notification websocket channels that are simply used to inform the frontend when some relevant data on the page is updated, say using websocket subscriptions and something like broadcaster as a pubsub backend which could be used to signal the frontend to reload data over regular rest endpoints. Essentially that way we could just use the websocket channel as a model update notifier for the frontend.
One way that I think this might work would be to essentially wire up broadcaster publish calls to tortoise signals. That way when a model is updated any frontend subscribers would receive model related notifications via say a websocket subscriber by means of broadcaster. This avoids the need to manually maintain associations with the subscribers and their callbacks.

As soon as you have a sizable amount of devices connected to the update server you get few updates per seconds. Informing the UI in that frequency does not help much. So I think the best we can do is the current polling approach - maybe by allowing to configure the poll frequency also in the UI.
So personally I'd urge to keep things as simple as possible and remove everything that is (currently) not needed. Not having web sockets also simplifies testing and deployment.

As soon as you have a sizable amount of devices connected to the update server you get few updates per seconds. Informing the UI in that frequency does not help much

I'm suggesting allowing some sort of device/row level notification/update.

So I think the best we can do is the current polling approach - maybe by allowing to configure the poll frequency also in the UI.

I'm a bit worried polling may be too inefficient.


takewithtime deprecated?

RxJS version: 5.0.0-beta.10
Code to reproduce: https://github.com/ReactiveX/rxjs/search?utf8=✓&q=takewithtime&type=Code
Expected behavior: See results with takewithtime
Actual behavior: None
Additional information:
I could not find mentions of takewithtime in https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md , as it was in v4 but does not appear to be so in v5. If it is deprecated, I would have expected that to be noted in migration.md, and if not, for it to be in the docs.

If it helps, I replaced our original use with .takeUntil(Rx.Observable.timer(duration)), though I didn't look too closely at the original.

closing as inactive


TypeScript Error: No overload matches this call

Describe the bug
I'm getting this strange error while trying to pass bg prop.
To Reproduce
You can see it on every fresh react/typescript install with styled-components/styled-system
Use codesandbox to create a reproduction:
For quick check :https://codesandbox.io/s/intelligent-hopper-67362?file=/tsconfig.json:0-224

@genesis-algorithms
I just spent a long time figuring this out as well! You still have to define your styled component types explicitly even when using the styled-system functions.
interface IProps {
  bg?: string | null;
}
const Button = styled.button<IProps>`
  ${color}
`;

Will fix this!

Does the latest react break the types?

I'm closing this since @chrisMYchen answer was what I was looking for... Thanks, everyone!


Filter out variables on Outline view

The outline view would be more useful if there were a way to filter out the variables. It seems most of the times developers are interested in functions, traits and structs, but the variables make them sparse.
I don't know the proper way to implement this behaviour though.

A new checkbox in atom-ide-rust config that filter out variables in outline view
Wait for Filtering/Sorting of Outline View on atom-ide-ui be implemented
Combination of informing proper hierarchy to outline view and Collapse Functions by Default in Outline-View on atom-ide-ui

Currently ide-rust totally relies on upstream atom-languageclient & atom-ide-ui for outlines. I think, in general, adding new functionality upstream and then configuring it best for rust here makes sense.
At the same time if you want to raise a PR to add a filter option for variables in the outline, I'd probably accept it as we can always drop the config when that functionality appears upstream.

The interaction between components are way more complex than I thought. I'm not sure which piece of software should be modified to properly show hierarchy of items in the outline. I'll take a look at it again over the weekend

It looks there is already an issue to remove local variables from the RLS. I guess they may be useful in other languages, but in Rust's outline they seem unnecessary

I made a PR in RLS to remove local variables, but people thought the best thing to do was to reclassify the symbols so the local variables could be filtered later. Where could local variables be filtered?
Notice although we Rust users don't want to see local variables in the outline view, Javascript users may want them there. It could be useful to have local variables in the symbol search as well.

It seems that the outline in atom uses the documentSymbol containerName to build a parent/child relation in the outline view. Rls doesn't supply this so it's totally flat. I'm not sure how useful this outline is without the parent/child thing.
For example this is how is looks for ide-typescript

I haven't been following the discussion too closely though, do you know why we aren't implementing containerName usage in Rls?
But if you want to try filtering client-side, add override atom-languageclient's behaviour with something like this in ide-rust
// index.js
class RustLanguageClient extends AutoLanguageClient {
  ...
  provideOutlines() {
    let provide = super.provideOutlines()
    let superOutline = provide.getOutline

    provide.getOutline = async (...args) => {
      let outline = await superOutline.apply(this, args)
      outline.outlineTrees = outline.outlineTrees
        .filter(o => o.icon !== "type-variable")
      return outline
    }

    return provide
  }
}

It looks to me like the outline isn't very useful with or without the filtering.

Even though the outline view would be more useful with hierarchy, the items are in the correct order. I've seen the outline with no local variables when I tested my version of RLS. It's much better than what we have now.
I know there are some difficulties determining proper hierarchy of Rust elements, but the last entry on that issue is from 23 Nov 2016. :( It looks like, since vscode doesn't have an outline view, the people that develops RLS don't think of this feature as an priority.
Thanks for the code sample. I'll try filtering with my version of RLS.

What happened to the icons in outline view? I have just checked my Atom and they are gone here too for Java, Rust and Javascript :(

Nevermind. I found it: https://github.com/facebook-atom/atom-ide-ui/issues/175


Important Security Check (AWS)

See what you can probe on webapp container, but also make sure cannot access RDS or ElastiCache externally/publically.

tis should include deleting old crud made when testing


Fix install plugins in Cygwin or MSYS2 vim with enabled git core.auto…

Vim from Cygwin or MSYS2 require LF line endings in plugins. But option core.autocrlf for Git for Windows usually is true and git converts LF to CRLF. This PR disabled core.autocrlf option for git.

Thanks for the patch. Unfortunately I don't have a Windows machine and I can't verify the validity of the approach. Any comments from Windows users are very welcome.
Having said that, I don't think the patch is logically correct. It does not append the flag when g:plug_shallow is 0, which is unrelated to the issue.


Get access to dial value of motor from bluesky

Hi, I have a question. For motors defined by EpicsMotor, how can I get its encoder value (if it has encoder)? From Epics, these value is associated with extension of .DRBV and .RRBV.
Specifically, .DRBV is the DIAL value from the encoder that reads the absolute value of the motor position, which is independent of the user_set. The unit of DRBV is the same as motor position, e.g. in mm.
And .RRBV is the absolute counts of the encoder reading. So the value of RRBV and DRBV is one-to-one mapped by some internal conversion.
For example, if I have a motor:
mot = EpicsMotor('prefix{Ax:X}Mtr', name='mot'), the encoder value is defined as mot.DRBV and mot.RRBV.
Please kindly give some suggestions.
Thanks,
Ming

As I discussed with @gmysage over email, we don't currently expose these specific fields. We do expose fields related to the dial value but I'm not sure how they related to .DRBV. I don't think we expose .RRBV. I'd like to understand better why we would want to.
Our design philosophy has been to expose any fields needed for data acquisition and a few fields that happen to be useful for debugging, but to stop short of a comprehensive set of everything that EPICS can tell us about motor.
Comments from our more controls-oriented contributors would be welcome.

The quickest thing is to just define a local motor sub-class as
class MyMaybeDangerousMotor(EpicsMotor):
    dial_readback =  Cpt(EpicsSignalRO, '.DRBV')
    absolute_encoder_counts = Cpt(EpicsSignalRO, '.RRBV')

which will expose those fields to ophyd/bluesky however I suspect that upstream we will eventually provide more complete motor record classes which may pick different names for those fields so you will have to adapt to that eventually.


Fix RLMLinkingObjects properties on RLMObject subclasses declared in Swift

RLMProperty is initialized in a slightly different codepath for classes declared in Swift than Objective-C. The Swift codepath was missing the necessary logic to handle the linking objects property descriptor.
Fixes #3546.
/cc @jpsim @tgoyne

CI says this regresses one of the Swift performance tests. Will investigate.

The perf regression it's complaining about appears to have already landed on master. Running the perf tests locally that test takes .187 seconds on 0.100.0 and .300 seconds on master.
I suspect one or more of the CI devices are missing perf test baselines.

The failing perf test is an expected regression due to the robust mutex changes (opening a SG is now slower due to that it needs to open more files), so it isn't anything related to this PR.
👍


How do I get this off my machine??

I added this as a Chrome extension on to my Vivaldi browser, and now, for the life of me, I can't figure out how to remove. It doesn't have options to delete like all my other extensions.
That's the major issue, but the issue that's driven me to want to do this is that the extension is causing all of my Google platforms to display in funky manners since installing. It's a drag.

Nevermind. Found how to nuke it. Would've been nice if it didn't hijack my entire Gdrive experience. Thanks for trying.

I'm happy you got this resolved, but could you be more specific about "hijacking your entire Gdrive experience"? I haven't added anything to this app that should affect anything in the way your Google Drive displays or functions.

Icons and menus were disappearing from all my Google apps. Once I removed the app, the browser completely froze-up as well, and had to reboot the machine because it' wouldn't force quit. I'm using Vivaldi, which runs on the same framework as Chrome, but just might not play well with certain apps, esp when they're not interpreted as straight extensions within the browser. Thanks for the reply.

For anyone else experiencing the same issue, you do not have to add the app to your browser in order to use it.  You can access the app by clicking the "Visit Website" button in the Chrome Webstore listing, which will take you directly to the app page.


Is it possible to use  tree-multiselect.js with django forms

I would like to know if can I implement it with django forms
thanks

Yes.


Error: spawn vite ENOENT

Hello, I installed your command and reported an error after execution:

when use Soft link in project，will Cause this problem

Direct installation of dependencies can solve this problem

please remember delete lock file，then installed it

npm install webpack-vite-serve -D
# or
yarn add webpack-vite-serve -D
# or
pnpm add webpack-vite-serve -D

this pr solve it https://github.com/ATQQ/webpack-vite-serve/pull/4


Feature/make modelclientv2 closable

This useful, when the application lives longer than the model client. The HTTP client of the model client can then be disposed of.

That's a good addition. Can you add a test for this?
Sure 😄

:tada: This PR is included in version 2.19.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Slow joint information processing

Description
coroutine is compatible and stable in Unity, but is slow.
I would like to suggest a way to improve this.
When using the method of storing in the image queue and processing in callback and thread, the response time was 1.5 to more than 2 times faster.
We look forward to improving speed.

Which API is the issue related to?
I didn't intend to provide an API that requires Coroutine, so please let me know if there is one.

Dear Junrou Nishida
I hope this message finds you well. I am writing to express our sincere
gratitude for making the MediaPipeUnityPlugin publicly available. It has
been an invaluable asset for our team.
We have recently encountered an aspect of the plugin that raised some
questions. Our developer, [Developer's A], has observed that the current
implementation of MediaPipeUnityPlugin uses coroutines for processing joint
information, which appears to slow down the processing speed. However, upon
experimenting with threads, [Developer's A] found a significant improvement
in performance, including faster response times of the joints.
Based on this experience, we are curious about your perspective on the
current performance of the MediaPipeUnityPlugin and whether there is room
for improvement in this regard. We would greatly appreciate your thoughts
and any suggestions you might have.
Looking forward to your response and thank you once again for developing
such a useful tool.
Best regards,
James
2023년 11월 28일 (화) 오후 8:24, Junrou Nishida @.***>님이 작성:

Which API is the issue related to?
I didn't intend to provide an API that requires Coroutine, so please let
me know if there is one.
—
Reply to this email directly, view it on GitHub
https://github.com/homuler/MediaPipeUnityPlugin/issues/1052#issuecomment-1829629156,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJFPVCQVIS6AYVVWABA4TEDYGXCW5AVCNFSM6AAAAAA7446CYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGYZDSMJVGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

the current
implementation of MediaPipeUnityPlugin uses coroutines for processing joint
information

Will you tell me the exact line of code (the GitHub URL, e.g. VisionTaskApiRunner.cs#L28), please?

Since there is no response, I will close this issue, but I would like to provide some additional clarification.
Firstly, as a design principle for plugins, I intend to avoid APIs that require the use of Coroutine. Therefore, if there is something that cannot be implemented without using Coroutine when assuming the APIs provided by the plugin, please let me know, and I will fix it.
On the other hand, in the sample application (code located under Assets/), Coroutine is used. It's important to note that this is merely a sample, and it does not imply that Coroutine must be used in all cases.
I don't want to add dependencies if possible, so in the sample, I'm using Coroutine. However, I also anticipate that the plugin may be used in conjunction with libraries such as UniTask.


Issue when opening Visual using cmd

Type: Bug
Working on visual code after a while..Earlier it was easily accessed from any directory of my local machine or opening it manually.
But now idk why it's just been hit by a bug or something..which makes it kind of unstable when it opened at first..Like there's a pop comes up that "Visual Studio code not working" Even after it gets open after a few span of time...This doesn't happen with my other apps tho..
I even tried uninstalling it and then installing it again..but that didnt work too..Problem still persists...Help!!
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.84GB (6.33GB free)

Process Argv
. --crash-reporter-id 074ec000-84c5-453a-b0a3-04ab81ea8bd3

Screen Reader
no

VM
0%

Extensions (49)

Extension
Author (truncated)
Version

golangwithdidi
ald
0.0.1

vscode-django
bat
1.10.0

vscode-tailwindcss
bra
0.9.11

doxdocgen
csc
1.4.0

python-environment-manager
don
1.0.4

python-extension-pack
don
1.7.0

es7-react-js-snippets
dsz
4.4.3

vscode-html-css
ecm
1.13.1

prettier-vscode
esb
9.13.0

vscode-firefox-debug
fir
2.9.8

auto-rename-tag
for
0.1.10

code-runner
for
0.12.0

go
gol
0.39.0

better-cpp-syntax
jef
1.17.2

vscode-text-pastry
jkj
1.3.1

solidity
Jua
0.0.165

vsc-python-indent
Kev
1.18.0

vscode-docker
ms-
1.25.1

vscode-edge-devtools
ms-
2.1.2

isort
ms-
2022.8.0

python
ms-
2023.10.1

vscode-pylance
ms-
2023.6.20

jupyter
ms-
2023.5.1001582324

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-wsl
ms-
0.79.5

cmake-tools
ms-
1.14.33

cpptools
ms-
1.15.4

cpptools-extension-pack
ms-
1.3.0

gremlins
nho
0.26.0

autodocstring
njp
0.6.1

gotestexplorer
pre
0.1.13

quicktype
qui
12.0.46

java
red
1.19.0

ethereum-remix
Rem
0.0.12

LiveServer
rit
5.7.9

ayu
tea
1.0.5

cmake
twx
0.0.17

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.51.0

vscode-java-dependency
vsc
0.23.0

vscode-java-pack
vsc
0.25.11

vscode-java-test
vsc
0.39.0

vscode-maven
vsc
0.41.0

jinja
who
0.0.8

commandlist
yam
1.1.0

vscode-proto3
zxh
0.5.5

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
ecj1e332:30736112
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30730052
hideindicator:30766889
pythongtdpath:30769146
i26e3531:30763805
dh2dc718:30763024
pythondjangots:30768919

Btw if you are facing with same issue like that which includes -> "Appearing of a pop-up which indicates that your visual code is not working plus visual code is taking much longer time to open despite you are having good specs"
Then the solution is -> Just add that visual code application into your antivirus section which contains those files that you don't want to get scanned during a real time scan thing...I hope you get it..or have this youtube video link
https://www.youtube.com/watch?v=YQRoik6lk6c


gh pages as helm chart repository

We need a place to serve our helm charts. We can do so with gh-pages.
This PR adds a simple just command that:

packages our helm charts
generated an index.yaml to describe these charts
places the zipped charts and index.yaml into the docs/ folder

I have already updated the repo settings to serve gh-pages from the docs/ folder

Closing in favor of https://github.com/astriaorg/dev-cluster/tree/gh-pages


Query, Filter .first should raise NotModified if there are no results

Currently, FilterResult.first will raise ValueError when there were no results.  This is a legacy of the original exception pattern, which predates the bloop.exceptions module.
Instead, NotModified or perhaps a better-named exception should be raised.  It might be time for a NotFound or NotLoaded, which could also be used by Engine.load.

I'm labelling this Help Wanted since this it should be a reasonable task for someone new to the code base.
Expected files to modify:
bloop/exceptions.py
bloop/filter.py
tests/test_filter.py

merging this with #40, I think I've fixed this one in the process of rewriting the Filter machinery.


Table is not responsive

Expected behavior
When switching between portrait and landscape table should resize to the available screen space.
Observed behavior
Table has fixed size which doesn't change on changing screen mode.

Hi @tmdoit.
We used to have something like that, but due to limitations in React Native's layout engine, we had to make the columns of the table use a fixed width to prevent issues with wide tables (MM-11232).
If you tap on the visible part of the table, it'll open the full table in another screen that's scrollable. Would that solve your problem? I know it's a bit difficult to see that you can do that, so we've also got a ticket (MM-14199) to improve that as well.

Opening the table in new window is not an issue for me. The problem is that the table is not resized to the fullscreen.

Okay, good to know that's what you're looking for. As I mentioned above, we're still limited by React Native's layout engine, but I'll open up a Jira ticket so we can discuss if there's any improvements that we could make here.
https://mattermost.atlassian.net/browse/MM-15635

FYI this is opened as a Help Wanted ticket if anyone would be interested in taking this on: https://github.com/mattermost/mattermost-server/issues/11949
Closing so it can be tracked there


Improvements for building wheels

Description
Make build time improvements and bug fixes for publishing wheels.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Infra/Build change
[ ] Code refractor

Changes

Add build for metapackage.
Catch incorrect installations during import and provide logging messages.
Improve scripts for wheel build.
Bug fix for wheels introduced in #946 that needs xla include directory during jax extensions build.

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/te-ci

/te-ci

/te-ci paddle


Can anyone have any links of materials which explain the architecture  of this code.

Can anyone have any links of materials which explain the architecture of this code.

Start here: https://github.com/tmbdev/ocropy/wiki

Thanks zuphilip :).
I am trying to build a OCR tool and i pass the our data through this.The accuracy is very low.can you please suggest me what are the different enhancement/modifications we need to do here to achieve the good accuracy?

Example image, call and output?

Hi Zaphilip -
please see the example image - [https://drive.google.com/file/d/0B9s_cXxj3yG-WmhZLVBqdnlSQms/view?usp=sharing]
after getting the html output i am calculating the WER (word error rate) using ground truth data but the accuracy is very low so i found out there is two things two achieve the better accuracy -

training of LSTM network on the my own data set.
2)using the image preprocessing. for image preprocessing i gone through the code and found there is two file where the preprocessing is happening   a-ocropus-nlbin, b- ocropus-gpageseg ,so bacially two filters aare there Gaussian and  morphological  operations so can you please tell me if i can modify there pre-processing techniques for our data set can we achieve the better accuracy? and which file i have to modify for the image preprocessing ?.

Please guide me.
Thanks.

You need to scan your documents with 300 dpi to achieve better OCR quality. The current image has too low resolution, e.g

Sorry to mention that before feeding into this tool i am converting this into 300 dpi i have attached the original image.
for e.g- https://drive.google.com/open?id=0B9s_cXxj3yG-WnU2enF3OFBzTUk
Still accuracy is low.
Also i have added some questions related to the image preproceesing  can you please help me?

The picture still only has 626 x 885 pixels which looks like a scanned A4 paper with 75 dpi. You should increase the quality during scanning, i.e. scan this A4 paper with 300 dpi which would then result in about 2504 x 3540 pixels. (Any converting afterwards should at also resize/resample the picture.)

i have checked this it is 300 dpi and dimensions is 1240*1754.

Hi zuphilip,
can you please help me in the image preocessing in this module? I wanted to modify some of the filters like gaussian_filter etc. but i don't know where i can modify these filters i gone through the  ocropus-nlbin file and modified some of the parameter but nothing is affected.
Can you please tell me which is the best way to enhance the image preprocessing module of this tool?.

If you change some code files, then you either have to call the scripts directly with ./ocropus-nlbin or run python setup.py install again.

search  "The OCRopus Open Source OCR System"  may be usefull for you .
you can seach author "Faisal Shafait" ， you will find many papers about OCRopus.
I am also  trying to build a OCR tool , but i am not understan the code , because too little comments or links about the algorithm

search "The OCRopus Open Source OCR System" may be usefull for you .

The paper 'The OCRopus Open Source OCR System' is from 2008. It's totally irrelevant to understanding the current codebase.
Look here:
https://github.com/tmbdev/ocropy/wiki/Publications

@amitdo  any about  papers of page frame detection ?

any about papers of page frame detection ?

Not sure what you are asking here:

Does any of the papers in the Publications page has details about page frame detection?
Do you know any paper about page frame detection?
Do you know any paper written by ocropus' authors about page frame detection?

My answers:
For option 1 - No, AFAIK
For option 2 - I don't have links for you. You'll need to search by yourself.
For option 3 - I don't know if they wrote about this subject.

This paper is mention in  'The OCRopus Open Source OCR System'.
https://pdfs.semanticscholar.org/62b8/01c2c6c48a9e7b587315cdb24f4b708cc8b0.pdf
Here is an old version of ocropus:
https://github.com/zuphilip/ocropus-from-searchcode
https://github.com/zuphilip/ocropus-from-searchcode/search?q=frame

@amitdo  , i am sorry for  my poor English.
I just found in OCRopus , and not found in ocropy/ocropus-gpageseg ,
if this method is not working ? so ocropy give up it.

Sorry, but I do not understand you :-(

@amitdo this paper about page frame detection   https://pdfs.semanticscholar.org/62b8/01c2c6c48a9e7b587315cdb24f4b708cc8b0.pdf
just found in OCRopus , and not found in ocropy/ocropus-gpageseg.
Is there a better method in ocropy?

Now I understand :-)
I believe that there is no such method in the current version of ocropy.


Errors

Hi ilich,
Finally got around to implementing this.  How can we get error messages?   I'm just getting redirected to the Service unavailable page.  Thanks.

@livesoftware - MvcReportViewer does a Trace.Warn() so you should be able to view them if you have enabled Tracing on your application and go to http:///WebSite/trace.axd. Have not tried it myself though.
@ilich - Not everyone enables tracing, and it is way simpler to see the exception message on the error redirect page. At the very least, can the MvcReportViewerErrorPage.html page can be made to accept and display the exception message?
So, instead of:
Response.Redirect(errorpage);

do
Response.Redirect(errorpage + "?errorMessage=exception.Message");

And within MvcReportViewerErrorPage.html
function getParams() {
    //get URL parameters
}

document.write("Error Message:" + getParams()["errorMessage"];

I think I will make it simpler. If user does not want to use custom error page then I will show ASP.NET exception page. It provides all needed information for debugging purposes. Thank you for the recommendation.

You can set MvcReportViewer.ShowErrorPage to False in Web.config to show exception information on the page instead of redirect to your custom error page.

Added error and errorType parameters to the error page.


Hexagon problems

On Squares it works fine. On Hex it seems to need a completely free space to be able to navigate to

Fixed in v6.5.3

Oh thanks for the quick fix, this is great!

@SilverLous Quick question, how are you able to drag the tokens around while keeping the walls visible.

it's from https://github.com/ironmonk88/monks-wall-enhancement
Toggle Walls display


fix: fix instance_view NoneType error

Category

[ ] New feature
[x] Bug fix
[x] Improvement
[ ] Refactor
[ ] etc

Description

fix instance_view Nonetype error

when Container Instance's state is Pending instance_view value is None.
So I added if condition for that.

add memory size and GPU count data for Container Instances

I thought memory size and GPU count of Container Instances is useful data info

fix: changed to static method for Container Instances

include code review

feat: add vCPU count value

Known issue

#14

@stat-kwon Thanks for your detailed review.
I didn't think about that. I included your suggestions for the code.

LGTM 👍 👍 👍


fix: :bug: texteditingcontroller losing state

Fixes TextEditingController Losing State on hot-reload
Adds Some Unit Test to make sure it generates the right output
Adds FormUtilService

Nice work @Eimen2018 , LGTM ✅


Support babel 7 for .ts / .tsx

Mentioned this in #47, but got no reply. Babel 7 adds @babel/preset-typescript, which, obviously, lets you transpile .ts/.tsx code with the babel pipeline (with some limitations). It would be good to be able to use, e.g. webpackfile.ts without adding any more dependencies or workarounds.
Looks simple enough to add - just add @babel/register with extensions: '.ts' to the end of .ts - but I'd like feedback on if this is a terrible idea before submitting a PR 🤞

I'm not a big fan of this idea. But if we do it, I'd want babel to be the last one in the list (excluding deprecated ones)

Yeah, you very well could be using both ts-node for .ts and babel 7 for .babel.js. Hah, .babel.ts?

Unfortunately "double" extensions don't work correctly. I think there's an issue about that.


Laravel 5.8 default migrate has foreign key error

In a laravel 5.8 fresh install, run php artisan migrate have error below:
   Illuminate\Database\QueryException  : SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table `role_user` add constraint `role_user_user_id_foreign` foreign key (`user_id`) references `users` (`id`) on delete cascade)

because laravel 5.8 default change the id key to  BIGINT from INT

This should be resolved in the latest release 1.1.0

Sorry, but this issue is not resolved in 1.1.0 version :(

same problem


semantic highlighting: multi-line token?

It's about Text Block in Java, see https://openjdk.java.net/jeps/355
class Foo {
  private String bar = """
    hello
    world
  """;
}

Intuitively I think it should be a token of String kind, covering """\n   hello\n  world\n  """ across lines.  But according to current design, it seems not possilbe to define multi-line tokens. I tried in vscode but not working (AFAIK for the moment only vscode implements the feature).  I don't know if it's a bug of vscode, or by design.
If it's by design, I have to seperate the text block by defining several tokens for each line. I just feel a little bit unnatural about it. Any clarification to help me understand more?

Regarding VS Code, it is by design that a token cannot be multiline. See microsoft/vscode#86415. The current LSP spec for semantic highlighting is based on VS Code's API so that limitation was inherited.

Clients quite frequently keep token states by line so having tokens that spawn multiple lines is usually hard for them to implement. I do agree that the LSP specification shouldn't limit this in general so I will add a client capability that signals this. Forcing all clients to implement tokens across lines will make it hard for clients to implement that at all.

Addressed via #1077


Process.on_terminate proc cannot be executed?

❯ hostnamectl
Operating System: Debian GNU/Linux 12 (bookworm)
          Kernel: Linux <IP_ADDRESS>-microsoft-standard-WSL2
    Architecture: x86-64

❯ crystal version
Crystal 1.12.1 [4cea10199] (2024-04-11)

LLVM: 15.0.7
Default target: x86_64-unknown-linux-gnu

When I press CTRL+C, the program will be blocked all the time, and the on_termiante proc will not be executed to print and exit the program.
I want to know under what circumstances will it be blocked?
Or how can I debug the program to find out what is causing it to get blocked?
Process.on_terminate do |reason|
  case reason
  when .interrupted?
    puts "Signal : interrupted"
  when .terminal_disconnected?
    puts "Signal : terminal disconnected"
  when .session_ended?
    puts "Signal : session ended"
  end
  Process.exit
end

With just the above code, the program will always exit with no output because there is no interrupt/terminate signal sent to the program, it terminates itself. The #on_terminate method and its underlying implementations also do not block, so I believe there is other code being executed in the program. Can you share more of the source?

because there is no interrupt/terminate signal sent to the program, it terminates itself.
why CTRL+C not sent interrupt/terminate signal sent to the program?

Can you share more of the source?

the code mainly is spawnning 16 fibers to consume downloading task from task queue and download something from remote server

In that case it's possible there is some fiber in a tight loop that is not blocking/yielding which is not allowing the main fiber to run/execute the #on_terminate handler. Crystal also doesn't have any form of preemption. Hard to say without seeing the code, but I'm pretty sure the problem is going to be in your code, rather than the stdlib/compiler.

chan.receive is blocking which will switch to the first available fiber, in this case it's one of the 16 spawned. All of those fibers will remain blocked because of loop { } which is the same as while true.

Going to close this as a duplicate of https://github.com/crystal-lang/crystal/issues/1454

Duplicate of #1454

Skill issue
Solution: I should use Go lang ;-)


Python 3

Please?

Thanks for the PR -- will be pushed to the registry with the next set of changes.


Testing rust-libc (ctest with syntex-syntax 0.3.0 ?)

Is it possible to use ctest with syntex-syntax 0.3.0?
The reason I ask is because we are trying to bootstrap rust-libc, including running the tests (Note: it already works without the tests).
Now rust-libc requires rust-ctest for the tests and rust-ctest requires rust-gcc and rust-syntex-syntax. However, current rust-syntex-syntax has quite a large number of dependencies, including rust-libc (!). But rust-syntex-syntax 0.3.0 has only one dependency, rust-bitflags, which has itself none.
Therefore we would like to bootstrap current rust-libc using ctest with rust-syntex-syntax 0.3.0.
Also, does rust-syntex-syntax work with stable Rust at all?
So far I didn't get syntex-syntax 0.3.0 to work (lots of things broken) - however I thought before I try to fix it I'd ask whether it should be possible to use that (with reasonable effort).
Alternatively, is there another way to test rust-libc?
Our goal is to test rust-libc using a minimal amount of extra packages (whose artifacts we throw away after each libc test).

Possibly! I haven't looked into it at all, but PRs to update are always welcome!

Given that we are currently using syntex_syntax = "0.59.1", I'd say it would be hard to downgrade to 0.3.

Alternatively, is there another way to test rust-libc?

ctest doesn't fully test libc, and it isn't a necessary test either. I'd suggest getting libc to "work" good enough that you can bootstrap, and once you are able to build a newer version of syntex-syntax, then you can use ctest to polish the details.


New Rule: disabling autoplay property

Rule details
Disabling the autoplay property in embedded videos' links
Related ECMAScript feature
No response
What type of rule is this?
JavaScript/TypeScript code
Which codebase the rule should be implemented?
ec0lint
Participation

[X] I am willing to submit a pull request to implement this rule.

Additional comments
No response

work in progress by @martinabab

PR: https://github.com/ec0lint/ec0lint/pull/71

to be updated by @martinabab


Generate metadata for factory method auto completion

Currently methods like TextField::create(); does not 'resolve' to the TextField class but stays in Object.
Laravel as a great ide helper:
https://github.com/barryvdh/laravel-ide-helper
which generates a same kind of helper file.
PHPStorm documentation
https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata
I looked into this, but it is not as easy as it seems.
The problem is that Object::create(); uses get_called_class(); to get the class to generate.
If any has an idea to tackle this, I think this would be a great feature..

Edited title to not only support phpstorm...

Wouldn't this be more of something for the SSTemplate module, than in here?

Well. It bothers me and the purpose of this module is to support autocompletion. At least thats why I created this module...
So think it fits fine in here and once figured out how to map ClassName::create(); to ClassName the generation of the file should be fairly easy...

If we only had namespaces already... it would be much easier...

Valid point :)

I just tried one very risky method. Just because.
It's parsing the file, and prepends every ${something} = {ObjectThing}::create() with /** @var ObjectThing $something */ To my surprise, it actually didn't destroy anything, but I am also very strongly AGAINST implementing something like this. It was a trial to see if the parsing of the file is possible ;)

I noticed that NetBeans has no problem with methods like TextField::create(...)->getMaxlength();
I use the /** @var .. */ etc as well, but it is pretty noisy if you ask me.
And for Form I never assign the Fields to a variable. Forms is where I have the most mess in PHPStorm...
I guess we should forget this for this module..
Or we need namespaces in SS or we need a PHPStorm build-in/plugin solution. Which I unfortunately do now know how to code...

Well, namespacing will be done in 4, hopefully. But yeah, for PHPStorm, I think we'll have to fall back on the SilverStripe plugin.

Which only supports the template language...

It actually does more, but was never renamed I think.

By not using create all the time, but just plain 'new ClassName', this is not a big problem...
I use create for all my forms, which makes them pretty ugly.
No, I favor code like this :
new FieldGroup(
    (new LimitedTextField('Zip', _t('Site.Zipcode', 'Zipcode')))
        ->addExtraClass('geocode'),
    (new LimitedTextField('City', _t('Site.City', 'City')))
        ->addExtraClass('geocode toggle')
)

Any reason why I 'should' use SomeClass::create instead?

Because create uses the Injector, which can return a spec faster. But that's all there is to it.

I still think though, supporting ::create() would be awesome.
But it's a minor issue and I would not think, it's part of what this module is trying to achieve.

FY(and others)I: the phpstorm plugin now manages ::create() autocompletion. See https://github.com/raket/idea-silverstripe/issues/66

Thanks :)
Closed : use this https://github.com/raket/idea-silverstripe


Minor Ansible fixes

Since none of these are critical, I think we can discuss and test them after deadlines.
Details

[x] Python: let Ansible honor requirements.txt at project root too
I actually didn't know whether it was on purpose to maintain two sources of Python dependencies (requirements.txt and data.yml)? If so, we can still have e.g. requirements/{common,dev,test,ansible}.txt
[x] Acto: now we should be able to directly clone the project via HTTPS
One thing to determine, whatever protocol, is which branch/tag/commit to fetch?
https://github.com/xlab-uiuc/acto/blob/4593e77d5162477fdcfcc919408de4d6f4214568/scripts/ansible/acto.yaml#L19
Currently we always and only get the tip of main through archives -- probably not what we desire. Maybe it's not a big deal if we clone instead, because we will have to login those machines after all and can manually checkout. On the other hand, changing this value on a per-branch basis looks... awkward. I don't know if there's cleverer ways.

I'm closing this PR because everything here is contained in the root commit of acto-cloudlab. It even incorporates patches that change the way we fetch Acto source, which is not included in this PR, thanks to Tyler!
I also suggest we completely remove Ansible stuffs in this repo at proper time, so that we maintain it all at one place.
One issue that remains, though, is we always checkout the sosp-ae branch in the Ansible script now. Let's discuss it in the other repo.
https://github.com/xlab-uiuc/acto-cloudlab/blob/9c61d5515e6bc6760f6f68467372626cb702e681/scripts/ansible/acto.yaml#L18


strip out build date from templates for deterministic builds

Fixes #12
Templates use this code for generation:
    {{Y,M,D},{H,Min,S}} = calendar:universal_time(),
    [{date, lists:flatten(io_lib:format("~4..0w-~2..0w-~2..0w",[Y,M,D]))},
     {datetime, lists:flatten(io_lib:format("~4..0w-~2..0w-~2..0wT~2..0w:~2..0w:~2..0w+00:00",[Y,M,D,H,Min,S]))},

I haven't been able to find a way to override this value with a simple flag or env var. Maybe faketime can be a workaround.
For simplicity of use and because generated files' mtime is usually tracked by the SCM (e.g. git) I just stripped the dates out.

I was hoping this could be an option, something I'd merge immediately. I'm probably going to merge this anyway.

Thanks for merging this @tsloughter !
Note: 0.9.0 is in hex.pm but it's not pushed as a git tag ;)

Thanks for the notes. I'll try to remember to push the tag of 0.9.0 when I get a new release out with some other updates.


[type:feat] use binary search optimize random load balance

close #4932

Make sure that:

[x] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

pending next version~

pending next version~

All right. But I have a question, Why does CI always fail?

pending next version~

All right. But I have a question, Why does CI always fail?

e2e testing has a bug


Rename menu "Dashboard"

Hi there, I want rename menu "Dashboard" to other name, but i can't find file navigation to change.
Can you help me?

Check Modules/Common/Navigation/NavigationItems.cs

tks for your help


Add the ServerFarmId property which is needed for Micro services

Hi @galcho, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (galini). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


feat(si): Ensure that the SI binary can update it's containers

fix(auth-api): Reenable the container updates from the github releases API
fix(si): Ensure we are comparing the container version vs release digest from the auth-api for updates

there is an order of operations here - we need to release the SI binary first to get the good update behaviour in place then we can launch the auth-api

bors merge


Causes non-recoverable errors on some level ups

Attached crash message
Happens roughly three to five minutes after loading into a save

I noticed this as well.
First I thought this happens as soon as buildings get upgraded but that doesn't seem to be the case, since sometimes it manages to get Assembler 2s upgraded to 3s.
I can force this Error to happen, when changing the exponent. (With Mods as well as after removing all other mods, except DLC)

Duplicates #61


Add proper linting

The code lacks support for modern linting tools which will enable to code to be more standardised and clean.
Suggested solution: ruff & pre-commit.

https://github.com/weaviate/Verba/pull/43

Hello again Verba/Weaviate team. I have bit of experience setting up github actions pipelines to do linting/formatting stuff, and especially with the megalinter project. I think that would be useful for something like this that has both Python and JS components. It could handle linting and formatting, but also some static security checks and even can check for reused code that can be refactored.
I know based on the Contributing guide that you'd all prefer issue discussion first, so let this be me communicating that I'm interested in taking something like that on for you all. Let me know what you think!

We'll look into improved linting in future versions! Thanks a lot for the help


Duplicate categories in x-axis not shown

I am using "chart-x" attribute of "c3chart" directive like chart-x: "{'id':'x'}". The categories id have duplicate values like [{id:'category1'}, {id:'catefory1'}, {id:'category1'}, {id:'category1'}] but this all chart categories not shown in the chart. Can you please help me on this.

I am afraid this is a serious problem not easy to overcome. The label is used in a map like structure, therefore the id must be different for all columns. I will double check it, but I am almost certain.

I fixed this issue by downgrading c3 library version because i explicitly mentioned c3 version in my bower.json.
I faced this issue when i use c3-angular-directive version 1.2.0 with c3 version 1.4.11.
It is working fine in c3-angular-directive version 1.2.0 with c3 version 1.4.10.

I am getting the same issue in C3-angular 1.3.1 version. Hence reopening this issue.


feat(home): add beta banner, beta/legal alert

Adds the beta and legal alert to the unauthenticated home page.
Closes #559
Changes

adds a beta banner to all pages
adds a beta/legal alert to the unauthenticated home page

How to test this PR

Take a peek at the preview site
See if the banner and alert look like the designs
Test out the links in the alert
Make sure the banner appears correct on other pages in the app

Design questions

what should the subject line be for the email our support staff link in the Alert box on the unauthenticated home page? I set it to [BETA] Home page: Questions or suggestions for now @natalia-fitzgerald

Screenshots

Notes

Future post-mvp related PRs

https://github.com/cfpb/design-system-react/issues/352
https://github.com/cfpb/design-system-react/issues/351

@shindigira @natalia-fitzgerald I don't think the designs had it fixed when we discussed it, and I'd probably argue that having it follow the user would be a lot heh. 🟨 👀

@natalia-fitzgerald @billhimmelsbach Does the beta banner need to be fixed to the top so that even when the user scrolls down -- said user still sees the banner?

@shindigira @natalia-fitzgerald I don't think the designs had it fixed when we discussed it, and I'd probably argue that having it follow the user would be a lot heh. 🟨 👀

If we're following the CFPB default approach it looks like the banner is not "fixed" to the top (does not follow the user as they scroll down the page). Here it is implemented: https://beta.consumerfinance.gov/

If there's a desire to consider a "fixed" beta banner we can discuss post MVP. But I think what you've implemented captures the design and the CFPB approach we were modeling.

No desire from me. I think it would be a little weird for it to be fixed, so I'm happy as it is now and for post-mvp @natalia-fitzgerald 👍


Parsing profile information causes UnsupportedOperationException

Preconditions:
There exist custom types which extend the default FHIR resources.
FhirContext has been set up with default types for profile:
ctx.setDefaultTypeForProfile("http://customResourceProfileId", CustomResource.class);
The resource fetched from the server contains the appropriate profile tag within metadata.
When fetching the resource through the restful client, an UnsupportedOperationException occurs in the ParserState class within the method enteringNewElement(String, String).
Upon examination, the cause is the following:
When attempting to add a profile first the current profile list is fetched, and an attempt to add to this list causes the abovementioned exception. The list appears to be unmodifiable, which is also mentioned in the documentation of the ResourceMetadataKeyEnum.PROFILES constant.
A pull request has been made with a solution to this issue.

Closing this ticket, as the PR has been merged. Thanks for reporting!


Remove parameters from config

Content

Removes the following config options: C_E, alpha_rayleigh_w, alpha_rayleigh_uh, zd_viscous, zd_rayleigh, kappa_2_sponge
Instead of being set via config, these values are added to ClimaAtmosParameters via a SpongeParameters struct, except for C_E, which is at the top-level
Add TOMLs for CI cases that need to change the values above. One file per case.
Updates .dev manifest to 1.9.2
Update juliaformatter to 1.9

bors r+

bors r-

bors r+

bors r-

bors r+


Handle a spring resource properly because a resource may not be a file.  Inject metadataresolver

Handle a spring resource properly because a resource may not be a file.  Inject metadataresolver leaving the default be the FileMetadataResolver

The new classes should be commented with @author and @since. I don't understand why the SpringResourceMetadataResolver is in this PR.
But above all and sorry for the hard work that has been done, I find the result pretty ugly. So much complexity added.
I'm -1 on this.
When a PR comes in, I see three options:

It really makes sense and we should have it in pac4j: we merge it and it is by default
Yes, why not? It's a customization that might be useful, let's create some extension point for it: it can be addressed by configuration
It seems to be a really rare use case: let's turn the code into something that could make the use case possible.

I think here it's option 3). So my proposal is to add a createMetadataResolver method in the SAML2MetadataGenerator which returns a new FilesystemMetadataResolver(metadataResource.getFile()) + a few null checks and a try/catch and nothing more.
This way, you'll be able to override this method with a new class and use your own metadata resolver.

org.pac4j.saml.metadata.SAML2ServiceProviderMetadataResolver.buildMetadataGenerator() hardcodes the SAML2MetadataGenerator instance.. How do you propose utilizing the newly created instance?

So you'll also need to override the SAML2ServiceProviderMetadataResolver  class and the buildMetadataGenerator method...

@leleuj  turns out this is not enough
In org.pac4j.saml.metadata.SAML2ServiceProviderMetadataResolver.writeServiceProviderMetadataToResource(String) there is
final File parent = metadataResource.getFile().getParentFile();
on a resource that is not from a filesystem getFile() may through an exception or at least a null. I handled that the the previous PR.
I can't override public final MetadataResolver resolve() since it's final which I would need to do to call prepareServiceProviderMetadata  which calls writeServiceProviderMetadataToResource(String) both methods of which are private


Add s390x architecture; better build loop control.

As part of preparing OpenWhisk builds for multi-architecture deployment, it's necessary to cross-compile the 'wsk' binary for target architectures.  This adds a cross-compile for s390x architecture.  I've tested that the cross-compile works appropriately from a command-line build; I'm working through the remote deployment approach here.

@jonpspri As long as the build command runs successfully, and golang supports the build of s390x architecture, we can have it as one of the binaries.

Deleted the commented-out old lines and pushed.  I have an Apache CLA in place.

@jonpspri could you rebase and fix conflict ?


Remove extra ports section

Problem: The mixer chart gets two ports sections when the global prometheusPort is defined.
Solution: Removed the extra section.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: myshkin5
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: andraxylia
If they are not already assigned, you can assign the PR to them by writing /assign @andraxylia in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @myshkin5. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun, myshkin5
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@myshkin5: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myshkin5: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-dashboard.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-dashboard

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myshkin5: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-dashboard.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-dashboard

prow/e2e-mixer-no_auth.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myshkin5: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-dashboard.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-dashboard

prow/e2e-mixer-no_auth.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-mixer-no_auth

prow/e2e-bookInfoTests-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myshkin5: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-dashboard.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-dashboard

prow/e2e-mixer-no_auth.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-mixer-no_auth

prow/e2e-bookInfoTests-v1alpha3.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
711c2297d3167329213419272c5cf0c965edb856
link
/test e2e-simpleTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


ng add

I'm submitting a Bug Report

[ ] Regression (a behavior that used to work and stopped working in a new release)
**[ X ] Bug report**
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
when initiating
ng add @ngneat/transloco
and answering the 1st 3 prompts using the defaults.  The install fails, generating the following error
Specified module path projects/communal/src/app/app does not exist
our repository has multiple projects in it and I am attempting to add this to a common "communal" library that will be shared with the multiple projects
If I attempt to put in a path the same error is generated
Expected behavior
Provide a more descriptive error so a person getting the error knows how to correct their mistake.
Minimal reproduction of the problem with instructions
ng add @ngneat/transloco
and answering the 1st 3 prompts using the defaults.
Environment

Angular CLI: 8.1.2
Node: 10.9.0
OS: win32 x64
Angular: 8.1.2

@burkeallen could you please explain what's the issue?

@burkeallen does "communal" projectType is "application" or "library"?

I will add support for libraries, in the meantime, you could install transloco using npm:
npm install @ngneat/transloco :)

@burkeallen, I released a new version with the fix for library :)
You could use it by passing the project name and the module name:
ng add @ngneat/transloco --project communal --module {YOUR_ROOT_MODULE}
Please let us know if it works for you.


Bandwidth Limits not functional

The Issue
When setting a BW limit in App > Settings, it either does not get saved, or if it does, it is not functional (does not limit) as per discussions with @kaykurokawa.
Steps to reproduce

Go to Settings
Set BW limit
Nothing happens or radio button does not work

Expected behaviour
Should allow for BW limit settings and enforce them
Actual behaviour
Does not allow for settings and does not enforce.
System Configuration

LBRY Daemon version: 0.14.2rc6
LBRY App version: 0.13.0
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

These are removed in the master version of the app, and will be gone in the next release. They cannot be restored until the daemon is modified to properly support them.

Do you want me to reopen in lbry repo or are we keeping track already?

I don't believe there is an issue in lbry.


Add CodeQL workflow

Hi shardlab/discordrb!
This is not an automatic, 🤖-generated PR, as you can check in my GitHub profile, I work for GitHub and I am part of the GitHub Security Lab which is helping out with implementing code scanning in many repositories.
You might have heard that we've integrated LGTM's underlying CodeQL analysis engine natively into GitHub. The result is GitHub code scanning!
This pull request enables code scanning by adding an auto-generated codeql.yml workflow file for GitHub Actions to your repository — take a look! We tested it before opening this pull request, so all should be working :heavy_check_mark:. In fact, you might already have seen some alerts appear on this pull request!
Where needed and if possible, we’ve adjusted the configuration to the needs of your particular repository. But of course, you should feel free to tweak it further! Check this page for detailed documentation.
Questions? Check out the FAQ below!
FAQ

Click here to expand the FAQ section
How often will the code scanning analysis run?
By default, code scanning will trigger a scan with the CodeQL engine on the following events:

On every pull request — to flag up potential security problems for you to investigate before merging a PR.
On every push to your default branch and other protected branches — this keeps the analysis results on your repository’s Security tab up to date.
Once a week at a fixed time — to make sure you benefit from the latest updated security analysis even when no code was committed or PRs were opened.

What will this cost?
Nothing! The CodeQL engine will run inside GitHub Actions, making use of your unlimited free compute minutes for public repositories.
How do I upgrade my CodeQL engine?
No need! New versions of the CodeQL analysis are constantly deployed on GitHub.com; your repository will automatically benefit from the most recently released version.
The analysis doesn’t seem to be working
If you get an error in GitHub Actions that indicates that CodeQL wasn’t able to analyze your code, please follow the instructions here to debug the analysis.
Which source code hosting platforms does code scanning support?
GitHub code scanning is deeply integrated within GitHub itself. If you’d like to scan source code that is hosted elsewhere, we suggest that you create a mirror of that code on GitHub.

Swarls approved in Discord