AutoML: add a get_operation_status method to clients

in https://github.com/GoogleCloudPlatform/python-docs-samples/pull/1575#discussion_r203881281 I noticed one of our samples is relying on an internal method client.transport._operations_client.get_operation(.
@sirtorry said it is common for training jobs to take long periods of time and having a way of checking on the status is useful.
I believe we should consider exposing a method, perhaps one of the following.
response = client.create_model(project_location, my_model)
response.get_status()

or
operation_name = response.operation.name
client.get_operation_status(operation_name)

It also seems operation.refresh() will do the same thing. Perhaps there is a way to do this currently without adding this functionality?

class Operation(polling.PollingFuture):
    """A Future for interacting with a Google API Long-Running Operation.

    Args:
        operation (google.longrunning.operations_pb2.Operation): The
            initial operation.
        refresh (Callable[[], ~.api_core.operation.Operation]): A callable that
            returns the latest state of the operation.
        cancel (Callable[[], None]): A callable that tries to cancel
            the operation.
        result_type (func:`type`): The protobuf type for the operation's
            result.
        metadata_type (func:`type`): The protobuf type for the operation's
            metadata.
        retry (google.api_core.retry.Retry): The retry configuration used
            when polling. This can be used to control how often :meth:`done`
            is polled. Regardless of the retry's ``deadline``, it will be
            overridden by the ``timeout`` argument to :meth:`result`.
    """

cc @sirtorry

Currently you have to do the following. If we add a method for get_operation this simplifies greatly. It enables getting status and cancelling operations.
import google.api_core.operation
import google.api_core.operations_v1
from google.longrunning import operations_pb2

operations_client = operations_v1.OperationsClient(
    channel=automl_client.channel)

operation = google.api_core.operation.Operation(
    operations_pb2.Operation(name=operation_id),
    operations_client,
    google.cloud.automl.types.Model)

operation.cancel()


*: sha256 = sha256-.. => hash = sha256-..

This commit replaces all hashes using the new format
and the old variable name (sha256 = "sha256-..") to
the new format (hash = "sha256-..")
Command used for changes
find -iname "*.nix" -type f -exec sed 's|sha256 = "sha256|hash = "sha256|g' -i {} +
//cc @worldofpeace

Motivation for this change
Things done

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

[ ] 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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This breaks easy updates for people not using sri hashes.

@SuperSandro2000 I suppose this PR might possibly be the right time to resolve those issues beforehand and then merge it. I'd say SRI is the future, so we shouldn't let that hold things back.

This should be done in badges or we can't review it and get frequent merge conflicts. Also right now it does not even eval and what do we do with all the hashes in the old format? If they are recalculated it definitely needs to be done in batches. Does this cause rebuilds? Is there a consensus on this? What do we do with PRs that introduce the old format?

Anyone can do nix to-sri --type sha256  0f7xysk0cl48q7i28m25hasmrp30grgm3kah0s7xmkjgm33887pi @SuperSandro2000

Anyone can do nix to-sri --type sha256 0f7xysk0cl48q7i28m25hasmrp30grgm3kah0s7xmkjgm33887pi @SuperSandro2000

Yea, but it's not a good user experience. At the very least I don't think we should be requesting changes to PR because they have a sha256 = <base32 hash>;.
Once 2.4 is stable, then the changes will mostly be sha256 -> hash, as the sri hash will be default.

Also fetchpatch and fetchgit (therefore also fetchFromGitHub with submodules) do not support hash yet: https://github.com/NixOS/nixpkgs/pull/79987

Honestly I fail to see motivation why replace all the hashes.

I think standardization on a single format is a good idea to reduce the confusion for new users but it is simply too soon.
We need to decide if the attribute name should be narHash, hash, or integrity first, and then add support for it  to fetchpatch and fetchgit. Only then we will be able to gradually migrate to the new attribute.


Does it support grafana 7 ?

Error Loading Plugin
Check the server startup logs for more information.
If this plugin was loaded from git, make sure it was compiled.

@aleita I am working on it and will release newer version support

Same issue here. Would be awesome if this could be fixed.

I have the same issue running on Grafana 6.5.1 using sankey-panel version 3.0.0, please let us know if there's a fix

I tested the plugin and seems to work fine with Grafana 7.
Although I found a bug in terms of creating a new sankey panel. As known, it is required to specify 2 terms grouping to display the diagram, but I found that while creating a new panel and selecting the first term, the panel throws an exception.
The workaround in this can be done by first adding the 2 group by term options(as shown in screenshot) and then selecting the actual fields.
I will raise a bug and try fixing this.

@aleita can you please check if the index.html is being updated with the google charts link https://github.com/kumaravel29/grafana-sankey-panel#info
@DislayPS can you share the exact issue that you are facing?

Hi @kumaravel29
it works for me.

thanks
Ale

I tested the plugin and seems to work fine with Grafana 7.
Although I found a bug in terms of creating a new sankey panel. As known, it is required to specify 2 terms grouping to display the diagram, but I found that while creating a new panel and selecting the first term, the panel throws an exception.
The workaround in this can be done by first adding the 2 group by term options(as shown in screenshot) and then selecting the actual fields.
I will raise a bug and try fixing this.

@aleita can you please check if the index.html is being updated with the google charts link https://github.com/kumaravel29/grafana-sankey-panel#info
@DislayPS can you share the exact issue that you are facing?

Hey @kumaravel29,
Thanks for the quick reply!
I am using Grafana version 6.5.1 and it shows the same error:
Error Loading Plugin
Check the server startup logs for more information.
If this plugin was loaded from git, make sure it was compiled.
Here's my screenshot:

Thanks for helping!

@DislayPS, I tested the plugin with version 6.5.1 and it works fine.
Can you please share the steps involved in installing the plugin?

@kumaravel29 I installed grafana 6.5.1 with brew
Setup my custom repo inside grafana's config
I git clone https://github.com/kumaravel29/grafana-sankey-panel.git into my custom repo
I restart my grafana platform: brew services restart grafana
The plugin shows up so everything is fine so far.
I go on Configuration and Plugins, click on the new sankey plugin and it shows that screenshot above.

@DislayPS Can you also share the Grafana logs.

@kumaravel29 thanks for helping,
I've attached the logs from Starting the grafana server, to going to Configuration - Plugins - Clicking on Sankey and getting the error from screenshot above.
Then also, trying to create a new dashboard with the sankey and getting the error on the screenshot below

t=2020-07-20T12:43:29-0700 lvl=info msg="Starting Grafana" logger=server version=6.5.1 commit=unknown-dev branch=master compiled=2020-07-20T11:56:06-0700 t=2020-07-20T12:43:29-0700 lvl=info msg="Config loaded from" logger=settings file=/usr/local/opt/grafana/share/grafana/conf/defaults.ini t=2020-07-20T12:43:29-0700 lvl=info msg="Config loaded from" logger=settings file=/usr/local/etc/grafana/grafana.ini t=2020-07-20T12:43:29-0700 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/usr/local/var/lib/grafana" t=2020-07-20T12:43:29-0700 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/usr/local/var/log/grafana" t=2020-07-20T12:43:29-0700 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/usr/local/var/lib/grafana/plugins" t=2020-07-20T12:43:29-0700 lvl=info msg="Path Home" logger=settings path=/usr/local/opt/grafana/share/grafana t=2020-07-20T12:43:29-0700 lvl=info msg="Path Data" logger=settings path=/usr/local/var/lib/grafana t=2020-07-20T12:43:29-0700 lvl=info msg="Path Logs" logger=settings path=/usr/local/var/log/grafana t=2020-07-20T12:43:29-0700 lvl=info msg="Path Plugins" logger=settings path=/Users/dtaing/Documents/work/grafana/plugins t=2020-07-20T12:43:29-0700 lvl=info msg="Path Provisioning" logger=settings path=/usr/local/opt/grafana/share/grafana/conf/provisioning t=2020-07-20T12:43:29-0700 lvl=info msg="App mode production" logger=settings t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing SqlStore" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3 t=2020-07-20T12:43:29-0700 lvl=info msg="Starting DB migration" logger=migrator t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing HTTPServer" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing OSSLicensingService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing SearchService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing RemoteCache" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing QuotaService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing ServerLockService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing UserAuthTokenService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing PluginManager" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Starting plugin search" logger=plugins t=2020-07-20T12:43:29-0700 lvl=info msg="Registering plugin" logger=plugins name="Flowmaster Datasource" t=2020-07-20T12:43:29-0700 lvl=info msg="Registering plugin" logger=plugins name="Pie Chart" t=2020-07-20T12:43:29-0700 lvl=info msg="Registering plugin" logger=plugins name="Sankey Diagram Chart" t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing RenderingService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing AlertEngine" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing DatasourceCacheService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing HooksService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing LoginService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing InternalMetricsService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing TracingService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing UsageStatsService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing CleanUpService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing NotificationService" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing provisioningServiceImpl" logger=server t=2020-07-20T12:43:29-0700 lvl=info msg="Backend rendering via phantomJS" logger=rendering t=2020-07-20T12:43:29-0700 lvl=warn msg="phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin." logger=rendering t=2020-07-20T12:43:29-0700 lvl=info msg="Initializing Stream Manager" t=2020-07-20T12:43:29-0700 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket= t=2020-07-20T12:46:30-0700 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/1/ status=502 remote_addr=[::1] time_ms=11 size=0 referer=http://localhost:3000/datasources/edit/1/ t=2020-07-20T12:48:26-0700 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/datasources/proxy/1/query status=400 remote_addr=[::1] time_ms=61 size=249 referer="http://localhost:3000/dashboard/new?panelId=2&edit&fullscreen&tab=visualization&openVizPicker&orgId=1" t=2020-07-20T12:48:28-0700 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/datasources/proxy/1/query status=400 remote_addr=[::1] time_ms=18 size=249 referer="http://localhost:3000/dashboard/new?panelId=2&edit&fullscreen&tab=visualization&openVizPicker&orgId=1"

@DislayPS I faced the same issue in Windows but things worked fine in my Ubuntu VM by cloning the sankey plugin. Could not find the details about the error for now.
Is it possible to use the grafana-cli to install the plugin and check if that works?

Hey @kumaravel29,
Just tried that, still the same result, I removed my old one, restarted the server and confirmed the plugin was not there anymore.
Then I ran these commands:
`us8c8590a73a04:plugins dtaing$ grafana-cli --pluginsDir "/Users/dtaing/Documents/work/grafana/plugins" --pluginUrl https://codeload.github.com/kumaravel29/grafana-sankey-panel/zip/master plugins install grafana-sankey-panel
installing grafana-sankey-panel @
from: https://codeload.github.com/kumaravel29/grafana-sankey-panel/zip/master
into: /Users/dtaing/Documents/work/grafana/plugins
✔ Installed grafana-sankey-panel successfully
Restart grafana after installing plugins .
us8c8590a73a04:plugins dtaing$ brew services restart grafana
Stopping grafana... (might take a while)
==> Successfully stopped grafana (label: homebrew.mxcl.grafana)
==> Successfully started grafana (label: homebrew.mxcl.grafana)`
Still the same outcome =(

@aleita I am working on it and will release newer version support

Hello, nice plugin! Any ETA? :)

@aleita the plugin works with v7.x also. Could you please let me know the steps done for the installation ?

For me, i have just doe :
git clone https://github.com/kumaravel29/sankey-panel.git
sudo service grafana-server restart
And move it into my other location where is have all my plugin

@aleita did you restart grafana after placing the plugin in the plugin folder?
Otherwise can you also try this command (enter the plugin directory)
grafana-cli --pluginUrl "https://github.com/kumaravel29/grafana-sankey-panel/archive/master.zip" --pluginsDir "${GF_PATHS_PLUGINS}" plugins install grafana-sankey-panel

I still got the same, what can i do to show your more information?

No error 👍 Thank you i will try to do my grafphics


K8sHealthTest checks cilium-health status between nodes

/home/jenkins/workspace/cilium-master-K8s-all/1.17-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:514
Expected
    <string>:
not to be empty
/home/jenkins/workspace/cilium-master-K8s-all/1.17-gopath/src/github.com/cilium/cilium/test/k8sT/Health.go:110/

https://jenkins.cilium.io/job/cilium-master-K8s-all/348/testReport/junit/Suite-k8s-1/17/K8sHealthTest_checks_cilium_health_status_between_nodes/
https://jenkins.cilium.io/job/Ginkgo-CI-Tests-k8s1.18-Pipeline/641/testReport/junit/Suite-k8s-1/18/K8sHealthTest_checks_cilium_health_status_between_nodes/
https://jenkins.cilium.io/job/Ginkgo-CI-Tests-k8s1.18-Pipeline/672/testReport/junit/Suite-k8s-1/18/K8sHealthTest_checks_cilium_health_status_between_nodes/
https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/5101/testReport/junit/Suite-k8s-1/18/K8sHealthTest_checks_cilium_health_status_between_nodes/
logs from last link:
74058caf_K8sHealthTest_checks_cilium-health_status_between_nodes.zip

Is this a duplicate of https://github.com/cilium/cilium/issues/6728?


Localized file check-in by OneLocBuild Task: Build definition ID 21368: Build ID 109197860

This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.

closing as superseded by https://github.com/microsoft/responsible-ai-toolbox/pull/2408


Incompatible with Replay mod

The mod is now somewhat compatible. You can use the mods together without much issue, the only bug that I see occur is that once a player enters the portal they disappear (during replays). The portal is 100% visible though and you can enter through it


OpenStreetMap tiles not loading?

So, I have implemented the default open street map example into my flutter project. The map is centred to the marker and the marker is displayed but the tile behind it never loads and remains grey, this is true wherever else I go on the map.
My network can access the open street map tile server just fine and I can render tiles in my browser just fine, and my simulator has network connection too because it is already interacting with my external API.
Any ideas?

Double check your AndroidManifest file in the android/app/src dirs, there may be 3 of them, and you may find one of them doesn't have internet access enabled.
Other than that, check the console for any image load errors. You may need to add a bit of debugging in the imageprovider file, to check if the requests are being called correct, with the correct url etc.

Ok. I'm on iOS by the way and internet access is definitely working. Will try and debug the image provider now

Maybe also double check the zoom value is within the min/max of both the app, and the tile provider.

It is. Debugging now

Okay, tried to debug by initially making the getTileUrl() method in tile_provider.dart print the url it's returning. Nothing is printed, can you debug packages by just going in and sticking prints in?

I have put Image(image:NetworkImageWithRetry('https://a.tile.openstreetmap.org/13/2177/100.png')) on my screen and it loads the tile fine.

I am silly. I never stopped running my app and started running it again with 'flutter run', only hot restarted. Meaning the packages weren't properly loaded in.
Anyone else with this issue try:

Stop running your app completely.
'flutter run'


Assembly.GetResourceFileSystem() extension needs to handle files without extensions

The Assembly.GetResourceFileSystem() method needs to make some assumptions about how dots in file names are interpreted because slashes in embedded resource file paths are all converted to dots when naming the resource.  We originally assumed that all file are named with a single dot-extension and assumed that all other dots in a resource name separate the directory path segments.
The problem is that we actually need to have resource files without an extension (this happens in Helm charts).
The solution is a bit of a hack where you'll need to specify resources that shouldn't have an extension with the special "._" extension in your project.  So if you need a resource file named test, you'd need to add a test._ resource file.  Assembly.GetResourceFileSystem()` will recognize this when loading the resources and strip off the special extension.

DONE for neonLIBRARY v2.11.0

DONE for neonLIBRARY v2.11.0


Bro, Doenerium has detected by Windows Defender :(

That's it's detected by Windows Defender :(

try latest update


Update Dockerfile

Pull Request Review
Checklist

[x] Issue: 3394
[x] List of related PRs. : None
[x] Project builds without any errors.
[x] Unit Tests updated (or created where needed) and all pass.
[x] You have ran manual functional “smoke” test (does product as a whole still work?).
[x] User Story meets the acceptance criteria - and passes. acceptance criteria should be understood at outset.
[x] There is a PR for update of internal documentation for the affected Project(s) - README etc.
[x]  Description of the changes: Vulnerabilities have been reduced after making the code changes by removing the  helm2 version in the Dockerfile. Vulnerabilities that have been removed can be found in 3394

will open a new PR after making changes based on https://github.ibm.com/TNC/tnc-o-tracking/issues/3473


Build Flag on Development Tab

Would be cool to have Build Flag

also on

Probably won't happen... They are two completely different mechanisms, and for different purposes... One is simply to allow quicker access to the PR Builds from GitHub, and the other is actually custom builds (cloud build) of release firmwares. For a custom build of a PR, next stage would be gitpod, and then local build environment.
What are you after that would necessitate access to build flags for a PR? i.e. you can do a cloud build of nightly firmware (just need to enable the pre-release filter option) so can use that once any PR of interest is merged.

Like here
https://github.com/EdgeTX/edgetx/pull/5445

In the rare case that is needed, you would normally simply ask for a build
with the necessary options enabled in that PR... I've provided both the
2.11 and 2.10 versions of that PR, although the 2.10 version still needs
verification that two peripheral settings are correct for the T15. Once
bluetooth is made a first class citizen like other serial port options,
that will probably be on by default for the future.
On Sat, Aug 17, 2024 at 2:13 PM druckgott @.***> wrote:

Like here
EdgeTX/edgetx#5445 https://github.com/EdgeTX/edgetx/pull/5445
—
Reply to this email directly, view it on GitHub
https://github.com/EdgeTX/buddy/issues/87#issuecomment-2294617020, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ66KKFPJBH322K32QIXXTZR3EWXAVCNFSM6AAAAABMUHKYZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGYYTOMBSGA
.
You are receiving this because you commented.Message ID:
@.***>

I have seen you build it i will test it later. This Was only a idea 😁


how are the languages supposed to work?

according to this:
http://numbrojs.com/languages.html
its just an include and then numbro.setLanguage("xx)
but that doesnt work..

very simple test like that then numbro.setLanguage() on the place of the console .log doesn't do anything
that is because numbro.languages() just has and English variant.
but numbro.allLanguages does have them all loaded. But that is not really used
should i really loop over that and call numbro.registerLanguage() my self?
Besides this how is this supposed to work in a more typescript environment (angular)
there i can do this:
import numbr from 'numbro';
but then the languages is not there if i do
import 'numbro/dist/languges.min';
then node crashes with an out of memory i think its some circulair behavior
in angular i can just say ok lets just include that languages in the "scripts" section (angular.json file)
but then the import of numbr doesn't also have "allLanguages" i think if i also add the numbro.js script there i also have "window.numbro" and then allLanguages that i could register i guess?
But what is the best way to use this in typescript or in an angular project ?

I'm also wondering how one does this in Node.js or in React Native. Probalby need to look another library as the documentation really sucks.
<script src="./node_modules/numbro/dist/min/languages.min.js"></script>

@tapz Feel free to contribute. It's a lot less aggressive, and a lot more positive

@BenjaminVanRyseghem I couldn't figure out how to load the languages. Probably would need to change the code. Also, I can't use this lib because the currency is automatically associated to the user's locale.

I couldn't figure out how to load the languages

Then asking for help is probably more  likely to have a positive output than stating that things "suck"
Also, there are  many tickets about this issue.

because the currency is automatically associated to the user's locale

That's the default behavior, which can of course be overridden. Once again, asking for help politely could have helped.

 private setNumbroLocale(localeId: string, tryOnlyLanguage: boolean): Promise<void> {         if (numbro.language() == localeId) return Promise.resolve();         return import(numbro/languages/${localeId}).then(module => {             numbro.registerLanguage(module.default);             numbro.setLanguage(localeId);         }).catch(e => {             const index = localeId.indexOf('-');             if (index === -1) {                 return this.setNumbroLocale(this.makeFullLocale(localeId), false);             } else if (tryOnlyLanguage) {                 return this.setNumbroLocale(localeId.substring(0, index), false);             } else {                 console.log('numbro locale for ' + localeId + ' didn\'t resolve, fallback to default en-US');             }         });     }
thats how i now do it in Angular.
and that seems to work.

For node.js I fund the following worked for me, in my example I am loading the en-GB local.
import numbro from 'numbro';
import locale from "numbro/languages/en-GB.js";

numbro.registerLanguage(locale);
numbro.setLanguage('en-GB');

@William-Owen I could not make it work for multiple languages using aliases. In example:
import numbro from 'numbro'
import { locale as locale_es } from 'numbro/languages/es-ES.js'
import { locale as locale_pt } from 'numbro/languages/pt-PT.js'

numbro.registerLanguage(locale_es)
numbro.registerLanguage(locale_pt)

I ended up doing:
import numbro from 'numbro'
import * as numbroLanguages from 'numbro/dist/languages.min.js'

numbro.registerLanguage(numbroLanguages['es-ES'])
numbro.registerLanguage(numbroLanguages['pt-PT'])


Removes deprecated yammer commands. Closes #5764

Removes deprecated yammer commands. Closes #5764

Removes all yammer aliases.
Removes yammer as a possible option value for option service in command cli consent.

Thanks you!

Hi, since we had to align our v9 branch with the latest v8, some merge conflicts crept into your PR. Could you realign your changes with the latest v9, please? If you need any assistance, don't hesitate to ping us.

Hi @SmitaNachan, could you also update the v9 upgrade guidance and recheck our sample scripts for needed changes, please? Much appreciated 🙏

Merged manually, thank you!


Loot chest and bots don't despawn for host

Describe the bug
A clear and concise description of what the bug is.
Chest and Bots don't despawn for the host after reenter the Raid.
To Reproduce
Steps to reproduce the behavior:

Open a Raid as Host
Clear the Raid
Enter the Raid again
Old bots and Chest is still there, but boss and adds are respawned

Expected behavior
Bots and chest should despawn.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS] Windows 11 Steam Version

Hey @hboelke I am having trouble reproducing this issue. Did you get a Loading Screen on "3. Enter the Raid again" ?


fix: precision infinite loop bug solution by edge casing calculations

Closes: #XXX
What is the purpose of the change
This a solution to the bug stemming from the difference between sqrt prices being truncated to zero due to lack of precision.
The difference of zero leads to computing amounts in/out in a swap step with the value of zero. In turn, this results in the inability to progress in the swap loop. The progress can only be made if we keep subtracting computed in/out values from the amountIn/OutRemaining
An alternative solution is to increase precision for intermediary calculations like in this PR: https://github.com/osmosis-labs/osmosis/pull/5612
Here, we focus on detecting when incorrect truncation occurs and setting the amountIn/Out to the amount remaining so that the swap makes progress.
Detailed comments are left directly in the code to explain the logic.
Testing and Verifying
Uses Alpin's repro + added unit tests reproducing this.
Each added compute swap step logic branch is hit at least once by a direct unit test.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[ ] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[x] Code comments?
[ ] N/A

Per discussion on call, we were wrong when we initially planned these approaches. We have to swiitch to a different approach.

Approach: https://hackmd.io/6wKtoyK6TPS6Bxe_AiHmCw


ability to check if block is finalized  in Exex

Describe the feature
It could be beneficial to get finalized updates only in via ExEx notification stream
and @mattsse
could you provide more context?
Additional context
No response

we can change how we track these
https://github.com/paradigmxyz/reth/blob/46c8255fa887dcc9d9b65aa9c1c47eeeabc4764d/crates/storage/provider/src/providers/chain_info.rs#L131-L136
and use a tokio::watch instead.
then we add another trait similar to this than can subscribe to that:
https://github.com/paradigmxyz/reth/blob/46c8255fa887dcc9d9b65aa9c1c47eeeabc4764d/crates/storage/provider/src/providers/mod.rs#L891-L898

Is this ticket still relevant? If so, could you please assign it to me, @mattsse?

oh actually, we have this available now:
https://github.com/paradigmxyz/reth/blob/05e85b75f44efb73fb8f4494ba37443e5f6f6ae6/crates/storage/provider/src/traits/full.rs#L23-L23
but what we could use is a helper stream type that merges CanonStateNotification and only emits the notifications for the same block?

Yep, I noticed that!
If it would be useful, I'd like to delve into it.
I have an implementation-related question for clarification:
Do you mean that we should emit the notifications only when the canonical, finalized, and safe block numbers are the same?


Ground emitting light

Sometimes after the world loads you can see blocks being illuminated as if there were a source of light. This probably happens because there some tile entities are not removed from world properly.

There seems to be no straggling tile entities causing this.
My next suspicion is the chunk data, perhaps it's loading values that should not be there.


[WIP] - Feature/domain names

Ref: https://github.com/thenewboston-developers/Account-Manager/issues/633
Summary:
Allows account manager to

[x] maintain support for insecure banks with ip_addresses
[x] set active banks with domains (set active bank)
[x] add banks with domain name (add bank with domain)
[x] add/change active bank with https port (443)
[x] add/change active bank with https (missing port)
[x] include display port for HTTP

TODO:

[ ] fix layout on connect formatPathwithNode (use secure address)

Preview:

with port
change active bank
set active bank

conditional rendering of port

add bank
change active bank

[x] i have performed a self-review

Send coins doesn't work for https as the node/banks haven't updated to using Url so just note that


output gzipped data

If the input is gzipped data, the output should be automatically gzipped. Otherwise users would encounter large files

Actually I implemented this feature but finally discard this feature since the python gzip lib is pretty slow with direct gz output.
Currently I suggest to add a gzip after AfterQC is done. I am considering to reimplement AfterQC with C++ for some performance and threading issue.

Some tools have --gzip parameter to allow users decide whether to gzip output or not

gzip output has been enabled on master branch.
For gzipped input, then the output will be also gzipped.
If the input is not gzipped, you can enable --gzip or -z option to force gzip compression.
gzip input --> gzip output
ungzip input --> ungzip output
ungzip input + --gzip (-z) option --> gzip output

Use --compression to change the compression level (0~9), default is 2. The better the compression, the lower the speed.


Rule Chaining

Hey,
I was wondering if it was possible to perform rule chaining with this engine?
For example
{    sub: "abc",     subrule:                 {                 obj: "xyz",                 age: 23                } }

Hi, thanks for posting the question. Would you mind elaborating more on the scenario you have in mind?
durable_rules does rules forward chaining. In the example below the engine will assert that 'Kermit' is a frog and because 'Kermit' is a frog, it is green (this last assertion is when forward chaining kicks in).
var d = require('durable');

d.ruleset('animal', function() {
    whenAll: {
        first = m.predicate == 'eats' && m.object == 'flies'
        m.predicate == 'lives' && m.object == 'water' && m.subject == first.subject
    }
    run: assert({ subject: first.subject, predicate: 'is', object: 'frog' })

    whenAll: m.predicate == 'is' && m.object == 'frog'
    run: assert({ subject: m.subject, predicate: 'is', object: 'green' })

    whenAll: +m.subject
    run: console.log('fact: ' + m.subject + ' ' + m.predicate + ' ' + m.object)

    whenStart: {
        assert('animal', { subject: 'Kermit', predicate: 'eats', object: 'flies' });
        assert('animal', { subject: 'Kermit', predicate: 'lives', object: 'water' });
    }
});

d.runAll();


When a selected expression begins/ends with a bracket, the "Extract method/variable" command misbehaves

Environment data

Language Server version: 2021.9.0
OS and version: Windows 10 20H2
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.6

Expected behaviour
Not to leave the leading/trailing bracket where it is originally
Actual behaviour
Pylance leaves the leading/trailing bracket where it is originally, which may cause errors
Logs

When I select (a + b) // 2:
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange

When I click "extract variable":
Background analysis message: setFileOpened
Background analysis message: markFilesDirty
Background analysis message: analyze
[BG(1)] analyzing: c:\Users\Admin\ywt\2.py ...
[BG(1)]   parsing: c:\Users\Admin\ywt\2.py (1ms)
[BG(1)]   binding: c:\Users\Admin\ywt\2.py (0ms)
[BG(1)]   checking: c:\Users\Admin\ywt\2.py (4ms)
[BG(1)] analyzing: c:\Users\Admin\ywt\2.py (6ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
[FG] parsing: c:\Users\Admin\ywt\2.py (0ms)
[FG] binding: c:\Users\Admin\ywt\2.py (0ms)
Background analysis message: getSemanticTokens delta
[BG(1)] getSemanticTokens delta previousResultId:1630760446008 at c:\Users\Admin\ywt\2.py (0ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: markFilesDirty
Background analysis message: analyze

Code Snippet / Additional information

Original code:
a = 1
b = 2
print((a + b) // 2, end='')

When I select (a + b) // 2, click the light bulb, choose "Extract variable", press Enter, this is what I see:
a = 1
b = 2
new_var = a + b) // 2
print((new_var, end='')

As you can see, the ( following print was still in Line 4 where it was originally, instead of at the right hand side of = in Line 3.

And this error also happens on "Extract method" command.

@CodeCrazy-ywt, are you still able to repro this issue? I'm seeing something different, but I'm guessing it's related:
Using your example above, if I select "(a + b) // 2", I don't see the code action lightbulb, and if I press Ctrl+. I'm told that there are no available code actions:

But if I limit my selection to "a + b) // 2" (i.e. don't include the open paren), the Extract Method and Extract Variable code actions are available, but result in the invalid Python syntax that you described above:

Is this what you're seeing (now) too?

Sorry for late response. What I see is exactly the same as yours.

FYI, this also causes _getIndentation to misbehave. Getting the indentation for the line after return x == 0 in the following code results in a single dedent as expected:
def func(x):
    if x != None:
        return x == 0

Whereas, getting the indentation for the line after return (x == 0) results in zero indentation:
def func(x):
    if x != None:
        return (x == 0)

This happens because calling findNodeByOffset with the end offset of the CloseParenthesis token returns the Module ParseNode instead of the BinaryOperation.

This issue has been fixed in prerelease version 2022.11.21, which we've just released. You can find the changelog here: CHANGELOG.md


numpy.clip does not have a way to specify only max for clip

The numpy clip function allows None for either min or max arg to specify no clipping on the corresponding bound.
pythran clip does not seem to allow None.
pythran clip does seem to allow specifying only min, avoiding max (from my reading of the code clip.hpp)
But there is no way to specify only a max, and not a min.

Indeed. Thanks for reporting this, I'll have a look.

For now my workaround is use np.inf or -np.inf for one limit, but probably
slower
On Sun, Dec 4, 2022, 1:33 PM serge-sans-paille @.***>
wrote:

Indeed. Thanks for reporting this, I'll have a look.
—
Reply to this email directly, view it on GitHub
https://github.com/serge-sans-paille/pythran/issues/2054#issuecomment-1336486263,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA4VUFUQRL2JR6AZ6LW2JTWLTPWRANCNFSM6AAAAAASTKEQM4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Fix available, that should indeed be slightly faster


Hugo migration - Concepts left-nav is out of order

This is an issue to track the left-nav in concepts being out of order.

[ ] Feature Request
[X] Bug Report

Problem: I am seeing

Concepts
Example Concept Template
Extending the Kubernetes API
...

Instead of

Concepts
Overview
Kubernetes architecture

Page to Update:
https://k8sio-hugo-migration.netlify.com/docs/concepts/

Also: https://hugo-migration.docs.kubernetes.io/docs/tasks/
Note:
Prod: https://cl.ly/1o461I0l130E
Hugo Staging: https://cl.ly/0X0H1r04291x

Also the left Nav for kubectl CLI on https://hugo-migration.docs.kubernetes.io/docs/reference/ has improper weighting and missing options.

https://k8sio-hugo-migration.netlify.com/docs/concepts/
The Extending Kubernetes top level item is missing. The sub-items of Extending Kubernetes are 1) now top level items, ie.  Extending the Kubernetes API or 2) randomly distributed in other top level items, ie. Extending your Kubernetes Cluster (now in Overview)

Also on the Nav bar on https://hugo-migration.docs.kubernetes.io/docs/reference/kubectl/overview/
The kubectl Commands navigation option is completely missing

In the kubeadm docs, the left nav displaces menu items in production with invisible links to individual methods:

Hugo vs. Jekyll

Related: #8264


Allow comments inside ViewRouter without breaking rendering

Reproduction
no
Steps to reproduce the bug

Initialise the demo Vue project with VueRouter
In app.vue <template> this code won't render any routes:

<RouterView>
    <!-- <RouterLink to="/hi">Go to Hi page</RouterLink> -->
</RouterView>

but this code works fine:
<RouterView>
</RouterView>

Expected behavior
Commented out html should have no effect on rendering.
Actual behavior
Commented out html causes no rendering of routes to occur
Additional information
No response

This is inherent to HTML and v-slot, <RouterView> allows passing slot content to override the way it renders. After all, comments are also HTML nodes. Usually you use <RouterView> in one of the two following ways:
<RouterView /> // no content
<RouterView v-slot="{ Component }">
  <Component :is="Component" /> // to wrap with KeepAlive or Transition
</RouterView>

If you pass content to a slot, it becomes:
<RouterView v-slot="{ Component }">
  <Component :is="Component">
</RouterView>


[fix issue 632] textarea rendering issue

All Submissions:

[x] Have you followed the guidelines stated in CONTRIBUTING.md file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Description
In order to controll textarea, we need to synchronize the state.
However, event chain executed asynchronizing.
So, I synchronize state before event chain.
Usage
no need to change py file.
pc.text_area(
    value=State.area_value,
    on_change=State.set_area_value,
)

The js file is changed below.

// before
onChange={(_e) => Event([...chain])}

// after
onChange={(_e)=>{setState(prev =>{
  ... // set state sync
  }),
  () => Event([...chain]) // event after set state
)}}

Close #632.

Now, rendering textare should work.

Thanks everyone above!

@PeterYusuke @picklelo
I tested #632  problem under pynecone-io:main at this moment, found that input and cursor problem are fixed.
But I lost control of the Button 'Clear' with an event chain, could you take further look at the reason?
Thank you.
from pcconfig import config
import pynecone as pc
import time

docs_url = "https://pynecone.io/docs/getting-started/introduction"
filename = f"{config.app_name}/{config.app_name}.py"

class State(pc.State):
    """The app state."""
    area_value: str = "TestState"
    show_progress: bool = False

    def toggle_progress(self):
        self.show_progress = not self.show_progress

    def clear_area(self):
        print(f'>>Calling clear_area().area_value={area_value}')# not triggered
        time.sleep(2)
        self.area_value = ""
        self.set_area_value("")

def index() -> pc.Component:
    return pc.center(
        pc.vstack(
            pc.text_area(value=State.area_value, on_change=State.set_area_value),#,
            # pc.text_area(on_blur=State.set_area_value),#,
            pc.hstack(
                pc.cond(
                    State.show_progress,
                    pc.circular_progress(is_indeterminate=True ),
                    pc.button("Clear", on_click=[
                        State.toggle_progress,
                        State.clear_area,
                        State.toggle_progress
                    ])
                )
            )
        ),
    )

# Add state and page to the app.
app = pc.App(state=State)
app.add_page(index)

app.compile()

Button 'Clear' has not be triggerd/printed, why?
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
event - compiled client and server successfully in 921 ms (761 modules)
wait  - compiling...
event - compiled client and server successfully in 90 ms (761 modules)
wait  - compiling /404 (client and server)...
event - compiled client and server successfully in 59 ms (765 modules)
wait  - compiling / (client and server)...
event - compiled client and server successfully in 506 ms (850 modules)
wait  - compiling...
event - compiled client and server successfully in 122 ms (850 modules)

👀

@forhonourlx
In my local environment, clear_area function is triggered.
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
event - compiled client and server successfully in 2.3s (757 modules)
wait  - compiling / (client and server)...
event - compiled client and server successfully in 413 ms (843 modules)
wait  - compiling...
event - compiled client and server successfully in 181 ms (843 modules)
>>Calling clear_area().area_value=TestState
>>Calling clear_area().area_value=TestState

Didn't you forget add self?
Not
print(f'>>Calling clear_area().area_value={area_value}')# not triggered

but
print(f'>>Calling clear_area().area_value={self.area_value}')# not triggered

Eh, yes. And more, my area_value is never cleared after 2s...
I just tested from pynecone-io:main, anything wrong my config?

@info2wodayile
I need some investigations.
Could you please make new issue of this?

@PeterYusuke Continue with #829, thanks!


Doc links to 404 because of missing / in middle

Try click any Symbol link on docs page
e.g:
rendered on page:
https://jsr.io/@imcotton/pkg-fence/docmain/~/parse 404

should be:
https://jsr.io/@imcotton/pkg-fence/doc/main/~/parse 200
                                      |
                                missing on above

more cases:

https://jsr.io/@std/encoding
https://jsr.io/@std/streams

click any Symbols links from right bottom page, all 404s.

seems fixed by now, closing.


Multipart form mock

Hi Tom,
I'd like to mock a multipart form request using wiremock. I am running wiremock as a standalone process. Where I am getting lost, is trying to make the request generic using JSONCompareMode, however I am not having much of a luck. Is it possible to mock mulitpart form requests?
Here's a sample request
"request" : {
"url" : "/some-end-point",
"method" : "POST",
"bodyPatterns" : [ {
"equalTo" : "--d62b94e3-c5ae-4b22-a0af-3097bb69e635\r\nContent-Disposition: form-data; name="item"; filename="item.json"\r\nContent-Type: application/json\r\nContent-Length: 940\r\nContent-Transfer-Encoding: binary\r\n\r\n{"key1":"value1","key2":"value2"}\r\n--d62b94e3-c5ae-4b22-a0af-3097bb69e635--\r\n"
} ]
}

Please can you re-post this on the mailing list. I prefer to keep issues for actual bugs or feature requests.


"Wipe build" appears to not clean out all build artifacts

In my attempt to sort out #1726, I created a new version of my project on ReadTheDocs, pointing to the same GitHub repo. I configured the project identically via the RTD admin panel.
To my surprise, I found that my test branch now builds differently -- it can successfully install a newer version of pandas than provided by global site-packages. Compare the output on the last steps of these builds:
https://readthedocs.org/projects/xray/builds/3410081/, pandas: 0.13.1
https://readthedocs.org/projects/xray-tmp/builds/3409819/, pandas: 0.17.0 (this is my temporary project)
I have been faithfully wiped my build environment on this branch, and even created entirely new branches on my original project, but still it doesn't work like the new project. My only hypothesis here is that there must be some build artifacts or hidden settings that are shared across versions. Maybe RTD is caching wheel for dependencies across project versions? I'm really stumped here and would appreciate some guidance.
Thanks,
Stephan

I think I'm having this issue as well.  I'm getting errors about hidden_code_block (which used to work, but that's another issue).  I removed all references to hidden_code_block from my repo and wiped many times but I keep getting the errors:
https://readthedocs.org/projects/neo4jrb/builds/3413246/

Any updates here? I love ReadTheDocs, but the inability to document new releases (due to this issue) is starting to cause a significant pain point for our users.

Also reporting in on this issue. Example: https://readthedocs.org/projects/odl/builds/3548135/
Wipe does not clean out all the expected files.
Is there any way to force ReadTheDocs to do as we do locally?
make clean
make html etc


flagd provider for elixir-sdk

Hi -- I have some code that I'd be happy to share that implements the flagd provider (both http and gRPC): https://github.com/bunnylushington/open_feature_provider_flagd
If you're interested I can help package this up in a way that makes sense: either as a standalone hex package or, if you'd rather, simply donate the code to your project.  Let me know if it's of interest.  Thanks!

Hi @bunnylushington 👋 sorry for the late reply. Thank you for creating a provider ❤
I think any of the options work, but probably it would be nicer to have it in the project contrib repository. Maybe @beeme1mr has some insights on that.

Hey @bunnylushington, an Elixir-focused contrib repo would be the ideal place for this. That's how we've handled community contributions for other SDKs. I'd be happy to help create the repo and set up the basic tooling but I'd need some help with the rest of the configuration. Would you (and/or @ejscunha) be interested in helping to set up the repo?
I'll be out for the next few days but I'll do my best to keep an eye on my email 😄


feat(csv-export): export orders as stream for performance reasons

This change introduces a new export option for efficiently
exporting a huge amount of orders into a CSV.
The orders are fetched by pages and not accumulated in memory.
Each processed chunk is then written into the export file.

For backwards compatibility, the previous export functionality is still the same.

$ ./bin/order-export --projectKey foo --csvTemplate data/template-order-simple.csv --exportCSVAsStream --fetchHours 999 --logSilent
{ data: {}, project_key: 'foo' } 'Exporting orders as stream.'
{ data: {}, project_key: 'foo' } 'Writing orders chunk... to /Users/emmenko/dev/src/sphere-order-export/exports/orders.csv'
{ data: {}, project_key: 'foo' } 'Writing orders chunk... to /Users/emmenko/dev/src/sphere-order-export/exports/orders.csv'
{ data: {}, project_key: 'foo' } 'Orders export complete'

/cc @PhilippSpo @mmoelli @hajoeichler

Coverage decreased (-4.5%) to 88.462% when pulling 40cce6be59ea93f8f0fa0d0481ba21834b49de04 on export-csv-as-stream into 28ed30226e250ed6040cfd1e1ab171d7cbd411e2 on master.

Looks good. Also tested it quickly. 👍


Updated index.md to fix typos and translation issues

Updated for typos and E2C translation issues.
Thx.

Job d2l-zh/PR-704/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-704/

Reviewed and the merge looks fine.
Thx.


Error in json output

Hello!  I am using the JSON output to a file feature, but the file has the error "End of file expected" at the end of the first line.  I am guessing this is because the JSON objects are not in one parent array, but I do not want to type out commas after every line.  How can I fix this?

I'm having the same issue.

I'm having this issue too. One way you can work around it is to parse each line (which is valid JSON) and then create your own array and convert back to JSON. I know Ruby, so I used that:
cat tweets.json | ruby -rjson -e "puts ARGF.map { |line| JSON.parse(line) }.to_json"


Update syntax for edit feature in UG

Corrected some minor syntax issue for the edit feature in the UG.

Codecov Report

Merging #312 (d8812b7) into master (b1ecf73) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #312   +/-   ##
=========================================
  Coverage     70.03%   70.03%
  Complexity      593      593
=========================================
  Files            85       85
  Lines          1972     1972
  Branches        227      227
=========================================
  Hits           1381     1381
  Misses          526      526
  Partials         65       65

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


gpu-scheduler-extender run error

部署 gpu-shared-extender时，查看对应的pod的日志：
[  info ] 2019/07/08 11:11:10 main.go:65: Log level was set to DEBUG
[  info ] 2019/07/08 11:11:10 controller.go:63: Creating event broadcaster
[  info ] 2019/07/08 11:11:10 controller.go:116: begin to wait for cache
E0708 11:11:10.926213     121 reflector.go:205] github.com/AliyunContainerService/gpushare-scheduler-extender/vendor/k8s.io/client-go/informers/factory.go:130: Failed to list *v1.Node: Unauthorized
这个错误是因为哪里的证书设置出错了？ kube-apiserver/kubelet/kube-controller-manager/kube-scheduler都设置过并确认是正确的。

Did you configure RBAC of scheduler extender? Please check this: https://github.com/AliyunContainerService/gpushare-scheduler-extender/blob/master/config/gpushare-schd-extender.yaml#L3

Did you configure RBAC of scheduler extender? Please check this: https://github.com/AliyunContainerService/gpushare-scheduler-extender/blob/master/config/gpushare-schd-extender.yaml#L3

Yes，I did. But I still got same error.

Finally I fix the problem.

Finally I fix the problem.
I delivery the kubeconfig file and the related ca files into the pod gpushare-schd-extender.
I suggested the binary gpu-share-extender should give help info for tips. It would be better to figure out how gpushare-schd-extender run.


Instance values of Thing

Some GIST instances are defined as instances of Thing, but not all instances in GIST (e.g. _day, _millisecond, _minute).  Collection has also been declared as a subclass of Thing, but no other top classes of GIST are defined in this way.
Are these in error - it causes processing errors in some downstream software to have 'instances of Thing'.

I am not able to reproduce this in 9.7.0. Can you please send the block of code in which you are seeing this? If these are assertions they should be removed. In some cases we use owl:someValuesFrom restrictions on owl:Thing when the property in question already has a range defined, but those don't seem to be the cases you're talking about.
All that being said, software should not choke on instances that are directly asserted to be instances of owl:Thing, so if you have control over that code it would be something to look into.

Here are the instances:
gist:_USDollar
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_USDollar ;
	.

gist:_ampere
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_ampere ;
	.

gist:_bit
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	skos:definition "A bit (short for binary digit) is the smallest unit of data in a computer. A bit has a single binary value, either 0 or 1."^^xsd:string ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_bit ;
	.

gist:_candela
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_candela ;
	.

gist:_each
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_each ;
	.

gist:_greenwichTimeZone
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:TimeZoneStandard
		;
	.

gist:_kelvin
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:conversionOffset "0e+00"^^xsd:double ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_kelvin ;
	.

gist:_kilogram
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_kilogram ;
	.

gist:_meter
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_meter ;
	.

gist:_mole
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_mole ;
	.

gist:_one_day
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:Duration
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:decimalValue "1e+00"^^xsd:double ;
	gist:hasUoM gist:_day ;
	.

gist:_one_millisecond
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:Duration
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:decimalValue "1e+00"^^xsd:double ;
	gist:hasUoM gist:_millisecond ;
	.

gist:_one_minute
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:Duration
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:decimalValue "1e+00"^^xsd:double ;
	gist:hasUoM gist:_minute ;
	.

gist:_second
	a
		owl:NamedIndividual ,
		owl:Thing ,
		gist:BaseUnit
		;
	rdfs:isDefinedBy <https://ontologies.semanticarts.com/o/gistCore> ;
	gist:convertToBase "1e+00"^^xsd:double ;
	gist:hasBaseUnit gist:_second ;
	.

I built a reproducer then tested it, but when I stepped through the code gen process it now seems to work. Not sure what happened in the first instance, so I'll close this issue. Thanks for your time.


TPMCMD007.002 CREATELOADED Function (Ubuntu 22.04) don't work on VP4650

Device
VP4650
RTE version
Dasharo v1.2.0
Affected component(s) or functionality
No response
Brief summary
TPMCMD007.002 CREATELOADED Function (Ubuntu 22.04) don't work on VP4650
How reproducible
No response
How to reproduce
Run TPMCMD007.002 CREATELOADED Function (Ubuntu 22.04)
Expected behavior
Test PASS
Actual behavior
rm -f primary.ctx obj.key
Return:
WARNING:esys:src/tss2-esys/api/Esys_CreateLoaded.c:368:Esys_CreateLoaded_Finish() Received TPM Error
ERROR:esys:src/tss2-esys/api/Esys_CreateLoaded.c:129:Esys_CreateLoaded() Esys Finish ErrorCode (0x000b0143)
ERROR: Esys_CreateLoaded(0xB0143) - rmt:error(2.0): command code not supported
ERROR: Unable to run tpm2_create

Link to screenshots or logs
dasharo-security_log.zip
Additional context
No response
Solutions you've tried
No response

@krystian-hebel Should this function work on any TPM, or it may be simply not supported?
In other words, can you suggest whether it may be:

firmware
OS
TPM
issue?

TPM2_CreateLoaded is mandatory function according to current TCG PC Client Platform TPM Profile Specification for TPM 2.0 revision 1.05. In fact, it is mandatory since 1.03. 0.43 is the latest publicly available revision that doesn't list this function.
If TPM claims it is compliant with any 1.x revision of specification it is an issue with TPM, but I don't see any compatibility claims for TPM 2.0 update on Infineon's page for this TPM.

@krystian-hebel In OS it says it is this one: https://www.infineon.com/cms/en/product/security-smart-card-solutions/optiga-embedded-security-solutions/optiga-tpm/slb-9665tt2.0/
            X509v3 Subject Alternative Name: critical
                DirName:/<IP_ADDRESS>.1=id:49465800/<IP_ADDRESS>.2=SLB 9665/<IP_ADDRESS>.3=id:053E

They are pin-compatible, so maybe the main difference is which firmware is preloaded?

There are many different TPM documents, TPM 2.0 Rev. 01.16 applies to TPM Library specification. In this revision there indeed is no CreateLoaded, but this revision is from October 30, 2014, it's almost 10 years old. This is roughly the same point in time as PC Client 0.43 from my previous comment. This is older that I thought, then again first revisions of spreadsheet are even older (from https://www.infineon.com/dgdl/Infineon-data-sheet-SLB9665_2.0_Rev1.2-DS-v01_02-EN.pdf):

I still think that we should keep this test and report an error. Not every TPM is perfectly compliant with the latest revision of specification and that's fine, but we should somehow reward those that are.

Same issues on 4670 and 4630.

Same issue on apu6.

also occurs on 2420, https://github.com/Dasharo/dasharo-issues/issues/782

So this test is not on the test env, it is a hardware module problem. It should be moved to dasharo-issues.

@BeataZdunczyk let's verify if it is in dasharo-issues, if not - let's  move it


Fix node descriptor for aqara T1 weather sensor

Codecov Report
Base: 82.79% // Head: 82.77% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (a664094) compared to base (249ec6d).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1873      +/-   ##
==========================================
- Coverage   82.79%   82.77%   -0.02%
==========================================
  Files         242      243       +1
  Lines        7526     7541      +15
==========================================
+ Hits         6231     6242      +11
- Misses       1295     1299       +4

Impacted Files
Coverage Δ

zhaquirks/xiaomi/aqara/sensor_ht_agl02.py
73.33% <73.33%> (ø)

zhaquirks/xiaomi/__init__.py
83.79% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 16 (75.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 82.774%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

zhaquirks/xiaomi/aqara/sensor_ht_agl02.py
11
15
73.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
6242

Relevant Lines:
7541

💛  - Coveralls


Use -m32 on win32 by default; handle CXXFLAGS and LDFLAGS

This is a follow-up to gh-1742 and should fix https://github.com/scipy/scipy/issues/13717.
I don't have a Windows machine to test, so let's wait for confirmation that this actually fixes the SciPy issue first.

I second the s/CFLAGS/CXXFLAGS/' change and the fact we honor LDFLAGSbut I don't understand why-m32` should be sued by default.

but I don't understand why -m32 should be used by default.

Let me ask, is that because you don't think it's always needed for compiling on 32-bit Windows, or because of something else? One thing I failed to notice is that there's no pythran-win64.cfg, which may be a problem here. I had expected this config file to be for 32-bit Windows only.
We want behavior that works out of the box on both 32-bit and 64-bit Windows, and the difference between them right now is that the latter works for SciPy and the former is missing -m32.
Right now config files are loaded with 'pythran-{}.cfg'.format(sys.platform). I'm not sure if it's better to change this, or to make a difference between 32/64-bit Windows some other way.

Sorry my above comment is a bit confused, I meant: 32-bit Python on Windows. CI on this repo has only one Windows job, I'll have a look at whether it's possible to add 32-bit Python. On Appveyor it's PYTHON_ARCH: 32 (or 64, default) that controls this. Unfortunately there are still way to many users that use 32-bit Python.

This should be easy with https://github.com/actions/setup-python, just using architecture: 'x86'. Current there's only one Windows CI job, it uses 64-bit Python 3.7. How about I add 32-bit Python 3.9 to it?

Oh, I understand the issue now. Pythran has only one windows config file, because it loads its config based on the output of sys.platform. I'll have a look at distutils internal to check why it's not adding the -m32 on its own when needed.
And +1 for the extra CI job on 32bit windows, that's probably the first thing to do.

NB: the openmp issue seems unrelated.

Updates needed:

I'll remove the -m32 part from this PR.
I should also add to the docs that one can use PYTHRAN_CXX_FLAGS instead of CXXFLAGS for passing flags to Pythran only (can be useful, e.g. to use -Wunused-function for warning suppression).

I'm also wondering whether it's worth renaming cflags in the code and .cfg files to cxxflags. That'll be a bit disruptive short-term for users maybe, but it seems like the right thing to do. Maybe with a deprecation and transition period?

Can you also edit .github/workflows/parallel.yml and add an LDFLAGS=-fopenmp right under the CXXFLAGS=-fopenmp ? Looks like I behaved asif pythran was already honoring CXXFLAGS ... this is the reason why there's a failing test case here.

Good catch. It then wasn't actually running in parallel before (because CXXFLAGS="-fopenmp" was ignored till now), so hope it works.
Also, the actual test command is:
pytest pythran/tests/test_cases.py -v --numprocesses=1

I'm not sure that --numprocesses=1 does anything, it's not handled in test_cases.py and unittest doesn't know that argument either I think. pytest does, but that's not invoked here.

Indeed, it actually cannot find openmp:
In file included from /tmp/tmpefqkv8i0.cpp:1:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/core.hpp:29:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/types/slice.hpp:5:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/types/NoneType.hpp:8:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/builtins/bool_.hpp:7:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/types/tuple.hpp:13:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/types/ndarray.hpp:4:
In file included from /home/runner/work/pythran/pythran/pythran/pythonic/include/types/ndarray.hpp:12:
/home/runner/work/pythran/pythran/pythran/pythonic/include/utils/broadcast_copy.hpp:7:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 error generated.
WARNING: Compilation error, trying hard to find its origin...
WARNING: Nop, I'm going to flood you with C++ errors!

Nothing in the CI job is trying to install it - should be added to the sudo apt install line I think.

@rgommers probably need to add libgomp1-dev as a dep, indeed

Ubuntu makes it a little more complicated as usual. There's no libgomp1-dev, looks like there's libgomp for GCC (but it depends on GCC 8), and libomp-dev for clang-5.0.
CI for g++5 was already passing though; so there's a spec file included in the gcc-5 package: https://packages.ubuntu.com/bionic/amd64/gcc-5/filelist. So I think I just need to add libomp-dev here.

Okay it's not happy with that:

The following packages have unmet dependencies:
 libomp-dev : Depends: libomp5 (= 5.0.1-1)
E: Unable to correct problems, you have held broken packages.

https://packages.ubuntu.com/bionic/clang-5.0 recommends libomp-dev, but apparently you cannot mix libomp5 with gcc-5 here. Need some conditional install.


[BUG] Remove unised dependencies

Describe the bug
Depencency analyzer identifies some dependencies as unused. e.g.:
Log and Stack trace
 [INFO] --- maven-dependency-plugin:3.8.0:analyze-only (analyze) @ langchain4j-open-ai ---
Warning:  Used undeclared dependencies found:
Warning:     org.opentest4j:opentest4j:jar:1.3.0:test
Warning:     org.slf4j:slf4j-api:jar:2.0.7:compile
Warning:     com.fasterxml.jackson.core:jackson-core:jar:2.16.1:compile
Warning:     org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test
Warning:     com.fasterxml.jackson.core:jackson-databind:jar:2.16.1:compile
Warning:  Unused declared dependencies found:
Warning:     org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.9.10:compile
Warning:     org.projectlombok:lombok:jar:1.18.30:provided
Warning:     org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test
Warning:     org.tinylog:tinylog-impl:jar:2.6.2:test
Warning:     org.tinylog:slf4j-tinylog:jar:2.6.2:test

...
[INFO] --- dependency:3.8.0:analyze (default-cli) @ langchain4j ---
[WARNING] Used undeclared dependencies found:
[WARNING]    com.fasterxml.jackson.core:jackson-core:jar:2.16.1:test
[WARNING]    software.amazon.awssdk:regions:jar:2.21.44:test
[WARNING]    org.junit.jupiter:junit-jupiter-api:jar:5.10.0:test
[WARNING]    com.fasterxml.jackson.core:jackson-databind:jar:2.16.1:test
[WARNING]    com.google.code.gson:gson:jar:2.10.1:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.projectlombok:lombok:jar:1.18.30:provided
[WARNING]    dev.langchain4j:langchain4j-ollama:jar:0.36.0-SNAPSHOT:test
[WARNING]    org.junit.jupiter:junit-jupiter-engine:jar:5.10.0:test
[WARNING]    org.tinylog:tinylog-impl:jar:2.6.2:test
[WARNING]    org.tinylog:slf4j-tinylog:jar:2.6.2:test
[WARNING]    org.testcontainers:testcontainers:jar:1.20.2:test
[WARNING]    org.awaitility:awaitility:jar:4.2.0:test

To Reproduce
mvn dependency:analyze

Expected behavior
No unused (at least compile-scope) dependencies found
Please complete the following information:

LangChain4j version 0.36.0-SNAPSHOT
Java version: 8-23

Additional context

Dependency cleanup is needed to avoid dependency conflicts. Maybe causing or related to #1506

After #1921 is merged, dependencies can be analyzed with the command:
mvn -Dmaven.test.skip=true verify

Then, unused dependencies should be removed and failOnWarning should be enabled in parent pom.xml

@langchain4j , let's reopen it. I just added some reporting, but no unused dependency was removed yet


sprintf "%c" does not check its argument

The whole method that writes characters from sprintf format strings is:
https://github.com/crystal-lang/crystal/blob/fc0617ff701d328cab868b390750d492bb1f0ab6/src/string/formatter.cr#L204-L210
It does not care if arg is a Char at all, and every type implements #to_s(IO), so anything can be passed here:
sprintf "%c", 123             # => "123"
sprintf "%c", "123"           # => "123"
sprintf "%c", Random::DEFAULT # => "#<Random::PCG32:0x7f13d08b9f80>"

The expected behaviour is to write any Char unmodified, write the #chr of any Int, and raise on anything else. Perhaps 1-character Strings could be allowed too. (There is no such thing as #to_char for arbitrary types yet, so we don't need to consider that.)

@HertzDevil I was looking to find a simple issue so I could make a contribution and found this one.  After poking a little I have some questions:

I wasn't clear if a decision was made on the "Perhaps 1-character strings could be allowed" part and if so, if it was really conditional on #7830
My initial implementation gave me this error Error: undefined local variable or method 'unsafe_chr' for BigInt  and apparently it's not okay to use #chr on an arbitrary Int, because BigInt .is_a(Int).  I changed my checking to allow for Int::Primitive instead of Int, but unsure if that meets the intent.  Or alternately - should unsafe_chr be defined for BigInt?


Arabic letter sepreated issue

I use chart-kit in my project and when I write arabic labels the letters become sepreated and not appear correctly.
any help in it ?

Seems to be an issue related to react-native-svg and how it renders text, see here. It only happens to me on Android, on iOS it works fine.
Did you find a solution or workaround?


Added method get_animal() to complete 'function interpolate' example.

Hi Team,
Please review the PR.
This adds the missing method get_animal() to make the example for 'function interpolate" works out of the box.
Apology if you find this unnecessary noise.
Many Thanks.
Best Regards,
Mohammad S Anwar

Thanks again!

I've invited you to this repo. Please feel free to work with it, and thanks a lot :+1:


Fix translation

Thanks for taking a look at this issue! I wasn't aware that Django needs compiled versions of the translation file. Digging further, I found some documentation on how the previous group envisioned the translation process to work: https://ycms.readthedocs.io/en/latest/internationalization.html
I get their point of not pushing binary (and in this case even redundant data) to the repository. Using the provided commands to recompile changed translations if required truly is the “more correct” way. What do you say?
I could also update the docker development container to do this step automatically in case updates translations are detected. This way, translations just work for users of the container, and users who installed YCMS locally have to run the commands after updating the translations.

In case we leave it like it was before, I would definitely add some information in the README that hints the user on how the translation works to avoid confusion in the future.


Bug/add pagination to operations

Closes #92
📝 Summary of Changes
Changes proposed in this pull request:
Add pagination to

ListCertificatesOperation
ListPreReleaseVersionsOperation
ListUsersOperation

🧐🗒 Reviewer Notes
Please point out if there are any operations that need pagination, if there are not included in this PR :)
🔨 How To Test
swift run asc certificates list
swift run asc testflight prereleaseversion list
swift run asc users list

@DechengMa I think the full list of paginated responses is:

List BundleIds
List Devices
List Certificates (done in this PR)
List Profiles
TestFlight

List Apps
List Beta Groups
List Beta Testers
List Builds (done previously?)
List PreRelease Versions (done in this PR)

Users

List Invitations
List Visible Apps
List Users (done in this PR)

@DechengMa please make sure pagination is applied to all the places it makes sense before closing #92


⚠ Bofrost.at has degraded performance

In 90ce891, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1006 ms

Resolved: Bofrost.at performance has improved in c4ec032 after 9 minutes.


Weird behavior while dragging zoomed image in preview

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to any chat and upload 2 large images
Tap one image to show preview
Double tap image to zoom in
Slide left (or right) to view next image

Expected result:
Previewing other attachments should not be possible in zoomed state
Actual result:
Image moves along with sliding to next attachment
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:  1.3.2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/233416756-d70336c6-1c9c-4a8e-9b05-5f99a8624320.mp4
https://user-images.githubusercontent.com/43996225/233417031-4ad12307-3ba2-44cb-9845-cb9d875e8cfc.MP4
Expensify/Expensify Issue URL:
Issue reported by: @0xmiroslav
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681890084225809
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010fcefc4fc29f76b6
Upwork Job ID:<PHONE_NUMBER>754996224
Last Price Increase: 2023-04-21

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Job added to Upwork: https://www.upwork.com/jobs/~010fcefc4fc29f76b6

Triggered auto assignment to Contributor Plus for review of internal employee PR - @aimane-chnaif (Internal)

Assign this one to me.

@puneetlath, @terrysahaidak, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@terrysahaidak is actively working on it. We chatted in Slack a bit about it today.

https://github.com/Expensify/App/pull/17647 was just merged today.
Please work based on latest codebase.
I think the solution would be to prevent swiping to prev/next attachments while image is zoomed.
This is already done in PDF zoom case.

we can actually preserve the swiping even if the image is zoomed thanks to Gesture Handler v2 and Reanimated.
https://user-images.githubusercontent.com/7809008/234109980-bf442ce5-c7b1-4909-a51d-00e516ab0f90.mp4

@0xmiroslav yeah i got it working on android, but I can't get the continuous swipe gesture to be working, like on iOS. It stops near the edge. Well, Android as always.

@terrysahaidak how is this one going?

@puneetlath, I've been stuck with some other tickets the last few days + public holiday here, but have some progress and will post it here tomorrow, thanks for reminding :)

@puneetlath @terrysahaidak @aimane-chnaif this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Yes, been working on it today and continue tomorrow to get the best solution.

So I added a PR following @0xmiroslav approach for now, this makes it an easy workaround for now. I'm working on a proper solution. I wish Android and iOS would always work the same when we're dealing with gestures. On iOS gesture-handler uses native gesture recognizing system, but on Android it's pretty much own and it makes everything really complicated. The easiest way to solve all the problems is to have pager and image zoom implemented with gesture handler and reanimated, but then we loose all the native pager animations, it's really hard to recreate them perfectly for both iOS and Android.

PR review ongoing.

PR is almost ready to merge.

@terrysahaidak how do you want to handle further improvements. Will you open a separate issue?

@0xmiroslav sent you a contract for reporting here: https://www.upwork.com/nx/wm/workroom/33854304/overview
@aimane-chnaif sent you a contract for C+ here: https://www.upwork.com/nx/wm/offer/24940750
@anmurali assigning you for payment since I'll be OOO next week. Thanks!

@aimane-chnaif - can you finish the BZ checklist and let me know if we need to add regression steps?

I paid @aimane-chnaif and @0xmiroslav
https://github.com/Expensify/Expensify/issues/293225

Thanks everyone!
Going to go ahead and close this out since the regression test was added in the issue @aimane-chnaif linked.


Set up empty @opencensus/web-instrumentation-zone package.

This only adds a new package to manages zones, this in order to start new feature to trace user interactions after initial pages loads.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   96.45%   96.45%
=======================================
  Files          26       26
  Lines         621      621
  Branches       76       76
=======================================
  Hits          599      599
  Misses         22       22

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 ab513e3...d1ab531. Read the comment docs.


Get UiaOperationAbstraction TryCatch working inside loops

Since we use exceptions for breaking/continuing in loops in the local case, we need to make sure TryCatch catches and rethrows those exceptions.

List of exceptions we should rethrow:

UiaOperationAbstraction::ReturnSuccessException
UiaOperationAbstraction::LoopBreakException
UiaOperationAbstraction::LoopContinueException


[Android] Support Java 20

Currently, Flutter tooling runs under the assumption that Java 19 is the highest version that Flutter supports (see oneMajorVersionHigherJavaVersion definition in gradle_utils.dart). However, we are fairly certain that Flutter projects can build/run with Java 20 from personal development experience. Thus, we should take the necessary steps to change this assumption to Java 20 (at least) being the highest version that Flutter supports.
See https://github.com/flutter/flutter/pull/131444/files#r1297754683 for context.

We have used Gradle 8.6 with Java 21 and AGP 8.3 and flutter 3.16.x for 3 weeks and everything seems to work.


change some fields from optional to required in CRD YAML

Ⅰ. Describe what this PR does
Now some fields in Fluid's data types are marked as required, but in the generated CRD, these field is still optional (e.g. the mountPoint field). This is because kubebuilder will not make these fields required as these fields is marked with omitempty.
This PR removes these required field's omitempty and make them required in CRD.
Ⅱ. Does this pull request fix one issue?

fixes #3683
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@zhang-x-z please fix lint check by running make gen-openapi.

please fix lint check by running make gen-openapi.
@cheyang Done. All checks passed.

please fix lint check by running make gen-openapi.

@cheyang Done. All checks passed.

I think mounts should be omitempty.

/test fluid-e2e


Update existing registry detecion rules of existing package

Hello,
any chance that we see a way to update existing detection rules?
I would auto update an existing intune app of a certain app but the dection rule would be diffrent any time.
Would love to see a way, were i can alter it wia powershell. It seems now i am only able to add new ones or a complete new package.

+1 for this request!

Created a pull request for this: https://github.com/MSEndpointMgr/IntuneWin32App/pull/133#issue-2053903188
/Jasper


Issues with setting elasticsearch.host after 2.1.1.x

I've upgraded to elastic 2.1.1 and jdbc <IP_ADDRESS>. I had to change my config from
"elasticsearch.cluster": "'${ELASTIC_CLUSTER}'",
to
"cluster.name": "'${ELASTIC_CLUSTER}'",
to make it use the correct cluster.
But I am not able to set the elasticsearch.host. Regardless of what I insert into the "jdbc" JSON I cannot get it to pick it up, it just uses localhost.

Doh. I think I made a mess, please wait for after christmas to let me clean it up. Thanks.

Just released <IP_ADDRESS> with fix for client connection configuration. Sorry for the noise.

Brilliant. Will test out the changes.

Tested. Works well for me now without editing configuration. Good work!


[WIP] Enable compile with target frame work .Net 3.5 Unity Subset

I changed target frame work .Net 3.5 Unity Subset for using this liblary in Unity3D.

sorry.
Close This PR.

Hi,
How do i make this library compile with Unity 3D? I just imported complete project but its not compiling. I know the issue is .NET version. Is there a branch for Mono which works with Unity


Rework rust bindings

Mostly the same as https://github.com/Picovoice/rhino/pull/303
For questions, feel freek to ask!

Thanks again for submitting these :)


[REGRESSION]: Release Process Maven Central And Readme

Looks like 1.30 was not pushed to maven central and the Readme.md gradle and maven examples are no longer being updated with the latest version.

Looks like a duplicate of https://github.com/microsoft/playwright-java/issues/1192 I assume the readme was rolled back to get less bug reports


Clarify final name of data processing code

Probably should match the titel of the paper.

Likewise, the readme will need to be updated. As of now, it refers to "Analisys", rather than "data_processing"


Suggestion - Obtaining property type with dot notation on index type

Search Terms
dot notation, index type
Suggestion
Enable accessing object property type in the type domain, when possible
type Obj = {
    x: number;
    y: number;
}

type X = Obj['x'];
// This would be an error, but it's a much more concise/intuitive syntax
type X2 = Obj.x;

Note this is not the same as #12596, which is a breaking change.
I'm only suggesting allowing Obj.propertyName to be a type,
or as an alias of Obj['propertyName'].
propertyName must have been known to the compiler, as in the old index type.
One possible drawback is it might cause confusion with accessing objects,
but not that much since when reading TS code, people tend to first look
at which part is the typing and which part is the runtime.
Use Cases
This applies to all cases where index type is used without mapped types.
It would improve the readability and reduce a lot of syntax noise.
Examples
Shamelessly copied the code from #17588, and image how this code will look better
with the new syntax :)
CODE
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

This would still be a breaking change, in that this notation conflicts with types inside namespaces or modules:
declare interface Foo {
    bar: number;
}
declare namespace Foo {
    type bar = string;
}
type FooBar = Foo['bar']; // number
type FUBAR = Foo.bar; // string

That's good call. Makes sense.
I was 70% sure there was a reason for not doing this, just failed to find it out via searching. If sharing namespace and local interface/types are a common practice, then we should probably close this.
On the other hand, looks to me that defining a type name starting a lower-case letter is a bad practice already. So maybe practically they shouldn't conflict :)

I agree with @shivawu there is no need to tolerate such bad practices. Yes, it does is a breaking change, but it doesn't imply that we must drop this proposal. I think that this syntax is more intuitive and concise than indexing with a string literal. When I started with TypeScript I always wanted to extract a property type from some interface with a "dotname" notation and always disappointed when this didn't work.

Multiple meanings of the same name are actually pretty common when you import a module, e.g.
import k from './k';

const t1: k.g = ...; // g means what?

The real stickler here is a multiply-dotted name, e.g. k.a.b.c.d.e could refer to up to 16 different entities. Name resolution really needs to be unambiguous.

Thanks for explaining! On a side note I would guess the issue was name resolution happens before type checking, so probably at the time of resolution, we don't have the info of "what is this name's, a type, or a module, or something else". Not sure if that's right though :)


Incorrect javascript directory name

Rails uses the pluralized "javascripts" for JS assets.

:+1:

Thanks for your PR @Fustrate, this was fixed in 9d21ca2fc


initDeps(project) is not accessible.

Describe the bug
I am doing copy and paste for my Android Project with jetpack compose to make it build even in desktop and web.
But, initDeps(project) is not accessible.
I correctly copied the buildSrc file. And there's a Deps.kt file. And android-setup.gradle.kts calls initDeps(project).
And I get, Unresolved reference: initDeps error.
When I click inintDeps, it goes right to the Deps.kt file. I don't know what's wrong here.
Affected platforms
Select one of the platforms below:

Android
Desktop

Versions

Kotlin version*: the same with project version
Compose Multiplatform version*: the same with project version
OS version(s)* (required for Desktop and iOS issues): any
OS architecture (x86 or arm64):  arm64

To Reproduce
...
Expected behavior
Buildable.
Screenshots
...
Additional context
...

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Converted specs to RSpec3 syntax with the help of transpec.

I removed all the pinning on mixlib-config, chef, rspec, etc.

I'm :+1: on this pending clean tests after 94ae8ed.  Per Matt, we should wait for @ryancragun to give this a :+1: too before merging.  Thanks for doing this, @juliandunn!

:ship:


user/organisation mentions

twitter like mentions of users / organisations (@sos-kd, @msf, @hans) in comments and issue descriptions

This has been working for some time now.
There are bound to be lots of bugs, but those are for separate issues.


kvclient(ticdc): fix the workerpool data race

What problem does this PR solve?

Issue Number: ref #10095
What is changed and how it works?

use mutext to protect the worker pool

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
fix the kv client worker pool initialization meet data race

/retest


Valid TypeScript generates build error

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Windows 10
Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.24
node: 7.2.0
os: win32 x64
Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Yes. App was created using CLI.
I like to export all items at the end of my file rather than inline.  So, I am seeing an error when I have valid code written as:
...
class SomeComponent {
  ...
}

export { SomeComponent }

However, if I change the placement of the export, the error goes away:
...
export class SomeComponent {
  ...
}

This shouldn't generate an error considering it is valid TS.
The log given by the failure.

Normally this include a stack trace and some more information.

The error is similar to:
ERROR in Error encountered resolving symbol values statically. Reference to a non-exported class SomeComponent. Consider exporting the class (position 6:1 in the original .ts file), resolving symbol SomeComponent in C:/path/src/app/some/some.component.ts
Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Could you try to change your tsconfig.json to add "files": ["main"] at the end, then run node_modules/.bin/ngc? If it results in the same error (which I think it will), please file an issue against angular itself with that information; it's a problem with the code generator inside Angular offline compiler, and not the CLI itself.
Cheers.


ContainerInstance deregistration

Features

Implemented deregister_container_instance - tests added for behaviour around exception raising etc.

Changes

Changed ContainerInstance object attributes to use snake case for consistency
Added myself to the authors list

Coverage decreased (-0.07%) to 93.466% when pulling f3aff0f356196f29c3b7598499bf452fcd05e650 on gjtempleton:TaskDraining into 30b1de507cb08794edade449505fbddd0a8a043b on spulec:master.

Coverage decreased (-0.2%) to 93.342% when pulling 69b86b2c7a25b225fc9da2f76f6dbb9f5adfee23 on gjtempleton:TaskDraining into 30b1de507cb08794edade449505fbddd0a8a043b on spulec:master.

Hey, this looks great.
It seems to be breaking on Python 3. If you can get that fixed, I'll be happy to merge.

Coverage increased (+0.2%) to 93.724% when pulling 3cbeb551604aba658eb4993bce81dee97b7dc138 on gjtempleton:TaskDraining into 30b1de507cb08794edade449505fbddd0a8a043b on spulec:master.

Serves me right for testing locally using 3.5 rather than 3.6. All good now.

Coverage increased (+0.005%) to 93.724% when pulling 47bc23f4810051a7b6670f276ed5229fd00baa6a on gjtempleton:TaskDraining into 34c711189f4961eeee6a5de32e8106ec0bdb48bf on spulec:master.

Looks great, thank you!


Pending tests due to pluto bugs

Fixed tests in V2AddlRequestTests module to work in testsuite.

Found 2 more pending test cases that are not working due to pluto bug -
V2AddlRequestTests_SPEC2_11_Resource_publicRenderParameters16
V2AddlRequestTests_SPEC2_11_Resource_publicRenderParameters7
Issue in pluto JIRA already exists - https://issues.apache.org/jira/browse/PLUTO-646


Revert "openobserve: 0.7.2 -> 0.8.1"

Description of changes
Openobserve was just added in https://github.com/NixOS/nixpkgs/pull/289522 and broke the by-name check.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

You reverted a security fix because of a naming scheme. Well done. I'll let other people sort this out.

Sorry for that! Reapplying and moving out of pkgs/by-name works here, I opened https://github.com/NixOS/nixpkgs/pull/289751 to do that.


Fix support link in ExoPlayerImpl#verifyApplicationThread()

ExoPlayerImpl#verifyApplicationThread() throws an IllegalStateException and log a message if the player is accessed from the wrong thread. The message contains a link to the documentation to help developers understand the issue. However, the link is no longer valid. This PR updates it to point to the right location.

Sorry for the disruption. The link was accidentally broken on 2024-01-05 (internal cl/596016107) and fixed again on 2024-01-18 (internal cl/599521447) when we noticed the problem. So the existing/old message can remain I think, and I'm going to close this PR - but thanks for taking the time to fix it!


Add Inline Tables to Default Export Template

We should create different csv outputs for inline tables. The same way that we're doing this for related tables.

The changes for this are merged with master.
commit: https://github.com/informatics-isi-edu/ermrestjs/commit/0ff610a179a66e6b0a428693b3efa75f989f7793

Hi @RFSH , I have verified the changes in dev and its looks good.


Clean up test from #1915

Cleaning up test from #1915:

Only put things that are useful for > 80% of tests in /__tests__/setup/web/index.html

This one does not hit the bar because turning the focus yellow is only meaningful for one of the many test cases
Try very best not to touch the DOM when doing setup

Put the test in its own file

basic.js is for really basic stuff, like, if Web Chat can be loaded or not (i.e. setup test)
basic.js acts as the first gate to check if everything is broken
More clean up over basic.js need to be done later

Added createStyleSet option to main()

This will allow other tests modify style set, in addition to style options
If tests prefer, they can pass styleSet instead of the new createStyleSet function
styleSet is designed to be serializable with flat hierarchy
We use createStyleSet here because we want the new style set to based on Web Chat's default, i.e. need to call window.WebChat.createStyleSet(styleOptions), then customize the result
We can't use spread/rest because the way the file is compiled, Object.assign is used instead

Test name should help debug future regressions

Our tests are based on stories, i.e. what user expect to work
Using story summary as test name is a good start for finding a good name

Coverage remained the same at 57.502% when pulling 832d9e5d859090c5030e258477ea271289d72a36 on compulim:update-sendbox-focus-test into 8c8e2cccc572b11f3585682205dde0166d87e4d7 on Microsoft:master.


R2D2 request can't handle list of DIDs with a mix of containers and datasets

Hi
A user noticed the following problem when submitting transfer request via R2D2:
"I used https://rucio-ui.cern.ch/r2d2/request with "List of DIDs" to submit a transfer to CERN-PROD_PERF-IDTRACKING. I included a bunch of containers and one dataset. I submitted this for approval (see email below). The R2D2 web page gave no clear indication of a problem, except I noticed an error message that flashed up after I pressed submit. But it was quickly replaced with something like "submitted OK". Once the request had been approved, it seems to have disappeared.
I therfore resubmitted as two requests, one for the containers and one for the dataset, and it all worked fine. This was annoying, as each request needs to be manually approved, which understandably can take some time.
If R2D2 really can't handle datasets and containers together, then it should give an error when selecting DIDs, not a brief flash and then nothing when submitting."
Thanks
Alastair
Migrated from JIRA RUCIO-2507

Dear bari12,
Hi!
My group seems to face the same problem, that the application disappeared, when we uploaded the application.  But when we use "rucio list-files" commend in lxplus, there is no problem in the container, and there seems no different from the success one. Could you give us some advice?
Thanks a lot!


CID 1518613: Traffic Dump: fix a use after free of a mutex

Coverity found that Traffic Dump had code that locked a mutex via std::lock_guard, freed the owner of the mutex (and thus the mutex), and then, when the std::lock_guard went out of scope, unlocked the free'd mutex. This use after free is addressed in this patch by extending the lifetime of the SessionData object owning the mutex until after the lock is released.
Fixes: #10331

For Reviewers
This patch is easier to read if configured to ignore white space.

@bneradt This gets merge conflicts because this plugin has moved on master. If you want this on 9.2.x, please make another branch PR.


Not work in container view

i have implemented your library, but it just only work on UIViewController, not work in container view.

Hello, can you give an example code?

By design this is supposed to show at the top ViewController and not inside any UIViews. Even if you have container view, it should show in the ViewController that is on top of that. Is that what you expected?

I'm closing this, I think the problem is solved


rename Hyperledger Besu to just Besu

Where is the issue?
eg https://docs.teku.consensys.io/get-started/connect/mainnet
Issue type

[ ] Missing content
[X] Outdated content
[ ] Inaccurate content

Description
find and replace "Hyperledger Besu" to "Besu"
What should be in the docs?
No response

Can I work on this?

go for it @DrParadox05


IE 10-11 error CustomEvent (V4)

Please added https://gist.github.com/gt3/787767e8cbf0451716a189cdcb2a0d08#file-customevent-polyfill-js for support  IE 10,11

You're covered already. Check this out!