Icons do not show in AR template project

Describe the bug
I'm using SPPermissions in my project which is generated with Xcode Augmented Reality App template and the icons don't  show in my project.
So I new  some empty projects with Augmented Reality App template but the icons don't  show either.
To Reproduce
New a project with Augmented Reality App template (in iOS tab) and add SPPermissions.
Add this in viewDidAppear

let permissions: [SPPermissions.Permission] = [.camera, .microphone]
let controller = SPPermissions.dialog(permissions)
controller.present(on: self)

Smartphone (please complete the following information):

iOS Version 15.1.1
Framework Version 6.8.4
Installed via Cocoapods
Xcode Version 13.1

Additional context
I tested with the app template, the icons show.
I think there may be something wrong with the ar template but I don't know where.

Weird. I Run with empty AR template, and it work for me.
I released 7.0 version some hours ago, try update please to latest.

I updated to 7.0 and tested again.
With SPM, it works fine.
But with CocoaPods, still don't  show.
Could you try via CocoaPods let me know if it's my problem.

Confirmed. I think something with bundle, but not sure for now. Checking.

I don't find any additional detail. Project is same like original empty project. Pods ignoring only images, not Text and other files. Look weird.

I have also encountered this problem, there is no problem running the project directly with Xcode, it is not displayed after packaging, I think it is because the resource file is not set correctly.

I recommend adding the icon's resource bundle to the project as a separate bundle rather than placing it in Assert as a folder

Check out the link below to see if it works or not
https://www.jianshu.com/p/66da0b4585c3

I don't find any additional detail. Project is same like original empty project. Pods ignoring only images, not Text and other files. Look weird.

I've got the same issue, and it appears only on testflight

I clean project and now its with new name. Also I see with AR template all sources work correctly. Let me know if need something else.


(docs)UX Writing

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6765a91ead7680e78b744e90--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6765aadf18bfa1d12ae1d62d--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6765be0c44e08b2636228087--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6765c7eba79402fa0e47c0a8--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6765c93eb09a290d55f49e34--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6765cbbd24c64e1518f22d07--gamut-preview.netlify.appDeploy Logs


process caused "exec: "sh": executable file not found in $PATH": unknown

So I posted a few days ago.
I seem to have found the issue, no idea how to solve it though:
If i open the console i get
OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused "exec: "sh": executable file not found in $PATH": unknown
I'm running this on unraid.
Appreciate the help!

What you described is normal. There is no shell into the container and no way to open a console into it.
I'll have more for you soon.

So what you're saying is that it will not work for now?

It will work. There's something wrong with the download location in your environment. I do not know. I recently made a lot of changes to this app, and renamed it. One of the changes is the ability to manually configure the download path. The new app is not in unraid yet, so I idon't have an easy way to direct you to using it. It does work though, and if you're technical enough you can figure it out. Otherwise, I hope too have this new app in unraid very soon.

@Little709 In the following hour Unpackerr should become available as hotio/unpackerr.

It's currently available at golift/unpackerr:master. ;)

I meant to say, on Unraid CA, modified my comment.... :-)

Thanks guys. after some trial and horror. it works! awesome

Could it be added? it would help others with debugging

Not really anything in the container to debug. Adding more to the container adds things to debug though. I've been building from scratch a long time and much prefer it. @mrhotio makes a container with a shell, based on alpine I believe. Pretty much a drop-in replacement if you prefer that.


Rust binding for Tensorflow Lite

Original Issue: https://github.com/tensorflow/tensorflow/issues/59271
Opening on behalf of @Neirth
Is there any kind of plan to create Tensorflow Lite bindings for Rust? It would be convenient for projects that only need the model execution layer, without having to import the rest of the project.

This issue originally reported by @Neirth has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.

It would be great to have this officially supported, as the most popular unofficial tflite crate seems to no longer be receiving updates.


How to receive messages when App is killed

We had been using FCM data messages. However, in some android phone manufacturers, the receiving of data messages is cancelled by OS when the app has been killed by the user.
Does Pushy handle this use-case. If yes, how to proceed?

Hi @rahulchhabra07,
We'd be glad to assist with your inquiry.
Pushy uses MQTT to deliver data-only messages to your app, and executes your React Native JS code in Headless JS to handle the notification, as long as the native JobService that establishes the MQTT connection is still alive.
We offer the option of enabling FCM high-priority fallback delivery to support some manufacturers that like to terminate app services when your app goes to background.
Do you have a list of Android phone manufacturers that can receive FCM notification messages, but not FCM data messages, when your app is in the background?

Hi,
Do you have nay examples of Headless Task along w Pushy?
Also, we are using react-native-background-fetch that uses the native JobSheduler library.
We were facing particular issues with OnePlus phones. They are not receiving FCM data messages when a user swipes to kill the app.
We'll check high priority FCM message delivery once.
Thanks.

Hi @rahulchhabra07,
Our React Native docs & SDK already support using a headless JS task to receive notifications in the background using the following code (placed in App.js outside a Component class):
// Please place this code in App.js,
// After the import statements, and before the Component class

Pushy.setNotificationListener(async (data) => {
    // Print notification payload data
    console.log('Received notification: ' + JSON.stringify(data));

    // Notification title
    let notificationTitle = 'MyApp';

    // Attempt to extract the "message" property from the payload: {"message":"Hello World!"}
    let notificationText = data.message || 'Test notification';

    // Display basic system notification
    Pushy.notify(notificationTitle, notificationText, data);
});

Please give our FCM fallback delivery a try to see if the OnePlus phones can receive the notification or not, and let us know. If not, we'll investigate if using FCM notification messages works on OnePlus devices.

This worked perfectly. Thanks.


Define symbols to be ignored on completion

It would be useful to provide a feature when I am not at the end of the line and to the right of cursor there are some symbols that can be ignored when suggesting a command.
For example, when I type git cm i have following suggestion

But when I press " autopair plugin inserts a send ", so the completion is gone...

Then I start to type feat(nvim):  and it would be useful to define ZSH_AUTOSUGGEST_IGNORE_SYMBOLS as following:
ZSH_AUTOSUGGEST_IGNORE_SYMBOLS="'\"})"

to make it possible to show completions even if any count of any of these symbols are now on the right of cursor.
Same issue can be with $(...):

Is it possible to implement?

It seems possible but I'm curious about how things would function when in that state of having both an ignored suffix of the command and a suggestion to show. Can you elaborate on how the suggestion would be shown in your second and fourth screenshots? And what you think should happen if you were to press enter from those states without accepting the suggestion?

Hmm, that's an interesting question :)
To be honest, I can't come up with a solution. Sorry, I didn't think of that when was opening this issue.


Vulnerability fix for DockerComposeV0

Task name: DockerComposeV0
Description:
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N) https://dev.azure.com/mseng/PipelineTools/_componentGovernance/184/alert/68445?typeId=12858
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected
[x] node make.js build --task DockerComposeV0
[x] node make.js test --task DockerComposeV0

/azp run

/azp run

Change to ver to 210


[Snyk] Upgrade ch.qos.logback:logback-classic from 1.5.9 to 1.5.11

Snyk has created this PR to upgrade ch.qos.logback:logback-classic from 1.5.9 to 1.5.11.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.

The recommended version was released on 24 days ago.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

/ok-to-test


Fix 404

For ticket PE-19874, added a module generate_docs that generates HTML pages by calling pydoc3 for each class in workflows as well as for the workflows module itself.  404 error appears to be fixed for all class links on https://relaypro.github.io/relay-py/ .

@steveims @cmarcelk  I added a change that calls the pydoc API methods directly, but the pydoc APIs return a string representing the HTML documentation instead of creating the .html file within the API call, so I used i/o to manually create an .html file and write the created string into the file.  Let me know which method you think is better.


Print json instead of python repr

Thank you for this tool, it is super helpful.
The output of conda tree leaves looks like JSON, but is actually a stringified version of a Python list, and annoying to parse. I suggest either adding a --json option or even better just printing valid JSON.

yes, thats a good point. the print(list) is something I added very early on but haven't changed since but it should have been something simpler like one package per line. we could also add --json option too.

new version now prints one package per line, and a --json option prints proper json.


Pushing out new version

:tada: This PR is included in version 3.1.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


MPI does not work as documented

You have an HPC example here http://singularity.lbl.gov/#hpc
It does not work for me.    http://pastebin.com/V5u13wjQ
This line is particular suggests  users should be able to run mpi jobs
$ mpirun -np 20 singularity exec /tmp/Centos-7.img /usr/bin/ring
This response suggests this is expected to fail, despite the documentation.
http://pastebin.com/jRiYcH0R

Hi @cameronkennedy
You are right, it should work as advertised. Did you use the commands exactly as they are defined on the Singularity HPC page? If so, I will try and reproduce the issue.
Thanks!

Oh, I should have asked this as well. What version of Singularity are you testing with?

It looks like it is a bug in OMPI in the master branch. I am getting it as well, and this used to work just fine.
Here is what I am getting: http://pastebin.com/pJwrxvAL
@rhc54 Any ideas, or should I file a bug report to OMPI?

this looks like something mixed new/old versions. Does the daemon on the outside of the container "match" the version used by the app on the "inside"? If not, then boom.

Ahh, good call @rhc54! I was running too old an OMPI on my host.

That is a clone from Github master as of 30 minutes ago. lol
$ git describe
dev-4467-g1eb4ef4

hmmm...what kind of system?

Centos7. Nothing special:
$ git clone https://github.com/open-mpi/ompi.git
$ cd ompi
$ ./autogen.pl && ./configure --prefix=/usr/local && make && sudo make install
$ mpicc examples/ring_c.c -o ring
$ mpirun -np 2 ./ring

Huh - building now

Let's race... I'm rebuilding now too... Just in case. lol

looks okay to me:
examples$ mpirun -n 3 ./ring_c
Process 0 sending 10 to 1, tag 201 (3 processes in ring)
Process 0 sent to 1
Process 0 decremented value: 9
Process 0 decremented value: 8
Process 0 decremented value: 7
Process 0 decremented value: 6
Process 0 decremented value: 5
Process 0 decremented value: 4
Process 0 decremented value: 3
Process 0 decremented value: 2
Process 0 decremented value: 1
Process 0 decremented value: 0
Process 0 exiting
Process 1 exiting
Process 2 exiting
$

Working for me now too... I had a previous MPI install causing problems. Thanks for the help and sorry to bug ya @rhc54!
Now on to testing @cameronkennedy's issue again...

@cameronkennedy Now that I ensured that I am using the same version of MPI on the host as I am inside the container (as I understand, you can use newer on the host, but not newer in the container), it is working fine for me:
$ mpirun -np 4 singularity exec ../Centos7.img /usr/bin/ring
Process 0 sending 10 to 1, tag 201 (4 processes in ring)
Process 0 sent to 1
Process 1 exiting
Process 2 exiting
Process 3 exiting
Process 0 decremented value: 9
Process 0 decremented value: 8
Process 0 decremented value: 7
Process 0 decremented value: 6
Process 0 decremented value: 5
Process 0 decremented value: 4
Process 0 decremented value: 3
Process 0 decremented value: 2
Process 0 decremented value: 1
Process 0 decremented value: 0
Process 0 exiting

I should probably add a note to the website to ensure that one is using the same or newer MPI on the host as they are inside the container...

@cameronkennedy I am closing the ticket as I can no longer replicate the problem. Please feel free to comment on the issue and let me know if this is still an issue for you and I can reopen it.
Thank you!

Not sure what changed, but everything is working as described.  Thanks.


inline fora in pyfora

It would be nice to be able to write "inline fora" into pyfora programs, as @braxtonmckee pointed out. For example, since pyfora doesn't expose any real mutable constructs, if one wanted to write a function which used a mutable vector as part of a computation, we could express that directly in Fora, "inline" in the python program. This would be useful for writing regression tree fitters, which we'd successfully done in the past with MutableVectors which implement histograms
like writing inline assembly in C, this should be considered a dangerous operation, and only initially useful for power users.
This might look like this:
x = 0
pyfora.inline(
    """let y = x + pyforaBuiltins.PyInt(1); """
    )
z = y + 2

(though I'm not sure how referencing the pyfora builtins should work)

done in 5492b8d through f640c3f


segmentation task in streamer[deepstream]?

Environment
FastDeploy version: e.g 0.8.0 or the latest code in develop branch
OS Platform: e.g. Linux x64 / Windows x64 / Mac OSX 12.1(arm or intel)
Hardware: e.g. Nvidia GPU 3080Ti  CUDA 11.2 CUDNN 8.3
Program Language: e.g. Python 3.8
Problem description
Please attach the log file if there's problem happend.
hello,
I'd like to run a semantic model supported by paddleseg in deepstream base, is there any restriction?
Or can't I expect a big speed difference from what Deepstream itself runs on Paddle Trt backend from a different perspective?
@wang-xinyu

We don't have segmentation example in streamer as of now. Can you please tell your application and use case? We will be considering add such example.

@wang-xinyu
Rather than specifying it in my application, I think it would be good to organize the application based on the cityscape model and related images or videos
I was curious about how config has a model trained in paddleseg and configures other config values such as offset, scale-factor, etc. in nvinfer_config!


Translator doesn't find method calls within method calls

There seems to be an issue with the recursive lookup of keywords in the program dictionary during translation. The lookup stops when it finds a keyword, but should instead continue as there may be more nested keywords of interest.
Example:
Machine svm = machine("...", svm=as_svm(libsvm))

Old behaviour ignores the as_svm globalCall, which causes it not to add as_svm import.

@vigsterkr this fixes the issue you mentioned on irc


Issue with gpfs_filesetquota metrics collect

Hello,
I use metrics_gpfs_filesetquota, and i have an issue ... very strange i don't know why. There are some holes in my metrics collection (all the time 5min), and that's something I don't have with other endpoints.

  - job_name: 'gpfs_filesetquota'
    scrape_interval: 5m
    scrape_timeout: 2m
    metrics_path: '/metrics_gpfs_filesetquota'
    static_configs:
      - targets: ['localhost:9250']
        labels:
          env: qualif
          cluster: gpfs
    honor_timestamps: True
    scheme: https
    tls_config:
      cert_file: /etc/bridge_ssl/certs/cert_brige_ibm.pem
      key_file: /etc/bridge_ssl/certs/privkey_brige_ibm.pem
      insecure_skip_verify: True

I don't think I made a configuration error, if you have an idea I'll take it

Hi @SckyzO,
you specified wrong scrape_interval in "gpfs_filesetquota" job. As described here, the scrape job interval must also match the sensor period configured by the IBM Storage Scale performance monitoring tool.
Using endpoint /sensorsconfig you can check the active sensors settings. Usually the GPFSFilesetQuota sensor is running once per day.
[root@RHEL92-32 tmp]# curl https://<pod-ip>:9250/sensorsconfig -u scale_grafana:<apiKeyValue> -k | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2437  100  2437    0     0  71676      0 --:--:-- --:--:-- --:--:-- 71676
[
  {
    "name": "\"CPU\"",
    "period": "1"
  },
  {
    "name": "\"Load\"",
    "period": "1"
  },
  {
    "name": "\"Memory\"",
    "period": "1"
  },
  {
    "filter": "\"netdev_name=veth.*|docker.*|flannel.*|cali.*|cbr.*\"",
    "name": "\"Network\"",
    "period": "1"
  },
  {
    "name": "\"Netstat\"",
    "period": "10"
  },
  {
    "name": "\"Diskstat\"",
    "period": "0"
  },
  {
    "filter": "\"mountPoint=/.*/docker.*|/.*/kubelet.*\"",
    "name": "\"DiskFree\"",
    "period": "600"
  },
  {
    "name": "\"Infiniband\"",
    "period": "0"
  },
  {
    "name": "\"GPFSDisk\"",
    "period": "0"
  },
  {
    "name": "\"GPFSFilesystem\"",
    "period": "10"
  },
  {
    "name": "\"GPFSNSDDisk\"",
    "period": "10",
    "restrict": "\"nsdNodes\""
  },
  {
    "name": "\"GPFSPoolIO\"",
    "period": "0"
  },
  {
    "name": "\"GPFSVFSX\"",
    "period": "10"
  },
  {
    "name": "\"GPFSIOC\"",
    "period": "0"
  },
  {
    "name": "\"GPFSVIO64\"",
    "period": "0"
  },
  {
    "name": "\"GPFSPDDisk\"",
    "period": "10",
    "restrict": "\"nsdNodes\""
  },
  {
    "name": "\"GPFSvFLUSH\"",
    "period": "0"
  },
  {
    "name": "\"GPFSNode\"",
    "period": "10"
  },
  {
    "name": "\"GPFSNodeAPI\"",
    "period": "10"
  },
  {
    "name": "\"GPFSFilesystemAPI\"",
    "period": "10"
  },
  {
    "name": "\"GPFSLROC\"",
    "period": "0"
  },
  {
    "name": "\"GPFSCHMS\"",
    "period": "0"
  },
  {
    "name": "\"GPFSAFM\"",
    "period": "0"
  },
  {
    "name": "\"GPFSAFMFS\"",
    "period": "0"
  },
  {
    "name": "\"GPFSAFMFSET\"",
    "period": "0"
  },
  {
    "name": "\"GPFSRPCS\"",
    "period": "10"
  },
  {
    "name": "\"GPFSWaiters\"",
    "period": "10"
  },
  {
    "name": "\"GPFSFilesetQuota\"",
    "period": "3600",
    "restrict": "\"@CLUSTER_PERF_SENSOR\""
  },
  {
    "name": "\"GPFSFileset\"",
    "period": "300",
    "restrict": "\"@CLUSTER_PERF_SENSOR\""
  },
  {
    "name": "\"GPFSPool\"",
    "period": "300",
    "restrict": "\"@CLUSTER_PERF_SENSOR\""
  },
  {
    "name": "\"GPFSDiskCap\"",
    "period": "86400",
    "restrict": "\"@CLUSTER_PERF_SENSOR\""
  },
  {
    "name": "\"GPFSEventProducer\"",
    "period": "0"
  },
  {
    "name": "\"GPFSMutex\"",
    "period": "0"
  },
  {
    "name": "\"GPFSCondvar\"",
    "period": "0"
  },
  {
    "name": "\"TopProc\"",
    "period": "60"
  },
  {
    "name": "\"GPFSQoS\"",
    "period": "0"
  },
  {
    "name": "\"GPFSFCM\"",
    "period": "0"
  },
  {
    "name": "\"GPFSBufMgr\"",
    "period": "30"
  },
  {
    "name": "\"NFSIO\"",
    "period": "0",
    "restrict": "\"cesNodes\"",
    "type": "\"Generic\""
  },
  {
    "name": "\"SMBStats\"",
    "period": "0",
    "restrict": "\"cesNodes\"",
    "type": "\"Generic\""
  },
  {
    "name": "\"SMBGlobalStats\"",
    "period": "0",
    "restrict": "\"cesNodes\"",
    "type": "\"Generic\""
  },
  {
    "name": "\"CTDBStats\"",
    "period": "0",
    "restrict": "\"cesNodes\"",
    "type": "\"Generic\""
  },
  {
    "name": "\"CTDBDBStats\"",
    "period": "0",
    "restrict": "\"cesNodes\"",
    "type": "\"Generic\""
  }
]

Ahhhh! I didn't know this endpoint existed :-) I couldn't find any information on endpoint periode
This issue is a good point to add information to the documentation :P
Thank you @Helene  :-)

Huuuu ... last question, you say gpfsfilesetquota sensor is running once per day, but if I read the output, i see 3600 (1h ?), right ?
  {
    "name": "\"GPFSFilesetQuota\"",
    "period": "3600",
    "restrict": "\"@CLUSTER_PERF_SENSOR\""
  },

Because I had the same "issue" with 3600s ...

I don't have a straight curve, which means that graphana dashboards cannot be used with these metrics. Do you see what I mean?

Huuuu ... last question, you say gpfsfilesetquota sensor is running once per day, but if I read the output, i see 3600 (1h ?), right ?
  {
    "name": "\"GPFSFilesetQuota\"",
    "period": "3600",
    "restrict": "\"@CLUSTER_PERF_SENSOR\""
  },

Because I had the same "issue" with 3600s ...

Sorry you are right, it is running "hourly", not daily.
It looks like Quota management is not enabled on your filesystem. You can it easily check by executing the following command on any gpfs node:
[root@scale-11 ~]# mmcheckquota localFS
localFS: quota management is not enabled, or one or more quota clients are not available.
mmcheckquota: Command failed. Examine previous error messages to determine cause.

In this case you need to execute
# mmchfs localFS -Q yes --perfileset-quota

For more about Quota Management please read
https://www.ibm.com/docs/en/storage-scale/5.1.9?topic=quotas-enabling-disabling-gpfs-quota-management#instq
Note: After Enabling Quota, it can take a half hour before the sensor starts to collect data

But ... my quotas are already enabled :)
[root@compute002 ~]# mmlsfs gpfs -Q --perfileset-quota
flag                value                    description
------------------- ------------------------ -----------------------------------
 -Q                 user;group;fileset       Quotas accounting enabled
                    user;group;fileset       Quotas enforced
                    user;group;fileset       Default quotas enabled
 --perfileset-quota yes                      Per-fileset quota enforcement

I don't think it is a gpfs issue, others metrics works perfectly, just this is in "error"

on my system it works fine. Check if the zimon is returning data by executing the following command on pmcollector node
# time echo "get group GPFSFilesetQuota bucket_size 3600 last 5" | /opt/IBM/zimon/zc

try to update metadata
[root@RHEL92-32 ~]# curl https://<pod-ip>:9250/update -u scale_grafana:<apiKeyValue> -k | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    42  100    42    0     0    162      0 --:--:-- --:--:-- --:--:--   163
{
  "msg": "Successfully retrieved MetaData"
}


zonetype_rank() expression plotting as blanks

Open rect2d.silo
Create zonetype_rank(quadmesh2d) expression as zr
PC plot zr and note all constant value of 13
Pick a zone, any zone. It displays zr =  with no value after the equals sign
Label plot zr. It displays nothing.

I am seeing on OSX. Haven't tried others.
This is in VisIt 3.0.1. I didn't test 3.1.

avtZoneTypeRankExpression sets 'TreatAsASCII'  to true.  Due to this flag, Pick attempts to convert the value to a 'char' when printing the output. Label Plot does the same conversion.

Thanks for diagnosis @biagas. Fixed now.


Create Mobile version of site

After React migration, it may be worth creating a mobile version of the site

This is low priority and may never need to be done


[stable/parse] Fix issue in secret generation

Signed-off-by: Javier Salmeron Garcia<EMAIL_ADDRESS>
What this PR does / why we need it:
Currently helm install stable/parse generates an incorrect secret reference
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/lgtm


Tests fixes

Let me know if this breaks anything for you.

I can't do const. I got rid of that for a reason.

So which of these functions are actually invoked by JNI? only the ones in include/*?

Basically, anything in the blas folder

Oh, but none of these changes are in the blas folder unless im mistaken?

They get run under the covers.
On Apr 15, 2016 07:28, "Kai Mast"<EMAIL_ADDRESS>wrote:

Oh, but none of these changes are in the blas folder unless im mistaken?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/deeplearning4j/libnd4j/pull/112#issuecomment-210185445

Cool thanks!


⚠ Bofrost.be has degraded performance

In 7cd0e04, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1770 ms

Resolved: Bofrost.be performance has improved in cecc35d.


Unit Test Error in "Resistor Color"

I am getting unit-test errors for the below code:
class ZCL_RESISTOR_COLOR definition public create public.
  public section.
    methods CONSTRUCTOR.
    methods RESISTOR_COLOR
      importing
        COLOR_CODE   type STRING
      returning
        value(VALUE) type I.
  private section.
    data COLOR_CODES type standard table of STRING with empty key.
endclass.

class ZCL_RESISTOR_COLOR implementation.

  method CONSTRUCTOR.
    COLOR_CODES = value #(
      ( |black| )
      ( |brown| )
      ( |red| )
      ( |orange| )
      ( |yellow| )
      ( |green| )
      ( |blue| )
      ( |violet| )
      ( |grey| )
      ( |white| ) ).
  endmethod.

  method RESISTOR_COLOR.
    VALUE = LINE_INDEX( COLOR_CODES[ TABLE_LINE = TO_LOWER( COLOR_CODE ) ] ) - 1.
  endmethod.

endclass.

This code runs fine in my system:

confirmed

LINE_INDEX is possibly not defined or incorrect in transpiler?

Same unit-test errors even with the verbose variant.
read table COLOR_CODES transporting no fields with key TABLE_LINE = TO_LOWER( COLOR_CODE ).
VALUE = SY-TABIX - 1.

@g-back Are you also using TABLE_LINE and LINE_INDEX?

Oh I just copy pasted your solution to get the results, which helps to identify the problem.
I think the verbose one should be:
READ TABLE color_codes WITH key table_line = color_code TRANSPORTING NO FIELDS.
value = sy-tabix - 1.

looks like a problem with handing, case,

https://github.com/abaplint/transpiler/pull/671/commits/05523b70a1bdc881b82da5cfb8e481d069706064

@larshp Do you suggest i use Keyword 'Uppercase' and Identifier 'Lowercase' as a workaround?

Works like a charm 😉 Thanks for identifying the problem
So, for the "Exercism" i would use Keyword 'Uppercase' and Identifier 'Lowercase'

its not a requirement, but might work better
but these are bugs, and needs to be fixed

Thanks. Do you think it makes to report the transpiler bugs/missing features directly in the transpiler "issues"?

its sometimes difficult to figure out if its in the transpiler/runner/linter, its okay to just report here

@suynwa try again,


Copy Hypercube notebook from CyberGISX to I-GUIDE

Noah is working on installing the required libraries in a new Jupyter kernel; Rajesh and Noah will test the notebook and let Furqan know.

@nosolls will create an iguide-geoai kernel for this notebook and test

Will this make it into the April release? We have separately listed the new geoai kernel in the release notes for now


select cell and the cell moves to left a bit

hi,
when I select the cells, it scrolls a little bit to the left.
also, for example, if I have a tab bar vc as parent and two child vc.
I add the collectionView to child A, the same situation happens when I switch back from vc B.
Is this fixable ?
thanks !

I'm having the same issue. When selecting a cell, I perform a push segue. After unwinding back to the collection view screen, the cells overlap and sometimes the last cell is scaled to around 1.5 it's normal size.

Yeh I'm having same issue - glad someone else has. I've added two screenshots. When I first load it works fine, but when i tap a cell and open another view controller and then close that view controller it goes horribly wrong!

Thanks for the screenshots @jshrager, I'll look in to this.

Not sure if you've found / replicated issue yet - but i have app on my iPhone 7 Plus running iOS 11 and not seen the issue yet - but when i put it on my wife's iPhone 6s 10.3 originally this is how i saw the issue.

Thanks for update @jshrager, I have reproduced in the sample app in this repo, and aim to get a fix in as soon as I can.

I'm running into a similar issue, but not completely the same. For me I put the carousel inside a ScrollView, every time when I do "pull to refresh" all the cards become to be same size and make the screen very crowded, similar to what @jshrager shows here.
Any known solution for this?

I have not had time to look in to this yet. If you get a chance to investigate, maybe you could propose a solution and open a PR.

Hey guys, That's happening because of not connecting scrollview delegate.
Hi @superpeteblaze , Just add description to connect ScalingCarouselView's delegate to container view controller so that "scrollViewDidScroll" delegate function can be called exactly.
You mentioned only about connecting DataSource in the Usage section.
Hope it will help you guys.
Thanks.

Thanks @kingsofteng. The readme states that you need to set the collection delegate. Does this solve you issue @athemer  @StPayne55 @cnbuff410 @jshrager ? If so, I will close this.

I have both data source and delegateset to my main view controller if it is what you mean.

How did you manage to add shadow to the cell?

Interesting me too, because the shadow is clipped if I try to add it. Did you add it like another view on the sides of MainView?

@athemer did you solve it?,
When I tap on a cell it goes to the left and again to the right.

Thanks @pabsanmez for pointing out the correct solution 👍🏼


Auth

Issue
https://github.com/diverta/Kuroco-opendev/issues/5176
Reviewer
@yabe-diverta @HisashiHasebe
Points to be reviewed

[x] Implement login, logout, register
[x] Implement member/edit, member/delete
[x] Add favourite feature and my favourite list
[x] Update alerts UI - AlertError and AlertSuccess
[x] Merged conflicts
[x] Implemented password reminder/reset page

Notes

[ ] Member-only content (To be implemented in next PR)
[ ] fav_cnt : API cache problem on the kuroco backend (separate issue) so can like and view favourite list but unlike updation needs relogin https://github.com/diverta/Kuroco-opendev/issues/5833#issue-2106779520

Links
https://diverta.gyazo.com/e5c55b9a0830d4a6e5fc097cb92d9d4a

@VortexExpansion
Sorry, It have many conflict due to merged https://github.com/diverta/front_next_media/pull/5
Please update.

Ready for review @yabe-diverta @HisashiHasebe

Reflected on all suggested changes. Please review again @yabe-diverta san

@VortexExpansion
Looking good to me, thank you for updating 🙇
I think we can merge this PR.
BTW 2 notes in PR comment section should be raised as new issue, please make issues?

Raised 2 new issues correspondingly.
@HisashiHasebe san please review and merge.

After delete profile, user doesn't logout.
Can you check it?
https://diverta.gyazo.com/c25de01b4f8d4ed76a9b67043cdec8b2
and I added small issue. https://github.com/diverta/front_next_media/issues/12

I think your local has not fetched all the commits. Because it seems to raise no alert after logout is successful
https://diverta.gyazo.com/1ed541a844ca98ce44e73ba9019df578
Can you confirm again please if your local is synced with all the commits on this branch ?

@VortexExpansion
umm..
I fetched add password reset.
https://diverta.gyazo.com/0f59ba277578c17f0a42aa32e95fda8d
@yabe-diverta
Does it occur in your environment ?

@HisashiHasebe @yabe-diverta san
I think the problem was that your API returned the value '削除されました' and I had checked the status.message to raise an alert only for the word 'Deleted'. This was an interesting learning point. 😄
Fixed now. Please check.

@VortexExpansion
Thank you! works well.


Write about Flow not accepting more strict Arrays

function test(param : Array<number | string>) {
  return param
}

const compatibleVar : Array<number> = [1, 2, 3]

test(compatibleVar)

This works properly in TypeScript, but fails in Flow with the error:
3: function test(param : Array<number | string>) {
                                        ^ string. This type is incompatible with
7: const compatibleVar : Array<number> = [1, 2, 3]
                                ^ number

Just to clarify: Flow is being more strict here, not TS

@vkurchatkin I know it's being more strict, I just can't think of a reason why would you want this behavior. Can you give a reason as to why this is better?

This is better because it's safe. Typescript's behavior is unsafe:
function test(param: Array<number | string>) {
  param.push('foo')
}

const compatibleVar : Array<number> = []

compatibleVar[0].toFixed(); // Runtime error

@vkurchatkin ok, this makes sense, but only if you're mutating data. It would be nice to be able to opt-in or opt-out of this, since with modern programming / immutability / functional dogma one really shouldn't be doing what test in the above example does (i.e. mutating the parameters).
I also think what you gave as an example it's an edge case, so personally, I believe TypeScript's trade-off for a bit of unsoundness goes a long way in making it easier to develop in general.
(btw. you missed one line: test(compatibleVar), but I inferred what you were trying to say :))

Well, in Flow you can just do:
function test(param: $ReadOnlyArray<number | string>) {
}

And it's going to work

That's great to know, however this is an undocumented feature. :(

Maybe this blog post can be helpful regarding this particular Flow behavior<EMAIL_ADDRESS>Unless you're already familiar with it, in any case maybe it helps for posterity.

@leoasis I was aware of variance (it's documented), it's only the $ReadOnlyArray that I didn't know about :) But thanks, the article is pretty useful!

Probably good to talk about Flow's treatment of mutated arrays in the same section:
const arr = ['1', 0];
arr.sort();
// Error in TS, not in Flow, throws at runtime
arr[0].substr(0);

Interesting example, I've already filed this issue here: https://github.com/facebook/flow/issues/3735
The thing is, Typescript's behaviour seems to be not that different. In your example TS only catches the error because it doesn't try to infer precise type of arr. But if you add an annotation it's going to allow the same behaviour:
const arr: [string, number] = ['1', 0];
arr.sort();
arr[0].substr(0)

Flow, on the other hand, will show an error in this case.

Flow, on the other hand, will show an error in this case.

Only because tuples are read-only. The equivalent TS code would be:
const arr: ReadonlyArray<number | string> = ['1', 0];
arr.sort();

or
const arr: { 0: string, 1: number } = ['1', 0];
arr.sort();

which both show the same error.
Probably TS tuples should inherit from some other Array type that allows mutation but doesn't allow reordering operations. Allowing sort / splice / etc on [number, string] is certainly wrong.

Only because tuples are read-only. The equivalent TS code would be:

No, they are not really read-only, they just have methods of $ReadOnlyArray.

Probably TS tuples should inherit from some other Array type that allows mutation but doesn't allow reordering operations. Allowing sort / splice / etc on [number, string] is certainly wrong.

That's basically what Flow does


Close sources opened by Input.string

Builds on https://github.com/twitter/reasonable-scala/pull/46.

Realised I'm commenting on the wrong PR - I assume this PR is not meant to have 4 commits in it.

@rorygraves It is, because it's built on top of another PR to make sure we keep performance.md up to date. This need very much highlights the importance of #3.

@xeno-by makes sense - I'm realised the pattern a little too late ;)

This pull request has already been merged as part of https://github.com/twitter/reasonable-scala/pull/45. Sorry for the confusion, everyone. I will be more careful about interdependent pull requests in the future.
@rorygraves If you'd like to further discuss emitIdOrKeyword, we can do this in a separate pull request. I'll make sure that it's standalone :)


Bool expression comment placement

Summary
This PR fixes all comment placement issues for boolean expression (and, or) for the django project by
a) Rewriting the boolean expression formatting to use the BinaryLike formatting to get consistent formatting for all binary like expressions
b) Making a\n # comment\n and b a trailing comment of a the same as for binary expressions
c) Respecting whether a comment was inside or outside of the parentheses when formatting a parenthesized expression.
Closes #7004
Closes #6062
Test Plan
Added tests
this PR

project
similarity index
total files
changed files

cpython
0.76084
1789
1632

django
0.99979
2760
45

transformers
0.99944
2587
413

twine
1.00000
33
0

typeshed
0.99978
3496
2173

warehouse
0.99834
648
20

zulip
0.99956
1437
23

main

project
similarity index
total files
changed files

cpython
0.76083
1789
1632

django
0.99966
2760
58

transformers
0.99930
2587
447

twine
1.00000
33
0

typeshed
0.99978
3496
2173

warehouse
0.99825
648
22

zulip
0.99950
1437
27

nice work on the compatibility!


SpringFox support x-logo

I use springfox and the following plugin to generate swagger from spring boot:
groupid : com.github.kongchen
artifactId: swagger-maven-plugin

<dependency>
		<groupId>io.springfox</groupId>
		<artifactId>springfox-swagger-ui</artifactId>
		<version>2.9.2</version>
	</dependency>
	<dependency>
		<groupId>io.springfox</groupId>
		<artifactId>springfox-swagger2</artifactId>
		<version>2.9.2</version>
	</dependency>

They ask to add x-logo as below
{
"swagger": "2.0",
"info": {
"description": "",
"version": "3.4.5",
"title": "API",
"x-logo": {
"url": "/redoc/logo.png",
"backgroundColor": "#FFFFFF"
}
what I understand, that springfox do not support x-logo
I try to make classe  @SwaggerDefinition , but it is not invoking at all.
what is the solution?
use another plugin to generate swagger !

@rabiehaed Hi you can use springfox to generate x-logo. See https://github.com/atkawa7/httpsnippet for an example on how to do that using springfox swagger extensions


Battle needs to be functional

There needs to be a sort of state machine that reads the code blocks and interprets them and casts the appropriate spells at the appropriate times.
There needs to be a counter for how many code blocks one can execute depending on their current mana.

Finished with PR #14


Fixes #102: All PEP8 Errors in the package

This PR aims to fix #102.

@rohithasrk yes, better focus on the other PR first, then when that is finished you can do this.
I suggest you to use the flake8 package.

Okay. I see.


Update G4 documentation - run protocol tutorial and panel_com references

Panel_com is retired, but the documentation still references it. For example:

https://reiserlab.github.io/Modular-LED-Display/Generation 4/Display_Tools/docs/experiment-conductor_run-protocol_tutorial.html#the-panel_com-wrapper
https://reiserlab.github.io/Modular-LED-Display/Generation 4/Display_Tools/docs/pcontrol.html#the-panel_com-command (the commands are useful, maybe just rewrite this page to reflect current script names)
example code, e.g. in https://reiserlab.github.io/Modular-LED-Display/Generation 4/Display_Tools/docs/experiment-conductor_run-protocol_tutorial.html#run-the-conditions

Thanks for finding these. I had not bothered updating the run protocol tutorial because I was planning to remove it. I missed the file about the panel com command. I will get these updated and make sure there are no other references out there.

Completed with commit 8f27e9a


Nuke: baking intermediate sequence on farm with chunks

Is there an existing issue for this?

[X] I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?
At the moment we are supporting baking intermediate files as image sequences but we are not supporting deadline rendering of this job with multi chunks.
How would you imagine the implementation of the feature?
We need to support multi chunks on render farm of baking intermediate file.
Are there any labels you wish to add?

[X] I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:
there is none
Additional context:
No response
[cuID:OP-7107]

closing in favour of https://github.com/ynput/ayon-nuke/issues/3


Duplicate schema MySql

Using Entity Framework Plus Batch Update (and probably other operations too), having already defined mappings with Entity Framework mapping configuration (EntityTypeConfiguration), causes the following table name conflict: <schema_name>.<schema_name>.<table_name>.
The following screenshot shows the table mapping already done and it probably inserts the scheme there too.

Had to add a parameter that allows me to choose whether or not to use the schema in the table name, so that the schema doesn't appear duplicate.

I also don't know what the NonQuery method does with the interceptionContext but the command has a schema and the table name and the interceptor also has the schema.

Maybe you should add a boolean parameter to the CreateCommand method, or other similiar solution, so that the programmer can choose wheter or not to use the schema as a part of the table name.

Hello @leonardo7397 ,
Thank you, we will look at it probably this week.
Best Regards,
Jonathan

Hi @JonathanMagnan ,
Nothing yet?

Hello @leonardo7397 ,
I believe I forget to answer you,
The latest released v1.8.13 should already have this fix
If you have the chance to try it, let me know if everything works as expected.
Best Regards,
Jonathan


Please explain three Keys' meaning: subscripation Key, Key1 and Key2.

How to use these keys: which key I need use when I access the web?
e.g. WPF framework
which key I should use?
public partial class MainWindow : Window
{
// Translator text subscription key from Microsoft Azure dashboard
const string TEXT_TRANSLATION_API_SUBSCRIPTION_KEY = "my key, but which key?";
const string TEXT_ANALYTICS_API_SUBSCRIPTION_KEY = "my key, which key?";
const string BING_SPELL_CHECK_API_SUBSCRIPTION_KEY = "my key, which key?";
    public static readonly string TEXT_TRANSLATION_API_ENDPOINT = "https://api.cognitive.microsofttranslator.com/{0}?api-version=3.0";
    const string TEXT_ANALYTICS_API_ENDPOINT = "https://westus.api.cognitive.microsoft.com/text/analytics/v2.0/";
    const string BING_SPELL_CHECK_API_ENDPOINT = "https://api.cognitive.microsoft.com/bing/v7.0/spellcheck/";

    private string[] languageCodes;     // array of language codes

thanks

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 69823924-7def-6548-4f85-4ab9b8075d46
Version Independent ID: 9593dc98-656c-a73a-cbe6-ce201e497b11
Content: Microsoft Translator Text API V3.0 Reference
Content Source: articles/cognitive-services/Translator/reference/v3-0-reference.md
Service: cognitive-services
GitHub Login: @Jann-Skotdal
Microsoft Alias: v-jansko

@hmiao04 Thanks for the feedback! We are currently investigating and will update you shortly.

solved!
All keys are Key 1. But Bing key is different from others. you need create a new Bing key.
thanks any way.

 Key 1, Key 2, what the hell is that in terms of self-explaining variables..........


Fix syntax errors in 702

corresponding abaplint issue is https://github.com/abaplint/abaplint/issues/286


Extends 'spo site set' command with ability to set thumbnail. Closes #5495

Closes #5495

Thanks for your PR @reshmee011 !! We'll review it ASAP! 🎉

Thanks for the review @martinlingstuyl. Congrats for the nomination for ESPC inspire awards and have a great time there.

Merged manually, thank you 🥰


when I use Multi-GPUs to train my model，RuntimeError: Caught RuntimeError in replica 0 on device 0

when I use Multi-GPUs to train my model for Gobigger, the error happened: RuntimeError: Caught RuntimeError in replica 0 on device 0
The detail in https://github.com/opendilab/Gobigger-Explore/issues/3

when I use Multi-GPUs to train my model for Gobigger, the error happened: RuntimeError: Caught RuntimeError in replica 0 on device 0
The detail in opendilab/Gobigger-Explore#3

OK, I have noticed @jayyoung0802 and we will track this problem in Gobigger-Explore repo, so I close this issue.


Plans for releasing (open source | source open) the SPFx generator?

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

A lot of the things used by the generator can be traced back (thru their package.json files) where the original codebase lives. However the generator doesn't list it's parent repo nor is it shared on the NPMJS page for the generator.
While you can view the generated source that's installed in the global NPM package library, still not the main repo. A few questions:

Do you plan to mark the repo as public that contains the generator?
Will it be open source | source open? IOW... will you accept PR's and issues?
When? :)

Currently, the SharePoint generator is not open source/source open. We are working on a plan with the key feature being able to add sub generators so folks can contribute more templates. However, we also don't want to end up in a situation that when you install the generator you get 10+ templates. There needs to be a balance of officially supported templates vs. community contributed templates.
So, it is a work in progress. We don't have a timeline for it yet.

Opening the generator would be beneficial not only for additional subgenerators but also for new capabilities such as tests or build tasks that should be available after scaffolding a project. Additionally it would allow organizations to tailor the generator to their specific needs without necessarily contributing it back to the community (think organization-specific project templates, build tasks, etc.).

@chakkaradeep Makes sense... having to vet tons of template submissions would be a challenge. At a minimum having the repo published lets organizations / community fork & add their own. For instance, I could fork & add my own and if others wanted to use my version, then all good... just the disclaimer that it might not be current to what MSFT provides. Then again, the template doesn't matter, it's what you build.
But then, if there are popular ones you want to absorb into the master one, you could work with those people to submit a PR, yet the stated policy would be "source open", not open source. IOW, you can see & get our source, but won't officially accept PR's. Down the road you can soften that stance up if you want community templates.
IMHO, I doubt you'll see many PR submissions other than bug fixes / typo fixes. That was our experience with the https://github.com/officedev/generator-office at least.

@waldekmastykarz @andrewconnell  Valid points. Organization specific generators by itself is another big area. I believe there is lot to be thought about that in regards to expectations, versioning, support etc.,. At the same time, we don't want to limit that ability as well.
This is in our backlog and expect to talk about it post GA release.

Fair enough @chakkaradeep ... will the generator source repo be made public (even if no PR's are accepted) before / at GA?

@andrewconnell I don't believe so.

Thanks for the responses @chakkaradeep ... I'll consider this issue closed. Bummer the source won't be made available.
@frankchen76 It's more than that honestly. While I do prefer Angular MUCH more than React... there are a TON of opportunities to have a fork where someone who's learning SPFx could benefit from a lot more inline docs in what's generated as well as demonstrating some good practices (like removing the wildcards from the package.json package references). We'll just have to wait for MSFT to make the repo public.


Initial commit for trainer image

Description of the change

Open source sft-trainer Dockerfile and launch_training script
Related issue number

How to verify the PR

Was the PR tested

[ ] I have added >=1 unit test(s) for every new method I have added.
[ ] I have ensured all unit tests pass

Also the format linter failed, please try running tox -e fmt to fix errors found in launch_training script.


Cannot upgrade to Angular 16. Is Scully still actively maintained?

🐞 Bug report
Package "@scullyio/init" has an incompatible peer dependency to "typescript" (requires "^4.2.4", would install "5.1.6").
Description
Cannot upgrade Angular 15->16, without depending on legacy deps or --force.
🔬 Minimal Reproduction
ng update @angular/core@16 @angular/cli@16
💻Your Environment
Angular Version:
15

ng update @angular/core@16 @angular/cli@16

Scully Version:

    "@scullyio/init": "^2.1.41",
    "@scullyio/ng-lib": "^2.1.41",
    "@scullyio/scully": "^2.1.41",
    "@scullyio/scully-plugin-puppeteer": "^2.1.41",

🔥 Exception or Error

✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.

I'm guessing the answer is no?


Invite links for content

Is your feature request related to a problem? Please describe.
When a user is redirected to a video on LBRY they should have more incentives to interact/signup. Creators can help with this.
Describe the solution you'd like
A creator should be able to share a video similarly to how they can share/invite users through their channel.
For example this is how it looks when a creator invites someone over to their channel: https://lbry.tv/$/invite/@femalewrestling:2
This however doesn't work for videos: https://lbry.tv/$/invite/@johnnyringo:c/Elvis-Presley-was-a-Catfight-AND-Women's-Wrestling-Fan-it-Appears!:8 but it would be interesting/good if it did.

Users who visit content for the first time via a direct URL and don't have an inviter have one set to the channel. I think this is good enough for now.

Users who visit content for the first time via a direct URL and don't have an inviter have one set to the channel. I think this is good enough for now.


Compatibility with AutoHUD?

Currently, when running this with AutoHUD (a mod that automatically displays/hides your HUD), it doesn't trigger the HUD re-appearing until you press the second button in the sequence.
Would be nice if the first press of the sequence already brings up the HUD.
I realise this is probably an upgrade that AutoHUD can build compatiblity with for your mod as well, but perhaps there's a way for your mod to signal a false positive hotbar change, which AutoHUD would detect during the first button press?

will look into it

note to self on this: i'm guessing autohud injects into the hotbar selection, so just telling the game to re-select the same slot might work, although that might cause other issues

Another thought:
It also has a shortcut key for unhiding while the key is being pressed down.
Perhaps that can be triggered instead until the 2nd button is pressed? (If the mod is detected to be installed.)
(So it has a functions that can reveal itself without necessarily changing the hotbar selection.)

working in v0.3.0 (also, the default timings of segmented work so well with autohud, check it out :D)

Confirmed and enjoying it. Thanks!!! :D


Should infix work on enum case?

Compiler version
7ba88ad89396bc1e85f7d816c8782eb261d519d4
Minimized code

enum Expr1:
  infix case Add1[L, R](l: L, r: R)

Output
-- Error: /home/kpi/wiadro/infix_things.scala:2:8 ------------------------------
2 |  infix case Add1[L, R](l: L, r: R)
  |        ^^^^
  |        end of statement expected but 'case' found
-- [E145] Syntax Error: /home/kpi/wiadro/infix_things.scala:1:5 ----------------
1 |enum Expr1:
  |     ^^^^^
  |     Enumerations must contain at least one case
  |
  | longer explanation available when compiling with `-explain`
-- [E006] Not Found Error: /home/kpi/wiadro/infix_things.scala:2:2 -------------
2 |  infix case Add1[L, R](l: L, r: R)
  |  ^^^^^
  |  Not found: infix
  |
  | longer explanation available when compiling with `-explain`

Expectation
infix should be allowed on enum cases (that declare class types)
Other info
Other similar issues:

relevant discussion about infix enum: https://github.com/scala/scala3/issues/18933
discussion about supported infix constructs: https://github.com/scala/scala3/issues/17738

spree ?

@sjrd Do you know if we want to support this?

In an ideal world, List would be an enum with a case Nil and a case ::(head, tail). In that world, we would definitely want :: to be infix. So I think we want to support infix case definitions for class cases.

This issue was picked for the Scala Issue Spree of tomorrow, Monday, December 2nd. @KacperFKorban, @kasiaMarek and @hamzaremmal will be working on it.

As described here allowing infix (a soft modifier) before case changes the specification.


Allow exporting extension package without including C# runtime

Fix #95312

This doesn't fix #95312, it still includes the .NET DLLs when the issue's author explicitly only includes textures or other non-C# resources in the PCK.

https://github.com/godotengine/godot/issues/95312#issuecomment-2278478146
His project contains C# code. After testing, if the project does not contain C# code, C# related operations will not be performed.
https://github.com/godotengine/godot/issues/95312#issuecomment-2278797190
If the project contains C# code and exports the extension package when embed_build_outputs is turned on, without this PR, the C# runtime will also be included in the extension package. This PR will only include the project assembly when exporting the extension package. The C# runtime Should only be included when exporting the base game.
However, there is another situation that has not been solved: the project contains C# code, but the .cs file is not selected in the export file. At this time, the project assembly will also be exported. Perhaps we should add a judgment of whether there is .cs in the export file. ?


Add pgadmin autologin for dev

Something like
https://gist.github.com/alldevic/b2a0573e5464fe91fd118024f33bcbaa
And may be Makefile for shortcuts?

Hello @alldevic I am going to check your link and add improvements on the next commit.

Hello @alldevic these shortcuts has been added in this commit https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/commit/3269dc81124e1f0bca70c01b53e84560f9ef4c51


samples/modules/thrift/hello loadCertificateFromBuffer() needs 0 termination

loadCertificateFromBuffer() expects a buffer to be 0 terminated. The *.pem.inc do not end with a 0.
This means that the size of the pem file passed on to tls_credential_add() is random and too large.
In the tests this might be hidden by using (const char *)&cert_pem[0]?

Please use our bug template when reporting bugs. You need to edit this issue to include the information requested in https://github.com/zephyrproject-rtos/zephyr/blob/main/.github/ISSUE_TEMPLATE/001_bug_report.md

I have a quick fix for this on the way.
Thank you for reporting the issue @lucasvdp 👍


Ignore PDF documents opened from "data:"-URLs when handling internal links (bug 1803050)

This patch has been successfully tested in a local, artifact, Firefox build.
Please note: The only thing that'll no longer work for PDF documents opened using "data:"-URLs is middle-clicking on internal/outline links, in order to open the destination in a new tab. This is however an extremely small loss of functionality, and as can be seen in the bug the alternative (i.e. doing nothing) is surely much worse.

/botio-linux preview


Changes to date parsing in Routes.php

As discussed over email, here is a small patch to handle extended date strings. Went a little overboard with the DateTime::createFromFormat modifications, hope those changes are acceptable. If not, please reject with a trifle of feedback so that I will know what to adjust.

Hi @aduitsis - I'll have a look at this today / soon. I may edit the regex's a little.
Can you confirm that you submit this under the existing MIT license?

Hello @barryo, yes, same license the original software.

I suspect you might want to put \s+ instead of literal ' '-space or try to work out a more explicit pattern to get the date. Obviously no problem in any case.

Thanks @aduitsis - merged into master.
Let me know if it works for you and I'll stamp it as v1.0.5 and release.

Date parsing is okay afaict.
If you are going to make a release, could you please include a tarball like in 1.0.3 so that there won't be a need to issue composer update, etc?

Done: https://github.com/inex/birdseye/releases/tag/v1.0.5


Allow facilitators to kick users from a room

We want to allow a facilitator to kick another user from a room. This assumption is that the user's connection has dropped (however this may or may not be the case).
When a user, that is still connected vis SignalR, is kicked we should make the client do the following:
On Room State changes if the user is not in the state, we should clear any current context (data stored in their cookie) and re-pop the dialog. The site should behave as if this is a new user coming to the page.

This is handled, not by kicking them from the room, but by moving them to observer role.


⚠ ClamAV has degraded performance

In 4e95121, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 196 ms

Resolved: ClamAV performance has improved in e66e028 after 5 minutes.


invalid menu handle after passing debugger tests

Tests claim they passed, but this was left lying around.

JadeMethodListPresenter>>onViewOpen seems to be the culprit. Especially this line.
[methodSourcePresenter addMenu] forkAt: Processor userBackgroundPriority.
I'm not sure why the fork is necessary but, near as I can tell, adding menu items to the method source presenter isn't necessary as the items are already available in the method list menu.
As that's the only functionality we're adding in onViewOpened (and no menus seem to be harmed) removed the method in 3.0.20.


allow multiple simultaneous calls to LookupMetadata

LookupMetadata both reads from and writes to a raw go map. Concurrent calls to LookupMetadata are therefore unsafe, as concurrent reads from and writes to the same map are forbidden. This results in runtime panics in practice.
sync.Map is optimized for maps that only ever grow, and is safe to access concurrently. Switching the measurementRegistry to a sync.Map provides for atomic accesses.

Awesome - Go's equivalent of a C# ConcurrentDictionary - thanks!


update always returns Cmd.none

Based on my reading of https://github.com/elm-community/elm-datepicker/blob/4.0.0/src/DatePicker.elm#L230-L299, DatePicker.update always returns Cmd.none. This results in a confusing API because a consumer of the API has to implement extra code to deal with the returned Cmd -- even though it always ends up being a no-op. Would it be appropriate to remove the Cmd from the return value of the update function?

Good eye. The reason why we retain the Cmd is that it's common for opaque Elm components to have update: Msg -> Model -> (Model, Cmd Msg), which makes it idiomatic. I'm not zealously opinionated, and I see what you mean about the extra code, but here are the two reasons why I think we should keep it:

init returns a Cmd (an important one!) so we've introduced the idea that this component has some kind of opaque Cmd-based lifecycle.
update returns a 3-tuple, meaning that it's already necessary to unwrap the return value of update`. At that point, retaining the second member just for consistency with other components seems low cost.

Does that seem reasonable? Was the intent to merely ask the question, such that I should close this?


How to remove CollisionHandler?

Seems there was a cpSpaceRemoveCollisionHandler at some point, but not anymore.

Removing collision handlers always had a lot of issues. There were a lot of questions like: "Should separate functions still be called after removing a handler?" The answer often depended on the use case. In some cases, people expected begin/separate events to always be matched, and in others they were removing the handler because they wanted to cancel the separate callback. It got even more complicated when adding the wildcard handlers, and I decided to axe the remove function,
So this is actually poorly documented, but cpSpaceAddCollisionHandler returns the handler for that collision pair type, and only creates a new one if it doesn't already exist. So if you want to remove a collision handler, you can simply replace the callbacks with do-nothing functions or copy the default handler over the top of it. This means that it's up to you to decide the behavior you want and those unanswerable questions can answer themselves.


Add an FAQ page to the Redux docs

Here you go.  I created a new branch and added the completed contents of the FAQ page in a single commit, since I don't think all 49 individual commits really need to go into Redux's permanent history :)

Any other comments or concerns besides those?

It might be nice to have a linked table of contents at the top. Not sure it's something that should stop the initial pull though.

I can make the "SO" -> "Stack Overflow" and "creator of React" edits easily enough, I've just been waiting to see if you have any other comments or concerns so I can address them all at once.  I know you've been busy, but can you let me know if you have any further changes I should make?  Thanks!

Hi, @gaearon .  Went ahead and made those suggested tweaks. Anything else you'd like to see right now, or is it ready to go ahead and merge?  I'd really like to get this in so I can start pointing people to the generated docs page rather than my own repo fork.

This is 👌, well done @markerikson!

@samsch : I'm totally fine with potential edits (TOC, maybe splitting into sub-pages, etc).  Just want to get the initial version merged in first, and then it's totally up for improvements by anyone who wants to submit them.

Lets merge this and iterate on it with PRs!

Sweet.  Does someone have to re-publish the docs for this to show up?

One second, I'll see if I can do it...

:tada: http://redux.js.org/docs/FAQ.html :tada:

Boo.  Yah.
@gaearon , @mxstbr , thank you very much.

Amazing stuff!


www.minecraft.net blocked

yeah www.minecraft.net blocked

Please keep a list of the websites you are encountering and then submit a list of 10 more.
In the meantime manually whitelist ones you'd like to allow.


Add support for gif detection

Currently, the renderer executes all draw instructions, which works for most cases since the majority of NSFW are still images, but some are gifs, which makes the final result a blurry mess to the analyzer.
Add support for that, while avoiding potential abuse.

No need for now.


Temperature notebook is displaying wrong labels

@rsignell-usgs just reported that the sst notebook is displaying wrong labels for the models:

ESPRESSO should not cover the outer banks.

Seems to be right on the border, but it is correct.
http://nbviewer.ipython.org/urls/gist.githubusercontent.com/ocefpaf/41e037957d3ebd9abeb2/raw/espresso_test.ipynb


Portal issue in Attack Ship

Just before you enter the bridge, the lift portal seems to break. It works when you enter the lift, but exiting makes the player fall into the void into the hangar below.

Video:
https://youtu.be/FFKq9rrbYps

Update: Just tested on #53 and the issue still occurs.

This might be fixed as of latest few commits.

Okay, now it should be fixed for real.


Strange keyof behavior with combination of Partial and Record.

TypeScript Version:  3.2.1

Search Terms:
keyof, Record, Partial, ...
But actually, I don't know how to exactly express this problem in the search box...
Code
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.

interface ITest {

    a: string;
}

type PartialRecord<K extends keyof any, T> = {

    [k in K]?: T;
};

class SlotTest<ES> {

    private _slots1: Partial<Record<keyof ES, ITest>> = {};

    private _slots2: Record<keyof ES, ITest> = {} as any;

    private _slots3: PartialRecord<keyof ES, ITest> = {};

    public doTest1<K extends keyof ES>(name: K): void {

        /**
         * It works well in v2.9.x, but fails in v3.2.1.
         * [ts] Type '{ a: string; }' is not assignable to type 'Record<keyof ES, ITest>[K]'. [2322]
         */
        this._slots1[name] = {"a": "ggg"};
    }

    public doTest2<K extends keyof ES>(name: K): void {

        /**
         * This works fine.
         */
        this._slots2[name] = {"a": "ggg"};
    }

    public doTest3<K extends keyof ES>(name: K): void {

        /**
         * This works fine.
         */
        this._slots3[name] = {"a": "ggg"};
    }
}

Expected behavior:
When I used v2.9.2, the code works well.
Actual behavior:
But, when I upgrade to v3.2.1, it fails with compilation error message like this:
Type '{ "a": string; }' is not assignable to type 'Record<keyof ES, ITest>[K]'.

Playground Link:
Related Issues:
https://github.com/Microsoft/TypeScript/issues/18538 maybe

This seems reasonable; assigning any concrete value to a generic is almost certainly incorrect. @weswigham any reason you believe this is a bug?

Oh, I see, the formed object type isn't generic.

@DanielRosenwasser Yes. What makes me confused is that PartialRecord<K, V> is okay but Partial<Record<K, V>> does not.

A simplified repro:
function foo<T, K extends keyof T>() {
    let x: Partial<Record<keyof T, string>>[K] = "hello";  // Error, but should be ok
}

So, the reason it worked with 2.9.x is that we had some serious holes in checking of assignments to indexed access types--we'd permit assignments of pretty much anything. We are now being more thorough, which is uncovering other design limitations. In this particular case, the limitation is that we do not simplify indexed accesses applied to mapped types beyond one level because it could cause infinite recursion when mapped types circularly reference themselves. However, I think we have a fairly compelling example here of why we ought to simplify at least a few levels deep.


File “pubmed20n0001.xml.gz”  doesn’t exists.

Thanks for your sharing your work!

When I run the bio_script/data/download_pubmed.sh, I found I can't wget the data. Can you give me some suggestions?

https://lhncbc.nlm.nih.gov/ii/information/MBR/Baselines/2020.html

Wow, thanks for sharing the link of the data.


drawing a rectangle[Bug]

Version
lates
Steps to Reproduce

Quick Start

Current Behavior
I'm trying to make several rectangles on the chart, I tried by drawing shapes, but there was a problem with getting the y coordinate, the convertToPixel(value, finder) function returns the x coordinate, and y is null. maybe somehow you can create them through the CreateOverlay function? Can someone show me a code example where the input data is the price value and timestamp?
Expected Behavior
rectangle with the possibility of choosing the requested color
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

chart.applyNewData(
  [...], false, () => {
    chart.convertToPixel(...)
  }
)


Added support custom domains for  images

added support for custom domain for images
to use custom domain you should set config param nextImageExportOptimizer_imagesDomain

@Niels-IO  - 1 month without any review...

Hi @mihailShumilov,
Thanks for the PR. As this is not my main work, things might take their time.. I will have a look but it might take until May.

Hi @mihailShumilov, Thanks for the PR. As this is not my main work, things might take their time.. I will have a look but it might take until May.

If you want - you can add me as a maintainer/collaborator - I can help you with this project

I was just looking at implementing support for this myself. Have you considered reading the assetPrefix value from the next config?

Look I don't wanna be rude here but this is 18 lines of code, can we review this?

Hi there,
Can you please explain the use case for using custom domains? Regarding assetPrefix: The Next.js documentation specifies:

While assetPrefix covers requests to _next/static, it does not influence the following paths:
Files in the public folder; if you want to serve those assets over a CDN, you'll have to introduce the prefix yourself

So I think this would add the need to handle statically imported images and string paths differently if I were to implement assetPrefix. Also assetPrefix would be a global setting for all assets.
This PR is also mixing two added functionalities: custom image domains and some very user specific custom logic for mobile src's. The mobile src conditional should live in user land not inside this package.

Just thought I'd add to this - i have a very similar use case to the above - i had a requirement of having the images served with the assetPrefix which is not an actual folder but rather from akmai routing.
Not piling in or anything but its not just a single edge case.


remove highlight from last song in playlist when it ends

Also, highlighted first song in playlist after removing highlight from last song.


Useful Features & Fixes

Adds a bunch of features that match Twitter

Why are you hardcoding the width and height when it should be determined by pictureSize?

Why are you hardcoding the width and height when it should be determined by pictureSize?

I have removed this since I was having screwy with next.js image components

Why are you hardcoding the width and height when it should be determined by pictureSize?

I have removed this since I was having screwy with next.js image components not respecting the square dimensions

Then put flex-none on the component.

Why are you hardcoding the width and height when it should be determined by pictureSize?

I have removed this since I was having screwy with next.js image components not respecting the square dimensions

Then put flex-none on the component.

I have fixed it by import next/legacy/image instead.

I see you've upgraded the project to Nextjs 14. Are you gonna migrate to the app router?

I upgraded the code as is, and fixed the breaking layout changes, so probably not.

image sizing is so pain ngl

Please just do flex-none.

You're using "!" And forcing styles a lot. In my experience, doing that is a band-aid fix and never really fixes the problem. Try finding a more optimal solution?
There's a few questionable changes you've made, some that I think weren't even a problem to begin with. Maybe if you could tell me where your head is then I could help you a bit?
It's cool that you upgraded the project to Nextjs 14 but since you're not migrating to app router I've no idea why you've done that.

I'm just gonna close this I have no idea why I did it either way


Allow special handling of init methods

When rendering documentation using Sphinx autodoc, the __init__ method is handled in a special way. The way it is handled depends on the value of autoclass_content.
Consider the following simple class:
class Foo:
    """
    A class for handling all sorts of foos and bars.

    Because foos and bars are complicated enough.

    """

    def __init__(self, bar):
        """
        Args:
            bar: the bar to handle using foo.

        """

If autoclass_content is set to both, this seems very legitimate. However, pep257 complains about this:
$ pep257 spam.py
spam.py:17 in public method `__init__`:
        D400: First line should end with a period (not ':')
spam.py:17 in public method `__init__`:
        D205: 1 blank line required between summary line and description (found 0)

Instead, autoclass_content can be set to class and everything can be moved into the class docstring.
class Foo:
    """
    A class for handling all sorts of foos and bars.

    Because foos and bars are complicated enough.

    Args:
        bar: the bar to handle using foo.

    """

    def __init__(self, bar):
        ...

But this will trigger the following warning:
spam.py:20 in public method `__init__`:
        D102: Missing docstring in public method

And the last variant:
class Foo:
    def __init__(self, bar):
        """
        A class for handling all sorts of foos and bars.

        Because foos and bars are complicated enough.

        Args:
            bar: the bar to handle using foo.

        """

triggers this:
$ pep257 spam.py
spam.py:9 in public class `Foo`:
        D101: Missing docstring in public class

As a workaround I've applied this:
class Foo:
    """
    A class for handling all sorts of foos and bars.

    Because foos and bars are complicated enough.

    """

    def __init__(self, bar):
        """
        Initialize the foo.

        Args:
            bar: the bar to handle using foo.

        """

But I think that's simply very ugly.
I think __init__ should not be treated as a magic or public method, but as a separate use case.
Additionally I think it makes sense to add a rule to forbid a docstring on __init__ methods. This makes sense when using the class value for autoclass_content, which is the default.

Would a first-pass solution be to allow a switch for documentation type? The default (current) could be __init__, the one for the last version would be class, and the first one you mention could just be boht for the concatenation of the two. This hopefully wouldn't be too hard to implement.

I have the same issue. A solution would be very nice.
@remcohaszing thanks for reporting.

Maybe someone should post that the issue is solved for the autoclass_content = 'class' case ([autoapi_python_class_content](https://sphinx-autoapi.readthedocs.io/en/latest/reference/config.html#confval-autoapi_python_class_content) in the case of AutoAPI), by introducing D107.


Bonsai times out when opening

17 | timed out | Foraging.py | _ConnectBonsai | line 825 | 3C, ephys3
This can probably be resolved by changing the way we open bonsai so that we don't just wait for bonsai to open

Partial overlap with https://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/283

@alexpiet is this issue still relevant or is this captured by autogenerated issue?

captured by autogeneration


Change cellrank default PAGA calculation recommendation

Hey,
nothing short of amazing work @Marius1311 and @michalk8.
Not an import feature request, but thought I'd bring it up nevertheless.
When attempting to
cr.pl.cluster_fates(adata, mode="paga_pie", basis="umap", cluster_key="leiden_0_5")
cellrank tells me to use scvelo.tl.paga which only works when velocity data is actually available. However, in my case it is not (using EHR data + connectivity kernel).
It works flawlessly with scanpy's paga
ep.tl.paga(adata, groups="leiden_0_5")
Request:
Formulate the error message in such a way that people without velocity information will run scanpys paga computation.
Cheers

Hi @Zethson, thanks for the suggestion!

Formulate the error message in such a way that people without velocity information will run scanpys paga computation.

Sounds good (would maybe add arg flavor: Literal['scanpy', 'scvelo'] = 'scvelo with the error message you suggest.

closed via #799


project is working

hey, please follow the proper naming convention for the project folder.
Please Update.


Refactor: Repo uninstall

CI revealed issues with uninstalling repos. A key cause was dependencies between objects. The old routine tried to delete objects continuously until all dependencies where resolved. However, packages were included in this loop although they always must be deleted last.
zcl_abapgit_objects->delete now separates the object list into packages and others and processes them one after the other.

they must be deleted last => it sounds like it can be solved by fixing the sequencing? but is implemented by adding a special case?

packages were last in the dependency order, but the old routine looped over all objects several times which disrupts the order. it tried to drop packages although other objects (which had dependencies) still existed.
if - one day - each object can specify its full dependencies, we can revisit this to have a combined graph.

well, that means there is a general problem, which will occur with more different objects than packages?
In that case I think this PR will make it more difficult to fix the original issue

need to determine which object types cause the problem with uninstall

looks like only IOBJ and ODSO are impacted due to dependencies between objects of the same type. Will try to find different solution.


Implement reading user config from file

This mostly piggybacks off package config parsing. Token reading from
the environment is kept for backwards compatibility, as well as to allow
overriding.
Closes #138

Can one of the admins verify this patch?

[test]

[test]

We also need tests and documentation for this. @ernestask would you be interested in providing those? If not, we can wrote them ourselves.

Yeah, I can do that. Not sure when, but sometime this week.

I realized this would be so handy for our service deployment. I'm going to merge today and write the docs & tests in a subsequent PR. @ernestask thank you for your contribution!

All right, thanks (and sorry for the inconvenience)!

@ernestask we're really happy for your contribution! No worries about the docs & tests: I'm glad I could try it right away.


Unable to Sign in to VLC plugin

LoupeDeck Version <IP_ADDRESS>56
Windows 10 21H2
Browser: Firefox version 120.0.1 (64-bit), ad block plugins disabled.
VLC Config:

Firefox Windows:
Sign in shows successful:

A tab is opened after typing the password:

LoupeDeck still shows I need to sign in:

Resolved by reinstalling Loupedeck. The original installation must have been corrupted somehow.


1.5.0 generates broken CLI request builder

In 1.5, kiota generates a request builder for the quickstart that will not compile.
\kiota-samples\get-started\quickstart\cli\src\Client\Posts\PostsRequestBuilder.cs(24,63): error CS0161: 'Posts
RequestBuilder.this[string].get': not all code paths return a value [C:\Source\Repos\kiota-samples\get-started\quickstart\cli
\src\KiotaPostsCLI.csproj]

Offending code:
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
public PostItemRequestBuilder this[string position] { get {
    var urlTplParams = new Dictionary<string, object>(PathParameters);
    if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("post%2Did", position);
} }

This method wasn't present at all in the 1.4 generated client, and I verified that removing it fixes the issue (and the client still works).

This seems to be a side effect of #3058. We should probably add a refiner method for CLI that removes those backward compatible indexers. @calebkiage do you need indexers at all in the CLI generation?

put together #3091

Hey @bawet, I do use indexers but in a different way than C#. I create a list of commands whenever I encounter an indexer. See https://github.com/microsoft/kiota/blob/main/src/Kiota.Builder/Writers/CLI/CliCodeMethodWriter.cs#L65

Thanks for the additional context. Yes we now have 2 indexers in some cases to avoid breaking binary compatibility in CSharp. One with the specific type, and another still with string and tagged as obsolete.


Callable pipeline

It will be nice to make the pipeline object callable instead of having to call .augment() (as are the torchvision transforms or the imgaug transforms).

Hi Erik Koynov,
Thanks for the suggestion. We will look into this.

This should be fixed in this pull request now:
https://github.com/sparkfish/augraphy/pull/240


python310Packages.bless: 0.2.4 -> 0.2.5

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 209208 run on x86_64-linux 1

2 packages built:

python310Packages.bless
python39Packages.bless

Result of nixpkgs-review pr 209208 run on x86_64-linux 1

2 packages built:

python310Packages.bless
python39Packages.bless


Infinite recursion warning

What happened?
Found a warning pointing out an infinite recursion in Utilities/formatToEthereumUnits. Must be fixed.

It appears that one overloaded formatToEthereumUnits function was commented and that created a recursion.
Also there's a formatToPrecision that is commented as well. Must check for recursion.
What are the steps to reproduce?
None. It's an IDE warning.
What is the expected behavior?
No warning and no infinite recursion.
What is the error thrown?
No
What's the stack trace said?
Empty
OS version
Irrelevant
Library version
https://github.com/web3swift-team/web3swift/blob/d8dd9a2614d443d58780e3f190443adbdb5c499e/Sources/Core/Utility/Utilities.swift

Fixed in #668


FIO high concurrency read on Fuse stuck

Alluxio Version:
master
Describe the bug
Running FIO read against AlluxioFuse stuck under high concurrency. 64 processes on 64 1G-files.
To Reproduce
create 64 1G-files in Alluxio Fuse mount point. All files cached in Alluxio.
Execute `fio --name=x --filename=::...: --rw=read --bs=1M --numjobs=64 --size=1G --direct=1 --runtime=2m --time_based --group_reporting
fd in the debug log ranges from 481 to 1645 inclusive, so 1165 files are opened at that same time.
jstack:
fuse_jstack.txt

https://github.com/Alluxio/alluxio/commit/e32bada550c76955b0e936dc003d140d7bba914a
may help fix the issue

The reason is the same as https://github.com/Alluxio/alluxio/issues/15828 that BlockWorkerClient are used up, specifically:

Each client open at most 64 files and we have 64 clients. The reading is in round robin manner, so at most 4096 files are opened at the same time. We only have 1024 BlockWorkerClient on the client side.
Each AlluxioFileInStream has one BlockInStream, which has one GrpcDataReader, which has one BlockWorkerClient.
Since the reading is in round robin manner and the buffer size is only 1M, the BlockWorkerClient will not be released until the full block is read. after reading the 1M from the first 1024 files, the 1025th file's AlluxioFileInStream needs the next BlockWorkerClient, which we don't have any more, thus stuck.

The solution is to sett block size to a larger value, increase the number of BlockWorkerClient, or limit how many files can be opened by fio through fio's parameter, or a combination of the above solutions.
The stuck behavior without any warning/error log is not desired. Users won't know what is happening. Open issue https://github.com/Alluxio/alluxio/issues/15893 to track the fix.


Web Editor can now save metadata changes

Refactored API out into its own file
Implemented metadata save from web editor

%metadata_yaml% editor
There is a web server editor.
To run the editor:

Add webserver.yml next to genweb.yml
Execute python3 -m genweb.webserver
Point your browser at localhost:8000

Here are the current features of the editor:

The metadata type selector should change the appropriate fields shown in the editor for the chosen type
Clicking the 🔎 button next to the Identifier field will allow you to search and load existing metadata
If the Identifier field is an existing metadata identifier, the submit button changes from Add to Update
Clicking the 🔎 button next to the People field will reveal a people search
Typing in the people search will filter the people ids
Clicking on a person in the filter list will display the person and their family
This will allow copy/pasting of people ids into the People field
Clicking the Save or Update button will create a new metadata file next to your existing one

This closes #36

@pagerk The new editor will create timestamp patch-files on your metadata (won't modify the original). When it loads, it loads the original and then applies the patch files. Give it a try and let me know what you think.

@pagerk I found some bugs I'm working on. I'll re-publish this draft PR once I fix them

@pagerk ok, bugs fixed


[bug] Segmentation fault happened when it loops

#include <iostream>
#include "co_context/io_context.hpp"
co_context::task<int> func() { co_return 6; }
int main() {
    co_context::io_context ctx;
    ctx.co_spawn([]() -> co_context::task<> {
        while (true) {
            auto x = co_await func();
            std::cout << x << std::endl;
        }
    }());
    ctx.start();
    ctx.join();
}

在这种情况下，会发生segmentation fault.
The report of valgrind
==146874==
==146874== Process terminating with default action of signal 11 (SIGSEGV)
==146874==  Bad permissions for mapped region at address 0x5474FF8
==146874==    at 0x4EE8D40: fwrite (iofwrite.c:31)
==146874==
==146874== HEAP SUMMARY:
==146874==     in use at exit: 75,160 bytes in 5 blocks
==146874==   total heap usage: 65,501 allocs, 65,496 frees, 3,742,936 bytes allocated
==146874==
==146874== 304 bytes in 1 blocks are possibly lost in loss record 3 of 5
==146874==    at 0x4848A13: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==146874==    by 0x4012CE9: calloc (rtld-malloc.h:44)
==146874==    by 0x4012CE9: allocate_dtv (dl-tls.c:375)
==146874==    by 0x4012CE9: _dl_allocate_tls (dl-tls.c:634)
==146874==    by 0x4EFF259: allocate_stack (allocatestack.c:423)
==146874==    by 0x4EFF259: pthread_create@@GLIBC_2.34 (pthread_create.c:652)
==146874==    by 0x4CE9438: std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_deletestd::thread::_State >, void (*)()) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.32)
==146874==    by 0x10DC82: co_context::io_context::start() (in /home/tpa/Heimerdinger-Lab/Karma/build/benchmark/benchmark)
==146874==    by 0x10B605: main (in /home/tpa/Heimerdinger-Lab/Karma/build/benchmark/benchmark)
==146874==
==146874== LEAK SUMMARY:
==146874==    definitely lost: 0 bytes in 0 blocks
==146874==    indirectly lost: 0 bytes in 0 blocks
==146874==      possibly lost: 304 bytes in 1 blocks
==146874==    still reachable: 74,856 bytes in 4 blocks
==146874==         suppressed: 0 bytes in 0 blocks
==146874== Reachable blocks (those to which a pointer was found) are not shown.
==146874== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==146874==
==146874== For lists of detected and suppressed errors, rerun with: -s
==146874== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[1]    146874 segmentation fault (core dumped)  valgrind --leak-check=yes ./benchmark

原因估计是 gcc 在某些情况下没有使用 indirect tailcall 来实现对称转移，导致的栈溢出。可以参考 Bug 100897 - Symmetric transfer does not prevent stack-overflow for C++20 coroutines
如果一段时间内我找不到 gcc 的解决办法，也可以通过修改 task 的对称转移来缓解栈溢出问题。


Use UUIDs as session IDs

We have a restriction because we're using the same public key we use while communicating with all our peers.
We should refactor to have an execution flow like the following one:

User A creates a new session: whatever.com/b3e2757a-d31f-41f7-ba3b-d0d18fd2fd46
User B tries to connect to the user A session
User A sends out his/her append only log public key to user B in order to replicate the DB

Good point Mr. @santakadev 🎩🙂
UUIDs are specifically designed with these concerns in mind, so they will be more than enough 🤟
How would you suggest to approach the implementation of this issue?
I mean, it would be as simple as specifying the UUID generated while creating a new session, or received by URL while joining an existing one, as the hypercore ID while constructing the ChangeLog?

Thinking about the possible implementation I've noticed that if we implement this we could introduce a security hole.
The thing is that right now, the session owner has to wait to hypercore being initialized to get its public key for use it as session ID.
This public key is so important, because hypercore owner will sign the database with its private key (that it's generated automatically when hypercore is initialized), and the rest of nodes will use the public key as a signature to ensure that writes comes from the owner.
If we use an UUID as session ID, we have the some advantages

URLs will be shorter and that
it can used as the channel for signalhub, so we can establish WebRTC connection without waiting to hypercore being ready.

But the problem is that peers need to receive the public key for BD replication / validation. The first thing that has come to my mind is: "well, when a peer is connected the first thing we should do is send to it the public key"
And here is the security hole. With the current implementation, when someone shares with you the session ID via Whatsapps for example, you are trusting that that key belongs to that person. So now, you are using that key as a signature for replication so you trust that that DB belongs to that person.
But, what happen if we wait for connection establishment for key sharing? Well, a malicious node, can modify P2P Editor in order generate its own DB for example, and share that fake key with peers is connected to. So now, if you trust in that UUID, you can't guarantee that the key/signature you are receiving belongs to session owner, meeek!
A possible solution is to have a centralised server in which all nodes trust that maps UUIDs to signatures. But, that makes architecture more complex, so I prefer not to implement this solution.
For now, I don't know another solution in order to implement this.

Good point. Let me describe a step by step example in order to figure out if I've understood you properly 👼
Current implementation (sharing Hypercore public ID as session ID)
Happy path

User A opens a new session
P2P Editor generates a Hypercore public key
P2P Editor redirects user A to the URL corresponding to that Hypercore public key. That is, we're reusing the Hypercore public key as the session ID
User A shares the session URL with user B
User B joins the session
P2P Editor connects to the Hypercore database using the session ID as the Hypercore public key

Malicious path

Same from 1 to 5
However, in this case we would be having a Man In The Middle (MITM) attack, so someone can intercept the Hypercore public key while B connects to A.
The MITM has a modified version of P2P Editor where it connects all the received connections to a different Hypercore DB
User B thinks to be seeing the user A session, but it's seeing the MITM one without noticing

Conclusion

Am I missing something?
Why the scenario you're concerned about couldn't happen with the current implementation?
Is this the worst case scenario?

Am I missing something?

You get the point 👍
Just to clarify:
When you are connecting via webrtc-swarm, you can't ensure who is the session owner, so you will get the public key from any peer.
Any node with a simple code change can alter the session of nodes that get the key from it. That nodes will also share the invalid key with new nodes connecting to the swarm.

Why the scenario you're concerned about couldn't happen with the current implementation?

Right now, this attack is not possible, because if someone generates a new hypercore DB an replicate its data, the peers recieving that data will use the public key that they own from the very begining to check the signature of the DB. They can ensure that data comming from that peer does not belongs to the public key they trust.
I think that signature checking is automatically done by hypercore. We should confirm it. :grimacing:

Is this the worst case scenario?

I think so.

From https://www.datprotocol.com/deps/0002-hypercore/

To provide a persistent identifier for a Hypercore feed, we generate an asymmetric keypair. The public key of the keypair is used as the identifier. Any time a new root hash is generated, it is signed using the private key. This signature is distributed with the root hash to provide verification of its integrity.

I don't have enough knowledge about this topics neither consider this issue as a priority yet, do you?
Would you agree on removing this issue from the 1.1 milestone in order to do not be blocked by it?