[HUDI-1531] Introduce HoodiePartitionCleaner to delete specific partition

…tion
Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / 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:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2452 (dc8dbbc) into master (749f657) will decrease coverage by 41.24%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #2452       +/-   ##
============================================
- Coverage     50.71%   9.46%   -41.25%
+ Complexity     3060      48     -3012
============================================
  Files           419      54      -365
  Lines         18796    1975    -16821
  Branches       1922     233     -1689
============================================
- Hits           9533     187     -9346
+ Misses         8488    1775     -6713
+ Partials        775      13      -762

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.46% <0.00%> (-60.02%)
0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #2452       +/-   ##
============================================
- Coverage     50.71%   9.46%   -41.25%
+ Complexity     3060      48     -3012
============================================
  Files           419      54      -365
  Lines         18796    1975    -16821
  Branches       1922     233     -1689
============================================
- Hits           9533     187     -9346
+ Misses         8488    1775     -6713
+ Partials        775      13      -762

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.46% <0.00%> (-60.02%)
0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

.../apache/hudi/utilities/HoodiePartitionCleaner.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...va/org/apache/hudi/utilities/IdentitySplitter.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...va/org/apache/hudi/utilities/schema/SchemaSet.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-3.00%)

...a/org/apache/hudi/utilities/sources/RowSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

.../org/apache/hudi/utilities/sources/AvroSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

.../org/apache/hudi/utilities/sources/JsonSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...rg/apache/hudi/utilities/sources/CsvDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-10.00%)

...g/apache/hudi/utilities/sources/JsonDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

...apache/hudi/utilities/sources/JsonKafkaSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...pache/hudi/utilities/sources/ParquetDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-5.00%)

... and 398 more

@yanghua @lw309637554 please take a look when free

@yanghua @lw309637554 please take a look when free

can we just have a this implemented as a replace of the partition where all files are replaced by an empty list. cleaner would automatically clean the partition that way. Love to keep all of our tooling to be flexible at the file level, working with existing actions and timeline

can we just have a this implemented as a replace of the partition where all files are replaced by an empty list. cleaner would automatically clean the partition that way. Love to keep all of our tooling to be flexible at the file level, working with existing actions and timeline

can we just have a this implemented as a replace of the partition where all files are replaced by an empty list. cleaner would automatically clean the partition that way. Love to keep all of our tooling to be flexible at the file level, working with existing actions and timeline

I will give a try

can we just have a this implemented as a replace of the partition where all files are replaced by an empty list. cleaner would automatically clean the partition that way. Love to keep all of our tooling to be flexible at the file level, working with existing actions and timeline

I will give a try

@n3nash can you also please review this?

@n3nash can you also please review this?

@wangxianghu Can you please address @vinothchandar request ? I think we can land it after that

@wangxianghu Can you please address @vinothchandar request ? I think we can land it after that

ack, will do

can we just have a this implemented as a replace of the partition where all files are replaced by an empty list. cleaner would automatically clean the partition that way. Love to keep all of our tooling to be flexible at the file level, working with existing actions and timeline

@vinothchandar @wangxianghu
Hello, does this mean we can add  a auto cleaner strategy to clean the old partition? Maybe it is in cleaner or just like inline clustering. Now a user want to auto partition TTL feature.
https://github.com/apache/hudi/issues/2743

Can you add more info in the description.
is this a standalone tool? or to be used as a strategy along w/ cleaning? or hudi-cli ?

I understand its in darft. Just before you open it up for reviews, can you add more info in the description.
is this a standalone tool? or to be used as a strategy along w/ cleaning? or hudi-cli ?

At the beginning, I wanted to make it a stand-alone tool, but now we can consider making a cleanup strategy.
WDYT ? cc @lw309637554

sounds good. yeah, cleaning strategy would be great.

can we just have a this implemented as a replace of the partition where all files are replaced by an empty list. cleaner would automatically clean the partition that way. Love to keep all of our tooling to be flexible at the file level, working with existing actions and timeline

Hi @vinothchandar @nsivabalan. sorry for the delay, kind of busy these days.
The current implementation leveraged the  API org.apache.hudi.client.SparkRDDWriteClient#deletePartitions provided by @lw309637554, IIUC, it is already implemented as a replace of the partition where all files are replaced by empty data.
BTW, I come to think that the clean strategy is more suitable for TTL scenarios, not this one.
partition deletion is a relatively fixed scene(one-shot use case), and it seems to be better to make it as a tool. In this way, the user only needs to specify the partition to be deleted, a small amount of configuration such as table information, and the partition can be deleted.
In the TTL scene, hoodie can check the outdated partitions in each commit(clean part), which could be a long-running term, so it is suitable implemented with clean strategy
WDYT ?
cc @n3nash @lw309637554 @yanghua


Circular dependency warnings on Node 14

Tachyon currently has dependency on<EMAIL_ADDRESS>which depends on<EMAIL_ADDRESS>which has an issue on node 14: https://github.com/winstonjs/winston/issues/1797
│ Human Made Tachyon in node
│ git+https://github.com/humanmade/node-tachyon.git
│ https://github.com/humanmade/node-tachyon#readme
└─┬<EMAIL_ADDRESS>  │ AWS X-Ray SDK for Javascript
  │ https://github.com/aws/aws-xray-sdk-node/tree/master/packages/core
  └──<EMAIL_ADDRESS>      A multi-transport async logging library for Node.js
      git+https://github.com/winstonjs/winston.git
      https://github.com/winstonjs/winston#readme

Winston throws out (node:26972) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency which is logged as an error in AWS Lambda (and trigger alarms if there are set in CloudWatch).
Later version of aws-xray-sdk-node removes dependency on winston which should resolve this issue.
Acceptance Criteria

[ ] aws-xray-sdk-node has to be updated to the latest version that support Node 14.x
[ ] Code that uses aws-xray-sdk-node still works as expected

Hey team! Please add your planning poker estimate with ZenHub @kovshenin @ferschubert-hm @wisyhambolu @mikelittle

@ferschubert-hm @mikelittle we've estimated this one to 3SP and moved it to the Backlog

After this PR is reviewed and merged, I'll push the docker image version 2.6.0 to docker hub.

Created new release v2.6.1 for Tachyon which in turn created a v2.6.1 image on dockerhub

Created new release v2.6.1 for Tachyon which in turn created a v2.6.1 image on dockerhub


Report failed Hypothesis health checks as errors (#32)

It is confusing for the user of pyicontract-hypothesis to see the
traceback on failed Hypothesis health checks.
This patch catches the failed health checks and provides a more
informative message instead of the traceback.

Pull Request Test Coverage Report for Build 695352584

2 of 4 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 86.159%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

icontract_hypothesis/pyicontract_hypothesis/_test.py
2
4
50.0%

Totals

Change from base Build 569109458:
-0.1%

Covered Lines:
940

Relevant Lines:
1091

💛  - Coveralls


Reconcile Feature Cuts

Codecov Report

Merging #25 (11f2acb) into feature-cuts (3bbcd40) will increase coverage by 17.62%.
The diff coverage is 69.64%.

@@                Coverage Diff                @@
##           feature-cuts      #25       +/-   ##
=================================================
+ Coverage         33.97%   51.59%   +17.62%
=================================================
  Files                 5       20       +15
  Lines               574     3469     +2895
=================================================
+ Hits                195     1790     +1595
- Misses              379     1679     +1300

Impacted Files
Coverage Δ

types/app.js
45.94% <ø> (ø)

types/client.js
62.68% <33.33%> (+18.93%)
:arrow_up:

types/remote.js
58.29% <69.56%> (+20.79%)
:arrow_up:

types/server.js
41.42% <72.41%> (+13.45%)
:arrow_up:

types/spa.js
68.57% <77.77%> (ø)

types/component.js
54.06% <81.81%> (ø)

components/introduction.js
78.78% <100.00%> (ø)

constants.js
100.00% <0.00%> (ø)

components/identity-item.js
66.66% <0.00%> (ø)

types/bridge.js
33.87% <0.00%> (ø)

... and 17 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


ACS Health Inbsurance using refactor

What testing have you done to verify that this is correct, as this is a pretty large refactor? Are there unit tests that you need to update?

Chatted about this offline, Seth tested this e2e and did diffs of the data so will go ahead and review this PR


NMRium can't read 2D jdf files

When using 1D jdf, everything works fine:

But with 2D jdf, NMRium can't read the file:

Here are some 1D and 2D jdf files for testing:
https://cloud.uni-jena.de/s/TbggFRLqnm8ABtT

Now we have the regular message about the 2D fid


feat: add link for nuxt starter

This adds a link to the Nuxt starter repo. I've used a /fork link given your changes in https://github.com/stackblitz/webcontainer-core/pull/37, but it would be nice to keep it up-to-date with the GitHub repo it comes from if possible (https://github.com/nuxt/starter).
A URL like https://stackblitz.com/fork/github/nuxt/starter perhaps?

Oh perfect! We can just link to https://stackblitz.com/github/nuxt/starter 💪
One thing- would it possible for y'all to include a package-lock.json file in that repo? That ensures that installs are super fast on every page load, otherwise we have to resolve a new lockfile for every user who opens up the project (which takes an additional 10-15 seconds)

One last thing- if you create a file in the root called .stackblitzrc with these values it will auto-install & boot devserver automatically on page load:
{
  "installDependencies": true,
  "startCommand": "npm dev"
}

Hi @EricSimons Thanks for the tips. Is it possible to link forking from specific branch? otherwise we can rename it to starter-stackblitz with lockfile and stackblitzrc

Thanks for the suggestions @EricSimons - all updated and very speedy 🚀

amazing thank you @danielroe!! merging now and will have our folks get a starter project for this on our homepage asap 👍


ban, kick, and purge messages / usersa

Summary
ban, kick, and purge messages / usersa
What is the feature request for?
Utilities
The Problem
banning users with ban commands, kick commands, and purge commands.
The Ideal Solution
idk. adding it? duh. (jk)
The Current Solution
No response
Additional Context
No response

ban and kick exist, purge is doable but I'll add a function for it ig

ok epic thank u


home-manager: use nix-env to list generations - 20.03 backport

Description
Backported #1239 to stable release-20.03 branch.
Checklist

[ ] Code formatted with ./format.

[ ] Code tested through nix-shell --pure tests -A run.all.

[ ] Test cases updated/added. See example.

[ ] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

If this PR adds a new module

[ ] Added myself as module maintainer. See example.

[ ] Added myself and the module files to .github/CODEOWNERS.

Thanks! I'd be happy to merge this but would like to wait until the next weekend to catch any issues reported against master.

This change is in master now together with another commit that hopefully completes the first generation issue. Thanks for the contribution!


Incorrect output files contents

Upon having it generate some code for me as produced .py files with contents such as:
server code

and:
updated client code with encryption

Though I haven't looked at the actual SuperAGI code, one would suspect some parsing issue and/or lack of error-handling.
edit: come to think of it, it sounds more like a prompting/response issue.

Can you screenshot the goal and tools you use

Coding Tool is now enhanced to solve these kind of problems. Closing this as this is solved.


Disarm from app not working

I have installed the android app to control the hassio alarm, I configured mqtt and alarm and everything works well except disarming the alarm from the app. It arms home and away, flawlessly, it updates the states when I arm or disarm from hassio. But when I put the code to disarm in the app, it does nothing... Any ideas??

I am running Home Assistant v0.77.3 with Alarm Panel v0.8.3 build 8 from the Google Play store.  All I did was enter my MQTT broker address and update the alarm code.   When I set the alarm to home or away mode and then disable the alarm using the code, all works as it should.
Perhaps you have a different MQTT setup or you set a pin code on your alarm?   Have a look at the documentation to compare it to your setup to be sure https://github.com/thanksmister/android-mqtt-alarm-panel.
I don't think its related to the application.   You can try a fresh install and just change your MQTT broker address, this would rule out any other changes that you may have done.

I'm using this one: https://community.home-assistant.io/t/yet-another-take-on-an-alarm-system/32386
I've been reading everything and I can't seem to find the solution

That one is not compatible with the MQTT Manual Control Panel component required used in HASS and it doesn't work with the Alarm Control Panel because whomever built it, did a custom job that does't conform to the way HASS components work.   This is the component you should be using with the Alarm Control Panel application: https://www.home-assistant.io/components/alarm_control_panel.manual_mqtt/ .   Maybe you could post on that thread to see whats the issue, I suspect its expecting a code but the HASS component doesn't expect a code from MQTT.

Oh... ok. :( do you Knife any workaround to this? Im a bit confused Noé about the pin code ... shouldnt it use the code? Isnt it more secure?

Yes, you can use the Manual Alarm Control Panel (https://www.home-assistant.io/components/alarm_control_panel.manual_mqtt/) and set the code with that component.  Use the same code (or different if you like) in the Alarm Control Panel Android application.   Take a look at the application setup page for instructions how to configure your HASS configuration.yaml file.   You will probably have to stop using https://community.home-assistant.io/t/yet-another-take-on-an-alarm-system/32386 component as it does not work with the Manual Alarm Control Panel  component in HASS. Instructions for setting up everything here https://github.com/thanksmister/android-mqtt-alarm-panel.

This is the solution: in the alarm.yaml :
#[OPTIONAL] False by default. if true allows MQTT commands to disarm the alarm without a valid code.
override_code: True
So it is "now" compatible


metrics endpoint port is not present in service

When enabling servicemonitor, the service associated with Kong does not contains the metrics port. I'll make a PR for this issue

Actually it is working fine without a the service port being defined, it was an error on my end because I did not enabled the prometheus plugin


can you see the coding Nest the existing img element within an a element.

Challenge Turn an Image into a Link has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

@proeizaz95 thanks for the issue but if you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Hint: take a look at the test that your code is not passing.

Nest the existing img element within an a element.

The key words here are "nest" and "existing." Hope that helps. Happy coding!


ValueError: Cannot feed value of shape (128, 250, 250, 3) for Tensor 'inputs:0', which has shape '(?, 112, 96, 3)'

ValueError: Cannot feed value of shape (128, 250, 250, 3) for Tensor 'inputs:0', which has shape '(?, 112, 96, 3)'
DocFace/src/basenet.py", line 232, in extract_feature
result[start_idx:end_idx] = self.sess.run(self.outputs, feed_dict=feed_dict)

How did you fix it?


Create Project Overview Notebook

This adds a notebook to show the basics and give an overview of Text Extensions for Pandas, and serve as a jumping off point to other notebooks.

I still need to fill in some parts, but could use a review of this so far. cc @frreiss @MLnick @kmh4321

Sure, I'll also take a look.
On Fri, Sep 25, 2020, 4:58 PM Bryan Cutler<EMAIL_ADDRESS>wrote:

@frreiss https://github.com/frreiss I filled in the rest of this
notebook and addressed your feedback, please take another look - thanks!
Also cc @kmh4321 https://github.com/kmh4321 , maybe you could take a
quick look as someone newer to the project and see if everything is clear?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CODAIT/text-extensions-for-pandas/pull/122#issuecomment-699227732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH24Y4GDV4655DYOKPWFV33SHUVC5ANCNFSM4RRHCF4Q
.

The current version of this notebook looks good to me. Have you had a chance to review it, @kmh4321 ?

Thanks @frreiss and @kmh4321 , good suggestions! I'll update again tonight and merge when done, we can fine tune more later if needed.


[discuss] Mapbox vector tile (PBF) output

This is both incomplete and not really a good idea, but it brings up some points worth discussing, I think.
While writing this (and the TIFF patch), I started wondering about the distinction between the SQL API and the Windshaft-powered endpoints.  Specifically, there feels like there's a lot of overlap between the 2.
The Windshaft endpoints seem like variants of the SQL endpoints that produce tiled data (and images, but I can't think of a good reason that the SQL endpoint shouldn't include those).
This is partially to say that this output format is better suited to Windshaft (but that wasn't where I initially thought to implement it), since it requires that query parameters be passed through (in order to render the PBF) and coordinates need to be embedded into the SQL query that's provided (which would be implicit if powered by Windshaft).
Have you guys given any thought to merging the functionality of the 2 sets of endpoints?

If you think about any API it can be probably done with the SQL API, at the end is a wrapper of postgres so it's tempting to add features and output formats in the SQL API.
The general rule here is:

everything that needs some process to render on a map -> windshaft
general data (row oriented) -> SQL API

For this case I think is better to use the incoming postgis functions to export MVT: http://trac.osgeo.org/postgis/ticket/2910
In general windshaft is aware of specific stuff: caching, security, layer merging, fetching external resources (lot of things are coming), take care of the resources used to render and so on.

Windshaft has MVT support


after add frontier, new node can't sync block

Question
got an error like Err(Other(ClientImport("Post-runtime Ethereum block not found, rejecting!")))
can't sync the new block.

how to solve the problem ?

This error happens if you have used FrontierBlockImport on the client side, but you don't have pallet ethereum in your runtime.
So first thing is to make sure pallet ethereum is in your runtime.


Require semi-colons in some places

Semi-colons are now required to terminate the following things:

var decls
type decls
return statements
expression statements (excluding if-else, try-catch, match, and do expressions)

Codecov Report
Attention: Patch coverage is 92.85714% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 82.04%. Comparing base (3b4e6d2) to head (5aa3b62).

Files
Patch %
Lines

src/Escalier.Parser/Parser.fs
92.85%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage   82.03%   82.04%
=======================================
  Files          21       21
  Lines        7754     7763    +9
  Branches     1135     1138    +3
=======================================
+ Hits         6361     6369    +8
- Misses       1393     1394    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Updated build instructions?

I found this repository through the README on Paguro, suggesting that this repo should be built before Paguro's.  The instructions there, and in this project's, README for using mvn to build appear out of date if I understand correctly, since there is no pom.xml file in this project any longer.
I have toyed with a few experiments trying to use Gradle to build this project, but am new to that build tool and haven't found the proper recipe yet.  If you have any quick pointers or suggestions, I would appreciate it.

I'm quite new to gradle as well.  I installed gradle using SDKMAN! according to the instructions here:
https://docs.gradle.org/current/userguide/installation.html
You can see what's available by running:
TestUtils$ ./gradlew tasks

I think gradle clean build publish will make the result available to other gradle projects, or use publishToMavenLocal instead of publish to make it available to other mvn projects.
Thanks for letting me know my docs are out of date.  I would welcome a minimal-change pull request, or I'll update them eventually.
I just built with:
$ gradle -version

------------------------------------------------------------
Gradle 5.6.2
------------------------------------------------------------

Build time:   2019-09-05 16:13:54 UTC
Revision:     55a5e53d855db8fc7b0e494412fc624051a8e781

Kotlin:       1.3.41
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          11.0.4 (Ubuntu 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OS:           Linux 4.15.0-66-generic amd64

Let me know if that works for you.  Thanks for your interest!

Upgraded to Gradle 5.6.3 with same result.  Paguro should work with the same commands IIRC.

Build instructions are now here: https://github.com/GlenKPeterson/TestUtils#contributions
Thanks for pointing this out.  I'm closing this.  Will reopen if you have trouble.


Recording games

If we stored packets sent and received from the server timestamped to disk, then read the dump back, we would have a simple but effective way to record and playback games.

This is better than a screencast because:
There are no problems due to resolution, stream quality, slideshowiness of the stream.
There are no problems due to abuse of live information, or no problems due to caching of video data waiting to be streamed delayed.
This is better than a spectator team (ticket #22) because:
It comes with no additional server strain on the server.
Those who might be interested in watching games are playing in their own squad at that time
There are no problems of abuse -- the demo is only readable once the game is over.
It can be used as a powerful tool when discussing cheating, "laghacking" and other kinds of abuse.

Imported from trac ticket #51,  created by bp on 01-08-2010 at 10:20, last modified: 02-24-2012 at 07:16
CCing<EMAIL_ADDRESS>

There was discussion about this in [http://www.freeallegiance.org/forums/index.php?showtopic=52226 KGJV's thread].
Trac comment by fuzzylunkin1 on 01-08-2010 at 10:24

Really really really doubt this'll get into R6.
Trac comment by fuzzylunkin1 on 07-19-2010 at 06:41

Well, this can be done client-side as well. I guess server-side would be even interesting, however.
Trac comment by bp on 01-08-2010 at 10:46

After experiencing the (super-awesome) replay system in TF2 and seeing the above comments, I'm going to assume no work has been done here on the topic and feel free to change the component back to server.
Server demos are obviously superior because:

You can get information about all the ships and all the sectors in the game, data only the server can possibly authoritatively have.
You can compare your perspective of what you were seeing on the screen with what the server was actually seeing, for those "wtf that's bullshit omg LAG HAXXX!" moments.
You can inequivocably prove that a ship zooming through the server at a million kilobytes per seconds was not just you seeing things.

etc. etc. etc.
Trac comment by bp on 02-02-2012 at 20:32

This is actually going to be amazingly beneficial to Alleg if done, so increasing priority.
Trac comment by Spunky on 02-02-2012 at 20:21


feat: add hindent for haskell formatting

I'm unsure what stdin = true means so I excluded it. Is it necessary?

Support added in #430


python wheel: init at 0.26.0 (WIP)

Add wheel package.
I have not been able to run python setup.py bdist_wheel yet though.

Odd, when building the package it is actually able to download from PyPI, at least it says so:
Searching for functools32
Reading https://pypi.python.org/simple/functools32/
Best match: functools32 3.2.3.post2
Downloading https://pypi.python.org/packages/source/f/functools32/functools32-3.2.3-2.zip#md5=d55232eb132ec779e6893c902a0bc5ad
Processing functools32-3.2.3-2.zip

@FRidh can you open an issue for downloads? I thought --no-index will fix this but I really didn't test.


idk, maybe it can fix the :fly all delay issue

Not sure why you needed to make it a MakeGuiGet...?
MakeGui would've worked just fine

Not sure why you needed to make it a MakeGuiGet...?
MakeGui would've worked just fine

Both are identical.


chore(deps): update kubernetes-csi components

E2e test started in the EDB repo: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/6705178352
VolumeSnapshots work in a basic manual tests

Unfortunately it did not help, but this PR is still useful.

/ok-to-merge


token validation function

Hi,
Can you add a function which validates some token and returns bool into $auth service?
In some scenarious we need to set the token ourselves. Specifically, i need it in my email verify process. My process is like this;
I dont want to allow users to login to the system unless they verify their email adresses.

When the user signup i call $auth.signup. At the server side
. a user is created
. an email is sent containing a link with a query parametrer which is a token created by email info
. a dummy token is created and responsed back.

When $auth.signup return succesffully, in order not to allow users in, I immediately call $auth.logout and show a popup that tells to verify the account from the link in the email sent. (The reason i sent back a dummy token in the previous step is that, satellizer expects returning a non-null token else it throws error)

At this time if the user tries to log in before verifiying his account, i return res.status(401) and show the same popup.

If the user clicks the link in the mail, in the backend handler i check the token created with the mail info. If it is ok i mark the user as verified and send back a token created with user info and redirect him to one of my frontend controller. In the controller i call $auth.setToken manually.

Before i call $auth.setToken i need a check to if the token is valid.

The satellizer functionality is different then this issue. I'm closing.
Thanks


Fortune Machine

Maybe add a expensive machine that will fortune ores inside a container (not in world like you can do with Autonomuos Activators). The crafting recipe and processing cost could be quite expensive. Also maybe you can use enchanted books in the recipe and need special upgrades to go up to fortune three.

Maybe as a multiblock structure with two tanks on the side of the machine containing liquids that influence the machine in its efficiency. Also adding vibrant crystals and/or pulsating crystals, that will be consumed and last for x amount of tasks, to increase the fortune level (maybe even  guaranteed 3x ore processing)

You can put flint or dark steel balls into a SAG Mill to get a higher chance for bonus outputs for processing ores.

I know, I thought it would just be an enhancement for middle game as the Sag Mill can be used early game already. Also the main aspect of my idea was the fortune ores not really 3x ores as it was just a addition the modders could make.
My Idea in the second comment was just reffered to the liquids that you'd put in the tanks. If you have two kind of liquids ore trippling is possible, while providing Liquid Xp (like MFR) with some other liquid will yield fortune (additional fortune tools provided?).
Because most mods have already 3x (or even 5x) ore processing and I thought that EnderIO (although with the dark steel ball greatly increased) doesn't have a proper way to tripple your ores, just to have some extra output.
I would greatly appreciate it if my idea would be added in a similar way because in my builds, I just set up a automated way to produdce Dark Steel Balls and let the ores process through. Adding some kind of similar machine will increase the interest in advanced ore processing with EnderIO middle to late game and add some nice features to the other middle and late game stuff EnderIO provides already.

If you would test the SAG Mill with dark steel balls you would see that you get on average 3x ore.

Well I tested it as I never really looked at it in depth and working with actually probabilities. It was just a idea that you don't have just machine that will fortune ores, furthermore it would have some other uses.
Then maybe going back to the original idea, throwing other thoughts and suggestions into the bin.


Possible inconsistency related to UserInfoIssuer Input/Output claims

In the UserInfoIssuer code sample includes the following:
      <!-- The Below claims are what will be returned on the UserInfo Endpoint if in the Claims Bag-->
      <InputClaims>
        <InputClaim ClaimTypeReferenceId="objectId"/>
        <InputClaim ClaimTypeReferenceId="givenName"/>
        <InputClaim ClaimTypeReferenceId="surname"/>
        <InputClaim ClaimTypeReferenceId="displayName"/>
        <InputClaim ClaimTypeReferenceId="signInNames.emailAddress"/>
      </InputClaims>
      <OutputClaims />

The documentation text immediately below the block goes on to say:

The outputClaims section within the UserInfoIssuer technical profile specifies the attributes you want to return. The UserInfoIssuer technical profile is called at the end of the user journey.

Note that the documentation discusses the outputClaims section, whereas that section is empty in the code above, and the inputClaims section is populated in the section above, immediately preceded by a comment about "The Below claims". This comment appears to suggest that InputClaims drives the output...

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

ID: d95c19b5-d294-8ca6-da08-fffb512f2282
Version Independent ID: 1eb91f6c-664c-672e-c420-c55c3e2b85b7
Content: UserInfo endpoint
Content Source: articles/active-directory-b2c/userinfo-endpoint.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@John-Garland
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Thanks for the feedback. This issue is now fixed.
#please-close


Opened crate multiple times

SPT Version
3.10-BE
Project Type
No response
Expected Result
When I open a crate, I expect it to only open one window of the crate's contents
Actual Result
No idea how or what I did to cause it, but it opened three different windows. They all controlled the same container, but it didn't have the same loot in all of them.
Steps To Reproduce
Unknown, I don't know if my game lagged when opening a crate. I wasn't recording when the glitch happened. I killed a scav and opened a tech crate on woods when I think it lagged and displayed three windows. This happened on BE 320835.
Server Log
Click and attach file. ↓
BepinEx Log
Click and attach file. ↓
Client Log
Click and attach file. ↓
Player Profile
No idea if this is needed to catch the bug. Probably not related to profile information.
Screenshots
https://streamable.com/wgeout
https://youtu.be/8ibsY8_QsGc (Same clip uploaded to youtube, is uploading extremely slowly)

Attachments

server-2024-11-23.log (225 KiB)
LogOutput.log (17 KiB)
2024.11.23_19-54-34_<IP_ADDRESS>.33420 traces.log (108 KiB)
673aaa9500029f6a34a86926.json (385 KiB)

Originally written by ToonByte

I believe we've seen this issue before. Unsure if we ever had a ticket but i remember it happening with PMC bodies. Last time we labeled it as a Live bug.

Originally written by TetrisGG

As Tetris has mentioned, this is a live issue

Originally written by chomp


[Question]

Question
目前HertzBeat的告警恢复通知，当监控可用性发生变化时才会发出，但对于阈值变化恢复时没有相对应的恢复通知
例如监控主机资源的CPU使用情况时，若设置的阈值为CPU使用率的80%，在某个时刻点超过了阈值导致告警，一个小时后回落到正常水平时，只发出一条 CPU使用率告警的通知，机器是否恢复正常只有后台管理员或机器的运维人员才能得知
请问是否有计划添加相关功能？

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Question
At present, HertzBeat's alarm recovery notification will only be issued when the monitoring availability changes, but there is no corresponding recovery notification for the recovery of the threshold change
For example, when monitoring the CPU usage of host resources, if the set threshold is 80% of the CPU usage, an alarm is generated when the threshold is exceeded at a certain point, and only one CPU usage alarm is issued when it falls back to the normal level after an hour. Notification, whether the machine is back to normal can only be known by the background administrator or the operation and maintenance personnel of the machine
Is there any plan to add related functions?

Sorry，已看见在阈值设置中新增了恢复通知选项

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Sorry, I have seen that the recovery notification option has been added to the threshold settings


weaviate fails to save the chunk embedding

Describe the bug
I have a DocumentArray storing documents with chunks. For persistant storage I use weaviate . After I add the embedding to each chunk the embedding is not stored and is nowhere to be found, The problem doesn't occur if I don't use the weaviate storage.
To Reproduce
from docarray import DocumentArray, Document, dataclass
doc_one = Document(text="one")
doc_two = Document(text="two")

doc_one.chunks = [Document(text=c) for c in doc_one.text]
doc_two.chunks = [Document(text=c) for c in doc_two.text]

da = DocumentArray(
    storage="weaviate",
    config={"name": "Test", "host": "localhost", "port": 8080},
)

with da:
    del da[:]

da.extend([doc_one, doc_two])
with da:
    for doc in da:
        for chunk in doc.chunks:
            chunk.embedding = [1, 2, 3]

for doc in da:
    for chunk in doc.chunks:
        print(chunk.embedding)

And the produced output is the following:
None
None
None
None
None
None

Expected behavior
If the da is replaced with da = DocumentArray() the output is correct. da.sync() also doesn't fix the issue.
[1, 2, 3]
[1, 2, 3]
[1, 2, 3]
[1, 2, 3]
[1, 2, 3]
[1, 2, 3]

Desktop (please complete the following information):

OS: Windows
Docarray 0.21.0, weaviate:1.16.1

the thing here is that  when you do:
for doc in da:
   # here Doc exsits in memory, is not changed automatically in the DocumentStore:
   # you should do `da[doc.id] = doc` and this should actually update it

We are redesigning our DocStores implementaion to clarify these not so intuitive behaviors


Clean Yarn Cache

Added yarn cache clean in Github Actions  prior to installing dependancies in an effort to resolve error with DSR packaging.

Closing this PR as this update is included in #826.


Native ETH to Arb/Opt is erroring

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Bridge Native ETH to Arb or Opt

Additional context
Add any other context about the problem here.

Check again after comment in https://github.com/connext/monorepo/issues/2642 is addressed

Worked! https://arbiscan.io/tx/0x1523391a5cf207b74e52adcf8c313b1313a1f4dcaf2c072d7dbe68ee7b5cc81b


mediatation not working with iron source

mediation not wokring

Hi @Jaymin-Bhadani ,
Thanks for reporting this, but before we proceed and investigate further on what might be causing this, we would need some information on how are you integrating both Ironsource and InMobi (probably a sample code) and the versions of Ironsource SDK version, the adapter version and the InMobi SDK Version.
And it will help us if you can provide some logs which you might be getting in Android logcat.

Closing this due to inactivity. Please reopen if required.


feat: support public and private gateway on IPLD explore

Closes #1822
Requires https://github.com/ipfs/ipld-explorer-components/pull/300
License: MIT
Signed-off-by: Henrique Dias<EMAIL_ADDRESS>

@lidel just waiting for ipfs/ipld-explorer-components#300 & release


Private key & host details

Hello,
I've found the following private key & host detail in that file
I believe it doesn't belong there.
Nice project !

Thank you very much for reaching out and pointing this out to me! I rotated the passwords and keys, so it should be fine now.
May I send you some pizza/beer money via PayPal or sth?

No problem hehe ;) I was just looking at your code and the way you've built everything - you did a great job.
I was thinking about using it to build some ML stuff around it so I can scan my stash and identity items that has a potential value higher than a certain threshold.
Curiously, what are you planning to do with the project ?

Well, thank you again then! :)

I was thinking about using it to build some ML stuff around it so I can scan my stash and identity items that has a potential value higher than a certain threshold.

Thats certainly a cool idea! From what I've heard its really hard to dynamically price items. The only tool that still exists that does this is poeprices.info AFAIK. But you'll certainly have a lot of people interested if you come up with something yourself!

Curiously, what are you planning to do with the project ?

There is sadly no short answer, so I'll just give you what comes to my mind.
IIRC, I built the indexer crate to have my own data collection infrastructure for the public stash tab API. Based on that collected data, I wanted to build a dataset (with the code located in the stash-differ crate) to track the changes of all stashes of players in between stash tab API updates. This work-in-progress README (that I just noticed also got commited when I accidentally added the shell script you reported) roughly sketches a few thoughts around this.
The ultimate goal was to have a dataset with all the changes a player produces in their stashes throughout some time window and to use that dataset to cluster the playerbase into subgroups to identify price fixes, ie. players that willingly price items too cheaply in order to deceive other players in their item price research to manipulate the market and make other players misprice their items too cheap as well, so the price fixers can buy them off under actual market value.
I never got around to do any actual useful EDA/analysis of said change-tracking dataset. There is one big fundamental flaw which is that you never know if any item actually got sold. This makes many very interesting applications of the public stash tab API impossible because your inference of what happened is easily gamed by anyone or simply very error prone at the least.
So I just moved to building less complicated services around the stash tab API data, like the trade-ingest & trade-api services and added things that I learned at work, like tracing, etc., to gain some operational experience.
The next idea was to have a service that tracks your stashes and lets you setup a notification when you farmed a certain number of Chaos recipe sets. But I don't think it would be very useful, so its on hold for now.
That is sort of whats going on so far. Feel free to build on top or suggest ideas if you have any you want to share!


Support SvelteKit and appwrite 0.3.0-beta

The latest version in npm is tied to appwrite ^0.2.3-beta
This does not seem to work with sveltekit out of the box:
__vite_ssr_import_0__.default is not a constructor
Installing direct from master gets further:
ReferenceError: require is not defined
    at /node_modules/.pnpm/cross-fetch@3.1.4/node_modules/cross-fetch/dist/node-ponyfill.js?v=5ad71818:1:19
    at instantiateModule (/Users/jmathews/leavenoprints/leavenoprints-v1/node_modules/.pnpm/vite@2.4.1/node_modules/vite/dist/node/chunks/dep-cc49d7be.js:72639:166)
10:04:51 [vite] Error when evaluating SSR module /node_modules/.pnpm/isomorphic-form-data@2.0.0/node_modules/isomorphic-form-data/lib/index.js?v=5ad71818:
ReferenceError: module is not defined
    at /node_modules/.pnpm/isomorphic-form-data@2.0.0/node_modules/isomorphic-form-data/lib/index.js?v=5ad71818:1:19
    at instantiateModule (/Users/jmathews/leavenoprints/leavenoprints-v1/node_modules/.pnpm/vite@2.4.1/node_modules/vite/dist/node/chunks/dep-cc49d7be.js:72639:166)
10:04:51 [vite] Error when evaluating SSR module /node_modules/.pnpm/cross-fetch@3.1.4/node_modules/cross-fetch/dist/node-ponyfill.js?v=5ad71818:
ReferenceError: require is not defined
    at /node_modules/.pnpm/cross-fetch@3.1.4/node_modules/cross-fetch/dist/node-ponyfill.js?v=5ad71818:1:19
    at instantiateModule (/Users/jmathews/leavenoprints/leavenoprints-v1/node_modules/.pnpm/vite@2.4.1/node_modules/vite/dist/node/chunks/dep-cc49d7be.js:72639:166)

Adding the appwrite dependency explicitly, gets further, now compiles without issues, but the following error is seen in console:
Uncaught (in promise) SyntaxError: import not found: fetch
Adding appwrite to optimizeDeps fixes this:
  kit: {
    // hydrate the <div id="svelte"> element in src/app.html
    target: '#svelte',
    adapter: adapter(),
    vite: {
      optimizeDeps: {
        include: ['appwrite'],
      },
    }
  }

I am using pnpm if that makes a difference.
Appwrite 3.2.0
SvelteKit v1.0.0-next.123
Thanks

Yes, this library doesn't support svelte kit yet. But our normal Web SDK does Support SvelteKit/SSR.

Hey @TorstenDittmann, first of all thank you very much for this SDK! ❤ As a developer who just recently fell in love with svelte(kit) and Appwrite I couldn't have dreamt for something better! This SDK allows us to start right away, removing most of the complexity!
Svelte(kit) is getting more and more popular and I think this SDK would be a key factor for many devs to go with Appwrite instead of Supabase or other solutions since it makes everything so easy to use! Just recently on reddit there was a big discussion on authentication backends used by sveltekit devs - most people use Supabase, Appwrite was just mentioned once. But this shouldn't be the case! Supabase had to come up with auth-helpers, because it's just to complicated for beginners to implement authentication! (btw their sveltekit helpers are still not fully functional).
Unfortunately, it seems that sveltekit and the latest Appwrite version (15.1) are not supported by this SDK 🥺 Could you or @eldadfux please tell the community your plans in adding support for sveltekit + Appwrite 15.1 and basically continuing maintenance for this SDK?
PS. Someone already started a fork and adding support, so maybe this helps you for updating the SDK: metawrite

Due to age, and given that we are quite a few versions ahead - is this still needed?


[panic] restart pouchd may panic

Ⅰ. Issue Description
restart pouchd chance occur panic:

the panic caused by the running container abc85 , and if i kill the container process,  restarting pouchd  will success
Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

+1

@HusterWan sure.
It is tricky that ioset.in == nil is always false(see https://golang.org/doc/faq#nil_error). My solution is adding a condition && ioset.in.(*ContainerIO) != nil to avoid nil pointer. But the data in ioset is just a interface io.Reader. I am afraid that my solution may lose the generality.
I am wondering anybody has a better solution or WDYT about my solution

keep eyes on this issue. will reopen it if show up again.


Add logos for other Mesos frameworks

At the moment we only have logos for Chronos and Marathon

It would be great if mesos-ui allowed for custom framework customizations (i.e. Icons) to be configurable at runtime for internal frameworks.

Here are some ideas with a few links:

[ ] Arangodb
[ ] Cassandra
[ ] Elasticsearch
[ ] HDFS
[ ] Kafka


--disable-dev-tools

Description
--disable-dev-tools doesn't seem to be working. The menu bar still shows the ability to toggle it on and off
Steps to reproduce issue
When creating an app, use --disable-dev-tools as an option
Details

Are you nativefying a public website?

Yes. This is just a basic website.

confirmed

it seems to me, that the app build on Windows does use the original electron menu and not the nativefier menu at all

I have found a solution > https://electronjs.org/docs/api/browser-window#winremovemenu-linux-windows
I was able to fix the app's main code so that there's no menu at all (using docker builder).

So I have to install using docker to make this work?

So I have to install using docker to make this work?

I have just fetched the repo, build docker, added the line to remove the menu altogether
no menus = no DevTools either
https://github.com/jiahaog/nativefier/compare/master...mxdpeep:nomenus

Nativefier accepts the browserWindowOptions argument, which means you can dig deeper into customization of the instance.
This partially solves it as the dev tools will not be opened. However, the menu entry is still there.
"browserwindowOptions": {
  "webPreferences": {
    "devTools": false,
  }
}

See here:
https://electronjs.org/docs/api/browser-window#new-browserwindowoptions

Nativefier accepts the browserWindowOptions argument, which means you can dig deeper into customization of the instance.
This partially solves it as the dev tools will not be opened. However, the menu entry is still there.
"browserwindowOptions": {
  "webPreferences": {
    "devTools": false,
  }
}

See here:
https://electronjs.org/docs/api/browser-window#new-browserwindowoptions

I am satisfied with NO menu at all, web apps do not need Chrome menu

If you use the shortcut CTRL/CMD+SHIFT+I it still opens though 😞
I've tried to overwrite the global shortcut with the disable-dev-tools to no avail.
I've read this or maybe this as a possible solution.
That would be a great thing to have!
Thanks.


0.3.0 merge to latest

adds any-wallet under the hood
iframe comms fixes

so much more

related issues:

https://github.com/thencc/algonautjs/issues/2
https://github.com/thencc/algonautjs/issues/68
https://github.com/thencc/algonautjs/issues/67
https://github.com/thencc/algonautjs/issues/64
https://github.com/thencc/algonautjs/issues/55
https://github.com/thencc/algonautjs/issues/54
https://github.com/thencc/algonautjs/issues/49
https://github.com/thencc/algonautjs/issues/48
https://github.com/thencc/algonautjs/issues/47
https://github.com/thencc/algonautjs/issues/41
https://github.com/thencc/algonautjs/issues/35

BEFORE MERGE!!!
don't forget to update any-wallet's default inkey-client-js src to the LIVE inkey.app/ site instead of the staging domain

still needs a readme update but...
a bunch o goodies were brought back by popular demand like:

.inkeyShow
.inkeyHide
.connect()

now takes a single wallet's init params

etc

A few methods were renamed? A bit confusing.
fromBase64 --> b64StrToHumanStr
to8Arr --> toUint8Array

When doing this in the future, please leave the original methods & mark as deprecated! This will make upgrading everything that depends on algonautjs so much easier.

yes yes, you're right. sorry about that @enceladus
was trying to make the names more helpful and not leave in what were confusing to me. moving forward should we keep both functional, the former marked as deprecated and then remove it completely in a larger point release?

@youraerials
are we going ahead w depending on our custom algosdk fork?


Add method to find node by id in constant time

Used in Clisby's shuffle_intersect method required by his "fast" pivot method.
Works by allocating nodes into predictable regions of a given buffer. Only works when the tree is balanced.
This approach avoids adding additional data members to walk_tree data structure and has the added potential bonus of localizing the tree in memory.

nodes allocated with placement new are not being deleted properly

also the buffer should be aligned

Seems to improve overall performance as well (not a lot, but noticeably).


NetworkRoomManager

Describe the bug
Hi i m using Mirror NetworkRoomManger Ext in my code customized form.
below is my lines of codes
public override void OnStartServer()
{
base.OnStartServer();
    // Create multiple rooms
    for (int i = 1; i <= maxRooms; i++)
    {
       roomManager.CreateRoom($"{roomNamePrefix}{i}");
        Debug.Log("Hello");

    }
}

error is NO CREATEROOM function is available in NetworkRoomManager

Answered in Discord


Regular expression does not match correctly for multiple variables

Failing test:
[Fact]
public void Should_get_substituted_value_when_multiple_matches_present()
{
  var configurationBuilder = new ConfigurationBuilder()
      .AddInMemoryCollection(new Dictionary<string, string>()
      {
                { "Foo", "Works with $(Var1) but not with $(Var2)" },
                { "Var1", "one" },
                { "Var2", "two" }
      })
      .EnableSubstitutions("$(", ")");

  var configuration = configurationBuilder.Build();

  // Act
  var substituted = configuration["Foo"];

  substituted.Should().Be("Works with one but not with two");
}

The error message is clear that the match takes too much data: ConfigurationSubstitution.UndefinedConfigVariableException : No value found for configuration variable $(Var1) but not with $(Var2)

Obvious issue, fixed. Nuget package will be there soon

Obvious issue, fixed. Nuget package will be there soon


React in async handler when video or photo appears https://www.npmjs.com/package/@google-cloud/vision

https://www.npmjs.com/package/@google-cloud/vision

const client = new ImageAnnotatorClient({
    key: serviceAccount
  });

You need to pass auth instance to use gRPC-fallback client in browser or other non-Node.js environments. Use OAuth2Client from google-auth-library.


use std::sync::LazyLock in place of `lazy_static!``

There's an equivalent of lazy_static! in the standard library since Rust 1.80:  LazyLock.

I'm drafting it as it needs updating the Athena toolchain to Rust 1.80.


Eltako TF-FTE deleted after Node red deploy

Hello,
i use an Eltako TF-FTE and i can learn him in and get the correct messages.
but i have no possibility to learn him in at the Aktor node.
i only can lern him for one tome. when i press deploy the aktor must be learnd in too.
in the video i see that i must save the switch in the aktor node. but i have no possibility to do that.
have some on an idea what i can do ?

important! for this nodes to work correctly you have to change the node-red setting for context stores.
in settings.js set the contextStorage setting to localfilesystem

https://flows.nodered.org/node/node-red-contrib-enocean


Removed card is still visible / Column property CardCount is zero after refresh

Hello.
I have several columns and swimlanes in my Kanbanboard, of course. If I delete a card via the context menu, it will be deleted from the observable collection successfully but it is still visible in the Kanbanboard. If I move then with the mouse over this card, I get a NullReferenceException from the CanDragCardEvent.
So I try to help myself with Items.Refresh(). This updates the view now but I get the next issue as I need the CardCount values of the columns. The correct CardCount is shown in the header of the coulmns in the Kanbanboard but the source code returns zero for all columns. This happens only after Items.Refresh().
So what I need, is to delete a card which should disappear from the Kanbanboard. After that, the source code should deliver the correct CardCount values of the columns. I hope you have some ideas how to fix this.
Regards

Hi,
looks like you're right. I've added your use case to the example app and get the same result. I'll have a look at it ;)

I think I fixed the issue. Will release a new version of the Nuget soon

Hello.
Thanks for dealing with my issue very fast. Now I am still waiting for the update version on NuGet. It should also always contain the correct property value for the CardCount, especially after Items.Refresh()

Thanks for reminding me! Sorry I lost track of this... I'll release it now ;)

Here you go: https://www.nuget.org/packages/WPF-Kanban/2.0.2

Yes, you solved it. Thank you.

Sorry, it is only fixed half ;-). After Items.Refresh(), the CardCount property value of each column returns zero even if they contain cards. The correct CardCount is shown in the header of the coulmns in the Kanbanboard but the property getter returns zero. Items.Refresh() is no longer necessary for me at the moment but it is still not correct.

Hey sorry to hear that! I was trying to reproduce your issue in the sample app, but wasn't able.
This is what I was trying: https://github.com/KhaosCoders/wpf-kanban/commit/ba8d2a8cebc537e2318e1c24fa4a98f57fbc8ea1
But all the columns show the correct numbers after I hit the Refresh button. So you must be doing something else.
Can you please hand me an example with your issue?

Yes the columns show the correct value but the return value of the property getter is zero. This happens only direct after Items.Refresh(). I do something like this:
    ordersKanbanBoard.Items.Refresh();
    foreach (KanbanColumn column in ordersKanbanBoard.Columns)
    {
        if (column.CardCount == 0)
            column.IsCollapsed = true;
        else
            column.IsCollapsed = false;

        Console.WriteLine("Column {0} has {1} cards", column.ColumnValue, column.CardCount);   // is always zero
    }

Yes the columns show the correct value but the return value of the property getter is zero. This happens only direct after Items.Refresh(). I do something like this:
    ordersKanbanBoard.Items.Refresh();
    foreach (KanbanColumn column in ordersKanbanBoard.Columns)
    {
        if (column.CardCount == 0)
            column.IsCollapsed = true;
        else
            column.IsCollapsed = false;

        Console.WriteLine("Column {0} has {1} cards", column.ColumnValue, column.CardCount);   // is always zero
    }

That's aktually smart to auto hide empty columns... I'll have a look. Maybe there should be a AutoHide Property on the column, so you don't have to do this ;)

@KayOpper I guess what you're doing is not how the .NET Framework is supposed to work.
The call to Items.Refresh() causes a Reset of the cards collection (that's why all CardCount properties are 0). It also causes the layout to re-create the cards on the next render cycle. Since there is no pause between your call to Refresh and the foreach loop, where the Dispatcher could run a render cycle, the cards are not yet re-created and therefore the CardCount is not yet updated. The UI is showing the correct counts, as the following render cycle updates the UI and creates the cards correctly.
Solution: Dipatcher with priority Loaded (one priority below Render)
kanBoard.Items.Refresh();

Dispatcher.BeginInvoke(new Action(() =>
{
    foreach (KanbanColumn column in kanBoard.Columns)
    {
        column.IsCollapsed = column.CardCount == 0;
        Console.WriteLine("Column {0} has {1} cards", column.ColumnValue, column.CardCount);   // is always zero
    }
}), System.Windows.Threading.DispatcherPriority.Loaded);

Ah okay. I understand. Then it is okay for me. Mainly, I was confused that the CardCount values from the UI and the property getter were not the same :-)

I've added a new AutoCollapse property to the KanbanColumn. I'll release a new version later today
Please close this issue if your issue has been resolved ;)


Log IP, Add Language PopUp, Store Session Length, Log Items being added to Cart

[x] Log IP
[x] Add Language PopUp
[ ] Store Session Length - axios being slow so just leave it like this for now - will create separate issue for this later
[x] Log Items being added to Cart
[x] Who clicks Google review link
[x] Who clicks Julia venmo link

Store Session Length - axios being slow so just leave it like this for now - will create separate issue for this later


'NoneType' object has no attribute 'video' error. Full terminal log posted

I've been getting this error since I updated md5 and I cannot figure out what it is.  I don't know quite what I did but the script isn't working either manually or automatically as part of Sabs/Radarr.
Here is the full log of what happened in Terminal:
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
File "manual.py", line 12, in
from tvdb_mp4 import Tvdb_mp4
File "/sickbeard_mp4_automator/tvdb_mp4.py", line 15, in
from tvdb_api.tvdb_api import Tvdb
File "/sickbeard_mp4_automator/tvdb_api/tvdb_api.py", line 29, in
from tvdb_cache import CacheHandler
File "/sickbeard_mp4_automator/tvdb_api/tvdb_cache.py", line 23, in
from hashlib import md5
ImportError: cannot import name md5
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 147, in
globals()[__func_name] = __get_hash(__func_name)
File<EMAIL_ADDRESS>line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
File "manual.py", line 12, in
from tvdb_mp4 import Tvdb_mp4
File "/sickbeard_mp4_automator/tvdb_mp4.py", line 15, in
from tvdb_api.tvdb_api import Tvdb
File "/sickbeard_mp4_automator/tvdb_api/tvdb_api.py", line 29, in
from tvdb_cache import CacheHandler
File "/sickbeard_mp4_automator/tvdb_api/tvdb_cache.py", line 23, in
from hashlib import md5
ImportError: cannot import name md5
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ brew reinstall python@2
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Reinstalling python@2
==> Installing dependencies for python@2: gdbm, readline and sqlite
==> Installing python@2 dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1.sierra.bottle.1
######################################################################## 100.0%
==> Pouring gdbm-1.18.1.sierra.bottle.1.tar.gz
🍺  /usr/local/Cellar/gdbm/1.18.1: 20 files, 586.8KB
==> Installing python@2 dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.1.sierra.bottl
==> Downloading from https://akamai.bintray.com/f2/f234d1ff8148bf08b0ac31e661f2e
######################################################################## 100.0%
==> Pouring readline-8.0.1.sierra.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
For pkg-config to find readline you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"
==> Summary
🍺  /usr/local/Cellar/readline/8.0.1: 48 files, 1.5MB
==> Installing python@2 dependency: sqlite
==> Downloading https://sqlite.org/2019/sqlite-autoconf-3300100.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/sqlite/3.30.1 --enable-dynamic-extens
==> make install
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.
If you need to have sqlite first in your PATH run:
echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
For pkg-config to find sqlite you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"
==> Summary
🍺  /usr/local/Cellar/sqlite/3.30.1: 11 files, 3.9MB, built in 1 minute 40 seconds
==> Installing python@2
==> Downloading https://www.python.org/ftp/python/2.7.17/Python-2.7.17.tar.xz
######################################################################## 100.0%
==> ./configure<EMAIL_ADDRESS>--enable-ipv6 --dat
==> make
==> make install<EMAIL_ADDRESS>==> make frameworkinstallextras<EMAIL_ADDRESS>==> Downloading https://files.pythonhosted.org/packages/f4/d5/a6c19dcbcbc267aca3
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/ce/ea/9b445176a65ae4ba22
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/59/b0/11710a598e1e148fb7
######################################################################## 100.0%
==><EMAIL_ADDRESS>-s setup.py --no-user-cfg ins
==><EMAIL_ADDRESS>-s setup.py --no-user-cfg ins
==><EMAIL_ADDRESS>-s setup.py --no-user-cfg ins
==> Caveats
Pip and setuptools have been installed. To update them
pip install --upgrade pip setuptools
You can install Python packages with
pip install
They will install into the site-package directory
/usr/local/lib/python2.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺<EMAIL_ADDRESS>6,645 files, 91.2MB, built in 3 minutes 45 seconds
==> Caveats
==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
For pkg-config to find readline you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"
==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.
If you need to have sqlite first in your PATH run:
echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
For pkg-config to find sqlite you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"
==> python@2
Pip and setuptools have been installed. To update them
pip install --upgrade pip setuptools
You can install Python packages with
pip install
They will install into the site-package directory
/usr/local/lib/python2.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
Manual processor started.
<EMAIL_ADDRESS>64bit Python.
Enter path to file:
#: ^Ccd /Volumes/TeraPlex/AUTOMATE ;Traceback (most recent call last):
File "manual.py", line 358, in
main()

File "manual.py", line 325, in main
path = getValue("Enter path to file")
File "manual.py", line 53, in getValue
value = raw_input("#: ").strip(' "')
KeyboardInterrupt
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ cd /Volumes/TeraPlex/AUTOMATE ;
MiniMCHD:AUTOMATE MiniMCHD$ cd /
MiniMCHD:/ MiniMCHD$ ls
1sickbeard_mp4_automator		home
Applications				installer.failurerequests
Library					net
Network					ombi
Ombi.git				private
System					requests-2.10.0-py2.py3-none-any.whl
Users					sbin
Volumes					sickbeard_mp4_automator
bin					tmp
cores					usr
dev					var
etc
MiniMCHD:/ MiniMCHD$ cd sickbeard_mp4_automator
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
Manual processor started.
<EMAIL_ADDRESS>64bit Python.
Enter path to file:
#:  /Volumes/TeraPlex/AUTOMATE
Processing file /Volumes/TeraPlex/AUTOMATE/Frozen.2.2019.DVDScr.XVID.AC3.HQ.Hive-CM8[oscars]/Frozen.2.2019.DVDScr.XVID.AC3.HQ.Hive-CM8.avi
Reading video stream.
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
Manual processor started.
<EMAIL_ADDRESS>64bit Python.
Enter path to file:
#: /Volumes/TeraPlex/AUTOMATE/DONE
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/The.Hustle.2019.1080p.BluRay.H264.AAC-RARBG/The.Hustle.2019.1080p.BluRay.H264.AAC-RARBG.mp4
Matched movie title as: The Hustle 2019-05-09
Processing The Hustle
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
Manual processor started.
<EMAIL_ADDRESS>64bit Python.
Enter path to file:
#: /Volumes/TeraPlex/AUTOMATE/DONE
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/The.Hustle.2019.1080p.BluRay.H264.AAC-RARBG/The.Hustle.2019.1080p.BluRay.H264.AAC-RARBG.mp4
Matched movie title as: The Hustle 2019-05-09
Processing The Hustle
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
Manual processor started.
<EMAIL_ADDRESS>64bit Python.
Enter path to file:
#: /Volumes/TeraPlex/AUTOMATE/DONE
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/1917.2019.DVDScr.XVID.AC3.HQ.Hive-CM8[oscars]/1917.2019.DVDScr.XVID.AC3.HQ.Hive-CM8.avi
Reading video stream.
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/Color.Out.of.Space.2019.1080p.SCREENER.x264-TOPKEK/Color.Out.of.Space.2019.1080p.SCREENER.x264-TOPKEK.mp4
Matched movie title as: Color Out of Space 2019-09-20
Processing Color Out of Space
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/Dark.Waters.2019.1080p.SCREENER.x264.DTS-NOGRP/Dark.Waters.2019.1080p.SCREENER.x264.DTS-NOGRP.mkv
Matched movie title as: Dark Waters 2019-11-22
Processing Dark Waters
Reading video stream.
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ which python
/usr/local/bin/python
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ brew install Python3
Updating Homebrew...
==> Auto-updated Homebrew!

We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
Error: python 3.6.5 is already installed
To upgrade to 3.7.6_1, run brew upgrade python.
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ python manual.py --auto
Manual processor started.
<EMAIL_ADDRESS>64bit Python.
Enter path to file:
#: /Volumes/TeraPlex/AUTOMATE/DONE
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/1917.2019.DVDScr.XVID.AC3.HQ.Hive-CM8[oscars]/1917.2019.DVDScr.XVID.AC3.HQ.Hive-CM8.avi
Reading video stream.
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/Color.Out.of.Space.2019.1080p.SCREENER.x264-TOPKEK/Color.Out.of.Space.2019.1080p.SCREENER.x264-TOPKEK.mp4
Matched movie title as: Color Out of Space 2019-09-20
Processing Color Out of Space
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
Processing file /Volumes/TeraPlex/AUTOMATE/DONE/Dark.Waters.2019.1080p.SCREENER.x264.DTS-NOGRP/Dark.Waters.2019.1080p.SCREENER.x264.DTS-NOGRP.mkv
Matched movie title as: Dark Waters 2019-11-22
Processing Dark Waters
Reading video stream.
An unexpected error occurred, processing of this file has failed
'NoneType' object has no attribute 'video'
MiniMCHD:sickbeard_mp4_automator MiniMCHD$ brew upgrade python
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.
==> Upgrading 1 outdated package:
python 3.6.5 -> 3.7.6_1
==> Upgrading python
==> Installing dependencies for python: xz
==> Installing python dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.4.sierra.bottle.tar.
==> Downloading from https://akamai.bintray.com/bc/bcc71ee69e2c43bf56b9c9ece5a53
######################################################################## 100.0%
==> Pouring xz-5.2.4.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.4: 92 files, 1MB
==> Installing python
==> Downloading https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/python/3.7.6_1 --enable-ipv6 --dataro
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/3.7.6_1
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python/3.7.6_1/s
==> Downloading https://files.pythonhosted.org/packages/f7/b6/5b98441b6749ea1db1
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/ce/ea/9b445176a65ae4ba22
Already downloaded: /Users/MiniMCHD/Library/Caches/Homebrew/downloads/0b4dcf92e1664a17fefc4c0f7993a9943849d88144a7a22c4b5458271c1527ea--pip-19.3.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/59/b0/11710a598e1e148fb7
Already downloaded: /Users/MiniMCHD/Library/Caches/Homebrew/downloads/98eb50a86909635dacc94e7f91048dd6ab4bc084cf23523a6ff780e11e0d3ec1--wheel-0.33.6.tar.gz
==> /usr/local/Cellar/python/3.7.6_1/bin/python3 -s setup.py --no-user-cfg insta
==> /usr/local/Cellar/python/3.7.6_1/bin/python3 -s setup.py --no-user-cfg insta
==> /usr/local/Cellar/python/3.7.6_1/bin/python3 -s setup.py --no-user-cfg insta
==> Caveats
Python has been installed as
/usr/local/bin/python3
Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed into
/usr/local/opt/python/libexec/bin
If you need Homebrew's Python 2.7 run
brew install python@2
You can install Python packages with
pip3 install
They will install into the site-package directory
/usr/local/lib/python3.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/python/3.7.6_1: 8,586 files, 120.4MB, built in 4 minutes 40 seconds
Removing: /usr/local/Cellar/python/3.6.5... (4,765 files, 100.1MB)
==> Checking for dependents of upgraded formulae...
+=> No dependents found!
==> Caveats
==> python
Python has been installed as
/usr/local/bin/python3
Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed into
/usr/local/opt/python/libexec/bin
If you need Homebrew's Python 2.7 run
brew install python@2
You can install Python packages with
pip3 install
They will install into the site-package directory
/usr/local/lib/python3.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
MiniMCHD:sickbeard_mp4_automator MiniMCHD$

Seems like an FFMPEG error, gonna close for now


Revive revive

What does this PR do?
Reactivate the revive go linter for datadog-agent

Motivation
revive was deactivated for a while and it brings some useful comments. Global deactivation of one rule doesn't work:
https://revive.run/docs#golangci-lint:
Please notice that if no particular configuration is provided, revive will behave as go-lint does, i.e. all go-lint rules are enabled (the Available Rules table details what are the go-lint rules). When a configuration is provided, only rules in the configuration are enabled.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
As a lot of modifications were done, it's safe to perform basic QA operations (start the agent and validate it sends basic telemetry is enough)

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Seeing the following changes which does not look good to put in the repo

Seeing the following changes which does not look good to put in the repo

@guyarb What should I do instead?

Seeing the following changes which does not look good to put in the repo

@guyarb What should I do instead?

I think the respective teams should make the changes on their own (until some date) and after that date the revive linter to back to life and be a required step in the agent

BTW, why do we need to have a comment above the package? I don't think it will give any information beside


Count total and successful MSA requests

This adds prometheus counters to count total number of MSA requests
attempted and how many of them were successful.  We can compute error
rates from this by subtracting successful from total.
It also corrects a typo in a prometheus summary.

I'm still getting errors when I try running the integration tests. I've captured the error message this time:
ERROR [2019-06-17 16:33:31,199] org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver: Metadata Resolver JerseyClientMetadataResolver MetadataModule.MetadataResolver: Error occurred while attempting to refresh metadata from 'http://localhost:54479/uk/gov/ida/saml/metadata/federation'
INFO  [2019-06-17 16:33:31,200] org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver: Metadata Resolver JerseyClientMetadataResolver MetadataModule.MetadataResolver: Next refresh cycle for metadata provider 'http://localhost:54479/uk/gov/ida/saml/metadata/federation' will occur on '2019-06-17T15:34:31.199Z' ('2019-06-17T16:34:31.199+01:00' local time)

It's causing the PrometheusMetricsIntegrationTest to fail at line 233 - I assume because the MSA isn't healthy because of the aggregation failure.
Is this just the tests being flakey in my local build?


comments in help posts for python files are not correct

The creation of the help wanted forum post should be changed to use correct Python comments for .py files.
Right now the posts are created with the wrong type of comment.

I want to work on this issue


Introduce task actions to support continuous actions and not pure navigation tasks.

Motivation and Context
Redesign Habitat-API to support continues actions and not pure navigation tasks.

Added registry for actions classes. We use a class not a method for action definition to provide relevant action space that uses Task/Dataset instance's information like number of words for answer vocabulary, resolution of frame etc.
Change step function interface to support action parameters
Added step function to the task with actions defined as task's methods
Added teleport action as example of parameterized action.
[ ] Fixed tests
[x] Provide action space for each type of action
[ ] Move most of calls to Sim from Env to Task class
[ ] Make Task methods reset and step provide observations that include sim observations
[ ] Add reset function to Actions
[ ] Move is_episode_over functionality to Task class from Simulator, handle capturing finished conditions for different tasks differently
-[ ] Provide opportunity to register several actions of same type using config only
[ ] Create ActionSpace GYM space to describe action space in elegant way for multiple actions. Propagate action space through env.
[ ] Add possible actions to config and task
[ ] Move from SimulatorAction list to defined Tasks in actions, handle non-stop actions
[ ] Check usage of *args, **kwargs for all sensors, action, measures.
[ ] Use dict as return type for act methods.

How our new main example can look like with parameterized actions:
    config = habitat.get_config(config_paths=config_file)

    env = habitat.Env(config=config)
    env.reset()
    while not env.episode_over:
        action = env.task.action_space().sample()
        env.step(**action)
    env.close()

Still elegant.
How Has This Been Tested

Types of changes

Docs change / refactoring / dependency upgrade
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

The habitat.SimulatorActions can't be numeric anymore. The number an action is on is entirely dependent on how many actions the task loads.

habitat.SimulatorActions is separate notion and is used only in Task action method and will depend on ActionConfiguration activated. My personal point of view that HabitatSimulator actions can be just method on HabitatSim class will be wrapped with correspondent TaskActions.

@msavva and @erikwijmans thank you for the review, addressed the comments. SimulatorActions left unchanged for now. Added teleport action as example of parameterized action and added action spec registration for the task action registry.

Working on this change I notice that the scope of changes increases as long as other parts of API change. That would be great to break changes in smaller parts, but they are pretty coupled. I updated list of changes required. Please, take a look if it looks reasonable. Most of them are implemented and as soon as tests will be passing I will update the PR.

CI tests are passing, PR is ready for the review @abhiskk, @erikwijmans, @apsdehal.

Removed EQA related changes.
Removed STOP action for EQA


Case(1): Add a changed line

Adds a changed line

Successfully created backport PR #111 for case1-backport-target.


Added Instructions for using Helm using Job-Executor

This PR adds instructions on how to use helm with job-executor-service.
It is meant to be replacement of the existing helm-service in the case of user-managed deployments.
It is based on https://github.com/christian-kreuzberger-dtx/keptn-job-executor-delivery-poc, but I tried to avoid making it a tutorial... Please give some guidance on what should be changed ;)
Most notable, this example includes not just the "usual" deployment.triggered task, but also rollback.triggered and action.triggered, all done via job-executor and without helm-service.

Hi @christian-kreuzberger-dtx
I think the example is easy to understand. I just have two questions in general
a) shall we come up with a set of best practices for certain tools, e.g: Helm, JMeter, ... -> which not only includes the job.config but also the serviceaccount definition? Kind of like a template so that people dont run into any errors bc they forgot some configuration
b) for the helm use case in particular -> does the job executor already support passing back e.g: deploymentURI as part of the .finished event? If not - then I guess we need to document that the difference between the helm-service and the JES approach is that the deployed URL needs to be known by the other tools that come after that deployment
other than that I think its a great readme

a) shall we come up with a set of best practices for certain tools, e.g: Helm, JMeter, ... -> which not only includes the job.config but also the serviceaccount definition?

You only need a serviceAccount if you want to talk directly to the Kubernetes API. This is the case for some tools like

helm
argo
kubectl (ofcourse :D)
anything that needs to access a custom resource

For jmeter, locust, etc... you don't need that, hence those job configs should already work out of the box.

b) for the helm use case in particular -> does the job executor already support passing back e.g: deploymentURI as part of the .finished event?
If not - then I guess we need to document that the difference between the helm-service and the JES approach is that the deployed URL needs to be known by the other tools that come after that deployment

No, it doesn't - thanks for bringing it up though. I will mention this, though my intention is not to document differences to helm-service within this readme, but to show how this particular integration works.

other than that I think its a great readme
Thanks!

I have added limitations, fixed some wording issues, improved the installation instructions, and added expected outcome in Bridge with screenshots.


Write migration guide for azure-spring-integration-eventhubs

Parent issue: #24351

Close this issue for the doc has been finished.


Update data.json

@arwazkhan189 you can update a Pull Request by pushing a commit to the same branch, you do not need to create a new Pull Request each time 🤓
Please close any duplicate Pull Requests, as only 1 is required for the same change


Navigate Soft Tabs As If They Are Hard Tabs

If implemented properly, the user should not even realize they are working with spaces for indentation, which is one of the greatest pains of a person who prefers tabs for indentation working on a file that has spaces for indentation.
Spaces should be treated as if they were tabs under the following conditions

The text editor's insertSpaces setting is true (or leading spaces precede tab characters on a line).
The cursor is within the range of leading indentation.

We can't possibly guess where indentation ends and alignment begins, so this includes all leading whitespace (both spaces and tab characters, assuming each tab character is the width of tabSize).

The user attempts to do any of the following:

Arrow-key navigation.
Backspace.
Delete.
Mouse selections (more difficult to implement, I'm sure).

Examples of how spaces are treated as tabs

If the cursor is at the beginning of the line and the right arrow key is pressed, the cursor jumps tabSize spaces, instead of just one.
If tabSize is 4 and the cursor is on position 6 (between tabs) and the left arrow key is pressed, the cursor jumps 2 spaces instead of 4, landing gracefully on a tab stop.
If tabSize is 4 and the cursor is on position 4, but the first non-whitespace character is on position 6, then the space on position 5 is assumed to be alignment; thus, a right arrow key press would land on position 5.
The backspace and delete keys should eliminate up to tabSize spaces in one batch, so that a single undo operation restores all of the spaces that were deleted.
Ideally, mouse selections would also be restricted to tab stops, so you can't individually select the spaces between a single indent.

Exposing an editor setting

Perhaps an editor setting called navigateSoftTabsAsHard should be exposed for those who wish to opt in or out of this feature. The default value is debatable.

The mere existence of TabSanity and the fact that it has been downloaded 1596 times is a testament that I'm not alone in these frustrations.

There is a potential gotcha with this strategy, in that the backspace key, for example, should eliminate up to tabSize spaces in one batch, so that a single undo operation restores all of the spaces that were deleted.

@jedmao does TabSanity work in vscode? Or are you saying they should add it? Because this behavior is killing me slowly. Is there a work around for this? I care about 1, 2, 3 the most.

@jamesmenera, TabSanity does not work in vscode. I'm proposing it be baked into the editor itself. There is no workaround, currently.

@jamesmenera it looks like vscode.commands.executeCommand() can run cursorLeft, cursorRight and other commands to control the cursor. This might be the next step for a TabSanity extension. I'm digging deeper when I have time.

This extension might help somewhat
https://marketplace.visualstudio.com/items?itemName=jrieken.backspace-plusplus

Thanks @egamma. @jamesmenera I'm working on TabSanity for vscode right now and I'm definitely making some good progress. I will keep everyone updated on this thread.

@jamesmenera I've published an alpha version of TabSanity here. There are definitely some kinks to work out, but as long as you don't go crazy with multiple cursors and such you should be fine.

Without any add-ons, full-fat Visual Studio's block indentation (with tabs as spaces) solves most of the problems because, if you are indented and add a new line, a single back-space is all that is required to jump out one indentation level. As it stands, VS Code handles this poorly - if you use soft tabs and need to get out by one indentation level, you have to press backspace n times where n is your tab width!

@egamma: Thanks for suggesting that extension - it's properly brilliant! I hope the VS Code devs are reading this thread because I would love to see that behaviour as a first-class option or even the default behaviour of the backspace key when soft-tabs are enabled.

@stephenmartindale, it's not just backspace, but arrow-key navigation as well. The TabSanity plugin resolves both, but there are some kinks with multiple cursors I haven't yet had the time to sort out.

I'm trying to make the move from Atom and the "Atomic Soft Tabs" feature is what I am missing a lot.

Nearly 2 years and nothing? I love everything about VSCode except the fact that this still isn't a thing yet. Please give us the option to navigate soft tabs as hard tabs without needing an extension

There is a good example of how PHPStorm handles it, https://blog.jetbrains.com/phpstorm/2014/09/smart-backspace-in-phpstorm-8/ VSCode really lack feature like this.

@vedmant Are you sure VS Code doesn't have this? The author of Backspace++ discontinued work on his extension because the feature was already in. I'm talking about simply navigating the spaces as if they were tabs which requires this extension

And I'm not really actively developing TabSanity either. It's way more complicated than it originally seemed, especially where multiple cursors are concerned.

@jedmao hey thanks for the great work you've done so far. Yeah there's a few difficulties when using tabsanity that I wish weren't there. I really really just wish VS Code would add this natively. It's literally the one thing it's missing for me

@aniforprez I checked VS configuration, didn't find anything related to this feature.

@vedmant I cannot find a setting for it myself but after disabling all the extensions, VS Code behaves as expected when erasing multiple spaces using backspace that are the configured tab length.Delete will only delete a single space regardless. But navigating those tab-configured spaces is a chore which Tabsanity solves once it's enabled

@aniforprez I'm talking about a bit different functionality, when backspace deletes whole line when it's currently on the right indent, or it goes to right indent when it has more whitespace before cursor, check animation here https://blog.jetbrains.com/phpstorm/2014/09/smart-backspace-in-phpstorm-8/

OH I'm so sorry I completely misunderstood because I didn't pay close attention to the animation. Yeah currently VS Code does not have such a feature and it does look pretty useful if you don't need to delete individual tabs. I do wonder though if it wouldn't get confusing in languages like Python where indentation is everything and if you want to move the scope of a line whether this would conflict with such an operation.

@aniforprez It's very useful feature, I so used to it in PHPStorm, that it's now a pain to work without it in VScode. It will not have any issues with Python, if you need to go one indent left just press Tab + Shift. And also this feature can be optional.

This would be a good to have feature. I use a lot of soft tabs.

I'll put the code up at some point. It's probably full of bugs and I have never worked on VSCode before so it probably needs someone at Microsoft to do properly, but it wasn't much code. It actually took longer to add the new setting than to implement the logic.

Yeah, now try it with multiple cursors!

They work fine as far as I can tell. I'll upload a video tomorrow.

Video showing multiple cursors and weird mixed tab files.
There is one bug with the mouse handling (that I know of). Hopefully someone from Microsoft can help with that.


Information missing :: Maximum accepted token lifetime

Documentation is missing to mention that Azure AD will only accept external tokens if their lifetime is equal or less than one day (24 hours). So, if we have configured our external IdP to issue tokens that are valid for 27 hours (for example), Azure AD will complain with error message:
{
    "error": "invalid_request",
    "error_description": "AADSTS70023: External OIDC Provider token must have a lifetime of less than or equal to 1.01:00:00. Token issued at<PHONE_NUMBER>. Token expires on<PHONE_NUMBER>.\r\nTrace ID: 7d12638d-0536-4ef8-abb9-2cb47ce72500\r\nCorrelation ID: f9d5d90b-8121-4557-a07e-bd6a78a967a8\r\nTimestamp: 2022-01-25 16:05:00Z",
    "error_codes": [
        70023
    ],
    "timestamp": "2022-01-25 16:05:00Z",
    "trace_id": "7d12638d-0536-4ef8-abb9-2cb47ce72500",
    "correlation_id": "f9d5d90b-8121-4557-a07e-bd6a78a967a8",
    "error_uri": "https://login.microsoftonline.com/error?code=70023"
}

This is an important requirement that should be explicitly mentioned. One shall not discover all fine requirements based on trials & failures.

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

ID: 112d73f5-05dc-a709-fb3b-de4f1eee1338
Version Independent ID: 304c98c3-8226-ce31-076c-d75b101081a5
Content: Create a trust relationship between an app and an external identity provider - Microsoft identity platform
Content Source: articles/active-directory/develop/workload-identity-federation-create-trust.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@astaykov
Thanks for your feedback! We will investigate and update as appropriate.

Thanks @astaykov! I made a pull request to add a note about the maximum accepted token lifetime. https://github.com/MicrosoftDocs/azure-docs-pr/pull/186170

@MarileeTurscak-MSFT Hello, I want to see the document updates though I got 404 when I clicked a link to the PR (!186170). Where can I see it?

same here