signing key implementation

use ocis-store to get or create a signing key
run https://github.com/owncloud/ocis-store/pull/2 and https://github.com/owncloud/ocis-ocs/pull/18
test using curl localhost:9110/v2.php/cloud/user/signing-key -v
related https://github.com/owncloud/ocis-proxy/pull/75

wtf https://cloud.drone.io/owncloud/ocis-store/11/3/3
1 | 1.13: Pulling from webhippie/golang
-- | --
2 | Digest: sha256:7e764a90464ce1a1fef182561189bdfa5260e653ebdd0d72b4b766550cb33d37
3 | Status: Image is up to date for webhippie/golang:1.13
+ make build
--
5 | protoc \
6 | -I=pkg/proto/v0/ \
7 | --go_out=pkg/proto/v0 store.proto
8 | protoc-gen-go: program not found or is not executable
9 | Please specify a program using absolute path or make sure the program is available in your PATH system variable
10 | --go_out: protoc-gen-go: Plugin failed with status code 1.
11 | make: *** [Makefile:165: pkg/proto/v0/store.pb.go] Error 1

wtf https://cloud.drone.io/owncloud/ocis-store/11/3/3

1 | 1.13: Pulling from webhippie/golang

-- | --

2 | Digest: sha256:7e764a90464ce1a1fef182561189bdfa5260e653ebdd0d72b4b766550cb33d37

3 | Status: Image is up to date for webhippie/golang:1.13

+ make build

--

5 | protoc \

6 | -I=pkg/proto/v0/ \

7 | --go_out=pkg/proto/v0 store.proto

8 | protoc-gen-go: program not found or is not executable

9 | Please specify a program using absolute path or make sure the program is available in your PATH system variable

10 | --go_out: protoc-gen-go: Plugin failed with status code 1.

11 | make: *** [Makefile:165: pkg/proto/v0/store.pb.go] Error 1

Same as https://github.com/owncloud/ocis-settings/issues/30
Still not solved...

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- pkg/service/v0/service.go  1

Clones removed
==============
+ pkg/service/v0/service.go  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- pkg/middleware/accesstoken.go  4
- pkg/service/v0/service.go  4
- pkg/middleware/options.go  2

Clones removed
==============
+ pkg/service/v0/service.go  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- pkg/middleware/accesstoken.go  4
- pkg/middleware/options.go  2
- pkg/service/v0/service.go  4

Clones removed
==============
+ pkg/service/v0/service.go  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- pkg/service/v0/service.go  4
- pkg/middleware/options.go  2
- pkg/middleware/accesstoken.go  4

Clones removed
==============
+ pkg/service/v0/service.go  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- pkg/service/v0/service.go  4
- pkg/middleware/options.go  2
- pkg/middleware/accesstoken.go  4

Clones removed
==============
+ pkg/service/v0/service.go  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- pkg/middleware/accesstoken.go  4
- pkg/service/v0/service.go  4
- pkg/middleware/options.go  2

Clones removed
==============
+ pkg/service/v0/service.go  -2

See the complete overview on Codacy


Error: Phone hard locks then restarts during use since Android P update

I'm happy to run whatever logging out diagnostics are required, but will need some guidance. Scrcpy terminal doesn't yield anything useful.
S8+, Android P, stock and nothing exciting running beyond bxactions and Tasker. No issues when not streaming, no pattern I've discerned to which apps are running when the lock occurs. Usually happens inside 10 minutes.

Something in adb logcat? Does the device heat too much?

Not a heat issue- phone is still cool to the touch and I've had it hotter gaming with no issue.
I've got a logcat dump here, but I don't really know what I'm looking for. Maybe this from the crash dump?
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 32474 (SFWatchDogThrea), pid 32449 (surfaceflinger)

Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 32474 (SFWatchDogThrea), pid 32449 (surfaceflinger)

Yes, probably this.
Do you have the full core dump?

If it is contained in the logcat, yes? If so, or if there is some other way I can get it, I can throw it in a pastebin.

It's a consistent crash / easy issue to replicate, so please let me know what you need and I'll happily oblige.

Does it still happen?

I discontinued use due to this issue. I can test if you want, but at the moment the office (where I had this set up) is closed due to COVID.

OK, yes please test when you can.
For now, I'm closing, since it looks like a ROM issue.


Corrected path for transifex user settings

Once again I found a typo in my code.
Somehow I used the MyDocuments folder path, while in reality it should have been the UserProfile folder path.
I hope I've gotten them all now.

I don't understand why appveyor failed this time though.
Let me check first if I need to rebase again

@AdmiringWorm I was just typing the same thing 😄

hmm, everything seems to be up-to-date.
So that isn't the problem this time.
hmm, I don't understand this

@AdmiringWorm based on the change, let's merge and see what happens, YOLO :-D

nope, didn't work. Odd

Yip, just looking into it just now...

@AdmiringWorm and we are back in business 😄

yup, I noticed.
I was following the build 😄

👍

and yay, no more errors on my appveyor build as well.
https://ci.appveyor.com/project/cakecontrib/cake-transifex/build/0.5.0-localization.1+10.build.25#L337
Now I feel like I want a 🍺

You deserve at least two 😄


test.docker.io sometimes 502s

Err https://test.docker.io docker/main amd64 Packages
  HttpError502
Hit https://test.docker.io docker/main i386 Packages
Fetched 1,378 kB in 10s (127 kB/s)
W: Failed to fetch https://test.docker.io/ubuntu/dists/docker/main/binary-amd64/Packages  HttpError502

This is more of an IRC thing, but I don't really feel like opening IRC. Feel free to close this right away; I just figured I should tell someone. I've got a number of 502s while mucking around with this stuff today.

@burke I am going to close I think it was a weird anomaly :D

Works for me!


[MNT] Try shifting to Ubuntu 22.04

Changing workflow from ubuntu 20.04 to ubuntu 22.04

hmm might have branched from my branch.. ignore other changes


spyder segfaults on exit

Description of your problem
spyder segfaults on exit instead of exiting gracefully
What steps will reproduce the problem?

make a script called spyder3
#! /usr/bin/env python3
from spyder.app import start
start.main()

chmod +x spyder3 then ./spyder3

close spyder (by closing the window, choosing File>Quit or sending SIGTERM, i.e. pkill spyder3)

What is the expected output? What do you see instead?
should exit gracefully (i.e. python returns 0) - I get a segfault instead, python exits with code 139
Versions and main components

Spyder Version: 3.0.1
Python Version: 3.5.2+
Operating system: Debian stretch/sid amd64

Dependencies
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  1.5.3 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.11.2 (OK)
pandas >=0.13.1  :  0.19.0+git14-ga40e185 (OK)
pep8 >=0.6       :  1.7.0 (OK)
psutil >=0.3     :  4.3.1 (OK)
pyflakes >=0.6.0 :  1.3.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.5.5 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.4.8 (OK)
sympy >=0.7.3    :  1.0 (OK)

What are your Qt and PyQt versions?

python3-pyqt5: 5.7+dfsg-2+b1
qt5 (packages: libqt5core5a, libqt5gui5): 5.7.1~20161021+dfsg-5

It seems you're on Debian experimental. Do you have QtWebEngine installed as part of Qt5? Sorry, but I don't know the exact name of the package on Debian :-)

python3-pyqt5.webkit: 5.7+dfsg-2+b1 (without it spyder would raise
ImportError)
I'm on testing/unstable, which is actually much more stable than
experimental :). I tested on another machine with Debian testing:
installed spyder3 (also v3.0.1) from pip, and Python as well as the Qt
framework and bindings from distro's repo. Problem exists as well.
Spyder 3.0.1 for python2.7 also segfaults.

I think this was fixed in the latest Debian packages.

OK indeed on 3.1.2.


About the output of the posenet

hey, I traind all nets accroding to the readme file.When I tested posenet, I found that the camera pose in output was in 6DoF format and then converted to a 3*4 transformation matrix.
In a 3*4 transformation matrix, we usually think that the last column describes the translational motion of the camera.But when the test datas are pictures at the corner of the street,I feel that the network is not performing well when describing the translation.
For example,I chose five images as input .These images are all from the KITTI dataset.They described a street corner. In the transformation matrix of the output, three variables describing the translation, I think at least two variables should have a large change, however, there is only one.  This obviously does not describe the positional change of the camera during the turning of the vehicle. Detailed data are attached.
Where did I go wrong?
Thanks.
test_data.zip

How did you train it? You can check out the training schedule here: https://github.com/anuragranj/cc/issues/5

I think I find my mistake.I didn't finish the training process.
Thanks a lot !

I just traind the net acroding the  training schedule,but i still had some problems.

In  TensorBoard->Images ,i can't watch the output image.The output images are all black/red/white.

In the training process,errors always fluctuate rather than converge.

Here is my training script:
`python3 train.py $data_root --kitti-dir $gt_root --dispnet DispResNet6 --posenet PoseNetB6 --masknet MaskNet6 --flownet Back2Future  -b 4 -pc 1.0 -pf 0.0 -m 0.0 -c 0.0 -s 0.1 --epoch-size 1000 --log-output -f 0 --nlevels 6 --lr 1e-4 -wssim 0.997 --with-flow-gt --with-depth-gt --epochs 50 --smoothness-type edgeaware --fix-masknet --fix-flownet --log-terminal --name STEP1 --resume
echo "STEP1 done!"
python3 train.py $data_root --kitti-dir $gt_root --dispnet DispResNet6 --posenet PoseNetB6 --masknet MaskNet6 --flownet Back2Future  -b 4 -pc 0.0 -pf 1.0 -m 0.0 -c 0.0 -s 0.1  --epoch-size 1000 --log-output -f 0 --nlevels 6 --lr 1e-4 -wssim 0.997 --with-flow-gt --with-depth-gt --epochs 100 --smoothness-type edgeaware --fix-dispnet --fix-posenet --fix-masknet --log-terminal --name STEP1 --resume
echo "STEP2 done!"
python3 train.py $data_root --kitti-dir $gt_root --dispnet DispResNet6 --posenet PoseNetB6 --masknet MaskNet6 --flownet Back2Future -b 4 -pc 1.0 -pf 0.5 -m 0.0 -c 0.0 -s 0.1  --epoch-size 1000 --log-output -f 0 --nlevels 6 --lr 1e-4 -wssim 0.997 --with-flow-gt --with-depth-gt --epochs 100 --smoothness-type edgeaware --fix-dispnet --fix-posenet --fix-flownet --log-terminal --name STEP1 --resume
echo "STEP3 done!"
for((i=1;i<=10;i++));
do
python3 train.py $data_root --kitti-dir $gt_root --dispnet DispResNet6 --posenet PoseNetB6 --masknet MaskNet6 --flownet Back2Future  -b 4 -pc 1.0 -pf 0.5 -m 0.05 -c 0.0 -s 0.1  --epoch-size 1000 --log-output -f 0 --nlevels 6 --lr 1e-4 -wssim 0.997 --with-flow-gt --with-depth-gt --epochs 100 --smoothness-type edgeaware --fix-masknet --fix-flownet --log-terminal --name STEP1 --resume
echo $(expr $i );
echo "LOO1 done!"
python3 train.py $data_root5 --kitti-dir $gt_root --dispnet DispResNet6 --posenet PoseNetB6 --masknet MaskNet6 --flownet Back2Future  -b 4 -pc 0.0 -pf 1.0 -m 0.005 -c 0.0 -s 0.1  --epoch-size 1000 --log-output -f 0 --nlevels 6 --lr 1e-4 -wssim 0.997 --with-flow-gt --with-depth-gt --epochs 100 --smoothness-type edgeaware --fix-dispnet --fix-posenet  --fix-masknet --log-terminal --name STEP1 --resume
echo $(expr $i );
echo "LOO2 done!"
python3 train.py $data_root --kitti-dir $gt_root --dispnet DispResNet6 --posenet PoseNetB6 --masknet MaskNet6 --flownet Back2Future  -b 4 -pc 1.0 -pf 0.5 -m 0.005 -c 0.3 -s 0.1  --epoch-size 1000 --log-output -f 0 --nlevels 6 --lr 1e-4 -wssim 0.997 --with-flow-gt --with-depth-gt --epochs 100 --smoothness-type edgeaware --fix-dispnet --fix-posenet --fix-flownet --log-terminal --name STEP1 --resume
echo $(expr $i );
echo "LOO3 done!"
done
`
btw,I haven't finished the training yet.It takes too much time.But I  want to see the final result.I would appreciate it if you can provide the final well-trained model!

You should see some reasonable outputs after finishing STEP 1, for the depth and camera motion networks.
The trained models are already provided here:
https://github.com/anuragranj/cc#downloads

How do you evaluate the global effect?
Can I fuse into a global trajectory based on the pose of every 5 images?
I performed a simple superposition and found that there is a large error in the global trajectory.

We provide the pose evaluation code for the KITTI odometry dataset. You could use the following as described in the README.
python test_pose.py pretrained/pose_model_best.pth.tar --img-width 832 --img-height 256 --dataset-dir /path/to/kitti/odometry/ --sequences 09 --posenet PoseNetB6

Sorry for my ambiguous expressions, I want to get the trajectory in global frame giving a sequence of images.
I noticed in your works, the output of trajectory is estimated for every 5 images, like 0th-4th, 1st-5th, 2nd-6th. So I wonder how I can get the whole trajectory for all images?
I just do some frame transformation in the original output to transform all images frame to the 0th camera frame, but the result is not really satisfactory. Whatever the sequence is, the trajectory after I processed is just like a straight line.
There is a simple test, used 5 images which is a turning scenes, you can see it in below (It's a right turn scene):

And in below pic, the left is groundtruth (The unit is m), right is the output using test_pose.py(the command in your last answer).(I times 100 to the scale of output trajectory).

It predicts the camera move along an oblique line, and also has a wrong scale.
I am confused about that, thanks for your patient reply and excellent works!
Waiting for your suggestions.

The pose network estimates only the relative pose, and not the global pose. The pose network outputs the relative pose between (I--,I), (I-. I), (I+,I) and (I++, I). So, you would have to integrate to get the global pose trajectory. If you just compute the output of the pose network across the sequence of image, you would just get relative pose or the gradient of the global pose trajectory.

I integrated the output and got the global pose trajectory.

In the above two images,the red-purple-blue one is groundtruth，the yellow-orange-pink one is integrated trajectory. All data comes from the KITTI data set. It seems that the global performance is not very good....

Looks like there is an offset. I have a few questions.

Did you use the KITTI odometry sequence 9 or sequence 10 to compute this? If no, could you compute it on that?
If you used KITTI odometry sequence 9 or 10, could you compute the errors locally and see if it matches the errors that we report which is

 Sequence 9   Sequence 10
0.012 ± 0.007 0.012 ± 0.008

These numbers are obtained by running test_pose.py on these sequences.

Could you confirm that images are resized to 832x256 are normalized between [-1,1] before they are input to the network?

If 1. 2. 3. is true, then it is possible that our method is not so good on global trajectory although it is good for local relative pose estimation, and a longer temporal information would be required by the network (may be training using LSTMs on the whole sequence) to improve the performance.

I did above two tests on sequence 7 and 9. But I also did the same test on sequence 10 and got a similar result.
I also make sure the format of the input is the same as what you described. When I run the script, the output numbers are the same as you report.
The network may have a slight error globally, but it does have excellent results when estimating local pose.Thanks for your patient reply and excellent works again!

hi
can u guys share how to output the complete trajectory? I tried several methods, but I couldn't get a smooth result as @wangy9711
thanks


[USM]: Better wait for process monitor

What does this PR do?
Changes the way we wait for process monitor to be initialized.
Instead of just sleeping, we register exit and exec callbacks, and repeatedly create events (by creating a short living process), and we stop waiting if we got at least one exec event and one exit event.
After we know process monitor initialized successfully, we can deep dive and run the different scenarios to test different use cases.

Motivation
Test flakiness

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Manipulating data of the fitted model

I want to fit a GARCH model on the first 70% of my time series and then test it for predicting the remained 30%.  At each step I want to predict five steps ahead. Is it possible to shift and replace the model.data with some part of test data and then use this model for predicting future? My question is: is there any parameter that should be changed when I change and shift the model's training data to test the fitted model for the test data?

Hey there. There is predict_is, which does the out of sample prediction -> but only does one step ahead out of sample predictions.
I think the way to achieve what you want is to loop over the length of the data with new GARCH instances defined on different parts of the data, and use predict(h=5) at each stage and take the last element of the outputted dataframe?
In terms of the parameters, ideally you'd want to refit the model with the latest data at each stage to exploit the new information.

Hi Ross
Thanks a lot. My code is as follows:
def garch_model_fitting(signal,target,N):
 for p in range(1,3):
     for q in range(1,3):
         if(p == 1 and q == 1):
            garch_mod_B = pf.GARCH(data=signal[signal.index[0]:signal.index[N]],p=1,q=1,target=target)
            x = garch_mod_B.fit()
            aic_B = x.aic
         else:
             garch_mod = pf.GARCH(data=signal[signal.index[0]:signal.index[N]],p=p,q=q,target=target)
             x = garch_mod.fit()
             aic = x.aic
             if(aic < aic_B):
                 garch_mod_B = garch_mod
                 aic_B = aic

return garch_mod_B

 def garch_model_predicting(model,signal,N,nxt = 5):
    print('prediciting is started')
    lastindx = signal.shape[0]
    test_data = signal[signal.index[N]:signal.index[lastindx-1]]
    rows = len(test_data)-(nxt)
    prediced_values =  np.zeros([rows,nxt])
    real_values =  np.zeros([rows,nxt])

    s = N+1
    for i in range(len(test_data)-(nxt)):
         real_values[i] = signal[signal.index[s+i]:signal.index[s+i+nxt-1]]

   predicted = model.predict(nxt).values#model.predict(start,end,dynamic=True)
   prediced_values[0,:] = predicted[0:nxt].reshape([nxt])
   n = model.data.shape[0]
   for i in range(len(test_data)-(nxt)-1):
       for j in range(2,n):
            model.data[j-1] = model.data[j]
       model.data[n-1] = signal[signal.index[n+i]]
       predicted = model.predict(nxt).values
       prediced_values[i+1,:] = predicted[0:nxt].reshape([nxt])

return real_values,prediced_values

Here N is length of the whole data multiplied by 0.7 (I used 70% of first values for training). I used the function garch_model_fitting  for fitting the model. Then in garch_model_predicting function I want to test the model for the remained test data (30% left). In the first for loop (in this function), I shift the model.data one to the left and put one of the new test data and predict five steps ahead and then I repeat this untill the end of the test data. Is it right?

Hey Minina - sorry for late response. It looks good to me, I checked at the weekend. The only thing you might want to think about is whether you want to move 5 steps ahead each time (then predict 5 steps ahead?) - but I guess it depends on what you want to achieve?

Now closing this issue - let me know if you have any further problems


Inputs no longer announce aria describedby in VO

Provide a general summary of the issue here
On our docs https://react-spectrum.adobe.com/react-spectrum/TextField.html#help-text
The help text is not announced in Safari or Chrome.
🤔 Expected Behavior?
It's announced after a slight delay depending on settings.
😯 Current Behavior
It is not announced at all.
💁 Possible Solution
We may be running into https://bugs.webkit.org/show_bug.cgi?id=262895
It would be good to have someone on the team test earlier versions of MacOS and Safari.
I hoped to be able to work around it by using the newer aria-description attribute from ARIA 1.3
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-description
Browsers/AT which don't support it should just ignore it. Safari claims it will prefer the newer attribute over the older one.
Unfortunately this has not worked from my testing in storybook.
🔦 Context
Some additional people with tests https://www.davidmacd.com/blog/is-tabindex-required-on-describedby.html which would indicate that I am correct, this used to work.
🖥 Steps to Reproduce
https://react-spectrum.adobe.com/react-spectrum/TextField.html#help-text make this field invalid and visit it via Tab with VO on Safari or Chrome.
Version
latest
What browsers are you seeing the problem on?
Chrome, Safari
If other, please specify.
Safari 17, Chrome 118
What operating system are you using?
Mac OS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Tested it with an older version of Safari and it seems to announce the aria describedby properly with VO.
MacOS 13.5.2, Safari 16.6
MacOS 12.6.8, Safari 16.6
Can confirm that it does not announce in Chrome 118


add Apache 2.0 license note

Submission Checklist

[X] Run unit tests: ./runTests.py src/test/unit
[X] Run cpplint: make cpplint
[X] Declare copyright holder and open-source license: see below

Summary
Clarify license implications due to Apache 2.0 Intel TBB.
Intended Effect
How to Verify
Side Effects
Documentation
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Sebastian Weber
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I'm going to skip the tests on this README change PR so we can get the changes percolating upstream more quickly. Thanks!


CSS Footer Bug on iPad

[x] Plutus Playground
Plutus Playground > Simulation tab: Footer bugs into the middle of the page on iPad:

This feels like an flexbox issue.
Would be happy to fix when #2857 is resolved

Hi @krishanik, thanks for reporting this. I am not able to recreate this using dev tools (I do not own an iPad). Are you still experiencing this? If yes, are you willing to propose a fix seeing as #2857 is now unblocked?

I'm closing this issue but feel free to reopen if bug is reproducible.


Fix test_formula for pandas 3.0 nightly

Checklist

[ ] Added a CHANGELOG.rst entry

This change should fix the formulaic.errors.FormulaMaterializerNotFoundError: No materializer has been registered for input type 'pandas.DataFrame'. Available input types are: set(). errors in the nightlies run. The underlying cause is that the current version of formulaic has some issues with pandas 3.0, and model_matrix does not work without selecting a materializer explicitly.
IMO being explicit is not a bad idea anyway, so we can fix the test instead of waiting for a formulaic update.

Thanks! Just FYI, the next formulaic release should fix the underlying issue as well.

Second FYI: nightlies should still fail because of tabmat.


Clean macvtap0 / macvlan0 after container is removed?

Is it possible to remove interfaces after the container is stopped and removed?
Tried to attach host interfaces:
docker run -p 5900:5900 -p 2222:22 -p 4444:4444 -td --name kvm --privileged -v /home/rancher/image.qcow2:/image/image.qcow2 -e AUTO_ATTACH=n -e ATTACH_IFACES=eth1 --net=host bbvainnotech/kvm:latest

The created interfaces are persistent after container is removed. Will this cause problems with new created KVM containers?
23: macvtap0@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state LOWERLAYERDOWN group default qlen 500
    link/ether d6:e7:a3:65:21:04 brd ff:ff:ff:ff:ff:ff
24: macvlan0@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state LOWERLAYERDOWN group default qlen 1
    link/ether aa:16:25:51:22:11 brd ff:ff:ff:ff:ff:ff

Yes: by design the container entrypoint is not idempotent. We are not sure to implement this feature, as it could have side effects when container is launched with net=host.
Thus, by now, if you want to launch the container twice, you need to remove it first.
How useful do you see this feature? in which cases you find that it is a problem to destroy de container?

I have a use case which would work with one or more host interfaces (internet connection mapped to a container), but it isn't important at the moment.
Maybe it's possible to work around the need of --net=host (host interfaces) by use docker network macvlan / ipvlan and use docker interfaces instead of the host interfaces?
Haven't tested it yet... Just an idea...
Maybe it's possible to map host interfaces with docker network macvlan driver?

It works to map a host interface to a docker macvlan network (docker 1.12+).
docker network create -d macvlan --subnet=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> -o parent=eth1 macvlan-eth1

docker run --rm -ti --net=macvlan-eth1 alpine sh

The alpine container gets the second ip address <IP_ADDRESS>.
Connected my notebook to eth1 with the gateway ip <IP_ADDRESS>.
Ping works fine in both directions between notebook -> docker host eth1 -> alpine container (docker network "macvlan-eth1").

Your're right. We discussed internally this usage mode some weeks ago and it's definetly the way to go if you have docker 1.12+ and need to connect a docker container to the underlying network.
Unfortunately we haven't tested it yet, but this container should work with no changes at all.
Thanks to your comments, I have renamed the network devices that are created by the container from macvlan# / macvtap# to kvm-macvlan# / kvm-macvtap# in #d5287d6
Feel free to reopen or create a new enhancement issue if you find that the feature described in the first comment has enough use cases to be considered in future versions.


Text style and layer Style

Hello, Thank you very much for your job, it's amazing.
I work on sketch 52.4 and text and layer style doesn't change, only symbols.

Hi, I tested it in 52.4 and working as expected.
To change text and layer styles, they have to be Shared Styles in both documents, with same names.
Then, Camilo will replace them. Can you find example files to test how it works here.
Cheers

I'm experiencing the same issue as @leolav, tested with the attached example files

Did you follow the next steps?
1 - Install the brand libraries
2 - Open uiKit file
3 - Press Control + Command + C or use the Plugins menu and choose brand_2 (uiKit comes with brand_1 styles applied)

Yes, how would you use text and layer style in a brand new file?

I'm not sure if I'm understanding the issue. Can you give me more details?
@lvcs for a brand new file you have to set the local layer and text styles with the same name as they are in libraries to do the swap. We are developing a new feature with override styles from a library instead of local styles, which is more appropriate since it provides the capacity to update the libraries.


On Stream Page, change macroinvertebrate box size

Hydropsychidae doesn't quite fit in the box containing the image and name, messing up the spacing of the macroinvertebrates.  I'd vote for making the box a tad bigger rather than reducing the font size.

This is a duplicate (I think with #28)


 This is invalid for charts like timeseries.
JSFiddle: http://jsfiddle.net/mkw4h54r/

+1

Hi, is there any ETA when this issue will be fixed?
Thanks for a response.

I am having this same issue and submitting another ticket.  Did anyone hear back on this?

With version 0.5.1 of c3.js, spline: { interpolation: { type: 'monotone' } } option resolves this issue.
See https://jsfiddle.net/mkw4h54r/5/ for example.

And what about area-spline?


Separate migration of strategy configuration from the constructing and running the plugins

Moving the code around to simplify implementation of conversion from v1alpha1 -> v1alpha2.
With a goal to separate the code responsible for processing strategy arguments from the rest of the code. Keeping assumption the only v1alpha2 policy configuration is produced from v1alpha1. Once the conversion is done, the main loop can be extended to take into account more reach expressiveness of v1alpha2. E.g. defaulting a list of plugins, pluginConfig and enabled/disabled extension points.

/retest

strategyParamsToPluginArgs map is way cleaner than all those conversion funcs that I had in the WIP PR, thanks for showing me that :D
I wonder if we could have some tests for the policyconfig.go code. Than we can make next changes easier to verify with changing tests.

I wonder if we could have some tests for the policyconfig.go code. Than we can make next changes easier to verify with changing tests.

v1alpha1Tov1alpha2 is a temporary function so I wonder what would be the right code to test here. Probably valid conversion from v1alpha1 to v1alpha2.

I wonder if we could have some tests for the policyconfig.go code. Than we can make next changes easier to verify with changing tests.

v1alpha1Tov1alpha2 is a temporary function so I wonder what would be the right code to test here. Probably valid conversion from v1alpha1 to v1alpha2.

Yeah, valid conversion from v1alpha1 to v1alpha2

Just to give context to anyone reading and wanting to help review.
Consider https://github.com/kubernetes-sigs/descheduler/pull/974/files#diff-0129f73a80ed727af36e1b6007786fd044191cafed0900875f5a90b38ea33739 to be a POC for the whole v1alpha2 introduction + conversion. And consider what Jan is starting here as the actual incremental changes going in that direction but changing whatever makes sense while doing that.

/retest

/lgtm
:smile:

/approve
/hold until @knelasevero determines which PR the tests should belong to. feel free to unhold once done

/unhold
unholding and waiting for another lgtm :)

LGTM

/label tide/merge-method-squash
Not sure this is done like this, let me check :)

/lgtm


Writing netcdf after running xarray.dataset.reindex to fill gaps in a time series fails due to memory allocation error

Problem Summary
I am attempting to convert a.grib2 file representing a single day's worth of gridded radar rainfall data spanning the continental US, into a netcdf. When a .grib2 is missing timesteps, I am attempting to fill them in with NA values using xarray.Dataset.reindex before running xarray.Dataset.to_netcdf. However, after I've reindexed the dataset, the script fails due to a memory allocation error. It succeeds if I don't reindex. One clue could be in the fact that the dataset chunks are set to (70, 3500, 7000), but when ds.to_netcdf is called, the script fails because it's attempting to load a chunk with dimensions (210, 3500, 7000).
Accessing Full Reproducible Example
The code and data to reproduce my results can be downloaded from this Dropbox link. The code is also shown below followed by the outputs. Potentially relevant OS and environment information are shown below as well.
Code
#%% Import libraries
import time
start_time = time.time()
import xarray as xr
import cfgrib
from glob import glob
import pandas as pd
import dask
dask.config.set(**{'array.slicing.split_large_chunks': False}) # to silence warnings of loading large slice into memory
dask.config.set(scheduler='synchronous') # this forces single threaded computations (netcdfs can only be written serially)
#%% parameters
chnk_sz = "7000MB"
fl_out_nc = "out_netcdfs/20010101.nc"
fldr_in_grib = "in_gribs/20010101.grib2"

#%% loading and exporting dataset
ds = xr.open_dataset(fldr_in_grib, engine="cfgrib", chunks={"time":chnk_sz},
                    backend_kwargs={'indexpath': ''})

# reindex
start_date = pd.to_datetime('2001-01-01')
tstep = pd.Timedelta('0 days 00:05:00')
new_index = pd.date_range(start=start_date, end=start_date + pd.Timedelta(1, "day"),\
                                    freq=tstep, inclusive='left')

ds = ds.reindex(indexers={"time":new_index})
ds = ds.unify_chunks()
ds = ds.chunk(chunks={'time':chnk_sz})

print("######## INSPECTING DATASET PRIOR TO WRITING TO NETCDF ########")
print(ds)
print(' ')
print("######## ERROR MESSAGE ########")
ds.to_netcdf(fl_out_nc, encoding= {"unknown":{"zlib":True}})

Outputs
######## INSPECTING DATASET PRIOR TO WRITING TO NETCDF ########
<xarray.Dataset>
Dimensions:     (time: 288, latitude: 3500, longitude: 7000)
Coordinates:
  * time        (time) datetime64[ns] 2001-01-01 ... 2001-01-01T23:55:00
  * latitude    (latitude) float64 54.99 54.98 54.98 54.97 ... 20.03 20.02 20.01
  * longitude   (longitude) float64 230.0 230.0 230.0 ... 300.0 300.0 300.0
    step        timedelta64[ns] ...
    surface     float64 ...
    valid_time  (time) datetime64[ns] dask.array<chunksize=(288,), meta=np.ndarray>
Data variables:
    unknown     (time, latitude, longitude) float32 dask.array<chunksize=(70, 3500, 7000), meta=np.ndarray>
Attributes:
    GRIB_edition:            2
    GRIB_centre:             161
    GRIB_centreDescription:  161
    GRIB_subCentre:          0
    Conventions:             CF-1.7
    institution:             161
    history:                 2022-09-10T14:50 GRIB to CDM+CF via cfgrib-0.9.1...

######## ERROR MESSAGE ########
Output exceeds the size limit. Open the full output data in a text editor
---------------------------------------------------------------------------
MemoryError                               Traceback (most recent call last)
d:\Dropbox\_Sharing\reprex\2022-9-9_writing_ncdf_fails\reprex\exporting_netcdfs_reduced.py in <cell line: 22>()
     160 print(' ')
     161 print("######## ERROR MESSAGE ########")
---> 162 ds.to_netcdf(fl_out_nc, encoding= {"unknown":{"zlib":True}})

File c:\Users\Daniel\anaconda3\envs\weather_gen_3\lib\site-packages\xarray\core\dataset.py:1882, in Dataset.to_netcdf(self, path, mode, format, group, engine, encoding, unlimited_dims, compute, invalid_netcdf)
   1879     encoding = {}
   1880 from ..backends.api import to_netcdf
-> 1882 return to_netcdf(  # type: ignore  # mypy cannot resolve the overloads:(
   1883     self,
   1884     path,
   1885     mode=mode,
   1886     format=format,
   1887     group=group,
   1888     engine=engine,
   1889     encoding=encoding,
   1890     unlimited_dims=unlimited_dims,
   1891     compute=compute,
   1892     multifile=False,
   1893     invalid_netcdf=invalid_netcdf,
   1894 )

File c:\Users\xxxxx\anaconda3\envs\weather_gen_3\lib\site-packages\xarray\backends\api.py:1219, in to_netcdf(dataset, path_or_file, mode, format, group, engine, encoding, unlimited_dims, compute, multifile, invalid_netcdf)
...
    121     return arg

File <__array_function__ internals>:180, in where(*args, **kwargs)

MemoryError: Unable to allocate 19.2 GiB for an array with shape (210, 3500, 7000) and data type float32

Environment
windows 11 Home
xarray 2022.3.0
cfgrib <IP_ADDRESS>
dask 2022.7.0

I found a functional workaround is to chunk by one of the spatial dimensions instead. I'd still like to know why the code above fails though. I'm assuming there's a scheduled task with dask the occurs before to_netcdf but I haven't been able to figure out what that is.
ds = xr.open_dataset(fldr_in_grib, engine="cfgrib", chunks={"latitude":875},
                    backend_kwargs={'indexpath': ''})

I think #7028 might help you -- I was running into a similar problem. In short, try keeping your time variables as float64 instead of as date time (or converting before you try to save).

I tried your suggestion and still ran into a memory allocation error, but it sounds like you're onto something. I also found this other thread about reindex causing memory allocation errors but it doesn't look like a solution was discovered there either. https://github.com/pydata/xarray/issues/2745


slugify('广东') return worng result

What steps will reproduce the problem?
In : slugify('广东')
Out: 'yan-dong'
What is the expected output? What do you see instead?
expected output: 'guang-dong'
output: 'yan-dong'
What version of the product are you using? On what operating system?
django-uuslug==1.1.8
python 3.6.5
MacOS 10.14

Django uuslug uses Unidecode for conversions.  I recommend you raise the issue there.


Adding "pause" capabilities to Refreshers

While working on the "update from git" app, I've encountered a usecase where it's needed to print a message on the screen, then continue redrawing the progressbar. For now, I'm using stop() and run_in_background, but it's a hack that's prone to race conditions. It'd be great to have pause and resume capabilities to Refresher, so that it could be temporarily stopped. I'm guessing that is_foreground property could be used as a flag, especially given that many Refresher's functions are wrapped by to_be_foreground.

Once the capability is in place, it has to be used in the update app, replacing the stop() and run_in_background() calls.


Support relations on list fields

Given
create table "Author" (
  id int primary key,
  email int []  unique
);
create table "Post" (
  id int primary key,
  author_id int []  references "Author" (email)
);

Expected
model Author {
  id    Int    @id
  email Int[]  @unique
  Post  Post[]
}

model Post {
  id        Int      @id
  author_id Int[]
  Author    Author[] @relation(fields: [author_id], references: [email])
}

Actual
model Author {
  id    Int    @id
  email Int[]  @unique
  Post  Post[]
}

model Post {
  id        Int     @id
  author_id Int[]
  Author    Author? @relation(fields: [author_id], references: [email])
}

Additional context
Gaps Link: https://prisma-gaps.netlify.app/#15

The introspected result looks correct. We verified using Postgres directly that this is indeed a 1:M relation at the database level and not a M:N.

I tested this. The PSL is correct. It migrates correctly and client can query and join data with it. Closing.


filetype: some tools config files are not recognized

Problem: Some tools config files are not recognized.
Solution: Add patterns for some tools config files
Refer:

https://packaging.python.org/en/latest/specifications/pypirc/
https://jorisroovers.com/gitlint/latest/configuration/
https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#command-line-options
https://docs.bpython-interpreter.org/en/latest/configuration.html
https://mypy.readthedocs.io/en/stable/config_file.html#the-mypy-configuration-file
https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file

Fixed.

thanks!


Too Many Files Open

Describe the Bug
After ~28 days uptime, Reticulum crashes due to too many files being open, breaking ratchets and logging, and eventually crashing the entire transport instance.
To Reproduce
I don't think it wise to wait a month to see if I can duplicate, this is a fundamental issue.
Expected Behavior
File handles closed after use.
Logs & Screenshots
Typical:
Oct 18 05:52:07 reticulum.betweentheborders.com rnsd[553]:   File "/home/xxx/.local/lib/python3.11/site-packages/RNS/Identity.py", line 288, in persist_job
Oct 18 05:52:07 reticulum.betweentheborders.com rnsd[553]: OSError: [Errno 24] Too many open files: '/home/xxx/.reticulum/storage/ratchets/xxx>

System Information

Debian
Python 3.11.2
RNSD 0.7.7

Additional context
Working theory is that there's an error inside a try/except cycle which leaves a handle dangling.
Suggestion: Either migrate to with open('file.ext','r') as f: format or move file.close() out of try: and into finally:

Okay, I found the issue. Identity.py line 332 opens a file which is never closed. I'm halfway through changing Identity.py over into with open so I'm going to finish that up and fix the problem. If that's unacceptable, then it's a quick fix closing the file that was opened on 332.

and eventually crashing the entire transport instance.

Heh, I've noticed now and then when I get up in the morning, MeshChat is no longer running and had closed itself overnight. I hadn't added any logging for this yet, but this could be related. Seemed to only happen once a month or so... :D
Looks like your error log is related to linux, whereas I'm running on Windows. So no idea until I investigate further, but thought I'd throw in some extra info...

Yep, that was a very classical oversight of forgetting to close the file handle again, and even in such an often-used function. Oof! Thanks for the report and fixing it. I'll release an update for this shortly! I'm betting it's the same cause for your crash @liamcottle.

@liamcottle  I would assume (a dangerous word) Windows has a similar file handle limit, which may or may not be even the same magnitude as Linux, but I'm willing to bet it would be a problem eventually. Given the similar timing, it wouldn't surprise me, but going back a few versions, sometimes things happened without any error logs I've noticed.
That being said, I can now target these crashes pretty well: I noticed it was down when the Amber Pages said everything was "two days ago." Gave me a ~24 hour period to look at in the logs.
So while this was a problem that has been resolved, I think I have an edge on future troubleshooting, as I think that system is on debug logging. I'll check when I switch over to the new build.


Redirecting reply gets "undefined"

Base on this section in the docs:
http://superscriptjs.com/documentation/scripting#redirect
I've created this script:
main.ss:
+ ~emohello
- Hi! {@ask}
- Hello, {@ask}
- Howdy, {@ask}
- Ola, {@ask}

+ ask
- How are you?
- How you doing?
- What's up?

User '<IP_ADDRESS>:55582' has connected.
Script Connecting User +7s <IP_ADDRESS>:55582
User user Connected +0ms { name: '<IP_ADDRESS>:55582',
status: 1,
currentTopic: 'random',
memory:
 { conceptToList: [Function],
     create: [Function],
     db:
        { getStream: [Function],
            get: [Function],
            put: [Function],
            del: [Function],
            putStream: [Function],
            delStream: [Function],
            close: [Function],
            v: [Function: Variable],
            searchStream: [Function],
            search: [Function],
            isOpen: [Function],
            nav: [Function],
            generateBatch: [Function: generateBatch],
            joinStream: [Function],
            join: [Function],
            approximateSize: [Function] },
     createUserDB: [Function],
     createUserDBWithData: [Function] },
conversationStartedAt: Fri Jan 16 2015 13:29:42 GMT+0000 (UTC),
lastMessageSentAt: null,
volley: 0,
rally: 0,
__history__:
 { input: [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,    ],
     reply: [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,    ],
     topic: [ , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,    ] } }
Script Message Recieved from '<IP_ADDRESS>:55582' +5s hi
Message Creating message from: +0ms ~emohello
Message fullnames +975ms names []
Message Fetch List +1ms
Message Return with    +0ms []
Message fullnames +1ms nouns []
Message Things +0ms [ '~emohello' ]
Message Things +0ms []
Message Message +1ms { facts:
 { conceptToList: [Function],
     create: [Function],
     db:
        { breadthFirst: [Function: breadthFirst],
            deepFirst: [Function: deepFirst] },
     createUserDB: [Function],
     createUserDBWithData: [Function] },
createdAt: Fri Jan 16 2015 13:29:49 GMT+0000 (UTC),
raw: '~emohello',
clean: '~emohello',
crc: 'a5926307',
dict: { words: [ [Object] ] },
words: [ '~emohello' ],
cwords: [ '~emohello' ],
taggedWords:
 [ [ '~emohello', 'NN' ],
     pushUnique: [ [Function], [Function] ],
     chunk: [ [Function], [Function] ] ],
lemWords: [ '~emohello' ],
lemString: '~emohello',
posString: 'NN',
qtype: '',
qSubType: '',
isQuestion: false,
sentiment: 0,
nouns: [ '~emohello' ],
names: [],
list: [],
adjectives: [],
adverbs: [],
verbs: [],
pnouns: [],
pronouns: [],
compareWords: [],
numbers: [],
compare: false,
date: null,
cNouns: [ '~emohello' ],
numericExp: false,
halfNumericExp: false,
entities: [ '~emohello' ] }
User getTopic +7s random
Topics allTopics +0ms [ '__pre__', 'random', '__post__' ]
GetReply Topics to check +0ms [ '__pre__', 'random', '__post__' ]
Topic FindMatch +0ms random
Topic Try to match (clean)'~emohello' against ~emohello (~emohello) topic: random +1ms
Topic Try to match (lemma)'~emohello' against ~emohello (~emohello) topic: random +0ms
Topic Found Match with topic random +0ms
Topic Try to match (clean)'~emohello' against ask (ask) topic: random +1ms
Topic Try to match (lemma)'~emohello' against ask (ask) topic: random +0ms
GetReply match itor +2ms { stars: [],
trigger:
 { id: 'a5926307',
     trigger: '~emohello',
     replies:
        { '20c01f40': 'Hi! {@ask}',
            '6f26a364': 'Hello, {@ask}',
            c4cb7385: 'Howdy, {@ask}',
            '8b163f90': 'Ola, {@ask}' },
     redirect: false,
     isQuestion: false,
     qType: false,
     qSubType: false,
     filter: false },
topic: 'random' }
GetReply filterRepliesByFunction +1ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
GetReply filterByFunction Results +2ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
GetReply filterRepliesBySeen +1ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
GetReply Bucket +0ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
ProcessTags Inline redirection to: ask +0ms
GetReply Called Recursively +4ms 1
User getTopic +11ms random
Topics allTopics +11ms [ '__pre__', 'random', '__post__' ]
GetReply Topics to check +0ms random
ProcessTags CallBack from inline redirect +2ms undefined
ProcessTags CallBack from inline redirect +1ms Howdy, undefined
GetReply err, reply +2ms null Howdy, undefined
Message Creating message from: +16ms Howdy, undefined
Message fullnames +311ms names []
Message Fetch List +0ms
Message Return with    +0ms []
Message fullnames +7ms nouns []
Message Things +0ms [ '~emohello' ]
Message Things +0ms []
Message Message +1ms { facts:
 { conceptToList: [Function],
     create: [Function],
     db:
        { breadthFirst: [Function: breadthFirst],
            deepFirst: [Function: deepFirst] },
     createUserDB: [Function],
     createUserDBWithData: [Function] },
createdAt: Fri Jan 16 2015 13:29:50 GMT+0000 (UTC),
raw: 'Howdy, undefined',
clean: '~emohello, undefined',
crc: '84658c97',
dict: { words: [ [Object], [Object], [Object] ] },
words: [ '~emohello', ',', 'undefined' ],
cwords: [ '~emohello', ',', 'undefined' ],
taggedWords:
 [ [ '~emohello', 'NN' ],
     [ ',', ',' ],
     [ 'undefined', 'JJ' ],
     pushUnique: [ [Function], [Function] ],
     chunk: [ [Function], [Function] ] ],
lemWords: [ '~emohello', ',', 'undefined' ],
lemString: '~emohello , undefined',
posString: 'NN , JJ',
qtype: '',
qSubType: '',
isQuestion: false,
sentiment: 0,
nouns: [ '~emohello' ],
names: [],
list: [],
adjectives: [ 'undefined' ],
adverbs: [],
verbs: [],
pnouns: [],
pronouns: [],
compareWords: [],
numbers: [],
compare: false,
date: null,
cNouns: [ '~emohello' ],
numericExp: false,
halfNumericExp: false,
entities: [ '~emohello' ] }
User Updating History +324ms
User getTopic +0ms random
Script Update and Reply to user '<IP_ADDRESS>:55582' +2s Howdy, undefined
Script Message Recieved from '<IP_ADDRESS>:55582' +5.4m Hello
Message Creating message from: +5.4m ~emohello
Message fullnames +115ms names []
Message Fetch List +0ms
Message Return with    +1ms []
Message fullnames +0ms nouns []
Message Things +0ms [ '~emohello' ]
Message Things +0ms []
Message Message +0ms { facts:
 { conceptToList: [Function],
     create: [Function],
     db:
        { breadthFirst: [Function: breadthFirst],
            deepFirst: [Function: deepFirst] },
     createUserDB: [Function],
     createUserDBWithData: [Function] },
createdAt: Fri Jan 16 2015 13:35:15 GMT+0000 (UTC),
raw: '~emohello',
clean: '~emohello',
crc: 'a5926307',
dict: { words: [ [Object] ] },
words: [ '~emohello' ],
cwords: [ '~emohello' ],
taggedWords:
 [ [ '~emohello', 'NN' ],
     pushUnique: [ [Function], [Function] ],
     chunk: [ [Function], [Function] ] ],
lemWords: [ '~emohello' ],
lemString: '~emohello',
posString: 'NN',
qtype: '',
qSubType: '',
isQuestion: false,
sentiment: 0,
nouns: [ '~emohello' ],
names: [],
list: [],
adjectives: [],
adverbs: [],
verbs: [],
pnouns: [],
pronouns: [],
compareWords: [],
numbers: [],
compare: false,
date: null,
cNouns: [ '~emohello' ],
numericExp: false,
halfNumericExp: false,
entities: [ '~emohello' ] }
User getTopic +5.4m random
Topics allTopics +5.4m [ '__pre__', 'random', '__post__' ]
GetReply Topics to check +5.4m [ '__pre__', 'random', '__post__' ]
Topic FindMatch +5.4m random
Topic Try to match (clean)'~emohello' against ~emohello (~emohello) topic: random +0ms
Topic Try to match (lemma)'~emohello' against ~emohello (~emohello) topic: random +0ms
Topic Found Match with topic random +0ms
Topic Try to match (clean)'~emohello' against ask (ask) topic: random +1ms
Topic Try to match (lemma)'~emohello' against ask (ask) topic: random +0ms
GetReply match itor +2ms { stars: [],
trigger:
 { id: 'a5926307',
     trigger: '~emohello',
     replies:
        { '20c01f40': 'Hi! {@ask}',
            '6f26a364': 'Hello, {@ask}',
            c4cb7385: 'Howdy, {@ask}',
            '8b163f90': 'Ola, {@ask}' },
     redirect: false,
     isQuestion: false,
     qType: false,
     qSubType: false,
     filter: false },
topic: 'random' }
GetReply filterRepliesByFunction +0ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
GetReply filterByFunction Results +2ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
GetReply filterRepliesBySeen +0ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
GetReply Bucket +3ms [ { crc: '20c01f40',
    stars: [],
    topic: 'random',
    reply: 'Hi! {@ask}',
    trigger_id: 'a5926307' },
{ crc: '6f26a364',
    stars: [],
    topic: 'random',
    reply: 'Hello, {@ask}',
    trigger_id: 'a5926307' },
{ crc: 'c4cb7385',
    stars: [],
    topic: 'random',
    reply: 'Howdy, {@ask}',
    trigger_id: 'a5926307' },
{ crc: '8b163f90',
    stars: [],
    topic: 'random',
    reply: 'Ola, {@ask}',
    trigger_id: 'a5926307' } ]
ProcessTags Inline redirection to: ask +5.4m
GetReply Called Recursively +1ms 1
User getTopic +9ms random
Topics allTopics +9ms [ '__pre__', 'random', '__post__' ]
GetReply Topics to check +2ms random
ProcessTags CallBack from inline redirect +2ms undefined
ProcessTags CallBack from inline redirect +0ms Hello, undefined
GetReply err, reply +1ms null Hello, undefined
Message Creating message from: +13ms Hello, undefined
Message fullnames +120ms names []
Message Fetch List +0ms
Message Return with    +1ms []
Message fullnames +1ms nouns []
Message Things +0ms [ '~emohello' ]
Message Things +1ms []
Message Message +0ms { facts:
 { conceptToList: [Function],
     create: [Function],
     db:
        { breadthFirst: [Function: breadthFirst],
            deepFirst: [Function: deepFirst] },
     createUserDB: [Function],
     createUserDBWithData: [Function] },
createdAt: Fri Jan 16 2015 13:35:15 GMT+0000 (UTC),
raw: 'Hello, undefined',
clean: '~emohello, undefined',
crc: '73c66d71',
dict: { words: [ [Object], [Object], [Object] ] },
words: [ '~emohello', ',', 'undefined' ],
cwords: [ '~emohello', ',', 'undefined' ],
taggedWords:
 [ [ '~emohello', 'NN' ],
     [ ',', ',' ],
     [ 'undefined', 'JJ' ],
     pushUnique: [ [Function], [Function] ],
     chunk: [ [Function], [Function] ] ],
lemWords: [ '~emohello', ',', 'undefined' ],
lemString: '~emohello , undefined',
posString: 'NN , JJ',
qtype: '',
qSubType: '',
isQuestion: false,
sentiment: 0,
nouns: [ '~emohello' ],
names: [],
list: [],
adjectives: [ 'undefined' ],
adverbs: [],
verbs: [],
pnouns: [],
pronouns: [],
compareWords: [],
numbers: [],
compare: false,
date: null,
cNouns: [ '~emohello' ],
numericExp: false,
halfNumericExp: false,
entities: [ '~emohello' ] }
User Updating History +129ms
User getTopic +0ms random
Script Update and Reply to user '<IP_ADDRESS>:55582' +372ms Hello, undefined

Sorry this regressed yesterday. Ill have it working shortly.

It is fixed in 0.3.13
Let me know if you bump into any other issues.

it works! thanks. and thanks for this awesome project!

 Just a heads up the docs are a little out of date.
The TLDR is:
API changes

Topic Includes and mixins are gone.
Redirecting to a new topic is not required as it will be included automatically.
New Features
New Topic API
Hidden topics
Respond function

Ill try to update the docs this weekend.

So, how to navigate between topics? and more specifically: I'd like to redirect the reply to a specific reply in specific topic. something like:
+ ~emohello
- {topic=weather}{@ask about the weather}

Looking forward for the updated docs,
Thanks

This is a great question. And is technically not possible yet, but I would like to make it work.
So in your expression {topic=weather} will set the next expression to start looking for matches in the topic weather and does not aid the current request cycle.
And redirects only redirect within the current topic.
The other tool that gets us close to what you want is the respond function.
+ * rain *
- ^respond(weather)

Respond will jump into the weather topic and continue looking for matches based on the current input and return back to the topic it was last in if no input was found.
So in this case we don't change what we are searching for.
Ideally we need to redirect to look across all topics for a match or have the ability to choose a topic.
It would be interesting to have something like this
+ ~emohello
@say_something

+say_something
- ^topicRedirect(weather, __say_something__)
- ^topicRedirect(work, __say_something__)

> topic weather
  + __say_somthing__
  - I hate the rain, do you?
  - Have you ever tied to make shapes from the clouds
< topic

In all cases say_something is just a normal trigger.
The other approach is to bring back the '*' command which is a say statement. Or like a unhinged reply.
But that gives a little less control over what would be said and would still require a function like ^redirectToTopicAndSay(weather)

Wow. this is really cool that you can push upgrades so fast. I guess it's due to the flexibility of javascript :)
The function ^respond is ok for me, but ^topicRedirect is more precise and I've tested it this morning and it does the job for me. I'm translating a virtual agent I've wrote with ChatScript to SuperScript to see the differences.
I don't seems to understand the meaning of "current topic" in SuperScript. seems to me (and correct me if I'm wrong) like the system will try to match every possible trigger to the input from every topic. so there is not much of a limited scope in here. in ChatScript the system will first check for responders / rejoinders in the "current topic" and if no match then it will look for a gambit in the current topic and only if none available then the system will try other topics (only if some words in the input match the topic keywords).
Thanks

Oh you are familiar with ChatScript - cool.
So Im hoping to achieve the same style of system for how topics are found.
Here is the actual code.
https://github.com/silentrob/superscript/blob/master/lib/topics.js#L44-L92
We start with a pre topic, than the current topic, or topic they just matched in. Than we do a keyword search.
Here is an example of topics with keywords.
https://github.com/silentrob/superscript/blob/master/test/fixtures/topicsystem/main.ss#L18-L31
We don't really have a rejoin system but have a previous gambit (conversation) system, and we always search that topic before looking more broadly
We sort those topics by relevance and included anything else non relevant after that.
Finally we have a post topic hook at the end.
Superscript does not have a control script, but you can achieve something similar with the pre/post topics.
We use a TF-IDF search of the keywords provided in the topic against the input to sort the relevant topics order.
I could see the need to not include all topics if the relevance score is low as it might take to long to process, and Im very open to suggestions on how to improve this.


Request to add the option to use miles for distance penalties

It'd be a nice if you could change the distance penalties calculated by the ruler tool to use miles instead of meters if you have your distance in the current scene set to mi instead of m. Would be good for large scale maps

Sure. We could do that.   What are the penalties for 1mile, 2miles, 3miles, etc.  ?

Since GURPS goes by meters/yards by default it's a little fiddly, but as shown on the basic set p550 speed and range table
It's -18 for 1 mile, -20 for 2.5 miles, -22 for 5 miles, -24 for 10 miles and it goes on from there. It might be awkward handling all the weird fractions or even trying to factor in sub 1 mile distances like "oh something is .3 miles away, that's a -14 penalty"


Stuttering/Hiccups with C+ enabled in crowded area, regardless of disabling all profiles.

Sorry if this has been addressed already I have realised that my stuttering is caused by C+ being enabled and when running in places like Limsa with a lot of people around even though I have all profiles disabled. Game is buttersmooth again when I disable it.
It's not hard stuttering and it's not making the game unplayable but it's there nonetheless and I was wondering if there were a way to fix that or not.

Since this isn't a mass issue and the only thing that can give performance issues when no profiles are enabled is object manager I can only suggest waiting or trying to figure out what it is with your setup that can trigger those performance issues. (like keeping only C+ enabled, reinstalling dalamud from scratch, etc)
Object manager is almost completely implemented by penumbra/glamourer so if there are any performance issues with it they will be fixed when they are fixed there.
I will keep this open and update this with information about object manager changes so you can test it again at a later date.

I have reinstalled Dalamud from scratch with only C+ downloaded and enabled and the issue still occurs for some reason, so I don't think Penumbra and Glamourer have something to do with it.
However I have capped my game to 60 fps and the stuttering/hiccups were gone (I usually have 80+ fps during peak time and 120-130 off-peak time) So it may just be the plugin not liking high framerate or something related to graphic settings? Thanks for trying to help anyway.

Not really sure what to say about that. This seems like an issue unique to your game setup. Might be DLSS/FSR related if you are using those. I have not observed c+ introducing any stuttering with high fps on my pc.

Glad you've been able to find a solution though.


Plugin position not set unless the plugin was moved

By default plugin positions are not set unless you explicitly move them around to change to order.
This causes some issues:

the ordering of the plugins might change randomly when saving the page
the ordering of the plugins might change when copying them from another language

What CMS version are you using? Where did you add the plugin (frontend or backend)?

someone should write a test for this. the code looks like the position should be saved (PlaceholderAdmin->add_plugin->CMSPlugin.save->MPTTModel.save->MPTTModel.insert)


load_timing: domReady don't work with async

Reproduce:
<script async src="async-iife.js" data-c='
[
    [
	    "loaded.css", {
	        "4": "not_loaded.css",
	        "load_timing": "domReady"
	    }
    ]
]'>
</script>

Same for load_timing: inview - without async it works.

Hi @ArekZw,
Thank you for reporting the first bug!
There was an issue with the domReady check. It has been fixed in version 1.0.6.
Test: https://style.tools/tests/data-c-async.html
We have also added a JSON compressor to async-iife which is available online on https://style.tools/iife/
The config in your example could be further compressed to the following:
["loaded.css",{"4":"not_loaded.css","48":54}]

https://github.com/style-tools/async-iife/releases/tag/1.0.7


Add storage volume deletion to 'odo delete' docker devfile deletion

What type of PR is this?
/kind feature
What does does this PR do / why we need it:
Currently devfile  odo delete's support for deleting docker volumes is limited to the source volume. This PR adds support for deleting the storage volumes as well.
Parent issue: https://github.com/openshift/odo/issues/2581
How to test changes / Special notes to the reviewer:
See #2806 for how to enable a local docker push target and create a component.

/ok-to-test

/ok-to-test

/retest

/retest

/retest

/retest

/retest

/area devfile

/retest

/retest

/retest

/retest

/retest

/retest

@cdrage Actually I'm removing `.DS_STORE 😄 , it was added by commit https://github.com/openshift/odo/commit/0c3fe31e6c8774ed0b7236a2f39b94f0316998b9

/assign @cdrage

/approve

/retest

/test v4.2-integration-e2e-benchmark

/retest

/retest


Update dummy workflow to match the new workflow protocol.

Splitting up #220

I'll just merge it : D....


Assignment 1 Minco Polinder

Introduction
Hi, I'm Minco, PhD candidate in the Cees Dekker lab (Bionanoscience).
Describe your research in 2-3 sentences to someone that is not from your field (please avoid abbreviations)
My research focusses on chromosome dynamics during prokaryotic cell division. By visualizing the dynamics of two mixed DNA constructs in a nanoconfinements, I want to learn about entropy-driven chromosome segregation.
My research entails the following aspects:

Research Aspect
Answer

Use/collect personal data (health data, interviews, surveys)
No

Use/collect experimental data (lab experiments, measurements with instruments)
Yes

Collaborate with industry
No

Write/develop software as the main output of the project
No

Use code (as in programming) for data analysis
Yes

Work with large data (images, simulation models)
Yes

Other:
N/A

Reflections on the importance of RDM videos
The 'horror-stories' are of course exceptions and not daily reality. I do not have an experience like that myself, other than that I have wasted time on figuring out what the precise experimental conditions of certain datasets were since I did not properly link the data to my labjournal. Therefore, I realize that proper data management makes a project more structured and accessible, both for yourself and for others. The other advantages of proper data management that are discussed in the video/paper speak for themselves.
What would you like to learn during this course?
I would like to get inspiration for setting up my own data management strategy for my own project.
Checklist assignments

[x] Assignment 1: creating a GitHub issue (before Class 1)
[x] Respond to the GitHub issue on 'data challenge'
[x] Assignment 2: Data Flow Map 1 (share a link in this issue before 17 May 13:00). Link: 'RDM101_Assignment 1'
[x] Provide feedback to at least one Assignment 2 from another participant
[x] Respond to the GitHub discussion on 'licenses'
[x] Respond to the GitHub discussion on 'folder structure'
[ ] Respond to this GitHub issue with your readme file
[ ] Provide feedback to at least one readme file from another participant
[ ] Assignment 3: Data Flow Map 2 (share a link in this issue before 31 May 13:00). Link:
[ ] Provide feedback to at least one Assignment 3 from another participant
[ ] Assignment 4: Data Management Plan (before Class 2)
[ ] Respond to the GitHub discussion on 'Data Management Plans' if you have any questions (optional)
[ ] Assignment 5: Data Flow Map 3: submit your slide (before Class 2)

Hi Minco, I think you have a very nice and clear data flow map! It gives a good impression on the data you will create/collect and the size of it. You also seem to have an extensive infrastructure on where you will store your data.

Thank you @EstherPlomp and @jmvanede .
@EstherPlomp As far as I know our group does not really use the U: drive but the other drives with copies on local HDD's/PC's, I will ask around though!

I think many things in the template do not really apply to imaging data of an exploratory study (which is what I am doing predominantly).
README.txt

Hi Minco well done on the readme file. I have a only a few suggestions/questions:
You write that you have 5D .tiff-stacks (Wow 5D...) and I could imagine that it is hard to keep track of the order and how the stacks are ordered by dimensions. Do you have a way to keep track of that? Perhaps that is already part of the metadata, but that would depend on the microscope.
In your readme, you also write that you have custom-made microfluidic devices and I remember you telling us about different designs. Perhaps you can add to your data & file overview a way to keep track of designs and corresponding acquisitions.

Hi Minco!
Some comments/suggestions on your data flow map:
You wrote that you will store some very important details of the autoCAD designs in the metadata (purpose, dimensions, fabrication details), I really like that! One thing in our group that is often missing is exactly this kind of information. So storing this in the metadata should really help out when others look through your stuff and potential next students on your project.
Perhaps a note on the data publication, specifically the code part: Do keep in mind that a lot of packages that you might be using have licenses of their own. This might impact your freedom in choosing licenses (something that I'm thinking of now and haven't considered for myself yet...)
On the documentation of your code: If you want, we can have a talk about various options for code documentation. I already convinced you of switching to pycharm which helps you with docstrings (automatically generated lines of documentation for your functions/classes), but pycharm there is much more!


Fix docs dark mode flashing

Description of changes:
If a user had set their dark mode preference to light mode, the website would flash on every page load as it needed to load the dark mode switcher script and then update the CSS. This brief flash becomes very annoying when trying to navigate the website. This pull request adds changes from the latest version of Doks to inline a script which loads the dark mode switcher, so that it's loaded before the page has started rendering.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Error install openai with pnpm

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
When I am trying to install pnpm install openai, I am getting md5 dependency error when it tries to install digest-fetch dependency
To Reproduce

pnpm install openai

Error
 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for<EMAIL_ADDRESS>
This error happened while installing the dependencies of<EMAIL_ADDRESS> at<EMAIL_ADDRESS>
The latest release of md5 is "2.1.0".

If you need the full list of all 2 published versions run "$ pnpm view md5 versions".

Code snippets
No response
OS
macOS
Node version
20.11.1
Library version
4.30.0

Thanks for the report, I'm looking into this. I don't think that dependency is actually used, so if you can find a way to ignore this, you should be fine.

We are removing that dependency, and it should be out early next week.
However, note that md5 does indeed have a 2.3.0 package live on npm, so this may have been a transient bug, or a problem with pnpm.

Thanks for update @rattrayalex!!. Yes, it does look like an issue with pnpm.


Add Mozilla Code of Conduct

Fixes #3
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email<EMAIL_ADDRESS>(Message COC002)

https://github.com/mozilla/repo-templates/blob/master/templates/CODE_OF_CONDUCT.md


tl .24.1 - bad argument to popen

I just now updated tl to the latest version as of writing, and it gives me the following error:
[Error] C:\Users\talle\scoop\apps\lua\current\lua54.exe: ...\current\rocks\lib\luarocks\rocks-5.4\tl\0.24.1-1\bin\tl:672: bad argument #2 to 'popen' (invalid mode) stack traceback: [C]: in function 'io.popen' ...\current\rocks\lib\luarocks\rocks-5.4\tl\0.24.1-1\bin\tl:672: in upvalue 'cd' ...\current\rocks\lib\luarocks\rocks-5.4\tl\0.24.1-1\bin\tl:689: in upvalue 'normalize' ...\current\rocks\lib\luarocks\rocks-5.4\tl\0.24.1-1\bin\tl:724: in upvalue 'already_loaded' ...\current\rocks\lib\luarocks\rocks-5.4\tl\0.24.1-1\bin\tl:738: in field '?' ...\current\rocks\lib\luarocks\rocks-5.4\tl\0.24.1-1\bin\tl:977: in main chunk [C]: in ?

The line in neal seems to be:
local pd = io.popen("cd", "rb")

What happens if you run tl check on the command line? Does it give you the same error?

Yes.

Glancing at the code, it seems like tl check fails when the environment variable PWD is not defined. It tries to read the output of cd using rb read mode, which isn't supported:
$ unset PWD
$ tl check tl.tl
tl: [string "tl"]:671: bad argument #2 to 'popen' (invalid mode)


Updates

I was wondering if it would be ok, if I forked, updated the readme, and maybe added a few more features? Features like adding all the install save options, etc.
Let me know, and I'll start contributing and request a pull when I get done.

hey, yeah sure — go for it!


No results from the benchmarks

As title stated.  No benchmarks shown.

Looks like the reports and result collection broke around the end of November. That's when I added the mypy self check benchmark, so it's likely related. I will look at this.

The problem was actually an unplanned upgrade from Python 3.8.5 to 3.8.10 on the benchmarks runner machine. I manually updated all the version information in data to 3.8.10 and this seems to have fixed the reports. Please file another issue if there are still problems in the reports.