Bootstraping initial data on page load

Bootstraping initial data is a common use case to avoid fetching required resources after page load.
I was wondering if Restangular supports this or if there is any plan to do so.

The problem with your example:
var user = Restangular.one('users', 'me');
_.extend(user, objectData);

is that what it does is extend the Restangular.one() object, but what most people will want to do is extend the $object returned by Restangular.one().get()
For instance, let's say your controller sets/uses the following:
$scope.me = Restangular.one('users','me').get().$object

Doing the above will still make the $http request.
I think you can do something like:
var obj_from_service = Restangular.one('users','me');

…

// preloader
Restangular.restanguarlizeElement(null,objectData);
obj_from_service.get = function() { return { $object: data }; }

…

$scope.me = obj_from_service.get().$object

Now the behavior with or without the preloading code will return the same result and prevent $http from being activated by get(). The differences are:

You've masked the get method from the obj_from_service, so I have no idea how that will interact if you do a put() then a get() again because I don't know how Restangular handles that
If you have request injectors on the Restangular object (for instance you're modifying reqParams to add an api_key, then the $object will not have them) because it looks like the constructor uses the RestangularProvider only.

There's probably a way to fix this if I understood promises better (my thinking is I could just set the $object property and resolve the promise), but I only learned AngularJS a week ago and Restangular two days ago and I'm a back-end developer. :-( So any suggestions on improving this would be greatly appreciated.

To answer part of my own discussion, apparently I have a misunderstanding of Restangular(proxy).get() and restangularized-object.get(). So you don't want to mask it. Instead what you want to do is use a factory/service to return the $object unless it is preloaded and then return the restangularized version of whatever is preloaded.


Using non public scheme for Postgres leads to fatal jira ERROR

When i try to override the "public" scheme for the database connection,
jira service is unable to start.
Fatal ERROR: "xyz" schema is not existing.
FATAL ERROR jira.app_user is missing

Hi @stadler-tom,
Thanks for letting me know. The schema in schemaName was not being created so Jira crashed.
With the changes on branch postgres-nonpublic-schema-support it should work.
However, I am not going to release it since there is an official Jira bug in this regard (JRASERVER-64886), and a workaround is the solution. That, and the Chart can get complex quickly if I keep adding postgresql queries.
If it doesn't work for you with the changes in postgres-nonpublic-schema-support feel free to let me know, though.

Hi @stadler-tom,
Thanks for letting me know. The schema in schemaName was not being created so Jira crashed.
With the changes on branch postgres-nonpublic-schema-support it should work.
However, I am not going to release it since there is an official Jira bug in this regard (JRASERVER-64886), and a workaround is the solution. That, and the Chart can get complex quickly if I keep adding postgresql queries.
If it doesn't work for you with the changes in postgres-nonpublic-schema-support feel free to let me know, though.

Hi @javimox
thank you for your reply, i will have a look at it within the next days and give you feedback.
Much appreciation.

Hi @javimox
thank you for your reply, i will have a look at it within the next days and give you feedback.
Much appreciation.

I close this issue due to inactivity.


TLD Restrictions don't make sense

While the goal of restricting default access is admirable, the current implementation is technically a gaping hole for possible problems. First, .dev is a registered top-level domain. .local could be used in the future as a generic TLD. It is not reserved.
It would be best to have the default allowed TLD's those defined in RFC 2606 as reserved. Meaning they can't be registered for public use on the web. Further extended that list, to still allow functionality on the localhost{?:port} origin as well since localhost itself is also reserved for non-web-routable work as well.
Thank you for your time,
-Garbee

Very good point, thanks for pointing this out. Perhaps a better alternative would be to have the developer provide an array of hosts (e.g. foobar.dev) in the config, rather than TLDs. What are your thoughts on this @Garbee?

Sorry for entering the discussion but I just wanted to give my views. I think idea of having a config for allowed hosts is good but by default you should support some defaults like - localhost, <IP_ADDRESS> etc.
And BTW this extension is very helpful.

@asachanfbd No need to apologies, your views are very helpful! And thanks for the kind words!
I agree, I think the allowed hosts is a good approach, and we can include some defaults. I'll see about implementing this in the next few days. If somebody wants to PR in the meantime, please feel free -- that'd be absolutely awesome!

Yea, doing the actual hosts is a far stricter (and imo more appropriate) setup.
Perhaps while working on this logic again port controls could also be introduced. Let's say you put foobar.dev:8342 into the config, this would then only enable the tool if foobar.dev:8342 is used to access the app. foobar.dev on normal port 80 or 443 wouldn't trigger it. And simply omitting the port in the config will let the tool operate on any given port so long as the domain name matches.
Just a mostly-simple addition that will make the configuration implementation as robust as possible. Because, some companies do quirky things internally to get to different stages of an app.

Agreed @Garbee, thanks for bringing this to my attention! Port restrictions are also a good option.

Honestly, I think restricting based on TLD or url accessing the app is out of the scope of this packages job. What if I want to put this actually in production, who says I can't?
If you absolutely have to, I'd just check to make sure the app is not in production mode, and disable if it is, but make this configurable so it can be turned off.

People can put their production URLs in just fine if they wish that. I think it's nicer to have it built into the config somehow compared to instructing people how to setup their apps to scope access on their own. Then you aren't supporting people who don't understand that aspect of things.

I could probably make a draft of the changes proposed if we all agree on what it should contain.

Port restrictions
Change of default TLD's
Specific domain restrictions

Anything I missed?

I think we were gonna replace the TLD restrictions completely with the specific domain restrictions?

So something like this?
// Valid domain restrictions
'foobar.dev',
'localhost',
'localhost:8080',
'foobar.dev:1234'

Perhaps allow wildcards?
*.dev

Looks good to me!

PR #14 for my draft.


Modify header

Fix border radius
Reduce header margin

For pages that do not by default have padding on the top -- I'm adding padding to it

 get rid of the orange overflow

new coder question: was that always there? and how did it get there in the first place?

 get rid of the orange overflow

new coder question: was that always there? and how did it get there in the first place?

It used to be taller


v1.0.0-beta TODO

[x] Improve tests - 85%～100% is an acceptable scope of coverage score
[ ] Improve Documentation

Close this issue, and use Projects to manage issue.


Fatal error after upgrading to 6.27.0 (header file not found)

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.5
Firebase SDK version: 6.26.0 prior to update, now 6.27.0
Firebase Component: Analytics, Crashlytics, Core, Performance
Component version: See below.
Installation method: `CocoaPods

[REQUIRED] Step 2: Describe the problem
Upgraded to the latest versions via cocoapods and now getting this error consistently across projects:
Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m:19:9: fatal error: 'FirebaseABTesting/FIRExperimentController.h' file not found
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Applicable Podfile entries:
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'Firebase/Core'
pod 'Firebase/Performance'
% pod install
Analyzing dependencies
Downloading dependencies
Installing Firebase 6.27.0 (was 6.26.0)
Installing FirebaseABTesting 3.3.0 (was 3.2.0)
Installing FirebaseAnalytics 6.6.1 (was 6.6.0)
Installing FirebaseCore 6.8.0 (was 6.7.2)
Installing FirebaseCoreDiagnostics 1.4.0 (was 1.3.0)
Installing FirebaseCrashlytics 4.2.0 (was 4.1.1)
Installing FirebaseInstallations 1.4.0 (was 1.3.0)
Installing FirebaseRemoteConfig 4.6.0 (was 4.5.0)
Installing GoogleAppMeasurement 6.6.1 (was 6.6.0)
Installing GoogleDataTransportCCTSupport 3.2.0 (was 3.1.0)
Installing RxCoreLocation 1.5.0 (was 1.4.2)
Removing FirebaseAnalyticsInterop
Removing FirebaseCoreDiagnosticsInterop
Generating Pods project
Integrating client project
Pod installation complete! There are 45 dependencies from the Podfile and 64 total pods installed.
[!] Unable to read the license file LICENSE for the spec FirebaseABTesting (3.3.0)
[!] Unable to read the license file LICENSE for the spec FirebaseABTesting (3.3.0)

Noting another piece of output from the build:
Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'FirebaseRemoteConfig' from project 'Pods')

@mrchristopher124 Thanks for the report. I'm not able to reproduce on a sample. I suspect something about the build environment or installation has been corrupted. Some things to try - rm -rf ~/Library/Developer/Xcode/DerivedData/ and pod cache clean FirebaseABTesting --all. If that doesn't help, see if you can reproduce on https://github.com/firebase/quickstart-ios/tree/master/config and let us know the CocoaPods version - pod --version

@paulb777 ok let me try those thanks Paul! I update pods regularly and haven't had issues with other recent Firebase updates but will report back asap.

@paulb777 I ran those commands and did pod install and a clean build. I now get a different error:
Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/RCNConfigExperiment.m:19:9: fatal error: 'FirebaseABTesting/ExperimentPayload.pbobjc.h' file not found
#import <FirebaseABTesting/ExperimentPayload.pbobjc.h>
Note that I've never had issues upgrading firebase in the past across multiple apps. I've also tried deleting my Pods directory entirely and reinstalling pods. Doing a complete cache clean of pods. All to no avail unfortunately.

@mrchristopher124 Hmm, there seems to be something strange in your environment and/or HEADER_SEARCH_PATH for the FirebaseABTesting pod.  Are you able to reproduce the issue with a quickstart at https://github.com/firebase/quickstart-ios/tree/master/performance?  What version of CocoaPods?  pod --version

@paulb777 Thanks for the response. I am using version 1.9.3 of cocoapods. I can try with the quickstart. Let me give that a go and report back.

@paulb777 I was able to install the pods for that quickstart project and build and run it. Strange.
For our project's Podfile we have these firebase pods listed:
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'Firebase/Core'
pod 'Firebase/Performance'
Any additional thoughts?

Try searching the source of the .xcodeproj for FirebaseABTesting.  There may be something strange about it messing up the configuration.

@paulb777 I ended up doing a clean checkout of the repository and a fresh pod install and now everything is good. No idea! Thanks again for the help!


This document needs to mention which kind of admin access is needed to create the Alias

This document needs to mention which kind of admin access is needed to create the Alias. User Admin access is not sufficient and Global Admin access is needed to create an Alias. This page just links to the admin page which has no mention of an Alias. So user cannot the information they need on this page. I had to fetch for this information from a reddit link that you need global admin access to create an Alias.

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

ID: 94754a91-ac3b-9b1c-ded9-3fdab2dd229c
Version Independent ID: 517f9726-1861-8b1c-fe9d-6c50047e16d3
Content: Add another email alias for a user - Microsoft 365 admin
Content Source: microsoft-365/admin/email/add-another-email-alias-for-a-user.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@pinaki-intellify Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/6435
Thanks
Sri


Switch to Azurite as the local storage layer

This fixes an issue with volumes on Linux/MacOS that @adamsclafani reported.
It also makes the local development mode closer to production since we're now using the Azurite Azure Storage emulator instead of the file-system when running locally.

Codecov Report

Merging #139 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
+ Coverage   92.79%   92.87%   +0.07%
==========================================
  Files          23       23
  Lines         930      940      +10
==========================================
+ Hits          863      873      +10
  Misses         67       67

Impacted Files
Coverage Δ

opwen_email_server/utils/env.py
100% <100%> (ø)
:arrow_up:

opwen_email_server/config.py
96.15% <100%> (+1.15%)
:arrow_up:

opwen_email_server/services/storage.py
95.87% <100%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


How to enable query execution in sqllab for Anonymous user(public role) ?

Superset version: 0.38
Superset config:
AUTH_ROLE_PUBLIC='Public'
PUBLIC_ROLE_LIKE='Admin'
After superset init, all admin permissions are copied to Public role.
In Sqllab query execution does not work for Public role
ERROR: superset.views.core:Query2: 'AnonymousUserMixin' object has no attribute 'username'

Pls excuse me for image quality.
Query executes for admin user.
What need to be done to allow anonymous user to allow query execution in sqllab ?

@vikalpmullick A fix for this issue has been merged, but granting admin access to public users is obviously less than secure.


Affixes not displaying client side

Affixes show properly when entering a server for the first time  after starting the client.  If you exit the server and re-enter, however, all affixes will be invisible until restarting the client.

The affixes are just nbt data - if you are having issues with nbt data syncing somehow, then that might happen, but that's out of my scope.  This is not something I've been able to reproduce.


Hot Reload Support

Using the godot-zig-example project, I tried setting reloadable = true in the gdextension definition, but godot prints this error in the console:
ERROR: Extension marked as reloadable, but attempted to register class 'ExampleNode' which doesn't support reloading. Perhaps your language binding don't support it? Reloading disabled for this extension.
   at: _register_extension_class_internal (core/extension/gdextension.cpp:426)

Is it a limitation of the current binding or is there something missing in the ExampleNode class?

Yes, currently hot reload is not supported due to the limitation of Zig shared library generation, in which I dont find a way to disable STB_GNU_UNIQUE. (-fno-gnu-unique in GCC/LLVM)

At now reloading work, 4.3rc2 / 70e156b 2 months ago/ Zig 0.14.0-dev.620+eab934814


Polyfill volunteers?

I opened this Issue because:

I want to write both the polymorphic polyfill and the non-polymorphic polyfill (so everyone can test both alternatives)
I want to ask whether we should use ESM or IIFE format
Asking if there are more volunteers?
Should we make polyfills now, or do it after there's more consensus?

It's not appropriate to write a polyfill for a proposal prior to stage 2 or 3.

Fair enough. I'll wait then

Let’s close this for now and reopen if/when we reach Stage 2. Thanks for volunteering! 😃


NPM modele-social: no new version in 4 months

Hi mon-entreprise team!
I've noticed that there has not been a new version of the modele-social npm package in 4 months.
We were expecting a new version to benefit from the new July AE Rates (Ref: Issue & Pull Request).
I've read the GitHub Actions workflows that are supposed to deploy (Tests + Publish) but have not been able to pinpoint the exact reason why they are not being deployed.
It looks like wether the Publish workflow is never running on master, or that the dry-run condition of the publish step is never fulfilled
https://github.com/betagouv/mon-entreprise/blob/50279ecd33dd99cec5a59bba862db54a19182f58/.github/workflows/publish.yaml#L23
Please let me know if I can help, or if a new version is in progress. Thank you!

Sorry about that @jsmrcaga ! npm package has just been updated !
Here the changes between 2.1.0 and 2.3.0 :
2.3.0

Taux de cotisations auto-entrepreneurs pour 2024, 2025, 2026
Ajout de la formation professionnelle dans la répartition des cotisations auto-entrepreneurs
Seuil et plafond de cotisation de retraite complémentaire pour les artistes-auteurs
Différenciation droit commun vs autre convention collective
Mise à jour de liens de références

2.2.0

Distribution des cotisations auto-entrepreneurs
Corrections de liens morts dans les références

Thanks a lot @JalilArfaoui !! I'll update asap on my end


dom.js 404

I cloned and run npm install && npm start locally, the server run fine, but when I add a URL to load data, the page just refresh and not load anything.
See this in the console.

Can you sync with master and try again? Current master has some issues I'm working on (see the TODO file) so maybe it would be better to check out the latest release commit?

will do.


Updating centos7 ami (which has latest script update)

Updating centos7 ami which has latest nvidia driver
fix (https://github.com/awslabs/cfncluster-cookbook/pull/68/files) made by Brian
Signed-off-by: Mohan Gandhi<EMAIL_ADDRESS>

Ya update with PR id.


Removed deprecated API from tensorflow/python/ops/distributions

@alextp , can you re-approve the PR,
Regards
Amit

@alextp , sorry for the trouble, fixed the python indentation problem, can you please re-approve the PR.
Regards
Amit

@gbaned , can you pls help to get this PR merged.
Regards
Amit


Remove empty file :)

Coverage decreased (-50.5%) to 49.0% when pulling a70b1b2278c374c774ee6f419ffaca67910806b0 on delphaber:patch-1 into 6f35dbd8bc5ec3d1dc6cacd4208b6a3bc8ffd318 on cantierecreativo:master.

Coverage decreased (-50.5%) to 49.0% when pulling a70b1b2278c374c774ee6f419ffaca67910806b0 on delphaber:patch-1 into 6f35dbd8bc5ec3d1dc6cacd4208b6a3bc8ffd318 on cantierecreativo:master.


Missing key fast_dev_run

Traceback (most recent call last):
File "tools/train_net.py", line 313, in
args=(args,),
File "/home/ubuntu/detrex/detectron2/detectron2/engine/launch.py", line 82, in launch
main_func(*args)
File "tools/train_net.py", line 284, in main
if cfg.train.fast_dev_run.enabled:
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/dictconfig.py", line 354, in getattr
key=key, value=None, cause=e, type_override=ConfigAttributeError
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/base.py", line 196, in _format_and_raise
type_override=type_override,
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/_utils.py", line 821, in format_and_raise
_raise(ex, cause)
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/_utils.py", line 719, in _raise
raise ex.with_traceback(sys.exc_info()[2])  # set end OC_CAUSE=1 for full backtrace
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(key=key, default_value=DEFAULT_MARKER)
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/dictconfig.py", line 438, in _get_impl
node = self._get_node(key=key, throw_on_missing_key=True)
File "/home/ubuntu/miniconda3/envs/detrex/lib/python3.7/site-packages/omegaconf/dictconfig.py", line 470, in _get_node
raise ConfigKeyError(f"Missing key {key}")
omegaconf.errors.ConfigAttributeError: Missing key fast_dev_run
I just ran train_net.py for the first time and got this error, Im pretty sure I registered the dataset and the model correctly, what could be the issue here?

hello, I meet the same error, did you slove this?

I already forgot how I fixed it, but you should add  fast_dev_run= dict({"enabled":False}) in your train.py file

I already forgot how I fixed it, but you should add fast_dev_run= dict({"enabled":False}) in your train.py file
OK， thanks


Ambiguous alias exception should check database config

Describe the bug
dbt's raise_ambiguous_alias exception only takes into account a node's schema and alias when searching for collisions. It should also take into account a node's custom database.
Steps To Reproduce

Create two models with different file names and database configs, but the same schema and alias configs. E.g.:

{{
    config(
        materialized = 'table',
        database = 'analytics',
        schema = 'dbt_jcohen',
        alias = 'fct_sprints'
    )
}}

{{
    config(
        materialized = 'table',
        database = 'not_analytics',
        schema = 'dbt_jcohen',
        alias = 'fct_sprints'
    )
}}

Run dbt compile

Encountered an error:
Compilation Error
  dbt found two resources with the database representation "dbt_jcohen.fct_sprints".
  dbt cannot create two resources with identical database representations. To fix this,
  change the "schema" or "alias" configuration of one of these resources:
  - model.fishtown_internal_analytics.fct_sprintssss (models/marts/consulting/fct_sprintssss.sql)
  - model.fishtown_internal_analytics.fct_sprints (models/marts/consulting/fct_sprints.sql)

Expected behavior
dbt's raise_ambiguous_alias method should take into account custom databases to determine if two models have identical database representations.
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[x] snowflake
[ ] other (specify: ____________)

I have tested on Snowflake. I imagine it could be relevant on BigQuery as well.
The output of dbt --version:
installed version: 0.16.1
   latest version: 0.16.1

Up to date!

hey @drewbanin , i'd be happy to take this on as my first pr. looks like the change is needed here: https://github.com/fishtown-analytics/dbt/blob/5884f7df55f564764939adc736b33331d48aa4cd/core/dbt/parser/manifest.py#L381

Hey, sorry about this collision @jtalmi! I saw this message while I was in the process of writing the CHANGELOG.md entry and opening the PR, but we appreciate your interest!
The fix ended up being a bit more involved than we anticipated because want to support warehouses that don't necessarily have the concept of databases/schemas, so maybe it's for the best that you didn't have to digging around inside the Relations/adapters code in your first PR :)

ah fair enough! if you see a good starter issue out there, please let me know :)


Node.js Reading List?

Are there any great articles, books, blogs, etc. for writing secure Node.js software? If so, let us know and we'll add them to the list.

A blog article came out not so long ago
https://blog.risingstack.com/node-js-security-checklist/

Thanks for the recommendation. This is definitely valuable information worth sharing.
The only thing I dislike or would be concerned about is that the way the article is written fosters a checklist mentality, which leads to ineffective defenders.

Indeed, did you consider add a disclaimer/note about that matter?

I actually left a comment on the article itself, in case linking to it made it more popular and/or rank higher and people found the article without going through this list.

:+1:

I liked http://blog.websecurify.com/2014/08/hacking-nodejs-and-mongodb.html.


[Feature] Travel Calculator

Description
This calculator will calculate the distance and fuel cost for a road trip based on the distance to be traveled, the fuel efficiency of the vehicle, and the cost of fuel.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

I want to work on this project please assign this to me

Proceed @Tamilkumaran17


pkg/nar: extract nar-related features from pkg/helper

add support for query params in the narurl
parser query
wip
move the pkg out of the helper
fix the tests
fix all tests
remove everything query-related
revert fix for query in url
convert the func to be JoinURL

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#103
#102
#101
#100  👈 (View in Graphite)
#99
#98
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 12, 11:59 PM EST: A user started a stack merge that includes this pull request via Graphite.


TypeError: _detect_vcs() missing 2 required positional arguments: 'expected_vcs' and 'path'

I installed the stitch3d package using conda, following the provided instructions. However, when importing stitch3d, I am getting a TypeError. How can I troubleshoot this issue?

Hi there,
Thank you for your interest in our package. This error seems to arise from one of the package dependencies. Could you provide a complete error report so we can find the source of the issue? Besides using conda, you can also try pip install stitch3d for installation.
Best,
Gefei

Hi there,
Thank you for your interest in our package. This error seems to arise from one of the package dependencies. Could you provide a complete error report so we can find the source of the issue? Besides using conda, you can also try pip install stitch3d for installation.
Best, Gefei

Attached is the full error report. Upon inspection, it appears the issue may be caused by an incompatibility with the scanpy package.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data3/yangpp/soft/STitch3D/STitch3D/__init__.py", line 1, in <module>
    import STitch3D.utils
  File "/data3/yangpp/soft/STitch3D/STitch3D/utils.py", line 2, in <module>
    import scanpy as sc
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/scanpy/__init__.py", line 18, in <module>
    from . import datasets, logging, queries, external, get
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/scanpy/external/__init__.py", line 3, in <module>
    from . import pp
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/scanpy/external/pp/__init__.py", line 5, in <module>
    from ._magic import magic
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/scanpy/external/pp/_magic.py", line 7, in <module>
    from legacy_api_wrap import legacy_api
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/legacy_api_wrap.py", line 18, in <module>
    from get_version import get_version
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/get_version/__init__.py", line 287, in <module>
    __version__ = get_version(__file__)
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/get_version/__init__.py", line 270, in get_version
    version = method(parent)
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/get_version/__init__.py", line 117, in get_version_from_vcs
    vcs_root = find_vcs_root(parent, vcs=vcs)
  File "/data/anaconda3/envs/stitch3d/lib/python3.9/site-packages/get_version/__init__.py", line 148, in find_vcs_root
    vcs_e = _detect_vcs()
TypeError: _detect_vcs() missing 2 required positional arguments: 'expected_vcs' and 'path'

Hi there,
Thank you for your interest in our package. This error seems to arise from one of the package dependencies. Could you provide a complete error report so we can find the source of the issue? Besides using conda, you can also try pip install stitch3d for installation.
Best, Gefei

Installation via pip also produced errors. Therefore, I opted to use conda install instead.

May I know which version of scanpy you are using?

The scanpy version you installed has a conflict with other packages in your environment.
The error occurs when it tries to call from legacy_api_wrap import legacy_api in module scanpy/external/pp/_magic.py. This command has been deleted in an update for scanpy on June 29, 2021, so updating your scanpy to a newer version (e.g. 1.8.1 or later) might be helpful.

May I know which version of scanpy you are using?
The software dependencies list indicates the installed version of the scanpy package.

$pip show scanpy
Name: scanpy
Version: 1.7.2

The scanpy version you installed has a conflict with other packages in your environment.
The error occurs when it tries to call from legacy_api_wrap import legacy_api in module scanpy/external/pp/_magic.py. This command has been deleted in an update for scanpy on June 29, 2021, so updating your scanpy to a newer version (e.g. 1.8.1 or later) might be helpful.

Following your recommendations resolved the issue. Thank you very much for your assistance.
pip install scanpy==1.8.1 -i https://pypi.tuna.tsinghua.edu.cn/simple


Style fixes and usability improvements

This PR adds few ways to adjust LSUV initialization, cleans up the code without any change to core functionality:

Option to set verbosity of initialization
margin and max_iter are moved to options
PEP8 violations are fixed
Update Model call to Keras 2 API
Some style fixes like renaming variables

Thanks a lot for PR. I`ll review and merge it as soon, as install keras2


A Battery Widget v1.0

Nice - thanks! Just merging.
It seems it's not explicitly mentioned anywhere, but please could you have a go at making the IDs of new widgets start with wid... - it's what we've done with others and it just makes them nice and easy to find/identify.


Fix .webp imports by expanding webpack loader config

Hey, I just made a Pull Request!
fixes #27411
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

I haven't found tests for the bundler in the cli package. I tried this out locally by adding a webp image and importing it from home page of the example-app. If you think this could be useful I can commit that change as well.

Tnx for the quick review! I added support to the builder config as well.


4 projects did not load

Hello,
I followed the steps in the documentation. But, I had a solution which has 4 missing projects. The list are

Bigtree.Algorithm

BotSharp.Platform.Articulate

BotSharp.Platform.Dialogflow

NumSharp

Because of these projects could be loaded, the solution was also cannot be built.
Please help.

Bigtree.Algorithm
BotSharp.Platform.Articulate
BotSharp.Platform.Dialogflow
NumSharp


Update the Community page

Related issue

Proposed Changes

adds maintainers meeting
add links to CODEOWNERS and MAINTAINERS.md

Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

Thanks Chip, I have resolved all comments!


Envoy WASM filter proxy_http_call crashes Envoy when destination becomes 'no healthy upstream'

Bug description
For Envoy WASM filters, both NETWORK_FILTER and HTTP filters, on Istio 1.5.10, 1.6.13, and 1.9.0, proxy_http_call to an internal destination cluster crashes if the destination becomes 'no healthy upstream'.
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug

Install an EnvoyFilter (we install both L7 and L4 filters) and instruct it to make a proxy_http_call to an internal cluster using EDS.
While that call is outstanding, kubectl delete --force <all pods in the destination cluster>
crash! Below I include two crashes, one for 1.9.0 and one for 1.6.13 (with line numbers):

I.6.13 crash with line numbers:
 Caught Segmentation fault, suspect faulting address 0x148
 Backtrace (use tools/stack_decode.py to get line numbers):
 Envoy version: ef96e9c2f0b0d2a31e3a9426c4b339db0b33885f/1.14.5-dev/Clean/RELEASE/BoringSSL
 #0: __restore_rt [0x7f7acf0078a0]->[0x2976a56798a0] ??:0
 #1: Envoy::Http::AsyncRequestImpl::onComplete() [0x56042c40ea8f]->[0x2a80a8f] /usr/lib/llvm/bin/../include/c++/v1/memory:2590
 (inlined by) /usr/lib/llvm/bin/../include/c++/v1/memory:2547
 (inlined by) external/envoy/source/common/http/async_client_impl.cc:270
 #2: Envoy::Http::AsyncStreamImpl::encodeData() [0x56042c40e482]->[0x2a80482] external/envoy/source/common/http/async_client_impl.cc:193
 (inlined by) external/envoy/source/common/http/async_client_impl.cc:118
 #3: Envoy::Http::Utility::sendLocalReply() [0x56042c52d55e]->[0x2b9f55e] bazel-out/k8-opt/bin/external/envoy/source/common/buffer/_virtual_includes/buffer_lib/common/buffer/buffer_impl.h:523
 (inlined by) external/envoy/source/common/http/utility.cc:469
 #4: Envoy::Http::AsyncStreamImpl::sendLocalReply() [0x56042c40f735]->[0x2a81735] /usr/lib/llvm/bin/../include/c++/v1/functional:1818
 (inlined by) /usr/lib/llvm/bin/../include/c++/v1/functional:2406
 (inlined by) bazel-out/k8-opt/bin/external/envoy/source/common/http/_virtual_includes/async_client_lib/common/http/async_client_impl.h:352
 #5: Envoy::Router::Filter::sendNoHealthyUpstreamResponse() [0x56042c41774a]->[0x2a8974a] /usr/lib/llvm/bin/../include/c++/v1/functional:1818
 (inlined by) /usr/lib/llvm/bin/../include/c++/v1/functional:2406
 (inlined by) external/envoy/source/common/router/router.cc:664
 #6: Envoy::Router::Filter::decodeHeaders() [0x56042c415c5c]->[0x2a87c5c] external/envoy/source/common/router/router.cc:550
 #7: Envoy::Http::AsyncStreamImpl::sendHeaders() [0x56042c40e807]->[0x2a80807] external/envoy/source/common/http/async_client_impl.cc:186
 (inlined by) external/envoy/source/common/http/async_client_impl.cc:142
 #8: Envoy::Http::AsyncRequestImpl::initialize() [0x56042c40d7a7]->[0x2a7f7a7] /usr/lib/llvm/bin/../include/c++/v1/memory:2562
 (inlined by) external/envoy/source/common/http/async_client_impl.cc:257
 #9: Envoy::Http::AsyncClientImpl::send() [0x56042c40d20b]->[0x2a7f20b] external/envoy/source/common/http/async_client_impl.cc:59
 #10: Envoy::Extensions::Common::Wasm::Context::httpCall() [0x56042b463142]->[0x1ad5142] external/envoy/source/extensions/common/wasm/context.cc:898
 #11: Envoy::Extensions::Common::Wasm::Exports::http_call() [0x56042b47b0d5]->[0x1aed0d5] external/envoy/source/extensions/common/wasm/exports.cc:561
 #12: Envoy::Extensions::Common::Wasm::ConvertFunctionWordToUint32<>::convertFunctionWordToUint32() [0x56042b486f96]->[0x1af8f96] bazel-out/k8-opt/bin/external/envoy/source/extensions/common/wasm/_virtual_includes/wasm_vm_interface/extensions/common/wasm/wasm_vm.h:55
 #13: Envoy::Extensions::Common::Wasm::V8::V8::registerHostFunctionImpl<>()::{lambda()#1}::operator()() [0x56042b4b1ca2]->[0x1b23ca2] external/envoy/source/extensions/common/wasm/v8/v8.cc:599
 #14: Envoy::Extensions::Common::Wasm::V8::V8::registerHostFunctionImpl<>()::{lambda()#1}::__invoke() [0x56042b4b1b47]->[0x1b23b47] external/envoy/source/extensions/common/wasm/v8/v8.cc:592
 #15: wasm::FuncData::v8_callback() [0x56042b4bd43f]->[0x1b2f43f] ??:?
 #16: [0x193de1441167]
 #17: [0x193de144d185]
 #18: [0x193de144cd86]
 #19: [0x193de1449c6e]
 #20: [0x193de1449b78]
 #21: [0x193de1449a7c]
 #22: [0x193de14424b9]
 #23: [0x21c1000848f0]
 #24: v8::internal::Execution::CallWasm() [0x56042b595f13]->[0x1c07f13] ??:?
 #25: wasm::Func::call() [0x56042b4bc7a3]->[0x1b2e7a3] ??:?
 #26: Envoy::Extensions::Common::Wasm::V8::V8::getModuleFunctionImpl<>()::{lambda()#1}::operator()() [0x56042b4a2fb1]->[0x1b14fb1] /usr/lib/llvm/bin/../include/c++/v1/memory:2578
 (inlined by) external/envoy/source/extensions/common/wasm/v8/v8.cc:658
 #27: Envoy::Extensions::Common::Wasm::Context::onDone() [0x56042b468582]->[0x1ada582] external/envoy/source/extensions/common/wasm/context.cc:1647
 #28: Envoy::Http::ConnectionManagerImpl::doDeferredStreamDestroy() [0x56042c47bf6e]->[0x2aedf6e] external/envoy/source/common/http/conn_manager_impl.cc:?
 #29: Envoy::Http::ConnectionManagerImpl::doEndStream() [0x56042c47bc38]->[0x2aedc38] external/envoy/source/common/http/conn_manager_impl.cc:184
 (inlined by) external/envoy/source/common/http/conn_manager_impl.cc:220
 #30: Envoy::Http::ConnectionManagerImpl::ActiveStream::encodeDataInternal() [0x56042c485e25]->[0x2af7e25] external/envoy/source/common/http/conn_manager_impl.cc:1862
 #31: Envoy::Http::ConnectionManagerImpl::ActiveStream::encodeData() [0x56042c485c57]->[0x2af7c57] external/envoy/source/common/http/conn_manager_impl.cc:1843
 #32: Envoy::Router::UpstreamRequest::decodeData() [0x56042c420bbe]->[0x2a92bbe] bazel-out/k8-opt/bin/external/envoy/source/common/common/_virtual_includes/scope_tracker/common/common/scope_tracker.h:20
 (inlined by) external/envoy/source/common/router/upstream_request.cc:134
 #33: Envoy::Http::ResponseDecoderWrapper::decodeData() [0x56042c38d3db]->[0x29ff3db] bazel-out/k8-opt/bin/external/envoy/source/common/http/_virtual_includes/codec_wrappers_lib/common/http/codec_wrappers.h:37
 #34: Envoy::Http::ResponseDecoderWrapper::decodeData() [0x56042c38d3db]->[0x29ff3db] bazel-out/k8-opt/bin/external/envoy/source/common/http/_virtual_includes/codec_wrappers_lib/common/http/codec_wrappers.h:37
 #35: Envoy::Http::Http1::ClientConnectionImpl::onMessageComplete() [0x56042c4961b1]->[0x2b081b1] bazel-out/k8-opt/bin/external/envoy/source/common/buffer/_virtual_includes/buffer_lib/common/buffer/buffer_impl.h:523
 (inlined by) external/envoy/source/common/http/http1/codec_impl.cc:1079
 #36: Envoy::Http::Http1::ConnectionImpl::onMessageCompleteBase() [0x56042c4937bb]->[0x2b057bb] external/envoy/source/common/http/http1/codec_impl.cc:684
 #37: Envoy::Http::Http1::ConnectionImpl::$_8::__invoke() [0x56042c497f2d]->[0x2b09f2d] external/envoy/source/common/http/http1/codec_impl.cc:393
 #38: http_parser_execute [0x56042c6623ac]->[0x2cd43ac] ??:?
 #39: Envoy::Http::Http1::ConnectionImpl::dispatchSlice() [0x56042c492aea]->[0x2b04aea] external/envoy/source/common/http/http1/codec_impl.cc:527
 #40: Envoy::Http::Http1::ConnectionImpl::dispatch() [0x56042c49285f]->[0x2b0485f] external/envoy/source/common/http/http1/codec_impl.cc:503
 #41: Envoy::Http::CodecClient::onData() [0x56042c3fd048]->[0x2a6f048] external/envoy/source/common/http/codec_client.cc:143
 #42: Envoy::Http::CodecClient::CodecReadFilter::onData() [0x56042c3fdd9d]->[0x2a6fd9d] bazel-out/k8-opt/bin/external/envoy/source/common/http/_virtual_includes/codec_client_lib/common/http/codec_client.h:177
 #43: Envoy::Network::FilterManagerImpl::onContinueReading() [0x56042c21cc13]->[0x288ec13] external/envoy/source/common/network/filter_manager_impl.cc:67
 #44: Envoy::Network::ConnectionImpl::onReadReady() [0x56042c218d55]->[0x288ad55] external/envoy/source/common/network/connection_impl.cc:554
 #45: Envoy::Network::ConnectionImpl::onFileEvent() [0x56042c2180ad]->[0x288a0ad] external/envoy/source/common/network/connection_impl.cc:526
 #46: Envoy::Event::FileEventImpl::assignEvents()::$_0::__invoke() [0x56042c2130d6]->[0x28850d6] external/envoy/source/common/event/file_event_impl.cc:50
 #47: event_process_active_single_queue [0x56042c65bfcb]->[0x2ccdfcb] event.c:?
 #48: event_base_loop [0x56042c65a85e]->[0x2ccc85e] ??:?
 #49: Envoy::Server::WorkerImpl::threadRoutine() [0x56042c206f14]->[0x2878f14] bazel-out/k8-opt/bin/external/envoy/source/common/common/_virtual_includes/minimal_logger_lib/common/common/logger.h:278
 (inlined by) external/envoy/source/server/worker_impl.cc:122

And an Istio 1.9.0 crash:
Caught Segmentation fault, suspect faulting address 0x60
Backtrace (use tools/stack_decode.py to get line numbers):
Envoy version: 298ff36b2d43794816f7d8cdc5461bf6eed71bba/1.17.0/Clean/RELEASE/BoringSSL
#0: __restore_rt [0x7f60fe64d980]
#1: Envoy::Http::AsyncRequestImpl::onComplete() [0x5577653b6879]
#2: Envoy::Http::AsyncStreamImpl::encodeData() [0x5577653b6170]
#3: Envoy::Http::Utility::sendLocalReply() [0x55776549f748]
#4: Envoy::Http::AsyncStreamImpl::sendLocalReply() [0x5577653b7db2]
#5: Envoy::Router::Filter::sendNoHealthyUpstreamResponse() [0x5577653dac6e]
#6: Envoy::Router::Filter::decodeHeaders() [0x5577653d8ac1]
#7: Envoy::Http::AsyncStreamImpl::sendHeaders() [0x5577653b65c6]
#8: Envoy::Http::AsyncRequestImpl::initialize() [0x5577653b51ef]
#9: Envoy::Http::AsyncClientImpl::send() [0x5577653b4c4b]
#10: Envoy::Extensions::Common::Wasm::Context::httpCall() [0x5577640e7221]
#11: proxy_wasm::exports::http_call() [0x5577644653bb]
#12: proxy_wasm::ConvertFunctionWordToUint32<>::convertFunctionWordToUint32() [0x55776446f7f6]
#13: proxy_wasm::(anonymous namespace)::V8::registerHostFunctionImpl<>()::{lambda()#1}::__invoke() [0x55776445c8ef]
#14: wasm::FuncData::v8_callback() [0x55776447dd2f]
#15: [0xaaad82d64d6]
#16: [0xaaad82b7ce5]
#17: [0xaaad82b78cf]
#18: [0xaaad82b45ce]
#19: [0xaaad82b44d8]
#20: [0xaaad82b43dc]
#21: [0xaaad82acb96]
#22: [0x364000086570]
#23: v8::internal::Execution::CallWasm() [0x557764570939]
#24: wasm::Func::call() [0x55776447d085]
#25: std::__1::__function::__func<>::operator()() [0x5577644541c3]
#26: proxy_wasm::ContextBase::onDone() [0x5577644618f8]
#27: Envoy::Extensions::Common::Wasm::Context::onDestroy() [0x5577640ebdad]
#28: Envoy::Http::ConnectionManagerImpl::doDeferredStreamDestroy() [0x55776533b5ae]
#29: Envoy::Http::ConnectionManagerImpl::ActiveStream::onResetStream() [0x5577653452d7]
#30: Envoy::Http::ConnectionManagerImpl::resetAllStreams() [0x55776533d6b2]
#31: Envoy::Http::ConnectionManagerImpl::doConnectionClose() [0x55776533af24]
#32: Envoy::Network::ConnectionImplBase::raiseConnectionEvent() [0x557765046c7b]
#33: Envoy::Network::ConnectionImpl::raiseEvent() [0x55776503daef]
#34: Envoy::Network::ConnectionImpl::closeSocket() [0x55776503d78b]
#35: Envoy::Network::ConnectionImpl::onFileEvent() [0x55776504026c]
#36: std::__1::__function::__func<>::operator()() [0x5577650348c1]
#37: Envoy::Event::FileEventImpl::assignEvents()::$_1::__invoke() [0x5577650356cc]
#38: event_process_active_single_queue [0x5577654c5d0b]
#39: event_base_loop [0x5577654c466e]
#40: Envoy::Server::WorkerImpl::threadRoutine() [0x557765025473]
#41: Envoy::Thread::ThreadImplPosix::ThreadImplPosix()::{lambda()#1}::__invoke() [0x5577656ab663]
#42: start_thread [0x7f60fe6426db]
2021-03-03T05:07:13.223457Z	error	Epoch 0 exited with error: signal: segmentation fault
2021-03-03T05:07:13.223476Z	info	No more active epochs, terminating

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
client version: 1.9.0
control plane version: 1.9.0
data plane version: 1.9.0

Client Version: v1.19.3
Server Version: v1.18.9-eks-d1db3c

How was Istio installed?
istioctl
Environment where the bug was observed (cloud vendor, OS, etc)
AWS EKS k8s 1.18
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

Is there any chance that you could provide a minimum code snippet to reproduce this?

A sketch of how to reproduce this is https://github.com/chandlernine/proxy-runtime/pull/1/files

You returned true in ondone: https://github.com/chandlernine/proxy-runtime/pull/1/files#diff-50ad1f311e4dad222656d7e89383a67edb9ee3ff1a531450efd73ce44545f964R53, which indicates that the Auth context is safe to be destroyed. You should return false instead, and call proxy_done inside http finishing callbacks.

You can find a similar example here, where a grpc call is made in ondone https://github.com/istio-ecosystem/wasm-extensions/blob/32096c8f6bb8f3c3d0702f997910186b68d9e649/extensions/grpc_logging/plugin.cc#L86 and then proxy done is called in grpc callbacks: https://github.com/istio-ecosystem/wasm-extensions/blob/32096c8f6bb8f3c3d0702f997910186b68d9e649/extensions/grpc_logging/plugin.cc#L63

I am returning true in onDone of a non-root context because my http call is made on a root context. Why does my non-root context need to persist?

I dont know much about rust API, but I saw that this is passed in to the httpCall, so are you sure the stream context is not used in any way?

In assemblyscript, that context (callback.origin_context) is indeed used later in ways that would be disastrous if the non-root context had been reclaimed:
  onHttpCallResponse(token: u32, headers: u32, body_size: u32, trailers: u32): void {
      log(LogLevelValues.debug, "onHttpCallResponse: calling callback for context id: " + callback.origin_context.context_id.toString());
      callback.cb(callback.origin_context, headers, body_size, trailers);

My crashes do not seem to call proxy_on_http_call_response, though. Before that can happen, some pointer related to the root context or an HTTP call from it is invalid.
But I bet you've solved my problem, so let me go try using proxy_done and returning false from onDone(). I'll reopen if I can still reproduce the crash.

I changed proxy_on_done to return false instead of true, but on both Istio 1.6.13 and 1.9.0 it resulted in exactly the same backtraces. The C++ code ignores the return value from a non-root context; some documentation states that the WASM must return 'Done' for a non-root context, which matches that code.
So the only interesting 'return false' is for a root context, and I think it had no effect because the VM is not shutting down and therefore proxy_on_done is not called on any root context.

Could you provide c++ code? It will be more understandable for me :)

For Istio 1.6.13:
// For stream Contexts, onDone always returns true.
bool onDoneBase() override {
  onDone();
  return true;
}
....
/**
 * For stream contexts, called when the stream has completed. Note: if applicable proxy_on_log() is
 * called after proxy_on_done() and before proxy_on_delete(). For root contexts, proxy_on_done() is
 * called when the VM is going to shutdown.
 * @param context_id is an identifier the context.
 * @return non-zero to indicate that this context is done. Stream contexts must return non-zero.
 * Root contexts may return zero to defer the VM shutdown and the proxy_on_delete call until after a
 * future proxy_done() call by the root context.
 */
enum class WasmOnDoneResult : uint32_t {
  Done = 0,
  NotDone = 1,
}
extern "C" WasmOnDoneResult proxy_on_done(uint32_t context_id);

I mean could you provide your C++ code that causes crash? Or you are saying you are just reading the C++ sdk code and not writing your plugin with C++?
If ondone aways return true, which means it won't handle asynchronous calls, you probably should not pass in this in the http call. I guess that is used as context to execute http callbacks. You probably want to pass in this.root_context instead. Again I know nothing about asmjs sdk, so take my words with grain of salt. And you will probably get better support by opening an issue at solo's repo.

This is fixed in https://github.com/envoyproxy/envoy/pull/15311 (pending merge upstream).

Thank you both!
Given that the fix also solves https://github.com/envoyproxy/envoy/issues/14878, I'm curious if I could work around this issue by switching the internal cluster from EDS to something else?
(For the record, the code I provided is istio-proxy's Envoy, not a WASM SDK. In 1.9.0 it would be proxy-wasm-cpp-host, in part; in 1.6.13 it was all in github.com/istio/envoy.)


[Question] window not detected after yabai  launched

I've managed to integrate zathura with osx so window manager like moom can recognize the window... however, yabai won't recognize the window when zathura is launched after yabai .. yabai will recognize it if yabai launched after zathura.. Anyone know why it's happened?

when yabai launched after zathura it will have log like this
EVENT_HANDLER_APPLICATION_ACTIVATED: zathura

but when zathura launched after yabai, there is no log like above

Zathura probably fail this check: https://github.com/koekeishiya/yabai/blob/master/src/process_manager.c#L57
To verify, quit yabai, quit zathura. Run yabai with debug output: yabai --verbose and launch zathura.

See my comment here https://github.com/koekeishiya/yabai/issues/439#issuecomment-597716114 for information regarding the different process-types that we check for.

To verify, quit yabai, quit zathura. Run yabai with debug output: yabai --verbose and launch zathura.

When I launch zathura after yabai (with --verbose), it won't log anything about zathura

See my comment here #439 (comment) for information regarding the different process-types that we check for.

Thanks, I'll check it out

Oh, zathura actually marked as background process
process_is_observable: zathura was marked as background only! ignoring..

@koekeishiya do you have any advice how to avoid for zathura to being marked as background only process? Sorry, I have very litle knowledge about macOS development

I believe you need to somehow set the activation policy to * NSApplicationActivationPolicyRegular*

If the project is written in C or something that can call out to C, you can call the following function during/at the end of startup:
ProcessSerialNumber psn = { 0, kCurrentProcess };
TransformProcessType(&psn, kProcessTransformToForegroundApplication);

# TransformProcessType is exported by the ApplicationServices framework

With the changes made to the latest yabai master, it will then be able to detect that change and properly manage it.

Note that the latest yabai master might even be able to pick this up now, without having to make further changes to Zathura.
Oh, I nice.. I tried and it works now .. thanks a lot

Fixed in the latest release.

Does not work for me, unfortunately. I'm on zathura 0.4.6 and yabai 3.2.1 on OSX 10.15.5. @drselump14  did you have to make any further changes to zathura?
Thanks in advance.
log when starting zathura while running yabai in verbose:
thread: 55398400 | EVENT_HANDLER_APPLICATION_LAUNCHED: zathura (97549) is not observable, subscribing to activationPolicy changes
thread: 49241536 | -[workspace_context observeValueForKeyPath:ofObject:change:context:]: activation policy changed for zathura (97549)
thread: 55398400 | EVENT_HANDLER_APPLICATION_LAUNCHED: zathura (97549) is not finished launching, subscribing to finishedLaunching changes
thread: 49241536 | -[workspace_context observeValueForKeyPath:ofObject:change:context:]: zathura (97549) finished launching
thread: 55398400 | EVENT_HANDLER_APPLICATION_LAUNCHED: could not observe notifications for zathura (97549) (ax_retry = 1)
thread: 55398400 | EVENT_HANDLER_APPLICATION_LAUNCHED: could not observe notifications for zathura (97549) (ax_retry = 1)
thread: 55398400 | EVENT_HANDLER_APPLICATION_LAUNCHED: could not observe notifications for zathura (97549) (ax_retry = 1)

I would also be intersted in how you made zathura work.


Rename minPoWScore to minPowScore

@muXxer @alexsporn The later is probably the correct camelCase format of the field.
https://github.com/iotaledger/inx/blob/87419e742c270e227028f97141b03cbc02c54aa2/proto/inx.proto#L63
The current version leads to the following generated Rust code in snake case:
self.min_po_w_score

It is called Proof of work (PoW) (see https://en.wikipedia.org/wiki/Proof_of_work)
Can we add a hint to the Rust generator on how to name that?

According to the style guide the field names should be in snake_case
https://developers.google.com/protocol-buffers/docs/style
Let me experiment

I added a Draft PR with this changes. Also note the prefixing of the enum values.


Add ImportDefaultsChange v1.0.0 and VRLogixRotateFix v1.0.1

[x] Follow the schema. An automated check will validate this PR against the schema.
[x] Indent using four spaces. An automated check will validate this PR indents properly.
[x] Your NeosMod.Version should match the version in the manifest.
[x] You should not monopack libraries into your mod DLL.
[x] Do not remove old versions.
[x] Do not remove old mods. Instead, use the deprecated flag.
[x] Indicate platform incompatibilities using the appropriate flag (for example broken:linux-native)
[x] Follow the privacy and security guidelines
[x] In order to reduce merge conflicts avoid adding mods at the very end of the file.

ye the DUMMY_SEP just adds some separation in the settings as well as headers
For the Assembly Company i'll add it but i don't think it would require a full release?

yep, just a non blocking note.


 Please describe.
The current solution is to bind varConf with Cluster, but if I have multiple operations on the cluster (such as installation/expansion/contraction), these operations may directly need to modify varConf, but varConf has only one on each cluster. That is to say, the original value of varConf will be overrided.
5 Describe the solution you'd like
Therefore, after the above discussion, it should bind varConf with ClusterOperation, each ClusterOperation own a varConf.
6 Describe alternatives you've considered
7 Additional context

/kind feature


Create a palette variation for red-green colorblind users

I'm red-green colorblind (protanopia), and I found it impossible to differentiate between "cyan" and "base0" -- i.e., in Emacs, the color used for strings was indistinguishable from normal text.
I found that increasing the blue aspect of "cyan" helped greatly -- see my fork's commit here: https://github.com/flavorjones/emacs-color-theme-solarized/commit/7c7b5aaab96765ffb269c7d98bd1e275baa353ef
But in general, I'm wondering if there's been any effort made to create variations of solarized for various colorblind users. I'd certainly be willing to assist by representing protanopes.
The science of colorblindness is relatively well understood (see http://dankaminsky.com/2010/12/15/dankam/ for the calculations behind the DanKam), so I'd love to see what can be done to make solarized more useful for colorblind people.

I have made a variant that works for my particular colourblindness and makes each of the colours distinct, although it probably destroys the aim of the original solarized palette.

So, Emacs on OS X has now had sRGB support for two years, and my Solarized for Emacs has been using it for all of that time. If there are still issues with indistinguishable colors for colorblind users, I would be happy to hear about them on the sellout/emacs-color-theme-solarized repo. However, that should really only be for issues where you see the Emacs colors differ from the Vim ones.
If the problem also exists on Vim, @altercation sounds like he is happy to address it, and that’ll trickle down to Emacs afterward.
But it seems like perhaps this particular issue is resolved with the no-longer-new support of sRGB in Emacs.


libwpe: 1.12.3 -> 1.14.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libwpe/versions.
meta.description for libwpe is: "General-purpose library for WPE WebKit"
meta.homepage for libwpe is: "https://wpewebkit.org"
meta.changelog for libwpe is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.14.0 with grep in /nix/store/77gqz9x54qhxqhyjcr6dvp2gxn6y0wdg-libwpe-1.14.0
found 1.14.0 in filename of file in /nix/store/77gqz9x54qhxqhyjcr6dvp2gxn6y0wdg-libwpe-1.14.0

Rebuild report (if merged into master) (click to expand)

236 total rebuild path(s)

236 package rebuild(s)

First fifty rebuilds by attrpath
ChowKick
adapta-gtk-theme
alfis
almanah
apostrophe
astroid
aws-workspaces
balsa
bespokesynth
bespokesynth-with-vst2
birdfont
bookworm
bottles
bubblemail
calls
cambalache
cargo-tauri
chatty
chrome-gnome-shell
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
cinnamon.pix
cinnamon.xreader
cinny-desktop
citrix_workspace
citrix_workspace_21_01_0
citrix_workspace_21_03_0
citrix_workspace_21_06_0
citrix_workspace_21_08_0
citrix_workspace_21_09_0
citrix_workspace_21_12_0
citrix_workspace_22_05_0
citrix_workspace_22_07_0
claws-mail
cog
dbeaver
dropbox-cli
eclipse-mat
eclipses.eclipse-committers
eclipses.eclipse-cpp
eclipses.eclipse-java
eclipses.eclipse-jee
eclipses.eclipse-modeling
eclipses.eclipse-platform
eclipses.eclipse-rcp
eclipses.eclipse-scala-sdk
eclipses.eclipse-sdk
eiciel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/77gqz9x54qhxqhyjcr6dvp2gxn6y0wdg-libwpe-1.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libwpe https://github.com/r-ryantm/nixpkgs/archive/5e61787194094ef493a241de4f1fb29a00573200.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/77gqz9x54qhxqhyjcr6dvp2gxn6y0wdg-libwpe-1.14.0
ls -la /nix/store/77gqz9x54qhxqhyjcr6dvp2gxn6y0wdg-libwpe-1.14.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @bobby285271 @hedning @jtojnar @dasj19 @maxeaubrey @matthewbauer for testing.

Moved into #182618


Add directive for responsibility

I created directive which is applied to some element (I think best is body). This directive broadcast window resize event and d3-cloud directive listens to this broadcasts. So when window resizes updateCloud method is called and cloud updates. What do you think about it? Is it OK or should I do something better?

I removed directive, because it's overkill. What do you think about it now?

Thanks for taking the effort, looks pretty good actually. Can you just add a $scope on $destroy event to disable the resize listener? Something like:
scope.$on('$destroy', function {
  angular.element($window).off('resize', onResize);
});

Is it OK now?

Looks great, thnx!
I'd like to run a quick test before I merge. I'm a little swamped with other work though..

Ok doesn't matter.

How is it going?

Great timing, I was looking at it just now.. :)

I noticed my gh-pages were running with angular 1.3, which does not support optional bindings as it turns out. Because of that the default filter didn't kick in, and I ended up with no items to show. The angular dependency should be raised to ^1.4.4 in bower.json.
I also noticed that the svg element on gh-pages was getting height="0". I added setting width and height attribs on that element in the update function of the directive to fix that. With that I think the svg width 100% would be redundant.
I'm also thinking that the update and draw function of the directive should be merged together, just not entirely sure how..
Last thing I noticed was that you were using binary operators in if (!updateflag & items[i].name !== oldValue[i].name & items[i].score !== oldValue[i].score) {. Overlooked that last time. Could you replace that with: if (!updateflag && (items[i].name !== oldValue[i].name) && (items[i].score !== oldValue[i].score)) {?

With svg width set to 100% X scrollbar won't appear. But without that style X scrollbar will appear but wordcloud will update. So should I really remove setting svg width to 100%?

I think having update and draw method split is better than one long method.

Is it better now?

How is it going?

Holiday season. I'll get back to you today or tomorrow..

Looking better! Maybe the svg width isn't an issue, but to be sure, did you look into this as well?

I also noticed that the svg element on gh-pages was getting height="0". I added setting width and height attribs on that element in the update function of the directive to fix that.

I think I just copied over these two lines into the update function, perhaps that solves scrollbar issues as well? Or maybe we should specify overflow with either visible or hidden?
https://github.com/grtjn/d3-cloud-ng/blob/master/src/d3-cloud.directive.js#L203

I see!

Do you is it better?

Sorry for taking so long to come back to this, but was rather occupied with other work.
I decided to merge your work manually, and clean up the code base at the same time. I appreciate your work, it was very helpful.
I'm still a bit unsure about the need for the width 100% stuff, so I have left that out. Instead, the resize listener will change the svg size based on the container. If that still needs attention, could you create a jsfiddle that shows accurate what goes wrong?
Closing this PR..

FYI, I just published release 0.9.9..


Specify custom images for compute nodes?

Looking at the latest version on master, it's no longer clear how to specify images for the compute nodes?
I'm looking to use GPU nodes. Since the management node and GPU nodes will need to use different images, I need to be able to specify a custom image for the GPU nodes.

We no longer allow arbitrary choice of image for the system as it makes it almost impossible to ensure that things are configured as we need. To this end, we use a fixed release of Oracle Linux on OCI clusters.
However, we still select a GPU image for GPU nodes. This is performed automatically in the start node process.
If this is not working correctly for you and you are not seeing the image selected as you need, please let us know.

ok that makes sense.
This may be a naive question, but what's the best way to install software and its dependencies onto the shared file system? Do users have it all added to their relevant paths automatically?
Specifically, I'm going to be adding a precompiled installation of an MD package to the shared file system, and need to ensure any dependencies are also available on all nodes.
I was thinking the easiest thing to do would be to have images with those dependencies installed via yum. Given that's not an option, what's the easiest way to do it?

We're currently working on a better system of allowing users to build their entire software stack using a tool like EasyBuild, but in the mean time I will add a feature which at least installs Lmod and points it at a directory in the shared filesystem so that compute nodes can access it.
If you could update your local checkout of the oci-cluster-terraform repo as we've just pushed a new version, 3, which is where these new features will be added.
I recommend putting all the dependencies you need on the shared filesystem and creating a module file which sets the paths accordingly.
I will update this issue once I've added in the Lmod install.

There's a PR in for Lmod support at ACRC/slurm-ansible-playbook#37. Once that's merged, you'll be able to use module files placed in /mnt/shares/modules/all from all nodes on your cluster.

I've now merged this in so if you create a new cluster it will come with Lmod installed so that you can put *.lua module files in /mnt/share/manual_modules/ as seen in the Lmod docs.

This is in a working state for a while now. Also, we now build custom images which can be configured as described at https://cluster-in-the-cloud.readthedocs.io/en/latest/running.html#configuring-node-images


Jakarta Support

This change updates the project to support both the javax and jakarta namespaces for JEE projects.  It does this by creating two separate Maven projects, one for each, which are then shaded into a single JAR used by everyone.  The contents of META-INF/services and META-INF/spring.factories route to the correct implementation preventing class loading problems.

Nudge @anthonydahanne.


”HÂRLĂU”, ”Pârcovaci” are listed in the drop-down menu

Description:
When user writes ”HÂRLĂU”, ”Pârcovaci” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "HÂRLĂU"

Expected results
The location appears in the drop-down menu as "Oraș HÂRLĂU, IAȘI (HÂRLĂU)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Pârcovaci"

Expected results
The location appears in the drop-down menu as "Sat Pârcovaci, IAȘI (HÂRLĂU)".


The newest update isn't working

Describe the bug
It's saying that it "needs restart" constantly, won't load. The log is spitting out memory function allocation errors when trying to load ToyBox at startup.
It appears game update 2.1.2d is incompatible
Version Info:
1.4.24
Additional context
Add any other context about the problem here.

If you join the Discord, there's a pinned version in #mod-user-general with changes for the new update


Modify request headers

Hi,
I would like to modify request headers in one of my middleware steps. Example:
  const newHeaders = new Headers(request.headers);
  newHeaders.set("X-Super-header", isSuper);

  const modifiedRequest = new Request(request.url, {
    body: request.body,
    headers: request.headers,
    method: request.method,
    redirect: request.redirect
  })

  request = modifiedRequest

I know if I make a return it has to be Response but when reassigning the var request, it's not being changed.

Hey @js0cha - you're basically trying to do something illegal in JavaScript. You can't reassigned a locally scoped variable and affect anything other than the local scope. For example:
function noMutation(a) {
  a = "replaced" // this does nothing aside from replace the locally-scoped reference to a

  console.log(a) // "replaced"... so it worked, right?
}

// let's create a variable
let m = "foo"

// now let's send it to a function like the request in itty
noMutation(m)

console.log(m) // still "foo", because that statement above only affected the local function scope

If you want to modify headers via middleware, you need to mutate the request, not replace it. Example:
const middleware = request => {
  request.headers.set('X-Super-header', true) // we just mutate a property on the existing request
}

Hope this helps!

Yes, i get it. But Cloudflare do not allow us to modify request headers like you proposed = TypeError: can't modify immutable headers

Ah yes gotcha... so in that case, you were so close!
If you need to pass a reformed request onto downstream handlers, just re-embed the new request INTO the existing one (anywhere):
const middleware = request => {
  const newRequest = new Request() // etc etc
  request.newRequest = newRequest
}

const downstream = ({ newRequest }) => {
  // tada!
}

Otherwise, in the scenario you want to just exit with the Request itself (itty has no requirements for WHAT you return, making it universally applicable), just return that new Request directly.  Just make sure (with CF) that something in your request/response handlers you DO return something or you'll crash obv.
const middleware = request => {
  const newRequest = new Request() // etc etc
  return newRequest
}

// assuming your routes are in place

const maybeARequest = await router.handle(request) // might now return your Request


Add missing ts-jest dependency

Couldn't run tests locally without this

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #6   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          22     22
  Branches        2      2
=====================================
  Hits           22     22

Continue to review full report at Codecov.

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

Thanks!


issues: add a test flake template

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

honestly I have no idea how to test this, but I'm sick of taking 4 clicks to file each flake bug :-P


Process for inserting ajax data into the grid

Good morning.
How would you about inserting data on the server via ajax and updating the react model?
I have a simple table
<BootstrapTable data = {this.state.data }
                    insertRow={true}
                    deleteRow={true}
                    options={this.tableOptions}
                    selectRow={selectRowProp}
                    pagination = {true}
                    hover={true}
                    condensed={true}
                    //columnFilter = {true}
                    search = {true}
                    striped = {true}
                    ref ="childTable">
                    <TableHeaderColumn
                        dataField = "id"
                        isKey = {true}
                        autoValue={true}
                        hidden ={true}>Id</TableHeaderColumn>
                    <TableHeaderColumn
                        dataField = "name"
                        >Drug</TableHeaderColumn>
                    <TableHeaderColumn
                        dataField = "pharmacy"  >Specialty Pharmacy</TableHeaderColumn>
                </BootstrapTable>

and the rest is
tableOptions = {
           afterDeleteRow: this.deleteDataFromServer.bind(this),
           afterInsertRow: this.updateDataOnServer.bind(this),
           handleConfirmDeleteRow: this.handleConfirmDeleteRow
       }
handleConfirmDeleteRow(removeFunctionCallBack:()=>any) {
           removeFunctionCallBack(); // this is in order to remove the confirmation dialog.
       }

on Delete I update the server with
        deleteDataFromServer(keys: number[]) {
            for (let f in keys) {
                if (keys.hasOwnProperty(f)) {
                    let urlToUse = this.url + "/delete/" + keys[f];
                    console.log(urlToUse);
                    $.ajax({
                        url: urlToUse,
                        type: "post",
                        async: true
                    });
                }
            }
        }

this part works perfectly, however the add part.
I have added on the hook
updateDataOnServer(item: DrugPharmacy) {
            $.ajax({
                url: this.url,
                type: "post",
                async: true,
                success: (result: DrugPharmacy) => {
                    // i haveto remove the old onem, as it it giving issues and i cant just clear it
                    let tab: any = this.refs["childTable"];
                    let data: DrugPharmacy[] = tab.state.data;
                    console.log(data);

                    // remove from state from inside and add the new one

                    data = jQuery.grep(data, value => (value.id !== item.id));
                    data.push(result);
                    tab.setState(data);
                },
                data:item
            });
        }

but I am unable to make it work. My next is directly modifying the state of the table but i was wondering if there is a cleaner way.

@battarro, for you application currently, I thinks the best way is handle table data in state``. dont call tab.setState(data);```  This is a example you can follow,
I wrote a es6 sample for you
class Table extends React.Component {
   constructor(props) {
       this.state = { data: [] };
   }

   componentDidMount() {
      //call ajax to get data form server and set data to state
      this.setState({ data: new_data_from_server });
   }

   updateDataOnServer() {
      //call ajax to update/insert data and get newest data then set data to state
      this.setState({ data: new_data_from_server });
   }

   //....other function

   render() {
       return (
            <BootstrapTable data={ this.state.data } >
            //....
       );
   }
}

For a react application, you dont care about how to render data to component. Like this problem, you should not do any operation to add new data to the table, you just care state.  For example, any operation(CRUD) on data, you just doing ajax calls and change the state according to the response then React will help you to render a correct view based on your state.
BTW, Use a flux library is best solution for you.

thank you for your response. I have forgotten that the date of the table are held by the state. SO here is the working part.
Also is there a typings d.ts updated for this version?
updateDataOnServer(item: DrugPharmacy) {
            $.ajax({
                url: this.url,
                type: "post",
                async: true,
                success: (result: DrugPharmacy) => {
                    let data: DrugPharmacy[] = this.state.data;
                    data = jQuery.grep(data, value => (value.id !== item.id));
                    data.push(result);
                    this.setState({data:data});
                },
                data:item
            });

Also is there a typings d.ts updated for this version?

Sorry, what's the d.us?

definitelytyped. It is the typescript Definition file used when working with tsx (typescript -> js) files.
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/react-bootstrap-table
I believe this version is very old.

@bastiao, wow, I dont know that. But the version is too old(v1.4.6) surely. However I think you can mention the author of repo to upgrade the version. Because I'm not familiar with typescript


[PrintAsObjC] Don't print imports for extensions to @implementationOnly types

Fix an issue in generated compatibility headers where an extension that is not printed would still trigger the inclusion of the extended type's origin module. This was mostly noticeable with @implementationOnly imports when imported types were extended with only private members.
rdar://problem/57133517

@swift-ci Please smoke test


Build FAQ

This can include any platform specific nuances we encounter that folks should be aware of when building OpenJDK. While we should be as easy to use as possible (such that you don't need an FAQ!), there may still be occurrences when people trip up and they'll look here first before digging into a README or the man entry. A mailing list would still be the best place to ask INfrequently asked questions. We would want to either add this as a menu item next to Issues at the top of this Github page or to add it to our existing wiki.
Some examples already include
Problem: checking sizeof int* fails on AIX
Solution Make sure you have xlc and xlC on your path and that you're not using gcc
Problem: undefined symbols building the VM for libpthread on AIX 7.2
Solution TBD
Problem: I can't build as Object isn't found
## Starting corba
Compiling 6 files for BUILD_LOGUTIL
/ramdisk0/adam/adam-openjdk-build/openjdk/corba/src/share/classes/com/sun/tools/corba/se/logutil/IndentingPrintWriter.java:35: error: cannot access Object
public class IndentingPrintWriter extends PrintWriter {
       ^
  class file for java.lang.Object not found

Solution TBD
Problem: Can't build on Mac: bash: ./configure: No such file or directory
Solution: export MACOSX_DEPLOYMENT_TARGET=10.8

we could host http://www.phpmyfaq.de/ on one of our machines. something like faq.adoptopenjdk.net

Could this just be a link to our Wiki on this repo?

I suppose it's more a fact of whether we can produce a useful forum that allows customers to come and ask questions and find solutions. The question is whether GitHub issues is adequate for this?

I'd have thought a GitHub Wiki would be adequate?  Or actually host some GitHub pages content?

Marking as important just because this should be a quick one to come to a decisions to. I think personally a wiki FAQ type document would be preferable so that people can see all potential issues at once before running into each of them (like falling from a tree and hitting each branch on the way down!)

Build scripts are self-documenting and Jenkins pipeline jobs have their parameters well explained.


Update cluster after delete a marker

I delete a marker from set by
Marker marker = markers.firstWhere((marker) => marker.markerId.value == prd.id);
      setState(() {
        markers.remove(marker);
      });

But it look like not deleted from cluster because the deleted marker shows again after await _updateMarkers(); . Any suggestion?

News?


Update styling of Vaadin Icons HTML Examples

This change is

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

Closing in favour of #69 where requested changes are applied.


fix: upgrade to ray 2.8

Feature or Bugfix

Dependencies

Detail

Allow Ray upgrade to 2.8

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 47c58975273d931d679cebe897dafda735a6149e
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 47c58975273d931d679cebe897dafda735a6149e
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


If you provide the --indent the --pretty flag could be omitted

I think we could skip writing explicitly the the --pretty when --indent=4 is used..
svgo --pretty --indent=4 foo.svg

Thas is also very clear that the intention is to prettify the file with 4 spaces
svgo --indent=4 foo.svg

I suppose it is bad idea, because it will break code like this
js2svg : {
pretty: config.isDevelopment,
indent: 2
}

What about doing so only in command line?


Support multiple sort params

As @Meekohi flagged, Airtable's API expects URL query strings to encode arrays with indices. As far as I can tell, Ruby apps almost never encode like this, and it's not an encoding option that Faraday supports by default. But Faraday does support using custom encoders via its params_encoder option, which is what the new Airrecord::QueryString module is for.
As per @socjopata's suggestion, the unit tests for QueryString check actual URL strings against Airtable's spec. I also wrote a tiny test suite against a live Airtable base (not included in this PR), just to confirm that sorting really does work.

Nice! 🚀

In your looks deep into Faraday, do you see us getting rid of Airrecord::Client#escape in any way by using some feature of Faraday? 👂

@sirupsen Airrecord::QueryString now handles all URL escaping (including Client#escape). I think this is good to go now, but I'll hold off on merging until you have a chance to look it over.

Did you test this against Airtable? I'm getting some puzzling results.
require_relative "./lib/airrecord"
require 'byebug'

Airrecord.api_key = ""

class Tea < Airrecord::Table
  self.base_key = ""
  self.table_name = "Teas"
end

Tea.all(sort: {"Type" => "desc"}).each do |tea|
  puts "#{tea["Type"]}: #{tea["Name"]}"
end

Gives me non-sorted results:
Aged - Oolong: Pinglin Aged
Rooibus: Wisdom & Grace
Aged - Shou: Mandarin Pu-erh
Aged - Shou: 2005 Jingmai Mini Brick
Aged - Shou: 2008 Jingmai
Aged - Shou: 2006 Bulang Shan
Herbal: Turmeric Ginger
Herbal: Rooibos Vanilla
Herbal: Blood Orange Rooibos
Herbal: Love
Herbal: La Sublime
Herbal: L'Èclatante
Herbal: Chamomile Pure Blossoms
Herbal: Hibiscus Song
Herbal: Davidson's Chamomile
Aged - Sheng: Yi Wu Cake 2015
Aged - Sheng: Ba Da Old Tree 2026
Aged - Sheng: 2015 Nanhua
White: Jingning Yin Zhen
White: Nan Mei Wild Tree Buds
White: Bai Mu Dan Wang
Yellow: Huo Shan Huang Cha
Yellow: Meng Ding Huang Ya
Black: Ceylan New Vithanakande
Black: Sun Moon Lake T-18
Black: Meghalaya Lakyrsiew
Black: Iron Age of Wisdom
Black: 2013 Summer Vulvet Rubies
Black: Nilgiri Kairbetta
Black: Mi Xiang Hong Cha
Black: Nilgiri Kairbetta
Black: Darjeling Singelo DJ-19 1st Flush
Oolong: GABA
Oolong: Dong Ding
Oolong: Bai Hao
Oolong: Dong Ding Mrs. Lin (Charcoal)
Oolong: Anxi Tie Guan Yin (Autumn)
Oolong: Oriental Beauty
Oolong: Si Ji Chun (Winter)
Oolong: Gui Fei
Oolong: Dong Ding Mrs. Lin (Charcoal)
Oolong: Mucha Tie Guan Yin
Oolong: Chi Ye
Oolong: Rou Gui-Arian XinYan
Oolong: Dark Pearl Oolong
Oolong: Ancient Dragon 2007 Vintage
Oolong: Summer Siren Song 2013 Vintage
Oolong: 2016 Summer San lin Xi Mountain
Oolong: Dong Ding Kat
Oolong: Pinglin Bao Zhang
Oolong: Bai Rui Xiang
Oolong: Qi Lan Wuyi
Oolong: Qi Lan Xiang
Oolong: Li Shan
Oolong: Tie Guan Yin Traditional
Oolong: Jin Shuan
Oolong: Bai Hao Jingmai Organic
Green: Feng Gang
Green: Long Jing Dafo
Green: Sencha Maroyaka
Green: Yutaka Midori Fukamushi
Green: Pu Bu Long Zhu
Green: Du Yun Mao Jian
Green: Lu Shan Yun Wu
Green: Wei Shan Mao Jian
Green: Kamaraicha
Green: Yong Xi Huo Qing
Green: Chun Hao
Green: Mei Tan Yu Wu
Green: Bi Luo Chun
Green: Tai Ping Hou Kui Hou Keng
Green: De Jiang Long Zhu
Green: Xinyang Mao Jian
Green: Huiming
Green: Nilgiri Mao Feng
Green: Lu An Gua Pian
Green: Tan Huong
Green: Huang Shan Mao Feng
: Wupperthal Rooibos
: Raspberry Vanilla Rooibos

I did, but your example is pretty compelling evidence that I missed something. I’ll plug your Tea data into my test and report back with a fix.

On Nov 15, 2018, at 06:51, Simon Eskildsen<EMAIL_ADDRESS>wrote:
Did you test this against Airtable? I'm getting some puzzling results.
require_relative "./lib/airrecord"
require 'byebug'
Airrecord.api_key = ""
class Tea < Airrecord::Table
self.base_key = ""
self.table_name = "Teas"
end
Tea.all(sort: {"Type" => "desc"}).each do |tea|
puts "#{tea["Type"]}: #{tea["Name"]}"
end
Gives me non-sorted results:
Aged - Oolong: Pinglin Aged
Rooibus: Wisdom & Grace
Aged - Shou: Mandarin Pu-erh
Aged - Shou: 2005 Jingmai Mini Brick
Aged - Shou: 2008 Jingmai
Aged - Shou: 2006 Bulang Shan
Herbal: Turmeric Ginger
Herbal: Rooibos Vanilla
Herbal: Blood Orange Rooibos
Herbal: Love
Herbal: La Sublime
Herbal: L'Èclatante
Herbal: Chamomile Pure Blossoms
Herbal: Hibiscus Song
Herbal: Davidson's Chamomile
Aged - Sheng: Yi Wu Cake 2015
Aged - Sheng: Ba Da Old Tree 2026
Aged - Sheng: 2015 Nanhua
White: Jingning Yin Zhen
White: Nan Mei Wild Tree Buds
White: Bai Mu Dan Wang
Yellow: Huo Shan Huang Cha
Yellow: Meng Ding Huang Ya
Black: Ceylan New Vithanakande
Black: Sun Moon Lake T-18
Black: Meghalaya Lakyrsiew
Black: Iron Age of Wisdom
Black: 2013 Summer Vulvet Rubies
Black: Nilgiri Kairbetta
Black: Mi Xiang Hong Cha
Black: Nilgiri Kairbetta
Black: Darjeling Singelo DJ-19 1st Flush
Oolong: GABA
Oolong: Dong Ding
Oolong: Bai Hao
Oolong: Dong Ding Mrs. Lin (Charcoal)
Oolong: Anxi Tie Guan Yin (Autumn)
Oolong: Oriental Beauty
Oolong: Si Ji Chun (Winter)
Oolong: Gui Fei
Oolong: Dong Ding Mrs. Lin (Charcoal)
Oolong: Mucha Tie Guan Yin
Oolong: Chi Ye
Oolong: Rou Gui-Arian XinYan
Oolong: Dark Pearl Oolong
Oolong: Ancient Dragon 2007 Vintage
Oolong: Summer Siren Song 2013 Vintage
Oolong: 2016 Summer San lin Xi Mountain
Oolong: Dong Ding Kat
Oolong: Pinglin Bao Zhang
Oolong: Bai Rui Xiang
Oolong: Qi Lan Wuyi
Oolong: Qi Lan Xiang
Oolong: Li Shan
Oolong: Tie Guan Yin Traditional
Oolong: Jin Shuan
Oolong: Bai Hao Jingmai Organic
Green: Feng Gang
Green: Long Jing Dafo
Green: Sencha Maroyaka
Green: Yutaka Midori Fukamushi
Green: Pu Bu Long Zhu
Green: Du Yun Mao Jian
Green: Lu Shan Yun Wu
Green: Wei Shan Mao Jian
Green: Kamaraicha
Green: Yong Xi Huo Qing
Green: Chun Hao
Green: Mei Tan Yu Wu
Green: Bi Luo Chun
Green: Tai Ping Hou Kui Hou Keng
Green: De Jiang Long Zhu
Green: Xinyang Mao Jian
Green: Huiming
Green: Nilgiri Mao Feng
Green: Lu An Gua Pian
Green: Tan Huong
Green: Huang Shan Mao Feng
: Wupperthal Rooibos
: Raspberry Vanilla Rooibos
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Can you see what request actually got shipped over the network in that case?
Also random ruby question, but when I try to include airrecord like that from irb I get
2.4.1 :001 > require_relative "./lib/airrecord"
LoadError: cannot load such file -- airrecord/version

Is there some trick that would help me run quick tests like the one you posted outside of a project?

Oh. Odd. I'm just running with bundle exec ruby, you may need bundle exec ruby -Ilib.

Unfortunately I can't reproduce this problem yet. I just invited you both to a live Airtable Base with Simon's Tea data, and pushed a temporary public repo that should let you run exactly the tests I'm running against that Base: https://github.com/chrisfrank/airrecord-integration.
Here's the meat of it:
class Tea < Airrecord::Table
  self.api_key = raise(StandardError, 'Please enter an API key')
  self.base_key = "app5gmfuvQnN1bIyR"
  self.table_name = "Tea"
end

class IntegrationTest < Minitest::Test
  def test_sorting_by_multiple_fields
    Tea.records(sort: { 'Name' => 'asc', 'Type' => 'desc' }).tap do |res|
      assert_nil res.first['Name']
      assert_equal res.first['Type'], 'Wupperthal Rooibos'
      assert_equal res.last['Name'], 'Yellow'
    end
  end

  def test_sorting_by_one_field
    Tea.all(sort: { 'Type' => 'desc' }).tap do |res|
      assert_equal res.first['Type'], 'Yutaka Midori Fukamushi'
      assert_equal res.last['Type'], '2005 Jingmai Mini Brick'
    end
  end
end

With a valid API key, these tests pass on my machine (macOS, ruby 2.5.3). Would love to know whether they pass for you too!

Awesome, thanks Chris I'll try that (and thanks for setting up the test
table, agreed that will be very helpful!)
On Thu, Nov 15, 2018 at 10:27 AM Chris Frank<EMAIL_ADDRESS>wrote:

@Meekohi https://github.com/Meekohi when I'm running quick tests
locally, I'll often make a new directory with its own Gemfile, and
reference local gems:
gem 'airrecord', path: '~/code/airrecord'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sirupsen/airrecord/pull/37#issuecomment-439079567,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAq6b73rG3I8iCo5JyImKAfCt2ObVjDks5uvYf8gaJpZM4YYDPw
.

Just realized I had inverted "Type" and "Name" when looking at the data, which didn't affect the test results but did make them confusing to interpret.
I've corrected the Base, test repo, and comment above, so please pull in the change from the repo if you'd already cloned it. Thank you!

Today I tried to reproduce this by running @sirupsen's exact example. The only changes I made were to add API credentials and use my test base as a data source. I'll paste the output below, but it looks correct to me.
I don't know what's causing us to get different results yet, but I think the two main variables are the bases and, potentially, the state our local repositories. @sirupsen do you still get unsorted results if you change require_relative './lib/airrecord' to require 'airrecord', referencing the RubyGems copy of the gem?
Yellow: Huo Shan Huang Cha
Yellow: Meng Ding Huang Ya
White: Jingning Yin Zhen
White: Bai Mu Dan Wang
White: Nan Mei Wild Tree Buds
Rooibus: Wisdom & Grace
Oolong: Chi Ye
Oolong: Mucha Tie Guan Yin
Oolong: Tie Guan Yin Traditional
Oolong: Oriental Beauty
Oolong: GABA
Oolong: Pinglin Bao Zhang
Oolong: Qi Lan Wuyi
Oolong: Li Shan
Oolong: Dong Ding
Oolong: Gui Fei
Oolong: Dong Ding Kat
Oolong: Si Ji Chun (Winter)
Oolong: Anxi Tie Guan Yin (Autumn)
Oolong: Bai Hao Jingmai Organic
Oolong: Jin Shuan
Oolong: Rou Gui-Arian XinYan
Oolong: Dong Ding Mrs. Lin (Charcoal)
Oolong: Dong Ding Mrs. Lin (Charcoal)
Oolong: Summer Siren Song 2013 Vintage
Oolong: Qi Lan Xiang
Oolong: 2016 Summer San lin Xi Mountain
Oolong: Ancient Dragon 2007 Vintage
Oolong: Bai Rui Xiang
Oolong: Dark Pearl Oolong
Oolong: Bai Hao
Herbal: Rooibos Vanilla
Herbal: Blood Orange Rooibos
Herbal: Hibiscus Song
Herbal: Chamomile Pure Blossoms
Herbal: L'Èclatante
Herbal: La Sublime
Herbal: Love
Herbal: Davidson's Chamomile
Herbal: Turmeric Ginger
Green: Mei Tan Yu Wu
Green: Nilgiri Mao Feng
Green: De Jiang Long Zhu
Green: Sencha Maroyaka
Green: Xinyang Mao Jian
Green: Bi Luo Chun
Green: Lu Shan Yun Wu
Green: Yong Xi Huo Qing
Green: Tan Huong
Green: Wei Shan Mao Jian
Green: Du Yun Mao Jian
Green: Huiming
Green: Pu Bu Long Zhu
Green: Huang Shan Mao Feng
Green: Feng Gang
Green: Chun Hao
Green: Kamaraicha
Green: Yutaka Midori Fukamushi
Green: Long Jing Dafo
Green: Lu An Gua Pian
Green: Tai Ping Hou Kui Hou Keng
Black: Ceylan New Vithanakande
Black: Nilgiri Kairbetta
Black: Meghalaya Lakyrsiew
Black: Nilgiri Kairbetta
Black: Darjeling Singelo DJ-19 1st Flush
Black: Mi Xiang Hong Cha
Black: 2013 Summer Vulvet Rubies
Black: Iron Age of Wisdom
Black: Sun Moon Lake T-18
Aged - Shou: Mandarin Pu-erh
Aged - Shou: 2006 Bulang Shan
Aged - Shou: 2005 Jingmai Mini Brick
Aged - Shou: 2008 Jingmai
Aged - Sheng: Yi Wu Cake 2015
Aged - Sheng: Ba Da Old Tree 2026
Aged - Sheng: 2015 Nanhua
Aged - Oolong: Pinglin Aged
: Wupperthal Rooibos
: Raspberry Vanilla Rooibos


Output streams

Add configurable support for realization output streams
Additions
utils::StreamHandler
Removals

Changes

Testing

Passes existing tests

Screenshots
Notes

Todos

Checklist

[ ] PR has an informative and human-readable title
[X ] Changes are limited to a single goal (no scope creep)
[X ] Code can be automatically merged (no conflicts)
[X ] Code follows project standards (link if applicable)
[X ] Passes all existing automated tests
[X ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[X ] Linux

@donaldwj  Documentation PR will follow, merging to provide functionality.


Incorrect formatting in IE11, Win8.1

Formatting is incorrect in IE 11, Win8.1:
Chrome (correct):

IE (mangled):

It seems that IE9+ has problems with the main element. Luckily, the fix is pretty simple; just add the following code to your css/sass:
main { display: block; }

Confirmed this fixes the issue in IE11, Win8.1 - thanks!


Lack of simple walkthroughts for simple scenarios

I am developing a bot that I would like to add it to my company Teams.
I have uploaded my extension (bot manifest) and I want admin to approve.
I would like to be give our admin exact instructions how to, do it, for instance:, go there, you will see this, press this button. Unfortunately I am not able to do it because I don't know how this looks from admin perspective. The link that appears in App Studio does lead only to top level page.

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

ID: fbbcabee-fa96-2878-e983-3c966f84ee15
Version Independent ID: 02fa4fd8-77e0-5cb2-a4af-576cbb68322f
Content: Manage your apps in the Microsoft Teams admin center - Microsoft Teams
Content Source: Teams/manage-apps.md
Service: msteams
GitHub Login: @KarliStites
Microsoft Alias: kastites

Hello @zikalino Zim,
I tested this publishing an app through App Studio/Dev portal, and then, from the admin side, I experienced this, as the article says:

Approve a custom app
The Pending approvals widget on the Manage apps page notifies you when a developer submits an app by using the Teams App Submission API. A newly submitted app is listed with a Publishing status of Submitted and an Status of Blocked. Go to the app details page to see more information about the app, and then to publish it, set Publishing status to Publish.

You're also notified when a developer submits an update to a custom app. You can then review and publish (or reject) the update on the app details page. All app permission policies and app setup policies remain enforced for the updated app

So can you share those details to your tenant's admin? Hope this information helps you,
Andrés

@scanum


Pressing Start or Select Button for SNES Games?

Issue summary
I have a SNES game where at the end of the level, in order to finish the level the start button has to be pressed. The agent can reach the end of the level but never hits start and the episode times out. I tried to get the agent to hit START or SELECT and I'm not sure if the agent does. I can't confirm START or SELECT pressing in video recordings of the episode while I can for every other SNES button.
I wrote a function similar to the SonicDiscretizer (https://github.com/openai/baselines/blob/d80acbb4d1f8b3359c143543dd3f21a3b12679c8/baselines/common/retro_wrappers.py) except for SNES games. Ie I replace the buttons for Sega with SNES keys:
class ContraDiscretizer(gym.ActionWrapper):
    def __init__(self, env):
        super(ContraDiscretizer, self).__init__(env)
        # SNES keys
        buttons = ["B", "Y", "SELECT", "START", "UP", "DOWN", "LEFT", "RIGHT", "A", "X", "L", "R"]

        #start test
        actions = [["SELECT"],["START"]]

        self._actions = []
        for action in actions:
            arr = np.array([False] * 12)
            for button in action:
                arr[buttons.index(button)] = True
                print("appending button in action {} in {}".format(button,action))
                print(arr,buttons.index(button))
            self._actions.append(arr)
        print("final self._actions are {}".format(self._actions))
        self.action_space = gym.spaces.Discrete(len(self._actions))

    def action(self, a): # pylint: disable=W0221
        print(" in action a is {} self._actions[a] is ".format(a,self._actions[a].copy()))
        return self._actions[a].copy()

As you can see, in the action() function I have a print statement. Actions for start and select register through there and when I add another action like UP or RIGHT those actions register too. However when I watch videos of those replays (using the MovieRecord wrapper) the START and SELECT actions don't register. The SELECT button doesn't do anything in the SNES game but START should pause the game. That doesn't show up in the videos.
If I modify the allowed actions to multi button presses that include START or SELECT the other button will be pressed and this will register on the video and in the pressed movie.get_key() but START and SELECT will not.
actions = [["SELECT","Y"], ["START","B"]]
Ie the video will show the Y or B key being pressed but still disregards the SELECT and START keys.
System information

Ubuntu 16.04
3.6
0.6.0

Are you creating the environment with use_restricted_actions=retro.Actions.ALL (https://github.com/openai/retro/blob/master/retro/init.py#L25) ?  If not, you'll only get filtered actions.  The normal way to make this work with the default filtered actions is to allow start and select in the scenario.json.  KidChameleon-Genesis requires allowing the start button here: https://github.com/openai/retro/blob/master/retro/data/stable/KidChameleon-Genesis/scenario.json#L19

Ah sorry, my mistake, I was using retro.Actions.FILTERED. Setting it to retro.Actions.ALL allows START and SELECT. I didn't realize that FILTERED worked like that.

That's part of the intent of it. We should document that better.


unable to recognize "": no matches for kind "EtcdCluster"

I would like to immediately apologize if I do not properly fill out this issue form or if I am in the wrong spot.
I am trying to install a helm chart on a kubernetes cluster.
sudo ./helm install -n seba cord/seba --version=1.0.0
Error: validation failed: unable to recognize "": no matches for kind "EtcdCluster" in version "etcd.database.coreos.com/v1beta2"
Can someone help me understand or resolve this issue I have exhausted nearly every online post and none of them explain what's happening.

You or something has not installed etcd-operator correctly leaving you without EtcdCluster resource. I have no idea what you are installing with helm nor am I a helm expert so can't help there. In general you probably don't have RBAC setup properly take a look at this doc.
https://github.com/coreos/etcd-operator/blob/master/doc/user/rbac.md
Then figure out what is trying to use etcd-operator and make sure it is installing correctly. You should see some hints in the logs for etcd-operator pod.

How do I get the logs for etcd operator
and how to i uninstall and re install etcd operator

@KevinRiordan, re: logs, do: kubectl logs etcd-operator... (you'll have to fill in the full name of the etcd-operator pod).
See https://github.com/coreos/etcd-operator/blob/master/doc/user/install_guide.md for how to uninstall etcd-operator and re-install it.


Link auth options to navbar

Add signin/signup option in navbar when not logged in and add signout when logged in

can i attempt a solution for this?

Yes


2.x configure cancel synthetic click

2.x version of https://github.com/Polymer/polymer/pull/5533

I think the CLA failed because originally the PR was opened to master. Recreating this PR.


RN us rockets update

-Update to install craft files now that I include them with latest
release

Looks all fine, merging with thanks!