IntialValues are not cleared when we reused the same redux-form component .

Hi @erikras ,
I have requirement like,
i have to load the Redux- form when i click on the list, i am doing this
<FormComponent initialValues={mydata} /> i am using this same form on each list click and passing the mydata object (this will change based on the list clicked).
i am able to load the initialValues into the redux-form for the first list click only.
2nd,3rd........ i am unable to load the data as per the list click becoz the intialValues data will be there(unable to reset/unable to remove)
suggest me how would i achieve my requirement.
Thanks
suresh

It's very likely that your form isn't unmounted as you click in the 2nd item, 3rd item, and so on.
You could try using enableReinitialize option when using the reduxForm HOC.
This way, whenever initialValues change, the form is reinitialized 😮, and you'll see the changes.

@gustavohenke ,
Thank you for your quick replay...
it worked like a charm :)

Awesome!
We'll close here.


⚠ Bofrost.de has degraded performance

In 0da2c93, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: Bofrost.de performance has improved in 7d47c11 after 13 minutes.


Upload failed with 504 Server Error: Gateway Time-out

Describe the bug

Package upload to https://test.pypi.org/legacy/ or https://upload.pypi.org/legacy/ failed with "504 Server Error: Gateway Time-out"

Also getting "PyPI is down for maintenance or is having an outage." for https://pypi.org/account/login/

And "Error 503 Backend is unhealthy .. cache-sin18043-SIN .." for
https://test.pypi.org/account/register/

Expected behavior

Package to be upload to pypi or testpypi.
Get account login page.
Get account register page.

To Reproduce
<PYTHON_BIN> -m twine upload \
  -u <PYPI_USER> \
  -p <PYPI_PASSWORD> \
  --repository-url <url> <WHEEL>

My Platform
Issue appears on both local and remote platforms.

Local: macOS 10.13.6
Remote: Travis CI

Additional context
Worked fine for me this morning till early afternoon today.

Thanks for the report! The admins and moderators are aware. In the interest of centralizing things, I'm going to close this in favor of #7643; please feel free to subscribe to that issue or follow 'pypi' and 'pythonstatus' on twitter.

Thank you!


Use NotifeeCore functions in the Notification Service Extension

Hi,
When iOS app is killed, data-only messages are randomly handled, so I use the Notification Service Extension.
But I need to make some stuff in the didReceiveNotificationRequest method, but I'm not very familiar with Objective C.
In particular, I need to:

Increment badge
Set categories (to display quick actions)

This is my NotificationService.m :
#import "NotificationService.h"
#import "NotifeeExtensionHelper.h"
#import "NotifeeCore.h"

@interface NotificationService ()

@property (nonatomic, strong) void (^contentHandler)(UNNotificationContent *contentToDeliver);
@property (nonatomic, strong) UNMutableNotificationContent *bestAttemptContent;

@end

@implementation NotificationService

- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
    self.contentHandler = contentHandler;
    self.bestAttemptContent = [request.content mutableCopy];

    // ...
    // make changes to self.bestAttemptContent
    // ...

    // Badge
    NSLog(@"will increment badge"); // This log IS displayed
    [NotifeeCore getBadgeCount:^(NSError *_Nullable error, NSInteger count) {
       NSLog(@"badge COUNT: %ld", (long)count); // This log is never displayed
     }];
    [NotifeeCore incrementBadgeCount:1 withBlock:^(NSError *_Nullable error) {
       NSLog(@"badge incremented"); // This log is never displayed
     }];

    // Retreive categories from FCM payload
    // ...
    [NotifeeCore setNotificationCategories:categories withBlock:^(NSError *_Nullable error) {
       NSLog(@"CATEGORY SET %@", error); // This log is displayed without error
     }];

    [NotifeeCore getNotificationCategories:^(NSError *_Nullable error, NSArray<NSDictionary *> *categories) {
        NSLog(@"get Categories %@", categories); // result : "get Categories ()", and before : "[com.myapp] Got 0 notification categories [ hasCompletionHandler: 1 ]"
    }];

    [NotifeeExtensionHelper populateNotificationContent:request
                             withContent: self.bestAttemptContent
                             withContentHandler:contentHandler];
}

- (void)serviceExtensionTimeWillExpire {
    // Called just before the extension will be terminated by the system.
    // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the original push payload will be used.
    self.contentHandler(self.bestAttemptContent);
}

@end

As a result, notification is displayed but badge not incremented, and category not created.
What is the right way?
Thanks

If you just need to increment, then you can skip the getBadgeCount call, and that is good because if you actually needed to use the results of that do the increment, you'd have to chain your calls by placing your usage of the current count (result of getBadgeCount) inside the continuation block you pass to getBadgeCount.
You can think of the continuation blocks as what you put in javascript async call's .then(<continuation block>)
So this is the only one to focus on for badge count:
https://github.com/invertase/notifee/blob/fa7f1f01546e6e1e6519d1f5b3533baf18161c1e/packages/react-native/ios/RNNotifee/NotifeeApiModule.m#L339
Why isn't that working? Not sure. I will admit when debugging objective C I use the NSLog but I put a searchable string in, something unique like 'EXTENSION_HELPER', then I do xcrun simctl spawn booted log stream --level debug --style compact in a separate terminal with a | grep EXTENSION_HELPER to make sure I see everything, because the logs are so high-volume. Frequently I find that what I wanted to see but did not see is actually there, I just couldn't see it before. You might try that to double-check because it seems like your NSLog of badge incremented should show up...
I think if you are not setting categories, then getting them won't show anything. If you are setting categories then as mentioned - since completion handlers are effectively async things that run on different threads at different times, you  have to chain them - put your "getNotificationCategories" call inside the continuation handler for setNotificationCategories, and populateNotificationContent should be - I think - also in the continuation for setNotificationCategories (so you don't display the notification before your async code has come back
Hopefully this clears things up a little bit? May not be all the way there but may move things forward

Hi, can you set the categories inside notifee_options?
You can set any API property inside notifee_options before the notification is received by the client, unless there's a reason why you cannot do this?
https://notifee.app/react-native/docs/ios/remote-notification-support#edit-the-payload
For the badge count, I think Mike is correct about async functions but I haven't tried this myself.

Thank you both for your responses.
@mikehardy : you're right, my problem was that I was not calling populateNotificationContent in the setNotificationCategories block (as a promise mechanism).
@helenaford : No sorry, I can't create a category in notifee_options. It doesn't exist before receiving the notification and I need to create it on the fly because the quick actions are defined with help of the notifee_options data.
I can successfully create now the category, but I still have problems with the badge.
So my question is: how do you increment badge with an app extension ?
With the following code:
  NSNumber *incrementBy = @1;
  NSLog(@"will increment... %@", incrementBy);
  [NotifeeCore incrementBadgeCount:[incrementBy integerValue] withBlock:^(NSError *_Nullable error) {
       NSLog(@"badge incremented !");
       // Display notif
       [NotifeeExtensionHelper populateNotificationContent:request
                                  withContent: self.bestAttemptContent
                                  withContentHandler:contentHandler];
     }];

I get a notification timeout (the block is never reached). I think this is because the block(nil);is inside the if (![NotifeeCoreUtil isAppExtension]) in https://github.com/invertase/notifee/blob/c3022f9a79e526c840c3c69b7d2b9c7927412a36/ios/NotifeeCore/NotifeeCore.m#L681
The function setBadgeCount doesn't have this problem.
However, I tried to remove the if statement (that is true since I am in an app extension), the notification is well displayed, but the badge is not incremented...
So, do you have any idea?

@jared-94 were you able to figure out how to increment the badge count?

No, sorry I still have the same problem...

Hi. Thanks for this wonderful package.
I am using NotificationServiceExtension to dispaly with custom contents.
But when I use increasebadgecount in extension, it does not work at all..
Need your assistance.
Best regards.

How to set badges when use NotificationServiceExtension?


[New setting] Check for updates automatically (on/off)

As discussed in the issue #2688 we could add a new setting for disable the automatic update check and notifications. (In addition to the setting we have which disable the automatic download and installation.)
Technical details

Name: Check for updates automatically
Type: on/off switch
Section: General > Update (see #2688)
Setting available: only admins should be able to change

Usecases

For example if PT is installed in companys on clients or terminal servers, where the user had no rights to install software and the software gets updated by SCCM or other tools. (For this scenario normal users shouldn't be able to change the sitting.)
An other scenario would be an user who wants to check only manually every x days.

@crutkas Thoughts?

@crutkas Can you please add the lable and a milestone.

Yes, I have the same wish.
I thought a bit about security. Actually, I'm not sure what's best from a security point of view. Maybe it's better to just suppress regular update notifications, but show them in case of important security updates? But this might introduce too much complexity. Just speaking for myself. I'm fine to take this risk and check manually from time to time. I don't think that PT have such a big attack surface as a browser for instance.

I like the term "notification spam" mentioned earlier. It is applicable here as well. Currently updates are implemented as such.
They are a daily distraction. I have considered uninstalling PT to get rid of the notification spam.
PT is not something I use everyday, and I am not particularly interested in receiving daily, or even weekly updates and the associated notifications.
Consider all the notification spam I am already receiving from Microsoft:
your account settings are out of date...your account settings are out of date...your account settings are out of date...
there is a problem with your account...there is a problem with your account...there is a problem with your account...
windows will update outside of active hours...windows will update outside of active hours...windows will update outside of active hours...
same for Visual Studio: you need to login again...you need to login again...you need to login again...
and how about Office365?, same thing:  each and every day changes are made to Office365, 99% of those notification emails are about changes not applicable to anything what I am doing.
I don't want automated updates for anything (except maybe some security related matters) including the notification spam that comes with it, luckily I noticed that the new Edge browser also wants me to accept automatic updates. So I declined to install it for these reasons alone (I am a web developer).
Long story short consider the possibility that not everyone wants automatic updates, update notifications etc. Give users like me a way out to a frictionless experience.
Please

@kraoli @wvmstr
have you already tried to turn notification off for PowerToys?

Would that be enough or you want granularity?

@wvmstr, we're working on getting this stuff better.  Thanks for working with through this with us.
For hot fix releases, they typically are fixing a critical problem.  For our toast does have a "don't show it again" option

@crutkas @enricogior
Thanks for the reminder on the notifications, turned off now.
I would say that a hotfix for a critical problem warrants a notification, nothing else does as typically I learn about new capabilities on the various Microsoft news sites. But that is just me.
Thanks for being so responsive!

we do notifications in two scenarios,

we detect PT is running in a state where stuff will act weird. (elevated apps and PT isn't).
new versions (which include hot fixes) which right now our updates tend do always include a critical fix :)

We're before v1.0 and still early in development.  Having everyone on the latest aids in debugging and support.  This was a big issue before we started the notifications and alerting people.

@crutkas
Hi, I'm sitting as a sysadm, and would like to disable toast notifications on a wider scale.
To do this, I could of cause go around to each user individually and disable notifications manually, though this would be highly inefficient, and time consuming.
I've been searching for a solution for the past month, but no luck so far. I've made a RegShot, in hopes of finding a solution, but again, no luck.
My question is therefore: Is there anyway to disable the toast notifications through a reg. key or the like, so it can be rolled out through for example a GPO?
Thanks.

@msh14, as of right now, no.  If it was, it would be done via the JSON file, not reg as well.

@crutkas, thanks for the reply. In that case, I suppose I'll just have to wait and see if it will be implemented :)

@msh14, as of right now, no.  If it was, it would be done via the JSON file, not reg as well.

Maybe we can have a policy json file in the program diretory which defines settings that couldn't be changed by the user.

I would also appreciate a feature to disable update notifications/checks.
Some of our users testing PowerToys especially FancyZones as alternative for other solutions like "Dell Display Manager" and can't update PT right now due to limited rights.
If somebody has a workaround to prevent this, please let me know. Thanks.

Hi, I'm using PowerToys in a large coprorate network, where internet updates are not possible due to security reasons. Users just get confused by update notifications since they're not allowed to download or install anything. Software packages are exclusively rolled out via SCCM.
So I second the implementation of a feature to disable update checks at all.
Thank you all for your continuous efforts to make the product better.

Anything new one this? Looking to bring this into a corporate environment but can't do so without the ability to disable auto update notifications during install.

@nkasco not something we're looking to add in currently.  We're open source so if you feel this is a must have feature, please submit a PR.
For us, the ability to keep everyone up-to-date is critical for releases and support.

Post stabilization, this could be a good item to add in for InTune / SCCM users.

Post stabilization, this could be a good item to add in for InTune / SCCM users.

For us, the ability to keep everyone up-to-date is critical for releases and support.

I think that can be said of nearly any piece of software nowadays—it doesn't warrant holding a setting like this hostage. I'm aware it's not really a priority, but there's no need to justify it with something that implies you don't want us to be in control of whether or not we receive update notifications.
I'm sure that's not the case, but Windows itself has not set a good precedent here, along with macOS nowadays.

For us, the ability to keep everyone up-to-date is critical for releases and support.

I think that can be said of nearly any piece of software nowadays—it doesn't warrant holding a setting like this hostage. I'm aware it's not really a priority, but there's no need to justify it with something that implies you don't want us to be in control of whether or not we receive update notifications.
I'm sure that's not the case, but Windows itself has not set a good precedent here, along with macOS nowadays.

Is there any update on disabling the update notifications and auto-update button?  Just want to get a handle on this so can give an explanation when asked.  Many thanks

@mwadders
Maybe look into disabling outbound connections from whatever exe is used for checking for updates, with Windows firewall rule(s)?

Doesn't necessarily need to be another toggle switch. Can also be a drow-down with

Don't check
Check (and notify)
Check and download/install

Implement this. 2 years open issue. Malicious developers.

Doesn't necessarily need to be another toggle switch. Can also be a drow-down with

Don't check
Check (and notify)
Check and download/install

Easier text for an setting named Automatic updates:

Off
Only notify
Download and install

Not sure if this is the right thread to ask, but is there a setting to enable automatic updates? I'm only seeing the one for automatic downloads, but I wish it could also install them automatically instead of just notifying me about every update. Thanks!

Due to UAC, until that gets rolled off, we won’t do automated. We have gotten a lot better but almost there

stop this tyranny

Did a quick test with Windows firewall, this seems to block the check for update functionality.
$null = New-NetFirewallRule `
    -DisplayName 'Microsoft PowerToys - Block update check' `
    -Direction 'Outbound' `
    -Profile 'Any' `
    -Program ('{0}\PowerToys\PowerToys.exe' -f $env:ProgramW6432) `
    -Action 'Block' `
    -Protocol 'Any'

I'll probably add it to our (the business I work at) PowerToys packages.

@lx30011 sorry you feel that way, we're open source so if you feel strongly, you could create a custom fork for yourself or discuss some of the work arounds people have discussed.  We are a very small team and having a heavily version fractured eco system is hard for us to support.  We learned this the hard way early on

@lx30011 sorry you feel that way, we're open source so if you feel strongly, you could create a custom fork for yourself or discuss some of the work arounds people have discussed. We are a very small team and having a heavily version fractured eco system is hard for us to support.  We learned this the hard way early on

What difficulties arise when a user chooses not to update? Can you not just disable crash report collection on older versions and forget about them?

sorry you feel that way, we're open source so if you feel strongly, you could create a custom fork for yourself

@crutkas just wanna point out how silly your suggestion sounds. By forking the project there would be no way to get updates at all, as any update would come from this repo and overwrite the forked software.

or discuss some of the work arounds people have discussed

If people are willing to add firewall settings to work around something that annoys them about your software, maybe you should fix it instead

We are a very small team and having a heavily version fractured eco system is hard for us to support. We learned this the hard way early on

I'm still waiting for a valid reason why disabling annoying update notifications for users somehow makes your job harder, that isn't easily worked around (like disabling/ignoring crash reporting for old versions, if that is your concern)

@dinvlad The impression I'm getting is that they're against adding this feature in any form, not neutral on it. I will gladly open a PR for this myself if it would be accepted.
@crutkas If @dinvlad is correct then I completely misunderstood your comment about forking the project, please forgive me if that is the case!

@NSExceptional maybe I misunderstood as well, but this comment made me optimistic about it :)

Making people aware of updates heavily reduced our incoming rate of issues for bugs that were actually fixed months prior.  We have a larger user base now and having this type of feature really does worry us (namely me) for making sure users are happy and have a great experience.
When as a team we get busy, our non-triaged count grows extremely quickly.  During December 2021, I actually got us down to below 50, we are about 750 now due to us focusing on implementation details.  My main goal is to reduce this so we can stay focused on features, not bugs.
We've discussed having this be some type of hidden flag / setting for enterprise scenarios but while we know there is a group of people that want this feature, there are features with far higher "centers of gravity" for requests. Features like Shortcut Guide v2 - #890, Screen measuring tool - #863, Paste as plain text - #1684, KBM Map to custom keys / diacritic character, not just keycode - #6976, Make zones be virtual monitor in FancyZones, ....
This is on our roadmap backlog and if it is a feature you really want to help implement, happy to dedicated time to spec with you and being sure you have the support for code reviews and questions on code base.  My gut would be to have a json only setting that suppresses the dialog versus not actually check.
What do you think about is you'd get a opt-out period for up to like 3 main releases like Windows update with this feature?

I would love to help with the JSON-only thing! Your last idea sounds like a good compromise for regular users too.

<EMAIL_ADDRESS>lets quickly sync and lets see how we can get a PR knocked out.

feature request: I would really like to disable update notifications in a scriptable way. I add PowerToys as Intune app in Companyportal for the company i work for (Dutch high school) and I cannot update these apps often. However employees are not being able to install updates themselves because of they don't have sufficient permission to do so, so notifications and being presented the ability to install update from the app is not desirable. Not having enough knowledge to fork and submit so I am asking this.

Currently on vacation but I will get with you ASAP @crutkas!

As usual, Microsoft is diverging more and more from its power users/developers, and what they want. Something as simple as disabling updates should be possible. When Windows is finally finished, it will be too late to restore good faith.

An option for enterprises to disable auto update check and notification in a professional manner is needed.

I think it would be good to suppress notifications on a version basis, so until the next update is available

Or if MSIX/ Microsoft Store becomes a thing.

PowerToys is on the Microsoft Store now. This is also relevant to other installation methods, e.g. package managers like Chocolatey or winget.
I don't want choco upgrade to potentially conflict with this.
Nor do I want to be notified of updates that I get from other places. Nor do I want to disable all notifications from PowerToys just because I don't want the update ones.

I was chatting with @denelon  and with WinGet at a minimum, regardless of how your got the app, if it is in winget, it should show up with the winget update flow.
For powertoys, regardless of how it got installed, it should flow back to our github release.  Store, WinGet both point back here so it should always be the same installer.
i do want to state I do understand the ask but delicate balance for making users aware there is an update but reduce noise.  We have some ideas too

We've got a couple of Issues being discussed with regard to winget upgrade and the ability to "exclude" packages. For WinGet, it doesn't matter how a package was installed. If we're able to match the metadata from the registry (displayed in Windows Apps & Features) with a package configured in one of the sources, we will show updates available via winget list or winget upgrade, but nothing automatically performs updates without user action (like winget upgrade --all) or another program calling for an upgrade.
The Microsoft Store does not automatically update Win32 apps. There is work in progress to include version information so WinGet could show available updates from the store, but I'm not aware of any plans to support automatic updates from the Microsoft Store for Win32 apps.

Can only support the addition of a feature to disable the update check for enterprise environments.
I was actually quite surprised and disappointed that this was not included in the admx policy pack.

@jaimecbernardo
Any plans when the policies are coming? I think we should have two:

"Disable auto update and show information only.#"
"Skip information for 3 (or 1) main release version."

Preventing those update checks, prompts etc. is really necessary.

@jaimecbernardo, @crutkas
I am working on this. I plan to implement the following GPOs:

Disable automatic download.
Suspend toast notification from periodic check for two minor releases. (Current:  0.60.0; Next toast: 0.63.*) => See also.
Disable automatic background update check. (This GPO will be implemented for later usage, but not active.)

This allows admins to suspend update notifications (only toasts) for 3 releases and to disable automatic downloads, but the update feature in settings is not affected and still works.
What do you think? If you like to discuss this offline please send me an e-mail.

Woot!

@htcfreek You only implemented group policies to disable this right? This can't be done by the user manually (which is the original request of many)?

@htcfreek You only implemented group policies to disable this right? This can't be done by the user manually (which is the original request of many)?

@Aaron-Junker
Yes. But the user can set the policy by setting the registry value manual in HKCU or HKLM.

How can I use this? Do I have to use GPO policies, whatever those are for this feature? How can I do that? I see no instructions here or in the release notes. Couldn't there be just a toggle for it in the settings?
(Your comment's link points to the wrong release now btw, to 0.69, instead of 0.68.)


Provide a way to suspend the renderer when running in background

What problem does this solve or what need does it fill?
Rendering can consume power unnecessarily when running in the background in a multitasking OS. For this reason, mobile OSes such as iOS do not allow use of the GPU by background tasks.
What solution would you like?
I would like a way to suspend the renderer, or maybe plugins in general, in some states.
What alternative(s) have you considered?
I have considered serializing state and exiting the main loop, but this isn't supported for iOS.
Additional context
Without this feature, if the app uses the GPU on iOS, it will be killed with this message:

Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (IOAF code 6)

related to #2018

Also sort of related to https://github.com/bevyengine/bevy/issues/1343, to save power when there is nothing to do, especially in the background.

Also probably relates to similar issues on android related to "losing context on minimization" in #86. The "pipelined rendering" work (#2265) might play into this, as it decouple render logic from app logic.

Related to Lifecycle API (#2432) too, the same renderer pausing state would be needed for XR too.

This is at least partially solved by #3974. We could extend this by exposing Wait instead of WaitUntil. That should completely suspend the event loop until interacted with. WaitUntil will wake the loop once the duration has been reached. We could technically use it as is, and just set the duration to be 900 years or something silly.

It might be useful to still be able to use the CPU in the background. This is also related to the ability to run headless - it can be seen as the ability to switch to headless mode at runtime.

Possibly related to #4579 and #3380.

It might be useful to still be able to use the CPU in the background. This is also related to the ability to run headless - it can be seen as the ability to switch to headless mode and back at runtime.

@HackerFoo so this might instead be solved by not running the render subapp, instead of pausing the winit event loop?


[Request] Flutter Offline

Please provide links and information in the following format
github:   https://github.com/jogboms/flutter_offline
tag:     offline
excerpt: A tidy utility to handle offline/online connectivity like a Boss. It provides support for both iOS and Android platforms (offcourse).

Thank you @karx for submitting a new weapon for the FlutterArsenal.
The github repository: jogboms/flutter_offline is now awaiting approval from admins.
Kudos to you for contributing!


Backport of upstream commits

Includes support for OTP-22.

@hansihe Any chance of being able to merge this?

Looks like building https://github.com/discordapp/sorted_set_nif on OTP22 is being broken by the lack of OTP22 support as well, so 👍 to getting this merged.

Looks like building https://github.com/discordapp/sorted_set_nif on OTP22 is being broken by the lack of OTP22 support as well, so 👍 to getting this merged.

Starting with rustler v0.21, this crate is now called rustler_sys.


Allows setting of source when importing tournament from JSON

When team data is imported via manual JSON fine, allow the file to contain data on the source and the tournament ID so platform-specific features can still work.

Completed in 3.2.0 - Both formats for team data are now supported. (Commit)


Deploy directly to AWS sage maker / Azure ML Studio / GCP

Is your feature request related to a problem? Please describe.
A lot of custom work to deploy the model.
Describe the use case
I build this model using ludwig, now It will be great if I can provide my AWS /AZURE credentials and it gets deployed and an endpoint is returned, that will help with quick model deployments.
Describe the solution you'd like
Ludwig --experiment -- > Ludwig --deploy aws/azure/gcp
Describe alternatives you've considered
Build a docker image and deploy to Kubernetes

Thanks, this is a good idea.
Added to the list of feature requests.
Would gladly accept contributions for this.

I can definitely help with the Sagemaker deployment automation piece.

I can definitely help with the Sagemaker deployment automation piece.

That would be great!

Is ludwig already saving the tf model in SavedModel format?

Is ludwig already saving the tf model in SavedModel format?

Yes, Ludwig can export the model as SavedModel, but you need to preprocess the incoming data in the right way and postprocess the model outputs correctly if you want the results to make sense, So uploading only the SavedModel wouldn't do it.
One option is to use the export Neuropod functionality, with also perfroms preprocessing and postprocessing.
An additional option is to use the ludwig serve command that spawns a Rest API that performs preprocessing, model inference and postprocessing.

Hi @kaykumar I have created an example on how to build, train and deploy a ludwig model with sagemaker including building a container from source so you have the latest ludwig code.
see: https://github.com/aws-samples/amazon-sagemaker-ludwig-transformer

@brightsparc this is great, thank you so much! Do you mind if we reference this on the website in the exampels section as a deployment example?

@w4nderlust sure would be great to get these referenced.


10-handle-prioritized-case

Added core API object and made small changes to python requirement

@alvii147 let me know if ive gotten anything wrong w the formatting

Looks pretty good, all I'll say is run the autodoc generator:
cd docs/
make html

should environment and index pickles be tracked in git or ignored?

should environment and index pickles be tracked in git or ignored?

What do you mean? Which pickles?

these files were created by running
html make
what is supposed to be done with them

Oh I don't know actually. I didn't ignore them initially so they're still there. I don't think I ignored anything in the docs/build directory.

what do you want me to do with them in that case?

I'm okay with either, you can commit them or add them to gitignore. I doubt it's used by the html. I'll leave this to your judgement.


⚠ Bofrost.lu has degraded performance

In f77d763, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1376 ms

Resolved: Bofrost.lu performance has improved in 860cabc after 18 minutes.


Package Request: v2.6.1 - Alpha-2 Language Codes

Apologies this is probably not the place but would you be so kind as to release the next version?
I'd greatly appreciate if I could install from pypi a version that includes @odelmarcelle 's work in https://github.com/pydantic/pydantic-extra-types/pull/153.
Thank you greatly!

Thank you @yezz123, I really appreciate you picking this up.
I'd like to ask an additional question, I'm thinking about making a class that will deserialize Accept-Language in Pydantic models, basically perform a form of content-negotiation based on RFC-3282.
Would you know of a project that undertook the validation of header values using Pydantic? If not I'll make my own.
Cheers!

I'd like to ask an additional question, I'm thinking about making a class that will deserialize Accept-Language in Pydantic models, basically perform a form of content negotiation based on RFC-3282.
Would you know of a project that undertook the validation of header values using Pydantic? If not I'll make my own.
Cheers!

Hey @CostcoFanboy, I'm unaware of any existing package for deserializing Accept-Language headers according to RFC 3282.
However, it sounds like a valuable addition to the ecosystem! If you decide to go ahead with it 🚀

I agree with @yezz123.


Step 3a. Create optimized TensorFlow Lite model

Hi @ all,
i hope someone maybe can help me...
I get this error after running my model through the TOCO tool.
`(tensorflow-build) C:\tensorflow-build>bazel run --config=opt tensorflow/lite/toco:toco -- --input_file=%OUTPUT_DIR%/tflite_graph.pb --output_file=%OUTPUT_DIR%/detect.tflite --input_shapes=1,300,300,3 --input_arrays=normalized_input_image_tensor --output_arrays=TFLite_Detection_PostProcess,TFLite_Detection_PostProcess:1,TFLite_Detection_PostProcess:2,TFLite_Detection_PostProcess:3 --inference_type=QUANTIZED_UINT8 --mean_values=128 --std_values=128 --change_concat_input_ranges=false --allow_custom_ops
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/C:/Users/rudik/_bazel_rudik/install/49689753f6e99985995e6295d4436977/_embedded_binaries/A-server.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ERROR: The 'run' command is only supported from within a workspace.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
INFO: Invocation ID: 5bfd1709-3dfa-4fcb-9bb5-c10458885e6e`
Greetings, Rudi

Found the problem....
in step 3a. need to go one level deeper in the folder

cd C:\tensorflow-build\tensorflow

@rudikx6 hey could you help me with this, i get one step deeper in the foldet, but the error seems to be the same for me:

dont know if you read this, but would be great if you can help me with this

Puh... That's long time ago. Sorry but if it's not the deeper folder I have no Idea.

@rudikx6 Maybe I am using the wrong folders. i can show you some folders from where i started the command, would be cool if you can remember :)
1: C:\Users\Petros\models_test in my case tensorflow-build is models_test i think or its the source folder of tensorflow?
2: C:\ProgramData\Anaconda3\envs\object_test\Lib\site-packages\tensorflow_core\lite\toco this was my other option to run it from the toco folder, i read about it in other issues. Or i must run the command one folder before from lite?

Sorry Petros, i have no idea. Finaly i have used another way to create my own TFlite models.
[https://namburger.medium.com/deploy-your-own-ssdlite-mobiledet-object-detector-on-google-corals-edgetpu-using-tensorflow-s-f41f1e3360c8]
For me it was the best way that time.


What items in GeoEvent will users need to recreate for connectors to BDS?

When users deploy the OpsServer, what items will they need to recreate in GeoEvent? I am trying to decided what to tell users to set up in the documentation.
-BigData store connection in registered Arcgis Servers?
-Input connector  - (looking at a registered folder)?
-Spatiotemporal hosted features and map services (Spatiotemporal big data store tab)?
-output connector - (looking at Spatiotemporal hosted features and map services)?
-Geoevent services?

@jfrygeo Anything having to do with Big Data you will have to tell them to do because we don't install Big Data Store as part of the Ops Server.

Will do


[WIP] Fix possible NPE issues

Purpose

This PR fixes a few possible NPE issues.

Fixes #25046
Fixes #27375

One solution to avoid this kind of NPE is, using @NotNull as much as possible.


Duplicate in the documentation

https://fsprojects.github.io/Paket/nuget-dependencies.html#Controlling-assembly-binding-redirects

Fixed in https://github.com/fsprojects/Paket/commit/1d07a30bbc1c2fc1e780a614b976f838fc989cab#diff-ff980f08099e2bfda5c9290296d4e00b
Suggest to close.


Updating target pools on cloud nodes change.

Implemented updating target pools for external services on chage of cloud nodes. Related to #5241.

@gmarek @tkulczynski

@ddysher might want to take a look as well.
If noone will review it during the night, I'll take a look tomorrow.

This is an ok stopgap.  I think I have a preference for creating a full fledged service-reconciller, that does this, and also the endpoints control, and also the creation of the load balancer, in addition to the updating of the load balancer.

@brendanburns Thanks for the review, all comments are apply now.
I agree that this is rather a temporary solution and it should evolve into more complex service-reconciller. However, we need it now to allow changing set of nodes in cluster.

#6271 contains the start of a service reconciler.

@a-robinson  Do you plan to include reconcile loop into service controller as well?  or it is already the case?  Seems there is quite a few overlapping.

@ddysher It's currently a reconciler loop for external load balancers, and could be extended as needed.

(and it needs a rebase)

Rebased. PTAL

Please address a-rob's comment about reconciling (at least add some retry to that call via a go routine), then LGTM.
(and needs another rebase :P)
--brendan

I've added retry of update by a go routine, as suggested. I think it is good-enough for now. In future, this functionality should be moved to level-based service reconciler.

@brendanburns
I reconsidered my implementation of retry with go routine, and I discovered it had some flaws. So, I rewrote it and get rid of go routine. It is ready for review now.

Generally looks good to me. Please rebase.

@wojtek-t
PTAL. Comments applied & rebased.

LGTM


Update dependencies

Update dependencies
Updated dependencies :

analyzer

Update dev dependencies :

build_runner

Thanks, I will do this myself since the analyzer api needs some changes when upgrading.


reject wrong setup for mbp scan and reject saving data

JENKINS-xxxxx - summarize pull request in one line
Describe the big picture of your changes here to explain to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, include a link to the issue.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code. If a checkbox or line does not apply to this pull request, delete it. We prefer all checkboxes to be checked before a pull request is merged

[ ] I have read the CONTRIBUTING doc
[ ] I have referenced the Jira issue related to my changes in one or more commit messages
[ ] I have added tests that verify my changes
[ ] Unit tests pass locally with my changes
[ ] I have added documentation as necessary
[ ] No Javadoc warnings were introduced with my changes
[ ] No spotbugs warnings were introduced with my changes
[ ] Documentation in README has been updated as necessary
[ ] Online help has been added and reviewed for any new or modified fields
[ ] I have interactively tested my changes
[ ] Any dependent changes have been merged and published in upstream modules (like git-client-plugin)

Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply. Delete the items in the list that do not apply

[ ] Dependency or infrastructure update
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Further comments
If this is a relatively large or complex change, start the discussion by explaining why you chose the solution you did and what alternatives you considered.

related to https://github.com/jenkinsci/git-plugin/pull/1615


README.rst: remove reference to buildout

buildout.cfg was removed in 83f5edfefcd9af9259e11fed0158b588159d24b1

Coverage remained the same at 94.433% when pulling 2a32a8c395e618a9e192290afadea2915c56ad69 on flokli:readme-fixes into 756bc687df560959aa5c0282a11ed496acbc046b on gweis:master.

thanks


Strange style at opening

Using Chrome 47, when the modal dialog pops up it has this appearance for some milliseconds.

@diegohaz Thanks for reporting. The new 1.0.15 release might help.
Unfortunately, I failed to reproduce the issue. Hence I can't really test it myself.
Could you please try if this resolves the problem for you?


Make torch_stft_fb.py encoder onnxable

Ref #10
The fix was quite simple, but it always takes me time to find scriptable and onnxable tricks.

And I cannot make the Decoder onnxable though.
If you want to give it a try @faroit, feel free!

Ref #10
The fix was quite simple, but it always takes me time to find scriptable and onnxable tricks.

cool, how did you find out that this causes problems?

@mpariente shall we add separate onnx tests for encoder and decoder, thus making at least something pass for this PR? I can then work on the decoder

cool, how did you find out that this causes problems?

By elimination.

@mpariente shall we add separate onnx tests for encoder and decoder, thus making at least something pass for this PR? I can then work on the decoder

Yes, it would be nice to add tests.
I think they only work with nightly though, I'd have to check.
Do you want to implement them?

@mpariente good news, with your fix + torch 1.8.0 + setting opset to 11, both the decoder and encoder passes the onnx export.
We could go lower than opset 11 (which would allow better conversion to tensorflow) when the .squeeze(0) would be replaced...

UserWarning: This model contains a squeeze operation on dimension 0. If the model is intend
ed to be used with dynamic input shapes, please use opset version 11 to export the model.

I any case, i think separate tests should be added in a separate PR, i can do that. So I would suggest to merge this first

I'd love tests, thanks !


Link to typechain-types via virtual yarn package

This removes the need for each test file's awareness of its location relative to files it depends on.
Example:
'../../../typechain' => '@solidstate/typechain-types'
@NouDaimon Try this:

clone fresh repository
switch to this branch
yarn install
run the tests

Let me know if you have any issues with that process.

Running yarn:

Running yarn hardhat test:

Running yarn hardhat test a second time:

In essence, first test appears to fail because of payable modifier, whilst second test succeeds.  Will add as comment in Review

Did you explicitly run hardhat compile before hardhat test?  If not, failure is expected on the first run.

I had not. Everything works now.
I had assumed that it is run on yarn hardhat test automatically?

It is run automatically, but not soon enough for the typechain imports to work, for some reason.
I am aware of that other error as well.  It's not critical.


Release of quantms v1.3.0

This is the first release that will happen in bigbio, since we were archived in nf-core. We have to review all the code to spot small issues in the code, and the guidelines. Some things to pay attention:

[ ] Version, we have to make sure that the version we release is 1.3.0
[ ] Documentation, we have to make sure that the documentation in https://docs.quantms.org/en/latest/ and in docs/usage.md are updated
[ ] We have to make sure that the changelog is well-written because in the current version, we included new tools, new workflows and a lot of bug fixes.

Please @jpfeuffer @daichengxin @wfondrie @timosachsenberg if you can review the PR it would be great.

PR checklist

[x] This comment contains a description of changes (with reason).
[x] If you've fixed a bug or added code that should be tested, add tests!
[x] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[x] If necessary, also make a PR on the nf-core/quantms branch on the nf-core/test-datasets repository.
[x] Make sure your code lints (nf-core lint).
[x] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[x] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[x] README.md is updated (including new tool citations and authors/contributors).

Hi @ypriverol , Do you know where tdf2mzml.py moved to? https://github.com/bigbio/quantms/blob/acf53186da8834667837c42bdcc7c74b5ba01fc5/modules/local/tdf2mzml/main.nf#L24

I just realize that we have a dependency from a container https://github.com/bigbio/quantms/blob/acf53186da8834667837c42bdcc7c74b5ba01fc5/modules/local/tdf2mzml/main.nf#L7 in a different repository. I will push this to an internal well maintained repo in quay.io controlled by us.

Are ready to release @daichengxin @jpfeuffer


Install gflags2man with "scripts" rather than "data_files"

This ensures that distutils correctly updates the shebang line and
makes the script executable.
Fixes #12

python-gflags users should migrate to absl-py:
https://github.com/abseil/abseil-py
https://pypi.python.org/pypi/absl-py/
It is the modern version of this library.


Write about blurb for the lab

I've added the content that we had on the old site. This needs updating.


fix: run CircleCI builds on tags

Overview
Fix CircleCI not running CI on git tags
Changes
By default, tags do not trigger CI jobs and the only way to enable it is through only: config. And so because we add only: config we need to add one for branches too.
Sources:

https://discuss.circleci.com/t/builds-for-tags-not-triggering/17681
https://discuss.circleci.com/t/build-workflow-not-triggered-when-tag-is-pushed/19577

Testing
Merge this PR. Push a new tag. CircleCI should run on tags now.

Shouldn't the branch filter be master? Then this reads: only run on branch master and with a tag?

Shouldn't the branch filter be master? Then this reads: only run on branch master and with a tag?

It's the build job so we need /.*/ so all PR branch pushes get build 🎉


how to compute log filter bank energy in torch audio compare with python_speech_feature?

❓ I want re-procedure result like when i use compute log-filterbank energy of lib: python_speech_feature by using torchaudio.
this is my code, and I'm see the result is difference:
# load audio data by librosa
path_audio = "audio_a.wav"
y, sr = librosa.load(path_audio, sr=16000, offset=0.5, duration=0.4)

# load audio data by torch audio
audio_ft, sr = torchaudio.load(path_audio)
audio_ft = audio_ft.squeeze(0)
y_torch = audio_ft[int(0.5*16000):int(0.9*16000)]

# the result is the same then i compute log filterbank energy
ft_f_bank = python_speech_features.logfbank(y, samplerate=16000, winlen=0.025, winstep=0.01, nfilt=64,nfft=512)
print(ft_f_bank.shape) # result: (39, 64)
ft_f_bank_by_torch = torchaudio.compliance.kaldi.fbank(y_torch, sample_frequency=16000.0, frame_length=25.0, frame_shift=10.0, use_log_fbank=True, use_energy=True, num_mel_bins=64)
print(ft_f_bank_by_torch.shape) # result: (38, 65)

How can i make result return by torchaudio is the same with python speech feature. I'm not have deep understand more about speech feature, so question can so weird, sorry.
Thankyou

Hi @trangtv57
Thanks for using torchaudio. I do not have experience with the package.
The question better falls into user support, so can you post it in https://discuss.pytorch.org/ ?


[Bug] SideMenu does not visualize left and right menu correctly

Description
I have this xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    x:Class="TestFody.Page.SideMenuDemo"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:xct="http://xamarin.com/schemas/2020/toolkit">

    <xct:SideMenuView>

        <StackLayout
            xct:SideMenuView.MenuWidthPercentage="0.8"
            xct:SideMenuView.Position="LeftMenu"
            BackgroundColor="Blue">
        </StackLayout>

        <StackLayout
            xct:SideMenuView.MenuWidthPercentage="1"
            xct:SideMenuView.Position="RightMenu"
            BackgroundColor="Red">
        </StackLayout>

        <StackLayout xct:SideMenuView.Position="MainView" BackgroundColor="Yellow" />

    </xct:SideMenuView>
</ContentPage>

It should visualize a blu left menu and a red right menu, but it seems is always red
Steps to Reproduce
se above
Expected Behavior
blue side menu on left, red on right
Actual Behavior
red on left and right
Basic Information

Version with issue: 1.0.2
Last known good version: unknown
IDE: Visual studio 2019 16.8.4
Platform Target Frameworks:

iOS:
Android:  10
UWP:

Android Support Library Version:
Nuget Packages:
Affected Devices:

Workaround

        <StackLayout
            xct:SideMenuView.MenuWidthPercentage="0.2"
            xct:SideMenuView.Position="RightMenu"
            BackgroundColor="Red">
        </StackLayout>

Seems that using 0.2 in RightMenu's MenuWidthPercentage, it works. Must the two percentages have a total sum of 1?
Reproduction imagery

Reproduction Link

Reproduced as described.

Issue still continues.


Add public method to get parsed rules

I would find this particularly useful in dominar.js as I need to determine what data to pass to validator js from the form (in the case of the confirmed and same rule) -- I manually have to parse the rules in pretty much the same way validatorjs does.
It would be nice to get the parsed rules (where all the values have been exploded into a normalized format etc).
This could relate to #89 and improve performance if we allow passing rules to validator that have already been parsed. That way when you re-create the validator, it won't have to re parse the rules as it would detect the rules have already been parsed (might not be a huge speed increase, but still worthwhile).
var parsedRules = Validator.parseRules({ name: 'required' });
var validator = new Validator({ name: 'gary' }, parsedRules);

So this would make the data structure that gets created in _parsedRules() public?


Fix commands in meeting-policies-restricted-anonymous-access.md

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9552.

Learn Build status updates of commit c6b3acc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/meeting-policies-restricted-anonymous-access.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@mkbond007
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@mkbond007
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@mkbond007
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Article has been retired.


orxe2: replace inconsistent tab indentation with spaces

Please note, I've mixed this in with changing windows line endings to unix ones in src/engine.js to be consistent with the rest of the project.
Doing this as two separate PRs would be a bit of a headache, as fixing both the indentation and line-endings change every single line in that file.

Conflicts resolved.  Check https://github.com/medic/openrosa-xpath-evaluator/pull/38/files?w=1 to see that changes are whitespace-only.


More flexibility in specifying the default mode

This PR changes how default modes for parts (systems and nodes) are specified. The previous way of doing so, naming one of the modes __DEFAULT__ is now deprecated, but still possible for backward compatibility.
Instead, each part now specifies an additional defaultmode argument in the SMH file as documented here and exemplified here.

@nielsvd Please give this PR a review. It changes the system modes packages so that you can now declare arbitrary modes to be the default mode.
Sorry for the huge PR, I did some necessary changes that you don't have to review IMHO, since parsing and inference are quite complex by now (I started refactoring in a separate branch, which should make it more readable soon).
For your review I would like you to notice that I only had to change the mode names in the examples and launch tests, no further changes (from a system modes user's perspective) were necessary. So I expect that it is similar in your use case, you may just drop the __DEFAULT__ modes and mark arbitrary other modes of your model with defaultmode: true


Can't upgrade/uninstall pip packages in Dockerfile

Hello,
Since recently our team is migrating to Concourse. I'm using oci-build-task to build my images and noticed that some of the builds are failing when trying to upgrade some of the pip packages in two different layers of a Dockerfile. Fortunately, it's easy to reproduce with dockerfile like this one:

FROM ubuntu:bionic

RUN apt-get update && apt-get install -y python3-pip python-tox

RUN pip3 install --upgrade pip

# RUN pip3 install --upgrade six
RUN pip3 uninstall -y six

WORKDIR /opt/testdir

CMD ["sh", "-exc" "'echo works'"]

Here "six" package is installed firstly by python-tox and then I need to upgrade it in subsequent step. However, intentionally I've commented the upgrade step and replaced it with uninstall -- this way we can clearly see where is the problem. With this setup the error message is:
#6 [3/5] RUN pip3 install --upgrade pip
#6 2.463 Collecting pip
#6 2.578   Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB)
#6 2.899 Installing collected packages: pip
#6 2.900   Found existing installation: pip 9.0.1
#6 2.903     Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
#6 4.102 Successfully installed pip-20.1.1
#6 DONE 4.4s

#7 [4/5] RUN pip3 uninstall -y six
#7 1.026 Found existing installation: six 1.11.0
#7 1.028 Uninstalling six-1.11.0:
#7 1.423 ERROR: Exception:
#7 1.423 Traceback (most recent call last):
#7 1.423   File "/usr/lib/python3.6/shutil.py", line 550, in move
#7 1.423     os.rename(src, real_dst)
#7 1.423 OSError: [Errno 18] Invalid cross-device link: '/usr/lib/python3/dist-packages/six-1.11.0.egg-info' -> '/usr/lib/python3/dist-packages/~ix-1.11.0.egg-info'
#7 1.423
#7 1.423 During handling of the above exception, another exception occurred:
#7 1.423
#7 1.423 Traceback (most recent call last):
#7 1.423   File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/base_command.py", line 188, in _main
#7 1.423     status = self.run(options, args)
#7 1.423   File "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/uninstall.py", line 86, in run
#7 1.423     auto_confirm=options.yes, verbose=self.verbosity > 0,
#7 1.423   File "/usr/local/lib/python3.6/dist-packages/pip/_internal/req/req_install.py", line 676, in uninstall
#7 1.423     uninstalled_pathset.remove(auto_confirm, verbose)
#7 1.423   File "/usr/local/lib/python3.6/dist-packages/pip/_internal/req/req_uninstall.py", line 394, in remove
#7 1.423     moved.stash(path)
#7 1.423   File "/usr/local/lib/python3.6/dist-packages/pip/_internal/req/req_uninstall.py", line 283, in stash
#7 1.423     renames(path, new_path)
#7 1.423   File "/usr/local/lib/python3.6/dist-packages/pip/_internal/utils/misc.py", line 349, in renames
#7 1.423     shutil.move(old, new)
#7 1.423   File "/usr/lib/python3.6/shutil.py", line 562, in move
#7 1.423     rmtree(src)
#7 1.423   File "/usr/lib/python3.6/shutil.py", line 490, in rmtree
#7 1.423     onerror(os.rmdir, path, sys.exc_info())
#7 1.423   File "/usr/lib/python3.6/shutil.py", line 488, in rmtree
#7 1.423     os.rmdir(path)
#7 1.423 OSError: [Errno 22] Invalid argument: '/usr/lib/python3/dist-packages/six-1.11.0.egg-info'
#7 ERROR: executor failed running [/bin/sh -c pip3 uninstall -y six]: buildkit-runc did not terminate successfully
------
 > [4/5] RUN pip3 uninstall -y six:
------
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c pip3 uninstall -y six]: buildkit-runc did not terminate successfully
FATA[0134] failed to build: build: exit status 1
FATA[0134] failed to run task: exit status 1
failed

I start the project on Concourse 5.8 with the following command:
fly -t rw execute -c test.yaml -i code="." --privileged
With the following test.yaml in the same dir as the Dockerfile:
---
platform: linux

image_resource:
  type: registry-image
  source:
    repository: vito/oci-build-task

inputs:
  - name: code

outputs:
  - name: image

caches:
  - path: cache

params:
  CONTEXT: "./code"

run:
  path: build

The version installed from apt-get is pip-9.. which is working fine, however it's now deprecated. Our internal artifactory server insists  on newer version of pip. However, with every version >9.. the previous error is displayed.
The interesting thin is that I tried on my Mac to build this image:
docker build -t test .
And with Buildkit as well:
DOCKER_BUILDKIT=1 docker build -t test .
Both of these commands succeed on the Mac.
Moreover, this Docker file is building fine on Concourse with DCinD (this task: https://github.com/meAmidos/dcind).
That being said, I suspect that the problem is in 'pip'! There is even a bug report opened on github for this last year:
https://github.com/pypa/pip/issues/6943
However, the reason I'm writing the bug report here is because I don't really know what is going on under the hood either in oci-build-task or Concourse. Or maybe Buildkit is confusing something? Or maybe Buildkit in docker container is complicating stuff? The thing is that these docker image builds are not working only in this configuration: Concourse + oci-build-task. Apparently, python/pip is seeing the specific file located on different FS.
Regards,
Kristiyan

Strange. I wonder if this issue is related?: https://github.com/docker/for-linux/issues/480
What Linux kernel version are you running?
What does this output on the worker?:
sudo cat /sys/module/overlay/parameters/metacopy

If that prints Y, you could try echoing N to it and running again:
echo N | sudo tee /sys/module/overlay/parameters/metacopy

Hey @vito,
Linux version of what? I'm using your vito/oci-build-task container.
How can I connect to the worker? I don't own the Concourse installation.
The only thing that I can get is this output when building the Dockerfile:
#7 [4/7] RUN uname -a
#7 0.358 Linux buildkitsandbox 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
#7 DONE 0.8s

Linux version of what? I'm using your vito/oci-build-task container.

Containers don't determine the Linux version - that's up to your worker machine's kernel which is running all the containers.

The only thing that I can get is this output when building the Dockerfile:

Thanks, that works! Looks like you're running 4.4, which is before metacopy was even introduced, so those commands won't help.
Unfortunately that was my only bright idea. This task is really just a wrapper around BuildKit, so I'm not really sure if there's anything I can do to fix this myself. I just pushed v0.4.0 which bumps BuildKit to v0.7.2, so I guess you could try that to see if anything changes.

For what it's worth, that kernel version is over 4 years old. Would it be possible to upgrade? The latest LTS release is 5.4.

Hello,
I've tried with our infrastructure running Concourse 6.4 with workers featuring kernel 4.15 and there the problem seems to be non-existent. So, we can close this issue. Thanks for the help! :)
Regards,
Kristiyan

@skrech Awesome, good to know - closing!


Upgrade to v4 stat-collection, fix schema issues

Don't forget to drop in our two new panorama files. They go in your content folder.
https://github.com/GetDotaStats/stat-collection/tree/master/content/dota_addons/YOUR_ADDON/panorama
Make sure to test this as soon as you push it live. If there are any issues, comment out the require stat-collection line in your main lua file, and get back to us!

merging manually

Make sure to drop in the latest stat-collection version.
https://raw.githubusercontent.com/GetDotaStats/stat-collection/master/game/dota_addons/YOUR_ADDON/scripts/vscripts/statcollection/lib/statcollection.lua
:+1:

Oh, and for heaven's sake, please double check the schema! You haven't had stats in forever over something as simple as having an old schemaID!
Your schema contents
Your schemaID

done and done. Thank you!
2015-12-02 1:37 GMT-03:00 jimmydorry<EMAIL_ADDRESS>
Oh, and for heaven's sake, please double check the schema! You haven't had
stats in forever over something as simple as having an old schemaID!
Your schema contents http://getdotastats.com/#s2__mod_schema?mid=74
Your schemaID http://getdotastats.com/#s2__my__mods
—
Reply to this email directly or view it on GitHub
https://github.com/fcalife/dota_imba/pull/43#issuecomment-161178327.

--
Felipe Calife


initial install error

Tried out the pugin
On initial install using LazyVim I followed the Installation guide by adding:
-- Use your favorite package manager to install, for example in lazy.nvim
return {
  {
    "sourcegraph/sg.nvim",
    dependencies = { "nvim-lua/plenary.nvim" },
  },
}

nvim version:
Build type: Release
LuaJIT 2.1.0-beta3

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/home/linuxbrew/.linuxbrew/Cellar/neovim/0.9.1/share/nvim"

LazyVim version:
# Changelog

## [6.1.0](https://github.com/LazyVim/LazyVim/compare/v6.0.0...v6.1.0) (2023-07-22)

Install is successful:

Quitting out of nvim and back in again I get the following error:

Failed to source `/home/mdodgson/.local/share/nvim/lazy/sg.nvim/plugin/cody.lua`

vim/_editor.lua:0: /home/mdodgson/.config/nvim/init.lua..nvim_exec2() called at /home/mdodgson/.config/nvim/init.lua:0../home/mdodgson/.local/share/nvim/lazy/sg.nvim/plugin/cody.lua: Vim(source):E5113: Error while calling lua chunk: ....local/share/nvim/lazy/sg.nvim/lua/sg/_find_artifact.lua:37: Failed to load sg-nvim-agent: You probably did not run `nvim -l build/init.lua`
stack traceback:
	[C]: in function 'error'
	....local/share/nvim/lazy/sg.nvim/lua/sg/_find_artifact.lua:37: in function 'get_nvim_agent'
	...odgson/.local/share/nvim/lazy/sg.nvim/lua/sg/request.lua:25: in main chunk
	[C]: in function 'require'
	...e/mdodgson/.local/share/nvim/lazy/sg.nvim/lua/sg/rpc.lua:4: in main chunk
	[C]: in function 'require'
	...n/.local/share/nvim/lazy/sg.nvim/lua/sg/cody/context.lua:1: in main chunk
	[C]: in function 'require'
	.../.local/share/nvim/lazy/sg.nvim/lua/sg/cody/commands.lua:9: in main chunk
	[C]: in function 'require'
	.../mdodgson/.local/share/nvim/lazy/sg.nvim/plugin/cody.lua:9: in main chunk
	...
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:466: in function 'source'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:425: in function 'source_runtime'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:393: in function 'packadd'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:328: in function '_load'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:184: in function 'load'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:116: in function 'startup'
	...dgson/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:85: in function 'setup'
	/home/mdodgson/.config/nvim/lua/config/lazy.lua:9: in main chunk
	[C]: in function 'require'
	/home/mdodgson/.config/nvim/init.lua:2: in main chunk

# stacktrace:
  - vim/_editor.lua:0 _in_ **cmd**
  - lua/config/lazy.lua:9
  - init.lua:2

and
Failed to source `/home/mdodgson/.local/share/nvim/lazy/sg.nvim/plugin/sg.lua`

vim/_editor.lua:0: /home/mdodgson/.config/nvim/init.lua..nvim_exec2() called at /home/mdodgson/.config/nvim/init.lua:0../home/mdodgson/.local/share/nvim/lazy/sg.nvim/plugin/sg.lua: Vim(source):E5113: Error while calling lua chunk: ....local/share/nvim/lazy/sg.nvim/lua/sg/_find_artifact.lua:75: Failed to load libsg_nvim: You probably did not run `nvim -l build/init.lua`
stack traceback:
	[C]: in function 'error'
	....local/share/nvim/lazy/sg.nvim/lua/sg/_find_artifact.lua:75: in function <....local/share/nvim/lazy/sg.nvim/lua/sg/_find_artifact.lua:43>
	[C]: in function 'require'
	...odgson/.local/share/nvim/lazy/sg.nvim/lua/sg/bufread.lua:4: in main chunk
	[C]: in function 'require'
	/home/mdodgson/.local/share/nvim/lazy/sg.nvim/plugin/sg.lua:7: in main chunk
	[C]: in function 'nvim_exec2'
	vim/_editor.lua: in function 'cmd'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:467: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:466>
	[C]: in function 'xpcall'
	.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:110: in function 'try'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:466: in function 'source'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:425: in function 'source_runtime'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:393: in function 'packadd'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:328: in function '_load'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:184: in function 'load'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:116: in function 'startup'
	...dgson/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:85: in function 'setup'
	/home/mdodgson/.config/nvim/lua/config/lazy.lua:9: in main chunk
	[C]: in function 'require'
	/home/mdodgson/.config/nvim/init.lua:2: in main chunk

# stacktrace:
  - vim/_editor.lua:0 _in_ **cmd**
  - lua/config/lazy.lua:9
  - init.lua:2

The files it is unable to source are present:
❯ ll
.rw-rw-r-- 2.4k mdodgson 27 Jul 09:37  cody-agent.lua
.rw-rw-r-- 2.6k mdodgson 27 Jul 09:37  cody.lua
.rw-rw-r-- 3.4k mdodgson 27 Jul 09:37  sg.lua

sg.nvim/plugin on  master [?] via  on   (us-east-1)
❯ pwd
/home/mdodgson/.local/share/nvim/lazy/sg.nvim/plugin

That's the Rust binary not building correctly. Type gb in the Lazy UI with the cursor over sg.nvim, which will trigger a rebuild. Happened to me a few times as well, rebuilding manually should fix it.

I'm not around at the moment. I will take a look when I am back in a couple of weeks 👍

That's the Rust binary not building correctly. Type gb in the Lazy UI with the cursor over sg.nvim, which will trigger a rebuild. Happened to me a few times as well, rebuilding manually should fix it.

Im new to nvim and also lazy vim. Can you elaborate a little more on typing gb? I dont have this option available when ehich-keys pops up. Is there another command I can type to get the same effect to rebuild?

The Lazy UI help menu should show you the available commands.
I have at the bottom of mine
- Build <gb> Rebuild a plugin

I'm going to close this, since I added downloading of the binaries now instead of building manually as the default way to install -- if you have any more problems with the install, let me know! I want to make it super smooth to get started.


Allow word of length one to equal zero

At this moment the classic solver does not accept words with leading zeroes.
However, it could be interesting to make a cryptarithm of type -a=a where a must equal zero.
Another case where a single-letter word should be zero is when we force a letter to be zero.
For example in send+more=money we are able to add the constraint m=1 and have  send+more=money; m=1.
Similary it would be usefull to be able to declare o=0 in a similar situation  send+more=money; o=0.

Note that it becomes trivial to extend a cryptarithm by adding 0 any number of times.

See #59


Require backward compatibility down to Java 8

Added build option so that the produced jar should be compatible down to Java 8 even when newer Java versions are used to build the software.

We will make a silent update of the version tag 0.10.1 as it was released only a day ago with yet no announcement.

@Andreas-Forster Don't forget to merge the fix back into develop as well

@marcelluethi We do not use the full git-flow model. Our master is the develop branch of other repositories. If there is a substantial increase in contributions it might be worth a discussion.


Analyzer/FE integration of outline data fails when there are compile errors

This is a catch-all bug for test failures in which the test case has a compile error, and the analyzer is crashing while trying to decode the outline resolution information it receives from the front end.
Examples of situations where this occurs:

Multiple declarations with the same name

language_2/interface_injection1_negative_test
language_2/enum_syntax_test/09
language_2/type_parameter_test/09
language_2/static_setter_conflicts_test/09
language_2/toplevel_collision2_test/01
language_2/prefix_variable_collision_test/01
language_2/regress_33235_14_test/01

Various kinds of syntax errors

language_2/black_listed_test/06
language_2/mixin_illegal_syntax_test/01
language_2/built_in_identifier_type_annotation_test/set
language_2/get_set_syntax_test/11

Illegal operator names

language_2/syntax_test/08
language_2/syntax_test/06

Extraneous comma before formal parameter

language_2/arg_param_trailing_comma_test/72
language_2/arg_param_trailing_comma_test/98

Cycle in the class hierarchy

language_2/mixin_illegal_cycles_test/02

Illegal use of a keyword

language_2/built_in_identifier_illegal_test/typedef

Closure used as a parameter default value

language_2/function_type_parameter2_negative_test

(Note: these examples come from a random sampling of failing tests; there are likely to be other failures).
This seems like the sort of issue where high level design work is needed, so for now I'm not going to file individual bugs for the subcategories listed above.

Note that @scheglov has done some work in this area related to the handling of types; perhaps his work can be extended.

Related to https://github.com/dart-lang/sdk/issues/33686

I've finished triaging the remaining test.py failures with analyzer/FE integration and updated the above list.  I believe the list of failing tests is now reasonably complete.  I've decided to remove failures due to #33686 from the list above (the distinction being that #33686 addresses situations where the front end fails to recover from errors at all; this bug addresses situations where the front end recovers from the error but in a way that the analyzer doesn't know how to map to its model)

The CFE integration work is suspended, so this will not be addressed.


Unable to import fp-ts-std

Error: Cannot find module 'fp-ts-std/Function' or its corresponding type declarations.
I have tried all the solutions mentioned in different comments across different issues relating to this. But I am unable to use fp-ts-std. I am using this library in a chrome extension I am building using react and webpack.

webpack: 4.44.2
typescript: ^5.0.2

In my setup eslint is failing with the same error.

@Mati365 Is that eslint-plugin-import?: https://github.com/import-js/eslint-plugin-import/issues/1810

@samhh yep


java.lang.RuntimeException: Error receiving broadcast Intent { act=com.google.android.gms.auth.api.phone.SMS_RETRIEVED

java.lang.RuntimeException: Error receiving broadcast Intent { act=com.google.android.gms.auth.api.phone.SMS_RETRIEVED flg=0x200010 pkg=privpay.siriyangu.co.ke.privpay (has extras) } in ru.surfstudio.otp_autofill.SmsRetrieverReceiver@c5e4919 E/AndroidRuntime(19746): 	at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1561) E/AndroidRuntime(19746): 	at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2) E/AndroidRuntime(19746): 	at android.os.Handler.handleCallback(Handler.java:883) E/AndroidRuntime(19746): 	at android.os.Handler.dispatchMessage(Handler.java:100) E/AndroidRuntime(19746): 	at android.os.Looper.loop(Looper.java:264) E/AndroidRuntime(19746): 	at android.app.ActivityThread.main(ActivityThread.java:7684) E/AndroidRuntime(19746): 	at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(19746): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) E/AndroidRuntime(19746): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980) E/AndroidRuntime(19746): Caused by: java.lang.IllegalStateException: Reply already submitted E/AndroidRuntime(19746): 	at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:431) E/AndroidRuntime(19746): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:267) E/AndroidRuntime(19746): 	at ru.surfstudio.otp_autofill.OTPPlugin$registerSmsRetrieverBroadcastReceiver$1$1.onSuccess(OTPPlugin.kt:181) E/AndroidRuntime(19746): 	at ru.surfstudio.otp_autofill.SmsRetrieverReceiver.onReceive(SmsRetrieverReceiver.kt:24) E/AndroidRuntime(19746): 	at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1551) E/AndroidRuntime(19746): 	... 8 more I/Process (19746): Sending signal. PID: 19746 SIG: 9 Lost connection to device.

This happens when

2 OTP messages arrive at same time.
when OTP was expected to arrive but didn't arrive on time.
as it arrives later the app crashes.
I thought  the   _otpInteractor.stopListenForCode(); should stop listen of otp if it didnt arrive in time

Same error and situation

I used sms_autofill: ^2.2.0 and it worked for me. even with many sms

Same issue for me too, with version 2.1.0 when the SMS is received it throws same exception and app crashes.

PR that mentioned this issue was merged and issue with stopListen() method was also merged, closing issue


stuck on waiting for sms....

stuck on
waiting for sms....
waiting for sms....
waiting for sms....
waiting for sms....
waiting for sms....
and its take numbers but cant receive code//
any helps?

stuck on
waiting for sms....
waiting for sms....
waiting for sms....
waiting for sms....
waiting for sms....
and its take numbers but cant receive code//
any helps?

Hi, try change country, operator, or proxy, and it will be solve


Dual navigation breaks carplay

Hey Guys,
I tried the Dual Navigation feature on my Dm Unit, but it's breaking carplay, in the sense that after connecting the phone the screen blacks out and stays like this. I created a video with the behavior.
Here's some info about the unit.

As soon as I disable the patch, carplay starts working properly again.
Lemme know if you need further info.

You can directly ask the author of the patch https://www.drive2.com/my/messages/2760413

Hey Guys,
I tried the Dual Navigation feature on my Dm Unit, but it's breaking carplay, in the sense that after connecting the phone the screen blacks out and stays like this. I created a video with the behavior.
Here's some info about the unit.
As soon as I disable the patch, carplay starts working properly again. Lemme know if you need further info.

Thanks for making this post, you saved my carplay.
It was doing black screen carplay.

@IIPoliII I wasted a few weeks debugging why isn't working anymore, I also set up a testbench in the house because of suggestion that it's due to USB cable/slot...

@IIPoliII I wasted a few weeks debugging why isn't working anymore, I also set up a testbench in the house because of suggestion that it's due to USB cable/slot...

I planned to simply use my android phone just for that. Still choosing between the two platforms.
Thanks for the time you took to fix that and mainly to report it

In the blog of the author there is another alternative file for the patch. Maybe try out this one and it may be fixing your problem
https://www.drive2.com/l/647383926293153054/


Update to JavaFX 18 and use transparent WebView

Very soon, JavaFX 18 should be released. The most important fix for us is Allow for transparent backgrounds in WebView, allowing us to get rid of the WebView patcher.

WebView patcher was always a pain

Only took them 9 years XD

released 3 days ago


Add pull request template

Can I make pull request template to enhance the workflow of the repository?

Can I make issue templates to enhance the workflow of the repository?

Sure

Can you add NWoC label?


Unable to run leap exercise tests

Hi everyone,
I'm having an issue running the tests for the second exercise, Leap in Haskell.
I've followed the instructions in the Installing Haskell and Running the Tests sections.
The error I'm getting when I run stack test is:
leap-0.0.0: build (lib + test)
Preprocessing library leap-0.0.0...
Preprocessing test suite 'test' for leap-0.0.0...
Linking .stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/build/test/test ...
Undefined symbols for architecture x86_64:
  "_timezm1zi6zi0zi1_DataziTimeziClockziCTimespec_getCTimespec1_closure", referenced from:
      _S18rU_srt in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Runner.o)
      _SGsi_srt in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Internal.o)
      _SigH_srt in libHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog.a(Random.o)
      _Sj6y_srt in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      _S4as_srt in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Timer.o)
  "_timezm1zi6zi0zi1_DataziTimeziClockziCTimespec_getCTimespec1_info", referenced from:
      _s18fj_info in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Runner.o)
      _hspeczmcorezm2zi4zi1zm6tkqmeyrVhr6d0P1sYC06o_TestziHspecziCoreziFormattersziInternal_interpret16_info in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Internal.o)
      _hspeczmcorezm2zi4zi1zm6tkqmeyrVhr6d0P1sYC06o_TestziHspecziCoreziFormattersziInternal_runFormatM1_info in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Internal.o)
      _cikh_info in libHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog.a(Random.o)
      _tfzmrandomzm0zi5zmBGjMgO8m67W8CHiEl15kZZ7_SystemziRandomziTFziInit_mkSeedTime1_info in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      _tfzmrandomzm0zi5zmBGjMgO8m67W8CHiEl15kZZ7_SystemziRandomziTFziInit_initTFGen1_info in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      _cjlB_info in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
Progress: 1/2
--  While building package leap-0.0.0 using:
      /Users/kevin/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build lib:leap test:test --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

stack --version returns:
Version 1.4.0 x86_64

I have tried everything I can at this point and I have no idea what else to try. Any help would be really appreciated.

I got out my OS X test machine (it's currently 10.12.4) so as to be able to test with the most similar environment. There too my stack --version says "1.4.0 x86_64"
I ran with -v and saw that the command used was (other than the path to .stack) exactly the same.
2017-05-02 08:11:23.932658: [info] Linking .stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/build/test/test ...
@(Stack/Build/Execute.hs:1070:67)
2017-05-02 08:11:24.520424: [debug] Process finished in 2157ms: /Users/pt/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build lib:leap test:test --ghc-options " -ddump-hi -ddump-to-file"

We have eliminated a few differences but unfortunately I was not able to reproduce yet. A few more things I would try:

https://github.com/hspec/hspec-example is a very minimal hspec project. I was able to git clone https://github.com/hspec/hspec-example, change the stack.yaml to use resolver: lts-8.2 (the same as the one used by leap), then stack test (tests pass). This would probably fail in the same way for you, but if it succeeds it implies the problem is specific to Exercism.
Since clang had failed, it may be useful to see whether our versions are different and whether it explains anything. My clang --version says

Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

In case it matters (since clang is provided by Xcode, right? I'm not very familiar with how Xcode works), my xcodebuild -version says:
Xcode 8.2.1
Build version 8C1002

If any values differ, let's see what happens if they are made the same.

Hey @petertseng thanks for taking your time to investigate this 😄
Downloading the  repository, changing the stack.yaml file and running stack test gives me the same error:
strip-0.0.0: build (lib + test)
Preprocessing library strip-0.0.0...
Preprocessing test suite 'spec' for strip-0.0.0...
Linking .stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/build/spec/spec ...
Undefined symbols for architecture x86_64:
  "_timezm1zi6zi0zi1_DataziTimeziClockziCTimespec_getCTimespec1_closure", referenced from:
      _S18rU_srt in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Runner.o)
      _SGsi_srt in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Internal.o)
      _SigH_srt in libHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog.a(Random.o)
      _Sj6y_srt in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      _S4as_srt in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Timer.o)
  "_timezm1zi6zi0zi1_DataziTimeziClockziCTimespec_getCTimespec1_info", referenced from:
      _s18fj_info in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Runner.o)
      _hspeczmcorezm2zi4zi1zm6tkqmeyrVhr6d0P1sYC06o_TestziHspecziCoreziFormattersziInternal_interpret16_info in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Internal.o)
      _hspeczmcorezm2zi4zi1zm6tkqmeyrVhr6d0P1sYC06o_TestziHspecziCoreziFormattersziInternal_runFormatM1_info in libHShspec-core-2.4.1-6tkqmeyrVhr6d0P1sYC06o.a(Internal.o)
      _cikh_info in libHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog.a(Random.o)
      _tfzmrandomzm0zi5zmBGjMgO8m67W8CHiEl15kZZ7_SystemziRandomziTFziInit_mkSeedTime1_info in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      _tfzmrandomzm0zi5zmBGjMgO8m67W8CHiEl15kZZ7_SystemziRandomziTFziInit_initTFGen1_info in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      _cjlB_info in libHStf-random-0.5-BGjMgO8m67W8CHiEl15kZ7.a(Init.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
Progress: 1/2
--  While building package strip-0.0.0 using:
      /Users/kevin/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build lib:strip test:spec --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

My OSX version is also 10.12.4
xcodebuild -version gives me:
Xcode 8.3.2
Build version 8E2002

and here's the output I get from running clang --version
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I'm not exactly sure how to make the version numbers the same, since my system seems to have later versions of the software.
My guess is I am missing something from my system, but I just can't figure out what it is 🤔

my system seems to have later versions of the software.

Oops, obviously that probably means I'm out of date and I should try to update my test machine. As you can see, since it's only used for testing I don't always do the best job of keeping it up to date... I can try to do that and report back.
In the meantime, I used my preferred search engine to look for the error message and found https://github.com/haskell/time/issues/64 and https://github.com/snoyberg/http-client/issues/260 and maybe some ideas in there can help - the ideas are (progressively bigger hammers) to add --with-ghc=$(which ghc) to the stack test command, or to remove the .stack-work directory, or to remove ~/.stack/snapshots

The largest hammer worked 😄
I ran rm -rf ~/.stack/snapshots and the stack test command worked like a charm.
Thanks a lot for your help. Really appreciated @petertseng  👍


feat(ui): reusable dialog

Resolves https://github.com/agreeto/agreeto/pull/11#discussion_r1031785009
Still some styling that needs to be done but this is how I'd do it:
https://user-images.githubusercontent.com/51714798/203874313-879bf5ec-d8f1-434c-80ec-5cf1e1d26ded.mp4
(created a new t3-app w/ tailwind as a playground to get some proper HMR)
Can do the same for the dropdown if you'd like

@p6l-richard FYI: This PR is based and targets your branch

@juliusmarminge Thanks.
As per our discussion on Discord, let's try to go for a composition pattern instead (radix' pattern), such that consumers use these like so:
<Dialog>
  <Dialog.Title>Delete Account</Dialog.Title>
  <Dialog.Description>Are you sure you'd like to delete this account?</Dialog.Description>
  <Dialog.ActionButton>Yes, I confirm</Dialog.ActionButton>
</Dialog>

Instead of props pattern:
<Dialog
  title="Delete Account"
  description="Are you sure you'd like to delete this account?"
  trigger={<Button>Delete</Button>}
/>

I'm by no means a frontend expert but I found a props patterns always hard for me to reason about customising components, so let's try the composition pattern and if we don't like it after some time, we can move back to a props pattern.
I believe @bgavas is also more used to a props pattern. Burak, would you be Ok with trying the composition pattern for us to see if it works?

Here's a version of turning that into a composition pattern
Demo
https://share.cleanshot.com/cWMKqS


[docker images] Consolidate git directory ownership workaround and upgrade ccache

Based on https://github.com/grpc/grpc/pull/34033
Bunch of cleanup and rebuilding many docker images from scratch

consolidate the workaround for "dubious ownership" issue reported by git. Other team members have run into this recently and used similar but not identical workarounds so some cleanup is due.
rebuilding many images increases the chance that we fix the "dubious ownership" git issue early on rather than later on in the one-at-a-time fashion in the future (and the former will prevent many teammembers from wasting time on this weird issue).
Newer version of ccache is needed for some portability tests to be able to benefit from caching (e.g. the GCC 12 portability test to get benefits of local disk caching) - this is a prerequisite for reenabling the bazelified gcc12 portability test.
upgrade node interop images to debian:11 (since debian jessie is long past EOL).

TODO: fix node interop build

Adhoc run of interop tests (to test node interop docker image): https://source.cloud.google.com/results/invocations/e2413e40-0346-499e-b737-f03349ee838a


Finding how to run scripts

What about adding "Click here or Press Ctrl+Shift+P to get started". It will be better for new users to know from the beginning, until they find it out, that "Press..." is not only a remark but it is also a button! Tia

I would say that if its not obvious that its a button, that its a problem with the GTK theme you are using. I know some of them don't even put a border around buttons. The reason I am hesitant to add more text to the button is that it is already quite verbose.

I would say that if its not obvious that its a button,

Then, you agree that there is a small problem

that its a problem with the GTK theme you are using.

I did not really know that about GTK theme. I suspect that cinnamon has the same problem.

I know some of them don't even put a border around buttons.

That's true. There is not a border around buttons.

The reason I am hesitant to add more text to the button is that it is already quite verbose.

Partly you are right; I do understand that, but on the other hand you will help the new users.

I feel like this is more of an issue with cinnamon not making their buttons obviously intractable, which IMO is a big usability problem.
Prehaps "Open command palette (Ctrl+Shift+P)" is better? Its actually describes what the button does, and is hopefully more obvious that its intractable.

I feel like this is more of an issue with cinnamon not making their buttons obviously intractable,

Maybe it is. I do not really know!

which IMO is a big usability problem.

Yes, it is.

Prehaps "Open command palette (Ctrl+Shift+P)" is better?

Again, hovering is required for someone to find out that it is a button.

Its actually describes what the button does, and is hopefully more obvious that its intractable.

Can you add a (Script, Gear) icon left to text? Icons (maybe except logo icons) are almost always buttons. So, I hope new users will try to hover the icon to see what it is and does.

Zander wonders if @bertob might be able to have a quick looksy at this issue

Seems like a classic case of "this is why themes are a bad idea"? :D
https://blogs.gnome.org/tbernard/2018/10/15/restyling-apps-at-scale

Hehe, yes - I'm kinda wondering about that button in general though
Perhaps the shortcut should be placeholder text on the source view or part of a first run? Feels a bit weird having a button labeled with its shortcut (esp when it grows the window width)

IMHO, themes are not a bad idea at all. They give freedom to artists to express their creativity.
Immature "designers" without common sense of beauty and correct operation is the problem!
Anyway, I think that a beauty icon (gear, list, etc - see photo only as idea) placed correctly to the left of the "Open command palette (Ctrl+Shift+P)" text will help enough.

GNOME wiki suggests that its "more common to either have a label, or an icon, but not both". Also the docs for the method to force buttons to show an icon and text says to "use this property if the button would be useless or hard to use without the image".

I do not disagree with what GNOME suggests. But I also do not accept that it is a "bible" that I have to follow in blind!
At the end, just let it as it is. New users, having bad themes installed by default, will have some harder time until they find out that text is also a button, unless "Click or " text is added before "Press Ctrl+Shift+P to get started" text.

I do not disagree with what GNOME suggests. But I also do not accept that it is a "bible" that I have to follow in blind!
At the end, just let it as it is. New users, having bad themes installed by default, will have some harder time until they find out that text is also a button, unless "Click or " text is added before "Press Ctrl+Shift+P to get started" text.

From what you're saying, the issue to resolve is fixing those broken "themes".

I have checked that, at least the theme I use, it adds borders to the buttons. See photo below.

In addition, all the apps I have opened randomly they display buttons with border.
@zoeyfyi Are you sure that you have not excluded the borders in some weird way?

@GHNewbiee it seems to be intended behaviour in the cinnamon theme, look at nemo for example, none of the buttons in the header have borders.

In the icons, nemo and other apps do not put border because icons are almost always buttons. Only in text buttons. See photos below:

In calculator above, the down arrow lies right of the text.
In addition, in Kazam and SimpleScreenRecorder, there are buttons with icon and text together.
Hence, IMHO,

the problem is not caused by theme because icon buttons w/o border and text buttons with border are correctly displayed as per photos above.
I think you are wrongly overlooking the fact that you use text as label rather as a button.
You would also add an icon as Kazam and other apps do although GNOME guidelines do not suggest that.
Are you sure that you have not excluded the borders by mistake?

Are you sure that GtkButton style properties (GtkStyleContext) are set correctly?

In calculator above, the down arrow lies right of the text.

I am not sure what you mean, the button doesn't have a border. Take a look at the calendar app, the Today button doesn't have a border, and its text only.

Are you sure that GtkBorderStyle is not set to GTK_BORDER_STYLE_NONE?

I am not sure what you mean, the button doesn't have a border.

Basic Mode and down arrow are next to each other. When you click the arrow it opens.

Take a look at the calendar app, the Today button doesn't have a border, and its text only.

I use the following calendar which none of the text is button.

I do not know about the calendar of your picture.
Putting an icon iwo the text with border, like SimpleScreenRecorder does, makes the button obvious and get the attention. In your app it is like a label or hint than a button.

Are you sure that GtkBorderStyle is not set to GTK_BORDER_STYLE_NONE?

In your case it is set to NONE, because that is controlled by CSS and your theme did border: none;

Then why, in all the other apps, all pure text buttons have a border? They may have explicitly set it through the app config/variables, isn't it possible? Does not the app developer have the possibility to overwrite/by-pass the default theme css values for a specific item?

border: none; only applies to buttons in the header on your theme, other buttons receive a border. If I was to override the css for this app, it would "fix" it for your theme, but potentially break other themes. Ultimately, this is a stylistic choice made by the mint developers.

... If I was to override the css for this app, it would "fix" it for your theme, but potentially break other themes.

Nobody wants that!

Ultimately, this is a stylistic choice made by the mint developers.

Lately and ultimately, day by day, time has been getting closer to move to KDE Plasma.

Closing, #235 resolved the actual issue here


C# Wrapper Export to Ply function does not seem to save texture data

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

Apologies for the delay in responding.
Have you used pc.map_to(color) to map the points to the color frame with a 'uvmap' (texture coordinates) please?
This subject is a bit complicated when programming in C#.  Originally the point cloud texturing code would have been something like this:

auto color = frames.get_color_frame();
points = pc.calculate(depth);
pc.map_to(color);
points = pc.calculate(depth);

The PointCloud.Calculate method was made obsolete though, and may generate a harmless error warning such as this:
PointCloud.Calculate method is obsolete ("This method is obsolete. Use Process method instead")
It was suggested instead to do C# point cloud calculation with a processing block instead, such as in the example program here:
https://github.com/IntelRealSense/librealsense/blob/development/wrappers/csharp/Documentation/cookbook.md#generics-support

This case will be closed after 7 days from now if there are no further questions.   Thanks!