Update POSTGIS_VERSION

Upstream version has moved on, updating.

Do you mind running "make update" to update all the Dockerfiles?
On Fri, Jun 22, 2018, 12:12 DRANK SIZ-XRP<EMAIL_ADDRESS>wrote:

[image: image]
https://user-images.githubusercontent.com/6259/41794835-52105828-7626-11e8-9f11-59fd94dd5da9.png
Upstream version has moved on, updating.
You can view, comment on, or merge this pull request online at:
https://github.com/appropriate/docker-postgis/pull/98
Commit Summary

Update POSTGIS_VERSION

File Changes

M 9.4-2.4/Dockerfile
https://github.com/appropriate/docker-postgis/pull/98/files#diff-0
(2)

Patch Links:

https://github.com/appropriate/docker-postgis/pull/98.patch
https://github.com/appropriate/docker-postgis/pull/98.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/appropriate/docker-postgis/pull/98, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAEqT4gDDqFGe18J9RhPN24PbqPH_k4fks5t_UGqgaJpZM4U0SzE
.

Done! ☑

confirm 2.4.4+dfsg-4.pgdg90+1

Sorry to bug you @tianon, but do you have any idea why we would be seeing this error on the Debian-based images:

/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/postgis.sh
/docker-entrypoint-initdb.d/postgis.sh: 9: /docker-entrypoint-initdb.d/postgis.sh: Bad substitution
failed

Looks like something is off with the $psql variable?
https://github.com/appropriate/docker-postgis/blob/76fee7e/initdb-postgis.sh#L17

I'm going to see if combining the change from @jjmata in #99 into this branch will work. I'm pushing it as a separate branch right now.

That was the error I fixed by simply removing the execute bit, yes!  Glad it came in handy here ...

I should have looked more closely at the commit you referenced, https://github.com/docker-library/postgres/commit/eff90effc6b5578be90bef93d96b3fceb1082a7c
I think the actual problem with $psql may be that it isn't being exported, so it fails when you exec the  script instead of sourcing it. Either that or it has to do with incompatibility between array variables and child processes.

The code in that commit is careful to source files with no execute bit, and fork those that have it.  It worked for me in my fork to just remove the exec bit.


Separate JsNumber and JsDecimal

Currently JsDecimal is just only used for BigInteger and BigDecimal and all the other types Int, Long... extends from theNumberinterface. If we useJsNumberfor theNumber` interface we can reduce a lot of boilerplate without losing compatibility between them.

@nomisRev @raulraja thoughts?

Related to https://github.com/47deg/helios/pull/69#discussion_r288890786
We can also make all the Js numeric models to internal models because we already have a public API on JsNumber which maps each numeric type to its own proper js model

all the Js numeric models to internal models
That is actually what Circe does, and it also drastically simplifies #70.


Feature/expose brick component

Make it possible to access the brick component read from file in other places than just the BrickRuntimeComponent-script.

Wrong place...


speedtest --simple doesn't work

Failed to retrieve list of speedtest.net servers

 !!  speedtest: unhandled ERR via trap, but cleanup finished.

@rubo77 tried it today: $ ./speedtest --simple
which gave correct readings of ping, download, and upload parameters. So most likely the dependency upstream, speedtest.net, was temporarily out of service when you tried.


Re-write documentation, add examples, split into multiple pages

Fixes #18

Coverage remained the same at 98.14% when pulling 2c82a989806885b2a4d509025102f930f7ceb1a2 on astrofrog:rewrite-docs into 4d615778aa2a6047830f2284491a7c3cf860e22d on cdeil:master.

Coverage remained the same at 98.14% when pulling 2c82a989806885b2a4d509025102f930f7ceb1a2 on astrofrog:rewrite-docs into 4d615778aa2a6047830f2284491a7c3cf860e22d on cdeil:master.

Coverage remained the same at 98.14% when pulling edace9373291d949bc0730a4f4023dd2db950b4d on astrofrog:rewrite-docs into 4d615778aa2a6047830f2284491a7c3cf860e22d on cdeil:master.


[FEATURE REQ] Consider adding Azure.Security.KeyVault.Common project to Azure.Security.KeyVault

Is your feature request related to a problem? Please describe.
Common functionality was duplicated across projects when adding version-to-string logic in PR 6915, specifically the GetVersionString method in KeyClientOptions.cs and SecretClientOptions.cs.
Describe the solution you'd like
Consider adding an Azure.Security.KeyValue.Common project to house code that's common across products.
Describe alternatives you've considered
For now, the code was copied across files.
Additional context
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ X] Description Added
[ X] Expected solution specified

We are sharing code via a shared code project. While having a common libraries might help, in this case they introduce another layer of dependency that we should try to avoid.


Fix when running integration test for more than one cluster size

Some global state was changed which broke running the integration tests for multiple cluster sizes (statusCounts was mutated by the testStateTransition function). This PR creates a copy of statusCounts to avoid the mutation of statusCounts.

If I understand it correctly, the prepareWithStatus callback function is called for each cluster size and it's reading and writing to/from the same statusCounts-object? If that is correct: LGTM (besides the two style issues) but please add it as a description of the PR/commit message

That's correct Menno

LGTM but again: please make sure the title and description of the PR and commit describe it a little bit better.

LGTM


Add cophylogeny notebook

To produced the tanglegram. Draft for now as the code could probably do with tidying, but useful to have here as a backup

Updated with latest code

Code now moved to https://github.com/jeromekelleher/sc2ts-paper/pull/1


syncControls() overwrites attributes set from a component internally

Context
We have an input component, which has custom-invalid as an attribute. custom-invalid is controlled from storybook and when set, it sets invalid on the host from the inside and out. We use invalid to determine the styling of the input.
Problem
It appears that when invalid is set, the call to syncControls() in the template function removes the invalid attribute since it's not part of the controls or arguments.
Possible solution
We don't understand the purpose of syncControls() fully and we did a fork and removed that line in getTemplate() which seems to solve our problem. It doesn't seem to cause any other issues with our storybook AFAIK.

That function syncs the attributes with the Storybook controls. If attributes are updated from within the component, it will update the values in the control.
Is the invalid attribute settable or is it a side effect from the custom-invalid attribute being set?


Does project have some plan/milestone, so I can help it to reach to v5?

Hello.
I am using middleman in bunch of my projects and decided to help it.
Is it have some plan/milestone, so I can select tasks and help with them, so project continues to bloom and reach to v5 version?
Thanks

Actually, v5 has been ready to ship for a long time. The big issue is that I, personally, do not have time in my schedule to support a large launch (lots of new tickets, tweets and doc changes). I've been hoping to find time in my schedule to support it, but clearly this has been a very strange year for everyone.
Happy to continue to discuss how we could facilitate a smooth launch.
Post-v5.0, I want to really push the docker support (https://github.com/middleman/middleman-docker) to make it easier for folks to use (getting Ruby on PCs is always difficult).

@tdreyno ok. In this case will try to help with tickets, docs and Docker.

BTW, about docker.
Also possible approach to ship middleman in this same way, as doing vagrant - https://github.com/hashicorp/vagrant . They had the same issue to ship it as gem, because many people don't know how to install Ruby and invalid Ruby also lead to issues. So we can just create packages for different systems.


Feature Request: Disable Auto-Claiming of Drops

Is disabling auto-claim for drops possible? This way I could claim them when I wanted since the game I play activates the perks instantly.

Hello o/
An interesting suggestion. Just curious, which game / campaign does this happen for?

The game in question is Albion Online, if you have an account with only one character (You can have 3 on the same account) it automatically redeems it to that char if you are online at the time it was claimed.

I see. The suggestion is fair, but v16 is already pretty packed on the amount of issues that need to be solved for it, so this will receive a low priority. But I'll add it eventually.

Okay I understand, I'll make a PR myself if I have the time to do so.

I don't see such an option, there are also campaigns that ask you to pick "one of n" claims - with auto claim you can't choose the preferred claim.

there are also campaigns that ask you to pick "one of n" claims - with auto claim you can't choose the preferred claim.

This is the first time I'm hearing about such campaigns. If that's really a new kind of campaign and you'd like me to support it properly, please open a separate issue for it.


Bootstrap placed after all  css files

Is there any way to load bootstrap before all CSS

Solution:
change webpack/common.config.js Line 83
from
    module.exports = merge(development, common);
to
    module.exports = merge(common, development);


[SPARK-37721][PYTHON] Fix SPARK_HOME key error when running PySpark test

What changes were proposed in this pull request?
Replace os.environ["SPARK_HOME"] direct access with _find_spark_home in pyspark testing utils.
Why are the changes needed?
When running PySpark unit test in WSL with PyCharm, all test raise the KeyError: 'SPARK_HOME'
Launching unittests with arguments python -m unittest test_rdd.RDDTests.test_range in /home/yikun/spark/python/pyspark/testsTraceback (most recent call last):
  File "/mnt/d/Program Files/JetBrains/PyCharm 2021.1.3/plugins/python/helpers/pycharm/_jb_unittest_runner.py", line 35, in <module>
    sys.exit(main(argv=args, module=None, testRunner=unittestpy.TeamcityTestRunner, buffer=not JB_DISABLE_BUFFERING))
  File "/usr/lib/python3.8/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.8/unittest/main.py", line 147, in parseArgs
    self.createTests()
  File "/usr/lib/python3.8/unittest/main.py", line 158, in createTests
    self.test = self.testLoader.loadTestsFromNames(self.testNames,
  File "/usr/lib/python3.8/unittest/loader.py", line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.8/unittest/loader.py", line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/yikun/spark/python/pyspark/tests/test_rdd.py", line 37, in <module>
    from pyspark.testing.utils import ReusedPySparkTestCase, SPARK_HOME, QuietTest
  File "/home/yikun/spark/python/pyspark/testing/utils.py", line 47, in <module>
    SPARK_HOME = os.environ["SPARK_HOME"]#_find_spark_home()
  File "/usr/lib/python3.8/os.py", line 675, in __getitem__
    raise KeyError(key) from None
KeyError: 'SPARK_HOME'

We should use _find_spark_home to get SPARK_HOME rather than access os.environ.
Does this PR introduce any user-facing change?
No, test only
How was this patch tested?

UT passed.
Run test in Win WSL.

Test build #146500 has started for PR 34993 at commit 2b1040f.

Test build #146500 has finished for PR 34993 at commit 2b1040f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Maybe let's fix https://github.com/apache/spark/blob/master/python/pyspark/sql/utils.py#L248-L251 too.

Sure, will fix in next commit after confirm https://github.com/apache/spark/pull/34993#discussion_r774325742

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50976/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146500/

Test build #146505 has started for PR 34993 at commit 90648bc.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50976/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50976/

Test build #146505 has finished for PR 34993 at commit 90648bc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50981/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146505/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50981/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50981/

Merged to master.


Build assets which should be served on a subdomain

Hi there,
I would like to use your plugin for the assets of my blog, but i'm having some troubles... I think I've tried everything, but at the end I didn't solve my issue, and start thinking this isn't really my fault, but the plugin doesn't hanlde my use case (that is strange, since imho it's a pretty common use case).
Let's say my blog is example.com.
I would like to load my assets from a third level subdomain, at which in the future a cdn will respond, eg. cdn.example.com.
I'm using the plugin in this way:
<link href='{{ site.cdn_url }}/{% ministamp _assets/index.css css/index.css %}'>

When I build the site I get the following markup
<link href='//cdn.example.com/css/index-abc123.css'>

But the file is created in the wrong path, that is, not in dist/cdn/css/index-abc123.css, but simply  dist/css/index-abc123.css.
In order to make the file be built in the proper folder, I should write
<link href='{{ site.cdn_url }}/{% ministamp _assets/index.css cdn/css/index.css %}'>

But then the markup is not correct. Note that cdn is repeated twice.
<link href='//cdn.example.com/cdn/css/index-abc123.css'>

Since I noted that {% ministamp %} output is the path passed as second parameter, between the other things I've also tried something like (that would have been an acceptable solution for me):
<link href='{{ site.cdn_url }}/{% ministamp _assets/index.css cdn/css/index.css | replace: 'cdn/','/'%}'>

But the filter seems to be ignored. I've also tried to assign {% ministamp %} output to another variable, but still nothing.
Currently to make the plugin suitable for my use case I should move the files to the correct destination manually, that isn't properly great. Am I getting wrong something? Does jekyll-minibundle support this use case?
Anyway, I would like to thank you for your work on this plugin!
Cheers

Hi there,
it's me, again :)
I perhaps come with a solution for my use case, that doesn't require to change the code of this plugin :tada:... so I would like to share, in case someone has the same need.
I use the capture liquid tag to capture the output of ministamp, than use a replace to remove the part of the path I don't need. That's the code:
{% capture stylesheet %}{% ministamp _assets/css/index.css resources/marvinjs/css/index.css %}{% endcapture %}
<link href='{{ site.cdn_url }}{{ stylesheet | replace: 'resources/','/' }}' rel='stylesheet' type='text/css'>

Hi! I'm happy you found a way with the capture Liquid tag! :)
I think I understand your use case, but I'm not sure yet if it falls within the scope of the plugin. Specifically, I'm considering

alternative ways to accomplish the use case (there's at least two: moving the asset file to another directory after generating the site, or using Liquid output capture) vs. their awkwardness,

nice and general enough syntax to express the use case in the plugin, and

implementation complexity.

For the 1st point, Liquid output capture seems fairly ok to me as an alternative. Practically, it just takes an additional line of code in the call site.
For the 2nd point, I was thinking of extending the ministamp tag to take in YAML. For example:
<link href='{{ site.cdn_url }}{% ministamp {source_path: _assets/css/index.css, destination_path: resources/marvinjs/css/index.css, destination_url: /marvinjs/css/index.css} }}' rel='stylesheet' type='text/css'>

That would allow backward compatibility with the old syntax, making this
<link href='/{% ministamp _assets/css/index.css css/index.css }}' type='text/css'>

to be just a shorthand for:
<link href='/{% ministamp {source_path: _assets/css/index.css, destination_path: css/index.css} }}' type='text/css'>

For the 3rd point, I believe the implementation will be pretty straightforward, but there's a quite a lot of places that need to be changed. In addition, if we add the feature to ministamp tag, it should be done for minibundle block, too.
Any thoughts about this? I'll think and play with the code a bit more before deciding what to do.
Unfortunately, I don't have much spare time nowadays, so it will take time for me to reply.

Thanks for having found the time to write a such detailed answer.
I mostly agree with you on every point.
1 - I agree using the capture tag could be considered a fine way to achieve the wanted behaviour (and far way better than moving the file post generation)...
However in this case I feel we should improve a little the documentation, so the next person who has my same use case won't spend as much time as me to find a way out.
Do you think documenting my use case in the project README is valuable? Eventually I could help with a pull request.
2 - I agree that the solution you suggest is probably the best for the vast majority of people using ministamp.
Another possibility I've considered (that breaks backward compatibility) is to change the output of ministamp, to make it only returns the filename with the hash (the only information we don't know a priori).
In this case ministamp should be used as follows
<link href='{{site.cdn}}/css/{% ministamp _assets/css/index.css resources/css/index.css }}' type='text/css'>
<!-- or -->
<link href='/resources/css/{% ministamp _assets/css/index.css resources/css/index.css }}' type='text/css'>

3 - I've tried to understand the working of the plugin, but I haven't gone too far (I am not a rubyst)... so, sorry I can't help with the implementation... however I pretty agree, it shouldn't be too much hard since I don't expect destination_path is used in a lot of places (I may be tremendously wrong 😄 )

I added an example of using Liquid capture block to the readme. Thanks for suggesting it!
So far, I haven't had the chance for drafting the implementation for this use case further. I'll leave the issue open, hoping I'll get an evening or two for this later.

This use case in now supported with the render_baseurl_only option of ministamp tag. For example:
<link href="{{ site.cdn_url }}/marvinjs/css/{% ministamp { source_path: _assets/css/index.css, destination_path: resources/marvinjs/css/index.css, render_basename_only: true } %}" rel="stylesheet">

Available in release 2.2.0.


Update test_core.sh

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master

/platform_tests ref=master


Elance's first use of pb-java

Hello I just wanted to share with you a few changes and refactoring I did on this project.
The most important things are that I removed the IDEA IDE specific files, added the Maven's structure and basic pom.xml, added a small Unit test making use of a mocking driver for service calls.
I was able to build and install this project as a library in my own maven local repo and used it as dependency in my project to being able of creating, uploading files, compile, talk and delete a bot.
I hope you find this useful. Thanks a lot.
Leonardo

I'd also like to say if anyone is having trouble with the Bad Referrer error when trying to access the services from the API, and nothing you're doing is solving it, try adding your external IP address to the referrer list.
To find out what that is in the first place, you can google "check my external IP". This solved the HTTP 401 error I'd been having.

This has been open for four years, so I'm closing it.
Feel free to open a new issue if any of these problems still exist.


HTTP --> HTTPS redirect

Find way to keep browser from automatically blocking location services when initiated with an http connection or default step2020-smallcity.appspot.com

I found a solution to the issue involving modifying the web.xml file under the target folder to allow confidential protocol on the site. Now, I am trying to figure out if this is a change that should be pushed to github or added locally.

The change was pushed.
Other solutions attempted:

Alter the app.yaml file in the target folder such that 'secure: always' is listed under every url entry. This did not work because the app.yaml file gets overridden each time the code is run. The current solution autimatically makes these changes to the default app.yaml yielding the same result.

Investigated SSL certificates on GAE -- I realized that all appspot applications are initiated with an SSL certificate

Other potential alternatives that could have been implemented:

Page redirect via Javascript - the CONFIDENTIAL method in the config document ensures that the underlying connected is secure as opposed to taking the extra step of redirecting the user.


Allow contains() to take a selector

Apologies if this has been brought up before, but would be nice to be able to rewrite:
expect(shallow(
<Foo />
).find('Foo')).toHaveLength(1);

as
expect(shallow(
<Foo />
).contains('Foo')).toBe(true);

expect(shallow(
<Foo />
).containsMatchingElement(<Foo />)).to.equal(true)

Does that work if my element has props?
On Feb 24, 2017 1:13 AM, "Jordan Harband"<EMAIL_ADDRESS>wrote:

expect(shallow().containsMatchingElement()).to.equal(true)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/enzyme/issues/824#issuecomment-282213354, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAiy1vNe8IZWGfatdsTX5WoLxHZRL-I2ks5rfnUSgaJpZM4MKiwB
.

It should :-) try it and see!


a lot of errors during connecting

I followed the build instruction to make XfreeRDP and I have
I5 4670T + AMD R7 250 + 8G for the host (Hyper-V) with remotefx setup correctly
tow cores with 2GB for the virtual machine and all needed scripts installed
but during the connecting session a lot of errors posted on command line screen and sometime it breaks the connection (That's why I could find out). and the experience was very bad, I could barely watch a video even with crap low quality...
the errors are like
[20:16:07:999][2035:2036][ERROR][com.freerdp.codec] - no rects. clip whole session.
[20:16:07:241][2035:2036][ERROR][com.freerdp.codec] - no rects. clip whole session.
........
.............
......................
it runs a lot of, countless, is there anybody faced the same problem and would like to share some tips, many many thanks...

forgot to say the virtual machine runs windows 7 ultimate

@cleric333 could you add the command line you are using?

Could you try this method?
https://github.com/SBoyNumber1/FreeRDP/commit/f8c9f7a486bdbbb951eb2aa4991dbc8e0946592b

I use something like, xfreerdp /u:<IP_ADDRESS> /p:password /f /rfx, nothing special

@cleric333 just to make sure you are connecting directly to the virtualized windows or to hyper-v?

yes I connect directly from client ( Celeron 1037U, 1G, Ubuntu 14 with newest XfreeRDP) to virtuallized windows 7

to make clear
Host: I5 4670T, 8G with windows server 2012 enterprise with Hyper-V and RemoteFX setup
virtual machine: 2 cores with 2G with windows 7 ultimate and RemoteFX graphic card, dxdiag shows all 3D accelerations are OK
client: Celeron 1037U with 1G with Ubuntu 14 and XfreeRDP setup followed build up instruction and works without errors without /rfx

@cleric333 Hmm, looks like some specific settings on your machine cause this. The error message you get tells that the RFX frame from the server does not contain any update regions, therefore it tries to update the whole screen (which can be quite time consuming). Just tried to connect to a Win7 Ultimate machine and I don't get these errors. (used FreeRDP 9101135e522e4023a3975dddd132afb2f6f34fe7)
Can you try, if this also occurs if you add /gfx to the command line?

only /gfx without /rfx?

and I tried raspberry Pi 2, exactly the same problem, it seems the error is from the server end

where should I check for the server end?

@cleric333 both options, /gfx /rfx This enables the GFX channel. As for the server I can not help there :/

SBoyNumber1@f8c9f7a
Unfortunately, it isn't documented.
It seems that server asks to clip whole session when numRects = 0.

By the way, this is documented now, with the latest RDP spec update for Win 10:

[MS-RDPRFX] <IP_ADDRESS>.3 TS_RFX_REGION
numRects (2 bytes): A 16-bit, unsigned integer. Specifies the number of TS_RFX_RECT (section <IP_ADDRESS>.6) structures present in the rects field. If this value is zero, the decoder MUST generate a rectangle with coordinates (0, 0, width, height) that reflects the width and height of the channel's frame (section <IP_ADDRESS>.3).

@ilammy nice! Thanks for the hint I've update the comment in the code and removed the warning. Should be on master once #2852 is merged.
@cleric333 except the "no rects. clip whole session." do you still have other errors?

too many lines of the same errors, I can only find what I reported.
AND
today I have reloaded windows 2008 enterprise, setup remoteFX, used the same client machine with XfreeRDP without any fix, everything went OK, and the experience of using the virtual machine is much much better
AND
I reloaded windows 2012 again, the problem remains

it seems the problem is only for windows 2012

it seems the problem is only for windows 2012 host

Log message no longer on master, closing.
Please reopen if still an issue.


Demo: failed to map another name than /tmp/nfs-provisioner

Hello,
I followed the demo, and it is working fine with mapping the host /tmp/nfs-provisioner.
But If I delete everything and use another folder, /test/nfs, or if I connect /tmp/nfs-provisioner as a nfs share, I got that error below. I couldn't find any way to overcome that... Is that name "/tmp/nfs-provisioner" is harcoded somewhere?
Thank you for your help!
Greg.
18:27 # kubectl describe pvc/nfs
Name:           nfs
Namespace:      default
StorageClass:   example-nfs
Status:         Pending
Volume:
Labels:         <none>
Capacity:
Access Modes:
Events:
  FirstSeen     LastSeen        Count   From                                                                                SubObjectPath   Type            Reason     Message
  ---------     --------        -----   ----                                                                                -------------   --------        ------     -------
  1m            1s              8       {example.com/nfs nfs-provisioner-247359197-fw9fm 4ddcf2e3-dce2-11e6-80a8-02420ae97d05 }                 Warning         ProvisioningFailed  Failed to provision volume with StorageClass "example-nfs": error creating export for volume: error exporting export block
EXPORT
{
        Export_Id = 1;
        Path = /export/pvc-60102205-dce2-11e6-a8ff-064b74000439;
        Pseudo = /export/pvc-60102205-dce2-11e6-a8ff-064b74000439;
        Access_Type = RW;
        Squash = root_id_squash;
        SecType = sys;
        Filesystem_id = 1.1;
        FSAL {
                Name = VFS;
        }
}
: error calling org.ganesha.nfsd.exportmgr.AddExport: 0 export entries in /export/vfs.conf added because (export create, block validation) errors. Details:
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT

  1m    1s      10      {persistentvolume-controller }          Normal  ExternalProvisioning    cannot find provisioner "example.com/nfs", expecting that a volume for the claim is provisioned either manually or via external software

18:30 # kubectl get all
NAME                                 READY     STATUS    RESTARTS   AGE
po/nfs-provisioner-247359197-fw9fm   1/1       Running   0          5m
po/ubuntu                            1/1       Running   1          33m

NAME                  CLUSTER-IP      EXTERNAL-IP   PORT(S)                              AGE
svc/kubernetes        <IP_ADDRESS>      <none>        443/TCP                              1d
svc/nfs-provisioner   <IP_ADDRESS>   <none>        2049/TCP,20048/TCP,111/TCP,111/UDP   5m

NAME                     DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deploy/nfs-provisioner   1         1         1            1           5m

NAME                           DESIRED   CURRENT   READY     AGE
rs/nfs-provisioner-247359197   1         1         1         5m

@gregbkr what is the output of docker info? How about df -T? This error can be caused by the backing filesystem not supporting ganesha exports. /tmp works maybe because it is tmpfs. /tmp/nfs-provisioner is not hardcoded so what you are trying to do, choosing another path, should work.

If docker info shows your storage driver is overlay, can you please try the :latest tag I just pushed and see if that works? i.e. change the spec to say  image: quay.io/kubernetes_incubator/nfs-provisioner:latest
thanks.

Hello and thank you for your quick answer!
Any host folder names is working now with ":latest" version of your code, nice!
But I am still stuck when it is a nfs share. I got a nfs server with export, which I map on node on /mnt/nfs. I created a folder here and gave right  chmod -R 777 /mnt/nfs/prov
Couldn't do   sudo chcon -Rt svirt_sandbox_file_t /mnt/nfs/prov   -> Operation not supported
Then I change in deployment.yml
path: /mnt/nfs/prov
Got the files
total 16
-rw-------. 1 nobody nobody   36 Jan 17 23:27 nfs-provisioner.identity
drwxr-xr-x. 3 nobody nobody 4096 Jan 17 23:27 v4old
drwxr-xr-x. 3 nobody nobody 4096 Jan 17 23:27 v4recov
-rw-------. 1 nobody nobody  627 Jan 17 23:37 vfs.conf

But PVC is pending.
23:28 # kubectl describe pvc/nfs
Name:           nfs
Namespace:      default
StorageClass:   example-nfs
Status:         Pending
Volume:
Labels:         <none>
Capacity:
Access Modes:
Events:
  FirstSeen     LastSeen        Count   From                                                                                SubObjectPath   Type            Reason                  Message
  ---------     --------        -----   ----                                                                                -------------   --------        ------                  -------
  58s           7s              5       {example.com/nfs nfs-provisioner-2633524494-xm7mw 878d2805-dd0c-11e6-ba11-02420ae97d07 }        WarningProvisioningFailed       Failed to provision volume with StorageClass "example-nfs": error creating export for volume: error exporting export block
EXPORT
{
        Export_Id = 1;
        Path = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Pseudo = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Access_Type = RW;
        Squash = no_root_squash;
        SecType = sys;
        Filesystem_id = 1.1;
        FSAL {
                Name = VFS;
        }
}
: error calling org.ganesha.nfsd.exportmgr.AddExport: 0 export entries in /export/vfs.conf added because (export create, block validation) errors. Details:
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT

  58s   5s      12      {persistentvolume-controller }          Normal  ExternalProvisioning    cannot find provisioner "example.com/nfs", expecting that a volume for the claim is provisioned either manually or via external software

kubectl logs po/nfs-provisioner-2633524494-xm7mw
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT
I0117 23:28:06.508442       1 controller.go:797] scheduleOperation[lock-provision-default/nfs[8d30d2bd-dd0c-11e6-a8ff-064b74000439]]
I0117 23:28:06.547492       1 leaderelection.go:157] attempting to acquire leader lease...
I0117 23:28:06.584945       1 leaderelection.go:179] sucessfully acquired lease to provision for pvc default/nfs
I0117 23:28:06.585076       1 controller.go:797] scheduleOperation[provision-default/nfs[8d30d2bd-dd0c-11e6-a8ff-064b74000439]]
I0117 23:28:06.610054       1 provision.go:363] using service SERVICE_NAME=nfs-provisioner cluster IP <IP_ADDRESS> as NFS server IP
E0117 23:28:06.721231       1 controller.go:528] Failed to provision volume for claim "default/nfs" with StorageClass "example-nfs": error creating export for volume: error exporting export block
EXPORT
{
        Export_Id = 1;
        Path = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Pseudo = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Access_Type = RW;
        Squash = no_root_squash;
        SecType = sys;
        Filesystem_id = 1.1;
        FSAL {
                Name = VFS;
        }
}
: error calling org.ganesha.nfsd.exportmgr.AddExport: 0 export entries in /export/vfs.conf added because (export create, block validation) errors. Details:
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT
E0117 23:28:06.721429       1 goroutinemap.go:148] operation for "provision-default/nfs[8d30d2bd-dd0c-11e6-a8ff-064b74000439]" failed with: error creating export for volume: error exporting export block
EXPORT
{
        Export_Id = 1;
        Path = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Pseudo = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Access_Type = RW;
        Squash = no_root_squash;
        SecType = sys;
        Filesystem_id = 1.1;
        FSAL {
                Name = VFS;
        }
}
: error calling org.ganesha.nfsd.exportmgr.AddExport: 0 export entries in /export/vfs.conf added because (export create, block validation) errors. Details:
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT
I0117 23:28:08.628466       1 leaderelection.go:199] stopped trying to renew lease to provision for pvc default/nfs, task failed
I0117 23:28:21.508670       1 controller.go:797] scheduleOperation[provision-default/nfs[8d30d2bd-dd0c-11e6-a8ff-064b74000439]]
I0117 23:28:21.534347       1 provision.go:363] using service SERVICE_NAME=nfs-provisioner cluster IP <IP_ADDRESS> as NFS server IP
E0117 23:28:21.646602       1 controller.go:528] Failed to provision volume for claim "default/nfs" with StorageClass "example-nfs": error creating export for volume: error exporting export block
EXPORT
{
        Export_Id = 1;
        Path = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Pseudo = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Access_Type = RW;
        Squash = no_root_squash;
        SecType = sys;
        Filesystem_id = 1.1;
        FSAL {
                Name = VFS;
        }
}
: error calling org.ganesha.nfsd.exportmgr.AddExport: 0 export entries in /export/vfs.conf added because (export create, block validation) errors. Details:
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT
E0117 23:28:21.647184       1 goroutinemap.go:148] operation for "provision-default/nfs[8d30d2bd-dd0c-11e6-a8ff-064b74000439]" failed with: error creating export for volume: error exporting export block
EXPORT
{
        Export_Id = 1;
        Path = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Pseudo = /export/pvc-8d30d2bd-dd0c-11e6-a8ff-064b74000439;
        Access_Type = RW;
        Squash = no_root_squash;
        SecType = sys;
        Filesystem_id = 1.1;
        FSAL {
                Name = VFS;
        }
}
: error calling org.ganesha.nfsd.exportmgr.AddExport: 0 export entries in /export/vfs.conf added because (export create, block validation) errors. Details:
Config File (/export/vfs.conf:52): 1 validation errors in block FSAL
Config File (/export/vfs.conf:52): Errors processing block (FSAL)
Config File (/export/vfs.conf:43): 1 validation errors in block EXPORT
Config File (/export/vfs.conf:43): Errors found in configuration block EXPORT

sudo docker info
Containers: 48
 Running: 26
 Paused: 0
 Stopped: 22
Images: 21
Server Version: 1.12.3
Storage Driver: overlay
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp selinux
Kernel Version: 4.7.3-coreos-r2
Operating System: Container Linux by CoreOS 1235.6.0 (Ladybug)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.864 GiB
Name: kk-master2
ID: M2QN:PCS6:5FLV:FIG3:VCAA:A2S7:6SGE:P4D5:3VQE:BOLP:LBIL:IKYC
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/18
 <IP_ADDRESS>/8

sudo df -T
Filesystem      Type     1K-blocks     Used Available Use% Mounted on
devtmpfs        devtmpfs   2009512        0   2009512   0% /dev
tmpfs           tmpfs      2025588        0   2025588   0% /dev/shm
tmpfs           tmpfs      2025588     1304   2024284   1% /run
tmpfs           tmpfs      2025588        0   2025588   0% /sys/fs/cgroup
/dev/vda9       ext4       7738244  6183700   1194332  84% /
/dev/vda4       ext4       1007760   639352    316392  67% /usr
tmpfs           tmpfs      2025588        0   2025588   0% /media
/dev/vda1       vfat        130798    72672     58126  56% /boot
/dev/vda6       ext4        110576       84    101320   1% /usr/share/oem
185.19.xx.xx:/ nfs4      30929920 17575552  12065280  60% /mnt/nfs

Thanks for the info. I suspect now the issue is that the export's FSAL block is incorrectly set to VFS when it should be set to PROXY in order to export NFS on top of NFS. This will require some additional changes so I'll let you know when I push a version with this issue fixed

I did a bit more reading and it looks like this isn't possible like I'd hoped. PROXY mode is "only" a proxy to an NFS server, it doesn't give us the ability to make NFS exports of our own on top of the NFS server's existing ones. So there won't be a way to use NFS as the backing storage for /export, I will have to document this limitation. (Plus some better documentation on replacing hostPath with PV/anything, in general)
Note: if you are able & willing to give an nfs-provisioner binary root access to the existing NFS server, it is possible (but not well tested) to run it & let it manipulate shares directly on the server. It's no substitute for a containerized NFS server but in case anyone wants to actually use this feature, it could be improved by suggestions...

Wouldn't it be enough if we mounted NFS to a location and the provisioner just created directories inside that mount point and then re-exported them again? I'm not 100% clear on how the provisioner works but I assumed that would be available. In that case the original NFS server just sees folders in a directory and the k8s NFS server is just re-exporting folders.
I'm probably wrong. Please explain how it works.

No, nfs-ganesha doesn't allow exporting from NFS, here is the line where they specifically filter out NFS mountpoints https://github.com/nfs-ganesha/nfs-ganesha/blob/next/src/FSAL/commonlib.c#L1056 . Kernel NFS appears to have the same limitation, I get does not support NFS export when I try to create an NFS share from an NFS mount point.
I also assumed/hoped this would just work, would be great to be able to take an existing share and partition it into many small usable ones, unfortunate that it doesn't.

So the only option is to publish nfs from a local hostpath (possibly other paths) or give the provisioner access to the existing NFS server. However if you use an NFS appliance I doubt that will work.
Is that correct?

Yes, where "other paths" can include: some other block device k8s has
mounted e.g. a AWS EBS volume, whatever. Basically the limitation as we
know it now is that the filesystem mounted at /export can't be nfs,
overlay, etc., but the conventional ext4, xfs, etc. should be fine.
If you're using an appliance & it has some API for creating volumes, then
you may just have to wait for someone to create a dynamic provisioner
specifically for it, I guess. Something like that would be unlikely to
start as an upstream feature & it's beyond the scope of this provisioner.
For example, I have no idea what the state of netapp's external provisioner
is, but I know it exists...
On Wed, Jan 18, 2017 at 5:47 PM, Justin Garrison<EMAIL_ADDRESS>wrote:

So the only option is to publish nfs from a local hostpath (possibly other
paths) or give the provisioner access to the existing NFS server. However
if you use an NFS appliance I doubt that will work.
Is that correct?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/nfs-provisioner/issues/64#issuecomment-273626761,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMgP-I5SRpnsjPSKjUXMl72iYz9I4mSlks5rTpZ_gaJpZM4LmAW8
.

digging this up again: @gregbkr please follow https://github.com/kubernetes-incubator/external-storage/issues/5 , I think it may be useful

@rothgar too if you are still interested ,in particular see my comment here https://github.com/kubernetes-incubator/external-storage/issues/5#issuecomment-283115985
Basically assuming your nfs server allows you to mount sub-directories of an export without you having to explicitly creating export entries for each subdirectory then it's trivial to get something like this working. please let me know if this is what you guys are looking for still.


Get more info on setup

Cross posted an issue to the module author: https://github.com/expressjs/csurf/issues/216

Ignored replaced with CSURF


Remove TPM 1.2 from install script.

Environment

OS / version: all
Processor architecture: all
TPM Manufacturer: all
Keylime version: master

Description
installer.sh contains a flag to install with 'modern libraries' (which means 2.0), tpm1.2 is deprecated, so this needs removal.

TPM 1.2 stuff has been removed from the installer


Lazy fix hotfix

Why this PR?
This PR reintroduces the lazy loading of TimeSeries and fixes the performance issue when loading data.
Long loading times were caused by calling np.asarray(self._src_data), when accessing big datasets via TimeSeries.data. To support lazy loading of compound datasets, the method fields() was used during the initialization of TimeSeries objects. It returns a wrapper object around the original dataset. However, it does not implement the method __array__(). This caused np.asarray(self._src_data) to iterate over all elements via the __getitem__() method and thus causing long loading times. Also see https://github.com/h5py/h5py/issues/2144.
The quick fix  —until https://github.com/h5py/h5py/issues/2144 might be resolved— was to wrap the dataset in a small class that implements the __array__() method, instead of using the object returned by the fields() method.
I also added additional tests to check the functionality of TimeSeries to test the properties and functions that use the wrapped dataset. For completeness I added similar tests to Continuous and TimeTags.

I wouldn't commit to a hotfix unless it becomes clear we cannot fix it upstream in a reasonable time frame.


feat: improved formatting of image and networks properties

image is shown as full_name instead of name
networks (which is a dict of lists of objects) is flattened to primary IPv4 and primary IPv6 address

A test case or two on server list  would verify these changes.


Make ADT macros to function partial, because in reality it is

Changes the to function in AdtIso from to a PartialFunction. I think this is closer to the truth, as we cannot prove the pattern matches back are exhaustive. Should be backwards compatible as PartialFunctions can always be called as functions.
What do you think?

Sometimes it's not partial though -- it's up to the user -- and this would make the types also partial. I'll see you soon, let's talk then

s/also/always/


Notebook export to HTML needs work

Anything with script doesn't work.
--> we generally need to think of static HTML experience
--> we need a custom notebook convert that loads client-side dependencies
--> we should generate script that can detect there is no session, and not attempt to make calls to the kernel
Styling - converted HTML should be consistent w. authoring experience.

We have a bunch of improvements in this area including the session guard so this may be closeable.


Refactor the IsPublic() and GetPublic() method of pms project manager

Can not get information for project with API GET /projects?$filter=isPublic eq 'true' if no authentication token provided. Using GET /projects?public=ture instead when the API is ready.

Done.


Error: Failed to create library instance: java.lang.InstantiationException: JMSLibrary

Hi,
I would like to use JMSLibrary with robotframework remote server, but I get an error message when trying to fire up the remote server:
$ java org.robotframework.remoteserver.RemoteServer --library JMSLibrary
Error: Failed to create library instance: java.lang.InstantiationException: JMSLibrary
I have remote server and jmslibrary in my classpath and I did build a .jar file for JMSLibrary with maven (I'm rather unexperienced with Java, not sure if this is really necessary). Any idea what I'm doing wrong? I'm using OpenJDK  1.7.0_55 and Maven 2.2.1.
Cheers,
Timo

Hi,
I'm closing the issue. Please reopen again if the problem is still valid.
Best regards,
Ilkka


HHH-13492 : OptimisticLockException after locking, refreshing, and updating an entity

https://hibernate.atlassian.net/browse/HHH-13492
The problem here is that an EntityVerifyVersionProcess is registered with the EntityEntry associated with the entity at the time that the entity is locked.
Later, when the entity is refreshed, that EntityEntry is replaced by a new one in the PersistenceContext. This makes the EntityEntry registered with the EntityVerifyVersionProcess stale.
After the updated entity is pushed to the database by EntityUpdateAction#execute, which calls EntityEntry#postUpdate to update the version in the entity and the current EntityEntry.
Later, when EntityVerifyVersionProcess#doBeforeTransactionCompletion executes using the stale EntityEntry, OptimisticLockException is thrown because the version in the stale EntityEntry does not match the current version.

@sebersole, thanks for reviewing.
If this becomes a performance issue, I suppose {{EntityIncrementVersionProcess}}/{{EntityVerifyVersionProcess}} could be updated somehow when a new {{EntityEntry}} is added.


InvokeWeb-Request -WebSession -AllowInsecureRedirect -MaximumRedirection together wrong number of redirections

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I think the behaviour when we handle the redirects* and use -MaximumRedirection and -WebSession is incorrect.
Each time we handle a redirection the WebSession.MaximumRedirection parameter is reduced by one.
In the example below it goes from 3 to 0.
When we use the web session I would expect the -MaximumRedirection to be 3 in each follow up request, instead WebSession.MaximumRedirection is 0 and stays 0
Test:
Invoke-WebRequest "http://mockbin.org/redirect/300?to=https://mockbin.org/redirect/301?to=http://mockbin.org/redirect/302?to=https://mockbin.org/redirect/303?to=http://mockbin.org/redirect/308?to=https://mockbin.org/status/200" -MaximumRedirection 3 -SessionVariable session -AllowInsecureRedirect
[int]($error[0].Exception.statuscode) #--> 303
$session.MaximumRedirection #--> 0 (i think it should be 3)
Invoke-WebRequest "http://mockbin.org/redirect/300?to=https://mockbin.org/redirect/301?to=http://mockbin.org/redirect/302?to=https://mockbin.org/redirect/303?to=http://mockbin.org/redirect/308?to=https://mockbin.org/status/200" -WebSession $session -AllowInsecureRedirect
# I expect -MaximumRedirection == 3
[int]($error[0].Exception.statuscode) #--> 300
$session.MaximumRedirection #--> 0

If this issue is confirmed, I will fix it in my next PR

We currently handle the redirects in 3 cases -AllowInsecureRedirect (https to http redirect); -PreserveAuthorizationOnRedirect; -PreserveHttpMethodOnRedirect in the other cases HttpClient handles the redirects

Expected behavior
After setting -MaximumRedirection 3 it should remain 3 in the following requests

Actual behavior
It changes

Error details
No response
Environment data
Latest Build
(every build since https://github.com/PowerShell/PowerShell/commit/ca4b6162f49aff1b89fa624a2e059794c740b6cb)

Visuals
No response

I'd check other WebSession properties too.

WebSession.MaximumRedirection is the only WebSession property that changes after beeing set.
https://github.com/PowerShell/PowerShell/blob/0be3eeac38e3065fb4cb7dd49d1c86aee4cb04fc/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/Common/WebRequestPSCmdlet.Common.cs#L1241-L1245


Add if statement to rule file

Is posible to add if statements?
Something similar to this example
alert_subject_args:
  - field_name
alert_text_args:
  - field_name

alert_subject: "{{ if {0} }}  This happen {0} {{else}} something happen {{ end }}"
alert_text: "{{ if {0} }}  This happen {0} {{else}} something happen {{ end }}"

Hi @Qmando any idea about this ?

You can set alert_missing_value to change the default value, instead of "MISSING VALUE".
Other than that, you'll need to use an enhancement to achieve this. https://elastalert.readthedocs.io/en/latest/recipes/adding_enhancements.html

@AxelMonroyX did you find any solution for this?

@AxelMonroyX did you find any solution for this?

I end up using 3 different files to handle this
# SWITCH CASE

# 1rs case
name: Rule 1 case 1
filter:
- query_string:
     query: "field_name:\"value\" AND field_name_2:\"value2\""

# 2nd case
name: Rule 2 case 2
filter:
- query_string:
     query: "field_name:\"value\" AND field_name_3:\"value3\""

# Default
name: Rule 3 Default
filter:
- query_string:
     query: "field_name:\"value\" AND NOT field_name_2:\"value2\" AND NOT field_name_3:\"value3\""


How to build as form with angular components

I want to build an authentication form with angular component and tried as follow:
<form (ngSubmit)="onSubmit()" #loginCtrl="ngForm">

         <material-input type="text"
                        class="login"
                        required
                        floatingLabel
                        label="User"
                        [(ngModel)]="login.user"
                        ngControl="user"
                        #user="ngForm"></material-input>

        <material-input
                class="login"
                type="password"
                floatingLabel label="Password"
                [(ngModel)]="login.password">
        </material-input>

        <material-input
                class="login"
                type="text"
                floatingLabel
                label="Language"
                [(ngModel)]="login.language">
        </material-input>

        <material-button
                type="submit"
                raised
                class="btn-blue">
            Login
        </material-button>

</form>

the function onSubmit does not get triggered at all. What am I doing wrong?
Thanks

Replace (ngSubmit)="onSubmit()" by (submit)="onSubmit().
It should work ;)

Check out this example:
https://github.com/dart-lang/angular2/blob/e7d4c521db77cb9b98ec36f1afbbd66b521586d7/lib/src/common/forms/directives/ng_form.dart#L51

@kostonstyle - if you use regular HTML elements for <input>, <button> etc, do you have the same issue?  See the forms page for more information; it was fully reviewed a few months ago and should be up-to-date concerning plain angular forms.
If your app works for plain angular form elements, then maybe the issue is with angular components? Much has changed since this issue was open. It may be worth trying your app over angular 3.0.0-beta and the latest angular components.
Either way, @matanlurey I suggest closing this PR.
If there still is an problem, then an issue should either be open over angular components or dart-lang/site-webdev requesting an example of forms using angular components.


Process default values with type

Example of usage
import typing
from apistar import typesystem, environment

class Database(typing.NamedTuple):
    HOST: str
    PORT: int
    USER: str
    PASSWORD: str
    NAME: str

class DSN(typesystem.String):
    def __new__(cls, *args, **kwargs):
        value = super().__new__(cls, *args, **kwargs)
        # Parse DSN value
        return Database(host, port, user, password, name)

Next I define Environment
class Env(environment.Environment):
    properties = {
        'DATABASE': typesystem.newtype(DSN, default='postgresql://scott:tiger@localhost/test')
    }

env = Env()
print(env['DATABASE'])

Current result if no environment variable passed is:
postgresql://scott:tiger@localhost/test
Expected by me:
Database(HOST='localhost', PORT=5432, USER='scott', PASSWORD='tiger', NAME='test')
Of course, I can use next definition
typesystem.newtype(DSN, default=DSN('postgresql://scott:tiger@localhost/test'))

OR
typesystem.newtype(DSN, default=Database('localhost', 5432, 'scott', 'tiger', 'test'))

But I think, that my variant is better. What do you think?

You can run scripts/lint and scripts/test  to see what causes the Travis build to fail :wink:

It will work when #345 will be merged

Resolved in #400 (See https://discuss.apistar.org/t/a-peek-at-the-upcoming-version/412 for a bit of info on how the new types look, and an example including default=...)


[terra-date-time-picker] Allow programmatically updating the value of DateTimePicker

Feature Request
Description
There is currently no first-class support for programmatically setting the value of a DateTimePicker. The common workaround of setting a key prop to force a re-mount breaks the blur/focus functionality to switch the user between fields and introduces a console error.
@ Mentions
@benbcai

Due to the fact that date-time-picker currently can only be used as an uncontrolled component, its value prop behaves like a defaultValue prop where it is used only as the default value in the initial render. To make this passive, we would need to introduce a new prop (e.g. controlledValue) that can be used by consumers to update the date/time value. Either only the value or the new controlledValue prop should be used during the entire life cycle of the component. Both cannot be used together.
The main changes include:

Whenever the new controlledValue prop is used, the internal state (this.state.dateTime) and variables (this.dateValue and this.TimeValue) must be updated, potentially in getDerivedStateFromProps, every time this prop changes. It would be the consumer’s responsibility to manage this value by handling the onChange and onChangeRaw callbacks.
Every time the new controlledValue prop is changed, it is required to check if the updated value is ambiguous. If it is ambiguous, we need functional feedback on when the ambiguous dialog should be displayed. Would it be too disruptive to display it immediately in componentDidUpdate? Should it wait and be displayed if and when focus is lost? What happens if the component does not gain focus again?
Some tweaks are needed to ensure that the date and the time remain synchronized if using the controlledValue prop.

In our case, we are in an errored state where the user attempted to save modifications to a form but there was a stale data error. We present them with an option to refresh the form with the currently saved data:

When updating the controlled value, we would expect it to display the same as if it was the initial value passed in - no ambiguous dialog because it's loading a saved value.
To clarify on the console error received when using the key workaround - this is what's thrown:

This is likely caused because "this" no longer exists after forcing a re-mount of the component. The side-effect of this error is that the time field is not automatically focused after selecting a date.

Whenever the new controlledValue prop is used, the internal state (this.state.dateTime) and variables (this.dateValue and this.TimeValue) must be updated, potentially in getDerivedStateFromProps, every time this prop changes. It would be the consumer’s responsibility to manage this value by handling the onChange and onChangeRaw callbacks.

Is there a reason this can't be simplified for consumers to have a single callback that returns the ISO-8601 of the combined date + time fields?

This is likely caused because "this" no longer exists after forcing a re-mount of the component. The side-effect of this error is that the time field is not automatically focused after selecting a date.

Yes, this error is coming from here where it no longer has the reference to hourInput after the timeout due to the remount.

After reviewing this with the Terra team, it was decided that we will fix the above error/bug that is caused when a remount occurs. A new enhancement issue will be logged to investigate how best to address the original request to allow updating the date/time value.


Webpack 5 dev server doesn't show detail error in overlay

Bug report
the dev server doesn't show detail error in overlay in webpack 5

What is the current behavior?
the overlay message doesn't show the compiler error, maybe the error scheme change in webpack 5?

If the current behavior is a bug, please provide the steps to reproduce.
git clone https://github.com/cvgellhorn/webpack-boilerplate
vi webpack.dev.js # add overlay in devServer
npm run dev

What is the expected behavior?
show the detail error like webpack4

Other relevant information:
webpack version:  5.2.0
Node.js version:  14.8.0
Operating System:  mac os 10.14.6
Additional tools: npm v6

No problems in webpack


gofmt 1.20 updates (style-only changes)

Signed-off-by: Jay Pipes<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/lgtm


Dragging windows feels low frame rate on 120Hz 2.8K display

I have picom running

By "dragging" you mean moving a window around or moving a detached title bar in a drag-and-drop motion?

moving a window around

yep can reproduce lol. the default 'redraw' rate is 64.

You can make it smoother by using my PR above or by changing the MOVETIME and RESIZETIME macros in shod.h. At 120hz you'd want to use a value of 8 if you want it as smooth as possible.


[Rule] Test case without keyword

Test case without keyword yields FAIL in RF. This might not be desired. So users should be guided to use a keyword or set the desired result by PASS, FAIL or SKIP keyword.
*** Test Cases ***
I Just Have TC Idea
    [Documentation]  Test design on high level ongoing. No Keywords.

This fails in RF, but maybe Robocop could warn/info something like Test contains no keywords will FAIL, use a keyword or explicitly set result using PASS, SKIP or FAIL keywords.
*** Test Cases ***
I Just Have TC Idea
    [Documentation]  Test design on high level ongoing.
    SKIP    Just an idea.

I see that we have too-few-calls-in-keyword but we don't have an equivalent for the test case. Since it fails in RF it probably should have a severity Error with aforementioned message why (that we cannot have empty test cases).
An alternative method to PASS/SKIP/FAIL is using the No Operation keyword (it's like pass in python) but suggesting SKIP is probably the best since it's then marked in the log as skipped.


Correction for raw affiliation AMAP, University of Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France; CNRS UMR7618, Sorbonne University, Institute of Ecology and Environmental Sciences Paris, Paris, France

Correction needed for raw affiliation AMAP, University of Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France; CNRS UMR7618, Sorbonne University, Institute of Ecology and Environmental Sciences Paris, Paris, France
raw_affiliation_name: AMAP, University of Montpellier, CIRAD, CNRS, INRAE, IRD, Montpellier, France; CNRS UMR7618, Sorbonne University, Institute of Ecology and Environmental Sciences Paris, Paris, France
new_rors: 051escj72;05kpkpg04;05q3vnk25;003vg9w96;02feahw73;02s56xp85;02en5vm52;020nks034
previous_rors: 051escj72;05kpkpg04;05q3vnk25;003vg9w96;02feahw73;02s56xp85;02en5vm52
works_examples: W4401275375
contact: e0e424049381a5605160d706dcb3f5e3:80b43586d4b227e329a251caecc9e87849d9 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Want to change the skills page

Want to change the skills page by adding new skills and changing the percentage

Can I work on this?

@Tomiloba2 sure


AWS_SESSION_TOKEN renewal

The following code is used when creating the environment for a NextJs app.
https://github.com/sst/ion/blob/b7f18f1495b6e485705b8eb4643be176f354db8e/pkg/server/server.go#L224-L229
When creating an AWS SDK client for use in a route handler, it picks up the AWS_SESSION_TOKEN which is a temporary credential that appears to have an expiry of 1 hour.  This means that the server can only be 'up' for one hour before the client instance can no longer be used.   Given that the credentials are always being picked up from the environment, there isn't a way to refresh the session token.
I've struggled to find any definitive answer on how to go about token creation.  Are there any recommendations on how to approach this?

The above code is preceeded by AssumeRole to get the token, but that requires the function's RoleArn to be passed in the environment (to be able to do renewal in the route handler).  Interestingly, as best as I can see, when the Function is prepared there is no role (the server transform the function props but the role is undefined) and NextJs doesn't expose a 'role' transform.

the assume role call can probably specify a longer duration - i'll fix

I think this is something that should be handled within the nextjs app.  On a busy site where the function is constantly 'up', the client connection will need refreshing, and endpoint rediscovery is part of that.
I'm not actually clear how the credential provision works, AWS seem to have little guidance, maybe because most Lambda's will cold start often enough for it not to be a problem.
I also wonder if this is actually only a problem on the dev server, as the Go code I presume is part of the proxying.

this issue should not happen in production - aws will always restart the lambda container before the token expiresit may happen in your dev server though

for sst dev <target> in 0.0.343 it's been upped to 12 hours


(custom layers implementation) Traffic Light Detection

Hi everyone,
I was trying to understand the neural network Traffic Light Detection in the Perception module.
Reading its prototxt file, i found the custom RCNNProposal and DFMBPSROIAlign layers.
Could someone explain me how they work or load the code that implemented them?
Thanks in advance.

@JerrySciangula We have uploaded TensorRT implementation for custom plugins of traffic light detection in recent master code.
You can check this: https://github.com/ApolloAuto/apollo/commit/a916d039779127b2b15cb252e5fbc6e022624be2 .

@JerrySciangula We have uploaded TensorRT implementation for custom plugins of traffic light detection in recent master code.
You can check this: https://github.com/ApolloAuto/apollo/commit/a916d039779127b2b15cb252e5fbc6e022624be2 .

@jeroldchen Is it possible to use this TensorRT plugin to write python code for traffic signal detection?


Empty commit for testing

Motivation

Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_M0iWkQhUKTvH7y
→ https://go/builds/bui_M0iXmIEQ2FKfag

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_M0jTFV8piILT1p
→ https://go/builds/bui_M0jT70bwczGa2E

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_M0kBY4drBlNWyl
→ https://go/builds/bui_M0kBHt8Er5U2CL


Feature/exhaustive matching

:weary: :briefcase: matching
more logical section ordering

@taylorleese check the first bullet again. also merged from develop.

:shipit:


setting zoom not working

I just wanna set the default zoom of page and write the element like this
<PDFViewer :source="url" class="w-full h-full" @download="handleDownload(url)" :settings="{ defaultZoom:175 }" />
but noting happend

Estou com o mesmo problema, conseguiu resolver ?

Hello Dear,
I have Fixed this issue.

const pdfViewer = ref('');
watch(() => pdfViewer.value, () => {
pdfViewer.value.zoom = 175;
}, { deep: true });
Here, i'm using the watch function to watch changes to the pdfViewer ref's value. Whenever the value changes, the second function is triggered. In this case, it sets the zoom property of the pdfViewer component to 175.
The deep: true option means that it's a deep watcher, which will trigger the callback even if the properties within the pdfViewer object change.

In which part of the application should I incorporate this solution to fix the problem?

on the page where you are using this component

if you need more. you can share you code here

@khalidzaibi   your fix did not work, it locks it at 175.  Here is a fix that works for first load and subsequent changes:

<pdf-viewer
        ref="pdfViewer"
 </pdf-viewer>

async mounted() {
    //wait for DOM to finish rendering
    await this.$nextTick();

    //workaround to fix default zoom setting not working
    const pdfViewer = this.$refs.pdfViewer;
    this.$watch(() => pdfViewer.zoom, () => {
      const zoom = pdfViewer.zoom;
      pdfViewer.zoom = zoom;
    }, { deep: true });

    //now change the setting
    pdfViewer.zoom = 175;
  },


Unable to get javavi to compile

Actual behavior (Required!)
Whenever a .java file is opened errors persist to pop-up in the terminal (will post them in the Q&A). I do have JDK 8 and previous plug-ins work normally.
Expected behavior (Required!)
Excepted javavi to compile and the plugin to work normally
The steps to reproduce actual behavior (Required!)

Open a .java file with vim

Environment (Required!)

OS: Linux Mint
Vim version: 7.4

Q&A

Yes, I tried minimal .vimrc configuraion.
Yes, I have enabled logs with JCdebugEnableLogs and can put here content of JCdebugGetLogContent command, if you need.
Even, if you wish, I can set g:JavaComplete_JavaviDebug to 1, than set g:JavaComplete_JavaviLogfileDirectory, and put here server logs, too.

Screenshot (Optional)
The output of :redir and :message (Optional)
Error detected while processing function <SNR>44_JobVimOnCallbackHandler[3]..javacomplete#server#CheckServerAccordance: line   12: E121: Undefined variable: s:serverVersionOutput E116: Invalid arguments for function extend

Hm, that's strange. What exactly vim version you have? And you may be you should try to upgrade it.

I also got the same exact output, used to work fine until I recently updated the plugin. My last revision before the update was 8d0ed91, if I have time I might be able to bisect and see what changed.
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
Included patches: 1-1689
Extra patches: 8.0.0056
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version with X11-Athena GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +tag_binary
+arabic          +file_in_path    +mouse_sgr       +tag_old_static
+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
+balloon_eval    +float           +mouse_urxvt     +tcl
+browse          +folding         +mouse_xterm     +terminfo
++builtin_terms  -footer          +multi_byte      +termresponse
+byte_offset     +fork()          +multi_lang      +textobjects
+channel         +gettext         -mzscheme        +timers
+cindent         -hangul_input    +netbeans_intg   +title
+clientserver    +iconv           +packages        +toolbar
+clipboard       +insert_expand   +path_extra      +user_commands
+cmdline_compl   +job             +perl            +vertsplit
+cmdline_hist    +jumplist        +persistent_undo +virtualedit
+cmdline_info    +keymap          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python          +vreplace
+cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con_gui  +lua             +rightleft       +writebackup
+diff            +menu            +ruby            +X11
+digraphs        +mksession       +scrollbind      +xfontset
-dnd             +modify_fname    +signs           +xim
-ebcdic          +mouse           +smartindent     +xsmp_interact
+emacs_tags      +mouseshape      +startuptime     +xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        +mouse_gpm       -sun_workshop    +xpm
+extra_search    -mouse_jsbterm   +syntax
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm```

Hi, sorry for long reply. I suggest you to update vim, before we move further. Here is my vim version:
~ » vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 29 2016 16:19:45)
Заплатки: 1-104


query and delete wishlist

add bdd test for deleting a wishlist
add bdd test for query a wishlist by user_id

IBM Cloud toolchain: Delivery Pipeline deployed wishlists to prod, including commit 25681aababce046d8f5339f9f53fc3f1bb3f4c29


[Windows] Flutter does not render any GUI and shows black window instead

3 years ago i created this issue: https://github.com/flutter/flutter/issues/89583. It was only relevant for Windows 7/8 users. However, since the last flutter stable update, i can see that this problem is present on Windows 10/11 users.
UI Is not rendered, however, all the buttons are clickable (cursor changes when you hover button's location and if you add some winapi messagebox, it appears on the screen).
I have no idea how to debug this since this issue is present on small amount of PCs and i myself do not face this problem. Any ideas on debugging on PC without flutter?

I tried to fix this with d3dcompiler_47.dll (that helped on Windows 7), but it does not help anymore.

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Material App Bar'),
        ),
        body: Center(
          child: Container(
            child: Text('Hello World'),
          ),
        ),
      ),
    );
  }
}

So i managed to download flutter to that PC and here is flutter run --verbose result:

What is Flutter version you installed on that machine? Can you share the output of flutter doctor -v?
Also, can you check hardware information of that device? (processor, graphics card) and also some experimental settings for  monitor/display as well.

So i managed to download flutter to that PC and here is flutter run --verbose result:

What is Flutter version you installed on that machine? Can you share the output of flutter doctor -v?
Also, can you check hardware information of that device? (processor, graphics card) and also some experimental settings for monitor/display as well.

The latest stable version from website, as for hardware, I sent it in the initial message inside the screenshots

I can't reproduce this on my Windows 10 machine. Will label this for other's insights.

Replace your void main() code with below code
void main() async {

  await windowManager.ensureInitialized();

  WindowOptions windowOptions = const WindowOptions(
    maximumSize: Size(400, 500),
    minimumSize: Size(400, 500),
    size: Size(400, 500),
    center: true,
    backgroundColor: Colors.blue,
    skipTaskbar: false,
    titleBarStyle: TitleBarStyle.normal,
  );
  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });

You sure this is native Flutter code?

Replace your void main() code with below code
void main() async {

  await windowManager.ensureInitialized();

  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });
}

You sure this is native Flutter code? If this is a package, why would i add a package to my project?

Replace your void main() code with below code
void main() async {

  await windowManager.ensureInitialized();

  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });
}

add https://pub.dev/packages/window_manager

You sure this is native Flutter code? If this is a package, why would i add a package to my project?

Replace your void main() code with below code
void main() async {

  await windowManager.ensureInitialized();

  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });
}

add https://pub.dev/packages/window_manager

I don't think i need some package, there is some problem inside the SDK that we need to debug deeper and fix it

You sure this is native Flutter code? If this is a package, why would i add a package to my project?

Replace your void main() code with below code
void main() async {

  await windowManager.ensureInitialized();

  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });
}

add https://pub.dev/packages/window_manager

I don't think i need some package, there is some problem inside the SDK that we need to debug deeper and fix it

Sample code you have provided is working fine on my system and recently i have made windows app using flutter which is working fine on 600+ systems .
Try  adding WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
though it might be an issue, team will look after it :)

You sure this is native Flutter code? If this is a package, why would i add a package to my project?

Replace your void main() code with below code
void main() async {

  await windowManager.ensureInitialized();

  windowManager.waitUntilReadyToShow(windowOptions, () async {
    await windowManager.show();
    await windowManager.focus();
  });
}

add https://pub.dev/packages/window_manager

I don't think i need some package, there is some problem inside the SDK that we need to debug deeper and fix it

Sample code you have provided is working fine on my system and recently i have made windows app using flutter which is working fine on 600+ systems .
Try adding WidgetsBinding widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
though it might be an issue, team will look after it :)

I have an with ~40000 daily users, for major amount of users the app is working, but not for everyone. Please, do not reply with such advices. I already reported the error from the console

Hi, I have the same problem.
3.19 works in all machines, but in 3.22.2, a few Windows PCs show black screen, just as shown in the screenshots already posted.
I don't have many clients, but it's happening in 4 machines of different clientes with different windows version.
Right now I will try downgrading back to 3.19.

I have tested after the downgrade and worked. I created a basic flutter counter project on 3.22.2 stable and I has the same black screen error on the same machines.

What i see in common, is "old/limited hardware".
Apparently, it could be related to the lack of Vulkan support in the hardware, i'm not sure.
In my case, it works with "not too old 2016" hardware RX 380, but doesn't in an old Nvidia FX 1800.
I have not been able to find some "clear" information about the graphics API requirements (my fail probably) in the docs, but, in the README of the Impeller engine, there are references to Vulkan/Open GL ES 2.0.

Hi,
It is related to the old PCs. (Core 2 due CPUs).
Several clients reported this problem.
This problem has occured since version 3.22 .

Hello guys, yes, the latest flutter version 3.22 throws
Flutter run by flutter_windows_3.22.6-stable but show Fatal GL Error GL_INVALID_VALUE(1281)
on low end pcs (tried on core 2 duo pcs ) so this version not an optimal choice for desktop development future. I checked and 3.19 is the last version that works fine for windows development now but for how long? Core 2 duo holds strong market globally and still the common choice. In the name of improvement, the flutter team just thrown a blocking update and that makes impossible to support low end devices. Hope they will soon solve it.

Same problem here. We released a Windows app version 4 hours ago, upgrading flutter version from 3.19.6 to 3.22.2, and 5 end users already contacted us about these black screen problems, all of them using old cpus (Pentium P6100, Core 2 Duo).

Don't use 3.22, 3.19 is good enough for now. Maybe they will solve this problem in next releases. Otherwise its best to migrate to other framework for desktop development due to lack of support in flutter for old devices.  Sadly flutter team doesnot consider this issue as serious as this github issue contains more complaints than any responsible reply from team .

If you are experiencing this issue and can easily reproduce it locally, could you try the 3.24 beta. This contains a fix for windows rendering with the software backend. I do not know if that will fix this problem but it will help us narrow down the issue if you report back success/failure.

In my case, same  GL_INVALID_VALUE error with 3.24.0-0.1.pre.
It would be useful to know the hardware requirements to run the Inpeller engine on PC.
Graphic hardware: Nvidia FX1800 (no opencl, directml, cuda or vulkan, only opengl 3.3) with latest drivers available 342.01.
[FATAL:..\flutter/impeller/renderer/backend/gles/proc_table_gles.h(39)] Fatal GL Error GL_INVALID_VALUE(1281) encountered on call to glTexImage2D

It would be useful to know the hardware requirements to run the Inpeller engine on PC.

There are no requirements at this point because Impeller is not available on windows.

Ups, my fault, sorry.
I think its actually some confusing.
Maybe, something was broken at some point.
Issue Fix Windows support
Actually, I'm not very positive if the GL error is related to the black screen.
My knowledge about the rendering engine is none, so, I will stop adding noise.
Debug it is too complicated for me.
Let me know if I can test it in any other way to add more info to the developers.
Thank you.

Hello everyone, could you try running these counter apps and telling us if they are still affected by the problem?

Name
Test app
Notes

no_compositor
Download
This rolls back rendering changes we did for multi-window and platform views. If this reproduces the issue, the rendering changes we did is the problem.Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_no_compositor

force_software
Download
This forces the app to use the software backend. If this reproduces the issue, the software backend is the problem.Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_software_backend

Thank you for the help, we very much appreciate it!

Hi!!
Both apps work correctly.
Thank you.

Hello everyone, could you try running these counter apps and telling us if they are still affected by the problem?
Name	Test app	Notes
no_compositor Download	This rolls back rendering changes we did for multi-window and platform views. If this fixes the issue, the rendering changes we did is the problem.
Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_no_compositor
force_software Download	This forces the app to use the software backend. If this reproduces the issue, the software backend is the problem.
Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_software_backend
Thank you for the help, we very much appreciate it!

no_compositor not working, force_software works when GPU is not functioning.

Hi, everyone, I have changed GL_RGBA8 to GL_RGBA in flutter/engine/shell/platform/windows/compositor_opengl.cc#L61C8-L61C18. This change helped resolve the issue for me. You can run this counter app to test if the problem is resolved:
http://dldir1.qq.com/wework/work_weixin/test/counter.zip

@AlejandroGrana and @JiaoLiu could you try both the baseline and rgba_internal_format variants above and let me know the results?

Hi.
The baseline shows a black window.
The rgba_internal_format works normally.
GL_INVALID_VALUE error is not reported on any variant.
Thanks!!

Hi, everyone, I have changed GL_RGBA8 to GL_RGBA in flutter/engine/shell/platform/windows/compositor_opengl.cc#L61C8-L61C18. This change helped resolve the issue for me. You can run this counter app to test if the problem is resolved:
http://dldir1.qq.com/wework/work_weixin/test/counter.zip

http://dldir1.qq.com/wework/work_weixin/test/counter.zip  still blank screen.

Hi, everyone, I have changed GL_RGBA8 to GL_RGBA in flutter/engine/shell/platform/windows/compositor_opengl.cc#L61C8-L61C18. This change helped resolve the issue for me. You can run this counter app to test if the problem is resolved:
http://dldir1.qq.com/wework/work_weixin/test/counter.zip

http://dldir1.qq.com/wework/work_weixin/test/counter.zip still blank screen.

It seems this is not the same issue as we encountered; we are getting a blank window.

I also encountered the same problem. The system is Windows Enterprise Edition, kernel 19045.4651 operating system kernel. 3.19.6 is fine, but 3.22.3 appears for a while. The window background color is specified through WindowOptions of WindowManager. After starting the project, the window with the set background color is displayed for a while and then crashes.
await windowManager.ensureInitialized();
WindowOptions windowOptions = const WindowOptions(
center: true,
backgroundColor: Colors.black,
skipTaskbar: false,
titleBarStyle: TitleBarStyle.hidden,
);
await windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.show();
await windowManager.focus();
});
The error message is the same:
[FATAL:..\flutter/impeller/renderer/backend/gles/proc_table_gles.h(39)] Fatal GL Error GL_INVALID_VALUE(1281) encountered on call to glTexImage2D
Lost connection to device.
Perhaps you can try to download the same system operation.

Hello everyone, could you try running these counter apps and telling us if they are still affected by the problem?
Name	Test app	Notes
baseline Download	This is a recent engine commit that the other variants are built on. This should reproduce the issue.
Engine commit: flutter/engine@6613428
no_compositor Download	This rolls back rendering changes we did for multi-window and platform views. If this fixes the issue, the rendering changes we did is the problem.
Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_no_compositor
force_software Download	This forces the app to use the software backend. If this reproduces the issue, the software backend is the problem.
Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_software_backend
rgba_internal_format Download	This loosens the texture format requirements and increases the number of devices Flutter Windows is compatible with. Kudos to @yaminet1024 for the suggestion.
Engine fork: https://github.com/loic-sharma/flutter-engine/tree/issue_150546_rgba_internal_format
Thank you for the help, we very much appreciate it!

I tried running these projects, and after running baseLine, it showed a black background and the title bar displayed normally without crashing. The other three are running normally.

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana
@yaminet1024 @JemmyWang94

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana @yaminet1024 @JemmyWang94

Working, great!

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana @yaminet1024 @JemmyWang94

Sorry about the delay, we have to test it on our client's computer.
This worked, the other fixes we couldn't test yet.

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana @yaminet1024 @JemmyWang94

It works for me!!
Thank you!!

Thanks everyone, I really appreciate all the help 💙

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana @yaminet1024 @JemmyWang94

It runs well.

Thanks everyone, I really appreciate all the help 💙

When will it be merged into the stable sdk?

I thought today's release would have the fix however it is not; it will be nice to know the timeline for the same.
Thanks.

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana @yaminet1024 @JemmyWang94

Work

Hello everyone, I'd like to test a new potential fix. Could you download this app and tell me if it works as expected?
If this fix works for everyone, I'll land it! cc @kirill-21 @RafaelTadeuSilva @olerhan @AlejandroGrana @yaminet1024 @JemmyWang94

still blank screen when gpu is disabled.

Waiting for this to be merged into the stable sdk

This fix will be included in the next stable release. Thanks everyone for the help!

This fix will be included in an upcoming stable release. Thanks everyone for the help!

Is there any info when this stable release will be published?

This fix will be included in an upcoming stable release. Thanks everyone for the help!

Is there any info when this stable release will be published? Everyone is waiting for it) Btw can this already by used on beta/dev/master?

I am second for this. I have some PCs yet using core 2 duo.

While waiting for the updated release on the issue, my temporary solution is to disable NVIDIA display adapter.

If anybody wants to build app with 3.24 flutter version and with fix for this issue, then type this:
flutter channel flutter-3.24-candidate.0
flutter upgrade

and build your project with fixed engine version! (Until stable is released)

Hello everyone, the Flutter 3.24.1 stable release has the fix! Please upgrade to the latest Flutter SDK to get the fix!

Flutter v3.24.1 resolve the issue!

Flutter v3.24.1 resolved the issue!

Confirmed :)

I am sorry to late. I have upgraded Flutter to v3.24.2 from v3.19. The problem has resolved on my old windows PC. Thank you!

I have upgraded to Flutter v3.24.2 to. The problem has solved on my PC.
Thank!


Request for a member role

RT. Thanks , will help to build a better community.

Invitation was sent, welcome to the community :)

/approve

+1, welcome 😄
/approve

/close


Revert compiler to gcc-10.3 for Semeru 19+

Use gcc-10.3 to build JDK19+ for OpenJ9 variant.
Signed-off-by: Violeta Sebe<EMAIL_ADDRESS>

@sxa Does Adopt want this change? Currently only alinux jdk19 is broken for gcc11.2.


No logs emitted by lambda

I've deployed this with great success! I tried manually messing around with the security groups to force a route replacement. However, when I check the cloudwatch logs for the lambda all I see are requests starts and ends like so

Is there special config I need to enable when creating the Alternat to get lambda logs to populate correctly in cloudwatch?

I'm glad to hear that you were able to deploy Alternat and you're having success with it!
When Alternat is healthy and there are no issues, it doesn't emit any logs, so this is expected. It will log messages when it switches over the route table. You can simulate this by forcing Alternat to switch over the route table, for example by putting updating the Security Group for the Alternat EC2 instances to not accept any traffic. This will cause the connectivity check to fail and the route to switch over, which you should see reflected in the logs.


Infinite pillar crafting bug

https://youtu.be/__r6R_lYzx4

I can't reproduce this bug.

It turned out to be a bad crafttweaker recipe.


Refactoring test methods

Proposed changes:

Apply clean code and unused imports test_actions.py
Implements uncouple behaviour from test_count_vectors_featurizer

Thanks for submitting a pull request 🚀 @alopez will take a look at it as soon as possible ✨

Thanks for the feedback @JEM-Mosig, changes made.

Done! @JEM-Mosig @alopez

Sorry, @guilherme-mendes I didn't see the message. I typically only see this when you click the re-review arrows and request another review. I'll have a look today :)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: guilherme-mendes:x: itallogravinaYou have signed the CLA already but the status is still pending? Let us recheck it.

@guilherme-mendes are you still intending to work on this? 🙂 if yes, please rebase onto main or merge main into your branch and see about all authors signing the CLA, then we're happy to review & approve it!


remove \w{9}rev.com --autopull

This looks like an accidental commit.  The commit message when this was introduced indicates that a simple addition to a previous pattern was intended to be added, and nothing more.
https://github.com/Charcoal-SE/SmokeDetector/commit/fae73d8c3

Reminder to self:
git blame -w d36f72272^ -- findspam.py | grep 'rev\\\.'

and recursively repeat until you find the real commit.  https://stackoverflow.com/questions/5098256/git-blame-prior-commits was helpful for discovering this, but you can't use the line number directly, because it of course changed multiple times over history.

@normalhuman can you please review?

!!/approve


Remove unneeded Unc0ver jailbreak

Thanks for this, but i've intentionally left both jailbreaks in. If I remove one, then that party complains, so we keep both!


RP-1.netkan for Release v.1.00 for KSP 1.3.1

The old RP-0.netkan needs to be removed as it is giving the wrong dependencies

I will re-submit


Glide Offline Cache

Android device: Xperia M5
Android OS version: 6.0.0
Google Play Services version: Latest
Firebase/Play Services SDK version: 14.2.0
FirebaseUI version: 3.0.0

val imageReference = FireBaseUtils.Storage.child("$name.jpg")

        GlideApp.with(this)
                .load(imageReference)
                .transition(DrawableTransitionOptions.withCrossFade())
                .into(mDeviceImage)

Using this code, the app loads and saves the image in cache.
What I don't want is the image saved in cache even after the application closes. When I restart the app Glide automatically loads the image from the offline cache.
How can I disable offline cache? I want Glide to cache the images in runtime, but clear it after the app is closed.

@dovahkiin98 This is a Glide question, not FirebaseUI. Google should always be the first step, but here's documentation. BTW, why would you want to disable cache? That's going to hurt your users.

@dovahkiin98 I agree with @SUPERCILEX , this is a Glide question not a FirebaseUI question.


vsr: throttle repair a bit

Our repair can create a feedback loop. repair requests prepares and headers, but, upon receiving either back, we re-trigger repair, which could lead to duplicate repair work.
To avoid that, make sure that we are not sending more than one repair message per replica per our repair timeout.

Test failure is the same one as in https://github.com/tigerbeetle/tigerbeetle/pull/2582