dcgain and step_info post PR merge cleanup

A little cleanup after #577 and #579 got merged

Coverage remained the same at 89.221% when pulling<PHONE_NUMBER>f1d7de60c3ea5106698538be360577 on bnavigator:step-dcgain-clean into 8b6dd77c7bde17dfed0201d00a5e072772d66c7d on python-control:master.


Update config-ConfigMap.yaml

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhinavmpandey08
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhinavmpandey08]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abhinavmpandey08: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

helm-chart-tooling-presubmit
de1dcc448dbdbf7f8e5f4f05b6178c24f12b877a
link
/test helm-chart-tooling-presubmit

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Decide on app package name

Note: cannot be changed later.  Should reflect app name because the package name

I believe this is a duplicate, resolved via #177

Thanks for pointing that out!


Crash on startup

The game crashes instantly when I'm using NWO (vanilla and DoD work fine), it crashes to desktop after the intro video but before the game starts into the loading screen, none of the logs have anything in them so I'm not sure where to start.

Are you playing the latest version? 1.??

remove old NWO installation completely and reinstall the mod.
clear your cache

1.10 is just out.

remove your old installation completely.
clear your chace (the NwO cache)
Install the new version NWO 1.10. Vic2 3.03 and 3.04 is supported.

02.09.2016, 23:32, "Joseph Roberts"<EMAIL_ADDRESS>
The game crashes instantly when I'm using NWO (vanilla and DoD work fine), it crashes to desktop after the intro video but before the game starts into the loading screen, none of the logs have anything in them so I'm not sure where to start.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In case it made a different, what is the difference of the 'zho' release? I did delete the cache and mod entirely, but that might've been it.

zho is the chinese release (as indicated by link name and flag ;) ). Why are you downloading that?

@simsulla Presumably because I'm a derp and didn't read properly, just clicking on the first download link on the releases page.


Improve documentation explaining better how to setup environment variables and orm config files.

Closed by #136.


decrease size for search box on channel

PR Checklist

Please check all that apply to this PR using "x":

[x ] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[ x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[x ] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number: https://github.com/lbryio/lbry-desktop/issues/3695
What is the current behavior?
Text Overflow on small screen in channel pages
What is the new behavior?
Resize a channel search box to alternative fix this issues
Other information

Thanks for the PR Chris! Sean is away for a few days so we'll get a review on it when he's back or maybe Jessop can take a look earlier.

@ykris45 thanks for this, but this solution is only a mild improvement for the problem (while also making it slightly worse for larger views).
A he correct solution is to adjust the flexbox rules so that the input shrinks properly.
Most likely this is a change to .tabs__list--channel-page in tabs.scss, but I only gave a cursory look.


Timeouts in pkg/dds and service/.../dds tests

There are new test failures on [cfe] Treat NonNullableByDefault as default in ast-to-text...Separate testFile and testFilePath in server tests..
The tests
pkg/dds/test/dap/integration/debug_breakpoints_test Timeout (expected Pass)
pkg/dds/test/devtools_server/instance_reuse_test Timeout (expected Pass)
pkg/dds/test/devtools_server/server_connection_api_test Timeout (expected Pass)
service/break_on_dart_colon_test/dds Timeout (expected Pass)
service/break_on_function_many_child_isolates_test/dds Timeout (expected Pass)
service/sdk_break_with_mixin_test/dds Timeout (expected Pass)
service/set_library_debuggable_test/dds Timeout (expected Pass)

are failing on configurations
vm-linux-release-arm64
unittest-asserts-debug-linux
unittest-asserts-release-mac-arm64
unittest-asserts-release-win

Example logs:

pkg/dds/test/devtools_server/server_connection_api_test on unittest-asserts-release-mac-arm64
pkg/dds/test/dap/integration/debug_breakpoints_test on unittest-asserts-release-win
pkg/dds/test/devtools_server/instance_reuse_test on unittest-asserts-debug-linux
service/sdk_break_with_mixin_test/dds on vm-linux-release-arm64

Actually moving the service/.../dds tests to bug #52656, as I think they're due to a different issue.

Additional pkg/dds timeouts seen just now:
The tests
pkg/dds/test/devtools_server/bind_test Timeout (expected Pass)
pkg/dds/test/devtools_server/devtools_server_path_strategy_test Timeout (expected Pass)
pkg/dds/test/devtools_server/embedding_test Timeout (expected Pass)
pkg/dds/test/devtools_server/remote_control_test Timeout (expected Pass)
pkg/dds/test/devtools_server/server_connection_api_test Timeout (expected Pass)
pkg/dds/test/devtools_server/service_registration_test Timeout (expected Pass)

are failing on configurations
unittest-asserts-release-mac-arm64

Example log.
The timeouts on Mac ARM64 show a lot of
STDERR pkg/dds/lib/src/dap/adapters/dds_hosted_adapter.dart:10:8: Error: Not found: 'package:dap/dap.dart'

entries in the log.

Looks like this is related to #52599, so going to close it in favor of the older bug.


A problem about loading data

I got an Error when I try to run data.py.
When running the create_train_data() function, it returns:
imgs = np.ndarray((total, 1, image_rows, image_cols), dtype=np.uint8)
TypeError: 'float' object cannot be interpreted as an integer
How to fix this problem?
Thanks a lot.

try int(total)

@yihui-he
Thank you for your reply. It helps. When I finish preprocessing, I run train.py.
However, it returns:
Creating and compiling model...
/Users/jz/Desktop/Unet_UNS/train.py:75: UserWarning: Update your Conv2D call to the Keras 2 API: Conv2D(32, (3, 3), activation="relu", padding="same")
conv1 = Convolution2D(32, 3, 3, activation='relu', border_mode='same')(inputs)
/Users/jz/Desktop/Unet_UNS/train.py:76: UserWarning: Update your Conv2D call to the Keras 2 API: Conv2D(32, (3, 3), activation="relu", padding="same")
conv1 = Convolution2D(32, 3, 3, activation='relu', border_mode='same')(conv1)
Traceback (most recent call last):
…… ……
File "/Users/jz/anaconda/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 659, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Negative dimension size caused by subtracting 2 from 1 for 'max_pooling2d_2/MaxPool' (op: 'MaxPool') with input shapes: [?,1,160,32].
I'm not sure if this error connects with previous preprocessing. Hope you give me some advices. Thank you again for your kindness.
Sincerely,


User Account Onboarding Demographic Questions

As per our Design Research team, here's what we could collect when users create a new account:

[ ] What is your name?

[ ] What is your email address?

[ ] Which of the following options best represents the type of organization you are affiliated with? [Single answer question]

Startup

Academic institution

Enterprise organization

Government

Other (Please specify _____)

[ ] How long have you been in the field of quantum computing? [Single answer question]

Less than 1 year

1 to 3 years

4 to 6 years

More than 6 years

[ ] Which of the following statements describe your role? (Check all that apply.) [Multiple choice question]

A researcher who is within a quantum computing provider (e.g. IBM), research lab, academic institution or start up focused on using a variety of techniques to build quantum technology (e.g. optimizers, algorithms, or  hardware).

A developer who is responsible for designing, developing, and testing software that is code compliant with quality and security protocols.

An educator who is working to develop the next generation of quantum professionals.

A hobbyist who is interested in quantum computing but has no work responsibilities tied to it.

A business leader who is interested in safeguarding company vision, making new product discoveries and/or tackling high impact problems that are not easily solvable with classical computing.

An innovation leader who is interested in early exploration into the promise of quantum computing

Other (Please specify ______)

[ ] What quantum computing related topics are you interested in learning about? [Multiple choice question]

Quantum Machine Learning

Quantum Hardware

Etc etc

Other (Please specify ______)

We should add the "from all users" items as part of this onboarding as well

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


models

It would be nice to add the ability to change player models

-> Cloakroom, use the forum to get help.


oneflow_compile(unet) failed

Describe the bug
A clear and concise description of what the bug is.
Your environment
OS
ubuntu20.04
OneDiff git commit id
OneFlow version info if you have installed oneflow
Run python -m oneflow --doctor and paste it here.
path: ['/usr/local/lib/python3.10/dist-packages/oneflow']
version: 0.9.1.dev20240515+cu118
git_commit: ec7b682
cmake_build_type: Release
rdma: True
mlir: True
enterprise: False
How To Reproduce
Steps to reproduce the behavior(code or script):
The complete error message
Additional context
Add any other context about the problem here.
ERROR [2024-07-03 07:01:29] /usr/local/lib/python3.10/dist-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py:38 - Exception in forward: e=KeyError(oneflow.float16)

What example are you running?

闰土
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "siliconflow/onediff"                                                                                @.>;
发送时间: 2024年7月5日(星期五) 下午4:53
@.>;
<EMAIL_ADDRESS>主题: Re: [siliconflow/onediff] oneflow_compile(unet) failed (Issue #995)
What example are you running?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

May I ask if there is a conclusion?

May I ask if there is a conclusion?

More context is needed. What is the example you are running and what is the HF diffusers version.

@liyandong001 Maybe you are compile some custom model?

I found the reason, it was caused by using xforms at the same time

I found the reason, it was caused by using xforms at the same time

OK. xformers can't be compiled by onediff so it needs to be disabled.


Development spike on RabbitMQ

Test RabbitMQ by updating DSA to use messaging to determine when an object is published rather than polling.  Also useful to learn more about when to se HTTP APIs vs. messaging.  Could then be used to implement/inform change discussed in #797
Ops providing a rabbitMQ server for testing: https://github.com/sul-dlss/operations-tasks/issues/2206#issuecomment-756284362
Example of polling for published status: https://github.com/sul-dlss/sdr-client/blob/2db4ffad7b622719108d8a13596a1c2b0ef24a78/lib/sdr_client/cli.rb#L61
ADR for message broker for asynchronous messaging: https://sul-dlss-labs.github.io/infrastructure-adrs/records/0010/

Closed in favor of #797

Closed in favor of #797


Rendered component has faulty markup and css-selector no longer works for it

Describe the bug
We recently migrated our code to .NET 7 from .NET 6 (and updated to latest version of bUnit.web) and noticed that our test that was using bUnit started to fail.
Example:
The code in question looks like this:
[SetUp]
public async Task SetupGiven()
{
	_dialogProvider = Context.RenderComponent<MudDialogProvider>();
	_dialogProvider.Markup.Trim().Should().BeEmpty();
	var service = Context.Services.GetService<IDialogService>() as DialogService;
	await _dialogProvider.InvokeAsync(() => dialogReference = service?.Show<ConfirmDialogComponent>(TitleText, new DialogParameters(){["Body"]=BodyText}));
	_component = Context.RenderComponent<ResponsibleDetailComponent>(parameters =>
	{
		parameters.Add(x => x.ResponsibleId, 1);
	});
	_component.Find("[data-test='deleteResponsible']").Click();
}

Result:
I noticed that the rendered markup looks strange for the component we're trying to find, seems like the icon is throwing it off.
<button
	icon="<path d=" m0="" 0h24v24h0v0z"="" fill="none"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4h-3.5z">"
	data-test="deleteResponsible"
	blazor:onclick="11"
	type="button"
	class="mud-button-root mud-button mud-button-text mud-button-text-default mud-button-text-size-medium mud-ripple"
	blazor:onclick:stopPropagation
	blazor:elementReference="">
		translated:Remove</path>
</button>

Expected:
The same button, but in .NET 6 using bUnit.web 1.8.15
<button
	icon="<path d="M0 0h24v24H0V0z" fill="none"/><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4h-3.5z"/>"
	data-test="deleteResponsible"
	blazor:onclick="11"
	type="button"
	class="mud-button-root mud-button mud-button-text mud-button-text-default mud-button-text-size-medium mud-ripple"
	blazor:onclick:stoppropagation=""
	blazor:elementreference="">
		translated:Remove
</button>

Version info:

bUnit version: 1.12.6
.NET Runtime and Blazor version: 7.0 (7.0.100)
OS type and version: Windows 10

(Originally posted this elsewhere but later figured it's probably not related to that issue so posted it like this instead.)

Hey @Sziadan,
thanks for reporting. The change was more or less intentional, but let's find out.  A bit of context: The first version (bUnit 1.12) behaves closer to the Blazor renderer. The Blazor renderer does not escape quotes.
Now it would be interesting to know what your component under test looks like, from a csharp code point of view but also if it is rendered in the browser.

I see, after looking a bit closer at our own code I realized we must have screwed something up ourselves too as those icons didn't render anyway.
However, the buttons did get rendered and were functional in a browser, hence why we never reacted to it I suppose.

Thanks for the heads up though, removing the icons in the code made the tests work as expected.

Thanks for the heads up though, removing the icons in the code made the tests work as expected.

Sure thing. I suppose we can close the issue for now?

Yes, the issue I were having is resolved with this.
Thanks for the help!


Update for Finish installation

Guide was referencing to run "npm run global-install", but running this as root in /root/src/oref0 often caused npm to break.
"sudo npm run global-install" completed OK.

If this behavior is reproducible on a freshly flashed rig, it constitutes a bug.  npm run global-install is an alias for some things that should be run with sudo and some that should not (for purposes of compatibility with multiple-user systems like Linux desktops and WSL).

OK, I understand.
The first part of the command set was not completing correctly (npm install), which generated errors. I've tried it  several times, before remembering that someone was recommending on gitter that npm should be run with sudo.
Related to the rig and procedure it was not completely clean install:

Rpi zero with RFM69HCW, without any other HW elements (e.g. power boost or battery voltage monitors)
First openaps install was with commit fd53d840, which was the latest when it was pulled. npm was cashing randomly, but eventually succeeded and openaps was working (but due to some NS related lag, loop was not successful in looping all the time.
Before installing latest commit (cele867) the /usr/local/lib/node_modules/oref0 and ~/src/oref0 was deleted, after gracefully shutting down all related processes.
New dev commit was checked-out and pulled. npm was crashing constantly
then I went step back and run curl -s https://raw.githubusercontent.com/openaps/oref0/master/bin/openaps-packages.sh | bash -

some packages were updated

Then did npm run global-install, also crashing (logs in attachment)
Then did the same as above with sudo, it passed.

snip from the logs:
npm WARN deprecated<EMAIL_ADDRESS>This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated<EMAIL_ADDRESS>This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/nightscout/share2nightscout-bridge.git
npm ERR!
npm ERR! fatal: Could not change back to '/root/src/oref0': Permission denied
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-03-05T16_16_48_542Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>global-install: `npm install && sudo npm link && sudo npm link oref0 && sudo npm install -g`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>global-install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-03-05T16_16_48_835Z-debug.log

2019-03-05T22_27_37_155Z-debug.log

Thanks for the detail. Were you ever logged in as pi, or always as root?

If it matters: I log in as pi, then sudo bash to root.
it might be that it is an isolated case, but it is weird. Also, few of the folks have some issue with npm.
I do not have any special customization to Rpi. It was installed through Rpi Bakery, with preconfigured wifi. then straight to openaps.
Anyway, if you have some ideas what I can do to help pinpoint the cause, I'll be glad to help.

Weird.  We always recommend logging in directly as root.  Not sure if there are any differences running npm under sudo bash vs. logged in as root.  It's also possible to forget to sudo bash if you're logging in as pi, which can get permissions messed up...

In that case, I recommend to disregard this and I'll be on a lookout when I rebuild this on a fresh Pi.

Ok, thanks.  I'll close for now, and you can reopen or do something new when that happens.


Reformat config object to address a couple of typos

Noticed these while looking in the console... Inconsequential, but removes a couple of warnings.

Awesome, thanks @ig0774


Allow to preselect refinements

For all refinement widgets, it should be easy to automatically select refinements at start.
For example, with a menu, I should be able to say that the facet value "iphone" is selected by default.
We have had numerous users willing to do so previously and the answer we had was to use the "searchParameters".
Unfortunately there's no easy way for our users to know which searchParameters to use and what's their format given their widget.
Even if we would document it, it would look weird to have to provide a "hierarchicalRefinements: {}" because you want to preselect menu items (yes, internally menu is a one level hierarchicalRefinement).
Some of our widgets actually already implement that sort of things, like passing "min" and "max" to the rangeSlider: it defines the numeric refinement to apply.
So it needs to be a new API entry at the widgets level.

preselecting refinements is easy in react-instantsearch, soon in IS V2


iOS problem

Problem build on iOS

@nathanwalker - can you help out here?
On Wed, Mar 2, 2016, 7:40 AM AtixD<EMAIL_ADDRESS>wrote:

Problem build on iOS
[image: 2016-03-02 16 39 43]
https://cloud.githubusercontent.com/assets/17594120/13461895/7ace8fec-e095-11e5-90eb-92097afeb57e.png
—
Reply to this email directly or view it on GitHub
https://github.com/bradmartin/nativescript-cardview/issues/10.

@AtixD There's still some issues with XCode and CocoaPods.
After the build fails from the command-line, go into 'platforms/ios' and open the .xcworkspace file (not the .xcodeproj).
Then set your target to the 2nd one like this for example:

The run that from XCode and it should build just fine.
Let me know.

@NathanWalker  Working. Thank you!

@AtixD Great to hear. Cheers!

@NathanWalker @bradmartin Seeing this closed issue a little bit late. I faced the same issue on TNS v2.0  using Xcode 7.2.1 with CocoaPods v1.0 on my Mac OS X Yosemite 10.10.5. Read about it online and reverted my Xcode to 7.1.1 where it got deployed successfully onto the iOS 9.2 Simulator (iPhone 6s).

@Headcult XCode 7.3 works as well, just upgrade, and then downgrade your CocoaPods to 0.39.0.

Ensure you set the backgroundColor on your card as that is needed so:
<Card:CardView class="cardStyle" margin="10" elevation="40" radius="5" backgroundColor="#fff">
           <grid-layout rows="200, auto, auto" columns="auto, auto, *">
               <image src="~/images/batman.jpg" stretch="aspectFill" colSpan="3" row="0" />
               <label text="Batman wants to be friends?" class="info" textWrap="true" row="1" colSpan="3" />
               <button text="DECLINE" tap="goAway" row="2" col="0" />
               <button text="ACCEPT" row="2" col="1" />
           </grid-layout>
       </Card:CardView>


Redundant role 'button'

I've just fired up a project I haven't touched in a couple of months, and now seem to be getting Ally warnings:
WARNING in ./node_modules/carbon-components-svelte/src/Dropdown/Dropdown.svelte
A11y: Redundant role 'button' (201:6)
201:       role="button"

WARNING in ./node_modules/carbon-components-svelte/src/UIShell/GlobalHeader/Header.svelte
A11y: Redundant role 'banner' (81:8)
81: <header role="banner" aria-label="{ariaLabel}" class:bx--header="{true}">

Not entirely sure what has changed, but I see the it was removed from Button before (https://github.com/carbon-design-system/carbon-components-svelte/pull/559)

What version of Svelte are you using?

Fixed in v0.51.2


Version issue on xrdp

rdp doesnt work unless you specify a lower version "sudo apt-get install xrdp=0.6.1-2"
ref: https://stackoverflow.com/questions/54126379/xrdp-doesnt-connect-to-azure-vm-suddenly

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

#sign-off Thank you for the contribution!


Fix Deadlock in Android Main Cleanup

The SFML Android implementation hangs when the main function returns. We noticed this when we added an exit button to our game. Clicking the exit button would background the activity. If you tried to open the game after closing it, it opened to a blank screen. I updated the SFML example so that it closes after 10 taps. This allows you to test closing the android activity and it reproduces the issue we noticed in our game.
Root Cause: Activity Thread Waits for Game Thread
There are a few loops in the activity thread that wait for some action on the main thread. If the main thread has exited, the actions will never occur, and the activity thread will wait forever.
Root Cause: Looper Gets Deleted
By default, android will delete the game thread looper when the game thread is destroyed. The activity thread needs the looper to clean up the activity's input queue. During cleanup the activity tries to detach the input queue from a deleted looper and it deadlocks trying to lock a deleted mutex stored on the looper. Android provides an acquire/release API that is meant for reference counting a looper. The application must reference count the looper when passing it between threads.

Any chance you can rebase this and remove the changes to the example, @JeffSwenson?

Will do!
On Mon, Aug 13, 2018, 2:38 PM Lukas Dürrenberger<EMAIL_ADDRESS>wrote:

Any chance you can rebase this and remove the changes to the example,
@JeffSwenson https://github.com/JeffSwenson?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SFML/SFML/pull/1265#issuecomment-412673960, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFCeaw-FfLyrVvcgwKQ3qbUmDdUh8J2-ks5uQfHugaJpZM4O8Zaq
.

I've removed the example app changes.

Merged in be3556d76ab956bab63d96b1d117546e6bf9897e


Sync some translation keys

I've made the sync with the latest commit that have added some keys on shortcut modal feature.
The languages English, and Português Brasileiro (Brazilian Portuguese) are fully translated.
Others languages has the keys as comment with the English version of translation values to help the future translator.

This is awesome @Rynaro thanks for doing the syncing too!


librsync-sys is not updated yet

Could you please bump both?

Done! Sorry for the delay!

Thank you :)


offline dev & online pro

Changes Unknown when pulling b9505acb10d7e101f7e253dacd501c4b4404bdc2 on lepdou:offline_dev3 into ** on ctripcorp:master**.


Clean up the script, Update some logic, and add output for the user

Remove the need to run the whole script as sudo
update the extension directory check logic
Also added some echo outputs for the user to see the steps
and removed redundant variables and imports

in install.sh line 40 will need root previlage. You can either just add sudo. or selectively give root privilegesbased on the extension installation location.
and this hardcoded path needs to change you can pass the some argument to handle it. I was not able to install if extension was installed as system extenion in /usr directory
if you are using python shebang, do you not need to run chmod +x script ?
and in your change install.sh as whole script dont require root previlage. so enableService.sh can be merge with install.sh

I fixed the issue on Line 40, in install.sh, just added the sudo, checking the extension directory to run sudo cp is unnecessarily complicated for it.
Also updated the hardcoded path in update_sftp.py, please be sure to go over it as I am not completely confident with the solution, but it should work I think.
Although the script should be able to edit files in /usr directory since it's being run with sudo, I am not sure what the issue was, Can you test it again to be sure?.
Using the shebang just removes the need to run the script with sudo python ./script.py , instead we can just use sudo ./script.py and bash should run it with python3.
We don't need the chmod +x script since we can just upload the script with the executable permission applied.
Also moved ./enableservice code to install.sh as you requested. Please remove unnecessary files and update the README.md with new solution


How to fix the error Value for title cannot be cast from ReadableNativeMap to String

i am using:
"axios": "^0.18.0",
"native-base": "^2.12.1",
"react": "16.8.3",
"react-native": "0.59.5",
"react-native-gesture-handler": "^1.1.0",
"react-navigation": "^3.8.1"
Android Studio 3.3.1
Build #AI-182.5<IP_ADDRESS>64788
JRE: 1.8.0_152-release-1248-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
i am new to react native app development and while running the app in android emulator i got the error "Value for title cannot be cast from ReadableNativeMap to String".

Did you find any solution?

No, i just downgrade the react-native version and the error disappeared.

I have same issue in RN 0.60. How can i fix it ?

Try by not using :
Alert.alert(responseJson);

I solved my issue by this .

Try by not using :
Alert.alert(responseJson);

I solved my issue by this .

Same with me !! TKS


Fix/HDH 111

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ yes] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ yes] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

RSS preview: https://64a5887ba4f7e700729c590f--harness-developer.netlify.app/release-notes/rss.xml

Awesome. Thank you @rohanmrzan100 we have been needing this w3c validation for a while!


support for otp R18

isis and also some dependencies (at least ibrowse, yaws) make use of R18-deprecated features.
it would be nice to have all this here buildable+runnable with OTP R18

I have a small problem with the name of the project. isis has so many meanings and not only good ones.

indeed - we can discuss the name with upstream: git.netdef.org/scm/osr/isis.git
is-is is around since around 1992, if i am not completely mistaken. perhaps anyone had considered this name-clash problem already?

deprecated features will generate warnings but usually continue to work. Or does it use features that where removed in R18?

well we can patch-away the "warnings_as_errors", which at least yaws hast in rebar.config.
but i would prefer actually "fixing" it.

ah well - at least yaws as R18 fixes upstream...

elisis

elise
elisabeth


feat: 🎸 header and footer

@WeiLi512  plz review

@WeiLi512  plz check again

The logo and navigation sizing looks much better. 👍
The overview and governance sections still need a few adjustments:

Current
Design

Include the page title Statistics
Remove the Overview heading
Fix the transparency of the total value locked icon
Remove the bold style from the values (should be a normal weight)

Footer

Current
Design

Remove the bold style from the values (should be a normal weight)

To recap:

The transparency of the TVL icon needs fixed (I believe it’s isolated to this PR)
The overview and governance stats need the bold style removed
We need to add Stats to the navigation:

Top of page

Bottom of page

@WeiLi512 @hieunguyenebox Let’s make sure this PR makes it into tomorrow’s release.

@parrot9design all fixed, please check

Looks good! Just need to make the underline active for the stats link so people know it's the active page.
Example:


Add clang-tidy on windows-latest

Tool information

Tool name: clang-tidy
Tool license: Apache License 2.0 with LLVM Exceptions
Add or update? Add
Desired version: 10 (like other clang tools at the moment)
Approximate size:
If this is an add request:

Brief description of tool: a clang-based C++ linter tool
URL for tool's homepage: https://clang.llvm.org/extra/clang-tidy/

Area for Triage: C/C++
Question, Bug, or Feature?: Feature
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[X] Windows Server 2019

Can this tool be installed during the build?
I think so, but it takes too much time to download the source and compile it. Even the binary downloads (full LLVM package) take more than 100 MB, which does not sound reasonable since most of the clang tools are already installed.
Tool installation time in runtime
I do not know.
Are you willing to submit a PR?
No, sorry. You already install a lot of clang tools (including clang-format), so it is probably easier for you to add clang-tidy from the extra clang tools than for me to get into the whole thing.

I guess that it is important to not forget the run-clang-tidy script coming with clang-tidy.

I'd like to see clang10 and sub tools all upgraded to 10.0.0 to the latest stable release across across al the virtual environments.
'llvm-10 clang-10 clang-tidy-10 clang-format-10'

I'd like to see clang10 and sub tools all upgraded to 10.0.0

Isn't it at version 10 currently? I thought it is.

@sbeyer
MacOSX comes with clang10
https://github.com/actions/virtual-environments/blob/c6950533af3e7bb78729ae8be7f459758eb327ce/images/macos/macos-10.15-Readme.md#L16
Linux: https://github.com/actions/virtual-environments/blob/c6950533af3e7bb78729ae8be7f459758eb327ce/images/linux/scripts/installers/clang.sh#L43
Windows: I'm not sure where the windows clang installer is or if it has a clang installer at all. It would be nice if they matched with the unix instances. I'm no powershell hero so reluctant to send a PR.

Windows: I'm not sure where the windows clang installer is or if it has a clang installer at all. It would be nice if they matched with the unix instances. I'm no powershell hero so reluctant to send a PR.

> C:\msys64\mingw64\bin\clang-format --version
clang-format version 10.0.0 (https://github.com/msys2/MINGW-packages.git 7211ffb882cc3b7e7583c518aad45a22b278bc81)

clang-tidy is part of the following package:
$ pacman -Si mingw-w64-x86_64-clang-tools-extra
Name            : mingw-w64-x86_64-clang-tools-extra
Version         : 10.0.0-3
Description     : Extra tools built using Clang's tooling APIs (mingw-w64)
Depends On      : mingw-w64-x86_64-gcc  mingw-w64-x86_64-uasm
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 54.89 MiB
Installed Size  : 588.66 MiB
Packager        : Alexey Pavlov<EMAIL_ADDRESS>Build Date      : Mon, Jul 13, 2020 1:24:29 AM
Validated By    : MD5 Sum  SHA-256 Sum  Signature

I don't use clang much, so I don't know whether clang-tidy should be pre-installed.

See https://github.com/actions/virtual-environments/issues/921#issuecomment-632970858
you can installer official LLVM with
curl -fsSL -o "LLVM-10.0.0-win64.exe" "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe"
LLVM-10.0.0-win64.exe /S

Hello, @sbeyer
Do you need clang-tidy x64 version only ?
Should we also install x32 version package of this utility ?
Thank You.

I, personally, do not need it. I mean…is there any benefit in having a x32 version?

I think, only if somebody will want to build x32 application using clang.
Ok, if you don't mind - we will deploy x64 version only. I think you will find clang-tidy after next Windows image deployment (about on the next week).
Thank you.

This feature has been added to Win19 image and should be available on the next week

Win19 image has been checked. clang-tidy.exe is present.


nuxt generate error, generated dist folder is not generated index.html

npm run generate err:
{ Error: ENOENT: no such file or directory, lstat 'e:\_ddp\_tmp\test\ddp_blog\dist\index.html'
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'e:\\_ddp\\_tmp\\test\\ddp_blog\\dist\\index.html' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>generate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-01-31T07_36_14_739Z-debug.log

Not work

Because this bug report seems to be inactive for quite some time, I'll close it now. If you feel like it deserves some attention because it's not fixed, feel free to ping me and I'll reopen it.


[WIP] Autoscaling

This PR is designed to add autoscaling functionality  for OpenSearch clusters to the operator. The monitoring functionality added by the aiven prometheus exporter allows the metrics to be scraped by Prometheus service discovery to allow scaling of nodes in the cluster.
This feature was implemented by creating a new CRD named Autoscaler which contains the scaling rules to be followed and the existing OpenSearchCRD has been modified to enable and use this functionality. Please see the new doc entry for autoscaling as well as further explanations in the userguide section.
This is a work in progress.

closing PR due to signing reqs.


selftest http vs https

Looking at 0.1.3/pkg/acme/cert_request.go#L48, it appears the selftest url scheme is forced to http, however my logs show otherwise:
time="2017-04-18T17:28:33Z" level=info msg="requesting certificate for foo.example.com" context="ingress_tls" name=<redacted> namespace=<redacted>
time="2017-04-18T17:29:59Z" level=warning msg="authorization failed after 1m0s: reachabily test failed: Get https://foo.example.com/.well-known/acme-challenge/_selftest: x509: certificate is valid for <redacted(this is my cluster's gateway)>, not foo.example.com" context=acme domain=foo.example.com
time="2017-04-18T17:29:59Z" level=error msg="Error while process certificate requests: no domain could be authorized successfully" context=kubelego

https appears to hit the default backend:
$ curl --insecure https://foo.example.com/.well-known/acme-challenge/_selftest
default backend - 404

http appears to work correctly:
$ curl http://foo.example.com/.well-known/acme-challenge/_selftest
SoMeExAmPlEToKeN

Aside from adding this new ingress resource, nothing has changed about the cluster following the configuration of the last ingress resource. All other tls-acme ingress resources are properly being handled by kube-lego.

Not too sure why the authorization call (which is calling from Let's Encrypt's backend) is hitting the https endpoint.
Maybe they are respecting some TLS related http headers? Can you give me this output:
$ curl -v http://foo.example.com/.well-known/acme-challenge/_selftest

@simonswine I thought the same thing, HSTS or something... doesn't appear to be the case 😢 :
$ curl -v http://foo.example.com/.well-known/acme-challenge/_selftest
*   Trying x.x.x.x...
* TCP_NODELAY set
* Connected to foo.example.com (x.x.x.x) port 80 (#0)
> GET /.well-known/acme-challenge/_selftest HTTP/1.1
> Host: foo.example.com
> User-Agent: curl/7.50.3
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.11.10
< Date: Tue, 18 Apr 2017 19:27:50 GMT
< Content-Type: text/plain
< Content-Length: 16
< Connection: keep-alive
<
* Curl_http_done: called premature == 0
* Connection #0 to host foo.example.com left intact
SoMeExAmPlEToKeN

Actually, it seems to be an issue with NAT reflection... When I make the curl request on VPN to the cluster, the response contains HSTS headers... Can consider closed. Thanks @simonswine for bouncing ideas.


How can I add a package such as imgui[glfw-binding] as a dependency to my project's vcpkg.json manifest?

I know manifest mode is currently in beta, but I've been trying it out for my Visual Studio 2019 MSBuild project (on Windows 10 21H1). The latest git tag in my vcpkg install folder is 2021.05.12.
The vcpkg.json manifest file with all the dependencies for my project looks like this:
{
  "name": "gl-engine",
  "version": "0.0.1",
  "dependencies": [
    "glfw3",
    "glad",
    "imgui",
    "imgui[glfw-binding]",
    "glm",
    "entt",
    "assimp"
  ]
}

Upon running vcpkg install inside the project folder, I get this error:
Errors occurred while parsing C:\code\vcpkg-manifest-test\vcpkg.json
    $.dependencies[3] (a dependency): must be lowercase alphanumeric+hyphens, split with periods, and not reserved
See https://github.com/Microsoft/vcpkg/tree/master/docs/users/manifests.md for more information.

The name imgui[glfw-binding] seems to break the constraints for dependency <package-name>s , so I can't quite build the project in manifest mode. Using classic mode, the dependency does install correctly with vcpkg install imgui[glfw-binding], and indeed the whole project builds without using manifest mode.
Is there currently some way to use this kind of package name in a manifest file, or is support for such names simply not available yet in any way?

Manifest dependency features are listed as followed:
see https://github.com/microsoft/vcpkg/blob/master/docs/users/manifests.md for more information

{
  ...
  "dependencies": [
    ...
    {
            "name": "imgui",
            "features": [
                "glfw-binding"
            ]
     },
    ...
  ]
}

Manifest dependency features are listed as followed:
see https://github.com/microsoft/vcpkg/blob/master/docs/users/manifests.md for more information

Thank you very much! I wasn't aware that names listed with square brackets were features, will read the documentation more carefully next time, hahah. I'm still having trouble getting the project to build, but as far as adding <name>[<feature>] dependencies, the issue is solved, I can run vcpkg install successfully.


Error: No tags found

I keep getting Error: No tags found when running conventional-github-releaser -p angular
I can echo my env var $CONVENTIONAL_GITHUB_RELEASER_TOKEN.
I created a test repo to test things out:
± |master ✓| → git ls-remote
From git@github.com:psyrendust/release-test.git
6a34dcd83951213a96f51736694cbcfa7054fa2f    HEAD
fab70e59230304040bf9375971a6cfb44ff004f7    refs/heads/develop
6a34dcd83951213a96f51736694cbcfa7054fa2f    refs/heads/master
b0e68f75230083b337a9506b43376070abf047d0    refs/tags/v0.0.1
fa59d84ed08fae601b33fc3f3c259c8a50489480    refs/tags/v0.0.1^{}
4ae42acf35833f63e63e70925b8af9dd2f17e687    refs/tags/v0.0.2
6a34dcd83951213a96f51736694cbcfa7054fa2f    refs/tags/v0.0.2^{}

I have a few tags, a develop and master branch. I've checked the access permissions of my personal access token and everything is fine there.
I just globally installed version 1.1.1 of git-semver-tags and ran the command in my test repo and it doesn't output any tags.
I'm using the following shell script to automate my release process:
#!/usr/bin/env bash
# define branches
develop="develop"
master="master"

gitCurrBranch() {
  ref=$(command git symbolic-ref HEAD 2> /dev/null) || \
  ref=$(command git rev-parse --short HEAD 2> /dev/null) || return
  echo "${ref#refs/heads/}"
}

publish() {
  # start with develop branch and make sure that master and develop
  # have both been rebased against each other
  currBranch=`gitCurrBranch` &&
  [ "$currBranch" != $master ] && git checkout $master;
  git rebase $develop &&

  # run tests
  # travis status --no-interactive &&
  trash node_modules &>/dev/null;
  npm install &&
  npm run test &&

  # bump version and build changelog
  cp package.json _package.json &&
  preset=`conventional-commits-detector` &&
  echo $preset &&
  bump=`conventional-recommended-bump -p angular` &&
  echo ${1:-$bump} &&
  npm --no-git-tag-version version ${1:-$bump} &>/dev/null &&
  conventional-changelog -i CHANGELOG.md -w -p ${2:-$preset} &&
  git add CHANGELOG.md &&
  version=`cat package.json | json version` &&

  # commit changes
  git commit -m"docs(CHANGELOG): $version" &&
  mv -f _package.json package.json &&
  npm version ${1:-$bump} -m "chore(release): %s" &&

  # push changes to remote
  git push origin $master &&
  git push origin $develop &&
  git push --tags

  # Update github releases
  conventional-github-releaser -p ${2:-$preset}

  # rebase master onto develop
  git checkout $develop &&
  git rebase $master &&
  git push origin $develop
}

I just tested out version 1.0.0 of git-semver-tags and I was able to output my tags.

It should probably say no semver tags found?

That's not the case. Turns out that the change in git-semver-tags is the issue:
https://github.com/stevemao/git-semver-tags/compare/83427ed...b4a7b5e#diff-168726dbe96b3ce427e7fedce31bb0bcL5
git log --decorate returns ansi characters from colored output in terminal. The regex to grab the tag still works, but semver.valid() fails because of the extra ansi characters: https://github.com/stevemao/git-semver-tags/blob/b4a7b5e0c4f95265c374b70a8105661cb7af36e1/index.js#L20

So at this point, you can add strip-ansi to get-semver-tags like so to make it work:
'use strict';
var exec = require('child_process').exec;
var semverValid = require('semver').valid;
var stripAnsi = require('strip-ansi');
var regex = /tag:\s*(.+?)[,\)]/gi;
var cmd = 'git log --decorate';

module.exports = function(callback) {
  exec(cmd, {
    maxBuffer: Infinity
  }, function(err, data) {
    if (err) {
      callback(err);
      return;
    }

    var tags = [];

    data.split('\n').forEach(function(decorations) {
      var match;
      while (match = regex.exec(decorations)) {
        var tag = match[1];
        if (semverValid(stripAnsi(tag))) {
          tags.push(tag);
        }
      }
    });

    callback(null, tags);
  });
};

If you want I can submit a pull request to get-semver-tags with that change.

@psyrendust The tests in that repo passed. Can you investigate why? PR with tests welcome :)

do you have colored output when doing git log

yes (i'm on a windows now).

Just curious, what was the reason for the switch from:
git log --tags --simplify-by-decoration --pretty=format:"%d"

to this:
git log --decorate

see the added tests. it failed in some edge cases.

running the tests on my machine fails. I'll fix and submit a pull request on that repo.
± |master ✓| → npm run test

><EMAIL_ADDRESS>test /Users/larrygordon/dev/westfield/libs/git-semver-tags
> npm run-script lint && mocha --timeout 10000

><EMAIL_ADDRESS>lint /Users/larrygordon/dev/westfield/libs/git-semver-tags
> jshint *.js --exclude node_modules && jscs *.js

No code style errors found.

  ✓ should error if no commits found
  ✓ should get no semver tags (224ms)
  1) should get the semver tag
  2) should get both semver tags
  3) should get all semver tags if two tags on the same commit
  4) should still work if I run it again
  5) should be in reverse chronological order
  6) should work with prerelease
  7) should work with empty commit

  2 passing (2s)
  7 failing

  1)  should get the semver tag:

      Uncaught AssertionError: [] deepEqual [ 'v2.0.0' ]
      + expected - actual

      -[]
      +[
      +  "v2.0.0"
      +]

      at test.js:44:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  2)  should get both semver tags:

      Uncaught AssertionError: [] deepEqual [ 'v3.0.0', 'v2.0.0' ]
      + expected - actual

      -[]
      +[
      +  "v3.0.0"
      +  "v2.0.0"
      +]

      at test.js:54:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  3)  should get all semver tags if two tags on the same commit:

      Uncaught AssertionError: [] deepEqual [ 'v4.0.0', 'v3.0.0', 'v2.0.0' ]
      + expected - actual

      -[]
      +[
      +  "v4.0.0"
      +  "v3.0.0"
      +  "v2.0.0"
      +]

      at test.js:64:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  4)  should still work if I run it again:

      Uncaught AssertionError: [] deepEqual [ 'v4.0.0', 'v3.0.0', 'v2.0.0' ]
      + expected - actual

      -[]
      +[
      +  "v4.0.0"
      +  "v3.0.0"
      +  "v2.0.0"
      +]

      at test.js:72:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  5)  should be in reverse chronological order:

      Uncaught AssertionError: [] deepEqual [ 'v1.0.0', 'v4.0.0', 'v3.0.0', 'v2.0.0' ]
      + expected - actual

      -[]
      +[
      +  "v1.0.0"
      +  "v4.0.0"
      +  "v3.0.0"
      +  "v2.0.0"
      +]

      at test.js:84:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  6)  should work with prerelease:

      Uncaught AssertionError: [] deepEqual [ '5.0.0-pre', 'v1.0.0', 'v4.0.0', 'v3.0.0', 'v2.0.0' ]
      + expected - actual

      -[]
      +[
      +  "5.0.0-pre"
      +  "v1.0.0"
      +  "v4.0.0"
      +  "v3.0.0"
      +  "v2.0.0"
      +]

      at test.js:96:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

  7)  should work with empty commit:

      Uncaught AssertionError: [] deepEqual [ 'v1.1.0' ]
      + expected - actual

      -[]
      +[
      +  "v1.1.0"
      +]

      at test.js:111:5
      at index.js:28:5
      at ChildProcess.exithandler (child_process.js:194:7)
      at maybeClose (internal/child_process.js:818:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

npm ERR! Darwin 15.3.0
npm ERR! argv "/Users/larrygordon/.nvm/versions/node/v4.2.2/bin/node" "/Users/larrygordon/.nvm/versions/node/v4.2.2/bin/npm" "run" "test"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.14
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>test: `npm run-script lint && mocha --timeout 10000`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script 'npm run-script lint && mocha --timeout 10000'.
npm ERR! This is most likely a problem with the git-semver-tags package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run-script lint && mocha --timeout 10000
npm ERR! You can get their info via:
npm ERR!     npm owner ls git-semver-tags
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/larrygordon/dev/westfield/libs/git-semver-tags/npm-debug.log

https://github.com/stevemao/git-semver-tags/issues/4

@stevemao Could we leave this open until stevemao/git-semver-tags/pull/5 has been merged?

Its merged.

I was getting the no semver tags found error due to my customization of log format. I had to comment out my [format] section of .gitconfig to get this tool to work.
Maybe consider getting the tag list a different way, or manually specifying the log format before trying to parse it.

@marr I've filed your suggested against the conventional-changelog mono-repository - https://github.com/conventional-changelog/conventional-changelog/issues/470
If you are able, can you please provide your feedback on that issue?


betterlockscreen use current wallpaper instead of having to update manually

Feature Request
like adding option to use betterlockscreen and it automatically use the current feh wallpaper, because im using dynamic wallpaper and it will be super good to just read the current wallpaper, thank you!
Implementation
maybe a bash script
Have you planned working on this feature?
No

Maybe we can work with .fehbg.
As far as I know, feh writes direcly to the root window.
However, we do not use the root window as a lockscreen.
The problem is that when we setup a dynamic wallpaper with feh, we usually disable .fehbg with the args--no-fehbg.
We need a way to "read" the current wallpaper.

i've manage to make a script to do that with bash, it kinda just manual stuff so yeah anyways thank you

How to do a dynamic wallpaper. Can you share your script?

How to do a dynamic wallpaper. Can you share your script?

You can apply this same script with everything related to dynamic wallpaper, it change every time you execute it, make sure to give it execute permission
#!/bin/sh
wallpaper=$(ls ~/your/image/path/here | shuf -n 1)
feh --bg-fill ~//your/image/path/here/$wallpaper --bg-fill; notify-send "System" "Wallpaper updated!"


New package: Zoom.ZoomRooms version 5.12.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

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

Resolves #85475
Resolves #85503

Microsoft Reviewers: Open in CodeFlow

/azp run


miri doesn't build

It gives the following error:
Updating git repository https://github.com/quininer/byteorder.git
error: failed to load source for a dependency on byteorder
Caused by:
Unable to update https://github.com/quininer/byteorder.git?branch=i128#ef51df29
It looks like the commit ef51df29 no longer exists.

try running cargo update

Miri compiles again on the latest nightly


Hidden Goals and Progress Bars not working

Goals and progress bars were visible even before users submitted their calorie calculator data, displaying irrelevant information.

Implement conditional rendering logic to display these elements only after valid data is available.


[ModuleInterface] Extend the debug info test

Make sure that the module interface ends up in the DWARF. This
also updates the test name, which hadn't been changed yet.

@swift-ci please test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - d5322abb62cd2d93845ccb5db83ccb6b950e74ff

Build failed
Swift Test OS X Platform
Git Sha - d5322abb62cd2d93845ccb5db83ccb6b950e74ff

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 25441d199bc325ebe3c7f312f35aa2170e20ed36

Can one of the admins verify this patch?

Can one of the admins verify this patch?

What do you mean exactly?

Let's see if this test actually passes first.
@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 25441d199bc325ebe3c7f312f35aa2170e20ed36

Build failed
Swift Test Linux Platform
Git Sha - 25441d199bc325ebe3c7f312f35aa2170e20ed36

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


[Feature Request]: Multi Prompt

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?
is it possible to send multiple prompt ? will be good if it takes multiple prompts from Excel File and runs it prompts
Proposed workflow
will be good if it takes multiple prompts from Excel File and runs it prompts
Additional information
No response

You can do that easily with code. There is some library documentation.


Cherry-picking translations

Summary
Cherrypicking https://github.com/mattermost/mattermost-mobile/pull/7814
Release Note
NONE

Hello @ctlaltdieliet,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

I'm sorry, @amyblais . I'm afraid I can't do that. :red_circle: :smiley:

I've assigned this to Daniel to help merge this PR.


Enable GitHub Discussions

A large amount of the issues on v86 are "OS or app works". If those are put into GitHub Discussions, nobody would have to close them and it'd be easier for everyone to focus.

Sure, why not. Done.


Separating EventDispatcher as a library

I'd like to use your EventDispatcher classes in one of my projects but I don't rely on the Symfony Bundle eco-system (just using some components, but not the framework itself). Would you mind to put the EventDispatcher directory/library into a separate repository so they could be used as standalone component?
I know that I still could checkout the Bundle and only use the EventDispatcher, but I'd prefer a clean separation of both.

Sounds like a good idea. I think this would just entail plucking the files from EventDispatcher and the corresponding tests, excluding the ContainerAware stuff.
An alternative is to make a git sub-tree split, but then the bundle namespace remains. That doesn't sound ideal. Do you have a preference?

I think the first version will be the best, following practices from the others (e.g. like Knp did with their Menu, WhiteOctober with Pagerfanta, etc ...)

@jmikola using a subtree split makes sense only if you want to keep the code in both locations. The pain to maintain subtree splits is not worth it IMO.
If you really don't want to make the bundle depend on an external lib (which will not be a big issue once Composer is used anyway), it would be far simpler to avoid creating another repo and simply ask to clone the bundle

An external lib with the dependency in composer sounds like the way to go.

Sounds superior to me, cause my project uses Composer :-) If you want some help w/ splitting the bundle and the library, feel free to ask me.

@pminnieur: I'm not sure if you still need this, but I plan to implement it soon.

Done: https://github.com/jmikola/WildcardEventDispatcher


Crash on foreign user-/group-IDs

lsd crashes when used in a filesystem that uses user-/group-IDs which are not available in the host system. This makes it unusable with sshfs for example. I think instead of crashing it should simply show the IDs if they can't get resolved to names.
Backtrace:
thread 'main' panicked at 'failed to get user name', libcore/option.rs:1000:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::_print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::option::expect_failed
   9: <lsd::meta::owner::Owner as core::convert::From<&'a std::fs::Metadata>>::from
  10: lsd::meta::Meta::from_path
  11: lsd::core::Core::list_folder_content
  12: lsd::core::Core::run_inner
  13: lsd::core::Core::run
  14: lsd::main
  15: std::rt::lang_start::{{closure}}
  16: std::panicking::try::do_call
  17: __rust_maybe_catch_panic
  18: std::rt::lang_start_internal
  19: main
  20: __libc_start_main
  21: _start

Hi @michaelsippel ,
Thanks for the report! Can you give us the output of lsd --version please?

Ah, thanks for the hint. I installed it with cargo a while ago (0.9.0), which was concealing the current version installed with pacman. The current version (0.12.0) works.
Thanks!


Release 3.3.1 breaks application on production

The latest release of Fuse 3.3.1 breaks our production application, on new Fuse.
Downgrading to 3.3.0 fixed this issue and our application is running again.
I created this gist that has the prettified minified code out of chrome. The error happens in line 336 as highlighted.

Thanks @Saifadin - will be looking at this in the evening. Will update this thread.

@Saifadin, do you have sample code which surfaces this issue?


postgresql: add optional pam support

Description of changes
It can be useful to be able to use PAM modules for authentication in PostgreSQL. This adds optional support for that.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Could pam enabled be the default possibly? Any reason not to?

This PR rebuilds a lot of packages which means we must target staging. Please follow the contributing guide to not potentially ping a lot of people.


Add Carthage support #2

Completes #154 + Tracker ticket and builds on #251 by @younata

add some extra (exception based) messaging when Cartfile is not present
make LICENSE file finding more generic -> can also find LICENSE.txt and others now
add feature spec and some minor refactorings

I am wondering how this could be integrated into CI? I am expecting it just won't execute the feature specs right now. Looks like you're only actively using concourse, do you have a way already to add a macOS node to it? Might be too much overkill for this tool though, given how often Xcode changes? The basic workings of the carthage integration however probably won't change too much, if at all in the future.

@dmrschmidt Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@dmrschmidt Thank you for signing the Contributor License Agreement!


How to run this in the browser?

Have anybody solved this? I am also facing this issue since past 2 days

We are working on extension

I have the same problem, does anyone already know how to deal with? Thanks

When I use micro-ed25519-hdkey, it works ok.

As I understand problem is with create-hmac package dependency


chore: disable relaxedAutoImplicit

We disable the "relaxed" auto-implicit feature, so only single character identifiers become eligible as auto-implicits. See discussion on zulip and 2.

[ ] depends on: #5328

I've done fancy things with git, and split this into four commits:

changes to revert after lean4#2277
actual mathematical errors
long term changes (but that should still be valid today)
the actual option change

Thank you very, very much for doing this and also for going the extra mile with the PR to Lean as well as the valuable semantic separation of changes over the four different commits.
For me, the mathematical errors is compelling evidence that we want the change in auto-implicit behaviour proposed here.
Since https://github.com/leanprover/lean4/pull/2277 has already been merged, I suppose we should:

bump Mathlib4 to use leanprover/lean4:nightly-2023-06-?? once it is available here
merge the bumped master in here
revert changes that can be reverted after lean4#2277 (even though personally I'd rather no auto-implicits at all)
merge this to master

Or do you want to just merge this to master immediately and bump+revert later?

@ocfnash let's just wait until tomorrow, and adapt this to the new Lean4 nightly.

This PR/issue depends on:

leanprover-community/mathlib4#5328
By Dependent Issues (🤖). Happy coding!

bors merge


Reconsider using rust for extensions

We intend to add Rust to implement new capabilities, but not exclusively so.

hello @fire ! I think this would be best stated as a Discussion (https://github.com/libsql/libsql/discussions)
But in the mean time, what would you suggest?

I don't know, but it is a barrier to giving libsql the greatest reach. Also can be a discussion.

@fire Can you elaborate on what your concern is? I don't think Rust as a language is that controversial choice, even the Linux kernel has support for it now. We absolutely should not close the door for people writing extensions in C, C++, Zig, or other languages, but I don't necessarily see a problem with having Rust code in the tree?

The biggest issue for introducing Rust is that it threatens the "just a .c and .h file" integration model that sqlite has, and it's indeed very nice and simple. We'll need to be very careful when designing the first Rust addition, but I think that "just a .c, .rs and .h file" is not a huge stretch.

That integration model may be outdated with modern package management; would better code organization be a consequence of Rust integration, and lead to a more maintainable project overall?

One benefit of the C agglomeration file is that it makes makes compilation to wasm quite easy; here I show how to use it to compile an extension into the build.
I imagine that for apps which embed sqlite, the "one c and h file" is a great boon - perhaps libsql will not be intending to be easily embeddable, but it should be clear about it if so.

In my mind, keeping compatibility with the file format is 110% crucial.
Keeping compatibility with the existing APIs is 100% crucial (but adding new APIs should be fine, doing good async on top of the existing APIs will be hard).
The rest is good to have, and we should keep if possible, but at some point not crucial.
Is the "one c file" help with embedding this in other applications that are not written in C?

I think so, yes - C is kind of a lingua franca for embedding

If fixed-file-set is critical to that degree, it's feasible to merge Rust directories into single files by translating files to mod scopes, as they aren't capable of cross-contamination of scope content. As for being a universal language, Rust is rapidly approaching that point, and will likely only improve with it's adoption by Linux.
If these are the priorities, I'd recommend using a C header to describe the Rust-extended contents alongside those exposed by the .c file, as suggested by @psarna above.

I am willing to be convinced, but for me, the interesting aspect of "embedded" is that you add attach to your application through an API, versus going through some remote call in a different process or network.
The one .c /.h file is one way to attach this to your application, but so is a .so library that can be statically or dynamically linked to your application.
I think it is premature to make the decision of which will be. There is an obvious benefit in keeping sqlite's way of embedding, and if and when it becomes a problem for integrating something else we can reevaluate.

One year later, I think it's safe to say we're not moving away from Rust. Closing.


validate specific method on keypress (not all methods tied to field)

validating each field on blur:
//validate each element on blur
$('input, select, radio, checkbox').blur(function(){
$("#createAccount").validate().element(this);
});
I added an additional method for passwords - alpha, numeric, no spaces/dashes:
//Additional validation methods:
jQuery.validator.addMethod("passwordCheck", function(value, element) {
return this.optional(element) || /^[a-zA-Z0-9]+$/.test(value);
}, "Invalid characters");
A couple of issues:
I would like to validate the password field on blur for everything but the passwordCheck method. So other methods, such as required, should validate on blur - but if an invalid character is entered, then I want the validator to trigger that method on keypress.
Additionally, when adding methods, is there a way to get the error message into the messages portion of the validation call (just to keep them all in one place)?

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!


Add Insomnia to Apps

Adding https://insomnia.rest to the apps list. Here's a screenshot for reference.

Awesome! 💯 for the screenshot, thanks!


WalletConnect message in Console

WC: incomming text deserialization to JSONRPC 2.0 requests error: The data couldn’t be read because it isn’t in the correct format.

Was connecting to WalletConnect v1, but not accept connection yet using http://example.walletconnect.org and I tapped cancelled. Not sure if it's because I tapped cancel.

hmm, it fails with error "Missing or invalid socket data"

@oa-s fixed permissions.

Created  pr Remove ping pong as it happens automatically #1


Question regarding building a wheel locally

Hi @makslevental,
Sorry if this is not the right place to ask but I wanted to ask about your wheel building procedure.
I have a locally build LLVM/MLIR and I'm trying to locally build a Python wheel out of it (following that takes place in the CI in this repo).
Currently I'm building LLVM locally with a command inside the build directory:
cmake -G Ninja ../llvm \
    -DLLVM_ENABLE_PROJECTS=mlir;llvm;clang;lld \
    -DLLVM_TARGETS_TO_BUILD=Native \
    -DCMAKE_BUILD_TYPE=Release \
    -DMLIR_ENABLE_BINDINGS_PYTHON=ON \
    -DPython3_EXECUTABLE=/home/mtsokol/.conda/envs/llvm-dev/bin/python3 \
    -DLLVM_INSTALL_UTILS=ON

And then I install it to build-install directory:
cmake -DCMAKE_INSTALL_PREFIX=../build-install -P cmake_install.cmake

Then after setting PYTHONPATH env var I can freely use my build package with my dialect:
export PYTHONPATH=/home/mtsokol/llvm-project-main/build-install/python_packages/mlir_core

from mlir.dialects import memref, sparse_tensor, linalg

I would like to make this package a wheel that I can install with pip. I followed a setup.py file in your mlir-wheels repo, drafted my steps as an extension module:
import subprocess
from pathlib import Path

from setuptools import Extension, setup
from setuptools.command.build_ext import build_ext

class CMakeExtension(Extension):
    def __init__(self, name: str, sourcedir: str = "") -> None:
        super().__init__(name, sources=[])

class CMakeBuild(build_ext):
    def build_extension(self, ext: CMakeExtension) -> None:
        install_dir = "/home/mtsokol/llvm-project-main/build-install"

        cmake_args = [
            "-G Ninja",
            "../llvm",
            "-DLLVM_ENABLE_PROJECTS=mlir;llvm;clang;lld",
            "-DLLVM_TARGETS_TO_BUILD=Native",
            "-DCMAKE_BUILD_TYPE=Release",
            "-DMLIR_ENABLE_BINDINGS_PYTHON=ON",
            "-DPython3_EXECUTABLE=/home/mtsokol/.conda/envs/llvm-dev/bin/python3",
            "-DLLVM_INSTALL_UTILS=ON"
        ]

        subprocess.run(
            ["cmake", *cmake_args], cwd=Path.cwd(), check=True,
        )

        subprocess.run(
            ["cmake", "-DCMAKE_INSTALL_PREFIX=../build-install", "-P cmake_install.cmake"],
            cwd=Path.cwd(),
            check=True,
        )

        subprocess.run(
            [
                "find", ".", "-exec", "touch", "-a", "-m", "-t", "197001010000", "{}", ";",
            ],
            cwd=install_dir,
            check=False,
        )

setup(
    name="mlir",
    version="0.0.1",
    ext_modules=[CMakeExtension("mlir_finch_ext")],
    cmdclass={"build_ext": CMakeBuild},
    zip_safe=False,
)

But it looks like the wheel that is built with python3 setup.py bdist_wheel or pip wheel . isn't close to what I need:
~/llvm-project-main/build$ ls -al dist/
-rw-rw-r--  1 mtsokol mtsokol 1052 Oct 16 11:01 mlir-0.0.1-cp310-cp310-linux_x86_64.whl

I see that during wheel building process the cmake commands are executed correctly but I think the resulting Python package isn't placed inside whl file. In your setup.py file I can't find where the build Python package is actually placed in whl.
Do you know that I'm missing in my setup? (I'm not familiar with wheel building with extensions yet)

Ah, I see that mlir is separate from mlir-python-bindings package in python_bindings, but I would have the same question about building mlir-python-bindings wheel locally.

The install dir isn't arbitrary - you have to "install" into the location the pip/setuptools expects extension modules to be:
        ext_fullpath = Path.cwd() / self.get_ext_fullpath(ext.name)
        extdir = ext_fullpath.parent.resolve()
        install_dir = extdir / "mlir"
        ...
        cmake_args = [
            ...
            f"-DCMAKE_INSTALL_PREFIX={install_dir}",
            ...
        ]

@makslevental That was exactly what I was missing - thank you!
To give some context I have an MLIR dialect (https://github.com/nullplay/Finch-mlir) that I'm building in-tree (or out-of-tree, monolithic build) with my local LLVM build and then I want to distribute it as a wheel.
Here's a setup.py that worked for me: https://gist.github.com/mtsokol/0de993860e7eff7980226703e3ea8df9 (so using install directory relevant to pip solved my problem).
Last thing is that for some reason after installing whl file with pip, my Python package is placed under:
/home/mtsokol/.conda/envs/test-llvm-finch/lib/python3.10/site-packages/python_packages/finch/mlir_finch

instead of:
/home/mtsokol/.conda/envs/test-llvm-finch/lib/python3.10/site-packages/mlir_finch

where test-llvm-finch is my conda env. After moving mlir_finch up two directories package can be imported and works as expected. Did you experience something similar?
(Installing MLIR/LLVM without my dialect yields same result - the package is under .../site-packages/python_packages/mlir_core/mlir rather than .../site-packages/mlir)

Ok, it turns out that CMakeLists.txt in standalone/python had these paths hardcoded: https://github.com/llvm/llvm-project/blob/2b6b7f664d9c93877ce6678820255fc006d56b54/mlir/examples/standalone/python/CMakeLists.txt#L38
Removing python_package/standalone part fixed my issue and now importing works as expected.

mpt sir

Ok, it turns out that CMakeLists.txt in standalone/python had these paths hardcoded: https://github.com/llvm/llvm-project/blob/2b6b7f664d9c93877ce6678820255fc006d56b54/mlir/examples/standalone/python/CMakeLists.txt#L38 Removing python_package/standalone part fixed my issue and now importing works as expected.

I guess you had copied that CMake for your own bindings? And carried over the hardcoding?

That's right, we took the whole standalone example for our dialect's initial setup.

That's right, we took the whole standalone example for our dialect's initial setup.

Can you submit a PR to fix upstream or open an issue upstream and assign to me so I can fix it.

Sorry - despite your great/thorough descriptions I guess I misunderstood what the issue was. I thought you meant INSTALL_DESTINATION python_packages/standalone/mlir_standalone/_mlir_libs was somehow placing the directory outside of the install tree because it didn't have a ${CMAKE_BINARY_DIR} parameterization (or something like that).


support @now/build-utils breaking changes

@now/build-utils is installed by now build script as a peer-like dependency. If this package introduces breaking changes this may silently break @nuxtjs/now-builder. Also as it is installed in an outside directory, including in peerDepenendencies triggers a warn (so removed for now) and this has overhead of an extra yarn install
Docs: https://zeit.co/docs/v2/deployments/builders/developer-guide/#utilities-as-peerdependencies

Related issues: #66

Any ETA on when this is going to fixed in the stable release?

@isaumya sorry but nothing much to be done from this builder side. I just raised concerns.


Add GCT999 token

Official announcement: http://www.gcac.club/
Project team background:
The GCAC core team has strong basic blockchain technology capabilities, application-side development capabilities, financial service capabilities, and many years of experience in the payment field. Founder John Charles, founder of IT Summa, has 10 years of CEO experience. From 2015 to February 2019, a total of 6 blockchain projects were traded. Since October 2019, all blockchain projects have been separated, and GCAC's blockchain projects have been invested and started.
Project basic information:
GCAC is a public chain based on the DDPOS consensus mechanism. In the future, it will create a blockchain-wide ecosystem that covers the global gold light luxury goods trading platform + mining alliance digital exchange + mining alliance digital bank.The public chain system of GCAC adopts advanced block chain technology to realize the application chain of gold and gold ornaments with real, right and price. We set the main netcom certificate (Token) for GCT (Golden Coin Token yellow gold assets number words add secret rights certificate), work more fair and open, distributed autonomous to achieve coordination, thus make the whole gold jewelry industry chain upstream and downstream units are fair cooperation, promote the assets on the luxury industry chain, light chain on luxury products business, the value of luxury goods.
Recommended Gas Limit (For ERC-20 project teams) for transaction: 60,000

欢迎在社区中推荐用户使用 imToken 2.0 管理资产。


added support to mermaidjs

Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
closes #135
Special notes for reviewers:
Additional information (if needed):

@antmendoza really cool. showing the sample as an html file is awesome


added MACOSX_DEPLOYMENT_TARGET

This has a PR of the same name in oskar

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5342/

That didn't help.
Steps:

Use vm12-mac from Jenkins.
Check-out oskar and build feature/macosx-deployment-target branch:

git clone https://github.com/arangodb/oskar
cd oskar && fish
source helper.fish
community
switchBranches feature/macosx-deployment-target devel
set -x NOSTRIP 1
buildStaticArangoDB -DUSE_FAILURE_TESTS=On -DDEBUG_SYNC_REPLICATION=On
cd work/ArangoDB/
time tar -czvf ../ArangoDB3.tar.gz (find build/bin \( -type f -or -type l \) \( -name 'arango*' -or -not -name '*.a' \)) js/ etc/ UnitTests/ tests/js tests/rb/ scripts/unittest upgrade-data-tests/data

Copy tared ../ArangoDB3.tar.gz to macOS 10.13 (c18, c20 or c22):

scp ../ArangoDB3.tar.gz <IP_ADDRESS>:/Users/jenkins/

Go to macOS 10.13 where ArangoDB3.tar.gz was copied, extract it and try to get a version:

rm -rf ./work/ArangoDB/; mkdir -p ./work/ArangoDB/ && time tar -xvf ./ArangoDB3.tar.gz -C ./work/ArangoDB/
cd ./work/ArangoDB
./build/bin/arangod --version

Illegal instruction: 4 will apperar.

Worked fine for buildStaticArangoDB without -DUSE_FAILURE_TESTS=On -DDEBUG_SYNC_REPLICATION=On.
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/5379/


Fully cleaned the cell column and created new village column

Description
Clearly documents the reason for the pull request and what has changed.

[ ] This is a bugfix.
[x] This is a new feature.
[ ] This is part of a feature.

Organization

[ ] Have you linked this pull request to a Trello card?

Review

[x] Have you added two reviewers to this pull request?
[ ] Is this a work in process?
[x] Is this ready to be reviewed?

There are 24 conflicts between the notebook on main and jakes commit that need to be resolved. Any suggestions on how to go about it?

You could solve the conflicts manually for merging


How does Undertow project use zipkin?

Im new user zipkin. As a playframework project can use Play-zipkin-tracing. How does Undertow project use zipkin? And how to trace between play project to undertow project,I know by undertow side need process request Header something. Can you give me some details?

looks like this. we trace undertow internally in zipkin as zipkin uses
undertow
https://github.com/openzipkin/zipkin/blob/master/zipkin-server/src/main/java/zipkin/server/internal/brave/TracingHttpHandlerConfiguration.java

I have see the doc EnableZipkinServer which is Deprecated . Are there any example about  tracing between play project and  undertow project

no one has asked for this type of integration example. you can look at
play-zipkin-tracing in github. not sure if it needs any changes for
undertown.

question answered, please use https://gitter.im/openzipkin/zipkin for follow questions.


amm -w throws OutOfMemoryError

Watching for changes to 2 files... (Ctrl-C to exit)
Compiling /Users/danielsebban/Project/scala-scripts/script.sc

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "system-scheduler-1"
java.lang.OutOfMemoryError: Java heap space
Uncaught error from thread [system-scheduler-1] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[system]
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

What script is this? If your script is taking up tons of memory there's nothing Ammonite can do

It's a script I wrote that use akka-http , the point is it does not run, I call the script without arguments
Need to specify a subcommand to call when running scripts.sc

Available subcommands:

well it works ~10 times and then it stops working, maybe the cleanup between each watch iteration

Are you shutting off your webserver after each run? If not it'll keep running in the background. You need to do the cleanup yourself, e.g. using interp.beforeExitHooks

ok will try that , thnks


status of the Twitter Block Chain project

@satsukitv, what is the status of the Twitter Block Chain project?

Basic functionality is broken for many (if not all) users
No commits for more than a year

I have not yet tested it, but https://github.com/qink1986/twitter-block-chain appears to be the most active fork, but it does not allow anyone to file issues, only pull requests.
Hope you are OK in these times!

I might just fork and rework this so it works again. Possible implementation of a timing delay to avoid throttling that twitter put in would solve the issue of the 500 block limit. I have to look into it a little more, but if this project is abandoned someone should rework the code.

Hello,
I've stopped using TBC as the project is dead.
I'm using Redblock now which provides much more functionalities.
So instead of forking a dead project, I suggest you take a look at RB.
Here it is : https://github.com/gaeulbyul/RedBlock?files=1
It looks to be in Korean but all translation are made on the extension itself.
Here are the functionalities:

Multi-session: You can use Twitter while using Chainblock or run Chainblock to other users. - Note : However, you log out of the chain block, use or malfunction occurs when the account transition.
API Limit Response: When you reach the limit, you can wait without stopping with an error, and then run again when the limit is released (more than 100k limit)
Match-follow chain block function: Only users who have followed the opponent are blocked.
Unchain Block (Unblock all followers)
User storage function: If you frequently (un) chain block to a specific user, you can run it without entering the user's profile directly.
Chain block based on tweet response: Retweet a specific tweet or block users who liked it.
You can still (conditionally) execute a chain block even if the other person blocks you.
Added a function to show the blocking button when a specific word is entered in the Twitter user's profile or name
Added a function to load the block list file and execute chain block
-Dark mode UI support
-Internal fix to slightly improve the speed of chain block


onJoin() not working as expected

I was able to get onChannel() working perfectly, but for some reason onJoin() doesn't work. The callback function isn't being called when there's a JOIN event on the channel my bot is on. Could it be a problem with the listener?
Here's my code:
$bot->onJoin(function($event) {
    echo "hello";
});

Thanks

I have the same problem and I can't solve it. Here is my code:
$bot = new Philip($config);

$bot->onJoin(function($event) {
    $event->addResponse(Response::msg($event->getRequest()->getSource(),
        'onJoin' . $event->getRequest()->getSendingUser()
    ));
});

$bot->onPart(function($event) {
    $event->addResponse(Response::msg($event->getRequest()->getSource(),
        'onPart' . $event->getRequest()->getSendingUser()
    ));
});

$bot->run();

@freeman3s Thank you for letting me know there's still an issue here. Unfortunately, this repo is effectively unmaintained since I don't write PHP for my day job anymore and I'm no longer an employee with the company that used this project. If I find the time to dig back into this project, then I'll absolutely take a look at this, but I would be remiss to promise a fix on any reasonable timeline.
(On a separate note: if you know anyone who'd like to take over this project and bring it up to more modern PHP standards, that would be ideal)
I'm sorry you're having this problem, and I really do appreciate you reaching out to let me know there is a problem.


Set minimum retry delay for AWS API calls

MinRetryDelay is the minimum retry delay after which retry will be performed. If not set, the value is 0ns.
https://docs.aws.amazon.com/sdk-for-go/api/aws/client/

/lgtm


Hotswappable key switches

It would be really nice if the solder points for the switches support solder pads for hot swap sockets. That way I can swap out switches that break or just switch to a different switch type without having to desolder and resoldering everything.

That's a nice idea!


How to use CodeGen?

How to use CodeGen? How to update the library to the latest version?

You need ruby and a "make" program (GNU/BSD make from Linux/macOS, or MSVC nmake from Visual Studio).
Then follow the instruction in https://github.com/dantmnf/tdlib-netcore#targeting-different-tdlib-version


Strength Score problem for pullups

The calculation of the strength score for pullups seems to have a problem for low added weight and no added weight.


validate-genesis fails when using gentx-gravity

Summary of Bug
When using gentx-gravity (instead of just gentx) we get an error: must provide genesis Tx with exactly 1 CreateValidator message (Which happens here: https://github.com/cosmos/cosmos-sdk/blob/master/x/genutil/types/genesis_state.go#L98).
We need to provide our own validate-genesis so it can accept 2 messages, 1 MsgCreateValidator and 1 /gravity.v1.MsgSetOrchestratorAddress.

For Admin Use

[x] Not duplicate issue
[x] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

@RafilxTenfen or @adamewozniak lmk if either of you would have interest in picking this up. We can pair on it.


docs: added an example for creating a dynamic Leaflet map

Added an example of a Leaflet map component, a route, props, and JSON and GeoJSON files to create an initial reactive map.
Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

looks great. after you finish the Requested Changes we can get it in


method experimental/inlayHints

I still get this error~
method experimental/inlayHints is not supported by any of the servers registered for the current buffer

I update rust-tools to the newest version, rustc is 1.59.0,  rust-analyzer is the newest too.
I use LunarVim and this is my lvim config about rust
-- Additional Plugins
lvim.plugins = {
  {
    "navarasu/onedark.nvim"
  },
  {"folke/tokyonight.nvim"},
  {
    "folke/trouble.nvim",
    cmd = "TroubleToggle",
  },
  {
    "prettier/vim-prettier",
  },
  {
    "simrat39/symbols-outline.nvim"
  },
--  {
--    "rust-lang/rust.vim"
--  },
  {
    "simrat39/rust-tools.nvim"
  },
}

-- rust-tools
require("rust-tools").setup({
  tools = {
    autoSetHints = true,
    hover_with_actions = true,
    runnables = {
      use_telescope = true,
    },
  },
  server = {
    cmd = { vim.fn.stdpath "data" .. "/lsp_servers/rust/rust-analyzer" },
    on_attach = require("lvim.lsp").common_on_attach,
    on_init = require("lvim.lsp").common_on_init,
  },
})

What's your rust-analyzer version ?

my rust=analyzer version is rust-analyzer 5e8515870 2022-03-14 stable

I update my rust-analyzer version to rust-analyzer b594f9c44 2022-03-21 stable, but still get this error.

Are you sure you're using the rust-analyzer binary that you pass in your cmd to get the version?

Yes, i'm sure

I also encountered this issue but was fixed by updating rust-analyzer version. Wondering if it is possible to add a version check for rust-analyzer? I think users with an older version of RA will lost inlay hints after https://github.com/simrat39/rust-tools.nvim/commit/ad22bd03cefac7d6a483f092a36499e9cce6dad5 and have to dig through the log and github issues to understand what is going on...

have to dig through the log and github issues to understand what is going on...

Hehe this is what i just did :smile:


Adding an additional format "NUMBER_ARRAY" for long number entry, i.e.. 9999999

Some changes to accept a list of numbers (array) and return one whole number.

Resolve conflict please.


#454 Keep bot members in place regardless of "enforce" setting

This PR aims to address the issue described in #454. I've gone for a keep_bots option which seems more descriptive of what it actual does, rather than the ignore_bot_members mentioned in the original issue. Happy to change this is if needs be.
Python isn't my first language so I've largely picked through what exists already and taken a steer from that. Any guidance on improvements would be much appreciated :)

Hey @lhokktyn, this PR looks excellent! The code is clean and stylish, you updated the docs and added the tests, which are passing of course - everything is in place! 🥳 Let me merge this now and I will make a release with this feature later over the weekend.

Python isn't my first language so I've largely picked through what exists already and taken a steer from that. Any guidance on improvements would be much appreciated :)

Oh, man, you are too modest! I really don't have any suggestions for you, you did great. But perhaps you can share your experience with contributing to the project? Were the contribution docs helpful, if you read them? Was the code easy to extend? Anything that we could improve?

I just noticed that this PR is technically still a draft... Do you want to add anything before we merge it, @lhokktyn?

@gdubicki we've tested in house and good to go!

Released in v3.6.0.


Disable Notification Sound Not available

Describe the bug
I could not disable the notification sound because the page only gives 2 choices of music, and no "no sound" option.
To Reproduce
Go to settings -> notifications -> other notification settings -> notification sound.
Expected behavior
Either a check option to disable the sound or no sound as one of options
Screenshots

Desktop (please complete the following information):

Operating System:  Win 10 Home (18362)
Zulip Desktop Version: 5.4.0

This seems worth supporting, and is likely quite easy.  The main decision is how to represent "no sound" in the API -- maybe the empty string would be most consistent?  I could also imagine the string "none" to avoid having multiple types here.

Hey there are two ways (a) either I write silent in the array "available_notification_sounds" or should (B) or should I add files "silent.mp3 and silent .ogg" in "static/audio/notification.sounds".
which should I do ?

I think adding a special value would be preferable to playing empty audio files (because it might confuse users if the browser indicates that the tab is playing some sounds when it's actually not).

This seems worth supporting, and is likely quite easy. The main decision is how to represent "no sound" in the API -- maybe the empty string would be most consistent? I could also imagine the string "none" to avoid having multiple types here.

I think adding a special value would be preferable to playing empty audio files (because it might confuse users if the browser indicates that the tab is playing some sounds when it's actually not).

What about a completely new checkbox called Disable notification sounds instead? Seems cleaner both in terms of implementation (no special strings) and the settings UI.

@areebbeigh , we just want to have a option(silent)  inside the noditfication-sound , as said by Tim above.

@zulipbot Claim

@zulipbot claim

So I just realized we already have an independent mechanism for disabling notification sounds in Zulip:

So I think the actual issue here is a documentation/communication issue, not a feature we need to add.
@parthi2929 do you remember what you checked when trying to figure out how to disable sounds?  I'm wondering if it'd be useful to add a Help Center article one could find via google on disabling notification sounds.

I think since there is specific option about Notification sound, I went there to disable or looking for silence option. Yes, better documentation could help here. But UI could also be improvised so its more intuitive.