excalidraw.app is unavailable, Google App not working

Applications in Google Cloud are not opening due to the unavailability of excalidraw.app.

https://workspace.google.com/marketplace/app/excalidraw/1017678967926
Yes. I thought this was official integration.

We aren't actively maintaining it and probably will be sunsetting it soon so we would suggest you to migrate your drawings to https://excalidraw.com/ or https://plus.excalidraw.com/
In the meantime, @dwelle can you look into this?

This advice seems useless to me, how can I transfer the drawings if I don't have access to them.
Last week I drew a flowchart, now it's inaccessible.

This advice seems useless to me, how can I transfer the drawings if I don't have access to them.
Last week I drew a flowchart, now it's inaccessible.

You can download those .excalidraw files in local and directly open them in  https://excalidraw.com/ or https://plus.excalidraw.com/ and it should work.

Understood. Thank you, have a good day. 🥰

You can download those .excalidraw files in local and directly open them in https://excalidraw.com/ or https://plus.excalidraw.com/ and it should work.

I downloaded the file, but unfortunately https://excalidraw.com/ does not open it, saying that the file format is incorrect. I found another document — it also does not open. It seems my flowchart is lost.

You can download those .excalidraw files in local and directly open them in https://excalidraw.com/ or https://plus.excalidraw.com/ and it should work.

I downloaded the file, but unfortunately https://excalidraw.com/ does not open it, saying that the file format is incorrect. I found another document — it also does not open. It seems my flowchart is lost.

can you share the file (if its not confidential)?

im facing the same issue as well. exported .excalidraw file cant be opened by excalidraw.com

Hello! Here you have a corrupt file, can you have a look at it please? Thank you! BackOffice BaaS.zip

@oscarsubirats thanks for sharing the file, I have fixed it and you can check it here, you just need to add the type: excalidraw in the json and it should work.
Let me know if the data retrived is correct.
@alcedo @evil-pechenka can you also make sure if type: excalidraw is present in the file ?

@alcedo @evil-pechenka can you also make sure if type: excalidraw is present in the file ?

Greetings! I am not a programmer (surprisingly, non-programmers do exist), I have never worked with JSON files in my life, and I cannot insert anything into them. In order for me to insert something, I need step-by-step instructions: what to open it with, and where to insert it.
Thanks to the Almighty, ChatGPT appeared — I simply gave it the file, and it presented it in the form of readable lists. I copied them into another application. Therefore, I do not need help.
Yes, it is very unfortunate that you are discontinuing the application without warning, but we managed!
Praise ChatGPT! (Soon, it will replace programmers.)

@evil-pechenka yes it works! thanks. i added it to the top of the file just before the elements array.

Hello, how can I set my google drive account as the storage provider in https://app.excalidraw.com  ?


mobile: change submit interpretation and leave comment buttons to be the same (prefer full width)

Done!


GtOsSystemInfo>>#findExecutable: fails for csh/tcsh

GtOsSystemInfo>>#findExecutable: fails when the user's SHELL is csh/tcsh because the -l option can only be used on its own

It seems csh/tcsh has the -d option which comes close to -l


Exclude line segments that fall outside the tile bounds

Our previous tile edge removal logic only removed line segments that were on (or nearly on, within a tolerance) the tile bounds. This works for unbuffered tiles like Mapzen's, which are clipped to tile boundaries, but does not render properly for buffered tiles, such as Mapbox's.
This approach simply throws out line segments that lie outside the tile bounds (retaining the tolerance). Along with https://github.com/tangrams/tangram/pull/241, ensures proper support for Mapbox-served MVT tiles.
Before/after examples, where the "double lines" visible with the previous logic are lines at the edge of the tile buffer area (so one buffer for each adjacent tile, two lines total), which were not removed, but now are no longer rendered:

Note: investigating some small grey building polygons that are unexpectedly popping in/out in those screens. I believe that these are from an older build, pre-https://github.com/tangrams/tangram/pull/241, and thus were not drawn properly due to winding order issues, rather than code in this PR. Will confirm.

Confirmed building polygon artifacts are not from this PR. Example area from above, with correct building rendering, before the current PR:

@blair1618 I think this is working and is actually simpler than before? I have yet to find any issues with Mapzen tiles, though I admit I've only really be able to spot-check several different areas (automated visual testing soon FTW).


CR300 enters locked state when no program is running

When no program is set to run on startup, the CR300 board is supposed to enter a listening state that still allows programming. This seems to require a power cycle to break the startup loop, and to switch on the housing does not remove battery power to the logger board? This means that to force a listening state you have to disassemble the unit. I believe this can be fixed with a small wiring re-design?

Need to document process. For now just get back into a running state and try to avoid forcing this outcome. Makes the multi-file compilation a bit harder.


Add email to GoogleUser

Is it ok to retrieve email directly from idToken on client device?
As pointed out in this issue email is sometimes omitted from idToken but it seems it is mandatory field in GoogleIdTokenCredential so we can get it from there

I updated points from the review... Just please test it if you can before merging, I can't test sample app, most probably because my keystore fingerprint is not matching the one in GPC

Thank you @doolle89 for changes. After testing I'll merge it

Thanks again @doolle89 for this, just tested, and published new release. This will be available in 2.3.0-beta01 version


Added MST problems from LightOJ

Thanks for your contribution Sumnoon...
But before merging this branch, I would like to request you for a few more edits:

Can u please add some details like problem link, contest link and author name at start of the solution file like following:

// problem name: Lose it!
// problem link: https://codeforces.com/problemset/problem/1176/C
// contest link: https://codeforces.com/contest/1176
// author: reyad
// time: (?)

#include <iostream>
...
...

Please name the solution file with a capital 'S' like "Solution.cpp", its a convention we're following.
Please contribute from a different branch, not from "dev". For details read this file.
Try to do One Contribution at a time. It's make it easier to review the codes.

I am closing this pull request and expect another pull request on these contributions from you soon enough...


Update dbt_cloud_environment_variable.md

Add a note to title-case environment names. If we don't title-casing the environment names, it can throw a 500 error when we run terraform apply. For eg: if we are setting the environment variables for the Production env, the environment name should also be Production.
Related - https://github.com/GtheSheep/terraform-provider-dbt-cloud/issues/108#issue-1586440179

Hey @subrasub - thanks for this! But these descriptions are set in the resource object, the markdown is then generated from them using make doc, could you update? thanks!

Also, reading your comment, I'm not sure this is clear? Are you just saying the environment names are case sensitive and need to exactly match how the environment is configured?
i.e. Environment name Production can't have env vars under production?

Just tested this out and it works for non title-cased envs too, i.e. staging


Added skeleton of Query layer.

TODO:

[ ] Lock more deps. This is extremely difficult, because I am using prometheus/prometheus here which somehow imports everything (hashicorp, juju, azure, aws, k8s/client-go .. etc). The problem is (apart of vendor being huge), that  dep ensure finds package versions that does not match  and I cannot build promlts, because e.g:

vendor/k8s.io/client-go/tools/clientcmd/api/register.go:35:11: cannot use Config literal (type *Config) as type runtime.Object in argument to scheme.AddKnownTypes:
	*Config does not implement runtime.Object (missing DeepCopyObject method)

Will give another try tomorrow morning
Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

Main exploding subpackages of Prometheus are:
github.com/prometheus/prometheus/discovery (imported by github.com/prometheus/prometheus/retrieval we are directly importing)
Also a little bit: (e.g unnecessary aws package)
github.com/prometheus/prometheus/config (`direct import)

OK, I am assuming there is no way of avoiding this without reimplementing "github.com/prometheus/prometheus/web/api/v1"... so I am going to try to find versions that does not collide.

One deps mismatch fixed: https://github.com/kubernetes/client-go/issues/312

Yes, it gets kind of messy. Decoupling the integrations from the retrieval package is kind of a long-standing issues. I believe someone has actually filed an upstream PR finally but I haven't gotten around to reviewing it yet.
FWIW, the query API alone is pretty trivial. Would it be that bad to just reimplement it inline in this repo and copy a few code fragments here and there?
We would basically never have to touch it again?

👍


Jquery Version?

whether there is a jquery version or not angular?, i have not learn angular, help me please

I can probably make a jQuery plugin for it. I'll look into it and let you know.

@cyberzilla sorry it took so long but I finally made a jQuery plugin version of the scrolling-tabs directive, if you're still interested.

Thanks.....a lot master :+1:


Integrate "Extra Savings" into main calculations

Within the standard iteration framework, add the capability to process a "Extra Savings" object into the mix, and still calculate the output.

Added this along with Extra Spending


Remix server segfault when starting Indiana Jones and the Emperor's Tomb

Remix Bridge Server encounters an access violation when Indiana Jones and the Emperor's Tomb reaches the main menu. This happens after the initial loading screen. This is on the 0.1.1 release, that is, remix version remix-0.1.1-2-gdc825b6 and DXVK remix version v1.9.3. I'm using the latest steam version of the game (Steam Build ID 1535441), with the steam overlay disabled.
Edit: I'm also using d3d8to9 v1.11.1
Note that the game does not natively support windowed mode, so I'm using DxWnd to force it into windowed mode.
After the server crashes, I am left with a black window, so the client is not exiting. After I close that window some extra lines appear in d3d9.log. This corresponds to timestamp 15:15:50.613 in the log.
GPU: RTX 3090
Driver version: 531.41.
Log files:
indy_d3d9.log
d3d9.log
NvRemixBridge.log
Crash dump:
NvRemixBridge.exe_20230414_151536.zip
DxWnd configuration file:
Indiana Jones and the Emperor's Tomb.zip

Now that the source for the server is available, I can see that the crash is at this line.
It appears that this is the handler for IDirect3DVolumeTexture9::GetVolumeLevel, and the crash is due to the volume texture in question not being present in the gpD3DResources map, which suggests that it was not created, though notably gpD3DResources is empty.
If I find the time I'll look into debugging this properly as I have only used the minidump and symbol files, and have not set up a debug environment yet.

Hello! Will you please test this on the latest release and let us know if the issue persists? Thank you!


Update README.md file with Teams gateway IdC support

Issue #, if available:
Description of changes:
Update README.md file to remove stale content - Teams gateway IdC integration is not supported.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Updating the readme file.


Error loop with system freeze when removing a node from a cluster

Error loop with system freeze when removing a node from a cluster
Description
       for db in databases:  # for all databases
            headers, shards = await session._server._get(f"/_node/_local/_dbs/{db}")
            # old = json.dumps(shards)

            shards["changelog"].append(["remove", "00000000-ffffffff", nodename])

            del shards["by_node"][nodename]  # remove node from the map

            for shards_range in shards["by_range"].values():  # remove the node from all ranges
                if nodename in shards_range:
                    shards_range.remove(nodename)

            # put the new shard distribution to the cluster
            await session._server._put(f"/_node/_local/_dbs/{db}", shards)

        # leave the cluster
        headers, data = await session._server._get(f"/_node/_local/_nodes/{nodename}")
        rev = data["_rev"]

        await session._server._delete(f"/_node/_local/_nodes/{nodename}?rev={rev}")

After executing this code to remove shards from a couchDB instance, the instance memory and CPU usage increased by a lot (300% CPU, 50%/ 8GB of RAM) and it spammed the log with the following error roughly every 100 microseconds:
[error] 2024-08-21T19:02:06.679732Z<EMAIL_ADDRESS>emulator -------- Error in process <0.30198.42> on node<EMAIL_ADDRESS>with exit value:
{{badmatch,[]},[{mem3_sync,find_next_node,0,[{file,"src/mem3_sync.erl"},{line,309}]},{mem3_sync,sync_nodes_and_dbs,0,[{file,"src/mem3_sync.erl"},{line,265}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,272}]}]}

[error] 2024-08-21T19:02:06.679803Z<EMAIL_ADDRESS>emulator -------- Error in process <0.30198.42> on node<EMAIL_ADDRESS>with exit value:
{{badmatch,[]},[{mem3_sync,find_next_node,0,[{file,"src/mem3_sync.erl"},{line,309}]},{mem3_sync,sync_nodes_and_dbs,0,[{file,"src/mem3_sync.erl"},{line,265}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,272}]}]}

[error] 2024-08-21T19:02:06.679880Z<EMAIL_ADDRESS>emulator -------- Error in process <0.30200.42> on node<EMAIL_ADDRESS>with exit value:
{{badmatch,[]},[{mem3_sync,find_next_node,0,[{file,"src/mem3_sync.erl"},{line,309}]},{mem3_sync,sync_nodes_and_dbs,0,[{file,"src/mem3_sync.erl"},{line,265}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,272}]}]}

[error] 2024-08-21T19:02:06.679964Z<EMAIL_ADDRESS>emulator -------- Error in process <0.30200.42> on node<EMAIL_ADDRESS>with exit value:
{{badmatch,[]},[{mem3_sync,find_next_node,0,[{file,"src/mem3_sync.erl"},{line,309}]},{mem3_sync,sync_nodes_and_dbs,0,[{file,"src/mem3_sync.erl"},{line,265}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,272}]}]}

[error] 2024-08-21T19:02:06.680089Z<EMAIL_ADDRESS>emulator -------- Error in process <0.30202.42> on node<EMAIL_ADDRESS>with exit value:
{{badmatch,[]},[{mem3_sync,find_next_node,0,[{file,"src/mem3_sync.erl"},{line,309}]},{mem3_sync,sync_nodes_and_dbs,0,[{file,"src/mem3_sync.erl"},{line,265}]},{mem3_sync,initial_sync,1,[{file,"src/mem3_sync.erl"},{line,272}]}]}

There was only one other node in the cluster. The new shard distribution was also never synced to the other node.
Steps to Reproduce
Reproducing the error was not possible!
Expected Behaviour
The couchdb instance goes quietly into the night (i.e. nothing happens, it is just no longer synced.)
Your Environment
We had 2 CouchDB docker containers running on different hosts.

CouchDB version used: 3.3.3
Browser name and version: NA
Operating system and version: docker on arch linux

Thanks  for your report @Sekuraz.
To be clear if there was only one node on a cluster and that node is removed now there are no nodes, that's when the badmatch error happens?

We had 2 nodes in a cluster and I removed one. The error happened when one of those two nodes was removed. The other node never got the shard update (the shard update was done on the node which was about to be removed).

Thanks for clarifying, @Sekuraz

@Sekuraz this commit #5193 should fix it. Thank you again for your report.


OSC2ScenarioConfiguration' object has no attribute 'route'

When I run the python scenario_runner.py --openscenario2 srunner/examples/xxx.osc command, no matter which file I run, I will report an error：OSC2ScenarioConfiguration' object has no attribute 'route' 'OSC2ScenarioConfiguration' object has no attribute 'route' No more scenarios .... Exiting
Desktop (please complete the following information):

OS: [e.g. Ubuntu 20.04]
CARLA Version [e.g. CARLA 0.9.15]
Python version [e.g. 3.7]
Version [e.g. 0.9.15]

Hey @zwhaa please check if you have this line in your code, as it is the one that fixes the issue. It was part of the 0.9.15 release though, so not sure why you wouldn't have it.
Feel free to reopen the issue if it is still happening

Hey @glopezdiest This line of code is included in the code. I tried to add the following content to the osc2scenariounconfiguration. py file according to the error prompt, and it ran without any problems.


getting nan error while writing to ES 5.x

prometheus version is 2.2.1
getting the below error:
2018-06-20T16:31:54.503Z        DEBUG   elasticsearch/adapter.go:191    invalid value NaN, skipping sample value:nan timestamp:1529512312015
2018-06-20T16:31:54.503Z        DEBUG   elasticsearch/adapter.go:191    invalid value NaN, skipping sample value:nan timestamp:1529512312015
2018-06-20T16:31:54.503Z        DEBUG   elasticsearch/adapter.go:191    invalid value NaN, skipping sample value:nan timestamp:1529512312015

Should the iSNaN check be removed from here:
https://github.com/pwillie/prometheus-es-adapter/blob/master/lib/elasticsearch/adapter.go#L198
?

Have decided to drop support for ES5 in the latest version as have moved to the ES6 client.  Please let me know if you require ES5 support and I may put some extra work into supporting both going forward.

Closing due to inactivity.


wifiwizard2 2.1.0 getting error

PLUGIN version :
wifiwizard2 2.1.0 "WifiWizard2"
iOS version : ios12
.ts code
 if (typeof WifiWizard2 !== 'undefined') {
      console.log("WifiWizard loaded: ");
      this.selectBuildingOption = false;
      this.isNotconnectwithWifi = false;
      WifiWizard2.getCurrentBSSID(this.successNetwork, this.failNetwork); //always go to failNetwork
    }

Error log in xcode
2018-10-08 16:57:59.043091+0530 @RTI[3797:356306] WifiWizard loaded:
2018-10-08 16:57:59.046592+0530 @RTI[3797:356306] Supported interfaces: (
    en0
)
2018-10-08 16:57:59.046830+0530 @RTI[3797:356306] en0 => (null)
2018-10-08 16:57:59.061072+0530 @RTI[3797:356306] fail : Not available

I get the "Not Available" error as you on IOS 12
Access Wifi Information :
To use this function in iOS 12 and later, enable the Access WiFi Information capability for your app in Xcode. When you enable this capability, Xcode automatically adds the Access WiFi Information entitlement to your entitlements file and App ID.
I tried WifiWizard2 latest version and give "Access Wifi Information" on Capabilities screen for local test. getCurrentSSID and getCurrentBSSID functions are running perfectly.

I already enabled this capability for APP ID. but I am facing different issue while archive application then this plugin is not working.

Sorry for late response, what kind of issue while archiving the application?

Please check your plugin.xml file and add wifi-info lines like https://github.com/tripflex/WifiWizard2/blob/master/plugin.xml

@sarpherviz tanks.
my plugin.xml looks like

<?xml version="1.0" encoding="UTF-8"?>

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
    xmlns:android="http://schemas.android.com/apk/res/android"
    id="wifiwizard2"
    version="2.1.0">

    <name>WifiWizard2</name>
    <description>Cordova Wifi Manager for Android and iOS</description>
    <license>Apache 2.0</license>
    <keywords>cordova,network,wifi,phonegap</keywords>
    <repo>https://github.com/tripflex/wifiwizard2.git</repo>
    <issue>https://github.com/tripflex/wifiwizard2/issues</issue>

    <js-module src="www/WifiWizard2.js" name="WifiWizard2">
      <clobbers target="window.WifiWizard2" />
    </js-module>

    <!-- ES6 promise polyfill -->
    <dependency id="es6-promise-plugin" version="4.1.0" />

  <!-- android -->
    <platform name="android">

      <config-file target="AndroidManifest.xml" parent="/manifest">
        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
        <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
      </config-file>

      <config-file target="res/xml/config.xml" parent="/*">
        <feature name="WifiWizard2">
          <param name="android-package" value="wifiwizard2.WifiWizard2" />
          <param name="onload" value="true" />
        </feature>
      </config-file>

      <source-file src="src/android/wifiwizard2/WifiWizard2.java" target-dir="src/android/wifiwizard2" />
    </platform>

    <platform name="ios">
        <config-file target="config.xml" parent="/*">
            <feature name="WifiWizard2">
                <param name="ios-package" value="WifiWizard2"/>
            </feature>
        </config-file>

        <header-file src="src/ios/WifiWizard2.h" />
        <source-file src="src/ios/WifiWizard2.m" />
        <framework src="SystemConfiguration.framework" />
    </platform>

</plugin>

let me check with add wifi-info line in plugin.xml

I think you have to add HotspotConfiguration , networkextension and wifi-info lines. Hope it will fix your problem.

When i install app over Xcode, app was working but if i archived the app and install, WifiWizard2 was not working and return null as you get.
let me explain what i did

add lines to plugin.xml
remove platform ios
add platform ios
build over Visual Studio Code terminal with
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
open xcode and check the Capabilities, (Access Wifi Information, HotSpot and Network Extension)
build and Archive
publish .ipa over Microsoft AppCenter
Install the app to phone over AppCenter, it is working now.

@sarpherviz wow your are awesome bro. it's worked. :)

Seems to be related to this too:
https://github.com/apache/cordova-ios/issues/407


Add 2GIS support

2GIS is some navigation software from Russia
app store
google play
Documentation about deeplinking is here (sorry for Russian) and here

Thanks for your contribution @vvscode!
On your question about URL schemes vs universal links, we prefer URL schemes, because that offers us a detection mechanism to detect if the app is installed and only show the app in the menu if it is.
That's the main goal of this library: letting people choose a navigation/maps app that they have installed on their device, rather than opening in a web browser.

Released to NPM as<EMAIL_ADDRESS>


[Dubbo-7989][3.0] Add shutdown logic for Executor in ExecutorRepository

What is the purpose of the change
fix #7989

Codecov Report

Merging #7990 (3ee3f62) into 3.0 (f53d8a5) will decrease coverage by 0.32%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##                3.0    #7990      +/-   ##
============================================
- Coverage     59.64%   59.31%   -0.33%
  Complexity      327      327
============================================
  Files          1090     1090
  Lines         44493    44498       +5
  Branches       6629     6629
============================================
- Hits          26538    26395     -143
- Misses        15031    15187     +156
+ Partials       2924     2916       -8

Impacted Files
Coverage Δ

.../threadpool/manager/DefaultExecutorRepository.java
82.05% <85.71%> (+1.22%)
:arrow_up:

...figcenter/file/FileSystemDynamicConfiguration.java
0.00% <0.00%> (-59.05%)
:arrow_down:

...fig/configcenter/TreePathDynamicConfiguration.java
74.28% <0.00%> (-14.29%)
:arrow_down:

.../remoting/transport/netty4/NettyServerHandler.java
61.36% <0.00%> (-9.10%)
:arrow_down:

...e/dubbo/remoting/transport/netty4/NettyClient.java
62.31% <0.00%> (-8.70%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
82.75% <0.00%> (-6.90%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-4.35%)
:arrow_down:

.../exchange/support/header/HeaderExchangeServer.java
65.09% <0.00%> (-3.78%)
:arrow_down:

...mmon/threadpool/support/AbortPolicyWithReport.java
84.61% <0.00%> (-1.93%)
:arrow_down:

...ava/org/apache/dubbo/config/ServiceConfigBase.java
59.03% <0.00%> (-1.81%)
:arrow_down:

... and 14 more

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 f53d8a5...3ee3f62. Read the comment docs.


Using an ubuntu flavor memcache instance breaks the regex

https://github.com/ktheory/dalli-elasticache/blob/565bf94ed97812aa5b41ad71036b4f8b3c60c172/lib/dalli/elasticache/auto_discovery/stats_response.rb#L19 is:
STAT version 1.4.14 (Ubuntu)
Results in the error:
undefined method `[]' for nil:NilClass
Which was traced back to:
https://github.com/ktheory/dalli-elasticache/blob/565bf94ed97812aa5b41ad71036b4f8b3c60c172/lib/dalli/elasticache/auto_discovery/stats_response.rb#L26
The string 'STAT version 1.4.14 (Ubuntu)' is causing the regex to return nil because it failed to find matches

I am also facing same issue on Ubuntu 14.04

@johnkelly @aaronlifton I know it's been a very long time since this was filed, but I'm trying to understand the issue.  So if you're still around and have context to share, that would be very helpful.
Does this refer to ElastiCache or some other clustering mechanism?  If the latter, what is it?
If this issue arose on ElastiCache, how does one get an "Ubuntu flavor" memcache instance?

I'm still not clear on when one would encounter such a version string - a numeric version, followed by a space, followed by additional text (e.g. (Ubuntu)), but the changes here - https://github.com/ktheory/dalli-elasticache/pull/37 should allow the gem to properly parse out the version number.

I'm still not clear on the situation in which this issue arises, but the gem is now more flexible in its handling of the version string as of version 1.0.0.  Thanks for filing the issue.  Closing.  Please reopen if you still see this problem on this version of the gem.


pre_commit.errors.FatalError: git failed. Is it installed, and are you in a Git repository directory?

Hello,
I want to install the Hummingbot from the source code. I have two questions:
1- Should I run all the commands as a normal user or root user?
2- I did ./install, but I got the following error:
pre-commit.log
### version information

pre-commit version: 2.18.1
git --version: git version 2.39.2
sys.version:
    3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0]
sys.executable: /home/docki/miniconda3/envs/hummingbot/bin/python
os.name: posix
sys.platform: linux

### error information

An error has occurred: FatalError: git failed. Is it installed, and are you in a Git repository directory?

Traceback (most recent call last):
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/git.py", line 58, in get_root
    cmd_output('git', 'rev-parse', '--show-cdup')[1].strip(),
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/util.py", line 152, in cmd_output
    returncode, stdout_b, stderr_b = cmd_output_b(*cmd, **kwargs)
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/util.py", line 146, in cmd_output_b
    raise CalledProcessError(returncode, cmd, retcode, stdout_b, stderr_b)
pre_commit.util.CalledProcessError: command: ('/usr/bin/git', 'rev-parse', '--show-cdup')
return code: 128
expected return code: 0
stdout: (none)
stderr:
    fatal: detected dubious ownership in repository at '/home/docki/Containers/hummingbot'
    To add an exception for this directory, call:

    	git config --global --add safe.directory /home/docki/Containers/hummingbot

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/error_handler.py", line 73, in error_handler
    yield
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/main.py", line 326, in main
    _adjust_args_and_chdir(args)
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/main.py", line 143, in _adjust_args_and_chdir
    toplevel = git.get_root()
  File "/home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages/pre_commit/git.py", line 64, in get_root
    raise FatalError(
pre_commit.errors.FatalError: git failed. Is it installed, and are you in a Git repository directory?

Where is the problem?
Thank you.

Hi,
I solved that error with git config --global --add safe.directory /home/docki/Containers/hummingbot command, but I got the following error:
Requirement already satisfied: objgraph in /home/docki/miniconda3/envs/hummingbot/lib/python3.10/site-packages (3.6.1)
An unexpected error has occurred: PermissionError: [Errno 13] Permission denied: '.git/hooks/pre-commit'
Check the log at /home/docki/.cache/pre-commit/pre-commit.log

Any idea?

Hi,
The problem was related to the permission. I had cloned the repository with the root account.


Feature Parity

[x] Make the CSS not look like garbage
[x] Add the ability to run the Python scripts
[x] Deploy the app on the Pi

I've gotten it to work but it needs more testing and someone besides me needs to use it.


Undefined function or variable 'test_demo'

Hi, I meet this error
'Undefined function or variable 'test_demo''
when i use the command 'adnet_demo' to test the demo
How can i solve it ?

OK, I have found the test code in zip file and now i'm testing.

My precision is coming out to be 1.0 on Freeman1 dataset. Is it correct?


strictTypes does not expect "narrowing" integer with number keywords

What version of Ajv are you using? Does the issue happen if you use the latest version?
8.10.0
With all included schemas (default, 2019, 2020)
Ajv options object
{ strictTypes: true }

JSON Schema
{
    "type": "number",
    "if": {
        "type": "integer",
        "maximum": 5
     },
     "else": {
         "minimum": 10
     }
}

In english:
A number that must be an integer <= 5, or any number >= 10.
Sample data
Resolves as follows if strictTypes is 'log' or false
4 // valid
4.5 // invalid
7 // invalid
11.5 // valid
"" // invalid
null // invalid

Your code
new Ajv({ strictTypes: true }).compile({
    type: 'number',
    if: {
        type: 'integer',
        maximum: 5
     },
     else {
         minimum: 10
     }
});

Validation result, data AFTER validation, error messages
Error: strict mode: missing type "number" for keyword "maximum" at "#/if" (strictTypes)

What results did you expect?
No error message.
Documentation of strictTypes

"number" vs "integer"
Type "number" can be narrowed to "integer", the opposite would violate strictTypes.

maximum is a valid keyword for integer type, which is a "narrowing" of number.
Note that the else does not error on missing type: 'number' and the error goes away if type: 'integer' is removed (as type is properly inferred from parent schema).  Error also goes away if maximum: 5 is removed.
Dropping type: 'integer' or maximum: 5, would logically alter schema, as above examples of 4.5 and 7 would then be valid.
Are you going to resolve the issue?
Current local solution for me is to drop strictTypes (which does not impact validation, but is an overall appreciated feature).
I'd be open to taking a swing at resolving, but would probably need some serious guidance on where to even start.

new Ajv({ strictTypes: true }).compile({
    type: 'number',
    if: {
        allOf: [
            { type: 'integer' },
            { maximum: 5 }
        ]
     },
     else {
         minimum: 10
     }
});

Appears to perform as expected with no errors. But IMHO that makes the schema less readable, and should not be necessary given the documentation of strictTypes handling of number -> integer

yes, agreed, the logic for tracking types should be extended to ifs


Not loading all model meshes

Describe the bug
When a model has multiple meshes, only the first one is loaded, and sometimes it is loaded with incorrect indices.
Expected behavior
Should load all meshes to the same Mesh resource. In the future should also generate individual mesh resources for each mesh.
Screenshots
Only loading first mesh for each model

Computer mesh triangles wrong indices?

All meshes are being loaded to the same mesh resource. In the future it is a good idea to be able to load each mesh to a different mesh resource. Support for baked textures should also be added.


The Simulator should assign a unique id to each warrior instance

When initialising the Simulator, the Loader should assign a unique id to each instance of a Warrior loaded.  Whenever the Simulator returns Warrior information, the unique id should be included.
This will allow the ui to assign unique colours to each Warrior for example.

Resolved by #75


Add default subscriber to Masonry

This subscriber uses EnvFilter to change its value depending on the RUST_LOG env variable, so log levels can be changed without recompiling the app.

This is already merged but I think it is a bad idea for it to be part of the lib and it should be part of the executable targets even if that is somewhat annoying.
That is how this is usually done.

We may revisit the decision at a later date, but for now the goal is maximum debuggability over everything else, and bundling a default subscriber helps with that.
See #250 for details.


Declare lodash as peer dependecy or document explicit requirement.

Hi. I just found out that I needed to declare lodash v4 in my top level package.json. Otherwise, getTheme.js will fail at runtime. Thanks!

Doesn't make any sense to have lodash there. I will us ES6 instead lodash's merge.
Thanks again @jjzazuet  ;)

Uff, I added lodash as peer dependency for now - there is a deep merge and it's not so easy in ES

Use this https://www.npmjs.com/package/lodash.merge

In v1.2.5 is lodash.merge. I tried with react-native init project and it works fine


SPDX license identifiers and seL4 Foundation setup

@ssrg-bamboo test

Hello, I'm a bot! I'll bring this PR into Trustworthy Systems and run some tests

Test results for commit 53761816db6e5ff4d5742d09c4678595a1e594a3
Summary

Test name
Result

Code Quality - Check licenses - pruner - EXT-seL4-spdx-2
FAILED

Code Quality - Style - pruner - EXT-seL4-spdx-2
SUCCESSFUL

Detailed failure logs

Project
Stage
Result summary

Code Quality - Check licenses - pruner - EXT-seL4-spdx-2
Check licenses
1 of 1 job failed

Job: lic
Build logs
20-Dec-2020 16:29:54	Build Code Quality - Check licenses - pruner - EXT-seL4-spdx-2 - lic #1 (CQ-PRUNERCL0-PRUNERLICCQ-1) started building on agent A local agent 2, bamboo version: 7.1.4
20-Dec-2020 16:29:54	I run on the Bamboo server!
20-Dec-2020 16:29:54	Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/151224373/CQ-PRUNERCL0-PRUNERLICCQ
20-Dec-2020 16:29:54	Executing build Code Quality - Check licenses - pruner - EXT-seL4-spdx-2 - lic #1 (CQ-PRUNERCL0-PRUNERLICCQ-1)
20-Dec-2020 16:29:54	Preparing artifact 'code' for use at /var/atlassian/application-data/bamboo/xml-data/build-dir/151224373/CQ-PRUNERCL0-PRUNERLICCQ/. (location: .)
20-Dec-2020 16:29:54	Artifact 'code' prepared in 11.95 ms at /var/atlassian/application-data/bamboo/xml-data/build-dir/151224373/CQ-PRUNERCL0-PRUNERLICCQ/./code.tar.gz
20-Dec-2020 16:29:54	Running pre-build action: VCS Version Collector
20-Dec-2020 16:29:54	Starting task 'Untar code' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Dec-2020 16:29:54	+ tar xf code.tar.gz --recursive-unlink
20-Dec-2020 16:29:54	Finished task 'Untar code' with result: Success
20-Dec-2020 16:29:54	Starting task 'Set permissions so Bamboo can cleanup' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Dec-2020 16:29:54	+ chmod -R o+rwx /var/atlassian/application-data/bamboo/xml-data/build-dir/151224373/CQ-PRUNERCL0-PRUNERLICCQ
20-Dec-2020 16:29:54	Finished task 'Set permissions so Bamboo can cleanup' with result: Success
20-Dec-2020 16:29:54	Starting task 'Check license' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Dec-2020 16:29:54	+ python license-tool/check_license.py pruner
20-Dec-2020 16:29:54	ERROR:root:pruner/.gitignore: pruner/.gitignore: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/LICENSE.md: pruner/LICENSE.md: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/Makefile: pruner/Makefile: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/README.md: pruner/README.md: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/cfg.c: pruner/cfg.c: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/cfg.h: pruner/cfg.h: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/dict.c: pruner/dict.c: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/dict.h: pruner/dict.h: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/main.c: pruner/main.c: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/set.c: pruner/set.c: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/set.h: pruner/set.h: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/.github/CODE_OF_CONDUCT.md: pruner/.github/CODE_OF_CONDUCT.md: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/.github/CONTRIBUTING.md: pruner/.github/CONTRIBUTING.md: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/.github/workflows/pr.yml: pruner/.github/workflows/pr.yml: no owner found
20-Dec-2020 16:29:54	ERROR:root:pruner/.github/workflows/push.yml: pruner/.github/workflows/push.yml: no owner found
20-Dec-2020 16:29:54	Failing task since return code of [/var/atlassian/application-data/bamboo/temp/CQ-PRUNERCL0-PRUNERLICCQ-1-ScriptBuildTask-8331454146877139312.sh] was 1 while expected 0
20-Dec-2020 16:29:54	Finished task 'Check license' with result: Failed
20-Dec-2020 16:29:54	Starting task 'Set permissions so Bamboo can cleanup' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Dec-2020 16:29:54	+ chmod -R o+rwx /var/atlassian/application-data/bamboo/xml-data/build-dir/151224373/CQ-PRUNERCL0-PRUNERLICCQ
20-Dec-2020 16:29:54	Finished task 'Set permissions so Bamboo can cleanup' with result: Success
20-Dec-2020 16:29:54	Running post build plugin 'NCover Results Collector'
20-Dec-2020 16:29:54	Running post build plugin 'Artifact Copier'
20-Dec-2020 16:29:54	Running post build plugin 'npm Cache Cleanup'
20-Dec-2020 16:29:54	Running post build plugin 'Clover Results Collector'
20-Dec-2020 16:29:54	Running post build plugin 'Docker Container Cleanup'
20-Dec-2020 16:29:54	Successfully removed working directory at '/var/atlassian/application-data/bamboo/xml-data/build-dir/151224373/CQ-PRUNERCL0-PRUNERLICCQ'
20-Dec-2020 16:29:54	Finalising the build...
20-Dec-2020 16:29:54	Stopping timer.
20-Dec-2020 16:29:54	Build CQ-PRUNERCL0-PRUNERLICCQ-1 completed.
20-Dec-2020 16:29:54	Running on server: post build plugin 'NCover Results Collector'
20-Dec-2020 16:29:54	Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Dec-2020 16:29:54	Running on server: post build plugin 'Clover Delta Calculator'
20-Dec-2020 16:29:54	Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Dec-2020 16:29:54	All post build plugins have finished
20-Dec-2020 16:29:54	Generating build results summary...
20-Dec-2020 16:29:54	Saving build results to disk...
20-Dec-2020 16:29:54	Store variable context...
20-Dec-2020 16:29:54	Indexing build results...
20-Dec-2020 16:29:54	Finished building CQ-PRUNERCL0-PRUNERLICCQ-1.

This is the most I can report on right now, sorry!


cloudstack multi machine templates

Issue #, if available:
To support modular Kubernetes Version upgrades
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/cherry-pick release-0.17

/approve


Image File

Avatars of png users are returning jpg.

Update. JDA doesn't have .jpg endings anymore: https://github.com/DV8FromTheWorld/JDA/blob/development/src/main/java/net/dv8tion/jda/core/entities/impl/UserImpl.java#L68-L73


Mock getCurrentBlock

Is your feature request related to a problem? Please describe.
Developers might use getCurrentBlock().timestamp in contracts, which will error out.
Describe the solution you'd like
One could mock the response to return a dummy response, eg 0.0
Describe alternatives you've considered
Developers seem to replace all the instances with dummy variables

@alxflw this is not front-end level issue. Should be probably on Cadence or emulator level.
@psiemens or maybe @turbolent should know better about current implementation.


fix(boot): Move from old type declaration to @type

I had noticed this in the logs as well and knew you fixed it in a few places already. 👍 on fixing the rest of them. lgtm

yeah i thought i had fixed it but i think it got lost in a copy pasta situation =p


vendor: update etcd to 3.4.14

This version fixes etcd error "auth token invalid after
watch reconnects". https://github.com/etcd-io/etcd/issues/11954
Signed-off-by: André Martins<EMAIL_ADDRESS>Fix etcd's auth token invalid after watch reconnects

test-me-please

retest-gke

restart-gke

retest-gke


Removing archives from write access menu

Operation System: mac osx
Beaker Version: 0.6

Allow write access to an archive
Delete the archive from library
Still is shown in write access for the app

I'd expect an archive to be removed from the "write access" screen after deleting it from my library. This is probably only an issue for developing apps but I have no idea which one is more recent:

Is there any way to remove archives from that menu?
These archives are cached anyways, so I can still write to them even if they are "deleted". So It does make sense as implemented but just gets messy if there is no way to remove archives from that menu.

Oh yeah, I've noticed this as well. I've been waiting for more experience with how Dat-based apps will work before solving it.
I'll move it up in the priority queue.

This is a duplicate of https://github.com/beakerbrowser/beaker/issues/193, so I'm going to close


How should I use next/image?

Hey! First of all thanks for this amazing library. I was looking for them to use in my project and I am just wondering how the AvatarImage component integrates with the next/image component. I am using it in my project so I am worried about poor performance when using this component on anyone that accepts an image src as prop.
Thanks in advance!

I think  next/image can be used as src prp, for the AvatarImage component. And this will help us utilize some next/image perks like lazy loading, resizing of image

I think next/image can be used as src prp, for the AvatarImage component. And this will help us utilize some next/image perks like lazy loading, resizing of image

Mmm i dont understand what do you mean by using as src prop. Src prop has to be a string i think, not a component

You could provide an asChild prop to the AvatarImage component. Since shadcn-ui is built on top of Radix UI, all valid Radix UI props are also valid shadcn-ui props.
Here's how you can use it:
<Avatar>
    <AvatarImage asChild src='/next.svg'>
        <Image src='/next.svg' alt='logo' width={40} height={40} />
    </AvatarImage>
    <AvatarFallback>N</AvatarFallback>
</Avatar>

Notice that I provide src prop twice in both AvatarImage and Image components. If AvatarImage does not receive a src prop, it will automatically use AvatarFallback. Unfortunately, it seems the only way to make the intended results.
After I checked the rendered HTML, the result is the same as the Image component. For more information check Radix UI Avatar API Reference and documentation on how to use asChild prop.
 I think I just have to try to understand the asChild prop more in depth. Maybe @shadcn wants to add this to the Avatar documentation?

 To add a little bit, apparently, the reason why we need to provide src twice is the default behavior of Radix UI's Avatar. There is already someone who opens a discussion here.

You could use Suspense for this
Code:
 <Suspense fallback={<AvatarFallback>LG</AvatarFallback>}>     <Image src='/next.svg' alt='logo' width={50} height={50} />   </Suspense>

What folder should the image be placed? Inside public?

Best to import it statically and let next sort it
import image from "./image.jpeg";
....
  <Image src={image} />

I wrote a little component that lets you use Avatar like a next Image:
// components/ui/nextAvatar.tsx
import { ImageProps, getImageProps } from "next/image";
import { omit, pick } from "lodash/fp";
import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "@/components/ui/avatar";

type Props = Omit<ImageProps, "fill">;

export default function NextAvatar(props: Props) {
  const imageProps = getImageProps({ width: 40, height: 40, ...props }).props;

  return (
    <Avatar
      className={props.className}
      style={pick(["width", "height"], imageProps)}
    >
      <AvatarImage
        {...omit(["blurWidth", "blurHeight", "style"], imageProps)}
        style={pick(["objectFit", "objectPosition"], imageProps.style)}
      />
      {imageProps.placeholder === "blur" && (
        <AvatarFallback style={imageProps.style} />
      )}
    </Avatar>
  );
}

You could provide an asChild prop to the AvatarImage component. Since shadcn-ui is built on top of Radix UI, all valid Radix UI props are also valid shadcn-ui props.
Here's how you can use it:
<Avatar>
    <AvatarImage asChild src='/next.svg'>
        <Image src='/next.svg' alt='logo' width={40} height={40} />
    </AvatarImage>
    <AvatarFallback>N</AvatarFallback>
</Avatar>

Just a heads up, this will load the image twice. Once by Radix and once by Next

@marjorg So what's the solution to this?
Should we be using only the AvatarImage Or only the NextImage Or both.

@marjorg So what's the solution to this? Should we be using only the AvatarImage Or only the NextImage Or both.

I don't know of one available right now. But the PR related to https://github.com/radix-ui/primitives/issues/2230 seems to be trying to address it within Radix.


fix(ui): various fixes

fixes https://github.com/syndesisio/syndesis/issues/5627
Connection card

make sure icon/headings are aligned
absolutely position tech preview
disable title hover styles

Fix misalignment of API provider operation list
remove drag 'n drop left indent
Space out lines in drag and drop box
Set global pf4 font size to sm (12px), and remove 'font-size' declaration from body
keep list view title/name cell from breaking in middle of word

PR Storybook available here


'amplify add storage' allows uppercase characters, then fails when pushing to cloud

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
amplify version => 7.6.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
storage
Amplify Commands
add, push
Describe the bug
When adding an S3 bucket, amplify cli allowed me to enter an uppercase character for the bucket name. When I eventually tried to push my changes to the cloud it failed because buckets can't have uppercase characters. Also cli didn't allow me to use a '-' even though I'm pretty sure you can use hyphens when naming buckets.
Just making an issue of this because it is annoying, spent a bit of time configuring storage and pushing and have to do it over again.
Expected behavior
Stop me from naming a bucket with an uppercase character before it tries to create it.
Reproduction steps
amplify add storage
? Select from one of the below mentioned services: Content (Images, audio, video, etc.)
✔ Provide a friendly name for your resource that will be used to label this category in the project: · resourcename
✔ Provide bucket name: · WishItStoppedMeIfITriedToDoSomethingLikeThis
GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Hi @johnrusch, thank you for reporting this issue.
The linked PR should fix this.


Restrict virtual mode tests to vector load/store only?

Generating only the load/store cases for virtual-mode will reduce the number of generated binaries.

Sure, I'll add that option later this week.

Sorry for the delay, I missed this. I added a PATTERN option above, now one can use make -j4 -e PATTERN='^v[ls].+\.v$' to generate load/store tests only.


bottomNavigationBar with a black line in bottom

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
1.Develop on Mac mini m1  macos 13.3.1 (a)
2.Android Studio Flamingo | 2022.2.1 Patch 1
3.Devices:Redmi K40 whith pixelexpirence 13
or Other Android devices
Expected results
bottomNavigationBar without a balck line on the bottom
Actual results
bottomNavigationBar whith a balck line on the bottom
Code sample
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch:Colors.pink,
      ),
      home: Scaffold(
          appBar: AppBar(
            title: const Center(child: Text('Demo')),
          ),
          body: const Text('Haha'),
          bottomNavigationBar: Container(
              decoration: const BoxDecoration(color: Colors.white),
              padding: const EdgeInsets.symmetric(vertical: 12),
              child: const Padding(
                padding: EdgeInsets.symmetric(horizontal: 26, vertical: 8),
                child: GNav(
                    padding: EdgeInsets.symmetric(horizontal: 20, vertical: 8),
                    gap: 8,
                    tabBackgroundColor: Color(0x33Fc548E),
                    activeColor: Color(0xFFFC548E),
                    color: Colors.black54,
                    tabs: [
                      GButton(
                        icon: Icons.home,
                        text: 'Home',
                      ),
                      GButton(
                        icon: Icons.category,
                        text: 'Cate',
                      ),
                      GButton(
                        icon: Icons.add_circle_outline,
                        text: 'Publish',
                      ),
                      GButton(
                        icon: Icons.account_circle,
                        text: 'Mine',
                      )
                    ]),
              )))
    );
  }
}

Screenshots or Video

Hi @sundogya
As I can see from your sample code, you are using 3rd package or undefined widgets (GNav, GButton).
For the issue to be workable, it needs to be reproducible with a completed and minimal reproducible code sample that doesn’t include 3rd party plugins/packages or complex production code. Please provide such a sample.

That is Android's navigator's color, you can change for instance by changing:
AppBar(
  title: const Center(child: Text('Demo')),
),

To:
import 'package:flutter/services.dart';

AppBar(
  title: const Center(child: Text('Demo')),
  systemOverlayStyle: SystemUiOverlayStyle.light.copyWith(systemNavigationBarColor: Colors.blue),
),

Thanks ,got it!
systemOverlayStyle works.

That is Android's navigator's color, you can change for instance by changing:
AppBar(
  title: const Center(child: Text('Demo')),
),

To:
import 'package:flutter/services.dart';

AppBar(
  title: const Center(child: Text('Demo')),
  systemOverlayStyle: SystemUiOverlayStyle.light.copyWith(systemNavigationBarColor: Colors.blue),
),

Thanks ,i got it !
And systemOverlayStyle works well.

It seems the issue has been solved with the solution above. Closing from here.


IndexTargetNode doesn't have ATTRIBUTE_WRITE

Not sure if it's expected behaviour, but it will be nice to have the flag set:
bin/parse -e 'a[b], = []'
@ ProgramNode (location: (1,0)-(1,10))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,10))
    └── body: (length: 1)
        └── @ MultiWriteNode (location: (1,0)-(1,10))
            ├── lefts: (length: 1)
            │   └── @ IndexTargetNode (location: (1,0)-(1,4))
            │       ├── flags: ∅
            │       ├── receiver:
            │       │   @ CallNode (location: (1,0)-(1,1))
            │       │   ├── flags: variable_call
            │       │   ├── receiver: ∅
            │       │   ├── call_operator_loc: ∅
            │       │   ├── name: :a
            │       │   ├── message_loc: (1,0)-(1,1) = "a"
            │       │   ├── opening_loc: ∅
            │       │   ├── arguments: ∅
            │       │   ├── closing_loc: ∅
            │       │   └── block: ∅
            │       ├── opening_loc: (1,1)-(1,2) = "["
            │       ├── arguments:
            │       │   @ ArgumentsNode (location: (1,2)-(1,3))
            │       │   ├── flags: ∅
            │       │   └── arguments: (length: 1)
            │       │       └── @ CallNode (location: (1,2)-(1,3))
            │       │           ├── flags: variable_call
            │       │           ├── receiver: ∅
            │       │           ├── call_operator_loc: ∅
            │       │           ├── name: :b
            │       │           ├── message_loc: (1,2)-(1,3) = "b"
            │       │           ├── opening_loc: ∅
            │       │           ├── arguments: ∅
            │       │           ├── closing_loc: ∅
            │       │           └── block: ∅
            │       ├── closing_loc: (1,3)-(1,4) = "]"
            │       └── block: ∅
            ├── rest:
            │   @ ImplicitRestNode (location: (1,4)-(1,5))
            ├── rights: (length: 0)
            ├── lparen_loc: ∅
            ├── rparen_loc: ∅
            ├── operator_loc: (1,6)-(1,7) = "="
            └── value:
                @ ArrayNode (location: (1,8)-(1,10))
                ├── flags: ∅
                ├── elements: (length: 0)
                ├── opening_loc: (1,8)-(1,9) = "["
                └── closing_loc: (1,9)-(1,10) = "]"

Isn't it expected to always be true?

Yes, of course.
But it seems it's the only flag that could be set for IndexTargetNode. All the other ones (variable call and safe navigation) seem not possible.


Documentation Improvements: README

It's not clear from the examples in the README what exactly the instance method requires for input.  A DocBlock or a standard function description including data types would be the minimum requirement here, but it appears that the inputs are complex enough to merit more thorough descriptions.
For example, in the following snippet:
$encoder = Encoder::instance([
    Author::class  => AuthorSchema::class,
], new JsonEncodeOptions(JSON_PRETTY_PRINT));

echo $encoder->encode($author) . PHP_EOL;

What exactly is "Author::class" or "AuthorSchema::class"?  Is "::class" a class constant that was not defined in the code included in the "sample" directory?  Or are you trying to demonstrate that the input format should map a model class with a schema class?  Even after looking at the source code, I'm not entirely sure.  Also, since the $author instantiation isn't shown, it's unclear what exactly it is.
A few more explanations here would go a long way and be much appreciated.  Thanks.

The ::class bit returns the fully qualified name of the class. Available since PHP 5.5. That means that you need to map a class to a schema. Do this for all your classes and pass it into the instance method.

@fireproofsocks ::class is a PHP language feature not this package feature. It's basically an equivalent of full class name string e.g Namespace\subnamespace\YouClassName.
In the example I'm trying to demonstrate you should tell the coder mapping between type you encode and their schemas.
Have I answered you questions?

@fireproofsocks
Thus assuming both classes are in global namespace the sample could be written
$encoder = Encoder::instance([
    '\Author'  => '\AuthorSchema',
], new JsonEncodeOptions(JSON_PRETTY_PRINT));

echo $encoder->encode($author) . PHP_EOL;

I've updated the first sample and added comment about ::class usage for the second one.
@fireproofsocks Do you think it should be detailed more?

Thank you, that's an improvement, but it should probably still be more detailed.  Suggestions follow:

Include the instance function's signature, e.g. something like

object  Encoder::instance ( array $array [, JsonEncodeOptions $encodeOptions )

Where the $array is an associative array mapping a class name to a class name that implements the SchemaProviderInterface.

Since you can't rely on type-hinting the values in an associative array, the docs need to be clear as to what formats are required.  It's worth pointing out up-front that a schema can be a closure.

Include common examples of the JsonEncodeOptions.  Pretty print is nice... are there others?

Are there any restrictions on the model class?
The description of this function is tantamount: this is the main event.  The raison d'etre of this package revolves around that function, so it probably should be given a proper introduction as such.

Clarify the resource type.  It was not immediately clear what the "people" type had to do with the Author class.

Re included objects, clarify what triggers data to show up in the primary "data" node vs. in the "included" array... I thought maybe it was the order in the array before I realized it hinged on the object passed to the encode function.  It's worth it here to clarify why you'd group these schemas together... would they be reused as a group and maybe pass a different object to the encode method?  It looks like a certain organizational structure was inferred here, but it's not explained.

Add a function signature for the encode function: it is the other critical function to this entire package as far as a dev UI is concerned.  Even if I look it up in the source code, it may not provide adequate explanations.

Sparse Field Sets: the dot notation here needs to be explained.  Dot notation can mean different things in different languages, and it's not native to PHP, so we're relying on some interpretation of it.  E.g. posts.author has a commend that "paths to be included" -- what paths?  Did you mean URLs?  Is something like "posts.author" meant to be passed in the request URLs by a user (e.g. to filter results)?

Per Github parlance, add a CONTRIBUTING.md file and put instructions for contributors there.

Re the ::class constant -- thanks!  That was not part of my PHP vocabulary.

@fireproofsocks Thank you for your feedback.
I'm working on #7 which is actually quite big and requires careful reading RFC 2616. I hope I can finish it this week and get back to other issues from Monday.

Also:

there doesn't seem to be an example for how to return collections.
there should be an example for returning errors.

@fireproofsocks @shabushabu I've updated the package to v0.4 and it now implements the latest RC4 JSON API which should become v1.0 right around the corner (finally no more big changes!!!).
I've also completely reworked documentation into Wiki. Please check it out.

If you feel the documentation should be updated I'd be happy to receive your feedback/PRs.


KAFKA-9273: Extract testShouldAutoShutdownOnIncompleteMetadata from S…

…treamTableJoinIntegrationTest into its own test
The main goal is to remove usage of embedded broker (EmbeddedKafkaCluster) in AbstractJoinIntegrationTest and its subclasses.
This is because the tests under this class are no longer using the embedded broker, except for two.
testShouldAutoShutdownOnIncompleteMetadata is one of such tests.
Furthermore, this test does not actually perfom stream-table join; it is testing an edge case of joining with a non-existent topic, so it should be in a separate test.
Testing strategy: run existing unit and integration test
@bbejeck
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

retest this please

Hi, there's another unit test that need to be moved out (StreamStreamJoinIntegrationTest.shouldNotAccessJoinStoresWhenGivingName) but I thought of doing that in another PR (to make the PRs small). But let me know if it's ok to just include it in this PR.
(Btw, I force-push updated the commit with the right user email)

@albert02lowis I see, let's try to do all of them in one PR then.

Hi @abbccdda sure thing, I have added 2 more commits to this PR and the unit + integration tests also looks good in my local

Ok to test

retest this please

Retest this please.

Ok to test

retest this please

ok to test

retest this please

Java 8 failed on an unrelated test kafka.api.SaslSslConsumerTest.testCoordinatorFailover created a Jira ticket.
retest this please

Java 8 passed
Java 14 failed with org.apache.kafka.streams.integration.PurgeRepartitionTopicIntegrationTest.shouldRestoreState
Java 11 failed with kafka.api.PlaintextAdminIntegrationTest.testAlterReplicaLogDirs
retest this please

Java 11 passed
Java 14 failed due to  Execution failed for task ':connect:api:javadoc'. ? (0 tests failed
Java 8 appears hung
Trying this one more time
retest this please

merged #9108 into trunk
Thanks for the contribution @albert02lowis!

Thanks for the reviews too @bbejeck and @abbccdda ! Really excited as this is my first contribution 🙏🏻


Consider using stream for faster TTS response

Use stream to pass into eleven-labs for early TTS, e.g.
import { openai } from '@ai-sdk/openai'
import { StreamingTextResponse, streamText } from 'ai'

export async function POST(req) {
  const { messages } = await req.json()
  const result = await streamText({
    model: openai('gpt-4-turbo'),
    messages,
  })

  return new StreamingTextResponse(result.toAIStream())
}

and elevenlabs TTS streaming api
I think currently the app is serializing prompt and TTS? With streaming, it should significantly reduce the latency

Very good points.

I don't think OpenAI streaming will make a huge difference, as it's super low latency already. The slow parts of the pipeline are the whisper STT and Elevenlabs TTS.

The repo is already using the Elevenlabs TTS streaming API 🙌


Load pre-trained model

Hi,
I clone the master branch and try to run the demo.
The model files seems changed to new format as i got this error
DataLossError (see above for traceback): Unable to open table file model/shadownet/shadownet_2017-10-17-11-47-46.ckpt-199999.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?

Sorry, my mistake


Field Type: selectGallery

Embed new field type in getWidgetFormElements(): selectGallery - This will improve usability when using the gallery widget. Instead of entering the ID of the desired gallery manually into a text field, it is now possible to select any gallery (that was created before).

done.


fix: logsCollection use resouce attributes

Ref https://github.com/open-telemetry/opentelemetry-helm-charts/issues/374
I believe Kubernetes metadata using logsCollection preset should be added to resource attributes not log attributes. As it is metadata about resource, not the individual log. Also
Additionally, The k8s metadata processor only works with Resource attributes https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/k8sattributesprocessor/processor.go#L98-L103, which can add more kubernetes metadata
stanza supports it via resource field https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/stanza/docs/types/entry.md#structure
Tested this locally

I agree with your assessment here - the k8s.* attributes should be resource attributes.

@povilasv switching to resource is better, but a breaking change for existing users.  It seems relatively harmless, but could have big implications for users who are relying on those attributes as they'll disappear.
We might need to do this change in stages by adding an opt-in flag in the preset's configuration.  When opting in the attributes will be resource.  By default they'll stay as attributes on the log.  Then we can deprecate the log attributes and switch to resource attributes only in a future release.
That's a lot of overhead, though.  @dmitryax @Allex1 what do you think?
@povilasv in the meantime you should still be able to configure a filelog receiver and all the appropriate mounts manually if the logsCollection preset isn't meeting your needs.

I was thinking on how do we fix it long term, and what do you think if we use copy transformation to set both resource attributes and log attributes?

Ya I like the simplicity of this.


Nav and controls can become out of synch

Issue description:  We have a carousel of 10 items, showing 4 at a time.  All is fine using the nav buttons or going forwards with the Next button.  But if you go all the way to the end, and then use the Back button to go back, you get unexpected behaviour in two ways.  1) The first nav dot is highlighted when actually you are on page 2 not page 1. This is probably the biggest bug of the two.  2) You see items 3, 4, 5, and 6 - whereas if I click on the second navigation dot you see items 5, 6, 7, 8.  I'd expect the Previous button to take me back one full page but it doesn't.  I think if it wasn't for the first issue though, this wouldn't be so bad.
Settings are:
tns({           container: el,           items: 2,           slideBy: 'page',           arrowKeys: true,           controls: true,           loop: false,           mouseDrag: true,           speed: 500,           autoplayTimeout: 10000,           navPosition: 'bottom',           responsive: {             450: {               items: 2             },             640: {               items: 3             },             900: {               items: 4             },           }         });
Demo link/slider setting:   https://www.chevinfleet.com/ scroll to the Why Chevin section
Tiny-slider version:   2.9.2

Me too having a similar issue - when items: 2 or more.

We faced the same issue. The problem is:
When you go forward to pages, the sliders shows you elements 6 and 7 (0-indexed) to be able to show you 4 elements. When you go back, the slider goes to 4 sliders back, hence the 2. At this point, 2 is in the first page, so it shows you the paginator at first page. If you again click next page, it goes from 2 to 6 again showing the 6,7,8 and 9 slides, considering it's on the last page again. So you end up either on the 1st or 3rd page, impossible to reach the 2nd page again.
🤣  Funny eh? 🤦🏽


Issue creating a localDB at Runtime

Team,
I'm stuck on creating a localDB at runtime.
Here is the code:
           cnStrSQLServer = "Server=(LocalDB)\MSSQLLocalDB; Integrated Security=true " ' this is needed as without a connection I cannot drop/create the db ' if I put the new db name "TestDB" in the connection string ("Server=(LocalDB)\TestDB; Integrated Security=true ") I get a network error             Using connection = New SqlConnection(cnStrSQLServer)                 connection.Open()                 Dim cmd As SqlCommand = connection.CreateCommand()                 Try                     cmd.CommandText = String.Format("DROP DATABASE TestDB") 'no error here                     cmd.ExecuteNonQuery()                 Catch ex As Exception                     Debug.Print(ex.Message)                 End Try                 cmd.CommandText = "CREATE DATABASE TestDB On (Name ='TestDB', FILENAME ='c:\test\TestDB.mdf')" 'NO Error here!                 cmd.ExecuteNonQuery()                 connection.Close()             End Using             cnStrSQLServer = "Server=(LocalDB)\TestDB; Integrated Security=true;AttachDbFileName='c:\test\TestDB.mdf'"             cnSQL = New SqlConnection(cnStrSQLServer)             cnSQL.Open()
The last open gives an error on open. Network error

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

ID: ea66ca27-e0b1-cd1e-a8ef-55911169c71a
Version Independent ID: f2340ce9-9771-851e-60a7-237c6e55f085
Content: SQL Server Express LocalDB - SQL Server
Content Source: docs/database-engine/configure-windows/sql-server-express-localdb.md
Product: sql
Technology: configuration
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @msavazzi , thank you for contacting Microsoft! From my understanding, the issue you're describing seems to be an issue with the product, is that correct? If so, unfortunately, this form of contact is intended explicitly for reporting issues with the documentation, and not for the product. To get further assistance with your issue, we'd recommend engaging the community, or opening a ticket with Microsoft Support. More information can be found here: https://docs.microsoft.com/en-us/sql/sql-server/sql-server-get-help?view=sql-server-2017.
Our apologies that the SQL Docs team was unable to assist you further with your issue, but we appreciate you reaching out. Please let us know if there's anything more we can do for you. We will close out this Git Issue in the meantime but please feel free to comment should  you need anything from the documentation perspective.
Thanks again and hope you have a wonderful rest of your day!
Masha from SQL Docs team

Sorry but I opened it as it is an issue with the documentation as it does not provide clear and working instructions on how to connect, create a new LocalDB from code.
The information the page provides are not complete… and relevant but just partial.
Da: Masha at MSFT<EMAIL_ADDRESS>Inviato: mercoledì 18 marzo 2020 23:30
A: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Massimo Savazzi<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Oggetto: Re: [MicrosoftDocs/sql-docs] Issue creating a localDB at Runtime (#4371)
Hi @msavazzihttps://github.com/msavazzi , thank you for contacting Microsoft! From my understanding, the issue you're describing seems to be an issue with the product, is that correct? If so, unfortunately, this form of contact is intended explicitly for reporting issues with the documentation, and not for the product. To get further assistance with your issue, we'd recommend engaging the community, or opening a ticket with Microsoft Support. More information can be found here: https://docs.microsoft.com/en-us/sql/sql-server/sql-server-get-help?view=sql-server-2017.
Our apologies that the SQL Docs team was unable to assist you further with your issue, but we appreciate you reaching out. Please let us know if there's anything more we can do for you. We will close out this Git Issue in the meantime but please feel free to comment should you need anything from the documentation perspective.
Thanks again and hope you have a wonderful rest of your day!
Masha from SQL Docs team
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/4371#issuecomment-600891432, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAUJNQG6HD2JFJLHALCD7N3RIFDQJANCNFSM4LOX7J4Q.

Hi @msavazzi , thank you for the clarification! Are you saying that this doesn't work to create LocalDB for you?
"C:\Program Files\Microsoft SQL Server\130\Tools\Binn\SqlLocalDB.exe" create LocalDBApp1
Additionally, you're not able to connect with a connection string similar to:
np:\\.\pipe\LOCALDB#F365A78E\tsql\query
Am I understanding correctly?
Thanks!
Masha from the SQL Docs team

The commands from command line like the ones you posted work.  The issue is how to create the localDB programmatically... from C# or VB.net code. This is what is missing

@msavazzi , ahh okay, I understand now, thank you for the clarification :)
In that case, I have created an internal work item to track this work (1699520) and will keep the Git Issue closed in the meantime.
Thank you so much for providing your feedback and improving our documentation! Please feel free to comment should you need anything further.
Thanks again and hope you have a great weekend!
Masha from the SQL Docs team

Hi @msavazzi , does this information help?
For more information about including LocalDB in an application, see Visual Studio Local Data Overview, Create a database and add tables in Visual Studio.
Thanks!
Masha from the SQL Docs team

Mahsa,
Thank you very much, those pages help me in the next steps… once the LocalDB is created.
What I was trying to achieve was to create the LocalDB database at runtime.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Masha at<EMAIL_ADDRESS>Sent: Friday, March 20, 2020 19:40
To<EMAIL_ADDRESS>Cc: Massimo<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/sql-docs] Issue creating a localDB at Runtime (#4371)
Hi @msavazzihttps://github.com/msavazzi , does this information help?
For more information about including LocalDB in an application, see Visual Studio Local Data Overviewhttps://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2012/ms233817(v=vs.110), Create a database and add tables in Visual Studiohttps://docs.microsoft.com/en-us/visualstudio/data-tools/create-a-sql-database-by-using-a-designer?view=vs-2019.
Thanks!
Masha from the SQL Docs team
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/4371#issuecomment-601854629, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAUJNQA77Y6ZSMH5JWZK6HDRIO2BXANCNFSM4LOX7J4Q.

Hi @msavazzi , LocalDB is installed when SQL Server Express with Advanced Series is installed. It's not created during run time. This blog  explains it:
LocalDB is installed once on a machine (per major SQL Server version). Multiple applications can start multiple LocalDB processes, but they are all started from the same sqlservr.exe executable file from the same disk location.
Is starting the process what you mean when you say "create at runtime"?
Thanks!
Masha from the SQL Docs team

Masha,
sorry for not making it clear.
I install SQL Server Express with all the options.
During the install the basic LocalDB files are installed.
Now I want to create another DB “Test.mdf” in a specific folder and to use it from my app.
In the page is explained how to create the Test.mdf from the SQL Server CLI or the SSMS… but this is NOT what I want.
I want to create the Test.mdf with VB.NET / C# code, from the application… as response (for example) to a New command.
M
Da: Masha at MSFT<EMAIL_ADDRESS>Inviato: lunedì 23 marzo 2020 23:09
A: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Massimo Savazzi<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Oggetto: Re: [MicrosoftDocs/sql-docs] Issue creating a localDB at Runtime (#4371)
Hi @msavazzihttps://github.com/msavazzi , LocalDB is installed when SQL Server Express with Advanced Series is installed. It's not created during run time. This blog https://www.pixelstech.net/article/1333167223-Introducing-LocalDB-an-improved-SQL-Express explains it:
LocalDB is installed once on a machine (per major SQL Server version). Multiple applications can start multiple LocalDB processes, but they are all started from the same sqlservr.exe executable file from the same disk location.
Is starting the process what you mean when you say "create at runtime"?
Thanks!
Masha from the SQL Docs team
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/4371#issuecomment-602882946, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAUJNQGFBU66LSDDKZ6BIVTRI7MZTANCNFSM4LOX7J4Q.


[windows][system probe] Fix crash when probe is misconfigured on windows

Fixes crash discovered by accident in unrelated testing.
Inadvertendly enabled the process events with
event_monitoring_config:   network_process:     enabled: true   process:     enabled: true     enable: true
while not enabling CWS.  This resulted in a crash when the stats method was called with fim not initialized.
Fixes the crash.
Motivation
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
Install agent.
In system probe yaml, enable event stream as above, but do NOT enable CWS.
observe crash (without fix) and no crash (with fix)

/merge

/merge


IKS: Remove Email/PhoneNo. Integration

Task Description
Users should have the option to delete the email(and phone no, once introduced) that they have submitted for IKS.
Allows for GDPR compliance.

https://xd.adobe.com/view/f1543c84-c25a-4ad6-81ca-1e0c540e956e-a407/screen/c33c6e98-cf27-4cbd-b1a4-c962aa44e4d3/
content and illustration pending
@Deveshshankar

Verified this issue eon keeper app v 1.1.9(288)


test: give a try of CardWebComponent into uPortal latest

create an  advanced CMS portlet in uPortal. and see what happens...
check if switching uPortal language into french, and look if the component is in french

cc @ChristianMurphy @drewwills @asgrant @bpowell

in recia uPortal latest with custom skin deployment... 👍


YARN cluster mode failure in Linux

Client mode works fine in Linux but cluster mode fails with the message like the following:
CSharpRunner.main]Cannot run program "SparkClrPi.exe": error=2, No such file or directory
We may have to add "." to the exe before launching it as a process in CSharpRunner.
@kai-zeng & @tawan0109 - FYI

Agreed.

Fixed with https://github.com/Microsoft/Mobius/commit/4004001732470d619633ee311fd7e9ca56f79b8a


[#3503] Add support for MSI to DotNet's samples and generators - ARM preexisting RG parameters (2/2)

Addresses # 3503
Description
This PR updates the dotnet samples' ARM preexisting-rg-parameters.json files to include the parameters required to support MSI.
Detailed Changes

Added appType, tenantId, existingUserAssignedMSIName, and existingUserAssignedMSIResourceGroupName to the preexisting-rg-parameters.json files.
Added the missing file in samples:

60.slack-adapter
61.facebook-adapter
62.webex-adapter
63.twilio-adapter
language-generation/05.a.multi-turn-prompt-with-language-fallback
language-generation/05.multi-turn-prompt
language-generation/06.using-cards
language-generation/13.core-bot

Testing
This image shows the bots being deployed and tested successfully after the changes

Promoted to MS in PR# 3544


Throttle on only a single route

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe it
My challenge is how to apply throttling to a specific route without setting up a global throttle. My concern arises from the necessity to log every single request from every single user (in memory) when establishing a global throttling system, to ascertain whether the new request necessitates throttling. How can I accomplish this?
Describe the solution you'd like
Globally config it like:
imports: [
    ...
    ThrottlerModule.forRoot()
]

and use it like this on the route:
@Throttle([{ limit: 3, ttl: 60000 }])
@Get()
findAll() {
  return "List users works with custom rate limiting.";
}

Notes:

It's better to remove the default keyword on the Throttle decorator
It's good to add support for arrays inside the Throttle decorator
I have tested the global config and added a guard with an empty config and it doesn't work.

Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
For more customizations and more control for throttling and saving more space.

@canoir it was your company's concern too, right?

Okay, I think I see the request here. Instead of being forced to use the ThrottlerModule it would be nice to set the @UseGuards() and @Throttle() on a case-by-case basis, correct?
I think the ThrottlerModule should still be imported for the access to the storage service, but that may be movable to not be required in a dynamic module, or we just keep the forRoot as is and allow an empty function call (easiest as there's no changes there)
In the @Throttle(), I can probably allow it to take in the config or a record of name: config for sake of ease and transform it under the hood. If we were to take in either the record or the array, if the array had two configurations, both without name, the latter would overwrite the former and lead to unexpected behavior. Do you think this would make for a good DX?

As for the initial "How can I implement this?", so long as there's a config object passed to the forRoot() (something that has a ttl and limit, it can be ridiculous numbers too, e.g. [{ limit: 0, ttl: 0 }]) the n the guard should work with the overwrite from the @Throttle() decorator

Okay, I think I see the request here. Instead of being forced to use the ThrottlerModule it would be nice to set the @UseGuards() and @Throttle() on a case-by-case basis, correct?
I think the ThrottlerModule should still be imported for the access to the storage service, but that may be movable to not be required in a dynamic module, or we just keep the forRoot as is and allow an empty function call (easiest as there's no changes there)
In the @Throttle(), I can probably allow it to take in the config or a record of name: config for sake of ease and transform it under the hood. If we were to take in either the record or the array, if the array had two configurations, both without name, the latter would overwrite the former and lead to unexpected behavior. Do you think this would make for a good DX?
As for the initial "How can I implement this?", so long as there's a config object passed to the forRoot() (something that has a ttl and limit, it can be ridiculous numbers too, e.g. [{ limit: 0, ttl: 0 }]) the n the guard should work with the overwrite from the @Throttle() decorator

I agree with you and about the name: config , I think that is great too, our need is exactly what you said, but your other answer make me a bigger question, what will happen if we pass ttl: 0 and limit 0 to global config?  I mean if the guard only passes cause of 0 then there is a little bit shitty but solution to our problem even now, right?

The idea I suggested was just to make sure that there was a default config so that the @Throttle() override properly works. So long as the guard is not applied to any routes without the @Throttle() then the point is moot,. If it is, you'll find out pretty quickly :smile:

Hi guys is this the right types declaration ?
export declare const Throttle: (limit?: number, ttl?: number) => MethodDecorator & ClassDecorator;
export declare const SkipThrottle: (skip?: boolean) => MethodDecorator & ClassDecorator;
export declare const InjectThrottlerOptions: () => PropertyDecorator & ParameterDecorator;
export declare const InjectThrottlerStorage: () => PropertyDecorator & ParameterDecorator;

I see everywhere in the doc @Throttle({limit: 10, ttl: 60000}) or @Throttle(default: {limit: 10, ttl: 60000}) but the types I have is actually a function that take 2 arguments 🤔

It took me an hour to realize that I need to have a default config block, even if I'm not using it. I'd say it should have a default if not specified.

So, I'm not sure if I'm just doing something wrong but:

[x]  Global throttling configuration with a global  ThrottlerGuard provider works
[ ] Global throttling configuration + overriding controller method (ignored)
[ ] Global throttling configuration + overriding controller method + providing ThrottlerGuard specifically for module (ignored)

How would I mark only certain routes to be throttled then?
@Throttle({ long: { limit: 5, ttl: 60000 } })

@dominic-schmid currently it would be like this:

import throttler with a default configuration provided
mark your route with the @Throttle line and a @UseGuards(ThrottlerGuard)

For all routes to be affected, there is another way to apply the ThrottlerGuard globally. Otherwise, it is only going to affect specific routes marked with the ThrottlerGuard.
This issue is concerning step 1 - it would be better if there was a preconfigured "default" rather than needing to specify a dummy configuration if you are using custom limit/ttl for each route.

Having same problem - I do use module with default configuration, however there are routes that I would like to lower the rate limit. Currently I cannot do it without overriding default configurations... Any ideas how to workaround it?

Having same problem - I do use module with default configuration, however there are routes that I would like to use different rate limit that is defined in module. Currently I cannot do it without overriding default configurations... Any ideas how to workaround it?

@jvvcn that's kind of the idea of what should be done. Is there something you'd rather be able to do?

I have the same problem and need like you do.
I haven't found any solutions for how to use Throttle without global setup, but I have an alternative for you.
In app.module.ts you can set conditions for using Throttle for some routes by skipIf method.
import { ThrottlerGuard, ThrottlerModule } from '@nestjs/throttler';
import { Request } from 'express';

@Module({
    imports: [
        ThrottlerModule.forRoot([{
            ttl: (1000 * 60 * 5),
            limit: 5,
            skipIf: (ctx: ExecutionContext) =>
            {
                // Here you can.
                const request = ctx.switchToHttp().getRequest() as Request
                return request.path !== '/api/v1/auth/check-something'

                /**
                 * --------------------------------------------
                 * Alternative, use regular expression to make condition for multiple routes.
                 * --------------------------------------------
                 *
                 * return !/check-cat|check-duck|check-something/gi.test(request.path)
                 */
            }
        }]),
    ],
    controllers: [
        AppController,
    ],
    providers: [
        {
            provide: APP_GUARD,
            useClass: ThrottlerGuard
        },
    ],
})

export class AppModule {}

If your target route hasn't too many, I think this way may help you.


Add Expressa to Javascript

[x] verified that the CMS I'm adding is still maintained.
[x] read CONTRIBUTING.md.
[x] did not generate README.md.

Thanks, @thomas4019!


Investigate ORCA Transit Voucher for Seattle Housing Authority

Product requirements ahead of SHA Launch
Tentative Launch Date
TBD
Links to product requirements
Additional context

This program has been successfully added to CiviForm.


Fixing build and style ci with tests now

Signed-off-by: Aaron Chong<EMAIL_ADDRESS>
Bug fix
Fixed bug

Build workflow was out-of-date,.
Fix applied

Fixed build test workflow
Changed name of build test to ci
Added style check workflow as well

Closing in favor of https://github.com/open-rmf/free_fleet/pull/95


Skip tests that segfault when using SciPy 1.3.x

Avoid two tests that segfault within SciPy when it is version 1.3.* (or 1.4.0rc1). See scipy/scipy#11125.
Hopefully this will be fixed prior to the final 1.4.0 release.

Thanks. Could you add a link to https://github.com/scipy/scipy/issues/11125 to each test?

Jenkins, test this please

Jenkins CI test (for commit 7a64b2714cc5d7b5805b4b886276b55e139cc912, target branch master) failed with status FAILURE.

sorry about the typo in with_requires. I have verified that the tests pass locally now.

NP! Jenkins, test this please

Jenkins CI test (for commit 1760cdaf3dbabf5fd851df412fb4e4dbd78cf2f7, target branch master) succeeded!


This will stop working in Home Assistant 2025.1

Hello,
Just noticed this log entry, have not seen this issue registered.
"Detected code that calls async_forward_entry_setup for integration panasonic_cc with title: and entry_id: removed, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue."

Hello,
This is handled in the new v1.1.0


Feature Request: Export to journal after browsing away from an existing inline webview

Desired use:

Launch a previously created webview. Currently I have one that goes to the homepage of my campaign tracking webpage (scabard.com)

Browse around that website for a while until I found another entry that I would like a journal entry of.

Export

Currently the above steps create another journal entry for the original home page.
Additionally/Alternatively - Do the above from within an existing webview journal entry.

Sorry, this is not possible, because of browser security features you can only see the initial url of an iframe through javascript, and not any url you navigate to after.
I could theoretically add a messaging tunnel in compatability/browser extension mode, but not right now.

Thanks for your response and your efforts!
On Thu, Jun 3, 2021, 6:05 PM ardittristan @.***> wrote:

Sorry, this is not possible, because of browser security features you can
only see the initial url of an iframe through javascript, and not any url
you navigate to after.
I could theoretically add a messaging tunnel in compatability/browser
extension mode, but not right now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ardittristan/VTTInlineWebviewer/issues/15#issuecomment-854216585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUIXQV5RBDTNRKYPUD5NMXDTQ74EBANCNFSM454JC2FQ
.


Icon request - codm

Dear developers, please add Call of duty mobile icon
Package com.activision.callofduty.shooter

It's in progress in #297 👍

Hello! Weʼre switching to a new system for icon requests in order to be able to better manage them. From now on, icon requests can be submitted here: https://forms.gle/Fx8vZAiWdW1Tyjo57. If your icon request hasnʼt yet been fulfiled, it has been copied to our new icon request database, meaning no action is required. Consequently, this issue will be closed.


[WebToolsE2E][Aspire][Unstable] Publishing Aspire project failed, it shows an exception ''resource not found: 0 resource groups with prefix or suffix with value: 'xxx''

INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10.0 Preview 5 [rel.d17.10-34818.151] includes Aspire 8.0 P6 [8.0.0-preview.6.24214.1]
Apply dotnet-tools Feed
Install latest daily azd [1.9.0-beta.1-daily.3712265]
Install git [2.44.0.windows.1]

REPRO STEPS
Create a new Aspire Starter App project using VS or CLI
Open Command Prompt and navigate to the solution path of this project
Run 'azd init', select 'Use code in the current directory' > Confirm and continue initializing my app, type a new environment named bennett, press enter
Run 'azd up', and select Subscription to WTE and select Location to East US, press enter
Note:

If you create a resource group named A, and then create A1, A2, etc., it will be easier to reproduce this bug.
Even if the resource group has been deleted for a long time, this bug will reproduce if the resource group is created again.
You will reproduce this bug whether you publish using VS or CLI.
There is an existing bug #3559 here but it has been closed.

ACTUAL
Deploying services (azd deploy)
(x) Failed: Deploying service apiservice
ERROR: getting resource group name: getting default resource groups for environment: bennett: resource not found: 0 resource groups with prefix or suffix with value: 'bennett'
ERROR: error executing step command 'deploy --all': getting resource group name: getting default resource groups for environment: bennett: resource not found: 0 resource groups with prefix or suffix with value: 'bennett'

EXPECTED
Publish successfully

@v-bennettyue this happens when you delete the resource group manually from the portal and not using delete from VS with force option enabled i.e., azd down. To properly clean things up,
Please check/query for any deployments which existing with the environment name you planning to re-use,
> az deployment sub list --output table --query "[].name" | grep "aspire-starter"
aspire-starter-old-1713370727
aspire-starter-1713370494

Delete those and re-use the environment name
> az deployment sub delete --name aspire-starter-1713370494
> az deployment sub delete --name aspire-starter-old-1713370727

cc @weikanglim @vhvb1989

@rajeshkamal5050 This error occurs when I try to use this command "az deployment sub delete --name bennett1"to delete a group. Did I do something wrong?

@v-bennettyue doubt if you don't have the privileges to delete subscription level deployments cc @weikanglim @vhvb1989

@v-bennettyue Make sure to run az account set --subscription <Subscription name or ID> to the correct subscription before running az deployment sub delete --name bennett1. Alternatively, you can target the subscription explicitly in the deletion az deployment sub delete --name bennett1 --subscription <Subscription name or ID>.

@weikanglim @rajeshkamal5050 After I run az account set --subscription <Subscription name or ID> and az deployment sub delete --name bennett5, there is no information displayed here.

At the same time, I have deleted this group on portal, and then when I re-publish and create same name of the resource group, I still encounter this bug. Is there something I did wrong?

@rajeshkamal5050 This issue not repro on Dev17.10 GA (34908.272.d17.10). But for now, I can publish more than one project to this resource group, Is this expected? If so, please close this bug. Thanks.


how to change scroll direction midsong

setPropertyFromClass('ClientPrefs', 'downScroll', true) doesnt seem to work
im using 0.5.2h

setPropertyFromGroup('(opponentStrums/playerStrums)', (0 for left, 1 for down, 2 for up, 3 for right), 'downScroll', (false/true))


TaskJointPosVelAccBounds: Swapped default values for qMin/qMax

In the constructor of  the TaskJointPosVelAccBounds class, qMin is set to +1e10 (positive value) and qMax -1e10 (negative value), such that qMin > qMax. I believe this should be the opposite, right?
This is not crucial as long as position limits are reset after (which is the normal use), but in case someone were to set only velocity limits and use default position limits, this might lead to an infeasible problem.

You are right @paulinejmaurice ! Thanks for spotting this. Can you do a PR to fix this?


Unset passcode.

I didn't set a passcode and now the xfce won't allow me to download anything due to the fact that I never set a passcode. Is there any way for me to set one now? Thanks.

@genevieve666,
Sorry, I need more details.
You didn't set a passcode for what exactly -

for the chroot user?
for a chroot encryption key?
for Chrome OS?

Can you get into your chroot?
If so, you can enter it as root and set a password for the user.
Let us know if this is what you want and we'll try to help.
-DennisLfromGA


[Datasets] Add Vietnamese letters

This PR:

add Vietnamese letters
update corresponding documentation vocab table

Hi @MinhChien9 :wave:,
Thanks for the PR :+1:
Could you please shortly explain what was wrong within the current vietnamese vocab ? :sweat_smile:

Hi @MinhChien9 👋,
Thanks for the PR 👍
Could you please shortly explain what was wrong within the current vietnamese vocab ? 😅

It is missing the letters đ and Đ