PolygonSprite.java setRegion bug

I am trying to execute this piece of code in my game.
public void draw(Batch batch, float parentAlpha){     PolygonRegion polyReg = new PolygonRegion(connectorTextureRegion, getVertices(), getTriangles());     polygonSprite.setRegion(polyReg);     polygonSprite.draw((PolygonSpriteBatch)batch); }
In general, it works well but sometimes I'm getting an ArrayIndexOutOfBounds exception caused by the setRegion line. If I dive into the methods code, it fails at the first line in the for loop.
public void setRegion (PolygonRegion region) {
     this.region = region;

float[] regionVertices = region.vertices;
float[] textureCoords = region.textureCoords;

if (vertices == null || regionVertices.length != vertices.length) vertices = new float[(regionVertices.length / 2) * 5];

// Set the color and UVs in this sprite's vertices.
float floatColor = color.toFloatBits();
float[] vertices = this.vertices;
for (int i = 0, v = 2, n = regionVertices.length; i < n; i += 2, v += 5) {
    vertices[v] = floatColor;
    vertices[v + 1] = textureCoords[i];
    vertices[v + 2] = textureCoords[i + 1];
}

dirty = true;

}`
Now let me know if I'm wrong, but I feel like there might be an issue with the if condition. We should have
(regionVertices.length /2)*5!= vertices.length
instead of
regionVertices.length != vertices.length
Whenever I get the exception, it's because the length of the region vertices array and the length of the sprite vertices array are equal.

Anyone?

Sorry for the delay. It looks like you are right. I've committed a fix, @JKazma can you please test with whatever you used to produce the problem?


verifyCsrfToken occurs too frequently

Hi Team ,
I am using the laravel v5.1 and facing the problem of verifyCsrfToken exception too frequently.
Sometimes the form gets submits and sometimes not.
Not able to figure out what the exact problem is, it happens on both the OS: Windows, Linux
On windows I am using the Wampserver and on linux I am using the Xampp.
Following is my session.php file configuration
`[
'driver' => env('SESSION_DRIVER', 'file'),
'lifetime' => 120,
'expire_on_close' => true,
'encrypt' => false,
'files' => storage_path('framework/sessions'),
'table' => 'sessions',
'lottery' => [2, 100],
'cookie' => 'proj_org',
'path' => '/',
'domain' => null,
'secure' => false,
]`
Also I am using the following lines in my view file app.blade.php
`<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

header("Cache-Control: no-store, no-cache, must-revalidate");

header("Cache-Control: post-check=0, pre-check=0", false);

header("Pragma: no-cache");

?>`
Form submission sometimes work and sometimes not.

NEVER use the native header functions. The'll break everything.

Hi GrahamCampbell,
Well thanks for the advice, i also figured out one more thing which i want to share with you.
I was working with the file upload control and i was uploading a file with the size 15MB, and in my wamp settings i have
post_max_size = 2M;
upload_max_filesize = 3M;

With these settings uploading a file gives a VerifyCrsfToken exception.
Now what is the best way in laravel 5.1 to stop browser cache like used the native header functions ?


fix bug so that destination.service.** attributes are collected

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: quanjielin
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: kyessenov
Assign the PR to them by writing /assign @kyessenov in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/plugin/mixer/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @douglas-reid

/cc @hklai @rkpagadala , I think this one should be included in 1.0

/lgtm
Thank you!
On Mon, Jul 2, 2018, 6:54 PM Quanjie Lin<EMAIL_ADDRESS>wrote:

/cc @hklai https://github.com/hklai @rkpagadala
https://github.com/rkpagadala , I think this one should be included in
1.0
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/6801#issuecomment-401988953, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJGIxnW-s5O1UUdxPrG9TVLF2vmWR79Lks5uCs7HgaJpZM4VAKTf
.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kyessenov, quanjielin
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/plugin/mixer/OWNERS [kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


TagHelper attributes with data- have surprising behavior

Consider the following:
@{ var pwnt = "Hello, world!"; }
<p data-th-color="color: red; @pwnt">
            This should be red.
</p>

[TargetElement("p", Attributes = "data-th-color")]
    public class ColorTagHelper : TagHelper
    {
        [HtmlAttributeName("data-th-color")]
        public string Color { get; set; }

        public override void Process(TagHelperContext context, TagHelperOutput output)
        {
            output.Attributes.Add("style", Color);
        }
    }

Inside the taghelper, the value of Color is "Hello, world!" instead of the expected "color: red; Hello, world!". According to @NTaylorMullen this is because razor has special handling of data-* attributes.
Changing the attribute to something that doesn't begin with data- will give the expected behavior.

whatever the special case is, the Principal of Least Surprise says Razor is broken here.  either binding an attribute named data-* is an error or it should do the Right Thing:tm: i.e. behave like any other bound attribute.

Agree.
Curious: @anurse why did we special case data- in Razor?

We special-cased it for conditional attributes. Conditional attributes are designed to make it easier to write HTML that User Agents can properly interpret. We do this by making checked="@foo" render as checked="checked" if foo is true, or removing it entirely if foo is false or null.
However, data- attributes are explicitly called out as being reserved solely for the purpose of the end-application-developer:

These attributes are not intended for use by software that is not known to the administrators of the site that uses the attributes. For generic extensions that are to be used by multiple independent tools, either this specification should be extended to provide the feature explicitly, or a technology like microdata should be used (with a standardised vocabulary). (http://www.w3.org/html/wg/drafts/html/master/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)

Thus, they are explicitly not implemented by User Agents and we didn't want conditional attributes getting in the way of existing application code (and turning something like data-enabled="@foo" suddenly vanishing when the JavaScript that reads it expects a literal string false).
For a similar reason, I think we should take @dougbu 's first suggestion here and disallow binding Tag Helpers to data- attributes.

@DamianEdwards do you feel like we should be able to bind data- attributes? Or should it result in an error?

Note: Decision was to not allow TagHelper authors to bind to attributes starting with data-. If they try to we will create an error.

5bcda94b2c7a0179250d73b73ae4b39ce0a0789e

Looks like this also occurs for unbound TagHelper attributes and doesn't end up falling into (shouldn't) the error case which is how we initially addressed this issue.

b25bf01158f69bce1db4c8e2b244bc8c21403273


feat: custom bullet points for unordered lists

#1180

Is there a preview of this so that we can see how it looks and maybe interact with it?

PR does not show anything in the example pages.

@nilubava is this still something we want to merge?


feat: added trivy repository mode scan

Hi,
I've added a Trivy action scanner (in repository mode), to scan for security vulnerabilities. The results would be sent to the security tab (can be changed). I'm using it for all my repositories and recommend it.
If you like the idea, You can ask me anything. A example run can be seen on my fork here.
For more information see: https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#usage

Thanks. The results so far look identical to dependabot, plus a few false positives. I personally think one such tool is enough, so I slightly lean against adding this tool in addition to dependabot. Wdyt @Beerosagos?

Another use case would be, that with every PR that you get you can see if a security vulnerability is introduced. I'm no sure, if dependabot is checking the PR.

Alright, let's give it a shot. Thanks.


Opensource setup

All the changes which done in this pr

Added contribution guide.
Only npm allowed as a package manager
Added CODE_OF_CONDUCT for the repo.

Thanks for doing this! Where did you find the Code of Conduct to base this on? I'd like to give credit.

https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md

https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md
https://aws.github.io/code-of-conduct

Closing this PR to open with my updates / changes.


Does not work make Electron Forge  with native modules of serialport v10 and usb v2.9.0

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.2.1
Electron version
v25.3.1
Operating system
Ubuntu 22.04
Last known working Electron Forge version
No response
Expected behavior
Correctly relocate native modules with webpack-asset-relocator-loader

serialport<EMAIL_ADDRESS>usb: node_modules/usb/build/Release/usb_bindings.node

Actual behavior
please see this thread https://github.com/serialport/node-serialport/issues/2464
Steps to reproduce
This is current solution https://github.com/Dygmalab/Bazecor/blob/development/forge.config.ts
Additional information
No response

any way to fix this ?

any way to fix this ?

This is current solution https://github.com/Dygmalab/Bazecor/blob/development/forge.config.ts


docs: clarify restriction on template variables in strings

Describe this PR
Adds clarification that this bit about "strings" means "SQL string literals".
Changes
"strings" -> "SQL string literals"
What issue does this fix?
I had to reread the line + code example a few times to infer/understand what it meant exactly, since the code contains both TS strings and SQL strings. The example just a little bit before this one appeared to use template variables inside a string, so the restriction appeared to be potentially contradictory at first.

Thank you @LewisJEllis for the PR


Broken loop init with gunicorn worker

Hi @gi0baro
python3.8
emmett 2.1.3

myapp.py

from emmett import App

app = App(__name__)

@app.route("/")
async def hello():
    return "Hello world!"

gunicorn myapp:app -w 4 -k emmett.asgi.workers.EmmettWorker
when executing it with gunicorn this error occurs, tested in linux and freebsd
$ gunicorn myapp:app -w 4 -k emmett.asgi.workers.EmmettWorker
[2020-11-06 15:34:12 -0300] [32099] [INFO] Starting gunicorn 20.0.4
[2020-11-06 15:34:12 -0300] [32099] [INFO] Listening at: http://<IP_ADDRESS>:8000 (32099)
[2020-11-06 15:34:12 -0300] [32099] [INFO] Using worker: emmett.asgi.workers.EmmettWorker
[2020-11-06 15:34:12 -0300] [32099] [INFO] Unhandled exception in main loop
Traceback (most recent call last):
File "/home/jose/borro/emmett-prod/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 202, in run
self.manage_workers()
File "/home/jose/borro/emmett-prod/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 545, in manage_workers
self.spawn_workers()
File "/home/jose/borro/emmett-prod/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 616, in spawn_workers
self.spawn_worker()
File "/home/jose/borro/emmett-prod/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 563, in spawn_worker
worker = self.worker_class(self.worker_age, self.pid, self.LISTENERS,
File "/home/jose/borro/emmett-prod/venv/lib/python3.8/site-packages/emmett/asgi/workers.py", line 64, in init
http=protocols_http.get_protocol(config.get('http', 'auto')),
AttributeError: 'Registry' object has no attribute 'get_protocol'

@josejachuf I confirm it's a bug due to internals changes between 2.0 and 2.1.
I'm quite disappointed by 2.1 release, I broke quite a lot of stuff u.u
Gonna release a 2.1.4 in the next ~48hours, I'm sorry for the invonvenient

Thanks @gi0baro

This is now fixed both in master and 2.1.4


Use v3 syntax for the manifest

When looking into the disk-space issue for our worker, the Gov PaaS team recommended using the latest version of the manifest.py schema.

Codecov Report

Merging #374 (98ca3ec) into master (9cff2f5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #374   +/-   ##
=======================================
  Coverage   91.44%   91.44%
=======================================
  Files         260      260
  Lines       14525    14525
  Branches     1089     1089
=======================================
  Hits        13282    13282
  Misses       1044     1044
  Partials      199      199

Continue to review full report at Codecov.

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


[GUI] template with 2 properties of the same type

When a template is created with 2 properties of the same type, the message "duplicate key value violates unique constraint 'attrs_template_id_type_label_key'" is displayed.

Despite the error message, the duplicate property is displayed on the screen.
You need to refresh the page ("F5") or exit and return to the template page to see the correct setting.

Is this the expected behavior?

The message only appears when editing the template.
in template creation: with 2 topics, the template is not created but no messages is showing.

in template edition:

when a 2nd topic is added a message is shown.

apparently the 2nd topic is added

the page needs to be updated so that the correct configuration is displayed

The validation of the fields is done in the creation and edition of the template.


Update stable version in repo from 0.0.0 to 1.0.3

Think about adding version 1.0.3 to stable repository.
Version: stable=0.0.0 (0 days old) => latest=1.0.3 (30 days old)
Installs: stable=0 (0%), latest=8 (11.59%), total=69
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

Is there any reason to delay updating stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 24.4.2024 we could decide to release anyway.

Standard tests are missing:
https://github.com/ioBroker/ioBroker.opcua/issues/32

https://github.com/ioBroker/ioBroker.repositories/pull/3811


Suggestion: add eslint-plugin-tailwindcss

Hi everyone! Thanks for this amazing template 🔥
I would like to suggest adding the eslint-plugin-tailwindcss.
The prettier-plugin-tailwindcss does a great job sorting the classes. However, it does not warn you whenever you use a class that does not exist.
Adding the eslint plugin could save developers some time whenever they make a typo in the classname.
What do you guys think? If you agree this could be helpful, I'm more than happy to submit a pull request.

Siemanko @jan-lewandoski, that's a great suggestion, PRs are highly appreciated! :)

@bmstefanski I've just submitted the pull request 😄 Happy to discuss it if needed 👍


Broken link reporter test

There is a link reporter test that is intermittently failing on PRs completely unrelated to the code being tested. As this is blocking merges and deploys we will be commenting it out pending a solution. The pattern seems to be fails repeatedly for a few days followed by a few days of it passing. Will link to this issue when disabling the test.
Error: LinkReporterCsvServiceTest#test_populates_the_CSV_with_details_about_the_broken_links_per_edition: Errno::ENOENT: No such file or directory @ rb_sysopen - /var/lib/jenkins/workspace/l_redesign-historic-appointments/tmp/broken_link_reports/hm-revenue-customs_links_report.csv     test/unit/services/link_reporter_csv_service_test.rb:59:in block in class:LinkReporterCsvServiceTest'
rails test test/unit/services/link_reporter_csv_service_test.rb:36`
Example fail: https://ci.integration.publishing.service.gov.uk/job/whitehall/job/redesign-historic-appointments/20/console

We believe this was due to a race condition introduced by the tests running in parallel and hopefully fixed in https://github.com/alphagov/whitehall/pull/6282 so I'm going to close the issue.


Package proposal update: 7zip v15 to 7-zip v23.01

Package Name
7-zip
Tool Name
7-zip
Package type
SINGLE_EXE
Is the tool a console application?
true
Tool's version number
23.01
Category
Utilities
Tool's authors
Igor Pavlov
Tool's description
A free file archiver for extremely high compression
Download URL
https://sourceforge.net/projects/sevenzip/files/7-Zip/23.01/
Download SHA256 Hash
26CB6E9F56333682122FAFE79DBCDFD51E9F47CC7217DCCD29AC6FC33B5598CD
Why is this tool a good addition?
Upgrading 7-Zip from version 15 to version 23.01 would be an excellent addition to the FLARE VM project for several reasons:
Improved security: Newer versions of the software include fixes for known vulnerabilities, offering better protection against malware exploits and potential attacks.
Improved performance: Updates typically include performance enhancements, saving security professionals time when decompressing and analyzing files, speeding up incident response and malware analysis workflows.

See #473 and #87. What are your thoughts based on those discussions?

@mr-tz @Ana06
Have we considered this option?
https://github.com/myfreeer/7z-build-nsis
It looks like the developers of 7zip introduced a change to remove the NSIS decompilation component in official builds, but left the code in. It mostly just requires defining NSIS_SCRIPT in a header file and possibly a couple of other changes as seen in https://github.com/myfreeer/7z-build-nsis/blob/master/7-zip-patch.sh
Building 7zip myself did not end up going well, but the linked tool on github (7z-build-nsis) seems to have done it and releases a package for it too! 😊


Screen reader not reading suggestion elements

Observed behaviour:
When trying to navigate with arrows in the suggestions list. The screen reader does not read any of the elements.
Expected behaviour:
To read the elements when navigating with arrows in the autosuggestion list
How to reproduce

Go to https://en-tur.no/
Enable VoiceOver
Write something in one of the autosuggestion input fields. (ex. Oslo)
Navigate in the suggestion list with the arrow keys.

Testet browsers
Chrome 64
Safari 11
Nothing is read :/
Any help would be highly appreciated!

I can see the same issue on
macOS Sierra 10.12.6
Safari 12.0
Arrow keys do not work when Voiceover is switched on
Basically the input component does not retrieve events for onKeyDown, Up, Press for the arrow keys, when Voiceover is on
I don't think there's any fix for this - it's Voiceover causing the problem

I am able to access the suggestions with Safari + Voiceover by pressing Shift + Control + Down Arrow.
Not sure why this particular combo is necessary.


Update to Visual Studio 2015 CTP 5

This pull request updates the project to Visual Studio 2015 CTP 5.
It is currently blocked on dotnet/roslyn#23, which is causing a total of 10 tests to fail.

The issue with formatting has been fixed by the introduction of a WithoutElasticTrivia() extension method for SyntaxNode, SyntaxToken, and SyntaxTrivia.

looks good

@pdelvo Thanks for reviewing this so quickly. :smile: Can you look at the changes made in the last commit as well?

Looks good too. Why did you put the SpacingExtensions.cs under StyleCop.Analyzers/SpacingRules/? it could be usefull for other diagnostics as well so I think StyleCop.Analyzers/Helpers/ would be better

It was added back when the only code fixes were for spacing rules. I left it there for now; I'm torn on the name /Helpers/ so I think they may both get refactored in the future (and probably together).


No syntax error reported for forgetting equals sign before object literal expression initializer in variable declaration

Describe the bug
If someone forgets to have an equals sign in a variable declaration with an object literal expression initializer then there won't be a syntax error.
Input code
const Methods {
  f: (x, y) => x + y,
};

Expected behavior
I expected swc to return a syntax error or at least some diagnostic in the emitter, but nothing happens.
Version
swc_ecmascript: 0.20.0

Oh hey, it's not just missing assignment operators and object initializers, it's declaration related, here's another broken snippet if it helps:
or just
let a = 0,
let b = 1;

emits:
let a = 0,
  let;

Seems to be treating let as a indentifier, instead of a keyword?

I tested it, but it resulted in an error.
You should use Parser.take_errors()

@kdy1 interesting and thanks for investigating! I didn't even know about this method (I just assumed the handler would emit these, but now I see it's not even passed to the handler).
Was this one of the diagnostics that was moved from a PResult error into one of these diagnostics? Is there any way to tell these diagnostics appart from other ones? I think I will start collecting a list of error codes.
I think this issue can be closed.

@dsherret I didn't finish error recovery and it is treated as a recoverable error from start I guess.
Also, if you get an error via Parser.take_errors, it's a recoverable error.


Monitoring

We need to monitor the docker cluster. Different solutions are currently available to monitor docker containers and the applications running inside them. The most used are:

graylog
fluentd
logstash

All of them are supported by docker out-of-the-box (Docker doc).
While the first one is an all-in-one solution: it provides ingestion, visualisation, rest api and alerts. The other two have to be coupled with a storage component, to persist the informations (e.g. Elasticsearch), and a visualisation tool (e.g. Kibana).
For more details check

Logstash + Elasticsearch + Kibana
Fluentd + Elasticsearch + Kibana
Graylog (Elasticsearch + MongoDB) doc

To monitor the hardware the best candidate is the Google Cadvisor. It can be combined with InfluxDB and Grafana to persist and visualise data (example). Another solution is to use Cadvisor with Prometheus, a metrics system with dashboards and alerting capabilities (ex1 ex2).
All these solutions are open-source.

Portainer: a dashboard for Docker

closed by f6c569b8eb81c37171ea286a8429b2530359aef1

Actually keep open (cadvisor and portainer) we still planned to add greylog.

For the pilot, is portainer enough for logging? Each docker process can be selected and its logs viewed. For a distributed setup graylog may be better, but it also requires two additional services: mongodb and  elasticsearch.

OK I just wasn't sure. I think the existing is fine monitoring is fine for the pilot study

I've added a new docker-compose stack with graylog to dcompose-stack/logging. However, to use it, each docker container in a docker-compose file needs to use the following settings:
logging:
  driver: gelf
  options:
    gelf-address: udp://localhost:12201

This will only work if the logging stack is actually running. Moreover, the logs will then no longer be collected locally, meaning they are no longer available through the console or through portainer. As long as we're doing single-host deployments, I suggest to leave the logging setup as-is. When we do plan to deploy in a multi-host setting, this logging solution ready to go, though.

@blootsvoets agree on keeping local logging, but great that we can centralise when we need to :+1:


Circular genome viewer: add specialty genes tracks

Add specialty genes tracks to the circular genome viewer. This will also be included in the genome report.

Chunhong, the your recent circular viewer enhancements are now deployed on alpha and it looks GREAT!!
One small issue, foreground color selector is missing for the non-CDS features. Hence, there is no way to display them. Please see the attached screenshot.

Few more suggestions on the order of the tracks:
CDS - fwd
CDS - rev
Non-CDS features
AMR genes
VF genes
Transporters
Drug targets
Human homologs - remove => not predicted any more
Essential genes - remove => sparse, available only for reference and rep genomes
Please also check the range for GC content and GC skew plots, which seem to be -1 to +1.
However, I believe the values for both are always 0-1. So if you adjust them, the plots will
look better.

The color palette was disabled for Non-CDS features, because multiple colors (not a single) were used for different types of Non-CDS features. We could change it to use a single color for all Non-CDS features.

I can remove the tracks for Human homologs and Essential genes tracks

The range for GC content is 0 to 1 and for GC skew plots is -1 to +1.

The feature is available on alpha


Stroke may not require on these color picking circles

I agree! I changed the style so now it looks like this:


Handle the fact that isFresh() may return null

I'm not sure if this project is still being maintained, but I suspect guzzle3 is still the only choice out there for people using PHP v5.3.
The issue here is that isFresh returns either a boolean or null, so checking for false is not sufficient. This causes guzzle to erroneously cache responses-- in my case we have Cache-Control: max-age=0 and Age: 0 being specified on responses, and guzzle is choosing to cache.

Thanks for the PR, but I'm going to close this since this repo has been EOL for a while now.


Adhere target/source java compatibility for contrib projects

We are using Java 1.7 on our hadoop cluster, but locally I use JDK 1.8
for building, so contrib got build with 1.8 by default because its
source and target version is not specified explicitly. Consequentially
the resulting jar didn't work in our cluster environment. This
reconfiguration fixes this.
But since the contrib projects don't build anymore with 1.6 source
compatibility I bumped up the configured javac.version to 1.7, even
though two other options are available:

Fix contrib to make it 1.6 compatible again
Specify different versions for the main and contrib projects

But since Java 1.6 is EOL since quite a while I suggest that no
Voldemort servers with a Java 1.6 runtime should be running anymore and
it should be save to upgrade and keep the configuration simple.

I am ok with bumping all of Voldemort to 1.7.
If no one else raises any concern with this in the next few days, I'll merge it in.

Sorry for the wait, I've merged this in.
We are currently running on JDK 8 in production (without the new G1 GC). We've been running that for a while without issue, but I'm hesitant to push it higher than 7 for now.


added cosmo group publisher md

Any pull request you open is subject to the TensorFlow Hub Terms of Service at www.tfhub.dev/terms and Google's Privacy Policy at https://www.google.com/policies/privacy.
We check modified Markdown files for validity using this GitHub Workflow. You can execute the same checks locally by passing the file paths of modified Markdown files (relative to the assets/docs directory) to validator.py e.g. python3 ./tools/validator.py google/google.md google/models/albert_base/1.md ....

I forgot to sign the CLA, but did it now. Could you please rescan the request?

Hi Janis,
Thanks for adding the publisher page!
According to https://github.com/tensorflow/tfhub.dev/pull/99/checks?check_run_id=4320915595, an issue could be that the e-mail address used by your commit is not associated with the user (@jafluri) that opened this PR (the commit e-mail is j***s@DESKTOP-B1GBP1V.localdomain).
Could you either add that e-mail to your GitHub account or change the e-mail address of the commit to an address that's associated with your account?

Thanks for the quick reply and the instructions!
Sorry, I forgot to set my email for this repo, but it seems to work now!


New tutorial on prompt tunning and evaluation

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
All Promptflow Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

@ttthree  @lisagreenview
Please feel free to review this pull request, which includes the following changes:

Added a banner image (which has already been used as the GitHub social preview picture) to the Readme.
Contributed a new tutorial to highlight the value of batch testing and evaluation in PromptFlow, based on the simplest chat case. Additionally, we have created a video demo for better understanding.


kafka.common.FailedPayloadsError while invoking send_offset_request

My kafka server is running in an EC2 who has a public IP and private domain name, which means user could access the kafka service via IP, but not domain name. When I init the kafka consumer I get an error.
My code:
from kafka import KafkaConsumer
consumer = KafkaConsumer("mytopic",  bootstrap_servers="10.x.x.x:9092")

Error:
Traceback (most recent call last):
File "tools\flow.py", line 46, in
+ ":" + global_vars.Configuration["kafka"]["port"]])
File "C:\Apps\Python27\lib\site-packages\kafka\consumer\kafka.py", line 59, in init
self.set_topic_partitions(*topics)
File "C:\Apps\Python27\lib\site-packages\kafka\consumer\kafka.py", line 260, in set_topic_partitions
self._offsets.fetch[topic_partition] = self._reset_partition_offset(topic_partition)
File "C:\Apps\Python27\lib\site-packages\kafka\consumer\kafka.py", line 667, in _reset_partition_offset
request_time_ms, max_num_offsets=1)
File "C:\Apps\Python27\lib\site-packages\kafka\consumer\kafka.py", line 425, in get_partition_offsets
(resp,) = self._client.send_offset_request(reqs)
File "C:\Apps\Python27\lib\site-packages\kafka\client.py", line 510, in send_offset_request
if not fail_on_error or not self._raise_on_response_error(resp)]
File "C:\Apps\Python27\lib\site-packages\kafka\client.py", line 247, in _raise_on_response_error
raise resp
kafka.common.FailedPayloadsError
After adding logging handle get below log:
Unable to connect to kafka broker at ip-x-x-x-x:9092
Traceback (most recent call last):
File "C:\Apps\Python27\lib\site-packages\kafka\conn.py", line 211, in reinit
self._sock = socket.create_connection((self.host, self.port), self.timeout)
File "C:\Apps\Python27\lib\socket.py", line 571, in create_connection
raise err
error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
ConnectionError attempting to send request 3 to server BrokerMetadata(nodeId=0, host='ip-x-x-x-x', port=9092): Kafka @ ip-x-x-x-x:9092 went away
So here I see IP is translated to domain name which causes the upcoming access to Kafka failed.

Finally I found it's because broker is listening on hostname, not <IP_ADDRESS> . After changing to <IP_ADDRESS> it works. So close this issue.


"Zend\Mail\Message" not found in Magento 2.4.6-p3

The magento mailjet module is affected by this bug :
https://github.com/magento/magento2/issues/38421
To sum up : when dependency laminas/laminas-server is updating from v2.16.0 to v2.17.0, this cause laminas/laminas-zendframework-bridge to be removed. This package is required by a lot of 3rd party SMTP extensions that still use Zend\Mail as is Mailjet module.
The fix is to switch from Zend to Laminas.

vendor\mailjet\mailjet-magento2\Helper\Data.php
change on line 281
\Zend\Http\Client\Adapter\Socket $zendHttpClient
for
\Laminas\Http\Request                            $zendHttpClient


Requests not submitted

Some requests never reach the server, e.g. a point's creation, and the admin interface displays an error message : "Le point ____ n'a pas pu être créé".
This also happens for other requests, randomly.

I have not succeeded in reproducing this issue. Are you sure that it isn't network related ?

Could be, although if you use TCP as transport layer, the failure rate would be alarmingly high, and should have an impact on every other network services, which it does not.


Autorun fixes

Playground refactorings
Fix #1628
Fix spin icon positioning in autorun toggle

Nice, happy to see that issue get fixed.


Added support to build ppc64le binary

Hi All,
I have added support for ppc64le architecture. Please review and do let me know if any additional changes are needed for enablement of Power in tektoncd-pipeline-operator.
Thanks,
Snehlata Mohite.

/assign @chmouel
Hi All,
I have added support for ppc64le architecture. Please review and do let me know if any additional changes are needed for enablement of Power in tektoncd-pipeline-operator.
Thanks,
Snehlata Mohite.

/ok-to-test
We don't have yet builders to test that against but :angel:

the make target updated in the pr, is used in OpenShift CI.
for local development, you can add it here as well. : https://github.com/openshift/tektoncd-pipeline-operator/blob/91483d90a00e4879ae90c171d4b0875651ab94c7/opo-makefile.mk#L89

@nikhil-thomas - Thanks, I will try above commands on Power setup and then will revert.

@nikhil-thomas -
I have tried "operator-sdk build quay.io/test/openshift-pipelines-operator:test --go-build-args "-o build/_output/bin/openshift-pipelines-operator" command it works as is on Power and creates container depending upon underlying architecture of system.
[root@shivanij-bastion tektoncd-pipeline-operator]#  operator-sdk build quay.io/test/openshift-pipelines-operator:test --go-build-args "-o build/_output/bin/openshift-pipelines-operator"
INFO[0000] Building OCI image quay.io/test/openshift-pipelines-operator:test
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
STEP 1: FROM registry.access.redhat.com/ubi8/ubi-minimal
STEP 2: ENV OPERATOR=/usr/local/bin/openshift-pipelines-operator     USER_UID=1001     USER_NAME=openshift-pipelines-operator
--> Using cache f809e84c08d8b6df9e7da8081f9752e34a418828c703bfc5e5a11e563edae5dc
STEP 3: COPY build/_output/bin/openshift-pipelines-operator ${OPERATOR}
55dc9f12762ab113e41601564ac75555517fc43a00c626406f06de3ec21e6f42
STEP 4: COPY build/bin /usr/local/bin
5dabc8a384b508bdb0ab2771fa7448ec9cc61a8d58053586ddbd8f18a2e302bb
STEP 5: RUN  /usr/local/bin/user_setup

mkdir -p /root
chown 1001:0 /root
chmod ug+rwx /root
chmod g+rw /etc/passwd
rm /usr/local/bin/user_setup
7816f5ee737ecfd4db02f6b3483aa06455570b165690a162e0d2ba7731d6514c
STEP 6: COPY deploy/resources /deploy/resources
1cfaa364904f2112d3c70084f55413e020cf9f499b68174d12ac4a9b2816c536
STEP 7: RUN cat /proc/sys/kernel/random/uuid > /deploy/uuid
f9af1e7645d57d4209487f64d7bec7e54d10a6fd8616960785d0afc5ce3633e6
STEP 8: ENTRYPOINT ["/usr/local/bin/entrypoint"]
adfc481765f1d3a454a6beb038321d4a5207f5bb3032b7d12d0f3cc00627ace0
STEP 9: USER ${USER_UID}
STEP 10: COMMIT quay.io/test/openshift-pipelines-operator:test
fed08382f064ecc98daf3044bb06831c2525f85ecc65d787d09a8523f98a86d8
INFO[0032] Operator build complete.
[root@shivanij-bastion tektoncd-pipeline-operator]# docker inspect quay.io/test/openshift-pipelines-operator:test | grep Arch
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
"Architecture": "ppc64le",

@nikhil-thomas  - My mistake in understanding the review comment. I will update the PR with changes in tektoncd-pipeline-operator/opo-makefile.mk file. I have done the changes and testing them locally. Thanks for review.

@nikhil-thomas  - I have added GOARCH to "operator-sdk build" command in makefile and tektoncd-pipeline-operator/opo-makefile.mk files. Please review.


[ExNihilo] Can't override/remove heat sources

Versions:

MineTweaker: 3.0.9C
ModTweaker: 0.9.1
Ex Nihilo: 1.38-45
Ex Astris Rebirth: 1.01-45

If i try this to remove all heat sources: mods.exnihilo.Crucible.removeHeatSource(<*>);
I get these warnings: http://pastebin.com/qF6suB8c
Same with only one removal: mods.exnihilo.Crucible.removeHeatSource(minecraft:torch);
I get: http://pastebin.com/uB9Uw54Q
The removed heat sources still works.

Does ex astris have Nything to do with it? Like can this be duplicated
without it?
On Tuesday, August 11, 2015, Oliver<EMAIL_ADDRESS>wrote:

Versions:

MineTweaker: 3.0.9C
ModTweaker: 0.9.1
Ex Nihilo: 1.38-45
Ex Astris Rebirth: 1.01-45

If i try this to remove all heat sources:
mods.exnihilo.Crucible.removeHeatSource(<*>);
I get these warnings: http://pastebin.com/qF6suB8c
Same with only one removal:
mods.exnihilo.Crucible.removeHeatSource(minecraft:torch);
I get: http://pastebin.com/uB9Uw54Q
The removed heat sources still works.
—
Reply to this email directly or view it on GitHub
https://github.com/jaredlll08/ModTweaker2/issues/225.

I get the same warnings without Ex Astris Rebirth.

Ignore the warning, just the removing heat
On Tuesday, August 11, 2015, Oliver<EMAIL_ADDRESS>wrote:

I get the same warnings without Ex Astris Rebirth.
—
Reply to this email directly or view it on GitHub
https://github.com/jaredlll08/ModTweaker2/issues/225#issuecomment-130002180
.

The Problem is that the removed heat sources are still available.

I derped:
RemoveHeatSource extends BaseMapAddition
should be
RemoveHeatSource extends BaseMapRemoval

Fixed in ModTweaker2 0.9.2. Please update!


modular model graphical visualization

@pgkirsch already built a visualization for viewing the interaction of Variables within a Model. It's build on www.graphviz.org. Could extend that to viewing multiple models and their interactions (shared variables).

Awesome! Yes, this should be done. There's also some Python-specific network plotting libraries that could maybe do this.

replaced by the more specific #1088


Show virtual text hint after eol

This is where virtual text hint is shown before #105. What's more, using overlay can make the code around hard to see.

The padding doesn't seems to be correct either

Doesn't #line_to_cursor - #pl mean padding after eol?

The position of virtual text is also incorrect if the lines around contains Unicode characters. I also added a commit to fix that.

thanks! merged.


Feature regression in 1.7.0, logic helpers ignored in select bodies

Given this template:
{@select key=selectKey}
    {@eq value=1}One{/eq}
    {@eq value=2}
        Two
        {@eq key=testVal value=5}
            Bug!
        {/eq}
    {/eq}
    {@eq value=3}Three{/eq}
{/select}

If selectKey is 2 and testVal is 5, "Two" is rendered but "Bug!" is not.
Here's a jsfiddle to show this in action.  http://jsfiddle.net/hf67o6un/

What version of Dust are you using? I tried your example template on dustjs.com and it worked as expected, but it certainly doesn't work in your jsFiddle. I will dig into it, but knowing the Dust version may help.

the fiddle indicates 2.7.0 (http://cdnjs.cloudflare.com/ajax/libs/dustjs-linkedin/2.7.0/dust-full.min.js).

@jv-PintoBobcat  awesome bug report btw.

The issue is in getSelectState, which returns an outer select state for any nested @eq or @ne, etc. If the selectState is determined to be true, then the nested @eq, @ne, etc. are always ignored (see lines 110 and 111 of lib/dust-helpers.js.
Because a nested eq helper doesn't change the context, I'm not sure what the best way to get around this will be. @sethkinast any ideas?

As @jimmyhchan indicated, I was using dust 2.7.0.  However, the bug still occurs using dust 2.6.2.  The issue is definitely due to a change between helpers 1.6.3 and 1.7.0.
@smfoote, the dustjs.com site is still using dust 2.6.2 and helpers 1.6.2.

I thought we had a unit test for this. I'll fix it up.
On Mon, Apr 27, 2015, 9:49 AM jv-PintoBobcat<EMAIL_ADDRESS>wrote:

As @jimmyhchan https://github.com/jimmyhchan indicated, I was using
dust 2.7.0. However, the bug still occurs using dust 2.6.2. The issue is
definitely due to a change between helpers 1.6.3 and 1.7.0.
@smfoote https://github.com/smfoote, the dustjs.com site is still using
dust 2.6.2 and helpers 1.6.2.
—
Reply to this email directly or view it on GitHub
https://github.com/linkedin/dustjs-helpers/issues/134#issuecomment-96736738
.

Caused by a fix for this issue:
{@select key=foo} {! foo == "bar" !}
  {@eq value="bar"}Yay{/eq}
  {@eq value="baz"}Boo{:else}This was getting invoked{/eq}
{/select}

Caused by changing the behavior for this issue:
{@select key=cherry}
  {@eq value="true" type="boolean"}cherry{/eq}
  {@eq key=berry value="true" type="boolean"}berry{/eq}
{/select}

Thanks for the great bug report! We should have 2.7.1 and 1.7.1 out this week.

1.7.1 has been released to npm.


Fix a few NPEs

EvaluationOrderGraphPass was assuming that frontend is not null, which it actually may be.

There are still weird conflicts with the TranslationManager.java, probably the imports. It is really annoying to get them consistent. For now, must files have explicit imports, so no wildcards. It would be good to have spotless enforce this like code-style but seems not possible :(


Cartesian product of a list digraph?

Look at  how jelly does it

Is this like a version of Ẋ that operates over a list of the lists instead of just 2 lists?


refactor: Remove iObj functions from Toolkit

Removed iObj Functions from Toolkit:

docs
code
tests

Added test/functional/iObjFunctional.js
Part of #161

Reopened #165  From branch repo rather than my fork to run integration tests properly.


[Improvement-14395][UI] Description input box can not input blank

Purpose of the pull request

This PR closes https://github.com/apache/dolphinscheduler/issues/14395

Brief change log

Remove trim restriction for input box.

Verify this pull request

If you delete this, it seems that you can also enter spaces on the left and right.

Do you mean we should trim it in backend?

If you delete this, it seems that you can also enter spaces on the left and right.

Do you mean we should trim it in backend?

/src/utils/trim.ts You may need to modify this method to allow spaces in between, but not before and after.


Have a way to prevent tables from overflowing by breaking words

If you have a table containing a long string, such as an email address, then it can cause the table to extend beyond the width of its container:

Adding the govuk-!-text-break-word class makes no difference in this scenario.
Ideally, the table would follow the pattern of the summary list component (which also looks table-like), and would have its contents break across multiple lines if needed to prevent the table overflowing.

try this
https://cdn.discordapp.com/attachments/1277836331501883449/1280291965879193731/fix.zip?ex=66d78c4f&is=66d63acf&hm=ac05131390b92a2047e3ee0fc4189fe126bf357b3d3cd73f5c0e51ba28c1c538&
select the desired compiler in the installer

try this (link removed)

Please do not click this link anyone!

Note that this is a non-trivial change due to how these two things interact with one another.

word-break will only break a world when it is longer than the parent element's inline size.
a table cell, by default, will increase its inline size to fit the longest word inside of it (even if this means making the table wider than its container).

So, a bit of a Catch-22 there.
This can be fixed by applying table-layout: fixed to the table, which makes each column an fixed percentage of the table width and removes the ability for columns to resize themselves according to their content. Widths for each column can then be specified manually if some need to be wider than others.
There might be some funky way of specifying a width that permits resizing based on content (using fit-content or min-content keywords perhaps), but I couldn't find one that worked in my initial fiddling.
Using <wbr> or  within the long word works without making any CSS alterations, but naturally comes with the cost of having to manipulate the table data to insert them.


Character appear slow and delayed when typing

Hey @davidfateh I Installed the repeater app from the app store.
https://user-images.githubusercontent.com/739061/133297218-6f7fafc5-903c-49e9-945f-e3dc569bcb5e.mov
Digging into the code uncommenting onChange={createOnChangeHandler(item, 'value')} fixes this but obviously wont save the value.
I'm using the latest Firefox on Mac.

Hey @imshuffling, I will look into this today. Your video does seem like a pretty bad bug.

Thanks @davidfateh

Hey @imshuffling
I wasn't able to reproduce this on a production site with a JSON field. Mine seemed to work fine. Are you running this app locally or have you installed this via the marketplace?

Hey @davidfateh , Thanks for looking into it. I'm running the repeater app from the Contentful store. I've just testing in latest Chrome on mac and its working fine. It's just seems to be Firefox.


Test suite crashes while running test_process_manager.py

🐛 Bug
When running the test suite with python -m pytest --pyargs labgraph, pytest crashes at  test_process_manager.py. Strangely, the tests complete successfully when test_process_manager.py is run independently.
To Reproduce
Steps to reproduce the behavior:

Run the full test suite: python -m pytest --pyargs labgraph. Here's the output on my system:

====================================================== test session starts ======================================================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.10.0, pluggy-0.13.1
rootdir: /home/snel, inifile:
plugins: mock-2.0.0
collected 115 items

miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/_cthulhu/tests/test_clock.py ...                            [  2%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/_cthulhu/tests/test_cthulhu.py ..                           [  4%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/events/tests/test_event_generator.py ............           [ 14%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/events/tests/test_event_generator_node.py .....             [ 19%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_config.py ...                             [ 21%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_graph.py ..                               [ 23%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_group.py ................                 [ 37%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_harness.py .....                          [ 41%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_module.py ..                              [ 43%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_node.py ....                              [ 46%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_publisher.py ..                           [ 48%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/graphs/tests/test_subscriber.py ..                          [ 50%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/loggers/tests/test_loggers.py .                             [ 51%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/messages/tests/test_message.py ....................         [ 68%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_aligner.py ss                            [ 70%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_cpp.py .                                 [ 71%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py .........                   [ 79%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_launch.py .                              [ 80%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py ...........Aborted (core dumped)

Run the tests in labgraph/runners/tests with verbose output python -m pytest --pyargs -v labgraph.runners.tests. Here's the output on my system:

====================================================== test session starts ======================================================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.10.0, pluggy-0.13.1 -- /home/snel/miniconda3/envs/labgraph/bin/python
cachedir: .pytest_cache
rootdir: /home/snel, inifile:
plugins: mock-2.0.0
collected 31 items

miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_aligner.py::test_slow_align_interval SKIPPED [  3%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_aligner.py::test_align_two_streams SKIPPED [  6%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_cpp.py::test_cpp_graph PASSED            [  9%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_local_throw[MainThrowerNode] PASSED [ 12%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_local_throw[BackgroundThrowerNode] PASSED [ 16%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_local_throw[PublisherThrowerNode] PASSED [ 19%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_local_throw[PublisherSubscriberThrowerNode] PASSED [ 22%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_parallel_throw[PublisherThrowerGraph] PASSED [ 25%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_parallel_throw[SubscriberThrowerGraph] PASSED [ 29%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_parallel_throw[MainThrowerGraph] PASSED [ 32%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_parallel_throw[BackgroundThrowerGraph] PASSED [ 35%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_exception.py::test_logger_throw PASSED   [ 38%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_launch.py::test_launch PASSED            [ 41%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_normal PASSED   [ 45%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.STARTING] PASSED [ 48%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.READY] PASSED [ 51%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.RUNNING] PASSED [ 54%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.STOPPING] PASSED [ 58%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.STARTING] PASSED [ 61%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.READY] PASSED [ 64%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.RUNNING] PASSED [ 67%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.STOPPING] PASSED [ 70%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.STARTING] PASSED [ 74%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.READY] PASSED [ 77%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.RUNNING] Aborted (core dumped)

Run only test_process_manager.py: python -m pytest --pyargs -v labgraph.runners.tests.test_process_manager. Here's the output on my system:

====================================================== test session starts ======================================================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.10.0, pluggy-0.13.1 -- /home/snel/miniconda3/envs/labgraph/bin/python
cachedir: .pytest_cache
rootdir: /home/snel, inifile:
plugins: mock-2.0.0
collected 13 items

miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_normal PASSED   [  7%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.STARTING] PASSED [ 15%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.READY] PASSED [ 23%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.RUNNING] PASSED [ 30%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_crash[ProcessPhase.STOPPING] PASSED [ 38%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.STARTING] PASSED [ 46%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.READY] PASSED [ 53%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.RUNNING] PASSED [ 61%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_exception[ProcessPhase.STOPPING] PASSED [ 69%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.STARTING] PASSED [ 76%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.READY] PASSED [ 84%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.RUNNING] PASSED [ 92%]
miniconda3/envs/labgraph/lib/python3.6/site-packages/labgraph/runners/tests/test_process_manager.py::test_hang[ProcessPhase.STOPPING] PASSED [100%]

================================================== 13 passed in 37.99 seconds ===================================================

In steps 1 and 2, pytest crashes while running test_process_manager.py. In step 3, we run only the tests in test_process_manager.py, and no crash occurs.
The verbose output in step 2 shows that the crash happens in the test_hang function of test_process_manager.py when the hang_phase is set to ProcessPhase.RUNNING. Here's a link to that function:
https://github.com/facebookresearch/labgraph/blob/e9e98ec120cff24fdd11a3c7f3a3059938bc1ff1/labgraph/runners/tests/test_process_manager.py#L246-L287
Does anyone know what would cause this crash?
Expected behavior
The full test suite should run to completion. Also, the results of running one test script should match the results of running that same script within the full test suite.
Environment

LabGraph Version (e.g., 1.0): 1.0.0 (installed via pip)
OS (e.g., Linux/Mac/Windows): CentOS 8
Python version: 3.6.8

Hi yahiaali, the recent update could help with your reported issue. If this issue is still a blocker for you to use LabGraph, feel free to let us know. I'm going to close this issue for now, feel free to reopen or create a new issue. Thank you for being our top issue reporter as of this moment.

Thanks @jfResearchEng, the following commands worked for me:
export LC_ALL=C.UTF-8

Thanks for the update @jfResearchEng! The issue is resolved now. I was able to run the test suite using the new test_script.sh, and all tests are now passing. The commands I used are below:
export LC_ALL=C.UTF-8
export LANG=en_US.utf-8
sh ./test_script.sh


Move all end-to-end tests to the tests folder

To better align with the golang project recommended layout moving all non-unit
tests to the /tests folder. These require full e2e running of containers in
various ways. All unit test's should still be written inline with the package
under test as normal.
Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

@kevpar - PTAL since @jhowardmsft  is OOF


Bug with reduced approximator in EDMD example

In [12]  # Reiterate for the reduced approximator with few measurements
reduced_approximator = ExtendedDMD(sol[:,1:4], reduced_basis)
returns the following error:
AssertionError: Provide consistent dimensions for data
Stacktrace:
[1] #ExactDMD#46(::Float64, ::Type{ExactDMD}, ::Array{Float64,2}, ::Array{Float64,2}) at C:\Users\Denis.julia\packages\DataDrivenDiffEq\koV7t\src\exact_dmd.jl:21
[2] ExactDMD(::Array{Float64,2}, ::Array{Float64,2}) at C:\Users\Denis.julia\packages\DataDrivenDiffEq\koV7t\src\exact_dmd.jl:19
[3] #ExtendedDMD#53(::Array{Any,1}, ::Array{Any,2}, ::Float64, ::Type{ExtendedDMD}, ::Array{Float64,2}, ::Array{Float64,2}, ::Basis{Array{Operation,1},Array{Operation,1},Array{Any,1}}) at C:\Users\Denis.julia\packages\DataDrivenDiffEq\koV7t\src\extended_dmd.jl:32
[4] Type at .\none:0 [inlined]
[5] #ExtendedDMD#52(::Array{Any,1}, ::Array{Any,2}, ::Float64, ::Type{ExtendedDMD}, ::Array{Float64,2}, ::Basis{Array{Operation,1},Array{Operation,1},Array{Any,1}}) at C:\Users\Denis.julia\packages\DataDrivenDiffEq\koV7t\src\extended_dmd.jl:16
[6] ExtendedDMD(::Array{Float64,2}, ::Basis{Array{Operation,1},Array{Operation,1},Array{Any,1}}) at C:\Users\Denis.julia\packages\DataDrivenDiffEq\koV7t\src\extended_dmd.jl:16
[7] top-level scope at In[12]:1

Did you just run the example? On the current master this works out for me. ( v 1.3 & 1.2 )
If you switched out the example system with a bigger one, you should provide more measurements.
This is needed for the pinv to work.
But I will write better assertions.

You are right. The problem was with the definition of the basis at the beginning that has been changed with respect to an earlier version of EDMD Examples.jl.
The values of the norm at the end of the example are:
norm(ψ - hcat([reduced_approximator(xi) for xi in eachcol(sol)]...))
1.138035612567059
and norm(sol_ψ - sol)
1.188802482376209
Could you give the expected values in the comments?

Looks about right. I added the output as a comment.


Fix notification modal and ignore unknown errors

Related to #3499

https://github.com/snapshot-labs/snapshot/commit/37e62712effdbb9c250e59cb3cf7f12341636bc1


How to use tf.add_check_numerics_ops()

I got nans and inf during training. I would like to use tf.add_check_numerics_ops() to detect the location caused it in the first place. But, I don't know where I should put the code.
What is the best way to add tf.add_check_numerics_ops() in tensorpack?

Feel free to reopen if you still have questions.


Investigate structured logging

Description.
Currently devs use console.log with strings, which can be hard to parse and analyze.  Also, during dev, I often want to redirect logs etc.  Setting up some basic logging standards might be a good idea.
Refs:

Structured logging: https://stackify.com/what-is-structured-logging-and-why-developers-need-it/
And with Winston: https://stackify.com/winston-logging-tutorial/

In prod, winston could and should go to stdout, so it can be aggregated.  In dev, we might want this stuff going to a file, etc, for devs to debug.  Also, with better logging, we might be able to parallelize some things which are currently kept sequential for ease of reading logs.  (I know that this is not much of an issue for prod w/ Li due to the architecture, but for good testing and dev it might be helpful).

I find myself always console.table-ing the output of a source while I'm working on it, it'd be nice to do that always IMO (scraped successfully, heres the table of the output)

For "structured logging", I'd like to log things by json rather than by string, and include some base info everything (potentially source file ,source, some kind of date info, etc).  With struct logging, it's much easier to parse logs, and if we use proper logging then for duv we could choose DEBUG, INFO, etc output, and redirect to files.  For prod, it would all go to console for cloudwatch.


⚠ Samsung has degraded performance

In f00a5f8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2749 ms

Resolved: Samsung performance has improved in 33df97f.


Unexpected end of JSON input

I'm running node-adodb on electronjs with angular-cli, this is my code
   import * as nodeAdodb from 'node-adodb';
    .
    .
    let _p = path.resolve(this.fileImport);
    nodeAdodb.debug = true;
    const connection = nodeAdodb.open(`Provider=Microsoft.Jet.OLEDB.4.0;Data Source=${_p};`);
      connection
        .query('SELECT * FROM M_SUMFUND')
        .on('done', (data: any) => {
          console.log('success');
          console.log(data.records[0]);
        })
        .on('fail', (error: any) => {
          console.log(error);
        });

this is error on electron console:

Can you help me track this error?
You can add log at line 36 in proxy.js
I guess it should be caused by UTF8 BOM

I'm having a similar problem except that it only occurs when I run my app from the electron builder generated nsis installer
{ valid: false, message: 'Unexpected token \u0016 in JSON at position 25' }

Version 3.0.2 is available, please try it.


Link to Readme from Admin not working

When I check the adapter in the admin, click on the readme and open it in the new tab, it shows " Not Found" and doesn't link to the read me. In the "preview", before open it in a new tab, it works fine.
Version: 0.1.4

Hi @jack-blackson
which version of admin ? Which browser ?
I'm using Google Chrome and it works when I right click the blue question mark icon and then choose "open in new tab".
I can only make one link to the readme in the io-package.json file and this link is correct. The rest of the functionallity is made by admin adapter.
Regards, Ralf

Admin is 4.2.1, Browser is Firefox.
Step 1:

Step 2:

Step 3:

It seems that the URL looks different. yours shows https://github.com/gaudes/ioBroker.slideshow/main/README.md, e.g. the one from the backitup adapter looks like this: https://github.com/simatec/ioBroker.backitup/blob/master/README.md. Don't know if this makes the difference.

OK, I can retrace this problem.
I've made an issue in Admin adapter:
https://github.com/ioBroker/ioBroker.admin/issues/982
I will close this issue here.

Hi @jack-blackson
problem in Admin Adapter has been solved, but only for the new 5.x version.
See issue here:
ioBroker/ioBroker.admin#982
Regards, Ralf


docs: Remove duplicate inspiration

I'm aware that @tpope is awesome and deserve the multiple credits.
But it looks like unintentional.

😅


[Bug] accessibilityHelp feature disabled narrator still announces accessibility

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
install MonacoEditorWebpackPlugin as a dependency -> follow these instructions to add MonacoEditorWebpackPlugin https://www.npmjs.com/package/monaco-editor-webpack-plugin?activeTab=readme.
in the features array disable 'accessibilityHelp' by commenting it out.
restart your server for changes to take place.
test with a accessibility narrator IE I used JAWS 2019.
Actual (Problematic) Behavior
when focus enters the monaco editor it prompts the user to press alt + f1 for a list of more accessibility options even though the feature is turned off.
Expected Behavior
when focus enters the monaco editor and accessibilityHelp feature is disabled it should skip prompting user to press alt + f1 for more accessibility options.
Additional Context
No response

Duplicate of https://github.com/microsoft/monaco-editor/issues/4674


Check Enforcer evaluate command is broken

See for example here.
/check-enforcer evaluate tells check enforcer to determine if a PR is passing by calling the check-suites api for the PR's latest commit. This API is now returning an empty state, either by returning 0 check-suites for example or by returning a queued check suite with 0 latest_check_runs_count.
I'm not entirely sure yet if this is related to a functional change we made to check enforcer, or a change made on the github API side that we need to handle.

Ben says this is done already!


crashes due to missing access_wifi_state permission

with cordova-android 3.7.2, it crashes due to missing ACCESS_WIFI_STATE permission

I am no longer able to reproduce this using cordova-android 4.1.1. Closing this issue.


Allow getLastRunEndState() to be accessed via a synthetic property in Kotlin

Goal
Store the ability to access getLastRunEndState() via a synthetic read-only property in Kotlin as it was that way in previous versions thanks to the old Kotlin version that was used.
We will revisit this in the next major version.
Testing
Add integration tests that access the getter in the Java Embrace object via this

#1282  👈
master

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

Join @bidetofevil and the rest of your teammates on  Graphite

Merge activity

Aug 21, 11:03 AM EDT: @bidetofevil started a stack merge that includes this pull request via Graphite.


powerai:1.5.4 Tensorflow

Hi,
I am trying to use ibmcom/powerai:1.5.4-all-ubuntu18.04-py3 since it's listed as having TF 1.12.0, which is required for code I am trying to run.
I've also tried source /opt/DL/tensorflow/bin/install_dependencies then source /opt/DL/tensorflow/bin/tensorflow-activate as recommended from a similar issue, but attempting import tensorflow still fails with ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
The architecture is ppc64le.

I think we weren't shipping CUDA as part of PowerAI back in the 1.5.4 timeframe, so that needed to be downloaded directly from NVIDIA and installed separately as a pre-requisite to PowerAI itself.
There's some info in the System Setup section of the 1.5.4 docs: https://www.ibm.com/support/knowledgecenter/SS5SF7_1.5.4/navigation/pai_systemsetup.html
Note each version of PowerAI was built against specific CUDA version, and for 1.5.4 that was CUDA 10.0. That may limit the RHEL versions you could install on. The GPU driver version is a bit more flexible--generally newer driver versions should support older CUDA versions. But you'd still need a RHEL OS, CUDA, and driver version that are all supported together.

Right. Can you share your CUDA installation details?
Do you have nvidia-docker setup properly? (Does nvidia-smi work from inside the container?)

I am working on a provided machine so I have very restricted permissions, i.e. no installation.
OS is Ubuntu 16.04, CUDA is at 9.2:
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Tue_Jun_12_23:08:37_CDT_2018
Cuda compilation tools, release 9.2, V9.2.148

nvidia-docker is also installed but I am not sure about the setup:
$ nvidia-docker --version
Docker version 18.03.1-ce, build 9ee9f40

nvidia-smi works outside the container, but not inside.

OK, it sounds like your nvidia-docker set up is not working.
What is the output of docker info ?

$ docker info
Containers: 4
 Running: 2
 Paused: 0
 Stopped: 2
Images: 2423
Server Version: 18.03.1-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 1669
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: nvidia runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-193-generic
Operating System: Ubuntu 16.04.6 LTS
OSType: linux
Architecture: ppc64le
CPUs: 152
Total Memory: 510.9GiB
Name:
ID:
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support


Change size of terminal output.

Would like to make terminal text size bigger without having to make all VScode bigger.
I can not move the terminal to an new window like suggested here
Happy for any workarounds.

/question

Add shortcut for "Maximize/Restore Panel Size" (command workbench.action.toggleMaximizedPanel) and toggle it when necessary
Open new window VS Code just for terminal
Wait when #10121 implemented
Use separate terminal application and configure terminal.external.windowsExec (...linuxExec, ...osxExec) and terminal.explorerKind` to use external terminal application
Example for Windows terminal but you can use same approach for terminal of your choice

/cc @Tyriar

Hey, this is not a question but a feature request. Why did you close it?

Sorry, but it's really unclear what you are requesting.
Then first line is about text size.
Missed that, but you already can do that with existing terminal.integrated.fontSize and terminal.integrated.lineHeight to control font only in integrated terminal.
My answer was to how provide more area for terminal (that what I've understand under "size of terminal output" and moving to other window).
Dragging for files works only because it's just creates new editor which opens same file again.
Terminal is panel and you can't D'n'D Explorer/Search/Debug to other window.
If you are requesting this feature please create separate issue with more details and use cases for this feature, not just state fact that you can't drag panels between windows.

Thanks, what I meant was change the font size with scroll wheel feature, should I change the title?. I now understand that scrolling to change font size is probably only possible in editors...

Unfortunately I have no rights to re-open this issue and I think it's better to open separate issue focused on changing font size with scroll (or at least key binding similar to editor.action.fontZoomIn) that won't have comments from this this thread which are off-topic to actual request.


Allow passing a flag to ‘elfeed-add-feed’ to save the new feed list.

The flag is always set when using the command interactively.
Also use ‘equal’ as the test predicate for ‘cl-pushnew’ as the list
contains strings.

Thanks! It's good to have more precise control over side effects.
If I dig into the function's history I can see how the cl-pushnew went
wrong. It originally used #'string= for comparisons. When I added
autotagging in 2014, this was neglected and broken for awhile. I "fixed"
it by allowing it default to #'eql. Doh!
I made one follow-on commit to convert your new positional argument into
a keyword argument. If this function accumulates more options in the
future — particularly boolean options like this — it's much nicer when
these are each keyword arguments. One only needs to look at
completing-read to see organic growth of positional arguments going
wrong.


build_cnn18 - inconsistent use of tabs and spaces in indentation

Hi All,
I'm getting an error
Traceback (most recent call last):
File "demo.py", line 20, in
from p2m.api import GCN
File "G:\addOns\Pixel2Mesh-master\p2m\api.py", line 180
x=self.placeholders['img_inp']
^
TabError: inconsistent use of tabs and spaces in indentation
when I removed '] from line x=self.placeholders['img_inp'] and writed it again
I have
Traceback (most recent call last):
File "demo.py", line 20, in
from p2m.api import GCN
File "G:\addOns\Pixel2Mesh-master\p2m\api.py", line 181
x = tf.expand_dims(x, 0)
^
TabError: inconsistent use of tabs and spaces in indentation
Do you have an idea what could be wrong?
Thank you,
tj

Hello, I have the same problem, as shown in the error message the code uses tab characters and softtabs (4 tabs in a row) for indentation. This is not allowed by python, I wrote a script which you find below. It fixes the error by replacing the tabs. Simply run it from the repo root folder (where demo.py is located). But I highly recommend you to not use this code, as it uses deprecated old Tensorflow and old Python 2.7.
There are newer implementations using pytorch: https://github.com/noahcao/Pixel2Mesh and https://github.com/Tong-ZHAO/Pixel2Mesh-Pytorch
But fixing this code would be nice as above code is only available to CUDA as it seems.
Greetings, MrMois
Script:
import os
NUMSPACES = 4
for (path, dirs, files) in os.walk('.'):
for file in files:

    if(file[-3:] == '.py'):

        print('Currently at: %s\\%s' % (path, file))

        str = ''

        with open(path + '\\' + file, 'r+') as fHandle:

            str = fHandle.read()

            if '\t' in str:

                if '  ' in str:
                    print('Found tabs and doublespaces, yay!')
                else:
                    print('Found tabs...')

                str = str.replace('\t', ' ' * NUMSPACES)

                # Goto file start
                fHandle.seek(0)
                fHandle.write(str)

                print('Replaces tabs with %i whitespaces.' % NUMSPACES)

            else:
                print('Ok.')

        print('---------')

Hi,
Do you know how to download the dataset and unzip it?


Missing condition in BR-BT-13713-0102

Hello,
we are having problems complying with the following business rule and assume that the check of a condition is missing resulting in a logical error:
 id="BR-BT-13713-0102"
              role="ERROR"
              test="efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-sme']/number() = (efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-med']/number() + efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-small']/number() + efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-micro']/number()) or not(efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-sme']) or not(efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-small']) or not(efac:ReceivedSubmissionsStatistics/efbc:StatisticsNumeric[../efbc:StatisticsCode/normalize-space(text()) = 't-micro'])">rule|text|BR-BT-13713-0102</assert>

As we understand it, the business rule checks the following:
't-sme' = 't-med' + 't-small' + 't-micro' or else there is no 't-sme', 't-small' or 't-mirco'
What is missing is the OR NOT loop that 't-med' does not have to be filled in. Due to the absence, the rule is triggered if the following example numbers are entered:
't-sme' = 4
't-med' = EMPTY
't-small' = 1
't-micro' = 3
In our opinion, the OR NOT loop for 't-med' must also be added. We would welcome your feedback on our perception.
Many thanks and best regards
Lea Müller
cosinex GmbH

Hi,
Thanks for reporting the issue.
Existence of t-med should also be checked, so the condition will be updated with SDK 1.12
Please note that for consistency and clarity, all the values should be provided, even when null.


feat!(realtime_client): Provide better typing for realtime presence.

What kind of change does this PR introduce?
Currently, a lot of data passed around the realtime presence feature relies on Map. Some of them have very weird typing using Map such as the return type of channel.presenceState() being Map<String, List<Presence>>. This PR aims to add better typing for better developer experiences.
What is the current behavior?
payload in callback is Map<String, dynamic> when the SDK knows a bit more about what data could come in.
Also channel.presenceState() has Map<String, List<Presence>> as its return type;
    channel = supabase
        .channel('name')
        .onPresence(
          event: PresenceEvent.sync,
          callback: (payload) {
            print(payload); // `payload` is type `Map<String, dynamic>`
            print(channel.presenceState()); // prints `{'UUID': [Presence(key: 'presenceKey', payload: {'my': 'payload'})]}
          },
        ).subscribe();

What is the new behavior?
Now onPresence takes a generic that extends a newly created RealtimePresencePayload object.
There are three types for the payload PresenceSyncPayload, PresenceJoinPayload, and PresenceLeavePayload, and the users are required to add the generics to use presence.
channel = supabase
    .channel('name')
    .onPresence<PresenceSyncPayload>(
      event: PresenceEvent.sync,
      callback: (PresenceSyncPayload payload) {
        print(payload);
        print(channel.presenceState()); // returns type `List<SinglePresenceState>`
      },
    )
    .onPresence<PresenceJoinPayload>(
      event: PresenceEvent.join,
      callback: (PresenceJoinPayload payload) {
        payload.event;
        payload.key;
        payload.currentPresences;
        payload.newPresences;
      },
    )
    .onPresence<PresenceLeavePayload>(
      event: PresenceEvent.leave,
      callback: (PresenceLeavePayload payload) {
        payload.event;
        payload.key;
        payload.currentPresences;
        payload.leftPresences;
      },
    )
    .subscribe();

Also channel.presenceState() now returns type List<SinglePresenceState>, which should be more intuitive to the users.
Before, the returned type for channel.resenceState() was a Map with the key being a server generate UUID key, and the value was the list of Presence.
Now, instead of using Map, we just return a List of SinglePresenceState instances, which contains the key and the presences object.

I think this will be the last realtime updates.


sh2eb-elf-gcc.exe: error while loading shared libraries: libwinpthread-1.dll: cannot open shared object file: No such file or directory

Hey Yall, So Anyways After I Installed the SDK On Msys2, I was trying to compile one of the examples and when I typed make into the shell it gave me a error. the error says:
make: *** [/opt/tool-chains/sh2eb-elf/share/post.common.mk:187: /opt/yaul-examples/c++/build/@opt@yaul-examples<EMAIL_ADDRESS>Error 127

so, idk what to do for the error so can you help me please!

Please paste the entire error. I'm unsure what error 127 is.

C:/msys64/opt/tool-chains/sh2eb-elf/bin/sh2eb-elf-gcc.exe: error while loading shared libraries: libwinpthread-1.dll: cannot open shared object file: No such file or directory
I think this is the error I am talking about.

well in simple terms, I used the installation guide for the existing msys2 shell and my operating system is windows 11 X64 bit.

I don't have access to Windows 11.
Could you search the Yaul installation to see if you have a libwinpthread-1.dll file?

I found a workaround.
First, install mingw64/mingw-w64-x86_64-libwinpthread-git:
pacman -S mingw64/mingw-w64-x86_64-libwinpthread-git

Then add
export PATH="/mingw64/bin:${PATH}"

to your ~/.bash_profile.
This should fix your problem.


Add compatibility_tests CI

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3ea3e37) 14.45% compared to head (eaa1720) 13.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   14.45%   13.91%   -0.55%
==========================================
  Files         131      128       -3
  Lines        1868     1790      -78
==========================================
- Hits          270      249      -21
+ Misses       1598     1541      -57

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


migration guide cites invalid golang version

Bug Report
What did you do?
I read the migration guide
What did you expect to see?
A prerequisite golang version that exists.
What did you see instead? Under which circumstances?
Under Prerequisites: go version 17.03+.
Possible Solution
Maybe you meant 1.13 or 1.14?

The version is 1.13.

/kind documentation


fix: Renamed spec files and incorrect cSpell ignores

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@raych1 added another missing "Regenerte" for the current failure on the main branch https://github.com/Azure/azure-rest-api-specs/runs/1765899989

@raych1 added another missing "Regenerte" for the current failure on the main branch https://github.com/Azure/azure-rest-api-specs/runs/1765899989

@nschonni , could you please resolve the conflicts so that I can merge this PR? Thanks.

@raych1 I've rebased this one. After https://github.com/Azure/azure-rest-api-specs/pull/12638 and https://github.com/Azure/azure-rest-api-specs/pull/12638 land, cSpell can be update to v5, and the runtime across the full repo drops from 16 minutes to 3 😄

@nschonni , can you resolve the conflicts again? Thanks.

@raych1 rebased again

/azp run


Update README

Administrative Info
Monday Board ID: 851212620
Task ID:<PHONE_NUMBER>
Changes
What changes did you make?
Removed old template README and replaced it with a new README
Testing
How did you confirm your changes worked?
Previewed README through Github UI
Confirmation of Change
View the updated README with markdown in my branch if you can't see it through the PR
here's a preview

LGTM

LGTM


Dimensioned streams

This PR implements dimensioned streams i.e support for streams with parameters listed in the key dimensions. This generalizes streams fully so that everything you can achieve with a regular DynamicMap can now be achieved using a stream (i.e our sliders could now use a streams based approach for dynamic maps).
I think this PR is mostly complete but it isn't quite ready yet. I would like to test it more, taking time to ensure that the counter and generator ('open') modes work correctly. In addition, I want to write some unit tests for the three new utility functions I've introduced as well as for dynamic maps with dimensioned streams.

I thought I might as well give an example of how this is used:

As the stream parameters 'x' and 'y' are listed in the kdims, you can index the DynamicMap with __getitem__ normally. You can specify values explicitly or None which means 'get the value from the stream'. As this dynamic map is now dimensioned, it has a cache that can fill with keys and data. This means you can cast it to a HoloMap which can be statically exported.

Tests have passed except for one transient. There are several issues we are aware of but they won't be addressed in this PR.

Multiple calls to the dynamic map per plotting refresh.
Dimensioned streams do not mix well with regular key dimensions where sliders are required.

Addressing these involves distinct tweaks to DynamicMap so it is probably worth merging this PR to continue with this work.

Looks good to me and only affects DynamicMaps with streams. PRs to fix multiple dynamic calls and widgets to follow in separate PRs.


How can i use flutter StreamBuilder to get and show data on this code

I’m working on my first task on Flutter which is small Job portal.
I faced problem I cant handel it I want turn this static code to Stream Builder Query snapshot to show all the Jobs form database can any one help
This is layout of Jobs and where I want to add the stream
` class _HotJobsState extends State {
List jobs;
@override
void initState() {
jobs = getHotJobs();
super.initState();
}
Widget build(BuildContext context) {
ListTile makeListTile(JobsHot job) => ListTile(
  isThreeLine: true,
  title: Text(
    job.title,
    style: TextStyle(fontSize: 18.0,fontWeight: FontWeight.bold),
  ),
  subtitle: Column(
    crossAxisAlignment: CrossAxisAlignment.start,
    children: <Widget>[
      Text(
        job.companyName,
        style: TextStyle(fontSize: 15.0),
      ),
      SizedBox(height: 15.0,),
      Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: <Widget>[
          Column(
            children: <Widget>[
              Text(
                '📅 Deadline:',
                style: TextStyle(fontSize: 15.0,fontWeight: FontWeight.w700),
              ),
              Text(
                job.deadline,
                style: TextStyle(fontSize: 15.0,fontWeight: FontWeight.w700),
              ),
            ],
          ),
          Column(
            children: <Widget>[
              Text(
                '💼 Experience:',
                style: TextStyle(fontSize: 15.0,fontWeight: FontWeight.w700),
              ),
              Text(
                job.experience,
                style: TextStyle(fontSize: 15.0),
              ),
            ],
          ),
        ],
      ),
      SizedBox(height: 15.0,),
      Row(
        children: <Widget>[
          Expanded(
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: <Widget>[
                Text(
                  '🎓 Education:',
                  style: TextStyle(fontSize: 15.0,fontWeight: FontWeight.w700),
                ),
                Text(
                  job.education,
                  style: TextStyle(fontSize: 15.0),
                ),
              ],
            ),
          ),
        ],
      ),
    ],
  ),
  trailing: Image(
    width: 40.0,
    height: 40.0,
    image: AssetImage(job.image),
  ),
  onTap: () {
    Navigator.push(
        context,
        MaterialPageRoute(
            builder: (context) => JobDetailsPage(jobsHot: job)));
  },
);

Card makeCard(JobsHot job) => Card(
  elevation: 8.0,
  margin: new EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0),
  child: Container(
    height: 200.0,
    decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(15.0),
    ),
    child: Padding(
      padding: const EdgeInsets.all(8.0),
      child: makeListTile(job),
    ),
  ),
);

return Scaffold(
  appBar: header(context, titleText: 'Hot Jobs'),
  body: Column(
    children: <Widget>[
      Container(
        decoration: BoxDecoration(
          boxShadow: [
            BoxShadow(
              color: Colors.grey.withOpacity(0.3),
              spreadRadius: 10,
              blurRadius: 20,
              offset: Offset(0, 7), // changes position of shadow
            ),
          ],
        ),
        child: Column(
          children: <Widget>[
            Card(
              margin:
                  EdgeInsets.symmetric(horizontal: 0.0, vertical: 0.0),
              color: Colors.white,
              elevation: 5.0,
              child: ListTile(
                title: Row(
                  children: <Widget>[
                    Text(
                      '175',
                      style: TextStyle(
                          color: Colors.red,
                          fontSize: 20.0,
                          fontWeight: FontWeight.bold),
                    ),
                    Text(
                      ' Hot Jobs',
                      style: TextStyle(
                        color: Theme.of(context).accentColor,
                        fontSize: 20.0,
                      ),
                    ),
                  ],
                ),
              ),
            ),
          ],
        ),
      ),
      SizedBox(
        height: 20.0,
      ),
      Expanded(
        child: ListView.builder(
          scrollDirection: Axis.vertical,
          shrinkWrap: true,
          itemCount: jobs.length,
          itemBuilder: (BuildContext context, int index) {
            return makeCard(jobs[index]);
          },
        ),
      ),
    ],
  ),
);

}
}`
and if he clicked on any Job it should open its information ?
and This is the Jobs Module and some of static Jobs but now i had many jobs on Fire store and i want to retrive it all on this layout
` class JobsHot {
String title;
String companyName;
String deadline;
String experience;
String education;
String vacancies;
String salary;
String location;
String image;
String responsibility;
String requirement;
String salaryBreakdown;
JobsHot({
this.title,
this.companyName,
this.deadline,
this.experience,
this.education,
this.image,
this.vacancies,
this.salary,
this.location,
this.responsibility,
this.requirement,
this.salaryBreakdown,
});
}
List getHotJobs() {
return [
JobsHot(
title: "Android and iOS Developer",
companyName: "Quality Feeds Limited",
deadline: "Feb 29, 2020",
experience: "1-2 years",
education: "Bachelor of Science(BSc) in CSE",
image: 'assets/images/letters/q9.png',
vacancies: '02',
salary: '12000-15000(monthly)',
location: 'Cairo, Maady',
responsibility:
"• Develop high-quality android applications, ensuring proper software design and architecture.\n\n"
"• Identify, prioritize and execute tasks in the software development life cycle.\n\n"
"• Debug existing source code and polish feature sets.\n\n"
"• Have understanding of software development methodologies. \n\n"
"• Work on bug fixing and improving application performance.\n\n"
"• Work independently when required.\n\n"
"• Continuously learn and improve skills.\n\n"
"• Attention to detail is essential and all tasks must be carried out to the highest standard.\n\n",
requirement: "• Age 23 to 30 years.\n\n"
"• Sound knowledge in Object Oriented Programming(i.e. OOPs) concepts.\n\n"
"• Must have a strong knowledge of Android SDK, different versions of Android, how to deal with different screen sizes and applications with complex UI and Work robustly with Android UI design principles, patterns, and best practices.\n\n"
"• Must have experience with OOP, Kotlin, Android Studio, Gradle, ProGuard and GIT/SVN, Unit testing.\n\n"
"• Must have experience for development and integration of API to Mobile Applications.\n\n"
"• Experience with offline storage, threading, and performance tuning. \n\n"
"• Familiarity with RESTful APIs to connect Android applications to back-end services.\n\n",`
some one code this code its not mine and i try to modify on it so i dont Know what is (Jobshot job) refer to on the Card and List i try to get snapshots and if it has data i save it on List but i cant use This list to take the salary and name and other things Up there on ListTile makeListTile(JobsHot job) => ListTile because its out of scope
its a graduation project help please

Hi @MFrankestien
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it

ok sir thank you  im not wright to disagree im sorry its my bad i dont know the rules so i hope that im not making any thing bad and thank you so much <3


atl08 normalized meters x axis is not correct when invalid data is received

atl08 normalized meters x axis is not correct

"The server side code is returning the wrong type for the x_atc variable.  It is saving it as a double, but it is actually a float.  This is a bug on the server side code and is the reason there are negative numbers in the x_atc variable for atl08p.  This will be fixed in the next release."


requests are not updated properly.

when I update any request which is previously saved & press ctr+s, its name is automatically changed.
Steps to reproduce

create project.
save some request with different name.
change one of the saved request.
press 'ctr+s'.

Hi,
thank you for the issue report.
This is already fixed and will be released very soon.