Updates and Version Matching

I don't see much in the way of updating and version matching.

Updating: Can I assume that updating can be done by pulling from github and re-building?

Version Matching: For UnicornTranscoder, I see three variables that can change at any time:

Plex build
Codecs build
Easy Audio Encoder version

Do these versions need to match the plex server version exactly to work? For example, if my plex container updates overnight, will the UnicornTranscoder stop working if it's using a different build/codec/EAE?

We try to update Unicorn Project as soon as possible when Plex update it. We recommend to disable automatic plex updates, some updates can break stuff in transcoder and need to be fixed. We publish a release each time we have a stable version.
If you want to update to unsupported build, you have to edit the 3 variables in your UnicornTranscoder with your plex version and rerun the install. You can find information how to get these values from "Plex Media Server" binary in the README

Sounds good.


Disable Folding

Request to add a setting to disable folding so that the title will not fold when clicked.

Just out of curiosity, why would you want this? Also, would you want this for all code blocks to apply, or just for specific ones?

I want the same option because I sometimes accidentally clicked on the title of the block when trying to select the first line of the code.

@rgvillanueva28 @SmartFinn Understood. I'll add it, and then the next release (today or tomorrow) will include it.

@rgvillanueva28 @SmartFinn Just to be sure, this will result that you can't fold or unfold any code block. All code blocks remain uncollapsed at all times! Defining fold in the code block parameters or using the "Collapse all code blocks" command will absolutely not doing anything.
Is this what you want?

@mugiwara85 is it possible to disable folding for all blocks when fold and unfold parameters aren't set? This is the default that I expected.

@SmartFinn Sure, that's why I asked, what exactly do you want :)
So, for code blocks where fold or unfold is specified the folding behavior should remain as is, but for other code blocks, where fold or unfold is NOT specified, it should be disabled, right?

@mugiwara85 yes, it'll be great. Thanks

@SmartFinn I added the option (in the Header settings page). If you could quickly try it out if everything works as it should, I could release it today. You can just take the main.js and styles.css and overwrite yours with it (create a backup before, and from the data.json as well)

Available in version 1.2.8


Remove play icon on companion app

Hard to debug this. There is a webview remote debugging option, but I will have to figure out how to use that.

@TECH7Fox
You can remove „ webkit-playsinline“ from the video tag. Apple supports „playsinline“ since iOS10.
See note on the bottom of this page:
https://webkit.org/blog/6784/new-video-policies-for-ios/

Moved some stuff around and tweaked the styling. Now looks like this:

The dialog header is underneat the app header, instead of on top like the normal more-info dialogs. This is because the card is "stuck" in the lovelace dashboard element so it can't go on top of anything outside that sadly. I tried...
Anyways It's a lot better then before right?


Update PreReleaseVersionLabel to RTM

Non-shipping packages should be labeled RTM for GA. We need to take this fix for 3.1 GA.
@dougbu @JunTaoLuo PTAL since this repo is kinda weird

What about EF6 @wtgodbe❔

I took care of EF6 here: https://github.com/aspnet/EntityFramework6/pull/1466


meson setup  fails with git code: 'public_suffix_list.dat does not exist'

on Windows (msys2 + mingw-w64), meson builddir reports:
src/meson.build:3:0: ERROR: File E:/Documents/programmes_x64/msys2/home/vtorri/gitroot_64/libpsl_vtorri/list/public_suffix_list.dat does not exist.

list is a git submodule. I guess you didn't initialize it - that's what ./autogen.sh does for you. You also could use --recursive when clonign with git.
I amended the instructions, as they were a bit unclear.
Thanks for pointing this out.


Fixed bug in std.file.readLink with regards to cenforce.

readLink should be checking that the result of readlink is not -1,
not that it's not 0, so the cenforce calls were wrong and were
resulting in incorrect behavior when readlink failed.

please add a test

Test added.


The thermometer should pull the number of signatures from the form

right now the number of signatures is hard coded. need to pull it from the form backend somehow

update: this is now pulled from https://signature-data-backend.herokuapp.com/
the info is still hard coded, but now it's hard coded in a backend application. so any updates to the hard-coded number will take place outside of this. As far as this frontend application is concerned, this is getting a live number


Config Reloader v0.6.x Crash Loop on "Too Many Open Files"

Posting this here as the code seems to live here in this repo:
https://github.com/nats-io/k8s/issues/488

Hello!
We're seeing strange issues with our config-reloader using the latest build from February (v0.6.3) - config reloader pods will not boot with logs stopping at:
2022/04/18 19:37:26 Starting NATS Server Reloader v0.6.3
Error: too many open files
Is anyone else seeing this? I'm able to show this reproducing in multiple clusters (k3s) unfortunately, while sometimes the container launches just fine.
Have attempted to utilize older versions as well (0.6.1 and 0.6.2) with the same issue happening unfortunately.

describe output:
Name:               nats-edge
Namespace:          default
CreationTimestamp:  Mon, 18 Apr 2022 14:58:09 -0500
Selector:           app=nats-edge
Labels:             app=nats-edge
                    app.kubernetes.io/instance=messaging
Annotations:        <none>
Replicas:           3 desired | 3 total
Update Strategy:    RollingUpdate
  Partition:        0
Pods Status:        3 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:           app=nats-edge
  Annotations:      kubectl.kubernetes.io/restartedAt: 2022-04-19T15:06:18-05:00
  Service Account:  nats-server
  Containers:
   nats:
    Image:       nats:2.7.4
    Ports:       4222/TCP, 7422/TCP, 6222/TCP, 8222/TCP, 7777/TCP
    Host Ports:  0/TCP, 0/TCP, 0/TCP, 0/TCP, 0/TCP
    Command:
      /nats-server
      --config
      /etc/nats-config/nats.conf
    Requests:
      cpu:      0
    Liveness:   http-get http://:8222/ delay=10s timeout=5s period=10s #success=1 #failure=3
    Readiness:  http-get http://:8222/ delay=10s timeout=5s period=10s #success=1 #failure=3
    Environment:
      POD_NAME:            (v1:metadata.name)
      POD_NAMESPACE:       (v1:metadata.namespace)
      CLUSTER_ACC:        <set to the key 'SITE_ACC' of config map 'site-configuration'>  Optional: false
      CLUSTER_ACN:        <set to the key 'SITE_ACN' of config map 'site-configuration'>  Optional: false
      CLUSTER_ID:         pf-$(CLUSTER_ACN)-$(CLUSTER_ACC)
      CLUSTER_ADVERTISE:  $(POD_NAME).nats-edge.$(POD_NAMESPACE).svc
      LEAFNODE_TOKEN:     <set to the key 'token' in secret 'nats-creds'>  Optional: false
    Mounts:
      /data/jetstream from nats-js-sts-vol (rw)
      /etc/nats-config from config-volume (rw)
      /var/run/nats from pid (rw)
   reloader:
    Image:      natsio/nats-server-config-reloader:0.6.3
    Port:       <none>
    Host Port:  <none>
    Command:
      nats-server-config-reloader
      -pid
      /var/run/nats/nats.pid
      -config
      /etc/nats-config/nats.conf
    Environment:  <none>
    Mounts:
      /etc/nats-config from config-volume (rw)
      /var/run/nats from pid (rw)
   metrics:
    Image:      natsio/prometheus-nats-exporter:0.9.1
    Port:       7777/TCP
    Host Port:  0/TCP
    Args:
      -connz
      -routez
      -serverz
      -subz
      -gatewayz
      -varz
      -channelz
      -prefix=nats
      -use_internal_server_id
      -DV
      http://localhost:8222
    Environment:  <none>
    Mounts:       <none>
  Volumes:
   config-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      nats-edge-config
    Optional:  false
   pid:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
Volume Claims:
  Name:          nats-js-sts-vol
  StorageClass:
  Labels:        <none>
  Annotations:   <none>
  Capacity:      2Gi
  Access Modes:  [ReadWriteOnce]
Events:
  Type    Reason            Age                  From                    Message
  ----    ------            ----                 ----                    -------
  Normal  SuccessfulDelete  2m43s                statefulset-controller  delete Pod nats-edge-2 in StatefulSet nats-edge successful
  Normal  SuccessfulCreate  2m41s (x2 over 24h)  statefulset-controller  create Pod nats-edge-2 in StatefulSet nats-edge successful
  Normal  SuccessfulDelete  2m21s                statefulset-controller  delete Pod nats-edge-1 in StatefulSet nats-edge successful
  Normal  SuccessfulCreate  2m11s (x2 over 24h)  statefulset-controller  create Pod nats-edge-1 in StatefulSet nats-edge successful

Thanks @Kampe for the report, looking into this...

More interestingly, sometimes you can get one or two pods of a replica-set to stand up
nats-edge-0                                                  3/3     Running                      0          24h
nats-edge-1                                                  2/3     CrashLoopBackOff             7          15m
nats-edge-2                                                  3/3     Running                      0          15m

Hi @Kampe would it be possible to try setting the following in your Helm chart to check if this fixes it for you?
reloader:
  enabled: true
  image: wallyqs/nats-server-config-reloader:fclose

We've had great preliminary success with this image in a few environments!

I'm facing the very same issue in KinD cluster running on Linux. I already tried both your ad-hoc image wallyqs/nats-server-config-reloader:fclose and also official build 0.7.0.
I managed to customize container's command to sleep 3600, connect into it and run the original command nats-server-config-reloader -pid /var/run/nats/nats.pid -config /etc/nats-config/nats.conf in strace.
The result is that the Too many files error comes from inotify_init1(IN_CLOEXEC) = -1 EMFILE (No file descriptors available) syscall.
So (at least in my case) the root cause is not by missing f.Close but much sooner - in:
configWatcher, err := fsnotify.NewWatcher()

that actually calls unix.InotifyInit1(unix.IN_CLOEXEC)

The issue still appeears on 0.11.0 and current master branch (d7f2a3b commit).

the NATS install that comes bundled in with TestKube also suffers from the same issue:
pod/testkube-test-nats-0                                    2/3     CrashLoopBackOff   25 (3m8s ago)   54m
$ kubectl logs -n testkube-test pod/testkube-test-nats-0 reloader
2023/08/10 23:57:24 Starting NATS Server Reloader v0.7.4
Error: too many open files
This is installed by helm chart version: testkube-1.13.33
I tried increasing ulimit -n (max open file descriptors) from 1024 to 4096 but it made no difference.
Anything I can do to further narrow it down?

Same issue here. It seems random and I can get 1-3 pods running, but it was hard to do and I'm not sure why. The host has been configured with a large open file allowance.

I ran into this issue as well running NATS 2.10.11 (NATS Server Reloader v0.14.1) on a k3s v1.28.3 cluster on Ubuntu 22.04 nodes. I had just one of my nodes having this issue as well. I notices that I had a high number of pod restarts for a deployment on only that node having issues. After resolving the issue with my deployment and restarting my node that had issues everything has been working fine. I suspect that my excessive pod restarts caused too many files to remain open.
I know that others have discussed ulimits. I just wanted to point out that my k3s processes are running as a systemd service because Ubuntu has switched to systemd. I know systemd runs each service with it's own open file limits and ignores ulimit.  Here is a link to Red Hat documentation, but will likely pertain to whatever Linux distribution is using systemd. I hope someone else finds this helpful.

I'll just add few notes from my case. For me, after setting all the open file limits (systemd, pam, etc) as permissive as possible, I was still running into exact same error. Turns out it was caused by fs.inotify.max_user_instances. On my system that one was quite low. Bumping it helped.


Bad log message on peer move

weave 2015/07/09 08:07:22.804784 Peer da:08:ed:d4:49:31(boot2docker) moved from true to <IP_ADDRESS>:58782

The true should be an IP endpoint.

Fixed via cbcd5da

When was this introduced? Did it ever appear in a release?

This is from user logs, which are from a 1.0.1.

ah. really should have fixed it on 1.0 then, especially since the fix is trivial.

Broken in https://github.com/weaveworks/weave/commit/27c9e70ea9cb900339282cad6527b1e6f29dcb35

Fixed for 1.0 in b93070f91ad1222404a330922fe0761ee05ae0b5


reverted check_clusteroperators method back

The prevision implementation cannot make sure the required cluster operators are in  ready status, this can solve the issue

/lgtm


Adding alias for libuv

Adding support for issue https://github.com/libuv/libuv/issues/4282

Any thoughts @bnoordhuis ?

Sounds good. @vtjnash @santigimeno would one of you be able to review this? Thanks a lot

I noticed I just missed the latest version cut. @bnoordhuis any idea when the next version cut will come up?

We don't have a regular release cadence but releases usually have a few months between them.


[BUG] Scanner hits personal sites (/portals/personal/.....) causes 404 errors and just outputs to excel files errors. scanresults etc

Thank you for reporting a bug. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you. Thanks!
Problem Area
[ ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ X] Modernization Scanner: something went wrong...  Version 2.17
Expected or Desired Behavior
Scanner should skip personal sites.
Observed Behavior
with version 2.17
Scanner hits personal sites (url /portals/personal/.....) which causes 404 errors which seem cause scanner to timeout so sites are only scanned every minute or so.  Slows whole scan down considerably.  Finally scanner stops working (reached error limit ??) and closes
Steps to Reproduce
run workflow detail scan with tenant which has /portals/personal/... sites
Submission Guidelines
Thanks for your contribution! Sharing is caring.

Hi @NPrice99 ,
The scanner by default excludes OD4B sites. Did you use the scanner via command line and provided the -o or --includeod4b option?

Hi Bert
I double clicked the exe file and filled in the boxes as appropriate - ClientID, certificate file etc.
Regards
Nigel

Hi Bert
It looks as if you need a client secret to run via the command line.
Our Tenancy still have the old version of Graph  so cannot use PowerShell command to register the app so used Plan "B" - the one you suggested I use.  Where you register the App by hand.
REgards
Nigel


refactor(core/Stack): The spacing of the stack is changed to set the margin of the child element for better compatibility

Maybe we can check some other CSS/UI frameworks about how they handle the compatibility of row-gap/column-gap.


ci: fix correct digest reference to AbsaOSS/k3d-action

https://github.com/statnett/image-scanner-operator/pull/69 reveals that we had a bug in the digest/version reference to AbsaOSS/k3d-action. This PR fixes that.

Just realized we can use the PR from Dependabot. Closing...


fix(pact_verifier): Fix missing PATCH version in plugin's version

Fix https://github.com/pact-foundation/pact-plugins/issues/44
I don't know how to write test for this. Please show me how if it's required. I guess the 'missing plugin' test is enough to cover this change?

The reason I dropped the patch version, is because I had this problem (just making up the versions):

Created a Pact test with plugin version 1.0.2
Published the Pact file
When I went to verify the Pact file, it failed due to a bug in the plugin
Fixed the plugin a few times, it ended up at version 1.0.5
Tried to verify the Pact file, but it was still failing because the Pact file was linked to version 1.0.2

At this point I realised that you probably always want the latest version, even with minor, not just patch.

Sorry I didn't know about this feature.
btw, I think this feature is not implemented for provider verification? Or at least it didn't print out the log that it's working e.g.
Version `0.0.3` is selected as latest version of `0.0` of csv plugin

If it's working, I still don't know what cause the bug https://github.com/pact-foundation/pact-plugins/issues/44

Sorry I didn't know about this feature.

That's okay, not your fault, I am not sure if we have documented, so will make a note of after we've resolved this

btw, I think this feature is not implemented for provider verification? Or at least it didn't print out the log that it's working

This may be the case, would need to check the code. I'll leave @uglyog to second check it

If it's working, I still don't know what cause the bug https://github.com/pact-foundation/pact-plugins/issues/44

Once we confirm it is expected to be implemented and working, we can check retest but will consider that case when looking at this change.
Thanks Tien!


Readme and license updates

Description
Updated links to point to current locations, and the LICENSE file to be more standard so that it is more easily recognized as the 3-clause BSD license.
Motivation and Context
Make it easier to install the latest version from the current Conda channel, and make the licensing clearer in the GitHub UI.
How Has This Been Tested?
LICENSE update won't be definite until merged, but verified recognition in other repositories. Checked new links and channels in the browser and on the command line.

Adding @MikeHart85 as a reviewer because he has looked at this for our cookiecutter.

The LICENSE is a copy of the one produced by the latest cookie cutter, just adjusted the year to match the original.


Support for GitHub Enterprise

Hey, thank you for this action!
I was investigating if this could help us facing https://github.com/actions/toolkit/issues/1264, but I think it wouldn't work in our GitHub Enterprise environment.
In particular, I think the input github-server-url should be use there instead of hard-coded https://api.github.com/ at:
https://github.com/dariocurr/checkout-called/blob/5c027406d1f1e55c949e99b72851c44a8859c831/action.yml#L103

Great suggestion, thank you!
But I guess, the input we should use is github.api_url. Isn't it?

Please ensure that it works also in GitHub Enterprise environment. I have no way to test it

Thank you. I'm glad to help!


feat: add backup command to the cnpg plugin

The kubectl cnpg backup command allows to user to request an on-demand backup for a PostgreSQL Cluster.
Closes: #950
Signed-off-by: Leonardo Cecchi<EMAIL_ADDRESS>

/ok-to-merge


Wiki feedback

Hi! I read through the Configuration Walkthrough wiki page and have a few questions. Could you answer these questions and maybe add the answers to the wiki?

The compile option is experimental. This option enables pytorch's new torch.compile(), which can speed up training. As of this writing, pytorch 2.0.0 does not have support for compile using Python 3.11. Pytorch version 2.1 is expected to fix this, as well as better Windows support.

NeoSR now requires 2.1, so is the last part still relevant?

The manual_seed option enables deterministic training. If you're not doing precise comparisons, this option should be commented out, otherwise training performance will decrease.

What are "precise comparisons"? Or rather, when should this be used?

The gt_size is one of the most important options you have to change. It sets the size that each image will be cropped before being sent to the network.

How will it be cropped/which portion will be used? Will it use random offsets?

Just saw this issue and thought id comment what I think, maybe it is helpful, musl can of course still comment officially later.

This would probably need testing. But I had out of curiosity used compiled on for triaining compact and it worked and output looked normal. So it worked on my system, yes. But this was only a fast compact test and speedup was small (but there was a speedup). Bigger archs would probably benefit more of a speedup, but I have not tested yet. Not sure if musl can use this option with his gpu, I think community help to test this out would be needed. All I can say is it worked on my ubuntu system when I tried it out once, but only tested it for around 5k or something iters, so real tests would be needed.

When comparing arches with eachother. Meaning this option would be used if the goal is not to get the best output for a model, but to compare arches with eachother. This should minimize randomization that happens during training as far as I understand with my very limited understanding.
What I mean is: the goal were training multiple models with the exact same setting. For example a dat2 model with gt_size 128, batch size 6, paired dataset etc. And then the exact same setting for a compact model for example, with gt_size 128, batch size 6, same paired dataset etc. In a normal case, I would crank up gt_size to 512 and batch size also a bit more for the compact model, since it uses way less vram, so I could get better results, since normally my goal is to get the 'best' model I can train for something. But like I described, the goal here would be to compare different arches (for example CRAFT with OmniSR) with the exact same settings. This option tries to eliminate randomization that happens during training so the comparison is more fair (therefore 'precise comparison'). (like with sd generation, comparing different models with same input prompt but different seeds, even the same model would create a very different image with a different seed with same prompt as input. Not activating this option is like using random seed for each comparison with the same prompt, so these would be unfair comparisons. So the goal were same input prompt, same seed, for a comparison, something like that. I have very limited understanding of sd image generation though so not sure if this comparison checks out. Im just trying to convey the use case here).
-> use it if the foal is fair comparison of arches (swinir-s vs sformer-small etc). Dont use it if the goal is simply to train a good model (faster training).

Have no idea about question number 3 sry. Just thought Id provide my thoughts on the first two, but then again I lack understanding, musl can still answer correctly, sorry for chiming in, I simply thought some of it might help after seeing this issue.

Hi! Thanks for answering Philip.

I forgot to update the wiki. Thanks for pointing it out.
By "precise comparisons" I mean reproducible ones. Using manual_seed will not only set the seeds for the pseudo-RNGs (for example, making pytorch dataloader fetch the exact same images in the same order), it will also turn on pytorch use_deterministic_algorithms, which aims at removing non-deterministic behavior from pytorch. Using this is very important in case you're doing experiments, as it will eliminate variables like randomness and heuristics that could interfere with the validity of the test.
Patchs are cropped based on the gt_size value (in pixels). It crops a random part of the GT image, and the same random part of the LQ (with size gt_size divided by scale). A new patch of each image is generated at each epoch.

Answering to Philip:

I think community help to test this out would be needed

I would really appreciate more tests on torch Dynamo compile(). I indeed can't run this test because my gpu is not supported by Triton.

which would flaw these metric comparisons a bit, which he tried to minimize.

Yes, BasicSR code is not as strict in that regard. It doesn't set all seeds, and it doesn't enable deterministic pytorch. To see what exactly neosr does different, see L172 of options.py and L11 of misc.py (I also switched to latest RNG apis of numpy and pytorch).

Thank you @Phhofm and @muslll!
All my questions have been answered, and the wiki has been updated.


[Changelog] Add release date for Swift 5.3

Add the release date for Swift 5.3 and the Xcode version in which it shipped.

@swift-ci please smoke test

Lets have a race! 🏁 🏎 🏇 🐇 🐢 (#33974)

🏆


🐛 fix enter key not working in text inputs/areas

closes https://github.com/TryGhost/Ghost/issues/8588, closes https://github.com/TryGhost/Ghost/issues/8639

check that we have an action assigned to keyEvent codes before attempting to prevent the default behaviour
no tests because browsers don't trigger form submissions in response to JS key events as a security measure

Coverage remained the same at 73.105% when pulling de72ed039a1e27dde534c48f566ceebd2f0476ee on kevinansfield:fix-enter-key into 9e614978f0d16aa3a90627f18507b1022ef99485 on TryGhost:master.


Deprecated note from terraform are lost

Problem description

I saw a product documentation issue on the following URL: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/azure/keyvault/#KeyVaultArgs-sku

The sku description is:

) A sku block as described below.

On terraform documentation, the sku description is:

(Optional Deprecated)) A sku block as described below.

=> The deprecated note is lost
=> The extra ) is fine because it's in terraform doc
Affected product version(s)

latest one: 1.6.1

@justinvp I'm guessing that this is a problem in the tfgen docs collector. Can you take a look?


Journey is logging too many stderr

While checking data on edge observability cluster, it has been noted that for many journeys there are 500 stderr docuements.
There seems like general playwright logs, i think these must also be contributing too why we have so much es traffic and data
"2021-02-15T11:52:11.699Z pw:api   element is visible and does not move"

query example

The issue is edge environment is running with DEBUG=pw:api* flag enabled which is why we are seeing huge amounts of playwright logs.
https://github.com/elastic/observability-test-environments/blob/d2554b3bd6c8b22a843e51b17ba9b9b28e7b62cf/ansible/roles/k8s-beats/templates/k8s/beats/heartbeat/heartbeat-deployment-us.yaml.j2#L39
@v1v Can we revert that change? We should be fine with removing it now as increasing memory helped solve the screenshot issue.

Heads up,
debug configuration has been reverted and deployed in the edge environment


Make port-forward usable from Deployment / ReplicaSet / DaemonSet / StatefulSet

Actually port-forward is usable only from Pod and Service.
Make it available from Deployment / ReplicaSet / DaemonSet / StatefulSet

Thanks for the feature request

Another enhancement. Automatically recover the port-forward after a redeploy.


Allows to run a batch of commands

%%xterm
apt update
apt install htop vim

I am the author of this project. If there are at least 3 (positive) emojis of the issue, i will implement it!

Any updates on this?

update
apt install htop vim

What the expectation for this cell?
%%xterm
apt update
apt install htop vim

Does it mean that colab-xterm will run the following commands when it opens?
apt update
apt install htop vim


Some intellisense don't work well in interactive window after writing some REPL commands

Environment

Steps to Reproduce
1.Create a Python Application
2.Open an Interactive Window
3.Write some codes to get intellisense
4.Write '$help' to get REPL commands

5.Write '$cls'
6.Repeat step3
Expected behavior
All IntelliSense should work well
Actual behavior
Some intellisense don't work well after using '$cls'、‘$clear’、'$reset'
Additional context and screenshots

And I would like to mention, when i write the REPL commands firstly ,the intellisense display incorrectly

In today's build:17.7.0 Preview 2.0 [33709.378.main],Python Package:17.0.23115.2
By the way,'@' is covered when type enter in interactive window

In today's build:17.8.0 Preview 1.0 [33902.16.main], Python Package:17.0.23179.1
The cursor is hang after using '$reset'

I can repro it in today's build 17.13.0 Preview 1.0 [35417.248.main], Python Package: 17.0.24293.1.
Intellisense doesn't work well after using '$cls', ‘$clear’, '$reset'.


training tusimple lane dataset error parsing training data

by preparing the data using the python code provided by: https://github.com/MaybeShewill-CV/lanenet-lane-detection
python tools/generate_tusimple_dataset.py --src_dir path/to/your/unzipped/file
Traceback (most recent call last):
File "tools/train_lanenet.py", line 335, in
train_net(args.dataset_dir, args.weights_path, net_flag=args.net)
File "tools/train_lanenet.py", line 167, in train_net
train_dataset = lanenet_data_processor.DataSet(train_dataset_file)
File "/home/victor/src/Codes-for-Lane-Detection/SCNN-Tensorflow/lane-detection-model/data_provider/lanenet_data_processor.py", line 30, in init
self._img, self._label_instance, self._label_existence = self._init_dataset()
File "/home/victor/src/Codes-for-Lane-Detection/SCNN-Tensorflow/lane-detection-model/data_provider/lanenet_data_processor.py", line 75, in _init_dataset
label_existence_list.append([int(info_tmp[2]), int(info_tmp[3]), int(info_tmp[4]), int(info_tmp[5])])
ValueError: invalid literal for int() with base 10:
any idea how to prepare both the tusimple and the BDD dataset?
thanks,

@jjzhu, you need to raise issues in the corresponding repo. Besides, I will release codes which prepare the tusimple and the BDD dataset soon. In this condition, SCNN-Tensorflow can run in three datasets.

@cardwing sounds great. Looking forward to it.


Cannot read property 'remove' of undefined

I receive the below errors using 1.7.1 when navigating away from the route that contains the map.
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'remove' of undefined
TypeError: Cannot read property 'remove' of undefined
at LeafletDirective.push.TTNa.LeafletDirective.ngOnDestroy (leaflet.directive.js:107)
ERROR TypeError: Cannot read property 'invalidateSize' of undefined
at leaflet.directive.js:162
at ZoneDelegate.invoke (zone-evergreen.js:364)
at Zone.run (zone-evergreen.js:123)

[X] I've looked at the documentation to make sure the behavior is documented and expected
[X] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[X] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
Steps to reproduce the behavior:

step 1
step 2
...

Expected behavior

Current behavior

Environment
1.7.1
Chrome
Windows 10
Additional context

Occurs when closing dialogs or navigating away via a route.
Minimal example reproducing the issue
Please create an example using https://leafletjs.com/edit.html or any other jsfiddle-like site.

[ ] this example is as simple as possible
[ ] this example does not rely on any third party code

Hi, and thanks for taking the time to open a bug report in Leaflet.
However, in this repository we only handle bugs in "vanilla" Leaflet. This means that we do not handle bugs which are specific to frameworks such as:

React
Ractive
AngularJS
Bootstrap
Leaflet for R
Joomla
Wordpress
Ionic
Cordova
Vue
Electron
Polymer
TypeScript
D3
Folium
NativeScript
...etc

Please understand that we only have the time and energy to test Leaflet in plain web browsers.
Please try to either reproduce the bug without using any frameworks, or submit a bug to the appropriate repo.


Email documentation

ODI has two emails that are not tied to an individual

wpserviceuser
toolkit.covid19

See @zakiya for list
We need to fully document their usage in Coda.

toolkit.covid19. may be related to https://toolkit.covid19.ca.gov/
@chachasikes I believe you said wpserviceuser was a github user but not seeing them in the list.


moving editor.suggest.filteredTypes to language-specific fails

Testing https://github.com/Microsoft/vscode/issues/71084
Repro:

Open vscode repo
Open a js file and ts file
Configure editor.suggest.filteredTypes to hide methods
Verify both ts and js file hide methods in suggestions
Move the setting into a [javascript] block

🐛 => ts file will continue to hide methods in suggestions

=> ts file will continue to hide methods in suggestions

ts? really? when configuring for [javascript] then that would be expected....

@jrieken none of the other settings worked that way. configuring for [javascript] to hide icons only affected the js file. why should they differ?

For clarity:
"[javascript]": {
	"editor.suggest.showIcons": false,
	"editor.suggest.maxVisibleSuggestions": 12,
	"editor.suggest.filteredTypes": {
		"keyword": false,
		"method": false,
		"function": false,
		"class": false,
		"module": false,
		"property": false,
		"value": false,
		"enum": false,
		"reference": false,
		"color": false,
		"unit": false,
		"snippet": false
	}
}

The above should only affect the js file. The top 2 do, and the bottom one affects both js and ts

Oh, now I understand. So this happens when stuff gets moved around. Does it recover after a reload?

Yes, reload makes it work as expected

Filter method
Methods are gone from suggestion list
Comment out the setting
Methods are still filtered out 🐛

It seems turning off the filtering doesn't bring out the suggestions.

@sbatten please verify this today


CSI-33: added identity functionality for controller

implement identity functionality for controller service.
(dev note: the csi tests for identity passed with this implementation)

This change is

implement identity functionality for controller service.


Checks if SMTP server supports 'starttls' before attemping to call sm…

Checks if SMTP server supports 'starttls' before attemping to call smtp.starttls()

lgtm although i hope no one is expecting TLS and wants it enforced

Would it be worth adding a force-TLS to the config?

Hi @sklarsa, thanks for this contribution. I will not merge this because of the unclean commit history. But I've got good news. I needed this exact patch myself so I did all the work for you in #1464. I hope you don't mind. :)
Closing in favor of #1464.


adds release scripts

@adrai how do you like this?

Nice, but wouldn'you wait for the travis result before npm publish?

I added npm run test before creating a new version should be enough.

kk
Il giorno 15-ago-2015, alle ore 18:35, Christoph Hermann <notifications<EMAIL_ADDRESS>ha scritto:
I added npm run test before creating a new version should be enough.

Reply to this email directly or view it on GitHubhttps://github.com/adrai/enum/pull/27#issuecomment-131400241.


Create function for saving a web URL

Imported from Bitbucket issue #85, created on 2017-05-16

bb-issue-85

Originally created on 2013-01-09
Make sure to handle non 200 responses.
bb-issue-comment-2801730

Save-WebUrl.ps1.txt
Test-SaveWebUrl.ps1.txt


bugfix: Stop calling 'java.getPackageData' when the dependency explorer is not visible

fix #231

check this._dependencyViewer.visible in window.onDidChangeActiveTextEditor to avoid redundant invocation of java.getPackageData

Put disposables into subscriptions

Directly call reveal when the visibility of the explorer changed. No need to cache _selectionWhenHidden anymore

what was _selectionWhenHidden originlly designed for?

@Eskibear It's used to cache the node last selected when the explorer is hidden. When the explorer become visible again, show that node again. (@Flanker32 Please correct me if I'm wrong)
I removed that cache, and always expand the node according to the current active editor. Since when the explorer get expanded, the cached node might not match the active editor anymore.


Asset share components are not working in publisher

Firstly, our current setup:
AEM: 6.5.14
asset share commons: 2.4.4
WCM core components: 2.21.2
The problem we are having now is limited to publisher only. All the asset share components aren't working and it seems to be related to unable to get userProfile from /libs/granite/security/currentuser.json.
In the the browser developer console, it is throwing an error of:
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
in this file:
https://github.com/adobe/asset-share-commons/blob/develop/ui.apps/src/main/content/jcr_root/apps/asset-share-commons/clientlibs/clientlib-site/js/profile.js#L41
Is there anything to resolve this? Is it related to how AEM publisher needs ?sling:authRequestLogin=1 to login to publisher?

My apologies! The ASC version that was installed is 2.4.4 instead...

Can you check if 'jQuery' is a global object? (Check if that var exists in the window by typing it into your browser console).. I think that error is saying that jquery is undefined .. which would definitely break a lot of stuff

Yes, jQuery is undefined and I am not sure why...
If I revert ACS back to 1.8.0 everything works again.

I think it relates to this error in the browser developer console:
No suitable store implementation found for type: "contexthub.assetsharecommonscart".
But I can't find anything that address this anywhere...

Update, I can see a reference to "contexthub.assetsharecommonscart" in node:
/etc/cloudsettings/asset-share-commons/contexthub/cart
However, that node is created from ASC 1.8.0.
In ASC 2.4.4 there is nothing equivalent to that. So far, I can't see anywhere on where to address this issue when upgrading from 1.x to 2.x for ASC...

Update:
I've uninstall ASC 2.4.4 and 1.8.0, then reinstall ASC 2.4.4 and the problem still exist...
This time, there is no error about "contexthub.assetsharecommonscart".
The error now (which also present before uninstalling 1.8.0 and reinstalling 2.4.4) in the browser developer console is:
clientlib-dependencies.min.js:142 Uncaught TypeError: Cannot read properties of undefined (reading 'html5')
pointing at the code in modernizr-2.8.3.min.js at:
https://github.com/Modernizr/Modernizr/blob/v2.8.3/modernizr.js#L1016
Is there anyone else that can help?

ok... looks like my issue is related to: https://github.com/adobe/asset-share-commons/issues/856


feature request: support for https://squares.io/

Take a look at a few puzzles and the page source. There is an object right on the page with puzzle info. You could just read the object and create puzzle:
https://squares.io/s/7nysz3u4

Seems like there's data embedded in ipuz format (search source for "window.bootstrap_data", though for some reason this variable doesn't seem to be populated by the time the page is fully loaded). I haven't written a parser yet for ipuz so that would be the first step here.
One question here would be just how useful/important this is. I know people upload their own puzzles to squares.io to solve collaboratively, but then a scraper wouldn't be that important since you would have needed the puzzle in the first place. Are there puzzle authors/sources which are hosted primarily out of squares.io?

important this is
Not any more important than any other site. I just thought maybe you were looking to increase the formats that could be detected.

solve collaboratively, but then a scraper wouldn't be that important since you would have needed the puzzle in the first place.
I haven't collaborated with anyone, I merely solve puzzles on this site, just like any other site.

Now that ipuz parsing support is implemented, I took another look at this. I do think it'd be reasonably easy to scrape a puzzle when you open a URL directly, since the initial "bootstrap" puzzle data is embedded in a script right on the page. However, it looks significantly more difficult to do so if you navigate to another puzzle, or if you start at the home page and navigate to a puzzle from there. The site works by using messaging over WebSockets, and each socket requires a log-in before it will return puzzle data, so we'd either have to reimplement the entire log-in protocol in the extension to effectively emulate the site from the extension, or would need to intercept the WebSocket traffic in the background which would be a very different (and more privacy-sensitive) operating model from the current on-demand reading of site data.
Given the difficulty here, I think I'm going to close this as infeasible for now. I think the better approach would be to ask squares.io to implement some sort of puzzle export option to allow folks to continue solving offline, if they're willing.


Rescript

What programming language should we add?
Rescript
What is the official website for the language?
https://rescript-lang.org/
Is this a language that comes in many variants? If so, which variant should we support?
No
Does the language have an official logo? If so

please include a link to an example
please list the attribution rights of that logo

Link: https://rescript-lang.org/static/brand/rescript-brandmark.svg
Attribution rights: I do not know
Is there a testing framework available for the language?
Yes. Rescript can use jest.
Is this language listed as 'supported' by Prism.js? If so

what is Prism's canonical spelling for the language?
what file extensions should be highlighted?
rescript is not supported by Prism. The rescript files are .res files.

If it is not supported by Prism.js, what is the closest supported language it maps to?
Reason.
Who will be leading the effort to launch the track?
I can do it.

Hello. I believe there is an intention to rename the reasonml track to be rescript. @ErikSchierboom Do you have details on this pls?

Yes, there is an ongoing effort to rename the reasonml track to rescript. See https://github.com/exercism/reasonml/issues/162


community: Fix Hybrid Search for non-Databricks managed embeddings

Description: Send both the query and query_embedding to the Databricks index for hybrid search.
Issue: When using hybrid search with non-Databricks managed embedding we currently don't pass both the embedding and query_text to the index. Hybrid search requires both of these. This change fixes this issue for both similarity_search and similarity_search_by_vector.

Added tests and fixed the ones that are broken


Mention "Warning: EACCES: permission denied, lstat '/root/.jbang'"

When running the action, I get
Post job cleanup.
Warning: EACCES: permission denied, lstat '/root/.jbang'

I think, there should be no Warning.
Proposal: Mention it in README.md or try to remove the warning :).

Where/how to reproduce this ?

Checked latest run: https://github.com/JabRef/jabref/actions/runs/10797089627/job/29947559133
Did not happen, thus closing. I will reopen if it occurs again.


add opacity aesthetics

I have not found alpha/opacity aesthetics in Gadfly. This patch should provide it (general definitions and Geom.Point implementation). In order for the patch to work, Compose.jl should be updated as well with another pull request (dcjones/Compose.jl/pull/45).

Superseded by db76d5c?


MSDKUI-1937: Show double dash when speed information is missing

Codecov Report

Merging #104 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   88.43%   88.46%   +0.02%
==========================================
  Files          89       89
  Lines        5499     5504       +5
==========================================
+ Hits         4863     4869       +6
+ Misses        636      635       -1

Flag
Coverage Δ

#ios
88.46% <100%> (+0.02%)
:arrow_up:

Impacted Files
Coverage Δ

MSDKUI/Classes/GuidanceEstimatedArrivalView.swift
100% <ø> (ø)
:arrow_up:

MSDKUI_Demo/GuidanceViewController.swift
91.87% <ø> (ø)
:arrow_up:

MSDKUI_Demo/GuidanceDashboardViewController.swift
97.61% <ø> (ø)
:arrow_up:

MSDKUI/Classes/ExtensionString.swift
90% <ø> (+3.33%)
:arrow_up:

MSDKUI/Classes/GuidanceSpeedView.swift
100% <100%> (ø)
:arrow_up:

MSDKUI/Classes/GuidanceSpeedMonitor.swift
96.77% <100%> (+0.62%)
:arrow_up:

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 851bf42...c78182c. Read the comment docs.


.Net7 ReflectionTypeLoadException: Unable to load one or more of the requested types.

Obfuscar unnecessarily renames methods that are implemention of some external interface. I get an exception:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method 'GetObjectData' in type 'A.e' from assembly 'X, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have an implementation.

For example, I have TestSerializable which implements ISerializable from System.Runtime.dll
namespace Test
{
    public class TestSerializable : ISerializable
    {
        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {

        }
    }
}

After obfuscation (without any error) I get:

for .NET 7 (assembly X.dll)

[X]Test.TestSerializable -> [X]A.e
{
	[X]Test.TestSerializable::GetObjectData[2]( [System.Runtime]System.Runtime.Serialization.SerializationInfo, [System.Runtime]System.Runtime.Serialization.StreamingContext ) -> A

	[X]Test.TestSerializable::.ctor[0]( ) skipped:  special name
}

GetObjectData method should be skipped but is renamed to A!

for .Net Framework (assembly X.exe)

[X]Test.TestSerializable -> [X]A.e
{

	[X]Test.TestSerializable::GetObjectData[2]( [mscorlib]System.Runtime.Serialization.SerializationInfo, [mscorlib]System.Runtime.Serialization.StreamingContext ) skipped:  external base class or interface
	[X]Test.TestSerializable::.ctor[0]( ) skipped:  special name
}

Renaming GetObjectData was skipped, OK.
To fix this I have added System.Runtime.dll path to AssemblySearchPath:
<AssemblySearchPath path="C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.12\ref\net7.0\" />

This is happending for me too.
Worked around this by chaging the class to public.

Hi, this also used to happen to one of our codebases as well, I believe the reasons are:

You have an internal (or private) class which inherits from a public class.
That class has some abstract method which has to be overridden by any class that inherits it.
After obfuscation, methods names and properties names of your child class are going to be renamed, which means it will no longer override the parent's class abstract methods/properties.

One of the workaround for this, is indeed making your child class a public class, so its public properties/methods don't get renamed.
Another solution is to make the obfuscators more smart (because I tried this with other .NET obfuscators as well, got the same results), in a way that they ignore overridden properties/methods.
I believe you can also use [System.Reflection.ObfuscationAttribute()] attribute on your method and set its Exclude parameter to true, so it doesn't get obfuscated anymore (tho it's entirely up to the obfuscation tool used to respect this or not).

We have the test case in FunctionOverridingTests that covers typical ISerializable scenarios. But this report seems to point to a very special setup, which we don't have time to investigate further. Luckily, the workaround is straightforward.
Pull requests are welcome if anyone figures out the cause.


Missing comma in the role definition example

Should be a comma after "Description": "Perform VM actions and read storage and network information."  and before "Actions" in the example code. Otherwise JSON is not loaded properly

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

ID: 40e649cf-40e3-1b9e-141a-c62d244eda61
Version Independent ID: 78ea89c1-7c56-e33b-d10a-dae05642aa34
Content: az role definition
Content Source: src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py
Service: azure-resource-manager
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@Charmendar thank you for the report!


This PR adds the Python Camouflage Tutorial (FF3 Tokenization Demo) to the Quickstarts

Project Python Camouflage uses Python UDFs in order to leverage the NIST approved FF3 format preserving encryption algorithm (FF3 and FF3-1 based on the Python implementation of Mysto here https://github.com/mysto/python-fpe) to tokenise data within Snowflake based on an AES encryption key.
This is a minimal demo that shall serve as a reference implementation and example how to encrypt, decrypt and format encrypted tokens.
Python Camouflage or FF3 encryption in production must always be tweaked to meet customer requirements. In order to make this easier customers can use this reference implementation as a starting point for their own format preserving encryption approach within Snowflake.
Contributions always welcome.

opening another pull request on monday. Found a bug.


Is it possible to run 2 (or more) commands from one URI?

I've attached a command to a link in the right-split that changes a setting in the note in the root-split when the link is clicked.
This works, but the focus remains on the right-split.
I'd like to add a second command (to execute immediately after the first command) to the uri that would restore the focus to the root-split note.
So, is it possible to run multiple commands from the same uri? Thanks.

Never mind; I figured out how to do it.

@gasparschott would you mind sharing how you did it?


update to 0.38.1

Tries to solve #5 by updating to zellij-tile 0.38.1

@imsnif bump on this?

Thanks! Super for taking such a long time with this


Extend ImportGroup states

The possible states of import groups are extended to be able to cover more scenarios.

Some files seem to miss the copyright header. Could you please add it?


Use eslint-find-rules

To discover missing rules.
https://www.npmjs.com/package/eslint-find-rules

Included this package and found around 10 missing rules. I test the node.js file, because that one includes all other configs (defaults, es7 and node) .
Run with npm run find-rules.
See commit 2dce8dd15d2be3e1c0610c1bc4b5fcb9a498de97.


Evaluate all WQEs when local resources are available - wmagent branch

wmagent branch version of https://github.com/dmwm/WMCore/pull/10072

Patch applied to vocms0250. Will keep an eye on it and if everything looks okay, other agents will be patched tomorrow morning.

 Fix #10073 - Evaluate all WQEs when local resources are available

I found other related code that should be improved, so I'm working on a better patch that will hopefully make things clearer.
This current patch has been removed from vocms0250.

Central production is no longer in a low pressure crisis (for more than a week actually), so I decided not to apply any hot fixes to the agent. A new release should come up in 2 weeks from now and it will have this fix in.
Closing this wmagent branch specific PR.


Update referenced version of caporal

This library explicitly references version 1.2.0 of caporal.  That version in turn explicitly references a version of lodash which contains security vulnerabilities.
I've created https://github.com/mattallty/Caporal.js/issues/153 and https://github.com/mattallty/Caporal.js/pull/154 to hopefully address that soon.
Once that's released, I'm happy to create a pull request referencing the updated version of caporal, but wanted to go ahead and create an issue to make you aware.

Thanks @Blackbaud-BobbyEarl ! Feel free to open a PR when you are ready.
We really appreciate this level of commitment to a fix!

Also, I've just realised that #167 removes the dependency on Caporal (the PR removes the node-based CLI now that we have binstubs, which simplifies some other issues). That would be another path to a fix.

Thanks for the update @TimothyJones.  Personally, I have no preference on which technique you choose, just hoping to get rid of the GitHub security alert.  :-)

Version 9.0.0 is out with this fix.


distance comp

Added a distance method to BiopandasPDB data frames to compute the Euclidean distance between atoms and a reference point.

Coverage increased (+0.2%) to 92.823% when pulling a908aaa7e96b2c3d5d5ce3440330c1594a829fd3 on compute-dist into a5ca7a0bcbe084a5955f48adae0a39613632328b on master.

Coverage increased (+0.2%) to 92.823% when pulling a908aaa7e96b2c3d5d5ce3440330c1594a829fd3 on compute-dist into a5ca7a0bcbe084a5955f48adae0a39613632328b on master.


Random Quote Machine - Facebook Javascript SDK not working on codepen

My share to facebook button works locally on my computer, im using xampp.. here's my javascript for the facebook button:
A.)  i tried this initialization as instructed on the facebook developers page and it worked locally
 $.ajaxSetup({ cache: true });
	   $.getScript('//connect.facebook.net/en_US/sdk.js', function(){
	     FB.init({
	       appId: '1613185902325802',
	       version: 'v2.6' // or v2.0, v2.1, v2.2, v2.3
	     });
	  });

B.) i also tried this one and worked locally
window.fbAsyncInit = function() {
	    FB.init({
	      appId      : '1613185902325802',
	      xfbml      : true,
	      version    : 'v2.6'
	    });
	  };

	  (function(d, s, id){
	     var js, fjs = d.getElementsByTagName(s)[0];
	     if (d.getElementById(id)) {return;}
	     js = d.createElement(s); js.id = id;
	     js.src = "//connect.facebook.net/en_US/sdk.js";
	     fjs.parentNode.insertBefore(js, fjs);
	   }(document, 'script', 'facebook-jssdk'));

But both didn't worked on codepen, i don't use them together because they're just the same.. and here's my button code:
$("#sharefacebook").on("click",function(){
		FB.ui({
		  method: 'share',
		  quote: sharequote,
		  href: 'http://codepen.io/mav1283/pen/wWWMdg',
		}, function(response){});
	});

it also worked locally with either inializations (A. and B.) mentioned above.
am i doing something wrong or it's just codepen does not support the facebook javascript sdk?

I recommend checking your console to see if there are any errors listed there. Codepen often has cross-origin errors to prevent spamming.
Ultimately, though, this is not an issue with FreeCodeCamp. The user stories say to make a button to tweet the quote, not use Facebook. And if Codepen is indeed the problem, then the FCC team can't really fix it so you may be better off submitting the issue to the Codepen bug repository or to their site.

@dhcodes, good point!
@mav1283, this is not an issue with FreeCodeCamp, use the Help chat room for getting challenge help. Happy Coding!


file cache is not getting saved

Using tus client for uploading a file and getting following error in http error log
PHP Fatal error:  Uncaught TypeError: Argument 2 passed to TusPhp\File::seek() must be of the type integer, null given, called in /var/www/html-tus/vendor/ankitpokhrel/tus-php/src/Tus/Client.php on line 527 and defined in /var/www/html-tus/vendor/ankitpokhrel/tus-php/src/File.php:387
While debugging, found that issue can be in the following lines of code of 'getData' function
$file   = new File;
$handle = $file->open($this->getFilePath(), $file::READ_BINARY);
$offset = $this->partialOffset;

if ($offset < 0) {
    $fileMeta = $this->getCache()->get($key);
    $offset   = $fileMeta['offset'];
}

$file->seek($handle, $offset);

As $offset value is -1 and when it tries to get information from cache by key, it returns null.
Using file as cache and below are my configurations for cache from  /vendor/ankitphokhrel/tus-php/src/Config/default.php
/**
 * File cache configs.
*/
'file' => [
     'dir' => '/var/www/html-tus/cache/',
     'name' => 'tus_php.cache',
],

Please also note that cache directory have write privileges and I have created 'tus_php.cache'  by myself. However, no content get written in this during file upload

@mohsininayatkhan can you share details how you setup the server? It looks like you are using file cache in client but redis in server.

The server setup is on different machine and is written in C#. It will not work with different server?

The client gets upload offset from cache while sending upload request to the server and only sends the chunk of data that hasn't been uploaded yet instead of sending whole file again. So, the client should be able to access cache set by the server as per current implementation.
But it seems that client doesn't really need to be dependent on the cache. Will check more on how we can remove this dependency.

Fixed in #76


mm/mm_heap: fix mm_heap not support BUILD_FLAT

change ifdef KERNEL to:
if defined(CONFIG_BUILD_FLAT) || defined(KERNEL)

change mm_delaylist to *mm_delaylist

change FAR struct mm_delaynode_s *new to:
FAR struct mm_delaynode_s *tmp

should check mm_trysemaphore() return values

Change-Id: I57ba991f13c3eaf56dc2d71ac946c11669e32dfa
Signed-off-by: ligd<EMAIL_ADDRESS>

LGTM.


Cursor doesn't automatically move to attempt 1 textbox when you click on "edit" under a competitor's name

When you click on a competitor's name on the results page for a round, a dropdown menu with "Edit" appears. When you click on it, the competitor's name gets filled out on the left side, but the cursor doesn't get moved to the attempt 1 textbox -- you have to click into it to start filling in the competitor's result.

Fixed in ffc904b6abac5531ce23efec232a5a2e525fc402.


Bug: SuperAdmin could not perform actions over entities

What were you trying to achieve?
Trying to perform some actions as super admin
What are the expected results?
Perform action without authorization error
What are the received results?
I could not preform the actions , Not Authorized
Steps To Reproduce
No response
In what environment did you encounter the issue?
Docker
Additional information you deem important
It is happened due to removal of domain login and the polici
At present in spicedb we have userid prefixed with domain
Example : 0c883527-8316-4711-b7e9-ded734bf96ed_84319f2a-046a-44d7-b24c-06b15d38ac74
Here 0c883527-8316-4711-b7e9-ded734bf96ed  is domain ID,
we should store without domain id prefix.
We should remove the EncodeDomainUserID at https://github.com/absmach/supermq/blob/e8e17f55304a13f5774311cd8a0a150d4f8ae027/internal/api/auth.go#L46

And then remove DomainUserID from authn.Session
at https://github.com/absmach/supermq/blob/e8e17f55304a13f5774311cd8a0a150d4f8ae027/pkg/authn/authn.go#L33
Then we need to perform all authorization with UserID
This creates another problem of listing domain specific entities directly from spicedb

The proposed solution is doable after implementing clients and channels listing https://github.com/absmach/supermq/issues/2606 https://github.com/absmach/supermq/issues/2605


Update Rectangle.js small typo in api doc

Rectanle should be Rectangle

@markknol good catch! Could you make this PR against Dev instead of master? Thanks!

see https://github.com/pixijs/pixi.js/pull/3214


Replace orchestrator with gorc in integration tests

Agreed, this was an oversight. Will remove.

On Sep 4, 2021, at 11:39, Jack Zampolin @.***> wrote:

@jackzampolin commented on this pull request.
In orchestrator/startup.sh:

@@ -14,7 +14,7 @@ echo orchestrator
--ethereum-rpc="$ethrpc"
--fees="${DENOM}"

-orchestrator
+gorc
The api changed here. I don't know if we still need all these flags. Most of this is in the config file now.
gorc --config /path/to/config.toml orchestrator start --ethereum-key signer --cosmos-key orchestrator
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Function call on complete

Hi,
Is it possible to do have a function fired once the animation completes? I can't find such an option in the readme.
If not, would you consider adding such a function?
Love you.

@paddotk somebody seems to have goofed up with the code , you can add your call back code when initiating the plugin like so:
$("#circli").circliful({
            animation: 1,
            animationStep: 10,
            foregroundBorderWidth: 5,
            backgroundColor: "none",
            fillColor: '#eee',
            percent: 75,
            iconColor: '#3498DB',
            icon: 'f206',
            iconSize: '40',
            iconPosition: 'middle',
            start:50,
            showPercent:1,
            target:0
        }, function(){
            alert('done !');
        });

and then edit the source code of the plugin at this point , just add the below line of code:
callback();
so the code now inside the if condition will look like:
window.clearInterval(timer);
last = 1;
callback();


Implement --python auto for environment detection

Resolves #362.

Manually tested using venv, virtualenv, conda, and poetry environments and they appear fine. I also virtualenv and conda using PyPy and they also appear fine (not sure if venv can be used with pypy and poetry makes it easy for us by giving us the interpreter directly so I don't believe we have to worry about it).
Making this a draft as I want to test this on a Windows machine.

Tested these environments in a Windows 10 VM and they all appear to work fine.
The next thing I'm going to do is make auto-detection fail instead of falling back to the interpreter that pipdeptree is being ran with. To me, passing anything to --python implies that we should run an interpreter other than the one that we are using.


When $ErrorView = ConciseView (default), an error output from within a module is stripped of new lines, generating weird looking output.

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Opening this on behalf of a customer.

Create a simple dummy PowerShell module (e.g: error-test.psm1), containing this:

Function Test-Error {
    $errorMessage = "Line1`r`nLine2`r`n"
    Write-Error -Message "`r`n$errorMessage"
}

Function Test-ErrorWrapper {
    Test-Error
}

Import the module in your current PowerShell session:
Import-Module <path to>\error-test.psm1
Run the Test-Error function, everything works as expected.
Run the Test-ErrorWrapper (just calling the other function) & the error message is displayed without any line breaks.

Note: if you change $ErrorView to NormalView then the line breaks are displayed as expected, along with the "full error details".
Expected behavior
Test-Error displays the message as intended.

PS C:\> Test-Error
Test-Error:
Line1
Line2

Actual behavior
Test-ErrorWrapper displays the message without the line breaks, everything on a single line.

PS C:\> Test-ErrorWrapper
Test-Error:  Line1 Line2

Error details
No response
Environment data
PS C:\> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
When $ErrorView is ConciseView (by default in PowerShell 7+), line breaks are missing/removed:

When $ErrorView is set to NormalView, the line breaks are there & the message is displayed as intended, along with the "full error details".

The original intent of ConciseView is to squash and remove the newlines so that the error shows up on one line.  This works if the individual lines being returned are sentences.  If a module is using newlines for formatting, this breaks.  Leaving up to WG to decide what to do.

Given that the intent of ConciseView is to be single-line, I would consider the multiline output case (stemming from the direct call to Test-Error) the anomaly.

Thank you for reporting this @mariuselix. The Interactive WG reviewed this, we would like to clarify that stripping the message of new lines is indeed by design. We do also agree that the two example cases given should result in the same formatting, but we think the case that needs to be resolved is the former.


ckeditor missing upload image button

ckeditor don't work like the original website
https://ckeditor.com/ckeditor-4/demo/#article
upload image  from the computer  not working in backpack package
What I did
    $this->crud->addFields([
    ['name'  => 'subject_ar','label' => ' الموضوع  ','type'  => 'ckeditor',]
    ]);

What I expected to happen

What happened

Hello.
Thanks for reporting. Can you set your crud in English? Or it's a design fault only?
Did you published crud assets? It's an upgrade? What version are you running?
Best,
Pedro

i'm using  backpack version 4 with laravel version 6
i created new project again now i get the same page with no button  to  upload image
i don' know hot to  set my crud to  English it always  open in  Arabic
i tried  ->composer update ,
when i tried -> php artisan backpack:version
PHP VERSION:
PHP 7.3.12 (cli) (built: Nov 19 2019 13:58:02) ( ZTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.12, Copyright (c) 1998-2018 Zend Technologies
LARAVEL VERSION:
'grep' is not recognized as an internal or external command,
operable program or batch file.
Symfony\Component\Process\Exception\ProcessFailedException  : The command "composer show | grep "laravel/framework"" failed.
Exit Code: 255(Unknown error)
Working directory: C:\xampp\htdocs\free\blog
Output:
Error Output:
'grep' is not recognized as an internal or external command,
operable program or batch file.
at C:\xampp\htdocs\free\blog\vendor\backpack\crud\src\app\Console\Commands\Version.php:62
58|         });
59|
60|         // executes after the command finishes
61|         if (! $process->isSuccessful()) {

62|             throw new ProcessFailedException($process);
63|         }
64|     }
65| }
66|

Exception trace:
1   Backpack\CRUD\app\Console\Commands\Version::runConsoleCommand("composer show | grep "laravel/framework"")
C:\xampp\htdocs\free\blog\vendor\backpack\crud\src\app\Console\Commands\Version.php:36
2   Backpack\CRUD\app\Console\Commands\Version::handle()
C:\xampp\htdocs\free\blog\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:32
Please use the argument -v to see more details.


PlexClient.sendCommand is broken

https://github.com/mjs7231/python-plexapi/blob/master/plexapi/client.py#L68
there is no self.address it was removed in 84a6999ed709726fdb3202ae6dc9cca8d8f43515

Thanks, I need more testing in this area.  I wasn't able to get the proxy working on my local setup so moved on for now and disabled the tests.  I'll definetly have this path tested before releasing v2.0.
Have you had luck getting the proxy commands to work?

Hazaa, I got this working!  It seems at some point in the last year or so Plex started using a different URL scheme to proxy commands through the server. It used to be /system/players/<client_ip>/<command> and has since changed to be the same exact path as the connecting directly to the client takes /player/<command> but also requires passing the header X-Plex-Target-Client-Identifier instead of specifying the IP address. This page gave the me clue I was looking for: https://github.com/plexinc/plex-media-player/wiki/Remote-control-API
commit 610bf16ce3fe64c3d56c28b323bf482959db0875
Author: Michael Shepanski<EMAIL_ADDRESS>Date:   Tue Apr 5 23:32:49 2016 -0400
Client control via proxy working; Re-enable control via proxy tests


RAM usage increases on each save if the window is open

I have been noticing this weird thing that each save action increases the RAM usage of nvim process.
I did some manual trouble shooting (I had to because there doesn't seem to be trivial way to monitor RAM usage within vim/neovim), and the result seems to be the neo-tree.
Steps to reproduce:
start neovim in the directory nvim .
open couple of files.
:w 10-20 times.
nvim starts with around 50MB RAM usage, then after this process it becomes 100MB, then stays that way. Memory is only deallocated when the neo-tree is closed (although I didn't thoroughly try this, if it always frees the memory when the window/panel is closed). It only increases without limit until the nvim prcess is killed by the OS.
Same behavior with regardless of (use_libuv_file_watcher = true) option.
Also I am using Linux with btrfs. I don't have a chance to try it on another file system.

I usually start with eliminating diagnostics and git updates with any memory or performance issues. You can disable those with these settings:
require("neo-tree").setup({
  enable_diagnostics = false,
  enable_git_status = false,
})

In addition to testing without those turned on, can you also tell me:

What version of neovim?
What version of neo-tree?
What files are you working on?
Have you tried repeating the steps in a different project?

I will do that the first chance I get and report back

@cseickel I am facing the same problem and see that @shaksiper didn't respond yet so it would be nice to have it fixed since in large projects it seems to grow much faster than in directory with one file. My versions are:

NVIM v0.8.0-dev-nightly-5-g1f1863ed5,
latest (2.32),
mostly go but I think it doesn't matter - I've tried in my project but also in empty directory and only one file within - it seems to take more saves in second case but still with ~100 writes it grows at least 2x,

Be sure to investigate your LSPs as well. I've noticed sumneko is a huge memory hog/leak, but it took me a while to establish that

@kamilez Did you try disabling git and diagnostics? They are the first things I look at for any performance or memory issues:
require("neo-tree").setup({
  enable_diagnostics = false,
  enable_git_status = false,
})

The hard part here is finding the particular thing that causes the memory leak. It doesn't happen for me so I can't do much about it until I find a way to recreate the issue.

@cseickel I've tried also with init.lua as below. Cloned this repository. Launched nvim and neo-tree and was writing in README.md one letter ("a") per line - "a" then enter for next line and save with ":w" and this way 50 lines and 50 times save. Grew from 0.2 to 0.5% on 16GB RAM (in other bigger directory as mentioned above those numbers are higher). With nvim-tree can't exceed 0.2 that doesn't change since nvim launch and starting editing. No language server or any other plugins as below that would affect the process. Give me feedback if you reproduce it and see any difference. If not I will try to search on my own.
-- plugin configuration
require('packer').startup(function()
	-- plugin manager
	use 'wbthomason/packer.nvim'

	use {
		"nvim-neo-tree/neo-tree.nvim",
		branch = "v2.x",
		requires = {
			"nvim-lua/plenary.nvim",
			"kyazdani42/nvim-web-devicons", -- not strictly required, but recommended
			"MunifTanjim/nui.nvim",
		}
	}
end)

require("neo-tree").setup({
	window = {
		width = 30
	},
	filesystem = {
	 	follow_current_file = true,
		filtered_items = {
			hide_dotfiles = false,
			hide_hidden = false,
			hide_gitignored = false
		}
	},
	enable_diagnostics = false,
	enable_git_status = false,
})
global_keymap('n', '<C-g>', ':NeoTreeShowToggle<CR>', global_keymap_opts)

I'll give that a try later.

@kamilez global_keymap and global_keymap_opts appear to be custom variables that are not included in your example init.lua. Can you provide the complete config you are using? Even better would be to use a minimal config.

@cseickel fixed configuration above. Actually it was the whole file. I just forgot to remove this line and nvim didn't throw any error bacaude was launching with :NeoTreeShow. Tested again with eample above and still the same.

Thanks @kamilez, I have recreated the leak you described using these instructions. I'll dig in and figure this out now.

I think this is fixed, at least it seems to be foxed in the specific scenario that @kamilez described. Can you confirm?

Unfortunately I did't notice much difference. Still on daily basis grows:

Unfortunately I did't notice much difference. Still on daily basis grows:

Is that using the specific config and steps you outlined above, or just using your normal config and workflow?

@cseickel I've been using default value all the time and unfortunately toggling it doesn't fix the problem.

It looks like that was just the thing triggering refreshes for me. It's just the file system navigate call (called on refresh in response to file watcher events) that has the leak. I'm zeroing in it, slowly but surely.

This was accidentally closed. I'm still working on it.

OK, between the fixes I have put in so far, and the latest fix in Nui (https://github.com/MunifTanjim/nui.nvim/pull/176), 99% of the memory leak issues are resolved.
TBH, I think there is still something small to find, but it doesn't increase exponentially and become a real issue.
Can you update to the latest in main and let me know if it is fixed now?

@cseickel I didn't notice anymore any issues related with RAM after this change. Seems to be fixed. Thanks.

@cseickel I didn't notice anymore any issues related with RAM after this change. Seems to be fixed. Thanks.

Awesome, I'm going to close this issue now.

https://user-images.githubusercontent.com/8136158/227706226-02facfd2-1a48-4de0-8567-7812be0987b6.mov
@cseickel Please reopen this issue. The problem with RAM consumption is relevant again. The consumption in my case jumps from mere 42 MB to almost 200 MB (!) when neo-tree is opened. If I generate shortcuts from defaults.lua to make lists for Legendary.nvim plugin I can get easily over 500MB wasted per nvim instance! This should be fixed.
Nvim-tree is much better at handling this.
My setup:
-- Init.lua
-- Packer plugin manager config
  ...
	use({
		"nvim-neo-tree/neo-tree.nvim",
		requires = {
		  "nvim-lua/plenary.nvim",
		  "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
		  "MunifTanjim/nui.nvim"
		},
		config = function()
			require("neo-tree").setup({
				enable_diagnostics = false,
				enable_git_status = false,
				window = {
					position = "right"
				}
			})
		end
	})

NVIM v0.9.0-dev-434f3d6a
Kubuntu 22.04.2 LTS

@hinell I don't think it's neo-tree that is using up that ram, maybe it's Legenedary.nvim. I don't have any problems at all with memory usage.
You shouldltry uninstalling all other plugins first and then doing the same test.

@cseickel Without Legendary it takes up 150 MB easily just after toggling it.

Then it's definitely another plugin or some combination of plugins working together that create the memory leak. My memory usage goes up by 0.2 MB the first time I open neo-tree and it will not change at all just from toggling it open and closed.

The source of issue might be a dependency plugin (like MunifTanjim/nui.nvim) that messes things up. But I'm not sure. I haven't had any problems with RAM consumption before neo-tree installation.  May be this is because I'm using dev version of nvim?

@hinell  I am not able to recreate the issue you experienced with the following configuration
-- Minimal configuration
-- mini.lua
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
        {
                'nvim-neo-tree/neo-tree.nvim',
                dependencies = {
                  "nvim-lua/plenary.nvim",
                  "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
                  "MunifTanjim/nui.nvim"
                },
                config = {
                        {
                                enable_diagnostics = false,
                                enable_git_status = false,
                                window = { postition = 'right' }
                        }
                }

        },
        {
                'mrjones2014/legendary.nvim',
        }
})

This is almost certainly an issue related to legendary. Regardless, even if it is an issue with Neo-tree, you have not provided enough information to recreate it. And you have necro'ed an old issue that has been closed for months. Consider opening a new issue and providing both a minimal configuration (including your legendary configuration) and steps to recreate your issue. Or consider reaching out to the maintainers of legendary for guidance on how to debug memory leak issues with their plugin.
In any case. There is no reason to necro an old thread with a tangential (at best) issue.

This is almost certainly an issue related to legendary.

@miversen33 I've disabled Legendary temporarily and tested neo-tree again. The problem didn't go. Legendary isn't interfering with neo-tree in anyway, cause it's activated via separate shortcut or command.

This is almost certainly an issue related to legendary.

@miversen33 That's certainly not. I've disabled Legendary temporarily and tested neo-tree again and the issue didn't go.
Legendary can't be a problem cause it IS NOT interfering with neo-tree in anyway. It's just a dropdown for shortcuts.

@miversen33 Certainly not. Legendary isn't interfering with neo-tree in anyway. It can't be a problem.
I've disabled Legendary and all others plugins and run the above config in a clean room nvim instance. It seems like the issue comes from enabled diagnostics. It takes up 170MB easily. Here is a config:
....
     enable_diagnostics = true,
     enable_git_status = true,

With these enabled, it's wasting a lot of memory.

Even with those options enabled I am not able to recreate the issue you refer to. Additionally, you have no right to demand anything of any project maintainer. I suggest this issue get locked. If @hinell is experiencing an issue, they should provide a way to reproduce it reliably, be less aggressive/toxic, and consider respecting others resources.
As it stands now, we do not have a way to recreate the issue you are experiencing. While I am not discounting it, as cannot recreate it and thus cannot debug it. I cannot lock this issue, thus I will simply suggest the Project maintainer lock it

Agreed @miversen33.


Add profile and example of TOSCA representation of TMForum ODA

As discussed at the TOSCA TC, this frozen project explored the possibility of representing TMForum ODA component defintions as a TOSCA profile, of vendors extending that profile to represent thier software and network service providers using TOSCA service templates to link together vendor supplied components.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Paul Jordan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Now resolved the earlier issue with incompatible email addresses preventing CLA check


[INDEXER] index all liquidity movements

Once the issues related to liquidity management are resolved, code the indexer that will populate the database based on the events.

I

Hi @0xChqrles I would love to work on this issue if it's available


Post Variant Calling Metric "SVN count" ID should probly by pass_snv_count

To be more aligned with Post Alignment Metric IDs, it might be better to name (ie metric's ID) it pass_snv_count
https://github.com/ga4gh/quality-control-wgs/blob/d32d9272da2341cb6031af64167e74e2f88f7f37/metrics_definitions/metrics_definitions.md?plain=1#L99
@justinjj24, What do you think ?

Agree.
Updated the metric definiton ID as follows..

Count: SNVs - ID: count_snvs_pass
Count: Insertions - ID: count_insertions_pass
Count: Deletions - ID: count_deletions_pass
Ratio: Insertions/Deletions -  ID: ratio_insertion_deletion_pass
Ratio: Heterozygous/Homozygous (SNVs) - ID: ratio_heterozygous_homzygous_snv_pass
Ratio: Heterozygous/Homozygous (indels) - ID: ratio_heterozygous_homzygous_indel_pass
Ratio: Transitions/Transversions (ti/tv) - ID: ratio_transitions_transversions_pass


WIP: Fractional area weighted sea ice extent routines and an extension for the Southern Hemisphere.

This PR contains:

revise routines so that the weighting with the fractional areas is taken into account
new input data for the sea ice extent on the Southern Hemisphere
new routines to compute the sea ice extent on the Southern Hemisphere

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-10 of 156 (93.59%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 91.499%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/model.jl
146
156
93.59%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
775

Relevant Lines:
847

💛  - Coveralls


Add hashbang example

Coverage remained the same at 94.025% when pulling 0664795da785f89424b675f287099d9e430036b4 on examples into f306c65aba6a5dd2cc91b3e5cc47ca541a45cb9a on master.

Coverage remained the same at 94.025% when pulling 0664795da785f89424b675f287099d9e430036b4 on examples into f306c65aba6a5dd2cc91b3e5cc47ca541a45cb9a on master.


[Sozialpass] Additional Field Nürnpass-Pass-Id on PDF

As a service user i want to have an additional field for the nuernberg pass id in the card creation form
Acceptance Criteria:

add the additional field in the card creation form
show the pass id on the pdf imprint
the pass id will not be saved in the database

Technical Tasks:

enable additional field only for nuernberg
adjust the pdf template
char field with 10 digits (even it should only contain 8-9 numbers)

@f1sh1918  please specify where exactly in the document the additional field should be featured, e.g. in the lower content field on the right side of the card, thank you

@hauf-toni probably next to the card information on the right side, where you also find the name and expiration date...

I think Daniel is working on a Text where this is included like:
You can use this {PassId} to get a discount to the deutschlandticket. I think it's not finalized yet. You can contact hin and tell him to Update this ticket with the text

I will get the final update on the text on 14th May latest.
Please use this before "Bitte beachten Sie: Um das Deutschland-Ticket für den Verkehrsverbund Großraum Nürnberg (VGN) zu erhalten nutzen Sie bitte Ihren persönlichen Gutschein-Code: {{PASS-ID}}"


Can't compile magi-qt on Arch Linux

Hi,
I'm trying to compile the gui wallet on my Arch Linux installation. Other coins like litecoin or bitcoin compile fine on the system. So I guess I am missing some dependencie. Would be nice if anyone could provide a hint.
The steps done were:
$ cd magi
$ make clean
$ qmake     (here I even tried with qmake "USE_UPNP=-" and "USE_IPV6=-")
$ make
The error I get is this:
g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -O2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIC -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Ibuild -isystem /usr/include/libdrm -Ibuild -I/usr/lib/qt/mkspecs/linux-g++ -o build/net.o src/net.cpp
In file included from src/bignum.h:12:0,
from src/main.h:8,
from src/db.h:8,
from src/net.cpp:7:
src/util.h:258:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
return strprintf("%"PRI64d, n);
^
In file included from src/main.h:10:0,
from src/db.h:8,
from src/net.cpp:7:
src/net.h:322:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("askfor %s   %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
^
In file included from src/db.h:8:0,
from src/net.cpp:7:
src/main.h:712:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d)\n",
^
src/main.h:712:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d)\n",
^
src/main.h:1148:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
^
src/main.h:1405:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRI64x", nStakeModifierChecksum=%08x, hashProofOfStake=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
^
src/net.cpp:894:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("socket recv flood control disconnect (%"PRIszu" bytes)\n", vRecv.size());
^
src/net.cpp:1237:12: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
printf("Flushed %d addresses to peers.dat  %"PRI64d"ms\n",
^
src/net.cpp:60:1: error: reference to ‘array’ is ambiguous
array<int, THREAD_MAX> vnThreadsRunning;
^~~~~
In file included from src/net.h:9:0,
from src/main.h:10,
from src/db.h:8,
from src/net.cpp:7:
/usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, unsigned int N> class boost::array
class array {
^~~~~
In file included from /usr/include/c++/6.3.1/tuple:39:0,
from /usr/include/c++/6.3.1/bits/stl_map.h:63,
from /usr/include/c++/6.3.1/map:61,
from src/util.h:17,
from src/bignum.h:12,
from src/main.h:8,
from src/db.h:8,
from src/net.cpp:7:
/usr/include/c++/6.3.1/array:90:12: note:                 template<class _Tp, unsigned int _Nm> struct std::array
struct array
^~~~~
make: *** [Makefile:2246: build/net.o] Error 1

tried to modify net.cpp but still failed. changes reverted

Using release <IP_ADDRESS> from official repo
https://github.com/magi-project/magi/releases/tag/v<IP_ADDRESS>
Works fine with 32bit Arch Linux. However, it states to update to 1.3.1

Compiling finishes without errors.
Starting the wallet still fails with error:
QXcbConnection: XCB error
Could be related to QT bug:
https://forum.qt.io/topic/30791/qxcbconnection-xcb-error-165-unknown

With Update net.cpp #2, the wallet works fine. The problem I got (QXcbConnection: XCB error) was related to X11 forwarding.

I saw some C++11 warnings; what's your version of Qt? Could you try compiling without C++11 enabled? Basically C++11 is not tested and well supported so far.


Feature Request: Add the PRs raised and requires changes

It would be so nice if it can scan through the PRs I raised, reviewed by others and have been requested changes.

Hey Kim, thanks for the feature request. To be honest I'm kind of in two minds about extending CanvaBoy in this way... Currently it's an incoming review reminder and I dare to say it does it's job fairly well (I've been using it with success for the last 6 months or so) and I'm hesitant to make it more complex.
I also feel it's much easier to track the state of my outgoing PRs because I'm the author so I'm aware of them (as opposed to incoming PRs which are more random). And I can just check https://github.com/<org>/<repo>/pulls/realyze and see what's new.


feat: Add support for ignoring rules with SuppressWarnings("squid:SXXXX")

Fix #317
This PR adds support for ignoring specific rules with @SuppressWarnings annotations, like so:
public class WithMethodSuppressedS2116 {

    @SuppressWarnings("squid:S2116")
    public static void main(String[] args) {
        String argStr = args.toString(); // Noncompliant (rule S2116, should be ignored)
        float f = 1.0f + 2.0f; // Noncompliant (rule S2164, should not be ignored)
    }
}

Side note: To the extent possible, I've tried to avoid using internal components. However, as Sorald is to some extent pretending to be SonarLint, I don't think entirely avoiding internal SonarLint components is possible with our use case without implementing our own versions of a large amount of non-trivial of things.

Side note: To the extent possible, I've tried to avoid using internal components. However, as Sorald is to some extent pretending to be SonarLint, I don't think entirely avoiding internal SonarLint components is possible with our use case without implementing our own versions of a large amount of non-trivial of things.

@khaes-kth I think this is ready for review again.

@khaes-kth I think this is ready for review again.

@khaes-kth I think this is ready for review again.

@khaes-kth I think this is ready for review again.

Noticed that this branch was behind master, so just merged now to check that there are no problems.

Noticed that this branch was behind master, so just merged now to check that there are no problems.

Thanks @slarse

Thanks @slarse


The RegexMask.Email() does not accept my valid email address

Bug type
Component
Component name
MudMask
What happened?
Go to https://mudblazor.com/features/masking#regexmask-regexmask.email enter my address:
<EMAIL_ADDRESS>that - will not be accepted!!
Expected behavior
You should be able to enter all valid e-mail addresses.
Reproduction link
https://mudblazor.com/features/masking#regexmask-regexmask.email
Reproduction steps

Enter my adresse

...
Relevant log output
thy code works fine:
@"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$";

Version (bug)
6.0.10
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Same here with multiple variants for phone number masking using regex:
^+(?:[0-9]●?){6,14}[0-9]$
^((+31)|(0031)|0)((0)|)(\d{1,3})(\s|-|)(\d{8}|\d{4}\s\d{4}|\d{2}\s\d{2}\s\d{2}\s\d{2})$
^[+][(]{0,1}[0-9]{1,4}[)]{0,1}[-\s./0-9]$
^+[0-9]{2}|^+[0-9]{2}(0)|^(+[0-9]{2})(0)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9-\s]{10}$
These all dont work

I also experienced the same issue as @lonix1 with the dash in the domain part.
This issue is still not fixed on version 6.1.6.


Generate .tern-project with vue init

Following of https://github.com/vuejs/vue-cli/issues/404.

I'm not too convinced that we should add another config file to the template people have to know about ("what is this for? should I do something with it?"), especially when it's about something like ternjs (which is a great project, but ...) which is not required to use this template's functionality and olny used by a fraction of developers.


Feature Request: Quick-create locations/npcs

From Reddit post: https://www.reddit.com/r/arcana_io/comments/6152yt/idea_quickcreate_locationsnpcs/?st=j8ekm5ht&sh=8c297977

At the beginning of campaign creation, I may know the broad strokes of my world and its characters, but not the details. The complex three-page NPC creation process is useful later on, but at the beginning, I want to quickly create stubs for all my locations, encounters, items, and NPCs, as well as quickly associating them with each other, so that I can visualize their relations and fill in details as I get there. Ideally, this would be done in an asynchronous fashion to avoid reloading the page much.

Also referenced in another post is generating NPCS
and in another, templating


Docker - document update

Issue: The audio_cache folder is missing and not defined as part of the docker startup from the setup page, the following is defined.
docker run -d -v $(pwd)/config:/musicBot/config musicbot
You need to create the audio_cache directory and change the startup command
One time only 'mkdir audio_cache' in the musicbot root ( same directory as config and musicbot )
Update the run command to the following.
docker run -d -v $(pwd)/config:/musicBot/config -v $(pwd)/audio_cache:/musicBot/audio_cache musicbot

I believe maintenance for docker documentation is necessary as well. I had to give up on Docker and move back to using screen when using Docker didn't let me update the bot dependencies successfully.

Going to further update this with some enhancements
Problem: the discord bot name is inconsistent in docker, so we're going to assign one, we are also going to clean up the container when we shut it down like a good app should
docker run --rm -d --name musicbot1 -v $(pwd)/config:/musicBot/config -v $(pwd)/audio_cache:/musicBot/audio_cache musicbot
We will also enhance the kill command to kill by name instead of any container it finds, especially important if you have multiple containers.
docker kill $(docker ps -q -f name=musicbot1)
Doing this will also allow you to run multiple bots from the same image without having to change any code utilizing named containers just by duplicating the config folder with a new name ( each docker container would then get its own name )
Working example ( which you could put in a startup script etc )
docker run --rm -d --name musicbot1 -v $(pwd)/config:/musicBot/config -v $(pwd)/audio_cache:/musicBot/audio_cache musicbot
docker run --rm -d --name musicbot2 -v $(pwd)/config2:/musicBot/config -v $(pwd)/audio_cache:/musicBot/audio_cache musicbot
docker kill $(docker ps -q -f name=musicbot1)
docker kill $(docker ps -q -f name=musicbot2)

Our team personally don't utilise Docker which is why there is no maintained documentation for installing the bot using it. The docker image in the repo is maintained by someone else, but we haven't heard from him in a long time.

None of these commands work. :(

So question, for whatever reason when i go to run the command for bot #2 bot #1 skips for a second and continues to play. Almost as if it tried to run as the same config file.. Why is that? These are the commands i sent in
docker run --rm -d --name bot1 -v $(pwd)/bot1:/musicBot/config -v $(pwd)/audio_cache:/musicBot/audio_cache musicbot
docker run --rm -d --name bot2 -v $(pwd)/bot2:/musicBot/config -v $(pwd)/audio_cache:/musicBot/audio_cache musicbot
One has a prefix of ! the other !! and when i run the second command the ! prefix is still taken... All of the proper files are in each location

We no longer provide official setup steps for Docker as we haven't got anyone to maintain it. Building the image and running a container yourself may still certainly be possible, but you'll have to figure out how to do it.


Add visualID to tag create/update

@mahdibenromdhane:

Review request to relevant people in the team is not done;
Ensure that you have properly setup vscode plugins and used the settings-template.json to finish its required setup.

Thanks.

@mahdibenromdhane:

Review request to relevant people in the team is not done;
Ensure that you have properly setup vscode plugins and used the settings-template.json to finish its required setup.

Thanks.

I already installed the recommended vscode plugins.
Done for the reviewers.

@mahdibenromdhane: The administrator needs to understand why he needs to fill that field. And nothing explain its purpose. Could you please add a tooltip text and/or a more explicative error message?