text:
PhotoViewAttacher.getScaleType()' on a null object reference

my app use ViewPager2 + PhotoView + Glide, to see a few picture, the app crash.
version 1.3.1
java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.ImageView$ScaleType uk.co.senab.photoview.PhotoViewAttacher.getScaleType()' on a null object reference
at uk.co.senab.photoview.PhotoView.getScaleType(PhotoView.java:115)
at com.bumptech.glide.RequestBuilder.into(RequestBuilder.java:680)

And the touch event for ViewPager2 still works during scaling.

Issues：The touch event for ViewPager2 still works during scaling.
You can call parent.requestDisallowInterceptTouchEvent(true) method when MotionEvent.getPointerCount() > 1.

@kelinZhou where exactly do you make this check?

<---?xml version="1.0" encoding="utf-8"?-->
<---LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:gravity="center">
<com.github.chrisbanes.photoview.PhotoView
    android:id="@+id/pvPhotoView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

<--/LinearLayout-->
try this...

I'm using this approach with waiting for an image view display by the GlobalLayout listener to solve this issue.
Thanks!!

authors: Lupin-Appsynth PontonMao TonyNikolov kelinZhou

repo: Baseflow/PhotoView


text:
Doesn't return anything if GPS is turned off

Although there is Geolocator().isLocationServiceEnabled() to know if the device GPS is turned on/off and then request location. Since there is no way to turn on GPS using this plugin there needs to have a workaround to achieve the same.
Geolocator().getCurrentPosition(desiredAccuracy: LocationAccuracy.high)  doesn't return null or anything if the GPS is turned off

I am also facing the same issues.

facing same issue !

@nateshmbhat which version of the geolocator plugin are you using? In our latest release candidate we have included the feature to automatically ask the user to enable the location services when calling the getCurrentPosition or getPositionStream methods.
Note that this will only work on Android with Google Play Services (so you should not use forceAndroidLocationManager). For iOS and Android using the LocationManager there are no SDKs available to automatically ask the user to enable the location services. This means you will receive a LocationServicesDisabledException which you can catch and alert the user that he or she should manually enable the location services (you can use the openLocationSettings to open the settings App, see detailed documentation here).

Its working in 6.0.0-rc but clicking on "no thanks" in the location services dialog is crashing the whole app.
D/AndroidRuntime(18533): Shutting down VM
E/AndroidRuntime(18533): FATAL EXCEPTION: main
E/AndroidRuntime(18533): Process: com.rakbank.falcon, PID: 18533
E/AndroidRuntime(18533): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=Intent { (has extras) }} to activity {com.rakbank.falcon/com.nuclei.falcon.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
E/AndroidRuntime(18533): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4976)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5017)
E/AndroidRuntime(18533): 	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
E/AndroidRuntime(18533): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(18533): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(18533): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2123)
E/AndroidRuntime(18533): 	at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(18533): 	at android.os.Looper.loop(Looper.java:214)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.main(ActivityThread.java:7710)
E/AndroidRuntime(18533): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(18533): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
E/AndroidRuntime(18533): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
E/AndroidRuntime(18533): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
E/AndroidRuntime(18533): 	at com.nateshmbhat.card_scanner.CardScannerPlugin.onActivityResult(CardScannerPlugin.java:105)
E/AndroidRuntime(18533): 	at io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEnginePluginRegistry.java:691)
E/AndroidRuntime(18533): 	at io.flutter.embedding.engine.FlutterEnginePluginRegistry.onActivityResult(FlutterEnginePluginRegistry.java:378)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:619)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterFragment.onActivityResult(FlutterFragment.java:704)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterFragmentActivity.onActivityResult(FlutterFragmentActivity.java:508)
E/AndroidRuntime(18533): 	at android.app.Activity.dispatchActivityResult(Activity.java:8140)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4969)
E/AndroidRuntime(18533): 	... 11 more

The issue has been fixed in the version https://pub.dev/packages/geolocator/versions/6.0.0-rc.3 and works as expected.
as @mvanbeusekom discussed above, It now asks for the user to enable location services when getCurrentPosition() is called and when the user denies enabling location it returns a PlatformException

@praveen-gm it is still crashing the app even in 6.0.0-rc.3  when user clicks on "no thanks"

@praveen-gm thank you very much for testing and giving feedback, it is much appreciated.
@nateshmbhat did you test this with the latest (6.0.0-rc.3) version or did you use the 6.0.0-rc.1 version when you received this error?

I used 6.0.0-rc.3 itself.

Its working in 6.0.0-rc but clicking on "no thanks" in the location services dialog is crashing the whole app.
D/AndroidRuntime(18533): Shutting down VM
E/AndroidRuntime(18533): FATAL EXCEPTION: main
E/AndroidRuntime(18533): Process: com.bank.falcon, PID: 18533
E/AndroidRuntime(18533): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=Intent { (has extras) }} to activity {com.rakbank.falcon/com.nuclei.falcon.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
E/AndroidRuntime(18533): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4976)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5017)
E/AndroidRuntime(18533): 	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
E/AndroidRuntime(18533): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(18533): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(18533): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2123)
E/AndroidRuntime(18533): 	at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(18533): 	at android.os.Looper.loop(Looper.java:214)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.main(ActivityThread.java:7710)
E/AndroidRuntime(18533): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(18533): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
E/AndroidRuntime(18533): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
E/AndroidRuntime(18533): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
E/AndroidRuntime(18533): 	at com.nateshmbhat.card_scanner.CardScannerPlugin.onActivityResult(CardScannerPlugin.java:105)
E/AndroidRuntime(18533): 	at io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEnginePluginRegistry.java:691)
E/AndroidRuntime(18533): 	at io.flutter.embedding.engine.FlutterEnginePluginRegistry.onActivityResult(FlutterEnginePluginRegistry.java:378)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:619)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterFragment.onActivityResult(FlutterFragment.java:704)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterFragmentActivity.onActivityResult(FlutterFragmentActivity.java:508)
E/AndroidRuntime(18533): 	at android.app.Activity.dispatchActivityResult(Activity.java:8140)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4969)
E/AndroidRuntime(18533): 	... 11 more

you need to use try/catch around the getCurrentPosition, catch for LocationServiceDisabledException, and handle when the user taps No Thanks

The following code crashes the application when user clicks on "No Thanks"
try {
            var location = await getCurrentPosition(desiredAccuracy: LocationAccuracy.low);
            onLocationDetected(location);
          } catch (e) {
            getLogger().w('User denied location service !');
          }

its not supposed to crash. it's supposed to raise an exception !

@nateshmbhat the problem is not with the geolocator but in the "card_scanner" plugin, as you can see in this stack trace:
E/AndroidRuntime(18533): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference
E/AndroidRuntime(18533): 	at com.nateshmbhat.card_scanner.CardScannerPlugin.onActivityResult(CardScannerPlugin.java:105)
E/AndroidRuntime(18533): 	at io.flutter.embedding.engine.FlutterEnginePluginRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEnginePluginRegistry.java:691)
E/AndroidRuntime(18533): 	at io.flutter.embedding.engine.FlutterEnginePluginRegistry.onActivityResult(FlutterEnginePluginRegistry.java:378)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:619)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterFragment.onActivityResult(FlutterFragment.java:704)
E/AndroidRuntime(18533): 	at io.flutter.embedding.android.FlutterFragmentActivity.onActivityResult(FlutterFragmentActivity.java:508)
E/AndroidRuntime(18533): 	at android.app.Activity.dispatchActivityResult(Activity.java:8140)
E/AndroidRuntime(18533): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4969)

The card_scanner plugin also implements the ActivityResultListener interface (which is perfectly fine) and thus also receives the result when the user selects the "no thanks" option. Unfortunately the card_scanner onActivityResult method doesn't correctly test the requestCode and tries to access the FlutterResult object which at that time is null and causes the crash. You can see it in the following code snippet or the card_scanner (here is a link to the code on GitHub):
    @Override
    public boolean onActivityResult(int requestCode, int resultCode, Intent data) {
        if (requestCode == SCAN_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
            if (data != null && data.hasExtra(CardScannerCameraActivity.SCAN_RESULT)) {
                CardDetails cardDetails = data.getParcelableExtra(CardScannerCameraActivity.SCAN_RESULT);
                pendingResult.success(cardDetails.toMap());
            } else {
                pendingResult.success(null);
            }

            pendingResult = null;
            return true;
        } else if (resultCode == Activity.RESULT_CANCELED) {
            pendingResult.success(null); // This line is causing the crash
            pendingResult = null;
        }
        return false;
    }

Hey @mvanbeusekom thanks for the tip !
that was really helpful bro :D

Glad I could help! I will close this issue when the final version of 6.0.0 is released (I am aiming to do so this Friday)

source: gharchive/issue

authors: DhavalRKansara mvanbeusekom nateshmbhat praveen-gm

repo: Baseflow/flutter-geolocator

license: MIT

license_type: permissive

license_source: github-api


text:
Add more aliases for git branch, use long form

Git can list local branches, remote branches, and both of them together.
Let's use the long form of the options to make the aliases quicker to understand.
Motivation and Context
Listing remote branches was missing from the git branch aliases.
How Has This Been Tested?
Not directly from this source code, but I used the aliases before on my local developer machine.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[ ] I have added tests to cover my changes, and all the new and existing tests pass.

So I vote that we lose the gba and gbr

Agreed.

In fact I prefer the gbl* variants as they seem more clear to me and also give the option of providing glob patterns to match against.
Also gbr could be mistaken as an alias for git branch and ppl might find it confusing in practice.

I think we're getting closing in understanding the ambiguity.
Since gb is already git branch and gbr is only the "remote" version of it, developers will learn quickly to rewire their muscle memory in case they use gbr. No real harm should happen from this.
With gbl (as a prefix) this is different. If we follow the concept of having a common prefix for all commands, and this prefix is gb in our case, and we may want to use gbl for blame, and we're able to let go of gbl for branch --list, then we would come back to the solution of the shorter aliases gba and gbr (for --all and --remote).
I would suggest to then introduce gbl as an alias for git blame, directly. – What do you think?

Soo ..
I never use git blame from cli, but I use the gbl alias to list branches regularly.
gb is of course very special since, as the naked git branch alias, users can use it as the base for any git branch commands ... Yes it prints a list by default, however ...
gbl has the benefit in that you can supply a <pattern> argument, which is only allowed when you also provide the --list argument.
If we see any value in the gbla and gblr aliases, then gbl must have similar value.
It would also be awkward to have gbl be git blame but have gbla and gblr` be branch related.
For bash-it, I think gb* is generally best used for git branch based aliases.
That said, I could see a potential for a gblame alias, as I think that would be non-ambiguous and still somewhat useful.
I also think its trivial for users to override aliases in their .bashrc (I override several) and some users (yourself included) will likely override gbl for git blame
Our goal to reduce all commands to 2-5 characters, by nature, can never please everyone, but I'm glad to have discussions like these.

Okay, then let's merge the current state of changes.

So I vote that we lose the gba and gbr

Agreed.

I think we're close, but looks like this change hasn't been made yet?

I think we're close, but looks like this change hasn't been made yet?

Done.

I am not sure about dropping gba. Although I am not using it at all, some people could still be using it and dropping support for it would only bring confusion. I think we should drop aliases only if they are clashing with some other programs, and dropping an alias just because you feel its clunky isnt a correct approach.
What do you think @bittner @davidpfarrell ?

I am not sure about dropping gba.

The decision to drop it comes from the following discussion above:

Looking into the man pages more, gba and gbr both result in lists, and I don't think they bring enough value over the gbl* variants.

I too would argue that I'd naturally use gba and gbr (albeit mostly the latter), and may find myself confused not having them around. I'm confident that I'll get used to the idea of "branch list", but new users may not find it naturally.
Said that, I'd be happy to re-add both variants. Since gbla and gblr provide additional value I think all 4 can stay.

I am not sure about dropping gba.

The decision to drop it came from the following discussion above:

Looking into the man pages more, gba and gbr both result in lists, and I don't think they bring enough value over the gbl* variants.

I too would argue that I'd naturally use gba and gbr (albeit mostly the latter), and may find myself confused not having them around. I'm confident that I'll get used to the idea of "branch list", but new users may not conclude this naturally.
Said that, I'd be happy to re-add both variants. Since gbla and gblr provide additional value I think all 4 could stay.

I am completely fine with adding new variants, but old variants should not be dropped so lightly IMO

I am not sure about dropping gba

I'm fine leaving it in - I prefer to remove it, but I see your point ...

I prefer to learn patterns. Rules that I can apply and that work out in a generic way. So, while I'll be re-adding gba I'll also re-add gbr – because we have gbla and gblr. It will make the pattern (more) complete.
I hope that's fine for you folks.

If that resolves all discussions I'd be happy to see the change merged! :100:
Afterwards, I'd immediately dedicate myself to resolve #2160 (as this is slightly related and touches the same source file).

Something's broken with bats on macOS 11. Not sure what is is, really:
# bats warning: Executed 245 instead of expected 268 tests
Error: Process completed with exit code 1.

There is something statistical in macos tests, this is unrelated to you

Thanks @bittner and @davidpfarrell for the review!

source: gharchive/pull-request

authors: NoahGorny bittner davidpfarrell

repo: Bash-it/bash-it


text:
fix: patch axios

Description

fix: patch axios

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[ ] Roll Forward
[x] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 4.7.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: bt-platform-eng kevinperaza

repo: Basis-Theory/basis-theory-js


text:
feat: Adds account updater 'WRN_UNSUPPORTED_NETWORK' result code

Description

Adds account updater 'WRN_UNSUPPORTED_NETWORK' result code

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.165.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: bt-platform-eng dhudec


text:
Vector3 expression node

Hey @Mr-Slurpy ,
Got to play with your expression node finally today. Love it!!
I think we should move it into the transform group instead of the primitive group. It is a node that performs a modification on an input array.
The other thing I was wondering about, and this may be more difficult, but it would be nice if it could have a Vertex3 as an output, or maybe have a version that has a Vertex3 as output. It'll need a larger expression field as it will end up being something like "Vector3(a, sin(b), c)" as an expression (that happened to be what I was using it for).

Yeah sure we could add a new node for Vector3 expressions. I was thinking of trying out C++ templates to cut down on code.
For the group, I agree maybe it belongs in the the transform group. Also we shouldn't let the transform group get too big. (i think 7-8 options max) If the transform group gets too big we should move some nodes out or make another submenu in it. For example,

P.S. We should do something about all the gdscript warnings popping up in the console. If thats even possible.

I'm not sure if template classes will really prevent that much code duplication, but it is worth a try.
I agree adding one more subgroup makes sense, we may eventually need to move to a different menu structure all together. The menu was just the quickest thing I could come up with but I'm still learning about Godots UI :)
I'm not sure if we can do much about the GDScript warnings as atleast 3 of those 4 are due to parameters of signals we're simply ignoring. That first one is probably a leftover from before I split off the node code into a separate script so that can be fixed.

authors: BastiaanOlij Mr-Slurpy

repo: BastiaanOlij/gdprocmesh


text:
Taiwan is a part of China

We already had this discussion.
https://github.com/Bastian/bStats/issues/77

repo: Bastian/bStats-Metrics


text:
Can not prevent menu from staying open when body is clicked

Hi, I noticed there's no option to keep the menu open when you click outside it. Considering the level of customizations this plug in provides,I think it must be included, is it a bug?
The file removes a few classes from the HTML element but I can't pin point to the code that does that, if someone could point me to that piece of code, I may be able to create a work around for it.
Thanks

For now, clicking outside the menu will close the menu. This is due to the DIV#mm-blocker that blocks interaction with the page while the menu is open.
I guess you could hide this blocker with css:
#mm-blocker {
   display: none !important;
}

@FrDH Thanks a lot man. I managed to create a workaround for now.

license: mit

license_source: bigquery


text:
Users not loading.

django_private_chat2 version:
Django version:3.2.7
Python version:3.9.2
Operating System: macOS Monterey

Description
Websocket connections sometimes connect but often doesn't. I Keep getting
WebSocket HANDSHAKING /chat_ws [127.0.0.1:50071]
WebSocket REJECT /chat_ws [127.0.0.1:50071]
WebSocket DISCONNECT /chat_ws [127.0.0.1:50071]
I have been able to set up the project. Have setup my chat index and user list in a Django chat app.
frontend code from example are in an app called chat of my django project.
I set up urls like this:
path('apps/chat/', include("chat.urls") ,name="chat-app"),
path(r'apps/chat/', include('django_private_chat2.urls', namespace='django_private_chat2')
When I visit chat and users_list ape endpoint in browser, I get results. but console is logging not found.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

How are you even running it mate? I can't find a command to start the chat server

Hello, Including channels into the installed apps will start the Django channels server. and you need to add the chat app into your installed apps, and add the relevant paths to the urls file and relevant settings.

On 29 Jun 2022, at 2:32 AM, Sumanshu Arora @.***> wrote:
How are you even running it mate? I can't find a command to start the chat server
—
Reply to this email directly, view it on GitHub https://github.com/Bearle/django_private_chat2/issues/35#issuecomment-1169467139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHINJKUG5I6BLFVTSZS2RDVROYSPANCNFSM5Z3CW7JQ.
You are receiving this because you authored the thread.

authors: mailantwi sumanshusamarora


text:
About some slices don't have masks.

I've received your dataset, it very helpful, thanks a lot.
But I found that some training data slices don't have masks, like 'case0005_slice000.npz' to 'case0005_slice022.npz', I think these slices may not make any contributions to model training, I wonder if it was just an oversight or you did it intentionally.

Hello! Is that you get the preprocessed dataset?If possible can you sent them to my email yyikimapple@gmail.com.Thanks a lot.

Hello! Is that you get the preprocessed dataset?If possible can you sent them to my email 1415451024@qq.com.Thanks a lot!

@hheavenknowss Hello! Cound you please send the preprocessed data set that can run the code to my mailbox? Thank you!1415451024@qq.com

I've received your dataset, it very helpful, thanks a lot.
But I found that some training data slices don't have masks, like 'case0005_slice000.npz' to 'case0005_slice022.npz', I think these slices may not make any contributions to model training, I wonder if it was just an oversight or you did it intentionally.

你好。我也看到了这一现象，不过我猜也许是掩码像素很低导致的，可以读出来看一下，尽管我没有尝试。

Hello! Is that you get the preprocessed dataset? If possible can you sent them to my email zhouqianhs@163.com.Thanks a lot.

Hello, could you send me a copy of the preprocessed dataset to 479207459@qq.com. Thanks you very much!

Hello! Is that you get the preprocessed dataset?If possible can you sent them to my email 1242552822@qq.com.Thanks a lot!

Hello, could you send me a copy of the preprocessed dataset to 1048727490@qq.com. Thanks you very much!

@hheavenknowss Hello! Is that you get the preprocessed dataset? If possible can you sent them to my email 2934590786@qq.com. Thanks you very much!

Hi @hheavenknowss ! Could you send me the preprocessed data at emmanuel.leguet@imt-atlantique.net, if you have it, please ?  Thank you very much !

Hi @hheavenknowss. Could you send me the preprocessed data to my email 626enqing@gmail.com? Thank you very much.

I've received your dataset, it very helpful, thanks a lot. But I found that some training data slices don't have masks, like 'case0005_slice000.npz' to 'case0005_slice022.npz', I think these slices may not make any contributions to model training, I wonder if it was just an oversight or you did it intentionally.

Hello, could you send me a copy of the preprocessed dataset to [1015480330@qq.com] Thanks you very much!

Could you send me the preprocessed data to my email 626enqing@gmail.com? Thank you very much.

Could you send me the preprocessed data to my email shanshanli233@126.com? Thank you very much.

I also want the preprocessed data , thank you very much!
e-mail
[wangrujsxz@163.com)

repo: Beckschen/TransUNet


text:
Test otaa mode

add otaa join procedure in lora.join(), remove commands and add examples

hey ivan really nice work i will test all the functions this week, promise!
Thanks for the hard work

I test the changes with my examples and everything went ok, but when i tried to get your examples working i could not compile them i review the errors

Perfect, now everything compile, can you add to travis to merge and release another version?

Nice, all ok, I make merge, thanks @ivan28823!

repo: BeelanMX/arduino-LoRaWAN


text:
Behat 3.0 does not accept multiple arguments for the formatter option

I'm trying to use both the html and progress formatter. In version 2.5 this was possible by executing Behat with following options;
./bin/behat -f 'progress,html'
In Behat 3, when I try to pass multiple values for the format option, Behat throws a FormatterNotFoundException. This is the full error message;
 [Behat\Testwork\Output\Exception\FormatterNotFoundException]
  `pretty,html` formatter is not found or has not been properly registered. Registered formatters: `pretty`, `progress`, `html`.

Note: I'm using the emuse/behat-html-formatter library in order to have the html format available.
Here is a list of options I tried;

./bin/behat -f 'html,pretty'
./bin/behat --format 'html,pretty'
./bin/behat -f 'pretty,html'
./bin/behat --format 'pretty,html'
./bin/behat -f html,pretty
./bin/behat --format html,pretty
./bin/behat -f 'html pretty'
./bin/behat --format 'html pretty'

Edit: The yml configuration does accept multiple formatters. The issue is only related to the Behat CLI tool;
# behat.yml
default:
  formatters:
    pretty: true
    html:
      output_path: /www/behat/reports/

Hi @legovaer
Please try bin/behat -f pretty -f html
I faced similar issue recently and that helped me.

I'll only add you can add multiple --out options too:
./bin/behat --format pretty --out std --format junit --out build

That works indeed.
Not sure wether I should close this issue or not, the (expected) default behavior is not working. Unless the new default behavior is like what has been described above. In that case the documentation needs to be updated.

@legovaer make sure you're reading Behat3 docs, and not Behat2. Part of the problem is that Behat2 docs are shown by default on behat.org (ping @everzet).
Behaviour described above is indeed the expected one. You can close this issue.
If you feel like there's something missing in the docs, please open an issue (or a PR) in the docs repo.

@jakzal I'm quite sure that it's not in the Behat3 docs. Behat3.0 Running Tests is an empty page.
Thanks for the link to the docs repo. I'll start contributing to the docs.

Ticket closed because this is expected behaviour in Behat 3.0 as mentioned by @jakzal.

authors: gdobiecki jakzal legovaer

repo: Behat/Behat


text:
Add support for multiple days/range selections

Is it possible to set multiple days or multiple ranges as default selection?
Couldn't find anything about this on documentation

As for the current design, only one date or range are supported in the selection by the user, so the same applies to the default selection.
I may consider adding the support for it in the future!

@victorpinheiro @GiovanniFrigo  We can use customClasses with state to select multiple dates.
  const [ dates, setDates ] = useState([]);
<Calendar
  year={2021}
  onPickDate={ date => setDates([ ...dates, date.format('MM/DD/YYYY') ]) }
  customClasses={{
    selected: day => dates.includes(day.format('MM/DD/YYYY'))
  }}
/>

repo: BelkaLab/react-yearly-calendar


text:
Vim keybindings

Are Vim bindings planned? https://xkcd.com/1823/

Not currently, and definitely not in the scope of our semester goals. I will definitely look into it for the future, though. Also sorry if I missed you when asking for questions! (I was nervous)

authors: Ben-Wolf bennyty

repo: Ben-Wolf/Mergeable


text:
Ranks show assigned to wrong people at start of the match

This has only been tested in Casual as I don't play a lot of competitive.
Just installed this plugin today and noticed that at the start of the matches the ranks do not seem to display correctly, or rather the correct ranks are visible but next to the wrong persons.  It seems to resolve itself later into the game but can be a little confusing.
Settings are left on default; showing "best" rank across playlists. The only change I've made is disabling divisions.
Start of match

Later in match

Hey,
Thanks for reaching out!
I know about the issue, and from what I remember, it is due to the plugin assuming alphabetical order on the start, while it may be by order of joining or just random.
It later corrects itself because it orders them by score.
But at the start of the match everyone is at 0.
Unfortunatelly I don't have a sollution to the problem, and I've stopped working on this plugin long ago.
However the repository is open to contributions, so if you or anyone else has a fix I'm happy to update the plugin.

@BenTheDan still alive and accepting PRs? 😄 Might work on this this week.

@nkezhaya alive and well 😀, if you'd like to submit a PR I'm happy to review it and add it to the plugin

Fixed in the v1.2.1 patch (still pending review)

authors: BenTheDan mmotti nkezhaya

repo: BenTheDan/IngameRank


text:
Error(s) in loading state_dict for exBertEmbeddings

Environment info
I'm tying to using fine-tune my own dataset in exBert with examples/pytorch/language-modeling/run_mlm.py.
Also successful export the following files under the path of exbert-mlm:
vocab.txt
train_result.json
pytorch_model.bin
config.json

This is the function I use
from transformers import exBertModel, exBertTokenizer

model = exBertModel.from_pretrained("exbert-mlm/")

But an error occurred :
RuntimeError                              Traceback (most recent call last)
<ipython-input-2-33cf1285cf06> in <module>
      1 from transformers import exBertModel, exBertTokenizer
      2
----> 3 model = exBertModel.from_pretrained("exbert-mlm/")
      4 # tokenizer = exBertTokenizer.from_pretrained()；

~\AppData\Roaming\Python\Python38\site-packages\transformers\modeling_utils.py in from_pretrained(cls, pretrained_model_name_or_path, *model_args, **kwargs)
   1171         else:
   1172             with no_init_weights(_enable=_fast_init):
-> 1173                 model = cls(config, *model_args, **model_kwargs)
   1174
   1175         if from_tf:

~\AppData\Roaming\Python\Python38\site-packages\transformers\models\exbert\modeling_exbert.py in __init__(self, config)
    644
    645             base_model_weight = BertModel.from_pretrained(self.config.base_model)
--> 646             self.embeddings.load_state_dict(base_model_weight.embeddings.state_dict(), strict=False)
    647             self.encoder.load_state_dict(base_model_weight.encoder.state_dict(), strict=False)
    648

C:\ProgramData\Anaconda3\lib\site-packages\torch\nn\modules\module.py in load_state_dict(self, state_dict, strict)
   1049
   1050         if len(error_msgs) > 0:
-> 1051             raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
   1052                                self.__class__.__name__, "\n\t".join(error_msgs)))
   1053         return _IncompatibleKeys(missing_keys, unexpected_keys)

RuntimeError: Error(s) in loading state_dict for exBertEmbeddings:
	size mismatch for word_embeddings.weight: copying a param with shape torch.Size([28996, 768]) from checkpoint, the shape in current model is torch.Size([55707, 768]).

transformers : 4.7.0.dev0
Python version: 3.7
PyTorch version (GPU):1.7.1+cu11.0 with RTX3090

why would a mismatch show up if I'm just trying to load from pretrained local files?

Supplement
This is my config.json
{   "architectures": [     "exBertForMaskedLM"   ],   "attention_probs_dropout_prob": 0.1,   "base_model": "bert-base-cased",   "bos_token_id": 0,   "directionality": "bidi",   "eos_token_id": 2,   "ex_hidden_size": 252,   "ex_intermediate_size": 1024,   "ex_num_attention_heads": 12,   "ex_num_hidden_layers": 12,   "ex_vocab_size": 26711,   "freeze_base_model": true,   "hidden_act": "gelu",   "hidden_dropout_prob": 0.1,   "hidden_size": 768,   "initializer_range": 0.02,   "intermediate_size": 3072,   "layer_norm_eps": 1e-12,   "max_position_embeddings": 512,   "model_type": "exbert",   "num_attention_heads": 12,   "num_hidden_layers": 12,   "pad_token_id": 1,   "pooler_fc_size": 768,   "pooler_num_attention_heads": 12,   "pooler_num_fc_layers": 3,   "pooler_size_per_head": 128,   "pooler_type": "first_token_transform",   "transformers_version": "4.7.0.dev0",   "type_vocab_size": 2,   "use_cache": true,   "vocab_size": 55707 }

Are you using the original code that was used for exBERT?
I actually tried using their code but lots of errors occurred specially GPU OOM and they don't have the requirements.txt. Also, there's no support on github for their code right now.
I want to train and save a generic model on my domain specific vocab to use its embedding or fine tune later for specific tasks

Hi Mahesh Deshwal:
Sorry for the late reply
Yes, I can implement their code but see lots of problems.
Seems like we want to do the same thing.
My idea is to use the original bert (i.e. multilingual bert) then
combine the another embedding which is pre-trained on my dataset.
You-Qian
Mahesh Deshwal @.***> 於 2022年4月12日 週二 下午7:25寫道：

Are you using the original code that was used for exBERT?
I actually tried using their code but lots of errors occurred specially
GPU OOM and they don't have the requirements.txt. Also, there's no
support on github for their code right now.
I want to train and save a generic model on my domain specific vocab to
use its embedding or fine tune later for specific tasks
—
Reply to this email directly, view it on GitHub
https://github.com/Beomi/exbert-transformers/issues/1#issuecomment-1096599774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOXZ4MUMJVGIR5FMNLLUYLVEVMSZANCNFSM5IAUJCWQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: Beomi/exbert-transformers


text:
Profiling Django-Cachalot

I've just implemented Django-Cachalot for my Heroku production app, and everything has been running very smoothly.  Thank you for the great work!
I recently took a look at our memcached metrics and noticed that the datastore size has been steadily growing since we launched the package (currently at 20GB, 3.5x the size our actual Postgres DB, with no signs of slowing down).
Given the cost of running a memcached server, we need a way to profile our app under Django-cachalot to determine whether the cost of keeping this data in cache is worth the gains in query speed.
We decided the important profiling metrics for our application were:

Total # of Cache Hits (both in aggregate and by model)
Total # of Cache Misses (both in aggregate and by model)
Average storage size of cached objects (both in aggregate and by model)

Here is the first draft of our monkey patch of Django-Cachalot that we'll be temporarily deploying to profile the current cache's effectiveness: https://gist.github.com/boxbeatsy/87bdbc8f997872c77856c4d8cc8638f4
Here is a reporting script: https://gist.github.com/boxbeatsy/fda5cfe1eb5af03d5289b63f0bd339fd
Does anyone have additional guidance on how to better profile our app?  Would this be something  worth adding to Django-Cachalot? (I imagine profiling would be an important operational question for anyone deploying this in production at scale).

After a little more digging, I've found that invalidating tables doesn't actually delete any keys from  cache.  It waits for LRU to evict old keys, which is most efficient (no use deleting keys in practice).  However, it does make it really hard to determine how much space Django-Cachalot requires in production to operate at maximum efficiency.  What about adding a management function that deletes all expired cachalot keys?  This would be very inefficient, but could be used sparingly to understand how much  space cachalot is actually using.

First of all, you should set the memcached memory limit. Once it’s set, there’s no surprise: it will not take more than what you allow. And therefore no need for profiling.
Now, it would indeed be great to have better tools for profiling caches. Unfortunately, caches absolutely don’t work like a database, and that’s the cost for being as fast as possible. The only reliable thing with a cache is: asking for what’s stored at a certain key, and set the value for a certain key. Forget what you think you know about timeouts etc: none of it is reliable. If you create a key with an infinite timeout, it can very well be removed before a key with a 1 second timeout (if you want to know more about it, read this article in the Redis docs).
I’m sorry, but there’s no viable solution to make a command that deletes expired cachalot keys. I know it could be possible using Redis (or using other caches with non-standard hacks), but that would take hours on a big cache…
However, because tons of people requested it, I will add a way to specify cachalot’s timeout in the upcoming major release… For me, there is no good reason to use it, configuring properly the cache backend is the solution, not using a timeout that doesn’t work as 99.5% people think it does. But if users feel at home by having it…

authors: BertrandBordage boxbeatsy

repo: BertrandBordage/django-cachalot


text:
Caching large querysets

I'm using your library in an appengine project (Thanks for your contribution :)), and the memcache server has a fixed item limit of 1MB, when the queryset that cachalot returns is > 1MB, then it fails spectacularly,
This is not really the fault or responsibility of cachalot, but it got me thinking, wouldn't it be a small effort/big win to use zlib or gzip compression on the querysets before caching them? This wouldn't necessarily solve my problem, as a compressed queryset may still exceed 1MB, but it would improve efficiency all round.
to solve my problem I'm guessing ill need to find a way to get my caching backend (memcache) to chunk large items before storing them, and when retrieving them. Happy to hear If you know of an existing solution to this, otherwise ill roll my own.
Happy to hear thought/suggestions or if I've missed the mark somewhere.

Compressing query results is out of the question, as it decreases performance drastically. I made a test, with a 1MB result, compressing + decompressing with zlib takes 10 ms. Besides, as you mentioned, it doesn’t solve the problem.
The options you have are in my opinion:

Use a different cache backend, for example LocMem if you have only one worker, or FileBased if you have multiple workers. These caches are extremely simple and usually snubbed by developers, but I never understood why. Both are reliable, have excellent performance (thanks to the filesystem cache in FileBased’s case), and don’t require any dependency. I guess devs love to use trendy software like Redis or elasticsearch, even when that’s useless & wasteful.
Deploy your code somewhere else.
Stop using django-cachalot.

(I think the problem of the LocMem cache is that it's not shared between Django workers and most developers think multi-worker-wise. For the File one however, I'd say they tend to forget that the system file cache can speed up things a bit)

Thanks for your input, I'm going to keep using cachalot because it's providing a great performance boost to my site, moving away from appengine is not an option for me right now, I have a read-only file system, multiple workers/autoscaled servers and can't warrant the use of an external cache (outside of appengine)
What I've ended up doing was identifying the tables that yield such a massive queryset, and doing some more ORM optimisation (mainly it's the contents of JSONfields), though in any other project, I would probably not do in appengine again, and allow myself the freedom of using a different cache, or adjusting item size limit.
Thanks again for your input, and your contribution

Can you split the cache data and store it into multiple keys ?
mykey.1
mykey.2
...

authors: BertrandBordage artscoop farridav tolsac


text:
Use of Directory Names (Hierarchical Namespace) for Azure Data Lake

Is it possible, or is there a reason why it's not been implemented, to use Directory Names (hierarchical namespace) in addition to Containers?
https://learn.microsoft.com/en-us/rest/api/storageservices/Naming-and-Referencing-Containers--Blobs--and-Metadata#directory-names
So e.g.
Container = BC2ADLS
Directory Name = Raw
Result = BC2ADLS/Raw
Thanks
Ben

Hi @benmarriott-TVT
Why do you want to have hierachical namespaces?
It is now already in folders the .parquet files and .csv files.
And if you import it through the CDM structure there is no need for that. That was the main purpose to consume it through the CDM structure the processed files.

Hi @Bertverbeek4PS
A client (part of a larger group) have their ADLS set up with a 'raw/company' structure (e.g. raw/companyA , raw/company B etc.)
I'm not very familiar with ADLS but they've posed the question.
Thanks

Well with bc2adls the company is inside the table export in that way you combine or divide it.
Also you have some tables that are multi company. In that way you have to export it for each company.
So not sure why they want it. But it is by design.

Thanks. It's actually that their data lake is not just BC companies data. So raw/companyA could be from BC but raw/companyB could be from SAP or ANOther system. They have a 'raw' lake split by the source companies/systems.

Ah ok. Well what you can do it to export it and in the pipelines you will extract it to the right folders.
Because you need to combine the delta's of BC and Datalake.
And then you can at the end move it to another folder in the datalake with a modification of the synapse pipelines.


text:
Initial commit.

Added NotNull from JetBrains
Removed unnecessary code

Thank you for your contribution! LGTM!

authors: Nuytemans-Dieter ProfliX

repo: BetterPluginsSpigot/BetterYaml


text:
Regression: update-dns no longer working in Ubuntu 18.04LTS

Version: 8.6.0.427 amd64
OS/Distro: Ubuntu desktop 18.04
Issue/Impact:

systemctl status lwsmd.service
● lwsmd.service - BeyondTrust PBIS Service Manager
Loaded: loaded (/lib/systemd/system/lwsmd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-08-06 09:32:14 CEST; 3min 54s ago
Process: 922 ExecStart=/opt/pbis/sbin/lwsmd --start-as-daemon (code=exited, status=0/SUCCESS)
Main PID: 978 (lwsmd)
Tasks: 371 (limit: 4915)
CGroup: /system.slice/lwsmd.service
├─ 978 /opt/pbis/sbin/lwsmd --start-as-daemon
├─1029 lw-container lwreg
├─1085 lw-container eventlog
├─1139 lw-container netlogon
├─1192 lw-container lwio
├─1247 lw-container lsass
└─1327 lw-container reapsysl

ago 06 09:32:13 str957-254 /opt/pbis/sbin/lwsmd[978]: Logging started
ago 06 09:32:13 str957-254 lwreg[1029]: Logging started
ago 06 09:32:13 str957-254 eventlog[1085]: Logging started
ago 06 09:32:13 str957-254 netlogon[1139]: Logging started
ago 06 09:32:14 str957-254 lwio[1192]: Logging started
ago 06 09:32:14 str957-254 lsass[1247]: Logging started
ago 06 09:32:14 str957-254 reapsysl[1327]: Logging started
ago 06 09:32:14 str957-254 systemd[1]: Started BeyondTrust PBIS Service Manager.
ago 06 09:32:15 str957-254 lsass[1247]: [lsass] Domain 'xxxxxxx' is now offline
ago 06 09:33:14 str957-254 lsass[1247]: [lsass] Domain 'xxxxxxx is now online

/opt/pbis/bin/lwsm list
lwreg          running (container: 1029)
dcerpc         stopped
eventlog       running (container: 1085)
lsass          running (container: 1247)
lwio           running (container: 1192)
netlogon       running (container: 1139)
rdr            running (io: 1192)
reapsysl       running (container: 1327)
usermonitor    stopped

/opt/pbis/domainjoin-cli query
(note that the path in the template misses the 'bin/' part)
Name = str957-254
Domain = PERSONALE.xxxxxxxxx
Distinguished Name = CN=STR957-254,OU=Computer,OU=Str00957-DIFA,OU=Dsa.Auto,DC=personale,DC=xxxxxxxx,DC=xxxxxx,DC=xx

pbis status
LSA Server Status:

Compiled daemon version: 8.6.0.427
Packaged product version: 8.6.427.243473
Uptime:        0 days 0 hours 7 minutes 8 seconds
[Authentication provider: lsa-activedirectory-provider]
Status:        Online
Mode:          Un-provisioned
Domain:        PERSONALE.xxxxxx
Domain SID:    S-1-5-21-2162351890-1506888927-3107636301
Forest:        xxxxxx
Site:          xxxxxx
Online check interval:  300 seconds
[Trusted Domains: 9]

[Domain: PERSONALE]

	DNS Domain:       personale.xxxxx
	Netbios name:     PERSONALE
	Forest name:      xxxxx
	Trustee DNS name:
	Client site name: xxxxx
	Domain SID:       S-1-5-21-2162351890-1506888927-3107636301
	Domain GUID:      00000000-0000-0000-0000-000000000000
	Trust Flags:      [0x0019]
	                  [0x0001 - In forest]
	                  [0x0008 - Primary]
	                  [0x0010 - Native]
	Trust type:       Up Level
	Trust Attributes: [0x0000]
	Trust Direction:  Primary Domain
	Trust Mode:       In my forest Trust (MFT)
	Domain flags:     [0x0001]
	                  [0x0001 - Primary]

	[Domain Controller (DC) Information]

		DC Name:              DCRPERSONALE01.personale.xxxxxxxxx
		DC Address:           xxxxxxx
		DC Site:              xxxxxxxxxx
		DC Flags:             [0x000031fc]
		DC Is PDC:            no
		DC is time server:    yes
		DC has writeable DS:  yes
		DC is Global Catalog: yes
		DC is running KDC:    yes

[Other domains in forest follow]

/opt/pbis/bin/enum-users
Trust me, that would be 'a bit' too big... (~100k users).

attach logs

/opt/pbis/bin/lwsm set-log-target -p lsass -  file /tmp/lsass.log
/opt/pbis/bin/lwsm set-log-level -p lsass - debug
attach log
No useful info.

Output/Error:
/opt/pbis/bin/update-dns
Failed to update DNS.  No name servers could be reached.
Retry using --dnsserver option
Steps to Reproduce:
Just upgrade a joined Ubuntu 16.04LTS to 18.04LTS (or do a fresh install). update-dns stops working :(
Same machine, same address, same join procedure (I install using a script), different behaviour.
Probably Ubuntu changed something network-wise?

This was caused by an Ubuntu change in how they do DNS resolution. For now we added the --dnsserver option. With that option you can point to the dnsserver you want the record added to.

Does not work. Possibly our AD config is uncommon, but even giving the same IP used by update-dns in 16.04 fails in 18.04 :(

Hi, I can confirm that we face the exact same problem here. We also tried the --dnsserver option, but to no avail, it still fails. I also have to admit that our AD setup is probably a bit uncommon, but it worked on Ubuntu 16.04.

We have a DNS-server that redirects the requests to our Active Directory DNS-server, I've tried both and here are the outputs from debug I get.
Without --dnsserver:

sudo /opt/pbis/bin/update-dns --loglevel debug
20180810143028:VERBOSE:0x7fe984295740:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:229] Querying DNS for SOA Record for zone [adm-106005.adm.c.sdu.dk]
20180810143028:VERBOSE:0x7fe984295740:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:249] SOA record not found [h_errno:4]
20180810143028:VERBOSE:0x7fe984295740:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:229] Querying DNS for SOA Record for zone [adm.c.sdu.dk]
20180810143028:VERBOSE:0x7fe984295740:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:249] SOA record not found [h_errno:4]
20180810143028:VERBOSE:0x7fe984295740:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:229] Querying DNS for SOA Record for zone [c.sdu.dk]
20180810143028:VERBOSE:0x7fe984295740:[DNSBuildNameServerList() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:927] Adding Name Server [sdu-vdc0f.c.sdu.dk]
20180810143028:INFO:0x7fe984295740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:282] Attempting to update name server [sdu-vdc0f.c.sdu.dk]
20180810143028:ERROR:0x7fe984295740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:293] Failed to open connection to Name Server [sdu-vdc0f.c.sdu.dk]. [Error code:-2]
Failed to update DNS.  No name servers could be reached.
Retry using --dnsserver option

With our global dnsserver:

sudo /opt/pbis/bin/update-dns --dnsserver 10.220.2.5 --loglevel debug
20180810142948:INFO:0x7f4eb90d9740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:282] Attempting to update name server [10.220.2.5]
20180810142948:VERBOSE:0x7f4eb90d9740:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:146] Hostname:10.220.2.5
20180810142948:VERBOSE:0x7f4eb90d9740:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:148] IPV4 Address:10.220.2.5
20180810142948:INFO:0x7f4eb90d9740:[DNSUpdateSecure() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:588] Attempting DNS Update (in-secure)
20180810142948:INFO:0x7f4eb90d9740:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [10.85.12.16] to DNS Update request
20180810142948:ERROR:0x7f4eb90d9740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:324] Failed to update Name Server [10.220.2.5]. [Error code:9504]
Failed to update DNS. Error code [42700].
Retry using --dnsserver option

With our AD-dnsserver:

sudo /opt/pbis/bin/update-dns --dnsserver 10.144.5.25 --loglevel debug
20180810142959:INFO:0x7f1ed2b36740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:282] Attempting to update name server [10.144.5.25]
20180810142959:VERBOSE:0x7f1ed2b36740:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:146] Hostname:10.144.5.25
20180810142959:VERBOSE:0x7f1ed2b36740:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:148] IPV4 Address:10.144.5.25
20180810142959:INFO:0x7f1ed2b36740:[DNSUpdateSecure() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:588] Attempting DNS Update (in-secure)
20180810142959:INFO:0x7f1ed2b36740:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [10.85.12.16] to DNS Update request
20180810142959:ERROR:0x7f1ed2b36740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:324] Failed to update Name Server [10.144.5.25]. [Error code:9009]
Failed to update DNS. Error code [42700].
Retry using --dnsserver option

Here it is.
I took the IP of the DNS server from the update log of another machine, still at 16.04, so I'm quite sure it's correct.
root@str957-253:~# /opt/pbis/bin/update-dns --dnsserver x.x.x.x --loglevel debug
20180810143855:INFO:0x7f73f4a0b740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:282] Attempting to update name server [x.x.x.x]
20180810143855:VERBOSE:0x7f73f4a0b740:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:146] Hostname:x.x.x.x
20180810143855:VERBOSE:0x7f73f4a0b740:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:148] IPV4 Address:x.x.x.x
20180810143855:INFO:0x7f73f4a0b740:[DNSUpdateSecure() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:588] Attempting DNS Update (in-secure)
20180810143855:INFO:0x7f73f4a0b740:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [y.y.y.y] to DNS Update request
20180810143855:ERROR:0x7f73f4a0b740:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:324] Failed to update Name Server [x.x.x.x]. [Error code:9009]
Failed to update DNS. Error code [42700].
Retry using --dnsserver option

Error code [42700].

I see this error when targeting a server that does not have the zone for the record you are trying to add. Can you confirm the exact server that is maintaining the zone?

Yes. But on 16.04 if I specify --dnsserver using the same IP it would autodetect, it fails!

We're getting 8.7.0 wrapped up now. We'll try and have another pass and see if we can address the problems in 18.04 directly

Just upgraded pbis-open to 8.7.0.478, but still no change.

The log message "Failed to update Name Server [x.x.x.x]. [Error code:9009]" indicates the DNS server returned the error code 9009.
DNS_ERROR_RCODE_NOTAUTH
9009 (0x2331)
DNS server not authoritative for zone.

This appears to be saying the DNS server you are trying to use is not authoritative. It may be worth double checking which DNS servers are authoritative for your DNS zone you're trying to use and retrying.

From 16.04 machine (updated to pbis-open 8.7.0.478):
# /opt/pbis/bin/update-dns --loglevel debug
20180821123639:VERBOSE:0x7f57c62c0700:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:229] Querying DNS for SOA Record for zone [my.long.machine.name]
20180821123639:VERBOSE:0x7f57c62c0700:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:249] SOA record not found [h_errno:4]
20180821123639:VERBOSE:0x7f57c62c0700:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:229] Querying DNS for SOA Record for zone [long.machine.name]
20180821123639:VERBOSE:0x7f57c62c0700:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:249] SOA record not found [h_errno:4]
20180821123639:VERBOSE:0x7f57c62c0700:[DNSGetNameServers() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:229] Querying DNS for SOA Record for zone [machine.name]
20180821123639:VERBOSE:0x7f57c62c0700:[DNSBuildNameServerList() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsparser.c:927] Adding Name Server [adserver.machine.name]
20180821123639:INFO:0x7f57c62c0700:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:282] Attempting to update name server [adserver.machine.name]
20180821123639:VERBOSE:0x7f57c62c0700:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:146] Hostname:adserver.machine.name
20180821123639:VERBOSE:0x7f57c62c0700:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:148] IPV4 Address:123.45.67.89
20180821123639:INFO:0x7f57c62c0700:[DNSUpdateSecure() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:588] Attempting DNS Update (in-secure)
20180821123639:INFO:0x7f57c62c0700:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [123.45.69.87] to DNS Update request
20180821123639:INFO:0x7f57c62c0700:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [192.168.1.219] to DNS Update request
20180821123639:INFO:0x7f57c62c0700:[DNSUpdateSecure() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:654] DNS Update (in-secure) succeeded
A record successfully updated in DNS

Followed by other messages trying to update info for the second network card.
Note that it succeeded updating with a connection to adserver.machine.name (123.45.67.89).
Too bad that, from the same machine:
# /opt/pbis/bin/update-dns --loglevel debug --dnsserver 123.45.67.89
20180821123728:INFO:0x7f6aea159700:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:282] Attempting to update name server [123.45.67.89]
20180821123728:VERBOSE:0x7f6aea159700:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:146] Hostname:137.204.25.213
20180821123728:VERBOSE:0x7f6aea159700:[DNSTCPOpen() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnssock.c:148] IPV4 Address:137.204.25.213
20180821123728:INFO:0x7f6aea159700:[DNSUpdateSecure() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:588] Attempting DNS Update (in-secure)
20180821123728:INFO:0x7f6aea159700:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [137.204.51.32] to DNS Update request
20180821123728:INFO:0x7f6aea159700:[DNSUpdateCreateARUpdateRequest() /builder/src-git/Platform/src/linux/lwdns/lwdns/dnsupdate.c:818] Adding IP Address [192.168.1.219] to DNS Update request
20180821123728:ERROR:0x7f6aea159700:[main() /builder/src-git/Platform/src/linux/lwdns/tools/lw-update-dns/main.c:324] Failed to update Name Server [123.45.67.89]. [Error code:9009]
Failed to update DNS. Error code [42700].
Retry using --dnsserver option

Note that the authoritative DNS is not on the same network as the client machine, and the client machine does have two IP addresses (the private one is relative to a closed network not managed by AD, might be the reason for error 9009?).
I'll look for another machine with only one network card.

What about [Error code:9504]?

That ones more vague, DNS error, check rcode.
You may find out more by looking at a packet capture of the DNS update attempt.

I'll look into that when I have the time.

Encountering this issue as well. Installed pbis-open to a vanilla ubuntu 16.04 and 18.04 AWS images. The 16.04 instance was able to update dns, 18.04 is not.

Just tested: if I manually edit /opt/resolv.conf to use the AD controllers, the update works.
Might be useful to know, at least as temporary workaround.

This still appears to be an issue in 9.1.0.551 on a vanilla 18.04.3 LTS installation, same log messages as above comments.

I am using latest release 9.1.0.551 on Ubuntu 18.04.5 LTS , same error as above. Nothing from workarounds worked.
Appreciate any feedback. ?

Active Directory Bridge Enterprise has addressed this. Please upgrade to Active Directory Bridge Enterprise. If the issue still exists then please submit a ticket to our service team and we’ll have a look for you.
pbis-open will longer receive updates and will be archived. Closing all outstanding issues. Please consider BeyondTrust Active Directory Bridge for continued support.
https://www.beyondtrust.com/privilege-management/active-directory-bridge

authors: NdK73 RBoulton-BT Steffan-Ravn cah-josephgeorge mctunes rbest-bt true64gurus

repo: BeyondTrust/pbis-open


text:
Calculator

Project requirements
To help you concentrate on how to work with React events, we have developed the math logic you need to make the Calculator component work. You can use the files calculate.js and operate.js.
Create a new directory called logic inside your project
Copy the files calculate.js and operate.js into your logic/ directory
Install big.js using NPM
Analyze the files calculate.js and operate.js, be sure you understand what they do
Import calculate.js in your Calculator.js component
Implement click event handlers using the math logic from calculate.js and operate.js in your React component
The goal is to make all calculator buttons work according to their functionality e.g. the - button should subtract a given value
Test your app in the browser. The Calculator should be able to perform math operations.

Status: Invalid 🔴
Hi @BezzB 🙋♀,
While you made a great effort in this project, I can't review your code.
Invalid Code Review Request
You have submitted a project that has a README that is not professional. Here is a key point to consider when documenting your README.

The License suggestion should be removed. ✖

[OPTIONAL] It would be best if you added a URL to your GitHub page in order for users to be able to find your GitHub profile. Also, consider removing the extra bullet point to make your README more presentable.

[OPTIONAL] It would be best if you removed the extra bullet point to make your README more presentable.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers 🥂  and Happy coding!!! 👯
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me @KDlamini  in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

authors: BezzB KDlamini

repo: BezzB/Math-magician


text:
Reproducibility difficulty

Hello,
We were unable to run an analysis with the new version of the tool while it worked with a previous version. There are two ways to solve this problem: fix the code in a new version (which was done in our case) or fix the versions used. cf https://github.com/BiaPyX/BiaPy-GUI/issues/7
In fact, it is possible to fix a version of the biapy GUI, but it is not possible to do it for the biapy container. Indeed, you have chosen to always use the latest version of the biapy container.
The ideal would be to allow the user to set the version of the biapy container that the GUI will use. This would ensure the reproducibility of the results. Moreover, when publishing in peer-reviewed journals, it is requested to provide the version of the software used in order to be able to redo the analysis.
Best regards and thanks for your great tool!
Benoît

Hi,
We are unable to implement an option to use a different container than the one the GUI expects due to internal checks that depend on BiaPy's core code. That being said, the reproducibility issues you mentioned are something we are keen to resolve.
So far, we've been making updates to have a stable version of BiaPy and its GUI. Is true that these updates have introduced several changes that impact backward compatibility. However, this is something we've been aware of, and we’ve already addressed it in BiaPy’s core code (we’ll be releasing an updated version in the next few days). While the GUI is a bit more complex, we’re working on it as well. Our goal is to implement an automatic translation of older configuration files (.yaml) to newer versions to ensure reproducibility. Currently, we’re considering configuration files from up to a year ago (January 2024). It would be helpful if you could share your configuration file, so we can make sure the changes we’re implementing also take your case into account, especially if it's older than January 2024.
Additionally, now that we’ve reached a stable version, we’ll create a version history of the GUI alongside its specific container. This list will be linked in the repository and on our website, ensuring 100% reproducibility going forward.

We have release a new version of the GUI, v.1.1.3, with the backward compatibility mentioned and also an option to choose the containers that GUI version supports among the ones listed in https://biapyx.github.io/GUI_versions/: you will find a dropdown in the last window, e.g., "Run workflow".
Currently, this last version can only use the last BiaPy core version, v3.5.5, but in it may support future releases, depeding on how the core code changes. This new GUI is prepared to automatically recognize these new containers that can be used and will extend the container list in the mentioned dropdown. Hope this brings a bit more of flexibility and the option to use always the same container version ensuring reproducibility. We decided to implement this feature like that to ensure also all containers listed there are 100% compatible with the GUI version the end user is running.

Hi,
Thank you for your reply and for your responsiveness. I am very aware that biapy is a highly evolving code (which is really good). So, it is great news to learn that we will now be able to have version control. I think this will be useful for users who are concerned about being able to reproduce their analyses.
Benoît

authors: bpiegu danifranco

repo: BiaPyX/BiaPy-GUI


text:
求救求救

出现了这个错误是啥原因呢
Traceback (most recent call last):
File "E:\FY3-Reader-master\FY3-Reader-master\test.py", line 36, in
mwri_l1.crop((25, 35, 135, 145))
File "E:\FY3-Reader-master\FY3-Reader-master\fy3Reader\mwri_base.py", line 97, in crop
yi, yj, xi, xj = self._get_indices(ll_box)
File "E:\FY3-Reader-master\FY3-Reader-master\fy3Reader\mwri_base.py", line 52, in _get_indices
yi, yj = np.amin(barrind_y), np.amax(barrind_y)
File "<array_function internals>", line 200, in amin
File "D:\admin\envs\fy3d3d\lib\site-packages\numpy\core\fromnumeric.py", line 2946, in amin
return _wrapreduction(a, np.minimum, 'min', axis, None, out,
File "D:\admin\envs\fy3d3d\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity

mwri_l1.crop((25, 35, 135, 145))的含义是按照纬度25N~35N，经度135E~145E的范围对从文件读取到的数据进行裁剪。您可以检查一下裁剪的区域是不是在读取的文件的范围里。

我想在您代码的基础上把某一天的亮温数据合并到一起，然后处理成网格数据，您有什么思路吗，我实在是有点懵

img_extent = (135, 145, 20, 30)这个函数是干什么的呢

authors: BigShuiTai siri-FY


text:
设置时间区间，选择最小年份，月跟日会出现缺失的bug

抱歉，使用问题，设置月份为0的时候不小心把天也设置为0了。

repo: Bigkoo/Android-PickerView


text:
Lunar3.x - 增加农历模式，支持公农历实时切换

更新

authors: ChangedenCZD dengyuhan


text:
Issue parsing pointers in external files

Hi there,
Great work on swagger-parser. I'm having an issue though: bundling pointers inside an externally reffed file seems to include the name of the pointer, where it shouldn't. I'm guessing the pointers are pretty much ignored.
Try parsing https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v2.0/yaml/petstore-separate from the OpenAPI specs (the entry point is spec/swagger.api), and then validating it.
File spec/swagger.apirefers to parameters.yaml#/tagsParam. Bundling will include the parameters.yaml file and even select tagsParam, but it also -- incorrectly -- includes the tagsParamtag itself, rendering the resulting swagger.json invalid.
Let me know if I missed something here! Thanks for taking a look.

Just to add - if the issue can be verified - I would guess this issue belongs more in json-schema-ref-parser than here.

Yeah, that's a bug that has been fixed in the latest version of json-schema-ref-parser, but there are some breaking changes, so Swagger Parser hasn't been updated yet.

Ah, excellent! Thank you for putting in the time.

Swagger Parser v4.0 beta is now available, and includes the fix for this issue.
You can install the beta using npm install swagger-parser@beta.

v4.0 code branch
v4.0 documentation
v4.0 changelog

authors: BigstickCarpet hilkeheremans

repo: BigstickCarpet/swagger-parser


text:
Low latency ?

Hello,
Thanks for your work, I tested a HTTP FLV livestream and it's working great !
Now I'm focusing on live low latency, Do you have more informations about HTTP FLV low latency or WebSocket FLV livestreaming ?
I didn't find anything about that except this repo : https://github.com/winlinvip/videojs-flow
Thanks

Unlike segments-based protocol (HLS, DASH, ...), HTTP FLV provides a continuous realtime stream, which has similiar characteristics like RTMP. It can be considered as a simplified and simplex RTMP which is enough for playback.
For HTTP FLV, please refer to https://github.com/ossrs/srs/wiki/v2_EN_DeliveryHttpStream#why-http-flv
For WebSocket FLV livestreaming, server side support is needed however there're no server supported yet. This is also a reliable way for low latency livestream transmitting.

Ok, thanks for your quick reply.
I made my test with ossrs and my HTTP FLV livestreaming delays was about 10 seconds.
I will investigate setup of ossrs and I let you know

authors: nums xqq


text:
"Unknown CMake command continue" error on Ubuntu 14.04

It seems that usage of continue is not compatible with cmake 2.8.12 on Ubuntu 14.04:
CMake Error at CMake/Basis/CommonTools.cmake:2760 (continue):
  Unknown CMake command "continue".
Call Stack (most recent call first):
  CMake/Basis/TargetTools.cmake:546 (basis_get_source_language)
  CMake/Basis/TargetTools.cmake:1036 (_basis_target_source_language)
  CMake/Modules/mirtkAddLibrary.cmake:52 (basis_add_library)
  Modules/IO/src/CMakeLists.txt:143 (mirtk_add_library)

Works fine on my Debian machine otherwise. Looks like this command was introduced in 3.0+? Can't see it listed for 2.8.12, although break is.

Interesting, thanks for reporting. Haven't tried with CMake 2.8.12 for some time. Am getting the same error and yes, the continue command wasn't available yet.

authors: ghisvail schuhschuh

repo: BioMedIA/MIRTK


text:
Consultation about price setting in TEA

Hello, in the process, stream stra is the chemical stream needed for the reactor R (stream stra only contains chemical a), stream strb is the stream only contains component a recovered by the recycling section, I did not recycle it back to the reactor R, but only as an outlet stream. When calculating TEA, the following two setting methods get different MPSP (I use the TEA calculation method of cellulosic model), may I ask which setting method is right? Assume that the price of component a is 17, the initial input of stream stra is 500, and the quality difference of component a between stream stra and stream strb is 300, that is, the net consumption of component a is 300.
The first method:
Let BioSTEAM automatically subtract the cost of stream strb.
The code is as follows:
Stream stra = bst.Stream(‘stra’, a=500, price=17)
Stream strb = bst.Stream(‘strb’, price=17)

The second method:
The price of component a in stream stra is set according to the net consumption of a.
The code is as follows:
Stream stra = bst.Stream(‘stra’, a=500, price=17*300/500)
Stream strb = bst.Stream(‘strb’, price=0)

Hello, I have added the following picture to illustrate the problem. Since the MESP obtained by the above two methods is quite different, I am not sure which method is correct. Could I trouble you take some time to have a look. Thanks again for your help.

Or does the strb have to be recycled to reactor R for the calculated MESP to be correct? Is it possible for strb to flow without recirculating back to reactor R as in the two methods a and b above? Is this calculation of the MESP correct?


text:
Cannot Download Same Image Multiple Times

Bug description
It is impossible to save a copy of the same image to two different sources. This makes it extremely difficult to save batches of overlapping tags. If, for example, you have previously downloaded images for a niche tag, and later attempt to download all the works of an artist, then the artist's works with that tag will be skipped.
Steps to reproduce

Search for a tag from any source, such as "1girl."
Download an image from that source to a folder based on that tag. (such as %search%/%md5%.%ext%)
Search for a different tag on the same image, such as  "black_hair"
The image cannot be downloaded, and will link to that other image if the Destination Folder button is clicked.

Expected behavior
Two copies of the image should exist.

one in 1girl/%md5%.%ext%
one in black_hair/%md5%.%ext%

Can you send your settings.ini and logs ? Have you set the options to copy, instead of link when an image already exist ?

Looks like you're using the global MD5 list but actually don't want it.
I'd suggest setting it to "save" or "copy" instead of "don't save".
See How to avoid duplicates in the docs.
If you already have the setting set to "don't save" but stilll cannot save (can you expand on what exactly it says?), it would be helpful to have your settings file / logs. Feel free to re-open in that case.

Looks like you're using the global MD5 list but actually don't want it.
I'd suggest setting it to "save" or "copy" instead of "don't save".
See How to avoid duplicates in the docs.
If you already have the setting set to "don't save" but stilll cannot save (can you expand on what exactly it says?), it would be helpful to have your settings file / logs. Feel free to re-open in that case.

authors: Bionus cloudywings2 yami-no-tusbas

repo: Bionus/imgbrd-grabber


text:
Parallelisation of downloads and installations

Scoop currently downloads and installs apps sequentually, for example:
download gimp to cache
install gimp
download tea to cache
install tea

Some apps take really long to download and or install, such as gimp. This however prevents other apps from being downloaded / installed during that time. While you usually don't install multiple apps at once, it becomes worth it once you do a scoop update *.
I am currently trying to write a first POC version, however, it seems invoking scoop install after each spoon download (effectively), will not actually be very fast, as the wrapper-calls to scoop aren't fast.
Therefore we'll first need to create full reimplementations of the actuall uninstalling, installing and updating process.
Additionally we need to implement hash-checking after downloads.
Dependencies also need to be handled. So that deps are downloaded first. Especially since deps could technically alreadz be invoked during installation.

While the current WIP of installations already parallelised downloading and extracting, this is only in the context of a single application. We can potentially redesign the API in a way that this automatically handles multiple applications with pretty much the same code though.

repo: Bios-Marcel/spoon


text:
Multi-table Mapping Default for InfluxDB Timestream Connector

Description
Set the default table mapping to multi-table for the InfluxDB Timestream Connector. Multi-table mapping aligns with line protocol most intuitively as each measure is designated a table in Timestream for LiveAnalytics.

In README.md, the default value for TableMapping needs to be updated to multi-table. Apart from that everything looks good!

In README.md, the default value for TableMapping needs to be updated to multi-table. Apart from that everything looks good!

The README has been updated to reference multi-table for the mapping.

authors: forestmvey trevorbonas

repo: Bit-Quill/amazon-timestream-tools


text:
LinkedResource not supporting setting null as valid value

Hi all,
We're using Bowman with the following scenario:

An Object A that has a nullable LinkedResource Object B (both projects UI and backend)
Having an instance of A that has a not null instance of B, when setting a.setB(null) it invokes the LinkedResourceMethodHandler.invokeSetterMethod, which sets the value to null (so far so good)
When a.getB() is invoked, it will invoke LinkedResourceMethodHandler.invokeAnnotatedMethod, which fetches the value again from the backend because the LinkedResource (B) is null.
So, we can't set the LinkedResource to null.

We think the correct behaviour should be that if you have set a LinkedResource to null, it shouldn't be overridden by a fetch when you invoke the getter.
Thanks!

Hi @danieltalebi, just to let you know your issue is resolved (hopefully) in release 0.6.1.
Thanks

Awesome!!!, I'll give it a try
Cheers

authors: danieltalebi hdpe

repo: BlackPepperSoftware/bowman


text:
please, how to change black sidebar background color

please, how to change black sidebar background color?
Any assistance or suggestions greatly appreciate.

simple-sidebar.css
line 25 #sidebar-wrapper {
......
background: #000;

Excellent!  Shall try.
Thank you!

That was right on!  Thank you, would you happen to also know the line number for the top header background color?

"the top header background color" ?

Thank you Roman45, my mistake.


text:
Digital Clock Material You widget doesn't work

Describe the bug
Digital Clock Material You widget doesn't work
To Reproduce
Long click on the desktop
Choose Widgets
Choose the Clock app (this app)
Choose Digital Clock Material You widget
Choose 'Add to desktop', or drag and drop it
Expected behavior
A digital clock widget should be displayed
Screenshots

App version

Latest (current)
Device (please complete the following information):

Model: Infinix NOTE 4 Pro (X571)
OS: Android Oreo (8.1.0)

Additional context

Unfortunately, it's impossible to reproduce your bug on my 2 devices (plus those of other testers) and on Android Studio emulators.
I suppose it worked before?
Are you using a customized version of Android?
Can you provide Android Studio logs please?

Sorry for the inconvenience, but it confirmed my doubts.
Can you please test the apk attachment?
I have separated the activities about the modification of digital widgets and fixing their display on the launcher.
This solves your problem, and now the digital widgets can be modified independently.
Don't hesitate to let me know if you have any comments.
Clock_2.4-debug.zip

Ok, then gimme a moment please...

Ok, thank you very much for the fix.
I have tested the attachment and it worked correctly.
I have a small enhancement if you want to merge it.
When i want to add some clock widgets (classic or Material-You and Analog or Digital),
the app shows me the customize widget settings page.
If you could remove this customization page before adding the widget and add the widget directly, it would be appreciated.
And thanks again for that fix.

If you could remove this customization page before adding the widget and add the widget directly, it would be appreciated.

I'm not sure if this is possible while still retaining the ability to edit digital widgets by long-pressing on them (for Android 9+).
Analogs widget are not affected.

repo: BlackyHawky/Clock