Fix tag on UI image

The upstream UI image gcr.io/elcarro/oracle.db.anthosapis.com/ui does not have a latest tag:
$ curl -s https://gcr.io/v2/elcarro/oracle.db.anthosapis.com/ui/tags/list | jq '.tags'
[
  "v0.0.0-alpha",
  "v0.1.0-alpha"
]

It results in an error when installing the UI as per https://github.com/GoogleCloudPlatform/elcarro-oracle-operator/blob/main/docs/content/monitoring/ui.md
Failed to pull image "gcr.io/elcarro/oracle.db.anthosapis.com/ui:latest": rpc error: code = NotFound desc = failed to pull and unpack image "gcr.io/elcarro/oracle.db.anthosapis.com/ui:latest": failed to resolve reference "gcr.io/elcarro/oracle.db.anthosapis.com/ui:latest": gcr.io/elcarro/oracle.db.anthosapis.com/ui:latest: not found

Following the convention in operator.yaml, here we change the tag to v0.1.0-alpha.  With this change , the UI installs successfully:
$ kubectl describe pod -n ui | tail
 Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                              node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
 Events:
   Type    Reason     Age   From               Message
   ----    ------     ----  ----               -------
   Normal  Scheduled  25s   default-scheduler  Successfully assigned ui/ui-659665f8cb-5wlrz to 4633612-svr004
   Normal  Pulling    24s   kubelet            Pulling image "gcr.io/elcarro/oracle.db.anthosapis.com/ui:v0.1.0-alpha"
   Normal  Pulled     23s   kubelet            Successfully pulled image "gcr.io/elcarro/oracle.db.anthosapis.com/ui:v0.1.0-alpha" in 1.341448841s
   Normal  Created    23s   kubelet            Created container ui
   Normal  Started    23s   kubelet            Started container ui

/assign @aravindous

Thanks @aravindous ;  I'll need your help to merge this change as well.

I've now merged it.


Inference code

Can you provide me with the inference code for text to video?

Can you provide me with the inference code for text to video?

Please run bash sample /t2v.sh

oh thank you so much


EFS Mounts not auto mounting

The EFS mounts used by the arcgis server and arcgis data store as part of the arcgis-enterprise-linux deployment should automatically mount the efs file share following EC2 restarts. After stopping my EC2 instances friday and turning them back on Monday, I had to manually mount the /mnt/efs directory to my primary and standby machines in order for the environment to function correctly. I initially found this problem because of an error with webgisdr import not being able to reach the fileshare:

After doing some research on the topic, it appears there may be options via modifying the fstab file to include the _netdev option, suggested here: https://repost.aws/knowledge-center/efs-fix-auto-mount-on-reboot-ec2. It is further defined here by Amazon and falls in-line with Amazon's recommended options to include with NFS mounts: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html#:~:text=_netdev – When present in %2Fetc,your %2Fetc%2Ffstab file.
Here are a few screenshots of my workaround to get ArcGIS Server back up and running:

EFS wasn't mounted. Checked /etc/fstab to see if it was listed; found it wasn't in this file:

Mounted EFS using command from SSM document "arcgis-enterprise-nfs-mount"
Verified the mount was visible and I could see the ArcGIS Server and ArcGIS Data Store directories that are stored in the EFS filesystem

This fix:

Installs amazon-efs-utils package on AMIs in arcgis-server-linux-aws-image and arcgis-enterprise-base-linux-aws-image workflows.
Changes arcgis-server-linux-aws-infrastructure workflow to use new arcgis.common.efs_mount Ansible playbook instead of an SSM document. (That also removes dependency of arcgis-server-linux template on Chef-specific resources created by site-automation-chef-aws workflow. See #94).
Renames SSM document "nfs-mount-" to "efs-mount-", changes input parameter FileSystemDNS to FileSystemId, makes the SSM document use "efs" mount type supported by amazon-efs-utils package, and adds the EFS mounts to /etc/fstab file.
Changes arcgis-enterprise-base-linux-aws-infrastructure workflow to use new  "efs-mount-*" SSM document.


When I try to filter a record list on a number field, there is no place in the filter dialog to enter the desired number.

Is there an existing issue for this?

[X] I have searched the existing issues

Version of Corteza
2023.9.7
Current Behavior
I am attempting to filter a Record List on a number field, but the filter dialog for that column does not have a place to enter the number.  See image below.

Expected Behavior
A field for entering the number to be filtered on should appear in the dialog box along with the field and comparison selection boxes.
Steps To Reproduce

In Corteza version 2023.9.7
Create a module with one or more number fields
Create a record list for the module including at least one of  the number fields.
Attempt to filter the list using the filter icon in the column header.

Environment and versions
OS - Ubuntu LTS 22.04
Browser - Google Chrome 126.0.6478.185 (Official Build) (64-bit)

Anything else?
No response

Hey thanks for reporting this, not sure when this broke but it has been fixed: https://github.com/cortezaproject/corteza/commit/d619a4273e513548f31db23bad895ef8c6eb7725
2023.9.7 version has been updated with the fix so you can pull your container to update it.


Refactor the CONTRIBUTING.md file.

Thank you for your time and feedback, ruru-m07! I adjusted the spacing because I believe it enhances the beauty and readability compared to the previous version. I've attached two images showing the before and after. Let me know what you think!
Old:

New:

@L3on06 new smaller changes look's perfect


From Mock to Firebase

Create a Firebase BDD - link it to IBS.
Goal? User management - base for the Authentification

e732365add4d4263406c61b23093ed10c9a61750 firestore service for document access && username availability tested with these functions


Doubt regarding heading angle and box sizes !!

@GitBoSun @zaiweizhang
Hi,
In file sunrgbd/sunrgbd_detection_dataset_hd, it is mentioned in comments that, sizes l,w,h are half the box dimensions and angle is measured from +x to -y.
While, in file utils/show_results_sunrgbd.py, the box sizes l,w,h seems to be taken as equal to the predicted/gt box dimensions.
Please comment on exactly what sizes l,w,h, and the heading angle represent in the input labels and in the predicted labels by the model.

Hi,
Sorry for the confusion. In our experiments, we use full size rather than half size.

@GitBoSun
Hi,
Thank you very much for your reply. I am really sorry for the inconvenience again but can you also please comment about the heading angle.
In the file sunrgbd/sunrgbd_detection_dataset_hd (line 17), the comment is as follows:-  "The heading angle is a rotation rad from +X rotating towards -Y. (+X is 0, -Y is pi/2)"
But I think the angle is measured from +X rotating towards +Y. (+X is 0, +Y is pi/2)"
Please comment on which is correct?

To all of those having similar doubt like me, my conclusion is as follow:
If you are preparing your custom dataset, then in the labels, the sizes l,w,h should be half of the actual dimensions of the box. And the heading angle should be +X rotating towards -Y. (+X is 0, -Y is pi/2).

Hi praj441,
Sorry for the late reply. I thought the question is still about utils/show_results_sunrgbd.py. Let me assign this question to me.
There is confusion.
We do use half of the actual dimensions of the box for SUNRGBD, and use the full dimensions for ScanNet. Your conclusion is correct.
Thanks again for your interests in our work. I will definitely try to get back to you quicker next time.
Zaiwei

@zaiweizhang
Thank you very much for confirming!


Race condition in phase 5

Tests for rules in phase 5 are subject to a rare race condition, as exhibited in the following log for tests 980170-2 and 980170-3 (line breaks between rules added for readability):
[Sat Mar 18 16:47:21.474075 2023] [security2:error] [pid 193:tid<PHONE_NUMBER>22880] [client <IP_ADDRESS>:39150] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "^.*$" at REQUEST_HEADERS:X-CRS-Test. [file "/etc/modsecurity.d/owasp-crs/crs-setup.conf"] [line "737"] [id "999999"] [msg "04709bb3-6b2b-477d-aa14-76a89363b2dd"] [tag "modsecurity"] [hostname "localhost"] [uri "/status/200"] [unique_id "ZBXrGVXqtKqlnATxdUEg7QAAANg"]
[Sat Mar 18 16:47:21.476378 2023] [security2:error] [pid 193:tid<PHONE_NUMBER>49120] [client <IP_ADDRESS>:39164] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "(?:^([\\\\d.]+|\\\\[[\\\\da-f:]+\\\\]|[\\\\da-f:]+)(:[\\\\d]+)?$)" at REQUEST_HEADERS:Host. [file "/etc/modsecurity.d/owasp-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "761"] [id "920350"] [msg "Host header is a numeric IP address"] [data "<IP_ADDRESS>"] [severity "WARNING"] [ver "OWASP_CRS/4.0.0-rc1"] [tag "modsecurity"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "PCI/6.5.10"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "ZBXrGVXqtKqlnATxdUEg7gAAAMQ"]
[Sat Mar 18 16:47:21.480771 2023] [security2:error] [pid 193:tid<PHONE_NUMBER>30432] [client <IP_ADDRESS>:39172] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "^.*$" at REQUEST_HEADERS:X-CRS-Test. [file "/etc/modsecurity.d/owasp-crs/crs-setup.conf"] [line "737"] [id "999999"] [msg "04709bb3-6b2b-477d-aa14-76a89363b2dd"] [tag "modsecurity"] [hostname "localhost"] [uri "/status/200"] [unique_id "ZBXrGVXqtKqlnATxdUEg7wAAAMM"]

[Sat Mar 18 16:47:21.483110 2023] [security2:error] [pid 35:tid<PHONE_NUMBER>17312] [client <IP_ADDRESS>:39180] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "^.*$" at REQUEST_HEADERS:X-CRS-Test. [file "/etc/modsecurity.d/owasp-crs/crs-setup.conf"] [line "737"] [id "999999"] [msg "c50b1e8e-e8a5-46d1-afc8-bf82368390f4"] [tag "modsecurity"] [hostname "localhost"] [uri "/status/200"] [unique_id "ZBXrGcs3WOXFKxhOjQ9D-AAAAE0"]
[Sat Mar 18 16:47:21.483333 2023] [security2:error] [pid 193:tid<PHONE_NUMBER>49120] [client <IP_ADDRESS>:39164] [client <IP_ADDRESS>] ModSecurity: Warning. Unconditional match in SecAction. [file "/etc/modsecurity.d/owasp-crs/rules/RESPONSE-980-CORRELATION.conf"] [line "96"] [id "980170"] [msg "Anomaly Scores: (Inbound Scores: blocking=3, detection=3, per_pl=3-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=0, RFI=0, LFI=0, RCE=0, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=3)"] [ver "OWASP_CRS/4.0.0-rc1"] [tag "modsecurity"] [tag "reporting"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "ZBXrGVXqtKqlnATxdUEg7gAAAMQ"]
[Sat Mar 18 16:47:21.489998 2023] [security2:error] [pid 193:tid<PHONE_NUMBER>29440] [client <IP_ADDRESS>:39206] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "^.*$" at REQUEST_HEADERS:X-CRS-Test. [file "/etc/modsecurity.d/owasp-crs/crs-setup.conf"] [line "737"] [id "999999"] [msg "c50b1e8e-e8a5-46d1-afc8-bf82368390f4"] [tag "modsecurity"] [hostname "localhost"] [uri "/status/200"] [unique_id "ZBXrGVXqtKqlnATxdUEg8AAAANM"]

Rule 920350 is triggered as expected for the first test but rule 980170 is not. However, looking at the unique_id field it becomes clear that rule 980170 did in fact trigger but was reported as part of the second rule (the msg field of rule 999999 denotes start and stop ID of a rule).
The logic for finding triggered rules in the log is:

send test request to mark start
run test
send test request to mark end
while end marker not in log

send test request to flush log

check test against lines between start and end markers

Apparently, the log entry for rule 980170 may under some circumstances be written to the log much later and, which is worse, independently of other log entries of the same phase (both 999999 and 980170 run in phase 5), otherwise it would have shown up before the start marker for test 980170-3.

Is there an easy fix for this?

One thing that I see in common there is the unique_id. Maybe we can use it?

Maybe... Does that work reliably?

This happened again and caused an automated test run to fail on the CRS repo the other day. So, this definitely remains an issue.

We can't use unique_id because we don't know how many lines to expect.
I have an idea how to solve this though. Unfortunately, it will require replacing the current mechanism (maybe with a transition phase). The issue we are facing is that a test request will run in a thread / worker that is different from the marker requests. Hence, the marker requests may complete while processing of the test request is still ongoing. The fix thus has to be to use the same thread / worker as the test request.
For this to work we will need an additional rule that logs in phase 5 of every test request. Then we know that we can look for this special log entry to find the end of the log lines for a given test request. Essentially, the end marker we currently use would be replaced with a different end marker. The start marker can still be used because there's no race condition in that case.
I'm pretty sure this will work, however, I'm not sure wether a drop action would skip phase 5. If that is the case, then we're pretty much screwed... @dune73?

Ping @dune73.

Sorry, I overlooked this so far.
Unfortunately, phase 5 is indeed skipped when the drop action is used. I suspect this is because the idea with drop is to free the thread immediately from the connection. I wonder how garbage collection works in this case ...
Either way, it's an unfortunate situation. But then I would not invest too much into phase 5. The only rule we use in phase 5 is 980170 (CRSv4) and it's not a very important rule. I would probably be pragmatic and test at reporting level 0 where the rule is inactive.

I have been encountering this problem more and more frequently over the past week or so, for what it's worth.

Thanks. I'm working on a workaround.

retry_once has been implemented.


Another Noob Question

Complete Docker noob, and not so good at Minecraft.  I did get the docker running on my MacOS desktop.  The kids and I are connecting from our iOS devices (though it seems to be a bit unreliable on making the connection), but, none of us are operator.  I cannot figure out how to find the server.properties file to edit it, or a command line where I can issue Minecraft commands.  Any help would be much appreciated.  Thank you.

damn os x docker is slow, especially io. as for the rest.
use docker-compose makes life easier create a file inside a folder called bds, name the file docker-compose.yml
put this inside
version: '3.4'
services:
  bds:
    container_name: bds
    image: itzg/minecraft-bedrock-server
    environment:
      EULA: "TRUE"
      GAMEMODE: survival
      DIFFICULTY: hard
    ports:
      - 19132:19132/udp
    stdin_open: true
    tty: true

then from the commandline inside that folder do
docker-compose up then docker logs bds -f and wait until you see server started, once that happens press ctrl c, then a folder named data should appear inside bds folder, inside that folder edit server.properties, then do docker-compose down inside bds, and start again with docker-compose up -d.
once the server is running to make yourself op, docker attach bds type list enter to test it is working, then op GAMERTAG enter. to dettach do ctrl p q, dont ctrl c cuz it kills the server

Thanks. Very helpful. I assume this preserves the world state and we wouldn’t lose or in game progress?

Yes, one very nice benefit of docker compose is that it'll automatically maintain a volume for each declared volume, such as /data. If you want to be extra sure the volume exists as expected, then you can declare the attachment as shown here:
https://github.com/itzg/docker-minecraft-bedrock-server/blob/master/examples/docker-compose.yml#L12-L13
making sure to declare the volume itself:
https://github.com/itzg/docker-minecraft-bedrock-server/blob/master/examples/docker-compose.yml#L17-L18

Nice. Will the edited files persist if the image is upgraded?

Yep everything in /data gets persisted

When I make the docker-compose.yml in bds how does that find my existing docker minecraft world?  What if I have 2 worlds and 2 different ports in docker?
I did follow directions.  The docker-compose up resulted in:
Starting bds ... done
Attaching to bds
bds    | DEBU[0000] Using /data to match uid and gid
bds    | DEBU[0000] Resolved UID=0 from match path
bds    | DEBU[0000] Resolved GID=0 from match path
bds    | Downloading Bedrock server version <IP_ADDRESS> ...
bds    | 2020/07/03 15:14:23 Setting difficulty to hard in server.properties
bds    | Starting Bedrock server...
bds    | NO LOG FILE! - setting up server logging...
bds    | [2020-07-03 15:14:23 INFO] Starting Server
bds    | [2020-07-03 15:14:23 INFO] Version <IP_ADDRESS>
bds    | [2020-07-03 15:14:23 INFO] Session ID 10f30544-8647-4ec2-b7ee-e6e6a5611e10
bds    | [2020-07-03 15:14:23 INFO] Level Name: Bedrock level
bds    | [2020-07-03 15:14:23 INFO] Game mode: 0 Survival
bds    | [2020-07-03 15:14:23 INFO] Difficulty: 3 HARD
bds    | [2020-07-03 15:14:23 INFO] opening worlds/Bedrock level/db
bds    | [2020-07-03 15:14:26 INFO] IPv4 supported, port: 19132
bds    | [2020-07-03 15:14:26 INFO] IPv6 not supported
bds    | [2020-07-03 15:14:26 INFO] IPv4 supported, port: 34962
bds    | [2020-07-03 15:14:26 INFO] IPv6 not supported
bds    | [2020-07-03 15:14:27 INFO] Server started.

But it did not return a command line to issue docker logs bds -f... it seemed that it was just going to be a perpetual server running.  Did I miss something?
Thanks so much!
Chris

@tofferr the way you do that with containers in general is by attaching a host directory as a volume. In this case, the target path is /data. With docker compose you use the volumes: attribute:
https://docs.docker.com/compose/compose-file/#short-syntax-3
where the left hand side will be a relative or absolute path to a data directory that contains a worlds directory. In turn the LEVEL_NAME is used by the server to determine the specific worlds subdirectory used.
As for multiple ports, the Bedrock server is really finicky about multiple ports or it might be Docker itself. This example worked for me on Ubuntu but not Docker Desktop on Windows:
https://github.com/itzg/docker-minecraft-bedrock-server/issues/77#issuecomment-653189141


Custom Download Interval

Feature Description
Is it possible to have this? Some manga release on Wednesdays or every two weeks and I'd like to have those Kaizoku poll those on those certain intervals. Also is it possible to edit the interval after already adding a manga?
Solution you would like
No response
Alternatives you have considered
No response
Additional context
No response

You can add any cron to the interval. You can use https://crontab.guru/ to generate to your liking.

If you want to change it after you add it. You can edit the manga from the home screen.


convert enum to str when referencing

click does not support an enum type for click.choice. This means that in the CLI we need to somehow get from str -> enum to pass to the library.
Adding this use_enum_values, allows a user to specify things like nf4 and None as strs in their config.yaml and they are seen as valid by the library.

Understood once I read the docs:
use_enum_value:

Whether to populate models with the value property of enums, rather than the raw enum. This may be useful if you want to serialize model.model_dump() later. Defaults to False.


Possible outdated info in ModPresenceTracker on client rejoins

Due to the WeakHashMap in ModPresenceTracker not being cleared for a player, it may be possible that a player who joins earlier with Concord, then leaves then rejoins again but without the mod will be incorrectly marked as having the mod.
Needs investigation.

Fixed by 4096af0b11e7ff2f9dffcc4e9d1456b664f7e1f2. Moved away from manual checking to a new feature provided by Forge in 36.0.52.


Browser positions don't save

Hi,
I have a Project module with a browser where you can assign Projecttag modules.
It all works fine except the position of the Projecttags doesn't get saved- they appear to just save in alphabetical order. The Projecttag module does have HasPosition, and there are values being saved to the "position" field in the project_projecttag table, but again it seems to be based on alphabetical order rather than their position in the browser.
Any help?
Thanks!

Hi Seb,
really sorry for the delay here, notifications overflow...!
Congratulations again for launching your Twill based site :)
I'm not able to reproduce this but I'm probably missing something that I know that is not in the docs, something like that. I'll dig more and get back to you.

Is there a fix for this?

@ifox I figured out what was going on. Not really a bug just needs some more setup.
public function pages()
    {
        return $this->belongsToMany(\App\Models\Page::class)
            ->withPivot(['position'])
            ->orderBy('pivot_position','asc');
    }

Need to make sure you include the pivot table position column and then order by that column.

Fixed, finally! @rmenner you rock!


Debugger hover doesn't work with parenthesized expressions

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.95.3
OS Version: Windows 11 Pro

Here are two examples in python and in typescript for the same problem. If a variable has parentheses around it, the debug hover for getters doesn't work.
Steps to Reproduce:

Python code:

a = ''
a.isupper()
(a).isupper()
print(a)  // Breakpoint here!

Typescript code:

const a = 'test';
a.length;
(a).length;
console.log(a);

Maybe something like https://github.com/microsoft/vscode/issues/186639 can solve this? I'm out of my depth here.


mod/modfile: split syntax into its own data structure

Currently the modfile.File type is used directly to marshal and unmarshal the module.cue
contents. However in the future we want to be able to preserve comments and other formatting
that cannot be expressed in the Go data structure. The Go modfile package splits
the syntax from the parsed result and we should probably do the same for the CUE one.

Appears to be a duplicate of https://github.com/cue-lang/cue/issues/2898, please remember to search :)


Investigate usage of maven-changes-plugin

At a first glance, this plugin is very Jira centric (with some basic GitHub support) and only seems capable of generating Maven site style documentation.
If the goal of this issue is to generate the change log, I can do this with a simple Groovy script (or TCL if you prefer :wink:) to produce the docs/Changelog.md file.

yeah, anything that saves me from doing these manual copy/paste actions for dozens of issues would help


Change all Resource Groups to "20532"

The labs have you create various resource groups. It would be better to have every lab add their resources to a single RG. This way, you can delete that Resource Group and then use your Azure Pass for other ideas.

I have not seen any discussion on this so i'm closing it.


gscan with zip file should throw an error without -z flag

Issue Summary
Calling gscan --verbose dist/mythemefile.zip says 'Checking theme compatibility' and then exits without error.
Preferred behavior would be to throw an error/diagnostic message that gscan needs the -z flag.  That would be much more newbie-friendly.
Steps to Reproduce
Run gscan with a zipfile as the argument, but without the -z flag.
I'd expect that it'd either detect that it had received a zip and process it, OR that it'd throw an error that the .zip file is not a file path.
The silent return looks too much like 'yep, this file is fine'.
Ghost Version
5.30
Node.js Version
16.15.1
How did you install Ghost?
local install/Windows
Database type
SQLite3
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Yo @cathysarisky 😬
I have noticed recently when using gscan on the CLI that there are a lot of cases that aren't throwing errors. I think we might have a regression there somewhere.
I'm gonna move this issue over to the gscan repo, but I agree we should do something about it. Feel free to take a look. Also going to cc @royalfig on this one cos I agree it's a developer experience thing 👍


Show Adyen General Payment Method in the backend

Is your feature request related to a problem? Please describe.
The admin panel does not show the Adyen payment method. But could it be shown to modify how ALL Adyen PMs behave?
Describe the solution you'd like
Show the Adyen General Payment Method in the backend so it's configuration affects all Adyen PMs.

will be resolved with #152


Add support for multiple GPU

Discussion: https://github.com/swaywm/wlroots/issues/934

Hmm, this is a smaller change than I was expecting.
There are still lots of things I want to do to make Multi-GPU better (like removing the renderer copy and fixing the code structure), which is probably why I was being damn slow/lazy when I was looking into this myself instead of looking at the core issue.
I'll get around to testing a few of the various GPU configurations I have access to this weekend.
To anyone else trying this out, pay attention to:

Hotplugging
Using non-native resolutions and rotations/reflections
Whether things like hardware cursors and gamma control work
The overall performance (stuttering, etc.)
Different configurations of which GPU is primary (e.g. run with WLR_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1 then WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0)
Whether this works on all of rootston, sway, and any other wlroots-based compositor
Whether tri or quad-GPU systems work well (I only have access to motherboards with enough PCI-e space for 2 GPUs)
Whether it works cross driver (i915 + nouveau, amdgpu + radeon, etc.)

I've updated the code one more time. I was switching context when I did not have to and this was leading to problems (non visual, but in the log, like):
[GLES2] GL_INVALID_OPERATION ...
This is now fixed. All @emersion comments are now took into account.
There are still some problems left:

Screen mirror + rotation
Hardware cursor on secondary display

But I'd like to have it covered in another issues/pull requests (step by step).

Screen rotation fixed :)

I've pushed the fix for the black hardware cursor on the secondary GPU.

@ascent12
Thank you for your work! Confirming - the cursor is now working, yay! :)
If you don't have nothing against I think it's now in good shape to merge this PR.

I'm having a little trouble starting this on my qemu VM with multiple GPUs.
The relevant part of my QEMU command is
qemu-system-x86_64 -m 2047 -vga none -enable-kvm -device VGA,id=video0  -device secondary-vga,id=video1 -spice port=5930,disable-ticketing -cpu host -cdrom PATHTOMYISO.iso

to get two GPUs. and then to see the VM with the two GPUs:
remote-viewer spice://<IP_ADDRESS>:5930 --spice-preferred-compression=off

rootston and sway both abort with
sway: ../backend/drm/renderer.c:238: copy_drm_surface_mgpu: Assertation 'tex' failed.

Sway can start when there is one GPU, Let me know if you need more info

Let's take a look at qemu separately. Can you open a ticket?
Thanks for the patch, @manio!


cleanup duplicate ipvlan and macvlan network IDs during createNetwork

cleanup duplicate ipvlan and macvlan network IDs during createNetwork to prevent collisions

check if the new network uses the same interface as an existing network, as different networks of this type cannot share the same interface
if the new network ID does not match an existing network ID then we must return with an error, as the new network is not the same and cannot co-exist with the existing
attempt to delete the old duplicate network, and return an error if unsuccessful, or log info if successful

This resolves the issue shown below, where an existing copy of a network has not been removed on Docker Engine shutdown, and still persists when the config-only network is created once again on a subsequent createNetwork call
existing network config = (*ipvlan.configuration)(0xc420322e80)({\n
  ID: (string) (len=25) \"hwqzu5i4kmrd2uzi34zpnpy1m\",\n
  Mtu: (int) 0,\n
  dbIndex: (uint64) 6,\n
  dbExists: (bool) true,\n
  Internal: (bool) false,\n
  Parent: (string) (len=4) \"eth0\",\n
  IpvlanMode: (string) (len=2) \"l2\",\n
  CreatedSlaveLink: (bool) false,\n
  Ipv4Subnets: ([]*ipvlan.ipv4Subnet) (len=1 cap=4) {\n
    (*ipvlan.ipv4Subnet)(0xc4206413a0)({\n
      SubnetIP: (string) (len=13) \"<IP_ADDRESS>/16\",\n
      GwIP: (string) (len=13) \"<IP_ADDRESS>/16\"\n
    })\n
  },\n
  Ipv6Subnets: ([]*ipvlan.ipv6Subnet) <nil>\n})\n

new network config = (*ipvlan.configuration)(0xc4203c5b80)({\n
  ID: (string) (len=25) \"hwqzu5i4kmrd2uzi34zpnpy1m\",\n
  Mtu: (int) 0,\n
  dbIndex: (uint64) 0,\n
  dbExists: (bool) false,\n
  Internal: (bool) false,\n
  Parent: (string) (len=4) \"eth0\",\n
  IpvlanMode: (string) (len=2) \"l2\",\n
  CreatedSlaveLink: (bool) false,\n
  Ipv4Subnets: ([]*ipvlan.ipv4Subnet) (len=1 cap=1) {\n
    (*ipvlan.ipv4Subnet)(0xc42149af00)({\n
      SubnetIP: (string) (len=13) \"<IP_ADDRESS>/16\",\n
      GwIP: (string) (len=13) \"<IP_ADDRESS>/16\"\n
    })\n
  },\n
  Ipv6Subnets: ([]*ipvlan.ipv6Subnet) <nil>\n})\n

The symptom of an existing and now-conflicting network is usually as follows, including showing up as a rejected task's error -
docker.err.log:time="2018-01-15T23:32:21.993891743Z" level=error msg="fatal task error" error="network di-hwqzu5i4kmrd is already using parent interface eth0

@fcrisciani my organization is probably moving to Kubernetes, so please adopt or close as applicable. Thanks! That said, let me know if you need any more clarification, but I probably won't be submitting code updates to this PR

@fcrisciani Did you mean something like this? This isssue is very predictable.
https://gist.github.com/rnataraja/d987b61d8acc8ac738641f55ebe5af0d


Can it use bounding box prompt to get the label and mask?

Can it use bounding box prompt to get the label and mask?

Yes, it could do this. For bounding box inference, what we are doing is actually we sample the center point and box and use it a s point.

Could you please provide some demo script for this? I have run the sh run_demo.sh, but there is no options for me to select: e.g., bounding box, text,

Yes, it could do this. For bounding box inference, what we are doing is actually we sample the center point and box and use it a s point.

Can you tell us specifically how to do it? How many points in the final input? Only a central point?


Typo in Higher Order Components page

Hello,
I am new to React so I could be wrong but I think I spotted an issue in this section. Instead of this:
const CommentListWithSubscription = withSubscription(
  CommentList,
  (DataSource) => DataSource.getComments()
);

const BlogPostWithSubscription = withSubscription(
  BlogPost,
  (DataSource, props) => DataSource.getBlogPost(props.id)
);

I believe it should say that:
const CommentListWithSubscription = withSubscription(
  Comment,
  (DataSource) => DataSource.getComments()
);

const BlogPostWithSubscription = withSubscription(
  TextBlock,
  (DataSource, props) => DataSource.getBlogPost(props.id)
);

i.e. the WrappedComponent argument of the withSubscription HOC is wrong in both declarations.

Thanks for the report. This seems wrong indeed though I don't think your workaround fixes it. withSubscription injects data but no declared component makes uses of this prop.
We should add a section explaining that the BlogPost inside withSubscription(BlogPost... is not the same as the one we described earlier. The BlogPost passed to withSubscription should look like
class BlogPostView extends React.Component {
  render() {
    return <TextBlock text={this.props.data} />;
  }
}

class CommentListView extends React.Component {
  render() {
    return (
      <div>
        {this.props.data.map((comment) => (
          <Comment comment={comment} key={comment.id} />
        ))}
      </div>
    );
  }
}


Fixing OAuth / OIDC support

Closes #1945

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Jérôme LELEU seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

Great. Thanks very much!

Accounted for @mmoayyed 's comments

Fantastic. Thanks again.

@leleuj Do these endpoints need to be updates https://apereo.github.io/cas/development/installation/OIDC-Authentication.html ?

Also, I forget: did you update the mgmt app to account for the new OIDC field you added?

Yes, I forgot both. I'll submit a new PR for that.


Ensure imports outside jail are marked as external

This fixes an issue with dependencies outside the jail not being marked as external.
Because if this Rollup shows warnings for every dependency outside the jail.
This bug was caused by the promise being resolved as null, which defers the resolution, instead of false which indicates the dependency should be external (from the plugin documentation):

Returning null or undefined defers to other resolveId functions (and eventually the default resolution behavior); returning false signals that importee should be treated as an external module and not included in the bundle.

Because the tests did not check for warnings this was not detected.

@emmiep would you like to update this PR for the current master? We'll also need specific, targeted test(s) for this change to accept it. We're getting ready to move this plugin to https://github.com/rollup/plugins and are tying up loose ends.

We've completed the migration of this plugin. We really appreciate your PR, so if you have the time to circle back to it, we'd love it if you would reopen your PR at https://github.com/rollup/plugins


Focus by application name.

Focus window by application name, e.g. kwmc window -f Emacs
If the application is not open, ignore the command.

I don't really see this as a necessary change. The query window-list function can be used with Alfred and similar applications to get window-switching behaviour (based on application or window title).

Query window list only returns windows in the current space. With this patch, I can switch to a window regardless of the space it's in.

This patch mimics the behavior of the i3 focus command with criteria.

+1

Merging this into master.
Thanks.

Thanks, @koekeishiya


What command in args parser should I use if I want to use the checkpoint trained on meta-dataset to train on cifar-fs and mini-imagenet

Hi, many thanks for your amazing work. I have a question regarding on what command in args parser should I use if I want to use the checkpoint trained on meta-dataset to train on cifar-fs and mini-imagenet. Should I use the --pretrained-checkpoint-path or --resume? Many thanks in advance.

A follow up question, you mentioned in readme that "The minimum GPU memory is 24GB". I do have a 24 GB GPU but when I am training on meta-dataset, it has been an hour but still the log,txt has not log a single epoch after this line:
{"aircraft": 57.43517497380574, "cu_birds": 83.23636697133382, "dtd": 89.95396995544434, "fungi": 57.585270929336545, "ilsvrc_2012": 72.82337363560994, "omniglot": 75.9695914586385, "quickdraw": 59.56564900080363, "vgg_flower": 95.51134332021077, "n_ways": 15.921875, "n_imgs":<PHONE_NUMBER>1171875, "acc1": 74.01008605957031, "acc5": 93.75128936767578, "loss": 1.364902377128601, "acc_std": 10.260849952697754, "epoch": -1}
Do you know what could be the problem?

Regarding the first question, --resume should be used:
https://github.com/hushell/pmf_cvpr22/blob/622d656afba5aeb39b70eaa3cceda74ad0b09faf/main.py#L115

Regarding the second question, the log you showed is the evaluation on val-set before training, if it gets stuck there, I would suggest to set a breakpoint at
https://github.com/hushell/pmf_cvpr22/blob/622d656afba5aeb39b70eaa3cceda74ad0b09faf/engine.py#L50
to see how much time it takes to do a forward pass.

BTW, 24G is not enough for ViT in PMF unless you go for something like mobileViT, because it has to host 2 copies in the computation graph.

I see! Thank you for your help!

Hey, I was wondering if you still get hold of the checkpoint results on Meta-Dataset for dino_base and dino_resnet50? Because in the repo, I say you shared the checkpoint for dino_small. Many thanks in advance.


Codebase cleanup

Summary
Created new functionality to easily install and start the web app for new devs who have nothing installed. Includes a new package.json in the main folder as well as utilizing VS Code dev containers.
Testing

Install the latest version of docker and the VS Code Dev Containers extension
Open the lagos folder in the new container and run yarn run build and yarn run start

Notes

Looks like tests are failing.

Okay so had to explicity make jest ci run the seeding since you removed it from the jest command in package.json


[iOS] App crashes when trying to display a Red Box error message

Device: iPhone Simulator (any)
OS: OSX 10.11.6
React Native: 0.26.2
React CLI: 1.0.0
watchman: 4.5.0
environment: development

I am working on a react native project within a team and am the only one facing this issue.
When I launch the app on the iOS simulator, whenever I have an issue in my code the app crashes as it tries to display the Red Box with the error.

I haven't found any solution to this issue and seem to be the only one facing it in my team.
What I have tried:

Reinstalling the project from scratch
Removing the app from the simulator device
Creating a new simulator device
Cleaning and rebuilding the app

As of now, none of these have worked.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-app-crashes-when-trying-to-display-a-red-box-error-message
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook-github-bot label Icebox

@facebook-github-bot close

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain thumbmunkeys.com has exceeded the max emails per hour (62/60 (103%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from filter01.reliabledns.org ([<IP_ADDRESS>]:34486)
by en02-ams.stablehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1c670v-000jLu-6j
for<EMAIL_ADDRESS>Mon, 14 Nov 2016 02:28:55 +0000
Received: from github-smtp2-ext4.iad.github.net ([<IP_ADDRESS>] helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by filter01.reliabledns.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86)
(envelope-from<EMAIL_ADDRESS>id 1c670u-0007zH-13
for<EMAIL_ADDRESS>Sun, 13 Nov 2016 19:28:52 -0700
Date: Sun, 13 Nov 2016 18:28:50 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1479090530;
bh=0kR/OLwElESAmm5E4WVGTGb4i01NNMok0QhRWNzFjYI=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=BZM1KWseMKQZJU8hmR6VjgIjXe8S4z7B8xMCZONcCSIKADzfvhxkXiZ6vW3ubCx0I
Ds/FL22j+8HTt7OMH4RBX8iV5dv/Zwg7yzOqdnkV8QRHr+XE0ikPAGTetzAJ7Lvth/
NQsVMSHjDZIjvOovEk0/CWAaVOsijbm2MZ4o6xCk=
From: Nicolas Charpentier<EMAIL_ADDRESS>Reply-To: facebook/react-native<EMAIL_ADDRESS>To: facebook/react-native<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [facebook/react-native] [iOS] App crashes when trying to display
a Red Box error message (#9353)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_58292162d99e8_63c33fb102acb14013828d6";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: charpeni
X-GitHub-Recipient: bunnyboy1
List-ID: facebook/react-native <react-native.facebook.github.com>
List-Archive: https://github.com/facebook/react-native
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/ARoNg15TCENNlfMT8LmTKAloq7l7uA0Dks5q98digaJpZM4JiOVn
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>Received-SPF: pass (filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS><EMAIL_ADDRESS>helo=github-smtp2a-ext-cp1-prd.iad.github.net;
X-SPF-Result: filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender
Authentication-Results: filter01.reliabledns.org; dmarc=pass header.from=github.com
X-Filter-ID: s0sct1PQhAABKnZB5plbIamwIYzgudGL4tMY9zS3pea7KY6rzXjgC+rgKYUjsj8D0JuF70A4EJMc
Wn6O/bsgoWSYW6KbZfj8apx6ohl75uX35Caz8bqM3i8tzwcg+lnkZzoX7PhhDs80mBQKIGWwu+Zp
h48ggm5VivIaiFgO5UVwJVSL6KLw+g28lkb31HyS94pE1Cssu3RLQ0/o4r6NbA8zp1yYIFRkRN8y
Bn+CxV0deEBpxX7fNpTL5L/8Ii12aOeUZDp6346kloOFSaDu/Jz3A1ed2ITkOuMtrwds5D4K3qZq
FvOPvpmKJ8ImDUc5Jq/4FZbX1lzD9O+fyiIjB8wTNR/tjjZvmBdM/4lPZO2sASVdHfbtk3LlI8pB
wr4jGeKz8vlEl/GSEiCnxc6Ard0BaVp3jhK5GOBJIv+LCtD+V9//iYPXcUPDr8DL9oJhN0JkcMmQ
sV7j9toT40ga/GYzx2Zgyhf3OXiddZgacWc1/+H6OHgtV1bmxcq0CB3pmrFpDzdgJQc/rZDiOC7K
RpZxGk3X7U/CrpemaTYEqjR6fyHrrsngmi97syQy+4L3p7+eg7tptOUU98CNo4IBbK0jiD6XqsJZ
tjQxlyCdsezJow6Hi0pxrFS5O4yOAY8o6W0BvTIC60F9LNR/0kDSJQ==
X-Report-Abuse-To<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; spf=pass<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; dkim=pass header.i=github.com
X-SpamExperts-Class: ham
X-SpamExperts-Evidence: dnswl/se-reputation (verified ham)
X-Classification: not-spam/dnswl
X-Recommended-Action: accept
X-Spam-Status: No, score=-0.5
X-Spam-Score: -4
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "en02-ams.stablehost.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Hi there! This issue is being closed because it has been inactive
for a while. But don't worry, it will live on with ProductPains! Check out
its new home: https://productpains.com/post/react-native/ios-app-crashes-when-trying-to-display-a-red-box-error-message
[...]
Content analysis details:   (-0.5 points, 5.0 required)
pts rule name              description

-0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
trust
[<IP_ADDRESS> listed in list.dnswl.org]
1.5 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 HTML_IMAGE_ONLY_32     BODY: HTML: images with 2800-3200 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
X-Spam-Flag: NO
----==_mimepart_58292162d99e8_63c33fb102acb14013828d6
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/ios-app-crashes-when-trying-to-display-a-red-box-error-message
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/facebook/react-native/issues/9353#issuecomment-260234689
----==_mimepart_58292162d99e8_63c33fb102acb14013828d6
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi there! This issue is being closed because it has been inactive for =
a while.
But don't worry, it will live on with ProductPains! Check out its new =
home: https://productpains.c=
om/post/react-native/ios-app-crashes-when-trying-to-display-a-red-box-err=
or-message
ProductPains helps the community prioritize the most important issues =
thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.=

We're a small team and rely on the community for bug fixes of issues that=
 don't affect fb apps.
&m=
dash;You are receiving this because you are subscribed to this thre=
ad.Reply to this email directly, view it on GitHub, or mute the thread.=

=
----==_mimepart_58292162d99e8_63c33fb102acb14013828d6--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain thumbmunkeys.com has exceeded the max emails per hour (74/60 (123%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from filter01.reliabledns.org ([<IP_ADDRESS>]:34678)
by en02-ams.stablehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1c671T-000jZ8-9V
for<EMAIL_ADDRESS>Mon, 14 Nov 2016 02:29:28 +0000
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>] helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by filter01.reliabledns.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86)
(envelope-from<EMAIL_ADDRESS>id 1c671R-00088k-Uh
for<EMAIL_ADDRESS>Sun, 13 Nov 2016 19:29:27 -0700
Date: Sun, 13 Nov 2016 18:29:00 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1479090565;
bh=CePWQt+mYoew0gUQ1mvUGBVqmgQVsCZl4SnOoGyO4Uo=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=2YgKIZKI+q5GYgLXMxTW27M1J0c02/6kiyYB6Ip4kBpPMkWg4mKBbb94dbigfiOqb
mVe1Y6uOnb99+yBdn9EdXe90VczVXgwQNBdgfSvTAKrRccMLf05VwsvduCGmVI0Had
kMk40rlysh8ch4G3uYx33za+PDTaEjqyvHWLjZZk=
From: Nicolas Charpentier<EMAIL_ADDRESS>Reply-To: facebook/react-native<EMAIL_ADDRESS>To: facebook/react-native<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [facebook/react-native] [iOS] App crashes when trying to display
a Red Box error message (#9353)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5829216ca8795_2b7d3ff870eff13447735c";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: charpeni
X-GitHub-Recipient: bunnyboy1
List-ID: facebook/react-native <react-native.facebook.github.com>
List-Archive: https://github.com/facebook/react-native
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/ARoNgx7DQYLvBIUJYS4Mddc5Fxe6sGlTks5q98dsgaJpZM4JiOVn
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>Received-SPF: pass (filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS><EMAIL_ADDRESS>helo=github-smtp2b-ext-cp1-prd.iad.github.net;
X-SPF-Result: filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender
Authentication-Results: filter01.reliabledns.org; dmarc=pass header.from=github.com
X-Filter-ID: s0sct1PQhAABKnZB5plbIamwIYzgudGL4tMY9zS3pea7KY6rzXjgC+rgKYUjsj8D0JuF70A4EJMc
Wn6O/bsgoWSYW6KbZfj8apx6ohl75uX35Caz8bqM3i8tzwcg+lnkZzoX7PhhDs80mBQKIGWwu5YA
cE2DHaAtdw1XHO0RULJwJVSL6KLw+g28lkb31HyS94pE1Cssu3RLQ0/o4r6NbA8zp1yYIFRkRN8y
Bn+CxV2rPbHzo/LGnKj08u1QGUcApS/3rVAhSCRwoLRhAn8X15z3A1ed2ITkOuMtrwds5D6QdT8q
EsTOViQWgUysSA9kJq/4FZbX1lzD9O+fyiIjB8wTNR/tjjZvmBdM/4lPZO2sASVdHfbtk3LlI8pB
wr4jGeKz8vlEl/GSEiCnxc6Ard0BaVp3jhK5GOBJIv+LCtDC+P7wO5Dn5esh4VR+ptzHN0JkcMmQ
sV7j9toT40ga/GYzx2Zgyhf3OXiddZgacWc1/+H6OHgtV1bmxcq0CB3pmrFpDzdgJQc/rZDiOC7K
RpZxGk3X7U/CrpemaTYEqjR6fyHrrsngmi97syQy+4L3p7+eg7tptOUU98CNo4IBbK0jiD6XqsJZ
tjQxlyCdsezJow6Hi0pxrFS5O4yOAY8o6W0BvTIC60F9LNR/0kDSJQ==
X-Report-Abuse-To<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; spf=pass<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; dkim=pass header.i=github.com
X-SpamExperts-Class: ham
X-SpamExperts-Evidence: dnswl/se-reputation (trusted ham)
X-Classification: not-spam/dnswl
X-Recommended-Action: accept
X-Spam-Status: No, score=1.0
X-Spam-Score: 10
X-Spam-Bar: +
X-Ham-Report: Spam detection software, running on the system "en02-ams.stablehost.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  @facebook-github-bot label Icebox -- You are receiving this
because you are subscribed to this thread. Reply to this email directly or
view it on GitHub: https://github.com/facebook/react-native/issues/9353#issuecomment-260234688
[...]
Content analysis details:   (1.0 points, 5.0 required)
pts rule name              description

-0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
trust
[<IP_ADDRESS> listed in list.dnswl.org]
1.5 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
1.5 HTML_IMAGE_ONLY_20     BODY: HTML: images with 1600-2000 bytes of words
0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
X-Spam-Flag: NO
----==_mimepart_5829216ca8795_2b7d3ff870eff13447735c
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
@facebook-github-bot label Icebox
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/facebook/react-native/issues/9353#issuecomment-260234688
----==_mimepart_5829216ca8795_2b7d3ff870eff13447735c
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
@facebook-github-bot label Icebox
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5829216ca8795_2b7d3ff870eff13447735c--


Defaults types

Hello,
In chart.js master the Chart.defaults types are not usable because:

The fields are read-only
Many options are missing

As Chart.defaults seems very similar to chart options, I think we may want to share the types, so we do not have to change two places when adding a new option.
However I have a few questions:
Are Chart.defaults  exactly the same than chart options?
By dumping the defaults objects, I noticed at least:

Scale options: in options there is scales[id], in defaults there is scales[type].
There is an individual defaults.scale. What is the purpose? Does it also exist in options?
Plugins options: defaults.plugins.pluginName or defaults.pluginName seems possible. Is this also the case in options? Is it also true for custom plugin options?

Am I missing something else?
Are default options optional?
options object is completely optional, to let the user specify or omit any option. This is different for defaults, because the documentation seems to always set the defaults this way:
Chart.defaults.elements.bar.borderWidth = 2;
This implies that elements and bar objects already exists, so I think that defaults options should not be marked as optional (else typescript will force us to check the existence for Chart.defaults.elements then Chart.defaults.elements.bar).
However this is currently not always the case, and this can lead to some issues even without typings.
For example, in my projects, I set some defaults for the logarithmic scales.

On one side, as defaults.scales.logarithmic.ticks already exists and there are some pre-defined defaults, I need to set my default like this to not overwrite chart.js defaults by creating a new ticks objects:

defaults.scales.logarithmic.ticks.maxRotation = 0

However, on the other side, defaults.scales.logarithmic.gridLines does NOT exist, so just after I need to do:

defaults.scales.logarithmic.gridLines = {
    borderDash: [3, 3]
}

This is an issue because:

Without dumping Chart.defaults, we have no way to know which object exists and which object does not
We have no guarantee that it will not change in a future chart.js default, then we will overwrite the new defaults by replacing the object.
To come back to typescript, we have no way to know what should be optional and what should not be optional

A way could be to ensure in Chart.js that all defaults are always created. However I dot know if it is easy to do, especially with the options that can be defined at multiple places.

I'll try and answer each question individually:

Are defaults the same as options?

They are not, however they are very similar. Most options will be identical, for example options.elements will be identical to Chart.defaults.elements but the scales object is different as you noted. There are also Chart.defaults[chartType] which are then a full options object providing defaults for the chart type. In the chart types, Chart.defaults.line.scales should be a map by ID.
For defaults.scale, I'd need to look into exactly where that comes from. It feels like it could be unused.
The built-in plugins use options.pluginName instead of options.plugins.pluginName for backwards compatibility. External plugins can use this format if they want, but if they do, the plugin will not be passed the options by the chart core. Instead, the plugin needs to go look up the relevant options. Example: https://github.com/chartjs/Chart.js/blob/c428797592cc0847c65b5b7e2c2370a6870a144c/src/plugins/plugin.legend.js#L671

Are defaults optional?

I believe in practice some parts of Chart.defaults can be optional, but not all. I would imagine that something breaks if Chart.defaults.elements or Chart.defaults.scales does not exist. You could try setting Chart.defaults = {} and see if it still works.
To handle the Chart.defaults.scales.logarithmic.gridLines issue, you can use Chart.defaults.set. It will create objects as needed. I believe this is also why Chart.defaults.* is marked as readonly.
Chart.defaults.set('scales.logarithmic.gridLines.borderDash', [3, 3]);
// Chart.defaults.scales.logarithmic.gridLines.borderDash is now [3, 3]

There is an individual defaults.scale. What is the purpose? Does it also exist in options?

That is the base to every scale config currently. (Also the place where the default gridLines comes from)


Esprima is failing to parse ThrowStatement with newlines on template literals

Summary
Esprima is failing to parse ThrowStatement with newlines on template literals
Configuration

esprima 3.1.3

Description
Parsing a ThrowStatement with a template literal including a newline displays the following error: Error: Line 1: Illegal newline after throw.
The following sample code is syntatically valid but throws an error while parsing.
throw `new Error: Error on loop
For more details:
http://example.com`

This issue was also tested on the latest released version as a npm package
Steps to Reproduce

Go to http://esprima.org/demo/parse.html
Add the code above
Check the error.

Actual Results
Error: Line 1: Illegal newline after throw
Expected Results
{
    "type": "Program",
    "body": [
        {
            "type": "ThrowStatement",
            "argument": {
                "type": "TemplateLiteral",
                "quasis": [
                    {
                        "type": "TemplateElement",
                        "value": {
                            "raw": "new Error: Error on loop\nFor more details:\nhttp://example.com",
                            "cooked": "new Error: Error on loop\nFor more details:\nhttp://example.com"
                        },
                        "tail": true
                    }
                ],
                "expressions": []
            }
        }
    ],
    "sourceType": "script"
}

Thanks for contributing! We'll take a look soon!


Memo fields are all failing to decrypt now

every transaction is now throwing
"Memo is encrypted to a key BTS************* or BTS************ not in this wallet."
this is causing me hell since the exchange relies on the memo field to credit users accounts.
(windows cli wallet)

We recently made some changes to how the GUI handles memos but it was only intented to ensure full compatibility with the CLI wallet, which was not the case earlier due to an edge case.
See https://github.com/cryptonomex/graphene-ui/pull/849 for details.
Which version of the CLI wallet are you using?

cli was 2 version behind and just upgraded to the latest but it is still doing it

Try get_block block_num in CLI, you'll see what keys are used to encrypt the memos, for example
            "memo": {
              "from": "BTS8bYMsSFQ7M2jGhZJvG9WDumtF9Ku99VE3a9azHzTrKLoKiGRGU",
              "to": "BTS7SakKqZ8HamkTr7FdPn9qYxYmtSh2QzFNn49CiFAkdFAvQVMg6",
              "nonce": "374816006311167",
              "message": "088d240a593e58ea74f428321de7d9c8"
            },

then try dump_private_keys to check if you have the correct keys in the wallet.

I checked everything, it has the associated keys. I even tried sending from the gui wallet to my cli wallet and the gui can decrypt the message I sent but the cli wallet fails to decrypt even though the key is shown when I dump the private keys.

just tried on a 2nd machine with a different cli wallet and it throws the same error

no apparently the gui can decrypt the memos but the cli wallet cant...

hey, i am running graphene-ui app in my localhost in ubuntu 16.04 and trying to create account in that but its giving me some errors.What should i do now to cure that.

hey, i am running graphene-ui app in my localhost in ubuntu 16.04 and trying to create account in that but its giving me some errors.What should i do now to cure that.

@Alok123456 Please create a new issue, describe your questions in detail, E.G. what are those "some errors".

hey, i am running graphene-ui app in my localhost in ubuntu 16.04 but it keeps on throwing me on init-error page i.e on this link http://localhost:8080/#/init-error.

the graphene-ui repo is not compatible with the peerplays network .. please use their graphene-ui fork and their issue tracker.


Comment out all the deep learning stuff for now

it's not finished, and installing the libraries is difficult.
eventually, put the deep learning stuff behind an install check, just like XGBoost. if the user wants to go through the hassle of installing those packages themselves (which we'd highly recommend), the functionality's there! but if they just want something that works out of the box, they shouldn't have to go through all that extra effort.

done!


Face Recognition problem

Windows Hello work with PIN, Fingerprint but Face recognition. It recognize but open Windows Hello popup again and again. I have found some workaround:

Change to other authentication method such as PIN or fingerprint and change back to Face recognition will work.
Move face out of camera then move back will work as well.
Keep face out of camera first and wait a second then move in.

I think this problem come with authentication speed. Face recognition is fastest authentication way, it take some milliseconds to recognize compared with PIN and fingerprint (including time to type numbers and move your hand over fingerprint sensor and swipe).

Same issue with Win 10 20H2 with all latest updates =/

like that👇?

I also faced the same issue when registering, using the pin to register solved this.

Tried latest version today after upgraded to Windows 11 24H2, and it seems works well out of the box with Ubuntu 24.04.
I bet new Windows version have a better Windows Hello.


Apply theme to nav bar

It would be nice to have the nav bar apply the same theme as the documentation itself.
Current style with ayu theme:

After proposed change:

I'd love to contribute this if that sounds good.

Duplicate of https://github.com/rust-lang/docs.rs/issues/918

@andrewbanchich thank you for opening this though! I for one am very eager to see the navbar colors align with the theme, it really is an eyesore at the moment.


add hyperdrive test for add liquidity

I barely remember adding this test, I think I was poking through codecov looking for easy things to add.
Looking at it now, this decreases coverage. https://app.codecov.io/gh/delvtech/agent0/pull/1206/indirect-changes
Reminder to self: close this PR in 1 week from today, if I don't remember a good reason to have it, or clean it up.
Close or merge by Jan 11, 2024.


Modify README.md in pubsub examples to cover validation

Describe
The purpose of this issue is to modify the README file of the existing pubsub examples to cover validation.
Problem
Currently, the README file provides a brief overview of how to use the examples, but it does not cover grpc part validation. What is more, if both the HTTP subscriber and the gRPC subscriber start at the same time and receive partial information published by the publisher according to the original structure, it may lead to verification errors.
Solution

Add introduction about grpc subscribers
Adjust introduction order to ensure complete validation without affecting each other. It is recommended to run validation in the following order: http subscriber, publisher, bulk publisher, then stop them all. Then run gRPC subscriber, publisher and  bulk publisher.

/assign


ffmpegwasm.netlify.app demo not working

Describe the bug
In your test site https://ffmpegwasm.netlify.app/ the demo stucks at "Loading ffmpeg.wasm-core, may take few minutes".
It only happens on my phone, I have Chrome 94+
To Reproduce
Steps to reproduce the behavior:

Go to https://ffmpegwasm.netlify.app/ demo section
Click on the button to upload a video
Select a video from your galery
See that it doesn't load ffmpeg

Expected behavior
ffmpeg should load and convert the video
Screenshots
https://i.imgur.com/xiS3Rph.jpg
https://i.imgur.com/lT4cBDe.jpg
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: Samsung Galaxy J6 (SM-J320FN)
OS: ANDROID 5.1.1
Browser Google Chrome
Version 94.0.4606.85

Additional context
Add any other context about the problem here.

I also noticed the same, it's Chrome 99 on my phone, so SharedArrayBuffer shouldn't be a problem. I inspected the page and this is the log/error:
[info] use ffmpeg.wasm v0.10.1
log.js:15 [info] load ffmpeg-core
log.js:15 [info] loading ffmpeg-core
log.js:15 [info] fetch https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.js
log.js:15 [info] https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.js file size = 105985 bytes
log.js:15 [info] https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.js blob URL = blob:https://ffmpegwasm.netlify.app/47f0fbc5-2d41-4b37-bb59-ac36ee1abc0d
log.js:15 [info] fetch https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.wasm
log.js:15 [info] https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.wasm file size = 24354956 bytes
log.js:15 [info] https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.wasm blob URL = blob:https://ffmpegwasm.netlify.app/fd21f3dc-d218-42cf-abc8-29cab76ac849
log.js:15 [info] fetch https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.worker.js
log.js:15 [info] https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.worker.js file size = 3609 bytes
log.js:15 [info] https://ffmpegwasm.netlify.app/static/js/ffmpeg-core.worker.js blob URL = blob:https://ffmpegwasm.netlify.app/f3ec1b24-be47-4064-9260-b24e5a35dea9
log.js:15 [info] ffmpeg-core.js script loaded
47f0fbc5-2d41-4b37-bb59-ac36ee1abc0d:22 Uncaught (in promise) RangeError: WebAssembly.Memory(): could not allocate memory
    at blob:https://ffmpegwasm.netlify.app/47f0fbc5-2d41-4b37-bb59-ac36ee1abc0d:22:82
    at 2.549adfcd.chunk.js:2:475859
    at u (2.549adfcd.chunk.js:2:270258)
    at Generator._invoke (2.549adfcd.chunk.js:2:270046)
    at Generator.next (2.549adfcd.chunk.js:2:270683)
    at n (2.549adfcd.chunk.js:2:267247)
    at o (2.549adfcd.chunk.js:2:267458)


Intercity trains despawn instead of returning to an outside connection

As @aubergine18 reported here (#161), intercity trains cannot return to an outside connection after unloading. However, it is currently unclear what is causing this and whether it is a bug in TMPE or not.

It seems to also be happening with cargo ships (and possibly passenger ships too, but not tested those yet). If an external cargo ship offloads goods, it then despawns rather than returning to whence it came.

It's happening with some, but not all, cargo trains too - in some situations.
Should be reproducible on the save linked in #140 which if memory serves has two cargo stations (one in Garnet district, one in Forestry district) both served by a the same cargo track which loops round in Forestry (ensuring the forward-only train can turn round and leave the map).
After an external train deposits it's cargo:

If the station where it offloaded cargo onloads new cargo to the train, the train will leave the map as expected
If, however, there is no cargo to put on the train, and the train has no cargo remaining onboard, the train will despawn.

I've not checked, but maybe passenger trains are showing same trait - despawning if there's no passengers for the "leaving city" journey?

I finally found the reasons why this is happening. It's going to be a bit technical here.
Passenger trains
Passenger trains may despawn if the the train station where they arrived at is located too close to the edge of the map. Of course, this is possible if the 81 tile mod is enabled for example, and in general it should be unproblematic.
When passenger train stations are built next to the edge of the map the game assumes that the train reached an outside connection. If there are no passengers to pick up the game assumes that the train may safely despawn because

it's senseless to send empty trains to the player's cities and
because a regular player could not witness the train despawning anyway.

However, the map bound condition CO once wrote uses a rather rough metric. [technical stuff ahead] It checks whether the following condition is true for the last known world position (lastFramePosition) of the train in question:
max(abs(lastFramePosition.x), abs(lastFramePosition.z)) > 4800
(code reference: PassengerTrainAI.ArriveAtTarget)
Since the map center corresponds to the world position (0, 0, 0) the term above (uniform/maximum norm) increases towards map bounds.
A possible solution would be therefore to reduce the threshold (4800) to some higher value or to replace the check with something better. I would first have to check if other mods already provide "old-fashioned" (=non-"Harmony") detours for the PassengerTrainAI.ArriveAtTarget method (@bloodypenguin I have not checked but I strongly assume that public transport related mods like Improved Public Transport 2 override it). If that's the case this would lead to further mod incompatibilities which I do not want to accept.
Cargo trains
I have not tested cargo trains as extensively as passenger trains but a different condition seems to apply here. Cargo trains waiting at a cargo hub despawn when the hub is not able to provide any goods within 16 simulation steps. [technical stuff ahead] The check is performed in the method CargoTrainAI.ArriveAtDestination() (starting with the call to CargoTruckAI.FindNextCargoParent).
I guess the same is also happening for cargo ships.
Same story: If other mods override the ArriveAtDestination method for cargo trains I will not take any action here.
I will postpone the issue for at least version 1.11.

That's a really nice investigration! Yes, IPT2 indeed overrides ArriveAtTarget methods, and I can try to implement the fixes there

Issue affects cargo road vehicles too.

I've noticed this is happening a lot less after the recent updates - maybe due to improved path finding increasing the likelihood that there's cargo/cims to load on to trains/ships/etc?


Improve handling when Local Storage not available.

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

colin and I discussed -- am sort of on the fence on this one, given that we only saw local storage not available once!
I suppose its less catastrophic, which is always a good thing.  We could also log the error on the server,  I suppose.... to make sure we address any such situation.


Improve DigitalOcean account creation (needs help from DigitalOcean)

Dream: users should be able to create DigitalOcean accounts, and setup payment for those accounts, all within the uProxy UI.  This would require new APIs from DigitalOcean.
Assuming the above dream is unrealistic, there might be a few more small ways DigitalOcean could help us make account creation easier:

It would be great to remove the "Create Droplet" option if they are referred to DigitalOcean from uProxy (see attached screen).  It is super confusing that we need users to complete 2 steps in DigitalOcean but not the 3rd:

Currently if a user doesn't yet have a DigitalOcean account, we first have them create a new account by launching a tab with the URL https://m.do.co/c/5ddb4219b716 (launched from the uProxy UI).  However this is not actually an OAuth flow (uProxy doesn't get any OAuth credentials after they create an account on this tab) - instead once the user has completed 2/3 account creation steps, we ask them to click another button which launches the real DigitalOcean OAuth sign-in flow (URL starting with https://cloud.digitalocean.com/v1/oauth/..., launched by the DigitalOcean provider in uProxy-lib).  It would be a simpler flow to combine all of these in one step: i.e. if the user already has a DigitalOcean account, we continue with the same login flow we currently have in uProxy-lib, however if they need to create a new account, that should also be an OAuth flow, that should complete after the user sets up payment - then we don't need the user to login again, or worry that they will accidentally create their own droplet.

(Updating this ticket with results from recent discussion:)
We can accomplish part 1 above without even needing to ask DigitalOcean to do anything, see #2414


doc: Fixing the TODO in createCephfsStorageClass

Fixing the TODO from createCephfsStorageClass()
since v3.9 is released and upgrade tests will be
run from v3.9 to devel.
https://github.com/ceph/ceph-csi/pull/3994
Fixes: #3911

CC @Madhu-1 @Rakshith-R

@mergifyio queue

Upgrade tests still picked the old version v3.7.2. Maybe due to the test run triggered within few minutes of merging https://github.com/ceph/ceph-csi/pull/3994. Re-running to see whether it picks the latest release.
../e2e.test -test.v -ginkgo.timeout="150m" --deploy-timeout="10" --cephcsi-namespace=cephcsi-e2e-14e93bc6 --upgrade-version=v3.7.2 --test-cephfs=false --test-rbd=true --upgrade-testing=true
../e2e.test -test.v -ginkgo.timeout="150m" --deploy-timeout="10" --cephcsi-namespace=cephcsi-e2e-d8d75027 --upgrade-version=v3.7.2 --test-cephfs=true --test-rbd=false --upgrade-testing=true

/retest ci/centos/upgrade-tests

@mergifyio requeue

@mergifyio rebase

Upgrade tests still picked the old version v3.7.2. Maybe due to the test run triggered within few minutes of merging #3994. Re-running to see whether it picks the latest release.
../e2e.test -test.v -ginkgo.timeout="150m" --deploy-timeout="10" --cephcsi-namespace=cephcsi-e2e-14e93bc6 --upgrade-version=v3.7.2 --test-cephfs=false --test-rbd=true --upgrade-testing=true
../e2e.test -test.v -ginkgo.timeout="150m" --deploy-timeout="10" --cephcsi-namespace=cephcsi-e2e-d8d75027 --upgrade-version=v3.7.2 --test-cephfs=true --test-rbd=false --upgrade-testing=true

Changes to CI jobs are applied after merging the PR. It can take a few minutes before the updated jobs are available in Jenkins. You can follow the progress at https://jenkins-ceph-csi.apps.ocp.cloud.ci.centos.org/job/jjb-deploy/

https://github.com/Mergifyio requeue

@mergifyio requeue

@mergifyio queue

Changes to CI jobs are applied after merging the PR. It can take a few minutes before the updated jobs are available in Jenkins. You can follow the progress at https://jenkins-ceph-csi.apps.ocp.cloud.ci.centos.org/job/jjb-deploy/

Thanks 👍🏻. Yes the retest run picked the latest version.


Implement embedded_hal::spi Traits

Now that embedded_hal has reached 1.0 - would it be possible to unify the traits against embedded_hal::spi?

spidev is just a rust implementation of the linux spidev APIs, you might be looking for linux-embedded-hal which provides embedded-hal compatible wrappers?

Huh, apologies! That's exactly what I want.


⚠ Bofrost.at has degraded performance

In 4c6c2bf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1658 ms

Resolved: Bofrost.at performance has improved in 66d337b.


fix: bump edge-runtime to 1.62.1

What kind of change does this PR introduce?
Bump edge-runtime to 1.62.1
Changes
1.62.1 (2024-11-12)
Features

exposing onnx backend to JS land (#436) (1052be2) (@kallebysantos)

Bug Fixes

ci: release workflow failure (#442) (390a5c1)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 59.788%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.03%

Covered Lines:
6383

Relevant Lines:
10676

💛  - Coveralls


Lstmbox

Create box files (similar to tsv renderer) in the format needed for LSTM training i.e. with a line for space after every word and a line with tab to mark end of line.

I have tested this for eng and hin. It will require testing for RTL languages.
Since the character level bounding boxes are NOT accurate with LSTM engine,  I changed the format to the one used by ocrd-train i.e. bounding info at TEXTLINE level for all characters on a line.

Sorry if I miss some information, but what is user case for this?

When tesseract  is used with makebox to create box files from scanned images, the format is suitable for training for base tesseract (--oem 0) but does not have the boxes for space between words and tabs to mark end of line as needed for LSTM training.
This PR allows creation of box files from images, in the format needed by LSTM training. The box files will still need to be edited for accuracy (similar to tesseract 3).
This can be useful when someone wants to finetune for a particular typeface which is not available as a font.

Since there are lots of requests by users who want to train using images, I wanted to add this option.
The code in src/api/lstmboxrenderer.cpp can be streamlined. I do not know c++ to be able to do that.
@stweil Please review and fix. Thanks.

testbox.zip
Test results for eng, hin, ara, chi_sim and chi_tra
Both chi_sim and chi_tra are including extra spaces when the word has both Chinese and Latin script.

https://github.com/Shreeshrii/tesseract/tree/lstmboxnew has a cleaner version of commits.

text2image does not output space char at EOL.

@amitdo Thanks. Will change.
Have you checked the output for RTL eg. Hebrew?

The ara lstmbox in testbox.zip looks fine.


fix(network): Upgrade minimum protocol versions for all network kinds

Motivation
Now that Nu6 is activated for Mainnet and Testnet we can drop peers that pre-Nu6.
Close https://github.com/ZcashFoundation/zebra/issues/9045
Solution
Update the minimum protocol version to 170_110 for Testnet and 170_120 for Mainnet.
Tests
Updated tests where needed.
PR Author's Checklist

[ ] The PR name will make sense to users.
[ ] The PR provides a CHANGELOG summary.
[ ] The solution is tested.
[ ] The documentation is up to date.
[ ] The PR has a priority label.

PR Reviewer's Checklist

[ ] The PR Author's checklist is complete.
[ ] The PR resolves the issue.

@mergify queue


The correct way to get all Pokemon

I was following through the examples provided here and here to get all pokemon names, and then perform a corresponding lookup for each pokemon.  There's a list of about 27 pokemon where rustemon::pokemon::pokemon::get_by_name does not work.
error getting info for pokemon deoxys: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon wormadam: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon giratina: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon shaymin: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon basculin: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon darmanitan: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon tornadus: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon thundurus: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon landorus: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon keldeo: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon meloetta: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon meowstic: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon aegislash: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon pumpkaboo: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon gourgeist: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon zygarde: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon oricorio: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon lycanroc: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon wishiwashi: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon minior: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon mimikyu: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon toxtricity: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon eiscue: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon indeedee: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon morpeko: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon urshifu: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon basculegion: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })
error getting info for pokemon enamorus: Reqwest(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })

Pretty sure these errors are all for pokemon with mutliple forms.  Deoxys for example is deoxys-normal when you look at the pokemon API by # https://pokeapi.co/api/v2/pokemon/386/
Is there a better way to do a lookup for every pokemon?

Hey there!
First of all, thanks for using rustemon!
I'm asking this to everyone submitting an issue: do you want to investigate yourself and contribute? Or you rather prefer me to check it?
It's up to you, please let me know ! 🙂

Hey @GregHanson !
I did some research and the endpoints on PokeApi answer undefined rather than the json.
I bet the data for those pokemon variants are missing.
Might be worth to open an issue on their side?

Update: after a preliminary inspection, this rust library performs the same as other libraries such as go and python based ones.  Trying a get for https://pokeapi.co/api/v2/pokemon-species/deoxys fails for them as well.
Going further, https://pokeapi.co/api/v2/pokemon-species/deoxys seems to contain the information I'm looking for, specifically the varieties field.  Lists base name and additional forms and their corresponding urls for complete info:
    "varieties": [
        {
            "is_default": true,
            "pokemon": {
                "name": "deoxys-normal",
                "url": "https://pokeapi.co/api/v2/pokemon/386/"
            }
        },
        {
            "is_default": false,
            "pokemon": {
                "name": "deoxys-attack",
                "url": "https://pokeapi.co/api/v2/pokemon/10001/"
            }
        },
        {
            "is_default": false,
            "pokemon": {
                "name": "deoxys-defense",
                "url": "https://pokeapi.co/api/v2/pokemon/10002/"
            }
        },
        {
            "is_default": false,
            "pokemon": {
                "name": "deoxys-speed",
                "url": "https://pokeapi.co/api/v2/pokemon/10003/"
            }
        }
    ]

So to solve my original goal of getting json info for all pokemon (including their corresponding forms), I can get that information there

As I'm gaining more familiarity with your library, I think the correct way I should be solving my problem is to instead use your provided follow() function :
let all_pokemon = rustemon::pokemon::pokemon::get_all_entries(&client).await.unwrap();
for entry in all_pokemon.into_iter() {
    let pokemon = res.follow(&client).await.unwrap()
    ...
}

and that should include all pokemon with their corresponding form-specific info by default

@mlemesle I feel like I might be hammering the pokemon API alot, by performing a .follow() on each item from rustemon::pokemon::pokemon::get_all_entries(&client). Am I missing another feature of your library implementation?

@GregHanson You already use the get_all_entries function. That basically fetches everything from the targeted endpoint. Are you sure the variants are just further in the resulting Vector?

Feel free to reach out if you have more questions!


@pytest.fixture() functions are not accessed in other test files

both check_local_blockchain_envs and lottery_contract
are not accessed in the both test files!

(parameter) check_local_blockchain_envs: Any
"check_local_blockchain_envs" is not accessed

Yeah, a lot of people having issues here.
I just reverted, could you do a new git pull and try again?
https://github.com/PatrickAlphaC/smartcontract-lottery/commit/e3cd8e3b52311c27a557147c494d5bd1d9d3e753

Great ! the @pytest.fixture() function lottery_contract is accessed now
but causing error when running the tests lottert_contract() testing error


Simplify webpack alias

Using __dirname directly in the path-mapping.js file should be more reliable and should always be accurate. This simplifies setting up the aliases for Webpack to map to the esm distribution.
Output in the path-mapping.js file will now look like this:

"use strict"

var path = require('path');

module.exports = function() {
  return {
    "rxjs/AsyncSubject": path.resolve(__dirname, "AsyncSubject.js"),
    "rxjs/add/observable/interval": path.resolve(__dirname, "add/observable/interval.js"),
    "rxjs/util/tryCatch": path.resolve(__dirname, "util/tryCatch.js"),
    // ...
};
}

Coverage remained the same at 97.399% when pulling b2ee79727d700faf093dbcb976d92a84fb750047 on jasonaden:simplify_webpack_alias into a0b73621224d2566146327760efc1ca20116ccb6 on ReactiveX:master.

Change itself looks fine. I'd personally would capture __dirname once
function() {
  var dir = path.resolve(__dirname);
  return {
    "rxjs/AsyncSubject": path.join(dir, "AsyncSubject.js"),
}

like, but not sure how much gain it'll be honestly. probably not worth it?

@kwonoj Sounds good. I made that change.

Coverage remained the same at 97.399% when pulling 63c152172a9f2838def9042ba0351575df1614ab on jasonaden:simplify_webpack_alias into a0b73621224d2566146327760efc1ca20116ccb6 on ReactiveX:master.


Remove the now gone NNCP VA routes

As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

Duplicated: https://github.com/openstack-k8s-operators/ci-framework/pull/1595


Multiple windows with same color

For some reason the same color gets applied to multiple windows, but not all.

I'm on Windows 10, with VSCode 1.34.0 and Window Colors 1.0.51
The way to trigger this (for me) is to open VSCode. Then chose "File -> New Window" and then in the "Welcome" dialog I choose a folder from the "Recent" list. Doing this the title bar will stay blue. If I instead chose a workspace, the new window will switch to a unique color.

I'm getting lots of the same green with each one I open. Did you find a solution for this issue?

No, I stopped using the extension

It seems like the coloring depends on the project path. For me all projects with the same initial letter have similar colors. I think this feature request proposes an alternative approach.


CES-10074 - fix for possible osd config file contention if large amou…

fix for possible osd config file contention if large amount of storage nodes or slow connectivity to undercloud node.

@cdearborn  should be better now, i tested with > 50 storage nodes and didn t run into any issues

Looks good!  It looks like there may be some pep8 warnings that need to be cleaned up, but we can do that later.


feat: OpenSearch vector db support

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[X] Target branch: Please verify that the pull request targets the dev branch.
[X] Description: Provide a concise description of the changes made in this pull request.
[X] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources? - Not yet, I wanted to wait for it to be merged.
[X] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[ ] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[X] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

feat: Introduces a new feature or enhancement to the codebase

Changelog Entry
Description

Adding support for OpenSearch as a RAG data store

Added

OpenSearch data store connector, relevant configuration, OpenSearch-py dependency

[Attach any relevant screenshots or videos demonstrating the changes]

@tjbck Rebased on Dev

I think once the comments are resolved, we're good to go! Thanks!

It seems like this PR support username/password authentication but not OAuth2, trusted header proxies, and bearer tokens. It would allow to control data access security per user on the OpenSearch side (Opensearch secuirty plugin). Do you plan to do it or would you like a suggestion of implementation ?

Hey @doxav! Thanks for the feedback but this is more of a first iteration for OpenSearch. I am mostly doing this on a personal level as I am going to be using OpenSearch locally. If you could use those features feel free to contribute once it's merged 😄
@tjbck I think I've got this polished off but thank you for your careful review so far!

LGTM, Thanks for the PR!


One Plus Two

Error while dowbloading/installing game files on One Plus Two :( tried from factory new and tried with root/sqlite installed

I am using One Plus 2 too
I got the following output:
Device: OnePIus ONE A2001 Android 5.1.1
Error: java.Iang.RuntimeException:
java.Iang.RuntimeException: Dex returned 3 with error:

UNEXPECTED TOP-LEVEL ERROR:
java.Iang.UnsatisﬁedLinkError: dlopen failed: "/system/
lib/libjavacrypto.so" is 32-bit instead of 64-bit

at java.lang.Runtime.loadLibrary(Runtime.java:393)
...


Rancher Component Library

Detailed Description

Separate a group of Rancher Components that can be used as a component library.
These are the components & utils that have been identified as a good starting point for the first iteration:
Components
  |- ActionMenu.vue
  |- BadgeState.vue
  |- Banner.vue
  |- Card.vue
  |- Form
    |- Checkbox.vue
    |- LabeledInput.vue
    |- LabeledTooltip.vue
    |- RadioButton.vue
    |- RadioGroup.vue
    |- TextAreaAutoGrow.vue

Utils
  |- array.js
  |- object.js
  |- platform.js
  |- position.js
  |- sort.js
  |- string.js
  |- unit.js

Context

We have several projects that are starting to use shared components throughout Rancher. For example, Rancher Desktop is currently copying dashboard components into their repo. We can reduce code duplication a great deal with a component framework.

ActionMenu.vue looks like it is a dependency of SortableTable will need to be extracted later, if at all, as it will require quite a bit of refactoring. Dealing wit SortableTable will take a considerable amount of effort and time, removing from this initial pass.


update GameEU interface

add popularity field to GameEU interface + some minor documentation

Looks like some other fields were also missing so I fixed this in another commit

Released in v7.0.2


Attempting to fix a classpath problem in managed vm examples.

There were some conflicts between the changes in our pom.xml files and
the expectation of the
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/tree/master/java/managed-vm-gae
pom.xml and the updates we made between cloud-bigtable-client 0.2.1 and
0.2.2.  This change seems to correct some of the issues.

If there is a conflict, why can't we fix the config in managed-vm-gae?
Updating cloud-bigtable-client means the expectation in managed-vm-gae is correct.
I am OK with the change, hope fixing this won't break others.

LGTM


Use ansible to deploy enmasse in systemtests

So before merge please update jenkins manage files for openstack machines, there is no ansible installed. ansible-playbook: command not found

@lulf - tests in CI fails, but deploy is ok -> all pods are up.
there are 2 kinds of exception:
1.
Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: ****/apis/route.openshift.io/v1/namespaces/enmasse-pr-enma4/routes/restapi. Message: Forbidden! User ****/127-0-0-1:8443 doesn't have permission. User "system:anonymous" cannot get routes.route.openshift.io in project "enmasse-pr-enma4".

and this weird exception:
java.lang.NoClassDefFoundError: Could not initialize class io.enmasse.systemtest.standard.QueueTest

@lulf your last commit fixed issues, I think that you can merge with master.


eredis_client:maybe_reconnect logs are too verbose

Mainly visual/convenience issue: if the eredis_client processes are calling maybe_reconnect repeatedly, it creates a lot of "ERROR REPORT" messages in the erlang logs. By default each client process tries to connect once every 100ms, and if eredis_cluster is used as the supervisor tree for the clients then there are 10 clients per redis server.
A common trivial scenario is when a redis server is intentionally removed (scaling down cluster). In this case reconnections will fail with connection reset, while the original connection will have been severed with etimedout or connection reset (in the eredis_cluster usage scenario, eventually the slot maps are refreshed and the clients towards the deleted server are terminated). It works fine, but a lot of spam is generated in the logs.
I wonder if it could be improved; some ideas to consider:

only log the report & reason on first reconnect attempt (ie. the original reason for the reconnect, not the reason from the last attempt each time)?
if the repeated (ie. not initial) reconnect attempts are logged, maybe the level there should be debug or info, not error
only log the report & reason if the Reason is different than last time (common case is where the same reason is repeated many times, like when the redis server leaves and is no longer listening)

Small addendum: it would also be cool if the error logged more info about the process:
    error_logger:error_msg("eredis: Re-establishing connection to ~p:~p due to ~p",
                           [Host, Port, Reason]),

Here, once again considering the cluster scenario, a lot of client processes will "spam" this at once, so it cannot be made out which is which. I guess the self() pid could be added to the message to make that clear.

Up to you, for now it seems the 1.5.2 is not super urgent, as we will be able to internally cherry pick 794816baeb131ebf4b02cf0992fa35e976794e4f considering its scope

As discussed, preferable solution would be the ability to provide a logger module's name (atom) and for eredis to use that.
Our application has its own logger module that mostly replicates the standard logger's "API" in terms of available function calls.
An additional improvement would be making the logs less spammy in general somehow (not sure what's the best approach there, but once every 100ms is a lot with 10 connections per redis master), though our logger does have some spam protection where it will not print the same log too many times in succession.


Question: Mimic Context Object from Golang to terminate request

Is it possible to implement the same behavior that Golang does with its Context object that will terminate the db query if the caller terminates the connection?

Hi @clue, thank you for you answer I understood your reply.
So my expected behavior would be ServiceA calls ServiceB which makes a call to an external service like a DB/Cache service and at a certain point ServiceA goes away and the query that ServiceB triggered is still processing, what I expect o happen is that ServiceB will kill the processing of the query and/or close the connection to the external service.
The issue can remain closed but from what you've told me if you implement ReactPHP's promise cancellation it will solve this.
Thank you

Promise cancellation is generally well supported across ReactPHP's ecosystem, so for example you can easily cancel an outgoing HTTP request like this: https://github.com/clue/reactphp-buzz#cancellation
Similarly, we may add cancellation support for outstanding MySQL queries in the future :+1:


LDAP response error code mapping

I have a problem with mapping error code from LDAP. After diving into the code I found a fragment where the ActiveDirectoryAuthenticationResponseHandler is created if and only if you have not null property cas.authn.ldap[0].passwordPolicy.warningDays. Without this property LDAP error codes will not be mapped correctly, for example 49 / 773 should be mapped to USER MUST RESET PASSWORD. Now it returns INVALID_CREDENTIALS . To sum, if you want to have LDAP error codes mapped correctly, you have to set cas.authn.ldap[0].passwordPolicy.warningDays property.
https://github.com/apereo/cas/blob/master/support/cas-server-support-ldap/src/main/java/org/apereo/cas/config/LdapAuthenticationConfiguration.java#L190

Thanks for the notice. Added a few more log statements to make that behavior know.

When the release of version 5.1.0 is planned?
It will be able to use '
ActiveDirectoryAuthenticationResponseHandler' without setting 'warningDays' property?
Thank you in advance


Changes to consume latest js-client bundle

Define the exports (WindowsAzure) in plugin.xml
Use MobileServices.Cordova.js instead of MobileServices.Web.js. This is because both will start diverging soon.
Update the MobileServices.Cordova.js with the latest drop from the Azure/azure-mobile-apps-js-client repo.

+ @danderson00

I am concerned about the libraries diverging - this is not the path we ideally want to go down. Let's chat about it.
What is dereq?

To clarify the explanation, the divergence is purely in the bundle, no actual code divergence, i.e. the cordova bundle includes the SQLite libraries that are not required for web.


Prerelease CI

[ ] Increment version
[ ] Push to nuget.org (set alpha in version number)

@azurecoder do you have any preferences on what's the name of NuGet package? :)