Fix demo example

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

Project coverage is 100.00%. Comparing base (d857d8b) to head (0d82b12).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #383   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           58        58
  Lines         1486      1486
  Branches        57        57
=========================================
  Hits          1486      1486

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


Feature: navbar and footer not consistent across the pages

Feature description
Hey, @SauravMukherjee44 The navbar and footer are not consistent across the websites. Please assign me this issue. Thank you!
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

I would like solve this issue please assign me this issue


tensorflow 2.4 depends on h5py 2.10 but is packaged with h5py 3.2

Describe the bug
h5py 3 is incompatible with tensorflow 2.4 (see here).
To Reproduce
Steps to reproduce the behavior:

Load model
Run script
Encounter error

# Error when loading model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

Expected behavior
It's supposed to be packaged with h5py 2.10 to avoid the bug.
Notify maintainers

@jyp @abbradar

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/overriding-a-dependency-of-a-package/13307/1

The general issue is that we cannot have multiple versions of Python packages in nixpkgs (since multiple versions may end up in the interpreter path). I think this is best resolved by updating to Tensorflow 2.5.0.

Can we either:

Upgrade TF to 2.5, and backport that to 21.05 release
Downgrade h5py to version 2, and backport that to 21.05 release

At the moment TF on 21.05 release is broken  due not keras model loading.

But the restriction of being unable to have multiple versions for Python packages when nix supports it is a bit inconvenient, and unreliable. Since problems like this can appear in the future where a dependency has to be pinned to a specific version, but isn't. I don't really know how things are under the hood though. I'm fairly new to using nix for packaging things.

Upgrading to 2.5 TF is probably the best way. Hoping to look into this later.

The 2.5 MR was merged by accident, this is still not resolved.


[SPARK-44655][SQL] Make the code cleaner about static and dynamic data/partition filters

What changes were proposed in this pull request?

This is a followup of https://github.com/apache/spark/pull/41088 to make the code cleaner. There are two kinds of data/partition filters: static filters that can be executed during the planning phase, and dynamic filters that can only be executed after the planning phase. This PR makes sure these two kinds of filters are properly used and adds code comments to explain it.
Why are the changes needed?

code cleanup
Does this PR introduce any user-facing change?

No
How was this patch tested?

existing tests

cc @viirya @ulysses-you

thanks, merged to master


Error handling for LNURL-withdraw

Describe the bug
Withdraws can fail for various reasons. (not enough balance, no channel, etc) Currently it seems there is no error handling and all of the withdraws are confirmed with a success message:

To Reproduce
Steps to reproduce the behavior:

Open the Alby extension popup, click on "Send"
Enter a LNURL-withdraw link that doesn't work (go to LNBits, enable LNURL-w, create a new link and do not fund the wallet)
See success message (but no incoming transaction as the withdraw failed)

Expected behavior
I want to see a proper error message if the withdraw failed. (+ if possible some advanced information on what went wrong, if we have this info)
Are you working on this issue?
No.

I think this is released? can you check again?


Uncaught Error: cannot find module "bind-all"

I'm using node 0.12.14 to build it
It builds, but I see this error on the website
Uncaught Error: cannot find module "bind-all"
And it does not initialize
What can I do?

I get some warnings on building
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
And
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>Is that normal?

Hey @elfeffe!
I had the same issues stated last week.  The tldr; is that one of the dependancies pulled in the updated module that was no longer duojs capable, breaking Analytics.js master when re-running the build.
I have opened a PR to update this repo to include the latest changes to the core lib and integrations.  Let me know if it works for you!  PR #514

Yes, it works good!
I just have a warning
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
But it works
Thank you

Awesome!
Ah, I am running NPM2 right now.


IEEE: add minDenormal

oh, i took the value that ghci spits out. we should probably use the value according to the standard

Awesome, thanks.

I rechecked, ghci prints in fact 5e-324. So this is better now.
I added tests for succIEEE. I think it still makes sense to provide this constant for clarity.

cool thx!


Graphite/Grafana “No Data”

I have actually the Problem that my Grafana shows “No Data” or a straight line at 0 on other informations. Error.logs are saying nothing. Its running on a Debian 10 machine.
Here are my configs for carbon
carbon.conf:
    [cache]
    DATABASE = whisper

    ENABLE_LOGROTATION = True

    USER =

    MAX_CACHE_SIZE = inf

    MAX_UPDATES_PER_SECOND = 500

    MAX_CREATES_PER_MINUTE = 50

    MIN_TIMESTAMP_RESOLUTION = 1

    LINE_RECEIVER_INTERFACE = <IP_ADDRESS>
    LINE_RECEIVER_PORT = 2003

    ENABLE_UDP_LISTENER = False
    UDP_RECEIVER_INTERFACE = <IP_ADDRESS>
    UDP_RECEIVER_PORT = 2003

    PICKLE_RECEIVER_INTERFACE = <IP_ADDRESS>
    PICKLE_RECEIVER_PORT = 2004

    PICKLE_RECEIVER_MAX_LENGTH = 1048576

    USE_INSECURE_UNPICKLER = False

    CACHE_QUERY_INTERFACE = <IP_ADDRESS> CACHE_QUERY_PORT = 7002

    USE_FLOW_CONTROL = True

    LOG_UPDATES = False
    LOG_CREATES = False
    LOG_CACHE_HITS = False
    LOG_CACHE_QUEUE_SORTS = False

    CACHE_WRITE_STRATEGY = sorted

    WHISPER_AUTOFLUSH = False

    WHISPER_FALLOCATE_CREATE = True

    ENABLE_TAGS = False

    [relay]
    LINE_RECEIVER_INTERFACE = <IP_ADDRESS>
    LINE_RECEIVER_PORT = 2013
    PICKLE_RECEIVER_INTERFACE = <IP_ADDRESS>
    PICKLE_RECEIVER_PORT = 2014
    PICKLE_RECEIVER_MAX_LENGTH = 1048576

    RELAY_METHOD = rules

    REPLICATION_FACTOR = 1

    DESTINATIONS = <IP_ADDRESS>:2004

    MAX_QUEUE_SIZE = 10000

    MAX_DATAPOINTS_PER_MESSAGE = 500

    QUEUE_LOW_WATERMARK_PCT = 0.8

    TIME_TO_DEFER_SENDING = 0.0001

    USE_FLOW_CONTROL = True

    USE_RATIO_RESET=False

    MIN_RESET_STAT_FLOW=1000

    MIN_RESET_RATIO=0.9

    MIN_RESET_INTERVAL=121

    [aggregator]
    LINE_RECEIVER_INTERFACE = <IP_ADDRESS> LINE_RECEIVER_PORT = 2023

    PICKLE_RECEIVER_INTERFACE = <IP_ADDRESS> PICKLE_RECEIVER_PORT = 2024

    FORWARD_ALL = True

    DESTINATIONS = <IP_ADDRESS>:2004

    REPLICATION_FACTOR = 1

    MAX_QUEUE_SIZE = 10000

    USE_FLOW_CONTROL = True

    MAX_DATAPOINTS_PER_MESSAGE = 500

    MAX_AGGREGATION_INTERVALS = 5

    CARBON_CACHE_ENABLED = true

graphite.wsgi:
    import sys
    sys.path.append(’/opt/graphite/webapp’)
    from graphite.wsgi import application

storage-aggregation.conf:
    [min]
    pattern = .min$
    xFilesFactor = 0.1
    aggregationMethod = min

    [max]
    pattern = .max$
    xFilesFactor = 0.1
    aggregationMethod = max

    [sum]
    pattern = .count$
    xFilesFactor = 0
    aggregationMethod = max

    [default_average]
    pattern = .*
    xFilesFactor = 0.5
    aggregationMethod = average

storage-schemas.conf
[carbon]
pattern = ^carbon\.
retentions = 60:90d

[default]
pattern = .*
retentions = 60s:1d,5m:30d,1h:3y

Here is a picture of my Grafana Dashboard so you can see what i mean:
https://i.stack.imgur.com/00E6c.png

This bit looks malformed:
    [aggregator]
    LINE_RECEIVER_INTERFACE = <IP_ADDRESS> LINE_RECEIVER_PORT = 2023

    PICKLE_RECEIVER_INTERFACE = <IP_ADDRESS> PICKLE_RECEIVER_PORT = 2024

other than that, no idea, sorry.


info_uf2.txt is empty in latest master

Operating System
MacOS
INFO_UF2.TXT
empty
What happened ?
just built latest from masterful my S3 boards, as a final test before I committed the to the repo, and though they work fine, the info_uf2.txt is empty.
How to reproduce ?
Not sure how you can repo this.  I lent out my S3 devkit, so cant test it on that here, but it might also have the same issue.
Debug Log
No response
Screenshots
No response

Can you dump the full disk image (setor-by-sector ... on un*x-like systems, I think something like:
dd if=/dev/hdX of=~/ghostfat_empty_uf2.img, where you replace /dev/hdX with the ghostfat board device (different on each system).
  Note that this file will include the device firmware....

Also, if you could also load a build from the add-favicon-hg3 branch, and dump that full disk image, that'd be useful.
P.S. - love the Tiny Pico board you made.

@UnexpectedMaker have you tried to plugged the board into other PC with other OS such as ubuntu/windows to make sure this is macOS specific issue ? I just checked with Ubuntu 20.04 and it still works.
Which BOARD= you are using, make sure it is espressif_esp32s3_devkitc_1 to rule out any chances that it is not your board porting issue.

Oh, I totally forgot to reply to this....  Issue went away when you (@hathach ) reverted the favicon stuff you were playing with. Cant remember what exact commit I was on, but latest (what I submitted my ESP32-S3 boards agains) works perfectly, so closing this issue. Sorry!

I didn't reverted the favicon, it is already on the master branch, please double check it.

Yes I know it's in there, but there was a sequence of commits you did and then fixed or changed. I can't remember exactly now. I should not have said "reverted" - I meant "changed/fixed" - I think I was building against some non-quite-ready commits when the issue happened.
All of my boards I've shipped are flashed with UF2 bootloaders built again my PR and are all working great!

if it is not reproducible, it is not an issue anymore. Thanks for the udate


Handle WindowsAzureNetAgentSvc in sysprep

What type of PR is this?
See if we should take care of WindowsAzureNetAgentSvc in sysprep.
/kind bug

What this PR does / why we need it:
Log says "cannot find any service with service name 'Windows Azure Guest Agent'". Will check the service status and stop it if it's running. Do nothing otherwise.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Update the PR title with conventional commit messages since we normally squash merge the PR.

Please add labels "windows" and "build" for this PR

Please add labels "windows" and "build" for this PR

Added.


Fix up editor/preview scroll and post list loading

Fixes broken posts list infinite scrolling and editor/preview synced scroll.
Refs #5381

Invoke this._super() so mixed in lifecycle hooks run.

Accidentally deleted this branch.  Not sure if it's going to allow me to re-open or not.


Update License text in README

@loafyloaf  A couple of changes needed

remove quotes from DCO
Link seems to be missing


add: unwrap method for issues errors

Add Unwrap method for issues errors
Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
We couldn't check issues inners errors. Add Unwrap method for issues errors
What is the new behavior?
We could unwrap inner error for withIssuesError type. When i catch issues errors with DoTxWithResult call's, I want to sort errors by type so that they can be handled correctly. Add Unwrap method
Other information

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 41.48%. Comparing base (954929f) to head (f1eaaf0).

Files
Patch %
Lines

internal/xerrors/issues.go
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1411      +/-   ##
==========================================
- Coverage   41.97%   41.48%   -0.50%
==========================================
  Files         345      345
  Lines       35634    30106    -5528
==========================================
- Hits        14957    12488    -2469
+ Misses      20199    17139    -3060
- Partials      478      479       +1

Flag
Coverage Δ

go-1.21.x
42.85% <0.00%> (-0.53%)
:arrow_down:

go-1.22.x
41.39% <0.00%> (-0.51%)
:arrow_down:

go-1.23.x
41.40% <0.00%> (-0.54%)
:arrow_down:

macOS
41.45% <0.00%> (-0.01%)
:arrow_down:

ubuntu
41.39% <0.00%> (-0.07%)
:arrow_down:

unit
41.48% <0.00%> (-0.50%)
:arrow_down:

windows
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Is there any way to disable 'appearFrom' animation?

I want to make a popup view like DialogFragment in Android, but it seems that I cannot disable appearFrom animation. Is there any way to make it?

Hey @Robotxm, if I understand you correctly, you can just show your desired view on top of whatever you have using ZStack, and you don't need this library

Closing this one for now, please feel free to reopen with more details


Move FAQ entry reg. ExposureDetectionIsAlreadyRunning to solved section

This PR moves the FAQ entry regarding the ExposureDetectionIsAlreadyRunning Error to the solved section and ads a comment to inform that this Issue has been solved with 1.7.1.

I've added a commit which updates the current app version in gulpfile to keep them up to date. Hope this is ok with you 👍

According to @d4rken rollout of CWA Android 1.7.0 has been interrupted and it will shortly be replaced by a hotfix rollout of CWA Android 1.7.1.
Possibly it would be better to revert the commit https://github.com/corona-warn-app/cwa-website/pull/617/commits/e03b04db1164ae82561830e104f4297cab9da4ce to change the latest iOS and Android versions in the gulpfile.js and let the FAQ article update proceed independently of the exact version updates.

Done, thanks for the hint @MikeMcC399.
BTW what is the reason for the hotifx?

@Ein-Tim

BTW what is the reason for the hotifx?

There are two hotfixes and these are listed in https://github.com/corona-warn-app/cwa-app-android/releases/tag/v1.7.1-RC1.


Extend hardware selection based on presence of a battery

Hi there,
on PCP project we are gathering some metrics from batteries (used typically on laptops). To enable automated testing I would like to have the opportunity to select relevant hardware to run tests on. Such a hardware needs to have a battery and a battery controller present and communicating with the system.
On Beaker I am using Device/Description contains battery filter, however it is not fully reliable. For the reliable selection I need to run lshw | grep -i battery on booted system and check what the lshw returns.

No Beaker job XML filter at hand, we would need to experiment with Beaker to create one.


TSC Vote: StackStorm Partnership Program - revised

Goals
To align incentives for the StackStorm project as well as partners
The Plan
Officially launch the new Partner Program details.

Terms and conditions of the Partnership Program are described in a draft at https://stackstorm.com/stackstorm-partners-program-description/?preview=true (will be moved to https://stackstorm.com/partners-program/)
List of the Partners, each tagged with several categories, as shown and designed on the partners program TOC page
We'll place a traffic stats counter at the Partner page to indicate the number of hits/visits page is getting for the partner's page traffic indicator
We'll create a new section linking to the Partners page from the main StackSorm.com website
We'll launch and announce the program to Community via Blog Post and channels: Slack, Twitter, Newsletter, LinkedIn

Details
This involves making the draft page live, adding labels to existing partners, and ensuring the submission email is ready.
Potential partners will email<EMAIL_ADDRESS>with a proposal for partnership.  Upon approval, partners will be consulted on which labels to put beside their name on the partners page, and the labels will be added accordingly
The labels will be driven by the headers of the table in the partner program page (i.e. wrench: engineering, handshake: proserve, briefcase: bizdev, rocket: marketing)
Draft
The draft is here
https://stackstorm.com/stackstorm-partners-program-description/?preview=true
Example Partner Labels
An example of the partner page labels is here:
https://stackstorm.com/partners/ (see Bitovi's entry):

Implementation Discussion
Closes https://github.com/StackStorm/discussions/issues/73
Original Proposal
Closes https://github.com/StackStorm/discussions/issues/72
Next Steps

Upon approval via TSC vote, the draft page will be made live by swapping the urls for the temporary draft url to the official permanent url
All existing partners will be consulted on which labels to put beside their name on the partners page, and those icons will be added accordingly

The labels will be driven by the headers of the table in the partner program page (i.e. wrench: engineering, handshake: proserve, briefcase: bizdev, rocket: marketing)

ensure<EMAIL_ADDRESS>is set up
Create link to partners page from main site

Screenshots

For more details on voting, see: https://github.com/StackStorm/st2/blob/master/GOVERNANCE.md#how-decisions-are-made

@armab Can you confirm whether or not<EMAIL_ADDRESS>is set up?

@mickmcgrath13 Yes, it's working.

Voting :+1: for the revised version.

+1

👍

👍  on this :)

+1

+1 - under the assumption that the new layout is like the Bitovi example as shown, e.g. the sub-headings are staying, but we're  adding in the partnership contribution labels as documented on the partnership program page.
(I think that's what the proposal is... - but just wanted to clarify!)

@amanda11 It'd be like the screenshots under "Example Partner Labels", yes.  Only additive changes to the partners list :)

+1

+1

This is complete!

stackstorm.com
stackstorm.com/partners
https://stackstorm.com/partners-program/

Thanks a lot @mickmcgrath13 for the lead coordinating and shipping the Partners Program! :+1:


Made the examples lazy loaded

As discussed here, this PR makes the examples lazy loaded so the first load is faster as it just has to load in the code and corresponding imports of 1 example instead of all of them.
To test this, it is important to make a production build and hard refresh on every example page separately, as that will make it start with a clean slate. That way, you know for sure that code from one example isn't depended on from another example, as this will now break.

Thanks @leroydev , great job!


Implement Oracle OCI collector plugin

Motivation
There is currently documentation https://docs.oracle.com/pt-br/iaas/Content/API/SDKDocs/pythonsdk.htm#SDK_for_Python  for the Oracle OCI cloud to implement their collection to run Resoto.
Desired Behavior
Implement Oracle OCI cloud collection
Additional Context
No response

Thanks @datacosmos-br for reporting this. We definitely want to support Oracle OCI.
I see that you already started to implement this on your own?
Maybe we can talk about how we can combine forces - consider joining our Discord server, so we can discuss this topic better: https://discord.gg/someengineering


hue platform does not work since after switching from 0.25.2 to 0.26.2

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.26.2 (docker, raspberryPI https://hub.docker.com/r/homeassistant/rpi2-home-assistant/tags/)
Python release (python3 --version):
Component/platform:
hue
Description of problem:
hue platform does not get initialised since upgrade from 0.25.2 to 0.26.2
downgrade to 0.25.2 docker image solves problem hue platform behaves as expected
Expected:
hue platform getting initialised
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Do you get any errors in log during start up?

no errors whatsoever.

Hmm for me is working...

I made the same switch (update), but have no problems with my Hue lights.

Did you guys also use the RPI Docker image?

No, I'm running HASS on a RPi3, installed with the AiO installer.

Hue works for me on dev!

I'm suspecting it has something to do with the Docker image and maybe not working auto-detection...
I don't really see how to debug this problem however - any ideas? can I somehow configure the hue component - so that HASS doesn't rely on the discovery?

Yes, as described here: https://home-assistant.io/components/light.hue/

I have the same problem with a Yamaha AVR (#2819), relying on discovery too. Works fine on 0.25.2, doesn't work anymore on 0.26.x (using the Docker image, on x86, not on a RPi).

@Kernald : is it working if you set up the hue hub manually?

I just made multiple tests, using 0.26.2 and 0.26.3, configuring the Hue component manually works every time. However, the discovery also works for me on both .2 and .3... and the AVR issue seems pretty random now (it didn't work at all on three tries last week-end, and the component is relying on auto-discovery, so I though it was related). Sorry about the noise.

So manually configured the hue component and it is working. with 0.26.3 running in the docker image. However if I remove the hue info from the configuration.yaml, the hue does not automatically get detected.

actually seems that flex also somehow does not initialise.

Check your docker network settings. If you don't have net=host, discovery
won't work
On Sat, Aug 20, 2016, 17:39 snizzleorg<EMAIL_ADDRESS>wrote:

actually seems that flex also somehow does not initialise.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/2850#issuecomment-241225204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJzfua65MhkPyeKqNqJ7WABN00vYEgi5ks5qh3PzgaJpZM4Jl1WU
.

thanks. I do have net=host ....

I'm not sure if I'm seeing the exact same problem, but I've switched to the dev branch recently (not sure what version I was using previously though), and observed some the hue platform not working. There were some logs:
16-08-23 23:11:32 INFO (ThreadPool Worker 6) [phue] Attempting to connect to the bridge...
16-08-23 23:11:32 INFO (ThreadPool Worker 6) [phue] Using ip: <IP_ADDRESS>
16-08-23 23:11:32 INFO (ThreadPool Worker 6) [phue] Error opening config file, will attempt bridge registration
16-08-23 23:11:32 WARNING (ThreadPool Worker 6) [homeassistant.components.light.hue] Connected to Hue at <IP_ADDRESS> but not registered.

The ~/.homeassistant/phue.conf was readable. I tried moving it out of the way, and it doesn't seem to be recreated.

I tracked down my particular issue to needing to run the configurator for phillips hue. I had a custom default view, so never saw it. Posted about how to resolve that issue in https://community.home-assistant.io/t/including-configurators-in-a-custom-default-view/3295

Hi,
I have the same problem after upgrade to Home Assistant 0.26.3, HA can't discover hue dock.
i host it in a rPI and with the previous version of HA everything worked fine

This looks unreproducable. Closing out for now, please reopen if you continue to see the issue with a newer HA build.


WIP: Fix ownership of GpFontFamily objects returned by GdipGetFontCollectionFamilyList

The returned objects are owned by GpFontCollection and the font collection is responsible for their lifetime. The managed implementation of System.Drawing in Mono and System.Drawing.Common in .NET Core already treated the ownership correctly which resulted in memory leaks. Change GdipDeleteFontFamily to detect accidental attempts to delete the font family objects.

On second thought, the second commit should not be necessary. The failing asserts on CI were coming from finalizers of non-disposed objects. That still needs to be investigated.


NHS should use British English

I've not submitted a PR for this as I can see that the point could be debated.
Line 23 of _quarto.yml:
      NHS-R Community makes all of their materials publicly available under open source licenses
should be
      NHS-R Community makes all of their materials publicly available under open source licences
as the word 'licences' in this context is a noun, not a verb. As NHS is a UK entity, I'm assuming that its language should be British English.

Yes! Agreed and this is mentioned in full https://tools.nhsrcommunity.com/open-code.html#language with the NHS-R Way https://nhsrway.nhsrcommunity.com/style-guides.html#language. Thanks for picking this up.


Added getstate/setstate method for torch.save serialization

What does this PR do?
Fixes #4114.
Still requires test, and to see if there is a less verbose way to fix serialization in the accelerator class.
Also note that this will omit any additional state variables of accelerators that inherit from this; it assumes custom accelerator will override __getstate__ and __setstate__, or ensure that other objects are setup again.

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @SeanNaren! Thanks for updating this PR.

In the file tests/checkpointing/test_model_checkpoint.py:

Line 536:52: W504 line break after binary operator


Update expressroute-howto-coexist-resource-manager.md

Correcting steps language as per point 4 in "Limits and limitations" in the same page.

@arunjvs : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


Class "top-8-row" not used in file 14_top_8.html

Hello team,
There is a class in this file that is never used in the <style> tag. Please see the attached picture for more context. 👇

From a beginner perspective, having a class that is not used in the <style> tag is unnecessary and can cause confusion in understanding the context of the solution.
Proposed solutions

Remove unused tags.
Add some CSS parameters to the class "top-8-row".
Rename the second class "top-8-row" to "bottom-8-row" and leave them unused, that makes it easier to understand which row has what.

I'm closing this issue for now; see this comment in the connected PR.


Comma doesnt work on Samsung Android Keyboard with Flutter

My Samsung Galaxy Tab s4 (SM-T830) comma button key is disabled.
Although I'm using a TextFormField of type number with a keyboardType of TextInputType.numberWithOptions(decimal: true) it doesn't work.

Here the problem :

I think we have the same problem, check my issue : https://github.com/flutter/flutter/issues/97634

Unfortunately your problem is not mine. Me my comma button is disabled while you it's another problem

Hi @YannBemba40, I see a similar issue being tracked in https://github.com/flutter/flutter/issues/61175. It seems like this is a general Samsung issue as there was a similar issue reported on the Xamarin Forms repo https://github.com/xamarin/Xamarin.Forms/issues/1898. It seems to be related to locales.
Closing as duplicate as a similar issue is already being tracked in https://github.com/flutter/flutter/issues/61175.
If you disagree, leave a comment below and I will reopen.
Thank you


Test 0

This makes some changes that should be backported, using a shallow clone and fetching only the necessary commits:

https://github.com/korthout/backport-action-test/blob/58eca61ab76f940c2df0af056b899c2788dbaa53/.github/workflows/backport-pr-closed.yml

The previous test failed, because the backport target branch was not there.

This failed, because the cherry-pick was unable to deal with the range of commits


[c#] Syntax highlighting problem with SQL text strings

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:41:20.664Z)
OS Version: Linux x64 3.10.0-514.6.1.el7.x86_64
Extensions:

Extension
Author
Version

vscode-docker
PeterJausovec
0.0.11

csharp
ms-vscode
1.6.2

mono-debug
ms-vscode
0.12.0

Steps to Reproduce:
1.Reading  the .NET Core in Action eBook and entered the following code:

CodeSample.txt
2.Syntax highlighting is incorrect for the SQL syntax strings.
Code sample provided as a text file.

This issue was moved to OmniSharp/omnisharp-vscode#1157


Pattern: CTA section Services template changes Prod QA testing

User Story

As a [user role below]:
developer using the ibm.com Library CTA section

I need to:
have a version of the pattern or component that has been tested for accessibility compliance as well as on multiple browsers and platforms

so that I can:
be confident that my ibm.com web site users will have a good experience

Additional information

Browser Stack link
Browser Standard
Browser versions to be tested:  Tier 1 browsers will be tested with defects created as Sev 1 or Sev 2.  Tier 2 browser defects will be created as Sev 3 defects.
Platforms to be tested, by priority:  1)  Desktop  2)  Mobile  3)  Tablet
Mobile & Tablet iOS versions: 13.1 and 13.3
Mobile & Tablet Android versions: 9.0 Pie and 8.1 Oreo
Browsers to be tested:  Desktop: Chrome, Firefox, Safari, Edge, Mobile: Chrome, Safari, Samsung Internet, UC Browser, Tablet: Safari, Chrome, Android
Accessibility Checklist
Creating a QA bug
See the Epic for the Design and Functional specs information
Dev issue (#2796)

Acceptance criteria

[ ] Accessibility testing is complete.  Pattern is compliant.
[ ] All browser versions are tested
[ ] All operating systems are tested
[ ] All devices are tested
[ ] Defects are recorded and retested when fixed

The code has been merged and is ready for testing.
Deploy preview created for package React:
https://ibmdotcom-react.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/2868/index.html
Built with commit: dacc2cd7b8991afdf2cdf75cc6147822d525ad1e

7/7/2020:  All testing is finished.  Closing.


Single Patient API Test - CareTeam Search

We're testing with the ONC Certification (g)(10) Standardized API Test Suite. For test the CareTeam Test (4.5.01) in Single Patient API, the test is failing because our server does not support comma-separated strings for the status query parameter.
Is this the expected behavior? As per the US Core CareTeam search spec, support for this is optional.

SHALL support searching using the combination of the patient and status search parameters:

including optional support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...)

The composite OR support is required in US Core v3.1.1
http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-careteam.html

Ah okay, thank for you for clarifying!


[TASK] Documentation for the settings pages

Estimated story points: 3
Description

Acceptance criteria

time: 30min


Discuss API interface

We should generally discuss use cases and how the API "ideally" should look like from developer experience perspective.
Some discussion points:

What are the most common use cases people use pykube for?
What is working well?
What could be better?
How much is/should pykube be "Pythonic"?
How to play better with existing Python libraries, e.g. requests?

Also related to #6


Fix PHP syntax

This PR

Fix PHP syntax

Related Issues

No issues
Notes

Follow-up Tasks

How to test

Hey @MilesChou, thanks for the PR. Could you please make the change in the PHP repo? The doc site pulls from there once a day.

Hey @MilesChou, thanks for the PR. Could you please make the change in the PHP repo? The doc site pulls from there once a day.

The PR created, thx
https://github.com/open-feature/php-sdk/pull/120


Support for experimental ".mjs" output

Partially Fixes #18442
This PR addresses two aspects of supporting the actual ".mjs" extension:

It allows TypeScript to resolve bare specifiers for a file when a respective ".mjs" file can be found, by first looking for a ".mjs" immediately before looking for a ".js" (without affecting any other order).

It allows TypeScript to output to ".mjs" only under the following very restrictive config:

{
  "compilerOptions": {
    "module": "esnext",
    "target": "esnext",
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true
  }
}

Aside from changes to the source, both harness and baselines have changed to accommodate those two changes, with all current tests passings.
Thanks

 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.:x: smotaal sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Here are some notes if you are interested in using this PR meanwhile:
https://gist.github.com/smotaal/4f9458cf43cd7a55a12d5c476c15400e

We are waiting on node to formalize their support for ES6 modules. I do not think we know if you want .mjs to be the default output (as in this PR) as of yet.
There is also issues with what you can import from and what you can can not, and using which import forms. there are issues with what the declaration file from a .mjs file source should look like, and ultimately we do not know if the solution would be a .mts and  .d.mts extension.
Thanks for the PR, but there are many open issues that have not been resolved at the moment, and that is why we have not added this yet.

@mhegazy This is intended as a highly experimental step to allow the rest of us in this space to at least explore and experiment, if not to actually be able to do our part in uncovering other less popular edge cases. I realize TypeScript is working hard, but without this very minimal-no-promises-and-just-temporary feature, you are loosing out on all the far more significant potential that other TypeScript users out there could have been bringing to the table (and this is my little contribution)

@mhegazy and yeah, I'm a much bigger fan of MJS music thank you (but the alternative is custom loader and so far this needs to be a CLI flag 😱)

but without this very minimal-no-promises-and-just-temporary feature,

:D i wish there was that kind of feature.. if a feature is part of the product, ppl will use it and expect it to work, and will be unhappy when their build breaks.

Just to be clear, if .mjs ends up the default for node, we will support it.
The node implementation details are not finalized at the moment. and we do not think we should be making any changes until node plans are stable and clear.
We have two team members on the node modules working group, and we are closely following the development of node module implementation.

So let me pick your brain on a temporary workaround for the following:
What would be the most ideal way today to be able to augment my TypeScript development experience in Visual Studio Code so that it would allow me to work with .mjs files interchangeably as it would for other ES2015+.js files (aside from manual .d.ts and to keep it fun, let's assume I can't transpile)
Honestly, I've been racking my brain and others' to solve this, without adding a new layer of the very likely to cause even more incompatibility tomorrow but works today stuff that got us in this desperate  mess we are in today.

The feature is not supported, that is what  #18442 tracks. As i mentioned earlier, we continue to monitor developments on the node side, and we will be adding support as that node module implementation materializes.


[Thread] Can't find the ThreadNetworkDiagnostics cluster on Endpoint 0 for multiple_on_off_plugin_units example (CON-1345)

Describe the question/query that you have
Hello. I can't find the ThreadNetworkDiagnostics cluster on Endpoint 0 for Multiple On Off plugin unit example.
How can I add this missing cluster?
Additional context
...
I using a ESP32-H2 board.

You can find the documentations for creating the cluster and a few examples here: https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#clusters
And here is the thread network diagnostic cluster: https://github.com/espressif/esp-matter/blob/main/components/esp_matter/esp_matter_cluster.h#L160
But, in-a-nutshell this should work
// to get the endpoint from node_t
esp_matter::endpoint_t *root_ep = esp_matter::endpoint::get(node, 0); // 0 being the root endpoint

esp_matter::cluster::thread_network_diagnostics::config_t thread_network_diag_config;
esp_matter::cluster_t *thread_network_diag_cluster = esp_matter::cluster::thread_network_diagnostics::create(root_ep, &thread_network_diag_config, CLUSTER_FLAG_SERVER);

Thank you. So I have to implement each ThreadNetworkDiagnostics cluster attribute manually?

Thank you. Now it works.

can you please close if problem is resolved!


Consistent developer CLI units

scripts/pegin.sh takes an argument with btc unit
mint-client-cli pegout takes an amount argument with sat unit
mint-client-cli ln-invoice takes an argument with millisat unit

etc ... it's a little confusing to remember which command uses which unit.
I propose defaulting to sats in all cases, but allowing 1234btc or 5678msat suffixes to specify other units.
Thoughts?

agreed

closed by #259


ImportError: cannot import name 'Config' from partially initialized module 'constance.base' (most likely due to a circular import)

As per https://stackoverflow.com/a/69185962/284164 :
Once every few hundred thousand requests I see one of these:
ImportError at /
cannot import name 'Config' from partially initialized module 'constance.base' (most likely due to a circular import) (/usr/local/lib/python3.9/site-packages/constance/base.py)

I cannot identify any rhyme or reason. It doesn't correspond with accessing constance admin, just randomly occurs. My best guess is it's something to do with the LazyObject in constance's __init__.py, and maybe random race-conditions in restarting expired gunicorn workers or something?!
I'm using:

Python 3.9.2
Django 3.2
django-constance = {extras = ["database"],version = "==2.8.*"}
"constance" and "constance.backends.database" in INSTALLED_APPS (at top)
CONSTANCE_BACKEND = "constance.backends.database.DatabaseBackend"
"constance.context_processors.config" in TEMPLATES[0]["OPTIONS"]["context_processors"]

All my code does is from constance import config and access config attributes in the standard way in python code and Django templates.
For what it's worth, we've been using django-constance on this site for years, but never saw this error until we upgraded to 2.8.0 (from 2.6.0). We were using Django 3.1 when it first appeared, but has also occurred since upgrading to 3.2.

I've managed to reproduce the issue and track down the likely cause.
I managed to trigger it once using Django's runserver, on the first request handled, but in hundreds of subsequent restarts/attempts I couldn't make it recur.
I then instead ran a couple of local gunicorn worker threads with a low requests-per-worker threshold, and spammed the local port with rapid-fire requests, and sure enough the ImportError occurs every now and then.
The issue seems to be this:

constance.__init__ uses a django.utils.functional.LazyObject which, once lazily evaluated, imports constance.base and instantiates a Config from that module.

constance.base.Config.__init__ uses constance.utils.import_module_attr to import the backend specified in the project settings, which in turn uses importlib.import_module to import, in my case, constance.backends.database.DatabaseBackend.

constance.backends.database.__init__ also imports config from ... (constance), thus potentially creating an import loop.

It seems there is a rare race condition in which LazyConfig._setup tries to import constance.base.Config while constance.base hasn't be fully initialised. I injected some debugging statements to demonstrate, and the buggy sequence looks like this:
[2021-09-15 09:35:10 +1000] [13504] [INFO] Booting worker with pid: 13504
BEGIN constance.__init__.LazyConfig._setup() vars(self): {'_wrapped': <object object at 0x108da8340>}
BEGIN constance.__init__.LazyConfig._setup() vars(self): {'_wrapped': <object object at 0x108da8340>}
constance.base imported
constance.base.Config.__init__: importing constance.backends.database.DatabaseBackend
ImportError at /
cannot import name 'Config' from partially initialized module 'constance.base' (most likely due to a circular import) (/usr/local/lib/python3.9/site-packages/constance/base.py)
EXIT constance.__init__.LazyConfig._setup() vars(self): {'_wrapped': <constance.base.Config object at 0x10fa7ea30>}

It seems to only happen when _setup is called twice in a row like that, before constance.base is imported, then the two threads seem to race from that point.

Unfortunately this issue persists even in the 3.1.0 release

Could you provide your gunicorn config and execution args?
Do you use threads in your application?

Thanks @sergei-iurchenko

pid = "/var/run/gunicorn.pid"
bind = "<IP_ADDRESS>:{0}".format(env("PORT", int, default=8000))
workers = env("GUNICORN_WORKERS", int, default=9)  # (2*CPU_cores+1)
preload_app = True
max_requests = 100
timeout = env("GUNICORN_TIMEOUT", int, default=180)
# https://pythonspeed.com/articles/gunicorn-in-docker/
worker_tmp_dir = "/dev/shm"
threads = 4
worker_class = "gthread"

if env("GUNICORN_RELOAD", bool, default=False):
    reload = True

accesslog = "-"

Not explicitly elsewhere, only in the gunicorn configuration

I suppose there can be some problem with threads.
Could you change worker_class to sync ? Will error disappear?

Try to disable preload https://docs.gunicorn.org/en/latest/settings.html?highlight=reload#reload

Thanks @sergei-iurchenko , I'll try changing those and will let you know if the issue recurs


How to use livereload on the remote server using putty

I've read the article, but I didn't find information how to connect to the server with the parameters

ssh -L 35729:<IP_ADDRESS>:35729 ...

using Putty or other SSH client.

@kargapoltsev I'm closing this issue in the absence of the activity, feel free to reopen it if you have any further questions.


[SPARK-45747][SS] Use prefix key information in state metadata to handle reading state for session window aggregation

What changes were proposed in this pull request?
Currently reading state for session window aggregation operator is not supported because the numColPrefixKey is unknown. We can read the operator state metadata introduced in SPARK-45558 to determine the number of prefix columns and load the state of session window correctly.
Why are the changes needed?
To support reading state for session window aggregation.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Add integration test.
Was this patch authored or co-authored using generative AI tooling?
No.

@HeartSaVioR

Thanks! Merging to master.

@chaoqin-li1123 Could you please rebase your change with latest master branch? merge script is confusing that I'm the main author due to my commits listed here.


Fix install of fastparquet on travis

Missing dependencies were causing this to silently fail.
Fixes #2896.

Annoying, but so be it. Please mark a fastparquet issue.

Done: https://github.com/dask/fastparquet/issues/250


[ISSUE #3628] Signature plugin extension

Signature plugin extension

Make sure that:

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

Codecov Report

Merging #3637 (f4ddf9e) into master (a27bb8f) will decrease coverage by 0.48%.
The diff coverage is 87.71%.

:exclamation: Current head f4ddf9e differs from pull request most recent head 6472312. Consider uploading reports for the commit 6472312 to get more accurate results

@@             Coverage Diff              @@
##             master    #3637      +/-   ##
============================================
- Coverage     62.72%   62.23%   -0.49%
+ Complexity     5868     5836      -32
============================================
  Files           888      892       +4
  Lines         24723    24784      +61
  Branches       2263     2265       +2
============================================
- Hits          15507    15424      -83
- Misses         7763     7901     +138
- Partials       1453     1459       +6

Impacted Files
Coverage Δ

...plugin/sign/subscriber/SignAuthDataSubscriber.java
100.00% <ø> (+100.00%)
:arrow_up:

...java/org/apache/shenyu/common/utils/JsonUtils.java
67.44% <40.00%> (-3.62%)
:arrow_down:

...yu/plugin/sign/decorator/SignRequestDecorator.java
66.66% <66.66%> (ø)

...java/org/apache/shenyu/plugin/sign/SignPlugin.java
93.75% <90.90%> (+33.75%)
:arrow_up:

...org/apache/shenyu/plugin/sign/api/SignService.java
100.00% <100.00%> (ø)

...nyu/plugin/sign/handler/SignPluginDataHandler.java
100.00% <100.00%> (ø)

...he/shenyu/plugin/sign/handler/SignRuleHandler.java
100.00% <100.00%> (ø)

...shenyu/plugin/sign/service/DefaultSignService.java
92.45% <100.00%> (+14.90%)
:arrow_up:

...t/starter/plugin/sign/SignPluginConfiguration.java
100.00% <100.00%> (ø)

...henyu/plugin/logging/kafka/LoggingKafkaPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

... and 64 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 a27bb8f...6472312. Read the comment docs.

@yunlongn Hi， looks good to me， you can add my wechat：13786298670， i will invate you to contributor group


Enhancement Make scheduler aware of interval changes immediately

Proposed changes
Issue Number: close #xxx
Before, if dynamic_partition_check_interval_seconds is 86400 now and we want to set it to 1, the set operation will not go into effect in 86400 seconds in worst situation.
Now all set operation will norify scheduler thread and set the interval immediately.
Now only applied for DynamicPartitionScheduler. should check other daemons in future.

run buildall

run buildall


Conflicting nullability on the UMPConsentForm

Hi,
On our project we've set the TREAT_WARNINGS_AS_ERRORS flag to YES and we've noticed the following error in the UMPConsentForm:

Conflicting nullability specifier on return types, 'nullable' conflicts with existing specifier 'nonnull'

This error arises from the use of - (nullable instancetype)init NS_UNAVAILABLE;, where the nullable specifier is causing a conflict.
Is there any chance this could be fixed?
I’ve attached an example project to help demonstrate the issue.
UserMessagingExample.zip
Thanks!

Hi @tiago-queiros, this looks like something that we can address - can you a create a new thread on the AdMob Developers Forum for it to be properly triaged? Thanks!
Closing this out.

Posting the link here in case anyone want's to follow up


New version: Cimbali.pympress version 1.8.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111585&drop=dogfoodAlpha

@wingetbot run


 validation message layout 📐🤓

🤚🏻 Before

🖖🏻 After

Summary
Decouple <TextField /> validation message layout the size of the rendered input.
This allows for the validation message to grow naturally up to the containers available width rather than having to break into a new line when there's no need.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


stub any instance having certain attributes

In ActiveRecord, it's common to have a representation of a database object re-instantiated multiple times. See the following scenario:
# SETUP
class CreateModels < ActiveRecord::Migration
  def change
    create_table :models { |t| t.integer :uid; t.string :foo }
  end
end

class Model < ActiveRecord::Base
end

# TESTS
let(:model1) { Model.create!(uid: 1) }
let(:model2) { Model.create!(uid: 2) }

before do
  allow(model1).to receive(:foo).and_return :bar
  allow(model2).to receive(:foo).and_return :baz
end

it {
  expect(model1.foo).to eq :bar # => passes
  expect(model2.foo).to eq :baz # => passes

  new_instance_of_model1 = Model.find_by(uid: 1)
  new_instance_of_model2 = Model.find_by(uid: 2)

  expect(new_instance_of_model1.foo).to eq :bar # => fails because it returns nil
  expect(new_instance_of_model2.foo).to eq :baz # => fails because it returns nil
}

The original instance is stubbed just fine, but subsequent instantiations of the same database object representation are not stubbed.
I'm looking for something like:
allow_any_instance_of(Model).with_attributes(uid: 1).to receive(:foo).and_return(:bar)
allow_any_instance_of(Model).with_attributes(uid: 2).to receive(:foo).and_return(:baz)

It doesn't always work to use
allow(Model).to receive(:find).with(1)and_return(model1)
allow(Model).to receive(:find).with(2)and_return(model2)

because there are many other ways to get to the model (associations, scopes, Arel, etc.)
Is there some other way of doing this?

That API is not provided (and we won't be adding it), but you can achieve something like this by passing a block:
allow_any_instance_of(Model).to receive(:foo) do |instance, *args|
  if instance.uid == 1
    :bar
  elsif instance.uid == 2
    :baz
  else
    nil
  end
end


Metamorphic glasses now change again

About the PR

Metamorphic glasses finally change again based on what liquid is inside them. It just works.

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/space-wizards/space-station-14/assets/55817627/b2fc897f-9fbb-4d47-a147-a30522d72868

it just works.


-publicurl

i just want to know, sir.. where could i place my image folder, so that when i upload image using curl -X PUT -F<EMAIL_ADDRESS>http://<IP_ADDRESS>:8081/image the image that i'm going to upload will be viewed in the browser.. like this http://:// but, when i try to specify the publicurl, it is not working or the image is not there, still the image uploaded to /tmp/data1/22.dat but not in image folder specified in publicurl..

i tried to create a folder named "image" inside the html folder of openresty nginx, but weedfs didn't recognized the folder that i made..

Are you talking about "filer"?
If you upload to "http://<IP_ADDRESS>:8081/image", without the ending "/", it will be saved as file "image", not a directory.
You can list the folder by checking "http://<IP_ADDRESS>:8081/image/"
or  "http://<IP_ADDRESS>:8081/"

i'm asking on how can i upload the volumeId and saved it to my specified folder using (curl -X PUT -F<EMAIL_ADDRESS>http://ip:port/volumeId)  instead of this command, how can i upload it into direct folder, instead of auto saving it into (/tmp/data1/22.dat) the browser can't identify the 22.dat file to retrieve the photo from specified directory folder.. the client must access the url like this -->http://<IP_ADDRESS>:8081//volumeId to retrieve the photo uploaded.. but, in your basic guide, it's just calling the direct image using volumeId.. i don't know yet what is the right command for this.. if i use my publicurl to upload the image via curl, it is not working, if i add folder like this ---> curl -X PUT -F<EMAIL_ADDRESS>http://ip:port//volumeId   <---this is not working too..
I'm referring the coding of weed-fs as mysqli.. it must have something query.. not just calling the image via volumeId..
Date: Thu, 30 Apr 2015 11:51:49 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [seaweedfs] -publicurl (#133)
Are you talking about "filer"?
If you upload to "http://<IP_ADDRESS>:8081/image", without the ending "/", it will be saved as file "image", not a directory.
You can list the folder by checking "http://<IP_ADDRESS>:8081/image/"
or  "http://<IP_ADDRESS>:8081/"
—
Reply to this email directly or view it on GitHub.

If you are using basic "weed master" + "weed volume", the system would not take any folder structure.
If you need folder structure, you can use other proxy, e.g. Nginx, to front the seaweedfs.


After install, typing "fisher" = permission denied

An error occurred while redirecting file '/dev/stderr'
open: Permission denied

And the fisher.fish file in /functions/ is set to the right owner (the user)

@gyakovlev Is this related to https://github.com/fisherman/fisherman/pull/416?

@jorgebucaran have no idea.
technically it should not be the reason as the only thing we did is change the notation. no direct reference of /dev/stderr, just ^ -> >2 change.
more likely this one is used and fails somewhere.
https://github.com/fisherman/fisherman/blob/0a5e188764b630a8c4b6ce03f000d06830fb6e30/fisher.fish#L69-L76
it would be helpful if @BarbzYHOOL provided a bit more information about the system.
on my system (linux):
ls -la /dev/stderr
lrwxrwxrwx 1 root root 15 Jul  2 19:54 /dev/stderr -> /proc/self/fd/2

ls -la /proc/self/fd/2
lrwx------ 1 ya ya 64 Jul  3 23:44 /proc/self/fd/2 -> /dev/pts/5

and everything works.

Hmm sorry, I don't remember how it happened. It was on a debian 9 but I kept installing, uninstalling with ansible.
Also it was in a LXC container.

Haha okay, no point in keeping this open then. 😄

still can be useful if someone gets the issue one day
ARGH :P


Correct super call in HookMetaPaths.setitem

Fixes #2
Also added a test.

@akaihola thanks for the contribution!

Released as 1.0.9: https://pypi.org/project/importhook/1.0.9/


Enforce theme fonts

Scope part of https://github.com/weaveworks/ui-components/issues/212.
Uses Proxima Nova as a default font instead of Roboto.
Not to be merged before https://github.com/weaveworks/service-ui/pull/2551.

Terminal is still using courier-new

I added a commit that changes that :) Unfortunately, overriding the default font family didn't really work so I needed to hack the css styles..

Do we already have a license for proxima-nova?

I think @bowenli is looking into that right now - in any case, it's a problem for a future PR.


hosted: update from master

The diff results in no changes because for https://github.com/mendersoftware/mender-docs/pull/1917 we decided on "ours" version of that page.

Added in the same PR a revert. See:

https://github.com/mendersoftware/mender-docs/pull/1785#issuecomment-1159784661


How to load ndarray directly to a specific device?

I think nd.save method also saves the device information is unreasonable. In my case, when I train a model at gpu(7) on a server with 16 gpus, save all params, and load them to my desktop which has only one gpu, I will get a invalid device error.
I know I can just copy to cpu --> save --> load to cpu--> copy to gpu, but it's not the best solution I think..
Is there a simpler way to load ndarrays directly to a device? If not I suggest that you could add this load to device function which is simple but useful.

if u r trying to create a ndarray on a specific gpu, you can follow ndarray Creation in this link.


Build fixes

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

Comparison is base (8592cc4) 20.54% compared to head (4ee9b83) 20.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #103   +/-   ##
=======================================
  Coverage   20.54%   20.54%
=======================================
  Files          28       28
  Lines        1319     1319
=======================================
  Hits          271      271
  Misses       1022     1022
  Partials       26       26

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


Permission and npm issues building and running docker image

We have 2 issues building and running our current docker image.

Building from src fails because alpine bumped up the node version they install via apk in their 3.9 image which we do not support.

docker build --build-arg BUILD_FROM=COMMIT --build-arg BUILD_ID=origin/master -t dotcms-test .

Once the docker image is created, it fails to run in different environments due to permissions issues on startup.  This is reproducible on my local docker install (OS-X / brew) and on Amazon's Linux2 install.

I have experienced that issue several times. The only way I found to make it work was changing the alpine version, it failed sporadically and I couldn't find the reason


command line option -e is ignored when GO_ENV is defined in .env file

Steps to Reproduce the Problem
In a dir with a .env containing GO_ENV=development , run

soda migrate -e test

Expected Behavior
The test environment should be used when -e test arg is given.
Actual Behavior
The development environment is used, ignoring the command line flag.
It's also surprising to me that the .env file will override GO_ENV. I.e. GO_ENV=test soda migrate will also defer to the .env file... is that intended?
Info
macOS 10.13.6, using latest pop (git: 0596d299dc4e19f8639d15006e4984853e6c0087)

I also faced this problem.
Stored environment using .env is a nice feature but command line value and environment variables always should have most priority than file given one.

Still, the same issue happens:
$ soda reset -e test
pop v6.0.2

[POP] 2022/06/04 20:40:03 info - drop app_development (...)
Error: couldn't drop database app_development: error dropping...

the database should be app_test for this case.


Does SC work with the "native" JDK 11?

Java 11 is available as an Installable Licensed program from the ESS site.
LICPGM     Option  Feature     Description
5770JV1      19         5119        Java SE 11 64 bit
the install path is
/QOpenSys/QIBM/ProdData/JavaVM/jdk11/64bit
so the simple question is can ServiceCommander work with this version of Java or is the RPM version our only option?

Hi, Brian. Service Commander only runs with the RPM Java. It does not work with JV1.

I have no wish to *have to use JV1, it seemed to be strange to have the "same java" in different places.  One being an evaluation install

The two Java flavors work best for different types of workloads. Sorry this is a blocker in your environment. 😞
There are some code comments with explanation for the RPM dependency here:
https://github.com/ThePrez/ServiceCommander-IBMi/blob/88414df4b02afaa4ce107152ee2a2cffc8f7d819/src/main/java/jesseg/ibmi/opensource/ServiceCommander.java#L41


Chromium fails to start

  File "/usr/local/lib/python3.11/dist-packages/botasaurus-4.0.3-py3.11.egg/botasaurus/decorators.py", line 651, in wrapper_browser
    current_result = run_task(data_item, False, 0)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/botasaurus-4.0.3-py3.11.egg/botasaurus/decorators.py", line 531, in run_task
    driver = create_selenium_driver(options, desired_capabilities)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/botasaurus-4.0.3-py3.11.egg/botasaurus/create_driver_utils.py", line 236, in create_selenium_driver
    driver = AntiDetectDriver(
             ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/botasaurus-4.0.3-py3.11.egg/botasaurus/anti_detect_driver.py", line 40, in __init__
    super().__init__(executable_path=chromedriver_path, options=chrome_options, *args, **kwargs)
  File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__
    super().__init__(DesiredCapabilities.CHROME['browserName'], "goog",
  File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/chromium/webdriver.py", line 92, in __init__
    super().__init__(
  File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/webdriver.py", line 272, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/webdriver.py", line 364, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.11/dist-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x5624c8b59cc2 <unknown>
#1 0x5624c8ae13a3 <unknown>
#2 0x5624c8872371 <unknown>
#3 0x5624c8899c2c <unknown>
#4 0x5624c88958ec <unknown>
#5 0x5624c88dae54 <unknown>
#6 0x5624c88d19b3 <unknown>
#7 0x5624c88a02fc <unknown>
#8 0x5624c88a15f7 <unknown>
#9 0x5624c8b17271 <unknown>
#10 0x5624c8b2e4e8 <unknown>
#11 0x5624c8b2dcbb <unknown>
#12 0x5624c8b2ed55 <unknown>
#13 0x5624c8b18e03 <unknown>
#14 0x5624c8b2f12d <unknown>
#15 0x5624c8b0845a <unknown>
#16 0x5624c8b4e238 <unknown>
#17 0x5624c8b4e357 <unknown>
#18 0x5624c8b698bb <unknown>
#19 0x7f8fa28d13ec <unknown>
#20 0x7f8fa2951a4c <unknown>

 chromedriver --version
ChromeDriver 110.0.5481.0 (e9b8480c8f45332fce750122e1a76fa2dbe5c02c-refs/heads/main@{#1084023})
root@kali-linux:~/Temp/Botasaurus/test# chromium --version
Chromium 110.0.5481.0
root@kali-linux:~/Temp/Botasaurus/test#

from botasaurus import *

@browser
def scrape_heading_task(driver: AntiDetectDriver, data):
    driver.get('http://google.com')
    from ptpython.repl import embed
    embed(globals(), locals())

if __name__ == "__main__":
    # Initiate the web scraping task
    scrape_heading_task()

root@kali-linux:~# which chromium
/usr/bin/chromium
root@kali-linux:~# which chromedriver
/usr/bin/chromedriver

I have manually edited botasaurus code such that it uses non download chromium/chromedriver. Neither original botasaurus nor edited botasaurus works

We have released v4, which solves many bugs and adds awesome feautres like UI Run. I suggest using it and let me know if this issue reoccurs, to do so, please run the following commands:
python -m pip install bota botasaurus_api botasaurus_driver bota botasaurus-proxy-authentication botasaurus_server --upgrade

Then read the documentation at https://github.com/omkarcloud/botasaurus.


listing 6.3

"from optalgotools.problems import TSP" does not work since there is no setup.py to install the optalgotools package. To import it from a local code directory, need to run the following code first for the Python environment to understand where to find optalgotools.
import sys
sys.path.insert(1, '..')

There is a setup.py and you can also install optalgotools package using pip install


testReleaseFlutterViewController - Engine failed to release

I saw this on a PR I was working on:
Running add-to-app iOS integration tests...
▌12:11:26▐ RUNNING: cd dev/integration_tests/ios_add2app; ../../../build_and_test.sh
/private/tmp/flutter sdk/dev/integration_tests/ios_add2app/flutterapp /private/tmp/flutter sdk/dev/integration_tests/ios_add2app
Downloading ios tools...                                           33.6s
Downloading ios-profile tools...                                   26.1s
Downloading ios-release tools...                                  107.7s
Building com.example.iosAdd2appFlutter for simulator (ios)...
Running Xcode build...
Xcode build done.                                           36.0s
Built /private/tmp/flutter sdk/dev/integration_tests/ios_add2app/flutterapp/build/ios/iphonesimulator/Runner.app.
/private/tmp/flutter sdk/dev/integration_tests/ios_add2app
Analyzing dependencies
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
Downloading dependencies
Installing EarlGrey (1.15.1)
Installing Flutter (1.0.0)
Installing FlutterPluginRegistrant (0.0.1)
Installing ios_add2app_flutter (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 4 dependencies from the Podfile and 4 total pods installed.
/usr/local/bin/xcpretty
▸ Compiling Pods-ios_add2appTests-dummy.m
▸ Compiling FlutterPluginRegistrant-dummy.m
▸ Compiling GeneratedPluginRegistrant.m
▸ Building library libPods-ios_add2appTests.a
▸ Building library libFlutterPluginRegistrant.a
▸ Compiling Pods-ios_add2app-dummy.m
▸ Building library libPods-ios_add2app.a
▸ Running script '[CP] Check Pods Manifest.lock'
▸ Running script '[CP-User] Run Flutter Build Script'
▸ Compiling MainViewController.m
▸ Compiling NativeViewController.m
▸ Compiling main.m
▸ Compiling HybridViewController.m
▸ Compiling FullScreenViewController.m
▸ Compiling DualFlutterViewController.m
▸ Compiling AppDelegate.m
▸ Linking ios_add2app
▸ Compiling Launch\ Screen.storyboard
▸ Processing Info.plist
▸ Running script '[CP] Embed Pods Frameworks'
▸ Touching ios_add2app.app (in target: ios_add2app)
▸ Processing Info.plist
▸ Running script '[CP] Check Pods Manifest.lock'
▸ Compiling IntegrationTests.m
▸ Compiling FlutterViewControllerTests.m
▸ Linking ios_add2appTests
▸ Copying /tmp/flutter\ sdk/dev/integration_tests/ios_add2app/Pods/EarlGrey/EarlGrey/EarlGrey.framework
▸ Running script '[CP] Embed Pods Frameworks'
▸ Copying /Applications/Xcode-10.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework
▸ Copying /Applications/Xcode-10.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework
▸ Copying /Applications/Xcode-10.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/libXCTestBundleInject.dylib
▸ Touching ios_add2appTests.xctest (in target: ios_add2appTests)
2019-10-07 12:15:56.581 xcodebuild[95978:171247]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/anka/Library/Developer/Xcode/DerivedData/ios_add2app-csiwhdwugybmwjeggtidemdjpolj/Logs/Test/Test-ios_add2appTests-2019.10.07_12-15-23--0700.xcresult/1_Test/Diagnostics/ios_add2appTests-00CB5F11-59D5-409D-9036-1A25FDC64376/ios_add2appTests-D220C3D6-ECEA-494B-865F-DDF9EA725B79/Session-ios_add2appTests-2019-10-07_121556-pLDeOu.log
2019-10-07 12:15:56.583 xcodebuild[95978:170218] [MT] IDETestOperationsObserverDebug: (85BF7B99-172F-4555-9F54-5AA3472A64D7) Beginning test session ios_add2appTests-85BF7B99-172F-4555-9F54-5AA3472A64D7 at 2019-10-07 12:15:56.582 with Xcode 10E125 on target <DVTiPhoneSimulator: 0x7f81c6155350> {
		SimDevice: iPhone X (30AB7C65-B526-4C4B-AE55-E6C7C8D8B47F, iOS 12.2, Shutdown)
} (12.2 (16E226))
2019-10-07 12:16:58.058 xcodebuild[95978:170218] [MT] IDETestOperationsObserverDebug: (85BF7B99-172F-4555-9F54-5AA3472A64D7) Finished requesting crash reports. Continuing with testing.
All tests
Test Suite ios_add2appTests.xctest started
FlutterTests
    ✓ testDualFlutterView (14.059 seconds)
    ✓ testFullScreenCanPop (9.309 seconds)
    ✓ testHybridView (28.382 seconds)
ViewControllerRelease
    ✗ testReleaseFlutterViewController, ((weakEngine) == nil) failed: "<FlutterEngine: 0x600000040690>" - Engine failed to release.
ViewControllerRelease
  testReleaseFlutterViewController, ((weakEngine) == nil) failed: "<FlutterEngine: 0x600000040690>" - Engine failed to release.
  /tmp/flutter sdk/dev/integration_tests/ios_add2app/ios_add2appTests/FlutterViewControllerTests.m:24
 }
 XCTAssertNil(weakEngine, @"Engine failed to release.");
}

   Executed 4 tests, with 1 failure (0 unexpected) in 52.207 (52.222) seconds
2019-10-07 12:18:08.160 xcodebuild[95978:170218] [MT] IDETestOperationsObserverDebug: 131.607 elapsed -- Testing started completed.
2019-10-07 12:18:08.161 xcodebuild[95978:170218] [MT] IDETestOperationsObserverDebug: 0.001 sec, +0.001 sec -- start
2019-10-07 12:18:08.161 xcodebuild[95978:170218] [MT] IDETestOperationsObserverDebug: 131.607 sec, +131.607 sec -- end
Failing tests:
  ios_add2appTests:
  	-[ViewControllerRelease testReleaseFlutterViewController]
Test session results and logs:
  /Users/anka/Library/Developer/Xcode/DerivedData/ios_add2app-csiwhdwugybmwjeggtidemdjpolj/Logs/Test/Test-ios_add2appTests-2019.10.07_12-15-23--0700.xcresult
** TEST FAILED **
▌12:13:22▐ ELAPSED TIME: 6min 48.661s for ../../../build_and_test.sh  in dev/integration_tests/ios_add2app
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ERROR: Last command exited with 65 (expected: zero).
Command: ../../../build_and_test.sh
Relative working directory: dev/integration_tests/ios_add2app
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

https://cirrus-ci.com/task/5629588356464640

One thing my PR does is change the image we use to run this test. I'll try changing back and report if that helps.

I realise it's been 4 months since you filed this, but you don't happen to remember if changing back helped in this case do you?


Docs: Update Readme

Updated existing screenshot with the current website
Create a section of the stack being used: React, Tailwind, Supabase, Daisy UI

I would like to work on this.


line(), coulmn() and offset() still listed as valid in predicates

According to 0.9.0 changelog
line(), column() and offset() were removed and replaced by location()
however the documentation on the website still shows
line(), column() and offset() as available in predicates
emphasis added for clarity.

The predicate is a piece of JavaScript code that is executed as if it was inside a function. It gets the match results of labeled expressions in preceding expression as its arguments. It should return some JavaScript value using the return statement. If the returned value evaluates to true in boolean context, just return undefined and do not advance the parser position; otherwise consider the match failed.

The code inside the predicate can access all variables and functions defined in the initializer at the beginning of the grammar.

The code inside the predicate can also access location information using the location function. It returns an object like this:

{
start: { offset: 23, line: 5, column: 6 },
end:   { offset: 23, line: 5, column: 6 }
}
The start and end properties both refer to the current parse position. The offset property contains an offset as a zero-based index and line and column properties contain a line and a column as one-based indices.

The code inside the predicate can also access the parser object using the parser variable and options passed to the parser using the options variable.

The code inside the predicate can also access the current parse position using the offset function. It returns a zero-based character index into the input string. The code can also access the current line and column using the line and column functions. Both return one-based indexes.

The code inside the predicate can also access options passed to the parser using the options variable.

Note that curly braces in the predicate code must be balanced.

@kwesibrunee Thanks for the report and sorry I got to this only now. I’ll fix the text shortly.


pre-trained model~

can you provide per-trained model in this project directly? I can't download it from google drive~
thank you so much

Hi，you can download the pre-trained model using this link: https://drive.google.com/file/d/1nT_cf610q5mxD_jACvV43w4SYBxsPUBq/view?usp=sharing

Hi, the model is a bit large to add to the repository directly. I provide an alternative link to download the pre-trained model:
link：https://pan.baidu.com/s/1iQqo5uvn2m-RQTu_eOLutg
code：v045
Enter the code then you should be able to download the model.

@YuDeng could you re-upload the checkpoint to some storage that supports English interface?

@YuDeng could you re-upload the checkpoint to some storage that supports English interface?

Hi, the google drive link for the pre-trained model has already been added to the test code. Is the link not work for you as well?

Sorry, I didn't notice that the link is included in the code.


Copy Hack Bug

copy hack doesn't work

Provide more info

basically there is no copy symbol for levels that dont have a copy mark even for password-required levels, still got to enter a password, hope it helps

Are u on the sandstone or the geode version, I am on the geode version and it works normally

.

Closing this as stale, no explanation provided.


[ROCm] rocFFT integration logic in ROCm StreamExecutor

Please focus on the content in commit https://github.com/tensorflow/tensorflow/pull/20712/commits/1a34db1da952351788da04a8a8161888647d8687
The pull request contains rocFFT integration logic for ROCm platform.
There are additional changes included in this pull request which are covered
in other pull requests for ROCm. In order to ensure each pull request is
self-contained and builds / runs on both CUDA & ROCm platform they are still
included here.

#20277 : bazel changes and continuous integration logic
#20675 : StreamExecutor interface change
#20709 : barebone ROCm StreamExecutor implementation

Authors:

Jack Chung<EMAIL_ADDRESS>Johannes M Dieterich<EMAIL_ADDRESS>

@jlebar This is the subsequent PR after #20709 to cover integration logic for FFT on ROCm StreamExecutor implementation

@chsigg volunteered to help with this.  Christian, you can see the full set of patches at https://github.com/tensorflow/tensorflow/pulls/whchung.

Nagging Reviewer @jlebar, @chsigg: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

It has been 20 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

@whchung, please rebase and resolve the merge conflict here if this PR is still alive.

@qlzh727
This PR is still active. As with the other ROCm related PRs, we are waiting for PR #20277 to get merged, since that is a per-requisite to getting this PR merged. Once that PR is merged, we expect to rebase and resolve the merge conflicts.
Thanks

It has been 28 days that this pull-request has stalled. Please create a new pull-request with the requested changes.


Animation tool : Slow motion speed slider

@kammitama is working on this

note: in step function, throw something that checks to see if time is negative and if so, set to 0 and set playback speed to zero. (6/25)

Should I close this? I opened a new issue for making the slider draggable, and one for text on the slider.

I don't think there was a need to open two new issues.  Let's close those and keep working in this one.  It's okay for a single issue to track more than one commit or pull request.

I put together this example with everything we talked about last time.  It might be helpful to you to look over and understand.
https://code.world/haskell#PB9L3b5zEcIW2XNefV8mchA

It makes sense, but I'm having a bit of an issue trying to see how to relate it to the existing codebase (or should I be thinking of it as an extension of the existing codebase ie making new functions for the slider?). My thought was that the label for the slider was something that could be added given existing code in the drawControl function that needs to be added to the SpeedSlider drawControl function but that something in TimeLabel could help me to draw the label for SpeedSlider.

The functions you created in your example above (particularly in the final picture function seem to correspond to the TimeLabel line (scaled 0.5 0.5 $ text (pack (showFFloatAlt (Just 4) (state w) "s"))) <> (line 2347). Where state is w and lettering in your example is scaled text (I do have the dimensions written down for what was spoken about during the meeting). Is this along the line of thought I should be using? Thanks.

Yes, I believe the change function in my code corresponds to a function called handleControl, and the picture function corresponds to drawControl.  But that's from memory.  If it doesn't make sense, I'll look again tonight

Thanks. I'm also trying to use a bit of what I have with the example you gave me, and I keep running into an error asking for RealFloat a instance rather than ShowFFloatAlt. Is there also a difference between text and lettering? I played around with your example a bit (which is clear and makes sense), which has helped me understand a lot better what I need to do, but I also have a bit of uncertainty (okay, a lot) about how to put it all together. That's what I'm struggling with.

There is no difference between text and lettering.  You can verify at https://github.com/google/codeworld/blob/master/codeworld-api/src/CodeWorld/Picture.hs#L277 that their definitions are exactly the same.  I am in the process of changing the function from text to lettering, because the name text was confusing to a lot of students.
I'll try to answer other questions in the pull request.

@kammitama5 finished this one some time ago.  Closing the issue to reflect that.


Fix sending of the template with links to Technical Documentation after Create Request is provisioned

Fix sending of the template with links to Technical Documentation after Create Request is provisioned

Now after the approval and provisioning the user receives the email we expect with the documentation links.


extract_features

Traceback (most recent call last):
File "extract_features.py", line 297, in
main()
File "extract_features.py", line 230, in main
tokenizer = BertTokenizer.from_pretrained(args.bert_model, do_lower_case=args.do_lower_case)
File "/home/py36/lib/python3.6/site-packages/pytorch_pretrained_bert/tokenization.py", line 197, in from_pretrained
tokenizer = cls(resolved_vocab_file, *inputs, **kwargs)
File "/home/py36/lib/python3.6/site-packages/pytorch_pretrained_bert/tokenization.py", line 97, in init
self.vocab = load_vocab(vocab_file)
File "/home/py36/lib/python3.6/site-packages/pytorch_pretrained_bert/tokenization.py", line 56, in load_vocab
token = reader.readline()
File "/home/py36/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
Hello, the pre-trained model I downloaded from https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased.tar.gz, what caused the above error?

Were you able to fix this issue? If yes, can you please share your solution?


Cut release-0.7

Cut release 0.7 of kube-prometheus.
Once merged, @s-urbaniak will finalize the release.

cc @prometheus-operator/kube-prometheus-reviewers

@lilic I already updated the CI to test against both 1.19 and 1.20, did you had anything else in mind?

No, just did not show up for me before, all good, thanks! 👍 🎉

The E2E tests seems to be failing because prometheus-operator v0.44.1 has not been fully released yet.


Deploy

Reviewers
@jicarretero
Description
Deployment mechanism using ansible of the FIWARE Lab user creation service.
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

Testing
Locally executed the ansible playbook to install and configure the service in a virtual machine deployed in the FIWARE Lab

Coverage remained the same at 61.538% when pulling 791240c6d64fc9cb7e75ab9f889f6f5c8ef1cff6 on deploy into 765b126175953b76fd7218a4a3f550a0b327a632 on develop.

LGTM


Data path checking logical problem of  XGBoost-PySpark agaricus examples

Describe the bug
https://github.com/NVIDIA/spark-rapids-examples/blob/branch-22.12/examples/XGBoost-Examples/agaricus/python/com/nvidia/spark/examples/agaricus/main.py#L61
if train_data is not None: --> if train_data is None:

https://github.com/NVIDIA/spark-rapids-examples/blob/branch-22.12/examples/XGBoost-Examples/agaricus/python/com/nvidia/spark/examples/agaricus/main.py#L61
if trans_data is not None: --> if trans_data is None:

Thx @NvTimLiu, do you know where can I  get the agaricus dataset?

Thx @NvTimLiu, do you know where can I get the agaricus dataset?

there is a sample dataset https://github.com/NVIDIA/spark-rapids-examples/tree/main/datasets

We also have XGBoost datasets on SwiftStack s3 bucket, which I already shared with Bobby offline.

since #256 merged, closed this issue


A little question of decorator

When @doc decorator is front of the @cross_origin (Sanic-Cors), @doc will not effect. :flushed:
If like this @doc will not effect.

When i change like this it work.

the problem is the code is building up a dict (route_specs) using function as the key, adding a decorator before these decorators changes the function (as it's wrapped) so when its building out the final structure it's only finding the pre wrapped ones.
this and others we could fix post #58 hint hint @ahopkins :)


ServerTrustPolicy pinPublicKeys type check takes 500+ ms

In this code:
if certificateChainEvaluationPassed {
    outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeys(for: serverTrust) as [AnyObject] {
        for pinnedPublicKey in pinnedPublicKeys as [AnyObject] {
            if serverPublicKey.isEqual(pinnedPublicKey) {
                serverTrustIsValid = true
                break outerLoop
            }
        }
    }
}

this particular line consistently takes over 500ms just for type-checking in Swift:
if serverPublicKey.isEqual(pinnedPublicKey) {

Casting to AnyObject is done purely in order to use isEqual call. Not sure are there more type-safe way to check for this equality? Those objects are SecKey, which is an empty class and has no isEqual implementation. Not sure is simple equality check between two SecKey instances enough to work properly:
if serverPublicKey == pinnedPublicKey {

If changed to this:
if certificateChainEvaluationPassed {
	outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeys(for: serverTrust) {
		for pinnedPublicKey in pinnedPublicKeys {
			if serverPublicKey == pinnedPublicKey {
				serverTrustIsValid = true
				break outerLoop
			}
		}
	}
}

all tests in ServerTrustPolicyPinPublicKeysTestCase are passing.


Add product to the Package.swift

When I use the latest version of AEXML with Swift 4.2 I get the following error:
'xcodeproj' /Users/pedropinera/src/github.com/tuist/xcodeproj: error: product dependency 'AEXML' not found
warning: dependency 'AEXML' is not used by any target

It seems that the SPM can't find it because it's not defined as a product in the package manifest.

Thanks @pepibumur, this is merged in the latest release!


iOS cocoapods install error and compile error due to unknown type

on flutter 3.0.5, i encountered two issues while building for iOS. when running pod install i received the following error:
    -> Fetching podspec for `certificate_pinning_httpclient` from `.symlinks/plugins/certificate_pinning_httpclient/ios`
    [!] The `certificate_pinning_httpclient` pod failed to validate due to 2 errors:
        - ERROR | attributes: Missing required attribute `homepage`.
        - ERROR | attributes: Missing required attribute `source`.

and after fixing that error, i hit another error when trying to build:
    ../../../.pub-cache/hosted/pub.dartlang.org/certificate_pinning_httpclient-0.0.1/lib/certificate_pinning_httpclient.dart:18:33: Error: Type 'Uint8List' not found.
      static final Map<String, List<Uint8List>?> _hostCertificates =
                                    ^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/certificate_pinning_httpclient-0.0.1/lib/certificate_pinning_httpclient.dart:27:22: Error: Type 'Uint8List' not found.
      static Future<List<Uint8List>?> _getHostCertificates(Uri url) async {
                         ^^^^^^^^^
    ../../../.pub-cache/hosted/pub.dartlang.org/certificate_pinning_httpclient-0.0.1/lib/certificate_pinning_httpclient.dart:57:22: Error: Type 'Uint8List' not found.
      static Future<List<Uint8List>> _hostPinCertificates(
                         ^^^^^^^^^

output from flutter doctor -v
[✓] Flutter (Channel unknown, 3.0.5, on macOS 12.6 21G115 darwin-x64, locale en-US)
    • Flutter version 3.0.5 at /Users/michael/fvm/versions/3.0.5
    • Upstream repository unknown
    • Framework revision f1875d570e (5 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/michael/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode1400.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (4 available)
    • iPhone 13 (mobile) • B5D33A2C-9768-466D-B184-E6810CF62B81 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 108.0.5359.98

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

https://github.com/sebkoller/certificate_pinning_httpclient/pull/1 pull request submitted to fix these two issues

i'm glad to help @sebkoller and an even bigger thank you for putting this package together


CustomEvent not in event types

Description:
I'm getting a type error when listening for CustomEvent events broadcast via BroadcastCustomEvent
obs.on("CustomEvent", (data) => {
  console.log("CustomEvent:", data)
})

I saw in the discussion in #300 that this should be either fixed upstream in https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.json or in the build script https://github.com/obs-websocket-community-projects/obs-websocket-js/blob/master/scripts/build-types.ts
Versions Used (if applicable):

obs-websocket-js version: 5.0.2

Upstream issue https://github.com/obsproject/obs-websocket/issues/1031


Add debug mode hook

Adds the debug hook we need for the developer tools. This is related to:
https://github.com/vigetlabs/microcosm-devtools/pull/25

so still would require some configuration {debug: true}, but that's a pretty low barrier 👍

@efatsi Yeah, I figured you would do { debug: process.env.NODE_ENV !== 'production' } once and forget about it.
Basically, I don't want to rely on the NODE_ENV environment variable, and I don't want this to automatically run in production. What do you think?

Codecov Report

Merging #365 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #365   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          25     26    +1
  Lines         859    865    +6
=====================================
+ Hits          859    865    +6

Impacted Files
Coverage Δ

src/microcosm.js
100% <100%> (ø)
:arrow_up:

src/install-devtools.js
100% <100%> (ø)

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 b5d14ba...c7d08c4. Read the comment docs.

Awesome! This will be super handy. I like the idea of it being in debug mode by default and having to set the env variable to production once it's ready to go.


Ability to provide a global "use strict;"

Current: So far we can provide "use strict;" for each JS module.
Expected: Config field or something which will add "use strict;" globally for the output JS file.
Workarounds: https://www.npmjs.com/package/strict-loader (loader adds "use strict;" for each loaded module)

Do you use babel-loader? It converts your ES6 javascript to ES5 and inserts the 'use strict' for you :).

Yep, after moving all JS files to babel it works this way.


Improve documentation on changing the version of Drupal core

I just tried this addon today, hoping to run phpunit tests on a contrib module using drupal 11.
The README states:
To customize the version of Drupal core, create a config.local.yaml (or [any filename lexicographically after config.contrib.yaml](https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#extending-configyaml-with-custom-configyaml-files)) with contents similar to

But the generated config.contrib.yaml has a comment:
web_environment:
  # If desired, override to a different version of Drupal core in via the project's DDEV config
  - DRUPAL_CORE=^10

This seems to imply that I should edit the config.yaml for the project instead of config.local.yaml, so I was confused as to which file I should modify.
So I tried both-- I created a .ddev/config.local.yaml with the following content:
web_environment:
  - DRUPAL_CORE=^11

Then I ran ddev restart; ddev phpunit.  It's still running phpunit 9, so Drupal 11 didn't get installed.
So I tried specifying DRUPAL_CORE=^11 in config.yaml and ddev restart, but I'm getting the same problem.
I tried searching the issue queue but I only found an MR (https://github.com/ddev/ddev-drupal-contrib/pull/46/files), and the README has since been overwritten.
I'd appreciate any insight you can provide into how to enable tests on Drupal 11.

stasadev helped on Discord.
After changing the files, I needed to run ddev poser again.  However, that failed because I had PHP 8.2 and Drupal 11 requires PHP 8.3, so then I had to edit the PHP version in config.yaml, run ddev restart to pick up the new version of PHP, and then run ddev poser to get Drupal 11.
I think that which file to change and which commands to run after changing it should be part of the documentation.

Could you do a docs PR? Thanks!

Done here: https://github.com/ddev/ddev-drupal-contrib/pull/76


https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map

Request type

[ ] New documentation
[x] Correction or update

Details

The documentation for Array.map() correctly mentions that this has been supported since very early browser versions, but the examples use code that won't work in those early browser versions. For example, the below example uses => which came much later and doesn't enjoy universal support:
// pass a function to map
const map1 = array1.map(x => x * 2);

It's reasonable to assume that many people searching for documentation on how something works will model their own code on the examples, so the example code should match the compatibility of the item described. Examples which don't achieve the same level of compatibility should be clearly marked.
This is probably a systemic issue with the documentation.

We do cover browser support information back to early versions, but also get a lot of pressure to use more modern JavaScript features in our examples, as we are supposed to be a modern documentation site. We held off updating our examples to use ES6 features until very recently.
It is only IE that doesn't support these features. Most professional web developers that use MDN know about this problem, and we do have information in our beginner's learning articles about using a modern browser when you are learning, but also pointing out why such features might cause compat problems if you are working on a project that needs IE support.
It's a difficult path to tread.


Incorrectly displays leftover letters

Currently concatenating multipple instances of a letter into a string i.e. 'ee' instead of 'e', 'e'.

I wish you'd been specific about what input yielded that.

Fixed.  Displays them in  s p a c e  s e p a r a t e d format.


Redis streams support?

Starting from version 5.0, Redis provides a new Stream data type with a bunch of new commands: https://redis.io/topics/streams-intro
Do you have any plans for supporting it?
I've been playing with the code a bit, and it looks like it's not super hard to add new commands. I could probably try to implement streams support. Will you be interested?
Thanks.

#228 Implements, but review were stopped prior to completion of PR.


COR-177: add logic to prevent dropdown list getting hidden on click

The party selector list now no longer gets hidden when clicking on the focused input.
Please excuse the google autofill dropdown that gets rendered by Chrome over the dropdown in the demo:

This took way longer than it should have 😅
I approved it, but you may way to double-check it @shinroo


Android app can be accessed on locked device without entering PIN (App Pinning is disabled)

I'm running into a strange issue on Android with our Flutter app:

Run the app in the foreground
Lock the device
Press the side key on the device

The expected behavior here is that the PIN screen is shown requiring the user to unlock the device to see the app. However, no PIN screen is shown, and the app simply appears in the foreground and can be used. If the user then goes to the home screen or tries to open another app, then the PIN screen is shown.
App Pinning is disabled on the device under Security settings, but our app can still be interacted with on a locked device without entering the PIN.
Is there a particular Flutter setting that would affect this behavior?
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.4 19E287, locale en-US)
    • Flutter version 1.22.2 at /Users/k/Projects/flutter
    • Framework revision 84f3d28555 (4 weeks ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/k/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = /Users/k/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/k/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] IntelliJ IDEA Ultimate Edition (version 2019.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • Pixel 2 (mobile)                    • HT82C1A00003                         • android-arm64 • Android 11
      (API 30)
    • iPhone 8 (mobile)                   • B0B31B90-A710-4343-AC39-361BB3592952 • ios           •
      com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
    • iPhone SE (2nd generation) (mobile) • 0E28F288-F94F-45DE-9E42-0195A760DC0D • ios           •
      com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

! Doctor found issues in 3 categories.

@kbokarius
Can you provide a minimal reproducible use case that we can run locally to see the issue ?

This is not a Flutter issue. Closing.

@kbokarius I encountered the same issue on my app as well. Could you please elaborate on what is the cause for this behavior? Thank you.

@kbokarius I encountered the same issue on my app as well. Could you please elaborate on what is the cause for this behavior? Thank you.

@minfenglu add android:showWhenLocked="false" to your MainActivity in AndroidManifest.xml

@minfenglu add android:showWhenLocked="false" to your MainActivity in AndroidManifest.xml

@kbokarius Thank you! It solved my issue.

@kbokarius Thank you! It solved my issue.

@kbokarius thank you..it solved