Add UndoRedo icon

UndoRedo is an Object, but its icon still shows up in some places, so why not?

Looks kind of like refresh icon.

We also have Loop.svg which is a bit similar but not strikingly so.

So I understand how this association could come up.
I personally really associate these little curves at the start of arrows with Undo & Redo, in Godot we don't have any buttons for these things though.

What if the icon only included Undo? I think this one looks fine:

btw there is also EditorUndoRedoManager, maybe you can come up with something as well (undo + manager?)

Yeah, the rotate icons and History.svg are too clashy imo. I'm down with only having Undo as it's the more iconic one, I'm personally keep on these two:

I don't know an awful lot about EditorUndoRedoManager, can't think of much either

The lower one looks ok.
The upper one is like "Back".

I think this has closer association with a "history" type of icon, some combination of an arrow and a clock face.


Add OLM install support to cluster deployments

Add support for optionally installing the Operator Lifecycle Manager in
clusters deployed by Shipyard.
After deploying OLM, a released version of the Submariner Operator can
be installed with a simple:
kubectl create -f https://dev.operatorhub.io/install/submariner.yaml
Relates-to: submariner-io/submariner-operator#373
Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

-2 for now, it seems moving to 0.15.0 wasn't as simple as a version bump.
 unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.15.0/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"

-2 for now, it seems moving to 0.15.0 wasn't as simple as a version bump.
 unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.15.0/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"

OLM 0.15 requires K8s 1.16 or later.

Okay, back to 0.14.1 then.
I wonder what's up with these 0.14.2 and 0.15.1 that don't have the normal artifacts?
https://github.com/operator-framework/operator-lifecycle-manager/releases/tag/0.14.2
https://github.com/operator-framework/operator-lifecycle-manager/releases/tag/0.15.1
The 0.14.2 one says it was tagged in February, but I don't remember seeing it when I was looking at the releases page last week. :man_shrugging:


ActualMusic compatibility issue

Mod Version:
DynamicSurroundings-1.10.2-<IP_ADDRESS>.jar
Forge Version:
forge-1.10.2-<IP_ADDRESS>7-installer.jar
Link to crash log (if applicable):
N/A
Description:
Actual Music replaces Minecraft's in-game music with a configurable soundtrack that plays .mp3s triggered by all sorts of events (entering a new biome, etc.). It pairs up so well with Dynamic Surroundings! But, something in DS 3.4.3 results in the playing of Minecraft's default music even though Actual Music disables it (both play simultaneously). DS 3.4.2 does not do this and gets along just fine with Actual Music. Can DS be fixed so it doesn't re-enable Minecraft's default music when another mod such as Actual Music takes it over?
Thanks for all the fantastic work on Dynamic Surroundings, OreCruncher!

DS 3.4.3 replaces the MusicTicker so DS can mute background music when battle music is playing.  Perhaps that is what is going on.  I will have to take a loo at Actual Music source code to see what's up.

Confirmed - fighting over the music ticker.  I will see what I can do for compat.

OK.  Best I can do ATM is NOT hook the MusicTicker if Actual Music is installed.  Worse thing that would happen is that if DS Battle Music is enabled the music will play over Actual Music.  Battle Music is off by default so "out of the box" a player will not experience a problem.

Pushed a v<IP_ADDRESS> that has a fix for this.


[Feature][UI] Joint debugging of the interface of the mvp version of the dynamic task component.

Purpose of the pull request
ref https://github.com/apache/dolphinscheduler/issues/12526

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #12859 (8f66068) into dev (23ead4f) will decrease coverage by 0.00%.
The diff coverage is 14.28%.

:exclamation: Current head 8f66068 differs from pull request most recent head 3bbb280. Consider uploading reports for the commit 3bbb280 to get more accurate results

@@             Coverage Diff              @@
##                dev   #12859      +/-   ##
============================================
- Coverage     39.15%   39.15%   -0.01%
+ Complexity     4213     4209       -4
============================================
  Files          1046     1046
  Lines         39765    39708      -57
  Branches       4576     4560      -16
============================================
- Hits          15571    15546      -25
+ Misses        22423    22393      -30
+ Partials       1771     1769       -2

Impacted Files
Coverage Δ

...heduler/api/service/impl/ResourcesServiceImpl.java
38.65% <ø> (+0.03%)
:arrow_up:

...er/api/service/impl/TaskDefinitionServiceImpl.java
29.87% <0.00%> (-0.14%)
:arrow_down:

...ache/dolphinscheduler/api/vo/TaskDefinitionVo.java
0.00% <0.00%> (ø)

.../org/apache/dolphinscheduler/api/enums/Status.java
100.00% <100.00%> (ø)

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
43.54% <0.00%> (-7.26%)
:arrow_down:

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
42.55% <0.00%> (-2.13%)
:arrow_down:

...hinscheduler/plugin/alert/script/ScriptSender.java
70.58% <0.00%> (-1.64%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.38% <0.00%> (-1.39%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
51.19% <0.00%> (-1.20%)
:arrow_down:

... and 23 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create Creature Class

As mentioned in #15

[ ] Creatures went outside the generated Map

Mentioned this in a current update video on my youtube channel already. Dont know if this should be handled as a bug though. Creatures react to places outside the map as if it would be water. So maybe the best idea is to just render additional water outside of the map.


Policy.yml pipeline fails when no required tags are provided.

The tags.bicep scripts should be able to handle no required tags.
This is the error message we get
Deploying Tags.bicep using create operation...
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"BadRequest","message":"{\r\n  \"error\": {\r\n    \"code\": \"InvalidCreatePolicySetDefinitionRequest\",\r\n    \"message\": \"The policy set definition 'audit-required-tags-on-resources' create request is invalid. At least one policy definition must be referenced.\"\r\n  }\r\n}"},{"code":"BadRequest","message":"{\r\n  \"error\": {\r\n    \"code\": \"InvalidCreatePolicySetDefinitionRequest\",\r\n    \"message\": \"The policy set definition 'required-tags-on-resource-group' create request is invalid. At least one policy definition must be referenced.\"\r\n  }\r\n}"},{"code":"BadRequest","message":"{\r\n  \"error\": {\r\n    \"code\": \"InvalidCreatePolicySetDefinitionRequest\",\r\n    \"message\": \"The policy set definition 'custom-tags-inherited-from-resource-group' create request is invalid. At least one policy definition must be referenced.\"\r\n  }\r\n}"}]}}
##[error]Caller: 10 /home/vsts/work/_temp/azureclitaskscript1637855831889.sh, LineNo: 1, Command: az deployment mg create --location canadacentral --management-group-id pubsec --template-file Tags.bicep --parameters Tags.parameters.json
##[error]Script failed with exit code: 1

This is what I have for the https://github.com/Azure/CanadaPubSecALZ/blob/main/policy/custom/definitions/policyset/Tags.parameters.json file
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "policyDefinitionManagementGroupId": {
            "value": "{{var-topLevelManagementGroupName}}"
        },
        "requiredResourceTags": {
            "value": [ ]
        }
    }
}

@CalvinRodo this occurs because a policy set must have at least 1 policy in it.  Given that you don't have any tags, it might be easier to remove the Tag from the policy pipeline so they are no longer assigned.
We will look at resolving it in code shortly.

Sounds good that was the route I was going down.
I'd say if #84 was implemented this wouldn't be an issue since I'd like to enforce tags but don't want it as a blocker to deployment, we are probably going to have all of 8 people working in Azure at the moment and so an audit approach to tags is pretty manageable for us and will give us the flexibility of using existing templates and the portal to deploy things while we level up our Azure knowledge.

I agree.  Having the ability to audit instead of deny reduces the friction.  Thanks for pointing out the enhancement.  Once #84 merges, you will have 2 options:

Remove Tag policy definition & Tag policy assignment from Azure DevOps Pipeline: Policy.yml; OR
Toggle the policy enforcement from Deny to Audit.  Revised Tags.parameters.json looks like this:

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "policyDefinitionManagementGroupId": {
            "value": "{{var-topLevelManagementGroupName}}"
        },
        "requiredResourceTags": {
            "value": [
                "ClientOrganization",
                "CostCenter",
                "DataSensitivity",
                "ProjectContact",
                "ProjectName",
                "TechnicalContact"
            ]
        },
        "policyEnforcement": {
            "value": "Audit"
        }
    }
}

We will close this issue once #84 is complete.


Skipping over .mp4 files is slow

I don't understand why the script takes so long to skip over exiting .mp4 files before deciding it's .mp4 file and can be skipped. On even a small library the script spends 99% of it's execution time deciding if it should skip a file or not. I would expect it to skip .mp4 files in milliseconds before arriving at .mkv or other formats for example.
Any suggestions? Is this normal or expected behaviour?

Script is not meant to be bulk run on a directory and it always updates and retags all files including MP4s when it encounters them so that's probably where the time is coming from. If that's how you are using the script I would caution against this and suggest a media manager like Sonarr/Radarr instead. If you want it to just ignore MP4 files entirely and not do a tagging pass or other analysis and move on just add them to the ignored-extensions option and that should speed things up.

thanks @mdhiggins that's very helpful. I'm running radarr/sonarr but I can't get it to run scripts. It never seems to work which is why i use a cron job to schedule a directory scan each night.

Hmmm that's odd why can't you get it to run scripts?


simplify logic for baseline cam settings

This should have that two line change in lib/CamDiag.py. Please advise if I need to change it!
Addresses #35

Thanks @bitterbark for the PR!  Can you make the following change to the comment on line 242 that I missed earlier, replacing:
#Check if CAM baseline climatology files will be calculated:
with
#Check if a CAM vs CAM baseline comparison is being performed:
You can add that change to this PR by simply making the modification in your local copy of your logic_baseline_cam_settings branch, committing it, and then pushing it back to your fork.  Once that is done I'll go ahead and approve and merge the PR.  Thanks!

Hi @bitterbark
Sorry, I realized there is one more change I missed.  Can you replace the code on line 248:
self.__expand_references(self.__cam_climo_info, config_search_dict)
with
self.__expand_references(self.__cam_bl_climo_info, config_search_dict)
Once that is done I will go ahead and merge it (for real this time).  Thanks again!

Sorry about that--what I get for not testing it last time. It runs now for me.


fix: usage of a deprecated Node.js version in CI

fixes #2564.

@LaurentMazare are you open to this change?


Make slicer more explicit

I would not go variadic here. It led to https://github.com/nspcc-dev/neofs-node/pull/2375. I remember my thoughts: "will fill it later, let's check that it works in general" and then I forget it of course cause I did not see any weird nil calls.
Also, I would go with object.Attribute instead of string.

current API is purely based on built-in and stdlib types and that's convenient, lets add a dedicated method for object.Attribute case

The task is no more actual. It was connected to not using attributes like []string. After #442 attributes are []object.Attribute

And they're not variadic.


Fix theming for aphrodite

Now allows either an object or an array to be passed to the
theme prop. See this https://github.com/markdalgleish/react-themeable#aphrodite
and https://github.com/markdalgleish/react-themeable/blob/master/src/index.js#L6
for more information.

Thanks a lot!

Your welcome.
Please note I just noticed that Aphrodite does not support descendant selectors so one wont be able to actually use it with react-autosuggest. Since it wont be able to do .containerOpen .suggestionContainer. Thats a pity, or am I mistaken?

Yeah, you're sadly right. Here is an attempt to translate global CSS to Aphrodite, but because descendant selectors are not yet supported by Aphrodite, we're somewhat stuck.
I guess we could think of a way not to rely on descendant selectors in react-autowhatever (and react-autosuggest). Let me know if you have ideas.

I will try to think of something 😊


False Positive - Missing top-level documentation comment

When a ruby file contains trailing comments after the end of a block rubocop incorrectly reports the class has missing top-level documentation comments.
example.rb:
# My Module
module MyModule
  # My Class
  class MyClass
    def initialize
    end
  end # end of my class
end # end of my module

rubcop output:
> rubocop --version
0.31.0

> rubocop example.rb
Inspecting 1 file
C

Offenses:

example.rb:4:3: C: Missing top-level class documentation comment.
  class MyClass
  ^^^^^

remove the trailing comments from the end block and rubocop now correctly recognises the existing top-level comments.
example2.rb:
# My Module
module MyModule
  # My Class
  class MyClass
    def initialize
    end
  end
end

rubocop output:
> rubocop example2.rb
Inspecting 1 file
.

1 file inspected, no offenses detected

I think we fixed this on master. See if you can reproduce the problem there.


Help me please! nltk and standford nlp integration

There was a problem make me confused when i used nltk and standford nlp integration.
My develop environments like this :

nltk 3.3
standford nlp stanford-segmenter 3.6.0 / 3.9.1
And i try to create an StanfordSegmenter Object like this :
standfordNlpPath = self.projectPath + "\standford-nlp\stanford-segmenter-2015-12-09"
stanfordSegmenter= StanfordSegmenter(
path_to_jar=standfordNlpPath + "\stanford-segmenter-3.6.0.jar",
path_to_slf4j=standfordNlpPath + "\slf4j-api.jar",
path_to_sihan_corpora_dict=standfordNlpPath + "\data-2015",
path_to_model=standfordNlpPath + "\data-2015\pku.gz",
path_to_dict=standfordNlpPath + "\data-2015\dict-chris6.ser.gz")
then the failure like this as outcome :
===========================================================================
NLTK was unable to find stanford-segmenter.jar! Set the CLASSPATH
environment variable.
For more information, on stanford-segmenter.jar, see:
https://nlp.stanford.edu/software
===========================================================================
All kinds of jars exactly exist there i pretty sure, is there anything wrong with my path or the parameters which i put in the class of StanfordSegmenter? The example were quite easy what i find in nltk 3.3 document, they just put in one parameter that "path_to_slf4j".
So, somebody, help me :-( !

@libingnan54321 why are you not using the latest 3.9.1 version?
Can you please try this one first and provide the output?
segmenter_jar_file = os.path.join(standfordNlpPath,'stanford-segmenter-2018-02-27/stanford-segmenter-3.9.1.jar')
assert (os.path.isfile(segmenter_jar_file))
stanfordSegmenter = StanfordSegmenter(
    path_to_jar=segmenter_jar_file,
)

Please use the new CoreNLPParser interface.
First update your NLTK:
pip3 install -U nltk

Then still in terminal:
# Get the CoreNLP package
wget http://nlp.stanford.edu/software/stanford-corenlp-full-2018-02-27.zip
unzip stanford-corenlp-full-2018-02-27.zip
cd stanford-corenlp-full-2018-02-27/

# Download the properties for chinese language
wget http://nlp.stanford.edu/software/stanford-chinese-corenlp-2018-02-27-models.jar
wget https://raw.githubusercontent.com/stanfordnlp/CoreNLP/master/src/edu/stanford/nlp/pipeline/StanfordCoreNLP-chinese.properties

# Download the properties for arabic
wget http://nlp.stanford.edu/software/stanford-arabic-corenlp-2018-02-27-models.jar
wget https://raw.githubusercontent.com/stanfordnlp/CoreNLP/master/src/edu/stanford/nlp/pipeline/StanfordCoreNLP-arabic.properties

For Chinese:
# Start the server.
java -Xmx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer \
-serverProperties StanfordCoreNLP-chinese.properties \
-preload tokenize,ssplit,pos,lemma,ner,parse \
-status_port 9001  -port 9001 -timeout 15000 &

Then in Python3:
>>> from nltk.parse import CoreNLPParser
>>> parser = CoreNLPParser('http://localhost:9001')
>>> list(parser.tokenize(u'我家没有电脑。'))
['我家', '没有', '电脑', '。']

For Arabic:
# Start the server.
java -Xmx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer \
-serverProperties StanfordCoreNLP-arabic.properties \
-preload tokenize,ssplit,pos,parse \
-status_port 9005  -port 9005 -timeout 15000

Finally, start Python:
>>> from nltk.parse import CoreNLPParser
>>> parser = CoreNLPParser(url='http://localhost:9005')
>>> text = u'انا حامل'
>>> parser.tokenize(text)
<generator object GenericCoreNLPParser.tokenize at 0x7f4a26181bf8>
>>> list(parser.tokenize(text))
['انا', 'حامل']

Closing the issue as resolved for now =)
Please open if there's further issues.


Passing parameters to headers

I'm using hasura which requires some information to be passed to the header for some specific queries.
Now it's possible to write to the session in an onmount, and cleaning the session onDestroy, its not so clean and the whole session needs updating.
I'd like a query to be able to pass some data to a query where I could set it to the right place with the environment call

Hey @neoel! Sorry for not replying sooner, I'm trying to think of the right way to support this. Do you have any recommendations for the api?

Possibly a context object to be passed to query and mutation:
const { data } = query(graphl``, {
  contextParam: 'value'
})

Inside environment we could get this context param and apply it wherever necessary.

It would be like metadata that users can send per query?
Like this, users will make use of it in their own fetchQuery?

@jycouet since we mention this as a good usecase for the store API, we should make sure its actually possible 😅 Thoughts on including this in 0.15.0?

Yeah, seems reasonable to add it.
Just, let's NOT name it context (we already have 42 😅)
I can have a look. We go with metaData?

It's in https://github.com/HoudiniGraphql/houdini/pull/344 🥳
I will let you close @AlecAivazis when it's deployed? (even under a -next-xx version)

🎉 It's now been published as part of 0.15.0-next.13


Python Language Server -  Comment bad syntax color when output type is specified

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.72.2
OS Version: MacOS Monterey 12.4

Steps to Reproduce:

Comment color syntax is right when output type is unspecified.

def python_language_server_error():
    # Test
    pass

Comment color syntax is wrong when output type is specified.

def python_language_server_error() -> None:
    # Test
    pass

Fixed with uninstalling the old tht13.python !

Fixed by uninstalling tht13.python !


GEODE-8652: Allow NioSslEngine.close() to Bypass Locks

This PR may be obviated by https://github.com/apache/geode/pull/5665 fix for GEODE-8651
This PR for GEODE-8652 works around the situation where a thread wants to close a Connection while other threads are reading or writing on it.

NioSslEngine.close() to proceed even if readers (or writers) are
operating on its ByteBuffers, allowing Connection.close() to close its
socket and proceed.

Co-authored-by: Bill Burcham<EMAIL_ADDRESS>Co-authored-by: Darrel Schneider<EMAIL_ADDRESS>Co-authored-by: Ernie Burghardt<EMAIL_ADDRESS>Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

That distributed test failure is GEODE-8573—it's not related to this PR so I'm re-running the suite.


Add support for getting IDs of OpsGenie Notification Channels

Issue https://github.com/draios/python-sdc-client/issues/17 pointed out that get_notification_ids() was not prepared to find OpsGenie Notification Channels. This PR adds support for that. Tested it out by using examples/create_alert.py with notify_channels = [ {'type': 'OPSGENIE', 'name': 'Cloud Platform OpsGenie'} ] and it now found & created the Alert successfully with my OpsGenie channel.

cc: @adityakinifr @davideschiera

I got a verbal :+1: from @adityakinifr on this one, so, merging.


[stable/keycloak] Update keycloak to 4.5.0.Final (#8326)

What this PR does / why we need it:
Updates Keycloak to 4.5.0.Final.
Which issue this PR fixes

fixes #8326

Special notes for your reviewer:
Runtime script has been modified due to change in docker-entrypoint.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @unguiculus


Fix comparisons.py

Requires removing the hardcoded dates, utilize seaborn to simplify the graphing functions, updating/improving the labels on the graph for both the axis and legend, and make sure all labels are suitable for the expanded data

df['date2']=df['date'].apply(lambda x: datetime.datetime.strptime(x, "%m-%d-%Y"))
df = df.iloc[1:]
df["month"]=df["date2"].apply(lambda x: x.strftime('%B'))
df.set_index('date')
df.drop(columns=['date2'])

that should work to fix the date hard code

for month, csv_date in months.items():
df = pd.read_csv('data/Merge/vaccinations-and-deaths-' + csv_date +'.csv', converters={'FIPS' : str})
df['Deaths_Per_1e5'] = df['Deaths'] / df['Census2019_18PlusPop'] * 1e5
df['Month'] = month
file_list.append(df)

initial pull request made.  need to still clean a bit and add more comments and doc strings

This looks to have been fixed.  Thanks!


⚠ SceneTime has degraded performance

In fbb87f6, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1336 ms

Resolved: SceneTime performance has improved in 3c605f3 after 10 minutes.


What’s the purpose of uriSpec in ZookeeperDiscoveryProperties?

    /**
 * The URI specification to resolve during service registration in Zookeeper
 */
private String uriSpec = DEFAULT_URI_SPEC;

What’s the purpose of uriSpec in ZookeeperDiscoveryProperties?

It's a required field for the curator service discovery recipe.
See http://curator.apache.org/apidocs/org/apache/curator/x/discovery/ServiceInstance.html


pod install Swift  Swift version

[!] Unable to determine Swift version for the following pods:

Zip does not specify a Swift version and none of the targets (RoWrite) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.\n- iOSDFULibrary does not specify a Swift version and none of the targets (RoWrite) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

I have encountered this problem,  help me. thank you

Are you still having This issue ? what I would do (until we release the Swift 4.2 version) is to go into your project's settings and go to the Zip Target and iOSDFULibrary target and set SWIFT_VERSION in the settings to latest

I have the same issue, any solution?

Is there any solution now? I meet the same problem after "pod install".
many thanks
[!] Unable to determine Swift version for the following pods:

Zip does not specify a Swift version and none of the targets (MyApp) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.
iOSDFULibrary does not specify a Swift version and none of the targets (MyApp) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

Is there any solution now? I meet the same problem after "pod install".
many thanks
[!] Unable to determine Swift version for the following pods:
Zip does not specify a Swift version and none of the targets (MyApp) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.
iOSDFULibrary does not specify a Swift version and none of the targets (MyApp) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

In version 4.3.0 we switched from dependency Zip to ZipFramework. You need to update your CocoaPods to at least 1.7 (I think) to use be able to use the latest versions.


Ethofs SDK creating memory crash with React

The 1.0.10 version of the SDK is causing a memory crash in conjunction with an native React app, even a basic template app as soon as
const ethofsSDK = require('@ethofs/sdk');
is being used.
Debugging has been shown that if You scale down the SDK to a bare minimum shell, that it start to crash on react level as soon as web3 is included on SDK level. Potentially a web3 / webpack packing issue could be the cause.

React incompability


Enable unifyFlattenedFieldsWithUnflattened for at least one qscript-based backend

This integration test query
select `_id` as zip, loc[*] from zips order by loc[*]

along with the very similar unifyFlattenedFieldsWithMultipleUses
select `_id` as zip, loc[*] from zips where loc[*] > 68 order by loc[*]

is creating qscript that includes a theta join. The qscript should not contain a theta join. To note, the query
explain select loc[*] from zips order by loc[*]

does not contain a join in the qscript, so the additional field selection is causing source merging to fail. Also to note, the qscript for the query
explain select `_id` as zip, loc[*] from zips

does not contain a join but contains many unused array elements, so pruning those could help with the source merge mentioned above.

The problem has nothing to do with the alias; explain select state, loc[*] from zips order by loc[*] provides an equivalent example of the problem.

This appears to have regressed with the removal of the legacy MongoDB connector.

This integration test is also tracked in #2366 where it's classified as a bug in LogicalPlan.


Errors uploading file on CKEditor

Since i still have problem with using summernote with laravel-filemanager now i have to switch into ckeditor. now i got the errors when i was try to upload some images.

Hi @exodia6666
Can yo please check your browser console for errors and also the network tab and post some screenshots so we can check what is going on?

This looks similar to #475. The solution that was given there was to enable php-exif.

ah yes this is because the Exif, when active the extension it work fine now. Thanks

I have the same problem.  Exif is enabled. I use PHP 7.1


Rust nightly

Can't use devenv because some of my projects require nightly Rust. Would be neat if there was a flag to enable nightly (or specify the version).

Thanks!


Arrays in FFI

At the moment iroha_ffi converts arrays into pointers when generating extern functions to follow the C convention of passing arrays by pointer. An alternative would be to wrap an array into a structure in which case it would be passed as a value. I don't think that we should change the current behavior but it's worth opening a discussion about it

I think the current approach is reasonable.


Request: ability to set validation errors in form submission callback

Our API validates requests as a whole using JSON schema and returns a list of issues that we would like to update the form state with. The schema includes more business-logic aspects that we wouldn't want to encode into the validators of the frontend. It would be very helpful if we could set the validation errors for each field in the form inside the submission callback. I'd be happy to contribute the change if you thought agreed with the approach, what do you think?

Hey @lozlow, thanks for pointing this out. Actually, this is intended behavior. Here's the reasoning behind this decision.
When a server responds with an error, such error contains information that the client doesn't have since the form was submitted, which means that the client considered the form valid. This information might be required for the user to address this error. But if the server error is stored in the client's state and treated as a generic validation result, in this case, these data will be erased on the next keystroke in the field and replaced with a valid state since the client considers this form as valid. re-formality can't make assumptions about the nature of such errors and how developers want to treat them. E.g., is this error expected? Or does this happen due to a bug in client/server validators that caused a mismatch? Is it ok to replace it with the client validation result? Or should it be persistent in UI until the next submission attempt? Etc. So, for now, I choose the less destructive way: let developers decide how to handle such errors in UI as they are on the application side of things.
Let me know if that makes sense.


v5.0.0 manually setting the content-type

Request Statement
I was just wondering why did you remove the default content-type?
I think this would be a problem for people like me who had a huge set of apis that bunch of them is sending a multi-part form data.
the problem is I was only specifying the content type when I'm about to send a multi-part form. Now to migrate all the project I have to edit every endpoint that doesn't send a multi part form. And I think this would be tedious.
And thanks for keeping this Great library up-to-date!
Solution Brainstorm
The first thing that comes to mind is set up an interceptor and check for the data type if it is a FormData or not. I don't know yet if this is a valid solution or not. But why all the hustle?

I was just wondering why did you remove the default content-type?

We've voted for this before the release. See the explanation in the discussion: https://github.com/cfug/diox/discussions/52.

The first thing that comes to mind is set up an interceptor and check for the data type if it is a FormData or not. I don't know yet if this is a valid solution or not.

Yes, using interceptors or helper methods are recommended in this case.

But why all the hustle?

It's actually a while in the diox, still it seems a little bit hustle for dio, but it's under a major version release, I'd say let's take our time. :)

Closing as it's intended, and you can still reply if you have more concerns or questions.


[Bug]: Impossible to go to "Components": Crash

Prerequisites

[X] I have searched the backlog for duplicate or closed feature requests

Your test device
Samsung - Galaxy A5 (2016) - SM-A510F
OS Version
Android 7.0
App version
1.0 (1) Last merged PR: 20-ods-component-bottom-navigation
Describe the issue
Going to "Guidelines", "Modules" and "About" works perfectly. Switching light/dark modes as well.
But when I go to "Components", the application crashes.
Expected Behavior
Be able to see the content of the "Components" page.

I have the same issue on galaxy S6 on Android 8

Tested again with version 0.3-c386f7f

on galaxy S6: stil got a crash
on galaxy A3: OK

Related Google issue: https://issuetracker.google.com/issues/230166331

it works for me

@julien-deramond cannot test on the device where the bug was identified


[Util] macro to check string

Add macro to check valid string.
Signed-off-by: Jaeyun<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #28. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


[Question] How much GPU memory is required for inference

Question
I'm currently trying to use your project for some inference tasks and I'm wondering about the GPU memory requirements. Could you please provide some guidance on how much GPU memory is typically needed for inference using this model?
I'd appreciate it if you could also share any tips on how to optimize memory usage, or any methods to run the model on a GPU with less memory.

Hi, typically the 7B model can run with a GPU with less than 24GB memory, and the 13B model requires ~32 GB memory.  You can use multiple 24-GB GPUs to run 13B model as well following the instructions here.
We are also working on bitsandbytes to further cut down the memory cost.  What kind of GPUs are you thinking of currently?

Thank you for your response. I'm just getting started with large models and don't have much knowledge about GPUs. However, I should be trying to run inference on the public cloud.

Just for your reference, we now support 4-bit/8-bit inference, which can reduce the GPU memory footprint by 4x/2x respectively, as a cost of a slight performance (accuracy) degradation. You can also try with multiple GPU inference as documented above.
https://github.com/haotian-liu/LLaVA#launch-a-model-worker-4-bit-8-bit-inference-quantized

Thanks, I'll give it a try.

Closing for now. Please feel free to re-open or open a new issue, if there are any other questions. Thank you!


Early stopping for quantization/distillation process.

Done in https://github.com/aifoundry-org/MHAQ/pull/40


Add lib/com/onmicrosoft/promeo365.txt file

Add promeo formation school

@arccos8x Please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

I close this request because my superior will take care of referencing promeo365 later.


Try fixing https://github.com/XENONnT/alea/issues/173

Try to solve https://github.com/XENONnT/alea/issues/173
Use np.testing.assert_almost_equal to allow small numerical errors.
Close https://github.com/XENONnT/alea/issues/173 after merging

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.149%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1561

Relevant Lines:
1694

💛  - Coveralls


DXUT refactoring for camera transformation and data channel

Updated DXUT to the latest version (v11.15 - March 10, 2017).
Stereo rendering implementation is now separated from DXUT library so that it's easier to plug in a new project.

@tylergibson Please help review when you're back.

LGTM!  Merged


GM: Longitudinal tuning and brake mode changes

I coped most of these values from the Toyota port, but I am liking the results.

How aggressive is it now, in terms of m/s^2?

It's much closer to how stock ACC behaves. Here's a cabana with these tunings. https://community.comma.ai/cabana/?route=f89c604cf653e2bf|2018-08-19--14-48-40&max=45&url=https%3A%2F%2Fchffrprivate.blob.core.windows.net%2Fchffrprivate3%2Fv2%2Ff89c604cf653e2bf%2F67592b59210846b38719d5e965eeafb2_2018-08-19--14-48-40

@vntarasov @TheMutley , any concerns?

If you want to hold off a little bit longer I can do some more tuning. 0<->14 is almost critically damped but the next level of the tune has some slight oscillations.

Took it on a test drive, felt a bit too aggressive (both too fast to accelerate, and unstable on constantl speed). @rbiasini, what's your favorite way of tuning these parameters, to get to desired effective acceleration values?

@vntarasov , stability of course and also yes, desired acceleration should be reflected in measured. Otherwise the integrator will wind-up, eventually causing semi-instability.
And it needs to feel pleasant :)

@rbiasini @vntarasov All of my tunings here expect that my other 2 brake PR's are in place. Especially the "hill-start" one. My initial captures of that problem was that the brake wasn't releasing and the integrator wound up until the BCM gave up and released.

In other words, I would merge this only after the brake changes get merged.

Okay @vntarasov give this one a shot when you get a chance. I tested these brake changes and PID tunings on the commute this morning. Will continue testing

@Jamezz , is this still relevant?

Not in this form at least. Will close


Fix archetype creation docs

Purpose
$subject
Documentation
N/A
Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f16606f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1279   +/-   ##
=========================================
  Coverage          ?   62.02%
  Complexity        ?       35
=========================================
  Files             ?      619
  Lines             ?    24943
  Branches          ?     3909
=========================================
  Hits              ?    15470
  Misses            ?     8177
  Partials          ?     1296

Continue to review full report at Codecov.

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


RUsage incorrectly used in configure and memory library

Original author: Joseph Hutter
Original issue: https://charm.cs.illinois.edu/redmine/issues/1943

in src/scripts/configure.ac, getrusage is used incorrectly. The image attached shows the configure, and it's the same problem in src/conv-core/memory.c. To use RUSAGE_THREAD, you need to define _GNU_SOURCE instead of __USE_GNU, and you need to do it before you include any sys files. RUSAGE_THREAD is supported since Linux 2.2. Should be a quick fix. See the manual page here: http://man7.org/linux/man-pages/man2/getrusage.2.html

Original date: 2018-07-10 23:41:41

~~https://charm.cs.illinois.edu/gerrit/4343~~ https://github.com/UIUC-PPL/charm/commit/70cc917747de49705fb85f975f5ea1c3c28c5e59


xpending_range does not pass consumername in command any more

Version: What redis-py and what redis version is the issue happening on? latest HEAD - 9419f1d56beff5b350c87785cc57f2431fe85cbb
Platform: python 3 on linux
Description: xpending_range() accepts an optional consumername argument but does not actually use it.
Here is xpending doc, consumer is last parameter: https://redis.io/commands/XPENDING
The redis-py xpending_range() accepts the consumername param but does not actually use it:
https://github.com/andymccurdy/redis-py/blob/9419f1d56beff5b350c87785cc57f2431fe85cbb/redis/commands.py#L2037-L2076
In case it's not obvious, then here is an example invocation and the corresponding REDIS command (via MONITOR):
>>> db.xpending_range(key, group, start, stop, count, consumer)  # consumer = 'ts1'

Redis output (consumer is missing):
+1633567393.619941 [15 <IP_ADDRESS>:44492] "XPENDING" "sa" "cgabc" "-" "+" "1000"

@AvitalFineRedis Please have a look.


Dev

testing

Optimizing the RGF: Consider switching to BlockTridiagonal matrices in ConstructHamiltonian for Transport
2) getting the transmission calculation scaling with O(n), so fully integrating the RGF routine
36:NEGF -  # TODO: make the block matrix get defined outside of the inv loop; no need to do this on each call.

I think the main branch still has support for the website/other items - need do double check this.


Process the caching of images in Lambdas

Instead of in threads, which do not work on gunicorn

👍  I will push live shortly and let you know via Slack when its ready.


Obtain gold when slaying mobs

Gold property now adds; 1d8 always added to value (if greater than zero) as to randomize.


Update docs/jpeg-js to ^0.4.0

This PR updates the jpeg-js dependency in our docs site, which should resolve the security error raised by dependabot.

Thanks!


Failing duplex test under JRuby 1.6.5

When running the specs under JRuby 1.6.5 I get the following failure:
  1) ChildProcess can write to stdin if duplex = true
     Failure/Error: out.read.should == "hello world"
       expected: "hello world"
            got: "" (using ==)
     # ./spec/childprocess_spec.rb:162:in `(root)'

My environment:
$ ruby -v
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]

I did some digging and found out that the STDIN.read in the test returns an empty string instead of any data that was sent to standard input.

Yes, I'm aware of this failure and have tried to figure out what's going on without much luck. Something must have changed in JRuby since this passed on previous versions.
If someone can provide any further insights, that'd be much appreciated. Otherwise I'll dig in some more when I can find the time.

This should be fixed as of 2fe8f53.


Resolved the bug of Google Github Button

I have resolved the Issue of Google-GitHub Button, in which I have separated the functionality of both the  buttons, so now on clicking the Google Button Google Login opens and on clicking the GitHub button GitHub Login opens

Merge This Under GSSoC'23.

Issue No??

@Vikash-8090-Yadav Sir, is my PR OK? Please review it and Merge it under GSSoC'23

@roshangeorge97 @Vikash-8090-Yadav @rrsingh11 Please add Level Tag while merging

Level Tag has been added

Thanks @Agrawal-Ayush-009.


How can I continue navigating into expressions inside a statement?

Here's a piece of code rudely extracted from my playing-around:
syn::ItemKind::Fn(_, _, _, _, _, block) => {
    for stmt in block.stmts {
        match stmt {
            syn::Stmt::Expr(i) => {
                // i.node; // `node` is private
                println!("e {:?}", i); // but I can see the interesting block under here
            }
            _ => unimplemented!(),
        }
    }
    // Descend
}

I am trying to parse this code:
pub fn unsafe_block_inside() {
    unsafe {}
}

My goal is to be able to answer a "simple" true/false question: does a crate use unsafe code? If you have pointers for a better way I should be doing that, I'd much appreciate it!
Thanks for making such a useful library! ❤

Those definitely should have been public. I fixed it in 12dcd62986dff6b328ab2649b3aa3311b1b95a95 and released it as 0.10.2. You're on the right track!
I also went through and checked that every other AST struct has public fields.

One thing that would be helpful here is #44, some syn equivalent to libsyntax's visit module. Then implementing something like "does a crate use unsafe code" is a matter of writing a single Visitor with just a few methods implemented (visit_expr to check for an unsafe block, visit_item to check for an unsafe fn, maybe a couple more). Sounds like you'll be doing most of that work anyway to recursively walk through the entire tree of expressions. I would be delighted if you have the extra time to factor that into a syn visitor crate, even if it isn't fully complete and I can follow up from there to add the rest of the syntax when I have time.

Thanks for the quick fix! I'll skip over visit and see how close I am. One thing is that I don't care at all about visitation order, so I can be very slapdash about which nodes I visit.


Tenants with and without subdomains, is it possible?

I have a platform that now we are going to make it pay now we have all our customers with their own subdomain, the idea now is to separate the payment platform with the free platform, ie that only the payment has subdomain while the free version can only enter the CENTRAL ROUTE, and that internally without placing in the URL the subdomain know which tenant corresponds.
Example
Central path: tenancy.test
Free version: No subdomain.
Paid version: They have their own subdomain.
Tenant1 (free), can only navigate to all routes but from tenancy.test/login
Tenant 2 (free), can only navigate to all routes but from tenancy.test/login
Tenant 3 (paid), can login from tenancy.test/login and only redirects you to your subdomain with your account which would be e.g. app3.tenancy.test/home
I do not know if you understand the idea, but is it possible to do that? and how could I do so that users do not have subdomain and navigate through the central path?

This would be infinitely easier with tenancy/tenancy instead of hyn/multi-tenant.
Having said that, I don't really have any guidance for you right now, so I'll leave this open for others to provide suggestions if they have any.


upgrade dependencies and fix error handling in bins

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   91.61%   91.61%
=======================================
  Files          14       14
  Lines        1264     1264
=======================================
  Hits         1158     1158
  Misses        106      106

Impacted Files
Coverage Δ

subaligner/_version.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


  ISSUES ASKING QUESTIONS ABOUT WHY SOMETHING DOESN'T WORK THAT FAIL TO FILL OUT THE ENTIRE TEMPLATE WILL BE CLOSED.
It is OK to suggest interesting improvements to dlib, even if you are not volunteering to implement them.  However, the issue tracker is not a code writing service, do not ask for someone to write code for you.  E.g. Do not ask for feature improvements to the example programs. If there is some feature improvement you want in an example program then it's up to you to write it.
Before you ask a question, check Google for a solution, the dlib FAQ, or consult the dlib documentation.  Every single function in dlib is documented in detail.  If you obviously haven't read the documentation your issue will be closed.
If you aren't reporting a bug or problem with dlib then delete this template and write whatever you want here.

Expected Behavior

Current Behavior

Steps to Reproduce

Version:
Where did you get dlib:
Platform:
Compiler:

Cuda is complicated. If you want to use cuda use cmake.

On Jan 12, 2022, at 6:13 AM, Dirk10000 @.***> wrote:

Hello,
I use dlib 19.22 without cmake, just putting source.cpp into my VS 2019 project. Works fine. Enabling CUDA, CUDA 11.5 installed and tested, by #define DLIB_USE_CUDA 1 in source.cpp leads to linker errors:
"public: __thiscall dlib::cuda::tensor_descriptor::tensor_descriptor(void)" @.@dlib@@@.)" in Funktion ""public: __thiscall dlib::resizable_tensor::resizable_tensor(class dlib::resizable_tensor const &)" @.@@@.@@z)".
"public: __thiscall dlib::cuda::tensor_descriptor::~tensor_descriptor(void)" @.@dlib@@@.)" in Funktion ""void __cdecl std::swap<class dlib::cuda::tensor_descriptor,0>(class dlib::cuda::tensor_descriptor &,class dlib::cuda::tensor_descriptor &)" @.@.@dlib@@$0A@@std@@@.@dlib@@@.)".
"public: void __thiscall dlib::cuda::tensor_descriptor::set_size(int,int,int,int)" @.@.@dlib@@@.)" in Funktion ""public: void __thiscall dlib::resizable_tensor::set_size(__int64,__int64,__int64,__int64)" @.@.@@@.)".
It seems that dlib::cuda::tensor_descriptor::tensor_descriptor(void) is nowhere defined. Does the copy of dlib misses any files needed for CUDA?
Many thanks for your help.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.


Create DSL for layouts (similar to JSX) called RSX

Currently layouts in apps are done imperatively. Here's an example https://github.com/r3bl-org/r3bl-cmdr/blob/main/src/ex_app_with_layout/app_with_layout.rs.
This issue will be updated w/ more details over time. The idea would be to build something like React JSX, so that this layout code could be expressed declaratively.
Here's a simple block of layout code that be a good first candidate to macro-fy the code from here.
tw_surface.box_start(TWBoxProps {
  styles: tw_surface.stylesheet.find_styles_by_ids(vec!["style1"]),
  id: COL_1_ID.into(),
  dir: Direction::Vertical,
  req_size: (50, 100).try_into()?,
})?;

// OPTIMIZE: macro?
if let Some(shared_component) = self.component_registry.get(COL_1_ID) {
  let current_box = tw_surface.current_box()?;
  let queue = shared_component
    .write()
    .await
    .render(&self.has_focus, current_box, state, shared_state)
    .await?;
  tw_surface.render_buffer += queue;
}

tw_surface.box_end()?;

Here are some thoughts on the area of improvements in this block of text:

The stylesheet lookup by vec of string is very clunky. That should be streamlined using macros in stylesheet.rs.
Rendering a component needs to be turned into a macro as well.
For tw_surface, the act of calling box_start, render, box_end seems pretty repetitive, and might be good for a macro.

This commit 9072d962a9e643cdf868803a23bbbe01dac57ae2 is the first step towards assembling the "React JSX"-like syntax from scratch. It makes the following changes.
Original code:
tw_surface.box_start(TWBoxProps {
  styles: tw_surface.stylesheet.find_styles_by_ids(vec!["style1"]),
  id: COL_1_ID.into(),
  dir: Direction::Vertical,
  req_size: (50, 100).try_into()?,
})?;

Next, use the box_props! macro:
tw_surface.box_start(box_props! {
  COL_1_ID,
  Direction::Vertical,
  (50, 100).try_into()?,
  get_styles! { from: tw_surface.stylesheet => ["style1", "style2"] }
})?;

Finally, use the box_start! macro:
box_start! {
  in: tw_surface,
  COL_1_ID,
  Direction::Vertical,
  (50, 100).try_into()?,
  ["style1", "style2"]
};

@shayes12111

This commit de38450e6f51a755ec70f5ac20cf8e9e917b8220 adds the following functionality.

Associated commit in r3bl-org/r3bl-cmdr@8024029e4d5ead398c61ae5f6f1ed31188943929

Use render_component macro to simplify this:
if let Some(shared_component) = self.component_registry.get(COL_2_ID) {
  let current_box = tw_surface.current_box()?;
  let queue = shared_component
    .write()
    .await
    .render(&self.has_focus, current_box, state, shared_store)
    .await?;
  tw_surface.render_buffer += queue;
}

into this:
render_component! {
  in: tw_surface,
  from: self.component_registry,
  id: COL_1_ID,
  has_focus: self.has_focus,
  state: state,
  shared_store: shared_store
};

This commit f65dc6ef483034e4ca731f6243fb814ddfed047b moves all the JSX stuff into RSX module:
https://github.com/r3bl-org/r3bl-rs-utils/blob/main/src/tui/rsx

These commits: [ 1d50f2e93f9ee658c9bd8a8813383199ed033923 and r3bl-org/r3bl-cmdr@590e749788da1afeb46340823782c9e619d68357 ] introduce the make_box! macro. This is the start of the RSX declarative style of syntax for creating layout.

This macro is possible due to TT munching in declarative macros: https://veykril.github.io/tlborm/decl-macros/patterns/tt-muncher.html

Here's the new code.
make_box! {
  in:    tw_surface,
  id:    COL_1_ID,
  dir:   Direction::Vertical,
  size:  (50, 100).try_into()?,
  style: ["style1", "style2"],
  render: {
    from:         self.component_registry,
    component_id: COL_1_ID,
    has_focus:    self.has_focus,
    state:        state,
    shared_store: shared_store
  }
}

Here's the old code it replaces:
box_start! {
  in: tw_surface,
  COL_1_ID,
  Direction::Vertical,
  (50, 100).try_into()?,
  ["style1", "style2"]
};
render_component! {
  in: tw_surface,
  from: self.component_registry,
  id: COL_1_ID,
  has_focus: self.has_focus,
  state: state,
  shared_store: shared_store
};
tw_surface.box_end()?;

And here's the original code w/out macros:
tw_surface.box_start(TWBoxProps {
  styles: tw_surface.stylesheet.find_styles_by_ids(vec!["style2"]),
  id: COL_2_ID.to_string(),
  dir: Direction::Vertical,
  req_size: (50, 100).try_into()?,
})?;

// OPTIMIZE: macro?
if let Some(shared_component) = self.component_registry.get(COL_2_ID) {
  let current_box = tw_surface.current_box()?;
  let queue = shared_component
    .write()
    .await
    .render(&self.has_focus, current_box, state, shared_store)
    .await?;
  tw_surface.render_buffer += queue;
}

tw_surface.box_end()?;

The box_start! is further simplified by 0a560d8ac0e68bbe6ce8cfe578880803bbad0fd9 and r3bl-org/r3bl-cmdr@5b13bde38a4377ed6a72d7efe81698231642b2dd.

All the macros are now cleaned up so they all have clearly identified fields. So in:, id:, dir:, etc. are all consistently passed thru.

Add a new macro surface_start to make it a little easier to work w/ Surface. Rename TWSurface -> Surface. Drop the TW prefix on all names; except for when they collide w/ other common names like Box and Command.
let mut surface = surface_start! {
  stylesheet: style_helpers::create_stylesheet()?,
  pos: (0, 0).into(),
  size: (window_size.cols, window_size.rows - 1).into(), // Leave row at bottom for message.
};

self
  .create_main_container(&mut surface, state, shared_store)
  .await?;

surface.surface_end()?;

status_bar_helpers::render(&mut surface.render_buffer, window_size);

surface.render_buffer

Here's a diagram of the layout code for this application. It's a 2 column responsive layout.


UploadStreamToBlockBlob does not return error correctly

UploadStreamToBlockBlob which calls uploadStream is not returning error correctly to user. If reader is wrapped up with error, we were expecting this call to fail the transfer, instead currently below code simply copies stream to buffer irrespective of error type.
https://github.com/Azure/azure-storage-blob-go/blob/f0a732ea9441c73511367d5861da6bda664ffabd/2017-07-29/azblob/highlevel.go#L492
Once we break out of upload process here https://github.com/Azure/azure-storage-blob-go/blob/eaae161d9d5e07363f04ddb19d84d57efc66d1a1/2018-03-28/azblob/highlevel.go#L501
it simply masks occurred error and returns success to caller
https://github.com/Azure/azure-storage-blob-go/blob/eaae161d9d5e07363f04ddb19d84d57efc66d1a1/2018-03-28/azblob/highlevel.go#L509
I believe correct behavior here should fail the transfer and return error to user, this used be to be the behavior in older SDK azure-sdk-for-go CreateBlockBlobFromReader
Please let me know if you need any more details on this.

Any news on this issue?  Can we send a PR?

Hi @ncw, sorry we haven't gotten to this item yet.
Yes! We'd love to receive a PR if you are willing to contribute! 👍

I have sent a PR #67 for your delight and entertainment ;-)

This was fixed in version 0.2.0.

thank you :-)


New version: Torch_jll v1.10.2+0

Autogenerated JLL package registration

Registering JLL package Torch_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/Torch_jll.jl
Version: v1.10.2+0
Commit: 2bafb001677b1eb77ac26303f5d958319f302c45
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/dc06b9903eba8408087120ed962ed7e5d3716a31
Created by: @Wimmerer

@stemann Now the problem is MKL:
ERROR: InitError: could not load library "/tmp/jl_mho9f5/artifacts/929e07419d06d190327bd30982e5b0b510a49664/lib/libtorch.so"
libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory

Can we avoid MKL entirely?  It's a mess.  We can't link to the libmkl_intel libraries in a sane way, enjoy reading https://github.com/JuliaPackaging/Yggdrasil/pull/1075 if you want to learn more.
[noblock]

@stemann Now the problem is MKL:
ERROR: InitError: could not load library "/tmp/jl_mho9f5/artifacts/929e07419d06d190327bd30982e5b0b510a49664/lib/libtorch.so"
libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory

Can we avoid MKL entirely? It's a mess. We can't link to the libmkl_intel libraries in a sane way, enjoy reading JuliaPackaging/Yggdrasil#1075 if you want to learn more.
[noblock]

OK, I see.
I will try to exclude building with MKL: https://github.com/JuliaPackaging/Yggdrasil/pull/5583
[noblock]


Changes to State updates for Personals requests

As a FOI Analyst
I do not want to see state changes "On Hold" or "Fees" for any Personals requests
because these states don't exist for Personals requests

Assumptions & Scope
What are the assumptions for this story?
There are no fees for personal requests, so the states 'Fee Estimate' and 'On Hold' should not be options.
What is IN scope?
Remove 'Fee Estimate' and 'On Hold' on all personal requests.
What is NOT in scope?
Acceptance Criteria
Scenario 1: No 'Fee Estimate' state for Personal request

GIVEN a ministry coordinator on a personal request
AND the request is in a CFR state
WHEN the coordinator clicks on the state dropdown
THEN 'Fee Estimate' will not appear as a state

Scenario 2: No 'On Hold"

GIVEN an IAO analyst is on a request
WHEN the analyst clicks on the state dropdown
THEN the 'On Hold' state will not appear

Scenario 3: xxxxxx
...
Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

ccL @lmullane @arielleandrews @m-prodan

@abin-aot, I believe scenario 2 will be fixed with scenario 1, correct?
As there is no 'On Hold' state unless a request is in 'Fee Estimate.'
cc @m-prodan, @arielleandrews

That would be correct. We may need to consider what is called a "pending section 5 hold state" - which would be more valuable if it was tracked separately than on hold generally, since one is related to fees and the other more having to do with eligibility.
Section 5 hold is more of a CFD/PSS/SDPR issue though - so I wouldn't worry about that state yet, but there will be a time when we need a kind of hold function (or we just keep a request under 'intake in progress' as some food for thought)

@m-prodan, how about we cover section 5 as a separate ticket?

Weighing in here, I agree section 5 pending should be covered as a separate ticket. The due date calculation follows a different logic than On Hold and I personally would like to create a bigger distinction between Section 5 Pending and On Hold. They are often conflated and this has caused confusion with our clients and even the OIPC.

@divyav-aot, assuming this ticket passes QA, shall we include this one with the pilot release?

yes @lmullane . We can include this as part of pilot release.

passes QA - great work @divyav-aot


Bump up the helix version to 0.9.8

Would be good to document what's new in the release and why we need it.


Made some improvements according to the "General" section of the Generic

General section:

Made asset id of 0 the "null_asset_id"
Improved some error names
Check for target account overflow in make_transfer

Imbalance section

Asset Id for imbalances cannot be changed once it is set
Imbalances now have named fields
Removed the InherentAssetIdProvider

Awesome work!  There are 3 things need to be fixed otherwise LGTM:

Fix the last comment
Fix the failed test
Rebase from develop


Input validation for DataFrame repartition

I understand divisions for repartition must be sorted and unique (except the final element). Added validation logic and error messages.

+1


chore(blog): add blog post about the AsyncAPI Bounty Program

This PR adds an annual blog post about the AsyncAPI Bounty Program.

It is showing tag as type

@thulieblack
What should be type and tags for this post?

@aeworxet tags/type - Community

@quetzalliwrites please have a look
@TRohit20 @VaishnaviNandakumar maybe you can help with review?


Bot suddenly stop working with error

Expected Behavior
Bot can start normally
Actual Behavior
Bot could not start with ValueError("No JSON object could be decoded")
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{
    "auth_service": "google",
    "username": "",
    "password": "",
    "location": "taodanin",
    "favorite_locations":[
        {"name": "home", "coords": "10.761636, 106.654087"},
        {"name": "bachdang", "coords": "10.775286, 106.706436"},
        {"name": "taodanout", "coords": "10.774686, 106.693133"},
        {"name": "taodanin", "coords": "10.774779, 106.691739"}
    ],
    "gmapkey": "",
    "encrypt_location": "",
    "websocket_server": false,
    "heartbeat_threshold": 10,
    "enable_social": false,
    "live_config_update": {
      "enabled": true,
      "tasks_only": true
    },
    "tasks": [
      {
        "//NOTE: This task MUST be placed on the top of task list": {},
        "type": "RandomAlivePause",
        "config": {
          "enabled": false,
          "min_duration": "00:00:10",
          "max_duration": "00:10:00",
          "min_interval": "00:05:00",
          "max_interval": "01:30:00"
        }
      },
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "CompleteTutorial",
        "config": {
          "enabled": false,
          "// set a name": "",
          "nickname": "DurianKing"
        }
      },
      {
        "type": "CollectLevelUpReward",
        "config": {
          "collect_reward": true,
          "level_limit": -1
        }
      },
      {
        "type": "IncubateEggs",
        "config": {
          "enabled": true,
          "longer_eggs_first": true,
          "min_interval": 120,
         "infinite": [2,5,10],
         "breakable": [2,5,10]
        }
      },
      {
        "type": "UpdateLiveStats",
        "config": {
          "enabled": true,
          "min_interval": 600,
          "stats": ["uptime", "km_walked", "stops_visited", "xp_earned", "pokemon_stats", "most_perfect_pokemon"],
          "terminal_log": true,
          "terminal_title": true
        }
      },
      {
        "type": "TransferPokemon",
        "config": {
          "enabled": true,
          "min_free_slot": 9900,
          "transfer_wait_min": 5,
          "transfer_wait_max": 10
        }
      },
      {
        "type": "EvolvePokemon",
        "config": {
            "enabled": false,
            "evolve_all": "none",
            "evolve_iv_min": 0.8,

            "first_evolve_by": "iv",
            "evolve_above_cp": 0,
            "evolve_above_iv": 0.8,
            "logic": "and",
            "min_evolve_speed": 20,
            "max_evolve_speed": 30,
            "use_lucky_egg": false
        }
      },
      {
        "type": "NicknamePokemon",
        "config": {
          "enabled": true,
          "nickname_above_iv": 0,
          "dont_nickname_favorite": true,
          "nickname_template": "{name:.10s}{iv_pct2}"
        }
      },
      {
        "type": "RecycleItems",
        "config": {
          "min_empty_space": 15,
          "max_balls_keep": 160,
          "max_potions_keep": 40,
          "max_berries_keep": 60,
          "max_revives_keep": 40,
          "item_filter": {
            "Pokeball":       { "keep" : 60 },
            "Greatball":      { "keep" : 50 },
            "Ultraball":      { "keep" : 50 },
            "Potion":         { "keep" : 10 },
            "Super Potion":   { "keep" : 10 },
            "Hyper Potion":   { "keep" : 20 },
            "Revive":         { "keep" : 40 },
            "Razz Berry":     { "keep" : 60 }
          },
          "recycle_wait_min": 1,
          "recycle_wait_max": 4,
          "recycle_force": false,
          "recycle_force_min": "00:01:00",
          "recycle_force_max": "00:05:00"
        }
      },
      {
        "type": "CatchPokemon",
        "config": {
          "daily_catch_limit": 800,
          "treat_unseen_as_vip": true,
          "catch_visible_pokemon": true,
          "catch_lured_pokemon": true,
          "min_ultraball_to_keep": 5,
          "berry_threshold": 0.35,
          "vip_berry_threshold": 0.9,
          "catch_throw_parameters": {
            "excellent_rate": 0.1,
            "great_rate": 0.5,
            "nice_rate": 0.3,
            "normal_rate": 0.1,
            "spin_success_rate" : 0.6,
            "hit_rate": 0.9
          },
          "catch_simulation": {
            "flee_count": 2,
            "flee_duration": 2,
            "catch_wait_min": 2,
            "catch_wait_max": 6,
            "berry_wait_min": 2,
            "berry_wait_max": 3,
            "changeball_wait_min": 2,
            "changeball_wait_max": 3,
            "newtodex_wait_min": 20,
            "newtodex_wait_max": 30
          }
        }
      },
      {
        "type": "SpinFort",
        "config": {
          "enabled": true,
          "spin_wait_min": 2,
          "spin_wait_max": 5
        }
      },
      { "type": "UpdateWebInventory",
        "config": {
          "enabled": true
        }
      },
      {
        "type": "FollowPath",
        "config": {
          "enabled": true,
          "walker": "PolylineWalker",
          "path_mode": "linear",
          "path_start_mode": "closest",
          "path_file": "configs/path.q1.json",
          "number_lap": 10,
          "timer_restart_min": "00:10:00",
          "timer_restart_max": "00:20:00",
          "log_interval": 5
        }
      },
      {
        "type": "MoveToFort",
        "config": {
          "enabled": true,
          "lure_attraction": true,
          "lure_max_distance": 2000,
          "walker": "PolylineWalker"
        }
      }
    ],

    "map_object_cache_time": 5,
    "pokemon_bag": {
      "show_at_start": true,
      "show_count": true,
      "show_candies": true,
      "pokemon_info": ["cp", "ivcp", "level"]
    },
    "forts": {
      "avoid_circles": true,
      "max_circle_size": 40,
      "cache_recent_forts": true
    },
    "walk_max": 3.5,
    "walk_min": 1.8,
    "alt_min": 500,
    "alt_max": 1000,
    "gps_default_altitude": 8.0,
    "replicate_gps_xy_noise": false,
    "replicate_gps_z_noise": false,
    "gps_xy_noise_range": 0.000125,
    "gps_z_noise_range": 12.5,
    "walker_limit_output": true,
    "action_wait_min": 1,
    "action_wait_max": 4,
    "debug": false,
    "test": false,
    "health_record": false,
    "location_cache": true,
    "distance_unit": "km",
    "reconnecting_timeout": 20,
    "logging_color": true,

    "catch": {
      "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}
    },

    "release": {
      "Mewtwo": {"release_below_iv": 0},
      "Dragonite": {"release_below_iv": 0},
      "Mew": {"release_below_iv": 0},
      "Moltres": {"release_below_iv": 0},
      "Snorlax": {"release_below_iv": 0},
      "Zapdos": {"release_below_iv": 0},
      "Lapras": {"release_below_iv": 0},
      "Articuno": {"release_below_iv": 0},
      "Arcanine": {"release_below_iv": 0},
      "Vaporeon": {"release_below_iv": 0},
      "Exeggutor": {"release_below_iv": 0},
      "Gyarados": {"release_below_iv": 0.6},
      "Flareon": {"release_below_iv": 0.6},
      "Muk": {"release_below_iv": 0.6},
      "Slowbro": {"release_below_iv": 0.6},
      "Machamp": {"release_below_iv": 0.6},
      "Venusaur": {"release_below_iv": 0.6},
      "Charizard": {"release_below_iv": 0.6},
      "Victreebel": {"release_below_iv": 0.6},
      "Pollwrath": {"release_below_iv": 0.7},
      "Blastoise": {"release_below_iv": 0.7},
      "Nidoking": {"release_below_iv": 0.7},
      "Nidoqueen": {"release_below_iv": 0.7},
      "Vileplume": {"release_below_iv": 0.7},

      "any": {"release_below_cp": 0, "release_below_iv": 0.9, "logic": "or", "keep_best_iv":1}
    },

    "vips" : {
         "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
        "any": {"catch_above_cp": 1500, "catch_above_iv": 0.9, "logic": "or" },

        "Mewtwo": {},
        "Dragonite": {},
        "Mew": {},
        "Moltres": {},
        "Snorlax": {},
        "Zapdos": {},
        "Lapras": {},
        "Articuno": {},
        "Arcanine": {},
        "Vaporeon": {},
        "Exeggutor": {},
        "Gyarados": {},
        "Flareon": {},
        "Muk": {},
        "Slowbro": {},
        "Machamp": {},
        "Venusaur": {},
        "Charizard": {},
        "Victreebel": {},
        "Pollwrath": {},
        "Blastoise": {},
        "Nidoking": {},
        "Nidoqueen": {},
        "Vileplume": {}
    }
}

Output when issue occurred
Nam-MBP:pokemongo-bot namle$ ./run.sh
2016-08-28 11:45:36,378 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-28 11:45:36,389 [       cli] [INFO] commit: ed095936e8fb2bdb7442c9966630664f0cb739ea
2016-08-28 11:45:36,392 [       cli] [INFO] Configuration initialized
2016-08-28 11:45:36,527 [PokemonGoBot] [INFO] [set_start_location] Setting start location.
2016-08-28 11:45:36,529 [PokemonGoBot] [INFO] Favorite location found: taodanin ([u'10.774779', u'106.691739'])
2016-08-28 11:45:36,529 [PokemonGoBot] [INFO] [location_found] Location found: taodanin (10.774779, 106.691739, 8.0)
2016-08-28 11:45:36,530 [PokemonGoBot] [INFO] [login_started] Login procedure started.
2016-08-28 11:45:39,175 [PokemonGoBot] [INFO] [login_successful] Login successful.
2016-08-28 11:45:39,175 [PokemonGoBot] [INFO] Found encrypt.so! Platform: darwin encrypt.so directory: /Users/namle/Downloads/PokemonGo-Bot
2016-08-28 11:45:39,176 [PokemonGoBot] [INFO]
Traceback (most recent call last):
  File "pokecli.py", line 746, in <module>
    main()
  File "pokecli.py", line 115, in main
    bot = initialize(config)
  File "pokecli.py", line 83, in initialize
    bot.start()
  File "/Users/namle/Downloads/PokemonGo-Bot/pokemongo_bot/__init__.py", line 123, in start
    init_inventory(self)
  File "/Users/namle/Downloads/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1234, in init_inventory
    _inventory = Inventory(bot)
  File "/Users/namle/Downloads/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1086, in __init__
    self.refresh()
  File "/Users/namle/Downloads/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1096, in refresh
    self.update_web_inventory()
  File "/Users/namle/Downloads/PokemonGo-Bot/pokemongo_bot/inventory.py", line 1116, in update_web_inventory
    json_inventory = json.load(infile)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Sun Aug 28 11:45:41 ICT 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.

Steps to Reproduce
Yesterday it was still running fine. Tried to start it for today and got this error.
Other Information
OS: OSx
Branch: master
Git Commit: ed095936e8fb2bdb7442c9966630664f0cb739ea
Python Version: 2.7.10
Any other relevant files/configs (eg: path files)
Path file:
[
  {"location": "10.774779, 106.691739", "loiter": 7200, "// tao dan": 0},
  {"location": "10.779082, 106.697320", "loiter": 1800, "// cong vien 30/4": 0},
  {"location": "10.787485, 106.706190", "loiter": 3600, "// so thu": 0},
  {"location": "10.782313, 106.705991", "loiter": 1200, "// ton duc thang": 0},
  {"location": "10.775163, 106.706552", "loiter": 7200, "// bach dang": 0},
  {"location": "10.771474, 106.698284", "loiter": 1800, "// tuong dai tran nguyen han": 0},
  {"location": "10.771254, 106.693135", "loiter": 1200, "// nga 6 phu dong": 0}
]

does your config file run through jsonlint fine?

@leadboots5 yup, valid JSON

I don't know why but after deleting everything and run installation again, the bot is back to work with exactly the same config files...
The only difference is I'm using dev branch now.
So you guys may keep this open for further debugging if necessary.

it's something to do with inventory-USERNAME.json file under web/

Yes, it is. The file can get corrupted if the bot is stopped while this file is open for write. Next time, just delete web/inventory-USERNAME.json and restart.

I'll leave this open for debugging. Sorry, can't do it now. Will be tomorrow morning (AEST) then I'll see what I can do.

@Gobberwart  we have all the inventory in the database and probably can get it from the server. can't we just do that?

@Gobberwart have you been able to replicate this?

@Jasperrr91 I personally have not, but we have had a decent number of folks who end up needing to delete one or more of the web json files to stop such errors.

Ah yes, I wrongfully assumed this was about the config.json but now I see it's about the web_inventory.
If anyone experiences these errors. Please post a dump of the web jsons. (Or are there already any posted @mjmadsen?)

I don't think so @Jasperrr91

@Jasperrr91 I have seen it happen. Not sure exactly what causes it tbh. Best guess is an IO conflict. It's a very rare occurrence which makes it tricky to debug.
@mjmadsen Agreed re the database. For now, I'll put some exception catching around the file reads/writes to hopefully suppress this crash, then we can look into using the db better.

@rawgni Annoyingly, the inventory file contains both inventory and player data. Not sure who made that choice, but that's what the web interface wants. Overwriting the whole .json file with inventory data is simple, but the player data is (currently) not that simple and needs an api call. Therefore the method opens the .json file, removes all the "inventory" stuff, then writes it back, keeping the player data in tact.
If there were separate outfiles for each (player data, inventory (items) and pokemons), that would be a lot simpler to work with.

@Gobberwart I think that choice was made because the inventory and player data is also grouped together in the API call. We're using an old commit of the Web interface so branching that and splitting the file shouldn't be too much of a hassle. But you still have to work with a JSON file that can give read/write errors.
So although it may simplify things, it will not solve this particular bug. What will solve this, is adding a try/catch. I'll put out a PR request in the morning.

@Jasperrr91 I'm already working on try/catch. PR should be up in a minute.

PR #4877 up for review.

Closing #4841


App crashes when opening folders

Describe the bug
The app crashes when opening any sort of folder, whether it be downloads, program files, etc.
To Reproduce
Click on any folder as if you were going to open it. The app freezes then automatically closes.
After a few tries, the folder will open, but not before crashing at least twice.
Expected behavior
I expected the folder to just open normally.
Screenshots
https://user-images.githubusercontent.com/80429764/110708313-575e7480-81af-11eb-9488-e96f0cc464d8.mp4
Desktop (please complete the following information):

OS Version: Windows 10 Home, version 10.0.19042 build 19042
App version: <IP_ADDRESS>

Additional context
This issue occurs almost every time I try to go into a folder.
I've tried a reinstall, that didn't work.
Log files
debug.txt
debug_fulltrust.txt

Thanks for this report:

Are you still experiencing this issue?
If so, could you try if it works is you disable these two settings (turn off caching) under Experimental?

This issue should be resolved in v1.5.


When verify is enabled keep paging until num amount of correct images are found

This is tool is really great with its inbuilt URL verification however it means many results are skipped. For example, I just did q:"dogs", num:"20" and only got 8 results seeing that you have just added automatic pagination is it possible to extend this to attempt to get the num amount of verified images?

Yet, thought about that :)
Will let you know when I finish with that.


Using deprecated GtkStatusIcon parallel to current features not possible

GtkStatusIcon is deprecated, but there is no real replacement.
The GTK maintainers want us to use notifications it seems, but that might not be an option depending on the use case.
Unfortunately, GtkStatusIcon is not compiled unless we specify the correct build tag, gtk_3_12 or earlier in this case. This has a side effect of disabling features that came with or after gtk 3.14.
I suggest an additional build tag gtk_deprecated that allows compiling deprecated features that sill work with more recent versions of gtk. After all, there might be a reason to use deprecated functions.
This way I can target a newer version of gtk, say 3.18 and keep using older APIs: go get -t -tags "gtk_3_18 gtk_deprecated" github.com/gotk3...
To avoid accidentally compiling code for later versions, that would probably require multiple tags, though..
I assume the deprecated pieces were removed because of these pesky compiler warnings? Would it be an option to hide them and keep the deprecated code always active?

have same problem. I need status icon on windows in system tray to create menu in tray without application window. But i cant make it. Is there are any work-around for this?


Provision OMS extension on existing VM with ARM Template

Is it possible to provision an existing VM with ARM template.
In the guide above,
it says ""name": "<parentVmResource>/OMSExtension".
Or is there a way i can pass my existing VM info to this ARM template as parameter and bind OMS extension to my existing VM?
Please give an example on how does <parentVmResource> looks like if it is possible.
Thanks

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

ID: 7d5b8e22-49e6-bba4-d42b-8dd42d469e3b
Version Independent ID: 017df7fb-0c1d-637e-a204-e60392cab207
Content: Azure Monitor virtual machine extension for Linux
Content Source: articles/virtual-machines/extensions/oms-linux.md
Service: virtual-machines-linux
GitHub Login: @axayjo
Microsoft Alias: akjosh

Thanks for the question. We are currently investigating and will update you shortly.

Yes, you can add a virtual machine extension resource to the existing template as described in this document on Deploy virtual machine extensions with Azure Resource Manager templates
More Resources:

https://stackoverflow.com/questions/36318458/does-virtual-machine-extensions-provisioned-for-existing-vm

https://github.com/Azure/azure-quickstart-templates/issues/1507#issuecomment-203623577

We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Update CODE_OF_CONDUCT.es.md

changed wording and some bullet point text

Looks good for me.

I'm not seeing the merge, so I'm reopening to merge properly.


TF problem when run with lingvo

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

Ubuntu 16.04:
TensorFlow installed from pip:
TensorFlow 1.13:
3.5:
conda and pip:
Bazel 0.26.1:
4.8:
CUDA/cuDNN 10.0/ 7.5:
RTX 2080 TI:

This may be not the proper area to ask. But I cannot find any other place to ask. I am running lingvo based on tensorflow. I follow their mnist demo and run:
bazel build -c opt //lingvo:trainer
It gives me an error:
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
DEBUG: Rule 'subpar' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "07ff5feb7c7b113eea593eb6ec50b51099cf0261", shallow_since = "1524766240 -0700" and dropping ["tag"]
INFO: Analyzed target //lingvo:trainer (37 packages loaded, 4470 targets configured).
INFO: Found 1 target...
ERROR: missing input file '@tensorflow_solib//:tensorflow_solib/libtensorflow_framework.so.1'
ERROR: /home/feit/.cache/bazel/_bazel_feit/965fc5b73beb9f5ea41273ac0e3737bf/external/tensorflow_solib/BUILD:2:1: @tensorflow_solib//:framework_lib: missing input file '@tensorflow_solib//:tensorflow_solib/libtensorflow_framework.so.1'
Target //lingvo:trainer failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/feit/.cache/bazel/_bazel_feit/965fc5b73beb9f5ea41273ac0e3737bf/external/tensorflow_solib/BUILD:2:1 1 input file(s) do not exist
INFO: Elapsed time: 9.563s, Critical Path: 0.02s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
What is this about? How can I fix it?

@sun-peach Just to verify, Did you follow this link to install lingvo. Let us know if that works for you. Thanks!

Yes. But I do the "installing directly". I can manage to do the first steps:
mkdir -p /tmp/mnist
bazel run -c opt //lingvo/tools:keras2ckpt -- --dataset=mnist --out=/tmp/mnist/mnist
But after that, the problem pops out.

@gadagashwini BTW, I also tried with tensorflow 1.14 (also tf-nightly). The same problem.

The tensorflow lingvo gihub repo can be a good platform to raise this issue. Please post it on tensorflow/lingvo . Thanks!

finaly,how do you solve this problem?


memexec + mingw crash on windows

here is a rust binary that combines two zig programs with our surgical linker, and then memexecs the result:
binary to reproduce
the source code for that executable is here

FWIW I did try to have a look at this, but the executable in the package doesn't run for me:
>linker-executable.exe
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "program not found" }', crates\linker-executable\src\main.rs:47:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Anyway, I did have a look at the error message which was mentioned on irc:
     Mingw-w64 runtime failure:
     Address<PHONE_NUMBER>00105C has no image-section

This comes from the mingw-w64 pseudo-relocation code, wanting to update addresses in the executable, whereby it wants to remap certain sections from read-only to read-write to patch things up in it. In order to do that, it needs to find what section the address belongs to. It does this by traversing the PE image header found by the __ImageBase symbol: https://github.com/mingw-w64/mingw-w64/blob/master/mingw-w64-crt/crt/pesect.c#L103-L108 And iterating over the sections: https://github.com/mingw-w64/mingw-w64/blob/master/mingw-w64-crt/crt/pesect.c#L51-L60
As for why you're hitting this when executing the combined executable it with memexec but not when executing it normally, I'm not quite sure - it sounds like some corner case is missed either in memexec or the merging of files. The address<PHONE_NUMBER>00105C looks like the executable is loaded at its desired address - so base relocation rewriting shouldn't really play any role either, although that's a big contender for what could break.
If there'd be a standalone testable setup (two minimal C based trivial executables that are merged, and a way to re-do the merging, and a way to run it with memexec) I would try to add suitable debugging in the merged executables to figure out what's going wrong.
But anyway, as you mentioned this isn't blocking you any more, feel free to disregard.

This seems like it was related to discussion about a specific bug from long ago. The linker has changed a lot in the last two years. I'm assuming this isn't relevant anymore and closing it, but if I'm wrong feel free to reopen.

I think this issue is still relevant. We have a critical bug with our Windows surgical linker, and this is likely related.


feat: updating junit from version 4.x to 5.x

Issue number of the reported bug or feature request: #55
Describe your changes

updated version of junit
updated version of mockito
updated tests (initial changes has been made using openrewrite, but adjusted after to keep name of test functions unchanged
result codes tests has been split on a several groups due to difficulties to use @Nested tests in the existing way the tests are written
marking commented out tests as @Disabled
several misprints has been addressed as well

Testing performed
I have used mvn -U clean test with all targeted platforms such as JDK8, JDK11 and JDK17.
Additional context
I didn't find how I can run integration tests locally as part of the dockerized setup, so, it would be great if you can added some instructions 🙏🏼

Comments have been addressed.


feat: custom reader and writer for user types (using attributes)

This PR is an alternative to #784 and #813
This PR is nearly identical to #813.  The difference is that the readers and writers are recognized by an attribute instead of by name.   This way we don't give misleading errors and it can work for NeworkBehaviors too.
In this implementation,  you add a Reader and Writer method  to your custom types and mark them with an Attribute
Suppose you want to serialize this class:
public struct Quest
{
    public ScriptableQuest scriptableQuest;

    public int progress;
    public bool completed;
    ...
}

You can add a OnSerialize and OnDeserialize method in the ScriptableQuest class:
class ScriptableQuest
{
    ...

    [NetworkWriter]
    public static void OnSerialize(NetworkWriter writer, ScriptableQuest scriptableQuest) {
         writer.Write(scriptableQuest.Name.GetStableHashCode());
    }

    [NetworkReader]
    public static ScriptableQuest OnDeserialize(NetworkReader reader) {
        int hash = reader.ReadInt32();
        return ScriptableQuest.dict[hash];
    }
}

Note the name of the methods do not matter,  they are recognized by the attributes only
Compared to #784
Pros

Much simpler code.  Mirror simply looks for [NetworkReader] and [NetworkWriter] methods in the custom type
Much faster weaving.  Mirror does not need to scan assemblies
Works across assemblies <- this is a show stopper for #784

Cons

Cannot define readers and writers for System.* types
Cannot override Mirror readers and writers

Compared to #813
Pros

Avoids confusion and misleading errors with NetworkBehaviors OnSerialize/Deserialize
Makes it clearer there is witchcraft involved,  as opposed to looking like unused methods
Extensible.  In the future I can use the attributes for System.* types,  I have some ideas about them.

Cons

Slightly more complicated to use

It is enough to solve the serialization issues in ummorpg and Cubica.

Merged in 2018

closing in favor of #1047


Server shuts down, how detect on client

When server shuts down for whatever reason, how can a client detect that?
If not implemented, could you give me som pointers and il try to create a pr.

If a server shuts down, the client will detect it by timeout since it will stop sending messages to all clients.
If you want to close the server manually, you could use the server.disconnect_clients to disconnect all connected clients before closing the server.
 Or if you could describe your scenario, we can define better what should happen ;)

ohh, its just that when i stop the server, clients are not notified and still think they are connected.
Say i run a client and server in a workspace, then i stop the server.
In a system on the client i run  client.is_connected()  each sec which always resolves to true even though i shut down the server.
But maybe i need to do more explicit update on the client? My current update function is only
   if !timer.0.tick(time.delta()).just_finished() {
        return;
    }
    client
        .update(Duration::from_secs_f64(time.delta_seconds_f64()))
        .expect("Could not update server");

    while let Some(text) = client.receive_message(Channels::Reliable as u8) {
        let decoded: ServerMessage =
            bincode::deserialize(&text[..]).expect("Could not decode client message");
        // println!("Client recv: {:?}", decoded);
        server_message_event_writer.send(decoded);
    }

    client
        .send_packets()
        .expect("Could not send packets from client.");
        ```

The update loop seems right, it should panic after 5 seconds the server shuts down, the default timeout duration. The problem might be somewhere else, maybe it's not calling the update or the delta time is not right.
The code I use in the demo is:
            if let Err(e) = chat_client.update(duration) {
                error!("{}", e);
            }
            if let Some(e) = chat_client.disconnected() {
                self.state = AppState::Start;
                self.connection_error = Some(Box::new(RenetError::ClientDisconnected(e)));
                self.connected_server_addr = None;
                self.chat_server = None;
                self.client = None;
             } else {
                // Message Logic
                if let Err(e) = chat_client.send_packets() {
                    error!("Error sending packets: {}", e);
                }
             }

Pretty similar. I just handle the error instead of panicking, and I get the timeout after 5 seconds.

With the 70321926f88f665fbf93ef220754706a367db270, the server should send the disconnect packets when at the time of the call. Before, you would need to wait for one frame for the disconnect packets to be sent.
You can check out the chat_demo to see this working. When the host selects the exit button it calls the disconnect clients, and all connected clients are notified correctly.


Fix table_pools' row details

With the PR, the details shows up as expected:

It looks like some variable conflicting (without the PR).

Tried to rename some variables but the problem stays.
Moving the function into its own $(document).ready() fixes it.
/cc @openshift/test-platform

/test links

/test links

/cc @openshift/test-platform


Remove DARK ($DARK) Token Icon and Metadata

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

I've added the DARK Token with this PR.
Added another token named WILD with this PR but it uses the same icon as DARK. I've already burned any amount of DARK using the SOLANA Token Program. I'm requesting a manual merge for this PR to remove the old DARK Token.

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Any notices? This has been ignored for 20 days.


Specifying parameters for tests

Hey all,
In README.md, the example application.yml shows how the parameters key can be specified for different plans:
  parameters:
     plan-id-1-here:
        parameter1 : 1
        parameter2 : foo
      plan-id-2-here:
        parameter1 : 2
        parameter2 : bar

However, under the parameters section, I can see:
provisionParameters:
    plan-id-here:
      DB-name: db-name

and
bindingParameters:
    plan-id-here:
      key : value

From playing around, it seems like provisionParameters and bindingParameters works, rather than parameters. It might be worth making this clearer in the example config.
Thanks!

Thank you, for bringing that up!
I corrected it in commit b90bfbed3f1bb4b87b09a157f5709ab8ce292ab5


Why retrain at about 95 epoch with data aug disabled

Hi, I am trying to reproduce the resnet imagenet result on mxnet.
I noticed that you have successfully reproduced the resnet results from facebook,
but you mentioned that

when epoch is about 95, cancel the scale/color/aspect augmentation during training, this can be done by only comment out 6 lines of the code, like this:

I didn't quite understand why we need this procedure to get a similar results because I as far as I know Torch/PyTorch don't need this procedure.
Is that means if we don't apply this procedure, the result will be suffered (lower than the paper claimed)?
Thanks

I have the same question, any clus till now?

Hi, I am trying to reproduce the resnet imagenet result on mxnet.
I noticed that you have successfully reproduced the resnet results from facebook,
but you mentioned that

when epoch is about 95, cancel the scale/color/aspect augmentation during training, this can be done by only comment out 6 lines of the code, like this:

I didn't quite understand why we need this procedure to get a similar results because I as far as I know Torch/PyTorch don't need this procedure.
Is that means if we don't apply this procedure, the result will be suffered (lower than the paper claimed)?
Thanks

I have the same question, any clus till now?

@DeppMeng I think data augmentation may change the overall distribution of the dataset. When trained with small learning rate, the network may learn such distorted distribution.
By the way, do you have the training log / script on Pytorch? Thanks :)

Sorry I am not doing research in this field now:)


Shadow-Copy Function Throws Exception when run on PS Core on Linux or OSX

I get an error when this line
https://github.com/RamblingCookieMonster/PSDeploy/blob/90ec3397d7900e3400c95315f4d430db79e2547d/PSDeploy/Private/PSYaml/Private/Shadow-Copy.ps1#L1
runs on Linux (and OSx) E.g. see Travis CI
https://travis-ci.org/PlagueHO/CosmosDB/jobs/423782302#L519
$env:temp is not declared in Linux and OSx.
I'll take a deeper look over the next few days and see if I can suggest a fix and submit a PR to you.

There doesn't seem to be a clear pattern for getting the temp folder location in different platforms: https://github.com/PowerShell/PowerShell/issues/4216
So it might just be simplest to add a Get-TempPath  utility function that just returns:

Windows: $env:TEMP
macOS: $env:TMPDIR
Linux: /tmp

@RamblingCookieMonster - are you happy for me to submit a PR to fix this by adding a new Get-TempFolder utility function in the /Private/PSYaml/Private/ folder?

Eek, sorry, forgot about this!
Sure!  I could see that function being useful for other bits.
If it's easier, you could also do something like

Remove the default value from the line you pasted
Add a simple if (-not $ShadowPath`) bit that sets the default if not specified, and only in the Windows section of that logic

Either works for me!

Cool! In progress now - thanks @RamblingCookieMonster !

@RamblingCookieMonster - I've been looking at this one closely and there is one thing I find strange: The 'Windows only' code (the New-Item line) seems to fire under Linux and macOS on TravisCI and Azure Pipelines? It looks like it shouldn't execute in those environments.
It seems that this test evaluates to true:
if(!(Test-Path -Path Variable:\IsWindows) -or $IsWindows) {
}

I've done a bunch of tests on my local Ubuntu server and on the TravisCI to confirm the result of the above test:
https://travis-ci.org/PlagueHO/CosmosDB/jobs/431726377#L2803
What it shows is that the above test should not have evaluated to True on TravisCI so this code shouldn't have executed but for some reason it does (https://travis-ci.org/PlagueHO/CosmosDB/jobs/431726377#L2808)?
Completely stumped as to why this code executes...
Any idea why?

Weird!! I... might just poke around and see if powershell-yaml is compatible, for some reason didn't use it at the start - works cross platform, haven't had any issues in other modules

It is really odd indeed. It doesn't actually stop the module from working BTW - at least not for me. It just logs the exception.