Unable to launch the application and result app in 5000,5001 port respectively.

** PLEASE ONLY USE THIS ISSUE TRACKER TO SUBMIT ISSUES WITH THE EXAMPLE VOTING APP **

If you have a bug working with Docker itself, not related to these labs, please file the bug on the Docker repo *
If you would like general support figuring out how to do something with Docker, please use the Docker Slack channel. If you're not on that channel, sign up for the Docker Community and you'll get an invite. *
Or go to the Docker Forums *

Please provide the following information so we can assess the issue you're having
Description
Unable to launch the application and result app in 5000,5001 port respectively.
Followed the steps mentioned about making the app up and running.
Steps to reproduce the issue, if relevant:
1.

Describe the results you received:
Unable to launch the voting app and result in app in GUI.
Describe the results you expected:
We should have been able to launch the voting app and result in app in GUI.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
19.03.8
(paste your output here)

Output of docker info:
Client:
Debug Mode: false
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 5
Server Version: 19.03.8
Storage Driver: overlay2
Backing Filesystem:
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk s
Swarm: active
NodeID: wcvz7i9y6helneu5wlad4yyby
Is Manager: true
ClusterID: nrr4ya4byznp6fsencgq482f7
Managers: 1
Nodes: 1
Default Address Pool: <IP_ADDRESS>/8
SubnetSize: 24
Data Path Port: 4789
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 10
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address: <IP_ADDRESS>
Manager Addresses:
<IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.19.76-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.206GiB
Name: docker-desktop
ID: 6JPU:SLRG:WNFH:APSU:5RKW:VIE7:4Y7P:DPNP:DC6H:LFOZ:MUQR:X7QN
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 60
Goroutines: 167
System Time: 2020-06-08T10:50:24.583468785Z
EventsListeners: 3
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Product License: Community Engine
(paste your output here)

Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):

Adding the snapshot of the voting app and result app

We're sorry for the late response. Linux images have been refreshed, cleaned up, and are now multi-platform. If you're still having issues with the latest images, feel free to reopen this ticket.


revert #64 w/ updates (add mordred back)

Changelogs
this reverses many of the changes made in PR #64 to remove mordred, with the only differences being the different name of the package

Checklist:

[x] Was this PR discussed in an issue? It is recommended to first discuss a new feature into a GitHub issue before opening a PR.
See here: https://github.com/datamol-io/molfeat/issues/63#issuecomment-1646182539
[x] Add tests to cover the fixed bug(s) or the new introduced feature(s) (if appropriate).
[x] Update the API documentation if a new function is added, or an existing one is deleted. Eventually consider making a new tutorial for new features.
Changed the demo notebook to use mordred again, not sure where else to update
[x] Write concise and explanatory changelogs below.
[x] If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

discussion related to that PR
The package is now on conda-forge, as requested.

I guess I suggest the feature label? Can't add them manually as I am a first-time contributor.

Will merge after the CI is green.
We use black for code formatting, so you would want to run that.
Thanks for the contribution and for maintaining mordred.

Thanks @JacksonBurns, that looks nice.

Thanks!

Will merge after the CI is green.
We use black for code formatting, so you would want to run that.
Thanks for the contribution and for maintaining mordred.

Oops, had mine configured to a non-standard line length. Should be good now.
Happy to help out!


Update Profile

currently, profile shows username and email, these should be not editable as they are managed by Auth0
user can change:

display name
preferred programming language

Fixed in #48


Received-SPF

Next to Authentication-Results there is also the Received-SPF header to implement:
Received-SPF: fail (google.com: domain of<EMAIL_ADDRESS>does not designate <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS>

RFC 4408 7.  The Received-SPF Header Field

See the handleSPF function in handlers.go


error when used with latest cordova-android

Subproject Path: CordovaLib
Subproject Path: app
--save flag or autosave detected
Saving android@latest into config.xml file ...
UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/mohamed/project1/platforms/android/AndroidManifest.xml'
at Object.
cordova cli v 7.1
cordova android 7.1

I didn't have any problem installing/building/running in those conditions. Please try again as I have fixed an issue on my latest commit. It could have caused that error.


PG: Updates to allow autoconfig based on memory

new config file created in run hook, then loaded in postgresql.conf through an include

Updated to new request


Error Types in redirect URI?

I wanna handle error for different type, where can I get the list of errors specification?
get-an-authorization-code
GET urn:ietf:wg:oauth:2.0:oob?
error=access_denied
&error_description=The+user+has+cancelled+entering+self-asserted+information
&state=arbitrary_data_you_can_receive_in_the_response

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

ID: f3e20651-5b2b-bd0b-dc92-a4a3643776ef
Version Independent ID: c9e25d10-4298-c95d-d24a-25a45c47e9ac
Content: Authorization code flow - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-reference-oauth-code.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@MySecondLife Thanks for the feedback! Request you to share the document you are referring to help you better on this. Also the link shared is not working.

@SnehaAgrawal-MSFT  Could you copy the link and paste it in the address bar? If you click the link directly, you would be brought to the wrong link. It's so weird.

@MySecondLife I believe the markdown format is the issue. Ideally the link must be provided in parantheses and the display text in large brackets however it seems that was written in opposite manner. .  hence it redirects you in a different URL. I changed it from
[https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-oauth-code#1-get-an-authorization-code](get-an-authorization-code)
to
[get-an-authorization-code](https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-oauth-code#1-get-an-authorization-code)
Now coming back to your query. We have two such articles detailing the list of possible error codes , this is a ever changing list and is certainly not 100% complete. The product team is working on an improved error controller which provides suggested remediation for errors as well. However, your client app should never change behavior based on specific error codes – these are internal and subject to change at any time.
AAD STS error Codes
Sign-In error codes
If the above does not completely help  you , we suggest you to please vote for the uservoice feedback for detailing a full list of error codes
Hope the information provided helped, We will close this issue now. Should you have any further queries, feel free to tag me or the author of this document @mmacy to your reply and we will be happy to help you .

Hi @MySecondLife,
This is related to https://github.com/MicrosoftDocs/azure-docs/issues/43340, which is left open to help track requests for an error code list.
We're working on a list but I don't yet have a timeline for publishing. Please follow that issue if you'd like to get get updates. Thanks for your patience!

Thanks for your reply, will keep tracking on that issue.

Hi @MySecondLife, we've published a list of B2C error codes here:
Error codes: Azure Active Directory B2C
Scenario and remediation information for some of the more commonly hit errors is forthcoming, though no ETA at this time.


[PF-2656] Add terra resource mount command

This change adds terra resources mount and terra resources unmount commands:

Supports mounting and unmounting all workspace bucket resources.
Also supports --disable-cache flag.

Features to add in followup:

Setting / toggling permissions on mount
mounting/unmounting individual files

Note: terra resource mount only works in no docker mode (which is what we need on cloud environments).
Todo: Add unit tests for mounting/unmounting (WIP)
For reviewers: Would also appreciate comments on code style and making it more Java`ey.

@yuhuyoyo @zloery Added unit tests for MountController mountResources() and unmountResources() and for BaseMountHandler. For the time being, I moved these mockito unit tests into a separate test tag real-unit. Thoughts on this decision?


Ensure cold-resume always happens in the right evb

https://github.com/rsocket/rsocket-cpp/pull/629/files changed the connectionFactory.connect() to return a Future.  As a consequence, the evb in which the stateMachine inside resume() gets created depends on the ordering of when the connect() Future is fulfilled and when the .then() call is registered.  This PR is to ensure the stateMachine always gets created in the right evb.

LGTM

... oops


Wrong github link in https://opensource.janestreet.com/async/

GITHUB link in https://opensource.janestreet.com/async/ links to https://github.com/janestreet/incremental which is wrong.
I didn't know where to file this issue since I couldn't find the source repository for https://opensource.janestreet.com/async/, therefore I opened the issue here.

Thanks for reporting the bad link. This will be fixed shortly.

Done. Thanks again!


Reduce emulator CPU usage

Changing the SDL user input detection from poll to wait significantly reduces the emulators CPU usage.
I don't know if there was a reason why poll was chosen initially but wait seems to work fine.

Tested looks good


futureStream from Queue does not fire on timeout.

Describe the bug
I have created a reproducible test case, and it seems that this old issue still persists:
https://stackoverflow.com/questions/42363084/using-cyclops-react-for-batching-on-a-async-queue-stream
To Reproduce
Steps to reproduce the behavior:
Test case attached in comment.
Expected behavior
The future should be run after 200ms.

Here is a test case:
   @Test     public void isolatedQueueTest() throws InterruptedException {         Queue<String> pubSubMessageQueue = QueueFactories.<String>unboundedQueue().build();         StreamSource.futureStream(pubSubMessageQueue, new LazyReact(Executors.newCachedThreadPool()))                 .parallel()                 .groupedBySizeAndTime(3, 20, TimeUnit.MILLISECONDS)                 .runFuture(Executors.newCachedThreadPool(), vectors -> vectors.forEach(                         bufferedMessages -> log.info("Received {}",                                 bufferedMessages.stream().collect(Collectors.joining(",")))));         ReactiveSeq.range(0,11)                 .forEachAsync(i -> pubSubMessageQueue.offer(i.toString()));         TimeUnit.MILLISECONDS.sleep(1000);     }
The last pair will not be logged.

More accurate test case
    @Test
    public void isolatedQueueTest() throws InterruptedException {
        Queue<String> pubSubMessageQueue = QueueFactories.<String>unboundedQueue().build();
        ListX<String> receiver = ListX.empty();
        StreamSource.futureStream(pubSubMessageQueue, new LazyReact(Executors.newCachedThreadPool()))
                .parallel()
                .groupedBySizeAndTime(3, 20, TimeUnit.MILLISECONDS)
                .runFuture(Executors.newCachedThreadPool(), vectors -> vectors.forEach(
                        bufferedMessages -> receiver.addAll(bufferedMessages.stream().toList())));
        ReactiveSeq.range(0,11)
                .forEachAsync(i -> pubSubMessageQueue.offer(i.toString()));
        TimeUnit.MILLISECONDS.sleep(1000);
        pubSubMessageQueue.close();
        TimeUnit.MILLISECONDS.sleep(1000);
        assertEquals(11,receiver.size());
    }

Without close and secondary wait, this test case will fail.


Add an apply matcher

This allows users to specify code as:
describe 'motd class' do
  subject { 'include motd' }

  # Just run it once
  it { is_expected.to apply }

  # The same, but run it twice
  it { is_expected.to apply.idempotently }
end

This gives the full output of puppet apply, rather than just the last 10 lines. It also tells the user if it failed on the first or second run.
Additionally, users can define a failure_context method to run an additional command and output it. The main motivation for this is when puppet apply doesn't provide any useful output on the failure. For example, when a service fails to start Puppet does provide the journal output, but sometimes it only logs errors to its own files (looking at you Apache). This command is only executed if the Puppet run failed to apply.
describe 'motd class' do
  subject { 'include motd' }

  def failure_context
    'cat /etc/motd'
  end

  it { is_expected.to apply.idempotently }
end

I'm submitting this for feedback now. I have some additional work with example groups so you can make it even easier.

@trevor-vaughan I'd like to get your opinion on this since AFAIK you're a significant user of Beaker.
My goal with this was to provide proper debugging of failures. By using a matcher it shouldn't show a track trace anymore (which is kind of pointless anyway) but instead the actual output. Also where it failed.
I also wanted a hook to show more output, but I think the failure_context may be a bit too well hidden. Not sure what a good way is.

Tests now fail because Puppet is not installed. I'll deal with that later. It at least shows how it should be used now.

@ekohl Took a deeper look at how we're using things and here's my feedback:

I think that this should probably live in beaker-puppet since you can (and I do) use beaker without puppet very successfully
under the hood. When the tests are more verbose about what's going on, ramp up time is shorter.
Honestly, I'm not seeing a huge benefit over the current apply_manifest_on pattern below outside of the improved error output.

I think that adding the improved error output to the default version is probably a good idea. We tend to run in verbose mode all the time just to see everything and it would be great to not have to do that.
Maybe change it so that there is a boolean to flip that defaults to verbose for puppet apply?

If we move forward with this, I would definitely make the name puppet specific since apply is too generic given that beaker can be used without puppet
Caveats about my response:

We don't use serverspec at all because it doesn't support multi-node setups well the way it's implemented in Beaker
Also, my experience using serverspec is that it makes things harder to understand for new users. Too much magic going on

let(:manifest) { whatever }
let(:hieradata) {{ whatever }}

hosts.each do |host|
  it 'should apply' do
    set_hieradata_on(host, hieradata)
    apply_manifest_on(host, manifest)
  end

  it 'should be idempotent' do
    apply_manifest_on(host, manifest, catch_changes: true)
  end
end

I like this concept. I vote for putting an experimental warning on it and shipping it to get some real world usage.


Add rudimentary GKE support

I was using this for something else and thought I'd push the kubernetes deployment back up. Thanks for the example!

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

@menski @saig0 how are we dealing with this?

Hi @afirth, I'm sorry for the late response :see_no_evil: Thank you for contributing!
I'm not sure if the changes fit the purpose of this repository. It's coupled to the Java Get-Started guide. I don't think that users want to deploy this code to Kubernetes following the guide. Maybe, we should move it somewhere else?

I wanted to use it on kube, that's why I wrote this :D Of course we could put it somewhere else later, but where would that be now?

As far as I understand, it is a template to deploy your Zeebe worker/application into GKE. I think it would be nice to create a new repository and mark it as a template repository.

closing since nobody wants to own this :)


<EMAIL_ADDRESS>dev

Describe the bug
404 on accessing blog posts.
To Reproduce
Steps to reproduce the behavior:

Created a clean install of<EMAIL_ADDRESS>dev
Selected a blog post ie best-medium-format-camera-for-starting-out
Console returns error

failed to load module for ssr: /work/tmp/content/blog/best-medium-format-camera-for-starting-out/index.md
Error: failed to load module for ssr: /work/tmp/content/blog/best-medium-format-camera-for-starting-out/index.md
    at instantiateModule (C:\work\tmp\my-new-mdsvex-blog\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:50206:15)

Browser returns 404

Expected behaviour
Blog post display
Screenshots
N/A
Desktop (please complete the following information):
win/chrome canary
node  v16.14.0
Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.

Went back to a previous commit - tested works.
fix: 💫 updatea for SvelteKit breaking changes
3ed441287e74f94d4d577123587d7f24cb4a9529


Error: You must pass in a NgModule or NgModuleFactory to be bootstrapped

I'm submitting a...

[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request

In package

[ ] @ng-toolkit/init
[ ] @ng-toolkit/serverless
[ ] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug

Current behavior

<EMAIL_ADDRESS>server D:\sangram\mywebsite\bolg-almightytricks
node local.js

Listening on: http://localhost:4000
Error: You must pass in a NgModule or NgModuleFactory to be bootstrapped
at View.engine (D:\sangram\mywebsite\bolg-almightytricks\dist\server\main.js:1:1179115)
at View.render (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:17191:8)
at tryRender (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:12424:10)
at Function.render (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:12376:3)
at ServerResponse.render (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:24788:7)
at D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:143:9
at Layer.handle [as handle_request] (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:15808:5)
at next (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:14729:13)
at Route.dispatch (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:14704:3)
at Layer.handle [as handle_request] (D:\sangram\mywebsite\bolg-almightytricks\dist\server.js:15808:5)
Expected behavior
It should return valid web page
Minimal reproduction of the problem with instructions

Example repository

What is the motivation / use case for changing the behavior?

Environment

Angular version: 9.1.11

- Node version: 12.1.0
- Platform:  Windows

Others:

I am also facing same issue


" is converted to “

When I try to type e.g. settings.loadTheme("classic") I get a syntax error because my system automatically converts these quotes to typographic variants

Hm. I'll have to look to see if I can disable those within the editor.

This needs to be set.


Remove examples, which have been relocated

All examples have been exported to the http4s-examples repo.  This is the first step of The Great Schism, because it's all the leaf nodes, and some things we want to move out of this repo are depended upon by the examples.

Is this just an rm PR? I like deleting 😁

Having some second thoughts on this. As I was splitting repos, I got annoyed how often I was duplicating ExampleService. But that is as much a sketchpad as a cohesive example.  The new examples repo is still a junk drawer.  This is an opportunity to have a simple example relevant to each repo.

I agree with that. I thought it was a bit odd the ember examples moved out of core, since ember will continue living here.


No sound after automatic pm2 restart

I start the bot with:
pm2 start index.js --name DiscoBot --time --restart-delay 5000 & pm2 start restart.js --name Restart

about 5 hours after I started my dicobot I saw the following output and as you can see the last entry in the below log seems that it reconnected. I checked on my discord channel and the bot kept connected to the voice channel but no sound was coming out from the bot
Status: Connection warning - [WS] closed
Status: Connection warning - [WS] connect requested
Status: Connection warning - [WS] reset requested
Status: Connection warning - [WS] connecting, 2 attempts, wss://us-east2090.discord.media/?v=4&encoding=json
Status: Connection warning - [WS] opened at gateway us-east2090.discord.media
Status: Connection warning - Selecting the xsalsa20_poly1305_lite mode
Status: Connection warning - [UDP] created socket
Status: Connection warning - Sending IP discovery packet: [0,12,70,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
Status: Connection warning - Successfully sent IP discovery packet
Status: Connection warning - [UDP] message: [100,70,12,0,49,50,57,46,50,49,51,46,49,49,54,46,52,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,216,109] (<IP_ADDRESS>)
Status: Connection warning - [UDP] << {"address":"<IP_ADDRESS>","port":8000}
Status: Connection warning - Ready with authentication details: {"sessionID":"-90840942jh42h0875h70jv0k3hkjtj90","token":"1f75cdf1220da623","endpoint":"us-east2090.discord.media","streams":[{"type":"video","ssrc":804453,"rtx_ssrc":804454,"rid":"","quality":0,"active":false}],"ssrc":804452,"port":50014,"modes":["aead_aes256_gcm_rtpsize","aead_aes256_gcm","xsalsa20_poly1305_lite_rtpsize","xsalsa20_poly1305_lite","xsalsa20_poly1305_suffix","xsalsa20_poly1305"],"ip":"<IP_ADDRESS>","experiments":["bwe_conservative_link_estimate","bwe_remote_locus_client"],"mode":"xsalsa20_poly1305_lite","video_codec":null,"secret_key":{"0":17,"1":201,"2":230,"3":88,"4":17,"5":5,"6":212,"7":72,"8":195,"9":116,"10":145,"11":171,"12":236,"13":141,"14":248,"15":163,"16":228,"17":121,"18":197,"19":64,"20":10,"21":226,"22":193,"23":176,"24":121,"25":178,"26":87,"27":176,"28":173,"29":206,"30":93,"31":205},"media_session_id":"1221323gtrgfgfst544w54w5454","audio_codec":"opus"}
Now Playing: My Shoucast Radio - Track 1

I had to manually run: pm2 restart DiscoBot to restart the bot and that fixed the sound on the Discord app side

Avoid using restart.js (does not work), just start the bot like this:
pm2 start index.js --name DiscoBot --time

Avoid using restart.js (does not work), just start the bot like this:
pm2 start index.js --name DiscoBot --time

This works to stop the error an autostart? because my bot always stop with this error and i need to manually make all the re-start again.

restart.js heavily depends on cron, if for some reason it is not working in your case try to load only pm2 start index.js --name DiscoBot --log bot.log --time --restart-delay 5000


lakectl metadata copy logging

This PR was created as part of identifying #1959, but having a better user experience will reduce the logging as there will be no copy and optional merge.

Close this one as PR #1986 will add the logging and align the 'path' behaviour will be part of a different PR.


DvP test missing + doc

The function unpause seem not be tested in testDVP_pause.ts.
The tests made in TestDVP_upgrade.ts & TestDVP_common are not in the documentation (Unittests_DvP_SC.xlsx)

The unpause function is tested in the extended test in the branch Test_unpause. PR: https://github.com/CMTA/DVP/pull/19
Unittests_DvP_SC.xlsx will be extended to include TestDVP_upgrade.ts when https://github.com/CMTA/DVP/pull/18 was merged to avoid merge conficts.
TestDVP_common.ts is only a base class without tests of its own.

TestDVP_upgrade.ts is now listed in Unittests_DvP_SC.xlsx.


Better support '$' regex matches.

Writing matches that use the end-of-line character currently fail to match anything. BUT matches strings that need to be sanitised and are found at the end of a line include a '...' a the end of the token.
This is strange and things aren't working as they should. Please fix.
Name                           Value
----                           -----
SanitisationSuccess1           dumbtest
BAD_STRING!!!!!2               null…
BAD_STRING!!!!!1               ignorethis…
BAD_STRING!!!!!3               "pleaseignore"…

Places to start:

scout-stripper
** This is either a symptom of the way the files are loaded
** or, the current regex method we use. It's possible the switch to compiled regex will fix this.

This is fixed with the multiline implementation done in #36


fix: url for update endpoint

Change _update endpoint.
Closes #448
Loom preview

I went to<PHONE_NUMBER>293 to test the fix. Update works if you update from the table but not working when you update from "Blue" update button & editing json directly, following error appears:
"no handler found for uri [/search-dev/undefined/vBgsf0Vwm86t8nAWMZpqy?refresh=wait_for] and method [PUT]"

@SavvyShah fyi preview is down now, but the last time I tried to edit product from the JSON Document (see previous message) it was not working.


[FIX #4227] AmbiguousBlockAssociation False Positive

Fixes false positive of AmbiguousBlockAssociation cop reported in #4227
assert_equal site.posts.find { |p| p.title == "Foo Bar" }, results.first

Thank you @smakagon for opening this PR. I tested this patch locally and found an additional false-alarm (which I had expected to be solved concurrently, so never included it in the issue ticket.)
While the following case is no longer flagged:
assert_equal site.posts.find { |p| p.title == "Foo Bar" }, results.first

The following is still flagged incorrectly...:
assert @site.pages.find { |page| page.data["date"] == date }

W: Parenthesize the param find to make sure that the block will be associated with the assert
method call.
      assert @site.pages.find { |page| page.data["date"] == date }
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

... and apparently, so is any call made by a receiver that is an instance_variable:
W: Parenthesize the param any? to make sure that the block will be associated with the assert
method call.
      assert @collection.docs.any? { |d| d.path.include?("all.dots") }
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

W: Parenthesize the param index to make sure that the block will be associated with the
refute_nil method call.
      refute_nil @site.posts.index { |post| ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@ashmaroli
In your first example:
assert_equal site.posts.find { |p| p.title == "Foo Bar" }, results.first
You have 2 arguments for assert_equal function, so that block definitely belongs to find method and can not belong to assert_equal.
But with this example:
assert @site.pages.find { |page| page.data["date"] == date }
It's expected behavior because we can not say exactly if block belongs to find or assert. It's almost the same example that we had in description to initial issue:
some_method a { puts 1 }
For example Rspec users will get the same error for this code:
expect { order.expire }.to change { order.events }
If you don't want to add parentheses to those files It makes sense to disable this cop for tests/specs folder by adding this to .rubocop.yml file:
Lint/AmbiguousBlockAssociation:
  Exclude:
    - "spec/**/*"

Thank you @smakagon for the prompt reply.
I tested again with corrections and indeed, the following is no longer flagged.
<EMAIL_ADDRESS>{ |page| page.data["date"] == date })

:+1:

Just one small thing - you forgot to add a changelog entry.

@bbatsov Thanks. Added Changelog entry.


[Bug] error during create self pool

What happened?

GUI
Relevant log output or stacktrace
No response

Are you sure the version is 1.3.6-dev157?

Thanks @lipalong, this was fixed by PR https://github.com/Chia-Network/chia-blockchain-gui/pull/1415


tuic shell::: curl: (28) Operation timed out after 2859 milliseconds with 12499238 out of 17313792 bytes received

PORT=8112 bash <(curl -Ls https://00.2go.us.kg/tu.sh)
Downloading ./gfQWST by wget
curl: (28) Operation timed out after 2859 milliseconds with 12499238 out of 17313792 bytes received

机子卡了，换个时间再试


ImportError with sklearn 0.21

I bumped into the following error running a baseline mriqc command (Python 3.7):
Node: workflow_enumerator.anatMRIQCT1w.ComputeIQMs.ComputeQI2
Working directory: /.../anatMRIQCT1w/ComputeIQMs/.../ComputeQI2

Node inputs:

air_msk = /.../ArtifactMask/sub-01_T1w_conformed_hat.nii
in_file = /.../sub-01_T1w_conformed.nii

Traceback (most recent call last):
  File "/.../nipype/pipeline/plugins/multiproc.py", line 69, in run_node
...
  File "/.../mriqc/classifier/sklearn/__init__.py", line 9, in <module>
    from .cv_nested import ModelAndGridSearchCV
  File "/.../mriqc/classifier/sklearn/cv_nested.py", line 29, in <module>
    from sklearn.model_selection._validation import (
ImportError: cannot import name 'logger' from 'sklearn.model_selection._validation' (/.../sklearn/model_selection/_validation.py)

At first glance, issue seems an incompatibility between mriqc and the latest version(s) of scikit-learn (>=0.2.1). Specifically, since commit https://github.com/scikit-learn/scikit-learn/commit/8edd9f9f1597094a1f8024f4d091f21e9c1fa66a, sklearn/model_selection/_validation.py script has had joblib's logger module import removed (see here) while it is still being imported and used by mriqc. See here:
https://github.com/poldracklab/mriqc/blob/255c8823992cd0a93680a1d062906989120c7733/mriqc/classifier/sklearn/cv_nested.py#L29-L31
Note however that downgrading dependency package sklearn to 0.20.x works as a workaround.

Hi,
I am having the same issue, and im trying to install the sklearn package 0.20 but i am not being able to.
could you help in downgrading sklearn?
I have already tried uninstalling and then installing
pip uninstall sklearn
pip install -v sklearn==0.20.4
but it didnt work.

Same problme here

The classifier has been stripped off from this package and moved to https://github.com/nipreps/mriqc-learn
Failure to keep up with new scikit learn versions has been addressed in new release 22.0.0rc1


Map/2 Names of buildings (and streets)

As a user I want to be able to know which building is which to get to given place at HPI. Otherwise I have no idea where for example "Haus F" is.

It would be nice if you do not see the names the whole time. For example, if you have a mask like the highlights the name should not be displayed. Otherwise the mask would cover the name completely or halfway.

a nice reference might be the zoom level. The usefulness starts to dwindle at some scale. Also the indoor maps mostly need
to be displayed if you are zoomed in.

Planning Poker (just edit this):
Nikkel: S


Unable to install plugin for  android

This is the message i am getting. I am able to install all the other plugins except this.

Hey @coddypotter. Maybe this is related to #64

Closed due inactivity.


client and server on Linux

My embedded system (no keyboard/screen) processes data and I'm considering using netImgui to move that data to the PC (keyboard/screen) and use ImGui to visualize it and interact with the embedded system. They would both be Linux based and have opengl3 and glfw.
I'm little confused on what part of netImgui runs where and how it is referred to in the docs  / code / comments. Would the server run on the embedded system and the client on the PC in my case, or is it the other way around?
Which ImGui render/input backend should the embedded system use?
Reading through some older issues I get a feeling that Linux support is there but not complete. Has that changed?
Can you point me to an existing sample code that would best fit the use case outlined above, please?
Thank you in advance!

The embedded system is the client and does not need any rendering backend!
I actually have a sample demonstrating using ImGui on a console client
without any rendering needed on it.
The Server application is the NetimguiServer program that you can find in
the depot. Since I didn't have a Linux setup, I never fully ported it to
that platform. However, it already supports OpenGL and the platform
specific code is clearly separated in a few functions (prefixed with 'HAL')
so it shouldn't require too much efforts to finish support.
Note: even if your embedded system is using Linux, it can connect without
issue to the NetImguiServer application running on Windows.
On Thu., Oct. 27, 2022, 19:02 hinxx @.***> wrote:

My embedded system (no keyboard/screen) processes data and I'm considering
using netImgui to move that data to the PC (keyboard/screen) and use ImGui
to visualize it and interact with the embedded system. They would both be
Linux based and have opengl3 and glfw.
I'm little confused on what part of netImgui runs where and how it is
referred to in the docs / code / comments. Would the server run on the
embedded system and the client on the PC in my case, or is it the other
way around?
Which ImGui render/input backend should the embedded system use?
Reading through some older issues I get a feeling that Linux support is
there but not complete. Has that changed?
Can you point me to an existing sample code that would best fit the use
case outlined above, please?
Thank you in advance!
—
Reply to this email directly, view it on GitHub
https://github.com/sammyfreg/netImgui/issues/39, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESBPY67LNZNYK3NY424RHDWFJHLXANCNFSM6AAAAAARP4EACA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for clarifying!
I'm using g++ on Linux platform.
I've compiled the SampleNoBackend as the client with no issues.
Now I'm trying to compile the ServerApp as well and I'm facing this error:
g++ -std=c++11 -I../../ThirdParty/DearImgui -I../../ThirdParty/DearImgui/backends -g -Wall -Wformat -I. -I../../ -I../../Client `pkg-config --cflags glfw3` -c -o NetImguiServer_RemoteClient.o NetImguiServer_RemoteClient.cpp
NetImguiServer_RemoteClient.cpp: In member function ‘NetImguiServer::RemoteClient::NetImguiImDrawData* NetImguiServer::RemoteClient::Client::GetImguiDrawData(void*)’:
NetImguiServer_RemoteClient.cpp:241:83: error: invalid conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘ImTextureID’ {aka ‘void*’} [-fpermissive]
  241 |     pCmdList->CmdBuffer[drawIdx].TextureId = NetImgui::Internal::TextureCastHelper(pEmtpyTextureHAL); // Default to empty texture
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
      |                                                                                |
      |                                                                                uint64_t {aka long unsigned int}
NetImguiServer_RemoteClient.cpp:246:85: error: invalid conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘ImTextureID’ {aka ‘void*’} [-fpermissive]
  246 |       pCmdList->CmdBuffer[drawIdx].TextureId = NetImgui::Internal::TextureCastHelper(mvTextures[texIdx].mpHAL_Texture);
      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                |
      |                                                                                uint64_t {aka long unsigned int}

Should I just cast the return value to ImTextureID?
BTW, I had to comment out this line #include "backends/imgui_impl_win32.cpp" from NetImguiServer_App_GlfwGL3.cpp..

Should I just cast the return value to ImTextureID?

Did that and it compiled fine.
I managed to also run the server and client on the same Linux host!

This looks very cool!

That code seems to be already using the TextureCastHelper. Looks like it is picking up the wrong one, though. If I explicitly cast the argument to (const void*) then the compiler is happy.
Here the little diff that sorts that out:
$ git diff NetImguiServer_RemoteClient.cpp
diff --git a/Code/ServerApp/Source/NetImguiServer_RemoteClient.cpp b/Code/ServerApp/Source/NetImguiServer_RemoteClient.cpp
index 2046ec9..7a08103 100644
--- a/Code/ServerApp/Source/NetImguiServer_RemoteClient.cpp
+++ b/Code/ServerApp/Source/NetImguiServer_RemoteClient.cpp
@@ -238,12 +238,12 @@ NetImguiImDrawData*       Client::GetImguiDrawData(void* pEmtpyTextureHAL)
                        for(int drawIdx(0), drawCount(pCmdList->CmdBuffer.size()); drawIdx<drawCount; ++drawIdx)
                        {
                                uint64_t wantedTexID                                    = NetImgui::Internal::TextureCastHelper(pCmdList->CmdBuffer[drawIdx].TextureId);
-                               pCmdList->CmdBuffer[drawIdx].TextureId  = NetImgui::Internal::TextureCastHelper(pEmtpyTextureHAL); // Default to empty texture
+                               pCmdList->CmdBuffer[drawIdx].TextureId  = NetImgui::Internal::TextureCastHelper((const void*)pEmtpyTextureHAL); // Default to empty texture
                                for(size_t texIdx=0; texIdx<clientTexCount; ++texIdx)
                                {
                                        if( mvTextures[texIdx].mImguiId == wantedTexID )
                                        {
-                                               pCmdList->CmdBuffer[drawIdx].TextureId  = NetImgui::Internal::TextureCastHelper(mvTextures[texIdx].mpHAL_Texture);
+                                               pCmdList->CmdBuffer[drawIdx].TextureId  = NetImgui::Internal::TextureCastHelper((const void*)mvTextures[texIdx].mpHAL_Texture);
                                                break;
                                        }
                                }

Thank you for your investigations,  c7071017c5bb04727ded1b62be1dec7fcfef95e4 should fixes them. Let me know if there's still some problems.


Styles reset

Importing a reset stylesheet under a selector failed miserably.
So I only do border-box manually.


authentication not working

I am getting the following error when trying to sfgit fetch:
sf_git.models.AuthenticationError: AuthenticationError: Finalized Authentication but didnt find a tokenin final response : {status_code : 200, url : https://app.snowflake.com/?error=LOGIN_FAILED, cookies : <RequestsCookieJar[<Cookie snowflake_deployment=apps-api.c1.centralindia.azure.app.snowflake.com for app.snowflake.com/>]>

@sfc-gh-sredding Hi, seems like authentication flow was updated, it is breaking on my side too.
Will have a look and keep you posted.

hi @tdambrin, is there any update on this? I get AuthenticationError: No valid endpoint for account

hi @stuartjd-lendable , Snowflake recently released their Git Integration. I did not take the time to look into the authentication flow update and am trying to find a more reliable way than to replicate the UI OAuth flow. If you have any idea on the topic, I would love to discuss it. Otherwise, I will talk with people from Snowflake.
FYI: The snowflake documentation for Git Integration

authenticate_to_snowsight seems to be exiting the while True loop too early. Authentication fails but the browser address bar actually has a token in it: http://localhost:50943/?token=pVZZd7I6...yadayadayada

Hi @tdambrin after reviewing the Snowflake documentation, I can confirm that they are not offering the critical ability to export worksheets out of Snowsight. I was really hoping to use your solution for this as I'm switching between accounts and would rather eat eggshells than copy/paste my zillion worksheets over haha.
Were you ever able to figure anything out about the new authentication method? Also where did you find the documentation for the API calls that your code is making please?

Hi @tdambrin I've done some digging at my organization and I've noticed that the auth fails once the app calls /complete-oauth/snowflake. I have reached out to our snowflake rep to see if there is an issue with how this final call is made as I also am unable to find the documentation for the API calls to verify this.

Hi @rich-caceres yes debugged to the same point. Overall, the code relies on internal APIs at Snowflake that are not public. I'd like to think that they are stable enough except for the authentication part which is why I was also seeking alternatives from snowflake but inconclusive so far. Please reach out if you get an answer from them !

Hi @tdambrin after reviewing the Snowflake documentation, I can confirm that they are not offering the critical ability to export worksheets out of Snowsight. (see excerpt below from their Git Operations page) I was really hoping to use your solution for this as I'm switching between accounts and would rather eat eggshells than copy/paste my zillion worksheets over haha.
Were you ever able to figure anything out about the new authentication method? Also where did you find the documentation for the API calls that your code is making please?

Hi @KojoDH, sorry for the last reply. I currently don't have the time to dig into the error especially if this is for a temporary fix until a new update on their auth flow. There is no documentation for the APIs used as they are not public but it's inspired by this repository and enhanced using a simple network analyzer.

@tdambrin We heard back from our snowflake rep after she spoke to the technical team and they have recommended using Snowsight Extensions instead of sf_git. They appear to have no intention to provide any additional context on fixing the issue with sf_git auth. They have updated Snowsight Extension recently as there was an issue that was not allowing users the ability to import worksheets to another environment. I do wish we could use this app but as I stated before there appears to be no intention to fix this issue.

hi @rich-caceres thanks for the info. I do not love the idea of just updating the auth flow without a component maintained by snowflake because of how unreliable that is but if they updated the extensions I can have a look.

Halfway there! See Release 1.4.1 🥳
PWD is fixed, will do SSO later


Feature/google lighthouse

Add Google Lighthouse static report to PRs. Based off of this https://github.com/ebidel/lighthouse-ci

Coverage remained the same at 80.27% when pulling 3f6eb7f48d5034b6cb5e924aab6b2e62e3b7024b on feature/google-lighthouse into b778a5e5e484b3de3af1c8e2d580b7adefa97cea on develop.


Boost (not the biscuit)

My trvs have a 'boost' underlying them.
Is it possible to expose that so they all the rads controlled by a given a thermostat are told to boost?
Consider the alternative to create a free discusssion before making a feature request
Discussions forum is here.
You should check that a discussion relative to the same issue have not been already answered in the forum.
Please also check in the closed issues for a similar case.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hello @jonathh21 ,
It is relatively not understable. Do you really think it is a VTherm issue ?
Why did you keep the text explaining what I need to understand your point but do not make the effort to explain them ?
So, please make an effort of explaining what is your context, what you need and what VTherm doesn't already do. Boost preset already exists typically.

I'm sorry @jmcollin78 I raised it on my phone and didn't realise.
Didn't get chance to correct it.
Apologies for wasting your time, I'll raise something new in the new year.
Merry Christmas.

You can always reopen the issue if you think it is relevant.


[v1.4] Image support (do not merge)

DO NOT MERGE

Pull Request Test Coverage Report for Build 219

64 of 78 (82.05%) changed or added relevant lines in 11 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.6%) to 90.697%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/recipe/model/recipe/Image.java
16
18
88.89%

src/main/java/seedu/recipe/ui/RecipeCard.java
8
10
80.0%

src/main/java/seedu/recipe/ui/BrowserPanel.java
3
6
50.0%

src/main/java/seedu/recipe/model/recipe/Recipe.java
8
15
53.33%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/recipe/logic/commands/UploadCommand.java
3
54.55%

src/main/java/seedu/recipe/commons/events/ui/UploadRecipesEvent.java
4
0.0%

Totals

Change from base Build 215:
-0.6%

Covered Lines:
2135

Relevant Lines:
2354

💛  - Coveralls


[type: feature]: add jaeger in agent.

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2693 (196d0a6) into master (fa46eac) will decrease coverage by 0.55%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #2693      +/-   ##
============================================
- Coverage     60.25%   59.69%   -0.56%
+ Complexity     4384     4353      -31
============================================
  Files           679      679
  Lines         19467    19464       -3
  Branches       1725     1724       -1
============================================
- Hits          11729    11619     -110
- Misses         6757     6878     +121
+ Partials        981      967      -14

Impacted Files
Coverage Δ

...tebuddy/interceptor/InstanceMethodInterceptor.java
0.00% <0.00%> (ø)

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
43.75% <0.00%> (-31.25%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
43.03% <0.00%> (-29.12%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
44.68% <0.00%> (-19.15%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
71.28% <0.00%> (-9.91%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

... and 27 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #2693 (196d0a6) into master (fa46eac) will decrease coverage by 0.55%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #2693      +/-   ##
============================================
- Coverage     60.25%   59.69%   -0.56%
+ Complexity     4384     4353      -31
============================================
  Files           679      679
  Lines         19467    19464       -3
  Branches       1725     1724       -1
============================================
- Hits          11729    11619     -110
- Misses         6757     6878     +121
+ Partials        981      967      -14

Impacted Files
Coverage Δ

...tebuddy/interceptor/InstanceMethodInterceptor.java
0.00% <0.00%> (ø)

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
43.75% <0.00%> (-31.25%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
43.03% <0.00%> (-29.12%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
44.68% <0.00%> (-19.15%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
71.28% <0.00%> (-9.91%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

... and 27 more

Continue to review full report at Codecov.

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


How to get video analytics from shaka player

I'm trying to get some video analytics about how much time user has spend in watching video, what is the average bitrate specially with adaptive playback is on, whether user watched in fullscreen vs normal etc...
Is there any way to get this sort of analytics from the player?

Hello @kesavkolla ,
You can see statistics and info about the current video playback via player.getStats() , however that may not contain all the info you are looking for.


ISPN-8554 Automatically interrupt hanged tests

https://issues.jboss.org/browse/ISPN-8554
https://issues.jboss.org/browse/ISPN-8567

I think ClientEventsOOMTest should be moved to the stress group

CI didn't finish any of the builds, trying one more time...

 Need to wait for another build now...

@danberindei CI appears to be hanging on infinispan-server-endpoints consistently

@ryanemerson build #11 seems to be stuck in the lock module, specifically ClusteredLockSplitBrainTest:
"testng-ClusteredLockSplitBrainTest[DIST_SYNC]" #13 prio=5 os_prio=0 tid=0x00007f6c386883a0 nid=0x3ed5 waiting on condition [0x00007f6c2459c000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x00000000fe839a30> (a java.util.concurrent.CompletableFuture$Signaller)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at org.infinispan.functional.FunctionalTestUtils.await(FunctionalTestUtils.java:42)
at org.infinispan.lock.ClusteredLockSplitBrainTest.assertFailureFromMinorityPartition(ClusteredLockSplitBrainTest.java:169)
at org.infinispan.lock.ClusteredLockSplitBrainTest.testAutoReleaseIfLockIsAcquiredFromAMinorityPartition(ClusteredLockSplitBrainTest.java:164)

Queuing a new build

@danberindei May I ask you to rebase it? Once this is done, and CI if happy, I'll integrate this one.

Updated @slaskawi
There are some test failures, but nothing new AFAICT


[release-1.5] fix operator validation of slice

This is an automated cherry-pick of #22067

@googlebot I consent.


French translation

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

Hello !
This is my small contribution to the french translation. If you are interested in going further, would you need some help ? Or do you have already some plans for it ?

@smalesys Thanks for your contribution. We are very happy that the document can be translated into French.

Great, i will work on it :)

Thanks for your interest in contributing.
@jikkai @ziyoung I would recommend finding more contributors for French translation. The Spanish translation issue can be used as a reference https://github.com/ElemeFE/element/issues/8074

That's a good idea, i will continue on my own to work on it since i have a bit of time during August.
If you open an official issue it will probably attract some french contributors indeed.

Sorry, i must admit that due to work pressure these last months i completed forgot about it several times. Im on vacations for a few days now so i'll try to get back on track.

@wacky6 @island205 I think we're good to go :) tell me if its ok for you.
It works smoothly on my computer but i may have missed some spots.
I also noticed a few bugs with anchor links but apparently not related to the translation.

@smalesys Great work, Thank you very much!


Doesn't seem to work with Hermes at all

This package doesn't seem to work with Hermes at all. Here's the steps I took:

Created an error that causes an app crash (I just threw text inside the return statement of a component, not wrapped in a )
Confirm error gets logged when Hermes is off
Try to reproduce after turning Hermes on, without success. Nothing ends up on the NR logs

Hello, I am able to record errors and report data with Hermes enabled on my end. My configuration is as follows:
android/app/build.gradle
project.ext.react = [
    enableHermes: true,  // clean and rebuild if changing
]

ios/Podfile
:hermes_enabled => true,

All data is reporting with hermes enabled.
Are you having troubles with both Android and iOS? We might need some additional information in order to reproduce this issue:

Logs from Charles or some other proxy to see if the data is being sent to New Relic
package.json
A sample app that can reproduce the issue

I am on RN 0.71.6 (which comes with flipper and Hermes turned on as a default config)and updated newrelic-react-native-agent to 1.1.0 with android agent at 6.10.0. I am getting the following error in DEV mode; maybe because the flipper is turned on?

Here's the error I get in the console:

Please assist me with this issue. I had to disable NewRelic to make the app run normally in DEV mode.

@sthota-fms Hello, I've tested our agent v1.1.0 with an app on react-native 0.71.6 and I haven't been able to reproduce this issue. I have Hermes, Flipper, and DEV mode enabled. Do these problems still occur when DEV mode is off or if hermes is disabled? Can you run npx react-native info and print the output here so we can make sure there isn't any conflicts with versions? If possible, more details on how to recreate this issue would be helpful for us to diagnose the root cause.


Requires patch for generics serialization

This major issue with generic serialization was recently merged into Kryo and needs patched into the akka implementation:
https://github.com/EsotericSoftware/kryo/pull/433

Release 0.5.0 switched to Kryo 4.0.0, which contains this patch.


Some snippets are not navigable through up/down

At least visible in:

Rewrite snippet
Picture snippet

The rewrite snippet also does not seem to react to focused: true (might be related or not).
Cheers

Is this related to https://github.com/feenkcom/gtoolkit/issues/3033 ?


e2e: make per_connection_buffer_limit_bytes configurable

Description:
relates to https://github.com/envoyproxy/gateway/issues/2600

I want to test this feature in e2e, but there is a problem, currently most http filters supported by EG are streaming filter or buffering filter required explicit buffer limit. I need a filter to buffer whole request body to test listener buffer limit without any other buffer limit on filter to overwrite listener buffer limit.
I found extProc can be used to test listener buffer limit via set ExtProcBodyProcessingMode to Buffered. Is this thought acceptable ? And do you have any other opinions ? @yaelSchechter @arkodg


Feature Request - SSL Certificate Validation.

Problem part 1
When connecting to a remote server using SSL or TLS, some situations require us to import the SSL certificate into the Java cacert file, or we get a message such as:

javax.mail.MessagingException: Could not connect to SMTP host: MY.SMTP.SERVER, port: 465;
  nested exception is:
	javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

This page has very good explanation of it, and two different methods to deal with it.
https://confluence.atlassian.com/kb/connecting-to-ssl-services-802171215.html
We had this working fine, until we had to upgrade our SSL certificate.  Now, no matter how or what we do to import the new certificate into Java's cacert file, or otherwise mark it as trusted, we have not been able to get it to work properly on our Macs to send mail using SimpleJavaMail.  It works fine on our Linux thin client server, but not on either of the two Macs we have tried this procedure on.
I'm guessing it may have something to do with the fact that the Linux machine uses OpenJDK, whereas the Macs all use Oracle Java.
Problem part 2
Even if we could get it to work on the Macs, we have many Macs, all of which have different Java configurations.  Further, even with portecle, it is a complex procedure to import these certificates.  And this has to be done on every device we want to send mail through SimpleJavaMail.
Proposed Solution
Theoretically, we should be able to save the SSL key as a String in our application's database.  Modify SimpleJavaMail to allow us to pass that key as a String as an optional parameter to the method that checks the SSL credentials that are throwing this error.  If that String is empty, then ignore it and proceed checking the credentials as it is currently written.  If that String is not empty, compare it with the key that gets pulled from the remote server.  If they match, let it proceed.
This would allow us to get past this ValidatorException.  It should completely eliminate the need to import that trusted certificate into each, or any machine.  All we would have to do is to update the application's database with the new certificate information whenever it is renewed.
I'm willing to try to do the work on this; but if you think it would be useful for others, and would be willing to do this, you are much better at it than I am!

Paging @cbarcenas. Do you have an opinion on this?

I have some reservation about this, because it means circumventing the internal mechanism for working with the trust store. Would the entire chain be represented by the String?
Also, I'm sceptical that working with certifications in Java is somehow broken on Apple computers. Seems to me certificates should be able to work on Macs or else there would be many more people having issues. Did you find anything else in your searches about this?

I can certainly understand your reservations about this.  I’m not sure that I would incorporate it into the library for the general public if I was in your position, either.
I don’t think the entire certificate chain would be represented in the String.  I think it would end up being only the trusted certificate itself.  I’d have to look at what gets pulled from the Java security internal mechanism to know for sure.
I’m not convinced this is a problem with all Apple computers, or necessarily with Oracle Java for Macs.  I may just not have all of the parts of the chain updated in the cacerts file.  I don’t know that much about this.
We had an SSL “expert” here looking at this, and he couldn’t figure out what the problem was, either.
Even though I don’t particularly like the idea of modifying your code to do this, I think I’m going to give it a try because it should still be a better solution than what we have been doing for the past three weeks or so to try to work around it.
There are trade offs to everything.
I appreciate your consideration of this, though.
I wish you a very nice holiday season.
Thank you again.
On Dec 5, 2017, at 2:47 PM, Benny Bottema <notifications<EMAIL_ADDRESS>wrote:
I have some reservation about this, because it means circumventing the internal mechanism for working with the trust store. Would the entire chain be represented by the String?
Also, I'm sceptical that working with certifications in Java is somehow broken on Apple computers. Seems to me certificates should be able to work on Macs or else there would be many more people having issues. Did you find anything else in your searches about this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bbottema/simple-java-mail/issues/118#issuecomment-349452300, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALHjMKcnUtJo4NrCBBn2DzsMX9iQrgjhks5s9bnZgaJpZM4QpkMB.


Initialize html elements before initializing GeoJs map

@kotfic If you spam refresh you should be able to reproduce the bug sometimes where the height passed to GeoJs is 0 because the element hasn't actually been rendered by the time the map is initialized.

@danlamanna Took a quick look at this branch - seems like everything is loading locally except my map is wrapping around? It looks like the map is inserted after the #site element and #site is width: 100%?

Note that his doesn't work on AWS with jupyterhub (yet) due to python 2/3 compatibility issues


  I have the following code but it fails on the final assert because the count is the same as the initial count.
        [Fact]
        public async void ClaimTypes_CanDelete()
        {
            //Arrange
            var db = DbContextMockFactory.Create<SecurityContext>().MockSetFor(CreateClaimTypes());
            var classUnderTest = new ClaimTypesController(db.Object);

            var current = db.Object.ClaimTypes.Count();
            var expected = db.Object.ClaimTypes.First();

            //Action
            var result = await classUnderTest.Delete(expected.Id);

            //Assert
            Assert.NotNull(result);
            Assert.Equal(current-1, db.Object.ClaimTypes.Count());
        }

Please ignore, I read your closed issue and change my test as follows:
        [Fact]
        public async void ClaimTypes_CanDelete()
        {
            //Arrange
            var db = DbContextMockFactory.Create<SecurityContext>().MockSetFor(CreateClaimTypes());
            var classUnderTest = new ClaimTypesController(db.Object);
            var expected = db.Object.ClaimTypes.First();

            //Action
            var result = await classUnderTest.Delete(expected.Id);

            //Assert
            var code = result as StatusCodeResult;
            Assert.Equal(HttpStatusCode.NoContent, code?.StatusCode);
            db.MockedSet<ClaimType>().Verify(a => a.Remove(It.Is<ClaimType>(ct => ct.Equals(expected))), Times.Once);
            db.Verify(s => s.SaveChangesAsync(), Times.Once);
        }

I think this is a better solution anyway as the test is not as brittle and tests the unit I am interested in.


[ZEPPELIN-2804] Fix shiro_authentication documentation

The github preview is fine but the html on https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/security/shiroauthentication.html#ldap is not displaying the code fragment correctly.
What is this PR for?
Fixes the documentation orientation for shiro LDAPRealm
What type of PR is it?
[Documentation]
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2804
How should this be tested?
Build the documentation and verify that the problem as stated in image is resolved.
Screenshots (if appropriate)

Questions:

Does the licenses files need update? N
Is there breaking changes for older versions? N
Does this needs documentation? N

@sohaibiftikhar Thanks for the contribution!
Travis CI is not set, but this is not relevant with CI.
LGTM. merge if no more discussion.

Deployed

https://zeppelin.apache.org/docs/0.8.0-SNAPSHOT/setup/security/shiro_authentication.html#ldap

@1ambda I had an old url from 0.6.2 and 0.7.0 in my url history and I just replaced the version with 0.8.0-SNAPSHOT to see how the doc looked in the latest version. So I did not actually go through the documentation link on the website.

I see. thanks for the answer.


Faster dropping with level

Pieces should auto drop faster as the level gets higher

#27 also committed some stuff to dev.
every level is 2 frames faster
level 20 should auto drop a piece every 20 frames.
level 0 is 60 frames.
after 20, the drop rate is fixed at 20 frames


typeVersions substitution occurs multiple times causing resolution to fail

TypeScript Version:  4.0.3, 4.1.0-dev.20201027
When module direcotry is imported which is mapped to typedefs through typeVersions typescript ends up doing path substitution multiple times and ends up with a wrong lookup path leading to failed resolution. I have created minimal reproducible example https://github.com/Gozala/bug-tsc-path-substitution/tree/double-substitution
Where you can see that src/index.ts imports bar/src module which seems to do the following:

typesVersion substitution is applied to 'src', which matched pattern '*'

Trying substitution 'dist/*', candidate module location: 'dist/src'.

Which triggers following lookups:

node_modules/bar/dist/src.ts
node_modules/bar/dist/src.tsx
node_modules/bar/dist/src.d.ts

After neither found instead of looking up at node_modules/bar/dist/src/index.(ts,tsx,d.ts) it seems to look at 'package.json' 'main' field and do second path substitution:

'package.json' has 'main' field 'src/index.js' that references 'node_modules/bar/dist/src/src/index.js'.

Which fails because it ends up looking for dist/src/dist/src/index instead of dist/src/index.
This is especially problematic because typescript seems to generate import paths like bar/src in place of bar as illustrated by node_modules/foo/ where original import was for bar but typedefs emitted have bar/src instead (for no apparent reason)

Search Terms:

module resolution
typeVersions
double substitution

Code

main.ts
bar/src/index

Expected behavior:
After considering following paths:

node_modules/bar/dist/src.ts
node_modules/bar/dist/src.tsx
node_modules/bar/dist/src.d.ts

Following paths should be considered

node_modules/bar/dist/src/index.ts
node_modules/bar/dist/src/index.tsx
node_modules/bar/dist/src/index.d.ts

Actual behavior:
Instead after considering following paths
After considering following paths:

node_modules/bar/dist/src.ts
node_modules/bar/dist/src.tsx
node_modules/bar/dist/src.d.ts

TS seems to do another path substitute for dist/src/index.js ends up with wrong path node_modules/bar/dist/src/dist/src/index.js which cases failure in finding dist/src/index.d.ts
Playground Link:
Can't demonstrate with playground, as many files are involved. Please see demo repo instead
https://github.com/Gozala/bug-tsc-path-substitution/tree/double-substitution
Related Issues:

https://github.com/microsoft/TypeScript/issues/41281
As mentioned earlier generated typedefs seems to add /src to otherwise bar imports (which don't exhibit this problem). Which on it's own seems surprising making this a lot more problematic.

Workaround:
Instead of
{
  "typesVersions":  {
    "*": {
      "*": ["src/*"]
    }
  }
}

do
{
  "typesVersions": {
    "*": {
      "*": ["src/*"],
      "src/*": ["src/*"]
    }
  }
}

This turns the second expansion into a no-op.

@pauldraper THANK YOU! This has been vexing me for months!


init inside imagesloaded callback

the plugin only triggers after first scroll movement when initialised inside the callback of imagesloaded.

it works with emergence.engage() as a callback after loading the new site with ajax and imagesloaded, but it would be nice to have option to disable/enable or reinit.

Thanks for the feedback. Per your solution, you can use emergence.engage() or emergence.disengage() to refire/disable.


Litte clarification for table alignment

In ttf2woff/index.js at line 203 you seem to be unsure whether the padding should be done with zero bytes. Here is the relavant part from the woff spec (only in v1.0, missing in v2.0):
Except for padding with a maximum of three null bytes in places where 4-byte alignment of a table length or block offset is specified
There you have it: Using 0 bytes for the padding is correct, you can remove the question mark in the comment.

Could you do PR ? I looked this code many time ago and don't remember details. Or, if nobody cares about couple of bytes, we can just close tichet as not principal.

Closed - timed out, not principal.


[GHSA-3p62-6fjh-3p5h] Keycloak vulnerable to cross-site scripting when validating URI-schemes on SAML and OIDC

Updates

Affected products

Comments
This severity score is misleading.
User interaction is needed for this vulnerability to be exploited.
Is this vulnerability as critical as Remote Code Injection such as log4j.
This assigned score means exactly that.

Hi there @abstractj! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Hi @uxdom, we appreciate your contribution to the GitHub Advisory Database. It appears you are proposing a change to the CVSS scoring. What exactly is your recommendation?

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


AppServices are duplicated in the permissioned objects view

When viewing the custom endpoints view, the AppServices listed are duplicated. For example, the API appears twice in the view.
Also searching functionality it is not working well, might be due to the list. Example: search for book and see the list
TokenAuth has a different font than the rest of the appservices and it's endpoints

Steps to Reproduce the Behavior:

Go to: https://functional-adminportal-test.azurewebsites.net/dynamic/Shesha/permissioned-objects
Scroll down starting from the top and observe that each AppService is listed twice
Actual Results: The appservices are duplicated. See attached video: https://jam.dev/c/e2a8b566-614c-4ec8-a379-54c3d7d1474f

Expected Result
Each AppService should appear only once.

Related item: https://github.com/shesha-io/shesha-framework/issues/2407

@hlayisanimazuze
Please check configurations of the test/qa sites. According to the results, it looks like two site instances connected to one (test) database were started immediately after the build and the bootstrapper performed the permissions update twice.
For control, I checked the QA database and the permissions were updated correctly there. This is definitely not a problem with the code.
I will remove duplicated items from the Test DB.

I will confirm with Infrastructure


Add parenthesis () in front of lru_cache decorator

Calling lru_cache without args is not possible in the latest Python because it acts as a function: https://stackoverflow.com/questions/47218313/use-functools-lru-cache-without-specifying-maxsize-parameter
This is untested so far, because I still can't get drf_messages to work properly. But at least it doesn't throw an error.

Thank you! I'm in progress of improving tests and integrating basic CI/CD for this repo

There are some errors I keep running into though. I'll expand and share.

Can you please share you errors / problems in the discussions or submit known issues?
Thank you very much for your contributions!

Hey @danyi1212,
Sorry for the late response. Love your work on this, keep it up.
I tried integrating this in a project because I wanted access to django-messages cookie on my React frontend, but couldn't because of it being httpOnly = False. So I thought this would be a nice alternative (long polling a REST API for messages). However it doesn't work when I query from my React frontend (even the messages don't generate for some reason). But they are generated and work when I login to the Admin panel.
A broad reason I figured was because I am using FirebaseAuthentication + SessionAuthentication at the same time. e.g. if FirebaseAuth fails, then use SessionAuth. The React frontend utilizes FirebaseAuth.
What do you think? How can we investigate into this further?

Also a tiny request: Can we push this parenthesis issue into pip? My docker container fails because of this :P

Hey, thank you for trying out this package!
Have you tried using MESSAGES_USE_SESSIONS = False? I think by default the FirebaseAuthentication does not create a Django Session, then you may be unable to create / read the messages.
About the release, I'm improving the test coverage and fixing some other bugs. In the next few days I will publish that new release 😁

@SaadBazaz Just wanted to update you that the new release is published on PyPI.

@danyi1212 Received. Works on 3.7 but not 3.6.6 (which is ok)
Although, when enabling MESSAGES_USE_SESSIONS = False, the Admin can't change things (I think because it can't find the Session for the message). What do you suggest?
Traceback (most recent call last):
  File "/web/src/django/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/web/src/django/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/web/src/django/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/web/src/django/django/contrib/admin/options.py", line 607, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/web/src/django/django/utils/decorators.py", line 130, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/web/src/django/django/views/decorators/cache.py", line 44, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/web/src/django/django/contrib/admin/sites.py", line 231, in inner
    return view(request, *args, **kwargs)
  File "/web/src/django/django/contrib/admin/options.py", line 1641, in change_view
    return self.changeform_view(request, object_id, form_url, extra_context)
  File "/web/src/django/django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "/web/src/django/django/utils/decorators.py", line 130, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/web/src/django/django/contrib/admin/options.py", line 1522, in changeform_view
    return self._changeform_view(request, object_id, form_url, extra_context)
  File "/web/src/django/django/contrib/admin/options.py", line 1573, in _changeform_view
    return self.response_change(request, new_object)
  File "/usr/local/lib/python3.7/site-packages/parler/admin.py", line 361, in response_change
    redirect = super().response_change(request, obj)
  File "/web/src/django/django/contrib/admin/options.py", line 1307, in response_change
    self.message_user(request, msg, messages.SUCCESS)
  File "/web/src/django/django/contrib/admin/options.py", line 1068, in message_user
    messages.add_message(request, level, message, extra_tags=extra_tags, fail_silently=fail_silently)
  File "/web/src/django/django/contrib/messages/api.py", line 34, in add_message
    return messages.add(level, message, extra_tags)
  File "/usr/local/lib/python3.7/site-packages/drf_messages/storage.py", line 121, in add
    Message.objects.create_message(self.request, message, level, extra_tags=extra_tags)
  File "/usr/local/lib/python3.7/site-packages/drf_messages/models.py", line 89, in create_message
    session = Session.objects.get(session_key=request.session.session_key)
  File "/web/src/django/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/web/src/django/django/db/models/query.py", line 417, in get
    self.model._meta.object_name

Exception Type: DoesNotExist at /en/admin/jpnintl/smartcard/48/change/
Exception Value: Session matching query does not exist.

Well, I guess you have found a bug!
Can you please open an issue with that explanation?
And if you can please check and add details about your request.session, like the type() and dir()?
Thank you!


fix: handle session tokens in generatePresignedPost

Checks for the presence of a session token, and adds it to the presigned-POST request if it exists.

@nicksloan Have you tested this in the real world yet?

@adam-fowler Just confirmed it works.


How can Waffle connect to real ganache？

How can Waffle connected to the real ganache，not just the mocked ganache inside?

You can use ethers JsonRpcProvider instead of MockProvider() and create Wallets manually from privateKeys.


Add Multiplicative Models/Seasonals

PyAF uses an additive signal decomposition of the type \Phi( Trend + Seasonal +  AR), where \Phi is a signal transformation.
It is interesting to add multiplicative decompositions to allow more diverse models. A decomposition can be of the form \Phi( Trend * Seasonal +  AR) or \Phi( Trend * Seasonal *  AR). More general models can be generated this way and allow exploring more forecast types/spaces.

Add Options.mDecompositionTypes = ['T+S+R' , 'TS+R' , 'TSR']. Give control to the user/model. PyAF does not try to detect if the seasonality is additive or multiplicative. It tries all possible models , including both seasonality types and keeps the best model (best MAPE). CPU time is cheap.
Compute incremental remainders/residues based on the decomposition type (trend residues, seasonal residues, etc).
Only 'T+S+R' is enabled by default (fast mode). Slow mode activates all decomposition types. User customizable.
Each decomposition type goes on a specific CPU.
In some cases, multiplicative models are not applicable (negative or zero values in the signal or its residues)

References :

Forecasting: Principles and Practice (3rd ed) By Rob J Hyndman and George Athanasopoulos. https://otexts.com/fpp3/decomposition.html
https://otexts.com/fpp3/classical-decomposition.html

Target Release : 2022-07-14

Impact on plots ?

Demo notebook.

First demo dataset : wineind: Australian total wine sales
https://www.rdocumentation.org/packages/forecast/versions/8.1/topics/wineind

Summary of implementation details :
Updated Options. Only additive models are activated by default
Generate all models with all possible decomposition types.
Handle slow mode. XGBoost and LightGBM models are optional.
Compute trend residues
Compute cycle residues
Compute AR residues
Compute AR/Keras/Intermittent/Scikit models residues
Added some functional tests
Added sample jupyter notebooks with the same dataset and different model settings (T+S+R, TS+R, TSR, slow)
ZeroAR constant value is 1.0 sometimes.
ZeroCycle constant value is 1.0 in multiplicative models
Updated model formula (informative)
Use series.dtype instead of np.dtype(series). CicleCI effects
Corrected typing of intermediate columns.
Avoid unnecessary SettingWithCopyWarning
Handle division by zeros in multiplicative models residues. Compute residues is not that easy!!!
Avoid dataframe fragmentation warnings.
Added some tests (slooooooow, for debugging purposes)
Disable cross-validation by default in slow mode. Can be reenabled manually.
Update model complexity. Additive models are simpler than multiplicative ones.
Refactored model selection. Probably some issues corrected with very large models.

Added a report on the model selection as a dataframe with the best MAPE models , sorted by complexity.
lEngine.mSignalDecomposition.mModelShortList

Fixed.


Move sleeps in polls into the for loop.

Sleeps were added to polls, but most were added outside of the loop. Moving them inside the loop should stop the crazy cpu usage.

Thanks! Glad to see you find it useful!


Chinese FontWeight on Flutter3.0.5 not work

FontWeight.w100~w500 will display as FontWeight.w400 when showing Chinese characters

Flutter (Channel stable, 3.0.5, on macOS 12.1 21C52 darwin-arm, locale zh-Hans-CN)
• Flutter version 3.0.5 at /Users/jack/Documents/work/softwork/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (4 days ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/jack/Library/Android/sdk
• Platform android-31, build-tools 30.0.3
• ANDROID_HOME = /Users/jack/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.55.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.22.0
[✓] Connected device (3 available)
• iPhone 13 Pro Max (mobile) • FAC38063-F678-44FE-AE0C-324EF776E2A2 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
• macOS (desktop)            • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
• Chrome (web)               • chrome                               • web-javascript • Google Chrome 103.0.5060.114
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: const <Widget>[
            Text('你好,谢谢你',
                style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
            SizedBox(height: 1),
            Text('Hello, thank you', style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
            Text('你好,谢谢你',
                style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
            SizedBox(height: 1),
            Text('Hello, thank you', style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
            Text('你好,谢谢你',
                style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
            SizedBox(height: 1),
            Text('Hello, thank you', style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
            SizedBox(height: 40),
            Text('你好,谢谢你,Hello, thank you',
                style: TextStyle(fontWeight: FontWeight.w100, fontSize: 30)),
            SizedBox(height: 10),
            Text('你好,谢谢你,Hello, thank you',
                style: TextStyle(fontWeight: FontWeight.w200, fontSize: 30)),
            SizedBox(height: 10),
            Text('你好,谢谢你,Hello, thank you',
                style: TextStyle(fontWeight: FontWeight.w300, fontSize: 30)),
            SizedBox(height: 10),
            Text('你好,谢谢你,Hello, thank you',
                style: TextStyle(fontWeight: FontWeight.w400, fontSize: 30)),
            SizedBox(height: 10),
            Text('你好,谢谢你,Hello, thank you',
                style: TextStyle(fontWeight: FontWeight.w500, fontSize: 30)),
          ],
        )

Closing this as duplicate of https://github.com/flutter/flutter/issues/105014.


FIX: Alert links and flex

Fixed flex and color of possible links variation (Button, ButtonLink, TextLink, native a)

@wEprous just check it please

@tomashapl good for me 👍


Upload unavailable streams to reflector on startup

Adds a reflector availability check to lbrynet.lbryfilemanager.EncryptedFileDownloader.ManagedEncryptedFileDownloader, when the file manager is started any non-available streams will be uploaded.

Travis is falling behind on the OSX builds.  Will deal with any potential issues later - merging.


  However,
it doesn't seem to be killed completely on some platforms, which makes
this test recipe hang indefinitely when (implicitly) closing the file
handle for this server ($server_fh).
Fixes #15781

Marked urgent, because team members have seen this hang consistently on Solaris, and have confirmed that this PR fixes the problem.

Agree with urgent.

Pushed. Thanks.

Killing the mock server is not as brutal as one might think:
Quick explanation on why this might be the correct fix on some platforms (added here also to maintain an historical context of this case for future maintainers):
kill('QUIT', $pid); is considered a deferrable signal, meaning that it will not be delivered while the code is outside of user space (a.k.a. in the operating system, waiting for something to happen). accept() on NonStop, will not deliver SIGQUIT to the process until accept() completes.
kill('KILL', $pid); is a non-deferrable signal, meaning that it is delivered immediately. It also cannot be caught, so SIG_IGN cannot be set for it. This will immediately kill the process regardless of what state it is in (unless zombied, which is very rare on NonStop).
The behaviour above is consistent with how I have stopped the openssl process to resume tests after they hang, by using kill -9 pid instead of another signal, which did not work.

Thanks for the explanation, @rsbeckerca, that makes sense

I think SIGTERM would be better than SIGQUIT.  But that can still be ignored by the process. This is usually done this way: The parent process first sends SIGTERM to give the child a chance to terminate gracefully and after a second or so it sends SIGKILL.

SIGTERM is deferrable on NonStop, so I'm not sure it would make a difference in this situation.

@t8m, so kill('TERM', $pid); sleep(2); kill('KILL', $pid); ?
PR welcome! :wink:

@t8m, so kill('TERM', $pid); sleep(2); kill('KILL', $pid); ?

Not sure it would make any difference here. I was talking about stuff like system daemon termination or other cases where giving the child processes chance to terminate gracefully actually makes sense. Here... I am not sure what the server would be cleaning up that would not be cleaned by the forced process termination anyway.

@t8m, so kill('TERM', $pid); sleep(2); kill('KILL', $pid); ?

Not sure it would make any difference here. I was talking about stuff like system daemon termination or other cases where giving the child processes chance to terminate gracefully actually makes sense. Here... I am not sure what the server would be cleaning up that would not be cleaned by the forced process termination anyway.

I suppose anything registered with atexit() would potentially do something on a SIGTERM, but not for SIGKILL, which is immediate. I have not looked at the runtime handling code in a while.

On the other hand, the openssl app doesn't do anything that would be disruptive on a system level.  Perhaps an empty output file, but that should be about all...  so killing it immediately should be harmless.

On the other hand, the openssl app doesn't do anything that would be disruptive on a system level. Perhaps an empty output file, but that should be about all... so killing it immediately should be harmless.

An alternative to killing it would be simply to connect to it during test cleanup. Once that happens, a deferred signal is delivered and the process would terminate a bit more cleanly. However, the current kill approach is working nicely.


Is it possible to modify custom config location?

The above is the locations that Aerospace will look for my custom config file. However, instead of ~/.aerospace.toml, i will like to save it in ~/.config/aerospace/.aerospace.toml. I also do not want to modify XDG_CONFIG_HOME env variable.
I am on macOS.
Thank you!

I have saved it in ~/.config/aerospace/aerospace.toml and it works just fine.
Only difference I see, is the dot in front of the file name.

Oh my mistake.


fix(runloop): use upstream status code in passive health check

Summary
We expect the upstream passive unhealthy healthcheck on HTTP status code should only mark the targets as "down" (not reachable or proxiable) using the returned HTTP status code from the target, and it should not be affected by the final HTTP status code set by Kong plugin, which is returned to the client.
So we change the passive health check implementation to use nginx var upstream_code, this will not be changed by any plugin.

Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference
FTI-4841
Fix #10281

The reason for the fix makes sense. Please add a test.

Please add a changelog entry.

pending for 3.2 release.

Please add a changelog entry.

pending for 3.2 release, now changelog have unrelease in 3.2


Update intervention handler to remove send/response, add MessageContext

Requires #4322

@jackgerrits does it make sense to add a blocked label and add to this ticket since it can not get started right away?


Bugfix/pokedex

Status

[ ] Ready
[x] In development
[ ] Hold

Description

Making current Pokedex UI/navigation working.
Rectify some of the layout issue.
Testing

Just open the Pokedex from menu
Concerns, notes, etc.

Currently, navigating through the pokemon is sluggish.
Holding horizontal+vertical key makes a double sfx.
Related issues

Related PRs

This shouldn't be merged into master at all costs

my bad, I'll pull this out.


Viewing user profile gives an error

User Profile Error
When I log onto my mamute instance and click my profile, I receive a org.hibernate.exception.SQLGrammarException: could not extract ResultSet error. It looks like this:

The error also shows up when I am browsing anonymously and click on someone's profile.

@NonlinearFruit  Do want to send PR to fix that?

the bug is fixed. @NonlinearFruit  could you  pull the repository and test?

@felipeweb Pulled the latest code ,Still getting same issue. LAstest commit i have is commit 9b22c3343733db2afe0914453c24db0fcaad221f
Merge pull request #264 from jasonwjones/master
SSL, news hiding, and login redirect fixes

@code4passion thank you for your feedback, i will try reproduce the bug on my machine and fix it asap

@felipeweb Sent a pullrequest for this error. I did ran unit test to verify that nothing is breaking.Do i need to run any other tests? Was not sure how do i run integ tests.Let me know.


Changing the variables.less file is not reflected in 'gulp default'

I realized I had to just build a script that would do this:
lessc less/freelancer.less css/freelancer.css
gulp default

This should be fixed with the new BS4 Beta update, and we're using SCSS now too!


Help: how to autoupdate

Found an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.
Describe the issue / bug.
# how do I do auto updates with github releases? . Do I have to edit the dist script in the package.json? Should I add a
—publish=always. Also my target environment is windows and the appveyor script works perfectly as it creates a draft release every time I push a tag. Also, if it helps, I install my app through the releases. So it only installs .exe files to my windows computer. My only problem is that my developed app can not detect an update every time a new release is made? How do I do this with just the GitHub releases? You can view my repo( linked above).
How can I reproduce this problem?
#
If visual, provide a screenshot.
#
Tell me about your development environment.

Node version: 9.4.0
NPM version: 5.6.0
vue-cli version: (if necessary)
Operating System: macOS High Sierra

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

This more pertains to electron-builder and how auto updates are handled. One important thing to know is that you will need a valid/paid code signing certificate if you want auto updates. If you don't want to get a certificate, you can set up an internal script in your application to check latest releases and point the user to a download link where they can manually get the new version.
Docs: https://www.electron.build/auto-update


Search functionality doesn't work

When I run the project, the pages display normally, but the search functionality doesn't work.  When I try to search a query,
the url changes and becomes like this: http://localhost/work/?category=&in_stock=&search_in_title=sear&order_new=&order_price=&order_procurement=&brand_id=&quantity_more=&added_after=&added_before=&search_in_body=&price_from=&price_to=
But, nothing appears on the rest of the page.

@Grace-Endy It will be better to use virtual host instead of subdirectory of the platform. I have made tests and i see that it works fine. Are you sure that you have products with name that include "sear"

@Grace-Endy I hope everything is fine now?

No, I cloned the project and tried on multiple computers,  I added a bunch of products,  brands, categories,  and so on. Still the same issue.

@Grace-Endy Did you try to add virtual host for the project? Because i see that you use it from subdirectory?

Subdirectory? What do you really mean?
Le lun. 17 août 2020 12:35 AM, Kiril Kirkov<EMAIL_ADDRESS>a
écrit :

@Grace-Endy https://github.com/Grace-Endy Did you try to add virtual
host for the project? Because i see that you use it from subdirectory?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/190#issuecomment-674665663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHJR2UI56FH3TTNLHZXXY3SBC6RBANCNFSM4PLYICGQ
.

http://domain.com/subdirectory :)
Install the platform in virtual host, i mean - shop.domain.com (for example)

Oh okay,  I did so yesterday.  I'm gonna test it this morning to see if the
functionalities work.
I was wondering how could I add stripe and payment via credit cart.
Do you have any idea about how?
Le mar. 18 août 2020 7:54 AM, Kiril Kirkov<EMAIL_ADDRESS>a
écrit :

http://domain.com/subdirectory :)
Install the platform in virtual host, i mean - shop.domain.com (for
example)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/190#issuecomment-675460765,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHJR2VV7DVOYX5HIRIZSIDSBJ2Z5ANCNFSM4PLYICGQ
.

@Grace-Endy Yeah, you must write little piece of code :) Check the stripe documentation and integrate it.


Vendor cmdliner in

RIP package management

@bobzhang ^

We'll do whatever that makes @bobzhang's bspack workflow a bit easier. But for the sake of sharing cached artifacts in the future we should probably pull these out again or something...

bspack is done in dev time, git submodules will be good enough

Is it possible for bspack to work on npm installed cmdliner?


Added on_rollback config option to create_stack

Can this be added as a command line flag? I'd find that useful.
👍 either way

@patrobinson: I've added the cli option. How does that look to you?

Needs some work.

@patrobinson I've updated the test. I couldn't reconcile using a Commander::Command::Options object from cli.rb and a hash in the test, so the test uses the commander object.

LGTM cc @stevehodgkiss

Any idea when this will be merged in?

Thanks @dissonanz!


LoadBalancerUriTools does not take into account server.servlet.context-path

Describe the bug
When LoadBalancerUriTools#reconstructURI is called  it does not take into account server.servlet.context-path. As a result anything trying to resolve the URL will point to something like localhost:8080 instead of localhost:8080/api and fail to call APIs on the target.
I discovered this while looking at the example in feign-eureka
Sample
1.get  feign-eureka
2. add server.servlet.context-path=/api to src/main/resources/application.yml
3. run example
4. server will listen in localhost:8080/api/ and client will request localhost:8080/ resulting in 404

Hello, @DemianTinkiel . Seems to be a duplicate of this issue. Please refer to it to see the discussion and decision log on this feature.


Feature Request: Add Interface validation on GetService calls to check if an interface is passed

Currently the GetService / TryGetService calls on the service manager accept any type when querying for a service, however, only interfaces should be passed to query for registered services.
So if a concrete type is passed, the service obviously cannot be resolved as the framework is interface dependent, but the consumer is unaware of the issue and this can lead to confusion.

I'd go even further. Only interface types that are based on IService should be passed and valid for those APIs