Get an message at VEN side during implementing openleadr.

Run time of job "OpenADRClient._poll (trigger: cron[hour='', minute='', second='*/10'], next run at: 2021-12-17 11:06:20 IST)" was missed by 0:00:04.691910.
this message was coming beacuse
async def voltage_read(device)
{
} and
async def current_read(device)
{
}
function taking more time.
can i fix this message?

is it necessary to send voltage, current, real_power seperately ? can we send all theses parameters in a list of dictionary?

The proper way to solve this problem would be to make the data collection callbacks truly synchronous. It looks like there is blocking code in those functions, which makes the rest of the scheduler stop during the data collection.
What kind of system are you pulling the data from? If you can tell me a bit about how the data is collected, I can maybe point you in the right direction.

I have an example here that shows how you could wrap blocking code in a thread to make it asynchronous and not disturb the rest of the application:
https://github.com/OpenLEADR/openleadr-python/issues/51#issuecomment-770724247
This works fine if you have a thread-safe interface. Of course, if you have an asyncio interface to your datasource, that would be preferrable.
As I said, I'd like to understand how the data is collected, so that maybe I can account for it in the design of the openleadr client in the future. Thanks.

I am collecting data from MQTT server by subscribing specific device data and also targeting device through mqtt by publishing event payload. But i am trying to catch 10 samples of subscribed data and then averaging it  and returning that value in VEN side function.
from getData import meterReading
async  def  voltage_read(device){
a=meterReading(topic=device, measurement='voltage')
return a
}
getData.py file .......
import paho.mqtt.client as paho
from paho import mqtt
import time
import json
meter_val=0
async def meterReading(topic,measurement):
def on_message(client, userdata, msg):
    # here am I am getting data of current,voltage,power etc.... in the form of  msg.payload and filtering based on measurement and averaging it and putting in meter_val variable.

client = paho.Client(client_id="", userdata=None, protocol=paho.MQTTv5)
client.on_connect = on_connect
# enable TLS for secure connection
client.tls_set(tls_version=mqtt.client.ssl.PROTOCOL_TLS)
# set username and password
client.username_pw_set("username", "password")
client.connect("serveraddress", port)

client.loop_start()
client.subscribe(topic,qos=2)
client.on_message = on_message
time.sleep(10)
client.loop_stop()
return meter_val

I think time.sleep is causing problem....

If you at replace the time.sleep(10) with await asyncio.sleep(10), that should remove the blocking caused by sleeping.


cloud-endpoints-controller:0.2.1 does not exist

When trying to deploy kubeflow 1.4 on GCP using the official guides https://www.kubeflow.org/docs/distributions/gke/deploy/deploy-cli/
the image "gcr.io/cloud-solutions-group/cloud-endpoints-controller:0.2.1" is not available. As a result, the endpoint controller pod does not start and the UI interface is not accessible.

Thank you so much for the report!
I contacted the image owners and we have changed the image location to mitigate the issue. Please follow the steps below:
Mitigation
For the lines in these locations: https://github.com/kubeflow/gcp-blueprints/search?q=cloud-solutions-group

Change gcr.io/cloud-solutions-group/cloud-endpoints-controller to gcr.io/ml-pipeline/cloud-solutions-group/cloud-endpoints-controller.
Change gcr.io/cloud-solutions-group/esp-sample-app to gcr.io/ml-pipeline/cloud-solutions-group/esp-sample-app.
Re-deploy the corresponding components: iap-ingress, cloud-endpoints

Urgent release is now made. You can start using v1.4.1 for Kubeflow deployment on Google Cloud: https://github.com/kubeflow/gcp-blueprints/releases/tag/v1.4.1

Urgent release is made: https://github.com/kubeflow/gcp-blueprints/releases/tag/v1.4.1, you can now use v1.4.1 tag for deployment.


[avocado-142] Don't NPE if MapQ is not set.

Can one of the admins verify this patch?

I am sorry. This was done by mistake. I was trying to pull the latest code into my local repository.


Add SqueezeNet example

Add the SqueezeNet DNN structure to examples.  The corresponding gist for inference is here.

good example, thanks.


Remove version: Jackett.Jackett version 0.21.1310

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.1310/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Usage issues

Hi, firstly this is a great piece of software and it's working very well in my React app on localhost on Chrome.
However I'm having a couple of issues.
First issue:
When the application is put onto a "real" server (HTTP, not secure), Chrome blocks access to the microphone and I cannot unblock it. It defaults to "Continue blocking microphone access..." despite me changing this. Is this an issue with annyang or Chrome?
Second issue:
In Safari, Edge and Firefox, the annyang object returns null, so voice recognition isn't even firing. In Chrome the object returns populated (on local and production environments). To reiterate this is a React app, and I am using import. It is very odd that this is working for Chrome but not other browsers.
All browsers are latest versions.

Sort of resolved:

Still unsure about this, I need to put it on a secure sever to test
These browsers don't support speech recognition API yet!

You are correct about both.
It seems like Google has changed support for Speech Recognition in Chrome to only work in on secure origins (HTTPS). This is consistent with their policy on many of the newer browser APIs.

I am using annyang with HTTPS protocol on public site. On chrome the annyang object is populated but In Safari, Edge and Firefox, the annyang object returns null, so voice recognition isn't even firing. This is problem of API or browsers do not support speec recognition?

@TalAter It is null on iOS Chrome as well. Is there a way to fix this?

@iiison Chrome on iOS doesn't support the Speech Recognition standard because Chrome on iOS isn't really Chrome.
I just added a section to the FAQ to make this clearer.


Error in dnacenter_wireless_provision_access_point example

inserted payload {}

Thanks.
Related commit: https://github.com/cisco-en-programmability/terraform-provider-dnacenter/pull/191/commits/d212129385a2bd2719213977c31d0073ab3c453f


QuotaExceededError: Failed to execute 'setItem' on 'Storage'

I'm getting an error QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of '@@History/...' exceeded the quota. after having loaded many pages.
Am I doing something wrong or is it a bug?

I think it's clear from this issue and from #42 that we need a higher level API that helps us manage interfacing with sessionStorage more gracefully than what we have now. Maybe we could keep track of old location keys and expel them if we see this error...

Is there something I can do in the meantime? Or not at all?
Thank you!

I think the right thing to do is to update the check to the one recommended by MDN: https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#Testing_for_support_vs_availability
I'm not aware of any packages that encapsulate this for sessionStorage the way store does for localStorage.

This issue isn't a question of availability, @taion. We discussed that in #42. This is an actual question of exceeding the available quota in sessionStorage. Sorry if I misunderstood you.

Oh, I see - never mind, my bad.

Running into this quite a bit, so wanted to add a note here to see if there's been more discussion on the right implementation for this

I built a thing a long time ago in coffeescript (heh) that, when the limit was reached, it started pulling out the oldest stuff in there until there was enough room:
https://github.com/ryanflorence/fifo/blob/master/fifo.coffee
Could do something like that.
Also, what are people putting on state? Seems crazy they've got 5 megs! Seems like it's being abused a bit?

@ryanflorence We took a stab at this on https://github.com/rackt/history/pull/104, but it wasn't quite enough. We need to persist in session storage the list of keys to fix both that and https://github.com/rackt/history/issues/157.

I am having the same problem. What happens if the oldest entries are removed, and the user clicks the back button enough times? Will the state just be null or will it skip that history entry and go to the next one?

Agree with @ryanflorence — we've abused the quota, so the exception is legitimate. The way we're fixing this, is by updating our code to be more sensible with what gets persisted throughout the browser session.
With that said, however, the react-router API makes it quite easy to run into that abuse. Having a safety net in place seems important in order to ensure confidence in that ease. Us, as developers, have to be careful about how and  what we do, but if history can help out when we're too inattentive to notice, then that's fantastic.

v4 doesn't use session storage at all so this issue won't be relevant very soon.

I've also has this problem and I'm using react router 3 and cannot update to the latest version because of multiple reasons. Is there any solution to this?

just ran accross this issue as well.

the same error today

@mjackson Is there a solution for those stuck on v3?

Is there a way to use latest history with old react-router? I can't upgrade to latest react-router because of the context update done in that library.


waybar: optionally wrap mediaplayer.py

This is a continuation of #85507 that I brok with a force push.

Motivation for this change
waybar has a mediaplayer.py script that uses mpris to show the current song.
Things done
Quite a package closure size increase.
No idea if I should use preFixup or another phase.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/nix/store/igjl73fjbg42hdk4di4bpjb6gypjx3cl-waybar-0.9.2	 202.7M
/nix/store/fg8j6fq4pqziscjnvy1lry96hb2k6pxa-waybar-0.9.2	 847.6M

I added playerctl back because we get:
[nix-shell:~/.cache/nixpkgs-review/pr-85507-1]$ result/bin/waybar-mediaplayer.py
Traceback (most recent call last):
  File "/nix/store/dygl1b2k1rdxylnzq5w0m8sgc0bm89c3-waybar-0.9.2/bin/..waybar-mediaplayer.py-wrapped-wrapped", line 8, in <module>
    gi.require_version('Playerctl', '2.0')
  File "/nix/store/w4mr1ykma079sgdw4bj9x9y3f6ax86mw-python3.8-pygobject-3.36.0/lib/python3.8/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Playerctl not available

Thanks for the help cole-h.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/160

Thank you very much.


Remove api-level specific ui code

You're certain this isn't a Nano S vs Nano X distinction?

You're certain this isn't a Nano S vs Nano X distinction?

It sort of is: starting in 1.6 SDK, Ledger has "unified" the UX so that you can use the same methods on Nano S as Nano X. We cannot immediately update it because it requires some large changes to ui_nano_s, so in https://github.com/obsidiansystems/ledger-app-tezos/pull/111 we switch to the "legacy" nanos-secure-sdk which has the old UX API (branch changed from "master" to "og-1.6.0-1"). This lets us work with the new firmware without refactoring our whole app (see README.md: https://github.com/LedgerHQ/nanos-secure-sdk/tree/1f2706941b68d897622f75407a868b60eb2be8d7#nano-s-secure-sdk). Weirdly the CX_APILEVEL for the og branch is still 10, causing this error. I suspect this is an oversight and CX_APILEVEL should be 9, otherwise there is no way to tell the difference between "master" to "og-1.6.0-1".

Got it. Thanks.


Changing the changelog

I used the link @plapczyn provided in Issue #89 to edit and reformat the Changelog. This now should fit the stipulations in that document. The one thing I was unsure about was how in-depth  the "Unreleased" section should be. The document said it should list issues/changes not yet released. We current have over 20 such issues, including some we know may not be addressed promptly. Perhaps @plapczyn and.or @iramcdonald can provide input and advice. @tkfu this revised changelog would need to be included in your proposed Deployment Best Practices document.

I don't think open issues should be put in the changelog. I think the unreleased section is for changes that have been made since the last release.

I don't think open issues should be put in the changelog. I think the unreleased section is for changes that have been made since the last release.

Hi,
I agree with Patti.  However some other documents may use this Change Log
format,
I want to stress that the IETF, who have championed this "changes since the
previous
version" section, have never allowed the inclusion of any speculative info
(e.g., "we
hope to add this feature, changing x and y current text") into their change
logs.
Cheers,

Ira

Ira McDonald (Musician / Software Architect)
Chair - SAE Trust Anchors and Authentication TF
Co-Chair - TCG Trusted Mobility Solutions WG
Co-Chair - TCG Metadata Access Protocol SG
Chair - Linux Foundation Open Printing WGSecretary - IEEE-ISTO Printer
Working GroupCo-Chair - IEEE-ISTO PWG Internet Printing Protocol WGIETF
Designated Expert - IPP & Printer MIBBlue Roof Music / High North
Inchttp://sites.google.com/site/blueroofmusic
http://sites.google.com/site/blueroofmusichttp://sites.google.com/site/highnorthinc
http://sites.google.com/site/highnorthincmailto<EMAIL_ADDRESS>blueroofmusic@gmail.com(permanent) PO Box 221  Grand Marais, MI 49839
906-494-2434
On Thu, Jan 28, 2021 at 4:46 AM Patti Vacek<EMAIL_ADDRESS>wrote:

I don't think open issues should be put in the changelog. I think the
unreleased section is for changes that have been made since the last
release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uptane/deployment-considerations/pull/93#issuecomment-768931634,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE33UOZ46XCD6DMJ7DW5DF3S4EXANANCNFSM4WWF5SOA
.

Hi,
I agree with Patti.  However some other documents may use this Change Log
format,
I want to stress that the IETF, who have championed this "changes since the
previous
version" section, have never allowed the inclusion of any speculative info
(e.g., "we
hope to add this feature, changing x and y current text") into their change
logs.
Cheers,

Ira

Ira McDonald (Musician / Software Architect)
Chair - SAE Trust Anchors and Authentication TF
Co-Chair - TCG Trusted Mobility Solutions WG
Co-Chair - TCG Metadata Access Protocol SG
Chair - Linux Foundation Open Printing WGSecretary - IEEE-ISTO Printer
Working GroupCo-Chair - IEEE-ISTO PWG Internet Printing Protocol WGIETF
Designated Expert - IPP & Printer MIBBlue Roof Music / High North
Inchttp://sites.google.com/site/blueroofmusic
http://sites.google.com/site/blueroofmusichttp://sites.google.com/site/highnorthinc
http://sites.google.com/site/highnorthincmailto<EMAIL_ADDRESS>blueroofmusic@gmail.com(permanent) PO Box 221  Grand Marais, MI 49839
906-494-2434
On Thu, Jan 28, 2021 at 4:46 AM Patti Vacek<EMAIL_ADDRESS>wrote:

I don't think open issues should be put in the changelog. I think the
unreleased section is for changes that have been made since the last
release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uptane/deployment-considerations/pull/93#issuecomment-768931634,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE33UOZ46XCD6DMJ7DW5DF3S4EXANANCNFSM4WWF5SOA
.

@pattivacek, I would prefer not to list open issues. Either I misread the document I used for guidance, or it just wasn't clear. I am going to remove that list.

@pattivacek, I would prefer not to list open issues. Either I misread the document I used for guidance, or it just wasn't clear. I am going to remove that list.

@iramcdonald After reading your note, I checked and with the open issue list removed, I don't think the "changelog" listings include any "speculative info." Ok with you if I merge so we can get this posted?

@iramcdonald After reading your note, I checked and with the open issue list removed, I don't think the "changelog" listings include any "speculative info." Ok with you if I merge so we can get this posted?

Hi Lois,
Yes please merge.
Cheers,

Ira

Ira McDonald (Musician / Software Architect)
Chair - SAE Trust Anchors and Authentication TF
Co-Chair - TCG Trusted Mobility Solutions WG
Co-Chair - TCG Metadata Access Protocol SG
Chair - Linux Foundation Open Printing WGSecretary - IEEE-ISTO Printer
Working GroupCo-Chair - IEEE-ISTO PWG Internet Printing Protocol WGIETF
Designated Expert - IPP & Printer MIBBlue Roof Music / High North
Inchttp://sites.google.com/site/blueroofmusic
http://sites.google.com/site/blueroofmusichttp://sites.google.com/site/highnorthinc
http://sites.google.com/site/highnorthincmailto<EMAIL_ADDRESS>blueroofmusic@gmail.com(permanent) PO Box 221  Grand Marais, MI 49839
906-494-2434
On Thu, Jan 28, 2021 at 11:56 AM Lois Anne DeLong<EMAIL_ADDRESS>wrote:

@iramcdonald https://github.com/iramcdonald After reading your note, I
checked and with the open issue list removed, I don't think the "changelog"
listings include any "speculative info." Ok with you if I merge so we can
get this posted?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uptane/deployment-considerations/pull/93#issuecomment-769224291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE33UO23WQMYJAH6BCDMTRDS4GJNJANCNFSM4WWF5SOA
.

Hi Lois,
Yes please merge.
Cheers,

Ira

Ira McDonald (Musician / Software Architect)
Chair - SAE Trust Anchors and Authentication TF
Co-Chair - TCG Trusted Mobility Solutions WG
Co-Chair - TCG Metadata Access Protocol SG
Chair - Linux Foundation Open Printing WGSecretary - IEEE-ISTO Printer
Working GroupCo-Chair - IEEE-ISTO PWG Internet Printing Protocol WGIETF
Designated Expert - IPP & Printer MIBBlue Roof Music / High North
Inchttp://sites.google.com/site/blueroofmusic
http://sites.google.com/site/blueroofmusichttp://sites.google.com/site/highnorthinc
http://sites.google.com/site/highnorthincmailto<EMAIL_ADDRESS>blueroofmusic@gmail.com(permanent) PO Box 221  Grand Marais, MI 49839
906-494-2434
On Thu, Jan 28, 2021 at 11:56 AM Lois Anne DeLong<EMAIL_ADDRESS>wrote:

@iramcdonald https://github.com/iramcdonald After reading your note, I
checked and with the open issue list removed, I don't think the "changelog"
listings include any "speculative info." Ok with you if I merge so we can
get this posted?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/uptane/deployment-considerations/pull/93#issuecomment-769224291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE33UO23WQMYJAH6BCDMTRDS4GJNJANCNFSM4WWF5SOA
.

Thanks, all. Merging now.

Thanks, all. Merging now.


Please rework the roster page so there's no more major/minor

Your Vatsim CID
1340265
What do you suggest?
With the major/minor certifications phased out, we should really use the current terminologies on our roster. Many other ARTCCs already have their own ways of doing this.
There can be an unrestricted GND/TWR/APP column mainly to reflect solo certs, but ideally it should automatically reflect the appropriate level based on the controller rating. Currently I have to manually go in and change the endorsements each time someone gets added to the roster.
Why do you need that?
So we don't look like boomers
Alternatives
No response
Additional info
No response
Validation

[X] I have searched for other requests and did not find any alike
[X] I have also checked the roadmap, and this is not planned

Done in next update

Done in 1.1.0 update


Baked Lightmaps support

Hi is it possible to implement baked lightmaps into the super duper webaverse. Pretty pretty please kind hackers.

Do you mean this type of baked lightmaps? https://threejs.org/examples/?q=lightmap#webgl_materials_lightmap
Because of we are using three.js, so it should be supported, just need to design some apis in such as .scn files.

I think a proper export of GLB might support it already. The THREE.js standard material shaders support it.
https://threejs.org/docs/#api/en/materials/MeshStandardMaterial.lightMap

I've been unable to export a glb with lightmap from blender directly to weba, however it can be achieved by exporting a glb with an second set of UVs for the lightmap/aomap, as well as baking and saving the textures to external image files, you can then traverse the model in three.js and apply the lightmap/aomap to the specific material texture slots, its not the smoothest workflow though.

Thanks so much for the replies. Apologies only seeing them now. Yeah I have just been using vket cloud and they do a cool job of connecting the lightmaps to the models. Although they have Unity as a front end so doing it from there.(im not sure how they do it)
Webaverse is just too damn cool. The team shld be so freakin proud!

I'm testing this out tonight, so far it's not that ez pz lol
https://hubs.mozilla.com/labs/ez-bake-lightmapping/
I'd much prefer is a WYSIWYG workflow like needle tools: https://twitter.com/marcel_wiessler/status/1539737926854221824
I will test such tomorrow 😄

I think three-gpu-pathtracer stuff like what bai has been experimenting with could be potentially used for ultra EZ mode 1 click lightmap / AO / GI baking

Testing an archviz sample file made with MOZ lightmap, seems like it doesn't work. Admittedly that workflow was really difficult for artists to adopt anyhow. Going to test threejs route via needletools now.

Hey @madjin @UncannyAlley I did a bit of research on this
Here is a GLB with lightmap setup correctly:
TEST_CUBES_6.zip
Here is file set up in blender:

There are lightmaps on this, but you cannot see them
Here is the same file in Hubs / spoke

I dropped this model into Webaverse and lightmaps loaded fine:

Problem is probably with handling and exporting lightmaps, the MOZ_lightmap extension seems to work fine in Webaverse.
We have a Unity tool coming that helps a lot with baking and exporting btw :)

@avaer @UncannyAlley @madjin solved in https://github.com/webaverse/app/pull/3170


Skiplist index: Very slow query if value doesn't exist.

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[x] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[x] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[x] web interface with this browser:     running on this OS: MaxOSX
[ ] arangosh
[ ] this Driver:

can somebody explain the long query time?
I have a created a skiplist index for topic.labels.de.valueLower (Lowercase version of "value")
When I filter for a value that actually exists, I get the result very fast.
Example:
FOR t in topic
  FILTER t.labels.de.valueLower LIKE ‚%thailand%'
  RETURN t

0.3s, almost Instant (Returns 1 result)
But when I filter for a value that does not exists, the query runs very long...
FOR t in topic
  FILTER t.labels.de.valueLower LIKE '%asdfsfdsdds%'
  RETURN t

500s for the second query (No results of course, but why it takes so long?)
Thank you in advance!

I am not sure why the second query is slower than the first. However, neither of the two queries will use the skiplist index. If you run explain on the two queries, it should show that:
db._explain("FOR t in topic "FILTER t.labels.de.valueLower LIKE '%thailand%' RETURN t");
db._explain("FOR t in topic FILTER t.labels.de.valueLower LIKE '%asdfsfdsdds%' RETURN t");

Both queries in your example are incomplete (there is no RETURN statement in them, so they will fail with a parse error). Maybe there is something else in the original (full) queries that causes the difference?

Can you share the data that is in your topic collection? It would be interesting to see what labels there are (especially how many characters valueLower contains). If you really just want to test if a certain phrase is contained in the attribute, you should use CONTAINS(t.labels.de.valueLower, 'thailand') instead. LIKE is implemented using regular expressions, which is slower than a specific function like CONTAINS().

Hi @jsteemann
Thanks for your fast response.
I tried your command and got this:

In fact, the index seems not to be used.
Here are the index settings for the "topic" collection

Is there anything else necessary to tell ArangoDB to use the index?
It's really strange, because the query for %Thailand% is very fast though the index is officially not enabled.

@Simran-B
Thank you for this hint.
Here is an example dataset:
{
  "aliases": {
    "de": [
      {
        "language": "de",
        "value": "Königreich Thailand"
      },
      {
        "language": "de",
        "value": "Ratcha Anachak Thai"
      }
    ],
    "en": [
      {
        "language": "en",
        "value": "Kingdom of Thailand"
      },
      {
        "language": "en",
        "value": "th"
      }
    ]
  },
  "descriptions": {
    "de": {
      "language": "de",
      "value": "Staat in Südostasien"
    },
    "en": {
      "language": "en",
      "value": "country in Asia"
    }
  },
  "id": "Q869",
  "labels": {
    "de": {
      "language": "de",
      "value": "Thailand",
      "valueLower": "thailand"
    },
    "en": {
      "language": "en",
      "value": "Thailand",
      "valueLower": "thailand"
    }
  },
  "sitelinks": {
    "dewiki": {
      "site": "dewiki",
      "title": "Thailand",
      "badges": []
    },
    "dewikiquote": {
      "site": "dewikiquote",
      "title": "Thailand",
      "badges": []
    },
    "enwiki": {
      "site": "enwiki",
      "title": "Thailand",
      "badges": []
    },
    "enwikiquote": {
      "site": "enwikiquote",
      "title": "Thailand",
      "badges": []
    }
  },
  "type": "item"
}

I have about 43 million documents of this type in the database originating from the Wikidata JSON Dump.
So I also tried with CONTAINS and for the "thailand" query it seems faster than the regex.
Unfortunately, when I query for "adfsadsadf" it runs again very long.
The explain in arangosh showed me this

What I don't understand is: Why is ArangoDB not using the index I created?
Thank you very much for your help! ArangoDB is the best DB I've ever used 👍

I'll try to explain it in a very simplified (and thus not very accurate) way. Imagine an index data structure looking somewhat like the following:
A
  Af
    Afghanistan
  Al
    Albania
    Algeria
  Am
    American Samoa
  An
    Andorra
    Angola
    Anguilla
    Antarctica
    Antigua And Barbuda
  Ar
    Argentina
    Armenia
    Aruba
  Au
    Australia
    Austria
  Az
    Azerbaijan
B
  Ba
    Bahamas
    Bahrain
    Bangladesh
    Barbados

When you start looking up an entry in the index (let's say we are trying to find Austria), you need to go to the sublist under the right first letter (A). Using a hash-based type of index would us allow to jump directly to some entry, but it is only possible if it's an exact match, Hash("Austria") == Hash("Austria"). A skiplist type of index is more like walking over the first level of entries (A, B, C, ...) until the right entry point is found (A). Then, the entries on the second level under A are being iterated over until a match is found (Au). Then again, we loop over the entries under Au until a match is found (Austria).
If we looped over the flat list of countries, it would had taken 14 comparisons until Austria is found. By using some smart data structure, it becomes possible to skip some of the entries that we know are not relevant (all countries under Af, Al, Am, An and Ar). To find Austria, we only need 9 comparisons (the first 7 only against the first (two) letters of the search phrase).
Skiplist indexes do not actually group entries by letters like that, but what they do is to allow skipping over blocks of non-matching entries to spare us a lot of unnecessary comparisons. Now, the problem with LIKE '%austria%' and CONTAINS('austria') is that you can't take the first letter and look up the index, because the search phrase is supposed to be somewhere in the string, but not necessarily at the beginning. You might want to find "Republic of Austria" as well, in which A / Austria is not what the text starts with. Since we can not use the index, we have to iterate over the entirety of entries and test every string (and that is not just a simple == check, cause the search phrase can be at any position in the string).
There are probably other types of indexes, which would allow to accelerate contains-style lookups, but we don't have such in ArangoDB and it is non-trivial to do (unless there's no limitation of memory). What you could do is to use a full-text index instead and do per-word prefix-style searches (prefix:austria would match Republic of Austria, but not the fictional entry Maustria). Alternatively, there's also a way to do prefix-style searches (full entry starting with the search phrase as opposed to per-word) while utilizing a skiplist index: https://docs.arangodb.com/3.1/cookbook/UseCases/PopulatingAnAutocompleteTextbox.html
I'm not sure why your queries takes much longer if you're searching a non-existing entry however. That would only be expected if there was a LIMIT, so that the search stops after X matches without further testing against the remaining records.

I have tried to reproduce this with a local collection of 10,000,000 artificial test values.
Here's my test code:
var query = `FOR t in topic FILTER t.labels.de.valueLower LIKE @value RETURN t`;
var time = require("internal").time;
["%x%", "%test1000%", "%test10000%", "%test100000%", "%TEST%", "%asdfsfdsdds%", "%Thailand%", "%this is a very long string and matching will take longer%"].forEach(function(value) {
  var s = time();
  var res = db._query(query, { value });
  var t = time() - s;
  print("value:", value, "results:", res.toArray().length, "time:", t)
});

It prints the following results:
value: %x% results: 0 time: 16.054481029510498
value: %test1000% results: 1111 time: 16.676566123962402
value: %test10000% results: 111 time: 16.22467803955078
value: %test100000% results: 11 time: 16.41826105117798
value: %TEST% results: 0 time: 15.913997888565063
value: %asdfsfdsdds% results: 0 time: 16.2606418132782
value: %Thailand% results: 0 time: 16.471983194351196
value: %this is a very long string and matching will take longer% results: 0 time: 20.114672899246216

That means I am not seeing any notable differences for queries that return results and queries that don't.
However, the performance of LIKE also depends on the length of the pattern, as can be seen in the last line of the results.
By the way, here are the results for CONTAINS:
value: x results: 0 time: 8.853091955184937
value: test1000 results: 1111 time: 9.361598014831543
value: test10000 results: 111 time: 9.266539096832275
value: test100000 results: 11 time: 9.283586025238037
value: TEST results: 0 time: 8.787339210510254
value: asdfsfdsdds results: 0 time: 8.561698913574219
value: Thailand results: 0 time: 8.594917058944702
value: this is a very long string and matching will take longer results: 0 time: 8.514348983764648

As @Simran-B pointed out, it is faster because it is not regular expression-based.

If the queries on your end are reproducibly slower non-matches than for matches, this probably has another cause. Maybe you can try my test code above and check the results. It would surprise me if non-matches for LIKE are reproducibly slower once the collection is loaded and it fits in RAM.

@Simran-B
Thank you for this easy-to-understand explanation. This would be a good example in the index documentation.
@jsteemann
Also thank you for this nice test setup. I made some tests with the database using your code.
I also used a LIMIT to fasten up the things a little bit.
var query = `FOR t in topic FILTER t.labels.de.valueLower LIKE @value LIMIT 1 RETURN t`;

These are the results with %ABC%
value: %thailand% results: 1 time: 0.1612100601196289
value: %dragonball% results: 1 time: 54.34961795806885
value: %michael jackson% results: 1 time: 3.6182448863983154
value: %notexisting% --> Took too long, aprox > 500s

With ABC%
value: thailand% results: 1 time: 0.12615394592285156
value: dragonball% results: 1 time: 38.397444009780884
value: michael jackson% results: 1 time: 2.6388731002807617
value: %notexisting% --> Took too long, aprox > 500s

With CONTAINS(ABC)
value: thailand results: 1 time: 0.015486001968383789
value: dragonball results: 1 time: 4.192897081375122
value: michael jackson results: 1 time: 0.27257394790649414

I really wonder, why "dragonball" is very slow compared to Michael Jackson which runs very fast.
I tried with LIMIT 10 and it took 2.563s overall.
One of the result is:
{ ...
"valueLower": "20th century masters: the millennium collection: the best of michael jackson"
... }

So "Michael Jackson" is not at the beginning of the valueLower string, but it searches very fast anyway.

@Simran-B
I'm also trying to use your example here:
https://docs.arangodb.com/3.1/cookbook/UseCases/PopulatingAnAutocompleteTextbox.html
Looks very interesting and it's actually using the skiplist index!

I think the "LIMIT 1" addition makes it an unfair comparison.
This will end the query as soon as a single match is found. How fast the query is then depends on in which document the match is found. If the match is in the first document that's checked, the query will return fast. If the match is found at some later stage (e.g. in the 40,000,000th document) then the query will need to check 40,000,0000 documents and take some time.

@jsteemann I updated the query results.
The "LIMIT 1" caused the unfair comparison. Now everything seems normal. Sorry for that 😅
So for the search of strings inside of text (e.g. "this is michael jackson live at Seattle"), it's better to use a full-text-index?
If I use the full-text-index do I still need the skiplist index?
What about the memory consumption of the full-text-index?
The skiplist index takes about 3GB right now.
Thanks a lot for clarifying things @jsteemann and @Simran-B !

If you need substring matching, then the fulltext index won't help. It supports word and prefix matches only. If you need to search for fragments like ael or ack (to find "michael jackson"), then the fulltext index will not return the document.
However, the skiplist index will not return the document either because it only supports exact and prefix matches for the entire value.
In case you want to search for arbitrary substrings then no index type will work.
If you want to search for words or word prefixes, then the fulltext index can do it, and there is no need for the skiplist index. The skiplist index is good for finding exact matches of the entire search value or prefixes of the search value (e.g. mich or michael j if the value is michael jackson live at Seattle). The skiplist index does not support queries such as "find mich somewhere in string this is michael jackson live at Seatlle". That can only be achieved by a comparison function and using a full collection scan.

Hmm ok, so a full-text-index would only search for full words but not substrings.
Isn't it possible to make something like this?
"Start at the second character of the word".
FILTER t.labels.de.valueLower >= '**ailand' && t.labels.de.valueLower < '**ailane'

Will it be possible in the future to create an index for substrings? Is there not a theoretical solution for this? (Even if it consumes a lot of RAM) Google is also doing it and they also boil with water :-) (OK, it's an ocean of water)
This would be really nice so ArangoDB will also be perfect for data mining.
What we like to create is something that goes into the direction of a search engine, and we like to do it with ArangoDB.

@Simran-B @jsteemann This issue can be closed. Thank you for the answers!

Using CONTAINS over LIKE is a really good suggestion. I think it is worth documenting it so that everyone can leverage it.


Merge to live!

New Script Lab article
TOC fixes
Minor edits

Docs Build status updates of commit 2c2ce76:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/office-versions-and-requirement-sets.md
:white_check_mark:Succeeded

docs/excel/excel-add-ins-worksheets.md
:white_check_mark:Succeeded

docs/images/screenshot-wide-youtube.png
:white_check_mark:Succeeded

docs/overview/explore-with-script-lab.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


An extra scrollbar appears in the 'Manage Custom Environments' dialog if a custom environment with a long name is added

Storage Explorer Version: 1.35.0-dev (98)
Build Number: 20240614.1
Branch: main
Platform/OS: Windows11/Windows 10/Linux Ubuntu 22.04 & MacOS Sonoma 14.5(Apple M1 Pro)
Architecture: arm64/x64/x64/arm64
How Found: Exploratory testing
Regression From: Previous release (1.32.1)
Steps to Reproduce

Open the connect dialog -> Click 'Subscription -> Custom Environment'.
Click 'Manage custom environments...' -> Click 'Add'.
Add one custom environment with a long name -> There is a scrollbar in the 'Custom environment' section.
Click 'Back' -> Then click 'Manage custom environments...'.
Check whether only the 'Custom environment' section has a scrollbar.

Expected Experience
Only the 'Custom environment' section has a scrollbar.

Actual Experience
An extra scrollbar appears in the 'Manage Custom Environments' dialog.

Verified this issue on the main build 20240716.5. Reproduce, so, we are going to reopen it.

@v-xianya The ellipsis is intended. It is very, very unlikely a user is going to enter a name that long, so I do not believe anything else needs to be done.

Hi @craxal There is an extra scrollbar in the 'Manage Custom Environments' dialog.

I've merged another fix to remove the scrollbar. The extra width was coming from the select element in the Select Azure Environment page. Please note that very long names will be cut off in the native menu that opens when clicking the select. As before, names this long is very, very unlikely for users, so we consider this expected behavior.

Verified this issue on the main build 20240724.1. Fixed.


Make "Ghost" not link to 404 page

Fixes #6270

Add check to see that user id >0 before adding clickable link to user name

Codecov Report

Merging #6410 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6410   +/-   ##
=======================================
  Coverage   38.85%   38.85%
=======================================
  Files         365      365
  Lines       51389    51389
=======================================
  Hits        19968    19968
- Misses      28553    28554    +1
+ Partials     2868     2867    -1

Impacted Files
Coverage Δ

models/issue.go
47.94% <0%> (-0.17%)
:arrow_down:

models/repo_list.go
67.89% <0%> (+1.05%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03e4db4...f8e5ee7. Read the comment docs.

@oscarlofwenhamn, I also found the same link here: gitea/templates/repo/issue/milestone_issues.tmpl

@axifive

I also found the same link here: gitea/templates/repo/issue/milestone_issues.tmpl

Thanks, I'll sort them out probably tomorrow.
@zeripath Personally, I disagree, as I think making a link at that point leads to unnecessary jumping about on the site, which I thin I myself would be frustrated with. I would rather add a hover text instead, with an explanation.

It looks like you're missing one more label - issue_opened_by_fake
My only worry is that we're creating multiple copies of the same code and template.
Perhaps, it's better to use a subtemplate? I dunno, but it's certainly distasteful to have these multiple copies of the same code.
I think it's also worth looking at what the API gives. I suspect 404 is probably acceptable as a response to looking at a non existent user, but I wonder, is it always clear in our responses that the user doesn't exist?

It looks like you're missing one more label - issue_opened_by_fake
Thanks, I'll sort it to make the PR more complete, regardless of what we'll do with it.

Perhaps, it's better to use a subtemplate?
That's not a bad idea at all, adding a template would mean it's all about adding a one-liner to the relevant places. I'll look into it, unless the consensus is to keep the links clickable and rather review the 404 responses.  Again, my vote is to display the "This user does not exist"-info on hover or something like that, and make Ghost non-clickable.

I think you're right, making the ghost users non clickable is most right. (We probably do need a nonexistent user page in case any are missed or someone tries to craft a link to one.)

Agreed: Say I type out an explicit link to a collaborators page in a README, and later that user is removed, we'd want to have something catching that. Though, I think that is outside the scope of this PR. Either way, I'll continue with the last label and look at making a subtemplate.

@zeripath I've ran into an issue: I need to either pass the variable $timeStr to the new template or, if I pass the current element of .Issues and evaluate the $timeStr in the new template, I need a way to pass $.i18n into the template, as currently I can't figure out how to do both. Do you have any suggestion?
Something like
{{ range .Issues }}
...
{{ $timeStr := TimeSinceUnix .GetLastEventTimestamp $.Lang }}
{{ template "repo/issue/poster_link" {{. , $timeStr}} }}
...

so I can evaluate the time outside the template would be preferred, in my opinion, if possible.

I think any template to create the user link should just be as simple as possible - almost be as simple as calling a function on the user, eg. user.Anchor().
If it's not clear how to do it - we can just do the fakes and think about it later.


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
ShiningLight.OpenSSL
Package Version
3.2.1+
Please describe the changes you would like to see

To replace https://github.com/microsoft/winget-pkgs/pull/162989
If the developer has stopped hosting this application, please state this in the comments.

It seems version 3.2.1 is not available any more. The current latest version of v3.2.x series is v3.2.2, and the latest version over all is v3.3.1.


Input validation: national insurance number

The ITHC identified that input validation, particularly in Apply, could be improved.
We should validate national insurance numbers
e.g.

Already complete via other pull requests


Request builder section broken when autosuggest list is huge

Scrollbar of 3rd column doesn't appear till bottom.

Update: Now the scrollbar of 3rd column appears till bottom but the bottom line of dropdown and its shadow are not visible. So alternate approach: Show scrollbar in dropdown instead of the scrollbar in browser. Also, the edges of the dropdown should be visible to indicate end of the list.

After sleek scrollbars in place, this problem does not persist.


Support submitting multiple requests in sample CLI

Beyond just simple demonstration, we might want to allow creating some workload. We can extend the sample peer request command to support submitting a series of requests back-to-back. Then this could be used to imitate some dense workload.

If we allow peer request to send multiple requests, we need to design how we pass the separate input strings from command line. The simplest way is using multiple string arguments like below
$ peer request "First request" "Second request" "Third request"

which sends 3 requests. But considering the limit on bash command input (controlled by getconf ARG_MAX), we may have a way of file-based input to generate multiple requests.
$ cat <INPUT_FILE>
First request
Second request
Third request
$ peer request -f <INPUT_FILE>

And when we discuss about the CLI interface, I also feel like discussing the way to specify CLIENT_ID. Currently we call peer run command with replica IDs, so I thought of doing similarly for peer request like below:
$ peer request <CLIENT_ID> "First request" "Second request" "Third request"

I'll try to write patches in this direction, and if you have any advice, feel free to let me know.

And when we discuss about the CLI interface, I also feel like discussing the way to specify CLIENT_ID. Currently we call peer run command with replica IDs, so I thought of doing similarly for peer request like below:
$ peer request <CLIENT_ID> "First request" "Second request" "Third request"

ah, option "--id id" is already supported, so we just have to document it somewhere.

We can also pass requests to peer request through standard input.
Another possibility would be to add an option with a number of requests to generate. In that case, the argument might be treated as a printf-style format string.


CORS issue with GraphQL endpoint

hey @afuh , I'm trying to use the graphql endpoint but I'm getting rejected by CORS.
I tried with both ApolloLink and plain fetch:
Apollo
import { ApolloClient } from 'apollo-client';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { HttpLink } from 'apollo-link-http';
import gql from 'graphql-tag';

const cache = new InMemoryCache();
const link = new HttpLink({
    uri: 'https://rickandmortyapi.com/graphql/',
});

const client = new ApolloClient({
    cache,
    link,
});

    client.query({
        query: gql`
            query {
                characters(page: 1) {
                    results {
                        name
                    }
                }
            }
        `,
    })

Vainilla
fetch('https://rickandmortyapi.com/graphql/', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
    },
    body: JSON.stringify({
        query: `
            characters(page: 1) {
                results {
                    name
                }
            }
        `,
    }),
});

Both are running in a minimal, parcel server, localhost:3000, and the response is:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://rickandmortyapi.com/graphql/. (Reason: CORS request did not succeed).

I have the same problem. My app is running on localhost:3000, I'm using Apollo and tried with both Chrome and Safari.
Access to fetch at 'https://rickandmortyapi.com/' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
[Error] Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin.
[Error] Fetch API cannot load https://rickandmortyapi.com/ due to access control checks.
[Error] Failed to load resource: Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin. (rickandmortyapi.com, line 0)

This happens to me using firefox 126. Works smooth on chrome 125


ENH: Use SocketIOCalculator for ASE

Especially for things with large startup overheads, including, say NWChem, we would really rather use the i-Pi like protocol already in place.

Specifically for NWChem now.

Actually given https://github.com/i-pi/i-pi/issues/125 this isn't worth it; it seems like NWChem only accepts Optimizers for the socket calculations anyway and it isn't worth the effort to mock that interface now.


Fixed: Custom audio and music problems

Description of Problem or Question
Atmosphere music starts automatically on the first event of my Custom Scenario. All added music or audio files play on top of Atmosphere 1. How can I disable all default sounds/music?
Second problem: My custom audio files don't play at all. If I select them for the introduction text event it still only plays Atmosphere 1 (which I never even selected for any event).
Valkyrie Version
2.4
Edit: found fix myself, nevermind

What did you do to fix your problem?


ValueError: numpy.ndarray size changed, may indicate binary incompatibility.

Hi,
Is this error the consequence of version incompatibility? What is your version? Can you share your environment? Thanks.
ValueError                                Traceback (most recent call last)
File <timed eval>:1, in <module>

File ~/miniconda3/lib/python3.9/site-packages/Pipeline/DPA.py:410, in DensityPeakAdvanced.fit(self, X, y)
    407 else:
    408     # TODO: implement option for kNN
    409     pass
--> 410 self.labels_, self.halos_, self.topography_, self.g_, self.centers_ = _DensityPeakAdvanced(self.densities_,
    411                                                       self.err_densities_, self.k_hat_,
    412                                                       self.nn_distances_, self.nn_indices_, self.Z)
    415 self.is_fitted_ = True
    417 return self

File ~/miniconda3/lib/python3.9/site-packages/Pipeline/DPA.py:80, in _DensityPeakAdvanced(densities, err_densities, k_hat, distances, indices, Z)
     30 def _DensityPeakAdvanced(densities, err_densities, k_hat, distances, indices, Z):
     31     """Main function implementing the Density Peak Advanced clustering algorithm:
     32
     33     * Automatic detection of cluster centers
   (...)
     78
     79     """
---> 80     from Pipeline import _DPA
     82     # We define as cluster centers the local maxima of g, where g is defined as density-err_density.
     83     g = [densities[i]-err_densities[i] for i in range(0,len(densities))]

File ~/PHDJUPYTER/TEMPP/DPA/src/Pipeline/_DPA.pyx:1, in init Pipeline._DPA()
----> 1 # !python
      2 # cython: boundscheck=False
      3 # cython: cdivision=False

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Hi,
It sounds like version incompatibility with the numpy package. In my environment I have numpy 1.21.6. Have you tried upgrading or reinstalling it?


Run koji-builder container in privileged mode

This is to allow systemd to work properly.
Fixes #30

@vrutkovs ptal

Container must run in privileged mode as explained here: https://developers.redhat.com/blog/2014/05/05/running-systemd-within-docker-container/

Its weird that it doesn't work for you - it doesn't require privileged anymore - https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container/
Maybe something is up with selinux or oci-hooks?

That article also mentions that tmpfs and mounting /sys/fs/cgroup are not needed.
It also mentions that this is only available in Fedora. Does that mean it's restricted to fedora hosts running fedora containers? Or can fedora hosts also benefit by running rhel containers?
Can you reproduce this with --distro rhel7 ?

That article also mentions that tmpfs and mounting /sys/fs/cgroup are not needed.

Hmm, I think its required, but I'll play with those. --privileged is certainly not needed anymore

Does that mean it's restricted to fedora hosts running fedora containers?

No, it should work on anything RHEL-like - so both RHEL containers would work on Fedora hosts and vice versa. Both --distro fedora and --distro rhel work fine here.
I'll ask others to try it out and see if similar issues appear so we could debug those.

Merging this until we find a proper alternative.


test/rootfs: Install go cover tool in rootfs

Fixes CI issue where cover is unable to be found.

LGTM


Live reload font size from alacritty config

Addresses first part of #2737. Second part, which will be font family and styles to also be live-reloaded, is coming in a follow-up PR.

Thanks for the PR, everything working great now. LGTM.


Allow the use of builtin RNG for external PHY implementations

During the integration efforts with the new lora-phy crate, a new LoRaRadio type was introduced. However, since it doesn't implement RngCore (where applicable), the new_with_builtin_rng constructor isn't useable. This PR aims to fix that.
Notes on async
Now that lorawan-device optionally depends on lora-phy, we can do additional things wrt async RNGs. lora-phy is bound to provide a dedicated AsyncRng trait (PR #9) which we can use here. This PR includes provisions for using regular, RngCore based RNG implementations (either provided externally or included in the LoRa chip), or an AsyncRng implementation. The operating principle, in async mode, is to use a random numbers buffer that is pre-filled before it is needed. Use of an async implementation of the external LoRa PHY RNG can be enabled using the async-rng Cargo feature.
All operations in this crate use a bounded number of random numbers so that pre-filling to a known number is possible without having to re-fill the buffer mid-operation.

This PR now includes provisions for async RNG implementations, see inital comment for additional details.

I've used this PR with my hardware (rp2040 + custom sx1262) and have had no issues.


External Domain Clarification

Hi, sorry if my terminology is wrong, I am trying to iframe a website that is hosted on another server into a page on my server, and your code was given as a link that could do this?
Q. Does your code do this, or do I need access to both sites / files etc?
I cannot access the other websites files, it is a shutterfly website, so my code to call the page is this:

...and it needs to be embedded on our website in the appropriate area? Is this possible with your code? This has left me blank so far .
If it is possible to post a working example that would be great, as I have tried all examples and only get a height of approx 100px?
Many thanks in advance.

We have the same issue, however, we have access to the page, and can add script information to the HTML of the page. We do not have file access on the OtherDomain. Can this be done? Already tried  copying entire "iframeSizer.contentWindow.min.js" into the page between

Just add a script link to the iframe that loads the contentWindow script from your domain


[SMP-2220]: Update monitoring override

The monitoring.yaml file in the helm-chart was outdated. The file is updated here.

merge it also in release/0.10.0 branch


Make well.plot() take project curve aliases

Make a track list for well plotting based on curve aliases so the same track configuration can be passed from one well to the next within a project. Sort of like a template.

Done

PS Also just fixed the small bug hiding the track titles in the above image.


@NonNull implementation using checker methods instead of if statements

Lombok generates an if statement in constructors for each field annotated with @NonNull.
Code coverage tools detect this as code branches to test.
It would be cool if Lombok offered an alternative implementation using a checker method like Java 8's Objects.requireNonNull(Object) or Guava's Preconditions.checkNotNull(Object).
lombok.nonNull.impl=[ if | jdk | guava ]

Or maybe just generate a vanilla private implementation of such a method ?

Is there an update on this? I still see branches from ##@NonNull## uncovered.

I'm very interested in this issue since @NonNull causes the only remaining code coverage issues in my application.

++

This would also avoid warnings about dead code and redundant null checks in Eclipse.
I'm really looking forward to seeing this implemented.

We have a plan to address this.

Currently implementing it. The javac works.
The are planning to "abuse" the current config key and add two more values:

Jdk: adds a call to java.util.Objects.requireNonNull(arg, "arg is marked non-null but is null")
Guava: adds a call to com.google,common.base.Preconditions.checkNotNull(arg, "arg is marked non-null but is null")

Currently, we scan the first lines in a method until all preconditions are checked. if (arg == null), assert arg != null were considdered to be null checks.
We're expanding this to invocations to any checkNotNull or requireNonNull where the first parameters is an identifier. or any assignment where the right-hand side is such method invocation.

We still need to update some documentation.

We did create tests but did not execute exhaustive testing of the generated code. Would someone be willing to give it a try in both Eclipse and javac (maven build would be fine, you can use the snapshot repo).

This indeed works as expected for me, here's what I did.
Download the latest lombok.jar from here, and put it into the Eclipse folder as lombok.jar, with the respective path to that jar set in eclipse.ini via -javaagent:/path/to/eclipse/lombok.jar
Restarting Eclipse (it is Spring Tool Suite for me) correctly showed this then via Help > About

Next, I edited lombok.config in the root folder of my multi-module Spring Boot maven project to include the following key-value pair:
lombok.nonNull.exceptionType=GUAVA
After rerunning a single unit test, the respective method definitions with parameters annotated as @NonNullstill were not fully covered, but after I added @NonNull annotation to another method in the class, and rerun the tests, all was fine (maybe some caching going on somewhere, no idea).
Anyway, seems to work - thanks a lot for the fix!

Great work! I just enabled lombok.nonNull.exceptionType=JDK and my code coverage increased by nearly 3%. 👍

The Supported configuration keys on @NonNull are not up to date.

Reopening specifically for the issue of: Fix the documentation.


[pulsar-broker] cluster-resource use cluster name to fetch cluster-metadata

Motivation
Note: On top of : #9925
Cluster-resources should be able to fetch cluster-metadata and internal-path should be handled by the base-resources. It will make code clean and will be helpful for future abstraction.

/pulsarbot run-failure-checks

Hi Rajan @rdhabalia, Could you please help resolve the conflicts? so that we can merge it before 2.8.0

it seems #11693 again had same changes and that new PR is merged. so, we should close this one.


Bug Report: Main page

Reproduction steps
The main page background should me changed and the alignments of the boxes in main page must be properly aligned
Expected behavior
It must have proper UI and css
Actual Behavior

I request you to please assign me this issue . so that I can contribute to the project and make your site more beautifull and cathchy
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Sure go ahead @Ks103


BaseOCR / OCRHMMDecoder refactor

This is an important change in classes BaseOCR / OCRHMMDecoder / OCRTesseract / OCRBeamSearchDecoder.
But it does NOT break compatibility with previous version.
Overload the run() method in BaseOCR class in order to adapt to different classifier callbacks. The original run() method accepts only one Mat input image, this is expected to be a binarzed image with black and white text and works both with the OCRTesseract class and the OCRHMMDecoder class when the character classifier callback works with binary images (e.g. NM). The new run() method accepts two Mat input parameters. One for the gray scale (or color) source image and the other for a binary mask where each connected component corresponds to a pre-segmented character in the input image. This way the OCRHMMDecoder is able to work with character classifiers that operate in grey scale (or color) images (e.g. a CNN).
Also, updates the CNN model for character recognition. Trained with an augmented dataset.
Also, Adds example on segmented word recognition.

:+1:


Service endpoints are cached excessively

We are running Openstack with a cold standby service host and an ip-alias that is moved during takeover. This leads to failures after takeover since the service endpoints are cached.
To repeat:

Setup:

Two hosts running openstack (host1 and host2).
One service ip-number (serviceip) assigned to host1 at the begining.

Steps:

Configure the plugin to use an endpoint on serviceip
Test the connection using the GUI
Preform fail over so seviceip is located on host2
Test the connection again using the GUI
Now you get the error:
Connection not validated, plugin might not operate correctly: Failed to connect to host1/<IP_ADDRESS>:9696
java.net.ConnectException: Connection refused (Connection refused)

Workaround to get things working: restart Jenkins
Our failover happened a week ago
Unfortunately I didn't copy the full stacktrace before restarting Jenkins and can't easily recreate it since openstack is in production and making test failovers needing company wide planing.

The way I understand the problem is, the hostname stays the same but the effective IP changes. That way no change is needed after restart but existing clients can keep failing to talk to openstack.
The openstack connections is cached for 10 minutes[1][2] so the situation was supposed to recover in ten minutes from the failover (provided this is the cause of course). Did the situation last for longer than 10 minutes?
[1] https://github.com/jenkinsci/openstack-cloud-plugin/blob/3884d3395b927c08974fe7670e00cbacaf4d7f08/src/main/java/jenkins/plugins/openstack/compute/JCloudsCloud.java#L513
[2] https://github.com/jenkinsci/openstack-cloud-plugin/blob/3884d3395b927c08974fe7670e00cbacaf4d7f08/src/main/java/jenkins/plugins/openstack/compute/internal/Openstack.java#L814


Most top left UI buttons are broken.

No idea what commit broke this but they're definitely broken.
Might be related to #1015

Submodule's been updated, this is fixed now.


Scan prefix given rather than just first host

I wasn't sure about the logic that was there so moved to scanning the entire prefix, for a single host address this will resolve to a /128 eg.
In [14]: for addr in ipaddress.ip_network("fd00::"):
    ...:     print(addr)
    ...:
fd00::

Yeah good catch, this was a TG specific thing, The prefixes I was given from the controller API I used was the /64, so wanted to use the first usable address of that to scan, otherwise scanning a whole /64 takes a long time we all but 1 of the 2^64 IP Addresses.
I'll think about this. I think we should just respect prefixes and or addresses since nmap supports both. I believe it also has a parallelism switch - Maybe we should expose that.


mCSD_16: OrganizationAffiliation and mCSD Hierarchy Extension

Section Number Identify the most specific section number the issue occurs (e.g. 4.1.2)
Issue Describe your issue. Don't write a book, but do include enough to indicate what you see as a problem.
I think we need to choose one option.  It seems confusing to have 2 different ways to accomplish the same thing.  It seems it would be better for interoperability to choose either OrganizationAffiliation or the extension, but not have both.
Proposed Change Propose a resolution to your issue (e.g., suggested new wording or description of a way to address the issue). The committee might simply accept your suggested text. Even if they don't, it gives a good sense of what you are looking for. Leaving this blank means you can't imagine how to resolve the issue, which makes it easier for the committee to admit they can't imagine how to resolve it either and leave it unresolved.
Priority:

High: Important issue where there is major issue to be resolved. Requires discussion and debate.
Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.
Low: Typo or other minor classification that an editor can manage. Requires no group discussion.
High

I agree. I think that the document federation being profiled here is really just another hierarchy. I think it might make sense to use OrganizationAffiliation for all hierarchies since it is a standard FHIR Resource and seems to fit the same usage pattern as the mCSD extension.

Would be easy to convert from extension to OrgAff for implementers in TI.
Would be extra work, maybe needing another PC period.
Plan: mock up as a pull request, leave open for discussion if needed.


Add reduceProps

It looks like it's very useful decorator for my work,
It also solve this issue https://github.com/acdlite/recompose/issues/8
And this https://github.com/acdlite/recompose/issues/18

Thanks for the suggestion. Let me think about it for a bit.

Look's like I need to rethink this.


Test Parsec installation as a systemd daemon

It would be nice to have PARSEC installed and run inside a Docker container as a systemd daemon from a local checkout of this repository.
The container could share with the host the Unix socket to communicate with the daemon.
This could be put in the CI to test systemd installation.

This should exist only to test Parsec installation with systemd, the communication should only happen inside the container.

An installation script could be used out of this!

I've been looking at this issue and I think we need to clarify its requirements.
For information only:

Initial work was done as a part of https://github.com/parallaxsecond/parsec/issues/35 PR: https://github.com/parallaxsecond/parsec/pull/46
Additional changes were made in PRs: https://github.com/parallaxsecond/parsec/pull/50 and https://github.com/parallaxsecond/parsec/pull/51

The small issues I noticed:

The parsec systemd service definition is missing --config parameter
The "How to install Parsec on Linux" page is missing a recommendation to  un-comment "log_timestamp = false" when Parsec is deployed as a service.
Hard-coded SOCKET_PATH in parsec service and  parsec test clients source code is different from the one defined in the systemd socket definition file. The socket path is documented anywhere.

The main question I have now is what exactly do we want to achieve with this issue?

Is it about developing, documenting and testing a parsec deployment procedure? Do we know what the typical deployment would be (from a local repo or from crates.io, service on a host or process in a docker container for example, standard service or socket activated one, etc)? Should we cover all?
What type of systemd service should be tested - standard or socket activated? Do we expect that socket activated services might be used by customers?
Would manual testing be sufficient or we need a CI one? To be able to use systemd inside a docker container we need to either run the container as privileged (tested on MacOS) or with "--volume /sys/fs/cgroup:/sys/fs/cgroup:ro" parameter (not tested, I need a linux machine for that, doesn't work on MacOS). I don't think the first option is allowed for github CI containers and not sure about the second one as well.

@hug-dev did most (all?) of the work around setting up the "Parsec-as-a-systemd-service" feature, so I can't really comment on most of these things, but I will touch on (3) briefly:
We definitely should document the socket path somewhere and it should be a hardcoded value. As I remember, socket activation was a nice feature to have so that Parsec wouldn't be idling, waiting for a connection, but I'm not sure if we ever resolved the question of "how does a client know where the socket is in that case?" Potentially with an environment variable or with the admin creating a symbolik link from daemon socket to hardcoded socket path?

The question about "where the parsec socket is" exists in all cases, not only in socket activated systemd service.

Not if the socket path is hardcoded and everyone knows exactly where it should be! Then it might, at most, become a problem for the admin if that path is not available.

Sure, I just meant that the path should be properly documented because it's needed for all cases.
BTW, I would prefer to have it in /var/run/parsec instead of /tmp. But, because it would require root privileges for parsec deployment, may be we can use something more parsec specific than we use now. For example /tmp/parsec-service/daemon-socket

The reason why a lot of this isn't solidly decided on yet is that we've not had a proper production use case to aim and cater for.
Making the path as Parsec specific as possible is definitely a good aim! I think having root privileges for deployment is sensible to expect, as long as anyone can actually access the socket and write/read from it. It would certainly mitigate some possible threats around other users impersonating Parsec by popping a socket at the right path in the /tmp folder.

FHS even recommends to use /run instead of /var/run (although I saw deployments where / was mounted read-only)
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html
Anyway, we just need to remember that for development/manual testing we should be able to run parsec without root privileges.

Thanks for your investigation! A few comments on my side:

the socket path is documented in the Listeners page.
the installation method described in the book is to install Parsec as an user systemd daemon, without root privilege. Note the --user option to systemctl commands.
the configuration path is not in the systemd unit file as the daemon is meant to be started from the home directory of the parsec user.
thinking about it now, having the socket inside the parsec home directory is not a good idea: this folder will probably not be readable by other users. As you mentioned, we should as well probably put the socket in a more idiomatic location. Having a socket in /run but which is read/writable by other users seems a good idea to mitigate the spoofing threat about it as @ionut-arm said. I think it is expected that some parts of the installation step expect root privileges. But then, if the socket does not exist at that path, Parsec will try to create it, but it won't have the good privilege! This needs to be investigated I guess.

Having at least one installation method that is tested (can be nightly) on the CI would be good I think to make sure that it is possible. Even if that installation method will change in the future.

@joechrisellis looked at it in #218
systemd is not directly meant to be used inside a Docker container which makes the testing complicated.
This issue could be changed into "testing the Linux permission over the socket with a parsec user creating the service and multiple client users trying to access it".

Closed in favor of #245


linefeed bug in sourcemaps

I found a bug in windows platform.
linefeed: process.platform === 'win32' ? 'crlf': 'lf',

https://github.com/dlmanning/gulp-sass/issues/518

Closing due to inactivity and not enough information.


Efficiently generate summaries from new data?

How do folks typically generate summaries given i) new text files (only content, no headlines/abstracts/urls) and ii) the pretrained model?
It seems that make_datafiles.py from the cnn-dailymail dir needs to be modified (e.g. removing much of the hardcoding). After these modifications, make_datafiles.py may be used to tokenize and chunk the new data. From there, we "decode" using the pretrained model to generate new summaries.
Is the above generally correct or is there a more efficient method?

Tips for anyone running decoding on a pretrained model:
after tokenizing and chunking your text(s) as above, run a command like:
python pointer-generator-master/run_summarization.py --mode=decode --data_path=/path/to/your/finished_test_files/chunked/test_* --vocab_path=vocab --log_root=/path/to/pretrained_model --exp_name=pretrained_model_ --coverage=1  --single_pass=1 --max_enc_steps=500 --max_dec_steps=200 --min_dec_steps 100
Here, "vocab" is the from the "finished" cnn+daily mail data and "pretrained_model" is, e.g., one of the pretrained models kindly made available by the author.
The summarization results will then be located in a decoded folder "decode" inside a new folder of the sort "decode_test_500maxenc..."

If you are trying to test the model on your own data, you can avoid dealing with the url_lists folder altogether. You can follow this - https://github.com/dondon2475848/make_datafiles_for_pgn to generate bin file(s) for summarizing your data. Use it with --single_pass=1,  if you are testing individual articles, like so:
python run_summarization.py --mode=decode --data_path=/make_datafiles_for_pgn-master/output/finished_files/test* --vocab_path=/pointer-generator/finished_files/vocab --log_root=../pointer-generator/ --exp_name=pretrainedmodel --max_enc_steps=450 --max_dec_steps=200 --coverage=1 --single_pass=1
I found ROUGE scoring had an issue with settings.ini file. If scoring isn't a priority, you can comment out those lines in decode.py.

@pruthvishetty When I ran the python make_datafiles.py  ./stories  ./output  command, the generated test.bin file is empty. I strictly follow the read me. So do you know what's going on here? Or maybe I did something wrong?


fix(FOROME-568): drawer notes restriction

https://quantori.atlassian.net/browse/FOROME-568

Why does this PR include commits from different branches?

Why does this PR include commits from different branches?

Probably checked out from another branch, fixed


feat: support extensions provided to solid plugin used for file system routing, eg. mdx

The pull request has a few additions (if you want me to break this up more.. tell me).

pnpm as package manager instead of npm workspaces
/examples directory for live examples to play with and add to for different use cases. We start with a basic-ts, and with-mdx-ts examples
Routing configuration based on virtual modules. The initial motivation is to allow more configurable routing, for example, vite-plugin-solid accepts a list of extensions to enable the JSX transform. The use cases are things like MDX and single-file components. We want to be able to write our top level routes using such files as well, eg. /src/pages/about.mdx. To enable this, we change the pages and data loading from plain glob imports to imported virtual modules that we can dynamically control the contents of using the vite plugin and the configuration we get. This PR adds an initial implementation that uses the extensions option passed to vite-plugin-solid, to also enable those extensions as valid page files.

I think the routing can be more configurable ALA https://remix.run/docs/en/v1/api/conventions#routes. I am working on this on top of this infrastructure. I can now control how the routes are resolved. We can add a routes config in the vite-plugin and then while generating the solid-start/routes virtual module, we populate it accordingly after we evaluate the user's routing config from the options passed to the vite-plugin.
The examples add a lot of noise to the PR, they are essentially the current /template/app-ts from create-solid

Thank you so much. This is great stuff.


Several issues in extracting VinVL Feature extraction

When I have installed your environment step by step by option 1 and then run the command for below,
# extract vision features with VinVL object-attribute detection model
# pretrained models at https://penzhanwu2.blob.core.windows.net/sgg/sgg_benchmark/vinvl_model_zoo/vinvl_vg_x152c4.pth
# the associated labelmap at https://penzhanwu2.blob.core.windows.net/sgg/sgg_benchmark/vinvl_model_zoo/VG-SGG-dicts-vgoi6-clipped.json
python tools/test_sg_net.py --config-file sgg_configs/vgattr/vinvl_x152c4.yaml TEST.IMS_PER_BATCH 2 MODEL.WEIGHT models/vinvl/vinvl_vg_x152c4.pth MODEL.ROI_HEADS.NMS_FILTER 1 MODEL.ROI_HEADS.SCORE_THRESH 0.2 DATA_DIR "../maskrcnn-benchmark-1/datasets1" TEST.IGNORE_BOX_REGRESSION True MODEL.ATTRIBUTE_ON True

There are several issues,

I do not find the code to load the pre_trained model parameters for "AttrRCNN". Though the command has a pre-trained model path, I do not find a concrete torch.load() code by debugging. Thus I wonder whether I need to add torch.load() by self when I run the above command.

The "self.training" in "AttrRCNN" is extended from "torch.nn.modules.module.py", which is set as True by default. But in run the command to extract VinVL features by the beginning command, it seems that it should be False and I have to overwrite each init functions of AttrRCNN, its "self.rpn", and "self.roi_heads" as below,

 proposals, proposal_losses = self.rpn(images, features, targets, is_training = self.training)
  x, predictions, detector_losses = self.roi_heads(features,  proposals, targets, is_training = self.training)

Instead of applying Pytorch 1.4, I apply Pytorch 1.7, but it always gives running errors for several in-place operations, such as below codes in "bounding_box.py"

        def clip_to_image(self, remove_empty=True):
        TO_REMOVE = 1
        self.bbox[:, 0].clamp_(min=0, max=self.size[0] - TO_REMOVE)
        self.bbox[:, 1].clamp_(min=0, max=self.size[1] - TO_REMOVE)
        self.bbox[:, 2].clamp_(min=0, max=self.size[0] - TO_REMOVE)
        self.bbox[:, 3].clamp_(min=0, max=self.size[1] - TO_REMOVE)

the error is as below,
  File "/home/jfhe/Documents/MountHe/jfhe/mm_dialogue/MM_Dialogue/scene_graph_benchmark/maskrcnn_benchmark/modeling/rpn/rpn.py", line 188, in _forward_test
    boxes = self.box_selector_test(anchors, objectness, rpn_box_regression)
  File "/home/jfhe/anaconda3/envs/JD2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/jfhe/Documents/MountHe/jfhe/mm_dialogue/MM_Dialogue/scene_graph_benchmark/maskrcnn_benchmark/modeling/rpn/inference.py", line 140, in forward
    sampled_boxes.append(self.forward_for_single_feature_map(a, o, b))
  File "/home/jfhe/Documents/MountHe/jfhe/mm_dialogue/MM_Dialogue/scene_graph_benchmark/maskrcnn_benchmark/modeling/rpn/inference.py", line 114, in forward_for_single_feature_map
    boxlist = boxlist.clip_to_image(remove_empty=False)
  File "/home/jfhe/Documents/MountHe/jfhe/mm_dialogue/MM_Dialogue/scene_graph_benchmark/maskrcnn_benchmark/structures/bounding_box.py", line 217, in clip_to_image
    self.bbox[:, 1].clamp_(min=0, max=self.size[1] - TO_REMOVE)
RuntimeError: Output 0 of UnbindBackward is a view and its base or another view of its base has been modified inplace. This view is the output of a function that returns multiple views. Such functions do not allow the output views to be modified inplace. You should replace the inplace operation by an out-of-place one.

I address them by setting "with torch.no_grad()", but it feels strange. If I have to fine-tune the model, then these bugs will come again by removing "with torch.no_grad()".

Also, I agree with the top question, https://github.com/microsoft/scene_graph_benchmark/issues/25
Could you please provide a simpler way to extract the VinVL features directly? Because it will bring much help to the community, and we will cite your works definitely.

Instead of running the test_sg_net successfully, I have run the demo_image.py successfully, which give some examples about how to use the VinVL.
The pytorch==1.4 and the output of nvcc -V >= 10.1 are both necessary, where mine output is 11.2. When I was pytorch==1.7, it fails by given invalid cuda error like https://github.com/microsoft/scene_graph_benchmark/issues/13.
Besides, once you have rebuilt a new environment, you need to run below to clean and rebuild the setup file,
rm -r build
python setup.py build develop

We just made an upgrade to pytorch 1.7.  You can try 1.7 now. Thanks


Purpose of drop_column down is unclear in the documentation

This section here:
https://github.com/xataio/pgroll/blob/9d2515963865ba4b5b71fe0ff9ea85e8ce9e2ddf/docs/README.md#drop-column

A drop column operation drops a column from an existing table.
drop column operations have this structure:
{
   "drop_column": {
    "table": "name of table",
    "column": "name of column to drop",
    "down": "SQL expression"
  }
}

It's not obvious to me what the "down" key here is used for.

Thank you for opening this issue!
Down migrations are applied to adapt data from the latest schema version into the previous one. During the active migration period, you will have a new schema version that doesn't have the column, while the old schema (that has it) is still available.
If the deployed version of your application expects a value in that column (or there is a constraint requiring it, ie NOT NULL), down function can be used to ensure that all inserts/updates happening in the new version of the schema get a valid value backfilled into this column for the old version of the schema (and its clients) to consume.
I realize docs may need clarification on this, we can use this issue to ensure we update them!


required named parameters with a leading underscore are not checked at compile-time

Normally named parameters that are named with a leading underscore are rejected with a compile-time error.  Given:
class Foo {
  final int? _x;

  Foo({this._x});
}

void main() {
  var foo = Foo(_x: 42);
  print(foo._x);
}

Executing the above code in interpreted mode (dart foo.dart) results in an expected error:
foo.dart:4:13: Error: An optional named parameter can't start with '_'.
  Foo({this._x});
            ^^

Compiling it with dart compile exe also fails as expected:
Info: Compiling with sound null safety.
foo.dart:4:13: Error: An optional named parameter can't start with '_'.
  Foo({this._x});
            ^^
Error: AOT compilation failed
Generating AOT kernel dill failed!

If I change the _x named parameter to be required, these compile-time errors disappear.  Running with dart foo.dart generates a runtime error instead:
Unhandled exception:
NoSuchMethodError: No constructor 'Foo.' with matching arguments declared in class 'Foo'.
Receiver: Foo
Tried calling: new Foo.()
Found: new Foo.({required int? _x@18207824}) => Foo
#0      NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:225:5)
#1      main (file:///home/jameslin/src/tmp/foo.dart)
#2      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#3      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

And with dart compile exe, no errors are generated at compile-time nor at runtime.
Perhaps related, the compile-time error messages specifically refer to "An optional named parameter...", but the optional-ness should not be relevant.  The error messages should just say "A named parameter...".
I'm using Dart SDK version: 2.19.2 (stable) (Unknown timestamp) on "linux_x64".

With the dev channel, the compile-time errors are there, both with the analyzer and the CFE (on running dart foo.dart).
But yes, the message An optional named parameter can't start with '_'. should not have optional, and the analyzer message and the CFE should be the same.

Now the analyzer prints "Named parameters can't start with an underscore."
The CFE prints "Error: A named parameter can't start with an underscore ('_')."


Missing input values

Which values are possible for the  -IPAudioMobileMode in the  New-CsTeamsMobilityPolicy
I cannot find it in this document

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

ID: c7a5f310-effe-ee9f-3750-2537f6d9cde3
Version Independent ID: c82404cf-1c8b-f76c-822a-2f2f6b9ae18c
Content: New-CsTeamsMobilityPolicy (SkypeForBusiness)
Content Source: skype/skype-ps/skype/New-CsTeamsMobilityPolicy.md
Service: skypeforbusiness-powershell
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thanks for your feedback, adding the information


feature(Backend): Get All Expenses in Service

Codecov Report

Merging #117 (04b9a13) into main (0f83dac) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #117      +/-   ##
============================================
- Coverage     42.63%   42.50%   -0.14%
  Complexity       78       78
============================================
  Files            39       39
  Lines           319      320       +1
  Branches          7        7
============================================
  Hits            136      136
- Misses          179      180       +1
  Partials          4        4

Impacted Files
Coverage Δ
Complexity Δ

...dicedev/kakebo/controllers/ExpensesController.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...edev/kakebo/services/impl/ExpensesServiceImpl.java
57.14% <0.00%> (-4.40%)
4.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f83dac...04b9a13. Read the comment docs.


Using CMake ?

Hello,
I was wondering if there are any plans to use CMake instead of plain Makefiles as it would be easier to switch from linux/windows/osx.
Making xcode project files was not really easy, and each time a new file is added/renamed/removed I have to reflect that changes in Xcode. I guess it's the same issue on Windows with .sln/.csproj files, so using CMake with its generation ability would be really great :)

you are welcome to contribute cmake files for baresip, and we are happy to include
them if you are willing to maintain them.
the main makefile-system for baresip will still be the toplevel Makefile.
libre has a Cmake-file under re/mk/. but it has not been updated in a long time.


Release 0.3.0

Codecov Report

Merging #12 (2ba5264) into main (603ba96) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage   59.15%   59.15%
=======================================
  Files           4        4
  Lines          71       71
=======================================
  Hits           42       42
  Misses         29       29

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 603ba96...2ba5264. Read the comment docs.


Fixes Implicit PendingIntent Issue

More information about the issue can be found here: https://support.google.com/faqs/answer/10437428
When creating the BroadcastIntent in the displayNotification method, we now follow all the recommendations provided by Google in the above help center article.
Unfortunately according to this Stackoverflow answer, which links to this blog post it's not possible to use an explicit Intent when dynamically registering the broadcast receiver.
For that reason I registered the receiver in the Manifest with the necessary filter as I wasn't able to find out why you went for a dynamic registering of the receiver.
When creating an update with that fix included, we were able to get our update approved by Google. So this definitely fixes the issue and I hope it doesn't break something else :)

Hello, could it maybe be that it was accepted by google because you used "FLAG_IMMUTABLE"? That was currently the planned solution to this issue.

I don't know, really. Because the article suggests to apply "any (or even better, all)" of the suggestions, I tried to do as many as possible. So, I haven't tried with the flag only.


Activating privacy features for Private IP: Error 400 - urn:acme:error:unknownHost - No valid IP addresses found for xxx

(Are you asking for help with using Caddy? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!)
1. What version of Caddy are you running (caddy -version)?
Caddy 0.9.3
2. What are you trying to do?

 What is your entire Caddyfile?
pub.bill10ns.com, pub.test.bill10ns.com, pub.local.bill10ns.com {
        root /home/web/public
        proxy / <IP_ADDRESS>:8083 {
                proxy_header Host {host}
                proxy_header X-Forwarded {remote}
                proxy_header X-Real-IP {remote}
                proxy_header X-Forwarded-Proto {scheme}
        }
}

sub.bill10ns.com, sub.test.bill10ns.com, sub.local.bill10ns.com {
        root /home/web/public
        proxy / <IP_ADDRESS>:8088 {
                proxy_header Host {host}
                proxy_header X-Forwarded {remote}
                proxy_header X-Real-IP {remote}
                proxy_header X-Forwarded-Proto {scheme}
        }
}

4. How did you run Caddy (give the full command and describe the execution environment)?
caddy
# caddy is on /usr/bin

5. What did you expect to see?
started normally.
6. What did you see instead (give full error messages and/or log)?
Activating privacy features...2016/11/08 16:39:16 [pub.test.bill10ns.com] failed to get certificate: acme: Error 400 - urn:acme:error:unknownHost - No valid IP addresses found for pub.test.bill10ns.com
Error Detail:
        Validation for pub.test.bill10ns.com:80
        Resolved to:

        Used:

7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
create a server that listen on 8083 and 8088 localhost, change your ip to <IP_ADDRESS> or remove the *test.bill10ns.com from the Caddyfile above, then start the caddy using the Caddyfile above

Hi @kokizzu, I like your profile pic. :)

Activating HTTPS for Private IP Address.

Caddy gets certificates from Let's Encrypt, which only verifies domains on public networks. Unless you set up your own CA on your private network (and its certificates of course won't be trusted), you can't do this. ;) See letsencrypt.org for more information.


Hard device shutdown corrupted data?

Last night my phone shut down while I was writing on JournalBook, and this morning all the content appears to be gone. I'm guessing the IDB write failed and corrupted storage. I'm wondering if it might be potentially useful to write a second copy to a second storage medium as a way to prevent that. Thoughts?

Also ability to export backups if that does not exist? If it does that should be advertised more.


fixed parse time error

ValueError: Cannot parse '2024-03-09T23:27:28Z' as a datetime. Date string is expected to follow '%Y-%m-%dT%H:%M:%S.%fZ' pattern
The error indicates that the datetime string '2024-03-09T23:27:28Z' does not match the expected format %Y-%m-%dT%H:%M:%S.%fZ. The expected format includes milliseconds (.%f), but the provided string does not contain them

Closing this PR without merging as no new context has been provided. Happy to reopen when I get a deeper understanding of the issue we're fixing.


feat: addition of profile uzumaki4303

Description

Added my GitHub profile
Added 2 of my projects and there details

Updates

Fixed and passed all checks successfully
Preview: https://projectshut-git-fork-uzumaki4303-main-priyankarpal.vercel.app/

Description

Added my GitHub profile
Added 2 of my projects and there details

Thanks!


SCB-915:saga alpha event scanner optimization

omega do not send every try event to alpha.omega do it's try logic by itself.

All tests have been successful
The functionality of ForwardRecovery has been incorporated into defaultRecovery, so delete it and its test code. There is a test code equivalent to ForwardRecover in TransactionAspectTest.
(-1) means infinite retry, but it can also be interrupted, throwing an InterruptedException, which is consistent with the logic in the previous ForwardRecovery

ignore it


Translations update from Hosted Weblate

Translations update from Hosted Weblate for To Don't/To Don't.
It also includes following components:

To Don't/Metadata

Current translation status:

Thank you very much for your support, @gbonaspetti! 😘


Assigning Access dup display

If you open an access, and assign a person, then assign another person without refreshing, they appear multiple times:

Ooooohhhh....that's fun! Need model refresh after assignments. Do any of the other assets do that?

Ooooohhhh....that's fun! Need model refresh after assignments. Do any of the other assets do that?

Ooooohhhh....that's fun! Need model refresh after assignments. Do any of the other assets do that?

No, all the others can only have 1 assignment

Ooooohhhh....that's fun! Need model refresh after assignments. Do any of the other assets do that?

No, all the others can only have 1 assignment


API Conventions for Late-initializers

Formalizing what @bgrant0607 and I discussed in the context of the SecurityContext changes.

LGTM. Thanks much.

This is helpful to lay out.  Agree with the admission control comments for those handlers that modify incoming objects.


Combining Inspector Windows

Essentially I'd like to display multiple resources alongside entities in a single inspector.
I have poked around a little bit and from what I can tell the only way to view multiple resources as well as entities at the same time is to either:
A) Have many windows with one window per resources plus the world inspector window to view entities/components, however this leads to a mess of windows in my opinion and is therefore not ideal
B) Have only a single world inspector window by creating an entity that stores the resource values, and create a system that copies the resource values to and from the entity so they can be viewed/modified through the world inspector
C) Do the same thing as in B but with one giant resource
Is there a way I've missed to consolidate the windows besides wrapping the desired resources in entities or everything in a single resource? If not could it be added in the future?

nvm I found the link to the rewrite branch looking around at other issues


Working smf

@jcanny Here's what I did for this pull request:
The goal here is to be able to test the SMF.scala code on data (such as netflix, which I use here) using ADAGrad for stochastic gradient updates. This is different from SFA.scala which will internally use a more complicated conjugate gradient updater which I don't know about.
Stuff added:

A test script testsmf_v2.ssc as proof of concept.

Stuff modified:

SFA.scala to remove learner methods which explicitly form an updater as input. The reason is that the SFA code already calls ADAGrad updaters internally (and uses conjugate gradient as well) so there is no need to add more gradient updates to it.

SMF.scala to remove learner methods which do not explicitly form an updater as input. It's the reverse reason for SMF as compared to SFA, because SMF needs an updater to be formed. I added a learner which will form an ADAGrad updater, though the default parameters may be bad.

I also added a predictor method which will explicitly form an empty user matrix like the SFA predictor, and I needed a second evalfun in SMF which will use that matrix.
Finally, I modified the default evalfun for training so that it assigns omats, just like in SFA. This is the only thing that might affect existing code (other than if code was calling the outdated learners).
I added minor documentation.
Test results:
On the netflix data, I can get a RMSE of 0.90 with 1 pass using SMF.scala and the settings in testsmf_v2.ssc. Unfortunately, RMSE rises to 0.95 and 0.97 with 2 and 3 passes, respectively, and soon, it becomes no better than doing SMF with a second factor matrix of all zeros (this is the matrix of size (opts.dim, 480k)).
The results are disconcerting, but these may be because I'm not using good settings for ADAGrad. We should ideally be getting RMSE roughly 0.85 or so. Perhaps there is something else we need in this SMF code?

I managed to figure out a way to get RMSE of 0.845380, with the following settings:
import BIDMach.models.SMF
val dir = "/data/netflix/"
val a = loadSMat(dir+"newtrain.smat.lz4")
val ta = loadSMat(dir+"newtest.smat.lz4")
val d = 256
val (nn,opts) = SMF.learner1(a, d)

opts.batchSize = 2000
opts.uiter = 5
opts.urate = 0.05f
opts.lrate = 0.05
opts.npasses = 2
val lambda = 4f
opts.lambdau = lambda;
opts.regumean = lambda;
opts.lambdam = lambda / 500000 * 20;
opts.regmmean = opts.lambdam
opts.evalStep = 31
opts.doUsers = false
opts.lsgd = 0.010f
opts.what
nn.train

val model = nn.model.asInstanceOf[SMF]
val xa = (ta != 0)
val (mm, mopts) = SMF.predictor1(model, a, xa);
mopts.batchSize = 10000
mopts.uiter = 5
mopts.urate = opts.urate
mopts.lsgd = 0.0f
mm.predict

val pa = SMat(mm.preds(1));
min(pa.contents,5,pa.contents)
max(pa.contents,1,pa.contents)
val diff = ta.contents - pa.contents
val rmse = sqrt((diff ^* diff) / diff.length)
println("rmse = %f" format rmse.v);

The performance of the algorithm seems to be very sensitive to the settings, so one should set them carefully.

Update: don't merge this into master yet. I am doing some more work offline.


IWSLT-16 En-De Decoding

Hi, I have been trying to reproduce the validation results of IWSLT-16 En-De experiments using the pre-trained models. However, I'm getting the following results for the AR model:
UserWarning:
The hypothesis contains 0 counts of 3-gram overlaps.
Therefore the BLEU score evaluates to 0, independently of
how many N-gram overlaps of lower order it contains.
Consider using lower n-gram order or use SmoothingFunction()
iter 1 | BLEU = 0.00, 3.4/0.2/0.0/0.0 (BP=1.000, ratio=2.090, hyp_len=41421, ref_len=19823)
For the AR model, I'm running:
python run.py --dataset iwslt-ende --vocab_size 40000 --ffw_block highway --params small --lr_schedule anneal --batch_size 1024 --mode test --debug --gpu 0 --load_vocab --load_from ~/nlp/dl4mt-nonauto/models/iwslt16/ende/02.05_23.12.ar_voc40k_2048_5_278_507_2_drop_0.1_0.0003_tran_high_

For the NAT model, I'm running:
python run.py --dataset iwslt-ende --vocab_size 40000 --ffw_block highway --params small --lr_schedule anneal --batch_size 128 --fast --valid_repeat_dec 20 --use_argmax --next_dec_input both --mode test --remove_repeats --debug --gpu 0 --load_vocab --trg_len_option predict --use_predicted_trg_len --load_from ~/nlp/dl4mt-nonauto/models/iwslt16/ende/02.08_20.10.ptrn_model_voc40k_2048_5_278_507_2_drop_0.1_drop_len_pred_0.3_0.0003_anne_anneal_steps_250000_high_tr4_2decs__pred_both_copy_argmax_

May I know what are the correct flags to set? Thanks!

Sorry about the delay.
Have you manually inspected the output to see if there's any obvious errors (e.g. provided vocab is wrong)? Also are you getting 0 BLEU for both autoregressive and non-autoregressive models?