feat: Initial support for installing mods from TS

This is the basic code needed to install a mod from Thunderstore.
There's an issue where the removal of the temporary download folder does not work properly which I have yet to resolve.

[x] Basic install logic
[x] Prevent installing Northstar or NorthstarReleaseCandidate
[x] Handle dependencies -> Waiting on libthermite update as current is broken.
[x] Add Thunderstore dependency string to mod.json (for checking for updates).

Reminder to self that it doesn't do dependency install yet (and it kinda should before making it proper public).

@Alystrasz (properly) addressed all mentioned issues now. Anything else before merge? ^^

Yep, I want to be able to run this code before merging it in, which will have to wait a bit since I'm on a business trip in Switzerland.

I managed to install Titanfall2 on my Ubuntu (discovering Lutris by the same occasion :)).
Installing The_Peepeepoopoo_man-Chimera-0.1.1, I get a success message, but the mod doesn't appear in the mods folder nor the mods view.

with the log
[src/mod_management/mod.rs:187] thunderstore_mod_string.clone() = "The_Peepeepoopoo_man-Chimera-0.1.1"
[src/mod_management/mod.rs:200] ns_mod.clone() = ModVersion {
    name: "Chimera",
    version: "0.1.1",
    url: "https://thunderstore.io/package/download/The_Peepeepoopoo_man/Chimera/0.1.1/",
    desc: "Custom titan demonstrating titanFramework 0.3s custom passives",
    deps: [
        "northstar-Northstar-1.9.4",
        "The_Peepeepoopoo_man-Titanframework-0.3.0",
    ],
    installed: false,
    global: false,
    file_size: 71515,
}
[src/mod_management/mod.rs:232] deps.clone() = [
    "northstar-Northstar-1.9.4",
    "The_Peepeepoopoo_man-Titanframework-0.3.0",
]
[src/mod_management/mod.rs:187] thunderstore_mod_string.clone() = "northstar-Northstar-1.9.4"
[src/mod_management/mod.rs:200] ns_mod.clone() = ModVersion {
    name: "Northstar",
    version: "1.9.4",
    url: "https://thunderstore.io/package/download/northstar/Northstar/1.9.4/",
    desc: "Titanfall 2 modding and custom server framework.",
    deps: [],
    installed: false,
    global: false,
    file_size: 73374598,
}
[src/mod_management/mod.rs:232] deps.clone() = []
Failed to delete download folder due to Aucun fichier ou dossier de ce type (os error 2)

On the other hand, sammydoodlew-Volt_Vaporwave-1.1.0 seems to install just fine!

Installing The_Peepeepoopoo_man-Chimera-0.1.1, I get a success message, but the mod doesn't appear in the mods folder nor the mods view.

Huh, good catch. Can reproduce on my side as well so I'll investigate.
Side note: For testing on laptop I just created an empty Titanfall.exe file and point FlightCore to it xD

Installing The_Peepeepoopoo_man-Chimera-0.1.1, I get a success message, but the mod doesn't appear in the mods folder nor the mods view.

Fixed with fb625adeaffe37096bb2ab6d1a0a54382d3158c3 in a single line :,)


Audit & remove unused dependencies.

Part of: #602

@AbhayVAshokan Closing this issue since there are no changes to make.


401 error does not trigger authorizationFailed action

When I have a token expire on the server, the 401 error is rendering the error page rather triggering the authorizationError action.
I'm currently using an "empty" authorizer:
`import Ember from 'ember'`
`import Base from 'simple-auth/authorizers/base'`

CustomAuthorizer = Base.extend({})

initialize = (container, app) ->
  container.register('authorizer:custom', CustomAuthorizer)

AuthorizerInitializer =
  name: 'authorizer'
  before: 'simple-auth'
  initialize: initialize

`export {initialize}`
`export default AuthorizerInitializer`

This is because my app consumes multiple APIs, so I'm setting the authorization header for each API at the adapter level like this:
ApplicationAdapter = DS.ActiveModelAdapter.extend
  namespace: 'api/v1'
  headers: Ember.computed "session.authToken", "session.email", ->
    return { "Authorization": "Token token=#{@get("session.authToken")}, email=#{@get("session.email")}" }

And a very similar setup with different tokens for the other API's adapter.
I can see by setting breakpoints that I'm hitting this line where I would expect the request to be "authorized" and the 401 would thereby trigger the authorizationFailed action.

Is this ever executed?

Yes.

jqXHR.simple_auth_authorized
true

jqXHR.status
401

For the record, the error page has already rendered at the breakpoint, and it runs the line to trigger the action, but it doesn't invalidate the session or redirect to login.

Nevermind!
After digging into the application route mixin, I realized the events were registered in the before model hook, which I was unwisely overriding without calling super.


Added Mobile Responsiveness for Bills in Bills/styles.js -  #53

Mobile Responsiveness - Bills 📱 #53 📐
I erfan have worked for #53 **
Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #53

Screenshots 📷
Here are the pictures of changes that i have made 🔽
Below 1200px:

Below 1024px:

Below 769px:

Below 480px:

LGTM✅

@erfan93na If you liked this project please leave a star 🌟


[BUG] /usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame

Hi @w1ld3r
If I run with the app with "ma_crossover", I am getting the following message on output.
I don't know if it will cause a calculation or comparison error, but I wanted to let you know.
ERROR:
Starting Worker-209
Starting default analyzer...
Using the following exchange(s): ['binance']
Getting data for ['TLM/USDT']
/usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self._setitem_single_block(indexer, value, name)
/usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

Hi @w1ld3r
If I run with the app with "ma_crossover", I am getting the following message on output.
I don't know if it will cause a calculation or comparison error, but I wanted to let you know.
ERROR:
Starting Worker-209
Starting default analyzer...
Using the following exchange(s): ['binance']
Getting data for ['TLM/USDT']
/usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self._setitem_single_block(indexer, value, name)
/usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

Have you check if the value are good ? I've already notice this warning but, for what I remenber, it was not a big issue.

i have some issue, this my config.yml :
`
settings:
log_level: INFO
update_interval: 120
start_worker_interval: 2
market_data_chunk_size: 1
timezone: Europe/Paris
exchanges:
binance:
required:
enabled: true
all_pairs:

USDT
indicators:
rsi:

enabled: true
alert_enabled: true
alert_frequency: always
signal:

rsi
hot: 30
cold: 70
candle_period: 1h
period_count: 14

enabled: true
alert_enabled: true
alert_frequency: always
signal:

rsi
hot: 40
cold: 60
candle_period: 1d
period_count: 14
bollinger:

enabled: true
candle_period: 1h
alert_enabled: true
alert_frequency: always
period_count: 25
std_dev: 2.5
signal:

low_band

close

up_band
mute_cold: false

enabled: true
candle_period: 1d
alert_enabled: true
alert_frequency: always
period_count: 25
std_dev: 2.5
signal:

low_band

close

up_band
mute_cold: false
aroon_oscillator:

enabled: true
alert_enabled: true
alert_frequency: always
sma_vol_period: 50
period_count: 14
signal:

aroon
candle_period: 1h
conditionals:

label: "Signal to buy"
hot:

rsi: 0
rsi: 1
cold:
bollinger: 0

label: "Signal to buy"
hot:

rsi: 1

label: "Signal to sell"
cold:

rsi: 1
rsi: 0
hot:
aroon_oscillator: 0
notifiers:
telegram:
required:
token: sss
chat_id: aaaa
optional:
parse_mode: html
template: "[{{market}}] {{indicator}} {{status}} {{values}} {{ '\n' -}}"
`

No notifications come for me, in my warning log :
`No configured markets, using all available on exchange.
Getting all ['USDT'] market pairs for binance
enabled notifers: ['telegram']
Starting Worker-1
Starting default analyzer...
Using the following exchange(s): ['binance']
Getting data for ['BTC/USDT']
enabled notifers: ['telegram']
Starting Worker-2
Starting default analyzer...
Using the following exchange(s): ['binance']
Getting data for ['ETH/USDT']
Beginning analysis of binance
Beginning analysis of BTC/USDT
enabled notifers: ['telegram']
Starting Worker-3
Starting default analyzer...
Using the following exchange(s): ['binance']
Getting data for ['BNB/USDT']
/usr/local/lib/python3.8/dist-packages/pandas/core/indexing.py:670: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
iloc._setitem_with_indexer(indexer, value)`

Please create a new issue using the BUG template.

Hi @w1ld3r
If I run with the app with "ma_crossover", I am getting the following message on output.
I don't know if it will cause a calculation or comparison error, but I wanted to let you know.
ERROR:
Starting Worker-209
Starting default analyzer...
Using the following exchange(s): ['binance']
Getting data for ['TLM/USDT']
/usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self._setitem_single_block(indexer, value, name)
/usr/local/lib/python3.8/site-packages/pandas/core/indexing.py:1637: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame

Have you check if the value are good ? I've already notice this warning but, for what I remenber, it was not a big issue.

thanks @w1ld3r


Problem with GlobalIDs

I ran into an issue with scraping a rest with a GUID fieldtype while creating a feature class.  I added
elif 'global' in name.lower():
fieldType = "GUID"
to the _createField function and it worked.

Actually, adding
'esriFieldTypeGlobalID'
to
def __setUpdateFields(self, serviceFields):
        """Sets the fields that will be updated from the FeatureService.  This does not include ID or Geometry fields"""
        updateFields = []
        for field in serviceFields:
            if (field['type'] in ['esriFieldTypeOID', 'esriFieldTypeGeometry', 'esriFieldTypeGUID', 'esriFieldTypeGlobalID'] or 'shape' in field['name'].lower() or field['name'] in self.userFields + self.excludeFields):
                pass
            else:
                updateFields.append(field)
        updateFields.insert(
            0, {"name": 'Shape@', "type": "esriFieldTypeGeometry"})
        self.updateFields = updateFields

worked far better.

Thanks for letting me know!  Is the endpoint with GUIDs publicly available, and if so, would you mind sharing it?

I had a similar issue and fixed it by adding 'esriFieldTypeGlobalID' to the list in __setUpdateFields.


feat: support autocmd toggle

Resolve #7.

Note: This patch does not change previous behavior. And we can add more snippets in README, since autocmd is quite flexible.

Thank you for the pull request. Since I don't frequently use autcmd, any assistance is welcome.


New feature Informix JDBC plugin

This is a plugin for Informix JDBC.
It is based on the other plugins.
I am using codes for service type:
2450 INFORMIX
2451 INFORMIX_EXECUTE_QUERY
I couldn't add to the tests:
Because I don't know what all the numbers came from.
commons-server/src/test/java/com/navercorp/pinpoint/common/server/bo/codec/stat/join/DataSourceCodecTest.java
commons-server/src/test/java/com/navercorp/pinpoint/common/server/bo/stat/join/JoinApplicationStatBoTest.java
commons-server/src/test/java/com/navercorp/pinpoint/common/server/bo/stat/join/JoinDataSourceListBoTest.java
web/src/test/java/com/navercorp/pinpoint/web/mapper/stat/sampling/sampler/JoinDataSourceSamplerTest.java

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Guillermo Adrián Molina seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #6634 into master will decrease coverage by 0.08%.
The diff coverage is 10.31%.

@@            Coverage Diff             @@
##           master    #6634      +/-   ##
==========================================
- Coverage   39.26%   39.17%   -0.09%
==========================================
  Files        3111     3120       +9
  Lines       92825    93097     +272
  Branches    11931    11933       +2
==========================================
+ Hits        36449    36474      +25
- Misses      53372    53616     +244
- Partials     3004     3007       +3

Impacted Files
Coverage Δ

.../pinpoint/plugin/jdbc/informix/InformixConfig.java
0.00% <0.00%> (ø)

...npoint/plugin/jdbc/informix/InformixConstants.java
0.00% <0.00%> (ø)

.../pinpoint/plugin/jdbc/informix/InformixPlugin.java
0.00% <0.00%> (ø)

...or/InformixPreparedStatementCreateInterceptor.java
0.00% <0.00%> (ø)

...nterceptor/InformixStatementCreateInterceptor.java
0.00% <0.00%> (ø)

...nt/plugin/jdbc/informix/InformixJdbcUrlParser.java
83.33% <83.33%> (ø)

...int/plugin/jdbc/informix/InformixTypeProvider.java
100.00% <100.00%> (ø)

...vercorp/pinpoint/rpc/packet/ServerClosePacket.java
52.00% <0.00%> (-16.00%)
:arrow_down:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
84.10% <0.00%> (-4.64%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70.00% <0.00%> (-3.34%)
:arrow_down:

... and 47 more

Continue to review full report at Codecov.

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

Thank you for your contribution
Refer to msql-jdbc-it module for testing

https://github.com/naver/pinpoint/tree/master/plugins-it/mssql-jdbc-it

hi @guillermomolina
First of all, I really appreciate for your contribution.
I have been reviewing your code.
Please check below things.
com.informix.jdbc.IfxSqliConnect#IfxSqliConnect(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
It looks like you can create DatabaseInfo object through one of IfxSqliConnect constructor parameter.
I think if you use it, you don't need to create unnecessary Getter and you can use common code.
If it is possible to use the constructor's parameters, please change it to use them.
If I have misunderstood, please feel free to tell me it.
thanks :)

Hi @kao-taejin,
Thank you for reviewing my code.
Indeed, at first I was just using the constructor, but that only works for direct connections (without pools). At least in our production environment, most of the connections are made through the pool, so I ended up adding the getter because the database name and connection info is not passed to the constructor. It is somehow gotten from the pool. So, as I had to create the getters anyway for the pooled connections, I am always doing it this way.
Does it sounds right to you?
Thanks

@guillermomolina
I fully understood the situation through the explanation.
thanks :)

@guillermomolina
Everything looks good.
If you make the commits as one, I will merge it immediately.
thanks :)

@guillermomolina 👍

@guillermomolina
I have been testing about the InformixPlugin.
I found out critical issue.
As of the latest version informix 4.50.x, the field type of connInfo has been changed from java.util.Properties to com.informix.util.AdvancedUppercaseProperties, so the plugin cannot be used in the 4.50.x version.
Would it be possible to ask of you solving this problem?

@guillermomolina
I have been testing about the InformixPlugin.
I found out critical issue.
As of the latest version informix 4.50.x, the field type of connInfo has been changed from java.util.Properties to com.informix.util.AdvancedUppercaseProperties, so the plugin cannot be used in the 4.50.x version.
Would it be possible to ask of you solving this problem?

I will look into it


Formatting and isolating rayon feature completely

@HeroicKatora this is actually fully separating rayon to make it work on wasm target.
I had other modification in local I didn't integrate in my branch before merging - my bad :(
This will also require to update current release version probably
For the future me - remind to do submit from your pc and not from mobile!!!

Is there any way we can test this is CI? My confidence in future changes preserving the wasm-functionality is a bit low. Apart from the nit, looks good.

Mmmm... it'll really depends in what will be added in rayon module little by little, no?
Let's say that the best is to do what you're suggesting - to put all the rayon-related stuff inside rayon.rs - no?

Release when the testing as detailed in #241 lands on CI, eta tomorrow.


Licence in pypi

Hello, would it be possible to add licence information into the package creation process?
E.g. like adding this to setup.py:
license="Apache Software License 2.0",  # Specifies the license type
license_files=["LICENSE"],  # Points to the license file in the project root

Then one can read it out via tools like pip-licences and make automatically sure that one is compliant to your licencing rules.

Done! Thanks for the suggestion.

Directly worked for me! Thank you very much!


Add something to force an action to succeed even when failed

https://docs.stackstorm.com/orquesta/languages/orquesta.html#engine-commands
One idea could be to add an additional option for pass.
Use Case:
sometimes actions complete gracefully but exit with a fail code. Sometimes this is because a resource wasn't found or some other reason.
For example: st2.kv.get
Sometimes you check for a key to exist. If this is the last action in a workflow, it can cause the workflow to complete as a fail even though it all other operations were success and you aren't actually concerned with this action failing. A work around I've used is having an action called its_ok_if_this_fails for core.noop. This allows the workflow to still complete as a success.
With an engine-command of pass, I wouldn't need this extra step, i could simply have
task1:
  action: core.noop
  next:
    - do: pass
      when: <% failed() %>

Where as currently i need
task1:
  action: core.noop
  next:
    - do: its_ok_if_this_fails
      when: <% failed() %>

its_ok_if_this_fails:
  action: core.noop

If something like this doesn't fit or work for some reason, I would be interested in any ideas that could help address the use case. Thank you!

There is already an engine command called noop that does this.  Can you give this a try and let us know if this works for you?
task1:
  action: core.local cmd="exit 1"
  next:
    - when: <% failed() %>
      do: noop

ah ok. It wasn't very clear in the docs that noop is intended for this. I'll give that try. Sorry for the unnecessary issue. Thank you!


az repos policy merge-strategy update

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
We wanted to implement merge strategy policies in Azure DevOps which is to ensure the Pull Requests are merged using “squash commit” mode only. But while running the pipeline by using Az CLI command we are facing the this invalid literal issue.
To Reproduce
az repos policy merge-strategy update --policy-id fa4e907d-c16b-4a4c-9dfa-4916e5d171ab --allow-no-fast-forward false --allow-rebase false --allow-rebase-merge false --allow-squash true --blocking false --branch main --enabled true --org https://dev.azure.com/xyz/ --project <project_name> --repository-id
Expected behavior
It should allow only Squash rest merge type should be blocked
Environment summary
Install Method  CLI version (az --version)
Additional context
While running the above command in az cli, we are encountering the following error:
ERROR: invalid literal for int() with base 10: ‘fa4e907d-c16b-4a4c-9dfa-4916e5d171ab’
##[error]Script failed with exit code: 1

route to appropriate team

I was facing a similar issue, do have any solution for this. Kindly share the details.
Thanks,
SK


Update link to example from angular

Previous target was deleted or renamed. Now use a permalink.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the docs fixup. You just need to run
bazel run @//docs:update

to update the generated docs and it should green up CI

Done.


useBuiltIns not working

Is useBuiltIns supposed to work here?
I guess no, because the polyfill is imported using ember-cli, so there is no import "babel-polyfill"; statement that this babel plugin is looking for, if I correctly understand that. Reducing the needed polyfill parts is probably tackled by https://github.com/babel/ember-cli-babel/pull/142, not using the useBuiltIns option, right?
If that is the case, this option should probably removed from the Readme, or mention that this is not working!?

useBuiltIns still can't work in 2020

Still seems to be a problem with ember-cli-babel 8 (embroider safe) w/ core-js 3. Attempting to use useBuiltIns: 'usage' will add the imports, but gives a runtime error that the core-js files can't be found.
Trying to look into it a bit further...
I think useBuiltIns: 'entry' is basically a no-op at the moment? It seems to keep the core-js/stable (or whatever) import in-place which will import all the polyfills, meaning it's not run properly.
When I use core-js-builder with our browser targets I get a significantly smaller set of polyfills. I guess using that wrapped in a webpack plugin or whatever could be a temporary alternative to useBuiltIns: 'entry'.
'usage' would however probably be the more ideal solution...


Roll Engine from 299eb3e710c1 to 2b3a19425aac (6 revisions)

https://github.com/flutter/engine/compare/299eb3e710c1...2b3a19425aac
2021-03-05<EMAIL_ADDRESS>Update cppwinrt to build 2.0.210304.5 (flutter/engine#24801)
2021-03-05<EMAIL_ADDRESS>Roll Skia from 55aaefe687c7 to 6ba242d2a201 (18 revisions) (flutter/engine#24799)
2021-03-05<EMAIL_ADDRESS>Adds set text action for voice access (flutter/engine#24734)
2021-03-04<EMAIL_ADDRESS>SkParagraph: support multiple default font families (flutter/engine#24662)
2021-03-04<EMAIL_ADDRESS>Roll Clang Mac from MQQ43_LGr... to MRLGJYv8V... (flutter/engine#24794)
2021-03-04<EMAIL_ADDRESS>Allow calls to legacyMakeTypeface in the AssetFontManager (flutter/engine#24612)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Docs: Moved AWS Setup notes to the Appendices

Because the "AWS Setup" instructions are the same (more or less) regardless of whether you want to deploy a single node or a test cluster, I moved the "AWS Setup" notes from the "Deploy a Cluster on AWS" page to a new page in the Appendices. I also made some minor changes to note the differences when deploying a single node.

[Current coverage][cc-pull] is 89.82%

Merging [#422][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #422   diff @@
==========================================
  Files            18         18
  Lines          1258       1258
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1130       1130
  Misses          128        128
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [3eca26a...fbc32aa][cc-compare]
[cc-base-branch]: https://codecov.io/gh/bigchaindb/bigchaindb/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/bigchaindb/bigchaindb/compare/3eca26a409ad36a68ad15961453010678c0f42c7...fbc32aa3fd3e3e4a25a288f3b90abb68bf4ab521?src=pr
[cc-pull]: https://codecov.io/gh/bigchaindb/bigchaindb/pull/422?src=pr

:+1:


System.InvalidOperationException: Collection was modified in GetCurrentClassLogger

Using the NLog <IP_ADDRESS> sometimes throws the following error:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at NLog.LogFactory.GetTargetsByLevelForLogger(String name, IEnumerable`1 rules, TargetWithFilterChain[] targetsByLevel, TargetWithFilterChain[] lastTargetsByLevel, Boolean[] suppressedLevels)
   at NLog.LogFactory.GetConfigurationForLogger(String name, LoggingConfiguration configuration)
   at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
   at NLog.LogManager.GetCurrentClassLogger()

This seems to happen when I have a very large number of threads that generate logs.
EDIT:
Could this be related to: https://github.com/NLog/NLog/issues/500 ?
The stack traces are very similar.

Well #500 is ObjectGraphScanner, and this GetTargetsByLevelForLogger. So I think is a another issue.
We will check this.


Keras Model, Functional API, Multi-input, Efficient allreduce is not supported for n IndexedSlices

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: -
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.3.0-rc2-23-gb36436b087 2.3.0
Python version: Python 3.6.9
Bazel version (if compiling from source): -
GCC/Compiler version (if compiling from source): -
CUDA/cuDNN version: CUDA Version 10.1.243
GPU model and memory: (8x) Tesla K80 - 11441MiB - Driver Version: 410.72

Describe the current behavior
Same issue using TF v2.2.0.
I am using Keras functional API to train a model with more than one input. As a simplified example geting the same problem,
import sys
import tensorflow as tf
import numpy as np

def build_model_():

	input_a_size = 20
	input_b_size = 4
	num_classes = 2
	len_embedding = 256

	input_a = tf.keras.layers.Input(shape=(input_a_size,), name='input_a', dtype=np.uint8)
	input_b = tf.keras.layers.Input(shape=(input_b_size,), name='input_b', dtype=np.float32)

	x = tf.keras.layers.Embedding(len_embedding, 100)(input_a)
	x = tf.keras.layers.Conv1D(128, 4, activation='relu')(x)
	x = tf.keras.layers.MaxPooling1D(4)(x)
	x = tf.keras.layers.Flatten()(x)
	branch_a = tf.keras.layers.Dense(64, activation='relu')(x)

	x = tf.keras.layers.Dense(32, activation='relu')(input_b)
	branch_b = tf.keras.layers.Dense(32, activation='relu')(x)

	concat = tf.keras.layers.Concatenate()([
				                            branch_a,
				                            branch_b,
				                           ])

	x = tf.keras.layers.Dense(512, activation = 'relu')(concat)
	output = tf.keras.layers.Dense(num_classes, name='output', activation='softmax')(x)

	model = tf.keras.models.Model(inputs=[
				                          input_a,
				                          input_b,
				                         ],
				                  outputs=[output])

	return model

strategy = tf.distribute.MirroredStrategy(['/gpu:0', '/gpu:1'])
with strategy.scope():
    model = build_model_()
    model.compile(loss = 'binary_crossentropy', optimizer = 'adam', metrics = ['accuracy'])

y_train = True
y_train = tf.keras.utils.to_categorical(y_train, 2)

dataset = tf.data.Dataset.from_tensors(
    (
        {"input_a": [[1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.]],
         "input_b": [[1.], [1.], [1.], [1.]],},
        {"output": y_train},
    )
).repeat(1000000).batch(256)

history = model.fit(
    x = dataset,
    epochs=10,
    verbose = 1,
)

When starting training I get this warning,
WARNING:tensorflow:Efficient allreduce is not supported for 1 IndexedSlices
When training a model with 3 inputs I get, ...not supported for 2 IndexedSlices, so, I'm getting
WARNING:tensorflow:Efficient allreduce is not supported for n-1 IndexedSlices, being n the number of inputs to the net.
The performance is not scaling using multiple GPUs. It gets slower with 2 GPUs vs 1 GPUs, and worst case using 8 GPUs.

I am running into this same issue with a different model

@ratovarius
Looks like code is incomplete. I am seeing name 'Input' is not defined in the given code. Request you to provide  reproducible code in our environment.It helps us in localizing the issue faster.Thanks!

@ravikyram
I updated the code, now it sould be reproducible

Hi @ratovarius, right now MirroredStrategy.reduce will do a concatenation of IndexedSlices on one device, and broadcast the result back to all GPUs. This is not efficient, hence the warning. This is a known limitation and the current suggestion is to use MultiWorkerMirroredStrategy, which has a slightly better implementation for handling IndexedSlices. Despite its name, MultiWorkerMirroredStrategy can be used with a single worker without additional setup.

Thanks for your answer @nikitamaia
Is there a way to configure witch GPUs to use with MultiWorkerMirroredStrategy ? By default it uses all GPUs, right?
I want to make some performance measurements.
I tested your suggestion, using MultiWorkerMirroredStrategy removes the warning, but it is taking twice time for training using
strategy = tf.distribute.experimental.MultiWorkerMirroredStrategy() # Default -> 8GPUs
compared to,
strategy = tf.distribute.MirroredStrategy(['/gpu:0'])
I'm not sure about the concept of IndexedSlices. Does it get generated when using multi-input model and not when using a single input one?

You can use tf.config.set_visible_devices to specify which devices are visible to the runtime. I'm curious to know what the performance is when you try a smaller number of GPUs.

This issue mirrors some issues I am facing, the algorithm scales up when using 4 gpus under mirrored strategy, but there is no speed increase in how long it takes to get to the end of an epoch (after scaling the batch size by the number of gpus). I do not believe the input pipeline is the bottleneck as it is pretty simple and has a sufficient prefetch buffer size and parallel map calls
WIth 8 gpus:

The gpu utilization often goes down to 0 for 1 to 4 seconds on each gpu
the gpu utilization appears to go from 100 to 0 on gpu 1, then gpu 2 etc in a sequential manner

I increased a little the size of the model in the original issue to get more representative timing.
Now I'm sizing the Batch_Size according to number og GPUs used.
BATCH_SIZE_PER_REPLICA = 1024
GLOBAL_BATCH_SIZE = BATCH_SIZE_PER_REPLICA * strategy.num_replicas_in_sync

dataset = tf.data.Dataset.from_tensors(
    (
        {"input_a": [[1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.]],
         "input_b": [[1.], [1.], [1.], [1.]],},
        {"output": y_train},
    )
).repeat(1000000).batch(GLOBAL_BATCH_SIZE)

Timing comparison:

tf.distribute.MirroredStrategy

strategy = tf.distribute.MirroredStrategy(['/gpu:0'])

Epoch 1/10
977/977 [==============================] - 17s 17ms/step
Epoch 2/10
977/977 [==============================] - 16s 17ms/step

strategy = tf.distribute.MirroredStrategy(['/gpu:0', '/gpu:1']) # (2 GPUs)

WARNING:tensorflow:Efficient allreduce is not supported for 1 IndexedSlices
Epoch 1/10
489/489 [==============================] - 12s 25ms/step
Epoch 2/10
489/489 [==============================] - 12s 25ms/step

strategy = tf.distribute.MirroredStrategy(['/gpu:0', '/gpu:1','/gpu:2', '/gpu:3']) # (4 GPUs)

WARNING:tensorflow:Efficient allreduce is not supported for 1 IndexedSlices
Epoch 1/10
245/245 [==============================] - 11s 46ms/step
Epoch 2/10
245/245 [==============================] - 11s 46ms/step

strategy = tf.distribute.MirroredStrategy() # (8 GPUs)

WARNING:tensorflow:Efficient allreduce is not supported for 1 IndexedSlices
Epoch 1/10
123/123 [==============================] - 12s 95ms/step
Epoch 2/10
123/123 [==============================] - 11s 89ms/step

tf.distribute.experimental.MultiWorkerMirroredStrategy(). Configuring number of GPUs with tf.config.set_visible_devices. Performance Warning disappears.

1 GPU

Epoch 1/10
977/977 [==============================] - 17s 17ms/step
Epoch 2/10
977/977 [==============================] - 16s 17ms/step

2 GPUs

Epoch 1/10
489/489 [==============================] - 11s 23ms/step
Epoch 2/10
489/489 [==============================] - 11s 22ms/step

4 GPUs

Epoch 1/10
245/245 [==============================] - 7s 30ms/step
Epoch 2/10
245/245 [==============================] - 7s 30ms/step

8 GPUs

Epoch 1/10
123/123 [==============================] - 6s 49ms/step
Epoch 2/10
123/123 [==============================] - 5s 44ms/step

So, I have performance scaling with GPUs, thanks @nikitamaia .

Glad to hear it! When you just have one machine MirroredStrategy is better tested and definitely preferred. However, for this performance issue with IndexedSlices MultiWorkerMirroredStrategy is a potential workaround. I can update this thread when there is a change to how MirroredStrategy handles IndexedSlices.
@r-wheeler can you open a separate issue with some more information about your model and the GPUs you're using? Sometimes when there's a drop like that it can be a network issue. Did you try experimenting with MultiWorkerMirroredStrategy ?

Closing this thread now since it's a known limitation with a workaround. I will update here if anything changes.

@nikitamaia
Same issue here with tf-2.4.
MultiWorkerMirroredStrategy is optimized for distributed training on distributed computers (networked environment)
MirroredStrategy is optimized for multi-gpu on a single computer
Is this right?
If that's the case, I think the issue should not be closed, as the workarround for distributed training with multi-input model is not optimized.

@nikitamaia
Same issue here with tf-2.4.
MultiWorkerMirroredStrategy is optimized for distributed training on distributed computers (networked environment)
MirroredStrategy is optimized for multi-gpu on a single computer
Is this right?
If that's the case, I think the issue should not be closed, as the workarround for distributed training with multi-input model is not optimized.

@nikitamaia I have a similar issue https://github.com/tensorflow/tensorflow/issues/46800, the MultiWorkerMirroredStrategy
work-around is not helping.  Is there a plan to address this in the upcoming releases?
Thank you!

@nikitamaia
Same issue here with tf-2.4.
MultiWorkerMirroredStrategy is optimized for distributed training on distributed computers (networked environment)
MirroredStrategy is optimized for multi-gpu on a single computer
Is this right?
If that's the case, I think the issue should not be closed, as the workarround for distributed training with multi-input model is not optimized.

@nikitamaia Though MultiWorkerMirroredStrategy  won't throw the IndexedSlices warning, it takes a long time to start training, much longer than MirroredStrategy .
Is there any progress about this issue?

Any update?  Should we open a new issue to track a solution?

No one cares it seems :-(

Has there been any update on this issue? It would be very useful to know a little bit more about how we can either avoid this issue when developing our model.

The workaround that @ratovarius uses (posted in its entirety on Stack Overflow), does not work for me.  I get the following error message:
ValueError: Disallowed task type found in cluster spec. Allowed types are ('chief', 'worker', 'evaluator', 'ps', None) and the cluster spec is ClusterSpec({'master': ['<IP_ADDRESS>:2222']}).

@nikitamaia could you please re-open the issue?


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_3810b41f-2f53-4f2d-98fb-809657759b1f/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_3810b41f-2f53-4f2d-98fb-809657759b1f.git

Docs Build status updates of commit e187a65:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/VSC-Service-Account/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e187a65:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/VSC-Service-Account/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Run error

Whenever I run proxybroker I get this exact error:
python/lib/python3.5/site-packages/aiohttp/client.py:575:`
 DeprecationWarning: Use async with instead
  warnings.warn("Use async with instead", DeprecationWarning)

I've installed it on 2 machines and still get the same error. If I install proxybroker directly from github the command works fine. If I install proxybroker through pip, the command isn't found.

My issues were fixed by:

Install using pip the latest version of ProxyBroker from github.
Installing aiohttp 1.3.5, not the latest version.
Using the pull request that would fix the error I got.


[Support pandas 1.0.0] List of changes to move to pandas 1.0.0

Related with #1194
There are several errors detected in pandas 1.0.0 with the existing tests.
(Below list would continuously be updated. if solved, let's check the box)
DataFrameGroupBy

[x] DataFrameGroupBy.idxmin doesn't work anymore with non-monotonically increasing/decreasing index
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/4d68cf667f74373477e5ad2b51e8bd68be497b66)

>>> pdf
          a  b   c
0.823938  1  1   1
0.375564  1  1   4
0.780599  2  2   9
0.719376  2  2  16
0.561594  3  3  25
0.700282  3  4  36
0.191650  1  1   1
0.776248  1  1   4
0.646595  2  2   9
0.151985  2  2  16
0.043341  3  3  25
0.860290  3  4  36
0.768670  1  1   1
0.248475  1  1   4
0.984787  2  2   9
0.400554  2  2  16
0.298807  3  3  25
0.245567  3  4  36

>>> pdf.groupby('a').idxmin()
Traceback (most recent call last):
...
ValueError: index must be monotonic increasing or decreasing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
KeyError: 0.0

[x] DataFrameGroupBy.idxmax doesn't work anymore with non-monotonically increasing/decreasing index
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/4d68cf667f74373477e5ad2b51e8bd68be497b66)

>>> pdf.groupby('a').idxmax()
Traceback (most recent call last):
...
ValueError: index must be monotonic increasing or decreasing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
KeyError: 0.0

[x] DataFrameGroupBy.fillna doesn't work anymore with non-monotonically increasing/decreasing index
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/4d68cf667f74373477e5ad2b51e8bd68be497b66)

>>> pdf.groupby('a').fillna(0)
Traceback (most recent call last):
...
ValueError: index must be monotonic increasing or decreasing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
KeyError: 0.0

[x] DataFrameGroupBy.diff doesn't work anymore with non-monotonically increasing/decreasing index
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/4d68cf667f74373477e5ad2b51e8bd68be497b66)

>>> pdf.groupby('a').diff()
Traceback (most recent call last):
...
ValueError: index must be monotonic increasing or decreasing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
KeyError: 0.0

[x] parameter fill_value for DataFrameGroupBy.shift
(Commented for passing tests at https://github.com/databricks/koalas/blob/4d68cf667f74373477e5ad2b51e8bd68be497b66/databricks/koalas/tests/test_groupby.py#L722-L755

>>> pdf.groupby('a').shift(fill_value=0)
Traceback (most recent call last):
...
KeyError: 0.0

[x] some cases for groupby with MultiIndex raise ValueError

>>> pdf
   x       y  z
   a  b    c  d
0  1  4  4.0  a
1  2  2  2.0  b
3  6  7  7.0  c
5  4  3  3.0  d
6  4  3  NaN  e
8  6  1  1.0  f
9  4  1  1.0  g
9  3  1  1.0  h
9  7  2  2.0  t

>>> pdf['x', 'a'].groupby(pdf[('x', 'b')])
Traceback (most recent call last):
...
ValueError: Can only tuple-index with a MultiIndex

Series

[x] parameter encoding for Series.to_latex
(Commented for passing tests at https://github.com/databricks/koalas/pull/1197/commits/1bc76b39a309d0a51aabf9def38cd9d5f7d50f03)

>>> pser
0    1
1    2
2    3
3    4
4    5
5    6
6    7
Name: x, dtype: int64

>>> pser.to_latex(encoding='ascii')
Traceback (most recent call last):
...
ValueError: buf is not a file name and encoding is specified.

Expanding

[x] behavior of Expanding.count has changed
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/079721d594d63c7ce92433c88b780f3f02a6959e)

FROM
>>> pdf
          a    b
0.761107  1  4.0
0.846601  2  2.0
0.072477  3  3.0
0.793417  2  1.0

>>> pser.expanding(2).count()
a  x    1.0
   y    2.0
b  z    3.0
Name: 0, dtype: float64

TO
>>> pdf
          a    b
0.761107  1  4.0
0.846601  2  2.0
0.072477  3  3.0
0.793417  2  1.0

>>> pser.expanding(2).count()
a  x    NaN
   y    2.0
b  z    3.0
Name: 0, dtype: float64

RollingGroupBy

[x] functions for RollingGroupBy for DataFrameGroupBy don't work anymore with non-monotonically increasing/decreasing index
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/6be375b8c114402b3486189b0fa7f49898b39c26)

>>> pdf
          a    b
0.006197  1  4.0
0.331083  2  2.0
0.886719  3  3.0
0.040370  2  1.0

>>> pdf.groupby(pdf.a).rolling(2).std()
Traceback (most recent call last):
...
ValueError: index must be monotonic increasing or decreasing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
KeyError: 0.0

ExpandingGroupby

[x] functions for ExpandingGroupby for DataFrameGroupBy don't work anymore with non-monotonically increasing/decreasing index
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/71b78d7600f4eae318941d2a70d9729e30cee050)

>>> pdf
          a    b
0.006197  1  4.0
0.331083  2  2.0
0.886719  3  3.0
0.040370  2  1.0

>>> pdf.groupby(pdf.a).expanding(2).std()
Traceback (most recent call last):
...
ValueError: index must be monotonic increasing or decreasing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
KeyError: 0.0

[x] behavior of ExpandingGroupby.count has changed
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/957a4f94bf398dabc10f939ee79a81444c29e086)

FROM
>>> pdf
   a    b
0  1  4.0
1  2  2.0
2  3  3.0
3  2  1.0
>>> pdf.groupby('a').expanding(2).count()
       a    b
a
1 0  1.0  1.0
3 2  1.0  1.0
2 1  1.0  1.0
  3  2.0  2.0

TO
>>> pdf
   a    b
0  1  4.0
1  2  2.0
2  3  3.0
3  2  1.0
>>> pdf.groupby('a').expanding(2).count()
       a    b
a
1 0  NaN  NaN
2 1  NaN  NaN
  3  2.0  2.0
3 2  NaN  NaN

Common

[x] pd.get_dummies no more allows non-list-like for columns parameter
(Fixed for passing tests at https://github.com/databricks/koalas/pull/1197/commits/75351c59fffbd6211acaa9632824d1a0f897d84e)

>>> pdf
   x     y
   a  b  c
   1  2  3
0  1  a  a
1  2  b  b
2  3  c  c
3  4  d  d
4  4  a  a
5  3  b  b
6  2  c  c
7  1  d  d

>>> pd.get_dummies(pdf, columns='x')
Traceback (most recent call last):
...
TypeError: Input must be a list-like for parameter `columns`

close since all check lists are resolved.


add file connector example

Purpose
This PR contains an example scenario of the File Connector.

Shall we organise common page to two common pages?

'Importing Connector to Integration Studio Solution Project'
'Exporting artefacts' -
2.1  Creating connector exportor project
2.2 Creating Capp project
2.3 Exporting CApp


Support for Play Twirl template files

It would be nice to support commenting of Play Twirl template files
https://www.playframework.com/documentation/2.5.x/ScalaTemplates#Comments

@johno1985 I'm working on this, see #64. Which comment style do you prefer for license headers in twirl templates? Currently I've implemented block comments of the form:
@****************
 * License text *
 ****************@

An alternative would be to create them like this:
@*
 * License text
 *@

We could also make it configurable...

Hi @britter, I think we would prefer the latter. But it may be a good idea to make this configurable for other consumers.

@johno1985 please have a look at #72

Thanks @britter


Does not lockdown when pieces are stacked on side

The next piece will not be generated.

It is reproduced on Ubuntu 18.04.
It seems to be something wrong with the lockdown from the right/left movement.
I'll fix it.
Thank you.


Assembly load redirect for Microsoft.Crm.Sdk.Proxy

Resolution for #237
Spkl now redirects loading of Microsoft.Crm.Sdk.Proxy to compiled version (9.0) rather than attempting to load dependent version from plugin/workflow assembly (i.e. 8.x).
Tested deployment of workflow assembly:
Built against Microsoft.Crm.Sdk.Proxy <IP_ADDRESS> and deployed to CRM <IP_ADDRESS>4
Built against Microsoft.Crm.Sdk.Proxy <IP_ADDRESS> and deployed to CRM <IP_ADDRESS>8
NOTE: This is a duplicate new PR to replace #262. This PR is from my working branch rather than spkl_dev and only includes one commit

Included in https://www.nuget.org/packages/spkl/1.0.228-beta

This released as https://www.nuget.org/packages/spkl/1.0.370


Separate Envelope writing from marshalling

A new API for working with envelope messages. Envelopes are built up within a single buffer. We can now use a single write call and pass a bytes.Buffer as the full payload.
With this change marshallers no longer write to the stream. Control is given to the protocols connection handler. This allows the protocols implementation to easily customize the behaviour. However, it does duplicates some of the flow. Overall I think it's simpler to duplicate control flow into the connection handler to allow for protocol specific features. Changes:

Connect unary now use marshal to gain marshalAppend codecs: https://github.com/bufbuild/connect-go/blob/6183cbf6ff174060dbdc494095ed7934dee4bc7d/protocol_connect.go#L907
No longer need to partially build envelopeWriters, create the envelope and write it instead: https://github.com/bufbuild/connect-go/blob/6183cbf6ff174060dbdc494095ed7934dee4bc7d/error_writer.go#L133-L138
errSpecialEnvelope is no longer needed, protocols check for end flags directly: https://github.com/bufbuild/connect-go/blob/6183cbf6ff174060dbdc494095ed7934dee4bc7d/envelope.go#L28
gRPC read trailer functions can be moved into the Receive() functions: https://github.com/bufbuild/connect-go/blob/6183cbf6ff174060dbdc494095ed7934dee4bc7d/protocol_grpc.go#L323
Easier to avoid leaking abstractions from one protocol to the other. Error messages are set in the handler: https://github.com/bufbuild/connect-go/blob/6183cbf6ff174060dbdc494095ed7934dee4bc7d/envelope.go#L190
Small reduction in allocs/op:

- BenchmarkConnect/unary-8<PHONE_NUMBER> ns/op         5448544 B/op        232 allocs/op
+ BenchmarkConnect/unary-8<PHONE_NUMBER> ns/op         5190420 B/op        221 allocs/op

Closing, will look at breaking apart!


statusbar show different in terminal and GUI app

environment

vim: neovim-dot-app
vim-airline: update today
OS: MacOS
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:
let g:airline_powerline_fonts = 1
let g:airline_theme= 'powerlineish'
if you are using terminal:
terminal: yes and no
color configuration (:set t_Co?):
if you are using Neovim:yes
does it happen in Vim: no

actual behavior

the statusbar above is neovim in iterm2 while the below one is neovim-dot-app, why they are different? both of them use the same init.vim,the same font, same font size.
vim8 is ok.
expected behavior

different window width

truely the reason is not the width, i delete all the neovim config accidently, and after i reinstall all the plugins, the neovim-dot-app show like this no matter what window width it is:

it's the same as neovim in terminal, but the "LN" sign is not clearly,though i don't know what "LN" means

Your maxlinenr looks funny, perhaps it is a rendering bug in neovim-dot-app.
One symbol is maxlinenr and the other is linenr.
Check the output of :echo g:airline_section_z it should show the difference. And it is defined here


Bugfix

if multiple Configs contains a List of Callbacks, the last one overrides the previous ones (compare ensure_config:281

@gipde thanks for your contribution -- current behavior is actually as intended. let me know if this is causing any specific issues for you!


fix pps documentation of ghost

This PR add support for the documentation of ghost declarations.
Gospel preprocessor should now accept every interleaving of ghost declaration, with and without specification and with or without spaces between these items. Spaces are checked to contains not more than one end of the line character when necessary.
Decision has been made (but can obviously been discussed) to support documentation between a ghost declaration and its specification with no constraints on the space in between. (See tests added in the first commit for examples)
Fixes #324

I updated this PR with one large modification. Now determining whether space should separate two consecutive items (aka be considered Large) is using data from the lexer (which rules were applied) to handle possibly-nested comments and contained strings properly.
On the way, two minor updates:

a rebase on main,
reindenting (two spaces, for consistency).

I just force-pushed an update that only fixes a few typos in a commit message.
I’ll merge if CI is happy.


Set boxing and unboxing

Support set boxing, unboxing and reflection.
Based on PR #1733.

Looks like some merge conflicts now...

Right, resolved.


Update strip.go

[FIX] Deprecated io/ioutil

Thanks @l3dlp.
Using os.ReadFile() limits this to Go 1.16 and higher, but that may be okay now.


feat: add new attribute reference zookeeper_connect_string_tls and variable to configure timeout settings

Description

add new attribute reference zookeeper_connect_string_tls
add new variable timeouts to configure timeout settings (create, update, delete)
bump min supported version to support these changes
add default cluster name of msk to avoid errors Error: cluster_name must be 1 characters or higher (aws_msk_cluster_invalid_cluster_name)

Motivation and Context

add changes from upstream AWS provider in release v3.60.0
to avoid errors Error: cluster_name must be 1 characters or higher (aws_msk_cluster_invalid_cluster_name)

How Has This Been Tested?

tested using complete example

Screenshots (if appropriate):

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


idea HTC Vive circular touchpad emulation

In some games we need the touchpad to switch weapons for example.
Could we get some options in the PS move config tool to tell the mouse will emulate the touchpad or  pressing regular PSmove buttons : circle,triangle, square, cross buttons will act like using the touchpad ?
This would help a lot.

Can't find the post now but I believe there was talk  of implementing a button to act as a touchpad press and until it was released the directional tracking would act as touchpad input as a possibility later down the road. I'd imagine this would also depend on what happens with navigation controller support too as it has an analogue stick which could potentially perform the same function.

This would be graet to emulate touchpad with a button pressed than rotate around with PSmove to simulate Touchpad interaction.

@Bungpiece I've implemented the feature you've described and submitted a pull request: https://github.com/cboulay/PSMoveService/pull/205

@YossiMH great work mate. As you mention in the pull request discussion this should add compatibility with quite a few programs that rely on swipes, make ui's easier to use and develop. I wish I knew where in the issues I saw the original idea but I've never seen the comment again.

@Bungpiece You probably saw it in this reddit thread where I suggested it to HipsterSloth. I used it in the FreePIE script for the plugin of thp's PSMoveAPI here and thought it was a good method.
@YossiMH Great work implementing this!

 No wonder I couldn't find it under issues.


:bug: Fix spec description for ctrl-u

ctrl-u moves up the screen but the spec description said it moved down.

:ok_hand:


Supporting the new properties metadata

Obsidian recently introduced Properties. It would be great to have this supported.

YAML frontmatter is already supported.


Is there a way to know how many dof from a xml file?

As title mentioned,I want to know how many joints and dof does franka_sim/bi-franka_panda have,to let it move.
But it didn't say in its github page or readme.md. So is there any solution?
Thanks!

By the way if anyone know standard dataset of robots(especially two arm) plz tell me :sob:

Do you mean inside genesis or by just reading the xml?
In genesis, you can simply do entity.n_dofs, or simply type entity in a interactive shell (like ipython)
see https://genesis-world.readthedocs.io/en/latest/user_guide/getting_started/interactive_debugging.html

Also, you can use gs view <path to file> to check the asset and moveable dof

ty for telling me info about inside genesis,how about reading the xml? SInce I may need to import objects from other dataset.


No input file specified. & API without PHP

Hi :-)
I have installed Cockpit 0.13.
I have the cockpit folder in the root, but when i try to open come an error.

its an clean install of cockpit like the documentation.

Info. I use Homestead!
And the other question.
How i can use the cockpit API without php?
Everytime come the error

The code

Thx for help

PHP 7.0


Metadata drawer

Resolves #50.

There's currently one problem for which I'd like advice: the v-navigation-drawer is supposed to open and close based on its value prop, but I can't get it to close once open with this prop. Instead, I resorted to specifying the show variable with v-if, which means we don't get the nice sliding drawer animation. Any tips?


Add note about changing KeepAliveInterval

https://github.com/aspnet/SignalR/issues/2905
Internal Review Link

Thank you for the PR, @BrennanConroy!


Use BufReader for PyFileLikeObject with 1MB buffer

Wraps PyFileLikeObject in BufReader with a 1MB buffer for BAM, BCF,
VCF, and BigWig readers. Avoids changing the behavior of new to
prevent baking in assumptions about buffering needs or sizes, preserving
flexibility for unbuffered use cases.

Follow-up to #68
We want to avoid setting up the buffer inside new because it bakes in an opinion about buffering, which might conflict with cases where readers are already buffered, and it removes flexibility for users to configure buffer sizes or avoid buffering entirely if our choices are undesirable for their use case.

Works for me 👍
You have some unused imports. Doesn't look like they're the result of this PR but maybe they just appeared because I was recompiling these files?
warning: unused import: `Read`
 --> /Users/pete/projects/oxbow/oxbow/src/fastq.rs:6:36
  |
6 |     io::{self, BufRead, BufReader, Read},
  |                                    ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused imports: `Read` and `Seek`
 --> /Users/pete/projects/oxbow/oxbow/src/gff.rs:2:35
  |
2 | use std::io::{BufRead, BufReader, Read, Seek};
  |                                   ^^^^  ^^^^

warning: unused import: `Seek`
 --> /Users/pete/projects/oxbow/oxbow/src/gtf.rs:2:35
  |
2 | use std::io::{BufRead, BufReader, Seek};
  |

You have some unused imports. Doesn't look like they're the result of this PR but maybe they just appeared because I was recompiling these files?

I think they did result! Thanks Pete. Need to get cargo fix -p oxbow in my muscle memory.


AMQP-639: Add DirectRabbitListenerContainerFactory

JIRA: https://jira.spring.io/browse/AMQP-639
Pull common properties up to the abstract factory.

Merged as https://github.com/spring-projects/spring-amqp/commit/517bc9fb7c5f5a32e1db7cf70a9ba9fcfbe98d56


Sort generated add_subdirectory's

Fixed in https://github.com/tristanlabelle/swift-winrt/pull/384


Reading vault token in sidecar container from disk

When using the official consul-template image hashicorp/consul-template:alpine, it will not load the vault token from /home/vault/.vault-token. Instead it expects the token to be present in the VAULT_TOKEN environment variable.
Is there any way in your setup to use it with the official conul-template image?

No - you have to use my fork or ask HashiCorp to push a new version of CT to the registry. Sorry.

Thanks. I will probably do both.


Show git changes of the current folder

If there is a git project in the current folder show git changes as a prefix of the opened project files and folders like on VSCode (M for modified and U for the created ones).

Yea cool idea, I think it should be added. If I was able to build Acode by myself, I would add that. I was encountering a problem, i opened a issue but Deadlyjack closed it without helping much.

Please refer to https://github.com/deadlyjack/Acode/issues/483#issuecomment-1223927901.


add branch coverage for vTaskResume and xTaskGenericNotify.

add branch coverage for vTaskResume and xTaskGenericNotify.
Description
update covg_multiple_priorities_no_timeslice_utest.c to cover additional branches of vTaskResume and xTaskGenericNotify.
Test Steps
cd FreeRTOS/Test/CMock
make coverage
Related Issue
TS-24219
TS-24208
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Resolve the conflict and check it offline.


Issue with second colon on image line

Not sure if this is just something odd in my environment, found that I had to remove from the second colon onwards for the gen-yb-docker-compose.sh file to generate a docker-compose.yaml that works.
Otherwise it would complain about "mapping values are not allowed here".
As a result my output docker-compose.yaml file now has:
yb-demo-connect:
image: yugabytedb/yugabyte       <== no second colon or tag here
volumes:

Got it. I added recently fetching the latest version tag, but if you don't have curl and jq it will not work.
I've added a detault to latest in https://github.com/FranckPachot/ybdemo/commit/5cbfa747c54115cd67ba472ce5253c0d41114fb4 - thanks

It must have been jq, already had curl - works now and on other machines since installing jq.
Also of note, I had to reboot after installing maven at least, possibly jdk too, on Ubuntu 22.04 for the root directory build to work (I think).
Cheers Andrew


Session state is not changed after failed request

Which package is this bug report for? If unsure which one to select, leave blank
No response
Issue description
If a crawler request handler fails, the session state is not changed at all. That means it will never be replaced and might lead to infinite blocking.
I think in the initial SessionPool specs, we wanted to call session.markBad() when the request handler threw an error. At a minimum, it should increase session.usageCount. Right now, it only marks the session good if it succeeds but does not touch it on error, .e.g in this catch block
Example run https://console.apify.com/view/runs/PuagSQ0VRYFbRnDO1
Code sample
await Actor.init();

const proxyConfiguration = await Actor.createProxyConfiguration();

const crawler = new PuppeteerCrawler({
    proxyConfiguration,
    sessionPoolOptions: {
        maxPoolSize: 1,
    },
    requestHandler: async ({ page, request, session }) => {
        // The log prints incremented retryCount of request but session usageCount and errorScore stay at 0.
        log.info(`Request retryCount: ${request.retryCount}, sessionId: ${session.id}, `
            + `session usageCount: ${session.usageCount}, session errorScore: ${session.errorScore}`);
        throw 'Retry';
    },
});

await crawler.run([{"url":"https://example.com"}]);

// Exit successfully
await Actor.exit();

Package version
3.0.4
Node.js version
16.17
Operating system
No response
Apify platform

[ ] Tick me if you encountered this issue on the Apify platform

Priority this issue should have
Medium (should be fixed soon)
I have tested this on the next release
No response
Other context
No response

I think in the initial SessionPool specs, we wanted to call session.markBad() when the request handler threw an error.

Doing this on any error (like timeouts) seems weird, but I guess we could do it conditionally, e.g. for 401/403?

I would mark it bad on any error as it should by default do what it takes to get into working sessions. When it goes through, it marks itself as good which removes some of the error scores. I think this was the original idea when we discussed the specs with @petrpatek .  At worst when you throw a lot but it is not tied to the session necessarily, you will rotate the sessions faster. No huge deal if we don't do it but as I described as well in https://github.com/apify/crawlee/issues/1573, SessionPool is kinda our enfant terrible as the only way to really understand what it is doing is to dig into the source code.
Not marking it as used on error is a pure bug I think

Well, then it's your guys' pick really :) I put my insights in the PRs up here, as we said, there are possible up/downsides to either.

I got confused by the naming, thought markBad will discard the session completely, but it only adds to the error score, so that seems like the correct thing to do.

@barjin @B4nan It seems this is still not fully resolved unless we missed something obvious.
Simple repro run here:
{"apifyVersion":"3.1.1","apifyClientVersion":"2.6.1","crawleeVersion":"3.1.2","osType":"Linux","nodeVersion":"v16.18.1"}
https://console.apify.com/actors/xk6JLt8GSf8ADb7pQ/runs/czSBPo2euKp08vpCJ#log
Same session is used over and over for retries but usageCount and errorScore and not incremented and session is not rotated.

The obvious thing we missed is a release of new version, this patch is not part of 3.1.2.

Yes please, preferably E2E test.


generate API response null in swaggerUI

precondision
# lmdeploy intern-chat-7b by RestfulAPI method
python3 -m lmdeploy.serve.openai.api_server ./workspace server_ip server_port --instance_num 32 --tp 1

# Enter swaggerUI
http://{server_ip}:{server_port}

issue
In generate part, response body returns null in key "text"

, while the /v1/chat/completions, /models, /embedding APIs are all fine.
btw, it is tested through ngrok public url cause the localhost is in indirectly unaccessable subnet.

FAQ 3 https://github.com/InternLM/lmdeploy/blob/main/docs/en/restful_api.md#faq

Same issue.
But I tried the python implement of /generate API and run in cli. It returns contents instead of null.

You were running on an old session_id. Please set sequence_end = True first.

chat.py shows how a session should be started and ended.

You were running on an old session_id. Please set sequence_end = True first.

Thank you very much. It works fine. Is there any docs about sequence_start and sequence_end ? I want to know more. Thanks for the patience and speed~

I suppose the docstring explains something. We will provide more detailed documents or cookbooks later.

I will update it with a detailed description.


Remove debowerify dependency and switch to the npm version of prismjs

This PR removes the dependency on debowerify, and switches prismjs to be the npm version (and also a much more recent version).

Hi @lbearl.
I've started a roadmap for a new version of the generator : #36. You can see the Work in Progress in the v3 branch. I've addressed this issue in one of the commits. We will continue the effort here, that's why I'm closing the issue. Thanks very much for the PR and for your time. It would help a lot if you could review the commit and give you opinion.
Thanks.


downloaded the webpart and added into app catolog. getting error while adding webpart on modern pages

Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***INNERERROR:
***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:351:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:16704)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:13917)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:11726)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:110506
at
. Press Enter to navigate inside the web part. When inside, use Alt+F10 to go to toolbar, use Alt+P to move focus to the property pane and use Escape to exit the web part.

How can we help ensure "somethings don't go wrong" ?
..!.. (o_O) ..Y
[]D[][]/[][]D
On Jul 29, 2017, at 10:02 PM, raghu522 <notifications<EMAIL_ADDRESS>wrote:
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***INNERERROR:
***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:351:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:16704)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:13917)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:11726)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:110506
at
. Press Enter to navigate inside the web part. When inside, use Alt+F10 to go to toolbar, use Alt+P to move focus to the property pane and use Escape to exit the web part.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OlivierCC/spfx-40-fantastics/issues/35, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADV9iVBFVe1CblwPl3j2-cXWofz1fMmLks5sTABTgaJpZM4OniD-.

same problem here !!! \0/

Seems very unreliable the hosting of these resources... hopefully Oliver respond with options, as they are very useful

Yeah I'd assume his expectation was that we bring the JavaScript resources into our own host and build the package again. That's what we are planning to do. Olivier is really good about responding and providing recommendations
On Aug 6, 2017, at 12:38 AM, Warwick Ward <notifications<EMAIL_ADDRESS>wrote:
Seems very unreliable the hosting of these resources... hopefully Oliver respond with options, as they are very useful
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/OlivierCC/spfx-40-fantastics/issues/35#issuecomment-320488831, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADV9idyBrdn8G0Sf3nDKp6sxQsKuZ8qXks5sVV9WgaJpZM4OniD-.

Is it a conflict with something loading in the SharePoint modern pages do you think?
As running the solution in local workbench they run fine

even after hosting all the deploy files locally, I can't now get past this error. Anyone have any ideas
[SPLoaderError.loadComponentError]:
***Failed to load component "89d609dd-9fb6-4353-aab4-6215ac1bb7f6" (Accordion).
Original error: ***Failed to load path dependency "jqueryui" from component "89d609dd-9fb6-4353-aab4-6215ac1bb7f6" (Accordion).
Original error: Cannot read property 'ui' of undefined
***INNERERROR:
***Failed to load path dependency "jqueryui" from component "89d609dd-9fb6-4353-aab4-6215ac1bb7f6" (Accordion).
Original error: Cannot read property 'ui' of undefined
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-21.015/sp-classic-page-assembly_en-us_99df35401a95853a1847e55b244b6917.js:206:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-21.015/sp-classic-page-assembly_en-us_99df35401a95853a1847e55b244b6917.js:501:19050)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-21.015/sp-classic-page-assembly_en-us_99df35401a95853a1847e55b244b6917.js:501:12597)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-21.015/sp-classic-page-assembly_en-us_99df35401a95853a1847e55b244b6917.js:501:8666)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-21.015/sp-classic-page-assembly_en-us_99df35401a95853a1847e55b244b6917.js:501:107462
at

I had this problem as well, and then just yesterday it stopped. I figure it was a bad deployment on the O365 side.

If you are using the precompiled web part package, this sample kit is hosted on a very basic CDN on Azure. This CDN is very basic without high availibity options. I upgraded the hosting model some days ago, but it is still a basic subscriptions.
If the behavior is enough for you, you can still use this CDN. If you want to have a better experience, I advise you really to use your own CDN to host the Javascript ressources as suggested by @screwfacekilla.

I actually tried that, hosting everything in the deploy folder and changing the CDN path, but still got issues, which is why I figured it was conflicts happening or changes Microsoft was making. Though maybe I didn't configure something right in the config, still learning the finer aspects of SPFx.

@OlivierCC  i tried hosting web part in our own CDN. But still getting same error. Can you give any tips on how to resolve it.

Hello
How to download the contents of the spfx40fantastics.azureedge.net/spfx40fantastics to local SP library?


training with triplet loss only (without softmax or center loss)

have you tried triplet loss only (without softmax or center loss). For my dataset (a little bit dirty), both softmax and softmax_triplet work, however, triplet loss cannot work. I find it hard to set the hyperparameters, and it takes a long time to try different sampling strategies. can anyone give some suggestions?
i prefer triplet because of the large number of ids(> 10 million, and is still growing). GPU memory is limited.

Actually, training with triplet loss only needs more time to converge. You can refer to face recognition which has large number of ids (>100 million) and they still prefer softmax loss rather than triplet loss or pairwise contrastive loss.

Actually, training with triplet loss only needs more time to converge. You can refer to face recognition which has large number of ids (>100 million) and they still prefer softmax loss rather than triplet loss or pairwise contrastive loss.

Thanks for your constructive comments. I'm using softmax-based loss for my task now. But the number of samples in each identity is not large (< 20), triplet loss maybe a better one in this case.

According to our experiments, pairwise cosface is much better than triplet loss.

According to our experiments, pairwise cosface is much better than triplet loss if the number of images in each id is low.

Thanks for your comprehensive comment. I'll try diffent loss functions for my task (image retrieval).

According to our experiments, pairwise cosface is much better than triplet loss if the number of images in each id is low.

another question. does pairwise cosface outperform the conventional cosface?

It depends on your data distribution. No Silver Bullet.


New version DiffEqSensitivity: 3.2.2

Registering: DiffEqSensitivity
Repository: https://github.com/JuliaDiffEq/DiffEqSensitivity.jl
Version: v3.2.2
Commit: c13f57561fc84238db023f1ed5bb5cf48bcc590b
Proposed by: @YingboMa
Reviewed by: @YingboMa
Reference: https://github.com/JuliaDiffEq/DiffEqSensitivity.jl/commit/c13f57561fc84238db023f1ed5bb5cf48bcc590b#commitcomment-33340552

See the commit message
https://github.com/JuliaDiffEq/DiffEqSensitivity.jl/commit/a5f22203f37d9c5ab17cee243d4111e3a76fe43c
On Mon, Apr 29, 2019 at 5:18 AM Fredrik Ekre<EMAIL_ADDRESS>wrote:

@fredrikekre commented on this pull request.
In D/DiffEqSensitivity/Compat.toml
https://github.com/JuliaRegistries/General/pull/397#discussion_r279288806
:

@@ -32,7 +32,7 @@ ForwardDiff = "0"
DiffEqCallbacks = "0-2"
QuadGK = "0-2"

-[1-3]
+["1-3.2.1"]
DiffEqBase = "3-5"
Why don't you keep the constraints on DiffEqBase and DiffEqDiffTools?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaRegistries/General/pull/397#pullrequestreview-231579291,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEEAZJ3S2ABYK3VB46IOCULPS24P3ANCNFSM4HI7WOSA
.

So this release works with all previous versions of those pacakges?

If they work on Julia version 1, then they work with it.
On Mon, Apr 29, 2019 at 5:23 AM Fredrik Ekre<EMAIL_ADDRESS>wrote:

So this release works with all previous versions of those pacakges?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaRegistries/General/pull/397#issuecomment-487512952,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEEAZJZMZRX3LCWWSHSUXZDPS25AXANCNFSM4HI7WOSA
.

Ok.


Not working

Not working, appears only white screen.
E/flutter ( 4287): [ERROR:flutter/shell/common/engine.cc(149)] Could not prepare to run the isolate.
E/flutter ( 4287): [ERROR:flutter/shell/common/engine.cc(114)] Engine not prepare and launch isolate.
E/flutter ( 4287): [ERROR:flutter/shell/platform/android/android_shell_holder.cc(136)] Could not launch engine in configuration.
Syncing files to device Android SDK built for x86...         7.2s

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:8101/
For a more detailed help message, press "h". To quit, press "q".

Error -32601 received from application: Method not found
Application finished.

@KanybekMomukeyev Hi, can you please provide/answer the following:
*) What phone and firmware version are you using?
*) What OS are you running on?
*) The output of flutter doctor

Closing due to inactivity,
feel free to reopen when available


example input for users

I want to add an option in the default_run_data() function that creates a directory with the simulation input. This way, new users can inspect the folder and file structure that is required to successfully run the model and play around with it.

Maybe we could have some small examples in a MetaRange/examples folder? Probably not all of bavaria but smaller scale ones. Compare for example Agents.jl

#78e7bfc should fix this

solved through other means


[AUTOPATCHER] Patches CVE-2021-36160 for httpd

        Patches CVE-2021-36160 for httpd.
        This patch and PR was automatically generated and needs human verification before merging.

Closing PR.  This package will be upgraded.


Release Google.Area120.Tables.V1Alpha1 version 1.0.0-alpha04

Changes in this release:

Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs

Created release for Google.Area120.Tables.V1Alpha1-1.0.0-alpha04


Clean unit checking

At this moment units are handled somewhat badly. It would be good to make them properly handled in the program.

There have been no issues with this for a while.
The only issue is with ForwardDiff, which does not support Unitful. But this can be solved by stripping units from the output.


【ISSUE #4550】adjust description of GetAclConfg command

Make sure set the target branch to develop
What is the purpose of the change
#4550

Codecov Report

Merging #4551 (ddcc8e9) into develop (493e52b) will decrease coverage by 0.25%.
The diff coverage is 75.00%.

@@              Coverage Diff              @@
##             develop    #4551      +/-   ##
=============================================
- Coverage      48.17%   47.92%   -0.26%
+ Complexity      5129     5100      -29
=============================================
  Files            649      649
  Lines          43045    43044       -1
  Branches        5630     5630
=============================================
- Hits           20737    20627     -110
- Misses         19801    19895      +94
- Partials        2507     2522      +15

Impacted Files
Coverage Δ

...q/tools/command/acl/GetAccessConfigSubCommand.java
20.00% <75.00%> (+0.39%)
:arrow_up:

...org/apache/rocketmq/common/stats/StatsItemSet.java
41.79% <0.00%> (-10.45%)
:arrow_down:

...va/org/apache/rocketmq/logging/inner/Appender.java
29.21% <0.00%> (-7.87%)
:arrow_down:

...tmq/namesrv/processor/DefaultRequestProcessor.java
66.04% <0.00%> (-7.48%)
:arrow_down:

...in/java/org/apache/rocketmq/test/util/MQAdmin.java
38.88% <0.00%> (-5.56%)
:arrow_down:

...org/apache/rocketmq/store/ha/WaitNotifyObject.java
66.07% <0.00%> (-5.36%)
:arrow_down:

...ache/rocketmq/broker/topic/TopicConfigManager.java
54.61% <0.00%> (-4.62%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...ava/org/apache/rocketmq/test/util/VerifyUtils.java
46.26% <0.00%> (-2.99%)
:arrow_down:

...ava/org/apache/rocketmq/filter/util/BitsArray.java
59.82% <0.00%> (-2.57%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

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

Coverage decreased (-0.2%) to 51.975% when pulling ddcc8e9d88fff3b816844cb7a5843c24a0cd2c8a on meateggmilk:develop into 493e52b945c7fdbdddb759847816d4952c966cff on apache:develop.

Coverage decreased (-0.2%) to 51.975% when pulling ddcc8e9d88fff3b816844cb7a5843c24a0cd2c8a on meateggmilk:develop into 493e52b945c7fdbdddb759847816d4952c966cff on apache:develop.


NPM package outdated?

Heads up: When I yarn add gdax'd I was not able to get a websocket connection to work because that version is still dependent on ws 1.1.1. But when I yarn add https://github.com/coinbase/gdax-node it works since master has ws 3.0.0 per https://github.com/coinbase/gdax-node/pull/67.
Maybe this helps somebody else out. Maybe I'm just a nube.

It's not just websocket. Even the basic public data example from the documentation fails with the NPM package.

@coinbase guys, this npm mess is a bit ridiculous. You've raised $100M in August (and bragged about it). Yet you can't hire an intern to clean up the duplicate npm-related issues, and set up a proper release process?
Keeping this library broken means developers make fewer trading bots, which make fewer trades than otherwise, which means your employer doesn't earn any trading fees.
I'm curious how @barmstrong feels about this.

The async example fails if you install from NPM. Install from github and examples start to work.

@johncox00 Would you mind closing this issue in favor of consolidating the discussion under #148? There's a wider discussion going on there.


Add python 3.11 to supported version

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (7cd12c5) compared to base (bb77cbd).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #196   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            9         9
=========================================
  Hits             9         9

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


allowedExtensions does not work for ngFileDrop

works fine for ngFileSelect, but not for ngFileDrop. Am i doing anything wrong or is that just not supported yet?
example:
controller:
... this.options = {             url: '/api/upload',             filterExtensions: true,             allowedExtensions: ['image/png', 'image/jpg']         }; ...
template:

                    Browse
                    <input type="file" style="display: none;"
                           ngFileSelect
                           **[options]="options"**
                           (onUpload)="handleUpload($event)" multiple>

                <input type="text" class="form-control" placeholder="Drop files here" readonly=""
                       ngFileDrop
                       **[options]="options"**
                       (onUpload)="handleUpload($event)"
                       [ngClass]="{'file-over': hasBaseDropZoneOver}"
                       (onFileOver)="fileOverBase($event)">

I'm having same problem.

Same here...

+1

+1

A quick fix solution would be copying the content of function @HostListener('change') onChange(): void
into   c
this.el.nativeElement.addEventListener('drop', (e: any) => {
e.stopPropagation();
e.preventDefault();
this.onFileDrop.emit(true);
this.files = Array.from(e.dataTransfer.files);
this.filteringProcess();
if (this.files.length) {
this.uploader.addFilesToQueue(this.files);
}
}, false);
`
inside ng-file-drop.ts directive

I just tried to fix this like below and Its working for me
in my options
filterExtensions: true,
allowedExtensions: ['txt'],

and validate the file extension before upload event
beforeUpload(uploadingFile): void {
	var fileExt = uploadingFile.originalName.split('.').pop();
	let isValidFileExt = false;
	this.options.allowedExtensions.forEach(element => {
		if(fileExt == element) {
			isValidFileExt = true;
		}
	});
	if(!isValidFileExt) {
		uploadingFile.setAbort();
		console.log('Unsupported file type');
	}
}


coprocessor/dag/expr: add builtin round_dec

What have you changed? (mandatory)
Please explain IN DETAIL what the changes are in this PR and why they are needed:
add round_dec function

What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:
New feature (non-breaking change which adds functionality)

How has this PR been tested? (mandatory)
unit test

Does this PR affect documentation (docs/docs-cn) update? (mandatory)
no

Does this PR affect tidb-ansible update? (mandatory)
no

Refer to a related PR or issue link (optional)
https://github.com/tikv/tikv/issues/3275

Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

@AndreMouche @hicqu I'm sorry when I try to fix conflict with recent commits, I accidentally delete the branch and PR #3418 is closed. So I open another one which run through all tests.

@AndreMouche Excuse me, why FLAG_IGNORE_TRUNCATE error mean this time? I remember all test passed last night and 'make test' still passes on my desktop.

Here IGNORE_TRUNCATED makes no sense in round_dec, while it's useful in strToDec in the test.

@AndreMouche Then what should I do now? Shall we rerun a test?

LGTM.

@solotzg PTAL

The branch's version under this PR is too old. Can you implement under current master's version and support more functions just like Floor*** did?
I appreciate it.

Please fix CI

@solotzg @Connor1996 I can implement under current master's version and maybe I support all ROUNDxxx in this commit. In fact this PR delay because when I finished it about one month ago, I can not pass ci test. However make test runs clean on my laptop and I don't know why. I asked the question in this ticket but no one answered. Then I'm busy at work and had time to take another look today.
Anyway let me implement ROUNDxxx this week and check.

@colinback Thanks, sorry for the unresponsive.

Close this in favor of #3621


Provide consistent volumes requirements

resolves #45
Rendered README with new Requirements section available for review at https://github.com/mrizzi/windup-api/tree/45-storage-requirements#requirements

@juhivarshney-20 this PR provides the requirements for the volumes.
As reported above, this is the link https://github.com/mrizzi/windup-api/tree/45-storage-requirements#requirements to the new Requirements section of the README.
Could having such a Requirements section work for you?


Documentation for surgical routing is wrong

Issue
Doc implies APP_INDEX starts at 1, actually starts at 0.
Context
See http://docs.cloudfoundry.org/devguide/deploy-apps/routes-domains.html#surgical-routing
Steps to Reproduce
Doc says:

APP_INDEX, for example 1, 2, or 3, is an identifier for a particular app instance. Use the CLI command cf app APP-NAME to get statistics on each instance of a particular app.

Expected result
Trying to use an APP_INDEX of (number of instances), e.g. APP_INDEX 10 with 10 instances produces an error.  APP_INDEX goes from zero to (number of instances -1). In fact, cf app <app name> which the doc references even show the app count going from 0 on up.
Current result
Doc is wrong (or implies incorrect information)
Possible Fix
Fix docs

Hi @jkugler, thanks for submitting this. We've made a pull request to the documentation to update this page as suggested.

Closing this issue since document is updated with starting index 0.
Regards
Shash


some permission issues

While testing this flow, we encountered two issues:

We cannot access the existing database because INGO_BENCHMARKS_DB_PASSWORD is unknown.
We are unable to access https://docs.google.com/presentation/d/1Fxs34TuPmix6cejpqKrX1NYrxf2ExYK7LYH6OkGUkSU/edit?usp=share_link.

thanks @hugo-blue
cc: @svpolonsky @LeonHibnik @ImmanuelSegol

(1) I enabled password-less read-only access to guest_user
(2) I allowed all with the link to view https://docs.google.com/presentation/d/1Fxs34TuPmix6cejpqKrX1NYrxf2ExYK7LYH6OkGUkSU/edit?usp=share_link.
Please let me know if this solves this issue

Issue resolved


DEL key in non-mutable fields

Edit fields that have been set to not-mutable with the methode "SetMutable(false)" are indeed not edditable, except that information can be erased with the DEL key. There is no method to restore the information.
The DEL key must be stopped here.

Also the key combinations CTRL-V / CTRL-X / CTRL-Z must be blocked.


Continuation of 'Added two new subVIs to PL_Target Runtime.lvclass'

Handling merge of @knoxberry's https://github.com/LabVIEW-DCAF/TagEditorCore/pull/339 for build machine purposes.

Bleep bloop!
LabVIEW Diff Robot here with some diffs served up hot for your pull request.
Notice something funny? Help fix me on my GitHub repo.
PL_Target Runtime.lvclass--filter engines by alias.vi.png:
PL_Target Runtime.lvclass--initialize target with engines.vi.png:
PL_Target Runtime.lvclass--load and intialize target with engines.vi.png:
PL_Target Runtime.lvclass--load target.vi.png:


LeMUR context

context should be able to handle type String as a input instead of LemurBaseParamsContext.
Current functionality:
var response = client.lemur().summary(LemurSummaryParams.builder()
                .transcriptIds(List.of(transcript.getId()))
                .context(LemurBaseParamsContext.of("A GitLab meeting to discuss logistic"))
                .answerFormat("TLDR").build());

@smithakolan let us know how high priority this request is -- we'll add to our Q1 roadmap depending on the urgency!

Would rank this as a medium priority. Just for context, this is the first example users see on our LeMUR specialized endpoints page so I would like it to be succinct.

The type name could be better here. LemurContext instead of LemurBaseParamsContext.


Fix flags for Exchange and OneDrive

While we were reading flags from the cli, they were not being passed onto the restore path.

Does this PR need a docs update or release note?

[x] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[ ] :no_entry: No

Type of change

[ ] :sunflower: Feature
[x] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Supportability/Tests
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

@pandeyabs Would you kindly give this a review as well, now that I've added a commit on top of abin's?  Thanks!


Run Tinkr Player on Android 4.4+

User Story:
As a reader,
I want to be able to use Tinkr Player on a tablet that has Android 4.4+,
So that it is compatible with equipment I already own.
Acceptance Criteria:
Given that I have an Android tablet running Android 4.4 as a minimum,
When I launch Tinkr Player,
Then the Tinkr Shelf and Tinkr Books appear and function as they should.

For this I'm bundling the demo EPUB with the EPUB reader wrapped in a React Native application.


MapView takes care of all things interactive

Fixes https://github.com/CartoDB/cartodb.js/issues/1544.
Changes:

VisView is no longer responsible of instantiating managers that were more related to the MapView. Instead a MapView instantiates and starts/stops those managers when initialised/rendered/cleaned. With this change, when a mapView is "replaced" by a new one (eg: when switching from Leaflet to Google Maps), everything (infowindows, tooltips, geometry management works properly again :crossed_fingers:).

Events triggered by CartoDBLayerGroupViews now group all the event info into a single object. These events are only used internally, but this new format is more clear and also includes the model of the layer that was clicked/overed/"outered".

In general, most of these managers (specially Infowindow and TooltipManager) are now much simpler since they now work directly with instances of CartoDBLayerGroupViews.

cc: @rochoa

Retest this please

Retest this please!

👍

I created a feature branch called google-maps and I'll merging all the google maps related PRs to that branch so we can test everything before releasing.


Add Node 14 to CI workflow

@pathmapper the failing test seems to be node-sass related. Found related issue https://github.com/nodejs/node-gyp/issues/2113

That worked, thanks @orangemug!

Yay 🎉


cloud-config units.command: start do not show up in fleetctl list-units

The following config:
coreos:
  units:
    - name: registrator.service
      command: start
      enable: true

results in:
$ docker ps
CONTAINER ID        IMAGE                         COMMAND                CREATED             STATUS              PORTS               NAMES
658dac012845        progrium/registrator:latest   "/bin/registrator co   15 minutes ago      Up 15 minutes                           registrator

$ fleetctl list-units
UNIT	MACHINE	ACTIVE	SUB

Only after I trigger fleetctl start registrator.service manually, do they show up (instantly showing as "running", since all systemd services are already active):
$ fleetctl list-units
UNIT			MACHINE				ACTIVE	SUB
registrator.service	466eec58.../<IP_ADDRESS>	active	running
registrator.service	5c7ef50d.../<IP_ADDRESS>	active	running
registrator.service	c23603ef.../<IP_ADDRESS>	active	running

How would one tell fleet about this unit in a user-data script such that fleetctl list-units correctly showed the running services?

@9minutesnooze you could write a file out to a temporary file and add a oneshot unit that starts it using fleetctl:
#cloud-config
coreos:
  units:
  - name: start-foo.service
    command: start
    content: |
      [Service]
      Type=oneshot
      ExecStart=/usr/bin/fleetctl /tmp/foo.service
write_files:
- path: /tmp/foo.service
  content: |
    [Service]
    ExecStart=/usr/bin/sleep infinity


Fix typos

Thanks for this! Can you please add a CHANGELOG entry? Probably under Fixed

@aviramha Done.

Thank you!

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


Inline limit in SQL sent from dbt show

resolves #8496
resolves #8417

Problem

Solution

Adapter zone tests:

dbt-bigquery: https://github.com/dbt-labs/dbt-bigquery/pull/927
dbt-snowflake: https://github.com/dbt-labs/dbt-snowflake/pull/779
dbt-redshift: https://github.com/dbt-labs/dbt-redshift/pull/611
dbt-spark: TODO

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/4141