Authorization Problems with remote Hoodie

Hello, I have hoodie running in a separate project, there, my package.json just have one thing:
"dependencies": {
  "hoodie": "^22.0.4"
}

(i've also tried "git://github.com/hoodiehq/hoodie#tent", same issues)
Then I start it like this (I need to control all the ports and url because later I deploy this to heroku)
node_modules/hoodie/bin/start.js --admin-password 123 --port 4000 --db-url http://admin:123@<IP_ADDRESS>:5984 --bind-address localhost

I get "🐶  Your Hoodie app has started on http://localhost:4000", okay, no problems here. (I've also tried changing localhost to <IP_ADDRESS> or <IP_ADDRESS>, no luck)
For using, I add the hoodie script on my other project like this:
<script type="text/javascript" src="//localhost:4000/hoodie/client.js"></script>

And create the hoodie singleton like this (hoodie.js):
const hoodie = new Hoodie({url: 'http://localhost:4000'});
export default hoodie;

Which I import on the other files to do stuff.
But when I try to sign up for example, by using this:
hoodie.account.signUp({username, password})
    .then(...)
    .catch(...);

Those requests are made (copying from chrome and skipping the OPTIONS ones):
1 - account

curl 'http://localhost:4000/hoodie/account/api/session/account' -X PUT -H 'Origin: http://localhost:8000' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4,zh;q=0.2,gl;q=0.2' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2597.0 Safari/537.36' -H 'content-type: application/vnd.api+json' -H 'accept: application/vnd.api+json' -H 'Referer: http://localhost:8000/' -H 'Connection: keep-alive' --data-binary '{"data":{"type":"account","attributes":{"username":"3","password":"123"},"id":"hwn2p6q"}}' --compressed

Response

201 Created
{"data":{"type":"account","attributes":{"username":"3","password":"123"},"id":"hwn2p6q"}}

2 - session

curl 'http://localhost:4000/hoodie/account/api/session' -X PUT -H 'Origin: http://localhost:8000' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4,zh;q=0.2,gl;q=0.2' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2597.0 Safari/537.36' -H 'content-type: application/vnd.api+json' -H 'accept: application/vnd.api+json' -H 'Referer: http://localhost:8000/' -H 'Connection: keep-alive' --data-binary '{"data":{"type":"session","attributes":{"username":"3","password":"123"}}}' --compressed

Response

201 created
{"links":{"self":"http://<IP_ADDRESS>:4000/session"},"data":{"id":"Mzo1NzU2QzJEMjo3KCIbT3ywciSszguYH4TA5oKSaw","type":"session","relationships":{"account":{"links":{"related":"http://<IP_ADDRESS>:4000/session/account"},"data":{"id":"hwn2p6q","type":"account"}}}},"included":[{"id":"hwn2p6q","type":"account","attributes":{"username":"3","roles":[]},"relationships":{"profile":{"links":{"related":"http://<IP_ADDRESS>:4000/session/account/profile"},"data":{"id":"hwn2p6q-profile","type":"profile"}}}}],"meta":{"id":"1464094162685:rchaves-MacBook-Air.local:59312:iolfupsk:10004"}}

3 - user

curl 'http://localhost:4000/hoodie/store/api/user%2Fhwn2p6q/' -X OPTIONS -H 'Access-Control-Request-Method: GET' -H 'Origin: http://localhost:8000' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4,zh;q=0.2,gl;q=0.2' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2597.0 Safari/537.36' -H 'Accept: /' -H 'Referer: http://localhost:8000/' -H 'Connection: keep-alive' -H 'Access-Control-Request-Headers: accept, authorization' --compressed

Response

401 Unauthorized

Then it keeps repeating the last request, with JS throwing
XMLHttpRequest cannot load http://localhost:4000/hoodie/store/api/user%2Fxy3hyvb/. Response for preflight has invalid HTTP status code 401

This also happens after sign in, and hoodie shows nothing on its logs, even running with the --verbose option.
Is this a CORS issue? What should I do? This setup used to work on very old hoodie versions (pre pouchdb)

git://github.com/hoodiehq/hoodie#tent

have you seen this floating around somewhre? It’s out of date, don’t use it any more :)
I think you’ve hit an issue that I’ve seen before myself, I thought we fixed it. After the sign in you see 401s when the replication of your local store gets started. Does reloading the page resolve the issue? It’s definitely not a CORS issue

No, it doesn't solve the issue :T

can you reproduce the issue on https://tracker.hood.ie/ (run code in console)

yes! Run this in the console:
const foo = new Hoodie({url: 'https://tracker.hood.ie:443'});
foo.account.signIn({username: 'foobar', password: '123'})

Sorry, this issue doesn't happen after sign up, it is after login, I forgot my code was signing up right after login.

Yes I can confirm that, but when you reload the page, the syncing works, right?

yeah, you are correct, I'll try to understand why mine still have issues when reloading and come back here

@gr2m okay, the easiest way to reproduce this is to use on another domain or port, so I made a jsbin, take a look:
http://jsbin.com/nisovanali/2/edit?html,js,output

I'm getting this issue now too.... Had been doing all dev to date as part of the hoodie app, and now I'm going onto our remote app and seeing this...
I may have a range of issues, not sure if they're related. Keen to see if you guys have notice something similar, and if it's related?

On initial login, hoodie is trying to sync with the incorrect user DB. I can see the browser using a different ID than the current user. On refresh, all as expected;
I'm not getting any syncing after refresh... Looking at the console I thought it may be related to the preflight failing (same as above), but sounds like it's not the case?
I can't logout because there is data still awaiting a sync... getting "CustomPouchError"

So it seems my issues have been compounded by attempting to run hoodie in an angular2/typescript/webpack environment... Problems still persist and I will be debugging further later, but hoping it's a bit easier this time ;)

@gr2m: any reason we're not using https://github.com/gr2m/hapi-cors-headers in Hoodie? I've just added it to my plugin, tweaked @hoodie/store-server slightly, and now everything is running as expected - errors gone, syncing working, logging out works great. That's also all running through the webpack/angular2 environment.

is this resolved via  https://github.com/hoodiehq/hoodie-store-server/issues/41 and https://github.com/hoodiehq/hoodie/issues/498?

@gr2m Apparently cors issue is solved, but the problem you talked about before still happens:

After the sign in you see 401s when the replication of your local store gets started. Does reloading the page resolve the issue?

Reloading does fix this, but I think we should close this issue and open another one for that

Reloading does fix this, but I think we should close this issue and open another one for that

yes I agree. Create a follow up issue here: https://github.com/hoodiehq/hoodie/issues/503

fyi the 401s after signin have been fixed via https://github.com/hoodiehq/hoodie-account-client/pull/103


[v1.2]Enhanced find

Enhanced find to be able to find all fields
Updated relevant tests

Coverage increased (+0.1%) to 92.637% when pulling 88d0a8f781157e621b6afc0c544c673b9bed22c9 on ALim95:V1.2_Enhanced_Find into c3c1530b0e3b547fe73036c6cfd1aaa9861c5d29 on CS2103AUG2017-T15-B4:master.

Coverage increased (+0.1%) to 92.637% when pulling 5b842d040f5e63fce9a0140f5192e1e4fa0093d6 on ALim95:V1.2_Enhanced_Find into c3c1530b0e3b547fe73036c6cfd1aaa9861c5d29 on CS2103AUG2017-T15-B4:master.


Aliases and Auth

Implement https://github.com/zacdav-db/brickster/issues/26
Remove db_sql_global_warehouse_edit() as this should be maintained by admins through UI or TF
Minor tweaks to auth error messages and fixes in logic
Implement https://github.com/zacdav-db/brickster/issues/19
Update cluster management vignette

Codecov Report

Merging #28 (1fe1ff3) into main (72bb8b6) will not change coverage.
The diff coverage is 40.00%.

:exclamation: Current head 1fe1ff3 differs from pull request most recent head 25a4b8e. Consider uploading reports for the commit 25a4b8e to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   11.66%   11.66%
=======================================
  Files          22       22
  Lines        2700     2700
=======================================
  Hits          315      315
  Misses       2385     2385

Impacted Files
Coverage Δ

R/package-auth.R
44.18% <40.00%> (ø)

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


How to generate a file like "NATOPS_TRAIN.arff"

Thank you for the detailed introduction! "TSData.from_arff()" is an awesome function which can be used to read arff file. However, I am not sure how to generate a file like "NATOPS_TRAIN.arff". I know how to convert my data to the file like "NATOPSDimension1_Train.arff", which only contains one dimension. How can I combine different dimensions together?  Thank you!

You might check out this video tutorial on how to create an .arrf file. You can ignore the second part of the tutorial about WEKA:
Creating ARFF Files for Weka

You might check out this video tutorial on how to create an .arrf file. You can ignore the second part of the tutorial about WEKA:
Creating ARFF Files for Weka

Thank you so much! I have solved the problem!

Maybe you can download here [(https://timeseriesclassification.com/description.php?Dataset=NATOPS)]


dateOlderThan usage

dateOlderThan is such a cool new filter, thanks for adding it! We were trying to use the nuke to delete older stale resources, and this is what the doctor ordered.
I have couple questions:

Is there a way to find out which resource exposes which date property? E.g. for CloudFormationStack it's LastUpdatedTime, for IAMRole it's LastUsedDate etc. We're looking for some universal way to say "resource is older than."
if dateOlderThan filter is used, but property it targets doesn't exist, null, or contains non-date value - will it be skipped or nuked?
Would be great to see actual example of dateOlderThan filter being used in a config.

Thanks!

Is there a way to find out which resource exposes which date property?

Not yet but coming soon! I'm working on making all the properties programmatically discoverable so that I can automatically generate documentation and also have a subcommand to ask what properties are available potentially. I unfortunately do not have an ETA, it's a fairly large change, will probably show up in a next tag or branch when it does.

if dateOlderThan filter is used, but property it targets doesn't exist, null, or contains non-date value - will it be skipped or nuked?

Filtering is based on matches, unless you use the invert method, so basically if you filter on a property doesnotexist with a value of here because the property doesn't exist the filter has no effect on the outcome, so unless another filter matches, it would still be included for removal.

Would be great to see actual example of dateOlderThan filter being used in a config.

I can do that. I have an AMI example laying around somewhere on my system I think, I'll try and dig it up.


Issue/788 improve documentation clarifications (#8163)

Pull request opened by the merge tool on behalf of #8163

Merged into branches iso7 in 0f0f40c73313f0c9e2993c6193a358a2df8dbab7


Syntax highlighting issue with multiline yaml strings

https://try.gitea.io/silverwind/symlink-test/src/branch/master/multiline.yaml
Gitea:

Chroma Playground:

Chroma's highlighting is not ideal for the subsequent lines in the multiline string and the double-character multiline specifiers but I'd expect our rendering to match the Chroma playground but it seems to go haywire starting at the first  "|".
cc: @mrsdizzie
Related Chroma Issue: https://github.com/alecthomas/chroma/issues/391

Seems like Github renders it the same way based on that linked issue example but I would think ours should be the same as the chroma payground. Looking I believe this commit from 3 months ago probably changes the behavior and I bet the playground code is based on an older release:
https://github.com/alecthomas/chroma/commit/2b9c82d89f09cd86703cb23d02f4e8524b4a5112
This might also be why you didn't see it before as that commit would be in the recent 0.8.0 release we've adopted recently https://github.com/go-gitea/gitea/pull/12337

The chroma playground was updated and now the rendering matches ours, confirming your suspicion so it's purely a Chroma issue. Thanks.


[fix] Add forgotten _check_array to IncrementalBasicStatistics.partial_fit

Description

_check_array is used now in IncrementalBasicStatistics.partial_fit. It prevents failure in case if non-contiguous numpy array has been provided as argument.

Checklist to comply with before moving PR from draft:
PR completeness and readability

[x] I have reviewed my changes thoroughly before submitting this pull request.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
[x] Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
[x] I have added a respective label(s) to PR if I have a permission for that.
[x] I have resolved any merge conflicts that might occur with the base branch.

Testing

[x] The unit tests pass successfully.
[x] I have run it locally and tested the changes extensively.

Performance

[x] I have measured performance for affected algorithms using scikit-learn_bench and provided at least summary table with measured data, if performance change is expected.
[x] I have provided justification why performance has changed or why changes are not expected.

Assuming green CI. I am good with the proposed changes

/intelci: run

/intelci: run

https://intel-ci.intel.com/ef69d675-b999-f16b-9b9b-a4bf010d0e2e


fix: update generation

Description
Generation has been slow, so updating it
Story
JIRA-XXX
Related PR's
Generator
Verify

[ ] Code runs without errors
[ ] Tests pass with >=85% coverage

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1805

Relevant Lines:
1807

💛  - Coveralls


Add env var GRADLE_ENTERPRISE_ANALYTICS_DISABLE

https://github.com/search?q=GRADLE_ENTERPRISE_ANALYTICS_DISABLE&type=code

Seems to be some custom build setting for https://docs.gradle.com/enterprise/gradle-plugin/#publishing_every_build


Issue with overlapping faces on subtraction

Hi there,
When intersecting with 2 boxes, three-bvh-csg can't really to figure out coplanar. Not sure if this is related to #69. Any suggestion how we can handle this case?

I think the COPLANAR Case is just not handled. If I add this line 268, it solves this but it will create triangles on the two side of the box.

Not sure if this PR will solve most of the case, but comparing the normal from the planes to determine whether is should be adding a triangle or skipping a triangle


if list_type != 'episode' and not item[list_type]['title']: KeyError: 'movie'

log says "bug", so i hope i'm right posting the issue here. sorry if not.
i tried the same task but just changed the list (with only 20 items , instead of 2000). the small one works. the big one works for hundreds of movies, but then breaks.
so i guess there is some weird name in the big list. maybe with the translated title to german.
2019-09-25 19:09 VERBOSE  trakt_list    Sync_Movies_Flexget Found `de` translation for movie `Alice in Wonderland`: Alice in Wonderland
2019-09-25 19:09 CRITICAL task_queue                    BUG: Unhandled exception during task queue run loop.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flexget/task_queue.py", line 48, in run
    self.current_task.execute()
  File "/usr/local/lib/python3.6/dist-packages/flexget/task.py", line 80, in wrapper
    return func(self, *args, **kw)
  File "/usr/local/lib/python3.6/dist-packages/flexget/task.py", line 693, in execute
    self._execute()
  File "/usr/local/lib/python3.6/dist-packages/flexget/task.py", line 659, in _execute
    self.__run_task_phase(phase)
  File "/usr/local/lib/python3.6/dist-packages/flexget/task.py", line 492, in __run_task_phase
    for e in response:
  File "/usr/local/lib/python3.6/dist-packages/flexget/utils/cached_input.py", line 201, in __iter__
    for item in self.iterable:
  File "/usr/local/lib/python3.6/dist-packages/flexget/components/trakt/trakt_list.py", line 246, in get_items
    if list_type != 'episode' and not item[list_type]['title']:
KeyError: 'movie'

  Sync_Movies_Flexget:
    priority: 3
    template:
      - no_seen
      - no_global
    accept_all: yes
    trakt_list:
      account: '{? trakt.acc ?}'
      list: watchlist
      type: movies
      language: de
      strip_dates: yes
    list_add:
      - movie_list: Default #save with unique-ID for explicit matches after searching with regexp
      - entry_list: Default #save with regexp (global-filter) so we get searchable titles
    list_remove:
      - trakt_list:
          account: '{? trakt.acc ?}'
          list: '{? movies.list.Importlist ?}'
          type: movies

Additional information:

FlexGet version: 2.21.19
Python version: 3.6
OS and version: ubuntu 18

I added some checks for the crash, please test version v2.21.23+ and report the warnings.


Use standard python invocation instead of py.exe launcher

Fix for #656

Maybe same for protoc.bat?

@PetteriAimonen I never saw any problems with that one but it is probably best to make them consistent.

Thanks!
Yeah, both of them are quite rarely used I think.


Release cobigen-eclipse-v4.4.1

This issue has been automatically created. It serves as a container for all release related commits

Automatically processed.
The decisions taken by the developer and the context of the decisions throughout the script:

User confirmed that tests are running on CI and the build is not failing.
User confirmed that tests are running on CI and the build is not failing after pushing release changes to development branch.


ios build ok!but run Simulator is error

flutter run
...
Xcode build done.                                           17.0s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: building for iOS Simulator, but linking in dylib built for iOS, file
    '/Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/AgoraRtcEngine_iOS/AgoraCore.framework/AgoraCore' for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Mantle/Mantle/extobjc/MTLEXTRuntimeExtensions.m:918:64: warning: format specifies type 'char *' but the argument has
    type 'const void *' [-Wformat]
            case '*': return [NSString stringWithFormat:@"\"%s\"", bytes];
                                                            ~~     ^~~~~
    1 warning generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'libwebp' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'Toast' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'Mantle' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'KeychainSwift' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'FMDB' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'AliyunOSSiOS' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'UMCSecurityPlugins' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'AMap2DMap' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'UMCShare' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'AgoraRtcEngine_iOS' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'UMCCommon' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'UMAPM' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'Libyuv' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'UMDevice' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'AMapFoundation' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'AMapLocation' from project 'Pods')
    /Users/dave/apps/tiny-secret/tiny_secret/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range
    of supported deployment target versions is 9.0 to 14.5.99. (in target 'UMCPush' from project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro.

how to solved this ? can you help ?

@davewang

If you get this:
ld: building for iOS Simulator, but linking in dylib built for iOS, file AgoraJNDExtension.framework/AgoraJNDExtension' for architecture arm64
Then you can add these lines to the bottom of your PodFile
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
See https://stackoverflow.com/a/63955114/15372047


Show only the permissions that are set (turned on) in a Permission Set

Is your feature request related to a problem? Please describe.
Often when I inherit someone else's implementation, I am faced with

No documentation (it may have been created but is now lost)
No descriptions in Setup (lazy devs and poor project oversight)
A list of custom permission sets with no way of knowing what they do

I want to see what individual permissions have been set in each permission set, all on one page.
As it stands now, you need to manually open each Permission Set and click through each main navigation link to see what is on that page.  For example, you click the Object Settings then look through the resulting list for anything that is not "no access" or "-".  Then click Assigned Apps, Assigned Connected Apps, etc, etc ad nauseum to see what items may have been added.  This is a nightmare!
Note that when you make changes to a permission set, the system automatically displays a summary of what you've done.  I want a similar summary to be available on demand.
Describe the solution you'd like
OrgCheck would be the ideal place to show this.  In my view, when you are looking at the permission set list, clicking on the permission set should drill down into what items are set in that permission set (rather than the current behaviour that takes you to the permission set in Setup).  On that page would be sections for each of the major navigation items in the permission set definition (Assigned Apps, Assigned Connected Apps, Object Settings, etc), with the section hidden if there are no settings in that section for that permission set.
Describe alternatives you've considered
AppExchange: User Access and Permissions Assistant
AppExchange: Org Security Centre (Metazoa)
Additional context
-- none --

@charles-thompson-salesforce-com
I started to look at your request.
A good start I believe would be to have the number of FLS and CRUD permissions on the table (as a total whatever the object/field).
For example like this:

What do you think ??
And yeah after that I could have a dialog box when clicking on the permset link to show FLSs and CRUDs.

Great start!
The Object Settings page on the Permission Set UI is not too bad - on the
one page it gives a good idea of the CRED settings for each of the objects,
although it would be better if it just showed the objects that are not
blank.
I think of more importance would be the System Permissions info, listing
only the permissions that are set -- maybe a semicolon-separated list like
a multiselect picklist.
On Thu, 2 Mar 2023 at 12:49, Vincent FINET @.***> wrote:

@charles-thompson-salesforce-com
https://github.com/charles-thompson-salesforce-com
I started to look at your request.
A good start I believe would be to have the number of FLS and CRUD
permissions on the table (as a total whatever the object/field).
For example like this:
[image: image]
https://user-images.githubusercontent.com/3799275/222293120-da6fe735-4d75-40ca-a9b0-967ef5ce82aa.png
What do you think ??
And yeah after that I could have a dialog box when clicking on the permset
link to show FLSs and CRUDs.
—
Reply to this email directly, view it on GitHub
https://github.com/SalesforceLabs/OrgCheck/issues/226#issuecomment-1451041651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH536EM7CYUP5DIMPOWBCHLWZ7OBPANCNFSM6AAAAAATV7JCD4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Should it be aligned with the four main permissions like in the User tab:

All of them may be overwhelming in the table i am afraid...
Plus the system perm on PSET is not a subtable it's a list of fields that may change in time.... that's horrible to query !

Right!  Understood.  Thanks for taking on this challenge!
On Thu, 2 Mar 2023 at 13:05, Vincent FINET @.***> wrote:

Should it be aligned with the four main permissions like in the User tab:
[image: image]
https://user-images.githubusercontent.com/3799275/222295171-abe954a5-54d6-4052-870f-c426b19d1ed4.png
All of them may be overwhelming in the table i am afraid...
Plus the system perm on PSET is not a subtable it's a list of fields that
may change in time.... that's horrible to query !
—
Reply to this email directly, view it on GitHub
https://github.com/SalesforceLabs/OrgCheck/issues/226#issuecomment-1451062308,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH536EO7TILTPBEIAHJL2YTWZ7P3LANCNFSM6AAAAAATV7JCD4
.
You are receiving this because you were mentioned.Message ID:
@.***>


[RFC]: Integrate Pipeline and Non-Pipeline Model Implementations

Proposal
In the current model zoo and examples, it can be often seen that one model has two different implementations, e.g. GPT and PipelineGPT. This is because that some large models require manual partitioning of the layers. For example, PipelineGPT partitions the layers inside its __init__. This looks not elegant and adds complexity to maintenance.
One way to integrate these implementations is to introduce an addition abstraction. For example, we can have Pipelinable interface, the model will inherit this class and implements the to_layer_list method. Afterwards, the colossalai.initialize should read the configuration for the pipeline policy and partition the model into different stages inside colossalai.initialize.
In this way, we can keep only one model implementation and let the policy to handle the layer partitioning.
from abc import ABC, abstractmethod

class Pipelinable(ABC):

     def __init__(self):
           self.policy = None

    @abstractmethod
    def to_layer_list(self) -> List[nn.Module]:
           pass

    def load_policy(self, policy: PartitionPolicy):
           self.policy = policy

    def partition(self):
           layer_list = self.to_layer_list()
           return self.policy.partition(layer_list)

Self-service

[X] I'd be willing to do some initial work on this proposal myself.

In my opinion, PipelineGPT is different from its non-pipeline counterpart because users can only implement layers which will be pipelined with the same input args and output results. But in non-pipeline model, users can do it with any format they'd like to use.

In my opinion, PipelineGPT is different from its non-pipeline counterpart because users can only implement layers which will be pipelined with the same input args and output results. But in a non-pipeline model, users can do it with any format they'd like to use. I'm not sure whether this RFC is designed for them.

May I know what "users can only implement layers which will be pipelined with the same input args and output results." means?

Just like the specific split for the attention mask. I wonder how it will be handled in the integration.
https://github.com/hpcaitech/ColossalAI/blob/8711c706f4f01119dcc3923b942db304f39cc26b/model_zoo/gpt/gpt.py#L374
https://github.com/hpcaitech/ColossalAI/blob/8711c706f4f01119dcc3923b942db304f39cc26b/model_zoo/gpt/gpt.py#L297

Will shifting this logic to GPTBlock solve this problem? @Wesley-Jzy

@Wesley-Jzy Theoretically, the mask should be fetched from dataloader and partitioned along with the input ids in the embedding layer, and passed to follow-up transformer blocks.
For the pipeline parallelism case, since all the blocks share the same mask, if we do so, it is a waste to pass the mask across the pipeline. Therefore, we partition the mask before the blocks respectively on each stage.

thx, I got it.

We have updated a lot. This issue was closed due to inactivity. Thanks.


Revert "Revert "Merge pull request #403 from ava-labs/verify-with-tru…

…ffle-verify""
This reverts commit 34272b915e06c179325c0c534c1f80f3987c9228.

@Julian-dev28 please remove reference to verify-smart-contracts-with-sourcify-truffle.md and add reference to the new doc verify-smart-contracts-with-truffle-verify.md in the proper place.

https://github.com/ava-labs/avalanche-docs/pull/414 has been merged, we can move forward with this PR.

I think I have fixed everything I can to make this PR working with the new Docusaurus. Please check it out https://ba8b5630.avalanche-docs.pages.dev.
@Julian-dev28 please verify the contents and move all images to avalanche-docs/static/img from   https://user-images.githubusercontent.com/73849597/ and make the proper changes to reference them.

yarn build
yarn run v1.22.15
$ docusaurus build
[en] Creating an optimized production build...
✖ Client
Compiled with some errors in 9.50s
● Server █████████████████████████ building (64%) 1/1 entries 2250/2250 dependencies 928/928 modules 0 active
Error: Image docs/build/tutorials/smart-contracts/"/img/truffle-verify-txn1.png" used in docs/build/tutorials/smart-contracts/verify-smart-contracts-with-truffle-verify.md not found.
at async Promise.all (index 0)
Client bundle compiled with errors therefore further build is impossible.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@Julian-dev28 there are still 3 files which need to be changed to local file.


Secure Docker Compose Configuration by Using .env File

Currently, our Docker Compose configuration contains sensitive information such as the PostgreSQL username and password. This information is directly written in the docker-compose.yml file, which is not a secure practice and could lead to accidental exposure of these details.
To enhance the security of our setup, we should move these sensitive details to a separate .env.sample file. Docker Compose automatically reads from a .env.sample file in the same directory as the docker-compose.yml file, if it exists.
Tasks:

Create a .env.sample file in the same directory as the docker-compose.yml file.
Move the POSTGRES_USER and POSTGRES_PASSWORD environment variables from the docker-compose.yml file to the .env.sample file.
Update the docker-compose.yml file to reference these variables from the .env.sample file.
Update the documentation to instruct users to create their own .env.sample file with their specific details.

Acceptance Criteria:

The docker-compose.yml file no longer contains the POSTGRES_USER and POSTGRES_PASSWORD environment variables directly.
The .env.sample file is created and contains the POSTGRES_USER and POSTGRES_PASSWORD environment variables.

hi @jayanth-kumar-morem can you assign this task to me I would like to contribute to this .

Pull request https://github.com/Samagra-Development/WarpSQL/pull/104:

@jayanth-kumar-morem  can u plz check my Pull request #104 and kindly merge it .

@PiyushRaj927  to pick this.

[ ] Add a sample.env and accept POSTGRES_USERNAME and POSTGRES_PASSWORD
[ ] Image Tag can be accepted from env


It's not possible to create a Property Option with < or > sign

PHP Version
8.1.12
Shopware Version
<IP_ADDRESS>
Expected behaviour
Option should be created
Actual behaviour
The system returns an error
    "errors": [
        {
            "code": "c1051bb4-d103-4f74-8988-acbcafc7fdc3",
            "status": "400",
            "detail": "This value should not be blank.",
            "template": "This value should not be blank.",
            "meta": {
                "parameters": {
                    "{{ value }}": "\u0022\u0022"
                }
            },
            "source": {
                "pointer": "\/0\/name"
            }
        },
        {
            "code": "c1051bb4-d103-4f74-8988-acbcafc7fdc3",
            "status": "400",
            "detail": "This value should not be blank.",
            "template": "This value should not be blank.",
            "meta": {
                "parameters": {
                    "{{ value }}": "null"
                }
            },
            "source": {
                "pointer": "\/0\/translations\/2fbb5fe2e29a4d70aa5854ce7ce3e20b\/name"
            }
        }
    ]
}

How to reproduce

Go to Catalogues > Properties
Select any property, scroll down to "Property values"
Open "Add value" dialog
Enter "Name" value, containing < or > sign. For example <1%
Click "Apply" button

Marked as won't fix already:
https://issues.shopware.com/issues/NEXT-25187
Enter the property with a space inbetween and it will work, e.g. "< 1%"

@vkalchenko https://github.com/shopware/platform/pull/3118


electron-prebuilt --> electron

From the electron-prebuilt repo installation instructions:

...use either name, but electron is recommended, as the electron-prebuilt name is deprecated, and will only be published until the end of 2016.

electron-prebuilt is not deprecated yet, but better to be ahead of the curve, right?

Thanks @jhwohlgemuth. Even though this is a dirt simple change, we still need a CLA from you to review and merge this, as described at https://github.com/AnalyticalGraphicsInc/cesium/blob/master/CONTRIBUTING.md#opening-a-pull-request
If for some reason you can't sign the CLA, I'd be happy to vouch and remake this change in another branch.
Thanks again.

My bad 😰
I totally read the contributing guide, but I was so focused on not adding my name to the CONTRIBUTORS.md file (I thought to myself, "Greenkeeper.io is not on it" 😄)... I forgot the whole "legal" part of signing a CLA...
In any case, I emailed a signed CLA, but you are free to do whatever is easiest for you.
Sorry again for causing more harm than good.

No worries @jhwohlgemuth. Thanks! I can confirm we've received your CLA
I'll let @mramato merge this

We have a CLA from @jhwohlgemuth.  Thanks again for the contribution!

Thanks @jhwohlgemuth!


added example notebook, needs review

This adds an example notebook illustrating how rustims/imspy results can be used to train rescoring models.

This is better placed in sagepy.


cue-api-python: add Python types corresponding to CUE types, like cue.Value, cue.Attribute, etc

This is done, so closing.
GitHub automagic didn't pick it up because we used by mistake Fixes #3073 in the commit message, but the Python code is in a different repository than this issue tracker. We should have explicitly said Fixes cue-lang/cue#3073.


Refactoring - Status Bar: Explicit dependencies / initialization

This refactors the statusbar to make the initialization timing and dependency injection explicit. A StatusBar now gets initialized as part of our startup flow in browser/src/index.tsx, and then we use that instance for the Oni API object as well as for the language client (so that it can create the language client status bar).
This also hooks in the configuration object, but it's not used yet - just to make it easy to bring in for #1114

I'll bring this in to scope down the 'surface area' of changes in #1114 - hopefully that can help us zero in on whats causing the test failures!


fix: handle missing coordinates

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 91.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.10%. Comparing base (ab54d67) to head (3699fc9).

Files with missing lines
Patch %
Lines

src/layers/activity-layer/activity-layer.ts
71.42%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
- Coverage   96.55%   96.10%   -0.46%
==========================================
  Files          19       20       +1
  Lines         522      513       -9
  Branches       52       52
==========================================
- Hits          504      493      -11
- Misses         18       20       +2

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


Assets not updating

I am experiencing a very odd issue regarding publishing assets (.js, .css). For some reason, Yii has stopped publishing updated .js files to the web/assets directory. I have to manually remove everything from web/assets for the updated version to show up. The reason this issue is odd is because the asset manager was working perfectly until last couple of days.
On my system I can see that my .js file was modified on a certain time, and the version of the same file in the assets directory has an earlier modification time; so I don't think this is a browser caching issue. It's an issue that updated assets are not being published.
I don't have a clue where to start to finding out what is causing this. Does anyone have any idea on how to fix this?

Related to #8190?

The reason this issue is odd is because the asset manager was working perfectly until last couple of days.

have you upgraded yii recently? which version are you using?

Hi cebe,
To rule out file corruption, I just removed everything from app/vendor directory and performed composer update.  However, updating did not solve the problem. The last entry in the CHANGELOG.md is 2.0.3 March 01, 2015, so I assume that is the version I am using.
I'm using Ubuntu 14.04.
A workaround for this that I am using is to forceCopy on the asset manager.

you can run composer show -i to see installed versions.

@cebe I keep the dependencies updated regularly so it is possible that it was working before an update but I cannot say for certain. Also like I said, I just noticed this problem since maybe 1 or 2 days ago. I've been coding on the back-end recently and just recently switch back to front-end; so it could be broken a while back without me noticing.
Or maybe it's just mine computer that's going crazy. Let me set up another instance of my project on another machine. I'll get back to you with my observation.

you may also try different versions of yii by setting composer.json to require exact version.

Tried it with another Linux box and assets seems to be published just fine.
Also just tried it again on my dev machine by removing forceCopy and still doesn't update my asset. Something is funky going on here on my computer. Maybe some convention that I am not following causing Yii to freak out. Other than that my app seems to work fine though.

I think this is definitely a problem. I'm having the same issue with another Yii2 project. Is nobody else having this issue?

Same issue here.
My Assets bundle:
class AppAsset extends AssetBundle
{
    public $sourcePath = '@frontend/web/assets_src';
    public $jsOptions = array(
        'position' => \yii\web\View::POS_HEAD
    );
    public $css = [
        '//fonts.googleapis.com/css?family=Raleway:100,400,700',
        'css/layout.css',
        'css/ui.css',
        'css/typography.css',
        'css/icons.css',
        'css/main.css',
    ];
    public $js = [
        'js/html5.image.preview.js'
    ];
    public $depends = [
        'yii\bootstrap\BootstrapPluginAsset',
        'yii\web\JqueryAsset',
        'frontend\assets\DotDotDotAsset'
    ];

    /*public function __construct($config = [])
    {
        $this->publishOptions['forceCopy'] = (YII_ENV_DEV || YII_ENV_DEV);

        parent::__construct($config);
    }*/
}

As you can see I tried to add the publishOption to force copy assets, which works but slows down the website about 10 times.
It seems its not picking up the change only when you use sourcePath

The only way I succeeded to reproduce the problem was setting chmod that disallows reading of source .js file. Unfortunately, I think that's not the problem @Tomino2112 and @wangchj are talking about, right, guys?

Removing the issue from the milestone 2.0.7 because it does not have the exact way to reproduce and @Tomino2112 with @wangchj are inactive.

Same issue for me. My assets bundle looks like this:
class AppAsset extends AssetBundle {

    public $sourcePath = '@webroot';
    public $css = [
        'css/site.css',
    ];
    public $js = [
        'js/keycloak.js',
        'js/app.js',
        'js/app-mocks.js',
        'js/app-directives.js',
        'js/config.js',
        'js/utils.js',
        'js/services/ProfileService.js',
        'js/services/FarmService.js',
        'js/services/ProductService.js',
        'js/services/ProductCategoryService.js',
        'js/services/WeatherService.js',
        'js/controllers/MainController.js',
        'js/controllers/DashboardController.js',
        'js/controllers/FarmIndexController.js',
        'js/controllers/FarmFormController.js',
        'js/controllers/LoginController.js',
        'js/controllers/LogoutController.js',
        'js/controllers/ProductCodeController.js',
        'js/controllers/ProductDetailsController.js',
        'js/controllers/ProductEditController.js',
        'js/controllers/ProductIndexController.js',
        'js/controllers/ProductInitController.js',
        'js/controllers/ProductNewController.js',
        'js/controllers/ProfileController.js',
    ];

    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
        'frontend\assets\AngularAsset',
        'frontend\assets\PolymerAsset',
    ];

}

It seems that the publish() function in AssetManager is treating the bundle as a directory not as a list of separate files. Consequently, publishDirectory is called which does not look up for the latest modified file.

I'm having the same issue where the changes I write to the assets (js or css) do not appear right away.  Eventually they'll take effect.  I noticed is the css file referenced in my AssetBundle was completely empty even though it was registered on the web page.   I'm on a Mac, apache 2 and php 7.
Composer show -i
bower-asset/bootstrap          v3.3.5  The most popular front-end framework for developing responsive, mobile first projects on the web.
bower-asset/jquery             2.2.3
bower-asset/jquery.inputmask   3.2.7   jquery.inputmask is a jquery plugin which create an input mask.
bower-asset/punycode           v1.3.2
bower-asset/typeahead.js       v0.11.1
bower-asset/yii2-pjax          v2.0.6
cebe/markdown                  1.1.0   A super fast, highly extensible markdown parser for PHP
ezyang/htmlpurifier            v4.7.0  Standards compliant HTML filter written in PHP
fzaninotto/faker               v1.6.0  Faker is a PHP library that generates fake data for you.
kartik-v/yii2-krajee-base      v1.8.4  Base library and foundation components for all Yii2 Krajee extensions.
kartik-v/yii2-widget-typeahead v1.0.1  Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).
phpspec/php-diff               v1.1.0  A comprehensive library for generating differences between two hashable objects (strings or arrays).
swiftmailer/swiftmailer        v5.4.1  Swiftmailer, free feature-rich PHP mailer
yiisoft/yii2                   2.0.8   Yii PHP Framework Version 2
yiisoft/yii2-bootstrap         2.0.6   The Twitter Bootstrap extension for the Yii framework
yiisoft/yii2-codeception       2.0.5   The Codeception integration for the Yii framework
yiisoft/yii2-composer          2.0.4   The composer plugin for Yii extension installer
yiisoft/yii2-debug             2.0.6   The debugger extension for the Yii framework
yiisoft/yii2-faker             2.0.3   Fixture generator. The Faker integration for the Yii framework.
yiisoft/yii2-gii               2.0.5   The Gii extension for the Yii framework
yiisoft/yii2-swiftmailer       2.0.5   The SwiftMailer integration for the Yii framework

<?php

namespace frontend\components\matrix;

use yii\web\AssetBundle;

class MatrixWidgetAsset extends AssetBundle
{
    public $js = [
        'js/matrix.js',
        'js/jetColorMap.min.js',
    ];

    public $css = [
        'css/matrix.css'
    ];

    public $depends = [
        'yii\web\JqueryAsset'
    ];

    public function init()
    {
        // Tell AssetBundle where the assets files are
        $this->sourcePath = __DIR__ . "/assets";
        parent::init();
    }
}

I have the same problem, as I noticed this problem occurs when the source is $sourcePath. But when the source is $basePath and $baseUrl there is no problem.

@temirfe you led me to the answer but I used $sourcePath though:
I learned that $sourcePath has precedence over $basePath and $baseUrl
    public $sourcePath = '@app/components/matrix/assets';

My problem was I created an AssetBundle as part of a custom widget and stored the AssetBundle under the Widget directory tree and didn't know how to properly register the path to the assets.  It's all working perfectly now and no need to delete any of the generated assets to refresh.
Here's the whole code of my AssetBundle:
<?php

namespace frontend\components\matrix;

use yii\web\AssetBundle;

class MatrixWidgetAsset extends AssetBundle
{

    public $sourcePath = '@app/components/matrix/assets';

    public $js = [
        'js/matrix.js',
        'js/jetColorMap.min.js',
    ];

    public $css = [
        'css/matrix.min.css'
    ];

    public $depends = [
        'yii\web\JqueryAsset'
    ];

    public function init()
    {
        parent::init();
    }

}

@rubenjleon I did exactly the same, but problem remained. I learned there is another solution:
class Asset extends AssetBundle
{
    public $sourcePath = '...';
    public $js = [..];
    public $css = [...];
    public $depends = [...];

    public $publishOptions = [
        'forceCopy' => true,
         //you can also make it work only in debug mode: 'forceCopy' => YII_DEBUG
    ];
}

forceCopy forces files to be published in assets folder each time.

I believe reason is the default hash function of AssetManager, It looks like below:
protected function hash($path)
{
if (is_callable($this->hashCallback)) {
return call_user_func($this->hashCallback, $path);
}
$path = (is_file($path) ? dirname($path) : $path) . filemtime($path);
return sprintf('%x', crc32($path . Yii::getVersion()));
}
The value of $path is $sourcePath of an AssetBundle. When $sourcePath is a directory who has sub directory ,after some files are modified in the sub directory, the last modified time of the sub directory is changed ,but the directory 's last modified time is not change. The hash function only contain the directory's last modified time, so publish js skipped.

same here. i fixed it by adding this to my config file:
if (YII_ENV_DEV) {
    ...
    $config['components']['assetManager']['forceCopy'] = true;
}

I believe reason is the default hash function of AssetManager, It looks like below:

Thanks, @mmdtl . You right.
As temporary solution I propose put in config:
            $config['components']['assetManager']['hashCallback'] = function($path){         $mostRecentFileMTime = 0;         $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path), RecursiveIteratorIterator::CHILD_FIRST);         foreach ($iterator as $fileinfo) {             if ($fileinfo->isFile() && $fileinfo->getMTime() > $mostRecentFileMTime) {                 $mostRecentFileMTime = $fileinfo->getMTime();             }         }         $path = (is_file($path) ? dirname($path) : $path) . $mostRecentFileMTime;         return sprintf('%x', crc32($path . Yii::getVersion()));     };
It works for me.
When you updating css/js in subdirectory of assets sourcePath it does not visible for filemtime function of parent directory.
I will prepare pull request to update AssetsManager with recursive check of assets sourcePath soon

@Patricy, to what extent would a recursive check go at cost of performance?

Yes, the issue is there: http://stackoverflow.com/questions/3620684/directory-last-modified-date

The mtime (modification time) on the directory itself changes when a file or a subdirectory is added, removed or renamed.
Modifying the contents of a file within the directory does not change the directory itself, nor does updating the modified times of a file or a subdirectory. If you change the permissions on the directory, the ctime changes but the mtime does not.

The performance cost may be significant since getting proper mtime mean recursively walking over everything in a directory.

We are able to reliably reproduce this whenever a nested file has a modification date that is greater than the parent directory – especially easy to reproduce when the file is in a subdirectory of the asset bundle’s root path.
For Craft CMS, we’ve fixed this by overriding AssetManager::hash(), replacing the filemtime() call with a call to our craft\helpers\FileHelper::lastModifiedTime() method, which recursively loops through all sub-files/directories and returns the true latest modified time.
Performance impact is negligible. For an asset bundle with 10 nested directories and 128 nested files, I’m seeing about an 0.2-second performance hit on average when calling getPublishedUrl() 1,000,000 times.
@cebe @samdark @qiangxue Let me know if you’d like me to submit these changes in a PR.

@brandonkelly this seems similar to what is being discussed in #608. I think adding such an algorithm as an option would be a good addition.

I also think that's the way to go. The performance cost is negligible, IMHO - for development - compared to other solutions.
Can't we just use FileHelp::findFiles() on the $path during "deepHashing" (maybe even filter css,js,less,... files) - and call max() for all mtime() on the list? ... Will try this via hashCallback and report.

I don't think it should be optional. Current behavior is basically not reliable. Clearly a bug.

Maybe would be good to implement some exclude directories list from everytime hash checking.
I.e. to have possibility  to exclude vendors assets from checks, I will clean assets manually after composer updates,

Performance impact is negligible. For an asset bundle with 10 nested directories and 128 nested files, I’m seeing about an 0.2-second performance hit on average when calling getPublishedUrl() 1,000,000 times.

Are you testing this by calling getPublishedUrl() in a single loop? Do you call clearstatcache() after each cycle?

@rob006 Yes, I just made a for-loop for 1-1000000, and called getPublishedUrl() for the source directory path within it, and compared the microtime before/after the loop. Did not call clearstatcache() within the loop as I was looking for the real-world performance hit.

@brandonkelly But this makes your test useless. PHP caches results of filemtime() for better performance, so only first call of getPublishedUrl() shows real performance hit, rest of calls uses cached data which makes this test completely unreliable.

Well, there's still all the recursive directory scanning that had to happen on each iteration, which I don't believe PHP caches.

I tried this for local development with good results:
     'hashCallback' => getenv('APP_ASSET_FORCE_PUBLISH') ? function ($path) {
                $files = \yii\helpers\FileHelper::findFiles(
                    $path,
                    ['only' => ['*.js', '*.css', '*.less']]
                );
                foreach ($files as $file) {
                    $max = max(0, filemtime($file));
                }
                return hash('sha256', $path.$max);
            } : null,

`<?php
namespace app\assets;
use yii\web\AssetBundle;
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
// 'css/bootstrap.min.css',
// 'css/normalize.css',
// 'css/bootstrap-datetimepicker.min.css',
// 'css/bootstrap-table.min.css',
// 'css/bootstrap-select.css',
// 'css/font-awesome.min.css',
// 'css/sm-core-css.css',
// 'css/jquery.smartmenus.bootstrap.css',
// CUSTOM
'css/freestyle.css',
'css/theme1.css',
'fonts/open-sans/opensans.css',
];
public $js = [
// 'js/bootstrap.min.js',
// 'js/moment.min.js',
// 'js/bootstrap-datetimepicker.min.js',
// 'js/bootstrap-table.min.js',
// 'js/bootstrap-select.min.js',
'js/bootstrap-maxlength.js',
'js/jquery.number.min.js',
'js/Chart.bundle.min.js',
'js/jquery.smartmenus.min.js',
'js/jquery.smartmenus.bootstrap.min.js',
// CUSTOM
'js/freescript.js',
'js/list_menu.js',
];
public $depends = [
'yii\web\YiiAsset',
'app\assets\SqivaAsset'
];
public $jsOptions = [
'position' => \yii\web\View::POS_HEAD
];
}
`
`<?php
namespace app\assets;
class SqivaAsset extends \yii\web\AssetBundle
{
public $sourcePath = '@vendor';
// public $basePath = '@vendor';
// public $baseUrl = '@webroot';
public $js = [
// 'components/jquery/jquery.min.js',
'twbs/bootstrap/dist/js/bootstrap.min.js',
// 'moment/moment/moment.js',
// 'bootstrap-select/bootstrap-select/dist/js/bootstrap-select.min.js',
// 'eonasdan/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
// 'wenzhixin/bootstrap-table/dist/bootstrap-table.min.js',
// 'moment/moment/moment.js',
];
public $css = [
'twbs/bootstrap/dist/css/bootstrap.min.css',
'components/font-awesome/css/font-awesome.min.css',
// // 'bootstrap-select/bootstrap-select/dist/css/bootstrap-select.min.css',
// // 'eonasdan/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css',
// 'wenzhixin/bootstrap-table/dist/bootstrap-table.min.css',
];
// public $jsOptions = [
// 	'position' => \yii\web\View::POS_HEAD
// ];
public function init()
{
    parent::init();

    // $this->js[] = 'i18n/' . Yii::$app->language . '.js'; // dynamic file added
}

}
`
buy my assets is not publish to assets folder ? how ?

asd

`<?php
namespace app\assets;
class SqivaAsset extends \yii\web\AssetBundle
{
public $sourcePath = '@vendor';
// public $basePath = '@vendor';
// public $baseUrl = '@webroot';
public $js = [
// 'components/jquery/jquery.min.js',
'twbs/bootstrap/dist/js/bootstrap.min.js',
// 'moment/moment/moment.js',
// 'bootstrap-select/bootstrap-select/dist/js/bootstrap-select.min.js',
// 'eonasdan/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js',
// 'wenzhixin/bootstrap-table/dist/bootstrap-table.min.js',
// 'moment/moment/moment.js',
];
public $css = [
'twbs/bootstrap/dist/css/bootstrap.min.css',
'components/font-awesome/css/font-awesome.min.css',
// // 'bootstrap-select/bootstrap-select/dist/css/bootstrap-select.min.css',
// // 'eonasdan/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css',
// 'wenzhixin/bootstrap-table/dist/bootstrap-table.min.css',
];
// public $jsOptions = [
// 	'position' => \yii\web\View::POS_HEAD
// ];
public function init()
{
    parent::init();

    // $this->js[] = 'i18n/' . Yii::$app->language . '.js'; // dynamic file added
}

}
`

I still think we should have something like that by default.

@samdark So, regarding your https://github.com/yiisoft/yii2/issues/8197#issuecomment-279519022
I also don't like the code very much, but how to solve this?

Same as you did. Traversing files, collecting mtimes.

I still think we should have something like that by default.

Disagreed. filemtime() gets cached by stat-cache and then works without FS reads.
Any approach with FS traversing will not be cached and will affect performance.
$path = Yii::getAlias('@bower/typeahead.js/src');

$op1 = function () use ($path) {
    $files = \yii\helpers\FileHelper::findFiles(
        $path,
        ['only' => ['*.js', '*.css', '*.less']]
    );
    $max = time();
    foreach ($files as $file) {
        $max = max(0, filemtime($file));
    }
    return hash('sha256', $max);
};

$op2 = function () use ($path) {
    return hash('sha256', filemtime($path));
};

$res = '';
foreach ([$op1, $op2] as $op => $callback) {
    $start = microtime(true);
    for ($i = 0; $i < 100; $i++) {
        $callback();
    }
    $res .= 'Option ' . $op . ': ' . (microtime(true) - $start) . '<br />';
}

return $res;

Out with SSD:
Option 0: 0.16192412376404
Option 1: 0.043011903762817
Option 2: 0.00028610229492188

Out with HDD:
Option 0: 0.29494607925415
Option 1: 0.082420864105225
Option 2: 0.0003058910369873

I don't even want to enable this as a default for dev env, because we have linkAssets.
Closing this issue.


Handling of If-Match: * is not RFC compliant

The documentation says if we omit If-Match header for WebDAV PUT method, it defaults to *.
https://personium.io/docs/en/apiref/current/312_Register_and_Update_WebDAV.html
This is not compliant to RFC 7232:

If the field-value is "*", the condition is false if the origin server does not have a current representation for the target resource.

https://tools.ietf.org/html/rfc7232#section-3.1
Omitting If-Match header and giving If-Match header with the value * must behave differently.
I have not checked actual behavior. Is this just a error of documentation, or bug of actual implementation?

Thank you for raising this issue.
When personium project started in 2012, RFC7232 did not exist. So early codes don't comply with it. We think it should be compliant to RFC as you commented. Now I'll check the RFC and the current implementation.

It is also specified in RFC 2616, issued at June 1999 and obsoleted by RFC 7232 later.

if "*" is given and no current entity exists, the server MUST NOT perform the requested method, and MUST return a 412 (Precondition Failed) response.

https://tools.ietf.org/html/rfc2616#section-14.24
RFC 2068, which is predecessor of RFC 2616 and released at January 1997, also states the same behavior.
https://tools.ietf.org/html/rfc2068#section-14.25
So, Personium had been violating the RFC from beginning.

It is a shame we had been violating RFC2616 from the beginning. Thank you for pointing it out and give us a chance to stop this situation.
Could you help us a bit more to make things clearer?   My understanding is the following:

Conditions
When the following 3 conditions are met:

PUT method
Resource does not exist
If-Match Header value is "*"

Current Personium:

accepts the request and create the resource.

To make it RFC compliant, it should:

return 412 error.

Is my understanding correct?

Is my understanding correct?

Yes. It must return 412.

DELETE also accepts If-Match header:
https://personium.io/docs/en/apiref/current/314_Delete_WebDAV.html

In my opinion, the priority of this bug isn't high. Practical applications won't pass If-Match: *, that is, “update/delete the file if it exists but I don't care its version”.
I thought it is an error of documentation when I file this issue.

Moved to 1.7.21 for the issue personium/personium-engine#119.


Static and Debug

Pull Request Description
What issue does this change request address?
Closes #249
What are the significant changes in functionality due to this change request?
Assures debug runs with static histories can still run as expected.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass.
[ ] 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large tes.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added, the the analytic documentation must be updated/added.
[ ] 9. If any test used as a basis for documentation examples have been changed, the associated documentation must be reviewed and assured the text matches the example.

Subsumed by #285.


Implement Geo Shape Query

Based on the elasticsearch and GeoJSON specification, this PR tries to
solve the #939 supporting the follow types :

Circle
Envelope
Linestring
MultiLineString
MultiPoint
MultiPolygon
Point
Polygon

Any suggestion would be appreciated.

A few initial comments on this PR:

Don't use documentation links with current or N.x (e.g. 6.x). These refer to the current version or the working version for 6.x. For the former, we refer to Elasticsearch version 12.0 in ~5 years. For the latter, we refer to the state the technical writers at Elasticsearch use for deployment before releasing the actual version of the docs. Use a full version number like 6.7 in the links as that won't change, and 6.7 is actually very good because that's probably the last version in the v6 time frame.
What is rawGeometry and why do we need this? Seems like a code smell to me. I'd prefer to have e.g. Circle be separate from Point, even if they have some things in common.
Do we really need TypePoint, TypeCircle etc.?
I don't like the fields of e.g. Circle being exported and still have a constructor-like function like NewCircle.
Please remove that "github.com/stretchr/testify/require" dependency. I'm only using "testing" from standard library and github.com/google/go-cmp/cmp, and I work actively against pulling in any additional dependencies.
The WithXXX functions are a nice idea. What about a separate design where you would use MarshalJSON on the individual shapes to add the missing type field to the serialized JSON. Wouldn't it be nice to write something like this from the client's perspective?

c := geo.Circle{Center: geo.PointFromLatLon(40.513, -70.119), Radius: 3*geo.Kilometer}

Can we use this PR instead of #956, i.e. do you try to implement the same thing?


Keyboard Manager: Create shortcuts to launch a process or command

📝 Create New Shortcuts
Same interface like remapping a shortcut, but instead create a new shortcut to launch a process  or command or even just add an string to current open window, be it terminal window, notepad, Word, etc.
This can be implemented in following way:

Set shortcut
Select type dropdown:
-- Process (browse to exe)
-- cmd line
-- Text string
Input field for entering exe path / command line / text

This is useful for utilities which don't reside in system tray or don't have global shortcut handling. Like password managers, or repeating task

If you'd like to see this feature implemented, add a 👍 reaction to this post.

dup #3350

dup #3350

Thanks, I searched before posting, guess I didn't use all the possible keywords.


Add trait Receipts

Closes https://github.com/paradigmxyz/reth/issues/11108

we can't really do this just yet, because this will later conflict with block type as well

we can't really do this just yet, because this will later conflict with block type as well

don't see what you mean, but it conflicts with https://github.com/alloy-rs/alloy/pull/1247/files
the alloy type needs to be changed to
struct Receipts<T> {
    receipts_by_block: Vec<T>
}

closing in favour of more generic https://github.com/paradigmxyz/reth/pull/11314


Remove 'virt: lxd' to fix issues in Travis build

Travis build environment is already set to 'lxd' by-default. 'virt: lxd' or 'virt: vm' is only required while working with 'arch: arm64-graviton2'
Signed-off-by: odidev<EMAIL_ADDRESS>

no thanks on this one. This calls attention to that the default VM isn't lxd which is the primary reason why we are using arm64 instead of amd64. Prefer to be explicit vs make assumptions that are only true when you hold arm64 constant.
https://docs.travis-ci.com/user/reference/overview/

ps if you prefer to move the rationale into the job definition, that's also fine. ex move lxd's comment into where arm64 is defined.
However we do things, it is important for folks who aren't familiar with this stuff to know quickly the tradeoffs made. I think almost no one has had time to track the arm64 effort so want their life easiest when they decide to jump in and do something, to understand what's going on and not accidentally subvert something. That's primarily the reason for all these comments which were explicitly written.. for the many folks who aren't able to watch 10 changes per day while kinks are sorted out.

Setting ‘virt: lxd’ globally will also set the lxd environment for the AMD64 job, which is generally Full VM, as discussed here https://docs.travis-ci.com/user/reference/overview/#which-one-do-i-use. For Ubuntu Focal 20.04:
arch: amd64: full VM only, default option
arch: arm64: LXD only
arch: arm64-graviton2: LXD and full VM
arch: ppc64le: LXD only
arch: s390x: LXD only
Hence, it is taking much time in the boot/queue state.
We can mention ‘virt: lxd’ within the arm64 job itself. This would not affect the AMD64 build.

gotcha.. feel free to move that to the arm64 definition.
Also, if you want, give arm64 graviton another try. I just had a support email with travis about a different issue, but was plan related. My guess is graviton could have been affected by that, and so it might not cycle anymore. It would be cool for you to put  the PR in that actually puts graviton into use!

feel free to re-use this PR or make a new one. I'm watching something for a bit but will check back before I turn in for the night.

raised a couple issues about the skipped tests

#3295 kafka isn't running but I don't think it is related
#3296 cassandra isn't running on arm64 - We need to fix the JRE if that's the problem. Then, we'll need to add details about the upstream issue in Cassandra if still relevant. This one is rather important to solve as this image is also used in zipkin-dependencies.. I'll look into it.

Thanks again for the help!


exclude certain routes from showing breadcrumbs

I have a project nested in another project. My route looks like this: http://localhost:8080/app/resources/dashboard/health
but I want my breadcrumbs to just show Application Health and Monitoring (alias for "/health") I set the friendly name for "/"app" and "/resources" and "/dashboard" to empty string but I am still seeing  "////Application Health and Monitoring"
Any suggestion how to fix this?

Will prob have to update the service with an exclude path function. Before I get to that, how good is your css?
The links that are shown, are  elements in an  element. You could try and target the exact items with an css selector and just make them display:none. The main  element uses a class called breadcrumb, so its easy to target.

So I tried to set a css selector but this is setting on the a tag, not the li tag so when i do the css "display:none" on each a tag, the backslash still exists

Home

{{index}}, {{friendlyName(url)}}
{{friendlyName(url)}}

I have fixed this issue by changing the base href of my project for which I want to use the breadcrumbs!


feat: Add title tooltip for subcategory description

Fixes Issue

Changes proposed

Screenshots
When you hover on subcategory description

Note to reviewers

@HimanshuBari21 could you please attach the closing issue?

There were no issues raised for it


Settings in tsconfig.json file not being applied if tsconfig.json is in a subdirectory rather than root

VSCode Version: 0.10.11
OS Version: OS X 10.11.3

Steps to Reproduce:

Place a tsconfig.json file in a subdirectory rather than in root (e.g. /src/tsconfig.json)
Ensure tsconfig.json contains "experimentalDecorators": true
Create a TypeScript file (under /src) that uses decorators
Visual Studio Code incorrectly displays an error regarding "Experimental support for decorators..."
If the tsconfig.json is moved to the root directory (and VS Code is then restarted) the error is no longer displayed

According to the TypeScript wiki:

The presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project.

Because of this I don't think vscode should attempt to go further down the folder structure, this is how it works for .eslintrc and other similar config files too.
Closing as designed.

It sure would be desirable to have this feature, seeing that @angular/cli is using the 'tsconfig.json inside src/ folder' scheme. And with the recent 1.0.0 release candidates, there are even multiple tsconfig*.json files under src/ for different build variants. It only seems to be keeping a root tsconfig.json around to satisfy tools such as Visual Studio Code that do not respect tsconfig.json files in subdirectories.
For example, if there was a /tsconfig.json, a /src/tsconfig.json and a /src/app/app.ts, I'd expect vscode to use the /src/tsconfig.json file when autocompleting and building /src/app/app.ts.

@httpdigest We do pick up tsconfig.json files in subdirectories and treat those subdirectories as individual projects. If you are not seeing the correct behavior around this, please open a new issue and I can take a look


Install xcopy MSBuild

Is there a way to install MSBuild 15.0 in an xcopy fashion?
Given the changes to Visual Studio 2017 it seems that this should be possible.  This is the only tool remaining in the Roslyn build process which isn't xcopy deployable.  I'm pretty sure that with an xcopy MSBuild I could clone, build and run tests in Roslyn on a fresh Windows 10 machine.

@jaredpar the Microsoft.Build.Runtime should contain everything you need for MSBuild.  If you want to evaluate or build projects, you'll need a few more packages like Microsoft.Net.Compilers.netcore and Microsoft.CodeAnalysis.Build.Tasks (which now have to be placed in a Roslyn subfolder or you have to set RoslyTargetsPath explicitly.  This will is enough to build a basic .csproj or .vbproj.  And then you'll need additional packages for other SDKs unless the project itself contains enough package references to get the build dependencies.
This is my test application I've been using to show things working in a stand-alone fashion: https://github.com/jeffkl/MSBuild-NetCore/tree/master/src/ConsoleApplication

Yes, this should be possible now, but there's no easy way to do it at the moment. The main issue is that not all of the props and targets that are required for a "reasonable" MSBuild are present in this repo--Roslyn being a notable absence. Everything gets assembled by the VSIXes in VS or by the CLI repo for .NET Core.
For you in Roslyn, it's probably ok to not have Roslyn targets redistributed, depending on how your bootstrap is set up. You might be able to just unzip the Microsoft.Build.Runtime package and run from there.
[Crossed with @jeffkl so may be repetitive]

Does the MS.Build.Runtime package contain everything needed to enable NuGet restore and reference resolve issues?  Also does it have the desktop reference assemblies?

No NuGet restore is not part of the "core" MSBuild logic at the moment.  This is handled by Visual Studio or the dotnet CLI.  We're working on a feature where MSBuild will be able to restore SDK packages which could then restore NuGet package references.
Another possibility could be to zip up the MSBuild folder from a VS install but I haven't tried it.

Also, would it work if you just installed the MSBuild tools part of Visual Studio on the machine?  This part of the install should be very minimal and fast...

No NuGet restore is not part of the "core" MSBuild logic at the moment.

That's unfortunate.  I'm really interested in driving down the pre-requisites needed to build DotNet projects.  Today it far too often comes down to "install Visual Studio" which is a pretty big burden.  I think it would be great if we can get it to a simple "grab this toolset" and go.
It seems like there are at a minimum the following required components:

NuGet.exe: available today as a direct download today.  On Windows only though.
NuGet tasks for resolving references during build
MSBuild core components
Roslyn compilers

I feel like 2 is the big item we are missing.  Everything else can be cobbled together.  I'm not even sure where this code lives.

Another possibility could be to zip up the MSBuild folder from a VS install but I haven't tried it.

I agree that should work.  But it's not ... official.  It's a bit hacky.

Also, would it work if you just installed the MSBuild tools part of Visual Studio on the machine?

How would one go about doing that?

@jaredpar I agree, that's why I came up with http://commonbuildtoolset.github.io/ which is a hook into MSBuild which allows for bootstrapping build dependencies at build time.  I haven't had a chance to make it work with .NET Core yet though but it is why I joined the MSBuild team.
I can say that the near term goal is to accomplish exactly what you want which is that MSBuild acquires all build dependencies for you so you can just "clone and go".  The new SDK stuff I spoke about is slated for update 1 and I've already started working on it based on this design: https://github.com/Microsoft/msbuild/issues/1493.  It will work from the command-line, Visual Studio, Windows, Linux, etc.  The lowest common denominator is MSBuild so that's all you'll need as a prerequisite.
The DotNet CLI might also be a good option but I'm not sure if it can build desktop framework apps yet.  It is xcopy deployable and comes with MSBuild, Roslyn, and NuGet.
To install just the build tools, you can download this: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017-rc
And then do an unattended installation on build servers by doing this: https://docs.microsoft.com/en-us/visualstudio/install/visual-studio-administrator-guide

@jaredpar Isn't the CLI good enough? It's pretty much xcopy-able. As @jeffkl said, after this VS release we'll be working on teaching msbuild how to acquire dependencies: #1493. The end goal is to clone and build with only msbuild on the machine.

Isn't the CLI good enough? It's pretty much xcopy-able and puts together nuget, msbuild, and roslyn

The phrase "pretty much" is suspicious.  Is there a supported xcopy way to grab it?  If so then yeah it might be enough.

You'd need CLI + full-framework MSBuild in a zip (or NuGet or whatever). CLI could do NuGet operations but you'd want to use full framework MSBuild (which doesn't come with CLI at the moment) to make sure the build matched the installed version.
CLI does come in an xcopy mode (not sure the official "supportedness"). For example https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-win-x64.latest.zip

I also would like to have the option of a msbuild xcopy installation for a Full and CLI version.

As a counter example consider the [instructions for acquiring Maven].  They are as simple as it gets.  In summary: download and unzip.  Imagine if it were that easy to get a functional MSBuild environment going.

@jaredpar I don't see anyone disagreeing with that goal. We're just not there yet.

@jaredpar If you want the .NET Core version of MSBuild, then you can pretty much get this with the .NET CLI.  The "Binaries" download links are to .zip files with xcopy-able contents.  There are also scripts in the CLI repo that you can use to download and extract everything.
I think the only thing from your list that isn't included is NuGet.exe, and that's because NuGet.exe is for the full .NET Framework and in the CLI, and the NuGet functionality is provided via other means (targets in MSBuild, dotnet restore, etc.).

@dsplaisted the last time we used dotnet restore it couldn't handle our NuGet packages (csproj with project.json files).  That's a bit of a blocker.

@dsplaisted addtionally the CLI only supports CoreClr compilers.  That's a break in some cases as we need full framework to run some of the analyzers.

Been looking into this again.  I'm still at a loss as to where the NuGet Asset resolution deliverables are coming from.  Can someone get me pointed in the right direction?  That seems to be the one big piece that we don't have info one.
@dsplaisted
Been looking into this more and CLI does not appear to be an option here for dotnet/roslyn in the near term.  Even though it is driving MSBuild it is doing so using CoreCLR.  Hence it rules out any build tasks which are tied to desktop.
Roslyn uses a number of those, most notable the VS SDK build tools but including several others.  There is no real gain to be had for these tasks to move to CoreCLR as they target desktop only scenarios.  Hence Roslyn for the forseable future is going to need a full MSBuild to build our Windows assets.


Google Cloud - Set up a Cloud Identity account

Describe the issue
A clear and concise description of what you want to happen.
Which Sprint Priority is this issue related to?
The 'Milestone' should clearly list Sprint Priorities - which one is this issue related to?
Additional context
Add any other context, attachments or screenshots
Definition of done
Identify what will need to happen/be delivered for this to be completely done

cloud identity set up using<EMAIL_ADDRESS>


list-emails | Generate debug report of incompatible characters found in email subject lines

This functionality is present in one of the test branches I'm working with (a different repo), but as a standalone test cmd. The core bits are expected to land in the next release as the textutils.InspectStrings function, but I've not wired up support yet for an output log file to hold the results.
This could go in later as an optional item used on-demand for troubleshooting character replacement issues. It's probably best to go ahead and create the file when debug logging is explicitly enabled.

For now this has been added as a test:

https://github.com/atc0005/check-mail/blob/master/internal/textutils/inspect_test.go
https://github.com/atc0005/check-mail/commit/fa998c5119d0902a514c0acf9bb15f11ff7dd346#diff-509a19447b1ae911a8e43deeb57f27dde75f959a42e1ce8945936e540140cd97


Vue round filter not working

https://www.npmjs.com/package/vue-round-filter

Moved from using round to vue2-filters's currency filter. Used empty string for the dollar sign when just decimal precision was needed (This would also put commas in, but not for numbers less than 1).
Fixed as of de520d576d581138572819c9b5ddc2e0e55f6912.


Dockerizing Apache Active MQ Artemis Master/Slave config not working

I was able to successfully setup Apache ActiveMQ Artemis Master/Slave replication on my 2 VM cluster.
VM1 : <IP_ADDRESS>

VM2 : <IP_ADDRESS>

My broker.xml for Master node is :
  <connectors>
    <connector name="artemis">tcp://<IP_ADDRESS>:61616</connector>
    <connector name="cluster-connector">tcp://<IP_ADDRESS>:61616</connector>
  </connectors>

  <cluster-user>cluster-user</cluster-user>
  <cluster-password>cluster-password</cluster-password>

  <cluster-connections>
   <cluster-connection name="cluster1">
    <address>*</address>
    <connector-ref>artemis</connector-ref>
    <retry-interval>1000</retry-interval>
    <message-load-balancing>ON_DEMAND</message-load-balancing>
    <max-hops>1</max-hops>
     <static-connectors>
      <connector-ref>cluster-connector</connector-ref>
     </static-connectors>
   </cluster-connection>
  </cluster-connections>

  <ha-policy>
    <replication>
     <master>
        <check-for-live-server>true</check-for-live-server>
     </master>
    </replication>
  </ha-policy>

My broker.xml for Slave node is :
  <connectors>
    <connector name="artemis">tcp://<IP_ADDRESS>:61616</connector>
    <connector name="cluster-connector">tcp://<IP_ADDRESS>:61616</connector>
  </connectors>

  <cluster-user>cluster-user</cluster-user>
  <cluster-password>cluster-password</cluster-password>

  <cluster-connections>
   <cluster-connection name="cluster1">
    <address>*</address>
    <connector-ref>artemis</connector-ref>
    <retry-interval>1000</retry-interval>
    <message-load-balancing>ON_DEMAND</message-load-balancing>
    <max-hops>1</max-hops>
     <static-connectors>
      <connector-ref>cluster-connector</connector-ref>
     </static-connectors>
   </cluster-connection>
  </cluster-connections>

  <ha-policy>
    <replication>
     <slave>
         <allow-failback>true</allow-failback>
     </slave>
    </replication>
  </ha-policy>

The above configuration when deployed on just the 2 VMs works perfectly fine.
Now I want to dockerize this.
My Docker file is :
COPY initialize.sh /

RUN  chmod a+x initialize.sh

RUN yum clean all && yum install -y unzip java-1.8.0-openjdk.x86_64

RUN curl -f -L -o apache-artemis-2.4.0-bin.zip http://apache.mirrors.spacedump.net/activemq/activemq-artemis/2.4.0/apache-artemis-2.4.0-bin.zip

RUN unzip -qd /opt apache-artemis-2.4.0-bin.zip

EXPOSE 8080 61616 5672 61613 5445 1883

ENTRYPOINT [ "/initialize.sh" ]

The initialize.sh just setups the brokers and loads the respective broker.xml files for Master and Slave configs.
My Docker container for Master is deployed on Master node. I start the docker container with the command :
docker run -p 8080:8080 -p 61616:61616 -p 5672:5672 -p 61613:61613 -p 5445:5445 -p 1883:1883 <container-id> --state master

My Docker container for Slave is deployed on Slave node. I start the docker container with
docker run -p 8080:8080 -p 61616:61616 -p 5672:5672 -p 61613:61613 -p 5445:5445 -p 1883:1883 <container-id> --state slave

My broker.xml config is the same that I am loading into the containers.
But in this case when I take down the Master, the failover takes over 1 min to happen.
The logs are ::
14:32:43,532 INFO  [org.apache.activemq.artemis.core.server] AMQ221066: Initiating quorum vote: LiveFailoverQuorumVote
14:32:43,535 INFO  [org.apache.activemq.artemis.core.server] AMQ221067: Waiting 30 seconds for quorum vote results.
14:32:43,535 INFO  [org.apache.activemq.artemis.core.server] AMQ221068: Received all quorum votes.
14:32:43,536 INFO  [org.apache.activemq.artemis.core.server] AMQ221071: Failing over based on quorum vote results.
14:32:43,561 INFO  [org.apache.activemq.artemis.core.server] AMQ221037: ActiveMQServerImpl::serverUUID=83d3b7c9-285d-11e8-bfc9-0242ac110001 to become 'live'
14:32:43,591 WARN  [org.apache.activemq.artemis.core.client] AMQ212004: Failed to connect to server.
14:32:43,854 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue DLQ on address DLQ
14:32:43,855 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue ExpiryQueue on address ExpiryQueue
14:32:44,261 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
14:32:44,318 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
14:32:44,345 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:5445 for protocols [HORNETQ,STOMP]
14:32:44,348 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:5672 for protocols [AMQP]
14:32:44,365 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:1883 for protocols [MQTT]
14:32:44,368 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:61613 for protocols [STOMP]

And the fail back does not occur at all when the Master is back up.
On the slave container all I see in the logs is :
14:34:29,464 INFO  [org.apache.activemq.artemis.core.server] AMQ221027: Bridge ClusterConnectionBridge@66d554c6 [name=$.artemis.internal.sf.cluster1.f4ad2f1c-285d-11e8-acde-0242ac110001, queue=QueueImpl[name=$.artemis.internal.sf.cluster1.f4ad2f1c-285d-11e8-acde-0242ac110001, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=83d3b7c9-285d-11e8-bfc9-0242ac110001], temp=false]@21ef670d targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@66d554c6 [name=$.artemis.internal.sf.cluster1.f4ad2f1c-285d-11e8-acde-0242ac110001, queue=QueueImpl[name=$.artemis.internal.sf.cluster1.f4ad2f1c-285d-11e8-acde-0242ac110001, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::serverUUID=83d3b7c9-285d-11e8-bfc9-0242ac110001], temp=false]@21ef670d targetConnector=ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=artemis, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=61616&host=172-29-219-89], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@1909325807[nodeUUID=83d3b7c9-285d-11e8-bfc9-0242ac110001, connector=TransportConfiguration(name=artemis, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=61616&host=172-29-219-104, address=*, server=ActiveMQServerImpl::serverUUID=83d3b7c9-285d-11e8-bfc9-0242ac110001])) [initialConnectors=[TransportConfiguration(name=artemis, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?port=61616&host=172-29-219-89], discoveryGroupConfiguration=null]] is connected

Does anyone have any idea why the Master/Slave replication isnt working in docker form ?

Sorry this project is about a very specific docker idea, its not about supported fully custom ones.
I'd suggest to refer to the activemq artemis user mailing list and or stackoverflow.

@jeuniii I'm sorta trying to do the same thing. Are you using vromero's Dockerfile? I see that you're using Fedora/CentOS based image


Share issuance factor

Amarante,
Os arquivos para 'pull' são somente os .pdf e o .py
Não consegui reverter por aqui. Obrigado pela ajuda hoje!
Abraço,
Raphael

This routine requires the use of data from the CRSP database, which is not publicaly available.
Still, the code will be merged with the repository as a reference on how to compute the factor, Raphael Gondo will be credited as the author and a project to turn this routine into a class will be created for anyone who wants to improve it.
Since the structure of the repository has changed a lot since your pull request, the merging will be done manually, not with this pull request.
This pull request will be closed, but your code is there. Thank you for the contribution!!!


Toast Colors

How to set the color to be green for success, blue for alert and red for error as here : https://xamarinhelp.com/toasts-plugin-for-xamarin-and-windows/
Also where is the project files for this demo from this link?

That is only with version 2.0.4 which is no longer supported. Version 3.3.0-pre1 can set the text color on an Android notification, but that is the limits of customization.


Images selection slow

The images selection/highlight is slow.

@abdullahumer Without details provided, it is hardly a helpful comment.


integration with letsencrypt to create SSL certificate and manage auto-renewals

HI,
Can you integrate letsencrypt to create SSL certificate and manage auto-renewals.
Thanks in advance.

@rchekhina Already in our backlog! I think the best approach to tackle this would adding a new Firezone service for certbot that handles provisioning SSL certs for the nginx service. Would that work?

Replacing nginx with caddy will do

Ok perfect thank you very much.

@jamilbk I have a working letsencrypt setup for firezone that I'm now trying to port to chef.
Would it be appreciated if I create an MR for it?

@fliphess  can you please share it with us ?

@souhaiebtar I can share the configuration, but running firezone-ctl reconfigure removes it and it still requires some manual commands and packages which is not ideal...
I'd rather create an MR that allows setting it up using chef to save the firezone devs from all the additional support requests that my instructions would result in :)

@fliphess
This is awesome! Thank you so much.
Let us know if we can help in any way. Curious to hear your thoughts on your approach. Easiest would probably be adding certbot to the Omnibus build and making it a new Runit service alongside nginx, postgres, phoenix, and wireguard

@fliphess No worries :-). Any contribution is welcomed with open arms.
We'll likely be switching from Nginx to caddy as the bundled proxy in the future, but this will still be useful for users wanting to use Nginx.

Refs #779

Coming in 0.5.0


Initial implementations

Testing console output is painful and poorly supported. I suggested to Jack, for the ConsoleWriter, to move the business logic of creating the string into a separate method, and honor the Write(Result res) interface with a very simple implementatin that calls the business logic, then writes the output string to console.

Looks like using the Issue number only soft links the commit to the issue, but doesn't close it out once merged.  Moving forward, lets use Fix #xx as the syntax for commits that address specific issues.  When we miss them, which is no big deal, add them manually from the PR page under "Development"


Sourcepawn icon missing

title
https://imgur.com/a/j7JZDNI

Since SourcePawn is the version of Pawn used in SourceMod, I set the same icon as Pawn, which has also been modified.


python311Packages.pychromecast: 13.0.8 -> 13.1.0

Changelog: https://github.com/home-assistant-libs/pychromecast/releases/tag/13.1.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 281082 run on x86_64-linux 1

19 packages built:

catt
catt.dist
displaycal
displaycal.dist
gnomecast
gnomecast.dist
home-assistant-component-tests.cast
home-assistant-component-tests.lovelace
mkchromecast
mkchromecast.dist
pulseaudio-dlna
pulseaudio-dlna.dist
python311Packages.pychromecast
python311Packages.pychromecast.dist
python312Packages.pychromecast
python312Packages.pychromecast.dist
sublime-music
sublime-music.dist
tauon

Result of nixpkgs-review pr 281082 run on aarch64-linux 1

17 packages built:

catt
catt.dist
displaycal
displaycal.dist
gnomecast
gnomecast.dist
mkchromecast
mkchromecast.dist
pulseaudio-dlna
pulseaudio-dlna.dist
python311Packages.pychromecast
python311Packages.pychromecast.dist
python312Packages.pychromecast
python312Packages.pychromecast.dist
sublime-music
sublime-music.dist
tauon

Result of nixpkgs-review pr 281082 run on aarch64-darwin 1

2 packages marked as broken and skipped:

gnomecast
gnomecast.dist

2 packages failed to build:

mkchromecast
mkchromecast.dist

6 packages built:

catt
catt.dist
python311Packages.pychromecast
python311Packages.pychromecast.dist
python312Packages.pychromecast
python312Packages.pychromecast.dist


Allow tiles to be placed partially out bounds

Tiles should be allowed to be placed partially out of the bounds of the level, where the part out of bounds is cut off. This is a feature already present in the official level editor, and would make working with large tiles (such as SuperStructure Leg) much easier.

Will be done in next release


FEATURE: Add markdown to banner description

you can render markdown in the banner description

In my environment is like this:

Something might be off in your environment, I think.
Could you restart your server?

I was 7 commits behind, that's why it didn't work for me i guess, sorry :-D
I pulled the latest, and also restarted my local; and now it works perfectly.
One suggestion though, could we change Banner label to Banner description?