Tidy up "system_gateways_edit"

Tidy up missing semi-colon in non-breaking space

Why reducing from 4 spaces to only 2 spaces?
Shouldn't it be this?

Checking both Chrome and Mozilla, it's difficult to see if there are two or four spaces, I looked at lines 869, 872 and 875, which are a hyphen then a space, 2 characters, therefore used two spaces.

Given the layout and the code it would seem to me that 4 spaces was the intention.


python3 compatibility

As of now, schemav1.py only works for python version 3.8 or higher. The python versions in the CMSSW releases I checked are mostly 3.6, so it might be worth making this code compatible with 3.6 so workflows do not need to be separated.
Before 3.8, typing.ForwardRef was private and typing.Literal did not exist. The former one can solve with
try: # python 3.8
  from typing import ForwardRef
except ImportError: # private in python 3.6 and 3.7
  from typing import _ForwardRef as ForwardRef

but typing.Literal might need to be replace with something else if we want compatibility with 3.6.
It might also be useful for new users to add a warning on top of this script:
import sys; assert sys.version_info>=(3,8),"Python version must be newer than 3.8, currently %s.%s"%(sys.version_info[:2])

Per pydantic docs, Literal is supported prior to python 3.8 via https://pypi.org/project/typing-extensions/
For ForwardRef, it looks like pydantic is also happy to take strings in lieu of types so I'll just move to that

Per pydantic docs, Literal is supported prior to python 3.8 via https://pypi.org/project/typing-extensions/
For ForwardRef, it looks like pydantic is also happy to take strings in lieu of types so I'll just move to that


cairo dependency?

Basic informations

splash-cli version: 2.3.9
NodeJs version: v7.7.2
Your OS: macOS 10.12.4

ISSUE
npm i -g splash-cli failed with the following error. brew install cairo was required first to complete the install successfully.
><EMAIL_ADDRESS>install /Users/alec/.nvm/versions/node/v7.7.2/lib/node_modules/splash-cli/node_modules/canvas
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
gyp: Call to './util/has_cairo_freetype.sh' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/alec/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:308:16)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:194:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/Users/alec/.nvm/versions/node/v7.7.2/bin/node" "/Users/alec/.nvm/versions/node/v7.7.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/alec/.nvm/versions/node/v7.7.2/lib/node_modules/splash-cli/node_modules/canvas
gyp ERR! node -v v7.7.2
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
/Users/alec/.nvm/versions/node/v7.7.2/lib
└── (empty)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs canvas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.

npm ERR!      /Users/alec/.npm/_logs/2017-04-08T22_28_16_030Z-debug.log

Cairo is not "ufficially" a dependecy... maybe some dependents package needs it. I'll investigate on this. It's never happened.


Need to handle users in different timezones

Users should be able to select their timezone so the timestamps on their data and their date range filters more accurately reflect the region they live in.

Going to close this until we have a better sense of needs for this.


Add more details about Custom Authorize filter attribute

Add more details about Custom Authorize filter attribute that accept multiple parameters and can filter based on them.

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

ID: f0646a3d-a5d1-d4b0-5494-fe38219d16c9
Version Independent ID: 8b659e63-93b8-a496-bc9b-dce0d9fa8f3c
Content: Filter methods for Razor Pages in ASP.NET Core
Content Source: aspnetcore/razor-pages/filter.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@himalayagarg 	thanks for the suggestion. We'll evaluate this at the next doc sweep.

How can we create Filter Attribute on handler, not on Page?

This convention is out dated:
services.AddMvc(options =>
{
options.Filters.Add(new SamplePageFilter(_logger));
});

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough  👍 responses, we’ll reconsider.


[SPARK-35088][SQL] Accept ANSI intervals by the Sequence expression

What changes were proposed in this pull request?
This PR makes Sequence expression supports ANSI intervals as step expression.
If the start and stop expression is TimestampType, then the step expression could select year-month or day-time interval.
If the start and stop expression is DateType, then the step expression must be year-month.
Why are the changes needed?
Extends the function of Sequence expression.
Does this PR introduce any user-facing change?
'Yes'. Users could use ANSI intervals as step expression for Sequence expression.
How was this patch tested?
New tests.

Test build #137853 has started for PR 32311 at commit 1e96d54.

Test build #137853 has finished for PR 32311 at commit 1e96d54.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #137858 has started for PR 32311 at commit 89a34bc.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42383/

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

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

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

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

Test build #137858 has finished for PR 32311 at commit 89a34bc.

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

The error message confuses slightly:
https://github.com/apache/spark/blob/9af338cd685bce26abbc2dd4d077bde5068157b1/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala#L2567
Type checking can fails because of unsupported type of steps even start and stop have one of: integral, timestamp or date.

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

Test build #137913 has started for PR 32311 at commit 1d38d02.

Test build #137913 has finished for PR 32311 at commit 1d38d02.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42435/

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

Test build #137914 has started for PR 32311 at commit 75562fe.

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

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

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

Test build #137919 has started for PR 32311 at commit cb361d1.

Test build #137919 has finished for PR 32311 at commit cb361d1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

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

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

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

Test build #137914 has finished for PR 32311 at commit 75562fe.

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

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

Test build #137932 has started for PR 32311 at commit 47853e8.

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

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

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

@MaxGekk Thanks for you review.

Test build #137932 has finished for PR 32311 at commit 47853e8.

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

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


fix: use original path value for HttpRequests

avoid splitting on encoded forward slashes and preserve encoded characters
Fixes: https://github.com/nitrictech/nitric/pull/224

Codecov Report

Merging #108 (9497f52) into develop (f5bc739) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #108   +/-   ##
========================================
  Coverage    38.13%   38.13%
========================================
  Files           40       40
  Lines         2845     2845
========================================
  Hits          1085     1085
  Misses        1657     1657
  Partials       103      103

Flag
Coverage Δ

unittests
38.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 f5bc739...9497f52. Read the comment docs.


"Privacy Mode" may no longer be a thing

[Enter feedback here]
There are mutiple references to "Privacy Mode" on this page.  Example:
"In Teams, presence sharing is always enabled for users in the organization unless Privacy mode is enabled. In Privacy mode, presence is not visible to external users."
There is no link or reference regarding Privacy Mode, it's features or constraints, or how to manage it.  A search of the rest of the Teams documentation reveals that only this page contains the term.
The feature is either deprecated and references to it need to be updated, or more detailed documentation about managing the feature needs to be included or linked.

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

ID: a162ef5c-3099-7f58-4178-d29e3ec2b5a7
Version Independent ID: 6ca31e56-052d-6c62-1323-b5aaaae1f04a
Content: User presence in Teams - Microsoft Teams
Content Source: Teams/presence-admins.md
Service: msteams
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Hello @FC-EricWeller thanks for your feedback

#10159 doesn’t appear to change this issue?  The link in the preview appears to be invalid (https://github.com/get-itips/OfficeDocs-SkypeForBusiness/blob/patch-255/powershell/module/skype/set-csprivacyconfiguration#-enableprivacymode)
For what it’s worth  we opened a ticket with MS Support on this issue and were told that the EnablePrivacyMode setting from SfB is NOT supported for Teams.
Eric F. Weller
Manager, IS Operations
9275 W Russell Rd, Suite 240, Las Vegas, NV 89148
T:702.692.8060
@.***
CONFIDENTIALITY NOTICE:
The information contained in this message may be protected by the attorney-client privilege.
If you believe that it has been sent to you in error, do not read it. Please immediately reply
to the sender that you have received the message in error. Then delete it.
Thank you.
From: Tina Burden @.>
Sent: Friday, July 21, 2023 2:47 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Weller, Eric @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] "Privacy Mode" may no longer be a thing (Issue #10142)
REPLY-TO MISMATCH
Replying to this message sends to a different address than the one it's from.

Closed #10142https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10142 as completed via #10159https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/pull/10159.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10142#event-9889145744, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKBGEEX5CBQWWPJWESNBH5LXRL2ERANCNFSM6AAAAAAZUXXUYU.
You are receiving this because you were mentioned.Message ID: @.***>


Add NFS NIC device last, so that eth1 in /etc/default/isc-dhcp-server…

… points to the right interface
Hat tip to @DavidjohnBlodgett for finding this issue.
Basically, if you uncomment the private network settings for using NFS mounts, in its current place in the Vagrantfile, it will add a network interface to be enumerated before the closednet interface that the RackHD/DHCP services run on. This conflicts with the entry in /etc/default/isc-dhcp-server that points to eth1, such that the isc-dhcp-server upstart service will fail on startup. If we move the extra private network interface to be after all other network setup commands in the Vagrantfile, then it gets enumerated as eth2 and the closednet interface stays on eth1
@RackHD/corecommitters @zhangy42 @lacarb

👍  tested.

testing something, ignore
👍

:+1:


Swift 4.0 branch stringref perf

This back ports a fix for a severe performance regression in LLDB that was introduced in LLVM 4.0.

@swift-ci please test

The CMake changes are not strictly necessary for this patch, but without them you can't build properly using CMake on Darwin, so I think they are worth pulling in and they shouldn't destabilize the release in any way. If you'd prefer I can remove them but since we build LLDB with Xcode on Darwin they shouldn't have any adverse impact.


octomap_mapping: 0.6.4-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository octomap_mapping to 0.6.4-1:

upstream repository: https://github.com/OctoMap/octomap_mapping
release repository: https://github.com/ros-gbp/octomap_mapping-release.git
distro file: melodic/distribution.yaml
bloom version: 0.9.0
previous version for package: 0.6.3-0

octomap_mapping

No changes

octomap_server
* Add private node handle to fix nodelet support (#61 <https://github.com/OctoMap/octomap_mapping/issues/61>), fixes #39 <https://github.com/OctoMap/octomap_mapping/issues/39>
* Add octomap_server_color library by default (#60 <https://github.com/OctoMap/octomap_mapping/issues/60>) - by Matthew Powelson
* Check if part of a voxel is in occupancy range (#59 <https://github.com/OctoMap/octomap_mapping/issues/59>) - by Jasper v. B.
* Contributors: Matthew Powelson, Wolfgang Merkt, Jasper v. B.

The Travis <-> GitHub bridge isn't updating for some reason; closing and reopening to retrigger.


[DOCFIX] Improve Chinese documentation of a few pages(LineageParameter, Architecture,Key-Value,index)

Improved the following Chinese docs:
LineageParameter.yml
Architecture.md
Key-Value-System-API.md
index.md

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/8630/
Test PASSed.

LGTM
Thanks for the improvement!

LGTM. Thanks!


Display addresses of cosigners of a multisignature account

0.5.16-BETA
Till now there is no way to show the addresses of the configured cosigner of a multisignature account in the GUI. Would be nice to have that... ;)

@fyahfox to make it straight, do you want to:
a) display MULTISIG accounts, that given account is a cosignatory of (well that's actually visible in send nem dialog already) so I suppose you mean
b) for MULTISIG account display it's cosignatories.
in b, where would you display it?

Yes, I meant b).
I suggest this: http://s21.postimg.org/kguk1ketz/cosignatory_list_suggestion.png
It would be very good to see the current account next to balance anyway, because whenever it is loading slow, you are sure which account balance you are looking at.

The account details window is very nice!
But you don't like to see the label (or address if no label is present) of the current account next to "Current Balance"?
"It would be very good to see the current account next to balance anyway, because whenever it is loading slow, you are sure which account balance you are looking at."

@fyahfox not sure if I understand you, this "current balance" is in the background. I've attached it on the screenshot only to make it visible, where "view cosignatories" is.

nevermind, you implemented the "loading" warning

I reconsidered.
It would be way more logical to have a "View Account Details" in the gear menu (next to account address on the left side). This should be present for all accounts, not only multisig accounts, because people might want to see additional information for any account.
You could then include the "display private key" IN the popup window of "View Account Details", that would make even more sense and you have one menu item less in the gear menu.

The "display private key" is a separate issue, not sure if we'll be doing that (if you think it'd be good, create separate isssue).

thanks!


Update CI

Fixes #28

I'll just merge myself, because it's a bit urgent, currently it fails all push workflows.


elasticsearch throws error: Connection reset by peer

When indexing a collection, after ca. 74000 documents the process for
docker-compose run --rm search ./manage.py update -v2 mycollection
suddenly stops with this error message:
2018-02-08 12:33:35 1 INFO hoover.search.index updating <Collection: mycollection>
2018-02-08 12:33:35 1 INFO hoover.search.index resuming load: {'feed_state': 'http://snoop/htmidi/feed?lt=2018-02-07T04:20:59.559099Z', 'report': {'indexed': 74000}}
2018-02-08 12:34:00 1 WARNING elasticsearch POST http://search-es:9200/_bulk [status:N/A request:1.140s]
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 356, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.6/http/client.py", line 1065, in _send_output
    self.send(chunk)
  File "/usr/local/lib/python3.6/http/client.py", line 986, in send
    self.sock.sendall(data)
ConnectionResetError: [Errno 104] Connection reset by peer

I assume, there is a very large file in mycollection causing this error.
As a workaround, a max document size could be introduced or a large file split into several pieces.

Hi @grenwi, what does the elasticsearch log say?

Not easy to say. I am running the docker setup which does not log anything by default. I need to find out how to get the log running... any suggestions?

Yes, you can look at the docker logs with docker-compose logs -f search-es.

Alright, yes, the logs show the presumed error:
search-es_1   | org.jboss.netty.handler.codec.frame.TooLongFrameException: HTTP content length exceeded 104857600 bytes.
search-es_1   |   at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:169)
search-es_1   |   at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
search-es_1   |   at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
search-es_1   |   at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
search-es_1   |   at org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:135)
search-es_1   |   at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
search-es_1   |   at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
search-es_1   |   at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
search-es_1   |   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
search-es_1   |   at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)
search-es_1   |   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
search-es_1   |   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
search-es_1   |   at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
search-es_1   |   at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
search-es_1   |   at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
search-es_1   |   at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:75)

Unfortunately, I cannot see from the logs which file caused the error. But the collection contains a very diverse set of files, among other server logs which might exceed the frame limit.
I suppose that for most of such error cases it would be fine to cut the to-be-indexed content to the allowed frame length. But maybe there is a more elegant solution?

I'd question the usefulness of indexing a 100GB file. At some point the database/index must impose some limits on data size. If cutting the content is acceptable, we can do that somewhere in snoop, before the data gets sent off to elasticsearch. Bonus points if we flag the document so the user knows it's been truncated.

No updates on the issue, closing


consider using maximum likelihood to estimate $\hat{\theta}$ prior to fitting GEE model

right now $\hat{\theta}$ for the scLANE and null models is being estimated using the method of moments (MM). however, this requires the estimation of the degrees-of-freedom, which I'm not sure is being done correctly, and can also lead to an estimate being truncated at 0 which is not ideal or realistic. consider switching to estimating $\hat{\theta}$ using maximum likelihood instead, as implemented in MASS::theta.ml() (as opposed to MASS::theta.mm() which is used currently).

ran some quick tests and it appears the two estimates are highly correlated, and pretty much the same in terms of speed - MM estimation is ever so slightly faster by a few nanoseconds on average.

closing as the difference in speed is negligible and the estimates are very similar


http://yadcf-showcase.appspot.com/entrys_table_source?_=1674682280312 giving back Error 500

Hi,
I was trying to understand ajax source and looking at http://yadcf-showcase.appspot.com/ajax_source.html the ajax request fails with error 500 so the page is not working.

you are right, untill it get resolved, you can take a loot at the source code of the showcase in my github repo https://github.com/vedmack/yadcf-showcase

not sure when it will be resolved, seem that google app engine started to block these request cause I haven't activated billing on my showcase :|


Add Flow for type checker (if the file has flow flag)

Add Flow for type checker (if the file has flow flag)
https://flow.org/en/
Task rules

It will use .flowconfig
If the file has flow (// @flow) flag, Flow will check it.
Example pages need to get flow check

Hi @Sly777, I really like your project here, and I think (and will try) to help you with this issue, if no one else is already doing it. I guess I can make a pull request along this week.
Regards and keep this work going on!

Hey @talensjr, Sure you can work on this! I'm working on another part of RAN so you are free to work  :)

#319 is in progress


[sil] Verify that the type lowering associated with SILTypes in a fun…

What's in this pull request?

Verify that the type lowering associated with SILTypes in a function have internal lowered types that have archetypes valid in this function.
Previously we only checked if the type itself, not the stack of types in the
type lowering did not have this problem. This just extends that to this stack of
SILTypes.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

@swift-ci Please test

Anyway, I suspect that the better (and cleaner!) verifier fix is to assert in the AST verifier that the interface type of a member of a nominal type does not have any archetypes.

John and I talked about this. With the AST verifier check, we get the validation via transitivity since projecting out subtypes can not introduce new archetypes.


Incompatibilities with some Java 8 updates

I found that AsciidocFX runs well with the latest Java 8 microversion (Update 66) but has issues with some previous microversions:

It simply does not run on Java 8 Update 20:

1913 [JavaFX Application Thread] ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springAppConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.kodcu.controller.ApplicationController com.kodcu.boot.SpringAppConfig.applicationController; nested exception is java.lang.NoClassDefFoundError: javafx/scene/control/TextInputDialog
.....
Caused by: java.lang.NoClassDefFoundError: javafx/scene/control/TextInputDialog

throws exceptions with Java 8 Update 45:

netscape.javascript.JSException: netscape.javascript.JSException: RangeError: Maximum call stack size exceeded.
at com.sun.webkit.dom.JSObject.fwkMakeException(Unknown Source)
at com.sun.webkit.WebPage.twkExecuteScript(Native Method)
... 29 more
java.lang.NullPointerException
at com.sun.javafx.Utils.getScreen(Unknown Source)
at com.sun.javafx.webkit.WebPageClientImpl.getScreenBounds(Unknown Source)
at com.sun.webkit.WCWidget.fwkGetScreenRect(Unknown Source)
java.lang.NullPointerException
at com.sun.javafx.Utils.getScreen(Unknown Source)
at com.sun.javafx.webkit.WebPageClientImpl.getScreenBounds(Unknown Source)

Hey @pjBooms I'm excited you tried AsciidocFX in Java Embedded. Did you try it on Raspberry PI ?
NoClassDefFoundError: javafx/scene/control/TextInputDialog
When we look at above line , TextInputDialog class is needed by application and this class is available after JDK 1.8U40 above.
So AsciidocFX depens on jdk1.8 update 40 +

Hum, why do you think that I tried it for Java Embedded?
Actually I work for Excelsior -- Excelsior JET makers. Exceslior JET is JVM with AOT compiler for desktop platforms. Now, I am developing Maven plugin for Excelsior JET -- https://github.com/excelsior-oss/excelsior-jet-maven-plugin (will be published to Maven Central soon).
So I've tested the plugin with your project. Generally, it just works with just copy&paste of 8 lines into your pom.xml (and commenting appassembler-maven-plugin as it produces huge jar that is not needed for running), however as Excelsior JET supports Java 8 Update 40 only for now it has the same problem as Oracle JRE 8 Update 40 (the same problem as I mentioned above for Java 8 Update 45 with netscape.javascript.JSException: netscape.javascript.JSException)
It is not problem as we are going to support Java 8 Update 65 soon.
The plugin will also need some tweaks to work well with your project such as copying of "conf" directory to the final package. I have also found that you look for "conf" directory in the upper directory of AsciidocFX.jar directory  (it is quite strange relying) that also does not work well with the plugin. Anyway, it is good test for the plugin anyway :).

Hmm, What you mean with "microversions", I understand it as Java embedded :)
It is cool, I'm using install4j for multiplatform installer, I see your project is a bit like that. If your project support cross-compilation then I can use it.
Because we are accessing conf folder in filesystem not in jvm directly.

Does your product give me performance improvement??

"microversion" is old notation for "update".
Unfortunately, Excelsior JET does not support cross-compilation, you need to build the app for each platform separately.
We are going to support cross-compilation but it is not easy as we really compile Java bytecode to native code and link it with the target platform native libraries. It is possble to support but not easy.
You may expect performance improvements of course especially for UI stuff, and startup time improvements for sure.
And the final native package can be smaller (by means of Java Runtime Slim Down technology -- http://www.excelsiorjet.com/solutions/java-download-size).

I want to evaluate excelsior jet, but it has u40 profile, how can use different jdk for example u65 or u66 ?

Java Updates are supported in Maintanence Packs of Excelsior JET. Java Update 65 support is scheduled for the beginning of December.

How can use Maintanence Packs of Excelsior JET ? Is it private yet ?

It is not issued yet :). Supporting of Java updates is a development process for us.

Ok guy, I look forward to try it :)

I tried jet with tag v1.3.6, it works with jdk 1.8 u40. But, I unfortunately didn't feel any performance differrence

What OS/CPU have you tried? I recommend to try Windows 32-bit and enable global optimizations there (SMART preset on Page Classpath of JET Control Panel).

Windows 7 x64, i5 3210M . I will try again with jet's 32 bit version again with global optimizations.


Http3 example doesn't work

Description:
I am using config from https://github.com/envoyproxy/envoy/blob/943be5375289eba651748901a71cd77686ae06ed//configs/envoyproxy_io_proxy_http3_downstream.yaml to set HTTP3 support however it doesn't work
*   Trying <IP_ADDRESS>:10000...
* connect to <IP_ADDRESS> port 10000 failed: Connection refused
* Failed to connect to <IP_ADDRESS> port 10000: Connection refused
* Closing connection 0
curl: (7) Failed to connect to <IP_ADDRESS> port 10000: Connection refused

Repro steps:

Checkout https://github.com/envoyproxy/envoy/blob/943be5375289eba651748901a71cd77686ae06ed//configs/envoyproxy_io_proxy_http3_downstream.yaml and use as config
start envoy with docker run --rm -p 10000:10000/UDP -p 10000:10000/TCP -p 9901:9901 -v ${PWD}/10-http3/envoy-example.yaml:/tmp/envoy.yaml -v ${PWD}/certs/servercert.pem:/tmp/servercert.pem -v ${PWD}/certs/serverkey.pem:/tmp/serverkey.pem envoyproxy/envoy:v1.25.0 -c /tmp/envoy.yaml
try to do http3 connection docker run -it --rm ymuski/curl-http3 curl -v -k  https://<IP_ADDRESS>:10000/

Logs:
https://pastebin.com/iBKnttjr

I recommend trying to test without docker, or at least with all the components within a single docker container, to rule out docker networking as an issue. If it's still an issue, ensure the ports you expect are open using netstat or ss.

@ggreenway thanks, your intuition was right. I had some issue with docker's networking on MacOS. I was able to make it work in docker container on Linux instance.
However, I still can see some issue. E.g Chrome is not able to initialize Http3 connection. However I can able to establish HTTP3 connection with quiche’s http3-client, e.g RUST_LOG=debug target/debug/examples/http3-client <MY_HOST>
I am following example from this repo. TCP listener works, Chrome is able to reach the HTTP2 proxy endpoint. However H3 fallback doesn't happening. This is strange because alt-svc header points to the UDP listener.
Is that expected that Chrome and Envoy's Http3 are not working as expected?

I would expect Chrome to work with Envoy over http/3. What kind of failure are you seeing? Are the UDP packets not reaching Envoy? Failure to handshake a QUIC connection? Failure to validate the cert?

UPD listener is working fine when sending requests with http3-client or curl. The issue is that  Chrome is not switches to the h3 protocol and keep using h3 while alt-svc is sent in the response. When I connect to UDP port directly from CLI it works fine.

seems to be related to https://github.com/envoyproxy/envoy/issues/24103


bluetooth header can't be included a code in subdirectory

Environment

Development Kit:      [ESP32-DevKitC]
Kit version (DevKitC): [v4]
Module or chip used:  [ESP32-WROOM-32D]
IDF version (run git describe --tags to find it):
v3.3-beta2-20-gff020c3a1
Build System:         [Make|CMake]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
1.22.0-80-g6c4433a
Operating System:     [macOS]
Power Supply:         [USB]

Problem Description
I'm trying to write a ble code with subdirectory, for example the source tree is below:
Project
├── CMakeLists.txt
├── Makefile
├── README.md
├── main
│   ├── CMakeLists.txt
│   ├── ble
│   │   ├── CMakeLists.txt
│   │   ├── ble.c
│   │   ├── ble.h
│   │   ├── component.mk
│   ├── component.mk
│   └── main.c
└── sdkconfig

If I try to build ble.c that include the ble headers (esp_gap_ble_api.h, esp_gatts_ble_api.h, esp_gattc_ble_api, etc.) in subdirectory ble, an error occurred.
However, if I write the main.c to include the ble headers or if I move the ble.c and ble.h files to main directory, anything is ok.
Actual Behavior
When I build ble source codes which is  with cmake, an error occurred while processing "Building C object esp-idf/ble/CMakeFiles/idf_component_ble.dir/ble.c.obj."
The error message is below:
[1/10] Building C object esp-idf/ble/CMakeFiles/idf_component_ble.dir/ble.c.obj
FAILED: esp-idf/ble/CMakeFiles/idf_component_ble.dir/ble.c.obj
/Users/nate/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -DESP_PLATFORM -DGCC_NOT_5_2_0=0 -DHAVE_CONFIG_H -DIDF_VER=\"v3.3-beta1-524-gff020c3a1\" -I../main/ble -Iconfig -I/Users/nate/esp/esp-idf/components/esp32/include -I/Users/nate/esp/esp-idf/components/driver/include -I/Users/nate/esp/esp-idf/components/esp_ringbuf/include -I/Users/nate/esp/esp-idf/components/tcpip_adapter/include -I/Users/nate/esp/esp-idf/components/lwip/include/apps -I/Users/nate/esp/esp-idf/components/lwip/lwip/src/include -I/Users/nate/esp/esp-idf/components/lwip/port/esp32/include -I/Users/nate/esp/esp-idf/components/lwip/port/esp32/include/arch -I/Users/nate/esp/esp-idf/components/lwip/include_compat -I/Users/nate/esp/esp-idf/components/vfs/include -I/Users/nate/esp/esp-idf/components/esp_event/include -I/Users/nate/esp/esp-idf/components/log/include -I/Users/nate/esp/esp-idf/components/efuse/include -I/Users/nate/esp/esp-idf/components/efuse/esp32/include -I/Users/nate/esp/esp-idf/components/newlib/platform_include -I/Users/nate/esp/esp-idf/components/newlib/include -I/Users/nate/esp/esp-idf/components/freertos/include -I/Users/nate/esp/esp-idf/components/app_trace/include -I/Users/nate/esp/esp-idf/components/heap/include -I/Users/nate/esp/esp-idf/components/soc/esp32/include -I/Users/nate/esp/esp-idf/components/soc/include -mlongcalls   -mlongcalls -Og -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -nostdlib -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -std=gnu99 -Wno-old-style-declaration -MD -MT esp-idf/ble/CMakeFiles/idf_component_ble.dir/ble.c.obj -MF esp-idf/ble/CMakeFiles/idf_component_ble.dir/ble.c.obj.d -o esp-idf/ble/CMakeFiles/idf_component_ble.dir/ble.c.obj   -c ../main/ble/ble.c
In file included from ../main/ble/ble.c:8:0:
../main/ble/ble.h:4:29: fatal error: esp_gap_ble_api.h: No such file or directory
compilation terminated.
[3/10] Performing build step for 'bootloader'
ninja: no work to do.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Of course, I double checked that the bluetooth component is enabled by idf.py menuconfig.
Code to reproduce this issue
Project attachement file
Download: ble.zip
CMakeLists.txt (in main directory)
set(COMPONENT_SRCS "main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")

register_component()

main.c
#include "ble/ble.h"

void app_main()
{
    ble();

    return;
}

CMakeLists.txt (in ble directory)
set(COMPONENT_SRCS "ble.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")

register_component()

ble.c
#include "ble.h"

void ble()
{
    esp_ble_gap_cb_param_t *param;

    return;
}

ble.h
#include "esp_gap_ble_api.h"

void ble();

ble component should be placed into components directory of your project, not into the main directory (which is itself a component).
Please check https://github.com/espressif/esp-idf/tree/master/examples/system/console project as an example of adding extra components, and https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#example-project for documentation.

@igrr Thank you for your reply.
I'm studying CMake and already fully read the document. But, I can't apply well and can't find any examples that are working about you mentioned.
Could you provide a simple example for this project?

@igrr Thank you!


[FE] Fix Authentication Bug

AC:

There shouldn't be any split second delay in redirecting the user from protected routes (when the user is not logged in).

lgtm!


update packages

:white_check_mark: Build TheIdServer 7.4.4-fix-dependencies1-0047 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/e92ad8481f by @invalid-email-address)


Fix a couple of bugs in the LIR backend.

GT_NO_OP was being considered as producing value, which it does not.
All backends were missing a call to genEnsureCodeEmitted() after the
final IL offset node in a block.

@BruceForstall PTAL. This fixes the debugger tests that were failing in DDR.

:shipit:


[Bug?] Parent compiler's plugins are not inherited into the child compiler.

My story is here: https://medium.com/lacolaco-blog/an-issue-around-angular-cli-comlink-workerplugin-585be1c8d087
My friend @manfredsteyer figured out the cause of the error. WorkerPlugin creates a child webpack compiler for worker module's compilation.
https://github.com/GoogleChromeLabs/worker-plugin/blob/master/src/loader.js#L42
const workerCompiler = this._compilation.createChildCompiler(NAME, workerOptions);

createChildCompiler API takes three arguments; its name, outputOptions, and plugins. The current implementation in WorkerPlugin doesn't pass the 3rd argument, so the child compiler doesn't has plugins inherited from the parent.
Solution:
Add the 3rd argument and pass compilerOptions.plugin.
const workerCompiler = this._compilation.createChildCompiler(NAME, workerOptions, compilerOptions.plugins);

In my case, it works well as I expected.
If this is by design, I'd like to know the reason.

I've released this as 2.0.1 - give it a try and let me know if it works. I think we'll probably be playing whack-a-mole disabling plugins for a while though. If it causes too many issues we'll have to switch to a whitelist approach.


Add more languages

Add implementation of algos and DS in more languages and edit the README accordingly.

I can add a few in Scala. Is it ok?

Totally! Go ahead :)

sir i can add more algorithms in cpp
also i will  implement those in python

how about a circular buffer

I can add some algorithms in cpp and java.

Can I add 0/1 knapsack in cpp?

If it's not there, sure go ahead. @varunkmr19

@saruftw I've added 0/1 knapsack in CPP. You can check #164

adding linked list functionality in cpp

Hi @saruftw
I would like to add codes in Kotlin. Expect a PR soon, tagged with the same issueId.

@saruftw please check #176


[Backport 2.x] Fix jar hell on failureaccess-1.0.1.jar (#83)

Backports bc835a03f0a1545d17b829a2d60390a82c3babd9 from #83

I plan to change the job-scheduler dependency back to zipArchive since this jar dependency will break gradle run on local. Please block this PR to merge for now.

This can be closed since changed the job-scheduler dependency approach is this PR: https://github.com/opensearch-project/skills/pull/87


Default responses lead to invalid Swift code

Description
When using default responses in the OpenAPI schema, the generated code for the client places the default case at the top of the switch, and the compiler yields an error Additional 'case' blocks cannot appear after the 'default' block of a 'switch'.
Reproduction
openapi: "3.0.3"
info:
  title: API
  version: 0.1.0
paths:
  /api/projects:
    get:
      operationId: listProjects
      responses:
        default:
          description: Unexpected error
          headers:
            X-Request-Id:
              schema:
                type: string
              description: The id of the request that led to this response.
        "200":
          description: A success response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Projects"

Package version(s)
├── tuist<https://github.com/tuist/tuist@unspecified>
│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   │   └──<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   │   ├──<EMAIL_ADDRESS>│   │   │   └──<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   │       ├──<EMAIL_ADDRESS>│   │       │   └──<EMAIL_ADDRESS>│   │       └──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   │   └──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   │   ├──<EMAIL_ADDRESS>│   │   │   │   └──<EMAIL_ADDRESS>│   │   │   └──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   │   ├──<EMAIL_ADDRESS>│   │   │   │   ├──<EMAIL_ADDRESS>│   │   │   │   └──<EMAIL_ADDRESS>│   │   │   └──<EMAIL_ADDRESS>│   │   │       ├──<EMAIL_ADDRESS>│   │   │       │   └──<EMAIL_ADDRESS>│   │   │       └──<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   │       └──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   ├──<EMAIL_ADDRESS>│   │   └──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>│       └──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├── swift-openapi-runtime<https://github.com/tuist/swift-openapi-runtime@unspecified>
├── swift-openapi-urlsession<https://github.com/tuist/swift-openapi-urlsession@unspecified>
│   └── swift-openapi-runtime<https://github.com/tuist/swift-openapi-runtime@unspecified>
├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>│       └──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>│   ├──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>│       └──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>└── swifter<https://github.com/httpswift/swifter.git@unspecified>

Expected behavior
I'd expect the default to be at the bottom.
Environment
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)
Target: arm64-apple-macosx14.0

Additional information
No response

The generated code respects the order specified in your OpenAPI document.
Let me take a look though, we should at least move the default case to the end.
A temporary workaround is to move the default case in the OpenAPI doc.

Well we already have some logic to try to do this, but if you're seeing it not work, then it's likely broken.
https://github.com/apple/swift-openapi-generator/blob/main/Sources/_OpenAPIGeneratorCore/Translator/Operations/OperationDescription.swift
If you'd like to open a PR fixing this that'd be much appreciated 🙏

Hey @czechboy0 👋🏼
Thanks for looking into it. I'll go ahead and open a PR :)

@pepicrft So I think you might be using an outdated fork here?
├── swift-openapi-runtime<https://github.com/tuist/swift-openapi-runtime@unspecified>
├── swift-openapi-urlsession<https://github.com/tuist/swift-openapi-urlsession@unspecified>

I just tested your snippet on main and it works correctly. Also thanks @mt-hodaka for adding a snippet test in #554.
Please reopen the issue if you can still reproduce it on the latest version, thanks!


Update clean-jupyterlab to Install Debugger and Xeus python on dev env

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Waiting for https://github.com/jupyter-xeus/xeus-python/issues/308

@marthacryan @karlaspuldaro @ajbozarth
Could a few of you give this a try and let me know if it works or if you see any issues? Seems ok for me now...

It works for me :)
Just curious why debugger is being installed in clean-jupyterlab and not in Makefile?

Just curious why debugger is being installed in clean-jupyterlab and not in Makefile?

@karlaspuldaro I asked @lresende about that in a call a while back and the idea is this is kinda an early test. Debugger will be part of core in 3.0 so this would just be a stop gap until then for testing. Also even if it wasn't going into core, we didn't want it to be "part of" elyra like git and toc, but something we as a dev team make sure we support for customers that want to use it

@lresende out of curiosity are we planning on extending debugger support to our python editor? (eventually)

I believe we tested and it was working via console integration, but the idea is to look into more deep integration.


Game panics upon trying to create a world (Quilt/Fabric)

I've figured out that it's Hex Casting and Cardinal Components API causing this issue.
The thing is, with the other mods I have, I have no clue if any other mods (Other than Hex Casting, somehow???) could be nesting a version of CCA that could be causing the game to panic, as the game runs fine with just Hex Casting and it's dependencies.
https://mclo.gs/oZVlZNZ Link to a log that I had, with an attempt to run the game with only half of the mods in the modpack, running on Fabric. As you can see, the world spawn generation gets to 16% before the game panics and spits out a bunch of errors (seemingly all the same,) with Hex Casting being among them.

In the short term, running Cardinal Components 4.1.4 will solve this issue.  There is a fix for 0.9.2 that allows use of CC 4.2.0, but it hasn't been released yet.
Do be warned that there's a separate issue with HexCasting 0.9.2 that causes a crash on EdifySapling, which likewise will be fixed with 0.9.2.


Empty readthedocs page for Trajectory class

Docs seem to build without error https://readthedocs.org/api/v2/build/19173113.txt
But the Trajectory class docs are empty https://movingpandas.readthedocs.io/en/main/trajectory.html
Other classes look ok https://movingpandas.readthedocs.io/en/main/trajectorycollection.html
When I make the docs locally, the Trajectory page is created correctly

Seems to be fixed with https://github.com/anitagraser/movingpandas/commit/c5f0356e2544ae5e4d0907d3b3f7be614b762d0e


Complete support for this

Are there anyways that u can prebuild or wrap the redex package inside this redex plugins?  Because we are using windows... many thanks..

I guess this is tracked in https://github.com/facebook/redex/issues/18

Sorry for not replying to this sooner, my email filter must have hidden your issue. Installing Redex and all its dependencies is quite a complex task (especially for multiple platforms) which I unfortunately dont have the time for. And its probably beyond what the plugin should be doing anyway

Though we (redex) still don't support windows (yet), we are planning on putting redex binaries on maven (or similar) soon. We also plan for this gradle plugin to pull down a redex binary from the repository. This will avoid the need to build from source for most users.

Started the downloading work on this branch https://github.com/justinjhendrick/redex-plugin/tree/download_redex. It's a work in progress, but early comments are welcome.

@justinjhendrick I may be reading this wrong, but your branch downloads the latest redex to the build dir of this project, it doesnt actually download it to the build dir of the project thats using this plugin

@timmutton, you're right... How do I put it in the project using the plugin's build dir?

I don't know that you can include an executable in a jar. You might have to
rework it so that the plugin does the download
Sent with AquaMail for Android
http://www.aqua-mail.com
On 2 November 2017 4:09:24 a.m. Justin Hendrick<EMAIL_ADDRESS>wrote:

@timmutton, you're right... How do I put it in the project using the
plugin's build dir?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/timmutton/redex-plugin/issues/1#issuecomment-341171915


fix(setup_edgenode): lose last " when replace --kubeconfig in 10-kubeadm.conf

do not think the last " when setup_edgenode replace --kubeconfig。when run setup_edgenode,the user get 10-kubeadm.conf that do not have Incorrect file format。

 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.

@ruster-cn thanks for submitting the pr. The original 10-kubeadm.conf looks like following
the revised code will add a double quote at the end of the line(something like following) that doesn't exist in the original file.
[Service]
ExecStart=
ExecStart=... --kubeconfig=/var/lib/openyurt/kubelet.conf"

Is this double-quote required?

It seems that the problem does not apply. Please reopen if you hit an error and please paste the error log.


fix: --disable-openapi-validation option was never applied

Why we need it:
Currently there is an issue with openapi validation in Helm.
Here is the problem description.
Let's take a pod definition with a problem, the spec.toto field does not exist:
apiVersion: v1
kind: Pod
metadata:
  namespace: mynamespace
  name: mypod
spec:
  toto: tutu
  containers:
  - name: nginx
    image: nginx:1.14.2
    ports:
    - containerPort: 80

First I try to create it using kubectl, with no specific option:
$ kubectl apply -f pod.yaml
Error from server (BadRequest): error when creating "pod.yaml": Pod in version "v1" cannot be handled as a Pod: strict decoding error: unknown field "spec.toto"

Then I try different options of --validate:
$ kubectl apply -f pod.yaml --validate=strict
Error from server (BadRequest): error when creating "pod.yaml": Pod in version "v1" cannot be handled as a Pod: strict decoding error: unknown field "spec.toto"

$ kubectl apply -f pod.yaml --validate=ignore
pod/mypod created

This is okay and this is the kubectl behavior.
Now the same thing with Helm.
First test with no option:
$ helm install testchart .
W1018 10:43:09.834267  122282 warnings.go:70] unknown field "spec.toto"
NAME: testchart
LAST DEPLOYED: Wed Oct 18 10:43:09 2023
NAMESPACE: mynamespace
STATUS: deployed
REVISION: 1
TEST SUITE: None

Here I just have a warning but the resource is created. This is not normal.
Then with different values of the option:
$ helm upgrade testchart . --disable-openapi-validation
W1018 10:44:48.986008  122562 warnings.go:70] unknown field "spec.toto"
Release "testchart" has been upgraded. Happy Helming!
NAME: testchart
LAST DEPLOYED: Wed Oct 18 10:44:48 2023
NAMESPACE: mynamespace
STATUS: deployed
REVISION: 2
TEST SUITE: None

and:
$ helm upgrade testchart . --disable-openapi-validation=false
W1018 10:45:05.128872  122606 warnings.go:70] unknown field "spec.toto"
Release "testchart" has been upgraded. Happy Helming!
NAME: testchart
LAST DEPLOYED: Wed Oct 18 10:45:04 2023
NAMESPACE: mynamespace
STATUS: deployed
REVISION: 3
TEST SUITE: None

So currently the option --disable-openapi-validation of Helm does not change anything.
The source of the problem is:
Currently we validate the manifest in the prepareUpgrade here:
https://github.com/helm/helm/blob/main/pkg/action/upgrade.go#L290
Then the validation direct is calculated here:
https://github.com/helm/helm/blob/main/pkg/kube/client.go#L344-L347
and then given to the kube client.
And in the kube client the validation apply client-side only if the ServerSideFieldValidation is disabled on the api-server, as described here: https://kubernetes.io/blog/2023/04/24/openapi-v3-field-validation-ga/#server-side-field-validation
kubectl will skip client side validation and will automatically use server side field validation in Strict mode
But in the prepareUpgrade step, no creation is done, so no server-side validation is applied neither client-side validation.
Then after the prepareUpgrade step we go to the performUpgrade step and here we really do the Update, here:
https://github.com/helm/helm/blob/main/pkg/action/upgrade.go#L408
if we take a look deeper into the Update func of our client, the real update is done here:
https://github.com/helm/helm/blob/main/pkg/kube/client.go#L424
and here is the way we instanciate the Helper that will be used for the patch:
https://github.com/helm/helm/blob/main/pkg/kube/client.go#L665
If we compare this to the way kubectl instanciate the Helper, there is a big difference:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/kubectl/pkg/cmd/apply/apply.go#L559-L562
In kubectl there are adding the line:
WithFieldValidation(o.ValidationDirective)

and this line configure the client to add the validate field with strict or ignore value.
So in our case we never give the validationDirective value to the API when we do the update, and so the defaut value applies:
https://kubernetes.io/blog/2023/04/24/openapi-v3-field-validation-ga/#server-side-field-validation
If the parameter is not passed, server side field validation is in Warn mode by default.

That's why in the different tests you always see a Warning but the resources are always created, even when there is an error in the manifest.
What this PR does:
So my PR forward the validation boolean in client and add the validationDirective in the the create/update.
I also chose to set the default value to "Warn" instead of "Strict", because it's the current behavior and I didn't want to break it.
Let me know what you think about all this!
Result:
After my changes I have the following behavior with differents values of the --disable-openapi-validation parameter:
when enabling the validation I still have the same warning as previously:
$ /home/denouche/workspace/src/github.com/denouche/helm/bin/helm upgrade testchart . --disable-openapi-validation=false
W1018 11:15:15.140002  126116 warnings.go:70] unknown field "spec.toto"
Release "testchart" has been upgraded. Happy Helming!
NAME: testchart
LAST DEPLOYED: Wed Oct 18 11:15:14 2023
NAMESPACE: mynamespace
STATUS: deployed
REVISION: 2
TEST SUITE: None

and when disabling, no warning anymore:
$ /home/denouche/workspace/src/github.com/denouche/helm/bin/helm upgrade testchart . --disable-openapi-validation=true
Release "testchart" has been upgraded. Happy Helming!
NAME: testchart
LAST DEPLOYED: Wed Oct 18 11:15:20 2023
NAMESPACE: mynamespace
STATUS: deployed
REVISION: 3
TEST SUITE: None

Closes #12470

Hi, has this being released already?

I think this does solve one half of the issue (actually allowing for disabling schema validation), but I'm not sure that openapi-validation is behaving as expected assuming kubectl apply --validate='ignore'|'strict' is the target equivalent. A normal kubectl apply (strict validation being the default) would "be blocked" on schema validation failure, but the same is not true with helm. With the changes here schema validation is skipped as expected when the flag is present, but an install will still complete regardless of the flag.
Happy to converse further on the issue if that was not the intent of this PR, or open a separate issue - just came across this today and noticed https://github.com/helm/helm/issues/12470#issuecomment-1753794744 referring to the kubectl parallel.


Build from source with master on AWS Ubuntu, unable to log https traffic

When I build from source from the current master branch of all 3 projects the build works correctly but I am unable to get any https traffic to show up in mitmproxy or mitmdump. I can get http traffic. Running pip's mitmproxy(0.13) logs http and https traffic. Building from source v0.13 on the same box works correctly and I can see http and https traffic. I use the --host and --nonanonymous flags, as shown below.
AWS
instance type: t2.micro
os: ubuntu-trusty-14.04-amd64-server-20150325 (ami-d05e75b8)
Traffic generated from an iPhone iOS 8.latest with a proxy setup on the wifi port 80 using auth.
mitm.it certificate installed after mitmproxy starts and before trying any http or https sites.
Bash steps I am using to build from master:
# Install everything
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev git
sudo pip install virtualenv
# Clone projects
git clone https://github.com/mitmproxy/mitmproxy.git
git clone https://github.com/mitmproxy/netlib.git
git clone https://github.com/mitmproxy/pathod.git
# Setup system to recieve requests
sudo sysctl -w net.ipv4.ip_forward=1
echo 0 | sudo tee /proc/sys/net/ipv4/conf/*/send_redirects
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080
# Build
cd mitmproxy
source ./dev
. ../venv.mitmproxy/bin/activate
mitmdump --version
# 0.13.1
# Run
mitmproxy --nonanonymous --host

Bash steps I am using to build from 0.13:
# Install everything
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev git
sudo pip install virtualenv
# Clone projects
git clone https://github.com/mitmproxy/mitmproxy.git
cd mitmproxy
git reset --hard 675e70c7ebd980bbbc55a49e888f21cf8fbbe818
cd ..
git clone https://github.com/mitmproxy/netlib.git
cd netlib
git reset --hard fb482172241b6235da083f6dbf154b641772a4fc
rm -rf .git
cd ..
git clone https://github.com/mitmproxy/pathod.git
cd pathod
git reset --hard 46255e6e9cfca6ee5b32d287be7d2a0eb8d73c20
rm -rf .git
cd ..
# Setup system to recieve requests
sudo sysctl -w net.ipv4.ip_forward=1
echo 0 | sudo tee /proc/sys/net/ipv4/conf/*/send_redirects
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080
# Build
cd mitmproxy
source ./dev
. ../venv.mitmproxy/bin/activate
mitmdump --version
# 0.13.1
# Run
mitmproxy --nonanonymous --host

Thanks for a great product!

Thanks for the good report - not sure yet what's causing this. Just to be sure - you are running mitmproxy in transparent mode, i.e. mitmproxy -T? Is there anything in the mitmproxy event log?


Add TeamCity

Why not an svg as well. https://commons.wikimedia.org/wiki/File:TeamCity_Icon.svg

Didn't know a good quality svg already existed. Added. :)


Proposer to propose multiple L2 blocks at once

Feature #478
Feature
Once the current proposer changes, the new current proposer can submit multiple blocks at once.

If there are not enough unprocessed transactions for more than 1 block: it is similar to proposing 1 block at a time -> for each L2 block proposal, it will have to wait for prior events in the queue to be processed with their 12 confirmation wait included.
If there are too many unprocessed transactions: an upper limit for maximum number of L2 blocks to propose is required such that the proposer does not lose gas on all the L2 blocks that did not make it to L1 when they were the current proposer. MAX_L2_BLOCKS_TO_PROPOSE = Number of L1 blocks a proposer gets * the number of L2 blocks can fit in each L1. This assumes that L1 blocks are completely filled with NF's L2 block proposed transactions, this might need to be corrected by a factor

Actions
conditionalMakeBlock to create numberOfUnprocessedTransactions / TRANSACTIONS_PER_BLOCK blocks instead of just 1. This should allow us to build multiple blocks before having to process the events with their 12 confirmation wait in 0th queue.

Remove async from Block.build and pass the parameters needed instead.
makeBlock to return list of blocks and transactions per block instead of single block.
ws.send 'block' will send list of unsigned propose block transactions so that the proposer can send the list of unsigned tx to the state contract with proposeBlock.

Test
Created a test for this functionality. A user will create some deposits without a proposer and then a proposer will register and start to get all pending L2 blocks proposed txs to be proposed at once.

Start Nightfall with ./start-nightfall -g -s -d
Run the test npm run test-e2e-protocol that includes proposer should propose multiple L2 blocks after deposits test.

During the tests I checked the message sent by logger.debug('Found ${txDataToSignList.length} blocks to process'); but it's true that I have to pass some check directly to the text and check it there. I've updated the test sending another parameter of the number of blocks proposed in the 'gasCost' event.

During the tests I checked the message sent by logger.debug('Found ${txDataToSignList.length} blocks to process'); but it's true that I have to pass some check directly to the test and check it there. I've updated the test sending another parameter with the number of blocks proposed in the 'gasCost' event.
expect(blocksReceivedToPropose).to.be.equal(Math.floor(totalDeposits / txPerBlock));

How is blocksReceivedToPropose defined ?

It's the txDataToSignList.length. Length of the list of txDataToSign. Data to sign of blocks to propose that the proposer receive with the data of type 'block' from the optimist.


Phases from system consumption / genset not correct

Hello,
I have installed your integration today. Unfortunately, something seems to be mixed up for me as well. At the "system consumtion" the value for L1 seems to be at L2, L2 at L3 and L3 is at "system genset L1".  There is no generator for me!
I have also checked the whole thing again via the MQTT interface using MQTT Explorer.
Nevertheless: This is a very nice integration. Now only the small errors have to be removed.
PS: I have checked the register definition. This seems to be correct.
Many greetings
Holger

@sfstar: When I read the registers directly from Python the values are correct. The register definition on the part of Victron is valid!
from pymodbus.constants import Defaults
from pymodbus.constants import Endian
from pymodbus.client.tcp import ModbusTcpClient as ModbusClient
from pymodbus.payload import BinaryPayloadDecoder

Defaults.Timeout = 25
Defaults.Retries = 5
client = ModbusClient('<IP_ADDRESS>', port='502')

for reg in [817,818,819]:
	result = client.read_input_registers(reg,2)
	decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big)
	r1=decoder.decode_16bit_uint()
	print(f"Register {reg} : {r1}")

Output:
Register 817 : 172
Register 818 : 38
Register 819 : 69

Thank you for opening this issue.
Most likely the integration is doing something wrong when decoding the bytebuffer received from the GX device.
After a quick investigation it seems that a similair issue is locally reproducable with my setup.
Although the interesting thing is that for me it seems to assign the grid L1 values to the grid L2 entity

While your script returns the correct values for my setup as well
Register 817 : 22
Register 818 : 0
Register 819 : 0

I need to further investigate before an solution can be introduced.
I think I will have some time this weekend to further troubleshoot

So I had a sudden insight in what it could be.
It turned out that the register names were broken for pvonoutput for the system registers.
    "system_pvonoutput_L1": RegisterInfo(808, UINT16, UnitOfPower.WATT),
    "system_pvonoutput_l1": RegisterInfo(809, UINT16, UnitOfPower.WATT),
    "system_pvonoutput_l1": RegisterInfo(810, UINT16, UnitOfPower.WATT),

This caused the offset by one due to the integration using an ordered dict (with unique key requirement) for parsing the data.
So 808 and 810 would be decoded but 809 wouldn't since it wasn't an unique dictionary key (808 had L1 in the name and 809/810 l1 in lower case)
By changing this to
    "system_pvonoutput_L1": RegisterInfo(808, UINT16, UnitOfPower.WATT),
    "system_pvonoutput_L2": RegisterInfo(809, UINT16, UnitOfPower.WATT),
    "system_pvonoutput_L3": RegisterInfo(810, UINT16, UnitOfPower.WATT),

The system registers were reporting the correct values for my local setup.
@dummy74 could you test it with your setup as well?
Fun fact: during the fixing I also discovered that I was decoding INT32 as UINT32. So that was also resolved.

Perfect! The values are now displayed correctly.

@dummy74 thank you for confirming.
I will close this issue as resolved now.
Please feel free to re-open if there are complications


Nukies have no access to announce from syndicate comms console

Title

it uses nukeops access which all of them have i'm pretty sure


Does git-tfs branch support the --export | -x option

So you can clone a TFS repository with the --export | -x option to preserve work item tracking. You can also provide that option to git-tfs pull (which I only knew from the interactive help--it's not documented here on GitHub in the /docs folder, unlike for git-tfs fetch, where it is documented in the online help), but the documentation for git-tfs branch (either online here at GitHub, nor in the interactive help) does not mention whether or not this command accepts a --export | -x option when --init-ing a TFS branch (e.g. a branch that was created in TFS after your initial clone).
So the command I want to run is:
$ git tfs branch -x --init My/TFS/Branch

Is this possible to do today? If not, then this is a feature request to bring the branch command more inline with the fetch and pull, and clone commands.

I answered my own question. I went into the .git/config file and found the following entry:
[git-tfs]
    export-metadata=true

So that would seem to me that any command I issue via git-tfs for retrieving data from TFS will automatically pull down the work item tracking data, too.


RuntimeError: stack expects each tensor to be equal size  at train_dataloader

I was trying to run training script, but in training loop once train dataloader is called it gives the RuntimeError. I am training on 8 GPUs and the sizes in each is different, even different attempts results in different dimensions. Could you please let me know how to fix this error?
Resolving data files: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12365/12365 [00:00<00:00, 19870.97it/s]
02/06/2024 23:19:07 - INFO - main - ***** Running training *****
02/06/2024 23:19:07 - INFO - main -   Num examples = 12302
02/06/2024 23:19:07 - INFO - main -   Num Epochs = 100
02/06/2024 23:19:07 - INFO - main -   Instantaneous batch size per device = 4
02/06/2024 23:19:07 - INFO - main -   Total train batch size (w. parallel, distributed & accumulation) = 128
02/06/2024 23:19:07 - INFO - main -   Gradient Accumulation steps = 4
02/06/2024 23:19:07 - INFO - main -   Total optimization steps = 9700
Steps:   0%|                                                                                | 0/9700 [00:00<?, ?it/s]Traceback (most recent call last):
File "../train_text_to_image_lora_sd2_inpaint.py", line 1320, in
main()
File "../train_text_to_image_lora_sd2_inpaint.py", line 1047, in main
for step, batch in enumerate(train_dataloader):
File "../accelerate/data_loader.py", line 448, in iter
current_batch = next(dataloader_iter)
File ".../train_text_to_image_lora_sd2_inpaint.py", line 934, in collate_fn
pixel_values = _collate_imgs([example["pixel_values"] for example in examples])
File "..train_text_to_image_lora_sd2_inpaint.py", line 930, in _collate_imgs
vals = torch.stack(vals)
[in each of 8 GPUs the size in error message is different]
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 770] at entry 0 and [3, 512, 768] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 682] at entry 0 and [3, 512, 768] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 768] at entry 0 and [3, 512, 771] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 768] at entry 0 and [3, 725, 512] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 780] at entry 0 and [3, 512, 663] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 768] at entry 0 and [3, 512, 767] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 771] at entry 0 and [3, 512, 773] at entry 1
RuntimeError: stack expects each tensor to be equal size, but got [3, 512, 910] at entry 0 and [3, 512, 767] at entry 1

The most likely culprit is that your images are of different sizes. In theory the script should automatically resize to 512x512 but I would try preprocessing them into 512x512 ahead of time to see if that fixes it.
I will also add that I've never tested this on a multi-GPU setup before so potentially other parts may not be supported.


Write a JavaScript program to implement linear search

Description
Write a JavaScript program to implement linear search
Linear search is a very simple search algorithm. In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found then that particular item is returned, otherwise the search continues till the end of the data collection.
Linear search is the simplest search algorithm. For this reason, it is often called sequential search.
Pseudocode
procedure linear_search (list, value)

   for each item in the list
      if match item == value
         return the item's location
      end if
   end for

end procedure

Example
list = [1,2,3,4,5]
value = 4

Output : 3

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/implement-linear-search/ImplementLinearSearch.js
Commit the changes
Create a pull request

!assign


I can’t select .deb file

I can’t select .deb in file picker. It is greyed out.

高德地图插件在2.66注入闪退，2.52正常

It is still greyed out on 2.5.2

TrollFools does not support .Deb files. Make sure you are using the official version.


RSS feed update Jan 2022

Docs Build status updates of commit 106b955:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feed.atom
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Transition Events

Hello there! First of all thanks for this great library. As an enhancement I would suggest events for the different states of Transition (enter-start, enter-frame, enter-rest and so on). Or is this something, that has to be solved by Keyframes?

@AndreasFaust Each primitive can take in onRest and onFrame, the former triggers when the animation concludes, the latter triggers on every frame and gives you the current values. Keyframes are similar, internally they also just use these callbacks.

Thank you very much for the quick reply!
Didn't know, that onFrame and onRest also apply to Transition. But how can I bind these events to certain Transition states only? I want to create a routing transition, where the next route is faded in, when the previous has faded out. For that I want to dispatch a redux action ("hasLeft") on "Transition leave rest" (and not "Transition enter rest"). To differ these states I could use the styles-property (if opacity === 0 for example), but that is not ideal. Or am I missing something?
I am asking, because in "React Move", I have been using in this case so far, these events exist.

Actually i got that wrong myself, you're supposed to return the animation values in from/enter/leave/update, so that makes it possible to return individual values or listen to app state:
<Transition items={...} keys={...} from={...} enter={item => {
    if (this.props.something) return ({ opacity: 1 })
    else if (this.props.somethingElse) return ({ opacity: 0.5 })
    else return ({ color: 'red' })
}} ...>

Thanks for explaining, you helped me a lot!
Have a nice weekend!


question: how to render AST back to a markdown string

Maybe a dumb question, but once I have the AST from a markdown file, e.g. with
from mistletoe import Document, ast_renderer

with open("test.md") as f:
    lines = f.readlines()
document = Document(lines)
output = ast_renderer.get_ast(document)

print(output)

Is there a way I can easily render the AST back to a markdown string again? Or would I need to write a custom markdown renderer to do the process in reverse.
My use case is that I'd like to make modifications to the AST and then write it back as a markdown file again.

Hi @sixhobbits, this is surely not a dumb question. :) Actually, this feature was questioned a while back in #4 which is still open and awaiting contributions. I have updated it with some fresh info, for the case you're interested...


Script stops at "Checking webrtcbuilds dependencies"

Hi, at least in terminal i see only this text.
Thanks!
Ubuntu 16.04 LTS 64 bit

Hi, good point we should have a 'debug' option: https://github.com/vsimon/webrtcbuilds/pull/35
Can you show what ./build.sh -d outputs?

mkdir -p out
++ cd out
++ pwd -P
OUTDIR=/home/ungvas/Downloads/webrtcbuilds-master/out
detect-platform
case "$OSTYPE" in
PLATFORM=linux
TARGET_OS=linux
TARGET_CPU=x64
echo 'Host OS: linux'
Host OS: linux
echo 'Target OS: linux'
Target OS: linux
echo 'Target CPU: x64'
Target CPU: x64
echo Checking webrtcbuilds dependencies
Checking webrtcbuilds dependencies
check::webrtcbuilds::deps linux
local platform=linux
case $platform in
grep -v '#' /etc/apt/sources.list
grep -q multiverse
which sudo
ensure-package curl
local name=curl
which curl
ensure-package git
local name=git
which git
ensure-package python
local name=python
which python
ensure-package lbzip2
local name=lbzip2
which lbzip2
sudo apt-get update -qq

After that it required password and after introduce password it stop ))

OK, could you try doing sudo apt-get install lbzip2 manually and show its output? Like
$ sudo apt-get install lbzip2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lbzip2 is already the newest version (2.5-1).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.

Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libcdaudio1 libenca0 libgif7:i386 libp11-kit-gnome-keyring:i386 libslv2-9
linux-headers-4.4.0-22 linux-headers-4.4.0-22-generic linux-headers-4.4.0-24
linux-headers-4.4.0-24-generic linux-headers-4.4.0-28
linux-headers-4.4.0-28-generic linux-headers-4.4.0-31
linux-headers-4.4.0-31-generic linux-headers-4.4.0-34
linux-headers-4.4.0-34-generic linux-image-4.4.0-22-generic
linux-image-4.4.0-24-generic linux-image-4.4.0-28-generic
linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic
linux-image-extra-4.4.0-22-generic linux-image-extra-4.4.0-24-generic
linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic
linux-image-extra-4.4.0-34-generic wine-gecko2.21 wine-gecko2.21:i386
wine-mono0.0.8
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
lbzip2
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 71.3 kB of archives.
After this operation, 180 kB of additional disk space will be used.
Get:1 http://md.archive.ubuntu.com/ubuntu xenial/universe amd64 lbzip2 amd64 2.5-1 [71.3 kB]
Fetched 71.3 kB in 0s (1,348 kB/s)
Selecting previously unselected package lbzip2.
(Reading database ... 400917 files and directories currently installed.)
Preparing to unpack .../lbzip2_2.5-1_amd64.deb ...
Unpacking lbzip2 (2.5-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up lbzip2 (2.5-1) ...

OK that looks good. Can we continue ./build.sh -d again?


Where do we put the tegra_mtc.bin file?

Assuming in mtc_tables/, but not sure...

It should be at the root of coreboot repository.


Multiple layers url

closes #403
testing locally: http://localhost:3000/?hazardLayerId=ews_remote%2Crainfall_dekad&date=2022-06-01

@JorgeMartinezG - this works as expected, thanks! Was Eric's comment addressed?
@ericboucher or @tdlinh2712 - can you provide a code review?

@JorgeMartinezG please provide a clearer description of the PR and what it does in the PR body (initial comment)


Remove Rosettacode example tests

These tests were not intended to be spec, only examples, and there are other
projects that exercise the entire Rosettacode suite.
Closes #651

Replaced by #832


Add support for inspec

InSpec is appbundled into the ChefDK. This change allows appbundle-updater
to update our users' InSpec installs in the ChefDK as needed.

can you do the needful to ship a new version or do you need perms?

@lamont-granquist looks like I'm a gem owner, so I'll ship a new version. Thank you!


Non-preview release version

@mattleibow Just noticed the current releases are still in preview. Any chance you could release a stable version? Looks like there hasn't been any work on this since 2017. Are you still maintaining this repro?

@mattleibow Asking the same questions here!


How can I define a category for my articles?

All of my posts are listed in the "blog" section. What about if I want to get them listed in different catefories, like "tutorials", "videos" etc.
Any ideas ?
Thanks

Definitely possible, but you'll have to provide overrides (or at least additions) for a few theme elements. The default contents of the "Blog" section, which is also the index of the site, are here: https://github.com/zyro/hyde-x/blob/master/layouts/index.html#L4
if eq .Section "post" picks up any pages in the /content/post area of your content, so you can add other subdirectories alongside /content/post. For example add /content/tutorials and associated templates that only process if eq .Section "tutorials".
Does that help?

I have created a dir /content/tutorials and put inside a *.md but it doesn't seem to find it. It's like ignoring it. Should I write something in the metadata section? e.g. category: tutorials or something ?

Solved, I had to use categories = ["tutorials'] in my each articles I want them to be into this section.
Thanks


Expand node versions to test against for Travis.

Are these the officially supported versions?

@lukebakken v4 is in maintenance as LTS till 4/2018 and v6 is the new current LTS. Also, IO.js is apparently a significant fork of node. node and iojs grab the latest stable of their respective projects.
https://github.com/nodejs/LTS#lts-schedule

iojs merged back into node.js in version 4, so I don't think we need that.

Ah, ok, didn't catch that. I will remove that one. Surprised Travis still has it listed in the docs then.

:shipit: with that one change


Paste functionality is disabled when adding styles

When we add elevation to pinCodeContainerStyle. The pasting functionality dosen't work
pinCodeContainerStyle: {     elevation: 2,   }

Hi, @kamlesh-tp  thank you for your PR. I've created workaround to modify the elevation of underlying textInput. You need to set TextInput elevation higher than pinCodeContainer elevation. So, here is the example of fix for your case:

I am closing the issue by merging the PR. Tomorrow, I'll make the release, so you can upgrade the package and take a look. If it won't work, feel free to reopen the issue :)


invite

please send invitation Email.

Hello there, welcome to openAOD, I have sent an invite to join the org. Happy to have you here : )


IP reclaim:  differentiate stateless workload under deleting-timeout state on ready node and not-ready node

Refer to https://github.com/spidernet-io/spiderpool/issues/2967
we should add switch to choose whether GC the IP for the following situations
terminating timeout pod on not-ready node
terminating timeout pod on ready node

Signed-off-by: Icarus9913<EMAIL_ADDRESS>What this PR does / why we need it:
new feature

For the stateful case， it barely make sense to release ip after dectecting ip conflict

any update on this ?

现有有了两种场景，是否有不同的 用例 闭环 验证


cellHeight only changes the header and the scale, but not the rest of the calendar

It only changes the header and the scale, but not the rest of the calendar. It also creates a weird crop


Explain how to run this?

i went ahead and pasted "pip install wavewhisper" into my terminal and pressed enter. what now? you couldn't have possibly said less about how to use this. assume someone finding this has no idea how python, CLI, binaries, any of that works; please throw the curious folks out there a bone to chew on.

Please have a look at the 'usage' section of the readme or the full documentation of the library.


octant: refactor

Motivation for this change
Add update script
Refactor to be more similar to recent boundary package (#111151)
Resolves "treewide: Remove doBuild = false" for octant (#111646)
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS (x86_64)
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@SuperSandro2000 related to your "treewide: Remove doBuild = false" change
I don't mind which order they're merged in

Result of nixpkgs-review pr 111654 run on x86_64-linux 1

1 package built:

octant

I merged mine first.

@SuperSandro2000 rebased

@ofborg eval

Any more changes or ready for a merge?

/marvin opt-in
/status needs_reviewer


Feature/92 update inherited records in fund p2

Context / Why we need to change
We need to calculate the inherited balance when a Fund quantity is updated.
Description / What are we changing

#
Sequential
Parallel

Sequential: 1931 ms
Parallel: 1009 ms

Sequential: 2140 ms
Parallel: 771 ms

Test 6
Sequential: 1550 ms
Parallel: 740 ms

Test 7
Sequential: 1487 ms
Parallel: 528 ms

Test 8
Sequential: 1421 ms
Parallel: 539 ms

Test 9
Sequential: 1806 ms
Parallel: 597 ms

Test 10
Sequential: 1732 ms
Parallel: 791 ms


make single files for unique requests

This makes the whole thing a lot faster if you have huge files
Not sure, if this is the proper way, but take it as a proof of concept. I'm doing a PR just that it doesn't get forgotten.

Thanks! Ideally each test should choose its own cassette file which is named after whatever the test is supposed to test.
For example using PHPUnit annotations @vcr endpoint-xy-fails-with-error.json. Would collect all requests for this exact test case. Of course there could still be many requests issued in one test. For performance optimization I'm thinking about keeping all requests in memory as long as they fit within the memory_limit.

I like the idea.
I know it was a proof of concept. I think I'd store the hash in each request in the cassette, alongside the method/header/body/etc. The way it is currently would mean that the filename itself would change with each content change. You'd have to go change the tests/annotations to point to the right file. This would also be annoying (to me) to see in a the logs of git.
This idea would make it harder to change a cassette by hand. I'm not sure if anyone else does it manually, but it's typically how I maintain my cassettes (small updates to url or body). Additionally, my cassettes rarely have more than 3 requests in them and they are small payloads, so forcing a hash would be annoying. I recommend it be implemented as a feature: if a stored hash is present, use it to verify a match, but otherwise, verify a match the way it's been done (by verifying the headers/method/body/etc separately).

we determine our name dynamically (in a symfony project):
            $fixtureName = $request->cookies->get('X-BehatTestName',
                $this->getFixtureName($request->server->get('REQUEST_URI'))
            );

for this, we first load favicon.ico to get phantomjs initialized on the site, then set that cookie to tell the fixture name and start the actual test.

I'm going to close this :-) Dynamically setting the cassette name from outside is possible (btw. now with folder support in cassette names, #107) and general speed improvements should be solved on a storage level.


Enabling hstore extension for postgis db

I was trying to use osm2pgsql command to import data to a db. However got the error:
type "hstore" does not exist
Error was fixed by enabling hstore extension for the db. Do you think it might be handy to enable it by default during db creation phase?
I could prepare PR if the answer will be "yes".

@dooman87 I don't have a strong sense of how common the need for hstore in conjunction with PostGIS is, so I'm happy to defer judgement on that point.
Feel free to create a PR, although I may not get to it for a few days.
Alternatively, you could add an additional script to /docker-entrypoint-initdb.d/ to install hstore yourself in a derived image.

@md5 Alright, looks like osm2pgsql is using hstore to import osm tags. Just found explanation there http://gis.stackexchange.com/questions/6379/what-are-the-pros-and-cons-of-hstore-data-type-in-postgis
I'll use your image as base for mine then. Thanks for a quick response and great job, appreciate that!


Simplify digest.FromBytes calling convention

The current implementation of digest.FromBytes returns an error. This
error can never be non-nil, but its presence in the function signature
means each call site needs error handling code for an error that is
always nil.
I verified that none of the hash.Hash implementations in the standard
library can return an error on Write. Nor can any of the hash.Hash
implementations vendored in distribution.
This commit changes digest.FromBytes not to return an error. If Write
returns an error, it will panic, but as discussed above, this should
never happen.
This commit also avoids using a bytes.Reader to feed data into the hash
function in FromBytes. This makes the hypothetical case that would panic
a bit more explicit, and should also be more performant.

LGTM

LGTM

LGTM
This is a much need interface change. A little history here: tarsum was a hash that could fail. Not sure if that is still the case. We may be able to completely remove tarsum support at some point but this may break very old v2 clients.


Make kuttl suite compatible with install_yamls

Prow CI job executing KUTTL test suites has different structure and logic then what we have. This patch is making it work in both cases.

/recheck

recheck


Demo of hacking in custom registration behaviour into interchange registrations

Description
This is a demo for @cms21 of hacking in custom registration behaviour when a manager registers to an interchange.
(Longer term, I'd like this sort of thing to be possible through configurable monitoring radios, something like PR #3315, allowing people to plug in whatever behaviour they want, throughout parsl, when "interesting things happen")
Changed Behaviour
you should see a file benc.demo appear in the working directory of the interchange, with a new line appended every time a manager registers
Type of change

demo

no need for this to remain open

Thanks for this @benclifford.  Could you keep this branch around for a little bit?

@cms21 yeah no problem - I just closed it to get it off the open PRs list


Additional signal arguments

...why the websocket_sent/websocket_received signal don't provide the app object as parameter ?
On top of tath, given websocket is a stateful protocol, I would have expected to have websocket_started signal providing a kind of id websocket connection id that is again provided with subsequent websocket_sent/websocket_received/websocket_finished signals 🤔

From https://github.com/pgjones/quart-trio/pull/1

Both the current app and the current websocket connection are context-local globals. Is there another reason to add them as arguments?


Live Instance sections not loading in the documentation

Describe the bug
I'm not seeing any of the "Live Instance" sections loading. I checked in both Firefox and Chrome, and both are throwing errors in the console that may or may not be related to the Live Instance docs not showing.
To Reproduce
Steps to reproduce the behavior:

Go to any SDS documentation page (I went to https://sds.czi.design/009eaf17b/p/47778c-buttons)
Notice that the Live Instance sections aren't loading

Expected behavior

I expected the Live Instance sections to load the component for interaction

Screenshots

Desktop:

OS: MacOS and Linux (Ubuntu)
Browser: Firefox 127.0.1 and Chrome 105.0.5195.125 on MacOS, Firefox 127.0.1 on Ubuntu
Version: Deployed documentation site

I'll add to this, the "copy link to Storybook" doesn't actually give a Storybook link. It just links back to that same section of the SDS documentation site.


[IOTDB-4151] Fix IndexOutOfBound Error in last query

Coverage increased (+8.0e-05%) to 41.959% when pulling 3196c3ff76523e4c5559828c1b7402d9da449f05 on IOTDB-4151 into 23cb64c16e77bcc553297c810f14dc4fc97e15bc on master.


Gastby build error window is not defined

I followed the gatsby exemple and with gatsby develop everything was working. but when building i had window is not defined error.
i tested many things:
typeof window !== undefined
followed this https://www.gatsbyjs.org/docs/debugging-html-builds/ but nothing work.

Hi @big8extreme ,
That's kind of a strange error, since react-keycloak is attached only to the client-side during the gatsby build it should not throw that error.
I'll need to take a look at that but I'd say that Gatsby might not be currently fully supported by the current implementation.

I'm having the same issue with nextjs.
Line 63 is blowing up for me:
https://github.com/keycloak/keycloak/blob/9.0.2/adapters/oidc/js/src/main/resources/keycloak.js
"window is not defined"

I'm having the same issue with nextjs.
When I am trying configure silentCheckSsoRedirectUri.

Hi @Dangercoder,
Thanks for your feedback.
Can you please open a new issue with more details about your setup?
In particular:

which module are you using (@react-keycloak/ssr or @react-keycloak/nextjs)
which version of the module
which version of keycloak-js package
properties passed to the KeycloakProvider

Thanks in advance.

Here's my package.json for nextjs with which I also get the window not defined error:
{
  "name": "web",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start"
  },
  "dependencies": {
    "@react-keycloak/ssr": "^2.0.0-alpha.1",
    "cookie": "^0.4.1",
    "keycloak-js": "^10.0.2",
    "next": "9.4.4",
    "next-absolute-url": "^1.2.2",
    "nextjs": "0.0.3",
    "react": "16.13.1",
    "react-dom": "16.13.1"
  },
  "devDependencies": {
    "@types/cookie": "^0.4.0",
    "@types/node": "^14.0.18",
    "@types/react": "^16.9.41",
    "typescript": "^3.9.6"
  }
}

Configuration properties used with ServerPersistors.SSRCookies:
    const keycloakCfg: KeycloakConfig = {
        realm: process.env.NEXT_PUBLIC_AUTH_REALM,
        url: process.env.NEXT_PUBLIC_AUTH_URL,
        clientId: process.env.NEXT_PUBLIC_AUTH_CLIENT_ID,
    };

    const keycloakInitCfg: KeycloakInitOptions = {
        onLoad: "check-sso",
    };

Complicating factor is that #75 is not resolved yet (npm run dev only compiles when importing ServerPersistors but VS Code highlights the import saying that isn't exported)

I believe #82 also resolves this issue.

My current workaround is to defer loading of keycloak-js (for example, with Loadable Components), and use a mock Keycloak instance when it's not initialized. For example:
const KeycloakLib: any = loadable.lib(() => import("keycloak-js"))

const MockKeycloakInstance: any = {
  init: () => Promise.resolve(false),
  login: () => Promise.resolve(),
  logout: () => Promise.resolve(),
  register: () => Promise.resolve(),
  accountManagement: () => Promise.resolve(),
  createLoginUrl: () => null,
  createLogoutUrl: () => null,
  createRegisterUrl: () => null,
  createAccountUrl: () => null,
  isTokenExpired: () => true,
  updateToken: () => Promise.resolve(false),
  clearToken: () => {},
  hasRealmRole: () => false,
  hasResourceRole: () => false,
  loadUserProfile: () => Promise.resolve({}),
  loadUserInfo: () => Promise.resolve({}),
}

// ...

return (
  <KeycloakLib
    fallback={
      <ReactKeycloakProvider
        authClient={MockKeycloakInstance}
        isLoadingCheck={() => false}
      >
        {children}
      </ReactKeycloakProvider>
    }
  >
    {({ default: Keycloak }: KeycloakDefault) => (
      <ReactKeycloakProvider
        authClient={Keycloak({ /* ... */ })}
        initOptions={{
          onLoad: "check-sso",
          silentCheckSsoRedirectUri:
            window.location.origin + withPrefix("/silent-check-sso.xhtml"),
          pkceMethod: "S256",
          flow: "standard",
        }}
        isLoadingCheck={() => false}
      >
        {children}
      </ReactKeycloakProvider>
    )}
  </KeycloakLib>
)


update bugzilla changelog for 2.068.0

Preliminary list of bugzilla tickets. This might contain a few tickets that are only closed on master, b/c it's not yet possible to select tickets based on a git commit range.

Unless someone has made the effort to merge
$(BUGSTITLE Phobos enhancements,
$(LI $(BUGZILLA 14792): Add function to convert from unix time to SysTime)

into the 2.068 branch, it's only on master, since it was merged fairly recently and the PR targeted master.

Updated the changed tool to parse git commit messages instead of querying date ranges.
https://github.com/D-Programming-Language/tools/pull/172


Fixing randomization option

Randomization was broken, as the random.shuffle method will shuffle the array in place without returning the original array.  Seems like an oversight with the random package, but it broke for me in Python 3.4.3 nonetheless.

Crap...