one-hot-labels

Thanks for sharing your code. From the documentation, I understand that the mask needs to be in binary format. For multi-label segmentation, the masks need to be encoded in a one-hot format. Could you please provide guidance on how the folder containing one-hot encoded data should be organized? Additionally, is it possible to include a relevant function in your repository? I am working on a segmentation task that requires distinguishing three labels: 0 for background, 1 for left hippocampus, and 2 for right hippocampus. Could you please guide me on how to generate the binary masks?
Thanks.

Hi! You can follow the preprocessing steps described in readme.md. The relevant functions and steps locate in utils/prepare_data_from_nnUNet.py.


Google play store app legit?

As the tittle show. I am wondering if the memos enhancer app on the play store is real and uploaded by the dev and not someone impersonating.

Must be something else


Cordova - upgrade to the latest Cordova and Ionic versions

For Cordova the project is 5.1.1 and the latest version is 6.3
For Ionic is it using 1.0.1 and the latest version is 1.3,1

I am working on this


Set "best audio" via cmd line or on install?

Is there a way to set Best Audio from the comma d line or during install? I'm using this in a high school computer lab and would like to change the default to save bandwidth. Thanks!

I'll close this outdated issue first and feel free to reopen this issue if needed :)


Cannot Access libogg Project Properties Page in Visual Studio

I saw the 1.1.0 build had been tagged, so I updated my source for the first time in a couple months. I'm now using VS2015, but I can imagine this problem exists for VS2013 users as well.
Upon upgrading the project from VS2013 to VS2015, I get this message in the log:

Upgrading project 'libogg'...
The imported project "C:\theoraplayer-1.1.0\msvc\vs2013\props-generic\platform-Android.props" was not found. Confirm that the path in the  declaration is correct, and that the file exists on disk.  C:\theoraplayer-1.1.0\ogg\msvc\vs2013\libogg.vcxproj

And then once the solution opens, I cannot access the libogg properties page in VS. When I try, I receive a messagebox that contiains the same error.
All the other projects seem fine; the problem seems isolated to the libogg project.

Hmm, yeah I'm in the process of updating libogg, vorbis and theora to the new build system but it seems to have problems if the user doesn't have android build scripts installed. which are obscure and not many companies use them though.
I had to pause my efforts on porting because my visual studio installation has gotten messed up and I'm on vacation with slow internet ;)
However, I have pushed the android props files blindly, give it a try, with some luck, it'll fix your problems.
in the near future we plan to upgrade to visual studio 2015 and separate the android build system by migrating to android studio since it finally supports c++ building

Thanks - that did resolve the issue.
Funny you should mention it, I was actually attempting to muck around with the VS2015 built-in Android build system, myself. If I make any progess or hit any snags that you should know about, I'll let you know.

great, glad it's solved :)
PS: Don't do it, only pain and hardship await if you use android with visual studio :) It's possible, it works, but it sucks


Introduce AzureContainerAppsV0 task

Task name:  AzureContainerAppsV0
Description: Introduce initial implementation of the AzureContainerAppsV0 task used to build and deploy Azure Container Apps. More information about this task can be found in the README.md for the task, or you can feel free to reach out to me on Teams.
Documentation changes required: Yes -- new task with a whole set of documentation was added
Added unit tests: Yes
Attached related issue: N/A
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@mmrazik @kirill-ivlev @KonstantinTyukalov -- Hey folks, any other outstanding comments for me to take care of, or should this PR be good to go? Thanks!

@cormacpayne could you lint this task by tslint rules? We have a configuration here This can be done as follows:
...\azure-pipelines-tasks> npm i -g tslint
...\azure-pipelines-tasks> tslint -c tslint.json "./Tasks/AzureContainerAppsV0/**/*"

Done! Thanks for the heads up.

@mmrazik @kirill-ivlev @KonstantinTyukalov -- any additional comments?


Black screen issue

On starting up the .exe, it's a black screen so I check the logs and they say
'ERROR: 0:8: 'gl_FragColor' : cannot redeclare built-in'
If someone can help please comment.

And ehx-v1, I'm just gonna save you some time and already say that I'm not moving to #13

If you already know it's a duplicate, then why did you post it?

Or do you have a good reason to believe it's a different thing?

i recently uploaded a fix in #64 . try it out!


Update fails after an elevated update has been done before

Issue Type: Bug
Today my vscode update failed stating a access failure on the
AppData\Local\Programs\Microsoft VS Code\bin
folder.
After some investigations it turned out some files and folders there where owned by BUILTIN\Administrators
I usually make sure updating vscode from a non-elevated session, but recall last update I did was accidentally done elevated.
I was able to fix it by taking ownership of all files/folders in AppData\Local\Programs\Microsoft VS Code
I am running win11 insider build 10.0.22616.100 and seem to recall having done similar elevated updates on earlier win10/win11 builds without issues. So not sure if it is win11-insider or vscode related just yet.
VS Code version: Code 1.67.1 (da15b6fd3ef856477bf6f4fb29ba1b7af717770d, 2022-05-06T12:37:03.389Z)
OS version: Windows_NT x64 10.0.22616
Restricted Mode: No

Related - #148428

Duplicate of https://github.com/microsoft/vscode/issues/147408


evolve() and attr.ib(init=False, default="foo")

As pointed out in https://github.com/ericvsmith/dataclasses/issues/42#issuecomment-330198369 attr.evolve() behaves rather weird if an attribute has

init=False,
a default/__attrs_post_init__, and
attribute(s) are modified on the instance.

The new resulting object will always have the default value.
I think I can live with that limitation if we document it and it's probably a good reason to resolve #207 with sticking assoc around with a better name?

Giving it further thought, the raison d'être for evolve are immutable objects…so I think it's fine to just document this edge case and leave it be?

import attr
@attr.s
class MyDataClass:
init_value: int = attr.ib(init=False)
default_value: int = attr.ib(default=0)
def __attrs_post_init__(self):
    self.init_value = 42  # Modifying an attribute in __attrs_post_init__

def evolve_example():
original_instance = MyDataClass()
evolved_instance = attr.evolve(original_instance, init_value=100)
return evolved_instance

Documentation for the edge case
print("""
As pointed out in ericvsmith/dataclasses#42 (comment), attr.evolve() behaves in a specific way when an attribute has:

init=False,
a default/attrs_post_init, and
attribute(s) are modified on the instance.

The new resulting object will always have the default value for that attribute. This behavior is because evolve is primarily designed for immutable objects.
Given the nature of evolve and its purpose for immutable objects, it is acceptable to document this edge case and leave it as is.
""")
Example usage of attr.evolve()
evolved_obj = evolve_example()
print(f"Evolved object: {evolved_obj}")


Connection Error while Trying to set Username

When try to set my username it is showing Connection Error. Though my Internet Connection is good. I also tried opening the file  in run as admin mode but same issue is occurring.

fixed in 1.9.0


Add installation instructions for the DigitalOcean Marketplace

What type of suggestions?
Missing Information
What page is concerned?
https://docs.kubefirst.io/do/overview/
What version of the docs?
2.3+
What is the issue?
Add installation instructions for the DigitalOcean Marketplace.
Code of Conduct

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

Basic is done, but there is another issue to add more details to the page.


How do I install Elastalert on Redhat7 without Internet connection?

Hi,
I am trying to install Elastalert on Redhat 7 which doesn't have internet connection. I have downloaded Elastalert zip file and extracted it. I ran the command, "pip install elastalert", but got the following error,

Collecting elastalert
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x232e350>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/elastalert/

You're gonna need all the requirements too. Closing as this question is not directly related to ElastAlert. Good Luck!

In case anyone else didn't get this at first (like me), he means look at the requirements.txt file.

I am also facing the same issue. This is a question on the ElastAlert only... not sure why it is closed here without providing an input/solution.
Can someone share the "requirements.txt" file?

I did figure out how to do this:  http://shadowtrackers.net/blog/installing-elastalert-on-a-stand-alone-networksystem
I used Centos so the method should be similar...


ARCO - Evapotranspiration datasets?

Hi @amsnyder @alamotte-usgs I was wondering if we have any cloud optimized evapotranspiration (AET) datasets on OSN or NHGF s3? The eval team is looking specifically for CONUS-wide coverage, daily to monthly timestep.
We are hoping for: SSEBop daily (1-km MODIS or 30-m LandSat if available), Gleam v3.7, and potentially month water balance model (mwbm) ET. We may modify this list with time but wanted to work with something to get started. Thanks!

First check open cloud data catalogs:

AWS Open Data Catalog
Microsoft Planetary Computer Data Catalog

The only data that NHGF has processed so far is PRISM.

You can also check the GDP to see if you can access it from an OPeNDAP endoint:

slightly more human readable version of GDP catalog: https://labs.waterdata.usgs.gov/gdp_web/
the THREDDS server where you would actually go for the url to access the data: https://nhgf.wma.chs.usgs.gov/thredds/catalog/catalog.html

If you want to know if a dataset has been turned into a zarr store, @gzt5142 is probably your best point of contact.

Monthly and annual in the NHGF Catalog & GDP, but daily is not. We can put daily SSEBop MODIS 1-km on OSN and chunk if needed later (if taking a long time to load/work with). Unchunked, it's ~85 gb for 2000-2021.
@rsignell-usgs @gzt5142 can I sit sometime as a fly on the wall again watching "a rechunk in progress" (in case we need to rechunk SSEBop)?

Or better yet - another use case for the chunking tutorial...
We probably have an old recording from January when Rich did the rechunking demo if you ever need it.

This recent amazon blog post is basically taking the same rechunking approach that we do -- doing the rechunking one time chunk at a time.   The only difference is that we use kerchunk instead of open_mfdataset and set up an empty zarr dataset and insert the chunks instead of appending:
https://aws.amazon.com/blogs/publicsector/decrease-geospatial-query-latency-minutes-seconds-using-zarr-amazon-s3/


Correcting package leiningen-clojure to leiningen in installation com…

…mand for Linux or WSL
Package installation for Linux or WSL  includes leiningen-clojure which is non existent instead of leiningen which is the actual required package

Thank you for catching this!

You are welcome


Default controls to unsatisfied

This would fix https://github.com/strongdm/comply/issues/77
By default the template policies are mapped to TSC 2017 criteria using satisfies front matter. Because the logic in comply is to mark controls as satisfied based on this front matter a newly initialized set of templates show all controls as satisfied.
This is confusing to new users as it makes tracking the work to implement the compliance program less obvious and there's no mechanism to manually mark controls/policies as satisfied.
This PR adds a new boolean field to the Document and Procedure structs for Live to determine if a document/procedure is live and in-place in an organizations control environment. I've also updated the ControlsSatisfied() func to only mark controls as satisfied if the document/procedure has this new field set to true.
To help guide users on the workflow I've also updated the default README to include a section about satisfying controls that describes setting live: true once the policy is implemented. To make it even more clear I updated the template files that are already mapped to criteria as having live: false added to the front matter to ensure new users have an example of the right front matter.

@jmccarthy 👋
Sorry to bug you direct so close to the holidays. Feel free to ignore and I'll follow-up in the new year. I like to wait a week or so before mentioning project maintainers about PRs. I couldn't find much in the way of contributing guidelines for Comply aside from https://comply.strongdm.com/contribute/ which doesn't go into too much detail on what your desired process is for new PRs.
Let me know if you have any Qs about the PR or the related issue. Happy to discuss further and make adjustments. Also if adding an additional field to the structs doesn't seem reasonable there's alternate ideas I have in mind.
The primary concern I have with this implementation is that every Comply site running in the wild would lack live: true in their front matter and when/if this PR landed in a future release it would be a breaking change since the zero value will be false.
In other words, by not adding live: true to existing policies folks would have their controls start showing unsatisfied.
That said, breaking changes happen and life goes on. If that's not a risk that seems reasonable the alternative would be to default the template policies and narratives to leave the satisfies front matter commented out much in the way I suggested here: https://github.com/strongdm/comply/issues/77#issuecomment-565884444
That effectively accomplishes the same outcome while only impacting newly generated content.
Looking forward to your thoughts!

@joepurdy (not a maintainer) but I've made a contribution in the past. The maintainers are super nice!
I think they hang out in this slack group that you can join if you need to have a convo with them about breaking changes ... link from readme.md

Thanks @masonhensley! I've been hanging around the Slack workspace for some time. Just didn't want to be obnoxious with a "Hey! Look at my PR!" message for something low priority and more on the quality of life side of things.
I'll raise it later today as something to review and discuss. After sitting with it I think this approach isn't great. The breaking change aspect is no good and changing the default templates seems better given that only impacts newly initialized comply projects.

Closing this PR as unmerged. I believe https://github.com/strongdm/comply/pull/85 is a better approach as it is backwards compatible. Adding new frontmatter would definitely cause existing Comply backed projects to start reporting no controls satisfied when the maintainers of those projects fail to pickup the config change.
As the issue in #77 is really an issue only new users run into it makes more sense to fix it in a manner that only affects newly generated projects.


Can we use neural network in CARLA to classify object from the data recieved from RGB camera or any camera?

If we can do it, do we have to change FPS of simulation or sth to make it work?
My team would like to detect car and traffic light so I can simulate scenario and make car go through red and green traffic light in simulation.
Pls clarify if you know it. Thank for advance.

Hey @KunanonxGithub, yeah you definitely can. I'd recommend using the synchronous mode of CARLA to make sure all your calculus are done in time, but apart from that it is completely up to you.


If you intend to fork or contribute ...

Please notice that the (current?) setup of this project is neither fork nor contribution friendly! 😕
See here why: CONTRIBUTING
Any suggestions how this situation may be improved are very welcome! 👍

Have you considered using Github Actions to do the rebasing and force pushing from development branches rather than doing it yourself?


403 from SendMessage (SQS) when using AssumeRoleAWSCredentials

Given the sequencing of actions that occur during the "RuntimePipeline" for the AmazonServiceClient, it is possible to use expired credentials when making an AWS API call over HTTP that requires retries.
For us, this issue was uncovered because of an outbound firewall issue which caused the first few requests to 500 (triggering an SDK retry). The cumulative length of those retries was longer than AssumeRoleAWSCredentials PreemptExpireyTime which caused our token within the AssumeRoleAWSCredentials to be expired when making the call to send a message to our SQS queue (which bubbles up as a 403).
Expected Behavior
When a calls to SendMessageAsync occurs on the AmazonSQSClient, GetCredentials should be invoked as part of each retry to the actual HTTP request (i.e. each POST to https://sqs.us-west-2.amazonaws.com/accountId/queueName should at the very least verify that the token is still good not expired before making the call).
Current Behavior
When a calls to SendMessageAsync occurs on the AmazonSQSClient, GetCredentials is invoked 1 time before retrying API calls. (e.g. POST to https://sqs.us-west-2.amazonaws.com/accountId/queueName).
Possible Solution
One solution would be to periodically check the current time against the expirey time asynchronously and update if expired. This wouldn't be bullet proof because there'd still be a chance that the asynchronous check wouldn't occur at the right itme
Another solution would be to just call GetCredentials() on the AWSCredentials closer to the time when the API request is made. This would be a little more involved and perhaps still problematic (there will still potentially be a period of a few milliseconds or microseconds where the token is expired).
Steps to Reproduce (for bugs)
Here's the code which reproduces the issue. You'll need to use fiddler to force a 502 for the first 4 calls (initial + 3 retries -- to the send message http request url looks like this - https://sqs.us-west-2.amazonaws.com/accountId/queueName) and then disable it before the 5th and final retry occurs.
using System;
using System.Threading;
using Amazon;
using Amazon.Runtime;
using Amazon.Runtime.CredentialManagement;
using Amazon.SQS;
using Amazon.SQS.Model;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            string awsProfileName = "aws profile name";

            var chain = new CredentialProfileStoreChain();
            if (!chain.TryGetAWSCredentials(awsProfileName, out AWSCredentials sourceCredentials))
            {
                throw new InvalidOperationException($"AWS credentials profile '{awsProfileName}' not found.");
            }

            var apiCreds = new AssumeRoleAWSCredentials(sourceCredentials, "role arn", "role session name")
            {
                // this says, "expire the token 59 minutes before the default of one hour (so ~1 minute after the current time)"
                PreemptExpiryTime = TimeSpan.FromMinutes(59)
            };

            // wait for expiration time to get close
            Thread.Sleep(TimeSpan.FromSeconds(45));

            using (var client = new AmazonSQSClient(apiCreds, new AmazonSQSConfig
            {
                RegionEndpoint = RegionEndpoint.USWest2,
            }))
            {
                var request = new SendMessageRequest
                {
                    MessageBody = "foo",
                    QueueUrl = "queue url"
                };

                client.SendMessageAsync(request, CancellationToken.None).Wait(); // discard response
            }
        }
    }
}

Context
It results in a failure to perform business logic that bubbles back to the user (sure, we could build in some retries for the actual send message call, but that seems clunky and risky). We have tweaked our outbound firewall so that it whitelists all amazon IPs at the moment. Really, we shouldn't need to do that (and we won't, once all the application hosts are running in aws), but this issue could resurface when we are fully running in aws.
Your Environment

AWSSDK.Core version used:  <IP_ADDRESS>
Service assembly and version used:  AWSSDK.SQS (<IP_ADDRESS>)
Operating System and version: Windows 10 enterprise
Visual Studio version: 2017 pro (version 15.8.3)
Targeted .NET platform: .net 4.6.1

I believe a fix was just made for this in the SDK.  I'm told the retries are now getting credentials.  We're still working on fixing it for PowerShell.
Please let us know if you have further issues.

Hi @spadfield, thank you for following up on this.  I should have verified the change.  I think I was either misinformed or there was a miscommunication.  I'll do some more follow-up on this tomorrow and probably re-open it then.

@klaytaybai any updates on this? you mentioned following up a week ago and we still haven't heard a response.

Hi @ardove and @spadfield, it does appear to still be an unresolved issue.

P

Someone is stealing money and using my accounts email, banking Amazon tc

Any updates on this? We are experiencing this issue regularly.

+1 would love to see a fix soon

This bug is over 9 months old and we haven't heard from you in 5 months. @klaytaybai any updates on whether or not this on someone's radar? Are there any plans to include it in the .NET AWS SDK at any point in the future?

I believe we have identified the problem. Credentials are being fetched for every retry in the "RuntimePipeline" but only new credentials were being retrieved from STS (Amazon Security Token Service) once the current credentials have expired. I suspect if the credentials were a few milliseconds from being expired but did expired by the time the request got to the service you would get the error reported here.
I have made the a commit https://github.com/aws/aws-sdk-net/commit/34eaad45f7b481e124e6c1f77469e79322ac8df6 to the fix-assume-role-credentials-refresh branch. We are working on testing the fix now.

Awesome. Thanks @normj, please let us know what version to find the fix in so that we can update our package references!

Quick update. I have been running the change through some endurance testing which has been successful. I'm getting others on the team to approve the change and then we will get the fix out soon.

Version <IP_ADDRESS> of AWSSDK.Core  has been released which contains the fix. All other service packages like AWSSDK.SQS have also been released bumping up their required version of Core to <IP_ADDRESS>. So if you get the latest version of AWSSDK.SQS you should pull in the latest Core.


Can't show delivered log datetime as local time

Ezine::Page's results[0] (it is the start datetime of delivery) can't show as local time.

Use DateTime.demongoize.

Fixed by #324.


Bug: crash when running for a long time

I noticed a few similar crashes and stopped to actually read the message. It looks like some variable/property is overflowing if the counter and/or the game is open for too long.
Here's an image of the exception:

PS: I was not in a run, though the session time was still ticking, as always.
PS2: I'm usually AFK for some time and come back to this, or I left the game & counter in the background for a long time and it just crashes.

This is apparently an error occuring in the library I am using for memory reading (pymem) - Will pass it on to that project. Thanks

Solved in 1.4.1 I believe


[Coverity CID: 185282] Error handling issues in /subsys/settings/src/settings_init.c

Static code scan issues seen in File: /subsys/settings/src/settings_init.c
Category: Error handling issues
Function: settings_subsys_init
Component: Other
CID: 185282
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

fixed in #7093


rename _toQuery() to toQuery()

Description

Add toQuery() method with the same logic as _toQuery() in Query and QueryVariant
add deprecated annotation on _toQuery() method

Issues Resolved

https://github.com/opensearch-project/opensearch-java/issues/716

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Are there any plans to support version 1.x once this code is merged? If so, please tell me the appropriate branch and I will do the same work there.


Timing of shell commands

Simple way to time shell commands such as identify to be able to see their performance impact.
Example:
2015-01-12 15:35:59.362 [DEBUG] DRAGONFLY: shell command started: 'identify' ... ' (pid:10642)
2015-01-12 15:35:59.376 [DEBUG] DRAGONFLY: shell command finished: 13.68ms (pid:10642)
(I needed it to optimize some image migrations)

Hi - thanks - I'm afraid I'd rather not complicate the code here for logging for fairly specific requirements. If I added instrumentation I'd rather do it in a more generic way so the user could log what they needed given the hooks, however I don't want to overcomplicate the code anyway as there are other ways it could be tested (maybe new-relic or those sorts of tools?). I'll close but feel free to come back with any comments


Image are not visible

Hey @Anjaliavv51 ,I can fix this issue.

@amanver45 go ahead.

@Anjaliavv51 I can fix this issue

@amanver45 any update?


#18426 Fix script offset calculation on right-clicking when script has collapsed regions

Issue should be fixed

verified


How to configure Mysql as storage

Hi, i am new to zipkin,
Could you explain how to configure  mysql as storage

https://github.com/openzipkin/zipkin/blob/master/zipkin-server/README.md#mysql-storage
Feel free to ask more on gitter. I will close this issue as we don't use
issues for q&a
https://gitter.im/openzipkin/zipkin

What is the corresponding command for “STORAGE_TYPE=mysql MYSQL_USER=root java -jar zipkin.jar” under cmd? I succeeded in Ubuntu, but the cmd in Windows has never been successful.

The key is this uses environment (system) variables. Ex in powershell
they need to be on separate lines
STORAGE_TYPE=mysql
MYSQL_USER=root
java -jar zipkin.jar
In cmd I think you need to use SET command. feel free to ask more on
gitter https://gitter.im/openzipkin/zipkin
On Wed, Jul 31, 2019 at 11:10 AM Coldman<EMAIL_ADDRESS>wrote:

What is the corresponding command for “STORAGE_TYPE=mysql MYSQL_USER=root java -jar zipkin.jar” under cmd? I succeeded in Ubuntu, but the cmd in Windows has never been successful.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Move jobs out of lib

Jobs are queue related and are not really part of the core of the logic.

I dig it 👍 🚧


Improve nginx deployment

For 60 seconds, check if no containers in the pod crash loop and only then declare that the pod ready.

Add readiness probe. Traffic will be forwarded only to pods that pass the readiness check.

Adjust probes to start only after 60 seconds to match the change mention in 1.

During upgrade, allow an additional pod to be scheduled for the new replicaset.

Don't allow the deployment to have less that 3 pod ready, even during upgrade.

/test appstudio-e2e-tests

/retest


release: v7.33.8 proposal

2019-04-12, Version v7.33.8
Notable Changes

Coming soon

Commits

[7ea1ba46] - alarm: data-migration not success on-system-boot,should retry when on-ready (#626) (lanyuqingri)
[8072dc9b] - cloudappclient: use playerManager replace directives (#623) (sudo)
[3ccc258e] - keyboard: delegates keydown/keyup events (#620) (legendecas)
[bd9d54b7] - cloudappclient: fix requestOnce() and add progress info (#618) (sudo)
[54590484] - custom-config: set wakeup sound effect config data with default type (#621) (FeelyChau)
[e5338bac] - tools: run tests in presets by default (#617) (legendecas)

LGTM.


handle minor typo; change GetBuidCommand to GetBuildCommand

typo handling to addresse code quality related issue #16
resolves #16

Thanks!


Security concerns about official usage example

Hi!
I noticed that the usage example at https://github.com/jerinpetergeorge/django-simple-select2#usage exposes views ReporterView and PublicationView that serving data for autocomplete widget to all users: They don't need top be logged in, they don't need to have .is_staff set to True, unlike with Django Admin.
I'm aware it's an example but I think that either (a) security should be mentioned in an comment or (b) the example would include protection out of the box, e.g. using exusting decorator django.contrib.admin.views.decorators.staff_member_required .
What do you think?
Best, Sebastian

@hartwork
Thanks for the suggestion. I think we should put either PermissionsMixin or UserPassesTestMixin in the view so that others can write their own logic in the view.

I'm not sure whether UserPassesTestMixin is the best choice but quite sure better than nothing. PermissionsMixin seems to be for user models rather than views.


Issue witg rolling dices

First of all, great design! But I'm having trouble with rolling the dices, what to do? I mean what event is it listening to?

Thanks, I am glad it works!


⚠ ClamAV has degraded performance

In 933b873, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 73 ms

Resolved: ClamAV performance has improved in 1642387 after 5 minutes.


sharing exp: document studio.token

Related #4440.
I did not add any visuals for exp push as I did not see if it fit into command reference. Maybe that should be accommodated in the guide or tutorials.

@daavoo @skshetry It feels like we need to clean up the env vars and make them more consistent between live sharing and exp push. I think it's the last blocker for general usage of the exp sharing features. WDYT? Can one of you take it?

I'm a bit hesitant to add env vars for every config. :(

@daavoo @skshetry It feels like we need to clean up the env vars and make them more consistent between live sharing and exp push. I think it's the last blocker for general usage of the exp sharing features. WDYT? Can one of you take it?

@dberenbaum Do you also mean that DVCLive should check for dvc config?

@daavoo, I understood it to just envvars. See https://github.com/iterative/dvc.org/pull/4470#discussion_r1168119050.

Thanks @skshetry! Sorry, didn't get a chance to approve it after your latest changes, but looks good.


 It doesnt seem to average the parents stats but instead just give you one of the parents stats randomly?
Should probably average the stats or it becomes very easy to 10/10/10 every chicken

My preference would be rand with min/max of the two, weighted towards the lower end? Unsure what anyone else's thoughts are on that.

yeah a bit of rng with edging out towards increases on the average sounds pretty balanced


Add Soft Assertions

Would be great if we could do soft assertions like in Playwright as shown in the example / link below.
https://playwright.dev/docs/test-assertions#soft-assertions
`// Make a few checks that will not stop the test when failed...
await expect.soft(page.getByTestId('status')).toHaveText('Success');
await expect.soft(page.getByTestId('eta')).toHaveText('1 day');
// ... and continue the test to check more things.
await page.getByRole('link', { name: 'next page' }).click();
await expect.soft(page.getByRole('heading', { name: 'Make another order' })).toBeVisible();`
### Tasks

@zx8086 i think we already supports those assertions from playwright, which versio of synthetics are you using?
https://github.com/elastic/synthetics/pull/812

Note that soft assertions only work with Playwright test runner.
i now get it, i think it needs some handling on our runner to make it work

We added a way to do soft assertion on the Step level by marking the step with .soft. Failure of soft step will not skip rest of the steps in the journey.
journey('test journey', ({}) => {
  step.soft('step 1', async () => {
   // errored step
    expect('').toEqual('hello');
  });
    // step 2 will still run
  step('step 2', async () => {
    // errored step
    expect('').toEqual('hello');
  });
});

From version 1.7.0 - https://github.com/elastic/synthetics/releases/tag/v1.7.0

@zx8086 Could you tell the stack/heartbeat version used for testing this? You might need to upgrade to 8.13.x if its an older version.

@zx8086 Interesting, I just did ran a fake broken test to see if I can repro this behaviour, unfortunately I cant.
  step('step 1', async () => {
    browser.newContext();
    expect(page).toHaveTitle('blah');
  });

  step.soft('step 2', async () => {
    // errored step
    expect('').toEqual('hello');
  });
  // step 3 will still run
  step('step 3', async () => {
    console.log('step 3');
  });

Can you run this test in a Public synthetics location and see if there is a difference from your private location. Also, if you can share a script that exposes this behaviour - I can double check on my side. Thanks.

@zx8086 can you please try this again? i tried your script and even though first step fails, the 2nd step still runs.

Thanks for confirming @zx8086 Closing the issue as its working as intended.


paket update && fix compilation.

Just a quick update of the dependencies.
This also fixes the Yaaf.FSharp.Scripting warning (https://github.com/matthid/Yaaf.FSharp.Scripting/issues/4) which is currently part of every build using FSharp.Formatting.

Looks good to me - should I release a new version too?

It's not a critical update, this just removes some warnings and updates the versions. I can live without a new release for now :)

I added one more change (https://github.com/tpetricek/FSharp.Formatting/commit/08511d448e2b4d16881032e3b0c5a6b6dbf21549) and I'm doing the release now.
The change is motivated by some of my Suave projects which reload FSharp.Formatting.fsx without properly unloading the old one, so the load script attempts to delete the logfile while it is still locked. Just ignoring the error works well enough for this (the reloading is just for local testing of things).
BTW: As you're doing quite a lot of work on this project, I guess it would make sense if you had all the rights to do the releases too. Let me know if you're open to that and I can give you all the rights!

As you're doing quite a lot of work on this project, I guess it would make sense if you had all the rights to do the releases too. Let me know if you're open to that and I can give you all the rights!

That would be awesome! I would probably do more alpha and beta than real releases. This would be a nice way to quickly test&use the changes in one of my projects.

Cool - I just sent you an invitation on NuGet and added you on GitHub.
Feel free to do any alpha & beta releases you need :-). For the major releases, if you can still send a PR, that would be good. I'll try to have a quick look to approve them (but if I'm not replying and it's something you need, then don't worry too much either).

Thanks!

For the major releases, if you can still send a PR, that would be good. I'll try to have a quick look to approve them (but if I'm not replying and it's something you need, then don't worry too much either).

I like to use the PR driven workflow anyway.
Sadly I have nothing to release right now :). I wanted to cleanup the issue list ever since. So if you don't mind I might end up closing some outdated or duplicated issues in the upcoming days.

So if you don't mind I might end up closing some outdated or duplicated issues in the upcoming days.

That would be great!

Ok I cannot push to FSharp.Formatting.CommandTool which makes the release process fail (while the new FSharp.Formatting is already uploaded).

Oops! I just added you as an owner on NuGet - you should get an invitation by email.

Works perfectly now, thanks!


[CARBONDATA-1408]:Data loading with globalSort is failing in long run…

After 437 load, data loading getting failed.
On analyzing the root cause it concluded that any new folder is not getting created in temp location.
There's a certain limit based on OS in folder creation. Thus in long run data loading case the folder creation limit reaches its maximum due to which any new folder is not getting created in temp folder, and thus the data loading is getting failed.
Solution:- Need to delete the created folder from temp folder once data loading is completed.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

hi @kushalsaha, I cannot understand the problem and modification, Can you describe the problems in the corresponding issue?

@kushalsaha  can you provide the detail about this PR?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@kushalsaha Please provide some information on this PR, why this change required?

LGTM


Fix RTL table offset, if indent is set.

Reverts part of #56921, the issue it was fixing seems to be actually caused by not taking indent into account, and should be also fixed.
Fixes #57269

I'm not sure it's just indents. Indents were another problem, but I think the original solution still has its place, because it solved columns extending to their natural width without even an attempt to shrink to fit. But my error was that I overwrote the min width in column properties, which works when I immediately reused it for calculations, but breaks on the next resize where min width is used for remainder calculations. It just needs to be two separate properties, I guess.
But let me test first.

Thanks!


Fixing link to Toxiproxy docs from Kafka docs

Thanks for your contribution, @alex-sherwin ! It'll be available soon


add test review

add ## test review
Signed-off-by: KyleTaiKY<EMAIL_ADDRESS>

Hey Kyle! thanks for your update, that's great to add such info. Let's add a smile icon to make it more friendly


Remove session use-after free

I had added these client_vc checks to try and address stale references to client_vc pointers that we were seeing.  However referencing the session object after calling do_io_close is dangerous because the session object may have been freed on return.  @bneradt caught this as a use-after-free when working with an ASAN build and the traffic-dump plugin in our prod sym environment.
My current theory on the stale client_vc is that the netvc is closing due to EOS or an error while the read/write_vio's have the continuation set to 0.  In that case the SM/tunnel/session will not be notified that the netvc has been deleted.  I added a Warning message so we can look for that case in our logs.  Thought about adding an assert, but I figured the Warning would be less invasive.  It may be ok to have an unattached netvc in some cases.
I also removed one set of do_io_read null's that I don't think are necessary.

[approve ci debian]

Have you or @bneradt retested to make sure this is really a fix?

Yes, @bneradt reran ASAN with this change.

There are better ways of doing this by reconsidering the "fix" that caused this use after free.  I have a new branch to PR once we get some more experience with it.

Please remember to remove Milestone and Projects from PRs that are closed without merging.


Write tests for Client

In #15, unit tests for basic usage of RequestPayload, ResponsePayload, and Token were written.
We should also have a test for Client and its verify method.
For these tests, maybe we could use the responses package to mock the verifying server.

Blocked by needing to complete API refactor

See also cal-itp/benefits#550


Change Facebook Icon color on About activity

Summary:
In the About activity of the app, the Facebook icon is black. If it were changed to the official color of Facebook, it would enhance the user interface.
May be Fixed on: #4600.
Steps to reproduce:
Click More > About.
Device and Android version:
Device Model: Realme XT
Android Version: Android 9.0 (Pie).
Stock from the Manufacturer.
Commons app version:
Version: 3.0.2-debug-master.
Screen-shots:
Current About activity:

Would you like to work on the issue?
Yes, I would like to work on this Issue.

Thanks for suggesting!
This color is on purpose, though, to improve coherence between the 3 icons.


Cascading fields - only 1 level is documented

[Enter feedback here]
This page documents how to enable parent-child relationship between two fields.  But sometimes you might need more than parent-child depth.  For example, If you had the following dropdowns (as option sets):

Country
State
County

And once you select a Country, the list of states is populated for that country. Then selecting a state generates a list of counties to select.
A contrived example, but it illustrates the point.  The marketing form editor does not seem to support this, but I assume it IS possible, at bare minimum using Javascript, correct?  And if so it would be very helpful to link to a page that can explain how to achieve this.

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

ID: 078cb3a7-cc0b-82e9-8db4-4a5a57620609
Version Independent ID: 71845451-c49a-6987-d310-bf2192ab25d6
Content: Set up input fields for marketing forms (Dynamics 365 Marketing)
Content Source: ce/marketing/marketing-fields.md
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Thanks for your comment, @jrichview. This issue has been assigned to the doc author for review.

Thanks for your question! The best place for product requests or troubleshooting is the Dynamics 365 Marketing forum at https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum - repost your question there and a developer will be able to help you.


Add initial support for Shiftr.io

Description:
This component simply make the events from Home Assistant available in the communication infrastructure on shiftr.io. This allows one to share data and see the flows in a realtime graph that visualizes all events happening in a namespace.

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2827
Example entry for configuration.yaml (if applicable):
shiftr:
  username: 7879cb40
  password: 5e8bh7bebe4c0cc0

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[x] New dependencies are only imported inside functions that use them ([example][ex-import]).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Only small mods required for posting to Initial State
http://support.initialstate.com/knowledgebase/articles/590091-how-to-stream-events-via-restful-api

Thanks for the update. The idea was to use the internal MQTT object to be async but I will work that way too.


New Release form Master

Fantastic work on this repo, thanks!
I see there's a few new features that are not yet in a release (e.g. being able to listen to disconnects) Will these new changes be put in a formal release, soon?

I hope to get back and work on this repo in the second half of august.
I will then

add proper documentation using DocC
release this in as V2

When that's done I will merge the open pull requests and release them as a minor version update to V2.


Unable to connect - drops connection

Hi there,
I connected firstly yesterday, all was fine but noticed it dropped off the network.
Pushing the button within 10 seconds and re-entering information. However the device is not coming back on the network? Is there a factory reset option?

It seems that on saving the data, I get a completion page showing its ‘saved’ but it doesn’t reboot properly. Blue light remains flashing and the FireFly AP is still up.
Removing the battery after saving to force reboot doesn’t work either?

Solution seemed to be to ‘forget network’ which seemed to clear things.
The noticeable different was the long on blue LED state on save rather than continually blinking.
Leaving this open to ensure it doesn’t happen again.

Yeah, something isn’t correct.
Device dropped again.
Removed battery and didn’t enter programming (switch within 10seconds)
AP still came up.
It seems the device is not storing the WiFi credentials?

Dropped again :(
i have a mesh router but connect a lot of 2.4Ghz devices to it as well as 5Ghz so assume that isnt the issue.
Tried a different battery and that's not it. Any other ideas? Do you have a newer firmware release than 1.2?

Well reflashing the device via an arduino I had and adding pin headers seems to have solved the WiFi dropping issue.
Maybe a bad flash? Opening a new issue around MQTT connection as the device is able to connect to WiFi but not pushing any MQTT messages (also getting fed up with clambering about testing this is situe with the chime and then bringing it back to my PC to test)


[Feature / Bug] Help the user to bump the contract if has been expired

Currently we cannot interact with expired SAC contracts.

Follow the discussion in https://discord.com/channels/897514728459468821/1218208811295182970

We need to:

[ ] Find a way to identify if SAC contracts are expired (maybe catch using the  invokeHostFunctionEntryArchived error /  Check the restorePreamble field in the simulate transaction response)

[ ] If the SAC has been expired, find a way to help the user bump the contract before interaction. Can we do it in the same tx?

contracts are not expiring...

I got this error while installing a contract wasm. trying to figure out what it is.
Someone check the simulation but it's failing during simulation and that's empty i can't find any docs about this


Xlsx styles/colors are completely changed after opening and writing

Hi, I'm seeing the same issue on v4.4.0
Here's a sample file:
sample.xlsx
When I open and re-save it the background and border colors are changed:

I see the same thing as well 4.3.0

Oh I think the issue was that the file was last saved in Numbers app on mac.


Message being received with no data

I am using Node.js on Linux, no SSL, and trying to implement uws to my current project. All I've done is changed ws to uws. My message is being received but with no data, the on('message') callback is called, but with an empty buffer, and it's called when I refresh the browser page. Is the client interface is any different?

Sounds strange but you should probably not use the client of uws right now. It is "meh" right now and should be improved. Do you have any kind of reproducible case?

You are using the server? And you receive binary data? Did you read the notes on how binary data differs from ws? uws makes use of ArrayBuffer and they are only valid during the callback.

Thanks Alex, it was an error on my part, this has since been solved.


Conditional curl call

A user can now specify if the person wants the output compressed or not.
@ofw suggested: If this option is used and the server sends an unsupported encoding, curl will report an error.

You already made changes to the master branch, @ofw

Yes, that's right, already done! Thanks


fix: Pass correct option to swc

Parser options pass to swc.transform should be correct, otherwise it becomes Syntax::Es(Default::default()).
I don't know why serde behaves in this way, though.

Context: https://github.com/huozhi/bunchee/pull/278

@SukkaW Can you publish a new version once this is merged?

The fix is included in the 0.10.3.

Thank you!


Enable compilation of sample app

I wanted to check out how the sample app has improved since the Store version seemed old. I am happy to report that a self-compiled sample app is better than the one currently on the store!
The following changes are nice to have so that compilation is easier for anyone wishing to do the same thing.

*.jsproj.user files were removed and .gitignore updated accordingly.
References to winjscontrib logger have been removed.

Hi David,
Thank you for your help. I must admit that the sample app does not get the attention it should during the last few months.

The showcase app would warrant an update, just for the convenience of others!  I am able to resize the app without it crashing, which is an improvement from the current version I have from the Windows Store.  Gives me a lot more confidence in WinJSContrib before I start pulling it into my project.
Is there anything missing from the Showcase that other devs might not know about otherwise?
Thanks for the great project in WinJSContrib.


Question: where I can find some documentation?

I looked at the samples but I spent one hour just to understand that Stream was the property that I needed to set to show something.
The control is awesome, but without some documentation I bet most of the people is not using at its best.
Thanks for the great project.

Thank you 😊 I made this control in my free time.
You can check samples for help. But it's a good idea to make a documentation with pictures. I will work on that's this fall

I totally understand. I don't mean a full featured documentation, but something that can make us understand the main use cases and what do the properties mean.
I also suggest to create more small samples rather than one big. I believe the use-cases should drive them and be easier for you as well.
Thanks!

It's a nice idea. I will going on this way (more little sample).
(Sorry for my English)

If you want put a 🌟 on my project

Hi .
Thanks for this contribution, I really like it.
But I think it takes some information to be able to make some changes, methods, properties, etc ...
I also need to access buffer byte []
var x = this.FileTab.Items.Count.ToString (); // tab counter
var xx = this.FileTab.SelectedIndex.ToString (); // index selected
var xxx = this.FileTab.SelectedValue.ToString (); // tab filename
string ToTblString (byte [] data)
class ByteProvider: IDisposable
class PathToFilenameConverter: IValueConverter
Path.GetFileName (filename);
I don't know some information would be fine because it looks like a good tool but for example I would like it to be able to eat 2 hex and save diff, to apply patch etc ...
something like this that I have done recently.
https://github.com/reproteq/DiffPatchWpf
a binary comparer that saves diff to a txt and can apply these changes to another binary.
You could also implement it like this almost better, if you want I'll help you.
thank you very much for your time and work

Hi .
Thanks for this contribution, I really like it.
But I think it takes some information to be able to make some changes, methods, properties, etc ...
I also need to access buffer byte []
var x = this.FileTab.Items.Count.ToString (); // tab counter
var xx = this.FileTab.SelectedIndex.ToString (); // index selected
var xxx = this.FileTab.SelectedValue.ToString (); // tab filename
string ToTblString (byte [] data)
class ByteProvider: IDisposable
class PathToFilenameConverter: IValueConverter
Path.GetFileName (filename);
I don't know some information would be fine because it looks like a good tool but for example I would like it to be able to eat 2 hex and save diff, to apply patch etc ...
something like this that I have done recently.
https://github.com/reproteq/DiffPatchWpf
a binary comparer that saves diff to a txt and can apply these changes to another binary.
You could also implement it like this almost better, if you want I'll help you.
thank you very much for your time and work

Hi @reproteq
Thanks for you good words 😁
What you want/needs exactly ?

You want the hexeditor can compare to files and save the différence on another files ?

-you need somes information about some properties and methods for use the hexeditor?
Just explain in detail what you need please 🙂
Best regards

Hi @reproteq
Thanks for you good words 😁
What you want/needs exactly ?

You want the hexeditor can compare to files and save the différence on another files ?

-you need somes information about some properties and methods for use the hexeditor?
Just explain in detail what you need please 🙂
Best regards

I need to compare 2 files and save by lines a patch.txt file with addresses and values.
then I can open that file and apply the differences it contains.
something similar to what I have done in another project called wpfdiffpatch.
Could you tell me how to get the array byte [] data buffer from the file loaded in the selected tab?
FileTab.SelectedIndex
and the path off file load

I need to compare 2 files and save by lines a patch.txt file with addresses and values.
then I can open that file and apply the differences it contains.
something similar to what I have done in another project called wpfdiffpatch.
Could you tell me how to get the array byte [] data buffer from the file loaded in the selected tab?
FileTab.SelectedIndex
and the path off file load

You can use for this:
Hexeditor.GetAllBytes();
if you want that your différence appears, you can use 2 hexeditor and use the CustomBackgroundBlock class in the editor to put byte in incidence. If you need a sample for do that I can make one for you

You can use for this:
Hexeditor.GetAllBytes();
if you want that your différence appears, you can use 2 hexeditor and use the CustomBackgroundBlock class in the editor to put byte in incidence. If you need a sample for do that I can make one for you

You could also make the byteperline length of the line draggable, which is adjusted by stretching or collapsing the window.
You could make it compare 2 files and align it in the main view the 2 at the same time and highlight the changes and that the lines are synchronized to be able to lower or raise them at the same time
https://www.youtube.com/watch?v=EpyuF4t5MWk

You could also make the byteperline length of the line draggable, which is adjusted by stretching or collapsing the window.
You could make it compare 2 files and align it in the main view the 2 at the same time and highlight the changes and that the lines are synchronized to be able to lower or raise them at the same time
https://www.youtube.com/watch?v=EpyuF4t5MWk

All its possible but I need the time for do that :)
I make the hexeditor in my free time.
But I can make a little sample for help you if you need

All its possible but I need the time for do that :)
I make the hexeditor in my free time.
But I can make a little sample for help you if you need

ok , thanks  if you can help me .
this is mi fork  and custom
https://github.com/reproteq/WpfHexEditorControl/blob/master/Sources/Samples/HexEditReproteq/MainWindow.xaml.cs
y add menu with 2 buttons for make comparation and save diff.txt and other button for load this diff.txt and apply in other file loaded in app.
and this is mi litle app  for make patchs.
https://github.com/reproteq/DiffPatchWpf/blob/main/MainWindow.xaml.cs

ok , thanks  if you can help me .
this is mi fork  and custom
https://github.com/reproteq/WpfHexEditorControl/blob/master/Sources/Samples/HexEditReproteq/MainWindow.xaml.cs
y add menu with 2 buttons for make comparation and save diff.txt and other button for load this diff.txt and apply in other file loaded in app.
and this is mi litle app  for make patchs.
https://github.com/reproteq/DiffPatchWpf/blob/main/MainWindow.xaml.cs

Good I will check this.
I will make a new sample directly  in my repo.
You will can take the code when is done

Good I will check this.
I will make a new sample directly  in my repo.
You will can take the code when is done

ok thank in advance .
i go to sleep here 1 am.
by bro have nice n8

ok thank in advance .
i go to sleep here 1 am.
by bro have nice n8

No trouble here is only 7pm

No trouble here is only 7pm

@reproteq take the lastest code on github and launch the sample WpfHexEditor.Sample.BinaryFilesDifference.
It's not perfert and completed but i hope it will help you.
regards

@reproteq take the lastest code on github and launch the sample WpfHexEditor.Sample.BinaryFilesDifference.
It's not perfert and completed but i hope it will help you.
regards

ohh yeahh thanks alot mate i go test this changes.
have nice day bro.

ohh yeahh thanks alot mate i go test this changes.
have nice day bro.

It's not perfect now I'm coded this in about 2 hours but I think is a nice sample.
I will optimize and complete this this week if possible for me

It's not perfect now I'm coded this in about 2 hours but I think is a nice sample.
I will optimize and complete this this week if possible for me

thanks for your time . I'm looking at it but I see some variables and properties in red I will have to take a good look at it to make it go. it would be a good contribution to your application to add these functions to the master project.
Thanks again for your time I will be aware of your improvements and have a good day friend

thanks for your time . I'm looking at it but I see some variables and properties in red I will have to take a good look at it to make it go. it would be a good contribution to your application to add these functions to the master project.
Thanks again for your time I will be aware of your improvements and have a good day friend

Make me a pull request for function you want to contribute. :)

Make me a pull request for function you want to contribute. :)

Humm clean your project and rebuild.
I don't have variable with error in my visual studio.

Humm clean your project and rebuild.
I don't have variable with error in my visual studio.

@reproteq get the new code and test the sample please 😄

@reproteq get the new code and test the sample please 😄

hi mate good job very beautiful.
now next step is save diff in txt file , 1 line x change.
after load file txt and apply this diff in other file loaded.

but  mi solution show  25 errors.
great job mate.

hi mate good job very beautiful.
now next step is save diff in txt file , 1 line x change.
after load file txt and apply this diff in other file loaded.

but  mi solution show  25 errors.
great job mate.

For error make a clean in solution after that close visual studio, reopen solution and rebuild.

For error make a clean in solution after that close visual studio, reopen solution and rebuild.

I will implement save and patch after this

I will implement save and patch after this

yes mate work after clean solution, close vs and build.
thanks alot  is very very beatiful.
great job mate

yes mate work after clean solution, close vs and build.
thanks alot  is very very beatiful.
great job mate

Only ~2-3hr of job for this result
Thank you mister

Only ~2-3hr of job for this result
Thank you mister

Your are a great developer man, and you know alls class , methods and others ... for make a fast job in this project.
Incredible fast results  and very very beatyfull interface.
Diff color i think ever read not rand , jj , thanks other time mate.
Can you continue same , step to step ,this is a good sample for alls.

Your are a great developer man, and you know alls class , methods and others ... for make a fast job in this project.
Incredible fast results  and very very beatyfull interface.
Diff color i think ever read not rand , jj , thanks other time mate.
Can you continue same , step to step ,this is a good sample for alls.

I'm reading your code and trying to understand well how it is built to be able to make any type of adjustment or modification and not have to waste more time, I really appreciate it brother.
It would have been hard for me to get to where you are at this moment and the truth is that before contacting you I had already spent many hours trying to understand the system in order to work well with it.
I really like how it's written so I chose this base project to add this kind of functionality.
I use 3 different softwares to do what this one is doing, wonderful

I'm reading your code and trying to understand well how it is built to be able to make any type of adjustment or modification and not have to waste more time, I really appreciate it brother.
It would have been hard for me to get to where you are at this moment and the truth is that before contacting you I had already spent many hours trying to understand the system in order to work well with it.
I really like how it's written so I chose this base project to add this kind of functionality.
I use 3 different softwares to do what this one is doing, wonderful

Thank it's you!! Your comment is really appreciate. I'm working on this project in my free time 🤠😁
I will add this night another functionality to this samples. Get last code when you can

Thank it's you!! Your comment is really appreciate. I'm working on this project in my free time 🤠😁
I will add this night another functionality to this samples. Get last code when you can


Replace docopt with clap

This PR replaces docopt with clap.
Something similar was worked on in #737, but now clap includes the the derive macros that structopt had.
This also makes it possible to remove the serde dependency.

I notice that the options are positioned less flexibly now -- is there a way to relax that?
e.g. life play --fps 144 fails, while life --fps 144 play works, but both worked before.

IMHO, clap may be overkill here. You could probably use something like gumdrop instead, which outperforms every other crate in the ecosystem except for getargs (which does not have derive).

I notice that the options are positioned less flexibly now -- is there a way to relax that?

Not that I'm aware of.
Do you think that this is worth changing, or should I just close the PR?

Like I said in #737, I don't really have an opinion on which crate we use -- especially now that I've moved that example program under rayon-demo, so this choice doesn't affect anything we actually publish.
The code does look cleaner here, so that's nice, but the option order inflexibility is a little annoying. Maybe those can be simple positional arguments instead of sub-commands? But I don't know if that will show up well in --help.


[BUG] Q14 Dask Fails at metadata inference  on 0.15.0a200715's nightlty

Q14 Dask Fails at metadata inference  on 0.15.0a200715 nightly
Using default arguments
Connected to ucx://<IP_ADDRESS>:8786
Encountered Exception while running query
Traceback (most recent call last):
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/utils.py", line 173, in raise_on_meta_error
    yield
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/core.py", line 4786, in elemwise
    meta = partial_by_order(*parts, function=op, other=other)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/utils.py", line 1090, in partial_by_order
    return function(*args2, **kwargs)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/series.py", line 1530, in __ge__
    return self._binaryop(other, "ge")
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/series.py", line 1060, in _binaryop
    outcol = lhs._column.binary_operator(fn, rhs, reflect=reflect)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/column/numerical.py", line 98, in binary_operator
    lhs=self, rhs=rhs, op=binop, out_dtype=out_dtype, reflect=reflect
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/column/numerical.py", line 439, in _numeric_column_binop
    out = libcudf.binaryop.binaryop(lhs, rhs, op, out_dtype)
  File "cudf/_lib/binaryop.pyx", line 201, in cudf._lib.binaryop.binaryop
  File "cudf/_lib/binaryop.pyx", line 127, in cudf._lib.binaryop.binaryop_v_s
RuntimeError: CUDA_ERROR_INVALID_PTX

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/raid/vjawa/tpcxbb_33/vjawa_f_tpcx-bb/tpcx_bb/xbb_tools/utils.py", line 278, in run_dask_cudf_query
    config=config,
  File "/raid/vjawa/tpcxbb_33/vjawa_f_tpcx-bb/tpcx_bb/xbb_tools/utils.py", line 59, in benchmark
    result = func(*args, **kwargs)
  File "tpcx_bb_query_14.py", line 120, in main
    output_table["am"] = (output_table["t_hour"] >= q14_morning_startHour) & (
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/core.py", line 1482, in <lambda>
    return lambda self, other: elemwise(op, self, other)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/core.py", line 4786, in elemwise
    meta = partial_by_order(*parts, function=op, other=other)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/contextlib.py", line 130, in __exit__
    self.gen.throw(type, value, traceback)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/utils.py", line 194, in raise_on_meta_error
    raise ValueError(msg) from e
ValueError: Metadata inference failed in `ge`.

Original error is below:
------------------------
RuntimeError('CUDA_ERROR_INVALID_PTX')

Traceback:
---------
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/utils.py", line 173, in raise_on_meta_error
    yield
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/dataframe/core.py", line 4786, in elemwise
    meta = partial_by_order(*parts, function=op, other=other)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/dask/utils.py", line 1090, in partial_by_order
    return function(*args2, **kwargs)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/series.py", line 1530, in __ge__
    return self._binaryop(other, "ge")
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/series.py", line 1060, in _binaryop
    outcol = lhs._column.binary_operator(fn, rhs, reflect=reflect)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/column/numerical.py", line 98, in binary_operator
    lhs=self, rhs=rhs, op=binop, out_dtype=out_dtype, reflect=reflect
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/raid/vjawa/conda/envs/rapids-tpcx-bb/lib/python3.7/site-packages/cudf/core/column/numerical.py", line 439, in _numeric_column_binop
    out = libcudf.binaryop.binaryop(lhs, rhs, op, out_dtype)
  File "cudf/_lib/binaryop.pyx", line 201, in cudf._lib.binaryop.binaryop
  File "cudf/_lib/binaryop.pyx", line 127, in cudf._lib.binaryop.binaryop_v_s

Relevant Libraries:
cudf                      0.15.0a200715   py37_g1f4209c3a_2756    rapidsai-nightly
dask-cudf                 0.15.0a200715   py37_g1f4209c3a_2756    rapidsai-nightly
libcudf                   0.15.0a200715   cuda10.2_g1f4209c3a_2756    rapidsai-nightly

(rapids-tpcx-bb) vjawa@exp01:/raid/vjawa/tpcxbb_33/tpcx-bb/tpcx_bb/queries/q14$ conda list | grep dask
dask                      2.20.0+10.g1f57364a          pypi_0    pypi
dask-cuda                 0.15.0a200715           py37_76    rapidsai-nightly
dask-cudf                 0.15.0a200715   py37_g1f4209c3a_2756    rapidsai-nightly

(rapids-tpcx-bb) vjawa@exp01:/raid/vjawa/tpcxbb_33/tpcx-bb/tpcx_bb/queries/q14$ conda list | grep dis
distributed               2.20.0+13.g1936af5e          pypi_0    pypi

@VibhuJawa I just tested this on sf1k on the latest nightlies and don't have the issue.
Please re-open if necessary.


New alert manager creates a hard dependencies on digital me

See these two lines:
https://github.com/threefoldtech/jumpscale_core/blob/ed63d0c8afac363047bec84a6f91e8dd33343648/Jumpscale/errorhandling/AlertHandler.py#L24-L25
So in order to work, this requires to have digital me installed.
It seems to me that the schema modules should be extracted from digital me and move into the core.

why is this a bug?
if alerthandler not called it will not throw an error?
alertmanager can only be used in DM context
is there another bug where this gets automatically called?

should make sure its not issue

0-robot used to rely on the ECO of jumpscale to handle exceptions and allow to store and share exception that happened in tasks.
Since ECO are no more, I replace it with the alerthandler. So now 0-robot depend on digital me too.
If that is acceptable for you, just close this one, but having to depend on a full code base for just package of 3 files seems strange to me

there is a strategy behind, lets discuss, for now lets close