make .well-known/csaf directory

similar to sbom directory but all files will be in source tree (instead of generated like sbom are). The csaf files currently in /sbom will move to /csaf while the sbom files will stay in /sbom

How  should we list those in /csaf folder? Do we need its own path i.e .well-known/csaf or should they be accessible via .well-known/sbom as before but just organised in a different directory?


[FunctionBodyTimer] Fix -warn-long-function-bodies, whose behavior was

accidentally flipped with -debug-time-function-bodies
This change flips the usage of ctx.TypeCheckerOpts.DebugTimeFunctionBodies and ctx.TypeCheckerOpts.WarnLongFunctionBodies in FunctionBodyTimer.
Resolves: rdar://problem/58836355

@swift-ci please smoke test


Popup doesn't close after exiting insert mode

As per title, the popup will stay around after I finish editing. I'll have to enter insert mode and exit again to close the popup.

Yes. I also saw this issue. But do not have a way to 100% reproduce this issue.

I can only reproduce this when using <C-c> to exit insert mode instead of <Esc>. Do you have the same behavior?

From the vim doc,  will not trigger InsertLeave event, on which the plugin is listen.
So the behaviour is expected.

Hmm, that seems very unfortunate. I wonder why InsertLeave is only emitted from <Esc> and none of the other ways (keymapped or not) to leave insert mode :thinking:


Hotswap and multiple databases

By reading the code I can see the locks and mutex exist internally to close the database for example, but I don't see them exposed anywhere, use case would be Hotswap of an entire database.
On the other hand, how advisable is to run a program with multiple databases (maybe opened at runtime on demand, or to separate logic from storage for archiving purposes). How much does it cost the DB object?  (index, io, memory, etc...) In order to determine if it is feasible to either open a database when needed (on demand) or open them at startup and just having the object there ready when needed.

The internal locks aren't exposed because it seems like an easy way to shoot yourself in the foot. If you don't get the lock ordering right then you can easily deadlock your database.
A hotswap feature would be nice. Tx currently implements io.WriterTo. It'd be nice if DB implemented io.ReaderFrom.
As for multiple databases, it shouldn't be a problem to run a bunch and it shouldn't take long to open. DB.Open() is essentially a 8KB file handle read and then an mmap() call. There's hardly any overhead at the DB level. Most of your overhead exists with the free page list but that doesn't change whether you have one DB or a bunch.


⚠ Processors has degraded performance

In 38edf13, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 45 ms

Resolved: Processors performance has improved in fdc2918.


Store log artifacts for all pods

Fixes #

Proposed Changes

Store log artifacts for all pods

Release Note

Docs

/test pull-knative-sandbox-eventing-kafka-broker-upgrade-tests

/retest


Add zero-decimal-cast test

Which issue does this PR close?
closes https://github.com/apache/datafusion/issues/12870
Rationale for this change
Bug for fixed in https://github.com/apache/arrow-rs/pull/6547, this pr just adds a test for it
Are there any user-facing changes?
No

thank you!


Skip is broken

Skip is never set back to 0.
Same player can skip multiple times

Only in blind test game


Error for logging on del

I had the following error using the latest version:
2017-11-06 08:36:46,679 root         INFO     Cleanup...
Exception ignored in: <bound method StanfordCoreNLP.__del__ of <stanfordcorenlp.corenlp.StanfordCoreNLP object at 0x0000021304456F98>>
Traceback (most recent call last):
  File "C:\Program Files\Anaconda3\lib\site-packages\stanfordcorenlp\corenlp.py", line 108, in __del__
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1838, in info
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1279, in info
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1415, in _log
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1425, in handle
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1487, in callHandlers
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 855, in handle
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1047, in emit
  File "C:\Program Files\Anaconda3\lib\logging\__init__.py", line 1037, in _open
NameError: name 'open' is not defined

According to this: https://bugs.python.org/issue26789 will be better to remove the logging from the del method (in my case works).
Note that i set the logger to save to file.

Thanks. Fixed in v<IP_ADDRESS>.


RFC: Adding appconfig lambda layer support as appconfig backend.

Key information

RFC PR: (leave this empty)
Related issue(s), if known: None
Area: Parameters
Meet tenets: Yes
Approved by: ''
Reviewed by: ''

Summary
Utilize the AWS provided AppConfig Lambda Layer.  This layer is used to provide a proxy request to AppConfig configurations.  The layer has built-in caching and automatically refreshes based on a TTL.  This is important when utilizing the "full power" of AppConfig to more accurately provide configuration deployments to live resources as well as asses how many client-ids are covered by the deployment stages.
Layer: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-integration-lambda-extensions.html
Motivation
Preloading configurations (during cold start) automatically and utilizing AppConfig as intended - ongoing deployment of configurables.  Having a background task handle resource management while persisting a client-id is very helpful and having the background task that acts as a keepalive for that client-id regardless of request requirements will assist with deployment fact gathering.
Proposal
Utilize urllib.request to read from a formated URL composed of several environment variables related to the AppConfig lambda layer.  Should be a fairly straight forward update to existing appconfig code in parameters module.  Some thought needs to go in to manual refresh and opting out for specific requests.
If AppConfig parameters helpers exist in the other languages powertools then it should be a fairly straight forward change.
User Experience
Enable the AWS AppConfig Lambda Layer
The only corner case for configuration would be providing sane defaults to opt-in/opt-out of using the layers HTTP endpoint rather than boto3 directly.
Drawbacks
This could muddy some thoughts on how TTLs are handled between powertools and the layer software.
No additional deps.
Rationale and alternatives
Low impact of not including this.  If appconfig parameters are pulled per request the keepalive provided by the lambda layer would be redundant.
Unresolved questions
...

Hi everyone! This issue has gone a long time without any user feedback and we are closing it.
As always, we love to hear from the community and if more customers are interested in this issue we can open it without problems and continue the discussion/implementation.
Thanks.

Hello. I wonder if is it possible to come back to this topic?
If I understand correctly this max_age parameter is only valid during lifecycle of lambda function and lambda layer allows you to cache that value between lifecycles. So new lambda do not need to fetch data from AppConfig because its fetched by layer.  Is it correct?
In my application time of fetching data and return lambda is the essence. Flags will probably not change that often so caching during lifecycle its not that important for me.
Thanks!

@heitorlessa
I did run some tests for my application. I was trying to observe average request time with and without aws powertools of my lambda and its around 500 ms longer when you are using your lib. I think 500 ms is long time, that's why extension would be amazing here.
Tests without aws powertools feature-flags:
empty = []
for x in range(1000):
    response = requests.get(url, headers={"Authorization": f"Bearer {token}"})
    call_time = response.elapsed.total_seconds()
    empty.append(call_time)

min(empty)
0.541491
max(empty)
6.150538
sum(empty)/1000
0.8154316550000005

Tests with aws powertools feature-flags fetch inside lambda:
empty2 = []
for x in range(1000):
    response = requests.get(url, headers={"Authorization": f"Bearer {token}"})
    call_time = response.elapsed.total_seconds()
    empty2.append(call_time)

min(empty2)
0.928258
max(empty2)
11.054
sum(empty2)/1000
1.367485440999999

Hello - I cannot share my lambda code with you, but I can tell you how I was working with that stuff.
So I used the same function, deployed once with aws powertools and once without it. It was the same endpoint and the same API. Small difference between them was just a decorator above lambda which had call to AppConfig with powertools.
def validate_feature(name: str):
    def decorator(func):
        def wrapper(*args, **kwargs):
            settings = Settings()
            app_config = AppConfigStore(
                environment=settings.deployment_environment,
                application=settings.feature_application,
                name=name,
                sdk_config=Config(region_name=settings.aws_region),
            )
            feature_flags = FeatureFlags(store=app_config)
            check_feature_status = feature_flags.evaluate(name)
            if not check_feature_status(name, args[0]):
                request_id = args[0]["requestContext"]["requestId"]
                error_context = {
                    "id": request_id,
                    "code": 403,
                    "title": "Request forbidden",
                    "detail": f"Request forbidden - Feature [{name}] is not enabled for user",
                    "status": "403",
                }
                response = {
                    "statusCode": HTTPStatus.FORBIDDEN,
                    "headers": {"content_type": "application/vnd.api+json"},
                    "body": json.dumps({"errors": [error_context]}),
                }
                return response
            return func(*args, **kwargs)

        return wrapper

    return decorator

and later I used it on lambda or not use it.
@validate_feature("feature-name")
def lambda(event, context):
    pass

Lambda and AppConfig was inside the same region in AWS.

Hey @Rogalek! Thanks for explaining the scenario you're testing and being so helpful in getting us started on investigating this issue. I just wanted to give you a heads-up that I'll be diving into this starting on Thursday. It might take me a couple of days to have a position about this problem.
By the way, in the meantime, could you kindly let me know the memory configuration for your Lambda? It seems like you're using 128M, am I right?
Thank you

Lambda is 384 and API gateway is 128

rescheduling this for mid next week. Depending on how p99 turns out, we might add temporary support for AppConfig Extensions. I say temporary, because this is a band-aid and an extension brings additional trade-offs on testing and operational overhead -- a long-term solution would be to have optimized SDK calls written in another language (e.g., Rust), since the bulk is coming from botocore session

Happy with any PR to get temporary support for AppConfig Extensions - as expected it's AWS SDK during cold start (gunzip service model + runtime code generation + sigv4 + 2 distinct TLS handshake).
Next year, we will plan an optimized SDK for Powertools to address this and make other value add features more prevalent (e.g., correlation ID propagation, simplify AWS integrations).
Adding help wanted label for anyone who can help put a PR for this and we can get in the next release.

@heitorlessa thought I would add another element to the discussion re: AWS SDK being "heavy".  Over in the Node world, Begin has created aws-lite as a super-fast alternative to the AWS SDK.

yeah, this is a bigger challenge in and of itself. Given how many billions of integrations we run a week, we'd need to be extremely careful on what we do here. Future wise, there's no doubt that we will be looking at Rust for Python and TS for bindings on AWS SDK (and some more).. but that requires a large investment we can't afford this year.

I believe this should now be possible after the v2.41.0 release.
Considering that the Lambda has the layer attached:
boto3_client = boto3.client("appconfigdata", endpoint_url="localhost:2772")

app_config = AppConfigStore(
    environment="dev",
    application="product-catalogue",
    name="features",
    boto3_client=boto3_client,
    max_age=0,  # The layer is already caching
)


Update for PFSense 23.3

Hi mate, needs to be updated to support PFSense 23.3

Yea hes aware ... hes going to take a look at it asap ... check issue 26

Ok thanks 😀
On Mon, 20 Nov 2023, 6:21 pm jerry110, @.***> wrote:

Yea hes aware ... hes going to take a look at it asap ... check issue 26
—
Reply to this email directly, view it on GitHub
https://github.com/smccloud/pfSense-to-OPNSense-Config-File-Converter/issues/27#issuecomment-1818436497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZFOBD437632W4TIGDJX5XTYFMHH5AVCNFSM6AAAAAA7SOGC42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYGQZTMNBZG4
.
You are receiving this because you authored the thread.Message ID:
<smccloud/pfSense-to-OPNSense-Config-File-Converter/issues/27/1818436497@
github.com>


fix: name of the Journals tab

Fix #88

ping @pengx17 Would you please take a look and possibly merge this?

ty!


Add tk gui support

Todo: add example. Maybe split those examples up, so the main drawing code and shaders are in one module, and the gui-specific scripts import that.

I always found it disappointing that visvis/vispy could not render in Tk because it lacks suppor for GL. But here we are - GPU rendering in Python with zero dependencies!


Feature Request: %displayname% placeholder or similar.

Currently, the %role% placeholder only takes the group name and not the displayname of the group which is displayed to the left of the red box or defined as "displayname." The Group name is usually only used by staff or similar to either promote a specific user to that specific group or is used in a plugin's config files. While displayname or the prefix is only used in-game for users to see.

Added %role_display_name% placeholder in 07fd9c306aa5c5f0bede692a5bce97dd420c00de :)


Review default values used when converting ReplayEvent to GeoJSON

Currently, when a value from the ReplayEvent is missing (like altitude, bearing, speed) we're just passing 0 as the value for the GeoJSON. Is this the correct behaviour?
┆Issue is synchronized with this Jira Task by Unito

I'm talking about values from this class
event.location.accuracyHorizontal?.toFloat() ?: 0f,
event.location.bearing?.toFloat() ?: 0f,
event.location.speed?.toFloat() ?: 0f,

I assumed that 0f will be good enough if there's no accuracy, bearing or speed in the Mapbox replay data. However, there may be some differences if we will be replaying those locations because Mapbox can differently handle null and 0 for those fields :thinking: WDYT?

After looking into the Mapbox ReplayLocationEngine code I've found that it does matter if those values are null or 0:
eventLocation.accuracyHorizontal?.toFloat()?.let { location.accuracy = it }
eventLocation.bearing?.toFloat()?.let { location.bearing = it }
eventLocation.altitude?.let { location.altitude = it }
eventLocation.speed?.toFloat()?.let { location.speed = it }

Basically, if any of those values is not null then the corresponding location that will be passed to a location engine will have the value set instead of having a null.
The question is whether those accuracyHorizontal, bearing, speed, altitude have any impact on the outcome of the location engine. I have a feeling that probably they can influence some of the enhanced locations features, e.g. the speed can influence the location prediction mechanism.
If we'd like to preserve those null values in our location history files then we'd either have to change the GeoJson model (which will have impact on all other platforms) or we could introduce our own model for location history. WDYT?

@KacperKluka I notice this issue is quite old. Have we seen any evidence that this is causing problems for users? I've relabelled, given I'm currently conforming label usage across our SDKs, however I wonder - on a brief skim read of this issue - whether we could perhaps just close this? 🤔

We have seen no evidence that this is causing issues, it's just a thing I've notice while working on the SDK 😉 I think we can either ask Mapbox about those values and confirm whether they are okay or we can simply close this issue 🤔


Rancher 2.6.2 - deletion of imported downstream RKE2 cluster with CIS profile has stuck "cattle-cleanup" with CreateContainerConfigError

Rancher Server Setup

Rancher version: 2.6.2
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): 1.20.12-rke2r1

Proxy/Cert Details: cert-manager

Information about the Cluster

Kubernetes version: 1.20.12 rke2
Cluster Type (Local/Downstream): downstream / importer RKE2 with CIS profile 1.6
(PSP and Networkpolicies are enabled)
Infrastructure Provider = vsphere

Describe the bug
After deletion of downstream cluster from Rancher I can see this:
kubectl get pods
NAME                         READY   STATUS                       RESTARTS   AGE
cattle-cleanup-5bwnw-spnwp   0/1     CreateContainerConfigError   0          18m

kubectl describe pod cattle-cleanup-5bwnw-spnwp
Name:         cattle-cleanup-5bwnw-spnwp
Namespace:    default
Priority:     0
Node:         rke-test-worker-02/<IP_ADDRESS>
Start Time:   Fri, 05 Nov 2021 13:26:47 +0100
Labels:       controller-uid=c89ec52e-bbd1-46af-a8ed-ade4d516b2bf
              job-name=cattle-cleanup-5bwnw
Annotations:  kubernetes.io/psp: global-restricted-psp

  Warning  Failed     20m (x8 over 22m)    kubelet            Error: container has runAsNonRoot and image will run as root (pod: "cattle-cleanup-5bwnw-spnwp_default(77e35a5e-7605-4bb2-90bd-5c4f784f3bbb)", container: cleanup-agent)

To Reproduce
remove downstream cluster -> cause "cattle-cleanup job" to be created with PSP enabled in RKE2
Result
see above
Expected Result
pod runs as expected and does not fail with configerror
Additional context
It seems that the clusterrole -> ClusterRole/cattle-cleanup-zqtdq does not add the rights to use the PSP system-unrestricted-psp

I agree to the additional context. In my case the creation of a pod for the cattle-node-cleanup job failed with Rancher 2.6.3.
Error creating: pods "cattle-node-cleanup-8nx54-" is forbidden: PodSecurityPolicy: unable to admit pod: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used]
I use a more restrictive standard PSP in the cluster which prohibits the usage of a hostPath volume.
The job should use a specific service account which to which the unrestricted PSP is bound.

This is a duplicate of https://github.com/rancher/rancher/issues/36006

closing as a duplicate based on the last comment


Why are there so many unevenly spaced tick marks on the heatmap legend?

Commit: v0.7.3
Steps to reproduce

Open HiGlass.io
🙄

Observed behavior

Many unevenly spaced pronounced tickmarks are drawn next to the heatmap legend

Expected behavior

Maybe less tick marks and only min, max plus 50% values? Just curious why so many

Because it's log scaled. Tick marks are drawn using D3's default ticks function: https://github.com/d3/d3-array/blob/master/README.md#ticks


Update .travis.yml - testing npm ci

Oh, I was just testing this on a CI server. Didn't had real effect, but it is probably good to have this customisable in the future :)


chore(deps): update various version

This pr updates the following:

Scala 2.13 to the latest 2.13.10
mill-integrationtest to 0.6.1
mill.vcs.version to 0.3.0 and remove the stripping of v (done by default now)
Mill to latest 0.10.8 with a .mill-version file

btw total aside, but I noticed that none of these were caught by Steward when they should have been. I created https://github.com/VirtusLab/scala-steward-repos/issues/98 to follow-up.

Thanks for the follow-up on this. Just let me know what else you need to get this across the board. More importantly, can you also look at https://github.com/DavidGregory084/mill-tpolecat/pull/18.

Thanks @ckipp01 !


503 for nginx download -  https://s3.amazonaws.com/devmynd-github/heroku-nginx-1.6.0.tar.gz

heroku's nginx package went AWOL. In restult I can't deploy :( Is there alternative location available for this file?
-----> Fetching custom buildpack
-----> Ember CLI app detected
-----> Building environment: production

       PRO TIP: Avoid using semver ranges starting with '>' in engines.node
       See https://devcenter.heroku.com/articles/nodejs-support

-----> Requested node range: >= 0.10.0
-----> Resolved node version: 0.12.7
-----> Downloading and installing node
-----> Resolving npm version null via semver.io...
-----> Downloading and installing npm 2.13.4 (replacing version 2.11.3)...
-----> Downloading and installing nginx

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

$ curl -I https://s3.amazonaws.com/devmynd-github/heroku-nginx-1.6.0.tar.gz
HTTP/1.1 503 Service Unavailable
Date: Mon, 10 Aug 15 08:56:14 GMT
Connection: close
x-amz-id-2: k1F3m9rVQtrwmU2a1Ea7eRf33FT2uUs00wJCkPfl9ZWWEg4kzIwBoKUQLSU4n/4d4XvZs5rKfpYiUiPcmzfMTSjyAd6iCx2L
x-amz-request-id: 8AAC2EC2B1CE0B4C
Content-Type: application/xml
Content-Length: 0

Looks like it's fixed now, however it wasn't working for an hour or so :/


Enable script class resource exports.

Closes godotengine/godot-proposals#18 for GDScript. To add support for custom resource exports in other languages, all you would have to do is add script class support to those languages (godotengine/godot-proposals#22) and program their export code to correctly set the class_name and hint_string values for the PropertyInfo object.
Credits:
Much of this work derives from @vixelz's efforts from #26162, so some credit is due there.
Changes:
I have fixed some of the concerns addressed by those who commented on that PR, namely...

regular export hints getting messed up in the process (fixed, screenshot demonstration below)
it operating from scanning an identifier rather than reducing a constant (it now reduces a constant and iterates through languages to check if any of them can find a script class name for the script).

Caveats:
As for using preloaded constants, I have decided to forego any implementation on purpose since...

Preloaded constants only have a name within the scope of the actual script they reside in. When the editor views the name, there is no globally recognizable location in which it can pull the name and convert it into a script instance to test if the assigned resource instance is type-constrained properly.
Non-integer constants are not a concept within the Object API so they cannot be language-agnostically accessed from editor code even if it did know the name of the constant. This point is pretty ironic too since most scripting languages implement their own support for read-only StringName->Variant maps to enable the use of constants anyway. Maybe if that feature became part of the Object API, we would be able to add better support for this as it would be "just another place to check" when examining where a valid inheritor comes from.

Screenshots:
Here are some images of the PR in action. It demonstrates...

Various export hints combined with type hints all working together.
Using a MyResource export hint and assigning to it a DerivedMyResource instance.
The resource dropdown displays the list of types that correctly extend the custom resource script class.
What it looks like when you preload a constant and attempt to export it (you get an error).

Edit: Fixed a bug where the custom resource icons were not displaying in the Inspector. The screenshots are outdated in this respect, so keep in mind that class icons will appear in the resource dropdown menu.

I have discovered a bug thus far where the custom resources do not match up when using MyResource for both the export hint and the type hint. Working on fixing it now.

Hey Will, thank you so much for this!  I tested it out and noticed that while the format export(MyRes) var res worked fine, it doesn't seem to like export var res: MyRes at all.  Would it be possible to support both?

Ah, that's a new error. Haven't tried omitting the export type and inferring it from the type hint. Will take a look at that tomorrow.

This was tested in C#? Apparently i cannot manage to work

This will not work for C# untill script class support is added for it (#22). I am actually currently working on that, hehe.

Commit 1fe8dedf33e7cf1720399174fc2218c72dd3130a causes a merge conflict for your branch. I believe I can resolve it though.

I believe this is the proper fix https://github.com/winadam/godot/commit/952e991fefc8d82d6f138dc450f559bc53630853
1fe8ded replaced tokenizer->advance(); with a macro, so I replaced it in your commit with the marco.

@winadam Thanks for letting me know. I'll push an update to the PR soon.

Rebase is currently blocked by #36162.

Will we have the luck of seeing this in v4? along side resource groups?

@xDGameStudios I'm not sure what you mean by resource groups (there a PR about that I missed?), but yes, I believe this will get merged for the 4.0 release at some point. Probably after all the major core revisions are completed and the master branch becomes slightly more stable.

Hi,
Im using these changes in my project, but im unable to compile working export-templates for any platform. The compilation for those export templates works, but the compiled game doesnt work (crash on windows, "'' is not a valid selector" on html). If i export the project with the 3.2 stable export template, the game works, but is missing all the custom resources.
im currently using thise branch for my project, as the changes in this pull request are making things a lot easier for me (defining data).
Im currently working on a locally compiled version of (https://github.com/Reneator/godot/commits/master_2020).
Is there a plan to get this pull-request into master? or is there anything i can do, to help? (no C/C++ knowledge)

this should be picked for 3.2, it makes working with resources so powerful

Hey, i cloned your repo and tried to build the gdres branch :
$ scons -j8 platform=x11 use_llvm=yes use_lld=yes

[...] #compile fines
[ 38%] Compiling ==> modules/gdnative/pluginscript/pluginscript_script.cpp
[ 38%] Compiling ==> modules/gdnative/pluginscript/register_types.cpp
modules/gdnative/arvr/arvr_interface_gdnative.cpp:290:2: warning: this needs to
      be redone [-W#warnings]
#warning this needs to be redone
 ^
modules/gdnative/arvr/arvr_interface_gdnative.cpp:280:7: warning: unused
      variable 'render_target' [-Wunused-variable]
        RID *render_target = (RID *)p_render_target;
             ^
modules/gdnative/arvr/arvr_interface_gdnative.cpp:304:2: warning: need to obtain
      this ID again [-W#warnings]
#warning need to obtain this ID again
 ^
modules/gdnative/arvr/arvr_interface_gdnative.cpp:302:6: warning: unused
      variable 'eye_texture' [-Wunused-variable]
        RID eye_texture = VSG::storage->render_target_get_texture(*rende...
            ^
[ 38%] Compiling ==> modules/gdnative/videodecoder/register_types.cpp
[ 38%] Compiling ==> modules/gdnative/videodecoder/video_stream_gdnative.cpp
[ 38%] Compiling ==> modules/gdnative/gdnative_api_struct.gen.cpp
4 warnings generated.
[ 38%] Compiling ==> modules/freetype/register_types.cpp
[ 38%] Compiling ==> thirdparty/etc2comp/EtcBlock4x4.cpp
[ 38%] Linking Static Library ==> modules/libmodule_freetype.x11.tools.64.llvm.a
Ranlib Library         ==> modules/libmodule_freetype.x11.tools.64.llvm.a
modules/gdnative/gdnative_api_struct.gen.cpp:60:2: error: cannot initialize a
      member subobject of type 'void (*)(int, godot_rid *, godot_rect2 *)' with
      an lvalue of type 'void (godot_int, godot_rid *, godot_rect2 *)
      __attribute__((sysv_abi))'
      (aka 'void (long, godot_rid *, godot_rect2 *)'): type mismatch at 1st
      parameter ('int' vs 'godot_int' (aka 'long'))
        godot_arvr_blit,
        ^~~~~~~~~~~~~~~
1 error generated.
[ 38%] Compiling ==> thirdparty/etc2comp/EtcBlock4x4Encoding.cpp
scons: *** [modules/gdnative/gdnative_api_struct.gen.x11.tools.64.llvm.o] Error 1
scons: building terminated because of errors.

@astrale-sharp That is probably because it's in the middle of trying to get converted into a 4.0-compatible build. I have a separate gdres-3.2 branch that takes the current 3.2 branch from godotengine/godot and cherry-picks this PR's single commit onto it. Should compile with no issues, afaik.

Rebased

@willnationsdev, I can't find your gdres-3.2. Is there still some chance to find it somewhere?

@willnationsdev, I can't find your gdres-3.2. Is there still some chance to find it somewhere?

you can find it in his personal forked godot repository:
https://github.com/willnationsdev/godot/tree/gdres-3.2
when i looked for it in branches, i couldnt find it, but in the Active category it still exists.

@RandomShaper @Reneator I'm not sure why it wouldn't show up for you. If I just go to my repo and click the branch dropdown, it shows up for me.

@willnationsdev what's the status of this? I'd love to see this in 3.2.4 :)

@MeikelLP I had a port of this for 3.2 in my gdres-3.2 branch. @JFonS updated it to a recent build of 3.2 and has submitted a separate pull request for it (#41264). I actually just recently made a whole bunch of local improvements to this PR (currently in my gdres_gd2 branch - some of which may benefit JFonS's work if he wanted to grab it, drag-n-drop stuff, etc.) and was going to have it fully updated with GDScript 2.0, but the new parser doesn't yet have any validation of data types for export, and as a result, cannot reasonably export resources, let alone custom ones (#42023). So, until that stuff is resolved, this PR is at a standstill. But there's a decent chance support for this will come in 3.2.4, by my guess.

Just an update for folks here. I re-tested the baseline of features in 4.0 to see if I could even properly test whether this PR's code works, and there are still some issues preventing me from doing so (which means there's no point in even updating the PR's code yet). Unfortunately, because exporting basic resources still doesn't work yet, I can't update this PR. See #43904 for details.

A full 3.2 port of this which includes not only GDScript support, but also VisualScript, NativeScript, PluginScript, and C# can now be found at #44879.
After GDNative 2.0 is implemented, I'll have to refactor this PR to do all the same features as the 3.2 port, but building off of the new core foundation for script classes.

A full 3.2 port of this which includes not only GDScript support, but also VisualScript, NativeScript, PluginScript, and C# can now be found at #44879.
After GDNative 2.0 is implemented, I'll have to refactor this PR to do all the same features as the 3.2 port, but building off of the new core foundation for script classes.

After GDNative 2.0 is implemented, I'll have to refactor this PR to do all the same features as the 3.2 port, but building off of the new core foundation for script classes.

Any plans for this?

@Sslaxx This PR is outdated. For updated builds, see #48201 for the 4.0 version and #44879 for the 3.x version.


MetaData -> Metadata

Makes the spelling consistent.
git ls-files -z | xargs -0 sed -i -e 's/MetaData/Metadata/g' -e 's/MetaDatum/Metadatum/g'
rename MetaData Metadata `git ls-files '*.hs'`

Thanks! This was also driving me nuts :slightly_smiling_face:

No problem... can I leave this one with you guys?

Rebased and solved the ambiguity issues.

No problem... can I leave this one with you guys?

yep, absolutely
thank you @mrBliss :) I can run ormolu and figure out why the latex builds are broken


Trying to upload png/json

Hi,
Any Ideas what is going on here?
$ ./arloader upload-nfts inc/a/. --with-sol --sol-keypair-path wallet.json --ar-default-keypair
Uploading assets...
Uploading 598 files with 249510 KB of data in 3 bundle transactions...
bundle txid                                   items      KB  status       confirms
uYpDF2_4DvBywQu2geqXeut4c7C4yMjiC7gQ-UhaZYk     239   98271  Submitted           0
Retrying Solana transaction (1 of 10)...
TOZyZxnOGyra5LPhlEcCO1UgS7sXMnFdC9JrQTxPIyk     236   99834  Submitted           0
Retrying Solana transaction (1 of 10)...
klFh_4YuuKYDphaHmvIEUTcB6K8ErenJfL9JwUduDb0     123   51404  Submitted           0
Uploaded 249510 KB in 598 files in 3 bundle transaction(s). Run arloader update-status inc/a/arloader_Bhd-BmCczr0/assets/ to update statuses.
Uploading manifest for images...
Uploaded manifest for 598 files and wrote to inc/a/arloader_Bhd-BmCczr0/assets/manifest_Lgp1zj-QYDn9yaXKsiaxpJAOkTdrfXETTYn6KaCGG0Q.json.
Run arloader get-status Lgp1zj-QYDn9yaXKsiaxpJAOkTdrfXETTYn6KaCGG0Q to confirm manifest transaction.
Updating metadata with links from manifest...
Error: SerdeJson(Error("EOF while parsing a value", line: 1, column: 0))

maybe the metadata file has an unexpected format - can you post a sample here?

it works if I only do one, it is a problem when I do large numbers,  ALso I just need to update the description. I don't really need to reupload the images.  Can I just upload *.json and get the format I need for metaboss?
{
"name": "Citizen #437",
"symbol": "",
"description": "Citizens",
"seller_fee_basis_points": 700,
"image": "https://arweave.net/mhiN8mYYiaanTBLx6QqJtbKh9RIr8iHlZce_05IdD5hg",
"external_url": "https://xxxxxxxx.com/",
"animation_url": "",
"collection": {
"name": "SCUM Citizens",
"family": "SCUM"
},
"properties": {
"files": [
{
"uri": "https://www.arweave.net/_BwnmYPFo6q0mhNkjs_HmmPebLpgUUBKw6rOvzfoSdI?ext=png",
"type": "image/png"
},
{
"uri": "https://arweave.net/mhiN8mYYiaanTBL6QqJtbKh9RIr8iHlZce_05IdD5hg",
"type": "image/png"
}
],
"category": "image",
"creators": [
{
"address": "mhiN8mYYiaanTBL6QqJtbKh9RIr8iHlZce_05IdD5hg",
"share": 100
}
]
},
"attributes": [
{
"trait_type": "Background",
"value": "White"
},
{
"trait_type": "Body",
"value": "Purple"
},
{
"trait_type": "Side",
"value": "Jetpack Green"
},
{
"trait_type": "Face",
"value": "Cigar"
},
{
"trait_type": "Eyes",
"value": "Glasses Red"
},
{
"trait_type": "Head",
"value": "None"
}
]
}

Yes
On Wed, Mar 23, 2022, 1:17 PM ryansorr1 @.***> wrote:

it works if I only do one, it is a problem when I do large numbers, ALso I
just need to update the description. I don't really need to reupload the
images. Can I just upload *.json and get the format I need for metaboss?
{
"name": "Citizen #437",
"symbol": "",
"description": "Citizens",
"seller_fee_basis_points": 700,
"image": "https://arweave.net/mhiN8mYYiaanTBLx6QqJtbKh9RIr8iHlZce_05IdD5hg
",
"external_url": "https://xxxxxxxx.com/",
"animation_url": "",
"collection": {
"name": "SCUM Citizens",
"family": "SCUM"
},
"properties": {
"files": [
{
"uri": "
https://www.arweave.net/_BwnmYPFo6q0mhNkjs_HmmPebLpgUUBKw6rOvzfoSdI?ext=png
",
"type": "image/png"
},
{
"uri": "https://arweave.net/mhiN8mYYiaanTBL6QqJtbKh9RIr8iHlZce_05IdD5hg",
"type": "image/png"
}
],
"category": "image",
"creators": [
{
"address": "mhiN8mYYiaanTBL6QqJtbKh9RIr8iHlZce_05IdD5hg",
"share": 100
}
]
},
"attributes": [
{
"trait_type": "Background",
"value": "White"
},
{
"trait_type": "Body",
"value": "Purple"
},
{
"trait_type": "Side",
"value": "Jetpack Green"
},
{
"trait_type": "Face",
"value": "Cigar"
},
{
"trait_type": "Eyes",
"value": "Glasses Red"
},
{
"trait_type": "Head",
"value": "None"
}
]
}
—
Reply to this email directly, view it on GitHub
https://github.com/CalebEverett/arloader/issues/20#issuecomment-1076779715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEIMQYDEVUTIEKBK7PQGGLVBN363ANCNFSM5RO2FPSA
.
You are receiving this because you commented.Message ID:
@.***>

I have tried several times and I it always seems to fail, whether its the above error, solana transaction error or Not found error.  I have tried setting the reward multiplier to max 3.0.
If I just upload the json files I get no error but then nothing gets confirmed always just says NotFound.  So figured it needed the png files too.

I can jump on discord chat with you at 3pm pacific.

The gateway has been struggling of late, so sometimes the responses are delayed.

Let me know when is good.

for help? any time?

Ok, can you dm me on discord at Caleb#9071


better handling for dynamic mac lookup

PR introduces additional logic to better handle correct interface detection when boot interface changes across multiple instance types.
Currently supports instances with a maximum of 4 interfaces, but this can be changed to accommodate more if needed.

try the newer generation or larger instances. I have been using n3.xlarge instances for some testing, and they always show up with net2.


Album Artwork

Love this application! I was just wondering if it would be possible to display album artwork on the rich presence panel when you click on someone's name instead of just the iTunes icon.
I know that there is a way to set a custom image for this, but I'm not so sure about how to do this dynamically. There must be a way though seeing as though when you play a game like League of Legends it actually displays the Champion you're playing as in the picture. For the native Spotify integration they are able to do this as well.
So, with all that being said, I wonder if that would be possible to do with this iTunes version.
Thanks for the amazing work on this fun little application. 👍

Duplicate of #24, #22, #18. Not possible as you are only able to use 100 images that you have uploaded to the discord site. League works because they have fewer images than that, and Spotify works because it is officially developed by discord and Spotify Devs so it has special abilities.


Remove some duplicated member functions in Context

Enhancement
Some member functions in Context are duplicated.
    DatabasePtr getDatabase(const String & database_name) const;
    DatabasePtr getDatabase(const String & database_name);
    DatabasePtr tryGetDatabase(const String & database_name) const;
    DatabasePtr tryGetDatabase(const String & database_name);

    Databases getDatabases() const;
    Databases getDatabases();

I would like to help~

I would like to help~

Thank you very much. Please open a pull request when your code is ready.

I would like to help~

Thank you very much. Please open a pull request when your code is ready.

In fact, I have some trouble building the project, I've opend https://github.com/pingcap/tiflash/issues/4771

Hey @JinheLin, I think I may have trouble understanding the issue, could you please clarify in which way the methods are duplicated? Do you mean remove the non-const version, or remove Context::getDatabase and only use Context::tryGetDatabase ?

Removing the non-const version is enough and there should be no effect on other code.


no applicable aggregate method 'include(Child)' exists"

Hello,
I have been using this library and got stuck with this issue.
When querying a database table using EFCore,
DbSet.Include does not seem to work
Below is sample entity/table structure
Entity Parent
{
string id
string name
Entity child
}
Entity Child
{
string id
string parentId
string role
}
parentDbSet = "DbSet"
Expression: "parentDbSet.Include(i=>i.Child)"
Fails with the error
no applicable aggregate method 'include(Child)' exists"
Can please let know, if the rule engine does support EntityFrameworkQueryableExtensions methods
PS: I tried to pass the Child Entity and EntityFrameworkQueryableExtensions as RESettings, no luck either
var reSettingsWithCustomTypes = new ReSettings { CustomTypes = new Type[] { typeof(Child), typeof(EntityFrameworkQueryableExtensions) } };
var rulesEngine = new RulesEngine.RulesEngine(workflow.ToArray(), reSettingsWithCustomTypes);
var rp1 = new RuleParameter("parentDbSet", parentDbSet);
List response = await rulesEngine.ExecuteAllRulesAsync("workflow", rp1);

what version of EF are you using?  are the proper dependencies included?


Replace seamapi with @seamapi/http

https://github.com/seamapi/react/pull/633#discussion_r1607348166


Document and add unit tests to current i24 SSX code

The current I24 SSX code lives at /dls_sw/i24/scripts/serial-collect/ we should understand it better before trying to reproduce it in Artemis.
Acceptance Criteria

There is documentation for what this code is doing and how it differs from Artemis
Optionally there are some unit tests covering this code that we can use to confirm Artemis behaviour

Bits and pieces of code being collected in mx_bluesky12

closing because this is an mx_bluesky thing now


tfSetNoRipple ineffective when creating a new trust line

It appears that tfSetNoRipple is ineffective when used in a transaction that creates a new trust line. If used in a following transaction to modify the same trust line it works as expected.
Tx BBC1B69083937F3F2A0A9FCEC24E37E540CF00140F6B9B9A4BB0A4FBCCD8F45F creates a trust line but lsfHighNoRipple is not set in the created node (nor does it appear to be set when querying the trust lines with account_lines).
Tx 8CD0E7FADFC397976F30D6EEDD06EFA9E27F87AF0B12C353DA95BE06CB9742CB adjusts the same trust line again using tfSetNoRipple. Now lsfHighNoRipple is in the flags for the modified node and no_ripple: true appears with account_lines.

Obsolete


Vesting withdraw action should check token balance existence

it's possible now to start vesting withdraw without token balance.
note: user can close token balance after initiating withdraw, so it's existence should also be checked in timeoutconv (will be implemented in #549)

PR #743


MVP-423: Added basic configs

🎯 Summary

MVP-423

🔰 Checklist

[x] I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.

I have performed a self-review of my code.
I have commented my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation where required.
I have tested my changes to the best of my ability.
I have consulted with the team if introducing a new dependency.
My changes generate no new warnings.

fails all zero of the tests. looks good.


Where to post questions?

I've seen no information where to ask questions. Should it be done here or is there a forum? I've posted one at stackoverflow but not even a bounty raised attention.

Sorry we don't look much at stackoverflow, we probably should. We do try to be responsive to issues here however.

It is probably very easy but I couldn't find how to add a new layer below the labels for deck.gl which uses Mapbox GL JS under the hood. For mapbox gl it is explained here.

I searched their docs also for z-index or picking the label layer from the vector tiles source but without success so far.

About your issue:

If your question related to relative rendering order of deck.gl layers then maybe this section in the docs helps?
Looking at your question in another way: we don't currently support interleaving deck.gl layer with mapbox style layers. deck.gl layers are always on top of the base map (and its labels). We are working with mapbox to see if we can change that in the longer term, but for now that is the situation.
An extreme approach to get around the mapbox/deck limitation is to wrap deck.gl in two mapbox instances, but that has its own complications and limitations so it really depends on your app.

We do try to be responsive to issues here however.

Great thanks - maybe write this into "help section"?

About your issue

Thanks - understood. I think point 2 answer my question as I would need

vector tiles without labels
custom layer
only labels of vector tiles

Is there already an issue for this feature request that we can reference here or at SO?


TailwindCSS Example

Feature Request
Create an example for using TailwindCSS.

For now, see https://github.com/aklinker1/github-better-line-counts

What kind of example are you looking for, to cover TailwindCSS usage?
I just followed the official Tailwind PostCSS implementation and it just works.
Asking as I can see you have plans for many cool features, so maybe example(s) are something I can help with.

Yes, that is exactly it. Just follow the postcss guide they provide, and it will work. But someone new to web development might not understand how to setup WXT and setup tailwind, it's hard when learning multiple new tech at once. So having an actual working code example for someone to reference might be worthwhile. Without knowing WXT uses Vite, or what Vite is, they might not realize it uses postcss.
I appreciate your offer for help! Let me sort out a good solution to documenting the examples better, and get your feedback on it to see if it's better. Then I'd appreciate any help you could provide!

New example setup is complete and available on the website: https://wxt.dev/examples.html
I'll add this example next.


Initial commit for structured logging

Upgrade to use structured logger package instead of the standard logger package. I left the standard logs to be used wherever it doesn't make sense to use structured logging. For example, for logging Memory, I left the standard logger instead of switching to the structured logger because it is unlikely that anyone will search datadog for memory logs.
Motivation

Solution

Open questions

logs previously

Updated Logs

There are a lot of commits in this PR, can we squash them?

Upgrade to use structured logger package instead of the standard logger package. I left the standard logs to be used wherever it doesn't make sense to use structured logging. For example, for logging Memory, I left the standard logger instead of switching to the structured logger because it is unlikely that anyone will search datadog for memory logs.
Motivation
Solution
Open questions
logs previously
Updated Logs

I like those 'INFO' marks. Should we do this for error and warning messages as well?

Upgrade to use structured logger package instead of the standard logger package. I left the standard logs to be used wherever it doesn't make sense to use structured logging. For example, for logging Memory, I left the standard logger instead of switching to the structured logger because it is unlikely that anyone will search datadog for memory logs.
Motivation
Solution
Open questions
logs previously
Updated Logs

I like those 'INFO' marks. Should we do this for error and warning messages as well?

I believe they should have them for error and warning messages too! I'm going to force an error and a warning to get screenshots for them tom morning


.NET 5 WPF application file release cannot initialize CEF

Try to synchronize the referenced dll and related files in the release folder, but it doesn't seem to work.

Did you follow the .Net Core instructions?  https://github.com/cefsharp/CefSharp.MinimalExample#net-core-support
If you require further assistance then please answer the questions listed at https://github.com/cefsharp/CefSharp/wiki/Questions-&-Support#when-asking-a-question-please-include-the-following


All messages are treated as INFO in console

When executing all liberty tasks, I found the messages esp the server side messages from liberty are all displayed as INFO, even it is an error, it is very not friendly for developers.

@hantsy Were you using the run goal? If so, I believe our plugin is simply displaying the content of the messages.log from Liberty and is not examining the contents. Have you tried our dev mode with the dev goal? Wondering if the experience would be better.

Most of the time, I ran liberty:run.
So the plugin only simply bump the message.log to console, can not hightlight the error with a different color?

A coworker confirmed the same behavior for the dev goal. We will take this issue as a request for enhancement on how we display those messages from the Liberty server. Thanks for the feedback.

I wonder if it'd be an option to work with the color escape codes such that we could display something like:

INFO(in blue) :  ERROR (in red):  message

And perhaps it'd be just as easy to change the "outer" message at that point, the one issued by the Maven layer, (as opposed to the inner message issued by Liberty)....just thinking out loud.
Good suggestion though.

My preliminary testing at overriding this behavior in CommonLogger indicates that the process that is logging the messages from the Liberty server to the console/terminal is not using our CommonLogger (for the run or dev goal). I'm not sure we can make the requested change. I will leave this open for further investigation.

We prototyped adding some color into the logs.
Option 1) color the severity coming from the Liberty server messages

Option 2) color the whole Liberty server message

@hantsy do you feel like either of these help for easier log scanning?

@hantsy Note that we plan on leaving the outer log severity at INFO since these are not plugin errors/warnings, they are Liberty server errors/warnings. But color coding either the entire inner server message or just the inner severity are both feasible. Look forward to your input.

@evie-lau Option 2 is preferred for developers, highlighted the whole message info from server side if it is not a INFO level.

@hantsy I published a 3.8.3-SNAPSHOT containing this fix.


[TwitterKit] Cannot verify session credentials. [TWTRURLSessionDelegate] Cancelling API request, SSL certificate is invalid.

getting SSL certificate issue on ios

Same here

Any update on this?

Is there any hope for this issue  ?

check this blog if it helps https://erangad.medium.com/twitter-x-oauth-2-0-social-login-in-react-native-27d02df6f2bb


update nsq-ruby dependency

Update nsq-ruby dependency to include fixes from https://github.com/wistia/nsq-ruby/issues/34

Awesome! Nice work pushing for a fix upstream.


Enable leveraging Maven Session to stage Habushu-type dependency source files to the module directory

Overview
Currently, Habushu supports retrieving wheels from a custom cache to enable modules to stage locally developed wheels. However, this approach is brittle (when handling path-based dependencies) and requires the user to list the dependencies twice in their module (once for the retrieve wheels goal, and once as a maven dependency).
Instead, by emulating the maven-dependency-plugin:unpack-dependencies goal, Habushu would be able to retrieve monorepo dependency source code AND retrieve any transitive path-based dependencies. This will remove significant burden from the user, and enable a more resilient pattern for making locally developed monorepo dependencies available to other modules in the monorepo.
Definition of Done

[ ] Implement test code for the BDD scenarios (below)
[ ] Implement the scenarios
[ ] Add documentation for the new goal
[ ] Update the release notes (via PR blurb)
[ ] Deprecate cache-wheels and retrieve-wheels goals

Implementation Details

Check the pom for any Habushu-type dependencies and recognize them as needed monorepo dependencies
Leverage the Maven session to copy monorepo dependency source files to the docker build context
Examine any transitive path-based monorepo dependencies and also stage those source files (while maintaining the existing relative structure)

Identifying any transitive path-based dependencies will be facilitated by looking the pom/maven session (as in NOT examining the pyproject.toml files)

BDD Scenarios
# to be implemented for this issue
Scenario: One Habushu-type dependency is specified with the default configuration
  Given a single Habushu-type dependency
  When the stage-dependencies goal is executed
  Then the source code for the dependency is staged in the build directory
  And all transitive Habushu-type dependencies are staged in the build directory
  And the relative directory structure is preserved

# future scenarios
Scenario: Multiple Habushu-type dependencies are specified with the aggregate configuration

Scenario: Multiple Habushu-type dependencies are specified with the default configuration

DOD completed with @ewilkins-csi

OTS completed with @Carter-cundiff

Testing passed:


Namespaces in nullable nodes

Test code:
        var config = new ConfigurationContainer().EnableImplicitTyping(typeof(Book));
        config.Emit(EmitBehaviors.Always);
        var serializer = config.Create();
        Book book = new Book()
        {
            Author = "Jack London",
            Title = "The Call of the Wild",
            ISBN = null
        };

        var contents = serializer.Serialize(new XmlWriterSettings { Indent = true,  }, book);

This creates:
 <?xml version="1.0" encoding="UTF-8"?>
<Book>
<Author>Jack London</Author>
<ISBN xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<Title>The Call of the Wild</Title>
</Book>

But I want to have:
 <?xml version="1.0" encoding="UTF-8"?>
<Book>
<Author>Jack London</Author>
<ISBN nil="true"/>
<Title>The Call of the Wild</Title>
</Book>

Kind regards,

Cool @pvlgk thank you for sharing.  If I am not mistaken, that would make nil within the namespace of the default namespace, which is undefined in the document.  As I understand it, http://www.w3.org/2001/XMLSchema-instance must be declared as a namespace within the document element order so that its attributes can be recognized as such when being read in by a supporting serializer.  I would be interested in hearing if I have this wrong.  Also, if you are looking to make it prettier, you can use UseOptimizedNamespaces and it will put the xsi namespace at the root element.  Or at least it should. 😄

Understood. Another question. Is it possible to control  which attribute is serialized and which is not?
In a standard solution, I achieve this with the help of propert  ShouldSerialize...
public int? NoOfPages { get; set; }
    public bool ShouldSerializeNoOfPages
    {
        get
        {
            return NoOfPages.HasValue;
        }
    }

You can make use of the EmitWhen call, which keeps your POCO plain by keeping attributes out of the picture. 😆
new ConfigurationContainer().Type<Class>().Member(x => NoOfPages).EmitWhen(x => x.NoOfPages.HasValue).Create();

Should do the trick for you... let me know if you run into any problems @pvlgk!

Alright, sounds like we got this issue solved for you.  Please feel free to comment if you have any additional questions and we'll re-open it for you. 👍


Remove use of $page.query

@ABarnob looks like I was wrong in https://github.com/svelte-society/sveltesociety.dev/pull/108 that it was a SvelteKit bug and it was really a bug in the implementation, so maybe I shouldn't have merged it yet (more details available in the issues linked to from https://github.com/sveltejs/kit/issues/2444#issuecomment-921092592). Do you think you could fix it?
We'd either need to not prerender the page (e.g. switch from adapter-static to adapter-netlify) or update the dropdown in onMount using location.search). The latter seems potentially safer because it's a code change only and doesn't involve the possibility of needing to make any hosting changes, but @kevmodrome could weigh in if he feels differently

I've read through corresponding issues. But I'm not entirely sure about the specific reason behind not being able to use $page.query with pre-rendered pages. Would you please explain it to me?

A pre-rendered page is one that gets rendered and saved to HTML during build-time. The query could be anything at runtime. Thus, you can't precompute the page contents at build-time based off what the query is because we don't know yet since its value could change.

Ah! Right. Thanks for clarifying @benmccann


Make Emacs, Sublime, and vim plugin support same set of features

As I've been working to improve the Sublime plugin, I've enhanced the command-line interface to support more usecases. I've noticed that the Emacs plugin only supports a subset of the commands available:

Import single variable
Goto

The Sublime and vim plugins both support all of these commands:

Import single variable
Import all undefined variables
Fix imports
Goto

They're also able to resolve variables that resolve to multiple js modules by bringing up a selection list to pick from.
I want import-js to be the same across the board, and it would be great if Emacs could catch up. @kevinkehl: would it make sense for the Emacs plugin to also use the command line tool? I know that it uses a buffer to send messages back and forth, but there might be some things there that could be simplified by using the cli tool instead. import-js has since the first release been enhanced in a number of ways:

The resulting content is written to stdout, and nothing else
stderr is used for messaging - it will contain a json string with messages and ask_for_selections keys.
When the user has selected something (because ask_for_selections was in the json), you can rerun the command and pass in the selection using --selections foo:1,bar:3.
If --goto is passed in, the stdout will contain a path to the file to open.
--goto can also be used together with --selections.

I'm happy to work on this if you don't have time/feel up for it @kevinkehl. But it would be good to hear your thoughts first.

Let me check it out. I'll have to read how the others work. What I didn't want to do is spin up a new RVM for every time you want to use the tool, which is what would happen if you shell out every time. However, the functions specified should be quite easy to implement. The selection list might be a little more complicated, but not too difficult.

Ah that makes sense. Yeah, I'd say selections were 50% of the time spent on the Sublime plugin (and that was after @janpaul123 set up the whole integration). But it would be good to get done.
import-all and fix-imports shouldn't be too involved I think.

I'm going to implement fix_imports, but not expose an api to do just import_all. I don't think that adds value (why import all and not fix?) and could add some confusion.

I agree with you @kevinkehl. I'll go ahead and remove import-all. I'll probably improve performance of fix-imports first, right now it uses two calls to eslint.


Question: is encryption supported for the metadata?

Is it currently supported to also use encryption in the metadata?
Currently you can set certificates and keys and it generates something like:
<KeyDescriptor use="signing">
</KeyDescriptor>

But in our case we also need one for encryption as wel so we get something like:
<KeyDescriptor use="signing">
</KeyDescriptor>
<KeyDescriptor use="encryption">
</KeyDescriptor>

This would be awesome!

This bundle's uses aerialship/lightsaml and it does not implement encryption of the SAML messages in it's current version, though it's able to build metadata with both usage keys. So, making metadata as you stated is possible, but decryption of the received assertion response is not. It's v2 is under progress in tmilos/lightsaml and it will implement encryption and decryption

Ok, but I already see code in the aerialship/lightsaml library like "USE_ENCRYPTION", is there a way we can implement this ourself?

That's the constant name holding one of valid values for property use of KeyDescriptor as defined by SAML Core, but there's no logic implemented yet in v1 that does the encryption. Guess the way to do it yourself in v1 is to override AerialShip\SamlSPBundle\Bridge\AssertionConsumer::getSingleAssertion().
Sorry, I'm unable to provide timeline for v2. I'm tight with time available for it, but I hope it might be released some time during the summer.


Updating the CONTRIBUTING.md to match what we have in Helm, I also ad…

Updating the CONTRIBUTING.md to match what we have in Helm and added a section to denote the requirements for GPG.

@mattfarina all your changes have been made.

I am ok with the approach. @mattfarina thoughts?


Ensure compatibility with github authentication changes

GitHub made changes to the supported RSA keys and ciphers.
We need to ensure UniPipe Service broker stays compatible to them.
https://github.blog/2021-09-01-improving-git-protocol-security-github/

Note: I think this is addressed by our official terraform module, which switches to ECDSA keys https://github.com/meshcloud/terraform-gcp-unipipe/blob/main/main.tf

fixed in v1.5


New "colorCustomizations" options "editor.findMatchForeground" & "editor.findMatchHighlightForeground"

I'd really love to see the 2 options editor.findMatchForeground & editor.findMatchHighlightForeground. Without those I can barely use editor.findMatchBackground & editor.findMatchHighlightBackground with a "strong" accent color since I don't find no background color which won't destroy contrast in some situations if I can't define the accompanying text color:

Right now I'm not using the custom background for my find matches & highlights at all but only use borders, which looks like this:

The solution with borders is kind of ok, but really just a workaround. Strong backgrounds would increase the visibility of find matches a lot.

Took a look.
There's a rule being added for .monaco-editor .findMatch that sets the background colours. However, adding a foreground colour to that same selector does nothing, so the fix isn't as simple as I expected.

I haven't been able to get this working either, similar issues.
I believe that the color doesn't work because the dom element that has the .monaco-editor .findMatch selector doesn't contain the text element of the search string.
Is there a way to access that element from the findWidget?  If somebody can give me a pointer for this, I should be able to solve the problem.
For example, in this screenshot, a class needs to be added to "test".

@rzhao271 When you want to tweak the text color, then the inlineClassName can be used to add a class name to the  elements that contain the rendered text.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


SEC-168 - There are various kinds of index-linked bonds, not all of which are variable principal (WIP)

Signed-off-by: Elisa Kendall<EMAIL_ADDRESS>Description
Broaden the definition of fixed income security to note that what is fixed is the payment schedule, not the payment amount, and revised the hierarchy and definitions related to index-linked bonds and inflation-linked bonds in particular
Fixes: #1611 / SEC-168
Checklist:

[x] I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
[x] My contribution follows the principles of best practices for FIBO.
[x] My changes have been reconciled with latest master and no merge conflicts remain.
[x] This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
[x] Hygiene tests have been applied by a PR with "(WIP)" in title.
[x] The issue has been tested locally using a reasoner (for ontology changes).

@ElisaKendall is this ready for review?
(Note that this still has the WIP status.)

@ElisaKendall is this ready for review? (Note that this still has the WIP status.)

Now after this latest commit it is.  I'll remove the WIP status so that we can integrate the changes.


Thank you!

I had a great experience at this class.  I am looking forward to taking the f2 course this fall!
-Thomas Keefe

Thank you for coming, and thank you for the feedback!


androidtv.adb_command is missing in services

I have issue after updating HA to 0.1 version.
the service "androidtv.adb_command" is missing.
What could cause this ?
this is my system info:

arch
aarch64

dev
false

docker
true

hassio
true

os_name
Linux

python_version
3.7.4

timezone
Asia/Jerusalem

version
0.100.1

virtualenv
false

That is not something the add-on provides.
You are asking about services in Home Assistant. That is where you should be for that specific question.


How to make obj file in custom datasets?

Hello, I'm trying to process this code, however, I cannot make obj file of my custom datasets.
I'm using Tanks&Temples, NeRF-synthetic, mipnerf360 dataset, but there is no obj file.
Could you explain more details how to make obj file?

Hi @iamblitzcrank @ansj11 ,
Sorry for the confusion. The input mesh can be any format supported by trimesh, including .obj, .ply, etc. We have added a corresponding config modification in the latest commit.
For example, the default mesh reconstruction from colmap is meshed-poisson.ply. In this case, please set the meshName (L105 in config/parameter.py) as meshed-poisson.ply and this will probably work.

Hello, I'm trying to process this code, however, I cannot make obj file of my custom datasets. I'm using Tanks&Temples, NeRF-synthetic, mipnerf360 dataset, but there is no obj file. Could you explain more details how to make obj file?

These datasets may only contain multi-view images (and colmap sparse reconstruction). We need to perform dense multi-view stereo and mesh reconstruction to get the mesh for each scene, for which agisoft metashape or COLMAP are strongly recommoned. For more details, please refer to the Multi-view 3D reconstruction (A.K.A. Photogrammetry) session in the README.

Thanks for your response!

I'll check about it. Thanks!


(PUP-4082) Make unfold of undef produce nothing

Before this commit, an unfold of undef would be treated like unfold of
any other value - i.e. wrapping it in an array, and then depending on
context unfold the result into that context.
It is more natural that an unfold of undef leads to nothing - i.e that
undef is turned into an empty array, that when unfolded in context adds
nothing.
Thus *undef and [] has the same result.
In options for case and selector expressions, if a *undef is used as an
option, that option will not match any value, not even undef or an empty
array.

CLA signed by all contributors.

Travis hiccup - restarted job


feat: DeleteAll match pattern

Description
Add support for a match pattern for deleting a selected set of keys.
Additional change potentially breaking:

align 404 to null for: delete (was null), stats (was false), and deleteAll (was false).

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

nvm - I see that the test is there where deleteAll should delete everything. Giving me nightmares if somehow I had a typo in there or wrong/null object. Perhaps as a "confirmation" step, where if you really want to deleteAll it should really be deleteAll({ match: '*' }) WDYT?

nvm - I see that the test is there where deleteAll should delete everything. Giving me nightmares if somehow I had a typo in there or wrong/null object. Perhaps as a "confirmation" step, where if you really want to deleteAll it should really be deleteAll({ match: '*' }) WDYT?

yes felt this too, now the issue is that we already exposed deleteAll()... and because this is already used as part of the  deleteService we would need to make it a breaking change. Which could be acceptable at that point, wdyt?


Charts scaling

Chart scaling is not as it should be. It seems the scaling makes the candles flat. Maybe it is because logarithmic scaling is set by default and since the price movements are not significant enough... the log scale makes the chart look awful.
Maybe removing log scale by default can help. Also, defaul should be something more like 15min timescale or even maybe a 1h scale.

@siulynot
The chart values are not actually scaled in any way. The original values that are received through the API are displayed on the chart.
https://imgur.com/a/kWMoo
In the image above you can see some of the values. The row is consisted of: timestamp, open, high, low, close, volume.
As it can be seen in the image, the values for open, high, low and close are the same, that's why the candles are flat.
I guess 1 minute (the current default time frame) is not enough time for the price to change in any meaningful way.
https://imgur.com/a/L4Xte - here's how the chart looks like with a 1h time frame.
Maybe we should go with 1h as the default time frame.

@petitPapillon
In that case we can try to set default timescale to 1hr... that way there is a better view of the charts once they start collecting data.


Click on Recent Transaction on Keypad leads to an iFrame error

Should resolve on an invoice detail I believe.
Hover shows the proper URL with the invoices/{invoiceID}, but clicking on it keeps/resolves to the /pos URL, and the error below.
Might be a known issue, but tracking regardless.

I think we resolved this one now.


You stated to use this via gradle we have to fill in x.x.x which begs the question what on earth is current release version? Where can I find it?

I think I found it https://github.com/emilsjolander/StickyScrollViewItems/commit/21e89abc441c752b06894bde1efc7c6ac11b9ad4#diff-503f218d646c10f484fdc9d6315bf2e3
1.1.0
I put that in my dependencies, and it seemed to compile correctly.  Haven't tried actually using this library yet, but wanted to put in my 2 cents asap to help you.

This one got me too!
Check the RELEASES tab (besides "34 commits", "1 branch"), all versions have been listed there.


Replace cert-manager with internal cert

We don't want a dependency on cert-manager and it also complicates the user experience by requiring they install it on their cluster beforehand. We should migrate to using internal certs.
See https://github.com/kubernetes-sigs/kueue/pull/265 for example

It would be best to prioritize this and have it as part of 0.1.0 release.

Hello, jobset community :)
Do you plan to provide the component config like kueue to enable configurable cert settings such as whether the users use internal cert or cert-manager and so on?
https://github.com/kubernetes-sigs/kueue/blob/9ca57c86cf06c11a94a2d5b7badf60233a51a2f2/config/components/manager/controller_manager_config.yaml

Hello, jobset community :)
Do you plan to provide the component config like kueue to enable configurable cert settings such as whether the users use internal cert or cert-manager and so on?
https://github.com/kubernetes-sigs/kueue/blob/9ca57c86cf06c11a94a2d5b7badf60233a51a2f2/config/components/manager/controller_manager_config.yaml

Hello and welcome :)
Yes, for sure, do you mind opening an issue to track it?

Hello, jobset community :)
Do you plan to provide the component config like kueue to enable configurable cert settings such as whether the users use internal cert or cert-manager and so on?
https://github.com/kubernetes-sigs/kueue/blob/9ca57c86cf06c11a94a2d5b7badf60233a51a2f2/config/components/manager/controller_manager_config.yaml

Hello and welcome :)
Yes, for sure, do you mind opening an issue to track it?

Oh, sounds great!
I will create an issue, and I will help with introducing the component config to the JobSet.


"Could not find a declaration file" error when compiling with version 0.601.1

I have a Dependabot PR to "bump cdk-iam-floyd from 0.507.0 to 0.601.1" in a private project. When running tsc in this PR there's a new error:
> tsc

foo.ts:4:20 - error TS7016: Could not find a declaration file for module 'cdk-iam-floyd'. '…/node_modules/cdk-iam-floyd/lib/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/cdk-iam-floyd` if it exists or add a new declaration (.d.ts) file containing `declare module 'cdk-iam-floyd';`

4 import { S3 } from 'cdk-iam-floyd';
                     ~~~~~~~~~~~~~~~

The @types/cdk-iam-floyd package does not exist, and I'm reluctant to go down a rabbit hole with creating a .d.ts file without knowing what the actual issue is, or whether this is a bug in the package. What should I do?

Thanks @l0b0, I'm on it. I was cleaning up the .npmignore yesterday and now have learned, the rule order actually matters. Will release a fix soon.


huber_ipw_forest may return NaN

Under certain conditions, "huber_ipw_forest_cf" and "huber_ipw_forest" may return some NaN. The error is due to a division by 0 in lines 290 to 296 because either 1-p_x = 0 or p_x = 0. These forest estimators return a random result even for a fixed seed so the bug is quite rare, but reproducible for a hundred iterations or so.
Code :
import numpy as np
from numpy.random import default_rng
from med_bench.src.get_simulated_data import simulate_data
from med_bench.src.get_estimation import get_estimation

data = simulate_data(1000, default_rng(321), False, False, 1, 5, 123, "continuous", 0.5, 0.5, 0.5, 0.5)
x = data[0]
t = data[1].ravel()
m = data[2]
y = data[3].ravel()

estimator = "huber_ipw_forest"
for _ in range(1, 100):
    res = get_estimation(x, t, m, y, estimator, 5)[0:5]
    if np.any(np.isnan(res)):
        print(res)

Output :
~/med_bench/src/benchmark_mediation.py:290: RuntimeWarning: invalid value encountered in true_divide
  y1m1 = np.sum(y * t / p_x) / np.sum(t / p_x)
~/med_bench/src/benchmark_mediation.py:295: RuntimeWarning: divide by zero encountered in true_divide
  y0m1 = np.sum(y * (1 - t) * p_xm / ((1 - p_xm) * p_x)) /\
~/med_bench/src/benchmark_mediation.py:296: RuntimeWarning: divide by zero encountered in true_divide
  np.sum((1 - t) * p_xm / ((1 - p_xm) * p_x))
~/med_bench/src/benchmark_mediation.py:296: RuntimeWarning: invalid value encountered in double_scalars
  np.sum((1 - t) * p_xm / ((1 - p_xm) * p_x))
(nan, nan, 2.7370075614318736, nan, nan)

In this case, I believe p_x = 0.
Note : It's really hard to make "huber_ipw_forest_cf" fail compared to "huber_ipw_forest".

@brash6 @judithabk6 @bthirion @zbakhm


ACME v2 and Wildcard Certificate Support is Live

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
Implement wildcard support in cert-manager
https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579
What you expected to happen:
Implement wildcard support in cert-manager
https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Cloud provider or hardware configuration**:
Install tools:
Others:

#309

I think this issue can be closed as a duplicate of https://github.com/jetstack/cert-manager/issues/273#issuecomment-372750326

Yep, closing in favour of #273
/close


GEOWAVE-346: landsat8 utilities and raster support updates

Changes Unknown when pulling 2c37cf66c721e85c4ccea4abb09841459fe572ac on GEOWAVE-346-pr into ** on master**.

Changes Unknown when pulling 21d39aeff3db6348ecafe0af509324788b7403d6 on GEOWAVE-346-pr into ** on master**.

Changes Unknown when pulling d1cff7c57afa49575736aedebee2a9d40e7ae9b6 on GEOWAVE-346-pr into ** on master**.


[BUG] Content not shifted up when keyboard shows in chat rooms

Rocket.Chat.Android version: latest build from the develop-2.x branch
Emulator: Pixel 2 (API level 26)
The following screenshots clarify the issue:
The keyboard hides the content:

After being fixed, it looks like this:

@filipedelimabrito @rafaelks @leonardoaramaki, since this is a minor issue, so I'll be fixing this in https://github.com/RocketChat/Rocket.Chat.Android/pull/775 itself.

@aniketsingh03 is it already fixed on that PR?

Yeah, I have fixed already fixed it @leonardoaramaki , do you want me to submit a new pr for it?

@aniketsingh03 No, but I was going to address this issue on a branch I'm working on. But since you did that, better yet. This is an annoying behavior. I'll have a look at your PR. Thanks!

This is already fixed on the develop-2x branch.


How fast is this library in comparison to react-native-big-list?

https://github.com/marcocesarato/react-native-big-list

@fortmarek does this library support dynamic item heights? Cause I haven't been able to implement it.


Remove poetry, add license

Remove poetry in favour of using pip for dependency management along with adding the necessary boilerplate for it.
Add an MIT license to all source files and file LICENSE.
Overhaul .gitignore.

Im gonna purge the .gitignore a little bit


[TE9][TC-I-2.2] Not meeting the expected results

[TC-I-2.2]
step 2c 5 6b doesn't return expected outcome.
step 2c ：The value of the identificationtime attribute should be less than 0x003c.
step 5 ：The status of ox0 should be responed to the command "./chip-tool identify identify-query"
step 6b ：The status of ox0 should be responed to the command "./chip-tool identify write identify-query"
tc-i-2.2.md

I'm also seeing this issue in which the identify time fails to show decrements until the timeout period at which point it is 0. Attached is also a reference log from the all-clusters application.
TC_I_2_2.log

IdentifyQuery is being removed entirely.  See https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/5240
Leaving open for the other bits that need investigating here.

I just tested and this worksforme on revision 2c7105ccc4058443a3490c2b92f9474dd8fab77f with chip-all-clusters-app running on Mac as the server.
@adabreuti @nansenLV if you can still reproduce could you please:

Provide the SHA running on the server.
Say exactly which server app is being used, on which exact platform.
Attach the server logs.

@bzbarsky-apple @nansenLV I'm no longer seeing this issue using the steps from the TE9 verification document with all-clusters embedded application based on SHA: 6231ccc26ffa2bc6d1345b8b7e8f82a63da497e7

Thank you for re-testing!


Issue #38, skipping nonexisting folders

Fix for Issue #38, skipping nonexisting folders. Works only if pull request #44 is merged.

Closing this one as it's not going to be merged.


[SPARK-7116] [PySpark] Remove cache() causing memory leak

This patch simply removes a cache() on an intermediate RDD when evaluating Python UDFs.

Can one of the admins verify this patch?

Jenkins, test this please.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

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

Would someone ask Jenkins to retest this, please?

Test build #775 has started for   PR 5973 at commit db5b564.

Test build #775 has finished for   PR 5973 at commit db5b564.

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

Thanks for the quick fix.  Merged to master and 1.4.


Allow reset to the solution template in assessments

With a warning/confirmation dialogue.

Is this critical?

I don't think so. Aren't you in lecture

The corresponding PR is closed.


feat: expose withSpanAsync on NodeTracer #752

This doens't work because of some bug inside the AsyncHookContextManager but i'm opening the PR in the mean time to get feedback on how we can accomplish this.
The main issue is that i need to use // @ts-ignore there since the withAsync is not exposed at the api level, don't know if we have other solutions here
WDYT ?

@dyladan I've changed the return type of withSpanAsync to void. I failed to find a type that would say that we return what U return (and i believe thats the point of the Awaited new type being working on in TS).
I don't think we should have the behavior to return the value returned by the callback too, the aim of the API isn't to pass value but to set a context, WDYT ?

@dyladan I've changed the return type of withSpanAsync to void. I failed to find a type that would say that we return what U return (and i believe thats the point of the Awaited new type being working on in TS).
I don't think we should have the behavior to return the value returned by the callback too, the aim of the API isn't to pass value but to set a context, WDYT ?

I think it is a very common use case that you want the return value of the called function. tracer.withAsync(() => getFromAPI());.
Think something like this should work?
<T extends () => any, U = ReturnType<T> extends Promise<infer V> ? V : ReturnType<T>>(context: Context, fn: T) => Promise<U>;

Or you could factor out the confusing typing
type Unpacked<T> = T extends Promise<infer U>
  ? U
  : T;

class Foo {
  async withAsync<T extends () => any, U = Unpacked<ReturnType<T>>>(context: unknown, fn: T): Promise<U> {
    return fn();
  }
}

I've rebased on #1099 to run tests with it (and it works). waiting for it to be merged to set this one as ready for review

As a solution has been to fix .with in #1099, we dont need this anymore