Upgrading to version 4.2.0

I receive a gradle error when I did flutter pub upgrade
../../apps/flutter/.pub-cache/hosted/pub.dev/flutter_form_builder-4.2.0/lib/src/fields/form_builder_typeahead.dart:184:9: Error: Expected 0 type arguments.
final TextFieldConfiguration textFieldConfiguration;
To solve the problem I had do to then flutter pub downgrade, but it downgraded all other dependencies. Please fix this.

Same error.

Same error.

just ran into the same error

just ran into the same error

This is a duplicate of #674.
o remediate it just add flutter_typeahead: <=1.9.1 to pubspec.yaml as suggested by @Silfalion here:

Found the issue. It was weird since everything was working fine yesterday and not anymore this morning. Turns out the flutter typehead dev pushed an update yesterday/this morning which causes the problem because flutter form builder is depended on it.
Long story short, in the meantime that the dev of typehead fixes the issue, add this to your pubspec.yaml and everything should work:
flutter_typeahead: "<=1.9.1"
Opened an issue as well on their repo if anyone's interested: AbdulRahmanAlHamali/flutter_typeahead#270 (comment)

This is a duplicate of #674.
o remediate it just add flutter_typeahead: <=1.9.1 to pubspec.yaml as suggested by @Silfalion here:

Found the issue. It was weird since everything was working fine yesterday and not anymore this morning. Turns out the flutter typehead dev pushed an update yesterday/this morning which causes the problem because flutter form builder is depended on it.
Long story short, in the meantime that the dev of typehead fixes the issue, add this to your pubspec.yaml and everything should work:
flutter_typeahead: "<=1.9.1"
Opened an issue as well on their repo if anyone's interested: AbdulRahmanAlHamali/flutter_typeahead#270 (comment)


Address long-standing todo to rename ApiIsolate

Rename Worker::ApiIsolate to just Worker::Api... aliasing the old name along with a [[deprecated]] attribute until the internal repo can be updated to use the new name.
Renaming ApiIsolate has been a long standing todo since the Isolate name is rather overloaded.

Does this need a paired internal PR?

Eventually. I've aliased ApiIsolate so the internal stuff should still Just Work. I'll run an internal CI before landing this but the internal PR can be done separately.


User role not added to roles raises error on checking permission

In class RoleAuthentication there is a method called check_permission. In case the role of user is not defined in roles.py, it raises KeyError.
I'd suggest to change method to:
    @classmethod
    def check_permission(cls, role, permission):
        """
        Check if role contains permission
        """
        result = permission in settings.ARCTIC_ROLES.get(role, [])
        # will try to call a method with the same name as the permission
        # to enable an object level permission check.
        if result:
            try:
                return getattr(cls, permission)(role)
            except AttributeError:
                pass
        return result

Is this still an issue?

I can confirm this issue. I ran unittests with an admin user, calling if self.check_permission(self.request.user.urole.role.name, 'dashboard_widgets'):. Admin is not existing in the ARCTIC_ROLES, so it breaks.


Vanity.ab_test when called from views doesn't work with use_js = true

Hi there,
This PR is not for merge, but includes failing tests to describe an issue we've been having.
Steps to reproduce:

Configure vanity with use_js = true
Set up an A/B experiment :pie_or_cake
Use Vanity.ab_test(:pie_or_cake) in a view

Expected behaviour
Visitors to the page hosting the tested view should be added to the experiment via the JS callback
Actual behaviour
No callback is sent, and visitors are not added
Issue Description
We've been using Vanity and were confused by the methods ab_test(:pie_or_cake) and Vanity.ab_test(:pie_or_cake).  Calling the latter from a view does not lead vanity_js to add participants to the experiment. However calling ab_test(:pie_or_cake) followed by vanity_js in the same view does work.
The tests included in this PR illustrate the difference in behaviour.
Vanity.ab_test(:pie_or_cake) only works when the experiment is initiated in the controller.
I think this can be attributed to the fact that the vanity method ab_test exists twice in the codebase of the Vanity gem [1][2]. When calling ab_test the method ab_test from [1] is invoked and when calling Vanity.ab_test the method ab_test from [2] is invoked.
The difference between the two seems to lie in how information about the initialization of the Vanity AB test for a participant is shared between the controller and the view. When Vanity.ab_test, meaning ab_test from [2] is called from the view the information is merely set on the instance of the controller at a time the view has already been rendered.  Subsequently a call to vanity_js [3] from the same view does not insert the Javascript snippet into the view needed to add participants to the experiment.
Therefore Vanity.ab_test works when being called from the controller prior to rendering of a page that calls vanity_js. If the Vanity experiment should be initialized from a view or one of its helpers we should call ab_test instead.

[1] https://github.com/assaf/vanity/blob/master/lib/vanity/frameworks/rails.rb#L226
[2] https://github.com/assaf/vanity/blob/master/lib/vanity/helpers.rb#L36
[3] https://github.com/assaf/vanity/blob/master/lib/vanity/frameworks/rails.rb#L253

Unfortunately we were not able to find a fix for this issue, but hopefully reproducing this behavior in the test is somewhat useful.

@neudabei thanks for the test case, I'll see if I can take a look at fixing this.

@neudabei I've pushed a fix on the bugfix/js branch, which fixes the test case here. Want to give it a shot before I merge it?

@phillbaker That fixed it. We are now able to call either Vanity.ab_test(:pie_or_cake) or ab_test(:pie_or_cake) in the view. The JS callback works in both cases and participants are added to the experiment.
That's great. Thanks a lot for the fix!


Add dates for 2022

yeet

very nice

oh gosh term starts next week i am not ready

LGTM, thanks :)

also yes, AHHHHHHHHHHh


Envoy crashes when calling RecordValue() for a histogram stat.

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: Cannot Record values for a histogram stat.
Description:
I have created some stats for Envoy using the following snippet:
#define ALL_STATS(COUNTER, GAUGE, HISTOGRAM) \
  COUNTER(processed)                         \
  GAUGE(duration, Accumulate)                        \
  HISTOGRAM(latency, Milliseconds)

struct AllStats {
  ALL_STATS(GENERATE_COUNTER_STRUCT, GENERATE_GAUGE_STRUCT,
                            GENERATE_HISTOGRAM_STRUCT)
};

However, when I try to record the value for the histogram I get the following error. Note that incrementing the Counter values work just fine, but the histogram throws errors because of how it interacts with the tls.
stats_->latency.recordValue(1000);

E1119 20:23:09.289219 2475011 thread_local_impl.cc:107] [assert] assert failure: currentThreadRegisteredWorker(index).
 Would that be related to stats creation and recordValue are executed on different threads?
Thanks,
Parsa

cc @wbpcode

cc @jmarantz

Thanks jmarantz@, I finally got to test and verify that the histogram works when posted on the Main dispatcher. Not sure if we can post on the Worker threads, but yeah the problem was pretty much it.


feat: update pgwire to 0.19

Rationale
pgwire author here. This patch updates pgwire to 0.19 which contains compatibility fixes and API improvements.
Detailed Changes
Test Plan
Pass CI

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The style check failure is caused by upgrade of chrono. I guess we can only upgrade pgwire. Let me fix it.

By the way, I'm having trouble with compiling librocksdb-sys on my archlinux:
  --- stderr
     Entering             /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/third-party/gtest-1.8.1/fused-src/gtest
     Called from: [1]	/home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
     Returning to         /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb
     Called from: [1]	/home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
     Entering             /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/tools
     Called from: [1]	/home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
     Returning to         /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb
     Called from: [1]	/home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/CMakeLists.txt
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::FlushWAL(bool)’:
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1349:23: error: redundant move in return statement [-Werror=redundant-move]
   1349 |       return std::move(io_s);
        |              ~~~~~~~~~^~~~~~
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1349:23: note: remove ‘std::move’ call
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1353:23: error: redundant move in return statement [-Werror=redundant-move]
   1353 |       return std::move(io_s);
        |              ~~~~~~~~~^~~~~~
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1353:23: note: remove ‘std::move’ call
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::LockWAL()’:
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1470:19: error: redundant move in return statement [-Werror=redundant-move]
   1470 |   return std::move(status);
        |          ~~~~~~~~~^~~~~~~~
  /home/sunng/.cargo/git/checkouts/rust-rocksdb-a9a28e74c6ead8ef/f04f4dd/librocksdb_sys/rocksdb/db/db_impl/db_impl.cc:1470:19: note: remove ‘std::move’ call
  cc1plus: all warnings being treated as errors
  make[3]: *** [CMakeFiles/rocksdb.dir/build.make:555: CMakeFiles/rocksdb.dir/db/db_impl/db_impl.cc.o] Error 1
  make[3]: *** Waiting for unfinished jobs....
  make[2]: *** [CMakeFiles/Makefile2:142: CMakeFiles/rocksdb.dir/all] Error 2
  make[1]: *** [CMakeFiles/Makefile2:149: CMakeFiles/rocksdb.dir/rule] Error 2
  make: *** [Makefile:172: rocksdb] Error 2
  thread 'main' panicked at /home/sunng/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:

  command did not execute successfully, got: exit status: 2

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Is librocksdb-sys a required dependency? I wonder if there is any way to skip it.

Is librocksdb-sys a required dependency?

make build-wal-table-kv

It will build without rocksdb.

The style check failure is caused by upgrade of chrono. I guess we can only upgrade pgwire. Let me fix it.

It seems impossible to only upgrade pgwire. The deprecated method is replaced with the right one.

@sunng87 The CI has passed. Thanks.


No audio through speaker when running in Background

Description
The sample application contains a function called "toggleAudioRoute:(BOOL)toSpeaker".
In our application, we programmatically initiate an outgoing call. I have used toggelAudioRoute to force the call through speaker. This is working fine with the iOS app running in foreground, but it does not work when the app is running in the background (either locked iPhone or just with the app in the background). From both ends of the line, nothing can be heard. Any thoughts?
Voice iOS SDK
TwilioVoice sdk 3.1.1
Xcode
10.3
iOS Version
12.4
iOS Device
Any device

Just to elaborate as done here as well: https://github.com/twilio/twilio-video-ios/issues/8
Twilio provides two example implementations for integrating TwilioVoice: one using CallKit and one without. The integration in application is based on the one that's not using CallKit (as we have our own calling UI integration and don't want to use the Apple calling UI, etc).
Our outgoing call is initiated programatically and forced through the speaker and has been working perfectly. However, we have now noticed that the audio does not work when the call is initiated while backgrounded. It also doesn't work when not forcing through speaker, so that doesn't matter. The call itself is actually there, it's just the audio thats absent. However, when the call is initiated with the app in foreground, and when you then switch to background, the audio keeps working fine.

More info: If I enable Twilio debug info, I can see this error in the log, which is probably related to the no-audio problem when the app is backgrounded:
AUIOClient_StartIO failed (561145187)
Some solutions to this general error, suggest enabling AVAudioSessionCategoryPlayAndRecord for the AudioSession. It does however not solve the problem in this case.
Looking elsewhere, I found that this seems to be occurring since iOS 12.4 and iOS 13. I have just verified, the problem does NOT occur on iOS 11.x, but it does on 12.4!
On 11.x our app works fine on with the outgoing call and correct audio while the app is backgrounded. I haven't found a solution yet for this problem on iOS 12.4 (and potentially iOS 13).

Hi @jvanakker
Thanks for providing helpful debugging info! Sorry for my lack of response but I have logged a ticket for tracking the issue. We will keep you posted when we make any progress.
Cheers,
-bobie

Hi @jvanakker
How is the outgoing call programmatically triggered in your application? is it possible for you to provide SDK log when the no audio issue is happening?
Thanks,
-bobie

Hi @jvanakker
Curious if the no-audio issue is still happening in your environment on iOS 13.1 beta (4)?
-bobie

Hi @jvanakker
We haven't heard back from you and team but would like to check in and see if the no-audio issue is still happening on the latest iOS (13.1.1/2) since we heard from one of the developers mentioning that Apple has fixed a related audio issue on iOS 13.
Despite the efforts we made to try to reproduce the audio issue but we couldn't reproduce the no-audio problem so we would like to learn about how the calls are initiated programmatically as described above.
Thanks,
-bobie

Hi @bchen-twilio
The problem still occurs under iOS 13.0, 13.1.1 and 13.1.2. We have replicated the same situation and there is the same AUIOClient_StartIO failed (561145187) error.
As requested, I mailed the SDK log to the email adres on your github profile.

Thanks for providing the log @jvanakker. We will try to reproduce the investigate the root cause of the error.
-bobie

HI @jvanakker
I managed to reproduce and see the AUIOClient_StartIO failed (561145187) message when starting the call from the background, however the steps I took might not necessarily be the same as yours since I need to first trigger a VoIP notification to bring the app back from the suspended state:

launch and background the app
upon receiving the call invite, report the call to CallKit but immediately end it
place an outgoing call

The call was placed in step 3 but the audio unit failed to start. Here is my code:
- (void)callInviteReceived:(TVOCallInvite *)callInvite {
    // ...
    [self reportIncomingCallFrom:from withUUID:callInvite.uuid];
    [self performEndCallActionWithUUID:callInvite.uuid];

    self.call = [TwilioVoice connectWithDeleagte:self];
}

I tried reporting the outgoing call via CallKit and was able to get audio working. We would be very interested in learning how the outgoing call is made from the background in your environment. I am using iOS 13.1.2 and Xcode 11. We will continue the  investigation and keep you updated.
Thanks,
-bobie

I tried another scenario and this time the audio seems to work fine for me:

launch and background the app
monitor the UIApplicationWillResignActiveNotification notification
in the handler place an outgoing call via CallKit (only via CallKit then the app can escape from the suspended state and proceed with the connection)

Code:
- (void)viewDidLoad {
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(appWillResignActive:)
                                                 name:UIApplicationWillResignActiveNotification
                                               object:nil];
}

-(void)appWillResignActive:(NSNotification*)notitification {
    [self performStartCallActionWithUUID:[NSUUID UUID] handle:@"bob"];
}

-bobie

Hi @jvanakker
Haven't heard back from you but would love to learn if there is any updates from your end.
Thanks,
-bobie

Hi @bchen-twilio
Our app is continuously running in the background. It automatically performs a call to a pre-determined number in some situations.
This is quick code snippet of initiating the call using the Non-CallKit method:
`TVOConnectOptions *connectOptions = [TVOConnectOptions optionsWithAccessToken:self.twilioToken
block:^(TVOConnectOptionsBuilder *builder) {
builder.params = @{kTwimlParamTo: self.twilioPhoneNumberToBeCalled};
}];
self.twilioCall = [TwilioVoice connectWithOptions:connectOptions delegate:self];

self.callKitCompletionCallback = completionHandler;

self.phoneIsCallingTwilioVoip = YES;`

Hi @jvanakker
Thanks for the update.
While we are also able to reproduce the no-audio problem (without using CallKit) but unfortunately it seems to be an issue in recent versions of iOS and there hasn't been a fix. This is a developer forum thread discussing the issue: https://forums.developer.apple.com/thread/119487.
It seems iOS is forcing some restriction on starting recording when the app is not in the foreground. This is the error message we saw from the OS log:
mediaserverd	-CMSUtilities- CMSUtility_IsAllowedToStartRecording: CMSession: Client <private> with PID 1879 is in the background and doesn't have the entitlement to start recording in the background.

We will keep tracking the issue and will let you know when there is update available.
Thanks,
-bobie


Developer

Version 1.4.0
Author: LabRiceCat
Date: 26.10.2022
What I added

Structs!
new stdlib function!
many bugfixes!
quality of life updates!
new operators!
function overloading!
a logo!
Bugs!

Woooo! We did it! (´ ω `♡)


Setup travis-ci

Start xvfb for testem
Use only firefox in CI

PhantomJS takes too much time to dealing with indexedDB
chromium fails to launch in CI

Persistence strategies besides memory are not tested yet

Any suggestion would be appreciated.
fix #11

Looks great. Is there anything else I should do. Like add the repository to Travis etc? Adding a badge to the readme would also be nice.

Thank you for taking your time. Yes, once you turn on the repository in Travis CI, it supposes to start building. Please see "2." and "3." in this guild. We can embed a badge afterward.

It's working. Ya! Thanks again.


Train/Test for multiple people in the scene

Thank you for amazing work. I have tested inference and it worked out of the box great.
However I want to test this on in-the-wild videos where there are multiple people in the scene. After looking at the code I see you are always assuming there is only one person in the scene.
How to run inference as well as train for multiple person in the same frame? Do I have to separate each person's 2d pose based on tracking and then do the inference?
Thanks,
Jagdish Bhanushali

Thanks, @jagdishbhanushali.
That's true when we have multiple people you have to do person detection/tracking first, crop the region containing a single person and then give it to the model.


Custom theme functionality2

If I save a custom theme I cannot go back to the original static themes.


Upgrade KeystrokeList and Log objects

Log will still not be exposed to client but it can be made useful for the readability and maintenance of future code.
class KeystrokeList:
...
method remove_keystrokes(self, allow_unicode) that removes any keystrokes that have a False .valid value (or strips non-typeable)

Closing issue, logs are handled using Analyze class, while KeystrokeList objects have methods that can be called using the Keys object in client/validate.py


Zend_Locale_Format is not locale aware

Zend_Locale_Format is not local aware
Version: 1.12.12dev
Class: Zend_Locale_Format
This manual section:
http://framework.zend.com/manual/1.12/en/zend.locale.introduction.html
Gives me the idea that Zend_Locale_Format should be among the classes which are locale aware, but it isn't:
$number = 1337;

$oLocale = new Zend_Locale;
Zend_Debug::dump($oLocale->toString()); //My locale is: en_US
Zend_Debug::dump(Zend_Locale_Format::toNumber($number)); //returns: 1,337 as expected for en_US

$oDesiredLocale = new Zend_Locale('nl_NL');
Zend_Registry::set('Zend_Locale', $oDesiredLocale);

Zend_Debug::dump(Zend_Locale_Format::toNumber($number)); //returns 1,337 expected is: 1.337

Zend_Locale_Format::setOptions(array('locale'=>$oDesiredLocale));

Zend_Debug::dump(Zend_Locale_Format::toNumber($number)); //returns 1.337  as expected

Either I misinterpreted the manual or this is an issue

Gives me the idea that Zend_Locale_Format should be among the classes which are locale aware

No, Zend_Locale_Format is not locale aware.
But this would help:
Zend_Registry::set('Zend_Locale', new Zend_Locale('nl_NL'));

Zend_Debug::dump(Zend_Locale_Format::toNumber($number, array('locale' => null)));

Here is the problem: https://github.com/zendframework/zf1/blob/master/library/Zend/Locale/Format.php#L308
$options['locale'] = (string) $options['locale']; // null to string

Gives me the idea that Zend_Locale_Format should be among the classes which are locale aware

Btw. The documentation says nothing about Zend_Locale_Format.


Implementing string templates preview feature of java 21 for adapter-cqld4 module.

This PR leverages Java 21 String Templates (preview feature).
Changes include:

Utilizing String Templates to replace use of string concatenation.

Updating pom.xml to enable the preview feature in  adapter-cqld4 module.

References:
Issue addressed
String Templates (Java 21 preview)

While I think these are good examples, they are not meaningfully more readable than string concatenation for most of the places where they are used. In general, simple string concatenation is optimized by the Java compiler and runtime, for example into a StringBuilder form. (Newer versions actually analyze the usage patterns and pick the fastest optimization).
It's good to have examples, but the places we expect to see these templates used more often are in usage contexts where we want want to invoke the API of the template system programattically.
For block texts, the """ form works pretty well, although you can see in that example that inline closure references would not be a bad thing.
The original issues which was referenced was merely to enable the string templating features reliably in the build chain so we could use it programmatically.
Examples of where it would be most useful are where we actually do string compositing of values in the construction of bindings. You might look into the Template function and the internal classes StringBindings, StringTemplate, StringCompositor for an example of programmatic string construction. Some care was taken to ensure that this very active code section is reasonably fast. Any changes to it should go along with jmh microbenches to at least verify that we're not slowing things down.
The best place we can use the standard template forms are where we expose the concept of string templating to users. There are some opportunities to align the way this works across systems, or to implement a more direct form of our own design which can be consistent throughout the codebase. Additional benefits include possibly leveraging optimizations provided by the templating feature, although this hasn't been proven yet.


Exception occured

Hi, i'm not sure if this is a problem of fritzinfluxdb or fritzconnect, mayber you can help me
Getting the following output when execute ./fritzinfluxdb.py
`INFO: Done parsing config file
INFO: Connection to InfluxDB established and database present
INFO: Successfully connected to FritzBox
Traceback (most recent call last):
File "/home/collector/environments/fritzinfluxdb/.venv/lib/python3.7/site-packages/fritzconnection/core/soaper.py", line 123, in raise_fritzconnection_error
root = etree.fromstring(response.content)
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1315, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: mismatched tag: line 1, column 156
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./fritzinfluxdb.py", line 200, in
main()
File "./fritzinfluxdb.py", line 182, in main
points = query_points(fritz_client_unauth, unauth_services)
File "./fritzinfluxdb.py", line 60, in query_points
this_result = fc.call_action(service, action)
File "/home/collector/environments/fritzinfluxdb/.venv/lib/python3.7/site-packages/fritzconnection/core/fritzconnection.py", line 218, in call_action
return self.soaper.execute(service, action_name, arguments)
File "/home/collector/environments/fritzinfluxdb/.venv/lib/python3.7/site-packages/fritzconnection/core/soaper.py", line 233, in execute
return handle_response(response)
File "/home/collector/environments/fritzinfluxdb/.venv/lib/python3.7/site-packages/fritzconnection/core/soaper.py", line 218, in handle_response
raise_fritzconnection_error(response)
File "/home/collector/environments/fritzinfluxdb/.venv/lib/python3.7/site-packages/fritzconnection/core/soaper.py", line 133, in raise_fritzconnection_error
raise FritzConnectionException(msg)
fritzconnection.core.exceptions.FritzConnectionException: Unable to perform operation. 401 Unauthorized (ERR_NONE)401 UnauthorizedERR_NONEWebserver Mon, 03 Aug 2020 06:47:12 GMT`

Hi,
Can you please try the "next-release" branch?

Made a complete new installation according to your guide
Now i get this:
(.venv) collector@test-server:/opt/fritzinfluxdb$ ./fritzinfluxdb.py
2020-08-03 07:31:31,869 - INFO: Done parsing config file
2020-08-03 07:31:31,874 - INFO: Connection to InfluxDB established and database present
2020-08-03 07:31:33,566 - INFO: Successfully connected to FritzBox
2020-08-03 07:31:33,566 - INFO: Starting main loop
2020-08-03 07:31:34,189 - ERROR: Requested invalid action: GetInfo
2020-08-03 07:31:34,189 - ERROR: Encountered errors while requesting data. Exit

interesting, which FritzBox Model are you using. Can you run it in "-v" debug mode?

and did you update the config?
please use the new config template and copy your login credentials.
The services and actions changed with the library update.
Sorry

Edited the config file with my database and fritzbox credentials
I'm using a FritzBox 7590 with 7.20
Attached you the output of running it with "-v"
output_verbose.txt

You are not using a PPP connection?
I got the same model and FW version.
you could just delete [service9] from the config and then it should work.
I have to change this behavior as well.

Yes WAN connection itself comes from another device
deleted [service9] from config and the error is gone
Everything seems to work properly now
Thank you for your fast help

Just changed the behavior. You will get an error but the rest of the data is requested and pushed to InfluxDB.

Yes WAN connection itself comes from another device
deleted [service9] from config and the error is gone
Everything seems to work properly now

great

Thank you for your fast help

you're welcome.

released new v0.3.0 version


Do not silently swallow the missed file errors - issue warnings

Currently if typedoc can not find the file, specified with [[include:]] "pragma" it basically ignores the error and does not give any feedback to the user. This makes hard to debug the relative paths, which starts with many directory switches, like ../../../. A warning is very helpful for debugging this problem.

Thanks! Should have a release out this weekend.


fix insertion of empty objects with union all statements

This is an attempt to fix the issue #1684
Considering approach from #1415 , implemented similar empty query conditional check for UNION ALL
will be actively looking out for better approach for the problem.

Thank you!

Released as part of v4.5.0


Adapting NodeJS

There are plenty of site-specific RSS feed builders at https://www.npmjs.com/search?q=rss
Perhaps it would be better to use NodeJS modules.

Looking at the 6th page of the result, you would find rssify which, according to its description, does what I requested in issue #225


TailwindCSS 1.0.0 is out.

Hi :)
https://github.com/tailwindcss/tailwindcss/releases/tag/v1.0.0

Thank you, updated to v1 :)
fdb6e3162c0e66a00e9de32eff71cfd21ee9aa5e


One of the link in the documentation is broken

https://unity-atoms.github.io/unity-atoms/tutorials/unirx on this link,
below the title "Simple Example", the link represented with the text "Basic Tutorial" is broken.

Good catch, linked a PR that resolves it.


Remove EnterExitTransition

This widget doesn't work very well. Once we have a good use case, we
should try building it again.

@Hixie

LGTM. Have you checked with our customers to make sure they're not using it?
cc @apwilson

It looks like @apwilson has one in his codebase, but I'm not sure if that's a part of his codebase that he's still using.

Yes, we're still using it. I spent two days last week to get that working again with the new Animation classes :-)
It's working now, but I'm happy to talk to you next week about alternatives.
@apwilson

Ok, I'll close this pull request.  We should talk about if there's something better we can do for you to replace this.


Save credentials in JSON file

What is the expected feature or enhancement?
When saving credentials to disk today we use ~/.qiskit/qiskitrc file. We can refactor and simplify a lot of the code around this functionality by saving credentials in a JSON file.
Something like in ~/.qiskit/qiskit-ibm.json.
{
    "cloud": {
        "token": "<paste_API_KEY_here>",
        "locator": "<paste_CRN_here>"
    },
    "legacy": {
        "token": "<paste_API_KEY_here>",
        "locator": "<paste_API_URL_here>",
        "verify": True,
        "default_hgp": "hub/group/project"
    },
    "cloud-staging": {
        "token": "<paste_Staging_API_KEY_here>",
        "locator": "<paste_Staging_CRN_here>"
    },
    "legacy-staging": {
        "token": "<paste_Staging_API_KEY_here>",
        "locator": "<paste_API_URL_here>",
        "verify": True,
        "default_hgp": "hub/group/project"
    }
}

We can allow users to store multiple credentials by specifying a name when saving an account. In the above example the user has saved their staging cloud and legacy accounts by passing the names cloud-staging and legacy-staging.
IBMRuntimeService.save_account(token, name="cloud-staging") # save like this
IBMRuntimeService(name="cloud-staging") # initialize like this

A couple suggestions:

Don't add the word runtime to the filename, so we can use a single credential file for all qiskit-ibm repos. This way if a user needs to update their token, for example, they don't have to do it multiple times.
Most users don't/shouldn't have staging accounts. If we are going to allow multiple accounts, we should let people name them, e.g.

IBMRuntimeService.save_account(token, name="personal")
IBMRuntimeService(name=personal)

@jyu00 Sounds good. I've updated the description. Thanks!

Account configuration is now stored in a JSON file at ~/.qiskit/qiskit-ibm.json
Code Reference
https://github.com/Qiskit/qiskit-ibm-runtime/blob/31b0597361286f0e9d5911ad78195f7b111ff0e9/qiskit_ibm_runtime/accounts/management.py#L22


[mod] improvements to py2 branch

Thanks! I will have a go at looking what you've fixed.Would this be something that would also be valuable for the current Python 3 version?

@simonvh I basically add an CLI argument that allows TRACK_LABEL to be changed so that it does not have to be file names. The label position is definitely useful (because we are often interested in promoter regions) but not perfect yet.


⚠ Samsung has degraded performance

In c3c07fe, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2328 ms

Resolved: Samsung performance has improved in eb4ad01.


pdf2svg 0.2.3

This release incorporates the changes from the embedded patch and drops the unused GTK+ dependency.
Side note: Since the formula no longer depends on GTK+ (which was recently freed of its X11 dependency anyway), would it make sense to move this formula back to the main repository?

The bot fails very early on Mountain Lion and Mavericks while attempting to check out the merge commit of the PR. I don't think this is related to my changes and I'm afraid I cannot do anything about this.

Merged in https://github.com/Homebrew/homebrew-x11/commit/fd05dcafdbdb4f9651835bb66cf0d3e9d6ac8315. Thank you for your contribution to Homebrew/x11, We appreciate it! :smiley_cat:.

Since the formula no longer depends on GTK+ (which was recently freed of its X11 dependency anyway), would it make sense to move this formula back to the main repository?

I don't have any huge objection since it doesn't even have GTK linkage now. Want @mikemcquaid to sign off on the idea though.

Side note: Since the formula no longer depends on GTK+ (which was recently freed of its X11 dependency anyway), would it make sense to move this formula back to the main repository?

:+1: from me

Should I leave this to one of the Homebrew maintainers or do it myself? In the latter case, is there some documented procedure for this? If not, my plan would consist of two pieces:

Homebrew/homebrew: PR that reintroduces the formula and adjusts tap_migrations.rb.
Homebrew/homebrew-x11: PR that removes the formula.

Homebrew/homebrew: PR that reintroduces the formula and adjusts tap_migrations.rb.
Homebrew/homebrew-x11: PR that removes the formula.

Yup, that's perfect and it'd be amazing if you could do it :sparkles:

Done. See Homebrew/homebrew#41065 and Homebrew/homebrew-x11#97.
Thanks for the guidance and the awesome response times! :+1:


Add fight: Worqor Lar Dor (Valigarmanda Extreme)

@gcmcrae Who are you and how did you obtain access to this repository?
More...
I think this joke was very funny. Go me.


[react-instantsearch-hooks] hits/hits.results from useInfiniteHits

Howdy!
We are using useInfiniteHits to return us a nice list with results for our overview page that has a 'load more items' option. We are doing this all client side, and aren't working with the SSR provider just yet
We started meddling with routing and controlling the UI state through the initialUiState prop on the InstantSearch component. Now let's say the state we provide in the initialUiState is as follows
      initialUiState={{
        products: {
          configure: {
            hitsPerPage: 10,
          },
          menu: {
            currency: 'euro',
          },
        },
      }}

The state throughout the application that is retrieved through the hooks is reflecting this initial UI state nicely - so far all good except for this one:
  const { hits, results, showMore } = useInfiniteHits(props);

The first set of hits (the first 10, based on the configuration provided in initialUiState) seem to be any hit, so: hits that are not filtered based on the initialUiState, but simply the first 10 of the products index it's default ordering.
Now this is where it gets a bit funky:
In the results prop, the correct 10 items are actually provided - so Algolia did actually run the query and does have the correct hits. Of course, the results.hits are only the items of the current page, so we can't use this prop with our showMore set-up.
Once we initiate the showMore, and thus load the next 10 results (to get a total of 20 hits): the hits prop is still showing the first 10 items to be any hit. The next 10 (page 2), are the items we would expect to show up on page 2.
Once we turn on a random facet or sorting option, and turn it back again to a state that matches the initialUiState as provided, everything is correct. It seems to 'trigger' something that makes the output of useInifniteHits go to the correct state (just one extra rerender that fixes it?)
tl;dr: It seems to be that the first set of hits in the hits property of useInifniteHits doesn't reflect a filtered items, based on the initialUiState provided. results.hits actually has the correct items, but since we are implementing a 'click here to show more' scenario, we can't use this.
Let me know if this makes sense, if it doesn't I'm happy to try to replicate the situation

This seems similar to an issue I'm facing when programmatically calling showMore, I'm using cache as well, goal is I want to highlight a specific result by object ID so if its not on the first page I want the next and so on, but when I do this the cache doesn't update correctly.


Missing events in DOMAttributes

Events such as beforeinput, focusin and focusout are not available in jsxTypes.ts, making it difficult to work with these events when using TypeScript.
What's the rationale for including / excluding certain events in DOMAttributes?

The rationale is we grabbed a lot of that from... somewhere. Probably another framework, which ideally we'd remember & credit in that file.
And so we only have whatever our source included.
Feel free to source and PR a more up-to-date set of attributes.


Update travis config to test on latest Node.js and on io.js

@targos Do you think we shouldn't test on 0.11?

@evgenius 0.11 was the development branch for 0.12. It is not maintained anymore, but you can keep testing against it if you think that people are still using it.

Ah, ok. Thanks for explaining. I'm fine with removing it.


[bug fix][Rosetta API] TransferSui with None amount is not handled correctly

In the previous implementation, I mistakenly assumed TransferSui's amount is non None, this causes balance reconciliation to fail when running against the Devnet.
To fix this issue, I removed amount field from the TransferSui rosetta operation (the recipient and amount data are added to the metadata field), by doing so, the TransferSui operations no longer consider as a balance changing operations, which makes it more consistent with other operations (transfer object, move call etc), all unsigned transactions are non balance changing. Balance changing operations are now solely created from effect and event for all Transaction types.

friendly nudge, this PR need some review :)


[Feature][gitee] add config-ui for gitee plugin

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
add config-ui for gitee plugin
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Great！


Make box turn green as soon as habits are completed for curent day

Hi, I wonder if you can make today's habit box turn green once all your habits are completed for the desired frequency?  As you see here, I have completed my 2/d pushups, but today still shows red in the tracker :(
It would be awesome if that box could turn green as soon as I have completed my habits for the day, instead of having to wait for tomorrow to see it green... ya know?

It should be green, I remember it painting correctly to green. I should have messed up something in last commits.

I'm having the opposite issue, where habits are marked green for today before I finish them:

@mikob sorry, I may have missed your comment. If the behaviour continues could you open a bug report and paste yor settings?

@c6p thanks for getting back to me. I've created the issue here: https://github.com/c6p/logseq-habit-tracker/issues/20


IE 11 flips out if you set the timeout after calling send

you get an invalid state error

Thanks

This also effects IE 10 and this change fixes it. Could you please update the built version to include this change? Thank you!


Support --init argument in nerdctl run command

FIX: #946
Signed-off-by: Zheao.Li<EMAIL_ADDRESS>

@AkihiroSuda @Junnplus Would you mind retaking a look at it (thx!

Added a follow-up commit


removing hover effect from hr bars and non-links in dropdown menus

because i'm fortunate enough to have such a great life that this kind of thing bothers me to the point where i spend 45 minutes trying to change it. And since i stole the whole dropdown menu from you in the first place, i figured i'd change yours :)
Before:

After:

hah :) thank you!


No matching version found for<EMAIL_ADDRESS>when installing @felte/validator-zod

With the following dependencies:
	"dependencies": {
		"felte": "next",
        "@felte/validator-zod": "next",
	}

I got the following error:
nix-shell ❯ npm install
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/hugosum/.cache/npm/_logs/2022-01-18T12_50_44_028Z-debug.log

I think that dependency in validator-zod is off right now.

Hi, @winston0410! I'm unable to reproduce this in a fresh project. Any more information you have regarding this? That version of @felte/common is on npm.

@pablo-abc I have removed the cache for npm and it worked. Properly npm treated next tag as the same version, and it has given me the older next in cache. Closing this now.


⚠ ClamAV has degraded performance

In 0fdd3b2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 60 ms

Resolved: ClamAV performance has improved in 671bf37.


Fix mispalced label tag in icon links component

Replace the <label> tag with <span> in icon-links.html, and add aria-hidden="true" to the icon itself.
Closes #1287

The failing CI-jobs seem to be completely unrelated to this PR, so I'm not doing anything about it unless you want me to:
=== Sphinx Warnings test ===

Checking build warnings in file: "D:\a\pydata-sphinx-theme\pydata-sphinx-theme\warnings.txt" and comparing to expected warnings defined in "D:\a\pydata-sphinx-theme\pydata-sphinx-theme\tests\warning_list.txt"

Unexpected warning: C:\hostedtoolcache\windows\Python\3.11.3\x64\Lib\site-packages\pandas\core\frame.py:docstring of pandas.core.frame.DataFrame.drop:1: WARNING: undefined label: 'advanced.shown_levels'

Not that I could find anyway. All usage of label in the CSS seems to be related to the sidebars.


Implementing authorized_keys function for non-NIP-42 supported clients

I expected to start Bostr Relay, which only accepts my public key for reading and writing.
However, I've discovered most iOS clients do not support NIP-42, so I could not make my personal Bostr relay as expected.
Instead, I've added some code in this program to achieve similar goals by checking their public key when they've made writing requests to the Bostr Relay.
Please accept my merge request if you like my idea. Please let me know if you have any suggestions so I can change the code accordingly. If you don't like my idea, please don't hesitate to close this pull request.

The way i designed to work this way was because the bouncer will only start connect to the relays when it was really you.
Still strange that NIP-42 is not really adopted well yet while it was easy to implement.

This still works, However user could still do REQ anyway, or even the bouncer autoconnects the relays even for unauthenticated users.

Added a feature that work exactly like the code you've write.
You could add your pubkey into approved_publishers array into config.js


[FR]: custom "Key::Value" as trigger to publish

Issue validation

[X] My issue is not a question relative to Material Mkdocs nor Mkdocs (You can open a discussion to get more help!)
[X] I checked the issue to prevent duplicate

Workflow
Obsidian plugin 💠
Is your feature related to a problem ?
I have project related files that are marked with inline "Project:: ProjektName" all over my vault. It would be awesome to have this key-value as custom trigger to be pushed to the git.
thinking ahead a separation by "ProjectName" per Project-Git would be even better
What solution do you want to see ?

option to define custom triggers by "key::Value" (not only key)

(option to add multiple git repositories with related key::value)
Describe the alternative you've considered
No response
OS
MacOS
Anything else?
No response

For the github repository, I thinked about that when I first developped the fonction, and abandon the idea because it have the exact same limit of the actual fonction, and need more overwork to just create a key/value. The actual behavior is « okay » for me.
Also, if you have many project connected to different repo, I think it's better to use another vault for that, than the plugin.
For the other suggestion, adding this function necessite a lot of rework, as many many function are linked to if frontmatter[sharekey].
If I create this, I need to create another function, that will check the key.... For something I don't see the interest.
If you need to add another key for your repository & the sharing key, you could use linter, metadata-menu, and quickadd. Or, check with VSCode or other IDE to add the key.
Don't forget that to send to another repo, you need to use
repo: user/repo/branch (or just : repo: repo if the repo is on your own github)

working in multiple vaults is sub-par in my view as they can not share info. and some of the project related info needs to be shared (contact information for example of people working on multiple projects) or references to previous accomplishements ...
i get that my "needs" are apparently very unique ... and i am really struggling to get them untangled. :)
there will be a solution - i am sure
thanks for the fast response.

Hello!
I changed my mind after some times and develop in #add-multiple-repo the possibility to set shortRepo, and allowing to set commands & everything to more than one repo!
I know it's not 100% the thing you want, but now you can remove regex & all if you want to use multiple repo!


dirty filter hack to add class to markdown image block

This is a very simple filter that iterates each line of text and mangles alt="this is the alt|classes here" into alt="this is the alt" class="classes here", eg:
{{ item.content | markdown | imgAltClass }}
Ideally, and IMO, marked should be replaced with something that supports Markdown Extras, so you can use the {.class key=val} stuff, but I think this will suffice for now.

Oops, missed end tag :-) Closing.


frame-support: migrate some tests from decl_* macros to the new pallet macros

What does it do?
This PR is a part of #12248.
After some discussion in #12326, most developers prefer to just remove the old decl_* macros.
But there is a lot of code changes involved, so I split it into multiple smaller PRs to be reviewed and merged as quickly as possible into the master branch.
In this PR, I migrate the some tests of frame-support from  old decl_* macros to the new pallet attribute macros.
After this, I will migrate the frame-support-test from  decl_* macros to pallet macros and finally remove the decl_* macros and do some other trivial things.

@shawntabrizi @kianenigma @bkchr @KiChjang PTAL

Is there anyone else who can review this PR?

bot rebase

bot merge


configure v3: incorrect encoding conversion for search result

In https://github.com/thpatch/thcrap/blob/fd10f94d867fde403ef9008e3534a2b2e3d16274/thcrap_configure_v3/ThcrapDll.cs#L180C9-L180C9 , we assume that the members of the game_search_result struct will contain only ASCII characters, outside of path which is declared as IntPtr and converted manually.
But description can also contain UTF-8 characters. For example, we had an exe in base_tsa/version.js for th06 with the description "Original with 紅魔郷 removed from the .dat file names", which crashed with a DBCS locale like Chinese or Japanese. We removed it as a quick and dirty fix, but we need to fix the underlying issue (and then to revert thpatch/thcrap-tsa@2e993bd ).
Some more details about the crash:

A C# System.ArgumentOutOfRangeException from https://github.com/thpatch/thcrap/blob/fd10f94d867fde403ef9008e3534a2b2e3d16274/thcrap_configure_v3/Page4.xaml.cs#L339C11-L339C11 , where we take the search results from the C++ search and convert them to C#. That one ends up at https://github.com/thpatch/thcrap/blob/fd10f94d867fde403ef9008e3534a2b2e3d16274/thcrap_configure_v3/ThcrapDll.cs#L48C51-L48C51 , calling Marshal.PtrToStructure with a ThcrapDll.game_search_result defined at https://github.com/thpatch/thcrap/blob/fd10f94d867fde403ef9008e3534a2b2e3d16274/thcrap_configure_v3/ThcrapDll.cs#L180C9-L180C9 .

Fix done. I'm keeping this issue open as a reminder to revert https://github.com/thpatch/thcrap-tsa/commit/2e993bd after the next release.


Add volume unit tests

Which package/s are you suggesting this feature for?
grid_client
Is your feature request related to a problem? Please describe

Describe the solution you'd like

Verified Devnet,
Tests are added here: https://github.com/threefoldtech/tfgrid-sdk-ts/blob/development/packages/grid_client/tests/modules/volume.test.ts.
And they are passing on the last run today: https://github.com/threefoldtech/tfgrid-sdk-ts/runs/28630019958


WebJob: Fix jobs manager singleton issue

Currently ninject disposes the jobs manager after the first request,
The jobs manager is a singleton which should never be disposed,
To fix it for now the dispose method will basically do nothing, but a real fix should be that the dispose method is not called.

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


WIP: Generate metric sql using soda sql

I am continuing with the scan functionality first.
Start to solve #5.

Closing this PR as it old


fix: copy attributes to refresh token

otherwise they will be missing on a full reconnect

Thanks for the quick response and merge!


TMP update for 1.50 available.Please update plugin.

Please update the plugin to game ver.1.50 as tmp allready support that game version.
Thank you

Update the plugin to game version 1.51,
Thank you


Rename "home" to "about" and move repeated content

[ ] Make sure there is a way off the about page
[ ] Content on dataset intros includes link to about page

There is currently placeholder text for the 1-2 sentence descriptor on data pages.

And here is the location in the code for one of the dataset pages templates:
https://github.com/codeforamerica/comport/blob/master/comport/templates/department/site/complaints.html#L10-L13

[ ] decompose array into dictionary in view with info, above-the-fold and everything-else blocks

Is this the about page of which you speak? Is there a link to that page from anywhere else on the site?


Bootstrap the Adoption test suite

So far the test suite only covers the steps upto "backend services deployment".
The interface between the execution infrastructure and the test suite
is an Ansible inventory file. Inventory samples are provided. To
execute the tests, follow this procedure.

Create tests/inventory.yaml file by copying and editing one of the
included samples (e.g. tests/inventory.sample-crc-vagrant.yaml) to
provide values valid in your environment.

Run make test-minimal.

Rebased and addressed the reviews. Given that this is a testing repo that's still going to see much churn in the coming weeks, i kept the role docs relatively brief. To document variables i just linked to defaults.yaml and provided comments there, so that the readme doesn't get out of sync with the actual variables.


Rework on training code to be compatible with spark-rapids plugin

As prototyped in https://github.com/NVIDIA/spark-rapids-ml/issues/17, when transform supports columnar processing, train should also support it. Should reconsider the API change to align both train/transform.
issues found:

setInputCol only support 1 column and it must be Vector type.

closed by https://github.com/NVIDIA/spark-rapids-ml/pull/27


new subscription yields old events

Hi @mraible, hi @joshlong
I just watched your spring.io talk (which I really liked) and played a bit with your example.
It seems that when I create a new profile and then subscribe to the the event stream I still see the previously created profiles. I think this is undesired/unexpected. How can I avoid that?
In my application I solved that by creating hot fluxes manually, however I like your approach with the Consumer and Application events much better.

Hello @bkolb! I'm not sure what you mean when you say you're seeing the previously created profiles. How are you connecting to the profiles API? Here's what I've done to see only newly created profiles.

Clone the project and checkout the react-app branch.
Start the backend API using Maven and SPRING_PROFILES_ACTIVE=demo ./mvnw.
Generate an access token using https://oidcdebugger.com and copy/paste it into react-app/create-stream.sh.
Open a new terminal and subscribe to new profile events using HTTPie.http :8080/sse/profiles -S

Run ./create-stream.sh and you'll see new profiles as they are added.

Closing due to lack of response.


Why does "friends" need to be an array.

Challenge Build JavaScript Objects has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
// Example
var ourDog = {
  "name": "Camper",
  "legs": 4,
  "tails": 1,
  "friends": ["everything!"]
};

// Only change code below this line.

var myDog = {

};

You explain how to make the array and then say only that the"friends" needs to be an array. Being a student trying to learn it would be helpful to know why it has to be an array so I know how to use it in the future.

Arrays are used for storing lists... So any time you have a list of anything, you would typically use an array.
Other examples of things to store in arrays:

groceries
classes
books
contacts
etc...

Does that answer your question?

ok so I only use an array in this instance if I have multiple items to list. Awesome thank you


Facebook Handover - Standby Webhook Not Sending Messages

Version
4.3.1
Describe the bug
My bot is subscribed to the "standby" web hook but it seems that once thread control is passed to a secondary receiver no further messages are delivered to the bot.
To Reproduce
Steps to reproduce the behavior:

subscribe a bot to the standby channel
pass thread control to the inbox

Expected behavior
Messages should still be passed to the bot after it has passed control to the page inbox
https://developers.facebook.com/docs/messenger-platform/handover-protocol/?hc_location=ufi#standby_channel

standby
When the handover protocol is set up for a Page, apps that don't have the thread control at the time can optionally subscribe to a separate 'standby' channel to listen to incoming messages. It is important to implement the standby channel, as it allows apps to track the full context of the conversation and be well-informed on how to proceed if control is passed to them.
This webhook event only affects messages, message_reads, and message_deliveries subscriptions.
For complete details and event properties, see the standby Webhook Event Reference

[bug]

@jamsoft
Can you share the code where you handover control from the bot to the page's inbox?
Thanks

It's just a call to the graph API like this:
public async Task<bool> PassThreadControlToPageInbox(string pageToken, long psid)
{
    var hod = new PassThreadControl();
    hod.Recipient.Id = psid;
    hod.TargetAppId =<PHONE_NUMBER>30900;

    var response = await PostAsync($"https://graph.facebook.com/v2.6/me/pass_thread_control?access_token={pageToken}", new StringContent(JsonConvert.SerializeObject(hod), Encoding.UTF8, "application/json"));

    if (response.IsSuccessStatusCode)
    {
        var result = JsonConvert.DeserializeObject<SuccessResponse>(await response.Content.ReadAsStringAsync());
        if (result.Success)
        {
            return true;
        }
    }
    else
    {
        var errorResult = JsonConvert.DeserializeObject<FacebookErrorDto>(await response.Content.ReadAsStringAsync());
    }

    return false;
}

Also every time I click the Done button in the Facebook Inbox the Bot Framework throws loads of exceptions, it doesn't crash my bot fortunately but there is a significant problem in the Bot Framework I'm fairly sure of.
I've included a stack of details on that issue in another bug I raised which you can see here:
Facebook - Activity Exceptions: Value cannot be null. Parameter name: invalid activity-missing Conversation.Id

If the Bot Framework is swallowing/ignoring any messages coming from the the facebook standby channel how do we then store accurate complete transcripts?


fix staticcheck

Fixed in https://github.com/df-mc/dragonfly/commit/d21051cfe4f7a8831f0f13eec9279cf91d1929f8, didn't see this first


Copied result values contain tab character

Version: 1.12.2 (user setup)
Commit: c9bef82ace6c67190d0e83820011a2bbd1f793c1
Date: 2019-10-11T04:56:40.634Z
VS Code 1.37.0
Electron: 4.2.9
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
Steps to Reproduce:

Copy a cell value from the result set
Paste the cell value somewhere else
Notice that the pasted contents contain a tab character

This should be fixed with https://github.com/microsoft/azuredatastudio/issues/7480 so I'm going to close this - let us know if you still encounter this issue after the next stable version is released!


Pass Arguments to compiled Application

There is a problem with Arguments passed  to the compiled App on startup.
If the Argument is a valid file path the App crashes and does not pass the argument to the App.
Therefore it is not possible to open the App with an associated file extension

I need a bit more information to determine your problem. What architecture are you exporting to? And which arguments are you trying to pass?

My actual build tests ar linux-x64 and windows-x64.
My App can read an input file passed by commandline parameter. That works fine if App is started with nw
nw ~/ppadmin ~/test.txt

the compiled App runs fine without Arguments. But trying to start with the file Option the App crashes
~/ppadmin/output/ppadmin/linux-x64/ppadmin ~/test.txt

The Problem seems to be that the argument is processed and expected to contain some valid code:
(function (exports, require, module, __filename, __dirname) { 12ew wed
                                                          ^^^
SyntaxError: Invalid or unexpected token
at createScript (vm.js:53:10)
at Object.runInThisContext (vm.js:95:10)
at Module._compile (module.js:567:28)
at Object.Module._extensions..js (module.js:610:10)
at Module.load (module.js:512:32)
at tryModuleLoad (module.js:471:12)
at Function.Module._load (module.js:463:3)
at Module.runMain (module.js:647:10)
at run (bootstrap_node.js:433:7)
at startup (bootstrap_node.js:163:9)

Because if I pass a dummy Argument like
~/ppadmin/output/ppadmin/linux-x64/ppadmin 12345

the arg is passed to my App and catched by my error handler. But as soon as it is a valid file path, it does not work. Is there any File open handler during initialisation? How can it be overidden?

The problem was solved using NW.js version higher 0.21.4
The issue I had was with version 0.21.3


[RFE] Enable possibility to set private DNS on AKS provisioning

Internal reference: SURE-3392
Request description:
Enable the possibility to set private DNS on AKS provisioning cluster. Currently, clusters are manually provisioned (or via Terraform) and skips the UI completely.
Actual behavior:
Currently, there is no setting in Rancher to set a private DNS for AKS cluster.
Expected behavior:
Add the possibility to set private DNS on AKS provisioning cluster.
Additional notes:
Based on one environment, the network infrastructure is more or less the same as the "hub and spoke" on the page: https://docs.microsoft.com/en-us/azure/aks/private-clusters#hub-and-spoke-with-custom-dns
Their DNS is centralized in the hub network, and they want to run AKS clusters in spoke networks.
To get it to work, they need to be able to point the AKS clusters to the central private DNS zone. Otherwise, the created AKS cluster's Kubernetes API endpoint address won't resolve, and the cluster will fail to provision, and the VMs can't resolve the Kubernetes API address.
Additional Azure documentation on how to set a custom private DNS zone: https://docs.microsoft.com/en-us/azure/aks/private-clusters#create-a-private-aks-cluster-with-a-custom-private-dns-zone
Usage: under clusters.tf, within the resource JSON, there'd be a private_dns_zone_id to leverage
This looks like something that will require both backend and UI changes; the ui ticket is here

This is tracked in aks-operator

Closing in favor of being tracked at https://github.com/rancher/aks-operator/issues/131


#91 - Exporting type systems of text analysis results does not work

Adjusted URL and test

Codecov Report

Merging #92 (dbb0223) into dev (e5e5216) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev      #92   +/-   ##
=======================================
  Coverage   91.27%   91.27%
=======================================
  Files          16       16
  Lines        1834     1834
=======================================
  Hits         1674     1674
  Misses        160      160

Impacted Files
Coverage Δ

averbis/core/_rest_client.py
85.49% <ø> (ø)

tests/test_process.py
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Bridge name invalid: PepperBridgeAbstract.php (upgrade to 2023-07-13)

When trying to upgrade the Yunohost package to the latest version, we have a Bridge name invalid: PepperBridgeAbstract.php error: https://github.com/YunoHost-Apps/rss-bridge_ynh/pull/63
Is that an upstream issue ? Do we miss something ?
Thanks

try remove that entry from whitelist.txt

Great, thank you !
Much better behaviour indeed :)

By the way, in the whitelist we need to list all bridges but this one ?
Can I instead blacklist it ?

put * in whitelist if your goal is to enable all bridges

But if it's all but this one ? Is there / What is the syntax for that ?

no. alternative: rm bridges/OffensiveBridge.php

I'm confused, I removed it, it triggered another bridge failing, and so on…
But now it's a Message: Class "PepperBridgeAbstract" not found.
I suppose I should not remove all of the failing bridge (the whole list ?) :sweat_smile:

sorry PepperBridgeAbstract is in use and should not be deleted.
it should also not be in whitelist.txt because it's not a bridge.

why do you have PepperBridgeAbstract in whitelist.txt? can you share your copy of whitelist.txt?

It's not in whitelist (I believe), we add all bridges in the whitelist by listing them in /bridges folder, but nothing particular for this one :thinking:

you do have it in the whitelist.txt

Ok… that's an issue.
Then I'll use your * trick instead of listing all of them.

It worked, thanks !


Installation completes ... then executable does nothing

If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
My Environment

[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)

[ ] Windows 8

[ ] Windows 8.1

[x] Windows 10

[ ] Windows 10 IoT Core

[ ] Windows Server 2012

[ ] Windows Server 2012 R2

[ ] Windows Server 2016

[ ] My Windows installation is non-English.

I'm using NVM4W version:

[x] 1.1.6
[ ] 1.1.5
[ ] 1.1.4
[ ] 1.1.3
[ ] 1.1.2
[ ] 1.1.1
[ ] Older
[ ] OTHER (Please Specify)

I have already...

[x] read the README to be aware of npm gotchas & antivirus issues.
[x] reviewed the wiki to make sure my issue hasn't already been resolved.
[x] verified I'm using an account with administrative privileges.
[ ] searched the issues (open and closed) to make sure this isn't a duplicate.
[x] made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

[x] settings.txt (maybe?)
[ ] proxy support (Have you tried version 1.1.0+?)
[ ] 32 or 64 bit support (Have you tried version 1.1.3+?)
[ ] Character escaping (Have you tried version 1.1.6+?)
[ ] A standard shell environment (terminal/powershell)
[ ] A non-standard shell environment (Cmder, Hyper, Cygwin, git)
[x] Installation

Expected Behavior
Run the installer, use it correctly, run the program, it works.
Actual Behavior
The above, except it doesn't work. The installer.cmd does absolute jack when I try to run it.
I run the .exe file and it just flashes a cmd window.
Steps to reproduce the problem:
I don't know if this is reproduceable or just something I have wrong with my computer

On some systems, the installer doesn't quite finish before it tries to launch the terminal. I was never able to force it to run synchronously, so on occasion this occurs. It's rare, but has happened a handful of times. The fix is simple though.... close the terminal and open it again.

FYI, there seems to be an error in the program which prevents it from doing anything when launched.
When launched, it looks for the "\settings.txt" , can't find it, and crashes.
The file is in the same directory as the executable, NOT in the root directory.
I circumvented this problem by copying the file to the root directory for now.

I tried running it from command line again and it worked. Thanks for the
help
On Thu, Sep 14, 2017 at 6:59 PM Mmikeyy<EMAIL_ADDRESS>wrote:

FYI, there seems to be an error in the program which prevents it from
doing anything when launched.
When launched, it looks for the "\settings.txt" , can't find it, and
crashes.
The file is in the same directory as the executable, NOT in the root
directory.
I circumvented this problem by copying the file to the root directory for
now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/coreybutler/nvm-windows/issues/301#issuecomment-329631507,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWTsl1-y8QuThs7VX52VydO0pKF95kAWks5sia_BgaJpZM4PVES_
.

I just installed nvm through chocolatey and have the same issue:
ERROR open \settings.txt: The system cannot find the file specified.

(after adding C:\ProgramData\nvm to %PATH%)

nvm install 14

ERROR open C:\Users\cjamc\AppData\Roaming\nvm\settings.txt: The system cannot find the path specified.

I installed via nvm-setup.exe 1.1.9 to C:\nvm (because the default location in AppData results in exit status 1 error when trying to use a node).
Edition	Windows 10 Home
Version	21H2
Installed on	1/4/2021
OS build	19044.1766
Experience	Windows Feature Experience Pack 120.2212.4180.0

I just installed nvm through chocolatey and have the same issue:
ERROR open \settings.txt: The system cannot find the file specified.

(after adding C:\ProgramData\nvm to %PATH%)

This issue still exists in 2022 with Windows 11. For example, if you install via choco (silent CLI script), it installs fine -- but does not work until you restart Powershell; not even with the standard scripts to refresh the env vars, eg:
$env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User")

Expected: Running the script above should refresh the env vars and allow nvm to be fully usable.


Operator::lister_with should have an option to return itself if it's already a file path

Currently
pub fn lister_with(&self, path: &str) -> FutureList<impl Future<Output = Result<Lister>>>

will list the files inside the path. But if the path is already a file, we also need to return itself.
So maybe we could have an option, eg:
pub fn with_self(self, v: bool) -> Self {
        self.map(|args| args.with_self(v))
}

Which could also return the existing path if it's set true.

I don't think we should add a new option for this. Maybe we should let services return the path itself if it exists.
For example:
a/
a/b
a/bb
a/c

list("a/") -> a/b, a/bb, a/c
list("a/b") -> a/b, a/bb


Added SonogramView

Project URL
https://github.com/Luccifer/SonogramView
Description
Audio visualisation of song
Why it should be included to awesome-ios (optional)
No other libs to get audio-visualization
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 5 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

293
301
https://github.com/Zepo/MLeaksFinder redirects tohttps://github.com/Tencent/MLeaksFinder

634
301
http://www.placekit.io/ redirects tohttps://business.mapquest.com/products/points-of-interest-data/

856
301
http://www.appcoda.com/qr-code-ios-programming-tutorial/ redirects tohttps://www.appcoda.com/qr-code-ios-programming-tutorial/

856
301
http://www.appcoda.com redirects tohttps://www.appcoda.com/

2646
302
http://swiftnews.curated.co redirects tohttps://swiftnews.curated.co/

  Generated by :no_entry_sign: Danger

Hey @Luccifer, thanks for contributing 👍


Refresh Tests should not show the test welcome page/button

Testing #119545
A progress bar or something to indicate things are happening would also be nice.

Seems better than what it was in the gif above, but I still do see the button flash briefly

@lramos15 do you see it on refresh or just when the view is first opened?

On refresh. You can't see my click the refresh button as I didn't share my whole screen, but here's me clicking refresh

I think this was the same root cause behind the test view occasionally getting stuck on the welcome.


Added RestClient::Connection::SetVerbose() to enable verbose logging,…

… optionally logging it to file instead of screen
Also changed error checking after curl_easy_perform() since for some errors others then CURLE_OPERATION_TIMEDOUT and CURLE_SSL_CERTPROBLEM RestClient::Connection::performCurlRequest() was returning -1. I was getting CURLE_COULDNT_CONNECT caused by invalid URI
Checklist
Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

[ ] CI passes
[ ] Description of proposed change
[ ] Documentation (README, code doc blocks, etc) is updated
[ ] Existing issue is referenced if there is one
[ ] Unit tests for the proposed change

Oh these are great additions. Can you split them up into topical pull requests so they can be reviewed in a more focused way? Also please make sure CI passes. Thanks!

closing this for inactivity. Please feel free to reopen the PR when you've addressed the issues.


decent MML text generation

xmmk generated MML like, when there are more than one keys then all notes were combined with & operator. It's more useful.

done at 647472b.


MB-12018 Create new proof of service document upload event

Jira ticket for this change
Summary
Created a new event for the proof of service document upload.
The backend changes were done in #8641.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the UI locally.
make client_run

Terminal 2
Start the Go server locally.
make server_run

Additional steps

Access the office application.
Login as a prime simulator.
Select a move and remember the move code.
Upload a document in the Payment Requests section and save.
Login as a TIO.
Select the same move as the one where you uploaded the documents.
Go to the move history tab.
The first history item should be the proof of service document upload

Verification Steps for Author
These are to be checked by the author.

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Screenshots

Messages

:book:
:link: MB-12018

  Generated by :no_entry_sign: dangerJS against 5c102aa0a50c29522cda5c880cc4cff4e60ba2fa

This looks good to me! I don't have the ability to approve but I see the proof of service document upload detail in the move history page for move #PENDNG


Would using JSON-schema to define CVs simplify the tooling around CVs ?

JSON-Schema is a schema for JSON file that specifies what JSON data is required for a given application. See docs.
I believe the CVs defined here could be exposed as a JSON-Schema, and then a wide suite of tools could be used across the ESGF software stack to validate content, create web forms, etc.
JSON schemas are used for instance by the CMIP6 STAC extension.  What would be done here would be similar, but would include allowed values for the different facets.
I was wondering if this had already been discussed. If there is interest, I could submit a PR to generate a schema from the CVs defined here for folks to experiment with.

Hi @huard , JSON-Schema has been discussed a couple of times and a colleague had a play with setting it up on a fork of the PCMDI/cmip6-cmor-tables repo.  I'll see whether I can revisit that in the next week or two and apply it to this or the CMIP6Plus_CVs repo in the next month or so.

Ok, see some experimental code here: https://gist.github.com/huard/6a8f261221497c65cacf8324dcc4045d
Cheers,
David


start v24.09.00 development [skip ci]

#163 added support for legate / cunumeric 24.09 nightlies here.
This PR proposes the following:

starting to version legate-boost packages as 24.09.00dev{n}
updating the instructions for releasing
minor adjustments to how we pin to legate / cunumeric packages

Notes for Reviewers
See inline comments for explanations of these changes.

Looks like the [skip ci] approach worked! No new build was triggered when this was merged to main: https://github.com/rapidsai/legate-boost/actions/workflows/build.yaml
Then I pushed a new tag to the repo, following these docs.
git checkout main
git pull upstream main
git tag -a v24.09.00dev -m "v24.09.00dev"
git push upstream v24.09.00dev

https://github.com/rapidsai/legate-boost/releases/tag/v24.09.00dev
That also did not trigger a new build, because of this regex that says "only do a new build on tags of releases"
https://github.com/rapidsai/legate-boost/blob/166c98d3c1d59219ca43aab72c162e5ac9beefa9/.github/workflows/build.yaml#L13-L15
I'd copied that regex from other RAPIDS repos (e.g. this cudf example). There, it serves the purpose "don't run a new build when a non-release tag is pushed".
But I think here in this repo, since we'll now use a PR with [skip ci] in the commit message, we really do want to trigger the build job on any tag push. Otherwise, it'd take a PR like this one and then a second PR to get the first new packages produced. I'll push a follow-up with changes like that.

I just deleted that v24.09.00dev tag, in place of a v24.09.00.dev tag on the same commit.
git checkout main
git pull upstream main
git tag -d v24.09.00dev
git tag -a v24.09.00.dev -m "v24.09.00.dev"
git push upstream v24.09.00.dev

To match the way that cunumeric and legate are versions, where the version ends with a .dev{n}.
I'm updating the packaging stuff for this repo to reflect that, in #173.


[FLINK-15107][SQL-CLIENT]Fix bug that sql cli can not execute statement with lower 'insert into'

What is the purpose of the change

We have introduced alter/create/drop database in  #10419  but there is a potential bug that causes Insert into syntax with the lower case can not get executed normally*

Brief change log

16dc5a8  fix bug insert into syntax with lower case can not get executed normally*

Verifying this change
This change added tests and can be verified as follows:

Added unit test in LocalExecutorTest#testInsertIntoSqlPattern

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @xuefuz @bowenli86 @danny0405 @KurtYoung to have a review.

PR looks good. I'm curious if DOTALL is needed, as we call statement.trim() before matching the pattern.

It's needed, for we should match InsertInto with mutiline format.

It is better if we can also add a ITCast to test "INSERT INTO" (uppercase ), but i think it's okey without that.

"INSERT INTO" (uppercase ) case indeed has been covered in testStreamQueryExecutionSink case.


Add XFL4020 footprint

Add footprint for Coilcraft XFL4020 series inductors

Ugh, looks like Travis' sadness during the S3 outage meant the successful check never got reported to GitHub. Please could you rebase/merge master and push so a) merging can go ahead and b) travis will re-run?


Building a custom VW Camping Car DIY style

This is the Q&A thread for the blog article “Building a custom VW Camping Car DIY style”.
Ask me anything.

Great project :)
Did you get a as-is set with all the parts for the battery/outlet/installation? If so which one and can you recommend it?
oh, and why did you decide against the a battery in the passenger seat console?

No, it's completely custom set of electronic parts. I have an external power supply for 230V supply and a Gel battery. I heard some things about the prebuilt sets but honestly I now don't think one should do that without specific knowledge about car electricity. It's not very easy to connect the second battery with the main one correctly.
The battery isn't suitable for under the seat (too big) which is the main reason not putting it under the driver's seat. The passenger seat isn't suitable as I have the double seat there and need the space of the trunk inside the seat for various other things.


ValueError: The passed save_path is not a valid checkpoint: ./checkpoint/yolov3_coco_demo.ckpt

I didn't make any change. When I ran freeze_graph.py, it reported 'ValueError: The passed save_path is not a valid checkpoint: ./checkpoint/yolov3_coco_demo.ckpt'
Anyone knows why? Someone said it was because the path name was too long. But I tried to shorten it and it didn't work.

how you slove this problem?

how you slove this problem?

Did you meet the same problem? Now I may solve it. I find it's just because the checkpoint file yolov3_coco_demo.ckpt didn't save successfully. I ran the convert_weight.py again. And it worked out!


Error running gradio_app.py

Traceback (most recent call last):
File "/mnt/d/AIGC/Wonder3D/gradio_app.py", line 348, in
fire.Fire(run_demo)
File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/mnt/d/AIGC/Wonder3D/gradio_app.py", line 281, in run_demo
input_image = gr.Image(type='pil', image_mode='RGBA', height=320, label='Input image', tool=None)
File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/gradio/component_meta.py", line 145, in wrapper
return fn(self, **kwargs)
TypeError: Image.init() got an unexpected keyword argument 'tool'

I tried downgrade gradio and it starts and i can get into the interface, but it looks a bit buggy, don't know it this is the right way.
pip uninstall gradio
pip install gradio==3.48.0
I still get error when generating images though, but that might be another issue.

I got this error also when I tried duplicating the space on HuggingFace.
I figured since the online demo queue was getting so long I might be able to try that...

Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/gradio_app.py", line 348, in fire.Fire(run_demo) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "/mnt/d/AIGC/Wonder3D/gradio_app.py", line 281, in run_demo input_image = gr.Image(type='pil', image_mode='RGBA', height=320, label='Input image', tool=None) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/gradio/component_meta.py", line 145, in wrapper return fn(self, **kwargs) TypeError: Image.init() got an unexpected keyword argument 'tool'

I got this error also when I tried duplicating the space on HuggingFace.
I figured since the online demo queue was getting so long I might be able to try that...

Traceback (most recent call last): File "/mnt/d/AIGC/Wonder3D/gradio_app.py", line 348, in fire.Fire(run_demo) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "/mnt/d/AIGC/Wonder3D/gradio_app.py", line 281, in run_demo input_image = gr.Image(type='pil', image_mode='RGBA', height=320, label='Input image', tool=None) File "/mnt/d/AIGC/Wonder3D/venv/lib/python3.10/site-packages/gradio/component_meta.py", line 145, in wrapper return fn(self, **kwargs) TypeError: Image.init() got an unexpected keyword argument 'tool'

I have it working now, but it requires a manually change to 3 lines of code pertaining to the "tool" arg in the gradio_app.py file

https://github.com/xxlong0/Wonder3D/pull/34


bash: clojure: command not found

While the name of the repo says it's a Docker image for Clojure, I can't find the command clojure...
dev-machine=>> docker pull clojure
Using default tag: latest
latest: Pulling from library/clojure
Digest: sha256:d53533c852b0df4cc07d9318c87ffab2a75635f8a07afea952949e58dbb2dffb
Status: Image is up to date for clojure:latest
dev-machine=>> docker images
REPOSITORY             TAG                 IMAGE ID            CREATED             SIZE
timbru31/java-node     latest              47abf232ad53        2 days ago          434MB
clojure                latest              9a970b718838        6 days ago          431MB
clojure                slim-buster         9a970b718838        6 days ago          431MB
dev-machine=>> docker run -i -t clojure /bin/bash
root@db61bf95fd51:/tmp# clj
bash: clj: command not found
root@db61bf95fd51:/tmp# clojure
bash: clojure: command not found
root@db61bf95fd51:/tmp# lein
Leiningen is a tool for working with Clojure projects.

Several tasks are available:

dev-machine=>> docker run -i -t clojure:latest /bin/bash
root@018f6774f5b1:/tmp# clj
bash: clj: command not found

Nowadays many build tools are based on Clojure and I see clojure commands in the code too..
https://github.com/Quantisan/docker-clojure/blob/master/clean.sh#L5
Anything wrong on my side? Or is it just a lein image?

You want the clojure:tools-deps variant. Leiningen predates tools-deps and was the de facto Clojure CLI tool before that. So the bare clojure image has always just provided lein.
@Quantisan maybe we should consider providing lein, boot, and tools-deps in the clojure image? That would still allow people to get leaner images with only the tools they want by using more specific tags. And it wouldn’t break anything relying on lein being in the bare image.

Cool. Thanks. No confusion this time~
dev-machine=>> docker run -i -t clojure:tools-deps /bin/bash
root@d900f25c275c:/tmp# clj
Please install rlwrap for command editing or use "clojure" instead.
root@d900f25c275c:/tmp# clojure
Clojure 1.10.1
user=>

@cap10morgan Are you saying to add a clojure:default which includes all 3 build tools? And then keep the specific tags, e.g. clojure:lein, with only the specified build tool? That sounds good to me.

Yeah basically. So clojure & clojure:latest would contain all three tool sets (maybe others? don’t have the list in front of me).

@cap10morgan going with just the 3 for :latest sounds good enough. Those are the most popular build tools.


App Icon not displayed in tray using build.phonegap and cli-6.0.0 [ios]

Expected Behaviour
App icon must be displayed in tray when notification is recieved.
Actual Behaviour
Phonegap icon is displayed in tray when notification is recieved.
Reproduce Scenario (including but not limited to)
Build an app with this plugin under build.phonegap.com using cli-6.0.0
Steps to Reproduce
Send a push notification to the app and icon is wrong displayed.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
ios 9.3
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Iphone 6
Cordova CLI version and cordova platform version
phonegap build --version                                  cli-6.0.0
cordova platform version ios                  4.0.1

Plugin version
cordova plugin version | grep phonegap-plugin-push   1.6.1

Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem

Solved!
Mistaken reference in config.xml... (in previous versions works fine but now after fixed works good)

What is the reference in the config.xml that you did fixed ?
I am facing the same problem.

@oscarabilleira : What is the reference in the config.xml that you did fixed ?
I am facing the same problem and stuck in project. I have spend couple of days to solve this issue. Please reply
Thanks in advanced


Can it get rid of MongoDB to have the single Docker image deployment?

I want to run it on a NAS, but it is not easy to docker-compose or manage multiple containers with docker run that work together.
Thank you for developing this bot.

Can you give more details about your deployment setup?


OCPBUGS-35899: Duplicated machineHealthCheck timeout on Agent and None

Duplicated the MachineHealthCheck timeout in both Agent and None platforms to better align with real-world scenarios
Which issue(s) this PR fixes:
Fixes #OCPBUGS-35899

/jira refresh

/retest-required

/retest

/lgtm

/cherry-pick release-4.16


Per source group configuration might not be included in the reports

Seems probable based on the failure of the e2e tests in EC update.

The problem here is that the e2e-tests are using a version of the enterprise-contract-controller which does not have support for the per source group config.
Since this issue was reported, the test case was removed from the e2e tests under the premise that we already have sufficient coverage for it. Regardless, I'm gonna update the version of the controller there to avoid this happening again in the future.
NOTE: It may be worth considering providing versions for the controller so consumers can leverage dependabot/renovatebot to bring in updates.

Looks this fixed itself, let's close


Base & Anc dux

Adds :

a base ducks module with factory functions that can be used to create custom client-based ducks module
the ANC ducks module.

* Refactoring clients dux module.[see htere](https://github.com/OpenSRP/opensrp-web/pull/188#discussion_r371091485)

Being tracked in new issue #189

@moshthepitt can you re-review pls?

@p-netm looks good, made some nitpicky comments.


Observe extremely high memory footprint in rpmalloc-benchmark

Recently I've being trying to reproduce the result in rpmalloc-benchmark, but I observed that rpmalloc consumed much more memory than other allocators (e.g. tcmalloc, jemalloc) in some cases. For example, I ran the benchmark with the same parameters mentioned in https://github.com/mjansson/rpmalloc-benchmark/blob/master/BENCHMARKS.md#random-size-in-512-16000-range and here is some result when thread_num = 1.
# benchmark-$name 1 0 2 2 10000 20000 2000 512 160000
rpmalloc     1 threads random exp size [512,160000] 10000 loops 20000 allocs 2000 ops: .... 6769430 memory ops/CPU second (peak 2965MiB)
tcmalloc     1 threads random exp size [512,160000] 10000 loops 20000 allocs 2000 ops: .... 8519908 memory ops/CPU second (peak 333MiB)
jemalloc     1 threads random exp size [512,160000] 10000 loops 20000 allocs 2000 ops: .... 3325522 memory ops/CPU second (peak 384MiB)

It seems that the peak memory footprint of rpmalloc is 8x higher than that of jemalloc or tcmalloc in this case. I'm wondering if it is a potential bug or some kind of mis-configuration. I can provide more information if you are interested in this case.

That does look weird, I'll have a look

Could you try the mjansson/cache-tweaks branch and see what results you get?

Thanks for your reply. I have tested the cache-tweaks branch and the result looks good to me. Here are some results I got:

In the [512, 160000] case, rpmalloc (with cache-tweaks) increase the IOPS and greatly reduces the memory footprint compared to the original one.
And other results shows rpmalloc (with cache-tweaks) has better scalibility compared to other allocators.

I think this solved my problem. Thanks!

Great, will merge this, run the test suite and prepare a new release if everything looks good on all platforms.

What do you use to generate those graphs by the way? I was going to run the benchmark suite and update the graphs on the readme, could you share what you use?

I use matplotlib to generate these figures. You can checkout the script at https://gist.github.com/FujiZ/89387d1a98d763753f2f7c5367a515e2


fix(modalify): sink not responding to the custom name

According to the examples, we can set a custom name for the modal that is set in the config. Apparently the customized name does not respond to any streams coming from the modal.
This PR should fix it

Thanks, i will publish later


fix: pop up menu

Fix pop up menu changelog and versioning.
Fix z-index on datagrid filter causing popup menu showing on top of the filter while the filter in sticky position.
related to WC-1125 and WC-1705
and related PR: https://github.com/mendix/web-widgets/pull/545/

E2E failed because
Error: [@mendix/popup-menu-web] package.json and package.xml versions do not match.


Update Mk3MiniExpansionPack.netkan

Filestructure of released zip file has changed. Includes version name in the root folder, so attempting to use find instead of file.

The install stanza for ships should probably befile : Ships/SPH based on console output from Jenkins


Add support to enable Document-level access control

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

It would be great to provide the option in this project to Enable Document-level access control

Thanks @waelkdouh , this is a popular request and hopefully we can find a better way to demonstrate it for this sample. Please see existing discussion in https://github.com/Azure-Samples/azure-search-openai-demo/issues/274 and https://github.com/Azure-Samples/azure-search-openai-demo/issues/214
I'll close this issue as a duplicate of #274


Support readonly objects

Description:
$title.
https://github.com/ballerina-platform/ballerina-lang/pull/23795 will introduce support for readonly objects.
public type Foo client readonly object {
};

#23795 is implemented on the antlr parser and only allows readonly immediately before object, but as mentioned in https://github.com/ballerina-platform/ballerina-spec/issues/535#issuecomment-643059000 this can be allowed in any combination as with the current object-type-quals abstract and client.
e.g.,
public type Foo readonly client object {
};

I guess this would be another object-type-qual and would need another case in io.ballerinalang.compiler.internal.parser.BallerinaParser#parseObjectTypeQualifiers(io.ballerinalang.compiler.syntax.tree.SyntaxKind).

We can enable org.ballerinalang.test.object.ReadonlyObjectTest on the new parser (which was disabled with https://github.com/ballerina-platform/ballerina-lang/pull/23795/commits/c9b99bcb74708bd1f7bf7a4763627dcc2c8330a9#diff-bae1685cb6faf73239d1383a92ec31c9R34) when fixing this.

Also need to enable ReadOnlyObjectBaloTest

Need to also enable ReadonlyObjectFieldTest's testReadonlyObjectFields. Disabled in https://github.com/ballerina-platform/ballerina-lang/pull/24107/commits/d875439364cd0f238223688330da3b98237e075b#diff-04c03ee79ed553d73d2b9bea8eabc0f5R36


Fix GuardDatas Incorrect Example

The changes this PR makes?
Guard Functions documentation has incorrect example of  GuardDatas usage. It don't use guardDatas variable at all!
This PR corrects documentation by adding missing code from old DiscordTS Docs
Why it should be merged?
Incorrect examples in documentation confuses developers

@Vista1nik this need rebase

@oceanroleplay Synced PR to main branch

@Vista1nik sorry, but can you please do it once again


Use combined index.pidx

An index.pidx file is available on the Keil pack index site that is a flat listing of all packs from all vendors. CPM should use this single index file instead of downloading keil.vidx/keil.pidx and then each vendor index, as it should be faster.

Oh, I got this in 0.2.7.


Revert "Point MuTalk repo to "pharo-contributions/mutalk""

Reverts mabdi/small-amp#111

I wanted to revert because some test failures.
However, it seems that the master also fails. I close this PR, and it needs to be updated later.


Handle multiple .ass file where each file has his own characters encoding

Not needed anymore because the source file characters encoding is now auto-detected.
Fixed with the commit https://github.com/locobastos/ass2srt-python/commit/73b9f5c6b3bc9ff177b74cb1046d01fc796941d4


[Issue]Recompute mode affects the latency of the request

Issue
In high concurrency situations, the latency of some requests is too long.
describe
Hello, thank you vllm for your contribution in large model deployment
Currently I have encountered a problem: when the bs/concurrency is high, the recompute mode will be triggered. This situation is not friendly to the latency of some requests because it needs to be recalculated.
Is there any good solution to this situation? Thanks ~

@viktor-ferenczi  @Woosuk Kwon
Do you have any suggestions over there?
Thanks~

Closing this issue as stale as there has been no discussion in the past 3 months.
If you are still experiencing the issue you describe, feel free to re-open this issue.