Accessibility: Datagrid on the dialog - context menu pressing TAB key focus goes out side instead of cycle in the menu list.

Describe the bug
Datagrid Context/Action menu : Pressing TAB key behaves differently when grid is on dialog and when grid is on application (i.e. not on dialog)

When Datagrid is on dialog, TAB key press on the context menu takes focus out of the dialog (Accesibility says focus should remain inside dialog).
When Same datagrid is on the application (i.e. not on the dialog), TAB key press cycles the focus inside the context menu

As per Accessibility guidelines focus should not leave the dialog when TAB key is pressed.
*Violation of Accessibility Standards:
WCAG 2.1 -> 2.1.1 Keyboard (Level A)
All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.
How to reproduce
Check the link:
https://stackblitz.com/edit/clarity-app-modal-datagrind-context-menu?file=src%2Fapp%2Fmain%2Fmain.component.ts
Here the issue can be seen on the DataGrid present on dialog. DataGrid on the Application works as expected.
Also refer the screen recording "Context Menu focus goes out when on dialog but works fine when on application.mov".
https://user-images.githubusercontent.com/83701351/117158015-af46df80-addc-11eb-845b-221af4345107.mov
Steps to reproduce the behavior:

Click button "OPEN MODAL", dialog with Same DataGrid will open
Press TAB twice so that action menu gets selected on he 1st column and 2nd row
Press "ENTER", Action menu/Context Menu will be opened
Press TAB twice, After "DELETE" menu focus will leave the dialog and some other option outside dialog will get selected.
Now, close the dialog (Click Cancel)
On the Application, Click some where on the datagrid
Press TAB until the action menu square gets selected
Now press "ENTER" so that ActionMenu/ContextMenu opens
Press TAB repeatedly, observe the behaviour, FOCUS does NOT leave the ContextMenu

Expected behavior
For the ContextMenu/ActionMenu of DataGrid on the Dialog, after pressing TAB key focus should not go outside the dialog.
Irrespective of the DataGrids location (i.e. on the dialog or not on the dialog) TAB press should work properly and behave SAME on both places.
Versions
Clarity project:
Though the Example version of clarity is "2.4.0", Same behaviour is observed on version "4.0.3".
"@clr/angular": "4.0.3",
"@clr/core": "^3.0.0",
"@clr/icons": "4.0.3",
"@clr/ui": "4.0.3",
Device:
OS: Windows 64bit
Browser: Chrome 87.0.4280.66
VMware: <IP_ADDRESS>.0.17480747
Screen reader: NVDA 2020.3
Note: This defect also occurs on Mac OS with Safari Browser. (Does not seem like a OS/Browser specific issue)
Additional notes
Previous bug logged for this was https://github.com/vmware/clarity/issues/5065, did not got resolved.

Having our accessibility team review this, but if we are tracking it internally then this is likely a duplicate.

Apologies for the delay: Reviewed and created a new issue to track internally.

Thanks @scroniser - I'll close this as it has been triaged and is being tracked with the other a11y issues.


chore: coverage:ignore-file

Add
// coverage:ignore-file
// ignore_for_file: type=lint

to generated files.
Supersedes #43
CC/ @anggaaryas

@petercinibulk please review once you have the time :)


Update osrsprofile

• Added a menu option to open the profile of a user in the browser

• Added option for getting killcounts and personal bests using Runelite's configmanager
• Fixed the grammar on the warning of the plugin

adding some more stuff, going back to draft

Updated diff link:
https://github.com/mathiasHillmann/OsrsProfilePlugin/compare/a952620c52b51cc8ba105eb0f252809e570e0778...635abff884d093cafc32407d43b375a5ca944f98


Without fragments and EventBus

Hi ..great library.
I am finding it  difficult to implement your code in an activity without using event bus. It would be great help if you could post the implementation of the color pallete calculus in an activity without using any fragments. Thanks in advance!

Hello @nikunjdaga,
I've added an example of Alexei running inside an Activity, without using the EventBus.
I'm going to refactor the example app example and probably the whole library.
Cheers

Thanks man!!
I did the changes for the ColorPalleteCalculus and it worked perfectly!
Also thanks for replying so quickly.
I had another question. How can I select the color from the pallete to use that rgb value somewhere else. One method is to make a bitmap of the container and from that getting the rgb value of the pixel. Can you suggest any other workaround?
Thanks again you have been of great help.

The ColorPalleteCalculus returns a list of integers, each one represents a color. You can use any of those directly as a color, like I did here.

yeah that would work. thanks


Multimer run seems to be hung

I have started a multimer run but it seems to have hung. In my output folder I have the 'unrelaxed...prediction_0.pdb' file, but it's not complete. It's been here for almost a week.
Since one of the proteins is very large, I tried with a truncated version which also hung in the same place.
Previously, since the proteins are so large, I was getting OOM errors and I have been messing around with unified memory variables. They are currently:
export TF_FORCE_UNIFIED_MEMORY=1
export XLA_PYTHON_CLIENT_MEM_FRACTION=7
export XLA_PYTHON_CLIENT_ALLOCATOR=platform
You can see the runtime here:

Here is a screenshot of nvidia-smi to show both what it's doing and what I'm working with:

I do currently have multiple runs going with different memory variables.
I am using alphafold v2.2.0

We improved the GPU usage for AlphaFold-Multimer in v2.3.0 - so that might help.
Judging by the output though, this might be a relaxation issue, so you could also try running with --run_relax=false.

Closing this issue, feel free to reopen this issue or open a new issue if this is still a problem.


Enrollment Exception

Hi Bikramjeet,
I am looking into your interesting SCEP client solution and trying out your example. So, I have copied in your example and call:
generate_self_signed
generate_csr
client(here I provide my own url)
enrol(here I provide my own identifier)
When enrolling, the capabilities and 3 certficates are retrieved, an envelope is created and the pki operation dispatched. The reply SCEPMessage is then parsed, which includes verifying public key - and here I get an exception - the EVP_PKEY_verify returns 0 and your code raises InvalidSignature.
How do I proceed from here?
BR Christian

@xl-gtf Could you please verify what algo your server is using?
https://github.com/bikram990/PyScep/blob/main/src/scep/Client/message.py#L59
This library supports only rsassa_pkcs1v15


[Question] Why doesnt the extension work when used from github?

it's because you are loading it without building it.
step by step：

read https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Package_management
run npm install
run npm run watch

load the distribution. folder, not the source folder into Chrome

should be fine.


force recalculation of drawer on orientation change

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/5591
Tests | QA Steps

On an Android with a big screen
Open the app
On LHN, change the orientation to landscape

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web | Desktop

https://user-images.githubusercontent.com/24370807/142480486-4fcfb672-86b7-4fda-a38d-b64f911efdd8.mp4
Mobile Web

iOS

Android

https://user-images.githubusercontent.com/24370807/142284479-9b63e356-9c17-4def-bf4f-993a31780757.mp4

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @Julesssss in version: 1.1.15-18 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@parasharrajat @Julesssss  Do you need this QAed on Android app only or all platforms?

All.. @mvtglobally

Yep, all please.

🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Abort adding task

If you are adding a task and actually realize you don't want to you should be able to abort adding it.

Came here to report that.  :grinning:

:D yes.. luckily an easy fix. Expect a new release later today.
Am 21.09.2017 17:45 schrieb "Jürgen A. Erhard"<EMAIL_ADDRESS>Came here to report that. 😀
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JonasJurczok/factorio-todo-list/issues/10#issuecomment-331197851,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFsdDIAJg3h5C-q6uMyLtM93MmewFvfks5skoSkgaJpZM4PfJQv
.


manual locations of entries 150-299, and adding citation

I could not find coordinates for the following entries:
156, CZECZOT
253, FAI
272, GAUGLIN
288, GRILLE-AVOINE


EnvoyGateway crashes (nil pointer) due to inappropriate AccessLog settings

Description:
Envoy Gateway crashes (nil pointer) when defining EnvoyProxy with AccessLog enabled using the File sink type. It happened when we didn't provide the file content under spec.telemetry.accessLog.settings.sinks.
Repro steps:
Apply below EnvoyProxy manifest:
apiVersion: config.gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
  name: default
  namespace: envoy-gateway-system
spec:
  telemetry:
    accessLog:
      settings:
      - format:
          json:
            host: '%REQ(:AUTHORITY)%'
          type: JSON
        sinks:
        - type: File

Environment:
Envoy Gateway v0.5.0 and latest
Logs:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1d668af]

goroutine 72 [running]:
github.com/envoyproxy/gateway/internal/gatewayapi.processAccessLog(0xc001218780)
        /home/runner/work/gateway/gateway/internal/gatewayapi/listener.go:193 +0x28f
github.com/envoyproxy/gateway/internal/gatewayapi.(*Translator).ProcessListeners(0xc0008a1bf0?, {0xc0000128c8?, 0x1, 0x1}, 0x3c00900?, 0x55?, 0xc000bb1500)
        /home/runner/work/gateway/gateway/internal/gatewayapi/listener.go:52 +0x5fe
github.com/envoyproxy/gateway/internal/gatewayapi.(*Translator).Translate(0xc000083fc0?, 0xc000bb1500)
        /home/runner/work/gateway/gateway/internal/gatewayapi/translator.go:121 +0xbd
github.com/envoyproxy/gateway/internal/gatewayapi/runner.(*Runner).subscribeAndTranslate.func1({{0xc000080e40?, 0x16?}, 0x0?, 0xc000bb1500?})
        /home/runner/work/gateway/gateway/internal/gatewayapi/runner/runner.go:78 +0x16e
github.com/envoyproxy/gateway/internal/message.HandleSubscription[...](0x2769c40, 0xc0008a1f98?)
        /home/runner/work/gateway/gateway/internal/message/watchutil.go:36 +0x148
github.com/envoyproxy/gateway/internal/gatewayapi/runner.(*Runner).subscribeAndTranslate(0xc0000f5280, {0x2749548?, 0xc00013c5f0?})
        /home/runner/work/gateway/gateway/internal/gatewayapi/runner/runner.go:52 +0x75
created by github.com/envoyproxy/gateway/internal/gatewayapi/runner.(*Runner).Start
        /home/runner/work/gateway/gateway/internal/gatewayapi/runner/runner.go:46 +0x272

It seems to me, that the code lacks of nil pointer check before proceeding with the access log file type in lines 177 - 178. Thus when file is not provided, both 182 and 193 will face nil pointer panic.
https://github.com/envoyproxy/gateway/blob/3999cdd3604ad6f946a7cba795f2b034a1ae0e22/internal/gatewayapi/listener.go#L177-L196

I recall all of these check should be part of validation check, maybe I just miss implement it.

hi @zirain , interested to pick this one up. However need some clarity, about the validation check you refer, was that should be part of openapi schema or validation in the code level?


proplem

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':flutter_libserialport'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

 If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

I use this and got it working OK
https://github.com/jpnurmi/flutter_libserialport/pull/109


[release-1.19] Backport empty string fix

Linked Issues
https://github.com/rancherlabs/rancher-security/issues/501

arm ci is failing on this. Going to force-merge this after a discussion thread in slack with the team. We're going to force merge this so we can get an RC out for QA and then tomorrow morning investigate the cause of the panic seen in arm CI.


Load train data outside of epochs loop

I'm trying to train some LoRA models and notice a long time gap between each epoch on my poor computer. I'm trying to findout where the time is spent and found the train_dataloader will load the data inside each epoch loop.
It doesn't seem necessary to reload the train data inside each epoch loop, I compared the data for each load and they appear to be equal, and the train_dataset and train_dataloader seems never change in the loop, so I try to move the load process outside the loop like this PR, it seems to work fine. (BTW, only test on train_network.py to train LoRA model)
I'm not yet familiar with this knowledge, so I'm not sure this thing is really correct, might need to check carefully about it.

Thank you for your reply! I tried --max_data_loader_n_workers option but it still takes some loading time every time. To be honest, I don't have a clue where the time is spent, CPU or disk IO or other, I'm trying to find out about this.
And what you said about the dataset containing a lot of images will out of memory is surely a problem, I'm thoughtless about it. But maybe we can turn this into an option, like adding a --keep-dataset-in-memory option for some cases where we don't need to worry about memory issues?

Update:
Digging deep into the time usage, found that the main time cost is in https://github.com/pytorch/pytorch/blob/5976f0bdfed856ab48824bd41487318f3cf6e615/torch/utils/data/dataloader.py#L1030-L1044
w = multiprocessing_context.Process(
    target=_utils.worker._worker_loop,
    args=(self._dataset_kind, self._dataset, index_queue,
          self._worker_result_queue, self._workers_done_event,
          self._auto_collation, self._collate_fn, self._drop_last,
          self._base_seed, self._worker_init_fn, i, self._num_workers,
          self._persistent_workers, self._shared_seed))
w.daemon = True
# NB: Process.start() actually take some time as it needs to
#     start a process and pass the arguments over via a pipe.
#     Therefore, we only add a worker to self._workers list after
#     it started, so that we do not call .join() if program dies
#     before it starts, and __del__ tries to join but will get:
#     AssertionError: can only join a started process.
w.start()

I guess maybe some arguments are really large and need more time to copy to the new process. (In my case, each sub-process will raise to 300MB+ memory usage, but I still do not understand why memory copy is so slow, maybe it's not copying simply, I had no knowledge about python multiprocessing).
And it seems like it can pass num_workers=0 (--max_data_loader_n_workers=0)  to disable multiprocessing, at https://github.com/pytorch/pytorch/blob/5976f0bdfed856ab48824bd41487318f3cf6e615/torch/utils/data/dataloader.py#L384-L389 it decide to use _SingleProcessDataLoaderIter when num_workers=0 else _MultiProcessingDataLoaderIter, and it will work fine as I expected, no process created, no time will cost, so this problem will be solved. I think this PR can close lol. Thanks for your amazing work!

Update:
I found torch.utils.data.DataLoader has an option called persistent_workers, if set it True it will reuse worker instead of create new worker each time. I test it and it can solved this problem too.
Consider to provide an option or just set it as default?


Dockerize Ghosler

This PR adds the ability to dockerize ghosler as requested in #31.

Note: This is still a WIP PR.

This is tested on a localhost and a publicly accessible url via Cloudflare Tunnels, seems to work fine.
However, there are a few things that the ghosler-cli needs to be updated to. These are -

Deleting Dockerfile, .dockerignore, docker-install.sh files
Applying a migration for moving config.*.json files from the root directory to configuration directory

This can be merged as the ghosler-cli now includes the migrations mentioned above.

Slim Docker Images @ https://hub.docker.com/r/itznotabug/ghosler.

Merging this PR!


showRoutes print undefined

What version of Hono are you using?
latest
What runtime/platform is your app running on?
Node
What steps can reproduce the bug?
the showRoutes function print undefined

What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response

Hello! I can fix it if you want!

Hi @damianpumar! Please!

Hello @yusukebe sorry it was my mistake. I had a console.log(showRoutes(app)); instead to use just showRoutes(app);

Okay! No problem.


Render items from BuildOptionExtensions in (not beside) dropdown list

This PR fixes the BuildOptionExtension feature that allows LiveSpark to add a custom button in the build drop-down list in the project authoring screen. Without this PR, the custom build button added by LiveSpark is rendered as a hyper-link beside the build drop-down list.

+1 to merge.


Can we expect hair segmentation port in android?

here they are.
https://github.com/terryky/android_tflite/tree/master/tflite_hair_segmentation

here they are.
https://github.com/terryky/android_tflite/tree/master/tflite_hair_segmentation

thank you so much @terryky

thank you so much @terryky


LN payments mostly fail

Using v2.4.27-95 from fdroid and opened a new 300k sat channel to tippin.me few hours ago, don't have other channels. Tried to send maybe 20 payments of different size to different nodes (bitrefill being one) and all payments above 2k sats failed. Success rate for 2k sat payments is about 50/50 and those seemed to succeed within few seconds. Otherwise wallet wallet keeps switching between "preparing" and "N part(s) in-flight" where N starts at 1 and sometimes eventually increased to 8 or more before decreasing again.
Additional info for one failed payment eventually writes local failure: no routes found. Before that I see bunch of temporarychannelfailures with route fees usually larger than 2k which I'm sending. Is route fee calculated by wallet based on total capacity instead of amount sent?..
Not sure if this is same problem as in https://github.com/btcontract/wallet/issues/152

Ok will try to help you out with this.

SBW is an abandoned project now.
It was forked by fiatjaf / NBD Team into ObiWan wallet https://github.com/nbd-wtf/obw and is strongly recommended to migrate your old SBW wallet into OBW.  Here I wrote a full guide about new OBW wallet and inside you will find instructions how to migrate your old SBW.
Try opening various LN channels not just one. OBW uses by default MPP. Having more paths available will increase the rate of success payment. Try opening with better nodes like ZFR, LNbig, Boltz etc. that are real routing nodes Tippin.me is not a very good routing node.
When you have a failed payment mostly is due to not well synced LN graph, outdated or in the process. So if you see on top right the icon of sync LN, just wait until is gone.
Try to NOT use Tor. Tor is unreliable for LN path payments, most of the time is failing.

I hope this will help you.

Thanks I'll check out obw. Don't think I was using tor and ln graph seemed to be synced.


[tests] run tests only if target supports them

Compile the x86 tests for x86 or x86_64 targets only
Compile the tests only if the features required to run them are enabled at compile-time (this means one will need to use RUSTFLAGS="-C target-cpu=native" cargo test to enable all tests for a particular target architecture.

superseeded by #24 .


Solution for Combination Sum of LeetCode

Aim
Solution for Combination Sum of LeetCode
Details
Solution for Combination Sum of LeetCode
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

AIM
Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the combinations in any order.
The same number may be chosen from candidates an unlimited number of times. Two combinations are unique if the frequency of at least one of the chosen numbers is different.
It is guaranteed that the number of unique combinations that sum up to target is less than 150 combinations for the given input
EXAMPLE
Input: candidates = [2,3,6,7], target = 7
Output: [[2,2,3],[7]]
Explanation:
2 and 3 are candidates, and 2 + 2 + 3 = 7. Note that 2 can be used multiple times.
7 is a candidate, and 7 = 7.
These are the only two combinations.
CONTSTRAINTS
1 <= candidates.length <= 30
1 <= candidates[i] <= 200
All elements of candidates are distinct.
1 <= target <= 500
Can i please work on this issue @Isha307

i would like to work on this issue under LGMSOC-21 (C++), please assign it to me @Isha307


Update zziplib to 0.13.76

This project uses git tags for releases, so let's use them instead of commit hashes. BUILD_STATIC_LIBS has no effect, and GCOV_PATH is now required (not used though on release builds). Now updating should be as easy as just changing pkgver and replacing the SHA256 checksum.

Nice to see they put the CMake files in the correct place now. In the last release they were still wrong. Thanks for the update!


Single profile avatar

In 2.0, having just a single profile with no avatar set still draws a white circle where the avatar would be.  I would expect no avatar or placeholder to be drawn.

Fixed that for the next update


Incompatibility with Minecraft 1.19.3

When trying to open the "Options" menu from the main menu when loading Thymine 1.8.1 with Minecraft 1.19.3, the game crashes and the following crash report is made: https://pastebin.com/jjn7rfaA
Removing Thymine fixes this issue. Thanks for your time.

https://github.com/Toshimichi0915/Thymine/releases/tag/v1.8.2
Fixed.
Thank you for the crash report.


Upgrade java-server-side-ui accelerator to Spring Boot 3.2.3

This should take care of the GHSA-ccgv-vj62-xf9h vulnerability.
See https://github.com/vmware-tanzu/application-accelerator-samples/actions/runs/8062935016/job/22023753648#step:9:6746

Taking a look at this one.


Remove RID_Owner.get_rid_by_index

Implementing this function efficiently is not really possible.
Replaced by an option to get all RIDs into a buffer for performance.

Supersedes #49501

It's a long time since we looked at this bug, but from what I remember it was due to there being NULL elements within the list, rather than threading, so this should be fine for dealing with it.

Thanks!


Add a second check for a late HostLogger load (attempt 3)

Engine logging will currently only be recognized if the logger is set on startup. Add a second check before creating a new DebuggedProcess to accept engine logging requests sent later in the pipeline.
Looks like our system still had my old username and finally expired my license. Here's hoping it works this time.

Woo! @caslan @gregg-miskelly @chuckries @rajkumar42 feel free to sign off again; this is a resubmission of #360 with my updated organization credentials.

:+1:


Missing asset content type in response of record save

When save a record with asset typed field, $content_type of the field is expected. Actual, it returns empty string.
$ curl \
-X POST \
-H "Content-Type: application/json" \
-d '{
    "action": "record:save",
    "api_key": "changeme",
    "access_token": "***",
    "database_id": "_public",
    "records": [
    	{
    		"_id": "Demo\/001",
    		"_access": [
    			{
    				"public": true,
    				"level": "read"
    			}
    		],
    		"img": {
    			"$type": "asset",
    			"$name":"dabfeed9-6993-4130-a825-9f010b037ce7-Record-Image",
    			"$content_type":"image\/jpeg",
    			"$url":"http:\/\/localhost:3001\/files\/dabfeed9-6993-4130-a825-9f010b037ce7-Record-Image"
    		}
    	}
	]
}
' "http://localhost:3001/" | python -m json.tool

{
    "result": [
        {
            "_access": [
                {
                    "level": "read",
                    "public": true
                }
            ],
            "_created_at": "2017-03-22T09:37:54.622852Z",
            "_created_by": "7546ea5a-f993-4592-b274-45a2bc6c54bc",
            "_id": "Demo/001",
            "_ownerID": "7546ea5a-f993-4592-b274-45a2bc6c54bc",
            "_type": "record",
            "_updated_at": "2017-03-22T09:47:19.185657Z",
            "_updated_by": "7546ea5a-f993-4592-b274-45a2bc6c54bc",
            "img": {
                "$content_type": "",
                "$name": "dabfeed9-6993-4130-a825-9f010b037ce7-Record-Image",
                "$type": "asset",
                "$url": "http://localhost:3001/files/dabfeed9-6993-4130-a825-9f010b037ce7-Record-Image"
            }
        }
    ]
}

@b123400 we will need this issue to make a minor release. Do you think it can be done by tomorrow? Than I will merge the zmq-multiplex to master.

Fixed, though I think it is not completely what you are expecting.
There are 2 issues here:

Despite the content of the request, the server wasn't returning $content_type. e.g. You don't need to specify "img" in the above request body, the bug still happens.
Record's assets are not updated accordingly. (e.g. The "$content_type" you specified in the payload is not going to update the value in database)

I have fixed (1), but not (2).
We currently have a separated API asset:put for creating asset, seems not very good to mix asset update in record:save.
Which means after this PR, you should see behaviour like this:

Upload asset with $content_type: "text/plain"
Use record:save to change the content type to "application/json"
The response of the above request will be "text/plain"

We currently have a separated API asset:put for creating asset, seems not very good to mix asset update in record:save.

Agree on this. For record:save, only $type and $name fields in the asset are respected, other fields will be ignored.


Unit test Circuit inbound protocol with signed payload

Description
Write unit tests for SubstrateInboundProtocol that produce CircuitOutboundMessage as a result of their methods calls (e.g. by a call to substrate_gateway_protocol::transfer
Narrow the methods from inbound protocol to cover 6 following methods:
pub trait GatewayInboundProtocol {

	fn get_storage(
			&self,
			key: Vec<u8>,
			gateway_type: GatewayType
	) -> CircuitOutboundMessage;

	fn set_storage(
	    &self,
			key: Vec<u8>,
			value: Option<Vec<u8>>,
			gateway_type: GatewayType,
	) -> CircuitOutboundMessage;

	fn call(
	    &self,
			module_name: Vec<u8>,
			fn_name: Vec<u8>,
			data: Vec<u8>,
			escrow_account: Vec<u8>,
			requester: Vec<u8>,
			to: Vec<u8>,
			value: u128,
			gas: u64,
			gateway_type: GatewayType,
			return_value: Option<Vec<u8>>,
	) -> CircuitOutboundMessage;

	fn call_escrow(
	    &self,
			module_name: &str,
			fn_name: &str,
			data: Vec<u8>,
			to: Vec<u8>,
			value: u128,
			gas: u64,
			gateway_type: GatewayType,
			return_value: Option<Vec<u8>>,
	) -> CircuitOutboundMessage;

	fn custom_call_escrow(
	    &self,
			module_name: &str,
			fn_name: &str,
			data: Vec<u8>,
			to: Vec<u8>,
			value: u128,
			gas: u64,
			gateway_type: GatewayType,
			return_value: Option<Vec<u8>>,
	) -> CircuitOutboundMessage;

	fn transfer_escrow(
	    &self,
			escrow_account: Vec<u8>,
			requester: Vec<u8>,
			to: Vec<u8>,
			value: Vec<u8>,
			transfers: &mut Vec<TransferEntry>,
			gateway_type: GatewayType,
	) -> CircuitOutboundMessage;

}

Inside tests, the first call substrate_gateway_protocol methods with arguments and match the arguments in produced outbound_messages.
Acceptance Criteria

Cover all 6 substrate_gateway_protocol methods specified above with unit tests

Closed by #58


Causes crash with DSP patch <IP_ADDRESS>46

DSP patch <IP_ADDRESS>46 just launched.  Can no longer load the game with DSPOptimizations installed.  Causes an object reference not set to an instance of an object error within the SetStationCapacityPostfix method on game start (not when loading a save, but just launching the game during it's loading phase before the main menu).

1.1.12 fixed the issue


package android.support.annotation does not exist

My current React-Native:
"react": "16.8.6",
"react-native": "0.60.3",
"react-native-spinkit": "^1.4.1",
but on Android i hit an essue:
error: package android.support.annotation does not exist

+1

@ChauVV Hi, I made fix for it in my PR: https://github.com/maxs15/react-native-spinkit/pull/127
also you can just use my fork: https://github.com/Stormsher/react-native-spinkit


BHTTP/Protobuf indifference and logic extraction from side effects

I think its nearly impossible to proto decode and then do HttpRequest memory un-marshalling for invalid data (other format, which is bhttp) without errors. It needs to check error metrics afterwards

Closing as overcome by events.


database/sql: performance regression in ConcurrentDBExec

What version of Go are you using (go version)?
go version devel +ef0e2af Mon Nov 6 15:55:31 2017 +0000 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/nfs/site/home/itocar/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/localdisk/itocar/gopath/"
GORACE=""
GOROOT="/localdisk/itocar/golang"
GOTMPDIR=""
GOTOOLDIR="/localdisk/itocar/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build447443283=/tmp/go-build -gno-record-gcc-switches"

/proc/cpuinfo:
model name : Intel(R) Xeon(R) CPU E5-2609 v3 @ 1.90GHz
What did you do?
Compared 1.9 performance with master on benches from database/sql package and found a regression:
ConcurrentDBExec-6    18.9ms Â± 1%    22.5ms Â± 1%  +18.88%  (p=0.001 n=7+7)
Bisecting points to 2 commits:
6a223b82a466540ea5de1e9f8a7bfea31d77e07d  which is responsible for 12%:
ConcurrentDBExec-6    20.4ms Â± 1%    23.0ms Â± 1%  +12.38%  (p=0.000 n=8+8)
Commit message dosen;t mention performance implications, so I'm considering this a regression.
e97209515ad8c4042f5a3ef32068200366892fc2  has caused the rest of regression,
I' have no idea why it affect this bench, perhaps this just an unfortunate side-effect.
When running this test with -count=10 i see that first few runs are faster and runs after ~5 are stable in performance, but the regression is present for both first and last runs.

CC @kardianos @aclements

FWIW I'm not convinced this benchmark is measuring anything particularly useful.

I'm also not concerned with this regression, at least at this level. The fake driver is doing more work then before because it now implements the connection resetter. A non implementing driver should not see any difference.

Okay, closing. @TocarIP, thanks for filing in any case. Nobody's historically done the job you're doing (checking for performance regressions), and our automated tooling for it is busted, so please keep letting us know if you find these things.


Auto playing songs on multi servers.

I have the bot set to auto join on the 4 servers i have. I noticed that every time I restart the bot, it will start playing songs in a room when nobody is there.
(the py.exe box will continue downloading songs, and the bot will say playing music on 4 servers.)
Is there a settings Im missing, or is this a bug that can be fixed?
Example:
Autojoining voice channels:

Kaytes Personal/Music
s6 Halo/Music
Symbolic Factions/Music
Amethyst RP Unturned Server/Music Channel

Options:
Command prefix: !
Default volume: 8%
Skip threshold: 4 votes or 50%
Now Playing @mentions: Enabled
Auto-Summon: Disabled
Auto-Playlist: Enabled
Auto-Pause: Enabled
Delete Messages: Disabled
Debug Mode: Disabled
Downloaded songs will be saved
Attempting to autojoin Music in Kaytes Personal
Attempting connection...
Connection established.
Attempting to autojoin Music in s6 Halo
[Download] Cached: https://www.youtube.com/watch?v=QZRrIajouqs
Attempting connection...
Connection established.
Attempting to autojoin Music in Symbolic Factions
[Download] Cached: https://www.youtube.com/watch?v=VJL_DlHmwzg
Attempting connection...
Connection established.
Attempting to autojoin Music Channel in Amethyst RP Unturned Server
[Download] Cached: https://www.youtube.com/watch?v=__oSdfgDF_c
Attempting connection...
Connection established.

Disable Auto-Playlist: Enabled in options.ini. And it should stop.

Disable this.

hmm, I'd still like it to pull from the playlist when songs aren't being requested though.
is that the only way to stop it from auto playing when users are not present in the channel after a restart?

The intended behaviour for the bot is for it to autopause when joining a channel, however this is currently only available in the review branch. (#245).
You may use the review branch at your own risk (using git checkout review). It contains the very latest features, but also means that it is developmental and can have problems.


System tries to connect Hue bridge after removing it from configuration

I had Philips Hue bridge connected for several days.
I've configured it easily and used it via Home Assistant.
2 days ago I gave it to a friend of mine and removed all relevant configuration (triple checked, even using grep).
However, the logs keep mentioning the old bridge:
2018-09-10 11:43:19 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at <ip>
2018-09-10 11:43:19 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at <ip>. Retrying in 2 seconds

Is there any cache or something I should clear?
I''m running HomeAssistant 0.77.3 over Ubuntu 16.4

Remove the config entry from integrations page in the GUI.

@MartinHjelmare  got it!
What exactly is this integration page? why is it different than the configuration file?

Couldn't find anything in our user docs. It was mentioned in this release note:
https://www.home-assistant.io/blog/2018/06/22/release-72/
Here are the developer docs:
https://developers.home-assistant.io/docs/en/config_entries_index.html

@sagilo I had the same issue. Did you fix it?

@zhkufish  yes
Go to Configuration > Integrations
There you should be able to find it


[Treeview Component] Change selection of collapsed parent node doesn't change the selection of children nodes

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
When you change the selection of a collapsed parent element of Treeview component, the selection of children elements should be changed
Actual behavior
When you change the selection of a collapsed parent element of Treeview component, the selection of children elements don't changed and, when you expand the parent element, the selection come back as before.
Reproduction of behavior
Clarity TreeView Documentation (Checkbox Tree example)
Environment details

Angular version: 5.x.x

Clarity version: 0.11.x

OS and version: [Win10]

Browser: [all]

@Dead96: Thanks for filing the issue. This looks like a duplicate of #1400. Please subscribe to #1400 for more updates.


Implement tags search functionality

This PR implements optimized tags search functionality.

If I add space after the word the search is not working.
The columns in the table shouldnt change their height based on how many entries we have.
If on search there is one item, that row takes the whole height of the table. If we have two items, they split the table height in two.
This shouldn't happen.
You should define the height of the rows to prevent this behaviour.

If I add space after the word the search is not working.

Why would we want to still show the tag if we add space after? From what I see, this seems kind of unnecessary since I see no use case for it.
I have fixed the issue with the height of the rows.

If I add space after the word the search is not working.

@edichoska
Why would we want to still show the tag if we add space after? From what I see, this seems kind of unnecessary since I see no use case for it.
I have fixed the issue with the height of the rows.

Thank you for fixing the row issue. It is better from user experience perspective. Since not only developers will be using this platform, but the marketing team will also be using it. We should always try to remove effort/thinking from the user. We should opt for implementing the following: -a fuzzy search or partial matching algorithm that can handle slight variations or typos in the input

trim leading or trailing spaces or ".,
or we can opt for giving feedback to the user. If the user misspells something we can give suggestions: similar to google when you misspell something while you search

Fixed!


Lag interaction features

Is there anyway to pass lag interaction features like (lag_1 - lag_2) or (lag_1 / lag_2) directly to MLForecast()?

Hi @Arsa-Nik, thanks for using mlforecast. You can define new transformations and pass them to the lag_transforms argument. Here's an example:
import lightgbm as lgb
import numpy as np
import pandas as pd
from mlforecast import MLForecast
from mlforecast.utils import generate_daily_series
from numba import njit
from window_ops.shift import shift_array

@njit
def difference_with_previous(x):
    return x - shift_array(x, 1)

@njit
def increment_with_previous(x):
    return x / shift_array(x, 1)

series = generate_daily_series(10).reset_index()
fcst = MLForecast(
    models=[lgb.LGBMRegressor()],
    freq='D',
    lags=[1, 2],
    lag_transforms={
        1: [difference_with_previous, increment_with_previous]
    }
)
processed = fcst.preprocess(
    series,
    id_col='unique_id',
    time_col='ds',
    target_col='y',
)
np.testing.assert_allclose(processed['difference_with_previous_lag1'], processed['lag1'] - processed['lag2'])
np.testing.assert_allclose(processed['increment_with_previous_lag1'], processed['lag1'] / processed['lag2'])

Please let us know if you have further doubts.

Thank you for the response.


discussion: should freight own promotions?

This is similar to what we did with AnalysisRuns in #1395
Promotions reference a Stage and a piece of Freight.
Freight will more commonly be deleted than Stages will.
I propose that Promotions should be owned by the Freight they reference, such that deleting the Freight cascades to the Promotion.
I further propose Promotions not be co-owned by the Stage they reference, so as not to prevent Freight deletion from cascading to associated Promotions.
Last, I believe we should delete Promotions associated with a Stage when clearing the existing finalizer on Stage deletion.
@hiddeco if you agree with me on all this, would you want to take it? I figure it's quick work for you given the similarities to the work you did on #1395/#1585.

Let's not do this right now. I don't want to forever commit for a promotion to be tied a single freight (or any other object for that matter), since I think want to leave room for the possibility of promotion to possibly involve multiple stages and possibly freight.
For example, clicking the truck icon currently spawns N promotion jobs. This means they all promote in parallel/independently and there is a lot of wasted effort (and possibly git conflicts to deal with). But I feel this could be improved to spawn a single promotion job that handles all of them.
Secondly, the existence of the promotion job itself is beneficial to keep even after freight has been deleted. And so I'd like for the lifecycle to be kept independent so recent promotions are visible irrespective of whether or not Freight has been deleted.
The only benefit I see of ownership is the automatic GC, but the big downside of committing to 1:1 promotion to freight


Add more PR templets

          2 Messages

:book:
Executed 4 tests, with 0 failures (0 unexpected) in 0.494 (0.499) seconds

:book:
What a good PR :white_flower:

Develop PR Check Result

Item
Result

Head Branch check
:o:

Base Branch check
:o:

Merge Commits check
:o:

Modification Volumn check
:o:

  Generated by :no_entry_sign: Danger


mysql as database startup error

Describe the bug
I get the following error when deploying

Steps to reproduce
Configure the environment variables MEMOS_DRIVER and MEMOS_DSN after referring to the tutorial.
The version of Memos you're using
v0.22.5
Screenshots or additional context
No response

Are you referring to this tutorial?
Your DSN string is malformed. The above link shows you need to add use the following format
--dsn 'root:password@tcp(localhost)/memos_prod'

You need to adjust the tcp(localhost) part of your string. The string parser is looking for the ( and ) and cant find it
Reminder, this is a public forum so please remember to change your password after sharing it here

How should I solve the following problems?

It looks like the file you are trying to upload is too big for the db blob type used in the mysql sb.
If this is the case then consider using local storage (settings -> storage -> localstorage)  instead


Issue in schedule Run

Hi
I'm facing a problem while running a pipeline manually and scheduling. while I'm running a pipeline manually, getting all logs as mentioned in the snapshot, But while scheduling I'm not getting the highlighted logs in the snapshot.

I'm sorry, there is not information on this Issue to provide help. Please provide a detailed description. Thanks.

Hi @vinisoto
below is my Yaml script
schedules:

cron: "30 2 * * *"
displayName: Every Morning
branches:
include:

master
always: true

parameters:

name: Environment
type: string
default: env1
values:

env1
env2

name: app1
type: string
default: Disable
values:

Enable
Disable

the cases are less default logs in scheduled run;
In a scheduled run, the default logs are mentioned below :

Job preparation parameters only

But while I'm triggering manually same pipeline
I'm getting two extra log as mentioned below:

1 queue time variable used
Parent pipeline used these runtime parameters

the 'Parent pipeline used these runtime parameters' contains the key and value of parameters  and '1 queue time variable used' contains the timestamp.
I'm not getting, why these logs are not available in scheduled run.
Please let me know if you need any other information.
Thanks.


How to dynamically change app base url by onLangChange event

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ x ] support request => check the FAQ and search github for a similar issue before submitting
[ x ] feature request

Current behavior
Currently the app is using two urls generated by WP REST API and exported from file app.settings.ts in a class AppSettings:
export class AppSettings {
  public static APP_ENDPOINT_PL() {
    return 'http://domain.pl/wp-json/'
  };
  public static APP_ENDPOINT_EN() {
    return 'http://domain.pl/en/wp-json/'
  };
}

The above class is used by posts.servise to fetch posts content by a proper http request:
...
import { AppSettings, PATHSSERVICES } from '../app.settings';
import { TranslateService, LangChangeEvent } from '@ngx-translate/core';
import { TransService } from './trans.service';
...
  private urlBase = AppSettings.APP_ENDPOINT_EN();

  public getPosts(page: any = 1): Observable<Post[]> {
    return this.http
      .get(this.urlBase + PATHSSERVICES.posts.path + `?per_page=2&page=${page}&_embed`)
      .map((res: Response) => res.json());
  }

Expected/desired behavior
Now I'd like to be able to change the base url dynamically by using translate.onLangChange event in order to show translated content of posts. So far I managed to return the right path in the console by passing it to the PostsService.appEndpoint method:
  constructor(private http: Http, public translate: TranslateService) {
    translate.onLangChange.subscribe((event: LangChangeEvent) => {
      var myLang = translate.currentLang;
      if (myLang == "en") {
        PostsService.appEndpoint = AppSettings.APP_ENDPOINT_EN();
        console.log("en", PostsService.appEndpoint, myLang);
      }
      if (myLang == "pl") {
        PostsService.appEndpoint = AppSettings.APP_ENDPOINT_PL();
        console.log("pl ", PostsService.appEndpoint, myLang);
      }
    });
  }

However passing the PostsService.appEndpoint value to private urlBase like this:
private urlBase = PostsService.appEndpoint; returns an undefined error. I suppose that one of the reasons might be that the value is not being set before the event occurs, so I should have it set it before it does. But I'm not even sure if using onLangChange in this manner is the right approach... Any hint will be appreciated:)
What is the motivation / use case for changing the behavior?
Translation of posts content on a single click along with other translations preset on trans.service.
Please tell us about your environment:

ngx-translate version: 6.0.0

Angular version: 4.0.1

Browser: [all]

Sorry for not answering... we'll try to do better in the future.
I'm closing this issue for now. Please open a new issue if this problem still persists.


Create README-TR.md

Turkish version of README.md

Merhaba Meryem! Thanks a lot for the translation into Turkish. This is great.
Unfortunately Flux is not really set up yet to be a localised project. Basically everything is in English: the code, the README you translated, the docs in the site directory and elsewhere, discussions in our Slack, etc.
I'm not sure how others feel about it, but my gut feeling is we're not at a stage right now, where we could easily translate our docs and support them on an ongoing basis, so that if things change, we make sure that everything else is updated at the same time.
Was there demand for a Turkish translation of Flux's docs? Are you part of any Turkish Cloud Native group by any chance?
Another thing that's missing from your Turkish version of the README is markup. Basically all links and formatting are lost in there.
I hope what I said above is not too discouraging. I appreciate your effort and enthusiasm, but would like to see us think this through before creating localised resources. What do you think?


Tools: error when getting code template engine

Steps:
j.tools.code.template_engine_get()

Result:
Seems that this module is not moved to the new repos.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/sandbox/lib/jumpscale/jumpscale_generated.py", line 329, in code
    from Jumpscale.tools.codeloader.CodeTools import CodeTools
  File "/sandbox/lib/jumpscale/Jumpscale/tools/codeloader/CodeTools.py", line 5, in <module>
    from .ClassBase import ClassBase, JSModelBase, JSRootModelBase
ModuleNotFoundError: No module named 'Jumpscale.tools.codeloader.ClassBase'

No module named 'Jumpscale.tools.codeloader.ClassBase'

there are some files missing for codeloading (templateEngine.py ClassBse.py etc..) that were previously in jumpscale/tools/codetools
where should I put them now ?
in jsx_core ? jsx_libs ? jsx_libs_extra ?
they all have a tool directory

it is used in systemFs replaceWordsInFiles but nothing is calling that replaceWordsInFiles func
let's remove but I have to keep CodeLoader.py bacause the load function is usd in testTools baseclass


Updated dependencies and apis. Added support to make it run as android application

This PR has the updated dependencies and apis.
Added support to make it run as android application.

Thanks, @Keshava11 I didn't take a look at Flutter in a while, but I will try to catch up and take a look at your PR.
Thank you so much!

Hey please update on this ?


Add 1.1.2 release blog post

@knolleary Thanks for the blog post, like the writing style and depth of explaining the issue!

We will publish this once we have confirmation that 1.1.2 is in production.


Disable most CLANG warnings when compiling OpenSSL

Fixes #1465.
Note that we should do this with other libraries in os_stub/.
Signed-off-by: Steven Bellock<EMAIL_ADDRESS>

One of the tests fails due to #1467. I'll merge this pull request so it can compile, and we can look at the test failure later.

Hi Steven
This P-R will cause CI fail.
I dont believe we should merge now. We should merge after we fix other issue, to ensure CI can always pass.
We need rollback to unblock other patch merge.


[BUG] Why did you export the original file during build?

What happened?
"plasmo": "0.89.3",

Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

在等我修复吗


Speed up the stubs generation

After doing some profiling, seems like most of the time is spent during JSON dumping/loading
Would be worth trying another JSON library like ujson or orjson
Or maybe skipping the JSON serialisation entirely and just keeping things in memory

Since most of the time is sunk during IO, refactoring some of the code to be async would bring some significant improvements


Refactor powermeter signed meter value interface

@Pietfried EvseManager does currently not forward the OCMF in the TransactionStop event. We should probably add that as well to make it work with OCPP


fix: remove useCookieValue from index

Because of optional dependency it would break the build in case of js-cookie absence.
BREAKING CHANGE: useCookieValue is no more exported from index file.
What new hook does?
Checklist

[x] Have you read contribution guideline?
[x] Does the code have comments in hard-to-understand areas?
[ ] Is there an existing issue for this PR?

link issue here

[x] Have the files been linted and formatted?
[x] Have the docs been updated?
[x] Have the tests been added to cover new hook?
[x] Have you run the tests locally to confirm they pass?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix regression of PipelineRequest in retry

Can one of the admins verify this patch?

LGTM to me. For my own edification, what other sorts of responses can come through?

Also LGTM, good catch.
@bryevdv This is due to the increment method accepting either the pipeline response or pipeline request under the same response param.
In the send method...
retry_active = self.increment(retry_settings, response=response)
and
retry_active = self.increment(retry_settings, response=request, error=err)

LGTM to me. For my own edification, what other sorts of responses can come through (or is this just a guard against None?)

In retry policy, we also have
retry_active = self.increment(retry_settings, response=request, error=err)
Which passes an request into the method


Make the BLS signature instantiation generic over curves

Currently, we keep two BLS signature instantiations; one uses blst under BLS curves, and the other uses BN curves
https://github.com/EspressoSystems/jellyfish/blob/main/primitives/src/signatures/bls_over_bn254.rs
https://github.com/EspressoSystems/jellyfish/blob/main/primitives/src/signatures/bls_over_bls12381.rs
We kept both as blst is more efficient but doesn't support BN curves. In the future, we may generalize the instantiation in
https://github.com/EspressoSystems/jellyfish/blob/main/primitives/src/signatures/bls_over_bn254.rs
to support arbitrary pairing curves.
cc @philippecamacho

I had some brief attempts at this task today. Here're are some challenges:

const CS_ID: &'static str associated constant declared under trait SignatureScheme. The only way I can think of to have a generic implementation for a type-dependent function is via downcasting and trait object, i.e.const fn cs_id<P: Pairing>(p: &dyn P) -> &'static str {
    if let Some(_) = p.downcast_ref::<ark_bn254::Bn254>() {
        "BLS-BN254-..."
    } else {
         // ....
    }
}

But the problem is most traits (including Pairing) from arkwork are marked as Sized, thus not object safe, and cannot be used as trait object.
To support possibly different backend (e.g. blst or the default arkworks, or the faster bn mcl), we probably would introduce RUSTFLAG, and have cfg_if! like this in our code.
note that we should use rustflags rather than feature flag IMO, because feature flag is additive, whereas rustflag is mutually exclusive.


Expiration Hook

Is there any to have a hook for ID expiration? I mean can we run a function when ID got expired?

It's possible. Here's an example:
SETHOOK hook1 ... INTERSECTS fleet FENCE DETECT enter COMMANDS del BOUNDS -90 -180 90 180

This monitors the entire world, but only sends a notification when an ID has been deleted or expires.
SET fleet truck1 EX 1 POINT 33 -115

will output the following notification.
{"command":"del","hook":"hook1","id":"truck1","time":"2019-02-23T08:49:29.303674-07:00"}

@tidwall thanks for your guidance. I will try it.

Nope @Kilowhisky

Fun stuff,
I ended up working around this by setting all my string objects which happen to be JSON with a random point on the planet.
I need to use a random point due to indexing getting overloaded when too many points are at the same location.
Since STRING support is so lacking my suggestion is to just wrap every STRING object in a pseudo GeoJson object with a random point on the planet and go from there.

Sounds niche but if it works for you, all the better 😅


Pressing "Enter" key on Vex Modal Prompt reloads page

When I enter text into a Vex prompt and press the "Enter" key, it reloads the page with a ?vex=my-input-text parameter at the end. I expect it to do the same thing as clicking on the "Ok/Submit" button.
Does anybody else experience this? Got a workaround?

I noticed the same thing happens on the demo site.
http://shlomiassaf.github.io/ngx-modialog/#/vex-demo
Choose the Prompt Drop In.
Enter text and press the Enter/Return key on your keyboard.

Same problem


Radio groups?

The example for <Radio> doesn't give any hint how I could arrange a radio group. Having just one radio button makes very little sense.

I'll add them in the future.

Cool to see this resolved - any plans for a new release with these new additions @luoxiaozero ?

Oh, I see 0.2.1, perfect!


Allow hashes to be submitted as headers

Hi!
Thanks for this awesome gem! I am finding it super useful. :-) I am pretty new to this whole thing, so please let me know if I have missed something or there is a much better way of doing this.
Goal
Allow hashes to be sent as headers from the adapter gems.
Side Note
I looked at the Mandrill, Sendgrid, PostMark gems and as far as I can see none of them submit header params.
Current Situation
If a hash is submitted when it is processed by the Mail::Header class it will throw an exception. My logic is that if the headers are already formatted hashes, then they do not need to be processed by Mail::Header.
Tests
I have added a test to confirm that hashes are dealt with correctly.
I look forward to your feedback.
Cheers
Matthew

Thanks @matthewbarram. I was about to attempt the same change.
@gabebw I'd appreciate a merge when possible.

The concept is sound, but I still worry a bit that we're just passing along whatever "headers" are provided to us. Passing through Mail::Header gave us some degree of certainty that we were getting valid/useful headers, but this means we're passing info into users' apps that could be wrong.
That said, it's been requested often.

An interesting scenario (that I just encountered): header keys are intended to be case-insensitive, so, e.g., both headers['Message-ID'] and headers['Message-Id'] resolve to the same value as long as headers is a Mail::Header. However, when Mandrill's headers hash is passed through, it must be accessed with an exactly matching key or risk getting nil.
A safer fix might be for griddler to handle either String or Hash inputs, but force them both through the Mail::Header conversion.

@calebthompson I agree with the point. I think it would depend on the use case.
I am only wanting to look for a particular header and ignoring the other ones - and I will only save the header that meets my criteria.

@calebthompson @gabebw wanted to ping you guys on this. Just had another issue filed regarding headers that I believe is related.
If you are not comfortable with this change I'll need to investigate an alternative solution.
wingrunr21/griddler-mandrill/issues/16

Thanks for the comments, everybody. I'm aware of this and I'll have time to look at it on Friday.

We are using the CloudMailin adapter, with CloudMailin's JSON format. This sends us a headers hash but no raw headers that can be processed by Mail::Header.
For the same reasons as other contributors to this thread, I'd like Griddler to allow a headers hash from the adapter.
I'm prepared to submit a PR for griddler-cloudmailin to sanitise the headers in the way that Mail::Header would.

Thanks for your input, everyone. I've updated the code for the newest version of Griddler and merged this as the following commits:

c4b3c3969adaf2a42f8a3eebd854898934696e30
1b5f37bbe7a54c061440016d43a3ad4fe24e86bc

I also released Griddler 1.2.0 with this change.


[BUG] Document GET API is broken for DLS queries that need call to rewrite before createWeight

What is the bug?
Recent changes to the Lucene TermInSetQuery removed the createWeight method, which breaks the GET document API in the presence of a DLS query that use terms. The underlying issue is that DlsGetEvaluator calls createWeight without calling rewrite.
How can one reproduce the bug?
Steps to reproduce the behavior:

Create a DLS query based on terms like { "terms": { "foo" : ["bar"] } }
Add some documents to an index.
Issue a GET document call like GET <index>/_doc/5
Receive an error message like Query XXX does not implement createWeight

What is the expected behavior?
The GET document call should succeed and return the relevant document if allowed by the DLS query (or not return it if not allowed by the DLS query).
The fix should be as simple as changing this line to say:
final Weight preserveWeight = searcher.createWeight(dlsQuery.rewrite(searcher), ScoreMode.COMPLETE_NO_SCORES, 1f);

While this probably broke for terms queries as a direct result of this commit, it may have previously been broken for other MultiTermQuery subclasses. In general, Lucene assumes that code paths that call createWeight call rewrite first.
What is your host/environment?

OS: N/A
Version: OpenSearch 2.8
Plugins: N/A

Do you have any screenshots?
Nope
Do you have any additional context?

Lucene change that made TermInSetQuery extend MultiTermQuery and removed the createWeight method from the (non-rewritten) Query class: https://github.com/apache/lucene/commit/3809106602a9675f4fd217b1090af4505d4ec2a7
Conversation from OpenSearch Slack that motivated this issue: https://opensearch.slack.com/archives/C0539F41Z5X/p1690714779140659
Note that in that Slack thread, I suggested a workaround of replacing the DLS query with a small number of terms with a single term query if only a single term is being matches or a bool query with should clauses for the relevant terms, since that's what the rewrite method rewrites to anyway (if there are 16 or fewer terms).

Thanks for raising this @msfroh


Post failedTypeError: Failed to fetch

Yesterday it was still fine and working as intended but now everytime i tried to translate images it says "Post failedTypeError: Failed to fetch". Hope you can update and fix this problem because there is no other extension in google chrome that actually can translate from RAW novels site.

I looked into it and the problem is that I reached my cost control limit for DeepL for this month (65,00 € for 3.250.070 characters) which basically causes my Server to return errors. The limit will resets roughly on 17th of each month so you'd have to wait for that


configure OpenTelemetryAppender automatically

configure OpenTelemetryAppender automatically

Already refactored as suggested by you 😀
On Mon, Jun 26, 2023, 20:25 Karen Jureidini @.***>
wrote:

@.**** commented on this pull request.
In src/main/java/com/grafana/opentelemetry/OpenTelemetryConfig.java
https://github.com/grafana/grafana-opentelemetry-starter/pull/28#discussion_r1242590074
:

private void addLogAppender(OpenTelemetry openTelemetry) {

   //the openTelemetry object is not used yet, but it will be used in the future, when the global otel instance is not used by default anymore

   try {

       Class.forName("ch.qos.logback.classic.Logger");

       LogbackConfig.addLogbackAppender();

   } catch (ClassNotFoundException e) {

       //not using logback

       try {

           Class.forName("org.apache.logging.log4j.core.LoggerContext");

           Log4jConfig.addLog4jAppender();

       } catch (ClassNotFoundException ex) {

           // not using log4j2

       }

       logger.warn("no logging library found - OpenTelemetryAppender not added");

If you don't change the structure of the methods (see my above comment)
then I think this warn statement should be within the second catch block.
In its current location, it will run regardless of whether forName()
throws an exception for org.apache.logging.log4j.core.LoggerContext.
—
Reply to this email directly, view it on GitHub
https://github.com/grafana/grafana-opentelemetry-starter/pull/28#pullrequestreview-1499143986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVTR44ZJQAFZRV5EKEPYPLXNHH2PANCNFSM6AAAAAAZUKZ24I
.
You are receiving this because you were assigned.Message ID:
@.***
com>


[ERROR] npm ci

How can I fix it?

I see, I should still need to configure the hexo environment locally and then upload it to the repository.


[stable/jenkins] Only render authorizationStrategy and securityRealm if set

What this PR does / why we need it:
This allows people to unset bothe values in case that they don't want those without having to disable XML configuation.
One use case for this if these fields need more templating than what is allowed within values.yaml. In that case one could supply a config map which is annotated with the correct label, so that JCasC / the sidecar container picks it up, but that is not part of the chart.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @wmcdona89

/lgtm


Update pre-commit hooks: formatting with ruff, format pyproject.toml

Configure ruff format and format the whole codebase.

Ciao @topher-lo, I just merged main in this branch. This is technically ready for review and should be fine. However, there are two more pre-commit hooks I'd like to add, if you agree.

To avoid incurring in another issue like #110, we should add pre-commit check-added-large-files and potentially scope it to the data/ dir alone. This commit ignores by default git lfs data but will prevent someone who hasn't configured git lfs to upload a dataset by mistake.
Locally ruff finds issues in the benchmarking notebook. If I fix the error, the notebook metadata changes and versioning those is a PITA. Do we need to version the contents of notebooks too? Otherwise I have the solution: nbstripout's pre-commit hook. If you agree I can add that to the pre-commit hook list.

Also


Create Week 11 - Calculator.md

Week 11 project

please add a link in the main page as well @ved08


[Bug] character omitted if followed by a special character in preview mode

Insomnia Version: v6.0.0-beta.1
Operating System: 10.13.4

Details
Hi!
I ran in to a bug when previewing my response in the preview or the source code preview modes. When the response contains strings containing a special character (like é or €), the character preceding it will be omitted. See the example below. The name should be "Grand Café" and the price string is missing the space between the "r" and the "€".
When I select the raw preview mode I get these values:
"name":"Grand Caf\u00e9"
"price_string":"2 voor \u20ac12,50"
So the response from the server is correct.
{
	"data": {
		"overview": [
			{
				"name": "Grand Caé",
				"deals": [
					{
						"is_redeemable": true,
						"price_string": "2 voor€12,50"
					}
				]
			}
		]
	}
}

Cheers!

Fixed this in https://github.com/getinsomnia/insomnia/commit/3d73cfa2a8236ed162a08c0588fdc2c4ad7a2d7a


Horizontal-BarChart and Legenda items in row not in column

is it possible to use a horisontal (Y-Axe) Horizontal-BarChart ? (workaround?)
is it possible to orient items in legenda horisontal not vertical?
Thank you in advance!

is it possible to use a horisontal (Y-Axe) Horizontal-BarChart ? (workaround?)
Not yet. See: https://github.com/timmolter/XChart/issues/136

is it possible to orient items in legenda horisontal not vertical?
Yes, in the latest snapshot. It will appear in V 3.5.0.

Thank you in advance!

Closing due to repeat of: https://github.com/timmolter/XChart/issues/136


lxc: Fix aliases containing @ARGS@

Consider the following alias: lxc alias add foo "exec c1 -- echo @ARGS@".
Previously, this would expand to lxc exec c1 -- echo @ARGS@ 1 if
called as lxc foo 1, which is incorrect.
This fixes the expansion of @ARGS@ which makes the above call
correctly expand to lxc exec c1 -- echo 1.
Signed-off-by: Thomas Hipp<EMAIL_ADDRESS>

jenkins: test this please


Messaging: Avoids NPE on newly created queue setup

A new queue has no policies, avoid NPE parsing nothing
On queue setup we attempt to append new policies to a queue. If the
queue is new it won't have any existing policies so we can start with
an empty list instead of attempting to parse policies that aren't
there.
This change avoids this exception:
Exception in thread "main" java.lang.IllegalArgumentException: JSON string cannot be null
at com.amazonaws.auth.policy.internal.JsonPolicyReader.createPolicyFromJsonString(JsonPolicyReader.java:66)
at com.amazonaws.auth.policy.Policy.fromJson(Policy.java:229)
at com.izettle.messaging.AmazonSNSSubscriptionSetup.allowSQSQueueToReceiveMessagesFromSNSTopic(AmazonSNSSubscriptionSetup.java:105)
at com.izettle.messaging.AmazonSNSSubscriptionSetup.subscribeSQSQueueToSNSTopic(AmazonSNSSubscriptionSetup.java:56)

Ping @xiaodong-izettle and @oskarwiksten

Thanks for the fix, @nzroller. :+1: :)


Breakpoint not working properly

Description
I have set my breakpoint in the config file but seems like its a mix of em and px.
version: "@pandacss/dev": "^0.7.0"
I wanted to change the text color to green when breakpoint is xsmall to sm (120px -150px). The result of min width is correct but for some reason max width become em so it does not work. anyone knows why??

Link to Reproduction
no reproduction
Steps to reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

JS Framework
next js - app directory and typescript
Panda CSS Version
0.7.0
Browser
chrome 93
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

on a quick glance in the source code, It seems to be because of this line but I don't have the context on this one, perhaps @segunadebayo knows ?
https://github.com/chakra-ui/panda/blob/f4ff7805fcc0a1ab028d6521dd99ba305c7b8c9c/packages/core/src/breakpoints.ts#L108

Breakpoints are best defined in em unit so they can work regardless of the browser or accessibility zoom level. This is a design decision, not a bug.
Regarding the max-width, this is happening because Panda has a built-in default xs breakpoint that has not been overridden. If you change xSmall to xs, it should work as expected.
The solution is to:

eject from the built-in preset by passing eject: true
install the @pandacss/preset-panda, and tweak the theme.
add the new theme to the config preset presets: [customTheme]


Fixes

Hi! I tested this module on my project and prepare some fixes:

I want disable TS checker.
Change babel preset like in Nuxt.
For some options use "unshift".

Published to NPM v0.10.0


Remove requirement for ceph config and keyring  files

RBD does not need the ceph config and keyring files.
The plugin uses the configuration from the storage/snapshot class and from the secret.

@gman0 @rootfs ptal.

Thanks

@rollandf please cherry pick it to csi-v1.0 branch too. thanks


vhdl syntax file

Hello,
I added a syntax file for the vhdl hardware description language.
I am not perfectly sure if I have correctly integrated the vhdl.micro file into the source tree.
micro highlights the .vhdl and .vhd files correctly if the file vhdl.micro is located in $HOME/.config/micro/syntax
But without that, the vhdl files aren't recognized and the highlighting mode is Unknown.
I'm totally new to go, so probably I compile micro the wrong way
export GOPATH=$HOME/gowork
mkdir $HOME/gowork
cd $HOME/gowork
git clone https://github.com/clemenscorny/micro.git
cd micro
make build

BR Clemens

Thanks, the way you've done it is fine. If you want the syntax file to be embedded in the binary you have to run make runtime as well, but I've done that for you.

Thank you for the explanation!


Running pnpm i results in "Cannot find module packages/wunderctl/dist/bin/install.js"

Bug description
After a clean installation of wundergraph, the post-install script that installs wunderctl fails to run. This is on a clean Ubuntu WSL instance
 WARN  Failed to create bin at /home/revo/dev/js/wundergraph/node_modules/.pnpm/node_modules/.bin/wunderctl. The source file at<EMAIL_ADDRESS>does not exist.
<EMAIL_ADDRESS>Running postinstall script, done in 81ms
<EMAIL_ADDRESS>Running postinstall script, done in 113ms
<EMAIL_ADDRESS>Running postinstall script, done in 103ms
node_modules/.pnpm/@swc+core@1.3.14/node_modules/@swc/core: Running postinstall script, done in 56ms
<EMAIL_ADDRESS>Running postinstall script, done in 66ms
 WARN  Failed to create bin at<EMAIL_ADDRESS>The source file at<EMAIL_ADDRESS>does not exist.
 WARN  Failed to create bin at /home/revo/dev/js/wundergraph/testapps/postgres/node_modules/.bin/wunderctl. The source file at<EMAIL_ADDRESS>does not exist.
 WARN  Failed to create bin at /home/revo/dev/js/wundergraph/testapps/simple/node_modules/.bin/wunderctl. The source file at /home/revo/dev/js/wundergraph/packages/sdk/dist/wunderctl/bin/run.js does not exist.
 WARN  Failed to create bin at /home/revo/dev/js/wundergraph/testapps/mtls/node_modules/.bin/wunderctl. The source file at<EMAIL_ADDRESS>does not exist.
 WARN  12 other warnings
packages/wunderctl postinstall$ node dist/bin/install.js
│ node:internal/modules/cjs/loader:1093
│   throw err;
│   ^
│ Error: Cannot find module '/home/revo/dev/js/wundergraph/packages/wunderctl/dist/bin/install.js'
│     at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
│     at Module._load (node:internal/modules/cjs/loader:934:27)
│     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
│     at node:internal/main/run_main_module:23:47 {
│   code: 'MODULE_NOT_FOUND',
│   requireStack: []
│ }
│ Node.js v19.7.0
└─ Failed in 39ms at /home/revo/dev/js/wundergraph/packages/wunderctl
. postinstall$ husky install && pnpm run patch
└─ Running...
 ELIFECYCLE  Command failed with exit code 1.

How to reproduce

Install pnpm
pnpm env use -g 19
Clone wundergraph
cd wundergraph && pnpm i
When installation is done, the post-install script is not found

Expected behavior
No error from trying to run the post-install script
WunderGraph information

Environment & setup

OS: Ubuntu WSL
Go version: N/A
Database: N/A
Node.js version: 19.7.0

WunderCtl Version
N/A

Try remove a file named download if exist in wunderctl folder , and run make command in wundergraph root folder

Instead of pnpm i, you should run make first as @abdelhameedhamdy suggested. Feel free to open this if you still have issues after that.


Drag Multiple Feeds from NNW 3.1.5 Receives only one

If I select all my feeds in NNW 3.1.5 (yes, I am that person), and drag them to NNW 5, it accepts them all, but adds only one feed (after an prompt for information which it doesn't really need).

NetNewsWire 5 doesn’t know what earlier versions of NetNewsWire write to the clipboard. If it did, it would know that you’re dragging feeds.
Instead, it just thinks you’re dragging in URLs — from a web page, for instance — and so it assumes you want to subscribe, but that the URL may not be of a feed, so it has to do the feed-finding process.
It picks just one of the URLs, because there’s no UI for finding multiple feeds at the same time.
WORKAROUND: export OPML from earlier versions of NetNewsWire and import in NetNewsWire 5.

I just dragged them over one at a time.  Just figured I'd report the issue.

👍

I just ran into this too while implementing dragging from Feed Compass to NetNewsWire.
It might be nice if we bypass the add feed UI altogether when dragging to the sidebar (while still doing the feed-finding process).  I'm not sure how we would handle not found feeds in the UI though.  Maybe just a sheet that states "One or more feeds were invalid and not imported"?

I think we need a drag type that says “YES THIS IS A FEED! DON’T BOTHER TO GO SEARCHING! TRUST ME!”
Older versions of NetNewsWire had this, I think. I’ll look into it.

Closing this because NetNewsWire 3 hasn’t run on the last few macOS versions, and it’s unlikely people are still running across this issue. And there are other ways of bringing NNW3 subscriptions across — via OPML and via the Import NNW3 Subscriptions… command in the File menu.


added a blank line to MCMC_utils.R

Opening PR to trigger travis

Only opened this PR to trigger testing.  Closing this PR without merging.


Metronome 0.4.2 bump on 1.11 [cherry-pick to 1.11.2]

Cherry-pick of https://github.com/dcos/dcos/pull/2826 to 1.11.2.

This repo has @mesosphere-mergebot integration. You can interact with the following commands.
@mesosphere-mergebot override-status
@mesosphere-mergebot merge-it
@mesosphere-mergebot label [Ready For Review |Holding |Request For Comment |Ship It |Work In Progress]
@mesosphere-mergebot bump-ee

PR creators can apply one of  [Ready For Review |Work In Progress]. Owners can apply any label.

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot bump-ee

@kensipe @alenkacz @orsenthil @jgehrcke PTAL

@mesosphere-mergebot merge-it


Subsection Headings on Home page

Is your feature request related to a problem? Please describe.
I currently have a brief "About Me" section on my home page, followed by the auto-aggregated recent posts summary. However, I find the visual separation between the two sections not as distinct as I'd like it.
Describe the solution you'd like
I'd like to be able to configure subsection headings for the aggregated content and ideally also configure the vertical separation to the content included from _index.md.
Describe alternatives you've considered
I have tried to end the _index.md with a subsection heading, but this heading ends up visually closer to the bio content then the aggregated content, so the result looks off.
I also noticed that the theme's layouts/index.html contains a div for params.mainSectionsTitle, but adding that setting to the config.toml does not appear to have any obvious effects. As far as I can tell, the div is not even included in the rendered HTML.

@strangeglyph Please apologize my late reply. Somehow I must have missed your issue.
Thanks for your in-depth explanation which greatly helped me.
You have to set the mainSectionsTitle in the frontmatter of your _index.md; for example like this:
author = "Hugo Authors"
mainSectionsTitle = "Foo"

This will give you something like this (mind the headline named foo):

Does this answer your question?

Thank you, yes, that's exactly what I was looking for.


[Bug] [data-quality] Data quality task can't run

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

my table name is: 'ads_search_store_hotword_i_d'
and my null-check task can't run
when i check the log i find that the table_name in the sql becomes:'stat_ads_search_store_hotword_i_d'
my database name is 'stat',should it be 'stat.ads_search_store_hotword_i_d'?
which should be concated by '.' but not '_' ?
What you expected to happen
database_name and table_name should be concated by '.' but not '_' ?
How to reproduce
written
Anything else
No response
Version
3.0.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Can you send more log information?

[LOG-PATH]: /opt/dolphinscheduler/logs/20221028/7359692479072_2-17893-46126.log, [HOST]:  Host{address='dolphinscheduler-worker-2.dolphinscheduler-worker-headless:1234', ip='dolphinscheduler-worker-2.dolphinscheduler-worker-headless', port=1234}
[INFO] 2022-10-28 11:37:37.070 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[83] - data quality task params {"localParams":[],"resourceList":[],"ruleId":1,"ruleInputParameter":{"check_type":"1","comparison_type":1,"comparison_name":"0","failure_strategy":"0","operator":"3","src_connector_type":0,"src_datasource_id":8,"src_field":"id","src_table":"ads_search_store_hotword_i_d","threshold":"0"},"sparkParameters":{"deployMode":"cluster","driverCores":1,"driverMemory":"512M","executorCores":2,"executorMemory":"2G","numExecutors":2,"others":"--conf spark.yarn.maxAppAttempts=1"}}
[INFO] 2022-10-28 11:37:37.072 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[181] - data quality task command: ${SPARK_HOME2}/bin/spark-submit --master yarn --deploy-mode cluster --driver-cores 1 --driver-memory 512M --num-executors 2 --executor-cores 2 --executor-memory 2G --queue default --conf spark.yarn.maxAppAttempts=1 /opt/dolphinscheduler/libs/dolphinscheduler-data-quality-dev-SNAPSHOT.jar "{"name":"$t(null_check)","env":{"type":"batch","config":null},"readers":[{"type":"JDBC","config":{"database":"stat","password":"","driver":"com.mysql.cj.jdbc.Driver","user":"bidata","output_table":"stat_ads_search_store_hotword_i_d","table":"ads_search_store_hotword_i_d","url":"jdbc:mysql://am-wz99d8065a99x5f0w167320o.ads.aliyuncs.com:3306/stat?allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false"} }],"transformers":[{"type":"sql","config":{"index":1,"output_table":"null_items","sql":"SELECT * FROM stat_ads_search_store_hotword_i_d WHERE (id is null or id = '') "} },{"type":"sql","config":{"index":2,"output_table":"null_count","sql":"SELECT COUNT() AS nulls FROM null_items"} }],"writers":[{"type":"JDBC","config":{"database":"dolphinscheduler","password":"","driver":"com.mysql.cj.jdbc.Driver","user":"dolphinscheduler","table":"t_ds_dq_execute_result","url":"jdbc:mysql://rm-wz9s0d8l0d5139wh9.mysql.rds.aliyuncs.com:3306/dolphinscheduler?characterEncoding=utf8&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false","sql":"select 0 as rule_type,'$t(null_check)' as rule_name,0 as process_definition_id,17893 as process_instance_id,46126 as task_instance_id,null_count.nulls AS statistics_value,0 AS comparison_value,1 AS comparison_type,1 as check_type,0 as threshold,3 as operator,0 as failure_strategy,'hdfs://<IP_ADDRESS>:8020/user/dolphin/data_quality_error_data/0_17893_\u6570\u636E\u8D28\u91CF\u6D4B\u8BD5' as error_output_path,'2022-10-28 11:37:37' as create_time,'2022-10-28 11:37:37' as update_time from null_count "} },{"type":"JDBC","config":{"database":"dolphinscheduler","password":"","driver":"com.mysql.cj.jdbc.Driver","user":"dolphinscheduler","table":"t_ds_dq_task_statistics_value","url":"jdbc:mysql://rm-wz9s0d8l0d5139wh9.mysql.rds.aliyuncs.com:3306/dolphinscheduler?characterEncoding=utf8&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false","sql":"select 0 as process_definition_id,46126 as task_instance_id,1 as rule_id,'3EHCYI2MVDDNF1CFUGCCEWXVTHXW+UB0PYME6EZPC3Y=' as unique_code,'null_count.nulls'AS statistics_name,null_count.nulls AS statistics_value,'2022-10-28 11:37:37' as data_time,'2022-10-28 11:37:37' as create_time,'2022-10-28 11:37:37' as update_time from null_count"} },{"type":"hdfs_file","config":{"path":"hdfs://<IP_ADDRESS>:8020/user/dolphin/data_quality_error_data/0_17893_\u6570\u636E\u8D28\u91CF\u6D4B\u8BD5","input_table":"null_items"} }]}"
[INFO] 2022-10-28 11:37:37.073 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[85] - tenantCode user:dolphin, task dir:17893_46126
[INFO] 2022-10-28 11:37:37.073 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[90] - create command file:/tmp/dolphinscheduler/exec/process/6355591552224/7359692479072_2/17893/46126/17893_46126.command
[INFO] 2022-10-28 11:37:37.073 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[116] - command : #!/bin/sh
BASEDIR=$(cd dirname $0; pwd)
cd $BASEDIR
source /opt/dolphinscheduler/conf/dolphinscheduler_env.sh
${SPARK_HOME2}/bin/spark-submit --master yarn --deploy-mode cluster --driver-cores 1 --driver-memory 512M --num-executors 2 --executor-cores 2 --executor-memory 2G --queue default --conf spark.yarn.maxAppAttempts=1 /opt/dolphinscheduler/libs/dolphinscheduler-data-quality-dev-SNAPSHOT.jar "{"name":"$t(null_check)","env":{"type":"batch","config":null},"readers":[{"type":"JDBC","config":{"database":"stat","password":"","driver":"com.mysql.cj.jdbc.Driver","user":"bidata","output_table":"stat_ads_search_store_hotword_i_d","table":"ads_search_store_hotword_i_d","url":"jdbc:mysql://am-wz99d8065a99x5f0w167320o.ads.aliyuncs.com:3306/stat?allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false"} }],"transformers":[{"type":"sql","config":{"index":1,"output_table":"null_items","sql":"SELECT * FROM stat_ads_search_store_hotword_i_d WHERE (id is null or id = '') "} },{"type":"sql","config":{"index":2,"output_table":"null_count","sql":"SELECT COUNT() AS nulls FROM null_items"} }],"writers":[{"type":"JDBC","config":{"database":"dolphinscheduler","password":"","driver":"com.mysql.cj.jdbc.Driver","user":"dolphinscheduler","table":"t_ds_dq_execute_result","url":"jdbc:mysql://rm-wz9s0d8l0d5139wh9.mysql.rds.aliyuncs.com:3306/dolphinscheduler?characterEncoding=utf8&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false","sql":"select 0 as rule_type,'$t(null_check)' as rule_name,0 as process_definition_id,17893 as process_instance_id,46126 as task_instance_id,null_count.nulls AS statistics_value,0 AS comparison_value,1 AS comparison_type,1 as check_type,0 as threshold,3 as operator,0 as failure_strategy,'hdfs://<IP_ADDRESS>:8020/user/dolphin/data_quality_error_data/0_17893_\u6570\u636E\u8D28\u91CF\u6D4B\u8BD5' as error_output_path,'2022-10-28 11:37:37' as create_time,'2022-10-28 11:37:37' as update_time from null_count "} },{"type":"JDBC","config":{"database":"dolphinscheduler","password":"","driver":"com.mysql.cj.jdbc.Driver","user":"dolphinscheduler","table":"t_ds_dq_task_statistics_value","url":"jdbc:mysql://rm-wz9s0d8l0d5139wh9.mysql.rds.aliyuncs.com:3306/dolphinscheduler?characterEncoding=utf8&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false","sql":"select 0 as process_definition_id,46126 as task_instance_id,1 as rule_id,'3EHCYI2MVDDNF1CFUGCCEWXVTHXW+UB0PYME6EZPC3Y=' as unique_code,'null_count.nulls'AS statistics_name,null_count.nulls AS statistics_value,'2022-10-28 11:37:37' as data_time,'2022-10-28 11:37:37' as create_time,'2022-10-28 11:37:37' as update_time from null_count"} },{"type":"hdfs_file","config":{"path":"hdfs://<IP_ADDRESS>:8020/user/dolphin/data_quality_error_data/0_17893_\u6570\u636E\u8D28\u91CF\u6D4B\u8BD5","input_table":"null_items"} }]}"
[INFO] 2022-10-28 11:37:37.091 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[290] - task run command: sudo -u dolphin sh /tmp/dolphinscheduler/exec/process/6355591552224/7359692479072_2/17893/46126/17893_46126.command
[INFO] 2022-10-28 11:37:37.093 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[181] - process start, process id is: 3214891
[INFO] 2022-10-28 11:37:37.106 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[205] - process has exited, execute path:/tmp/dolphinscheduler/exec/process/6355591552224/7359692479072_2/17893/46126, processId:3214891 ,exitStatusCode:127 ,processWaitForStatus:true ,processExitValue:127
[INFO] 2022-10-28 11:37:38.094 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[63] -  -> /tmp/dolphinscheduler/exec/process/6355591552224/7359692479072_2/17893/46126/17893_46126.command: line 5: /opt/soft/spark2/bin/spark-submit: No such file or directory
[INFO] 2022-10-28 11:37:38.095 +0800 [taskAppId=TASK-20221028-7359692479072_2-17893-46126] TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.dq.DataQualityTask:[57] - FINALIZE_SESSION
@pandong2011

Need to configure spark env.

it seems so,thank you!

Need to configure spark env.

it seems so,thank you!


Replace internal provisioner name with external one

What this PR does / why we need it:
External provisioner name is "openstack.org/standalone-cinder" which
is hardcoded in this repo. And "kubernetes.io/cinder" is the one of
kubernetes/kubernetes in-tree provisioner which is already deprecated.
So this replaces the old name with a new one which is the external
cloud-provider-openstack to avoid confusion.
In addition, this removes the volume type from the example because
the provisioner cannot create a volume if the volume type doesn't
exist on Cinder side and it is hard to debug it.
Release note: NONE

/retest

/retest

/approve
/lgtm


GUI does not work anymore

Describe the bug
The GUI does not work anymore. The proxy hosts already added continue to work.
When I Try to connect to http://ip:81, I hace no answer.
seed@op:~/docker-compose$ docker logs -f proxymanager
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[11/20/2019] [9:10:37 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:10:48 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:10:59 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:11:10 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:11:21 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:11:32 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:11:43 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:11:54 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:12:05 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:12:16 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:12:27 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:12:38 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:12:49 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:13:00 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:13:11 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:13:22 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:13:33 AM] [Global   ] › ✖  error     connect ETIMEDOUT
[11/20/2019] [9:13:44 AM] [Global   ] › ✖  error     connect ETIMEDOUT

When I go into the container :
seed@op:~/docker-compose$ docker exec -it proxymanager bash
[root@docker-9208b9ea7100:/]# cd /data/logs/
[root@docker-9208b9ea7100:/data/logs]# tail error.log
2019/11/20 09:12:29 [error] 226#226: *418 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:12:35 [error] 226#226: *10 upstream timed out (110: Connection timed out) while connecting to upstream, client: <IP_ADDRESS>, server: j
ackett.sdewitte.net, request: "GET /UI/Dashboard HTTP/1.1", upstream: "http://<IP_ADDRESS>:9117/UI/Dashboard", host: "jackett.sdewitte.net", referrer:
"https://jackett.sdewitte.net/UI/Dashboard"
2019/11/20 09:12:45 [error] 226#226: *453 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:13:00 [error] 226#226: *481 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:13:16 [error] 226#226: *514 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:13:32 [error] 226#226: *544 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:13:36 [warn] 226#226: *552 using uninitialized "server" variable while logging request, client: <IP_ADDRESS>, server: localhost, request:
 "GET /robots.txt HTTP/1.1", host: "mercury.tvlogy.to"
2019/11/20 09:13:47 [error] 226#226: *577 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:14:03 [error] 226#226: *607 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"
2019/11/20 09:14:19 [error] 226#226: *635 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: localho
st, request: "GET /health HTTP/1.1", upstream: "http://<IP_ADDRESS>:81/health", host: "localhost:9876"

What version of Nginx Proxy Manager is reported on the login page?
I cannot see, as I don't have a login page anymore...

Operating System

Linux server

steph@op:~$ uname -a
Linux op 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
steph@op:~$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"

My bad, I had an issue on my docker network...

What did you do to fix this? I've been having this issue non-stop

I honestly don't remember... I think I put the docker in a specific network that was not available from internet, but I'm not 100% sure. Sorry.


Upload CYFM Token

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

@jamestylee can you lowercase filename?

Added here https://github.com/TrustWallet/tokens/commit/ea35a2f7d4772021cd28941da35f0e05c37370f9.
@jamestylee
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp

I'm so sorry about that, I didn't even realize the mixed case.   Is it ok to just update this and attach?
Thanks for your logos, absolutely useful for our site and marketing.
-James

You already should see it in wallet.

I did indeed.  Thanks so much!
On Fri, Jun 29, 2018 at 12:30 AM, Mykola<EMAIL_ADDRESS>wrote:

You already should see it in wallet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TrustWallet/tokens/pull/232#issuecomment-401244404,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Alj5V3NZ69puu4Nd8ZazvnRYxw6L0fWwks5uBa1egaJpZM4U7qaR
.


uv_spawn memory leak when command not found (libuv-1.8.0)

I am seeing a memory leak when i do uv_spawn for which the options.file doesn't exist. I do know if we use uv_strerror it will leak for unknown error codes, but this is a known error code (even with uv_strerror commented out i still see the same leak).
More Context: I am writing a light weight remote execution program (daemon), since i am getting small memory leak my code is core dumping if i hit it hard with concurrent requests (if i comment out the test case which caused uv_spawn to fail, then i am all good).
I am using libuv-1.8.0
Code
#include <stdio.h>
#include <inttypes.h>
#include <uv.h>

uv_loop_t *loop;
uv_process_t child_req;
uv_process_options_t options;

void on_exit(uv_process_t *req, int64_t exit_status, int term_signal) {
    fprintf(stderr, "Process exited with status %" PRId64 ", signal %d\n", exit_status, term_signal);
    uv_close((uv_handle_t*) req, NULL);
}

int main() {
    loop = uv_default_loop();

    char* args[3];
    args[0] = "/bin/no_mkdir"; // no such command
    args[1] = "test-dir";
    args[2] = NULL;

    options.exit_cb = on_exit;
    options.file = "/bin/no_mkdir"; // no such command
    options.args = args;

    int r;
    if ((r = uv_spawn(loop, &child_req, &options))) {
        fprintf(stderr, "%s\n", uv_strerror(r));
        return 1;
    } else {
        fprintf(stderr, "Launched process with ID %d\n", child_req.pid);
    }
    return uv_run(loop, UV_RUN_DEFAULT);
}

Compile
tmp ~$ gcc -g -o spawn spawn.c -luv
Valgrind
...snip...
==12179== HEAP SUMMARY:
==12179==     in use at exit: 152 bytes in 2 blocks
==12179==   total heap usage: 2 allocs, 0 frees, 152 bytes allocated
==12179==
==12179== 24 bytes in 1 blocks are definitely lost in loss record 1 of 2
==12179==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
==12179==    by 0x4C286EB: uv_spawn (process.c:418)
==12179==    by 0x400858: main (spawn.c:28)
==12179==
==12179== 128 bytes in 1 blocks are still reachable in loss record 2 of 2
==12179==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
==12179==    by 0x4A06BA2: realloc (vg_replace_malloc.c:662)
==12179==    by 0x4C2233A: uv__io_start (core.c:779)
==12179==    by 0x4C29260: uv_signal_init (signal.c:225)
==12179==    by 0x4C2786E: uv_loop_init (loop.c:66)
==12179==    by 0x4C2020D: uv_default_loop (uv-common.c:567)
==12179==    by 0x4007FF: main (spawn.c:16)
==12179==
==12179== LEAK SUMMARY:
==12179==    definitely lost: 24 bytes in 1 blocks
==12179==    indirectly lost: 0 bytes in 0 blocks
==12179==      possibly lost: 0 bytes in 0 blocks
==12179==    still reachable: 128 bytes in 1 blocks
==12179==         suppressed: 0 bytes in 0 blocks
==12179==
==12179== For counts of detected and suppressed errors, rerun with: -v
==12179== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 6)
no such file or directory
==12178==
..snip..

i am not worried about uv_run leak because i am not closing it correctly (or is it a problem?).
Original Google Group Post: https://groups.google.com/forum/#!topic/libuv/Mv46eXpp-YE

related #551

As I said on the mailing list, I think this is a false positive. I don't see how that function can return without freeing the pipes array.
Maybe valgrind gets confused? @bnoordhuis WDYT?

Valgrind is probably complaining about the forked process.  It doesn't free pipes because why bother, it's going to call execve() anyway.

I thought of that and added a free right before the execve, but it kept complaining... what gives?

Try passing --child-silent-after-fork=yes to valgrind.

@bnoordhuis yep, that did it. laso this small patch, but I'm not sure if we want to do that since we execvp right after:
diff --git a/src/unix/process.c b/src/unix/process.c
index 571f8cd..7dc3d1d 100644
--- a/src/unix/process.c
+++ b/src/unix/process.c
@@ -376,6 +376,8 @@ static void uv__process_child_init(const uv_process_options_t* options,
     environ = options->env;
   }

+  uv__free(pipes);
+
   execvp(options->file, options->args);
   uv__write_int(error_fd, -errno);
   _exit(127);

Yeah, not much point and probably not 100% effective, either.

Ah true that. Closing as wontfix then :-)


[Idea] Plugin for Prestashop CMS

The CMS Prestashop not listed on commerce Solution.
We are Prestashop's Developpers from 12 years so we can develop the Solana Pay plugin for Prestashop if you think its a good idea to contribute to Solana Pay project ?

Hey, I think this is a great idea. Your contributions would be welcome!

Perfect so i plan it with my team and we will work on it.
It maybe can re-use / adapt for other CMS using PHP.
I let you know here
Johan

Any news on this one ?