fdtdz not showing in docs

but is listed in the table of contents

@simbilod

Do we have GPU runners now?

not yet,
that's why we disabled the rendering
see fix here
https://github.com/gdsfactory/gplugins/pull/304

Oh interesting, when we moved from Jupyterbook .py files back to ipynb it stopped including it

yes, we had some py extensions there :)


1.16.1 LoadError

unix1@BOAS-BEF-60:/mnt/c/Users/bre/Documents/jekyll-toc-master$ bundle install
Traceback (most recent call last):
        1: from /usr/local/bin/bundle:23:in `<main>'
/usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle (LoadError)

ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux-gnu]
gem 2.7.6
bundler 1.16.1

NOTE: This ubuntu on Windows 10

Hi there, could you please have a look at https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md ? Your issue is a bit light on information


Redhat 8.4: tikv still oom after set memory-usage-limit less than vm message

Bug Report

What version of TiKV are you using?

sh-4.4# /tiup/deploy/tikv-20160/bin/tikv-server -V
TiKV
Release Version:   6.1.0
Edition:           Community
Git Commit Hash:   080d086832ae5ce2495352dccaf8df5d40f30687
Git Commit Branch: heads/refs/tags/v6.1.0
UTC Build Time:    2022-06-10 11:22:39
Rust Version:      rustc 1.60.0-nightly (1e12aef3f 2022-02-13)
Enable Features:   jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release
What operating system and CPU are you using?

Steps to reproduce

What did you expect?
pod has request 16G memory
err := tc.UpdateConfig(resource.TiDBClusterUpdateConfigOptions{
Target: resource.TiKV,
Config: "memory-usage-limit = "12G"\n[storage.block-cache]\ncapacity = "7G""})
return err
}
What did happened?
tikv oom and use than 12G.
[2936253.548142] oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=cri-containerd-6d9f788aa1549022adddd2d2cd5bcf2c1e6a4376059f5bf95901d9633392db28.scope,mems_allowed=0-1,oom_memcg=/kubepods.slice/kubepods-podb0bd101c_6315_4417_be9c_a2d7c9f3bb9e.slice/cri-containerd-6d9f788aa1549022adddd2d2cd5bcf2c1e6a4376059f5bf95901d9633392db28.scope/system.slice,task_memcg=/kubepods.slice/kubepods-podb0bd101c_6315_4417_be9c_a2d7c9f3bb9e.slice/cri-containerd-6d9f788aa1549022adddd2d2cd5bcf2c1e6a4376059f5bf95901d9633392db28.scope/system.slice/tikv-20160.service,task=tikv-server,pid=2326757,uid=1000
[2936253.548290] Memory cgroup out of memory: Killed process 2326757 (tikv-server) total-vm:19640788kB, anon-rss:15651428kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:32684kB oom_score_adj:-997
[2936254.543814] oom_reaper: reaped process 2326757 (tikv-server), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

/type bug
/severity major
/assign @tier-cap

any update？

@jebter Has discussed with @mayjiang0203 , She'll reproduce this, then we'll investigate why

After three times try, didn't reproduce oom in dmesg again, but tikv still restart many times.

And from systemd log, found that tikv restart by systemd.
journalctl -u tikv-20160.service
Aug 17 11:29:35 tikv1-0 systemd[1]: Stopping tikv service...
-- Subject: Unit tikv-20160.service has begun shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- Unit tikv-20160.service has begun shutting down.
Aug 17 11:29:58 tikv1-0 systemd[1]: tikv-20160.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- The unit tikv-20160.service has successfully entered the 'dead' state.
Aug 17 11:29:58 tikv1-0 systemd[1]: Stopped tikv service.
-- Subject: Unit tikv-20160.service has finished shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- Unit tikv-20160.service has finished shutting down.
Aug 17 11:29:58 tikv1-0 systemd[1]: Started tikv service.
-- Subject: Unit tikv-20160.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- Unit tikv-20160.service has finished starting up.

Update, after disable auto restart, run 6 hours, didn't hit tikv reset again.
Need more time to verify this restart can be fixed by disable systemd auto restart.

@mayjiang0203 After disable auto restart, does the problem exit anymore? If not, we may close it or downgrade the severity.

Yes, after disable restart, didn't hit this again.


Wait helm template failed. Error: error unpacking common in kafka: apiVersion 'v2' is not valid. The value must be "v1" : exit status 1

There is a problem with rancher ui page.
When I updated the content of the app, I found that the version of template automatically became the latest, and then the page prompted as follows:
Wait helm template failed. Error: error unpacking common in kafka: apiVersion 'v2' is not valid. The value must be "v1" : exit status 1
I tried to roll back the template version “14.0.5” to the previous template version “11.3.1” and found that the error message was still there:

And the app have also not updated.
My Rancher version is 2.4.8

why the rancher automatically updated the template version?
why is it also prompting error when we change back it to old template version.


cleaning up the source directory after build

Hello,
I am running the backend with run-setuptools = true.
And I am compiling several extensions using cython.
The issue is that .c files are left in source directory. src/my_pkg/file.c
And I am looking for solution of getting rid of them automatically.
So I see 2 possible solutions:
a) Some clever configuration for this in cython or extending build classes run by setuptools
b) running extra hook as part of pdm build and doing it manually
I would appreciate any insight into a), but I appreciate that this might not be directly related to this backend, but more to setuptools.
And I would like to know if there is something for b).
Regards,
DG

Whoever creates the file is responsible for clearing it, and I think the correct person is cython or setuptools

Fair, thanks.


Worker node pool takes much time to create IAM role and instance profile

Can we just create a default worker role/instance profile in a control-plane stack and then import them to worker node pool stacks so that we can cut 2~3 minutes down per an additional worker node pool?

@redbaron @c-knowles @danielfm Do you have any thoughts on this?

Would IAMRoleWorker then need to be shared also? IAMInstanceProfileWorker refers to it and since the worker CF refers to controlplane CF but not vice versa, I think this would be the case.
If we did this, these are the switches we have in IAMRoleWorker which we'd have to consider the original use case and whether those need overrides or not:

.ManagedIamRoleName, probably ok to share between pools
.Kube2IamSupport.Enabled, share between pools
.AssetsEncryptionEnabled
.WaitSignal.Enabled, probably ok to share between pools
.AwsNodeLabels.Enabled
.ClusterAutoscalerSupport.Enabled
.SpotFleet.Enabled, do not think this can be shared between pools
.LoadBalancer.Enabled / .TargetGroup.Enabled

@c-knowles Ah, good catch! It seems to be harder than I had initially thought then.

would not be better to give nodepools the ability to attach a preexisting IAM role and we optionally could create one worker role in control plane to attach?

@Fsero sounds cool but I'm wondering how we could implement an intuitive
configuration syntax for that.
Also, how would you like to ensure that an iam role provided by you has
enough policies for what features are enabled for the node pool?
2017年4月6日(木) 22:08 Fabián Sellés Rosa<EMAIL_ADDRESS>
would not be better to give nodepools the ability to attach a preexisting
IAM role and we optionally could create one worker role in control plane to
attach?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/kube-aws/issues/500#issuecomment-292168820,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABV-Xzn7oND65PkAUVAjM3v3EB6c31Sks5rtOPUgaJpZM4Mzsvv
.

@mumoshu i'm not sure either about how implement this in a sane / easy way but i'm eager to write a PoC for that if it's interesting. One naive approach will be create a new key under worker block named like WorkerUseExistingIamRoleArn and attach the arn.
Regarding the second question i think the easiest way to achieve that is to create a customer managed policy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html) that way you can ensure that the list of permissions listed on the managed policy is the minimum set required.
Both features combined also opens the way for people that want to have extra policies, because you would create an external IAM role, attach the managed policy and add others policies inline for your particular use case.

@Fsero I think that may be covered by https://github.com/kubernetes-incubator/kube-aws/issues/340?

@Fsero Btw, the most time consuming seems to be a creation of an instance profile, rather than an iam role according to my screen capture above.
We need something like WorkerUseExistingInstanceProfileName then

Now, I'm considering to create IAMRole<Hash> and InstanceProfile<Hash> on a "control-plane" stack. <Hash>  can be computed by hashing the list of values of flags sorted by their names.
The list of flags contains what @c-knowles noted in the above comment.
InstanceProfile<Hash> can be imported from a node pool stack by name hence avoiding to create an instance profile per node pool stack.

Also, we can introduce instanceProfile which defaults to a InstanceProfile<Hash> in control-plane like:
worker:
  nodePools:
  - name: pool
    instanceProfile:
      idFromStackOutput: <ControlPlaneStackName>-<InstanceProfile<Hash>>

and optionally able to be customized to provide an existing instance profile:
worker:
  nodePools:
  - name: pool
    instanceProfile:
      id: <ExistingInstanceProfileName>

@mumoshu the IAMRole part doesnt play nice with kube2iam scenarios where you want to the IAM role to be stable, that means the option to survive between cluster recreations. As you said the most time consuming part is the creation of instanceprofile and it should be possible to attach to an existing instanceprofile in nodepools and create an instance profile in controlplane attached to an stable IAM Role name like $CLUSTER-IamRole-Worker.
so i think that your idea of extending worker config to accept instanceprofiles is :+1: , but i will add an iam block in cluster.yaml like the following to handle Roles.
iam:    worker:       managed: true        # kube-aws will create an IAM role named like ${AWS:Stack}-IamRoleWorker-$RANDOMID ...
iam:    worker:       managed: true       NamedRole: YourNamedRole        # kube-aws will create an IAM role named like ${AWS:Region}-YourNamedRole ..
the region is to follow the AWS Named Roles recommendations to avoid clashes between regions.
`iam:
worker:
managed: false
ExistingWorkerRoleArn: arn:aws:iam::980851552428:role/Role
controller:
managed: false
ExistingControllerRoleArn: arn:aws:iam::980851552428:role/Role
etcd:
managed: false
ExistingEtcdRoleArn: arn:aws:iam::980851552428:role/Role
`
Then in the controlplane stack we just need to create an InstanceProfile attached to a role created by kube-aws or to an existing one, as discussed previously the way to ensure existing roles has enough permissions is to use a customer managed policy.

@c-knowles i think that one is one piece of the puzzle, yes :smile:

@Fsero Thanks for your feedbacks!
Several things:

Is NamedRole equivalent to (worker|controller).managedIamRoleName which already exists in cluster.yaml?
I prefer worker/controller/etcd specific settings to reside under worker, controller, etcd respectively, rather than iam.(worker|controller|etcd)
managed: false seems to be redundant - Specifying ExistingWorkerRoleArn would imply managed: false in your example, right?
Does iam.worker.ExistingWorkerRoleArn get applied to all the worker node pools? Or just one of them? If it was latter, it won't work... Each node pool would need a different policies hence role.
However I now understand the needs to stabilize role names after the possible change - so how about:

worker:
  nodePools:
  - name: pool1
    managedIamRoleName: myRole1
    kube2iamSupport:
      enabled: true
  - name: pool2
    # As pool2 has a set of iam policies different from that of pool 1, if we set the `managedIamRoleName` to myRole1 would be a validation error!
    managedIamRoleName: myRole2
    kube2iamSupport:
      enabled: true
    awsNodeLabels:
      enabled: true

and then kube-aws creating IAM roles and instance profiles whose names are suffixed with "myRole1" and "myRole2" respectively in a control-plane stack?
To be extra clear, the following case should result in a validation error:
worker:
  nodePools:
  - name: pool
    instanceProfile:
      id: <ExistingInstanceProfileName>
    # You can't customize the role name because you've specified an unmanaged instance profile with an existing IAM role associated to it!
    managedIamRoleName: myRole1

And the following should be valid as long as the existing instance profile has a trusted iam role already attached:
worker:
  nodePools:
  - name: pool
    instanceProfile:
      id: <ExistingInstanceProfileName>
    kube2IamSupport:
      enabled: true

And kube-aws would name an IAM role like ${AWS:Stack}-IamRoleWorker-<HASH> when managedIamRoleName is omitted.
If managedIamRoleName is specified, it would be named like ${AWS:Region}-<managedIamRoleName> as you suggested but then it will be an user's responsibility not provide two or more roles, each with a different set of policies(+managedPolicyArns), the same managedIamRoleNames.

@mumoshu

Is NamedRole equivalent to (worker|controller).managedIamRoleName which already exists in cluster.yaml?

yes! sorry for the confusion.

I prefer worker/controller/etcd specific settings to reside under worker, controller, etcd respectively, rather than iam.(worker|controller|etcd)

that's ok :) i thought that maybe having is own block could make config a little more clear.

managed: false seems to be redundant - Specifying ExistingWorkerRoleArn would imply managed: false in your example, right?

you are totally right.

Does iam.worker.ExistingWorkerRoleArn get applied to all the worker node pools? Or just one of them? If it was latter, it won't work... Each node pool would need a different policies hence role.

it should apply to every nodepool, as you said an unique one will not work.
Overall i like the last proposal you specified, except this one:
`worker:
nodePools:

name: pool
instanceProfile:
id:
kube2IamSupport:
enabled: true
`
the purpose of kube2IamSupport flag was to add sts:assumeRole permissions to managed role, if you provide an InstanceProfile id we should assume that the provided InstanceProfile has attached a role with assumeRole permissions if its intended to be used with kube2iam, if not kube-aws should be responsible to update roles not managed by it, which is a behaviour i think nobody desires.

@Fsero Thanks for the confirmation.
Regarding the last thing you've pointed our, I totally agree with you! I don't like kube-aws to modify roles to include policies required by kube2iam. Good catch 👍


Add doctrine/annotations dependency

Some methods have been removed in 2.0 version doctrine/annotations:
https://github.com/doctrine/annotations/pull/468/files
Therefore, it is required to fix 1.*

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Update INSTALLING-LOCALLY.md

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Stream still being called

I have the following code:
function handleOptimize() {
    function losslessTest(file) {
      return options.lossless;
    }

    var lossyStream = plugins.imagemin({ use: [jpegoptim({ max: 80 })] });
    var losslessStream = plugins.imagemin({ progressive: true });

    return plugins.if(losslessTest, losslessStream, lossyStream);
  }

It's simplified: losslessTest does do something useful in real life.
When piping four images through this, I get the following output:
[16:53:15] gulp-imagemin: Minified 0 images
[16:53:15] gulp-imagemin: Minified 0 images
[16:53:15] gulp-imagemin: Minified 0 images
[16:53:15] gulp-imagemin: Minified 0 images
[16:53:15] gulp-imagemin: Minified 1 image (saved 273 B - 6.4%)
[16:53:15] gulp-imagemin: Minified 1 image (saved 319 B - 4.9%)
[16:53:15] gulp-imagemin: Minified 1 image (saved 398 B - 3.2%)
[16:53:16] gulp-imagemin: Minified 1 image (saved 1.55 kB - 3.4%)

Is that supposed to happen? Will it cause other problems in my code?

That isn't.  Do you have a test project or paste-bin that shows this symptom?

https://github.com/callumacrae/gulp-if-bug

@callumacrae: Thanks for the example repo. I see it says output true: 1
file, false: 0 files. What results were you expecting?

I expected this, but I'm not sure it's any better:
true: 1 files

Six months later, now I know more about streams, I would expect the output we have now. Not sure why it is better, though.

Oh, I see. You don't like that the false stream is included in the pipeline
at all when your results don't include any files that run through it. Yeah,
not sure we can do anything about that since we don't know whether it will
be used when we set up the pipeline at the beginning.

Fair enough. Also, not sure if there are any advantages to it, either. I'll close this issue


Can't make this work in H19, Py3.7

Can you please let us know if we can make this work in H19 py3.6? We can't install the tensorflow version you reccomended in the webpage with 3.7. The HDA crashes immediately when we try with with the latest tensor flow. Thank you.

Hello, I'm currently very busy with other work but I'll take a look into this later. I am considering revamping the entire plugin to work with later versions of Houdini, as a lot of the current pipeline is obsolete. Unfortunately, this will take quite a bit of time.

Thank you so much!

Also, let me know if I can be of help.

Hi, I installed Tensorflow 1.15 because 1.12 was crashing:
curl https://bootstrap.pypa.io/get-pip.py -o C:/hython/get-pip.py
hython C:/hython/get-pip.py
hython -m pip install scipy
hython -m pip install matplotlib
hython -m pip install scikit-image
hython -m pip install tensorflow==1.15

(On a laptop with piggybacked RTX, so trying TF CPU first.)
I can get the demo_py3 file to open by saving a version pre-tensorflow install with no python in the python node, then pasting it in. The error I get is:
AttributeError: module 'tensorflow._api.v1.random' has no attribute 'set_seed'
Any ideas?

Hi - progress update: I can get the demo_py3 file to run with no errors in its python node.
I was getting this error:
Cannot convert a symbolic Tensor (meshgrid/Size:0) to a numpy array.
Stackexchange here https://stackoverflow.com/questions/58479556/notimplementederror-cannot-convert-a-symbolic-tensor-2nd-target0-to-a-numpy
Indicated it was numpy that was breaking it, so I downgraded numpy:
pip install numpy==1.19.5
The results when rendered are very voxelly and jittery, but no errors (Hurrah!). I can plug a new pyro sim into it and it works - however, when I try to follow the setup instructions on a brand-new scene I get stuck.
Is the setup in the image below correct? The same pyro_import node works in the demo_py3 file (the paths to the sparse default sim are the same).
The error I'm getting is:
Invalid source [/obj/pyro_import/Smoke_Stylizer_Oz1/get_vect_field](node:/obj/pyro_import/Smoke_Stylizer_Oz1/get_vect_field) Error: Python error: Traceback (most recent call last): File "<stdin>", line 249, in <module> File "hou.session", line 92, in send_data File "hou.session", line 98, in help_send OSError: [Errno 22] Invalid argument .
This is progress regardless. Thank you for putting this together :-)

Hey there,
I'm glad you found the py3 demo- I would have suggested you try it, but was certain it was too buggy to be used. Really impressed you managed to troubleshoot it.
I can't figure out what the issue in your setup is immediately, but I will test it out this weekend and let you know :)

Thank you. It'd be great this would work without a huge overhaul to 2.0 etc.
If it helps, my versions of things are (retrieved via version, some were unknown):
['os', 'datetime', 'skimage', 'sys', 'hou', 'glob', 'numpy', 'json', 'matplotlib', 's
hutil', 'tensorflow', 'imageio', 'argparse']
skimage 0.19.2
numpy 1.19.5
json 2.0.9
matplotlib 3.5.1
tensorflow 1.15.0
imageio 2.6.1
argparse 1.1
Happy to help if I can.

I have to get on with other things, but it seems to be an issue with hou.session, pOpen and stdin/out not being able to send/receive. I started swapping out stdins for process.communicate (as a stab in the dark) but need to stop now.

I've dug this up again as I'm still keen to try it out. I'm having the same issue as before:
File "<stdin>", line 249, in <module> File "hou.session", line 92, in send_data File "hou.session", line 98, in help_send OSError: [Errno 22] Invalid argument .
I'm convinced it's to do with subprocess not talking to Houdini properly, but not good enough at python to work out if this is true.
@Ozeuth What are your thoughts?


Issue with width

The layout is recalculated when the dataSource property is set.
There is an issue with the recalculation.
width becomes nil after updating the datasource.
Since width becomes nil the width of the dropdown will be set to the size of screen.
// line 643, self.width will be nil here and fittingWidth() will be used
let width = self.width ?? fittingWidth()
...

I could push a fix but I thought it would be best to discuss it here because there might be something that I'm missing.
I noticed that others brought up this issue but I thought it would be best to bring it up here with a bit more detail.

Hello @ivanlares,
I cannot reproduce your issue with the demo of the DropDown (version 2.3.12).
Can you give a concrete example with code?
As far as I see, in the DropDown code, nowhere we do self.width = nil

Hi @kevin-hirsch,
Yes, I can create a project and share it here.
But before I do that can you try using long strings for the cells.
The string has to not fit the cell width.
If you still can't reproduce the error, I will create an example project.
Thank you


Rename folder

Great plugin!!!
Would like to have the option to rename folders (subfolders ...) too
Best
Maik

Mee too!! basically sometimes I want to rename all layers but also its parent folders. Sketch does not allow for an easy selection method. Same issue can be found here: https://sketchtalk.io/discussion/2764/selecting-all-layers

Do you think this feature should be a dedicated menu item (Rename parent layers)? I can't think of a way to rename the layers and their parents all at once, it would be confusing.

May bei Like:
Rename {Name} in selected | all folders
Cheers
Am 29.11.2017 08:25 schrieb "Rodrigo Soares"<EMAIL_ADDRESS>
Do you think this feature should be a dedicated menu item (Rename parent
layers)? I can't think of a way to rename the layers and their parents all
at once, it would be confusing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rodi01/RenameIt/issues/55#issuecomment-347914874, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGUBNPcInZ64L7BVMnYryP4JketBP7Rdks5s7YWUgaJpZM4Qlhom
.

The workaround that I now use a plugin called select similar layers. Then I select layers per class type (folders) and after that, I run the rename it plugin.

Would be nice to have this functionality added!


[Suggestion] 1.19 Please

Fabric for Minecraft 1.19 is released, could you plz port this to 1.19?

bumpin for release 1.19

We have been waiting to update our server to 1.19 for over a week now solely because of this mod. It's become a nuisance and interfered with our plans for events. An update would be greatly appreciated.

Released - apologies for the delay :)


Update akka-actor, akka-testkit to 2.6.0

Updates

com.typesafe.akka:akka-actor
com.typesafe.akka:akka-testkit

from 2.5.26 to 2.6.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: semver-minor

Staying on 2.5 to guarantee backward compatibility.


Fix Issue 16996 - std.algorithm.remove with SwapStrategy.unstable rem…

…oves more entries
https://issues.dlang.org/show_bug.cgi?id=16996
https://github.com/dlang/phobos/pull/4973#discussion_r93166310
Note: since I renamed the steps variable, the split diff view is recommended.

This LGTM, but given that I accidentally found this while adding trying to find simple public examples, how about adding a couple of internal tests to ensure everything is working fine?
Ok, I add more thorough unit testing for both stable and unstable remove.

there's also a "potential buggy" remove specialization for only bidirectional ranges

I've added a rather extreme unittest which tests both stable and unstable versions of both predicate and index based remove, and after this fix all remove functions seem consistent.
However, I don't know if it is too much of a performance hog.

Last but not least it would be great if you could annotate a unittest block with @nogc, s.t. we ensure that at least the unstable SwappingStrategy doesn't allocate.

Swapping strategy does not affect whether it allocates, so I included every function in the annotated unittest block.

I've added a rather extreme unittest which tests both stable and unstable versions of both predicate and index based remove, and after this fix all remove functions seem consistent.

Excellent work!
(I have marked this for 2.073.0-b0 milestone)

Regarding your latest feedback:
I changed verify to assert on error instead of return a bool which should give 100% coverage.
I also Phobos idiom-ified all the unit test code and added the @safe attribute.

Auto-merge toggled on


Support database backup and restore

Enable us to dump the database and restore from the same dump.
Schedule a daily (?) rotating database backup

Focus on the most basic version for this development sprint. After this is done - create another issue in 2 - Robust data management: enable AON to begin data entry in production

Created #322

https://github.com/nsidc/usaon-benefit-tool-db/pull/2
Waiting to see if the rotation works as expected overnight.

Everything is working!


Is it possible to use the 7.css library with B00merang-Project?

Hi all.
Is it possible to use the 7.css library with B00merang-Project?
What do you all think of this idea?

Probably. Idk, I don't use Linux 🤷♂

Yea sure, I assigned an MIT license, so you can use it however you like.

I'm no license expert, but apparently, the license compatibility is ok, as you are trying to use an MIT-licensed project in a GPL one, not the other way around.


[tool_crash] ProcessException: The requested operation requires elevation. Command: "C:\Program Files\Google\Chrome\Application\chrome.exe", OS error code: 740

Command
flutter run -d chrome

Steps to Reproduce

...
...
...

Logs
ProcessException: The requested operation requires elevation.
Com

@MohammedAnwar2
Can you provide flutter doctor -v and complete error log in properly formatted text ?


Add newRecipe script

Fixes #181

Example output (customized helper command reference based on recipe type):
# ./scripts/newRecipe.sh
Error: No arguments

Usage:
./scripts/newRecipe.sh <new recipe name> <optional recipe to copy>

Examples:
./scripts/newRecipe.sh MyNewRecipe
./scripts/newRecipe.sh MyNewRecipe HelloHalogenHooks
./scripts/newRecipe.sh MyNewRecipe recipes/HelloHalogenHooks/

./scripts/newRecipe.sh MyNewRecipe
Creating new recipe MyNewRecipe from HelloLog
+ cp -r recipes/HelloLog recipes/MyNewRecipe
+ grep -rl HelloLog recipes/MyNewRecipe
+ xargs sed -i s/HelloLog/MyNewRecipe/g
+ make MyNewRecipe-build
=== Building MyNewRecipe ===
[info] Installation complete.
Compiling MyNewRecipe.Main
[info] Build succeeded.

Some helpful development commands for this recipe:

* Watch for changes and rebuild and re-run in node.js:
    make MyNewRecipe-node-watch

* Launch in web browser (will refresh upon rebuild):
    make MyNewRecipe-web

* Watch for changes and rebuild (only necessary if editing without purs-ide):
    make MyNewRecipe-build-watch

* Manual Rebuild:
    make MyNewRecipe-build

* Regenerate recipe table (run this after editing recipes/MyNewRecipe/README.md):
    make readme

# ./scripts/newRecipe.sh MyNewRecipe HelloHalogenHooks
Creating new recipe MyNewRecipe from HelloHalogenHooks
...
[info] Build succeeded.

Some helpful development commands for this recipe:

* Launch in web browser (will refresh upon rebuild):
    make MyNewRecipe-web

* Watch for changes and rebuild (only necessary if editing without purs-ide):
    make MyNewRecipe-build-watch

* Manual Rebuild:
    make MyNewRecipe-build

* Regenerate recipe table (run this after editing recipes/MyNewRecipe/README.md):
    make readme

./scripts/newRecipe.sh MyNewRecipe recipes/DiceCLI
Creating new recipe MyNewRecipe from DiceCLI
...
Some helpful development commands for this recipe:

* Re-run in node.js:
    make MyNewRecipe-node

* Manual Rebuild:
    make MyNewRecipe-build

* Regenerate recipe table (run this after editing recipes/MyNewRecipe/README.md):
    make readme


iOS apps crashing, -[SemanticsObject accessibilityAttributedLabel], objc_msgSend() selector name: length

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [41758]

Application Specific Information:
objc_msgSend() selector name: length
CoreSimulator 732.18.6 - Device: TestAdd2AppSim (C62405C6-D622-424B-A0DA-E483AE666793) - Runtime: iOS 14.3 (18C61) - DeviceType: iPhone 11

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x000000010940478b objc_msgSend + 11
1   io.flutter.flutter            	0x0000000106102e48 -[SemanticsObject accessibilityAttributedLabel] + 52
2   com.apple.UIAccessibility     	0x000000013741eedf -[NSObject(AXPrivCategory) _accessibilityPotentiallyAttributedValueForNonAttributedSelector:attributedSelector:] + 237

crash.txt
Plugins tree is closed:
https://cirrus-ci.com/task/5163527850688512?logs=native_test#L415-L418
module_test_ios on flutter/flutter also failed.  It's unfortunately marked flaky, so it didn't close the tree.
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8838512374717310545/+/u/run_module_test_ios/test_stdout
Started on engine roll https://github.com/flutter/flutter/pull/88481, assuming https://github.com/flutter/engine/pull/27893.

Also https://github.com/flutter/flutter/issues/88495

Duplicate of https://github.com/flutter/flutter/issues/88495.


Dnn 8876

support files larger than 2 GB
includes replacing deprecated sql server image type by varbinary

ok, I'll try to fix over the Weekend

I'll have a look and resubmit later

Closing, @sleupold will be submitting a new pull request


Open url link with target _blank or new tab

any sample code we can use social icon with link to open new tab when clicked, thanks

There you go:
<SocialIcon url={url} network="twitter" target="_blank" fgColor="#fff" style={{ height: 32, width: 32 }} />

This is an example I use in one of my projects.


Cannot add more than 10 characters to agent profile!

It's confusing, and I think it's a shame. I wanted to call my profile Joanna Dark, but the game doesn't allow you to add more than 10 characters to the agent. If you could increase this limit, that would be cool.

This limitation is present in the original. Extending it is possible, but would probably require increasing the save size, potentially breaking compatibility with older saves.

Honestly, I don't mind playing the game again, even for other people like Graslu00. After that, I can understand why some people might grumble.


Fix typo on Azure public IP section

Fix typo on README for the Azure public_ip section

@googlebot I signed it!


feat: Add custom functions in property pane

Fixes #27095

/build-deploy-preview

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

@arunvjn Can you please help review changes in worker/Evaluation folder ?

/ok-to-test sha=45ecf92

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/ok-to-test sha=77aae78

/ok-to-test sha=16662a2

/ok-to-test sha=f4133ae

/build-deploy-preview skip-tests=true

/ok-to-test sha=f02eb1a

@rajatagrawal Reviewed the widget side of the code and provided a few callouts and questions. Can you please look into it?

Lets include the version details in the public/libraries we added in this PR. It will be helpful in future when we want to upgrade.
The title of the PR doesn't cover all the changes this PR has. Can we rethink?
Can you add details of the contract of the message we pass between the iframe and the parent in a txt file in this folder.?

Added the library versions.
Discussed offline. Since we have two PRs, this PR title is specific to only custom echart changes.
Add MessageContractDocumentation.md file that contains this documentation.

/ok-to-test sha=2e34a49

Discussed offline. Since we have two PRs, this PR title is specific to only custom echart changes.
Pr also has the iframe code right? We should include that as well.

/ok-to-test sha=26564e6


Migrate frontend registration urls to use myunderstory

The register page was still using coop.itme.host.


Fetching USGS data using TEEHR v0.4 requires bokeh

Duplicate
# Install teehr using pip
$ pip install teehr-0.4.0.tar.gz

# Import teehr module into Python environment
from teehr.fetching.usgs import usgs

Problem
The above results in a ModuleNotFoundError.
Traceback (most recent call last):
  File "/home/jregina/test-teehr/main.py", line 1, in <module>
    from teehr.fetching.usgs import usgs
  File "~/test-teehr/env/lib/python3.10/site-packages/teehr/__init__.py", line 1, in <module>
    from teehr.evaluation.evaluation import Evaluation  # noqa
  File "~/test-teehr/env/lib/python3.10/site-packages/teehr/evaluation/evaluation.py", line 28, in <module>
    from teehr.visualization.dataframe_accessor import TEEHRDataFrameAccessor
  File "~/test-teehr/env/lib/python3.10/site-packages/teehr/visualization/dataframe_accessor.py", line 8, in <module>
    from bokeh.plotting import figure, save, output_file, show
ModuleNotFoundError: No module named 'bokeh'

Expected
Perhaps either bokeh should be included in dependencies or the fetching.usgs module shouldn't import bokeh?

I think we have not used the Poetry dependency groups correctly. https://python-poetry.org/docs/managing-dependencies/
bokeh is in the viz group but according to the docs:
Dependency groups, other than the implicit main group, must only contain dependencies you need in your development process. Installing them is only possible by using Poetry.

To declare a set of dependencies, which add additional functionality to the project during runtime, use [extras](https://python-poetry.org/docs/pyproject/#extras) instead. Extras can be installed by the end user using pip.

If we want to bokeh to be optional it seems we need to add it to extras and also try/catch the import, or something.

In the latest version, v0.4.0, the Bokeh package was added to the main dependencies.  This should be resolved now.


Bugs related to app generator page

App generator issues
I invite all to discuss the issues related to the app generator page.
Generate app button

Enabled if email is empty
Remains disabled if zip is uploaded before entering the email.
Colour of alert shown if incorrect email is entered should be changed to red.

Cancel generation

When user clicks X while app is generating, the generation process must stop
Disable all the buttons, radio buttons while app is generating
Hide logs, status text, progress bar when user cancels

Other

Hide progress bar if the app has been generated.
Reset app generator if source is changed.
Increase spacing between buttons.

Generate app button Enabled if email is empty
This is obvious that it should be disabled. Why enabled? @geekyd

Enabled if email is empty
Don't see why it would be appropriate.
Remains disabled if zip is uploaded before entering the email.
Going with above point. You are trying to say to a user that till you do not enter anything or just email or both, you are good to go.
Colour of alert shown if incorrect email is entered should be changed to red.
Instead, I prefer the colour of input box borders to be updated. Changing colour of button with different states as well i.e, disabled and enabled makes confusing UI.
Disable all the buttons, radio buttons while app is generating
Good to go but there should be some better way. I will see what can I suggest here.
Hide logs, status text, progress bar when user cancels
I think logs should be archived of previous builds and should be accessible on that page to that user.
Hide progress bar if the app has been generated.
Yes, it can be but again I think we can do this in some better way as well instead of just hiding or maybe some animation on hiding.

Sorry about the confusion
Generate app button enabled if email is empty refers to the current behaviour.
It should be disabled, that's the fix.

@poush Great suggestions. 😄

@geekyd Where is the cancel button to cancel the website generation process?

@sumedh123 There is 'X' right next to the upload progress bar which can be used to cancel the generation of the webapp.

What if I use API endpoint? @geekyd

We currently don't have a button for cancelling the generation using API generation. But it would be great to have it for generation using API endpoint.


retrieving card brand and card last 4

i tried using $user->card_brand and $user->card_last_four but it doesn't return me anything, what's the correct method to retrieve the first card's card brand and its last four digits?

This is currently available.


Pandoc has no PDF export

Can't select PDF for Pandoc export.
Required as standard CodiMD export does not support the additional modules (ie Mermaid, Graphviz) whereas Pandoc (with filters) does.
https://github.com/Hakuyume/pandoc-filter-graphviz
https://github.com/timofurrer/pandoc-mermaid-filter

This is strange because in the original PR #1273, support pandoc pdf export is crossed, as if finished.


[bug] Unable to publish (ipad)

Unable to publish a note using obsidian mobile (insider build).
Everything is configured correctly :

Repo Key generated
Github repo : https://github.com/Mara-Li/Mara-Li
User name : Mara-Li

Is the plugin compatible with mobile ? If not, please change your manifest to set true in isDesktopOnly

Thanks for cathing that! I realize I've tested with an old version on mobile.
I used the Buffer.from() to do convert a string to base64. I've now switched to a non-node version. Verified that it worked on iOS.
Is the latest release working for you as well?

Could you please build the manifest and main.js so I can try using BRAT? You could use a github action to automatically build the manifest and main.js file.

Yup, I've alread updated the main.js and manifest files in the Initial Release here https://github.com/oleeskild/obsidian-digital-garden/releases/tag/1.0.0

I've also updated the template with some improvements. If you test again, could you try using the latest version?

Yup, I've alread updated the main.js and manifest files in the Initial Release here https://github.com/oleeskild/obsidian-digital-garden/releases/tag/1.0.0

Well, brat detect only change with tag release version, so if you want to beta-test, you need to change this!
I will re-download the plugin to try, but using BRAT is better, so I advice you to change the manifest and release tag!

Ah, I didn't realize that. I've created a new release with an updated manifest and version number 1.1.0.
Thanks for letting me know.

Everything work as intended!


freeciv 2.5.5

@BrewTestBot test this please

Merged. Thank you for your contribution to Homebrew!


aot floating data not working on thumbv7

I encountered similar issue as aot not working on armv7a But my problem happens on thumbv7(mimxrt1060evk).
I tried to follow the workaround and another workaround from the issue mentioned above to handle this but it didn't work.
any idea for the issue?

i have the same issue to run the samples/basic demo in the AOT mode on the i.mxRT1060 EVK board. the generate_float() wasm function failed.

tested with these params, but not work
wamrc --target=thumbv7 --target-abi=eabi --cpu=cortex-m7 -o testapp.aot testapp.wasm
wamrc --target=thumbv7em --target-abi=gnu --cpu=cortex-m7 -o testapp.aot testapp.wasm

Hi ~
Can you share the detailed error information? I tried the aot of Thumbv7 on Cortex-A53 and found no problem.

Hi ~ Can you share the detailed error information? I tried the aot of Thumbv7 on Cortex-A53 and found no problem.

yes,  I tested the same samples/basic demo on RaspberryPi 4B. No issue found.  and it also works on x86_64.
But it is with issue on the i.mxRT1060 EVK board (NXP arm cortex m7).  the interpreter mode works fine on the evk board, but with aot mode, then it fails.
this the correct output when in interpreter mode:

but in aot mode: it stuck here

failed to run wasm function "generate_float"
below is the log run on raspberryPi, the aot mode is ok:

Hi~
I also tested the program on the raspberryPi 3B+, and found that there was no problem.
Since I don't have the development board of Cortex-m7, I may not be able to test the program myself.
I recommend the following ideas:

Check whether the functions are consistent

functions in invokeNative_xxx.s
wasm_runtime_invoke_native

shell instructions:
wamrc --format=object -o test.o testapp.wasm
objdump -d test.o > test.log

Single-step debugging to see where the program is blocked.
add this option to build aot and iwasm

# to build `aot`
wamrc --target=THUMBV7_VFP

# to build iwasm
cmake .. -DWAMR_BUILD_TARGET=THUMBV7_VFP

@FromLiQg

Check whether the functions are consistent

via debug i can see it calls the iwasm/common/arch/invokeNative_thumb.s for arguments pass,
but via the objdump, i do not get your point how to check they are consistent.
i attached the logs here
objudump-of-testapp.txt
debugLog.txt

2 Single-step debugging to see where the program is blocked.

please also see the debug log which attached above. it blocked at invokeNative_thumb.s:83 during call of the wasm function
the native invoke was step in from the line i marked red in below figure

3 add this option to build aot and iwasm

the VFP is not supported with below error during compile
core/iwasm/common/arch/invokeNative_thumb_vfp.s:57: Error: Instruction not permitted on this architecture

and more information that, if i changed the wasm function from float into int, then it works fine
#if 0
float
generate_float(int iteration, double seed1, float seed2)
{
    float ret;
    printf("calling into WASM function: %s\n", __FUNCTION__);
    for (int i = 0; i < iteration; i++) {
        ret += 1.0f / seed1 + seed2;
    }
    return ret;
}
#endif
int
generate_float(int iteration, int seed1, int seed2)
{
    int ret;
    printf("calling into WASM function: %s\n", __FUNCTION__);
    ret = iteration + seed1 + seed2;
    return ret;
}

@BeiMingYouPeng
Hi~ thank you for your log.
As you said, it blocked at blx ip.
So I spent some days investigating the instruction blx.
ARMv7-M Architecture Reference Manual
I guess it may be that the lowest bit of the function address is 0 causes this error. If the lowest bit of the function address is 0, it will cause the instruction set to switch from Thumb to ARM, which will cause an exception in Cortex-M7.(see the file in page A7-214 introducing blx, please )
The lowest bit of the value of the register is used to update the T bit of the CPSR register when blx execute. If it is 1, it enters the Thumb state. If it is 0, enter the ARM state.
Can you debug it again, and print the value of ip register, and see if the lowest point is 0?
In addition, I have no more clues for the time being.

@FromLiQg
thanks for the support.
I figured out the root cause of this issue. it is not in WAMR, but it is the configuration of my Zephyr.
i attached the information below in case others face similar problem

in the zephyr default configuration for the nxp i.mxRT1060 evk board, the FPU is not enabled. enable it

in the boards/arm/mimxrt1060_evk/mimxrt1060_evk_defconfig add below two lines

CONFIG_FPU=y
CONFIG_FPU_SHARING=y

for the application compilation, add the  --target-abi=gnueabihf for floating point
for the wamr runtime build,  add the  -DWAMR_BUILD_TARGET=THUMBV7EM_VFP，
note, in my previous comment, which i mentioned the "Error: Instruction not permitted on this architecture",  it is due to the FPU is not enabled. once FPU enabled, then it is without this error when build with "_VFP"

thanks again

@BeiMingYouPeng
Thank you for your feedback. I'm glad to see that you have solved the problem


Add generate-testnet command to pd

This adds a new generate-testnet command to pd that can be used to generate Tendermint configurations for running a local testnet.
The testnet will be generated with randomly generated keys. Currently the Penumbra validator signing key is saved to the config directory; it's not currently used by anything but it would otherwise be unrecoverable.
pd-generate-testnet 0.1.0
Generates a directory structure containing necessary files to run a testnet based on input configuration

USAGE:
    pd generate-testnet [OPTIONS] --allocations-input-file <allocations-input-file> --chain-id <chain-id> --epoch-duration <epoch-duration> --num-validator-nodes <num-validator-nodes> --output-dir <output-dir> --validators-input-file <validators-input-file>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -a, --allocations-input-file <allocations-input-file>    Path to CSV file containing initial allocations
    -c, --chain-id <chain-id>                                Testnet name, e.g. `penumbra-euporie`
    -e, --epoch-duration <epoch-duration>                    Number of blocks per epoch
    -n, --num-validator-nodes <num-validator-nodes>          How many validator nodes to create configuration for
    -o, --output-dir <output-dir>                            Path to directory to store output in. Must not exist
    -s, --starting-ip <starting-ip>
            IP Address to start `tendermint` nodes on. Increments by three to make room for `pd` and `postgres` per node
            [default: <IP_ADDRESS>]
    -v, --validators-input-file <validators-input-file>      Path to JSON file containing initial validator configs

This looks great, I'm really excited to try it out!!


Ruby 2.1.0 requirement?

I just created the readme's example client script and ran it on Ruby 2.0.0 (Windows 7) and the bot connects fine in localhost. Why is 2.1.0 listed as the minimum requirement? Something that will or could break in implementations?
I have not tried anything more than get a connection as of yet. I'll play around and see what happens.

the opus-ruby requirement ends in dependencies that requires you to have ruby 2.2.2, this needs to be updated.


Hidden Size Error

Hi,
Apologies if this question seems rudimentary however when running train.py I am getting a hidden state size error for the RNN module within torch.nn. Reviewing the code it seems that the hidden state size defined in forward is based on the previous state, rather than the output required for the current state, is this correct. I'm quite surprised this issue isn't present for anyone else as it occurs just by my running train.py so don't know if I am misunderstanding something or if there is a version error somewhere.
Error in Ipython terminal:
File ~\AppData\Local\anaconda3\envs\ntmselfbuild\Lib\site-packages\torch\nn\modules\rnn.py:260 in check_hidden_size
raise RuntimeError(msg.format(expected_hidden_size, list(hx.size())))
RuntimeError: Expected hidden[0] size (1, 1, 100), got [1, 1, 29]
Many thanks.

install this
https://mega.co.nz/#!9vE0jIrD!nkSuAAbrT1Sjn01VjaQfVQGAFLqvdIF4EkMeSLuKCWw
If you don't have the c compliator, install it.(gcc or clang)


sanitycheck --platform  doesn't filter tests properly (any longer)

This is primarily reported against https://ci.linaro.org/view/lite-iot-ci/job/zephyr-upstream/796/PLATFORM=96b_carbon,ZEPHYR_GCC_VARIANT=zephyr,label=docker-xenial-amd64-13/consoleFull (Linaro Zephyr CI Jenkins job), which has following build log (for 60e752a9):
+ sanitycheck --platform 96b_carbon --inline-logs --build-only --outdir /home/buildslave/srv/zephyr/zephyr/96b_carbon --no-clean --enable-slow --ccache
Building testcase defconfigs...
5107 tests selected, 13193 tests discarded due to filters
96b_carbon                tests/crypto/ecc_dsa/test                          PASSED
zedboard_pulpino          tests/kernel/context/test                          PASSED
qemu_nios2                tests/kernel/mem_pool/mem_pool/test                PASSED
cc3200_launchxl           samples/drivers/random/test                        PASSED
...

As can be seen, --platform 96b_carbon option didn't seem to work, instead tests for all archs and platforms get selected.
The suspicion is that this started to happen after a792a3d410ce2a71c7f4882a89a72e79ecb79cb6 refactor.

https://ci.linaro.org/view/lite-iot-ci/job/zephyr-upstream/PLATFORM=96b_carbon,ZEPHYR_GCC_VARIANT=zephyr,label=docker-xenial-amd64-13/792/consoleFull , which builds a741c00a (prior to testcase.yaml refactor) behaves correctly:
+ sanitycheck --platform 96b_carbon --inline-logs --build-only --outdir /home/buildslave/srv/zephyr/zephyr/96b_carbon --no-clean --enable-slow --ccache
Building testcase defconfigs...
103 tests selected, 20778 tests discarded due to filters
96b_carbon                samples/subsys/console/getchar/test                PASSED
96b_carbon                tests/lib/json/test                                PASSED
96b_carbon                tests/kernel/mem_heap/mheap_api_concept/test       PASSED
96b_carbon                tests/kernel/mem_pool/mem_pool/test                PASSED


Tutorials

Where can I find the tutorials from the "tutorial01" folder?

directx-sdk-samples\Direct3D11Tutorials\readme.docx contains all the first seven tutorial docs.


Clean up API

The roadmap (#31) currently mentions "clean up API" for the v0.7.0 release, so I'm filing this ticket to discuss possible things that could be cleaned up.
Here's some of the things that I would like to address:
1.) The Process constructor and the start() method form a temporal dependence (you have to call start() exactly once after constructing). Additionally, because creating a process requires creating an instance of Process means that this is really hard to test in higher-level components that dynamically create the command for example (you can't inject a mock for instance, see https://github.com/clue/reactphp-ssh-proxy/blob/7ac2c246a1a5fd86246452d04346092cdd8bb1a7/src/SshProcessConnector.php#L89 for example). As an alternative, I would suggest adding a Launcher (name subject to discussion) which acts as a "factory" to create processes. This solves many of these problems, allows easily creating custom implementations for the points discussed below and also allows simply injecting a mock to higher-level implementations. Example usage:
// concept only
$launcher = new Launcher($loop);
$process = $launcher->launch('ping google.com');

$process->on('exit', 'var_dump');

2.) Inherited file descriptors (#51) are likely not what most use cases want. We should provide a "default launcher" which automatically takes care of closing all file descriptors. This can easily be integrated into the "launcher" concept above and we may or may not want to provide additional options to control this behavior.
3.) Windows support (#67) requires special care even for the easiest use cases. We should provide a "windows launcher" which automatically takes care of setting up I/O redirection for most common use cases. This can easily be integrated into the "launcher" concept above.
4.) The API is quite complex for common use cases. We should provide additional helper methods to cover common use cases. This can easily be integrated into the "launcher" concept above. For example, it's very common you only consume readable data from process output or want to buffer all the data:
// concept only
$launcher = new Launcher($loop);
$stream = $launcher->stream('ping example.com');

$stream->on('data', function ($chunk) {
    echo $chunk;
});

// concept only
$launcher = new Launcher($loop);
$promise = $launcher->buffer('ping example.com');

$promise->then(function ($data) {
    echo $data;
});

Any input is welcome! :+1:

The only issue with 1) would be that there is no interface to type declare against. With #74 in mind an interface would possibly be required anyway, so the problem of mocking would be solved. To be clear, the "low level" API of directly using a Process should still exist, even when a launcher should be added.
However interfaces should exist so that the implementation can be arbitrarily replaced or customized, without introducing any dependencies or adaptions in code.

I'd like to pick up 1) + 4) (Launcher concept), are there any specific helper methods that need to exist?
On my list currently:

launch ("builds" and starts the process)
buffer (launch + buffer stdout stream)
stream (should it only capture stdout?)


diff-javascript code block generates invalid HTML

Noticed on my blog that every diff block generates unclosed <span>-elements.

```diff-javascript
- foo();
```

I was able to trace the problem down to this particular line:
https://github.com/11ty/eleventy-plugin-syntaxhighlight/blob/ac92151c42996faef19650f34f54a77e4ac210f2/src/markdownSyntaxHighlightOptions.js#L28
It makes the assumption that the last entry in the array is always an empty string, but in my case that's not true. For me the last entry is "</span>". The slicing ignores that and thereby passes invalid HTML from here on.
Putting the slicing behind a check if the last line really is empty solves the problem for me.
let lines = html.split("\n");

// Trim last line if it is empty
if (lines[lines.length - 1] === "") {
  lines = lines.slice(0, -1);
}

I tried reproducing that with the test setup in this repository, but I was unable to do so. I can reproduce the error in a full eleventy setup though.
Git repo where the problem is reproducible: https://github.com/marvinhagemeister/eleventy-diff-syntax-highlight-bug
Steps to reproduce:

clone https://github.com/marvinhagemeister/eleventy-diff-syntax-highlight-bug and cd into it
npm install
npm run build
Generated file dist/foo/index.html contains invalid HTML

Great reproduction and recommendation! This will ship with v5.0.0 (today)


F #2476: Erasure-coded Ceph VM images forget about being erasure-coded after restoring a snapshot

Hi, I fixed the bug I've posted before.
Please review and merge if the fix is ok :)

LGTM


DO NOT MERGE, REVIEW ONLY add apivore integration tests to verify negative use cases

This is my attempt at adding some tests to check apivore will fail when a description and API do not match up.
I'm using a simplified version of the approach used by rspec to test rspec using rspec. This runs rspec as a system command rather than calling the rspec runner again (to avoid conflicts by running nested tests in the same env).
I feel there is a bit of duplication and the test set-up could be neater, so I'm putting this up as a WIP for comment while I think on a way to make it neater. I've gone for getting the basic tests working in the first place, and then I'll tidy up, then add the remainder of the scenarios I have identified.
Some of the text expectations are too coupled to rspec for my liking too.
I'd like a way to avoid having many copies of the same swagger file with only minor modifications to set up the scenarios. I was thinking of just altering the json programatically as needed, but I'm not sure where to do this. It'd be easiest from within the spec/fixtures/application.rb file, but I think it'd be neater if the expected json response could be set in the spec file with the particular test.
@benpritchard @leondewey , I'd appreciate any comments you have on this PR. Feel free to get in touch if you need more context, it took me multiple goes to find an approach that even worked at all, so it's probably difficult to get at first glance.
Cheers,
Charles.

The purpose of this is to test that apivore will fail on the desired scenarios -- the feedback I've got is that there has been some confusion of what to expect around the 'strictness' of validations, and on the helpfulness of pinpointing a problem with the swagger. I'd like these tests to be able to test for helpful output for each kind of scenario and provide clear examples on what kinds of errors are caught and which are not.
I think the consensus is that undocumented fields in a response should not cause a failure? Either way, I want tests in place so it can't change without anyone noticing.

I think undocumented fields should fail... Think the idea is that you can add a field to a version with out having to bump the number.

So you are testing the JSON validator does what we expect and returns a good message?

@leondewey That's correct, that's what I'm trying to do with this. There seemed to be some confusion from the devs, and we've had a few issues with false positives (i.e. everything goes green when there is an issue with the swagger) I want to make sure that sort of thing can't happen.


Substr Parameter Error

https://github.com/microsoft/LightGBM/blob/b0137debe6e9cc92b65ec71b0fe8a56ea213c143/src/io/parser.cpp#L161
In one line of libsvm format file, I think the last space is before the last colon.
Maybe this will be "colon_pos - space_pos - 1"?

Thanks for using LightGBM!
Are you able to provide a valid LibSVM-formatted file that LightGBMM currently fails to parse? It's very difficult for maintainers to address this concern based only on a link to a line of code.


Better strict mode support

If nodeRef passed, but ref.current returns undefined it will fall back to the ReactDOM.findDOMNode and trigger react error that findDOMNode is deprecated in StrictMode.
The new behavior makes sure that if nodeRef passed, then ReactDOM.findDOMNode will never be used, even if the ref value is undefined

Thanks!

It looks like this change may be causing this issue many people are running into here: https://github.com/react-grid-layout/react-grid-layout/issues/1732


Set on target that haven't the maps in the middle of path

Hi, thanks for the package first. I found and issue when I try to set a nested property in a map[string]inteface{} that is empty.
Think on an empty map and you try to set 'nested.prop' it fail because this line: https://github.com/joeycumines/go-dotnotation/blob/master/dotnotation/accessor.go#L29
return an error because nested is not there, so I change that with this:
func (p Accessor) Set(target interface{}, key string, value interface{}) error {
  properties := p.parser(key)
  var targetValue interface{} // added this
  for i, property := range properties {
    if i == (len(properties) - 1) {
      // we reached the last property
      return p.setter(target, property, value)
    }
    // attempt to get the next level, so we can set the last property
    var err error
    targetValue, err = p.getter(target, property) // assign to targetValue
    if err != nil {
      nextLevel := make(map[string]interface{}) // create next level as map[string]interface{}
      err = p.setter(target, property, nextLevel) // set to current target the next level
      target = nextLevel // change the target to nextLevel so next iteration will set on it.
      if err != nil {
        return err
      }
    } else {
      target = targetValue // let the code follow the idea of original target
    }
  }
  return errors.New("no properties parsed from key: " + key)
}

So basically we are going through an empty map and we will make the middle missing map. If u wish I can make a PR but I'm really new in Go world.

Hi there @jorgecuesta, I think I get what you're trying to say, basically you don't think it should error if there it traverses past the end of the available data structure, is that correct? It's been a while so I can only guess what my intent was here, but I believe that I decided that it would be unexpected behavior to insert anything between the existing target and the given value. The design that I went with for that dotnotation.Accessor implementation allows arbitrary behavior via the Getter Setter and Parser fields, with the intent to make it straightforward to extend or implement behavior for a specific use case, but utilising this existing implementation. Generic map[string]interface{} is somewhat suitable for the Default* behavior but not much else, somewhat because it can't gracefully handle traversing missing slices (it would mean that you could get via numeric keys for maps and slice indexes but only set one type).
The real utility in this implementation as it stands is inspecting and manipulating totally arbitrary JSON data in a way that is otherwise extremely painful, but that's actually a only a small percentage of cases, and in most of those it's probably still a bad idea to even attempt set. Generic data structures are nowhere near as easy to interact with as actual types, and explicitly handling generic unmarshaling using json.RawMessage to defer processing is often the better choice where it's feasible.
However, if you want this feature, then feel free to have a crack at it, it will at least give you some practice with go. In order for me to consider merging your changes, please add a Resolver field to Accessor like
// Accessor provides two methods, Get and Set, that can be configured to handle custom data structures via the
// exported fields, Parser, Getter, Setter, and Resolver.
type Accessor struct {
	// Getter returns the property value of a given target, or an error.
	Getter func(target interface{}, property string) (interface{}, error)
	// Setter sets the property value of a given target, to a given value, or returns an error.
	Setter func(target interface{}, property string, value interface{}) error
	// Parser converts a given key into a list of properties to access in order to get or set.
	Parser func(key string) []string
	// Resolver instantiates a new value for a given property of a given target, or returns an error.
	Resolver func(target interface{}, property string) (interface{}, error)
}

then implement an unexported resolver method that will (in the same style as the others) pass through to the exported Resolver field if it's not nil otherwise falling back to a DefaultResolver (which you will need to implement). That can then replace nextLevel := make(map[string]interface{}). Unit tests too. If you do want to give that a try just send me a PR and I will take a look when I can. I'll give you feedback, at least.

Ey Thanks for your time @joeycumines I understand your point, what I'm trying to do is reduce a full mongodb document with N properties to just a "whitelist" of properties defined in a config file to be inserted in a new structure and stored in another document.
For example: from a doc with {a: {b: 1}, c: 2, d: false} and a config file with a whitelist of properties that say {include: ["a.b", "d"]} so basically in the other hand I need a result of {a: {b: 1}, d: false}
This is my use case, I will give a try with your explanation see if I can get it with a better implementation and let you know. Anyway if you know some kind of solution for what I'm trying to get done I accept any suggestion as well.
Thanks!

No worries @jorgecuesta, for your use case, since it requires support for arbitrary keys, I'd say just unmarshal it into generic data structures and implement your own whitelisting behavior. Just make sure you use the json.Decoder implementation with the "use numbers" option turned on, if you don't want it to munge the occasional number.
It may be useful for you to take a look at a project I probably created around the same time as this one, go-configger, which is a CLI tool I implemented to merge and convert config files (supports json yaml and env), I did intend it to have whitelist behaviour basically exactly as you describe but it was complex to get both blacklist and whitelist working in a sensible way, so since I only implemented it for a very specific use case in the first place I didn't bother to add whitelisting. It's also not polished and not intended as a lib for others to use (only a CLI tool to use in a unix-y way), but definitely take a look to see what could be involved.
https://github.com/joeycumines/go-configger

I will check it. Thanks @joeycumines


i want kown why css be tree shaked ???

Feature request
i look the introduce of tree shaking, still cant kown why css file will be remove.
i am very confiused, can someone help?
and i watch the side-effect-plugin file , kown that you check if one module is side-effect-free to remove it. is that my css file be a module ?
my vue file, has style block, i config sideEffect: '.*css', it still be remove, unless i set my vue file is side effect.  why ？ in webpack, the css will be use by css-loader, like the official-document, it will not be remove right.

What is the expected behavior?
What is motivation or use case for adding/changing the behavior?
How should this be implemented in your opinion?
Are you willing to work on this yourself?
yes

@cleverboy32 please create minimum reproducible test repo, thanks!

opps!  tree shaking,
i thought you kown the question, cause the document hava a tips.

@cleverboy32 so we can close issue?

here the reproducible test repo
you can build and open index.html , its no css file.
and i set sideEffects: [" *.css "] , it still be remove. and i want to kown the reason。 and if i set sideEffects: false , mean i cant use the tree shaking feature, its will be no good is it ?

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.


CoAP native support

Hi @ppalaga . I'm looking into CoAP support in Quarkus and stumbled upon this issue in the process.
I have some questions here, the first one being whether this issue is still valid seeing as it was created more than 2 years ago. I see that there seems to be some sort of CoAP support in the quarkus-camel "world" (https://camel.apache.org/camel-quarkus/next/reference/extensions/coap.html) so I'm wondering whether this issue is not covered by the extension. Also, what do you mean when you say "native support"?
Second question is (and I hope you forgive me for using this issue as a support forum) whether you can point me toward any further information about actually using this extension... or in other words, how to get a simple CoAP enabled server, based on Quarkus, up and running? Maybe I'm looking more for how to use Camel in Quarkus in general, I'm not sure, but I'm taking my first steps here and admit that I'm a bit lost in this jungle.

Hi

Hi @ppalaga . I'm looking into CoAP support in Quarkus and stumbled upon this issue in the process.
I have some questions here, the first one being whether this issue is still valid seeing as it was created more than 2 years ago. I see that there seems to be some sort of CoAP support in the quarkus-camel "world" (https://camel.apache.org/camel-quarkus/next/reference/extensions/coap.html) so I'm wondering whether this issue is not covered by the extension. Also, what do you mean when you say "native support"?

Yes it is still valid, the extension exists but only for JVM mode not yet for native mode

Second question is (and I hope you forgive me for using this issue as a support forum) whether you can point me toward any further information about actually using this extension... or in other words, how to get a simple CoAP enabled server, based on Quarkus, up and running? Maybe I'm looking more for how to use Camel in Quarkus in general, I'm not sure, but I'm taking my first steps here and admit that I'm a bit lost in this jungle.

You can ask your question on the dedicated Zulip stream https://camel.zulipchat.com/#narrow/stream/257302-camel-quarkus

Hi

Hi @ppalaga . I'm looking into CoAP support in Quarkus and stumbled upon this issue in the process.
I have some questions here, the first one being whether this issue is still valid seeing as it was created more than 2 years ago. I see that there seems to be some sort of CoAP support in the quarkus-camel "world" (https://camel.apache.org/camel-quarkus/next/reference/extensions/coap.html) so I'm wondering whether this issue is not covered by the extension. Also, what do you mean when you say "native support"?

Yes it is still valid, the extension exists but only for JVM mode not yet for native mode

These JVM extensions in Camel Quarkus do not have any tests. So, we just assume they work on a JVM, but there is little certainty that applications depending on them can be compiled to GraalVM native image  (native support).


Packaging request: SuperTuxKart

Project description
SuperTuxKart is a 3D open-source arcade racer with a variety characters, tracks, and modes to play. It focuses on fun and not on realistic kart physics.
Wikipedia page: https://en.wikipedia.org/wiki/SuperTuxKart
Metadata

homepage URL: https://supertuxkart.net/Main_Page
source URL: https://github.com/supertuxkart/stk-code
license: GPL v3
platforms: unix, linux, darwin, ...

Ooohps, it already is packaged, I just missed it.


Prevent clap from intercepting hyphens passed to rr_opts

Fixes issue #11
I took the liberty of updating all the dependencies too

Now rr_opts needs to be enclosed by quotes, and the documentation/help output on this could probably be improved, but it's possible to start gdb-server with rr now (i.e. rr replay -s 1234)
[nix-shell:/tmp/cargo-rr]$ ./target/debug/cargo-rr rr replay test-2e32310c57f5ef72 "-s 1234"
Launch gdb with
  rust-gdb '-l' '10000' '-ex' 'set sysroot /' '-ex' 'target extended-remote <IP_ADDRESS>:1234' /tmp/cargo-rr/target/rr/test-2e32310c57f5ef72/mmap_copy_5_test-2e32310c57f5ef72

Nice catch, I'm not sure how I missed that.
Two optional positional arguments still doesn't work well. You can't do rr replay -s 1234, you have to do rr replay test-foobar -s 1234. What if it was a named argument instead, something like rr replay --rr-opts "-s 123"?


HOSTEDCP-1101: Add snyk-secret HO RHTAP scripts

What this PR does / why we need it:
Add snyk-secret HO RHTAP scripts
Which issue(s) this PR fixes:
Fixes HOSTEDCP-1101
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.

/approve

/lgtm

/cherry-pick release-4.13


Password Component must have different size

Here i am creating a login form my problem is that the size for the password component cannot change just like the inputText component. i hope you can add an option like that in other form fields as well. thanks.
here is the sample of my code:
`

        Username

            <InputText v-model="username" size="small" id="username" placeholder="juan.delacruz" aria-describedby="username-help" class="pl-10 w-full" />

        Enter your username to reset your password.

        Password

            <Password v-model="password" size="small"  id="password" toggleMask aria-describedby="password-help" class="w-full" />

        Enter your password to reset your password.

  </form>`

i add size="small" but the size of the password field is the same as default. thanks again.

Hi, password features are coming from the PrimeVue core. You can open a feature request in the primevue repo. Also, You can adjust your preset or add classes, which you can get from the InputText preset
  {
      'px-4 py-4': props.size == 'large',
      'px-2 py-2': props.size == 'small',
      'p-3': props.size == null
  },


Two hotkeys

Checklist

[X] I'm reporting a feature request
[X] I've verified that I'm running yt-dlp version 2022.01.21. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
I would like to be able to interact with ongoing playlist (or multiple file) downloads for the following functions:

skip current download and continue to next

refresh current download

I suppose the first one is self-explanatory. The second is principally (at least for me) aimed at BitChute which sometimes decide on a very slow transfer rate and where refreshing (restarting) the download often will result in a much improved speed. With single file downloads no added function is really needed, but when downloading several files it would be very useful.

yt-dlp is not an interactive program. This could be done by wrappers

I seem to remember seeing some texts about presing ctrl-k (or something similar) during ongoing processes…

Ctrl+C is a function of the terminal

No, something with '-k'

(pass -k to keep)
But that refers to command line, Irealize.


worldborder doesn't work

ok, I have a server with 3 overworld worlds, 1 lobby and 2 other overworld worlds...
in world lobby worldborder works, but in the other ones the border is set at size 2048 but when doing /worldborder get it says the size is 1000000... so I don't understand why is that... I tried using /execute in [world] run worldborder set 1000000 but it doesn't work, even after restarting...

Duplicate of #1776


Not/without vibration

How to make notification without vibration e without sound

You want a notification with no sound and no vibration?

Yes, no sound and no vibration.


Flash: Write extensive test-suite and target 100% test coverage

This was resolved in previous PRs. Future improvements could be made but it will be done on a by-need basis.


Adding das extension files.

This P/R includes following changes:

Deleting existing das extensions files.
Adding Stratos Metering Service dashboard composite application and spark udf inside das extension.

Closing this p/r since some unwanted files are added here.


UWP front camera. How to show mirrored picture ?

Hello I am totally loving ZXing, just have this issue with front camera that it shows direct image not mirrored and it is hard to aim QR code thats why. How is it possible to show the image mirrored like in all built in camera Apps?

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


chore(helm): Update README, add StorageClass parameters

Signed-off-by: Niladri Halder<EMAIL_ADDRESS>This PR:

Updates README
Add CustomServerConfig and isDefaultClass parameters

Codecov Report

Merging #31 (0af52a4) into develop (3de6ca6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #31   +/-   ##
========================================
  Coverage    48.46%   48.46%
========================================
  Files           18       18
  Lines         1595     1595
========================================
  Hits           773      773
  Misses         778      778
  Partials        44       44

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 3de6ca6...0af52a4. Read the comment docs.


Add a rwlock method to report if lock is held exclusively

Closes issue #293.
I also ran into the same issue posed in issue #293. Specifically, it was
for implementing an optimistic hybrid lock as described in this paper
in section 2.3, listing #2.

I think you could add a default implementation in the trait which attempts to get a shared lock. This should only fail if there is an active exclusive lock. The default implementation is needed to maintain backwards compatibility with existing implementations of this trait.

I think you could add a default implementation in the trait which attempts to get a shared lock. This should only fail if there is an active exclusive lock. The default implementation is needed to maintain backwards compatibility with existing implementations of this trait.

I'll add that to the trait definition. To test for an exclusive lock, would it look something like:
    fn is_locked_exclusive(&self) -> bool {
        let acquired_lock = self.try_lock_shared();
        if acquired_lock {
            // Safety: A shared lock was successfully acquired above.
            unsafe {
                self.unlock_shared();
            }
        }
        !acquired_lock
    }

to parallel the existing is_locked default implementation?

That's correct.


Verify effect on events after moving CFDs to closed

This PR just makes our new db tests a bit more complete.
After a successful move from cfs to closed_cfds, the events table should have no entries for the corresponding CFD.
Conversely, after an unsuccessful move, the events table should have the same number of events for the corresponding CFD.

This just makes the tests better, so I'm confident to merge without approvals.
bors r+


Fixed issue #23

#23
Fixed seconds on the uptime command by making them seconds % 60 instead of seconds.
I also adjusted the formatting of the output line to make it a bit more readable.

Found some errors in the code I wrote, uploading fixed version


How do I stop Recording?

It is recording but I don't see Kap icon active and there is no way to force quit it. Is there a hot key to stop recording?

It should show up in the status bar, no? You can force quit via Activity Monitor too, if you need.

The Kap tray icon turns into the stop button once recording has started. If you have set a keybind for opening the cropper in the settings, you can also use that same keybind to stop the recording while it's in progress.
Hope that helps!

Sorry, didn't mean to close this issue prior to replying. It looks like this may be related to #905


Use back ticks instead of single quotes around code

Also, use back ticks instead of single quotes in rustc_unescape_error_to_string for EE:UnclosedUnicodeEscape.

Hm, I sympathize with the goal here, but I feel that just changing some quotes won't help. If we want a solution here, we need some kind of a lint for all user-visble strings, which enforces the property that typographic quotes are used. And I am not super sure if it is worth additional complexity at this stage. (as an example of what we do is checking that assist titles are capitalized).
Let's just check quotes around code (most of them here) to use `, and leave 's?

Yeah, that could lead to inconsistency which would be worse. Pushed a new commit with the suggestion.

bors r+
Thanks!


Add qualifications and program type to UCAS export

Context
Please note: migrations are included in a separate PR #2008 - please merge that one first
As part of ongoing discussions around the data sharing agreement, UCAS have asked for the fields qualifications and program_type from the Find API to be included in the 'Dataset1' file which we will generate for them each night. These fields are pre-emptively documented in the Find API Docs but are not yet implemented in the actual API itself.
So we have agreed to add the fields into the export file now, so that they can integrate on the basis that the fields are there, and we will make them blank values until the fields are present in the Find API (ETA: "a few weeks") at which time the values will appear with no further code changes needed.
Changes proposed in this pull request

Populate new fields in SyncProviderFromFind
Include fields in ApplicationsExportForUCAS service, renaming what was labelled as "Programme Type" back to match our original name "funding_type".
Add expectations in the relevant specs for the above

Guidance to review
Make sure you have some submitted applications in your DB (run GenerateTestData.new(10).generate from the console if not)
Then, from the support UI:

Enable the download_dataset1_from_support_page FeatureFlag
Go to /support/performance
Click on 'Download Dataset1 (CSV)'
View the downloaded file - you should see "Program type" and "Qualifications" fields in the header. All values for those fields should be empty.

Link to Trello card
Add program_type and qualifications to the UCAS dataset1 export, (with blank values until Find add them to the API)
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

Can you implement an enum for the possible values of program_type?

See ae40c26 for Duncan's approach for doing this to funding_type

Done!

@tvararu ready for re-review with the enum added, whenever you are


Dev to master

Any blockers to merging all this? If not, will do so soonish.

:+1: :+1: :+1: :+1: :+1:

Five 👍 ?  That's totally a merge.  ;-)

You merged in my comment from dev on the Visualization & Monitoring page in Phase 1. #192


Exposure analysis request consumes near 4gb of memory on open data cube request

The current exposure analysis, which requests high resolution population raster data from WFP's data cube instance, highlights a problem we have with WCS requests used by PRISM. The population raster dataset from worldpop is 100 meter resolution, and we're requesting an uncompressed file with national coverage which, in the case of Mozambique, is 3.74.
As an example, a request for exposure to a tropical storm in Mozambique generates this request:

curl 'https://prism-api.ovio.org/stats'
-H 'authority: prism-api.ovio.org'
-H 'cache-control: max-age=0'
-H 'sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="99", "Google Chrome";v="99"'
-H 'accept: application/json'
-H 'content-type: application/json'
-H 'sec-ch-ua-mobile: ?0'
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.83 Safari/537.36'
-H 'sec-ch-ua-platform: "macOS"'
-H 'origin: https://new-ows-moz.surge.sh'
-H 'sec-fetch-site: cross-site'
-H 'sec-fetch-mode: cors'
-H 'sec-fetch-dest: empty'
-H 'referer: http://localhost:3000/'
-H 'accept-language: en-US,en;q=0.9,id;q=0.8'
--data-raw '{"geotiff_url":"https://odc.ovio.org/?service=WCS&request=GetCoverage&version=2.0.0&coverageId=wp_pop_cicunadj&subset=Long(30.215605, 40.84062576300005)&subset=Lat(-26.867040757999973, -10.472198489999926)","zones_url":"https://prism-admin-boundaries.s3.us-east-2.amazonaws.com/moz_bnd_adm2_WFP.json","group_by":"source_id","wfs_params":{"url":"https://geonode.wfp.org/geoserver/ows","layer_name":"moz_gdacs_buffers","time":"2021-02-22","key":"label"}}'
--compressed

In a test instance of our Data Cube, this fails with a 500 error:

500 Internal Server Error: The file you requested is not available - https://ows.earthobservation.vam.wfp.org/?service=WCS&request=GetCoverage&version=2.0.0&coverageId=wp_pop_cicunadj&subset=Long(30.215605, 40.84062576300005)&subset=Lat(-26.867040757999973, -10.472198489999926)"

And this is the error raised on the data cube:

ows:ExceptionTextUnexpected server error: Unable to allocate 3.74 GiB for an array with shape (1, 39349, 25501) and data type uint32</ows:ExceptionText>

We had a similar issue surface when we tried to develop a download feature for raster files. See this PR https://github.com/WFP-VAM/prism-frontend/pull/208 and @valpesendorfer 's comment
Of note, we'll have a STAC implementation in the near-term and should consider moving away from WCS requests and use STAC instead. Details on STAC are here and example of downloading a raster through a STAC request is here

The WCS request was replaced by a STAC request


Push to private registry from Docker 1.8.2 produces unknown error.

I've update my docker clients to version 1.8.1 (Macbook) and 1.8.2 (Linux). When I try to push image to my private registry I receive the following message:
The push refers to a repository [my.private.registry/myImage] (len: 1)
afedd571519b: Image already exists
88cb8f8f5608: Pushing [==================================================>] 1.305 kB/1.305 kB
unknown: Unable to upload blobs to a remote repository.

When I run the same command on version 1.7.1 I don't have any issues.
Registry run from docker image registry:2.1.1 (on NGINX proxy).
Docker client 1 version:
Client:
 Version:      1.8.2
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   0a8c2e3
 Built:        Thu Sep 10 19:10:10 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.2
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   0a8c2e3
 Built:        Thu Sep 10 19:10:10 UTC 2015
 OS/Arch:      linux/amd64

Docker client 2 version:
Client:
 Version:      1.8.1
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   d12ea79
 Built:        Thu Aug 13 02:49:29 UTC 2015
 OS/Arch:      darwin/amd64

Server:
 Version:      1.8.1
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   d12ea79
 Built:        Thu Aug 13 02:49:29 UTC 2015
 OS/Arch:      linux/amd64

Docker client 2 logs:
time="2015-09-17T10:46:49.923645674Z" level=debug msg="Calling POST /images/{name:.*}/push"
time="2015-09-17T10:46:49.923697907Z" level=info msg="POST /v1.20/images/my.private.registry/myImage/push?tag=110"
time="2015-09-17T10:46:49.953651235Z" level=debug msg="hostDir: /etc/docker/certs.d/my.private.registry"
time="2015-09-17T10:46:49.953815314Z" level=debug msg="Trying to push my.private.registry/myImage to https://my.private.registry v2"
time="2015-09-17T10:46:50.108017384Z" level=debug msg="Checking \"110\" against graph.Repository{\"110\":\"06caef6ba17673051617dc360d084d61680f645ee6443c8d14e46afd75753bef\"}"
time="2015-09-17T10:46:50.108631967Z" level=debug msg="Pushing repository: myImage:110"
time="2015-09-17T10:46:50.109222664Z" level=debug msg="Pushing layer: 06caef6ba17673051617dc360d084d61680f645ee6443c8d14e46afd75753bef"
time="2015-09-17T10:46:51.198450688Z" level=debug msg="Pushing layer: 3935ec903bd30eeaf2eefd5958cbd3330e698b38e354f3a2238af0bb53b40799"
time="2015-09-17T10:46:51.370436253Z" level=debug msg="[graph] TarLayer with reassembly: 3935ec903bd30eeaf2eefd5958cbd3330e698b38e354f3a2238af0bb53b40799"
time="2015-09-17T10:46:51.370684665Z" level=debug msg="[graph] 3935ec903bd30eeaf2eefd5958cbd3330e698b38e354f3a2238af0bb53b40799 is at \"/mnt/sda1/var/lib/docker/aufs/mnt/3935ec903bd30eeaf2eefd5958cbd3330e698b38e354f3a2238af0bb53b40799\""
time="2015-09-17T10:46:51.375391301Z" level=debug msg="rendered layer for 3935ec903bd30eeaf2eefd5958cbd3330e698b38e354f3a2238af0bb53b40799 of [135] size"
time="2015-09-17T10:46:51.814760931Z" level=debug msg="Not continuing with error: unknown: Unable to upload blobs to a remote repository."

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

I am also facing same issue.
docker version:
Client:
Version:      1.8.2
API version:  1.20
Go version:   go1.4.2
Git commit:   0a8c2e3
Built:        Wed Oct  7 17:48:28 UTC 2015
OS/Arch:      linux/amd64
Server:
Version:      1.8.2
API version:  1.20
Go version:   go1.4.2
Git commit:   0a8c2e3
Built:        Wed Oct  7 17:48:28 UTC 2015
OS/Arch:      linux/amd64
docker info:
Containers: 0
Images: 18
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 18
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-63-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 8
Total Memory: 29.45 GiB
Name: jenkins2.prod-release.olacabs.net
ID: DVPP:KZHB:QPRO:FU7K:3UGU:HHQS:IEZD:D5IS:H547:DHKZ:NINO:DIFI
WARNING: No swap limit support
uname -a:
Linux jenkins2.prod-release.olacabs.net 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
its aws machine
Steps

Created Image
tagged image
docker tag entit:0.0.1-SNAPSHOT artifactory.something.com:5002/entit:0.0.1-SNAPSHOT
Pushing the image

docker push artifactory.something.com:5002/entit:0.0.1-SNAPSHOT
The push refers to a repository [artifactory.something.com:5002/entit] (len: 1)
7cbb85593880: Buffering to Disk
7cbb85593880: Image successfully pushed
c531daf06980: Buffering to Disk
unknown blob

When i checked the repo and tried to pull the image, i was able to pull.
docker pull artifactory.something.com:5002/entit:0.0.1-SNAPSHOT
0.0.1-SNAPSHOT: Pulling from entitystore
0f0a9711963c: Pull complete
e6b8fa445a2d: Pull complete
b216b2445a50: Pull complete
c5c00563e7fb: Pull complete
0087662cba47: Pull complete
c55f539f6808: Pull complete
b95540f6cd8a: Already exists
0105f98ced6d: Already exists
66395c31eb82: Already exists
002fa881df8a: Already exists
a005e6b7dd01: Already exists
Digest: sha256:58d5f6afcfa72d6f4a6c5b2adcca459d20a5debe4bf8c30c5f980826e50bbdc2
Status: Downloaded newer image for artifactory.something.com:5002/entit:0.0.1-SNAPSHOT

@vishalvsh1 based on the name of your private repository, I'm assuming you're using artifactory, and you're issue could have a whole different cause.

@thaJeztah, Yes you are right partially, it looks like it was some sort of permission issue.
It seems they(docker) have changed some behavior from 1.6 to 1.8 on authentication part.
Same configuration was working on 1.6, but it wasn't working for 1.8.
We fixed this issue by changing artifactory configuration. So i can not say its bug or feature introduced with 1.8 docker client.

Let me close this ticket for now, as it looks like it went stale.


Generated .m file containing $$ in its name are not found in Xcode (J2objc 0.9.7)

When Java files contain $$ in there name Xcode raises an error because it searches for files containing only $ in its name, i.e., one dollar sign instead of two.
I use the J2objc 0.9.7. Here is a simple example of the problem. Create two files:
package com.example;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

@Module
public class ApplicationModule {

	@Provides
	@Singleton
	SomeClassX provideSomeClassX() {
		return new SomeClassX();
	}

}

and
public class SomeClassX {
}

Here are the steps to reproduce:

Create the .java files with annotation processing with

javac -d build/classes -sourcepath src/main/java src/main/java/com/example/SomeClassX.java src/main/java/com/example/ApplicationModule.java -classpath lib/dagger-compiler-2.0-20150330.203231-18-jar-with-dependencies.jar

This will create the class files as well as build/classes/com/example/ApplicationModule$$ProvideSomeClassXFactory.java.
2. Execute j2objc:
j2objc --no-package-directories -use-arc --build-closure -d build/classes -sourcepath src/main/java:libSrc/javax.inject-1-sources.jar:libSrc/dagger-2.0-sources.jar src/main/java/com/example/SomeClassX.java src/main/java/com/example/ApplicationModule.java build/classes/com/example/'ApplicationModule$$ProvideSomeClassXFactory.java'

this will generate the following 18 files:

3. Insert the generated files in a Xcode project and build the project with other linker flag -ObjC -lguava -ljavax_inject -ljre_emul -ljsr305
Step 3 will generate the following error:

no such file or directory: ApplicationModule$ProvideSomeClassXFactory.m

The correct file must contain two dollar signs instead of one. It seems that the transpiling went wrong in the case of two dollar signs in their name.

I created a sample project to reproduce this issue here: https://github.com/confile/j2objc-dollarsign

Xcode uses $ for macros, and apparently $$ for a $ constant. That's why the filename only has one $ in the error message. Try changing the names ApplicationModule$$$$ProvideSome... If that doesn't work, ask on StackOverflow where Xcode experts may help.

@tomball The problem is that the dagger annotation processor generates these files with $$ in the middle so I cannot change them.

It looks like you found an Xcode bug: where it can't build source files
with $ in their names. You need to file a bug with Apple, then find some
workaround for your project until Apple fixes this. One option is to create
a static library using Make or some other build tool, then link your app
with that library in Xcode. Or come up with some other idea, since that's
what software engineers do.
On Fri, Apr 10, 2015 at 12:08 AM Confile<EMAIL_ADDRESS>wrote:

@tomball https://github.com/tomball The problem is that the dagger
annotation processor generates these files with $$ in the middle so I
cannot change them.
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/517#issuecomment-91459005.

Another option you have (which would be faster than waiting for an Xcode
fix) is to fork Dagger and change its annotation processor to use something
different than $$ in their generated class names. It should be a one-line
change, and if you submit a pull request that team might include it in the
next release.
On Fri, Apr 10, 2015 at 6:50 AM Tom Ball<EMAIL_ADDRESS>wrote:

It looks like you found an Xcode bug: where it can't build source files
with $ in their names. You need to file a bug with Apple, then find some
workaround for your project until Apple fixes this. One option is to create
a static library using Make or some other build tool, then link your app
with that library in Xcode. Or come up with some other idea, since that's
what software engineers do.
On Fri, Apr 10, 2015 at 12:08 AM Confile<EMAIL_ADDRESS>wrote:

@tomball https://github.com/tomball The problem is that the dagger
annotation processor generates these files with $$ in the middle so I
cannot change them.
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/517#issuecomment-91459005.

@tomball I have a much simpler solution. You can simple duplicate files like this. When you have a file x$$y.* you make a copy and name it x$y.* This way xcode will find the correct file.

Here's an even simpler solution: use the latest Dagger 2.0 -- they recently
changed the delimiter they use:
https://github.com/google/dagger/commit/1f70d573a60e4a862bbae8dcfb7146abfeed7106
If you have problems with sources generated by annotation processors in the
future, please work with the teams that support those processors. The
Dagger team might have fixed this issue when you first found it, if you had
only asked them.
On Fri, Apr 10, 2015 at 7:41 AM Confile<EMAIL_ADDRESS>wrote:

@tomball https://github.com/tomball I have a much simpler solution. You
can simple duplicate files like this. When you have a file x$$y.* you
make a copy and name it x$y.* This way xcode will find the correct file.
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/517#issuecomment-91578951.

@tomball Thank you tom you are brilliant. From our previous discussion I think I need your latest version of guava 18, since dagger needs at least 18. As we discussed earlier using dagger annotation processor directly with j2objc will only work after your guava update. Can you guess when this update will come?
Thank you so much for your help.

We're in the process of using jarjar https://code.google.com/p/jarjar/ to
repackage the translator so its use of Guava doesn't conflict with other
versions. Until that's complete, you'll need to use javac to do annotation
processing, then translate all .java files found in the output directory. I
assume you're already doing that, since blocking one's project waiting on
any open-source project's bug fix is never advised.
On Fri, Apr 10, 2015 at 9:06 AM Confile<EMAIL_ADDRESS>wrote:

@tomball https://github.com/tomball Thank you tom you are brilliant.
From our previous discussion I think I need your latest version of guava
18, since dagger needs at least 18. As we discussed earlier using dagger
annotation processor directly with j2objc will only work after your guava
update. Can you guess when this update will come?
Thank you so much for your help.
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/517#issuecomment-91602906.