Remove in-house long time interval checking.

🚀 Pull Request
Description

Closes #274. Removes cf-units' own checking for long time intervals that might prevent certain operations.
This was introduced in #72, but cftime (previously netcdftime) continues to improve handling of long time intervals, and has a more informative error when they can't be handled. This makes our own checking superfluous and also overzealous.
I have removed all tests concerning long time interval errors, since it would be inappropriate for our tests to depend on the behaviour of cftime.
If this change is accepted: a sister PR on Iris will also be needed, since Iris includes some defensive coding to avoid failure when printing an invalid time Unit - iris.coords#L346. To allow for cftime's continuing improvements - including tolerance for previously invalid time spacings - it would be safest to use try-except during the printing rather than a more specific check.
Demonstration
my_unit = Unit("months since 2010-01-01", calendar="standard")
print(my_unit.num2date(3))

Traceback (most recent call last):
  File "/tmp/persistent/repos/cf-units/tmp_long.py", line 4, in <module>
    print(my_unit.num2date(3))
  File "/tmp/persistent/repos/cf-units/cf_units/__init__.py", line 2043, in num2date
    return _num2date_to_nearest_second(
  File "/tmp/persistent/repos/cf-units/cf_units/__init__.py", line 564, in _num2date_to_nearest_second
    dates = cftime.num2date(time_values, **num2date_kwargs)
  File "src/cftime/_cftime.pyx", line 499, in cftime._cftime.num2date
  File "src/cftime/_cftime.pyx", line 99, in cftime._cftime._dateparse
ValueError: 'months since' units only allowed for '360_day' calendar

my_unit = Unit("months since 2010-01-01", calendar="360_day")
print(my_unit.num2date(3))

2010-04-01 00:00:00

@trexfeathers ping (if you get time) 😉

Thanks for getting this over the line @bjlittle!


Now using stored variables

Issue #, if available:
Description of changes:
Previously the lab was challenging for many novices to complete due to the copy and pasting of values from one notebook to another. The getting started set has been refactored to leverage stored variables to make this process completely painless. This is proven to work for any valid IPython environment.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yifeim are you good with this?


Infoga is not installing due to Repo Delete by the Owner

The creator of Infoga m4ll0k (mallok) is delete his repos. so tools is not working and reconftw is showing errors.

This issue has been already fixed in dev branch https://github.com/six2dez/reconftw/issues/768


High level transformation: maySetDependencyVersion

Input: GAV
Something like:

look for project/dependencies/GA, if found

if has version child, that is not property -> perform, done=true

if has version child, that is property -> GOTO property

if no version child -> GOTO maySetManagedDependencyVersion

:maySetManagedDependencyVersion, look for project/managedDependencies/dependencies/GA, if found

if has version child that is not property -> perform, done=true

if has version child that is property -> GOTO property

else ? -- is probably inherited

:property, look POM project/properties

property with name exists -> update, done=true

property with name does not exists -> done=false -- is probably inherited

And very similar for plugins, as goals versions and plugin-versions works very similar (in toolbox).
Toolbox may also attempt to "cascade" from POM to POM in a reactor, but given best practice is really to concentrate plugin/dependency versions in parent pom, if not found, it most probably means is inherited (by external parent POM).

Thanks, @cstamas, sounds interesting. Would this transformation be applied on a single pom.xml file or on the whole source tree?

I see there is source tree abstraction in pom tuner, and am still learning this codebase, so right now: I don't know :)
Will come back later, once I figured more out of pom-tuner :smile:

Having this as an operation on a source tree sounds valuable to me.
Possible limitation: IIRC, pom-tuner is able to resolve and locate maven properties only within the current source tree.
Thanks for inviting me to the maveniverse org. I am afraid, I do not feel like I can take more responsibilities at this time and I am sorry to say I won't accept the invitation for now. You do a great job!


Add note regarding support only for sprited thumbnails

I learned the hard way that this module does not work with thumbnail-per-segment VTTs; it's better to do sprites anyway but the thumbnails will load but not appear (no dimensions are set for the applicable DOM node) unless the VTT file contains the xywh info.

Wow surely this should be merged ASAP? @chrisboustead we docked hours too until we realised this is not to spec

Yikes- not sure how this sat so long, will review and merge.

No worries, any pointers to where can we change that behavior? I would happily open a PR to work with both modes (for us sprites could reach several MB due to the media length)

for us sprites could reach several MB due to the media length

I believe the jwplayer spec allows you spread them out over multiple sprites.

Thanks @bradjones1 with the non-sprite approach, does the player download all URLs or on demand?

@jamesgraham I'm saying it looks like you spread out your sprites among multiple sprite files:
WEBVTT 00:00.000 --> 00:05.000
/assets/thumbnails.jpg#xywh=0,0,160,90

00:05.000 --> 00:10.000
/assets/preview2.jpg#xywh=160,0,320,90

00:10.000 --> 00:15.000
/assets/preview3.jpg#xywh=0,90,160,180

00:15.000 --> 00:20.000
/assets/preview4.jpg#xywh=160,90,320,180```


Avoid using raw "valueOf" when converting enums

When using MyEnum.valueof(someValue), the conversion is case sensitive and does not provide any graceful fallback in case value is not found. This caused us issues here:
https://github.com/lime-company/powerauth-webflow/blob/92ce1ed9dff2ab044cb3b956b4d15884155576ce/powerauth-webflow-authentication-mtoken/src/main/java/io/getlime/security/powerauth/lib/webflow/authentication/mtoken/controller/MobileAppApiController.java#L211
Our customer was sending unknown as a reason and therefore, the conversion was failing. We should implement own converter to convert String values to enums.

Ok, so the conversion will not be case sensitive and when the value is not recognized, it will default to UNKNOWN, right?

Yes


Slack outgoing webhook not working

hey,
I did just setup matterbridge with docker but the outgoing webhook doesn't want to work.
I also can't reach the address in the browser although it shows
2017/02/06 22:48:45 Listening on http://<IP_ADDRESS>:9999...

Just tried it with useAPI and this worked.
Leaving this issue open as this seems to be an issue with dockerfile and the port.

This is a docker issue, you'll have to add -p 9999:9999 to relay the external port to your internal docker.
But use API where possible, webhooks are a pain.


Does this work for cloud databases?

I'm far from a database wiz. So I'm wondering whether this approach works to get around e.g. Google Cloud SQL's lack of support for the pgvector extension?

Hi @sinclairnick, this library requires pgvector to be installed on the database server, so it won't work with Google Cloud SQL yet. https://github.com/pgvector/pgvector#hosted-postgres


NullReferenceException in App.Metrics Web Api 452 Sample when reporting to InfluxDB

Closing this, not worth investing effort into the owin extension for now


Update etcd, urllib3, pyopenssl versions in travis builds

Specifically, use the latest pyopenssl, a fairly recent urllib3, and the
most recent version of etcd 2.x
This should show that #210 is now solved.

Coverage decreased (-0.1%) to 88.071% when pulling eac3282115c273c50d3db12f7bd2572a2b5214e3 on update_deps into<PHONE_NUMBER>72a1297aa10fcf609b5df3afe25536 on master.

Coverage decreased (-0.4%) to 87.817% when pulling eac3282115c273c50d3db12f7bd2572a2b5214e3 on update_deps into<PHONE_NUMBER>72a1297aa10fcf609b5df3afe25536 on master.


Fix some warnings

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

Project coverage is 100.00%. Comparing base (f9f27c8) to head (492af12).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #513   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           80        80
  Lines         2213      2213
  Branches       208       215    +7
=========================================
  Hits          2213      2213

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


Error while taking the Screenshot

 in main()
5         result = await crawler.arun(url="https://www.nbcnews.com/business", screenshot=True)
6         with open("screenshot.png", "wb") as f:
----> 7             f.write(base64.b64decode(result.screenshot))
8         print("Screenshot saved to 'screenshot.png'!")
/usr/lib/python3.10/base64.py in b64decode(s, altchars, validate)
78     in the input result in a binascii.Error.
79     """
---> 80     s = _bytes_from_decode_data(s)
81     if altchars is not None:
82         altchars = _bytes_from_decode_data(altchars)
/usr/lib/python3.10/base64.py in _bytes_from_decode_data(s)
43         return memoryview(s).tobytes()
44     except TypeError:
---> 45         raise TypeError("argument should be a bytes-like object or ASCII "
46                         "string, not %r" % s.class.name) from None
47
TypeError: argument should be a bytes-like object or ASCII string, not 'NoneType'

Hi @nandhu-nr  This bug has been resolved. By tomorrow or the following day, when version 0.3.6 is released, you can use it without any issues. I have also updated the example folder, where you can find some examples. Additionally, I have shared the code with you. If you are running short on time, you can pull the branch "0.3.6" and use it immediately. Otherwise, please wait a day or two, and you will have access to the latest version.

async def capture_and_save_screenshot(url: str, output_path: str):
    async with AsyncWebCrawler(verbose=True) as crawler:
        result = await crawler.arun(
            url=url,
            screenshot=True,
            bypass_cache=True
        )

        if result.success and result.screenshot:
            import base64

            # Decode the base64 screenshot data
            screenshot_data = base64.b64decode(result.screenshot)

            # Save the screenshot as a JPEG file
            with open(output_path, 'wb') as f:
                f.write(screenshot_data)

            print(f"Screenshot saved successfully to {output_path}")
        else:
            print("Failed to capture screenshot")

I close the issue, but you are welcome to continue if you need any help/


Support dumping out config file from UI and command line

Add an mb save action to the command line, and a button in the UI, that dumps a
configfile.

mb save saves the result of GET /imposters?replayable=true to mb.json in the current directory
mb save config.json saves the result of GET /imposters?replayable=true to config.json
mb save --removeProxies saves the result of GET /imposters?replayable=true&removeProxies=true to mb.json

Hey, I'd like to work on this. Can you guide me how to get started?

Hi there,
The changes will take place in here: https://github.com/bbyars/mountebank/blob/master/bin/mb
There's a switch at the bottom that you'll add a case statement to for the save, and you'll need to add the --removeProxies flag to the booleanOptions variable.  The putConfig function already shows an example of making an HTTP call.

closed as of 918d14c. Will revisit UI if it's requested.


Parse Youtube links

For good user experience, it'd be best if the user can simply add a link for the post instead of manually filling out the title, description, timestamp, etc. It's possible by using regex to parse the link for the video id and fetching from youtube data api.
Help on the regex

Note: best to do this in the backend

also parse github links in backend

#24


Optimize sketch canvas clearing and blending.

Fix #926
Performance is much better :+1:
On my use case:
Before the fix, drawImage and clearRect are taking 35%+ CPU time each.
After the fix, drawImage is below 20% and clearRect below 10%.
Of course, the bigger the canvas, the bigger the performance improvement.

Once you have the pixel density thing in, give me a little test snippet for basic.html and I'll try it on my screen. Otherwise the code looks good!

I added the pixelDensityRatio thing.
To test, you can reuse the item-animation.html example and set:
                itemCount: 300,
                positionRange: 500,
                sizeRange: 30,
                delay: 10,

You also need to force the use of the sketch canvas, for example by setting the opacity:
                    var tileSource = {
                        tileSource: {
                            Image: {
                                xmlns: "http://schemas.microsoft.com/deepzoom/2008",
                                Url: "http://openseadragon.github.io/example-images/highsmith/highsmith_files/",
                                Format: "jpg",
                                Overlap: "2",
                                TileSize: "256",
                                Size: {
                                    Height: "9221",
                                    Width:  "7026"
                                }
                            }
                        },
                        opacity: 0.5
                    };

Could you also try with degrees: 45 on the viewer? Thanks!

Thank you for the thorough test instructions! I've tested it in HDPI on Mac Chrome and Firefox and it's looking great.
BTW, adding this.viewer.viewport.setRotation(this.viewer.viewport.getRotation() + 0.1); into the animate function is amusing :)

BTW, adding this.viewer.viewport.setRotation(this.viewer.viewport.getRotation() + 0.1); into the animate function is amusing :)

I will have to try :)
Thanks for merging!


forge: only hide fuzz tests from snapshots (still show in tests)

Motivation
After some discussion with @mds1 we agreed that it would still be useful and cause no harm to always include fuzz test gas estimates in the standard test output.
Solution
Refactored the work done in https://github.com/gakonst/foundry/pull/1086 to be limited only to snapshot exports
Notes
May effect work done in https://github.com/gakonst/foundry/pull/1130 and work planning to be done in https://github.com/gakonst/foundry/issues/1088

I recommend looking at the diff via the two commits (https://github.com/gakonst/foundry/pull/1134/commits/3835e52a07851436f2361d4d9aa089136a665d77, https://github.com/gakonst/foundry/pull/1134/commits/482082f2f86fdea4f75c466c519e34e5c9031911) as a lot of the changes are just reverting the past PR 😅


MappableRecord.toMap includes metadata for nullable fields

When attempting to use toMap I noticed that my API endpoints are failing. This is because the endpoints reject the additional _type that is injected into the map as the result of defining a record with nullable fields.

Can you give me a reproducible example for this?


chore: release master

:robot: I have created a release beep boop
core: 0.0.26
0.0.26 (2024-01-10)
⚠ BREAKING CHANGES

add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
change all instances of PubSubTopic to PubsubTopic (#1703)

Features

Add support for autosharded pubsub topics (2bc3735)
Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)
Metadata protocol (#1732) (9ac2a3f)
Track node connection state (#1719) (1d0e2ac)

Miscellaneous Chores

Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/enr bumped from ^0.0.19 to ^0.0.20
@waku/interfaces bumped from 0.0.20 to 0.0.21
@waku/proto bumped from 0.0.5 to 0.0.6
@waku/utils bumped from 0.0.13 to 0.0.14

@waku/dns-discovery: 0.0.20
Dependencies

The following workspace dependencies were updated

dependencies

@waku/enr bumped from 0.0.19 to 0.0.20
@waku/utils bumped from 0.0.13 to 0.0.14

devDependencies

@waku/interfaces bumped from 0.0.20 to 0.0.21

@waku/enr: 0.0.20
Dependencies

The following workspace dependencies were updated

dependencies

@waku/utils bumped from 0.0.13 to 0.0.14

devDependencies

@waku/interfaces bumped from 0.0.20 to 0.0.21

interfaces: 0.0.21
0.0.21 (2024-01-10)
⚠ BREAKING CHANGES

add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
change all instances of PubSubTopic to PubsubTopic (#1703)

Features

Add support for autosharded pubsub topics (2bc3735)
Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)
Metadata protocol (#1732) (9ac2a3f)
Track node connection state (#1719) (1d0e2ac)

Miscellaneous Chores

Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

message-encryption: 0.0.24
0.0.24 (2024-01-10)
⚠ BREAKING CHANGES

add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
export crypto primitives (#1728)
change all instances of PubSubTopic to PubsubTopic (#1703)

Features

Add support for autosharded pubsub topics (2bc3735)
Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)
Export crypto primitives (#1728) (7eb3375)
New verifySignature (2f67a3b)

Miscellaneous Chores

Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/core bumped from 0.0.25 to 0.0.26
@waku/interfaces bumped from 0.0.20 to 0.0.21
@waku/proto bumped from 0.0.5 to 0.0.6
@waku/utils bumped from 0.0.13 to 0.0.14

@waku/message-hash: 0.1.10
Dependencies

The following workspace dependencies were updated

dependencies

@waku/utils bumped from 0.0.13 to 0.0.14

devDependencies

@waku/interfaces bumped from 0.0.20 to 0.0.21

@waku/peer-exchange: 0.0.19
Dependencies

The following workspace dependencies were updated

dependencies

@waku/core bumped from 0.0.25 to 0.0.26
@waku/enr bumped from 0.0.19 to 0.0.20
@waku/interfaces bumped from 0.0.20 to 0.0.21
@waku/proto bumped from 0.0.5 to 0.0.6
@waku/utils bumped from 0.0.13 to 0.0.14

proto: 0.0.6
0.0.6 (2024-01-10)
Features

Metadata protocol (#1732) (9ac2a3f)

relay: 0.0.9
0.0.9 (2024-01-10)
⚠ BREAKING CHANGES

add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
change all instances of PubSubTopic to PubsubTopic (#1703)

Features

Add support for autosharded pubsub topics (2bc3735)
Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)

Miscellaneous Chores

Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/core bumped from 0.0.25 to 0.0.26
@waku/interfaces bumped from 0.0.20 to 0.0.21
@waku/proto bumped from 0.0.5 to 0.0.6
@waku/utils bumped from 0.0.13 to 0.0.14

sdk: 0.0.22
0.0.22 (2024-01-10)
⚠ BREAKING CHANGES

add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
change all instances of PubSubTopic to PubsubTopic (#1703)

Features

Add support for autosharded pubsub topics (2bc3735)
Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)
Metadata protocol (#1732) (9ac2a3f)

Miscellaneous Chores

Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/utils bumped from 0.0.13 to 0.0.14
@waku/relay bumped from 0.0.8 to 0.0.9
@waku/core bumped from 0.0.25 to 0.0.26
@waku/dns-discovery bumped from 0.0.19 to 0.0.20
@waku/interfaces bumped from 0.0.20 to 0.0.21
@waku/peer-exchange bumped from ^0.0.18 to ^0.0.19

utils: 0.0.14
0.0.14 (2024-01-10)
⚠ BREAKING CHANGES

add support for sharded pubsub topics & remove support for named pubsub topics (#1697)
change all instances of PubSubTopic to PubsubTopic (#1703)

Features

Add function for determining shard index from content topic (86da696)
Add function to validate autoshard content topic (1bc1eb5)
Add support for autosharded pubsub topics (2bc3735)
Add support for sharded pubsub topics & remove support for named pubsub topics (#1697) (4cf2ffe)

Miscellaneous Chores

Change all instances of PubSubTopic to PubsubTopic (#1703) (3166a51)

Dependencies

The following workspace dependencies were updated

dependencies

@waku/interfaces bumped from 0.0.20 to 0.0.21

This PR was generated with Release Please. See documentation.

@weboko not urgent, would you be open to replace my token with yours so I can reduce my notifs? You should have the right permissions now too.

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/utils-v0.0.14 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/proto-v0.0.6 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/interfaces-v0.0.21 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/message-hash-v0.1.10 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/enr-v0.0.20 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/peer-exchange-v0.0.19 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/core-v0.0.26 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/dns-discovery-v0.0.20 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/message-encryption-v0.0.24 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/sdk-v0.0.22 :sunflower:

:robot: Release is at https://github.com/waku-org/js-waku/releases/tag/relay-v0.0.9 :sunflower:


Selecting Indian Currency from picker showing 0 in symbol?

I've just noticed this issue also, simple work around
(pseudo-code)...
if (code.equals("INR")) symbol = [rupee symbol]

Already do that. Just pointing it out.


New merchant to list on MONERO MERCHANTS AND SERVICES DIRECTORY

https://www.vesp.co/Fungible
I'd like to be listed under goods on this page: https://getmonero.org/getting-started/merchants
I sell mushroom cultures, mushroom growing supplies and related items such as seeds.

This issue should be closed.

@CameronRuggles can we close this issue? The store is up there. Thanks.


Update nightly version to 2018-06-20

This is needed for #1742

@Eijebong Any blockers on this?

Yeah I need to find time to get #1742 in there


Improve tests on Basic JS array challenges

Pre-Submission Checklist

[X] Your pull request targets the staging branch of FreeCodeCamp.
[X] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[X] You have only one commit (if not, squash them into one commit).
[X] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[X] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[X] Tested changes locally.
[X] Closes currently open issue (replace XXXX with an issue no): Closes #9806

Description

Per the issue #9806 I removed the .toLowerCase() from the unshift() challenge and made all array challenges use strict equality with doing number comparisons to prevent strings from passing as numbers. I tested these 4 challenges locally and the tests appear to be valid.

Travis is taking his sweet time, but I tested locally and each challenge runs as expected.
LGTM 👍

Even Travis deserves a coffee break @BKinahan

LGTM :+1:
Thank you for contributing to Free Code Camp :tada:


dummy_channel() using sockets fails when OpenTelemetry instrumentation is active

What versions of the following are you using?

python: 3.10
grpc-interceptor: 0.13.2
grpcio: 1.51.0
protobuf: 3.20.3

What operating system (Linux, Windows,...) and version?
Mac, Linux
What did you do?
Using the dummy_client() while global OpenTelemetry instrumentation was active.
What did you expect to see?
Tests succeed.
What did you see instead?
Tests failed.
Anything else we should know about your project / environment?
Adding global OpenTelemetry instrumentation as documented here:
from opentelemetry.instrumentation.grpc import GrpcInstrumentorClient, GrpcInstrumentorServer

GrpcInstrumentorServer().instrument()  # type: ignore[no-untyped-call]
GrpcInstrumentorClient().instrument()  # type: ignore[no-untyped-call]

causes this error:
  File "/.../tests/test_interceptors.py", line 34, in test_returns_method_result
    assert client.Execute(DummyRequest(input="foo")).output == "foo"
  File "/.../.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/grpcext/_interceptor.py", line 69, in __call__
    return self._interceptor.intercept_unary(
  File "/.../.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_client.py", line 154, in intercept_unary
    return self._intercept(request, metadata, client_info, invoker)
  File "/.../.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_client.py", line 145, in _intercept
    raise exc
  File "/.../.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_client.py", line 131, in _intercept
    result = invoker(request, metadata)
  File "/.../.venv/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/grpcext/_interceptor.py", line 59, in invoker
    return self._base_callable(
  File "/.../.venv/lib/python3.10/site-packages/grpc/_channel.py", line 946, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/.../.venv/lib/python3.10/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "Exception calling application: not enough values to unpack (expected 2, got 1)"
	debug_error_string = "UNKNOWN:Error received from peer unix:/var/folders/2r/yyz1661s4j91vhdkzktg66z80000gn/T/a8ac6951-2094-4bed-8dfc-678465677448.sock {created_time:"2023-03-26T13:05:06.353245+10:00", grpc_status:2, grpc_message:"Exception calling application: not enough values to unpack (expected 2, got 1)"}"
>

I suspect that’s because the dummy_client on non Windows hosts opens a UNIX socket rather than a port:
https://github.com/d5h-foss/grpc-interceptor/blob/1c2ec428cb7c7796f68e23cb254129b068aeb839/src/grpc_interceptor/testing/dummy_client.py#L227-L232
The related OpenTelemetry code (src) stumbles because
context.peer()

returns unix: and therefore
context.peer().split(",")[0].split(":", 1)[1].rsplit(":", 1)

returns [''] which can’t unpack to ip and port. If I change to using ports on Mac/Linux, the tests work.
It looks to me like OpenTelemetry doesn’t support channels over sockets, which is probably a feature request for them. However, until then is there any chance you’d welcome a PR that adds a use_sockets kwarg to dummy_channel() to explicitly enable UNIX sockets and otherwise fall back to ports?

Hi @jenstroeger,
Good find and thanks for the details! I agree that OpenTelemetry should probably handle this gracefully, but I'm open to changing the code to use an IPv4 socket instead. That's a better test of how people actually use grpc anyway.
Honestly the only reason it's using a unix domain socket now is that it's an easy way to avoid port conflicts. I still think this is a valid point though. E.g., someone may be running a service on port 50051 at the same time they try to run their tests, or maybe they want to parallelize their tests. (I didn't worry about this for Windows because I've never met anyone who actually runs grpc on Windows, so figured it wasn't worth worrying about.)
So instead of adding a kwarg to tell it to use either a UDS or IPv4 address, I'd rather just have it use an IPv4 address all the time. But to do that, it should try to find an unused port so that tests can be parallelized and it isn't making assumptions about which port is available. So it could do something like trying 10 random ports in the valid port range, and only then giving up.
If you want to make a PR, that would be great! I can also probably do this in a few weeks.

I agree that OpenTelemetry should probably handle this gracefully, but I'm open to changing the code to use an IPv4 socket instead. That's a better test of how people actually use grpc anyway.

Shall I open an issue over there as well?

So it could do something like trying 10 random ports in the valid port range, and only then giving up.

Do you have a particular port range in mind, or should we just pick a bunch in the upper 50000s?

If you want to make a PR, that would be great! I can also probably do this in a few weeks.

Doesn’t look like a big change, so yes, happy to help!

@d5h uhm, I just noticed that the package has no support for Py 3.10 or 3.11 — are you planning to add that? I think Python bytecode might have changed which is why I’m getting
      ast3/Python/ast.c:4514:9: error: implicit declaration of function '_PyUnicode_DecodeUnicodeEscape' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, &first_invalid_escape);
              ^
      ast3/Python/ast.c:4514:9: note: did you mean 'PyUnicode_DecodeUnicodeEscape'?

when I try to run
pip install nox==2022.1.7 toml==0.10.2 poetry==1.0.9
nox

in a clean venv 🤔

Shall I open an issue over there as well?

It couldn’t hurt. I don’t know how much they’ll prioritize supporting UDS, but in my mind if someone has a valid grpc service, the telemetry interceptor shouldn’t crash. Plus, the way they implement instrument() by monkey-patching grpc.server, it means you couldn’t have both an inet server and UDS server in the same process. I’m not sure if anybody does that, but it seems like a valid use case. In any case, it would be good to bring it up with them and they can decide how to prioritize it. Thanks!

Do you have a particular port range in mind, or should we just pick a bunch in the upper 50000s?

There’s no reason to restrict it to 50000+. This is actually kind of an interesting question because it seems different OS may have different ranges they allow (I’m not an expert on port range portability though). I would go with 32768–60999 since that seems to be at least sort of standard for Linux. It’s probably good enough.

@d5h uhm, I just noticed that the package has no support for Py 3.10 or 3.11 — are you planning to add that? I’m seeing some odd compilation failures…
when I try to run
pip install nox==2022.1.7 toml==0.10.2 poetry==1.0.9
nox

Yes this package should support Python 3.10+. However I don’t think this error is related to grpc-interceptor. It looks like nox is trying to compile CPython and failing, probably because whatever C compiler you have on your system is either too old, too new, or just not supported by CPython.
You can try adding 3.10 and 3.11 to noxfile.py. Then run something like nox -s test-3.10 to only run the tests for the version of Python you have installed. That way it shouldn’t try to compile CPython. You don’t need to test every version of Python locally. There’s a GitHub action for that.

The fix for this should be released in 0.15.1 now. Please reopen if you find any other issues upon testing.

@d5h thank you for the effort, I appreciate that! Confirming that this works now 👍🏼


Implement a persistent database

If possible, also create a database "interface" (is that even possible in GDScript?) that can be used to allow game devs to easily implement their own database.
If we for example were to decide to use a H2 database by default, we should have a more generic database object that can be used to implement it.
Something akin to;

Database interface
H2Database extends Database << Default
MySQLDatabase extends Database << Custom implementation by game dev

Alternatively, consider if it would be doable to maintain an in memory database. Perhaps a simple dictionary array would suffice with save/load to a file. During early development, it should suffice to use a local array.


i want to generate encode with just number !

but return error need 16 unique char

https://github.com/cybercog/laravel-optimus


Test

Codecov Report
Base: 27.95% // Head: 27.94% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (a3f5e48) compared to base (30247e4).
Patch coverage: 0.00% of modified lines in pull request are covered.

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #849      +/-   ##
==========================================
- Coverage   27.95%   27.94%   -0.02%
==========================================
  Files         134      134
  Lines       31852    31855       +3
  Branches     5091     5092       +1
==========================================
- Hits         8904     8901       -3
- Misses      21814    21817       +3
- Partials     1134     1137       +3

Flag
Coverage Δ

unittests
27.94% <0.00%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/adaptors/tcp/tcp_adaptor.c
2.04% <0.00%> (-0.01%)
:arrow_down:

src/router_core/address_watch.c
88.50% <0.00%> (-1.15%)
:arrow_down:

src/router_core/route_tables.c
16.16% <0.00%> (-0.55%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Windows Compatability

I've noticed when using mu that it has a few lines of code that aren't windows compatible.
Specfically a call to os.uname() which is not available in windows (https://docs.python.org/dev/library/os.html#os.uname)
Using tempfile.NamedTempFile which cannot be opened a second time for reading bytes on windows (https://docs.python.org/2/library/tempfile.html)
Are there plans to support Windows? Or am I missing something that overcomes the aforementioned problems?

Thanks!, any efforts to help with Windows support would be welcome.  Attempts have been made to use portable constructs, but none of the core developers or ci infrastructure currently use windows so we only have occasional users questions wrt. The os.uname is easy to fix, the tempfile usage is a bit trickier (delete=False constructor to named tempfile and then wiring in cleanups).

I don't often comment on libraries so it's nice to get a speedy response when I do! Thanks!
I'm glad I could help and will gladly note down any windows issues that I come across.


Fix storefront not loading

Replace --hostname with --host to fix storefront not loading.
Reference:
https://github.com/mirumee/saleor-platform/issues/95#issuecomment-841470151

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

This PR undoes some changes made by commit c359f7df277617cefbdadcf567394116cbee5b1a

PR #101 is just like this PR.

Fixed in #107


Autosubmit 4.0.0+ and GUI compatibility.

In GitLab by @dbeltrankyl on Jul 14, 2022, 09:58
This issue is to keep a track of Autosubmit 4.0.0 and GUI iteration.
Right now it is not working, as expected.
We can use a4yd as an example a4yd or copies of this one.
It is not important right now but will be in the future. In any case, this would be easier to fix when I write the readthedocs
The first fix seems to detect and read YML configuration because it complains about .conf not existing. It is capable of reading the job_list pkl because it gives the progress status

Experiment a4yd has been tested in the new GUI and it is now supported!
https://bscesautosubmitdev01.bsc.es/autosubmitGUI/experiment/a4yd/quick

In GitLab by @ jberlin on Jul 29, 2022, 16:28
Maybe would be a good idea to deploy AS 4.0 in the VM so we can start checking what is working and what is not.


User "clusterUser" cannot get resource "pods/log" in API group "" in the namespace "default": RBAC: clusterrole.rbac.authorization.k8s.io "containerHealth-read-logs-global" not found

I have an RBAC-enabled AKS cluster. Contain Insights solution is enabled. I have created the RBAC authorization ClusterRole (containerHealth-log-reader) and ClusterRoleBinding (containerHealth-read-logs-global) as per this documentation:
PS C:\Users\014357> kubectl get clusterrole -name containerHealth-log-reader -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: "2019-10-18T10:50:44Z"
name: containerHealth-log-reader
resourceVersion: "3454"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/containerHealth-log-reader
uid: 2e5b1a2e-fbc4-47c1-a6d8-5b903551c7de
rules:

apiGroups:

""
resources:
pods/log
events
verbs:
get
list

PS C:\Users> kubectl get clusterrolebinding -name containerHealth-read-logs-global -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: "2019-10-18T10:50:44Z"
name: containerHealth-read-logs-global
resourceVersion: "3455"
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/containerHealth-read-logs-global
uid: a490324a-12c8-4c4b-82a0-68d79b0d7cfb
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: containerHealth-read-logs-global
subjects:

apiGroup: rbac.authorization.k8s.io
kind: User
name: clusterUser
namespace: default

I cannot access the live logs in the Azure portal:
User "clusterUser" cannot get resource "pods/log" in API group "" in the namespace "default": RBAC: clusterrole.rbac.authorization.k8s.io "containerHealth-read-logs-global" not found
What am I missing, or what else needs to be done?

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

ID: a113bacb-b999-8f0d-a66b-748e60e5c4d7
Version Independent ID: d7766575-5ef8-4f9a-49e5-2dbd7696d18e
Content: View Azure Monitor for containers logs in real time
Content Source: articles/azure-monitor/insights/container-insights-live-logs.md
Service: azure-monitor
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@loopfish
Thanks for your feedback! We will investigate and update as appropriate.

You have to use a username of an existing AAD User. (UPN or ObjectID) so not "ClusterUser"

@erikverwer why? I'm not using an AAD-authenticated cluster. Surely its the omsagent service that should be requesting this cluster role binding, not one of my AAD users...

Ah sorry, i'm assumed that you were using AAD RBAC.

@loopfish - We are getting ready to publish an updated version of the documentation that includes a revised version of the yaml config template for RBAC-enabled clusters. Can you save this and update your configuration to see if it corrects your issue?
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
   name: containerHealth-log-reader
rules:
    - apiGroups: ["", "metrics.k8s.io", "extensions", "apps"]
      resources:
         - "pods/log"
         - "events"
         - "nodes"
         - "pods"
         - "deployments"
         - "replicasets"
      verbs: ["get", "list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
   name: containerHealth-read-logs-global
roleRef:
   kind: ClusterRole
   name: containerHealth-log-reader
   apiGroup: rbac.authorization.k8s.io
subjects:
- kind: User
  name: clusterUser
  apiGroup: rbac.authorization.k8s.io

Thanks.

nice one @MGoedtel - that sorted it, thank you. To be honest, I should have spotted that myself - the cluster role binding was referencing itself, rather that the role. I did have to delete the existing cluster role binding - Terraform said it updated the crb, but in fact it didn't, so I had to delete it manually and recreated it. FYI.

Glad to hear your issue is resolved.  #please-close.


Documentation: how to deploy with docker and specify config variables

Is your feature request related to a problem? Please describe.
As a beginner with Docker, I could use more guidance on configuration and deployment.
Describe the solution you'd like
In general, the more support + instructions possible for deploying with Docker Compose, the better.  For instance, I have it up and running on port 8585 and would like my users to access it on the default https port - I was told in Slack to check out Azure Load Balancer (thanks!) but would love other tips like that.
My specific request prompting this issue is, could we get instructions + a workflow for deploying with docker compose and a config file?  That way I could specify things like my Azure SSO config in a config file that would be portable and editable.  Anything that right now says I should edit the .yaml file, which I have to do in the docker container (?), I'd think would go in a config file?
I believe Apache Superset has this process in place of deploying with compose + a config file.
Describe alternatives you've considered
I tried running on bare metal which makes all the files accessible - but then I used docker and it was much easier!
Additional context
Posting here at @sureshms suggestion after a conversation in Slack, feel free to edit + reshape this issue to suit the project's needs.

handled in latest docs


Implement parent element tracking

Supersedes https://github.com/refractproject/minim/pull/58
This PR adds parent and parents properties to all elements which allows parent traversal of an element in an element tree. We only support adding an element to a single tree and if the user tries to add the element to more than one element tree we will raise an exception.

https://github.com/refractproject/minim/commit/4f59e7d62c2a50ad2a3f25d5617248f10c2d5278 Adds basically parent tracking
https://github.com/refractproject/minim/commit/e2b056e01508559e58cacf74e1c4e58648313745 uses Proxy to observe content arrays for changes and update the parent property as necessary when a user tries to mutate an array set in content of an element.
https://github.com/refractproject/minim/commit/2cab0094f576caa7be1ab57192da9b4b2eb3c45f adds a convince properties parents which returns all of the parents upwards for the element.
https://github.com/refractproject/minim/commit/5e909f6cfa0497d4e206aad124e4b13bbaecaf4b removes the custom parent tracking in findRecursive in favour of the global element parent tracking.
https://github.com/refractproject/minim/commit/12c3a63268a30717c429df37474cae3a3bcb6cb6 Unfortunately I discovered that Proxy is not available on Node 4 (without --harmony-proxioes node argument) so I have disabled its use. Please see commit message for all details. This is very problematic for Node 4 and introduces a tricky workaround.

Please review per-commit and see the commit messages for details.

 It's the only place now where Dredd mutates the API Elements tree. Also, I guess similar operations happen a lot in the Swagger adapter, don't they?
Couldn't the content array be an object inheriting from standard JS array, which just overrides certain methods? Maybe I'm imagining things impossible in the prototype inheritance, IDK.

If I get it right, the last commit means this line won't work on Node 4 anymore

No thats not right, it will work. But it will be less optimal on Node 4 compared to Node 6. Since it will make a shallow copy of the array every time any mutable ArrayElement is called to discard the frozen version. This has a potential performance since we are resetting parent states for these elements. However, we are using Node 6 which provides Proxy support and thus this work around won't be used.

Couldn't the content array be an object inheriting from standard JS array, which just overrides certain methods (just for parent tracking, then calling and returning from the "super" methods)?

I don't think it's possible override default methods on a builtin Array in ES5 or Node 4. I attempted it and it works in Node 8 but not Node 4.
How important is Node 4 support to us? I see a few options:

Drop Node 4 support

Node 4 is only LTS maintenance. We could not provide new features in Node 4 and only provide stable patch releases to this LTS maintenance.
Node 6 is active LTS (long live Node 6)

Support Node 4 using less performant mechanism (what I did in https://github.com/refractproject/minim/pull/137/commits/12c3a63268a30717c429df37474cae3a3bcb6cb6)
Change implementation so that mutating the content array won't update parents (I'd rather not do this as it could lead to obscure bugs when other developers do this by accident/on purpose). Observing the array content is a much safer approach than only updating parent tracking when the array is mutated via our convinces in ArrayElement.

Since this isn't supported on the Node 4 support of this PR, the internal array is frozen so that any mutation would raise an exception (other than the mutation ArrayElement does itself via conveniences).

Don't support parent tracking

I'm leaning to "Support Node 4 using less performant mechanism" if we can't drop Node 4.

Oh, then I misunderstood the outcome. I thought not only there would be
performance impact, but also it would be hard to mutate the tree now.
Now that's pretty smart what you've done and I agree it's the best option.
It will be no real performance impact for Dredd itself (not mutating, only
one place I linked and even that one is a special case). So the most
endangered would be Swagger users, but hey, this is still the best
solution. Node 4 users should be glad someone still thinks of them in means
of support.
On Wed, 2 Aug 2017 at 00:00, Kyle Fuller<EMAIL_ADDRESS>wrote:

If I get it right, the last commit means this line won't work on Node 4
anymore
No thats not right, it will work. But it will be less optimal on Node 4
compared to Node 6. Since it will make a shallow copy of the array every
time any mutable ArrayElement is called to discard the frozen version. This
has a potential performance since we are resetting parent states for these
elements. However, we are using Node 6 which provides Proxy support and
thus this work around won't be used.
Couldn't the content array be an object inheriting from standard JS array,
which just overrides certain methods (just for parent tracking, then
calling and returning from the "super" methods)?
I don't think it's possible override default methods on a builtin Array in
ES5 or Node 4. I attempted it and it works in Node 8 but not Node 4.
How important is Node 4 support to us? I see a few options:

Drop Node 4 support

Node 4 is only LTS maintenance. We could not provide new features
in Node 4 and only provide stable patch releases to this LTS maintenance.
Node 6 is active LTS (long live Node 6)

Support Node 4 using less performant mechanism (what I did in 12c3a63
https://github.com/refractproject/minim/commit/12c3a63268a30717c429df37474cae3a3bcb6cb6
)
Change implementation so that mutating the content array won't
update parents (I'd rather not do this as it could lead to obscure bugs
when other developers do this by accident/on purpose). Observing the array
content is a much safer approach than only updating parent tracking
when the array is mutated via our convinces in ArrayElement.

Since this isn't supported on the Node 4 support of this PR, the
internal array is frozen so that any mutation would raise an exception
(other than the mutation ArrayElement does itself via conveniences).

Don't support parent tracking

I'm leaning to "Support Node 4 using less performant mechanism" if we
can't drop Node 4.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/refractproject/minim/pull/137#issuecomment-319509677,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARTMdjSSQ1bJsoEjF4uGfTgxATHYWmcks5sT5_4gaJpZM4OpDcq
.

BTW, I was able to implement the inheritance in CoffeeScript:
class SpecialArray extends Array

  constructor: (args...) ->
    @_something = 0
    super(args...)

  push: (args...) ->
    @_something = 42
    super(args...)

sa = new SpecialArray()
sa.push(1)
sa.unshift(3)
sa.pop()

console.log(sa)
console.log(sa.join(', '))
console.log(sa._something)

Prints
SpecialArray { '0': 3, _something: 42, length: 1 }
3
42

I'm not really sure how much elegant that would be in plain JS.

@honzajavorek Can you transpile and run that on Node 4? I did similar wit ES6 and Babel and the side-effects in Array subclass run when involved with Node 4.

Hmm, good point. I tried on my current Node, which is 6 :( My excitement
from the experiment shadowed the original point - to make it work on 4.
On Wed, 2 Aug 2017 at 16:57, Kyle Fuller<EMAIL_ADDRESS>wrote:

@honzajavorek https://github.com/honzajavorek Can you transpile and run
that on Node 4? I did similar wit ES6 and Babel and the side-effects in
Array subclass run when involved with Node 4.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/refractproject/minim/pull/137#issuecomment-319698452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARTMacJiqZUaDaSyi55laoyu7vU5-j2ks5sUI5dgaJpZM4OpDcq
.

I just left work, so can't try right away. I did not try to run it on 4. I
only tried to run on 6 and to see how the compiled JS looks like (looks
like... how to be polite... looks horrible).
On Wed, 2 Aug 2017 at 18:30, Honza Javorek<EMAIL_ADDRESS>wrote:

Hmm, good point. I tried on my current Node, which is 6 :( My excitement
from the experiment shadowed the original point - to make it work on 4.
On Wed, 2 Aug 2017 at 16:57, Kyle Fuller<EMAIL_ADDRESS>wrote:

@honzajavorek https://github.com/honzajavorek Can you transpile and
run that on Node 4? I did similar wit ES6 and Babel and the side-effects in
Array subclass run when involved with Node 4.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/refractproject/minim/pull/137#issuecomment-319698452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARTMacJiqZUaDaSyi55laoyu7vU5-j2ks5sUI5dgaJpZM4OpDcq
.

$ coffee special.coffee
SpecialArray { '0': 3, _something: 42, length: 1 }
3
42

14:40 ~/Projects
$ coffee --version
CoffeeScript version 1.12.7

14:40 ~/Projects
$ node --version
v4.8.4

#141 contains an alternative solution to having parents which I think is a lot simpler as it doesn't handle "tracking" for changes. The PR adds a new freeze method which updates all of the parent properties and prevents the element from being mutated causing the parents to go out of sync. I think this should solve all of the same problems.

@kylef I will leave it to you to close and delete this.


v20210702 - Virus Found

Since 5th July windows defender decided that PixivUtil2 v20210702 is a threat Trojan:Win32/Zpevdo.B.
https://www.virustotal.com/gui/file/fd67f71e83e00d5baf325ba983da38a4787f38602e90e58e5b85e79cf4dffcb4/detection
Anyone same issue?

Yeah I noticed I was getting a warning from Windows Defender for the latest version.

see #972


can not install under fedora-34 with compile error [resolved]

I'm trying to install gnome-pie (now on Fedora-34, but works under Archlinux) and did install all dependancies (even if there name are not same than debian packages ones).
At compilation time i get an error:
/opt/Gnome-Pie/build/src/utilities/archiveWriter.c:28:10: fatal error: archive.h: file does not exist
notice that i have also this (i think in relation):
ARCHIVE_LIBRARIES = ARCHIVE_LIB-NOTFOUND
as env variable before to install
Do you have a rpm package able to install on Fedora-34 ?
I want to use Gnome-pie and not fly-pie, because i do not use Gnome, but Awesome. I like your pie menu and used it under Archlinux with Awesome desktop. I want the same config on my office PC (who is under Fedora-34).
Thank you for your help or any information to fix the problem.

I failed to get all dependencies... and most specificaly libarchive-devel that i see from your web site and doesn't check and indicate from source code at compile time.
So you should add check for libarchive-devel presence at compile time.


Create methods to return default value in deserialization

I have mixed feelings about these, because there are different concepts, such as presence (#containsKey check) and nullity wrapped into a single orDefault suffix.
Basically double the amount of methods in the class with potential misinterpretation risks. Arguably the methods only hide the real conditions and are even more messy due to increased argument count.
There could be a huge difference between key: null and no key at all. One may be used for disabling some function, and the other for the actual default value. Due to that, I feel there is no other option than leaving the final choice of the condition to the developers.

Use ternary condition with #containsKey when you want to check for the presence.
Use Optional.ofNullable(data.get ...).orElse(...) when you want to check for presence + nullity.


Re-enable CMS 5 --prefer-lowest jobs after 5.0.0 stable

After the 5.0.0 stable has been released, revert the changes in https://github.com/silverstripe/gha-generate-matrix/pull/40
Also re-enable the one in kitchen-sick (ref https://github.com/silverstripe/recipe-kitchen-sink/pull/26)

We've already done this


switch to babel for examples

Background
After changes are agreed, will update the rest examples

Change List

update examples

Coverage remained the same at 61.879% when pulling dea31de5ca09211132eee80e9d654887a335b255 on update-babel into b096cd341a68275070df67dd9b5e89963121ee23 on master.


[ART-5384] Async release gen payload

Ref. ART-5384
Test run: https://saml.buildvm.hosts.prod.psi.bos.redhat.com:8888/job/aos-cd-builds/job/build%252Fbuild-sync/28714/console

/lgtm


chore: update readme and issue template for visionOS support

Issue #

Description

Updates README.md to include information about preview visionOS support.
Updates issue template to include visionOS as platform + some other misc. updates.

General Checklist

[ ] ~Added new tests to cover change, if needed~
[x] Build succeeds with all target using Swift Package Manager
[ ] ~All unit tests pass~
[ ] ~All integration tests pass~
[ ] ~Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)~
[x] Documentation update for the change if required
[x] PR title conforms to conventional commit style
[ ] ~New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()~
[ ] ~If breaking change, documentation/changelog update with migration instructions~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Going to address the failing watchOS test in subsequent PR as this change doesn't touch code.


Should binary files be included too?

Currently, this repo includes only the source version of packages. While trying to install, additional message appears announcing that binary files are not found Should binary macOS and Windows files be included too? (As they are on CRAN)

I think that would be a considerable increase in scope and require a lot of maintenance.
I would say at the minimum let’s get the existing infrastructure optimized and finalized before adding features.

On Aug 15, 2020, at 5:33 PM, Vilmantas Gegzna<EMAIL_ADDRESS>wrote:
Currently, this repo includes only the source version of packages. While trying to install, additional message appears announcing that binary files are not found Should binary macOS and Windows files be included too? (As they are on CRAN)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/r-hyperspec/hySpc.pkgs/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCIPW3SFVNJ4YK7SOQ6ZTSA35MBANCNFSM4QAPAQAA.

I agree with @bryanhanson

Closing for now, largely because we limited time and other issues await.

It's not hard to implement this, so I reopen. Just we are not going to work on this for now.


ReferenceError: TokContext is not defined

I'm not sure what changed in my code base or in my environment that is causing this issue. I'm still investigating, just wanted to see if anyone else has/had this issue.
at new TokContext (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:2200:25)
    at Object.11../state (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:2209:11)
    at s (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:681)
    at XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:732
    at Object.1../expression (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:80:21)
    at s (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:681)
    at e (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:852)
    at XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:870
    at a (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:150)
    at Object.<anonymous> (XXX/node_modules/jade/node_modules/constantinople/node_modules/acorn-globals/node_modules/acorn/dist/acorn.js:1:383)

This occurs in node v0.12 and iojs v1.2 and iojs v1.6

Is your Acorn version 1.0.1? I can see the reference to TokContext at line 2200, but I don't see a way that could trigger such an error (the variable is definitely defined in this context).

It is 1.0.1 and I'm scratching my head as to why the error is being triggered.

I'm confident that the issue lies in my environment and not the code, I'll close the issue and will post a follow up.

Found the issue, I was using
require('node-jsx').install();

instead of
require('node-jsx').install({extension: '.jsx'});

… which introduced a subtle bug.


Include the correct context_len when preparing prefill inputs

Update contextlen properly for prefill input metadata.
Previously, it was always set to 0 which seems to be inconsistent with decoding's context length (which is the actual seqlen).
I am not 100% sure if this is a bug btw. I am running CI...
In the same way, block tables are not properly updated for prefill. While this is probably fine, the input metadata class API didn't specify when it could be empty (it doesn't have a precise definition).

The fact that this PR doesn't pass means there's sth wrong with attention input or context attention. Given context attention is tested, I suspect input processing logic for prompt is incorrect.


[$500] iOS - App - The name of the app is truncated and it's missing a space

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:

Look at the name of the app on your phone

Expected Result:
Tha name should be "New Expensify".
Actual Result:
The name of the app is truncated and it's missing a space.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~014b4b8d3a4a4cdf8e
Upwork Job ID:<PHONE_NUMBER>877715968
Last Price Increase: 2023-11-09

Not reproducible in production

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Betting this is because of the yellow dot from TestFlight. It seems to take up space that the title would take up. Curious if the blue dot that shows up when the app was updated since last open would cause this in production, guessing so.
Won't be an issue when the app fully replaces OD, it'll just say Expensify.

@fedirjh but that's the dev app, it's name is "New Expensify Dev" - I'm guessing it's always truncated with that many characters.

iOS removes spaces when it's truncating a name that's too large. The dev app has a red "DEV" badge in the lower right, as seen in your screenshot.

Running locally on simulator, I manually changed the Product Name for Debug Development, and I put the name like in production, and the name fits, so it's not because the name would be too large.

@benyboariu OP screenshot has a yellow dot from TestFlight - I believe that's inline with the app name and causes the truncation.

Be honest, has anyone received money for solving the problem, or is it just a scam to get solutions for free?

@AndriiSenyourit Expensify has spent over $8 million on Upwork. Not a scam.

I agree that it seems that it's getting truncated due to the yellow dot and this isn't a bug. Thanks for the discussion everyone.


Refactor the explanations of optional parameters and settings

and mark up parameter names as code

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   88.99%   88.99%
=======================================
  Files           9        9
  Lines         309      309
=======================================
  Hits          275      275
  Misses         34       34

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 0773357...966b4ce. Read the comment docs.


My Account: Login & Registration

http://sphereio.github.io/commercetools-sunrise-theme/site/en/my-account-login.html

This is already in Sunrise app.


No module suggestion for modules in the same project

Description:
When trying to use the records of a module say a from another module say b of the same project without importing a in b first, then there's no suggestion to import module a. We get suggestions to import ballerina inbuilt modules, but not for modules in the same project.

Duplicate of #28191. Hence closing the issue

Duplicate of #28191. Hence closing the issue


CLaSP: Create onboarding Doc

Right now the onboarding directions are "ask Ryan". We should include a .md file with that info instead.

https://github.com/dotnet/roslyn/pull/66083


Dead link in README.md

In README.md, the following link is dead
https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/tutorials/InteractiveOptimizer/usingLPformat.html

thanks, fixed by updating link to https://www.ibm.com/docs/en/icos/20.1.0?topic=cplex-lp-file-format-algebraic-representation


paket restore exits with code 1 when paket.local is used

Description
We use debug versions of our own packages which can be built locally and then used with a paket.local file for debugging the main application.
The paket restore command which is issued by msbuild fails when paket.local is in place for a larger solution and many parallel build threads.
Whetever I would use 8 or even 4 parallel build tasks the restore commands would fail. However everything works nicely when paket.local is removed to again use the production versions.
Repro steps

Have a solution with around 100 projects
Have most of the projects using the same common package
use paket.local to redirect paket to a local package source like nuget Data.Base -> source C:\USERDATA\DEVEL\Data\nugets
Do msbuild the solution (happens also in GUI)

Expected behavior
Paket can restore files like it does without using paket.local
Actual behavior
Message in IDE appears for many projects:
Error MSB3073: The command ""C:\USERDATA\DEVEL\(deleted)\.paket\paket.exe" restore --references-file "C:\USERDATA\DEVEL\(deleted)\src\Engines\AppiumMobile\Mobile30MacSetupWizard\paket.references"" exited with code 1. (1, 1)
Message from cmdline is a bit more revealing:
  Something went wrong while downloading Data.Base <IP_ADDRESS>
  Message: Error during cleaning of C:\USERDATA\DEVEL\(deleted)\packages\Data.Base
    - Access to the path 'C:\USERDATA\DEVEL\(deleted)\packages\Data.Base \lib\net471'
  is denied.
    ==> Trying again

Known workarounds
Set the number of concurrent build processes to 1

This can no longer be reproduced with recent Paket versions...


Updated broken link to A11Y project patterns.

@dynamicwebpaige,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/accessibility/build.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks @dynamicwebpaige !


Introduce Browserify and Gulp

related #56 #68

Install JS Library via npm instead of Rails Assets
Introduce Gulp, Browserify, BrowserSync, etc.

Coverage remained the same at 95.7% when pulling e6be30d286f124955852727c5b7bcffad187321b on browserify-with-gulp into c6031250b1c73d935347055240f1e4dab599305a on restructure-rescheduling-things.


MSIX pkg starts in system32 instead of user's home directory

Steps to reproduce
Start pwsh from installed msix

Expected behavior
Starts in user's home directory

Actual behavior
Starts in system32 directory

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.0-Preview.5
PSEdition                      Core
GitCommitId                    7.0.0-Preview.5
OS                             Microsoft Windows 10.0.19010
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Maybe have to leverage https://github.com/Microsoft/MSIX-PackageSupportFramework to have it start in different directory

We could do this internally. If [System.Environment]::CurrentDirectory is Windows\System32 then force switch to current user home directory.

There is a small chance that someone may want current dir to be system32, but seems very rare and they can always have in their $profile to set whatever location they want.  Let's have @PowerShell/powershell-committee discuss.

There is a small chance that someone may want current dir to be system32,

We could do this only at startup time for initial runspace.
We use -WorkingDirectory ~ in shortcut created by MSI.
I guess MSIX does not add the parameter.
So proposal for discussion is to make -WorkingDirectory ~ being default.
Follow runspaces will continue to have current default ([Environment]::CurrentDirectory).

There's no way to add any parameters to the exe in the msix.  MSIX cannot create or modify shortcut.

@PowerShell/powershell-committee reviewed this and believe the proposal to start in $PSHome when in system32 won't be acceptable since if someone explicitly set-location to system32 and starts a new pwsh, it should start in that folder rather than moving to $PSHome.  Will need to leverage https://github.com/Microsoft/MSIX-PackageSupportFramework.

Using MSIX-PackageSupportFramework would be also problematic. Currently we create regular shortcut and users can customize it (add custom arguments). Is it possible with MSIX-PackageSupportFramework?

Users can create their own shortcut to the pwsh.exe installed by MSIX.  But they need to do it manually as MSIX creates the shortcut whereas in the MSI we ship a shortcut we can customize.

My question is about changing default MSIX behavior. If we implement a fix for the issue can users change the behavior?

@iSazonov users can use set-location in their $profile and that always work regardless of the initial working directory.


"Create Extension" command is not listed with the rest of the numbered steps

The 'CREATE EXTENSION' step in the instructions should be promoted to number 5 in the numeric list of steps.

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

ID: ab533e2e-3fb7-6bed-dd07-1cb4de0368ba
Version Independent ID: 1df8b46e-3491-ac8b-ba15-03bd062b8680
Content: Extensions - Azure Database for PostgreSQL - Flexible Server
Content Source: articles/postgresql/flexible-server/concepts-extensions.md
Service: postgresql
Sub-service: flexible-server
GitHub Login: @sunilagarwal
Microsoft Alias: sunila

@csharpfritz Thanks for your feedback! We will look into it and update you as appropriate.

@kabharati can you please provide your inputs here

@GennadNY - Could you please look into this

#assign @GennadyNY

#assign @GennadNY

#close

#fixed

@markingmyname - can we please close - fixed

#please-close


WIP [19.03] added entry to changelog

added entry to changelog

Do we actually need this? Given that 19.03 > 18.09.8, so it's not a change since 18.09

rebased


Can't open or create .Net Interactive notebook

On a clean Windows 11 install of VS Code (or Insiders), and installation of .Net Interactive notebooks, I can't create or open .Net Interactive notebooks. I'm not sure if this is different from #1813.
.Net Interactive 1.0.2462010 is the latest version that opens a UI when I select "Create a new .Net Interactive Notebook". Newer versions just hang with the message "Activating Extensions..." which seems to time out after a couple seconds:

But even if a notebook (.dib or .ipynb) is created with the earlier versions, I can't seem to execute any C# code - kernel execution hangs on a Hello World.
Tried installing the .Net 5 SDK, just in case, but that didn't help. Here's my full set of .Nets:
PS C:\> dotnet --list-sdks
3.1.416 [C:\Program Files\dotnet\sdk]
5.0.404 [C:\Program Files\dotnet\sdk]
6.0.101 [C:\Program Files\dotnet\sdk]
6.0.200-preview.22055.15 [C:\Program Files\dotnet\sdk]

Repro'd on VS Code:
Version: 1.63.2 (user setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
...and VS Code Insiders:
Version: 1.64.0-insider (user setup)
Commit: c6e58d126f6b5676242e32b34180b2a595f29b51
Date: 2022-01-14T05:19:33.429Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
What can I do to help track down? Should I create a separate ticket? I've grown so comfortable using .Net Interactive in my daily workflow, I'm at a loss for what to do!

OS

[ x] Windows 11
[ ] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[ x] Visual Studio Code
[x ] Visual Studio Code Insiders
[ ] Visual Studio
[ ] Other (please specify)

Same here. Can't use any .NET Interactive at the moment ... I'm on VS Code 1.63.2. I noticed that both of us have a 6.0.200-preview version installed (in addition to latest 6.0.100).

Could you post the output of dotnet --info?

Absolutely. See below (just updated Visual Studio 2022 to 17.1.0 Preview 4.0) and the same issue persists:
PS C:\> dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.200-preview.22055.15
 Commit:    a3c3a2bf3b

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22000
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.200-preview.22055.15\

Host (useful for support):
  Version: 6.0.1
  Commit:  3a25a7f1cc

.NET SDKs installed:
  3.1.416 [C:\Program Files\dotnet\sdk]
  5.0.404 [C:\Program Files\dotnet\sdk]
  6.0.101 [C:\Program Files\dotnet\sdk]
  6.0.200-preview.22055.15 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

Mine looks almost identical, except that .NET 5 is not installed (otherwise same Windows version, same .NET SDKs, etc.)

@dcuccia That's identical to mine and I'm not seeing any issues. Let's take a look at VS Code setup.
Have you customized anything in settings.json related to .NET Interactive? (I haven't.)

Another possibility: I wonder if another VS Code extension might be interfering. Do you have any other notebook-related extensions installed? Here's what I'm running.
> code --list-extensions
andriniaina.fsharp-interactive-datascience
anotherglitchinthematrix.monochrome
dhedgecock.radical-vscode
eamodio.gitlens
earshinov.filter-lines
GitHub.copilot
GitHub.remotehub
GitHub.vscode-pull-request-github
Ionide.Ionide-fsharp
mariorodeghiero.vue-theme
mel-brown.deep-purple
ms-dotnettools.csharp
ms-dotnettools.dotnet-interactive-vscode
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-vscode-remote.remote-wsl
ms-vsliveshare.vsliveshare
RandomFractalsInc.vscode-data-preview
RandomFractalsInc.vscode-data-table
samrapdev.outrun
tchayen.markdown-links
yzhang.markdown-all-in-one

@brettfo 👀

I have the following VS Code extensions installed:
> code --list-extensions
christian-kohler.path-intellisense
cschlosser.doxdocgen
DotJoshJohnson.xml
eamodio.gitlens
EditorConfig.EditorConfig
formulahendry.code-runner
jeff-hykin.better-cpp-syntax
krvajalm.linter-gfortran
ms-dotnettools.csharp
ms-dotnettools.dotnet-interactive-vscode
ms-dotnettools.vscode-dotnet-runtime
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode-remote.remote-wsl
ms-vscode.cmake-tools
ms-vscode.cpptools
ms-vscode.cpptools-extension-pack
ms-vscode.cpptools-themes
ms-vscode.powershell
ms-vsliveshare.vsliveshare
mutantdino.resourcemonitor
PKief.material-icon-theme
tht13.html-preview-vscode
vscode-icons-team.vscode-icons
vsls-contrib.codetour
yzhang.markdown-all-in-one

I can actually load an existing notebook file, but I noticed that C# is missing from the list of available languages for the code cells. It only has Markdown and Python (and it always falls back to Python when I try to execute the cell).

@jonsequitur no custom settings - brand new install:

Here are my extensions (am I missing any I might need?):
PS C:\Users\dcucc> code --list-extensions
ms-dotnettools.csharp
ms-dotnettools.dotnet-interactive-vscode
ms-toolsai.jupyter

@profix898 Which kernel are you seeing selected here?

@jonsequitur There is only Python 3.9.7 in the list ... Looks like .NET Interactive is not "registered" correctly.
Previously (before moving to Win 11 and fresh install) I always had Jupyter and the dotnet interactive global tool installed as well. But that should not be necessary, right? Will try anyway and report back. But, just VS Code + Extension + SDK should do it, right?

Not sure if this is helpful, but opening an existing .ipynb file with Powershell code does not give me a .Net Interactive kernel choice:

@profix898  The .NET Interactive Notebooks extension depends on the Jupyter extension. It doesn't depend on Python though.

The root cause is here: dotnet/sdk#23687
The only workaround is to uninstall, or otherwise disable, the 6.0.200-preview.22055.15 sdk.

@brettfo bingo! repro'd that ticket's behavior. Unfortunately, I can't figure out a way to uninstall the 6.0.200-preview.22055.15 SDK, either through Version 17.1.0 Preview 4.0 individual components:

...or via dotnet-core-uninstall:
PS C:\>dotnet-core-uninstall list

This tool cannot uninstall versions of the runtime or SDK that are
    - SDKs installed using Visual Studio 2019 Update 3 or later.
    - SDKs and runtimes installed via zip/scripts.
    - Runtimes installed with SDKs (these should be removed by removing that SDK).
The versions that can be uninstalled with this tool are:

.NET Core SDKs:
  6.0.101  x64    [Used by Visual Studio. Specify individually or use --force to remove]
  5.0.404  x64
  3.1.416  x64

.NET Core Runtimes:

ASP.NET Core Runtimes:
  5.0.13  x86
  5.0.13  x64

.NET Core Runtime & Hosting Bundles:

Assume this means I have to choose between .Net Interactive and VS 2022 preview bits, for now.

@jonsequitur is this resolved?

I'm not able to repro this with the latest VS 2022 Previews installed. Are you still seeing it?

@jonsequitur you're right - I can't either, great news! Probably means this wasn't the root cause after all?

Probably not related, since .NET Interactive isn't using dotnet run.


fix(p-lazy-img): fix preloading skeleton position issue

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[ ] Not that difficult

Type of Change

[ ] New feature
[x] Bug fixes
[ ] Feature improvement

[ ] These changes require a usage change

[x] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[ ] Updated Storybook documents
[x] Tested with console

Description

fix preloading skeleton position issue
add left property

Things to Talk About

:tada: This PR is included in version 1.1.0-beta.411 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Font not displayed correctly, Ubuntu

I am getting such buttons in kivy

Errors while executing kivy's file:
ERROR  ] [WinPygame   ] unable to set icon
Traceback (most recent call last):
  File "/home/abhishek/anaconda2/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 215, in set_icon
    self._set_icon_standard(filename)
  File "/home/abhishek/anaconda2/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 223, in _set_icon_standard
    im = pygame.image.load(filename)
error: File is not a Windows BMP file

ERROR  ] [WinPygame   ] unable to set icon
Traceback (most recent call last):
  File "/home/abhishek/anaconda2/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 215, in set_icon
    self._set_icon_standard(filename)
  File "/home/abhishek/anaconda2/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 223, in _set_icon_standard
    im = pygame.image.load(filename)
error: File is not a Windows BMP file

I referred https://kivy.org/docs/installation/installation-linux.html . I am using Ubuntu.
Installation script
#!/bin/sh
dependencies=" python-pip build-essential git python python-dev ffmpeg libsdl2-dev \
libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev \
libavcodec-dev zlib1g-dev python-kivy python-pygame mercurial libsdl-image1.2-dev \
libsdl-image1.2-dev libsdl-image1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev  zlib1g-dev\
libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev "
sudo add-apt-repository ppa:kivy-team/kivy
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install -y $dependencies
sudo apt-get install ffmpeg

Installing those sdl 1.2 dependencies should not be needed, nor pygame. Try removing them and uninstalling kivy, then installing it again from the ppa.

Which dependencies to remove?
libsdl-image1.2-dev libsdl-image1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev
libsdl1.2-dev  python-pygame

All of them, the ppa should pull in the right dependencies.


Rework demo app into separate components.

Codecov Report

Merging #272 (699e80d) into master (01c6815) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master     #272   +/-   ##
=======================================
  Coverage   89.42%   89.42%
=======================================
  Files          15       15
  Lines         577      577
  Branches      143      143
=======================================
  Hits          516      516
  Misses         55       55
  Partials        6        6

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


refactor(@embark/embark-typings) move typings to its own module

I took a stab at simplifying this a bit:
https://github.com/embark-framework/embark/compare/move_typings...move_typings-2
I think that branch is going the right direction, but instead of embark-typings it should become @types/embark. See the @types, typeRoots and types section of the tsconfig.json docs.
I need to defer to those a bit more experienced with TypeScript and .d.ts setup, but certainly this package can become very lightweight — doesn't need a build script, and so on.