az network front-door backend-pool backend family of commands should provide an easy way to enable/disable backends

Is your feature request related to a problem? Please describe.
It's impossible to enable or disable an existing backend in the backend pool of the AFD resource. The only way to do that from the command line is to get an existing backend, create a new backend with the same parameters but desired value for the "disable" arg of the CLI, then delete the original backend.
This approach is bad for a few reasons:

It doesn't scale as backends might have new parameters which are not recognized by e.g. the script that implements the algorithm described above.
Apparently, even in the current implementation of az CLI it's impossible to correctly clone an existing backend. For example, it's impossible to create a new backend with an empty value for backend host header parameter - see #17269 for more details.

Describe the solution you'd like
I'd like to have a pair of new commands ("enable", "disable") under the "az network front-door backend-pool backend" family of commands, and let az CLI (or AFD service) handle enabling or disabling of existing backends correctly.
Describe alternatives you've considered
The clone-then-delete-the-original algorithm described above is what I'm using today.

network

thank you for your feedback and we will think about it seriously.

FYI. Customer wants ''az network front-door backend-pool backend update" to update parameters of an existing backend in a backend-pool. (front-door is in 'extension' repo)


Put the colon after the key type for dictionaries

https://twitter.com/jspahrsummers/status/548225942234353665

Like so?

That looks great to me. :shipit:


Add solarized themes

I've made these for personal use, I don't know whether they're acceptable as I'm not entirely sure on the contrast for all aspects.

The maintainer (@khanhas) already said there are too many colour schemes for his theme. Anyway, thank you for your contribution.


Fix navigation links on privacy page

Fixes issue #21

Is this tested? It looks the same as it used to be except changes of names

Yes, it just needed a # before the id name in the href property. :smile:


Support --output for debug, trace, and test commands

With the --output parameter you can configure the output binary. For
example:
dlv debug --output /tmp/xxx

Will build the binary to /tmp/xxx, instead of always putting it as
debug in the current directory.
This ensures that the command always works (even if there is already a
file or directory named debug) and doesn't write to the source
directory. Especially for things like Delve/Vim integration this is a
good thing to have, I think.

remember that windows paths do contain colons.

remember that windows paths do contain colons.

Ah, very good, thanks! It's been so long that I had to develop anything on Windows that I sort-of forgot about all the small differences that can trip you up :-)

For some reason Travis isn't running macOS tests today, but your feedback should be addressed now @aarzilli. Let me know if you'd like to see any other changes.


Indicate that libraries do not require execstack

These two changes indicate to the loader that neither libstapsdt.so nor the generated anonymous .so require executable stacks. The changes were motivated by the lack of support for executable stacks on Windows Subsystem for Linux (WSL) but non-executable stack memory is also a good thing from a library hardening perspective (protection from buffer overruns).
To verify that the libraries have the expected header one can run readelf -l <the_library.so> and look for the GNU_STACK header. It will have all zeros for offset/size/addr and the value RW for flags.
Type           Offset             VirtAddr           PhysAddr
               FileSiz            MemSiz              Flags  Align
GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
               0x0000000000000000 0x0000000000000000  RW     10

Merged. Thanks!


feat(styles): add tailwind

What this PR does 📖

adjust watch command to treeshake all files for tailwind classes, export to tailwind.css, then run project.

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒

we probably need to adjust the ci/build stuff to handle this tailwind update

Additional comments 🎤

ill test the ci stuff separately


Fix #34 - Timer location

Correction in level.js for the location of run time as stated in #34.

Thanks a lot! :slightly_smiling_face:


How do I use the DataClient correctly?

Hello.
I had a trouble because i create new DataClient instance each time I send downlink. From the sdk code, I noticed that every time I create a DataClient I get a new MQTT connection.
How do I use the DataClient correctly?
Should I manually manage the DataClient instance pool?
Also, I think it's a good idea to add a callback as the last parameter to the DataClient.send() function.
This callback will be passed as last parameter to this.mqtt.publish() to receive 'MQTT publish' result.
Please give me feedback.
Thx.

Should I manually manage the DataClient instance pool?

Yes.

Also, I think it's a good idea to add a callback as the last parameter to the DataClient.send() function.
This callback will be passed as last parameter to this.mqtt.publish() to receive 'MQTT publish' result.

That could be useful indeed. Can you create a PR?

Okay, I will do as soon as possible.

Hi, Thank you for previous answer.
I have more questions.

Can I close(release) AppClient and DataClient? Or don't i need to close the clients?

After i get some TTN clients(AppClient and DataClient), i see below error message for a period of time. Is there a limit on the number of times I can connect to the Discovery server? Also, Is there a recommended time gap between connect and after connect?

14 UNAVAILABLE: Connect Failed
at Object..exports.createStatusError (node_modules/grpc/src/common.js:87:15)
at Object.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:1188:28)
at InterceptingListener.Object..InterceptingListener._callNext (node_modules/grpc/src/client_interceptors.js:564:42)
at InterceptingListener.Object..InterceptingListener.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:614:8)
at callback (node_modules/grpc/src/client_interceptors.js:841:24)

Thx.

Can I close(release) AppClient and DataClient? Or don't i need to close the clients?

You can close them, that probably releases underlying resources, which is a good idea for you and for us.

After i get some TTN clients(AppClient and DataClient), i see below error message for a period of time. Is there a limit on the number of times I can connect to the Discovery server? Also, Is there a recommended time gap between connect and after connect?

We have API throttling indeed. For normal use, this shouldn't become a problem. How many requests are you firing?

I create new client 5 times in 10 minutes, about 7 days
I will try to manage client pool.


Implement support for curl multi-handles.

This PR does a small refactor and it adds support for CURL multi-handles.
It intercepts curl_multi_add_handle to apply the wanted options to the CURL easy-handle, before passing it to the original curl_multi_add_handle.

Dont you need a curl_multi_perform to use the multi_handles?

Yes, but the application we're messing with will already call that. All we need to do is make sure the options are set. When the easy handles are added to a multi handle, that's usually the last time we'll see the easy handle, so the last chance to add options.


Documenation needs to be updated

The documentation of the ccache feature refers to https://github.com/microsoft/azure-pipelines-tasks/issues/10842 but this was not implemented and the ccache usecase is still not possible. But this is not reflected at all here.

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

ID: 77c20289-dab2-7a6e-4f63-4b30eaff2c71
Version Independent ID: d75cc196-90c1-8291-9907-ff405bde4edf
Content: Pipeline caching - Azure Pipelines
Content Source: docs/pipelines/release/caching.md
Product: devops
Technology: devops-cicd-release
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@janbernloehr Thank you for your feedback!


todo.nanorc errors when loaded

When trying to include todo.nanorc, nano prints the error Error in /path/to/.nano/todo.nanorc on line 1: A syntax name must be quoted, followed by other errors caused by the first line not running correctly.
nano version:
 nano, version 2.6.1
 (C) 1999..2016 Free Software Foundation, Inc.
 (C) 2014..2016 the contributors to nano
 Email<EMAIL_ADDRESS>Web: https://nano-editor.org/
 Compiled options: --disable-wrapping-as-root --enable-utf8

I'm running arch linux x86 64-bit.

Hey, the issue was simply that it had spaces in the name of the kind of highlighting.  I changed it & updated the repo.  I'm going to check for more like that but you should be able to pull & get the fix right now.  Thanks for bringing this to my attention!


pairdrop: 1.10.3 -> 1.10.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/schlagmichdoch/PairDrop/releases.
meta.description for pairdrop is: Local file sharing in your browser
meta.homepage for pairdrop is: https://github.com/schlagmichdoch/PairDrop
Updates performed

NPM version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.10.5 with grep in /nix/store/gkiv1jbp8dl3vza2lxbmwxx263j6svp2-pairdrop-1.10.5
found 1.10.5 in filename of file in /nix/store/gkiv1jbp8dl3vza2lxbmwxx263j6svp2-pairdrop-1.10.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
pairdrop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gkiv1jbp8dl3vza2lxbmwxx263j6svp2-pairdrop-1.10.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pairdrop https://github.com/r-ryantm/nixpkgs/archive/b0ca029a90a3086cf37849cd541a89a1670cda11.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b0ca029a90a3086cf37849cd541a89a1670cda11#pairdrop

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gkiv1jbp8dl3vza2lxbmwxx263j6svp2-pairdrop-1.10.5
ls -la /nix/store/gkiv1jbp8dl3vza2lxbmwxx263j6svp2-pairdrop-1.10.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

pairdrop

Maintainer pings
cc @dit7ya for testing.

#282083


Update to winapi 0.3

Closes #4.

Thank you for this PR! Could you rebase this off the latest master?

@Aaronepower Done


Vulnerability roundup 112: libxml2-2.9.12: 1 advisory [7.5]

search, files

[ ] CVE-2022-23308 CVSSv3=7.5 (nixos-21.11)

CVE details
CVE-2022-23308
valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

Scanned versions: nixos-21.11: efea022d6fe.
Cc @edolstra

Patched in #171516.


Added Geeksforgeeks problem and solution about palindrome linked list

@Vishruth-S I found the mid point of the linked list, then reversed the second half of the linked list. Finally I compared the first half and the second half of the linked list to check if they are same. If same, the linked list is palindrome.

I will also add the comments to the solution.

@Ankita1811  You don't have to send another PR. You can make the changes and push your commits to this same PR..

@Vishruth-S I have pushed the changes and have commented the code. Can you please look into it


Ability to run pagePark locally?

Is there a way to run pagePark locally without a bona fide domain name?

Yes. Create a sub-folder of the domains folder called localhost, and PagePark will serve requests for localhost from that folder.


1/3 = 0 but 1.0/3 = 0.333333

Tested versions
Tested in v4.2.1.stable.official [b09f793f5]
System information
Godot v4.2.1.stable - Windows 10.0.22631 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; <IP_ADDRESS>14) - 13th Gen Intel(R) Core(TM) i7-1360P (16 Threads)
Issue description
If you print the value of 1/3, you get 0, but printing 1.0/3, you get 0.333333. I know about integer division and how int/int = int, but I just don't see how this is useful. It creates wasted time debugging an issue caused by default behaviour.
Steps to reproduce
Just type "print(1/3)" in the _ready function.
Minimal reproduction project (MRP)
extends Node

func _ready():
       print(1/3)

This is because 1/3 is integer division, see here under the notes

Thanks for your input!
This is not a bug, but expected behavior (this means that it works as intended, not whether users expect it or not). Yes, this looks confusing to some users (including me) coming from Pascal, Python, JavaScript and many other languages. However, this matches C++ and some other languages. There are probably also technical reasons why it was implemented this way initially (GDScript uses Variant a lot, including for evaluating expressions).
The most important, we have already discussed this issue and could not reach a consensus (opinions were divided approximately 50 to 50), see godotengine/godot-proposals#1866. Therefore, we decided to maintain the status quo.
We have no plans to revisit the issue in 4.x as it would break compatibility. Which would be even worse than the current situation. This fact has already been properly documented, users are widely aware of it, and the behavior is often mentioned in various tutorials. Yes, at first you may not be aware of this or may often make mistakes. But over time, you somehow discover it and get used to it.


ReadBits drops bits on encountering the last byte of http response body

We encountered some weird problem that we can decode from local file but fail to decode http response. The problem is that the Read function of resp.Body yields the last byte with io.EOF.
package main

import (
	"fmt"
	"net/http"
	"os"

	bitstream "github.com/dgryski/go-bitstream"
)

func main() {
	resp, err := http.Get("http://example.com")
	if err != nil {
		fmt.Fprintf(os.Stderr, "%v\n", err)
		os.Exit(1)
	}
	defer resp.Body.Close()
	br := bitstream.NewReader(resp.Body)
	for {
		// b, err := br.ReadByte()
		b, err := br.ReadBits(8)
		fmt.Printf("%q %v\n", b, err)
		if err != nil {
			break
		}
	}
}

yields the output
...
'<' <nil>
'/' <nil>
'h' <nil>
't' <nil>
'm' <nil>
'l' <nil>
'>' <nil>
'\x00' EOF

dropping the last \n byte.
Using the b, err := br.ReadByte() line yields
'<' <nil>
'/' <nil>
'h' <nil>
't' <nil>
'm' <nil>
'l' <nil>
'>' <nil>
'\n' EOF

which works fine.
The above example shows the cases for reading each 8 bits, but it occurs with arbitrary argument for ReadBits used on resp.Body and we fail to decode the last bits.  I think the library should not return error quickly at https://github.com/dgryski/go-bitstream/blob/7d46cd22d/bitstream.go#L138.
There's a dirty workaround to avoid the problem by wrapping resp.Body with the following struct.
type ReaderWrapper struct {
	r io.Reader
}

func NewReaderWrapper(r io.Reader) *ReaderWrapper {
	return &ReaderWrapper{r}
}

func (r *ReaderWrapper) Read(p []byte) (n int, err error) {
	n, err = r.r.Read(p)
	if n == len(p) {
		err = nil
	}
	return
}

But this is too hacky isn't it.
What do you think?

Thank you!

Just realized I need a better fix for this. I'll push another commit tomorrow.


OpenJS Foundation Security Collab Space Meeting 2023-11-20

Time
UTC Mon 20-Nov-2023 19:00 (07:00 PM):

Timezone
Date/Time

US / Pacific
Mon 20-Nov-2023 11:00 (11:00 AM)

US / Mountain
Mon 20-Nov-2023 12:00 (12:00 PM)

US / Central
Mon 20-Nov-2023 13:00 (01:00 PM)

US / Eastern
Mon 20-Nov-2023 14:00 (02:00 PM)

EU / Western
Mon 20-Nov-2023 19:00 (07:00 PM)

EU / Central
Mon 20-Nov-2023 20:00 (08:00 PM)

EU / Eastern
Mon 20-Nov-2023 21:00 (09:00 PM)

Moscow
Mon 20-Nov-2023 22:00 (10:00 PM)

Chennai
Tue 21-Nov-2023 00:30 (12:30 AM)

Hangzhou
Tue 21-Nov-2023 03:00 (03:00 AM)

Tokyo
Tue 21-Nov-2023 04:00 (04:00 AM)

Sydney
Tue 21-Nov-2023 06:00 (06:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Security Collab Space+Meeting+2023-11-20&iso=20231120T1900
or https://www.wolframalpha.com/input/?i=07PM+UTC%2C+Nov+20%2C+2023+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1l_u2W8d_MqYl0shnrqLXD4Jw2OHsfEOHB8tOnLctH7E/edit

Agenda
Extracted from security-agenda labelled issues and pull requests from the openjs-foundation org prior to the meeting.
openjs-foundation/security-collab-space

Document examples of best practices for different development archetypes #78

Invited

OpenJS Foundation Security Collab Space Members
OpenJS Foundation Cross Project Council
OpenJS Foundation Project Maintainers
OpenJS Foundation Board of Directors
All are welcome

Observers/Guests
Notes
The agenda comes from issues labelled with security-agenda across all of the repositories in the openjs-foundation org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting
link for participants: Zoom link: https://zoom.us/j/94497273832

For those who just want to watch: https://livestream.openjsf.org

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

The meeting scheduled for November 20th, 2023, is canceled.


fix(norm_num): missing withMainContext

A slight regression: FLT is now harder to prove.
This corrects the meaning of * in norm_num [*].

maintainer merge

bors r+


The application interrupts the use of the keyboard in the search engine.

Expected behavior
The user expects to be able to use your keyboard on the button search for access easier and quicker to the details of your favorite artists.
Actual behavior
The user have problems using his keyboard in the Search button for access easier and quicker to the details of your favorite artists, because the application disappears the keyboard repeatedly. Something happens with the interaction between keyboard and application, making it difficult for the user to write a name or sentence.
How to reproduce

Download the application.
Install.
Access the search button and try to enter the name of an artist.
The keyboard disappears without reason on multiple occasions, while trying to write something.

Browser:  MusiQ V 1.63
Operating system: Android 5.1.1

Recording Of The Bug
https://youtu.be/5ahtgPKmbkc
Posted on Utopian.io -  Rewarding Open Source Contributors

This is actually a feature, where the program automatically submits the query, so the user doesn't have to click the search button. I have incremented the time before the search is autosubmitted from 500 to 2000 milliseconds, so this should give the user enough time to finish his query. Fixed with the new release. Thank you for the feedback!


The ticking sound should be stopped when transitioning from Focused to Finished, and play the exit sound once instead

The ticking sound continues to run when the application transitions from Focused to Finished. Stop playing this sound loop as soon as the transition is complete.
At the same time, play the exit sound once when the application exits the Focused state and enters the Finished state.

Fixed


Refactor: split getLines method of Diff class

We tried fixing issue #2047. To accomplish this, we first set out to refactor the Diff class. We extracted methods for better readability. Unfortunately we did not manage to fix the issue.
References
Issue #2047
Submitter checklist

[ ] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
[x] Recommended: If you participate in Hacktoberfest 2023, make sure you're signed up there and in the WireMock form
[x] The PR request is well described and justified, including the body and the references
[x] The PR title represents the desired changelog entry
[x] The repository's code style is followed (see the contributing guide)
[x] Test coverage that demonstrates that the change works as expected
[ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

Could we get a ./gradlew spotlessApply please?

Thanks!


Follow Google Bulk Mail Guidelines

We're having trouble with gmail probably because we're not following google's bulk mail guidelines but are sending a lot of notification emails due to the spring academy. This results in having our mails marked as spam or rejected all together.
To fix this, we need to follow the beforementioned guidelines:

extend the Mailman module to offer an argument for marking an email as bulk (see headers section in the google document)
add an controller action for unsubscribing from all email notifications at once (in the Notification module)
modify the bulk email's content (currently only notification emails are bulk emails, not registration etc) and add a "to unsubscribe klick here..." link at the footer of the document
follow any other guidelines Google provides that I forgot to mention

@inyono could you assign this to yourself or either @daFischer or @philer ? Thanks!
Please create one PR per problem (extend emails, bulk header, batch unsubscribe).

Please keep this issue updated if any other tasks come up regarding this problem

Moved to trello


As a developer, I want to have a way to share my Grid landing page iteration with my peers, so I don't test them in production.

[ ] Install netlify for static pages preview

@evertonfraga what is the state here?

@PhilippLgh the state is unstarted. But I can do that today, if that's still relevant.

Would leave assessment of the importance of this to you. Feel free to close if this is rather "nice-to-have"

This is certainly a nice to have. Pages can be developed and previewed locally as well. Closing...


Image thumbnail

Description
Most thumbnails in Files explorer won't load, some do. Tried everything in the settings. thumbnails do show in windows explorer.
Steps To Reproduce
No response
Expected behavior
Hello,
First I like to thank you for your hard work in making this amazing product, so far I am enjoying it very much.
I do have a problem, I am a photoshop artist and work with a lot of images, the file explorer doesn't load the thumbnails (windows explorer does show them). I have tried everything in the setting or deleting the cache but for files explorer, this doesn't work.
What I did find to work is to open ALL of the images, close files explorer, and then open files again. The thumbnails show now but to do this for every folder and every image is a bit of a hassle. Could you repair this issue, please?
Thank you for your hard work, have a nice day.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19043.1466
Windows Version
Edition	Windows 10 Home Version	21H1 Installed on	16/09/2021 OS build	19043.1466 Experience	Windows Feature Experience Pack 120.2212.3920.0
Relevant Assets/Logs

same issue. i assumed it was just when the app was first opened after cold boot but it seems to just be random. i can open Files and everything pops up immediately, really snappy. Then like 15 minutes later if i need to open Files again it will take a good 30 seconds to load all my drives

Thanks for the report. This is unfortunately a known issue. Merging with #6130.


Local cmake installation failure

After the commits improving local dependency installation yesterday afternoon, local cmake installation has stopped working. The last good commit appears to be 47b53b9015deaa2f569d788447254c8bc3de96a9.
Here is the output of the command on my machine running Windows 8.1 with Visual Studio 2017 RC:
C:\Users\Thomas\Development\vcpkg-ms>vcpkg install zlib

Download cmake
No suitable version of cmake was found (requires 3.8.0 or higher). Download portable version?
[Y] Yes  [N] No  [A] Always Allow Downloads  [?] Help (default is "Y"): y
Expected dependency downloaded path to be C:/Users/Thomas/Development/vcpkg-ms/downloads/cmake-3.8.0-rc1-win32-x86/bin/c
make.exe, but was C:/Users/Thomas/Development/vcpkg-ms/downloads/cmake-3.8.0-rc1-win32-x86.zip

Investigating the problem, it seems that in vcpkg_paths.cpp (line 75), fetchDependency.ps1 returns the $downloadPath for cmake which is "$downloadsDir\cmake-3.8.0-rc1-win32-x86.zip", but line 85 then compares that $downloadPath with expected_download_path which is a parameter set to downloads_folder / "cmake-3.8.0-rc1-win32-x86" / "bin" / "cmake.exe". I can make a pull request to fix this, but I'm not sure which one should be changed, expected_download_path or actual_download_path.
To reproduce the problem, it should be sufficient to remove cmake from %PATH% and delete the local from the vcpkg/downloads/ folder if it exists and then attempt to install a package with vcpkg.

Hi @tfussell,
Thank you very much for reporting this issue with such a detailed analysis! We've been able to fix it much faster due to your efforts 👍.


Dead Module? Can't change color of tags =[

Title says it all.

I'd love to know if this module will continue to get support because there's nothing else like it. It somehow miraculously works for the most part in V11, which I'm grateful for cause I really need it for spell lists tagging

Yes, I might still try to use it. But the color coding was such a nice
feature.
On Sat, Feb 10, 2024 at 7:41 PM ValuedEmployee @.***>
wrote:

I'd love to know if this module will continue to get support because
there's nothing else like it. It somehow miraculously works for the most
part in V11, which I'm grateful for cause I really need it for spell lists
tagging
—
Reply to this email directly, view it on GitHub
https://github.com/atnoslen/TagIt/issues/75#issuecomment-1937401204, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3YV4WCXNXQF2OTCASVYB3YTAVWTAVCNFSM6AAAAABDDARYIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGQYDCMRQGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


SCAN UPC barcodes

I am looking for a decent web-app that will scan UPC barcodes but this only reads QR codes.
Possible to allow hooks for different kinds of parsers like https://serratus.github.io/quaggaJS/examples/static_images.html

@blairanderson Sure will check on that. Thanks for suggesting the js library.

it can not use at Mobile phone browser


Add Memcached Cloud support to MemcacheSessionStore

Hello, just noticed these lines were missing and figured I'd add them instead of having to manually workaround it setting memcachedcloud env variables as memcachier ones

:+1: i'll get this merged, add an integ test and cut a release today


Query does not refetch when variables change

After upgrading to the latest @urql/core, queries stopped refetching when variables change

I have tried this locally and everything works so not really much to go off atm

Let me try and make a sandbox

Ok i have some more data.
It does not work when populateExchange is added for a field. I am using it with an infinite scroller.
What happens is that when variables change ($after),  query is entered into engine but it returns directly with stale data.

On the screenshot you can see

Query with key<PHONE_NUMBER> which has $after empty and returns valid data
Query with key<PHONE_NUMBER> which is the same as<PHONE_NUMBER> wtih different cursor that returns data of<PHONE_NUMBER> as stale

Working on a sandbox as we speak
p.s:The same code used to work fine with @urql/core:1.10.5

That was trickier than i thought
https://codesandbox.io/s/wizardly-wright-f42o1
It requires:
1.Graphcache
2.Relay pagination
3.Pass schema to graphcache

I've taken a quick look what could be going wrong here, I think I found the cause as in when a result is partial (we haven't got your new stuff yet) we reexecute an operation but the key we are observing doesn't seem to have an active operation at this time.
Without a schema this reexcute wouldn't happen, this could potentially mean that cache-and-network has an issue at this point as well.

Yes but why this happens only on the latest version?
On Wed, 25 Mar 2020, 02:25 Jovi De Croock<EMAIL_ADDRESS>wrote:

I've taken a quick look what could be going wrong here, I think I found
the cause as in when a result is partial (we haven't got your new stuff
yet) we reexecute an operation but the key we are observing doesn't seem
to have an active operation at this time.
Without a schema this reexcute wouldn't happen, this could potentially
mean that cache-and-network has an issue at this point as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FormidableLabs/urql/issues/668#issuecomment-603573070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAV3YMOIRR7UGCJJVJNIETRJFFPLANCNFSM4LS7F4AA
.

@zenios This is basically a regression for which this operation queue was added in the first place. I've added a test to the fix above, but basically we've forgotten to "activate" the queue for the dispatched operation and instead the queue would be started for the first reexecuted operation.

We expect operation => result (stale) => operation (network-only) => result.
But instead we had operation => operation (network-only) FILTER => result (stale)


Inventory page - new option to turn off chart at end

Suggested by Jonathan: now that we have the option to add tailored feedback to the inventory page, the chart may not always be useful or required. Add an option to remove the chart and just show the feedback.

Closed with https://github.com/thexerteproject/xerteonlinetoolkits/commit/ba9eee8751e6d63d71549038794d9836888d0b45


IHaskell not finding packages (when using stack)

(This might be duplicate of another issue https://github.com/gibiansky/IHaskell/issues/581#issuecomment-250975698 where I already gave this exact same comment.)
Hi! I'm experiencing an issue that packages are not found in IHaskell.
Here are steps to reproduce from scratch (moved my current ~/.stack elsewhere) and outside any project directories:
Set up:
stack setup --resolver=lts-6.15

Change resolver to lts-6.15:
vim ~/.stack/global-project/stack.yaml

Install IHaskell (make sure ~/.local/bin is in PATH):
stack install ihaskell
stack exec ihaskell -- install --stack

Install some other package:
stack install hmatrix

Start Jupyter console:
stack exec jupyter -- console --kernel haskell

Try to import hmatrix:
In [1]: import Numeric.LinearAlgebra
      :
Failed to load interface for ‘Numeric.LinearAlgebra’
Use -v to see a list of the files searched for.

Try GHCi for comparison:
stack exec ghci

Importing hmatrix works:
Prelude> import Numeric.LinearAlgebra
Prelude Numeric.LinearAlgebra>

Any ideas what I'm missing?

I'm having similar problems with installing random-1.1. Any ideas?

Minutes after writing this, I think I have a solution:

Add the dependencies in the stack.yaml file.
Run stack build.
Run ihaskell install --stack (This is the key step)

Somehow after this I could do import System.Random. 💃

@jluttine have you tried ihaskell install --stack?

I only tried those steps I listed above. I haven't been doing stuff related to this recently, but I'll keep that in mind when I'll try next time. Thanks!

Great, I will close this.


Zen Knit Syntex highlighter for python markdown

Description of Changes

[X] Wrote at least one-line docstrings (for any new functions)
Adding .pyz file as markdown to add support to syntex highligher for .pyz (Zen Knit)

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

Hey @contactzen, thanks a lot for your contribution! Please make your branch to derive from our 5.x branch (instead of master), with the following commands:
git checkout 5.x
git checkout patch-1
git rebase --onto 5.x master patch-1
git push -f origin patch-1

That way, we could include your patch in our next version (5.2.2), to be released in a couple of weeks.

Thank you I will do that


Starting planet star type not respected above about 375 stars

If I tell GS2 to use a Blue Giant star for the starting system it does up to about 372 stars.  At 375 stars I see another type.  An example is for seed 3556071.  Actually it doesn't appear to be repeatable.  I've tried with the same seed and I can't go above 129.

Interesting, I'll take a look thanks

A couple of observations...  If I start a new modded game with 1024 as the default number of stars it starts with the selected star type (blue giant in my case).  If I change the number of stars it sometimes stays blue giant but usually changes.  Once it's started not being the default selection it will always be something else when I start a new game until I restart the game which seems to switch it back to working once.  Anyway it seems very nondeterministic.

Can you try it again with <IP_ADDRESS>? I've reverted the galaxy generation code back a half dozen versions, might solve this.
If you can join our discord https://discord.gg/Cywc7SVuxJ might be easier to remind me to fix this :) I keep forgetting to look at github


Capitalization fix

Earlier interaction you set it here:  const algodClient = new algosdk.Algodv2(algodToken, algodServer, algodPort) with a capital C

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


Add information that disclosures performance issues (or their absence) if unique values used as partition key

Please, add some official statement about using unique values as partition key (for instance if Id property is used as partition key). How separate logical partition for every record will affect the perfomance?
I found answer there
https://stackoverflow.com/a/54637561/9111145
If it's correct (or especially if it's not correct), IMO it should be added to this article

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

ID: d52f6d2e-f852-45ce-c205-ee4038d5ecd1
Version Independent ID: e45b7f29-4d75-0dda-0f13-38b644213840
Content: Partitioning and horizontal scaling in Azure Cosmos DB
Content Source: articles/cosmos-db/partitioning-overview.md
Service: cosmos-db
GitHub Login: @deborahc
Microsoft Alias: dech

@PKPublicCode Thanks for the suggestion. Let us review it.

@PKPublicCode did you check out this section: https://docs.microsoft.com/en-us/azure/cosmos-db/partitioning-overview#using-item-id-as-the-partition-key it already covers in which cases a unique value such as Item ID is a good choice of partition keys. For small read-heavy containers or write-heavy containers of any size, the item ID is naturally a great choice for the partition key.

Well, it seems I overlooked it. Yes, this section is exactly was I requested. Thank you!
Closing this request...


Legend wrong on a diagram

This is a Bug Report

Problem:
The following page has a purple cube labeled as a Pod, but should be a containerized app when remaining consistent with the website diagrams.
Proposed Solution:
Change diagram to label purpose cube as a "Containerized app".
Page to Update:
https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/

/kind cleanup
/language en

I'm going to fix this legend.
/remove-lifecycle stale
/assign

I think this is fixed.

@pushkarv I edited the description of this issue. The change was to record what I think is the right URL of the page you wanted fixed.
It all looks OK now.
/close


NFS shares API changed in TrueNAS v22.12.3

Previously, the NFS share API at /api/2.0/sharing/nfs had more fields, but as of TrueNAS 22.12.3, it's been reduced to the following four fields:
path local path to be exported.
aliases IGNORED, for now.
networks is a list of authorized networks that are allowed to access the share having format "network/mask" CIDR notation. If empty, all networks are allowed.
hosts is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are allowed.
Fields like comment, maproot*, or even paths were removed, so using terraform to get or set nfs shares causes the plugin to either error when trying to apply, or crash when trying to import.

Any estimate on adding support for latest TrueNAS API variant?
NFS path vs paths is the main cause for failing resource modifications.

+1

+1


Document well-known environment variables

We should start documenting the list of well-known variables. We might also make different design considerations of breaking down how these configurations are provided. Traditionally, the environment has been used a conglomerate source of config which might be an increasingly complex config mechanism.
Environment Variables
Input Parameters Substitution
Environment variables can be referenced in IaC provider parameter files (*.parameters.json for Bicep, *.tfvars.json for Terraform) as part of provisioning. When an environment variable substitution syntax is encountered, azd will automatically substitute the reference with the actual environment variable value set. Substitution also occurs for certain configuration settings in azure.yaml (properties documented field 'Supports environment variable substitution'), and in deployment configuration files, such as deployment manifests for aks.
Example: Input Parameters Substitution (Bicep)
Suppose that you have the environment variable AZURE_LOCATION set:
Bash: export AZURE_LOCATION=westus3
PowerShell: $env:AZURE_LOCATION='westus3'
In main.parameters.json, you can reference AZURE_LOCATION and allow for environment substitution using the following syntax:
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {
    "location": {
      "value": "${AZURE_LOCATION}"
    }
  }
}

Provide default values
To set location to the value eastus2  if AZURE_LOCATION is not set, the syntax ${AZURE_LOCATION=eastus2} can be used. For more details on the syntax, see here.
Environment-specific .env File
Outputs for infrastructure provisioning are automatically stored as environment variables in an .env file, located under .azure/<environment name>/.env. This allows for a local application, or deployment scripts, to leverage variables stored in the .env file to reference Azure-hosted resources if needed. To see these outputs, run azd env get-values,  or azd env get-values --output json for JSON output.
azd-provided Environment Variables
These are variables that are automatically provided by azd.

Name
Description
Examples
When available

AZURE_ENV_NAME
The name of the environment in-use.
todo-app-dev
When an environment is created (i.e. after running azd init or azd env new).

AZURE_LOCATION
The location of the environment in-use.
eastus2
Right before an environment is provisioned for the first time.

AZURE_PRINCIPAL_ID
The running user/service principal.
925cff12-ffff-4e9f-9580-8c06239dcaa4
Determined automatically during provisioning (ephemeral).

AZURE_SUBSCRIPTION_ID
The targeted subscription.
925cff12-ffff-4e9f-9580-8c06239dcaa4
Right before an environment is provisioned for the first time.

SERVICE_<service>_IMAGE_NAME
The full name of the container image published to Azure Container Registry for containerapp services.
todoapp/web-dev:azdev-deploy-1664988805
After a successful publishing of a containerapp image

User-provided Environment Variables
These are variables that can be declared as an infrastructure output parameter (which is automatically stored in .env), or set directly by the user in the environment (azd env set <key> <value>). azd will read the values as configuration and perform differently.

Name
Description
Examples
Effect

AZURE_AKS_CLUSTER_NAME
The name of the Azure Kubernetes Service cluster to target.
aks-my-cluster
Required property for deployment of an aks service.

AZURE_RESOURCE_GROUP
The specific resource group to target. Type string.
rg-todo-dev
azd will not perform resource group discovery, and instead references this resource group. Note that azd does not control the authored IaC configuration files, thus changes to IaC files may be needed.

AZURE_CONTAINER_REGISTRY_ENDPOINT
The Azure Container Registry endpoint to publish docker image. Type string.
myexampleacr.azurecr.io
Required property for deployment of a containerapp or aks service.

SERVICE_<service>_ENDPOINTS
The endpoints for the particular service. Type array (bicep) / list-equivalent (terraform).
['endpoint1', 'endpoint2']
Sets the public endpoints for the particular service will be used by azd for display. By default, azd discovers the automatically assigned hostnames for a given host. i.e. *.azurewebsites.net for appservice.

@ellismg Feel free to use this as a reference and also live-documentation for editing as you're exploring the environment redesign.

Is this ready for docs? We need to get this in before content freeze on 5/15

Is this ready for docs? We need to get this in before content freeze on 5/15

@weikanglim can you see if it looks good for @gkulin to consume?

@rajeshkamal5050 I'll need to reword the content to describe the .env file, and check in with other devs.

@savannahostrowski @gkulin It's ready for consumption. The final edit is in the initial post.

@gkulin Let's make sure that we try to land this before 5/15.


Slickgrid.Pager page x of x incorrect when changing page size

I've noticed that when changing page size of the pager you can get into a situation where the 'Showing page x of x can be incorrect. Steps to replicate are:
In example 4:

set page size to 25
goto last page 'Showing page 2001 of 2001
switch page size to 50

At this point paging should show 'Showing page 2001 of 1001'
It seems that in a case like this the pager should update the page to the last page for a page size of 50.

Fixed in https://github.com/mleibman/SlickGrid/commit/58a1156eb1e03742293214b9820f2dcb9dffe353.


Luaで背景をカスタマイズ可能に

不具合があるかもしれません

Great, I am trying this right now and if there is no major issue I will merge in few minutes !

修正しました

Looks good to me ! A last thing I would have to request before merging, can you add the NLua-related files (KeraLua.dll, liblua54.dylib, lua54.dll and NLua.dll) on the list of files that are automatically moved within the dll folder after build ? (It should be accessible on the project settings on Visual Studio)

修正しました

Perfect ! Thanks a lot for your contribution


RFC: add "match" method to actionCreator

This was triggered by #228 and inspired by https://github.com/aikoven/typescript-fsa - their actionCreators have a match method that works as a type guard and can apparently be used with redux-observable.
This would add the same to our actionCreators. What do you think?
I've added a special typeTest for that useCase: https://github.com/phryneas/redux-starter-kit/blob/actionCreator-match/type-tests/files/createAction.typetest.ts#L279-L290

Can you rebase this against master now that #233 got merged in?

Rebased :+1:

Looks neat!


Rustdoc example for Ref

If you compare two things (even for the sake of the example), the difference between them usually deserves a mention.
Are those exactly equivalent, or are there performance implications for doing filtering inside the system? Would you ever want to write Query<Ref<MyComponent>, Changed<MyComponent>>?
Also, first query fetches Entity and second doesn't, not sure if that's relevant. Maybe adding Entity to second query or removing it from the first will create less confusion if people start copy-pasting things.

@rlidwka

Are those exactly equivalent, or are there performance implications for doing filtering inside the system?

I would appreciate if you suggest better wording, or just submit a better PR with better explanations.

Removed entity from first example.


[ZEPPELIN-5061] fix note list broadcast

What is this PR for?
As described in the linked issue, there has been a bug where, when a user creates or updates a note, that user's note list is published to all connected users, instead of their own note lists. This has the security problem that it leaks information about a user's note list to other users who may not have permission to see it. This PR fixes that bug by querying each connected user's note list and publishing that instead.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-5061
How should this be tested?
Manual testing:

Configure a list of users using a shiro.ini file. Example:

[users]
# List of users with their password allowed to access Zeppelin.
# To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Configuration-INISections
admin = password1, admin
user1 = password2, role1
user2 = password3, role1

Turn off public notebooks in zeppelin-site.xml by setting the property zeppelin.notebook.public to false
Boot Zeppelin server on this PR
Log in as user1
In a separate browser, log in as user2
As user1, create a note
Previous result: user1's note appears on user2's dashboard. Refreshing user2's browser will cause the note to disappear from their dashboard.
Fixed expectations:

user1's note does not appear on user2's dashboard.
the display of any notes created by user1 is not affected when user2 creates a note
when zeppelin.notebook.public is set to true, user1's note appears as expected on user1's dashboard

Thanks for your contribution @david-golightly-leapyear  Overall LGTM, just a few minor comments

@zjffdu Feedback addressed, thanks for reviewing

Thanks @david-golightly-leapyear Could you paste the travis CI link ? There're some flaky test, you ca rerun them if some is failed

Here's the Travis CI link: https://travis-ci.org/github/LeapYear/zeppelin-source
I've restarted a couple of failed jobs that look flaky - at least, I don't see any failures that look related to my changes.

@david-golightly-leapyear Let me help to get through CI test pass.
When I see the Travis CI Link, I can see a build fail on zeppelin-zengine module.
Could you try handle this and make the module build success?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project zeppelin-zengine: Compilation failure: Compilation failure:
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[100,24] method getNoteNode in class org.apache.zeppelin.notebook.NoteManager cannot be applied to given types;
[ERROR]   required: java.lang.String,java.lang.String
[ERROR]   found: java.lang.String
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[106,20] incompatible types: java.util.stream.Stream<java.lang.Object> cannot be converted to java.util.stream.Stream<org.apache.zeppelin.notebook.Note>
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[131,14] method addNote in class org.apache.zeppelin.notebook.NoteManager.Folder cannot be applied to given types;
[ERROR]   required: org.apache.zeppelin.notebook.Note
[ERROR]   found: java.lang.String,org.apache.zeppelin.notebook.Note
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[132,19] method put in interface java.util.Map<K,V> cannot be applied to given types;
[ERROR]   required: java.lang.String,java.lang.String
[ERROR]   found: org.apache.zeppelin.notebook.Note
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[215,25] method getNoteNode in class org.apache.zeppelin.notebook.NoteManager cannot be applied to given types;
[ERROR]   required: java.lang.String,java.lang.String
[ERROR]   found: java.lang.String
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[285,25] method getNoteNode in class org.apache.zeppelin.notebook.NoteManager cannot be applied to given types;
[ERROR]   required: java.lang.String,java.lang.String
[ERROR]   found: java.lang.String
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[301,25] method getNoteNode in class org.apache.zeppelin.notebook.NoteManager cannot be applied to given types;
[ERROR]   required: java.lang.String,java.lang.String
[ERROR]   found: java.lang.String
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /home/travis/build/LeapYear/zeppelin-source/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/NoteManager.java:[332,43] cannot find symbol
[ERROR]   symbol:   variable noteId
[ERROR]   location: class org.apache.zeppelin.notebook.NoteManager
[ERROR] -> [Help 1]

Let me know if you need any help.

@Leemoonsoo the link to the specific branch is here https://travis-ci.org/github/LeapYear/zeppelin-source/builds/731020780 .  I'm not sure if the failing jobs are legit failures, but they look unrelated.  Let me know if more action is required.

@david-golightly-leapyear Have you rebased to the latest master ?

Target branch is: apache:branch-0.9

The failed tests are unrelated, @david-golightly-leapyear
will merge it if no more comment

I have merged it @david-golightly-leapyear What is your jira name ? I can assign it to you.


图例和图表之间的间距过大

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?
图例和图表之间的间距过大，且不能设置，希望可以设置
What does the proposed API look like?
chart.legend({
position: 'top',
top: -10
});

https://f2.antv.vision/zh/docs/api/chart/chart#appendpadding 可以通过appendPadding设置
const chart = new F2.Chart({
  appendPadding: [0, 15, 15, 15],
  id: 'container',
  pixelRatio: window.devicePixelRatio // 指定分辨率
});


[App Service]: Fix #17424: az appservice plan show: Provide correct exit status

#17424
Description

az appservice plan show does not provide correct exit status
Testing Guide

az appservice plan show --resource-group nonesuch-rg-doesntexist --name nonesuch-app-doesntexist
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

AppService

@Kotasudhakarreddy Could you please fix the CI issue?

@Kotasudhakarreddy Could you please fix the CI issue?

Working on it.

@Kotasudhakarreddy Hi, please solve these CI issue in time today, otherwise this PR will miss the release of this sprint and can only be released in the next sprint (about 09-07)

@zhoxing-ms we see this error when using raw request , is there a way to ignore these checks - since to handle certain responses from the API, where the response is HTML & not expected JSON from CLI, we are forced to use raw request. Any other suggestions here?
2021-07-29T09:55:50.8808217Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1709:22: W0212: Access to a protected member _config of a client class (protected-access)
2021-07-29T09:55:50.8809774Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _base_url of a client class (protected-access)
2021-07-29T09:55:50.8810973Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _client of a client class (protected-access)
2021-07-29T09:55:50.8812141Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1709:22: W0212: Access to a protected member _config of a client class (protected-access)
2021-07-29T09:55:50.8813277Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _base_url of a client class (protected-access)
2021-07-29T09:55:50.8814425Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _client of a client class (protected-access)

@zhoxing-ms we see this error when using raw request , is there a way to ignore these checks - since to handle certain responses from the API, where the response is HTML & not expected JSON from CLI, we are forced to use raw request. Any other suggestions here?
2021-07-29T09:55:50.8808217Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1709:22: W0212: Access to a protected member _config of a client class (protected-access)
2021-07-29T09:55:50.8809774Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _base_url of a client class (protected-access)
2021-07-29T09:55:50.8810973Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _client of a client class (protected-access)
2021-07-29T09:55:50.8812141Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1709:22: W0212: Access to a protected member _config of a client class (protected-access)
2021-07-29T09:55:50.8813277Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _base_url of a client class (protected-access)
2021-07-29T09:55:50.8814425Z src/azure-cli/azure/cli/command_modules/appservice/custom.py:1711:18: W0212: Access to a protected member _client of a client class (protected-access)

As for client.app_service_plans._config.subscription_id, we can get subscription_id by get_subscription_id(cmd.cli_ctx)
As for client.app_service_plans._client._base_url, there is no good way at present. If this base_url is fixed, maybe we can consider defining it as a constant separately. Or you can use # pylint: disable=protected-access to disable the check from pylint.

@panchagnula @Kotasudhakarreddy  Since it will be released today and this PR is a bugfix, I will disable the pylint check first. Please improve the reference to private variables later

@panchagnula @Kotasudhakarreddy Since it will be released today and this PR is a bugfix, I will disable the pylint check first. Please improve the reference to private variables and do relevant tests later

@Kotasudhakarreddy can you take of this when you are online today? maybe we don't need to wait until next release to handle this feedback. @zhoxing-ms  thanks for all the help here.

@panchagnula If you need to merge this PR  in this sprint , please approve it~ We can submit a new PR to improve it later

@zhoxing-ms I have made the suggested improvements and submitted the PR. please check
@panchagnula FYI


Bug: nmcbit not working

Issues:

nmcbit is prop unless you select your workers to be pps, thus it should be in the regular list of prop pools

Can't mine nmcbit

bh stats page was showing nmcbit was:
NMCBit.com (MergeM-PPS)	130,486
8.89%
but it was mining deepbit:
DeepBit.com (Prop)	420,877
28.67%
nmcbit was not lagging

nmcbit is showing on the bh stats page the shares for nmc not btc

BH won't let me run 'mine_force' to force mining on nmcbit

ack

They state PPS  http://dot-bit.org/forum/viewtopic.php?f=6&t=268

bH has a profitability algo. implemented for alternate coins that could be the cause not letting you mine even with those lowest shares

It's supposed to show NMC shares

That could be a problem yeah, when you force it's supposed to let you override no matter what. Hope c00w looks into it :)

coin profitability over rules everything. I should have it start as disabled. It even overrules mine_force.

I'll switch the default bh.cfg.default

Parai-
They're definitely prop-capable.  1) you can see it on the first bullet point here:https://bitcointalk.org/index.php?topic=33612.msg419958;topicseen#msg419958 2) if you have a nmcbit account you can see where you choose your workers are to be prop or pps and 3) i managed a 25 btc payout over the weekend when they had good luck - definitely not what we'd get paid pps.
For merged pools, shouldn't the hop point depend on the mining role?  e.g. if you have 'mine' it should hop based on btc shares, but if you had mine_nmc, wouldn't it hop on nmc shares?

mine_nmc is an alias to mine with coin: nmc. We probably should have two regexp's based on coin. I'll add it as an issue. I don't see a good clear way to do it however.

Could we in the meantime, have nmcbit be a prop and pps pool (two entries) like we have with mtred?  I would like to hop nmcbit with my prop workers and have set up pps workers so i can use nmcbit as a backup

you can create a "pools-custom.cfg" file with a identical pool entry only with different [nmcbit] name, amazingrando
like this http://pastebin.com/FqAHnEQa

How are you going to hop nmcbit prop?  Amrando, I am in the same boat as you...but gave up on the issue since I understand it to be difficult to scrape BTC valid shares...  Tried to hop with mine_lp and added this to poolblock cfg:
[nmcbit]
url = http://www.nmcbit.com/statistics
search = href="http://blockexplorer.com/tx/([0-9a-f]+)"
mode = g
But it doesn't work.. obviously I don't know what I am doing :)

just don't use a hyphen in the name you use for the new nmcbit config or you'll crash the db. Like I did using [nbit-pps]. Worked fine when I deleted the db and changed the name to [nmbitpps].


error when login google chrome

Describe the bug
It happens as soon as I can identify myself in the system (after loggin), this message appears and it does not let me continue in the system. The funny thing is that I tried and it only happens in the google chrome browser. But it doesn't happen with Firefox, Opera or Edge.
`NotFoundError: no se pudo ejecutar 'insertBefore' en 'Node': el nodo antes del cual se insertará el nuevo nodo no es un elemento secundario de este nodo.
Component Stack:
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609267
at a
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:629598
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:629996
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:630484
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at oc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:776364)
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at rc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:775566)
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609561
at Os (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:678651)
at div
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:609267
at ac (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:778213)
at t (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:521170)
at sentryRoute(t)
at t (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:522052)
at t (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:521170)
at sentryRoute(t)
at jc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:789779)
at t (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:522052)
at t (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:521170)
at sentryRoute(t)
at jc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:789779)
at Vc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:795698)
at div
at div
at us (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:670093)
at div
at hs (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:671652)
at qc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:795902)
at oa (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:644215)
at Wc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:793891)
at Lc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:791826)
at vo (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:628137)
at Ui (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:613240)
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:627170
at co (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:627865)
at $i (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:613735)
at t (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:518433)
at $c (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:794779)
at Yc (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:796579)
Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at Ss (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:452974)
at ks (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:452485)
at Pl (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:465188)
at t.unstable_runWithPriority (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:503137)
at Vi (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:408753)
at Ll (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:463352)
at bl (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:459463)
at http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:408976
at t.unstable_runWithPriority (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:503137)
at Vi (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:408753)
at Yi (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:408921)
at Gi (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:408856)
at hl (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:456623)
at Na (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:428353)
at g (http://<IP_ADDRESS>:3000/react-app/index.js?v=181c99:2:779842)
`
To Reproduce
Steps to reproduce the behavior:

Login

Expected behavior
Not show the message or try continue
Screenshots

Environment (please complete the following information):

OS: Docker version
Label Studio Version 1.8.0
Additional context
Only happens in the google chrome browser. But it doesn't happen with Firefox, Opera or Edge.

Hey @juanretamales thank you for reaching out, I was unable to replicate the issue – please reach out to our community slack if you have any further questions.
As another tip— please make sure that you don't have any developer extensions that would be blocking Label Studio from running as well.

I've been having the same issue (same stacktrace). Started about a week ago.  Happens when I click on the projects overview page, but it's intermittent so hard to reproduce.


怎么卸载？

Checklist

[X] I have already read docs/Tips.md, but my question is not solved.
[X] My question was not mentioned by others, and it is not a duplicate question.

Description
怎么卸载？直接删除Starward文件夹吗
Starward Version
0.11.6
Windows Version
11
Log
No response
Additional Context
No response

如果后续仍有使用的需要的话，请先把数据文件 StarwardDatabase.db 备份。
删除你提到的 Starward 文件夹和 %LocalAppData%\Starward 就行了。


warning: circular require + argument prefix

When running tests on a project depending on capybara-screenshot some warnings are raised (see below).
This is because with a recent rake (>=11.0), ruby warnings are now on by default.
What do you think about fixing those warnings as well as running the test suite with ruby -w / $VERBOSE = true / t.warning = true ?
Relevant excerpt:
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb:109: warning: `&' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb:113: warning: `&' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot/callbacks.rb:7: warning: `*' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot/callbacks.rb:27: warning: `*' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293: warning: loading in progress, circular require considered harmful - /Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb
        from /Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb:202:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot/capybara.rb:1:in  `<top (required)>'

Full trace:
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb:109: warning: `&' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb:113: warning: `&' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot/callbacks.rb:7: warning: `*' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot/callbacks.rb:27: warning: `*' interpreted as argument prefix
/Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293: warning: loading in progress, circular require considered harmful - /Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb
    from /Users/lloeki/.gem/ruby/2.3.4/bin/bundle:22:in  `<main>'
    from /Users/lloeki/.gem/ruby/2.3.4/bin/bundle:22:in  `load'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/exe/bundle:26:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in  `with_friendly_errors'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/exe/bundle:34:in  `block in <top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in  `start'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in  `start'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in  `dispatch'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in  `dispatch'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in  `invoke_command'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in  `run'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in  `exec'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in  `run'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in  `kernel_load'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in  `load'
    from /Users/lloeki/.gem/ruby/2.3.4/bin/rake:22:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/bin/rake:22:in  `load'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/exe/rake:27:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:77:in  `run'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:178:in  `standard_exception_handling'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:79:in  `block in run'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:95:in  `load_rakefile'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:178:in  `standard_exception_handling'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:96:in  `block in load_rakefile'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:686:in  `raw_load_rakefile'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/rake_module.rb:28:in  `load_rakefile'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/rake_module.rb:28:in  `load'
    from /Users/lloeki/Workspace/adhoc/web/cel3/cel3-core/Rakefile:9:in  `<top (required)>'
    from /Users/lloeki/Workspace/adhoc/web/cel3/cel3-core/Rakefile:9:in  `load'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/railties-5.0.4/lib/rails/tasks/engine.rake:72:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/application.rb:152:in  `invoke_task'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task.rb:173:in  `invoke'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task.rb:180:in  `invoke_with_call_chain'
    from /Users/lloeki/.rubies/ruby-2.3.4/lib/ruby/2.3.0/monitor.rb:214:in  `mon_synchronize'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task.rb:187:in  `block in invoke_with_call_chain'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task.rb:243:in  `execute'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task.rb:243:in  `each'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task.rb:248:in  `block in execute'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/railties-5.0.4/lib/rails/tasks/engine.rake:2:in  `block in <top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/dsl_definition.rb:140:in  `namespace'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/rake-11.3.0/lib/rake/task_manager.rb:218:in  `in_namespace'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/railties-5.0.4/lib/rails/tasks/engine.rake:3:in  `block (2 levels) in <top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/railties-5.0.4/lib/rails/tasks/engine.rake:3:in  `load'
    from /Users/lloeki/Workspace/adhoc/web/cel3/cel3-core/spec/dummy/Rakefile:5:in  `<top (required)>'
    from /Users/lloeki/Workspace/adhoc/web/cel3/cel3-core/spec/dummy/Rakefile:5:in  `require'
    from /Users/lloeki/Workspace/adhoc/web/cel3/cel3-core/spec/dummy/config/application.rb:11:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler.rb:106:in  `require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/runtime.rb:75:in  `require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/runtime.rb:75:in  `each'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/runtime.rb:86:in  `block in require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/runtime.rb:86:in  `each'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/runtime.rb:91:in  `block (2 levels) in require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/bundler-1.13.7/lib/bundler/runtime.rb:91:in  `require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot.rb:202:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in  `require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:259:in  `load_dependency'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in  `block in require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in  `require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/capybara-screenshot-1.0.17/lib/capybara-screenshot/capybara.rb:1:in  `<top (required)>'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in  `require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:259:in  `load_dependency'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in  `block in require'
    from /Users/lloeki/.gem/ruby/2.3.4/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:293:in  `require'

@lloeki would be great if you fixed them, sure!  A PR would be very welcome.


preparatory update for 0.17

0.17 compilation output seems to include its own UMD wrapper so manually assigning to module.exports ends up not being necessary and also throws because Elm is never added to the global namespace
thanks!

@lukewestby make this the default, but add a flag that allows you to renable the 0.16 version too

@eeue56 sorry! i forgot to ping you on this. what do you think of the flag?

LGTM! Merging.

@rtfeldman could we get a release?

I'm getting Uncaught TypeError: r.embed is not a function in app.js using master branch.

Fixed in https://github.com/elm-lang/elm-platform/pull/146/files

Also fixed in here -> https://github.com/elm-lang/elm-platform/pull/138 :P

Oops! Closed mine.


Unnecessary volume mount

The volume mount set in the Dockerfile seems unnecessary (/usr/share/nginx/html) as /usr/share/nginx/infcloud is used to serve the actual application. This creates an anonymous volume by default, as this volume isn't mentioned in any docs / docker-compose. This could probably be removed as a docker volume, since it holds only default nginx pages and does not really need to be persisted into a volume.
https://github.com/ckulka/infcloud-docker/blob/master/Dockerfile#L18

Good point, I'll take it out 👍

Should done done, let me know if it didn't work out


Allow for easy migration between Citadel to SPIRE backed workload identities

When an operator wants to migrate from the self-signed Citadel CA to spire backed workload identities he will encounter multiple difficulties in doing so, which seems to force him to restart all workloads that cross communicate at once. Making the migration path difficult without blue/green or full cluster upgrade.
to better illustrate our findings about the current behavior for mTLS we have an experiment we ran we will show here:
First install standard istio and bookinfo:
kind create cluster --name test-onboard-spire
istioctl install --set profile=minimal
kubectl create ns bookinfo
kubectl label ns bookinfo istio-injection=enabled
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.21/samples/bookinfo/platform/kube/bookinfo.yaml -n bookinfo

Then apply the quick start spire:
kubectl apply -f spire-backed/spire-quickstart.yaml
kubectl wait pod --for=condition=ready -n spire -l app=spire-agent
kubectl apply -f spire-backed/clusterspiffeid.yaml

istioctl install -f - <<EOF
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
spec:
  profile: minimal
  meshConfig:
    trustDomain: cluster.local
  values:
    global:
    # This is used to customize the sidecar template
    sidecarInjectorWebhook:
      templates:
        spire: |
          spec:
            containers:
            - name: istio-proxy
              volumeMounts:
              - name: workload-socket
                mountPath: /run/secrets/workload-spiffe-uds
                readOnly: true
            volumes:
              - name: workload-socket
                csi:
                  driver: "csi.spiffe.io"
                  readOnly: true
EOF

(Since there is no ingress gateway we have a simpler config than the standard quickstart)
Notice we choose the exact same trust domain: cluster.local for the spire domain..
Next we make the details pod fetch itself a spire certificate:
#These are the bookinfo manifests but with the spire podselector labels and template annotations added
kubectl apply -f spire-backed/bookinfo-spired.yaml -l app=details,version=v1

We confirmed that the details pod gets issued spire backed certificate succesfully and connects to the control plane.
We see that now communication between productpage -> details is broken due to TLS error.
This is because productpage only has the old selfsigned root in the istio-root-ca-configmap trust store. and this shows in istioctl pc secret
If we now make productpage use spire:
# Make productpage use spire
kubectl apply -f spire-backed/bookinfo-spired.yaml -l app=productpage,version=v1

Now productpage reads details fine but ratings/reviews are broken (as they use old CA and are not trusted).
What's even more confusing is that the control plane is connected to correctly even though it uses the old CA.
In case you were not aware the Istiod control plane does not yet support workload identity through spire as shown in this issue:
https://github.com/istio/istio/issues/49087
The reason this works, is that the xds proxy on each sidecar which connects to istiod on behalf of envoy, sets up a seperate root of trust on workloads, including spire backed workloads and uses the istio-root-ca-configmap:
https://github.com/istio/istio/blob/f30859e7be7a2706564546fcb5d68efa19cbf99f/pkg/istio-agent/agent.go#L623
https://github.com/istio/api/blob/68cdbb256ce1d970fa0a2fb4397057d165ee4732/mesh/v1alpha1/proxy.proto#L593
This is inconsistent and very surprising. There should be a way to include all the old roots for all workloads to allow for spire to non-spire communication in my view if only to allow for gradual rollout.
Describe alternatives you've considered

to just install spire on all workloads and do a full cluster upgrade at once with a maintenance window or if available use a blue/green setup for this.
Perhaps force the trust bundle context somehow for workloads to always contain both the spire root and the control plane self-signed root. Unclear if current mechanisms would allow you to do so.
This would still require workload restarts to take effect presently but would at least allow for a gradual rollout.

Affected product area (please put an X in all that apply)
[ ] Ambient
[ ] Docs
[ ] Dual Stack
[x ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context
Tested on Istio 1.18.2

To illustrate the situation better i've created a couple diagrams to explain the situation with the trust going on:
Details service only use spire certificates

Productpage and details use spire certificates


[Event Request] codeunit 7321 "Create Inventory Put-away" - OnBeforeItemTrackingMgt

Hi, would it be possible to get many events OnBeforeItemTrackingMgt in codeunit 7321 "Create Inventory Put-away", like this :
    local procedure CreatePutAwayLinesFromSales(SalesHeader: Record "Sales Header")
    var
        SalesLine: Record "Sales Line";
        NewWhseActivLine: Record "Warehouse Activity Line";
        WhseItemTrackingSetup: Record "Item Tracking Setup";
        ItemTrackingMgt: Codeunit "Item Tracking Management";
        IsHandled: Boolean;
        SNRequired: Boolean;
        LNRequired: Boolean;
        SNGestionLot: Boolean;

  else
                            RemQtyToPutAway := "Return Qty. to Receive";
                        IsHandled := false;
                        OnBeforeItemTrackingMgt(ItemTrackingMgt,WhseItemTrackingSetup,ReservationFound,SalesLine,SNRequired,LNRequired,SNGestionLot);
                        if not IsHandled then begin
                            ItemTrackingMgt.GetWhseItemTrkgSetup("No.", WhseItemTrackingSetup);
                            if WhseItemTrackingSetup.TrackingRequired() then
                                ReservationFound := FindReservationEntry(DATABASE::"Sales Line", "Document Type".AsInteger(), "Document No.", "Line No.", WhseItemTrackingSetup);
                        end;

                        if "Document Type" = "Document Type"::Order then
                            RemQtyToPutAway := "Qty. to Receive"
                        else
                            RemQtyToPutAway := -"Return Qty. to Ship";

                        IsHandled := false;
                        OnBeforeItemTrackingMgt(IsHandled, SNRequired, LNRequired, SalesLine);
                        if not IsHandled then begin
                            ItemTrackingMgt.GetWhseItemTrkgSetup("No.", WhseItemTrackingSetup);
                            if WhseItemTrackingSetup.TrackingRequired() then
                                ReservationFound :=
                                FindReservationEntry(DATABASE::"Purchase Line", "Document Type".AsInteger(), "Document No.", "Line No.", WhseItemTrackingSetup);
                            exit;

                if not IsHandled then
                    if not NewWhseActivLine.ActivityExists(DATABASE::"Transfer Line", 1, "Document No.", "Line No.", 0, 0) then begin
                        RemQtyToPutAway := "Qty. to Receive";
                        IsHandled := false;
                        OnBeforeItemTrackingMgt(ItemTrackingMgt, WhseItemTrackingSetup, ReservationFound, SalesLine, SNRequired, LNRequired, SNGestionLot);
                        if not IsHandled then begin
                            ItemTrackingMgt.GetWhseItemTrkgSetup("Item No.", WhseItemTrackingSetup);
                            if WhseItemTrackingSetup.TrackingRequired() then
                                ReservationFound :=
                                  FindReservationEntry(DATABASE::"Transfer Line", 1, "Document No.", "Line No.", WhseItemTrackingSetup);
                        exit;

                IsHandled := false;
                OnBeforeCreatePutAwayLinesFromProdLoop(WhseActivHeader, ProdOrder, IsHandled, ProdOrderLine);
                if not IsHandled then
                    if not NewWhseActivLine.ActivityExists(DATABASE::"Prod. Order Line", Status.AsInteger(), "Prod. Order No.", "Line No.", 0, 0) then begin
                        RemQtyToPutAway := "Remaining Quantity";
                        IsHandled := false;
                        OnBeforeItemTrackingMgt(ItemTrackingMgt, WhseItemTrackingSetup, ReservationFound, SalesLine, SNRequired, LNRequired, SNGestionLot);
                        if not IsHandled then begin
                        ItemTrackingMgt.GetWhseItemTrkgSetup("Item No.", WhseItemTrackingSetup);
                        if WhseItemTrackingSetup.TrackingRequired() then
                            ReservationFound :=
                              FindReservationEntry(DATABASE::"Prod. Order Line", Status.AsInteger(), "Prod. Order No.", "Line No.", WhseItemTrackingSetup);
                        exit;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeItemTrackingMgt(var ItemTrackingMgt: Codeunit "Item Tracking Management";var WhseItemTrackingSetup: Record "Item Tracking Setup";var ReservationFound: Boolean;var SalesLine: Record "Sales Line";var SNRequired: Boolean;var LNRequired: Boolean;var SNGestionLot: Boolean)
    begin
    end;

Thanks!

The event's signature misses IsHandled parameter, but it is used in code. In the second usage the signature is not matched: OnBeforeItemTrackingMgt(IsHandled, SNRequired, LNRequired, SalesLine);
Please explain how the parameters SNRequired, LNRequired, SNGestionLot are going to be initialized and used.

I forgot to add IsHandled parameter and I don't need to use  SNRequired, LNRequired, SNGestionLot. Thanks

Please update the original request.
There is still OnBeforeItemTrackingMgt(IsHandled, SNRequired, LNRequired, SalesLine);
Make sure all calls match the right signature.

I edited my code

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Added the frontend component to display products in a grid layout

Added the following components

One for a single product display
One for a list of products, reusing the first one
each with their storybooks

Wrote tests for the two components

When you hover on the product card, it'll zoom-in. Is it normal?

Ensure we increase the number of columns the wider the screen is


Static IPv4 and MAC give error while connecting.

Prerequisites
[Yes] Can you reproduce?
[Yes(DE)] Are you running the latest version of SoftEtherVPN?
SoftEther version: Version 5.02 Build 5180
Component: SoftEther VPN Server Developer Edition (64 bit)
Operating system: Linux (Ubuntu)
Architecture: 64 bit
Processor: Intel:E5 2667v2 VM (Proxmox)
Description
I am using OPNsense as my DHCP server and firewall. I have set up a soft-ether VPN behind proxmox, and the VPN client is able to receive an IP address from the DHCP as expected. However, I want to assign static IPs on VPN clients, so I need a static MAC address. I have set the MAC address in the notes as "MAC:XX-XX-XX-XX-XX-XX-XX" (generated online from Google), which appears to be reflecting in server when connecting from the client. However, the connection is terminated with the error message "A connection to the remote computer could not be established. You might need to change the network settings for this connection." Both IPsec and SSTP methods result in the same error. When the argument in the notes is cleared, the VPN connects successfully, but a dynamic IP is assigned, secure NAT is disabled.
Expected behavior:
VPN should connect with the given MAC address shown to OPNsense so it can differentiate between clients.
Actual behavior:
Windows give the error and connection is not established.
Steps to reproduce

Setup OPNsense as DHCP server e.g. Ip <IP_ADDRESS>(firewall)
Setup soft-ether with Ip <IP_ADDRESS> (static)
Add a client and set MAC in notes.
Add bridge with physical network adaptor and set up IPsec/SSTP and error should occur while connecting.

Well, No idea how it happened but it just worked the next day.
So, I will close this issue now thanks.


UpgradeRequired(111) error when updating to v0.16.0

Hi! First of all, thanks for the work on this!
I started using it this last week and then I noticed that when I upgraded the version to the v0.16.0, the old (v0.15.0) .redb database is raising an UpgradeRequired(111) error when running Database::create("something.redb"). When I go back to v0.15.0 works just fine.
I saw the error is because of this and that when version 1.0 comes along, it will be changed to 1.
The question is: is there any workaround to make the old database right now work with the new version, like changing manually the version of the DatabaseHeader to be, in this case, 112?

No. I increment the file format version number when the file format changes in a way that is backwards incompatible. You will need to recreate the database, or dump the old one and reimport it

Thanks for the info! Closing it 🫡


[BEAM-2564] add integration test for string functions

Add integration test for string functions and fixed a bug in BeamSqlTrimExpression.

R: @XuMingmin @takidau

Changes Unknown when pulling<PHONE_NUMBER>f98fa1bd4daa3080bfe1aaec31b78f on xumingming:BEAM-2564-integration-test-for-string-operators into ** on apache:DSL_SQL**.

Changes Unknown when pulling 53b417a4438ea8b4d1cfcd75068b04f066368bab on xumingming:BEAM-2564-integration-test-for-string-operators into ** on apache:DSL_SQL**.

@takidau  can you have a peak here? I suppose this will be the base for the series of built-in function tests in BEAM-2559

Yeah, this is the base for all the builtin functions test. Other PRs kinda
depend on it.
On Wed, 12 Jul 2017 at 2:49 AM XuMingmin<EMAIL_ADDRESS>wrote:

@takidau https://github.com/takidau can you have a peak here? I suppose
this will be the base for the series of built-in function tests in BEAM-2559
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/3532#issuecomment-314537447, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAXLVQn3ywzRl5AKz8d7pZdZlepOis8-ks5sM8OkgaJpZM4OSvLp
.

Updated the test for POSITION

Changes Unknown when pulling e9d4a147a654164a9efbfd8c2b47bb4bc46d4ebd on xumingming:BEAM-2564-integration-test-for-string-operators into ** on apache:DSL_SQL**.

Merged, feel free to close.


Feat version

修复 #128
添加功能 #126

Coverage decreased (-0.4%) to 82.73% when pulling 4faef1bd3d3691a7245fa8fd6a1a966e4a400f7d on feat-version into 1b1f169b96b1b94911726cfd5e94ad390bba626b on master.


Add a new part(s) or element(s) for customizing navigation buttons

Clear and concise description of the problem
As a developer using Swiper element I want to have a simpler way to override the icon and visualization of the included navigation buttons so that I do not have to create custom next and previous buttons.
Suggested solution
Introduce a new part or set of two parts to the parts supported for Swiper Element.
Single part for both:

navigation-svg

or
Two separate parts:

button-prev-svg
button-next-svg

Alternative
Pseudo selectors and attribute selectors on existing parts
Alternative approaches attempted do not suffice apparently due to how ::part works.
/* Attempt using attribute selector */
swiper-container::part(button-prev)[aria-disabled=true],
swiper-container::part(button-next)[aria-disabled=true] {
  display: none;
}

/* Attempt using attribute selector */
swiper-container::part(button-prev).swiper-button-disabled,
swiper-container::part(button-next).swiper-button-disabled {
  display: none;
}

Additional custom elements for navigation buttons
Another alternative solution could be to introduce separate child elements <swiper-button-prev> and <swiper-button-next>  which could be similar to how <swiper-slide> works in that the developer can provide their own implementations as children of the swiper-component element in order to provide the markup for the buttons to be used. While this may be the more extensible and elegant option I'm not sure of the limitations of web components myself and whether it is possible to have multiple custom components as children in the same what that swiper-slide currently works so my preferred proposal would be to expose the additional parts for overriding styles as a simpler initial approach.
Additional context
See discussion linked below. There are at least five examples that I've come across so far of developers running into the limits of what can be done with the built in Navigation CSS properties and the Navigation button parts and I think that improving this area of the component will help to reduce how much custom code is needed when adopting Swiper in many cases.
https://github.com/nolimits4web/swiper/discussions/4348
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

What is wrong with

adding custom navigation buttons
using inject style parameter

Even with these extra parts it won’t cover all necessary use cases

@nolimits4web, I wouldn't say that anything is wrong with these approaches but what I'm noticing is that in a particular application that I'm upgrading from an old version that used jQuery to now use the Swiper element is that almost every instance of swiper-container has custom navigation buttons which are different for each. In total so far I have four different sets of custom navigation buttons. One of these I was able to customize by hiding the stock svg and supply the icon for the button via an image referenced through CSS but the others require a custom set of navigation elements. It would be nice if there was a more consistent model for customizing the navigation buttons without having to resort to different strategies depending on the customization at hand especially when the customization is about the appearance of the button and and not necessarily where it is positioned.
The main issue that I have with the custom button approach is positioning. Once you have custom elements for navigation buttons then the developer is on the hook to position these elements as well as to style them completely when all they may wanted to do is to provide a different svg or other content or simply change some of the basic appearance of the button in a way that is not exposed through the limited set of custom style properties. Additionally, what I'm finding is that so far I've been able to implement all necessary customizations as CSS or HTML and have not needed to do anything beyond calling the register() function. In order to accomplish something simple such as hiding the nav buttons when disabled, I'm finding that I will either need to recreate the rules for layout and positioning of custom nav buttons or write additional javascript to inject styles when it would be nice if this seemingly common need could be accomplished declaratively in either HTML or CSS if the right extensibility points are provided.
After working further with Swiper and tweaking the project to behave exactly like the old jQuery version I'm wondering if a slot could be introduced for the navigation buttons as a way of providing an extensibility point? The concept of slots seems to work well for the the container-start and container-end slots as a way of providing a way of injecting elements into the layout of the component. Perhaps a navigation-button-prev and navigation-button-next slot could be introduced to inject custom content that would be rendered as the child of the buttons?


Fixes for outdated stuff (modules and samples)

@cabelitos @otaviobp please take a look on this

+1

+1


Split top toolbar for Pages section

Moves the toolbar parts to their respective panels
To be merged with https://github.com/silverstripe/silverstripe-cms/pull/1651
Fixes https://github.com/silverstripe/silverstripe-cms/issues/1619 for more details

Current coverage is 70.28% (diff: 100%)

Merging #6189 into master will not change coverage

@@             master      #6189   diff @@
==========================================
  Files           418        418
  Lines         36013      36013
  Methods        4726       4726
  Messages          0          0
  Branches          0          0
==========================================
  Hits          25310      25310
  Misses        10703      10703
  Partials          0          0

Powered by Codecov. Last update 3b1b6e0...a18b0d9


Fix 'overhandling' of arrow keypresses

Summary:
Over in Khan/perseus#1445 we noticed that our vendored (and slightly customized) version of useMovable (which we've renamed useDraggable) had a bug where we handled both keydown and keyup events, causing a sort of "double dispatch" of move events.
This is because (from our observations in modern browsers), a single keypress only triggers a keydown (but no keyup). If you hold the key down, you get multiple keydown events and a single keyup when the key is released.
This can be observed if you look closely on https://mafs.dev/guides/interaction/movable-points.
If you select the point and then hold down an arrow key until it start moving, let go and you'll notice it seems to "overshoot" the stopping point. This is because the final keyup is processed as a distinct event, causing one extra move. This is subtle but the fix makes the feel of holding and releasing the arrow keys for movement feel more natural.
It also fixes an issue where movement keypresses on a mobile device (iPhone) using a connected bluetooth keyboard cause double-movement.
Test plan:
yarn start
Navigate to the "Movable Points" page
Select the movable point with the keyboard
Hold down an arrow key until the point moves multiple times
Release the arrow key
Note that the point stops as you'd expect
(Previously, the point would "overshoot" by one movement)

Thanks Jeremy! Released as v0.20.1.


Fueltech Mix By Network API endpoint not working or unclear in documentation

Hiya
as per docco, I am having trouble with this API.
eg:
https://api.opennem.org.au/stats/fueltech_mix/NEM
results in:
{"detail":[{"loc":["query","network_code"],"msg":"field required","type":"value_error.missing"}]}
The other endpoints seem to be working ok
Paul

@nc9 when will we see this light up on the live API?

@paulculmsee noticed another issue with that endpoint that I need to patch - will be doing that in a moment and pushing it soon. Likely over the weekend.

I see the error message is now gone but now that endpoint appears to hang...
ie https://api.opennem.org.au/stats/fueltech_mix/NEM times out but other endpoints are ok

Thanks - tracking at
https://github.com/opennem/opennem/issues/57