Improve raw http send method and http client

This was really about fixing the http client to allow retries as a workaround to a JDK error. However whilst doing this it was necessary to test both versions of HTTP so this was added to the API.

This will close https://github.com/solid/specification-tests/pull/69 I presume?

Yes, it is related to #69.
The version parameter is required but can be null to accept the default
which is 1.1
On Tue, 11 Jan 2022, 20:54 Kjetil Kjernsmo, @.***>
wrote:

This will close solid/specification-tests#69
https://github.com/solid/specification-tests/pull/69 I presume?
—
Reply to this email directly, view it on GitHub
https://github.com/solid/conformance-test-harness/pull/158#issuecomment-1010351320,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACICDC54IBZHJFP2M44WW23UVSKIBANCNFSM5LW7IB3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged, confidential
and/or proprietary information. If you are not the intended recipient of
this e-mail (or the person responsible for delivering this document to the
intended recipient), please do not disseminate, distribute, print or copy
this e-mail, or any attachment thereto. If you have received this e-mail in
error, please respond to the individual sending the message, and
permanently delete the email.


unsupported type <class 'numpy.int64'>

Yes, it is an error, since np.int64 is not instance of int.
I added a manual fix in _triage_read and _triage_write for np.int64 type, you want it?

The solution should probably be made general enough to handle any np.* type, e.g. np.uint8 as well

np.float128 is not supported by the underlying library, but all the rest are now supported. Sending PR including tests.

this was addressed in #25 but didn't auto-close.  closing.


cmdk based components require code to account for value generation

https://ui.shadcn.com/docs/components/combobox
CommandItem has some unexpected behaviours which makes the combobox example work but that is pure luck.
When you do not specify a value property it will use the child text portion and convert it to lower case. The value property is always lower case even when you pass it directly.
const frameworks = [
  {
    value: "next.js",
    label: "Next.js",
  },
  {
    value: "sveltekit",
    label: "SvelteKit",
  },

<CommandItem
  key={framework.value}
  onSelect={(currentValue) => {
    setValue(currentValue === value ? "" : currentValue);
    setOpen(false);
  }}
>
  <Check
    className={cn(
      "mr-2 h-4 w-4",
      value === framework.value ? "opacity-100" : "opacity-0"
    )}
  />
  {framework.label}
</CommandItem>

Changing the input slightly will break the example:
const frameworks = [
  {
    value: "Nextjs",
    label: "Next.js",
  },

To make the example robust and work as expected you would have to pass framework.value as value property for each CommandItem and additionally adapt the matching function to always do a compare on === framework.value.toLowerCase()

@olsio Thanks for the heads up. I'll check it out. (Happy to accept a PR if you're up for it)

I can look into.

pacocoursey's cmdk silently trims values and makes them lowercase. Looks like there's no way to override it. This behavior is unexpected, so I think we would benefit from documenting it on the Command page.

I missed the trim part. Added it to the code and added a warning to the docs.


Can you choose to pick a value for Fusion such that you don't score something?

i.e., You score an 11, and then you have a 10 as atop card but not a 9. Can you choose to do 2 less rather than 1 less and therefore not score anything? And either way, are there wording tweaks that can be made to make it explicit which one is the case?

Thanks! I just sent an email.

@jacksonmead from Carl: "You can choose a value for which you do not have a top card to score. How about
Score a top card of value 11 on your board.  If you do, choose a value one or two lower than the scored card, then repeat this dogma effect using the chosen value."


Error with Python 3.5 on Win7

Hi I get the following error when using Node GYP in both the Yeoman angular-generator and the yeoman angular-fullstack generator.
{lamb} if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild ) gyp ERR! configure error gyp ERR! stack Error: Python executable "python" is v3.5.0, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack     at failPythonVersion (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:119:14) gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:108:9 ERR! stack     at ChildProcess.exithandler (child_process.js:742:7) gyp ERR! stack     at ChildProcess.emit (events.js:110:17) gyp ERR! stack     at maybeClose (child_process.js:1015:16) gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd c:\dev\pp\PropertyPlot\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil gyp ERR! node -v v0.12.2 gyp ERR! node-gyp -v v2.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing<EMAIL_ADDRESS>npm WARN optional dep failed, continuing<EMAIL_ADDRESS>I don't know exactly what this means and it appears to have no effect on the end result of the generator that is using it but thought I would log it in case no one was aware.

@justsayno thanks for reporting—angular-generator or one of its dependencies is trying to compile a C++ addon to get its work done, in this case it looks like the ws module and also one of its dependencies, the bufferutil module. In order to be able to compile these addons you have to have Python 2.7 installed as 3.x is not supported by GYP. If you have both installed then I think you can set the PYTHON environment variable to the Python 2.6 location prior to running and it should work.


Clarify abstract to grants table. What is a breach of terms

Hi I am interested in some of the projects listed here. What does breach of terms mean and can that include projects that decided to stop doing their grant? Are all terminations because of bad reasons?
"Furthermore, the page lists terminations which happened due to a breach of the terms of the grants programs. Additionally, teams might have decided to stop working on the grant—though not necessarily on the project itself—for various reasons, which is not reflected on this sheet."
Does the second sentence apply to the first? This isn't clear to me. I ask some teams and they say not only for bad reason. It need to be clearer

Thanks for your interest in the grants accepted list. Currently the list doesn’t list teams as terminated that simply decided to stop working on a project. We only list terminations that “happened due to a breach of the terms of the grants programs”. Most of the time the reason for the termination was that these teams used code without proper attribution.
If you want to learn more about the evaluations, I recommend to take a look at the evaluations folder as well as the corresponding PRs to the delivery repo. However this includes only open grants, since it’s only a requirement for them to submit the delivery publicly.
Let me know if you have any other questions.

I wrote to one i was interested in because i know some of the developer and he said he was not terminated because of this but because they didnt have a monetization model and ran out funds to complete milestones on time. "Most of the time the reason for the termination was that these teams used code without proper attribution." make their developers look worse than what happened. This should be clarified I can ask him to respond

@polkastar in that case the grant shouldn't be listed as terminated. It's possible that a team that was simply delayed, or stopped working on the grant voluntarily, was marked as terminated by mistake. If the team wants to answer here we'll make sure to look into the matter and amend the list if needed.

Ok i ask him. He said it was terminated but because of late and no longer needed milestones. Does this count or not?

It would make it a lot easier if you could tell us which team you are referring to and we will look into it. Again, the list officially only lists terminations that happened due to a breach of the terms of the grants programs. Let us know in case you think a team is listed  here as terminated for the wrong reason.

In case you were referring to the speckle os grant, I just updated just updated the list: https://github.com/w3f/Open-Grants-Program/blob/deprecate-general-grants/src/accepted_grant_applications.md This was indeed a mistake from us. I’m sorry for this and thanks a lot for bringing this to our attention. I’m closing the issue. Let me know in case you were referring to a different grant.


madamW

Thanks for your great work. I was wondering can I simply use adamW from the transformer library and set bias_correction to True. Or should I use madamW from your repo?

Hi, yes right. You can simply use the adamW optimizer and set the bias_correction flag to True.
Our madamW is just a modification of the adamW optimizer which returns additional information for logging purposes.


Read vcap variables from file

Thanks for creating this mini-utility!
The node-cfenv package has an option to provide a vcapFile from which values of VCAP_APPLICATION and VCAP_SERVICES can be read. This is really helpful when running the app locally.
I don't see such an option in this utility. If this is something you would be okay to add to this package then I can open a PR.

why not just use direnv and a .envrc file?


Unimportant notifications do not need to draw attention from status bar

Feedback to Improved notification UX #22388
If I ignore non-important notifications and they go away after some time, I'd prefer if they didn't draw my attention from the status bar. For example, I invoke Check for Updates and get this notification:

Ok, nothing new, I continue working and the toast goes away after a while. However, I still see the notification notification (sic!) in the status bar:

To get rid of this, I need to click the icon and manually dismiss the info message. Maybe these unimportant notifications could go away entirely, or be in the notification center but without the alert in the status bar?
Version info
Version 1.21.0-insider
Commit efa33330fb0ab23b022bdff125311bdb21494b71
Date 2018-02-21T09:22:14.399Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

As opposite, I'd like to check all notifications no matter how important you think it is.
But I think it's too wide (too much space) and difficult to locate the small close button.

You can always check all notification via a command, and there is also "clear all", all I'd like to see is drawing less attention from the status bar if there is nothing important to deal with, like in the example above. I think that the "alert" icon should be reserved for notifications that actually require some attention.


Supported Rust versions & dependencies

https://users.rust-lang.org/t/rust-version-support-in-library-crates-best-practices/4405/7

One reason to stay on older Rust is if you plan on becoming a dependency of Cargo; it has picked 1.2, IIRC, as its minimum version.

Well, I wasn’t aware of that. rust-url v0.5.4 fails to build on 1.2 because it uses Iterator::ne which is apparently stable since 1.5.
rust-url master uses rustc-test (for data-driven tests) which depends on the term crate, which fails to build on 1.2 for reasons I don’t understand right now.
In the in-progress rewrite that I want to become rust-url 1.0 I also use std::str::Chars::as_str, added in 1.4.0.
All of this can (probably?) be worked around with, but:

If supporting old versions of Rust is a requirement for Cargo dependencies, the maintainers of said dependencies need to know about it :)
Is it really worth it? Is anyone stuck on 1.2 and can’t upgrade? (This goes back to the discussion linked above.)

Not anymore, apparently (linked further down in that thread).

Yes, it was changed.

Yes this was a pretty arbitrary decision that just didn't work out. As @durka mentioned the information is slightly out of date, as of https://github.com/rust-lang/cargo/pull/2319 Cargo just builds on stable/beta/nightly.
If there is a request for an older version we can deal with it then, but none has ever come up and I'm not sure if it every will come up!

Sounds good, thanks.


Add a validator test extension for checking failure severity

Added a test helper extension method for testing/asserting on validation failure Severity, similar to those for custom state, messages, and error codes.
I have an extension method in my own code to do exactly this, tying it in with the expected/actual messaging would be swell.

Thanks for this. Could you include some test coverage too?

Unit test added in c5e8e37.

Looks good, thanks. I'll get this in the next release


Base: Add Concordante collection to Base collections

Similar as with this collection: #10121, it needs to be added manually to Koda. Please add the newest collection from Base there too:
Post with frame: https://warpcast.com/eduxdux/0xb25177a5
Frame link: https://k-frame.kodadot.workers.dev/base/0x2cc76e51c4ae3ed7b0dcada34c1ea4fe059d5881
Add it here.
At the moment Im not sure if there were any mints, as I have no idea how to check that.

Hey it is issue on my side check - https://github.com/kodadot/ops-internal/discussions/1610

Safe to close?


Render failed, failed to render template: user/profile

Description
on click to my Profile i got the following error:
Ein Fehler ist aufgetreten:
Render failed, failed to render template: user/profile, error: template error: builtin(bindata):shared/user/profile_big_avatar:86:87 : executing "shared/user/profile_big_avatar" at <.HasMemberWithUserID>: wrong number of args for HasMemberWithUserID: want 1 got 2
				{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
				                                                                            ^

Gitea Version
1.21.0+rc0-69-g44aca6a65
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
2.37.1, Wire Protocol Version 2 Enabled
Operating System
Windows Server 2022 Standard
How are you running Gitea?
self hosting
Database
MSSQL

https://github.com/go-gitea/gitea/pull/27417 is related, but maybe the fix there was wrong? @delvh

The function takes 1 argument on 1.21 branch but two on 1.22, so the backport was incorrect:
https://github.com/go-gitea/gitea/blob/44aca6a65a7c1765a765560e57e77be49ebec548/models/organization/org.go#L150

Erm… Could it be that we didn't backport the refactoring PR before it and thus the backport was unnecessary?

Yes, likely missed one backport with the function refactoring.

Hmm… Does reverting work for someone else on https://github.com/go-gitea/gitea/pull/27426? I only get a 500 on that page…


[adoption]Add a new role for pre adoption validation

The new edpm_pre_adoption_validation role is intended to be used as
dataplane service in a separate deployment during adoption that runs
before the main deployment of the adoption process. This role does not
change anything on the EDPM nodes just reads their current (pre-adoption)
configuration and check if the intended new (post-adoption)
configuration will not cause any trouble.
The first check introduced by this commit ensures that the openstack
service hostname will not change during adoption on the EDPM nodes. Such
change would cause adoption failure in a later stage, after the point of
no return, as nova-compute will refuse to start up if it detects the
host rename. Additionally neutron services might fail too / or create
database corruption due to the host rename.
Implements: OSPRH-5713

The usage of the new role can be seen in https://github.com/openstack-k8s-operators/data-plane-adoption/pull/374

recheck

check-rdo content provider failed

the content provider failed again but im not going to recheck it until monday

recheck

lgtm

lgtm

recheck
ERROR! Error when getting available collection versions for ansible.utils from default (https://galaxy.ansible.com/api/) (HTTP Code: 504, Message: Gateway Time-out Code: Unknown)

recheck retry limit

/retest-all

This worked in the adoption job finally https://logserver.rdoproject.org/74/374/aaca4659383d76fa31b0b217f71dcc9fa4d7e79f/github-check/data-plane-adoption-osp-17-to-extracted-crc-minimal-no-ceph/3fee568/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/pods/pre-adoption-validation-openstack-pre-adoption-openstack-rfbxh/logs/openstackansibleee.log

recheck

/unhold
We saw this working in the adoption job so this is good to go

recheck
2024-04-11 07:36:59.590514 | controller | TASK [set_openstack_containers : Get operator environment variable after update output_dir={{ cifmw_set_openstack_containers_basedir }}/artifacts, script=oc set env {{ operator_pod_name }} -n {{ cifmw_install_yamls_defaults['OPERATOR_NAMESPACE'] }} --list > operator_env.txt, chdir={{ cifmw_set_openstack_containers_basedir }}/artifacts, creates=operator_env.txt] ***
2024-04-11 07:36:59.590526 | controller | Thursday 11 April 2024  07:36:59 -0400 (0:00:00.030)       0:11:56.349 ********
2024-04-11 07:36:59.927582 | controller | Follow script's output here: /home/zuul/ci-framework-data/logs/ci_script_010_get_operator_environment.log
2024-04-11 07:36:59.927635 | controller | An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
2024-04-11 07:36:59.927643 | controller | fatal: [localhost]: FAILED! => {"changed": true, "msg": "non-zero return code", "rc": 1, "stderr": "", "stderr_lines": [], "stdout": "~/ci-framework-data/artifacts ~/ci-framework-data/artifacts\nError from server (NotFound): pods \"openstack-ansibleee-operator-controller-manager-77b56db5b-cd647\" not found\n", "stdout_lines": ["~/ci-framework-data/artifacts ~/ci-framework-data/artifacts", "Error from server (NotFound): pods \"openstack-ansibleee-operator-controller-manager-77b56db5b-cd647\" not found"]}


Gamble bank and joining

Create the player bank and allow people to join. Needs persistence for some amount of time even through restarts.
Requires: #7 to finish

Going to throw in checkbux command for bank comfirmation


No error messages raised when dataset name is not found

Causes various errors when a dataset that does not exist is called in multiple locations, train_segmentation_model, etc.

what to take this one, @BrendenBarbour? I think doing something like:
try:
    copy_folder_locally_if_missing(os.path.join(gcp_bucket, 'datasets', train_config['dataset_id']),
                                   local_dataset_dir)
except ...
     some type of error

in train_segmentation_models.py does the trick. Maybe we could take this opportunity to do the other steps of the workflow.
If you are busy with other things, I can tackle these.

This will be addressed in issue #91


diff-containers: Remove Unsafe* versions of DiffEntry constructors

New insights show that the Unsafe* constructors are not necessary for the Group instances that we define.

I think the commits got messed up? I see that the 2nd commit on this branch is the only one on #10 , so probably you are missing a rebase somewhere?

I think the commits got messed up? I see that the 2nd commit on this branch is the only one on #10 , so probably you are missing a rebase somewhere?

You're right, I did not rebase this PR and #12 properly yet. Before I merge the PR, I will make sure to perform a rebase for a nice commit history

Looks good. I think these would be breaking changes if you had released in CHaP but I don't think you have releases these yet, right?

Yes, they would have been breaking changes, but the package is not released to CHaP yet. I am also ensuring that ouroboros-consensus builds correctly before releasing the first version to CHaP.


Bug: Can't edit publishing profile. Save button is disabled.

Describe the bug
The save button on the "import existing azure resources" option is disabled. No changes can be made to the settings.
Version
Nightly build for provisioning v2
Browser

[x] Electron distribution

OS

[x] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce

Edit an existing publishing profile
choose "import existing azure resources"
make changes to the json
attempt to save changes

Screenshots

this is fixed.


Question: "now what?"

Hey guys, this isn't an issue, more of a 'now what' question.
Got the RPI booted, but only port 22 and 111 are open, there's no 443 (for REST) or UDP for IPMI.
Any pointers? Thanks.

 What are you trying to achieve?

Yeah .. sorry, I was a little too in my head. I'm trying to install OpenBMC on rpi3. Got the build per your docs, but it has no OpenBMC code, so was wondering, after I get the rpi running, where do I go to install the OpenBMC code. It's not very clear from the doc. Thanks.

Have you seen https://github.com/openbmc/openbmc? I would redirect any questions to them.


User friendly coupon edit page

This PR makes coupon edit process more user friendly.
The fb40972 is commit to select current coupon type on editing page.
This closes #109.
The page redirected to after submitting coupon updates is changed from coupon list page to detail page of the coupon in commit  2505526.
This is because an assumption that store user would want to check how it looks after updating a coupon.

LGTM! :shipit:


Prepare Java Light Client v0.4.0 release

Overview

See: https://wiki.bf.local/display/EJB/Java+Light+Client+0.4.0+Release+Checklist
Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 85.548% when pulling af31115f77dd7ca0af574f2a4e035539a7994ae3 on jlc/v0.4.0 into d8655c9cc1832762d2f4d4f2d8eaeabf2d082a1b on master.

Re-created with the same commits, because I confused the branch name and weren't able to create the tag with the same name: #1158


Add The New Stack's Post on Carvel Blog

Acceptance Criteria

Add The New Stack's blog post to carvel.dev/blog

Closing as of https://github.com/vmware-tanzu/carvel.dev/pull/127


Generates winget manifest during GitHub Actions

This generates winget config directly instead of relying on winget-create. Notably, this covers sha-256 and product-code aspects:

Package installers in MSI format use Product Codes to uniquely identify applications. The product code for a given version of a package should be included in the manifest to help ensure the best upgrade experience.

This tests that we can extract on every commit that changes the MSI script. It also extracts logic so that less new code is executed on release.

found another way to get this (I think) hold on

nah false alarm. I was hoping file /path/to/func-e.msi had the same ID in it, but that's not the case.

found another way 💯 this works on linux and darwin as long as GNOME msitools are installed
$ msiinfo export  dist/func-e_windows_amd64/func-e.msi Property
Property	Value
s72	l0
Property	Property
ARPURLINFOABOUT	https://func-e.io
ARPNOREPAIR	1
ARPNOMODIFY	1
ARPPRODUCTICON	icon.ico
setx	setx.exe
Manufacturer	Tetrate
ProductLanguage	1033
ProductCode	{40822491-10DE-4D1C-AE0C-53911FC1FFA9}
ProductName	func-e
ProductVersion	0.0.1
UpgradeCode	{FC6C326B-1DB7-4D48-8F05-E13E79DF4D0E}
SecureCustomProperties	NEWERVERSIONDETECTED;OLDERVERSIONBEINGUPGRADED

I rewrote this to also validate the winget yaml ( on all supported dev operating systems )

Thanks for taking a look @mathetake!


Allow querying one upcoming epoch in /epochs/{number}/stakes and  /epochs/{number}/stakes/{pool_id}

Currently, there is no way to query active stake distribution for upcoming epoch.
The data should be already available, as active stake is taken from snapshot of live stakes from 2 epochs before. E.g. in the current epoch 276, we already know active stake distribution for epoch 277 as the snapshot from epoch 275 has already been taken.
Querying these endpoints will now result in 404 as the resource doesn't exist yet (the epoch has not begun). This is a policy blockfrost.io makes for all resources (be it unused addresses or upcoming blocks/epochs).
However, these two endpoints could be worth making an exception or considering introduction a mechanism which would allow to query n+1 epoch with n being the current one (just for active stake related endpoints).

At the moment, it seems to be impeded by https://github.com/input-output-hk/cardano-db-sync/issues/688.

Finally fixed in https://github.com/IntersectMBO/cardano-db-sync/blob/<IP_ADDRESS>/cardano-db-sync/CHANGELOG.md?plain=1#L6


No issue, just bloody well done

Thanks, @matthewlein

Thanks, it's so fun and rewarding when we can solve small tool problems ourselves.


Request for providing images for arm architecture (raspberry pi)

Hi there, I compiled the images that are used by your helm charts for arm64.
https://gitlab.com/leataka/yiqi/janus-stunner
Unfortunately it is not enough to make it work.
Stunner works fantastic, now my goal is to run janus webrtc on an rpi4b-8GB which is linux/arm64.
Can you please help?

Hi @LeaTaka!
That sounds like an interesting project. I am not quite sure if I understood correctly what is missing in your setup.

Integrating Janus with STUNner? We have a tutorial on deploying Jitsi with STUNner. Hope it might be somewhat useful for Janus.
STUNner ARM64 images? We do not build them since we have no capacity (and apparatus) for testing arm64 images. We can build them for sure, but take no guarantees.
Do you encounter some sort of error messages or something like that?

Hey there, thanks for the swift reply!

I did some extensive testing with Janus on x86 and arm platforms both on bare metal and K8s. It works :-) My setup with stunner on x86 works like a charm. Now I need to get it running behind a nat on the rpi4B so I can get rid of the cloud provider.
Can I assist? I have the feeling that some code is not compatible as I have tested your images with correct arm64 manifest information.
Well yes, but not much: standard_init_linux.go:228: exec user process caused: exec format error Most of the time this indicates an architecture mismatch. However is the output from the manifest-tool inspect:
`
$ ./manifest-tool-linux-arm64-2.0.8 --username ${CI_REGISTRY_USER} --password ${CI_REGISTRY_PASSWORD} \ # collapsed multi-line command
Name: registry.gitlab.com/leataka/yiqi/janus-stunner/stunner-gateway-operator:latest (Type: application/vnd.docker.distribution.manifest.v2+json)
Digest: sha256:f3766cb82d8c4882a09b626ae1be74b0a74faba46f629ed356116b0dfce2004d
Size: 592
OS: linux
Arch: arm64
Layers: 2
layer 01: digest = sha256:fc251a6e798157dc3b46fd265da72f39cd848e3f9f4a0b28587d1713b878deb9
layer 02: digest = sha256:ef89929f784972c8f5305c8048da0fa6b25e03e7076f3c6829c67983dc4f2582
$ ./manifest-tool-linux-arm64-2.0.8 --username ${CI_REGISTRY_USER} --password ${CI_REGISTRY_PASSWORD} \ # collapsed multi-line command
Name: registry.gitlab.com/leataka/yiqi/janus-stunner/stunnerd:latest (Type: application/vnd.docker.distribution.manifest.v2+json)
Digest: sha256:7c798ed3e66db024cb0dddca412aa27443285fb15fa8b4394e401316636691d4
Size: 747
OS: linux
Arch: arm64
Layers: 3
layer 01: digest = sha256:7affad345de4d8ac241e78fcbfe6cb38554fda367ded773df715b3624c685620
layer 02: digest = sha256:a6d6123738b58f0a914bdb9664239730e6441c7374e701c59410542a2a2b0161
layer 03: digest = sha256:5a2dd0f2bc86f559973857afa6f4d259e97b43575563b4b1d820ca931619aaf4
$ ./manifest-tool-linux-arm64-2.0.8 --username ${CI_REGISTRY_USER} --password ${CI_REGISTRY_PASSWORD} \ # collapsed multi-line command
Name: registry.gitlab.com/leataka/yiqi/janus-stunner/stunner-job:latest (Type: application/vnd.docker.distribution.manifest.v2+json)
Digest: sha256:fd9ced202cd59be4104137912ed700e722d706037548b0d30b2e692d6f997c83
Size: 754
OS: linux
Arch: arm64
Layers: 3
layer 01: digest = sha256:e96e057aae67380a4ddb16c337c5c3669d97fdff69ec537f02aa2cc30d814281
layer 02: digest = sha256:c6298e08a61c2cc51043479095326d84be10a7fab22d3a0d4d8339a0cd0dd88b
layer 03: digest = sha256:aa620ba929d3f47347a6512b7d8adf5205b8a17d250d1dcde7de44710ae9fa72
`

Fantastic, will test tomorrow!!

Amazing !!
I can confirm stunner/stunner-dev and stunner/stunner-gateway-operator-dev WORKS on raspberry pi arm64 architecture !!
Thanks alot and let me know if I can help you out anytime!

Awesome! Happy to hear that it works!
I will close this issue for now since the original issue seems resolved. Feel free to (re-)open if you encounter any issues.


Player super palettes don't look right and level ending screen from the hud says time instead of score

Player super palettes don't look right and level ending screen from the hud says time instead of score

On the first point, please make sure both your Sonic and Super Sonic sprites sheets are up to date, AS WELL as SuperSonicPal.png. This does not happen in the current up to date Worlds Next.
I am investigating the second issue currently.


[Bug]: Adding any template from home page brings up errors.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I add a template from the home page [this is true for any template added .. tried with Applicant tracker, WhatsApp CRM, meeting scheduler etc], we see a Response not valid error.
Steps To Reproduce
https://jam.dev/c/1ad4b383-0b71-4b94-b7fb-b584146fb5c9

Also, we see at first instance, the queries fail as well, and only pass on refresh.
https://jam.dev/c/225578ea-080e-4a6c-9d58-3834e41b74a4
Public Sample App
No response
Environment
Production
Severity
Critical (Broken Production apps)
Issue video log
No response
Version
Cloud

Please find the possible solution through my findings:
"To address the issue of errors when adding templates from the home page, the solution involves enhancing error handling and implementing retry mechanisms for API calls and query executions. By catching and handling errors gracefully in the frontend and ensuring robust validation in the backend, the user experience can be significantly improved, allowing for seamless template addition without encountering initial errors or requiring page refreshes.."
Our team will be working on this issue and update accordingly.

Issue seen on Production - recording as below:
https://github.com/appsmithorg/appsmith/assets/101863839/8e015a9d-c956-4c4c-8573-23d88150f602

The 'Response not valid' issue can be reproduced on latest v1.29 version as well as Prod
Removing the  blocker tag, but it is a critical issue as it is with customers already, and would need to be fixed to go with the next release at least.


Fix/135/docked editor handling

Improve method for obtaining active text editor so that non-standard editors (such as the new GitHub commit message editor) are handled correctly.

Awesome! If you could please change this little thing, I will merge it.


Update main.go

Ex:
type User struct {
	ID        int64
	Name      string `sql:"not null;unique"`
	Hobby     []string `sql:"-"`
	HobbyStr  string `sql:"type:text"`
}
u := &User{Name:"ElvizLai"}
fmt.Println(db.Last(u, "5x").RecordNotFound())//should be true but it return false

It has error: "Unknown column '5x' in 'where clause'", This maybe also belongs to "RecordNotFound"

I think it should not belongs to record not found, record not found should only including record not found error
If you want to make sure no error happened, should check db.Last(u, "5x").Error == nil


Unable to add new event. Cannot read property 'push' of undefined.

Following the README, I am unable to add events via
`$("#myTimeline).timeline(

    "addEvent",

    [{startDate:..}],

    function(){}
);`

Could you at least show an example for the same?

Following the README, I am unable to add events via
`$("#myTimeline).timeline(

    "addEvent",

    [{startDate:..}],

    function(){}
);`

Could you at least show an example for the same?

I hope you will use version 2.x because that has fixed any troubles of version 1.x.

Ahh okay, 2.x is now available. Thank you for the prompt update! :smile:


[OPENSTACK-2964] fix @serialized decorator miss and typo.

@<reviewer_id>
What issues does this address?
Fixes #
WIP #
...
What's this change do?
Where should the reviewer start?
Any background context?

Please include a jira number in commit message

Done


Better pre-selection of search result node in "Create New Node" dialog.

I'm not sure what the reasoning behind the current implementation was, but i think this one is more intuative for the user.
The suggested selection when searching for a node is now based on the prefix of a node. So for example if i search for "Nine" or "nine" the selection would be "NinePatchRect" rather than "Container" (like in current master).
Fixes #26010

what about typing "aaa" then?
ARVRCamera is selected with current master.

@volzhs right, this needs some improvements. I'm gonna update it later.

Alright, i updated my PR. The main problem with the current implementation was, that it only searched for subsequences (see: https://github.com/godotengine/godot/pull/5177 for an explanation) and not at all for simple substrings. For some search terms this resulted in weird results. I changed it, so that the search prefers substrings and falls back to subsequences if no substring is found.
I also now take preferred_search_result_type into account which prefers eg. 2D nodes when the root node is a 2D node.
I will post some screenshots soon to issustrate the new behaviour.

Awareness of root node and preferred_search_result_type:

Great work, thanks!


Proposal: Add an isAnimated(val) existential method

var Animated = require('animated');
var anim = new Animated.Value(123);
var interp = anim.interpolate({ ... });
Animated.isAnimated(anim) // true
Animated.isAnimated(interp) // true
Animated.isAnimated(123) // false

This would be a good API to provide people for detecting whether or not a given value is an animated value or not. This could be used, for example, to produce PropTypes helpers for the library.

Big +1 for this
Le dim. 28 févr. 2016 17:47, Leland Richardson<EMAIL_ADDRESS>a
écrit :

var Animated = require('animated');var anim = new Animated.Value(123);var interp = anim.interpolate({ ... });Animated.isAnimated(anim) // trueAnimated.isAnimated(interp) // trueAnimated.isAnimated(123) // false
This would be a good API to provide people for detecting whether or not a
given value is an animated value or not. This could be used, for example,
to produce PropTypes helpers for the library.
—
Reply to this email directly or view it on GitHub
https://github.com/animatedjs/animated/issues/9.

Yeah I think this is great, although it'll have to pair nicely with however we decide to move forward with custom animated values. Whether that is just extending AnimatedWithChildren or otherwise.

@browniefed i'm working on a proposal for that right now.  Either way, it should work fine.  The test would basically just check: value instanceof Animated, but Animated itself wouldn't be an exported class. However we create new animated shapes, they would inevitably inherit from Animated

Tis what I figured :+1:

Really smart! I've been struggling to figure out how to encode that. Make it happen :)

@lelandrichardson if Animated/AnimatedWithChildren is not exposed, how can a third party library implement his own Animated? Will the library expose ways to create an Animated class?
My use-case is animated over uniforms for gl-react: https://github.com/ProjectSeptemberInc/gl-react/blob/master/src/AnimatedData.js#L42

@gre can you weigh in on this PR? I'm curious if this would solve your use case. https://github.com/animatedjs/animated/pull/12


Feature: Finding height of a tree after each insertion in Python

It helps in finding the height of the tree whenever an element is inserted into a binary search tree. I'd like to add a solution for this in python. If required I can upload a sample description of the problem.
Please kindly add the Hacktoberfest label and assign me this task.

I will be able to solve it. Please assign me this issue.


【clickhouse_sqlalchemy]】Orig exception: Code: 113. DB::ExceptionA short description of the bug

Describe the bug

clickhouse  version <IP_ADDRESS>
yml profiling: enable=true
run ingest command,

'Profiling exception Orig exception: Code: 113. DB::Exception:
There is no session or session context has expired.
 (THERE_IS_NO_SESSION) (version <IP_ADDRESS> (official build))\n'

How to solve this bug？

[root@localhost ~]# python3 -m datahub version
DataHub CLI version: <IP_ADDRESS>
Python version: 3.9.16 (main, Mar  8 2023, 14:00:05)


Remove prompt about configuration file overwrites on package upgrade

Description
This PR changes the packaging scripts to avoid getting the user prompted to decide if they want to overwrite a configuration file.
Configuration files will always bear a .new suffix and will be copied with cp's --no-clobber option to their original filenames.
This ensures no user changes are lost on upgrades while at the same time avoiding interactively prompting the user on installation.
Issues Resolved
Resolves #380
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Upgrading from 4.8.2 to 4.9.1 no longer asks for user input:
root@deb-upgrade:~# apt install ./wazuh-indexer_4.9.1_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wazuh-indexer' instead of './wazuh-indexer_4.9.1_amd64.deb'
The following packages were automatically installed and are no longer required:
  libmpfr6 libsigsegv2
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
  wazuh-indexer
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/851 MB of archives.
After this operation, 26.9 MB of additional disk space will be used.
Get:1 /root/wazuh-indexer_4.9.1_amd64.deb wazuh-indexer amd64 4.9.1-0 [851 MB]
(Reading database ... 18754 files and directories currently installed.)
Preparing to unpack .../wazuh-indexer_4.9.1_amd64.deb ...
Running Wazuh Indexer Pre-Installation Script
Stop existing wazuh-indexer.service
Unpacking wazuh-indexer (4.9.1-0) over (4.8.2-1) ...
Setting up wazuh-indexer (4.9.1-0) ...
Installing new version of config file /etc/default/wazuh-indexer ...
Installing new version of config file /etc/wazuh-indexer/log4j2.properties ...
Installing new version of config file /etc/wazuh-indexer/opensearch-performance-analyzer/opensearch_security.policy ...
Installing new version of config file /etc/wazuh-indexer/opensearch-security/roles_mapping.yml ...
Running Wazuh Indexer Post-Installation Script
### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable wazuh-indexer.service
### You can start wazuh-indexer service by executing
 sudo systemctl start wazuh-indexer.service
N: Download is performed unsandboxed as root as file '/root/wazuh-indexer_4.9.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

After internal discussion, it was decided that rpm packages will use the %config(noreplace) directive.
An upgrade does throw a warning alerting the user of the presence of newer versions of their configuration files.
[root@rpm-upgrade ~]# yum install ./wazuh-indexer-4.9.1.x86_64.rpm
Last metadata expiration check: 18:46:39 ago on Mon Sep 16 20:20:51 2024.
Dependencies resolved.
=============================================================================================================================================
 Package                              Architecture                  Version                        Repository                           Size
=============================================================================================================================================
Upgrading:
 wazuh-indexer                        x86_64                        4.9.1-0                        @commandline                        813 M

Transaction Summary
=============================================================================================================================================
Upgrade  1 Package

Total size: 813 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                1/1
  Running scriptlet: wazuh-indexer-4.9.1-0.x86_64                                                                                1/2
Stop existing wazuh-indexer.service

  Upgrading        : wazuh-indexer-4.9.1-0.x86_64                                                                                1/2
warning: /etc/wazuh-indexer/jvm.options created as /etc/wazuh-indexer/jvm.options.rpmnew
warning: /etc/wazuh-indexer/opensearch-security/internal_users.yml created as /etc/wazuh-indexer/opensearch-security/internal_users.yml.rpmnew

  Running scriptlet: wazuh-indexer-4.9.1-0.x86_64                                                                                1/2
### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable wazuh-indexer.service
### You can start wazuh-indexer service by executing
 sudo systemctl start wazuh-indexer.service

  Running scriptlet: wazuh-indexer-4.8.2-1.x86_64                                                                                2/2
  Cleanup          : wazuh-indexer-4.8.2-1.x86_64                                                                                2/2
  Running scriptlet: wazuh-indexer-4.8.2-1.x86_64                                                                                2/2
  Verifying        : wazuh-indexer-4.9.1-0.x86_64                                                                                1/2
  Verifying        : wazuh-indexer-4.8.2-1.x86_64                                                                                2/2

Upgraded:
  wazuh-indexer-4.9.1-0.x86_64

Complete!

Otherwise, the upgrade seems to work ok.

Running package builder:

Production: https://github.com/wazuh/wazuh-indexer/actions/runs/10906281102
Development: https://github.com/wazuh/wazuh-indexer/actions/runs/10906276084

Both set of packages were built succesffully.

@f-galland does this mean these configuration files are being overwritten??
Setting up wazuh-indexer (4.9.1-0) ...
Installing new version of config file /etc/default/wazuh-indexer ...
Installing new version of config file /etc/wazuh-indexer/log4j2.properties ...
Installing new version of config file /etc/wazuh-indexer/opensearch-performance-analyzer/opensearch_security.policy ...
Installing new version of config file /etc/wazuh-indexer/opensearch-security/roles_mapping.yml ...
Running Wazuh Indexer Post-Installation Script

I've also noticed this error message that did not appear before.
N: Download is performed unsandboxed as root as file '/root/wazuh-indexer_4.9.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Testing Debian packages
Using the Debian production package from the workflow run above, I installed it over a<EMAIL_ADDRESS> Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wazuh-indexer' instead of './wazuh-indexer_4.9.1-0_amd64.deb'
The following packages will be upgraded:
  wazuh-indexer
1 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
Need to get 0 B/850 MB of archives.
After this operation, 26.6 MB of additional disk space will be used.
Get:1 /home/vagrant/wazuh-indexer_4.9.1-0_amd64.deb wazuh-indexer amd64 4.9.1-0 [850 MB]
(Reading database ... 190752 files and directories currently installed.)
Preparing to unpack .../wazuh-indexer_4.9.1-0_amd64.deb ...
Running Wazuh Indexer Pre-Installation Script
Stop existing wazuh-indexer.service
Unpacking wazuh-indexer (4.9.1-0) over (4.8.2-1) ...
Setting up wazuh-indexer (4.9.1-0) ...
Installing new version of config file /etc/default/wazuh-indexer ...
Installing new version of config file /etc/wazuh-indexer/log4j2.properties ...
Installing new version of config file /etc/wazuh-indexer/opensearch-performance-analyzer/opensearch_security.policy ...
Installing new version of config file /etc/wazuh-indexer/opensearch-security/roles_mapping.yml ...
Running Wazuh Indexer Post-Installation Script
### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable wazuh-indexer.service
### You can start wazuh-indexer service by executing
 sudo systemctl start wazuh-indexer.service
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
 Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wazuh-indexer' instead of './wazuh-indexer_4.9.1-0_amd64.deb'
The following packages will be upgraded:
  wazuh-indexer
1 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
Need to get 0 B/850 MB of archives.
After this operation, 26.6 MB of additional disk space will be used.
Get:1 /home/vagrant/wazuh-indexer_4.9.1-0_amd64.deb wazuh-indexer amd64 4.9.1-0 [850 MB]
(Reading database ... 190752 files and directories currently installed.)
Preparing to unpack .../wazuh-indexer_4.9.1-0_amd64.deb ...
Running Wazuh Indexer Pre-Installation Script
Unpacking wazuh-indexer (4.9.1-0) over (4.8.2-1) ...
Setting up wazuh-indexer (4.9.1-0) ...
Installing new version of config file /etc/default/wazuh-indexer ...
Installing new version of config file /etc/wazuh-indexer/log4j2.properties ...
Installing new version of config file /etc/wazuh-indexer/opensearch-performance-analyzer/opensearch_security.policy ...

Configuration file '/etc/wazuh-indexer/opensearch-security/roles_mapping.yml'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** roles_mapping.yml (Y/I/N/O/D/Z) [default=N] ?
Progress: [ 40%] [###########################################################################.................................................................................................................]

We need to add every configuration file to the postinst script.

The new agreed approach is to let apt know that we want to use the existing configuration files (modified by them) over the new maintainer's configuration files. I've tried using --assume-yes and --assume-no options, but both are unsuccessful.
Details
root@ubuntu2204:/home/vagrant# vi /etc/wazuh-indexer/opensearch-security/roles_mapping.yml
root@ubuntu2204:/home/vagrant# systemctl stop wazuh-indexer
root@ubuntu2204:/home/vagrant# ls -l /etc/wazuh-indexer/opensearch-security/roles_mapping.yml
-rw-r----- 1 wazuh-indexer wazuh-indexer 1517 Sep  6 15:53 /etc/wazuh-indexer/opensearch-security/roles_mapping.yml

root@ubuntu2204:/home/vagrant# apt install ./wazuh-indexer_4.9.1-0_amd64.deb --verbose-versions --assume-no
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wazuh-indexer' instead of './wazuh-indexer_4.9.1-0_amd64.deb'
wazuh-indexer is already the newest version (4.9.1-0).
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] N
Abort.

root@ubuntu2204:/home/vagrant# apt install ./wazuh-indexer_4.9.1-0_amd64.deb --verbose-versions --assume-yes
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wazuh-indexer' instead of './wazuh-indexer_4.9.1-0_amd64.deb'
wazuh-indexer is already the newest version (4.9.1-0).
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up wazuh-indexer (4.9.1-0) ...

Configuration file '/etc/wazuh-indexer/opensearch-security/roles_mapping.yml'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** roles_mapping.yml (Y/I/N/O/D/Z) [default=N] ?
Progress: [  0%] [........................................................................................................................................................]

After some research, I stumped upon these questions, which seem to resolve this same problem.

https://serverfault.com/questions/527789/how-to-automate-changed-config-files-during-apt-get-upgrade-in-ubuntu-12
https://askubuntu.com/questions/104899/make-apt-get-or-aptitude-run-with-y-but-not-prompt-for-replacement-of-configu
https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/

So we would need to use a command like this one to perform the upgrade, telling dpkg to keep user files if they have been modified.
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install wazuh-indexer

Details

root@ubuntu2204:/home/vagrant# apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ./wazuh-indexer_4.9.1-0_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wazuh-indexer' instead of './wazuh-indexer_4.9.1-0_amd64.deb'
wazuh-indexer is already the newest version (4.9.1-0).
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up wazuh-indexer (4.9.1-0) ...

Configuration file '/etc/wazuh-indexer/opensearch-security/roles_mapping.yml'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
 ==> Keeping old config file as default.
Running Wazuh Indexer Post-Installation Script
### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable wazuh-indexer.service
### You can start wazuh-indexer service by executing
 sudo systemctl start wazuh-indexer.service
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

The proposed solution was not approved. Debian packages are to be shipped as is.

Packages builder run: https://github.com/wazuh/wazuh-indexer/actions/runs/10939721847

Testing RPM packages
[root@rhel7 vagrant]# systemctl stop wazuh-indexer
[root@rhel7 vagrant]# yum localinstall ./wazuh-indexer-4.9.1-0.x86_64.rpm
Failed to set locale, defaulting to C
Loaded plugins: product-id, search-disabled-repos
Examining ./wazuh-indexer-4.9.1-0.x86_64.rpm: wazuh-indexer-4.9.1-0.x86_64
Marking ./wazuh-indexer-4.9.1-0.x86_64.rpm as an update to wazuh-indexer-4.8.2-1.x86_64
Resolving Dependencies
--> Running transaction check
---> Package wazuh-indexer.x86_64 0:4.8.2-1 will be updated
---> Package wazuh-indexer.x86_64 0:4.9.1-0 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
 Package                              Arch                          Version                        Repository                                            Size
==============================================================================================================================================================
Updating:
 wazuh-indexer                        x86_64                        4.9.1-0                        /wazuh-indexer-4.9.1-0.x86_64                        1.0 G

Transaction Summary
==============================================================================================================================================================
Upgrade  1 Package

Total size: 1.0 G
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : wazuh-indexer-4.9.1-0.x86_64                                                                                1/2
warning: /etc/wazuh-indexer/jvm.options created as /etc/wazuh-indexer/jvm.options.rpmnew
warning: /etc/wazuh-indexer/opensearch-security/internal_users.yml created as /etc/wazuh-indexer/opensearch-security/internal_users.yml.rpmnew
### NOT starting on installation, please execute the following statements to configure wazuh-indexer service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable wazuh-indexer.service
### You can start wazuh-indexer service by executing
 sudo systemctl start wazuh-indexer.service
  Cleanup    : wazuh-indexer-4.8.2-1.x86_64                                                                                2/2
  Verifying  : wazuh-indexer-4.9.1-0.x86_64                                                                                1/2
  Verifying  : wazuh-indexer-4.8.2-1.x86_64                                                                                2/2

Updated:
  wazuh-indexer.x86_64 0:4.9.1-0

Complete!


JUnit compatible report

Do you plan to support saving test results as a report file, e.g. JUnit compatible?
This may be useful for showing test results in Jenkins and similar systems.

No, I don't have plans to do so. (If I recall correctly, I may have pondered with the idea to create an output filter to do so, but never actually made one.)

Thank you for your reply


Context menu not showing up in subfolder on Windows 11

Microsoft PowerToys version
0.60.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerRename
Steps to reproduce

Select subfolders only in a folder
Right Click to show context menu
PowerRename Does Not Show.

✔ Expected Behavior
Select subfolders to rename.
❌ Actual Behavior
When I only select subfolders PowerRename does not show in the context menui.
Other Software
No response

can you give some file paths?  Wondering if this could be maybe a onedrive or something quirk.  /needinfo
for me, if i'm in "C:\Users\crutkas\Downloads" and i right click on "Re__Attorney_review_for_house_sale", i see the powerrename option.

v0.60.1 on Win.11 on my SP4 here: Neither ImageResizer or PowerRename are showing up anymore 😢🆘

@jcuster06 Explorer process needs to be restarted to make it work. Can you confirm if this has been done in the mean time? (trying the context menu right after installation gives not the expected result)

Now after restarting the PC it does work like expected
TY


Design tweaks to modules: Metadata & Histogram

Design tweaks to modules: Metadata & Histogram
Small design tweaks have been added to the Metadata/Sample Metadata module and the Histogram module:

Add "More" icon button with micro tooltip More on hover
Add micro tooltips for Expand and Collapse on hover of Minus and Plus icon buttons
Add menus for both modules:

Metadata/Sample Metadata
Histogram

Users will receive a snackbar when downloading files from our menus.

Histogram module tweaks

Add full screen mode: #640
Legend: Remove scrolling listing for the current legend. This was redundant so we removed it.

Add "All Cells" area in the Histogram. On click of the color swatch button, users receive the color picker flyout for all cells in the histogram.

Metadata/Sample Metadata module tweak

Update the styles of the metadata listing

Design system open issues

#755

Figma

Histogram

Menus & tooltips
Full screen mode

Metadata/Sample Metadata

Menus & tooltips

Compare
Current implementation

Approved specification

@LibbyUX please review the metadata module (here)[https://github.com/hubmapconsortium/hra-ui/pull/772#issuecomment-2397690645]


Problem with encodings on emails

I have an email field but stormberry is replacing @ by @@ which make the email not usable ^^

This was done for this: https://pub.dev/documentation/postgres/latest/postgres/PostgreSQLConnection/query.html
and should be replaced by a single '@' by the postgres package. Not sure if thats a bug with the postgres package then.
Can you test this by manually making some queries using the 'query()' method?

@schultek this @param is use by query if you use the substitutionValues but here in your generated code you don't use them so it just keep your query as it is with 2 @. That make me think that we should use them as the Postgres package use the substitutionValues to prevent some SQL injection on them already so we don't have to do much

I am having this issue as well. I'm not sure how to solve this.

Fixed in 0.9.2


Revert "getUserId small fix"

Reverts ContainerMaintainers/MiniTwit-Golang#52
There is an issue, after merged the user reg and login broke.

@adamjhr
Line 335 should be:
} else if _, err := getUserId(body.Username); err == nil {
NOT
} else if _, err := getUserId(body.Username); err != nil {
The logic is incorrect. Change to the suggested line of code and check that it runs. When I change it the registration and login works correctly.

On @dmdequin's last pull request the code was changed to:
} else if _, err := getUserId(body.Username); err == nil {
So this pull request is no longer necessary. Maybe you still need to have a look @adamjhr, just to double check the logic is what you meant, or if we need to change it back to !=. If so, we need to have a look at why reg and login didn't work that way.

The weird thing is i've just tested it, and it seems to work fine on my end 🤔. What did you type in as username and password when you tested?


how to enable https support for the server?

Just configure express for HTTPS as described in this article: expressjs + HTTPS.

@pjmolina Thanks it helps.


Interactable Refactor Part 3/N

Overview

Simplified InteractableShaderTheme
InteractableTextureTheme now supports shader targeting

extends InteractableShaderTheme which simplifies class
Added migration path code to update TextureTheme-based definitions for default shader properties

Fix interactableStringTheme ingesting work from PR #5663

Support TextMeshPro & TextMeshProUGUI
Get and set never actually worked for type Text

Removed InteractableTypeFinder and related classes. Only specific to Interactable. Users can now use TypeExtensions and the TypeCacheUtility if desired
Differentiated States.GetDefaultInteractableStates() from InteractableInspector.GetDefaultInteractableStatesFile()
Added initial foundation for VisualThemesTests.cs

FYI breaking changes and migration notes will be added to #5912 for this entire freature branch
Changes

Fixes: #5663

Verification

As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run

/azp run

/azp run


UI should show new .dockstore.yml filetype.

Feature Request
As part of the implementation for #2148 , a new SourceFile type was added for the .dockstore.yml. See DOCKSTORE_YML in SourceFile.java.
The UI should display this file when looking at a hosted entry with a .dockstore.yml.
Ideally, possible, this change should be done such that if/when new file types are added in the future, changes to the UI are not required.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.7
┆Sprint: Seabright Sprint 14 Nordland
┆Issue Number: DOCK-543
┆Epic: Publish Workflows via Zip

Working with https://staging.dockstore.org/services/github.com/denis-yuen/app-support-prototype:2.0?tab=info


Question: How to use the firestore listener ?

Hello,
I use redux-logic for my site and it work very well but I don't understand how to combine redux-logic and  firestore listener.
an example :
`
export const display = createLogic({
type: [AUTH_USER],
process({ getState }, dispatch, done) {
const state = getState()
const userID = authSelectors.userID(state)
  if (!unsubscribeFirebase) {
    const db = firebase.firestore()
    unsubscribeFirebase = db.collection('botReducer').doc(userID)
                            .onSnapshot((doc) => {
                              const agentState = doc.data()

                              dispatch(setState(agentState))
                              dispatch(initialize())
                              done()
                            })
   } else {
      done()
   }

},
})
`
The first time setState is seen by my reducer but not the second time. I think it' s normal because I want to call done() twice.
I think I could use store.dispatch(...) but it's not very elegant.
Do you have a better solution?
Best regards

Since this logic will be responding to many updates then you don't want to call done (unless you are completely finished listening).
So your callback in onSnapshot will be called every time the botReducer collection updates. Thus just omit calling done in your logic and you'll continue to get updates.
You can set processOptions.warnTimeout to 0 so it doesn't complain about your logic staying open in the console in development mode.

Thanks, it's work very well.


Click handler on GeoJSONLayer?

I have a GeoJSON file, which basically contains a single MultiPolygon. I'm rendering it using a GeoJSONLayer, which is working fine, but I'm trying to attach a click-handler to the resulting "fill", and I'm stuck. If you can point me in the right direction I'd gladly add an example and docs to the repo (this seems like a common use-case).

Nevermind, figured it out.


Error while formatting range for file HTML

Here's a regression in some latest nightlies, it happens when formatting code. Formatting fails:
[Error - 1:18:06 PM] Error while formatting range for file:///<path edited out by issuer for security>.html: Ovelapping edit
Error: Ovelapping edit
    at Object.applyEdits (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/node_modules/vscode-languageserver-types/lib/umd/main.js:803:27)
    at Object.format (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/modes/formatting.js:75:72)
    at Object.<anonymous> (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:415:64)
    at step (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:36:23)
    at Object.next (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:17:53)
    at fulfilled (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:8:58)
    at <anonymous>
[Error - 1:18:06 PM] Error while formatting range for file:///<path edited out by issuer for security>.html: Ovelapping edit
Error: Ovelapping edit
    at Object.applyEdits (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/node_modules/vscode-languageserver-types/lib/umd/main.js:803:27)
    at Object.format (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/modes/formatting.js:75:72)
    at Object.<anonymous> (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:415:64)
    at step (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:36:23)
    at Object.next (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:17:53)
    at fulfilled (<vscn path edited out for security> /VSCode-linux-x64/resources/app/extensions/html-language-features/server/out/htmlServerMain.js:8:58)
    at <anonymous>

VSCode Version:
code-insider-1.23.0-1523596516_amd64.tar.gz
code-insider-1.23.0-1523942099_amd64.tar.gz

Platform
Ubuntu 14.04 but I bet it's irrelevant.

-R

Hi @ramya-rao-a and thanks for your caring:

Does this occur when you run code with extensions disabled as well? Run code --disable-extensions to try it out.

Yes

Can you provide sample code where you see this along with edits made to the file after which this occurs?

No. But the same page formatted properly on some nightly older than a week ago (no change)

Does this occur in the stable version as well?

stable is OK.

Does this occur when you run formatting manually or you are using the format on save / format on type features?

Both.
I hope of having been helpful. I will investigate further as soon as I have more time.
--R

Having a sample code where we can see the issue will help a lot.

I'll set up an example project as soon as I have time.
Thanks for caring.
--R

<html>
<head>
</head>

<body>

    <script>
        function f(x) {}
        f(function () {
        //

        console.log(" vsc crashes on formatting")
        });
    </script>

        </body>

</html>

@ramya-rao-a here it is!
(I tried to restrict the issue a bit)
It's rather weird.
Fails formatting on the following nightlies:
code-insider-1.23.0-1523510016_amd64.tar.gz
code-insider-1.23.0-1523510016_amd64.tar.gz
code-insider-1.23.0-1523596516_amd64.tar.gz
code-insider-1.23.0-1523942099_amd64.tar.gz
code-insider-1.23.0-1524028477_amd64.tar.gz
code-insider-1.23.0-1524201267_amd64.tar.gz
code-insider-1.23.0-1524633233_amd64.tar.gz

Thanks @RobertoMalatesta
I can repro this both in stable and Insiders

@RobertoMalatesta @ramya-rao-a Thanks a lot for taking your time. Strangely I'm not able to reproduce. I even created a test case for it.
I also tried with code-insider-1.23.0-1524633233_amd64.tar.gz (on Ubuntu 16.04)
Do you have any settings html or indentation settings enabled?

@aeschli I dont have any such settings and can repro this even with all extensions disabled.
I was able to find the root cause in the compare function passed to mergeSort when applying the edits.
See https://github.com/Microsoft/vscode-languageserver-node/blob/4c66383e92a2f7d513f93e5ecc74b21b4889d3a5/types/src/main.ts#L1602
We should be returning diff there not 0

Do you have any html, javascript or indentation settings defined?
No. A clean one with no extensions.

@ramya-rao-a Good catch, thanks!

it will take a while until we get the fix in VSCode...

Thanks @ramya-rao-a and @aeschli .
Unbeatable support.
Now I'll try to break some other thing... :P

Fix is now in VSCode insiders

:ok:


Question about jekyll-assets and site.static_files array

Background
I use jekyll-assets and I have written a plugin of my own which optimized images. This plugin depends on site.static_files array which Jekyll exposes for generators.
My image optimization plugin used to work as all my images were located outside of jekyll-asset's sources (in images folder at project root).
As jekyll-assets makes handling image assets easier as well and I moved my images to _assets/images. Jekyll and jekyll-assets work fine and serve my posts with images correctly, BUT now the site.static_files array does not contain my images anymore, which means that my image optimization plugin doesn't optimize anything.
The actual question(s)
Is it by design that jekyll-assets plugin does not include assets handled by it into site.static_files...?
If it's by design, could there be anyother way of tapping into the assets used or in my image optimization plugin should I just glob through the _assets folder and collect the files with that?
Or could this be a bug in jekyll-assets or just misconfiguration on my project?

Do preprocessors run before or after proxies? I use magick to resize & crop the images and was considering the solution in https://github.com/jekyll/jekyll-assets/issues/297#issuecomment-227524129 however not having to add a proxy to each img tag makes this solution quite attractive.

Does the optimized images replace the old images? or they are created in another folder? because I don't see size change for the moment:
I have for example _assets/img/image2.jpg image2.jpg 130KB and _assets/img/image2-4826e2b0b15c91f0dcdff75ab2ec7f907cddc58db665ffa97e0ff05c13823840.jpg 130KB too
# file: _plugins/jekyll-assets.rb
require "jekyll-assets"
require "image_optim"

image_optim = ImageOptim.new(:pngcrush => false, :pngout => false, :advpng => false, :jhead => false, :jpegoptim => false, :jpegtran => false, :gifsicle => false)
processor = proc { |_, data| image_optim.optimize_image_data(data) || data }

%w(image/gif image/jpeg image/png image/svg+xml).each do |type|
  Sprockets.register_preprocessor type, :image_optim, &processor
end

and this in build script
npm i -g svgo mozjpeg optipng-bin pngquant-bin
#...
bundle exec jekyll build

Optimized images aren't replaced in your source (in that we don't alter your actual source files,) we alter them and store them in .asset-cache or whatever your cache folder is and then we use that.  You should check your cache folder and you should see a folder for the actions we do outside of Sprockets.

Thanks hmm, ok, I added that folder in .gitignore, so that might be the problem

Following up on @abeMedia's first question concerning the order of preprocessors and proxies: the image optimization solution posted on the wiki works perfectly except in cases where an image magick proxy is used to resize the image.
I believe what happens is the image is optimized and then resized, effectively producing an unoptimized image.  The solution proposed in #297 avoids this issue but requires adding a new proxy to every image.
Is it possible to use the wiki solution but postpone optimization until the images have been resized?


Bulk edit selected rows with given values

Hi,
I have country, state and city fields in my JS Grid along with a checkbox column.
I have selected in destination country, State, City cascading drop downs on top of my form.
I want to select muliple js grid rows and click on update button.
As a result, for all checked rows - country, state, city columns should be updated with what I have selected in destination dropdowns at the start of my form.
Is it possible with Batch Update?
Thanks,
Priya

I'd recommend doing the edit server side and refreshing the grid. You can do exactly the same as the Batch Delete demo http://js-grid.com/demos/ but obviously the deleteClientsFromDb function would be an ajax call to your server with a list of IDs from selectedItems, and the values from your dropdowns. In the success callback either send the updated grid data back, or trigger a loadData on the grid to re-fetch.

Thanks! I will try this solution!


Hono Logger ("hono/logger") Disable Coloring

What is the feature you are proposing?
Currently the color status coding is set with this:
  const isNoColor = typeof Deno?.noColor === "boolean" ? Deno.noColor : process !== void 0 ? "NO_COLOR" in process?.env : false;
Can something be added to check it this is running in a cloudflare worker to disable coloring?
My logs spit out 200 923ms, which is terrible.
The c.env could be passed in and if NO_COLOR === true then we are set.

I was going to raise a feature request related to disabling status code coloring too!
The Debug Console in VS Code does not support the ANSI escape codes that are used to add the colors, so the output looks like --> GET / \x1b[32m200\x1b[0m 7ms.
Looking through the source code, I found the same thing that @kingmesal did: to disable status code coloring, you can set a "NO_COLOR" environment variable, which is described at https://no-color.org/.
The way to get coloring working in the VS Code Debug Console (rather than disabling it) was to add "outputCapture": "std" to my configuration in launch.json.
For @kingmesal's original problem...
I haven't written code to run on CloudFlare Workers before (so this might be a bad work-around), but I understand that they have an empty process.env object. Could you enable "nodejs_compat" in your wrangler.toml
and add process.env['NO_COLOR'] = 'asdf' to your index.ts file (instead of changing the logger middleware to check for c.env.NO_COLOR)?

I haven't written code to run on CloudFlare Workers before (so this might be a bad work-around), but I understand that they have an empty process.env object. Could you enable "nodejs_compat" in your wrangler.toml
and add process.env['NO_COLOR'] = 'asdf' to your index.ts file (instead of changing the logger middleware to check for c.env.NO_COLOR)?

Wow, interesting idea! This is okay, and we are working on another solution.

Thanks for implementing this. This is a huge saver, especially when logging to files and not having to postprocess the logs with regex.

Am I reading the getColorEnabled() method correctly that is process === undefined then coloring is disabled?
If so, that in and of itself solves turning coloring off in Cloudflare.

I guess that neither of us checked what the default logger output looked like on CloudFlare Workers before commenting.
Your reading of getColorEnabled() matches mine:

Node.js and Bun have a process global with a process.env object that might contain a NO_COLOR property (if that environment variable has been set).
Deno has a Deno.noColor boolean that reflects the NO_COLOR environment variable at program start.
CloudFlare Workers do not have a process global (unless someone has added the nodejs_compat_v2 compatibility flag to their wrangler.toml file) so they will default to logger output with no coloring (whereas Node/Deno/Bun will default to colored log output).

// from /src/utils/color.ts
export function getColorEnabled(): boolean {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  const { process, Deno } = globalThis as any

  const isNoColor =
    typeof Deno?.noColor === 'boolean'
      ? (Deno.noColor as boolean)
      : process !== undefined
      ? // eslint-disable-next-line no-unsafe-optional-chaining
        'NO_COLOR' in process?.env
      : false

  return !isNoColor
}


Add unixized

closes #52

PR-Codex overview
This PR adds the unixized dependency to the project and uses it to read resources in FakeLexer class.
Detailed summary

Added unixized dependency to the project's pom.xml
Replaced CharStreams.fromStream with CharStreams.fromString in FakeLexer class
Used UnixizedOf to read resources in FakeLexer class

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report
Patch and project coverage have no change.

Comparison is base (9ad8049) 46.08% compared to head (ae353e2) 46.08%.

: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.
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #58   +/-   ##
=========================================
  Coverage     46.08%   46.08%
  Complexity       62       62
=========================================
  Files            14       14
  Lines           230      230
  Branches         18       18
=========================================
  Hits            106      106
  Misses          114      114
  Partials         10       10

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

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 1min)


🐞 [Bug]: The compare_locked_balance.ts script doesn't work properly with Devnet

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
grid_client
What happened?

When attempting to run the compare_locked_balance.ts script with the Devnet configuration, no data is displayed. However, it functions correctly with the Mainnet configuration.

Steps To Reproduce
No response
which network/s did you face the problem on?
Dev
version
205fd89
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records
n/a
Relevant log output
n/a

@atefnazmy The purpose of the script was to compare the frozen balance with the amount locked in those contracts as mentioned here
This was done to identify the mismatch in balance to fix it. The fix is already done and released on devnet but hasn't reached main net yet. Once it reaches main, the function should return an empty array, too.

Thanks for the clarification.


output.sourceMapFilename

What problem does this feature solve?
Manage the output path of source map files
What does the proposed API of configuration look like?
https://webpack.js.org/configuration/output/#outputsourcemapfilename

can you assig to me?

sure

can you assig to me?

下手如此之快

Since the related pr has been merged, can we close this issue?

Of course


how to configure one signal for push notification

For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[x] You've met the prerequisites.

[x] You're running the latest version of Parse Server.

[x] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup
Steps to reproduce
Logs/Trace

https://github.com/parse-server-modules/parse-server-onesignal-push-adapter#installation

through it will i be able to send client push

like send to those whose object id is 1,2,3,4,

Client push is not a good idea (it is insecure, allows spam)... Use cloud functions and send push from cloud code using the master key.

Can cloud code send push like
ParsePush push = new ParsePush();
		query.whereContainedIn(Constants.KEY_USER_ID, "UIYUI6767FGFsds");

		push.setQuery(query);
		push.setData(obj);
		push.sendInBackground();

to only that specfic person

It's a little different than that, see: https://github.com/ParsePlatform/parse-server/wiki/Push#4-send-push-notifications but you can pass a query for the where value.

is that sending to one person or more according to query is possibe

Yes, you can pass almost any query against the installations.

That means through cloud clode i can send push notification

Of course.

Client pushh too and can u provide me the link for cloud code too and please tell if it will support client push notification

How can we ensure that clients can't call a cloud function that sends a push by obtaining the client key, since that is public information? If they track the network requests for an app that calls a push cloud function, can't someone send spam pushes?

Typically you would send them in database triggers life afterSave on a
post, and you'd control the query and the messaging...  You don't create a
blanket sendPush function, you do specific things and validate in your
logic.
On Wednesday, March 30, 2016, Dylan Diamond<EMAIL_ADDRESS>wrote:

How can we ensure that clients can't call a cloud function that sends a
push by obtaining the client key, since that is public information? If they
track the network requests for an app that calls a push cloud function,
can't someone send spam pushes?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/ParsePlatform/parse-server/issues/1278#issuecomment-203618697

Guide for using cloud code for clint push is there any ??


feat(frontend): add loader for solana balances

Motivation
Implement solana balance service.
Changes

implement solana balance service

Tests
Unit testing added for solana balance service

Please split the solution in separate PRs. The logic and UI presentation can be decoupled.

moved UI logic to: https://github.com/dfinity/oisy-wallet/pull/4022

Converted to draft - not rdy yet

incorporated this branch in #4037, will close it


After upgrading from 0.39.2 to 0.40.0, I got so many compiling warnings and errors.

Description
The compiling warnings and errors.

I've already did as the follows.
http://stackoverflow.com/questions/41477241/react-native-xcode-upgrade-and-now-rctconvert-h-not-found

Additional Information

React Native version: 0.40.0
Platform: iOS, Android not test until now.
Operating System: MacOS

@jaggerwang This is a breaking change in iOS in 0.40.
See https://github.com/facebook/react-native/wiki/Breaking-Changes#namespace-all-header-imports-to-react-e1577d---javache
You'll have to check all your third-party modules to see if they have released an update with these changes or fork the repos yourself and make the necessary updates.


Move endpoints to routes

moving backend endpoints currently in app.js to routes folder

/cib rs move endpoints routes

Branch 27-rs-move-endpoints-routes created!


MAINT: Added ndarray-subclass support to the ndarray methods

Added ndarray-subclass support to the ndarray methods
flatiter is now a generic with respect to _ArrayOrScalarCommon.
flatiter is now a subclass of Iterator[generic].
Changed ndarray.real and ndarray.imag into get- and set-supporting properties.
Removed a single redundant overload from ndarray.view after complaints from mypy.
Fixed a typo in ndarray.view: one of the overloads had the type argument marked as dtype.

Thanks @BvB93!


Add schema for Terraform steps

This adds schema definitions for spec for each step.
It adds outputs schema only for the plan step, since
destroy has no outputs and apply has an output format
defined by Terraform itself.

@ahpook this one good to go?


[loc][Query][TestAdapter] Localizability of "UTA_WrongThread"

Hi,
please help localization team to answer question from translator.
In case translator is not sure about context/meaning/localizability of string we raise a question.
Source:
{0} For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread.
File Name:
Adapter\MSTest.CoreAdapter\Resources\xlf\Resource.xlf
==========================================
Query:
What will {0} be replaced with?

@PDostalek : {0} will re replaced by the actual exception message. After that this statement will come "For UWP projects, if you are using UI objects in test consider using [UITestMethod] attribute instead of [TestMethod] to execute test in UI thread" as a suggestion for the user.

Thanks


chore: fix lint issue introduced in #13556

Summary
Fixing lint issue introduced in #13556.
Test plan
Green CI.

hah, that's what I get for not bothering to wait for CI 😅

c2046d5d306a8e54e95a701ab04f54c50b793488 😅

Oh.. even more. Lint failed here too ;D
Looks fixed now.


Compiler API: expose path of output files without emitting

Search Terms
tsc compiler api out file path resolve js file
Suggestion
Given the path of a tsconfig.json and the path of a .ts file, I'd like to programmatically obtain the absolute path of the corresponding .js file is the emit had succeeded, and without emitting.
Use Cases
My current implementation looks like this (using ts-morph). It emits, in order to get the .js file path.
const sourceFile = this.fakeProject.createSourceFile(tsFilePath, "", { overwrite: true })
const output = sourceFile.getEmitOutput({})
const [file1, file2] = output.getOutputFiles()
console.log(file1?.compilerObject.name)

I'm passing an empty file as well as --noResolve to speed up the useless emit, but it still takes about one synchronous second.
I'd like not to recode a tsconfig.json reader just to deduce where the js file lives. This would not be maintainable.
My use case is an IDE extension that runs the output files for the user. But in order to run them, and to check whether they exist, you have to know where they are
Examples
Any compiler API is fine.
const sourceFile = program.getSourceFile(file);

console.log(sourceFile.getOutFilePath())            // .js
console.log(sourceFile.getOutFileMapPath())         // .js.map
console.log(sourceFile.getDeclarationFilePath())    // .d.ts
console.log(sourceFile.getDeclarationFileMapPath()) // .d.ts.map

With file layout:

/tmp/tsconfig.json containing default options
/tmp/index.ts

This example would print:
/tmp/index.js
/tmp/index.js.map
/tmp/index.d.ts
/tmp/index.d.ts.map

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

@sheetalkamat thoughts?

There already exists getOutputFileNames to get the output file names

getOutputFileNames takes a ParsedCommandLine which I do not know how to obtain. There is a getParsedCommandLine on CompilerHost. The docs say that createProgram "will create a default CompilerHost" but there is no getCompilerHost method on type Program.
Also I'm not sure why it returns an Array since the file will be written in one place only; and it doesn't return source map and declaration paths
Would it be possible to have a documented example, or a simpler API exposing methods on type ts.SourceFile?
Thanks a lot

ParsedCommandLine is either from parsing json file using parseJsonConfigFileContent or just something you populate based on what your program is.
createCompilerHost exists to create the compiler host.
getOutputFileNames takes the input file name and returns all the output file names for that file based on the parsed command line which has compiler options etc.

Seems good
compilerHost.getParsedCommandLine is undefined, but parseJsonConfigFileContent helped:
import path from "path"
import fs from "fs"
import ts from "typescript"
import json5 from "json5"

const root = path.resolve(process.argv[2])
const tsconfigPath = path.resolve(root, "tsconfig.json")
const filePath = path.resolve(root, "suites/index.test.ts")

const tsconfig = json5.parse(fs.readFileSync(tsconfigPath, "utf-8"))
const parsedCLI = ts.parseJsonConfigFileContent(tsconfig, ts.sys, root)

const outFiles = ts.getOutputFileNames(parsedCLI, filePath, false)
console.log(outFiles)

$ node dist/index.js /tmp/proj
[
  '/tmp/temp/__tests__/index.test.js',
  '/tmp/temp/__tests__/index.test.js.map',
  '/tmp/temp/__tests__/index.test.d.ts'
]

Thank you

@sheetalkamat That's very cumbersome to use, especially when using plain compiler api, we have to spoof tsconfig.json just to get outputs.
Isn't there some other, simpler way to get output files? Like maybe using source maps or something?


update uninstalls VSCode and never installs new one

I now have to reinstall it and re install all configurations and plugins!!!!!
DID YOU DO ANY TESTING???!!!

Configurations and plugins should persist. To fix the update issue please fully uninstall VS Code (configurations and plugins should stay) and reinstall it.