Broken with openvpn 2.5 on Arch Linux

Upstream added support for netlink which can only be used with --iproute command disabled.
The --enable-iproute2 configure option has been removed in arch linux since version 2.5
https://github.com/archlinux/svntogit-packages/commit/e3e9b45fb62e267bea0fa7bc6077e2c162749e2f#diff-37538beb61ff63edebbf735dfcf39e5d732f49183d6beb097169d971875ca422
https://github.com/OpenVPN/openvpn/blob/master/Changes.rst

Netlink support
On Linux, if configured without --enable-iproute2, configuring IP addresses and adding/removing routes is now done via the netlink(3) kernel interface. This is much faster than calling ifconfig or route and also enables OpenVPN to run with less privileges.
If configured with --enable-iproute2, the ip command is used (as in 2.4). Support for ifconfig and route is gone.

I started a patchset to allow enabling both netlink and iproute support at the same time.
Let's see if the devs are interested
https://github.com/cladmi/openvpn/tree/pr/support_both_iproute_and_sitnl
And also a branch to address the issues I have using this branch on arch linux.
https://github.com/cladmi/openvpn-netns/tree/pr/work_for_new_arch_linux_version


ftm example: clear FTM_FAILURE_BIT too (IDFGH-6094)

Once some failure with FTM occurred, the FTM_FAILURE_BIT was set forever and caused xEventGroupWaitBits to "fall through" right away, dumping the previous session's report (if the success bit was set by the previous session), before the current session could even finish.
All bits need to be cleared (and "handled") if they were set. Instead of explicitly clearing the respective flag after the test, I chose having xEventGroupWaitBits clear the flags itself (xClearOnExit) atomically.

Thanks for the merge!


can't start asterisk when building image from the Dockerfile

I'm trying to build an image from the Dockerfile and it's working but when I start the container I got the following error:
STARTING ASTERISK
./start_asterisk: line 45: /usr/sbin/safe_asterisk: No such file or directory
Asterisk Started
** [freepbx] Can't seem to start Asterisk.. Exitting
[cont-init.d] 10-freepbx: exited 1.
[cont-init.d] 99-container-init: executing...
[cont-init.d] 99-container-init: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

I just tried building and it looks like their download location has changed. Likely due to Digium becoming aquired by Sangoma. I'll push a new version shortly when I find the new download link.

I was right, they altered their download repository a bit. I have modified the Dockerfile accordingly, feel free to git pull/fetch and try to rebuild.


Babel 7

Babel/babylon 7 (currently in beta) will be released soon. This plugin currently errors when compiling TypeScript files using babel 7:
ReferenceError: src\test.tests.ts: unknown node of type "TSAsExpression" with constructor "Node"
    at Generator.print (node_modules\babel-plugin-espower\node_modules\babel-generator\lib\printer.js:279:13)

Possibly it just needs it's babel dependencies updating and it might just work.

@cameron-martin  Thank you for reporting!
babel-plugin-espower codebase is almost ready for Babel7 changes and waiting for GA of Babel7, but yeah, I must keep in touch. I'm going to update deps and fix failures.

@twada Babel 7 is out! Can we expect a release anytime soon?


Deploying own cors server. How to remove rate-limit altogether / increase it?

Hi,
I am a system admin. I am trying to deploy our own CORS server using the repository code. But the rate limit is set to 200 requests per hour which is not feasible for the app. How can I either increase the rate limit or remove it altogether in the code.
Thank you for this code base by the way. It really made the work easy.

A self-hosted CORS Anywhere instance doesn't have any rate limit by default.


How to keep the cropped size on getCroppedCanvas

Context:
I have images 600x450 with a product in the middle and some text under product image
I'm trying to get a 500x500 image of the product without the text. So I try to crop just the product and the finished result I want it to be a 500x500 image with the cropped area exactly where it was, and the rest of the space filled with white color.
Right now when I call getCroppedCanvas i get a canvas with one side of 500px (the larger side of the cropped area) and the cropped image zoomed in to fill the canvas
my code is this:
new Cropper(this.$refs.croppie, {
	viewMode: 0,
	background: true,
	minContainerWidth: 500,
	minContainerHeight: 500,
	zoomable: false,
	movable: false
})

// calling method
this.$options.cropper.getCroppedCanvas({
	width: 500,
	height: 500,
	fillColor: 'red'
})

zecar, if i understand correctly your situation, do the following - crop with the sizes given from cropper (after zoom and crop), and then resize with you desidered, save.


Documentation

Updates the readme to look a lot prettier for my upcoming job interviews 👍

im going to make more changes leave this open or close

Draft mode exists


delete django requirement

Django 1.9 and 1.10 are not compatible. So when I use django 1.9 and reinstall requirements, I get conflicts. It would be better if django_cas_ng does not install its own version of django.

Django 1.9 and 1.10 are not compatible. So when I use django 1.9 and reinstall requirements, I get conflicts. It would be better if django_cas_ng does not install its own version of django.

I think you also need to modify setup.py for this PR, as described in this ticket:
https://github.com/mingchen/django-cas-ng/issues/95


Check if genshin impact is the active window to avoid clicking in other programs

LGTM! Thanks!

😅


drivers: entropy: Add SAM0 entropy driver

This adds a driver for the True Random Number Generator found in some
Atmel SAM0 SoCs.
The Code is based on the driver for the SAM TRNG, but uses different
register and clock definitions.
split off from #14685

The samd2x series does not contain a HWRNG.
But it's compatible with the one found on saml2x (not yet supported by zephyr)

The samd2x series does not contain a HWRNG.
But it's compatible with the one found on saml2x (not yet supported by zephyr)

So, you name this as: SAM0 entropy driver, so I expect it to be supported in ATMEL SoCs under soc/arm/sam0. If this is not the case, I guess we could change the name of the driver. Or, am I missing something?

SAMD5x, SAML2x, SAML1x and SAMD2x all share the same peripheral IP.
This is part of a larger PR that adds support for SAMD5x/SAME5x in soc/arm/sam0 (SAME5x is just SAMD5x, but with Ethernet - just like SAMR21 is SAMD21 with a radio)

tbh entropy_sam0.c and entropy_sam.c are extremely similar.
Maybe it's a better idea to add some #ifdefs to entropy_sam.c to avoid the code duplication.
It was justifiable when the driver was so simple, but now I feel like a bad idea.

I wonder: isn't the 0 in sam supposed to indicate cortex m0 (armv6)? Instead or cortex m3,4,7 (armv7)?
Is your samd5x an armv7? if so it shouldn't really fit under sam0. Or we need to seriously reorg the atmel Soc directories?

Yea historically samd2x was the first one of the 'new generation' of Atmel MCUs - based on Cortex-M0+.
The peripherals from this line were than reused in saml2x (Cortex-M0+), saml1x (Cortex-M23) and samd5x (Cortex-M4F).
The Atmel SAM MCUs are based on ARM7 cores iirc.
I don't think renaming would be worth the hassle.

Yes historically samd2x was the first one of the 'new generation' of Atmel MCUs - based on Cortex-M0+.
The peripherals from this line were than reused in saml2x (Cortex-M0+), saml1x (Cortex-M23) and samd5x (Cortex-M4F).
The Atmel SAM MCUs are based on ARM7 cores iirc.
I don't think renaming would be worth the hassle.

OK, so you say that the distinction between sam and sam0 is not the ARM architecture, but rather, the Atmel processor family (sam is the old and sam0 the more modern). Correct?

Yes. Actually the Atmel SAM family is also based around Coretx-M* cores but the peripherals are different. E.g. SAM have different peripherals for SPI, I2C and UART whereas SAM0 uses universal SERCOM peripherals for that.
When I added support for samd5x I just had to change how the peripherals are clocked, other than that I could use the existing sam0 drivers and things just forked for the most part, so I concluded it belongs to that family.

tbh entropy_sam0.c and entropy_sam.c are extremely similar.
Maybe it's a better idea to add some #ifdefs to entropy_sam.c to avoid the code duplication.
It was justifiable when the driver was so simple, but now that the driver has grown in complexity, it feel like a bad idea.

I think i agree. It seems very similar to the sam driver - it is not worth the duplicate file, imho

What's the latest on this PR? Based on the latest comments it sounds like a different approach will be taken. Would that be a separate PR or an update to this one?


[TC-72] BACKPORT Dockerfile build local

This should go in to 2.0 to better meet Apache build guidelines

merged to 2.0.x!


Translations

I'm only pointing this out as I noticed you're scraping translations from the docker image but this isn't necessary, you can retrieve the exact same locales over a websocket without having to download anything and it will be tailored to the user's instance with everything needed available and ready.
I have my own project in react which I'm starting to make multi lingal and stumbled across your project and noticed it was multi lingal so I wanted to know how you did it
I did a deep dive into the home assistant front-end and found this: https://github.com/home-assistant/frontend/blob/f2b43ddad81149b07d56cc0a6dce43a1c33f573d/src/data/translation.ts#L92 which you have acess to via connection.sendMessagePromise.
// here's what I'm doing in my project

const fetchTranslations = async (connection: Connection, config: HassConfig | null): Promise<Record<string, string>> => {
    const categories =["title", "services", "entity", "entity_component", 'device_automation', 'selector'];
    const responses = await Promise.all(
      categories.map(async (category) => {
        const response = await connection.sendMessagePromise<{ resources: Record<string, string> }>({
          type: "frontend/get_translations",
          category,
          language: config?.language,
        });
        return response.resources;
      }),
    )
    return responses.reduce<Record<string, string>>((acc, current) => ({ ...acc, ...current }), {} as Record<string, string>);
  }

Thought it might help you out by reducing some overhead :)
Only thing is you'd need to be authenticated already which is the only main difference for you

Scraping

Safer to scrape to keep a version that you can ensure hasn't changed unexpectedly
Fallback to the translation key name without specifying a default.

On the above point, I have a simple localize function which i use to provide a default if the key is unavailable localize('components.something.somethingelse', 'Fallback value')

Caching of selected translations. - websockets are not cached, you could build a cache mechanism in pretty easily though and only update the cache when your main language setting changes

WebSocket

websocket connections are NOT cached
websockets are designed to be quick by nature, I'm not sure how long your request (even cached) takes to retrieve & download the JSON data for your translations, just as an example, to download more or less the entire translations available over websockets is taking 0.3s currently
Direct link to homeassistant instance - A user will have different locales to another user because of integrations and settings, this means that locales could be different between users


Fix travis build: load PHPCS native bootstrap if available and test against PHP 7.2

The upstream PR to support PHPUnit 6.x has (finally) been merged and will be released in PHPCS 3.1.
Currently builds against PHPCS master are failing because of this as the final version of the PHPCS PHPUnit 6.x support PR includes a test bootstrap in PHPCS which is not being loaded as we use our own bootstrap.
Easily solved though, by loading the upstream bootstrap - if the file exists - from our own PHPCS 3 bootstrap file. That way our unit testing will be compatible with all supported PHPCS 3.x versions.
The beStrictAboutTestsThatDoNotTestAnything="false" addition to the phpunit.xml.dist file is needed to prevent PHPUnit from reporting there are no tests in our test files (as the tests are in the upstream test suite and our "tests" are basically only data providers).
The changes made in #873 should, for now, not be reverted as PHPCS < 3.1 is not compatible with PHPUnit 6.x and accounting for all the different situation with an if statement in the build script would get unnecessarily complicated. See the table below for more details.
Once PHPCS 2.x support is dropped and the minimum supported PHPCS version has gone up to 3.1, we should be able to revert the changes made in #873 without issues (except for HHVM).
Upstream references:

squizlabs/PHP_CodeSniffer#1383
squizlabs/PHP_CodeSniffer#1384

Additionally:

While looking at the travis builds to fix this I noticed that nightly has gone up to PHP 7.3.0-dev, so I've added PHP 7.2 to the build matrix.

Detail overview of Travis build info as of today (Sept 8 2017):

PHP
Travis PHPUnit
PHPCS 2.x
PHPCS < 3.1
PHPCS master
Notes

5.3
4.8.18
:white_check_mark:
:white_check_mark:
:white_check_mark:

5.4
4.8.35
:white_check_mark:
:white_check_mark:
:white_check_mark:

5.5
4.8.27
:white_check_mark:
:white_check_mark:
:white_check_mark:

5.6
5.5.0
:white_check_mark:
:white_check_mark:
:white_check_mark:

7.0
6.3.0 / 5.3.4
:x:
:x:
:white_check_mark:
If PHPUnit 5.3.4 :white_check_mark: for the previous two, but no telling what the logic is about which PHPUnit version is loaded

7.1
6.3.0
:x:
:x:
:white_check_mark:

7.2
6.3.0
:x:
:x:
:white_check_mark:

nightly
6.3.0
:x:
:x:
:white_check_mark:

HHVM
6.3.0
:x:
:x:
:x:
Hit and miss, sometimes it will work, sometimes it won't

If PHPUnit 5.3.4 ✅ for the previous two, but no telling what the logic is about which PHPUnit version is loaded

Installing a different PHPUnit version should be as simple as adding composer global require "phpunit/phpunit=5.3.4" to the install steps. If that is needed.

Installing a different PHPUnit version should be as simple as adding composer global require "phpunit/phpunit=5.3.4" to the install steps. If that is needed.

That's what we are basically doing for all PHP 7 versions + HHVM now by downloading the PHPUnit phar. (= what was added in PR #873 )
We can't unconditionally require it via Composer as different PHP versions need different PHPUnit versions.


Fixes ScrollDown that was not working.

Not clear what this actually fixes. Can you change the title of this Issue to actually say what it fixes?

You asking here https://github.com/migueldeicaza/gui.cs/pull/681#issuecomment-643625748 if I change something that would cause the end key to stop working in scrollview? I only put the link to that.

Fixes #689


Add illustration of inhomogeneity from absorption

@celinedurniak mentioned that for #22 it would be good to be able to visualize the effect of absorption on the intensity in the detector.


Yank the 1.0.0+1 version of pprof_jll in favor of 1.0.1+0.

If you wanted to remove dependency on Graphviz for pprof_jll 1.0.0, you have also to fix https://github.com/JuliaRegistries/General/blob/cf0f29836861b9d8c6862873cdff4ac5494500c7/P/pprof_jll/Deps.toml#L9-L10

Ah, someone mentioned I might have to do that; can you explain what needs to change there?

[1] should becomes [1.0.1] or something like that (I don't know the exact syntax).

Ok, looking at other Deps.toml examples, I think it should be ["1.0.1-1"]; I've pushed that now.


Add better WASM errors

Description
Add better error messages to the wasm bindings - the current implementation doesn't provide a stack trace.
Currently most functions return Result<T, JsValue> and this gives an error message but the context is lost. The Error type from the js-sys crate should be used instead: Result<T, js_sys::Error>
Resources

js-sys

Should already be a version include by wasm-bindgen (check Cargo.lock) but will need to be included to access the API.

To-do list

[ ] Replace Result<T, JsValue> functions with Result<T, js_sys::Error> wherever appropriate

Change checklist

[ ] The feature or fix is implemented in Rust and across all bindings whereas possible.
[ ] The feature or fix has sufficient testing coverage
[ ] All tests and examples build and run locally as expected
[ ] Every piece of code has been document according to the documentation guidelines.
[ ] If conceptual documentation (mdbook) and examples highlighting the feature exist, they are properly updated.
[ ] If the feature is not currently documented, a documentation task Issue has been opened to address this.

I believe this PR dependent on an improvement within wasm-bindgen that had an open PR. @PhilippGackstatter can you sync with @HenriqueNogara on that?

Unless I'm mistaken, this was basically fixed by #344. Stacktrace support is also there now, for example:
const { doc, key } = new Document(KeyType.Ed25519, "invalid-network");

gives:
Err > InvalidNetworkName: Invalid Network Name: network name cannot exceed 6 characters
    at module.exports.__wbg_new_80811dcb66d1b53f (~/git/identity.rs/bindings/wasm/node/identity_wasm.js:4009:15)
    at js_sys::Error::new::he73bdbceea59ac14 (<anonymous>:wasm-function[5359]:0x31937b)
    at identity_wasm::error::wasm_error::h2992dc7d9d8702bc (<anonymous>:wasm-function[1645]:0x277fef)
    at identity_wasm::did::wasm_document::WasmDocument::new::ha36dfed4e964f01f (<anonymous>:wasm-function[418]:0x17ac2e)
    at document_new (<anonymous>:wasm-function[3069]:0x2ee198)
    at new Document (~/git/identity.rs/bindings/wasm/node/identity_wasm.js:1358:24)
    at o (~/git/identity.rs/bindings/wasm/examples/dist/node.js:1:338)
    at ~/git/identity.rs/bindings/wasm/examples/dist/node.js:1:7333
    at ~/git/identity.rs/bindings/wasm/examples/dist/node.js:1:8320
    at Object.<anonymous> (~/git/identity.rs/bindings/wasm/examples/dist/node.js:1:8396)

In particular, the returned error is also an instanceof Error.
I think this issue can be closed.


Separate VM and OS images

Making the distinction between https://msdn.microsoft.com/en-us/library/azure/dn499771.aspx and https://msdn.microsoft.com/en-us/library/azure/dn499771.aspx

Thanks for the feedback. I updated the PR...

please rebase & solve conflicts

rebased

LGTM.

Notice: This change is breaking: refactored package names.


Fix: enable provider ec

Signed-off-by: Nicola115<EMAIL_ADDRESS>Description of your changes
enable provider ec
Fixes #
I have:

[ ] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

@Nicola115 I'm sorry, do you introduce about the ec?

@Nicola115 I'm sorry, do you introduce about the ec?

Yes, I've started a PR in catalog to introduce ec provider.(https://github.com/oam-dev/catalog/pull/287)
But I have to add a resource to further verify it.
Before using vela def init --provider ec command, I have to enable it in vela cli.


appimage-run changes the current working directory

Describe the bug
appimage-run chdirs into the extracted appimage. This is problematic to run appimage with cli arguments which are relative paths
To Reproduce
$ wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage
$ result/bin/appimage-run appimagetool-x86_64.AppImage --list appimagetool-x86_64.AppImage
Cannot open appimagetool-x86_64.AppImage: No such file or directory

Expected behavior
the command succeeds
Additional context
Will open a PR fixing this shortly
Notify maintainers
cc @bignaux @Mic92 @prusnak
Metadata
reproduced on 29f7ba6

See https://github.com/NixOS/nixpkgs/pull/108427

See https://github.com/NixOS/nixpkgs/pull/108427


Improve data propagation reports to capture multiple signatures per coverpoint

Summary
The data propagation reports track the impact of an instruction (which matches the coverpoint) on the signature. However, each coverpoint hit might have to cause multiple signature updates and current implementation assumes a single update(word/dword) only. The deliverables for this task are the updates to track multiple signature updates and detect signature overwrites. The logic will also have to account for any updates to the memory region by other memory instructions(like fsw,fsd) to detect successfull propagation of results to the memory. An additional parameter(possibly a cli option) will be necessary to indicate the expected number of signature updates per instance. The DPR logic will also need to be updated to detect overwrites in the signature region.
Basic Example
The following is the signature update macro for the F tests:
#define RVTEST_SIGUPD_F(_BR,_R,_F,...)\
  .if NARG(__VA_ARGS__) == 1;\
    FSREG _R,_ARG1(__VA_ARGS__,0)(_BR);\
    SREG _F,_ARG1(__VA_ARGS__,0)+REGWIDTH(_BR);\
    .set offset,_ARG1(__VA_OPT__(__VA_ARGS__,)0)+(REGWIDTH+REGWIDTH);\
  .endif;\
  .if NARG(__VA_ARGS__) == 0;\
    FSREG _R,offset(_BR);\
    SREG _F,offset+REGWIDTH(_BR);\
    .set offset,offset+(REGWIDTH+REGWIDTH);\
  .endif;

There are 2 updates to the signature region in this macro. The first by a FSREG i.e fsw/fsd instruction and
the second by the SREG i.e sw/sd instruction. Currently only the update by the SREG
instruction is detected. The logic will have to be updated to detect the FSREG update and throw an
error if it does not occur in the execution trace.

The mechanism can be to have a list of instructions or instruction sequences which are to be seen in the execution trace, in the event that a coverpoint is a hit. This would easily scale to account for different instructions where the updates are dependent on other aspects such as FLEN. Further the same can be extended to start detecting data propagation in cases of cross coverage too. By default one assumes that all the instructions in a cross coverage instruction sequence will update the signature. In the event that one of the instructions(say b) is consuming the result of a preceding instruction(say a), the signature update for the rd register can be ignored. The mechanism can be made more robust by also starting to detect the "test instance" which has led to the particular signature update and writing out an annotated signature file which can be easily correlated with the test to aid in debugging.


Last details in JOSS paper

L31: "perform poor" => perform poorly
L80: "will most likely survive" => is more likely to survive (the proba from the first rule is not > 0.5)
L136: repetition of "models"
Table 1: why 2 columns for XGBoost and SIRUS?
https://github.com/openjournals/joss-reviews/issues/5786

Thank you, Guillaume. Very well spotted. My supervisor and I both missed these.

Table 1: why 2 columns for XGBoost and SIRUS?


Add segfault handler to PSV test

We can now trap segmentation faults and print a stack trace as well as some user data before exiting.
In the case of the PSV test, the user data is the test case which caused the segfault.

This should solve https://github.com/ambiata/icicle/issues/287 more or less

oh wow, this is really impressive @jystic

great :point_right:


Handle ResourceQuotas for stage pods

[ ] Handle ResourceQuotas for unattached PV case MIG-204
[ ] Handle ResourceQuotas for stage pods MIG-202

@sseago the Jira doesn't have a lot of detail on this issue. Can you provide some context?

Basically if there's a ResourceQuota in a namespace being migrated (or a ClusterResourceQuota which matches the namespace being migrated) that specifies a quota limit for CPU or memory, then any pod that doesn't specify request and limit values for CPU and memory will fail to schedule, which means that the stage pods as we were creating them would fail to schedule. The starting point for this PR is to specify limit/request values of 100m for CPU and 128Mi for memory for all stage pods. However, that initial fix causes a different sort of failure if there are LimitRanges defined with minimum CPU or memory per-pod or per-container which are higher than these defaults, so I also needed to find the largest minimum CPU and memory values from the LimitRanges for each namespace and use the larger of this and the default value in creating stage pods.


Running Snowplow Mini on Mac M1

👋🏼
Just wanted to start an issue and conversation around how to run this locally on a Mac w/ M1 Apple Silicon processor.
I'm not sure of the limitations here, but would there be any interest in trying to develop a docker-compose version of this tool that works without Virtualbox? Are there requirements for Intel to run any of the components?
Thanks so much for providing Snowplow and the wonderful tooling around it, it's been a pleasure getting up to speed with it.

Obviously there is plenty of prior art around having Docker Compose run the majority of the required infrastructure, so am I correct to assume that the majority of the Ansible playbooks are configuring the VM and components e.g Elasticsearch?
Would it be worth me having a crack at doing this with start-up scripts for each container? Given the inevitability of Apple M1/M2 chips becoming more popular, and the apparently unlikelihood of VirtualBox supporting them, perhaps this is a good move?
https://github.com/snowplow/snowplow-mini/blob/master/provisioning/roles/docker/files/docker-compose.yml

Hi @bradleyess sorry we never got back to you on this ticket!  Moving away from VirtualBox would be a great move - they have "beta" support now released for M1/M2 but in my own testing its not working quite right yet.
There is a fair bit involved outside of just launching the compose file as different UI's and projects need to be compiled together as well - Docker may be an alternative option for the build out though however that is better supported.

In any case if you are still interested in this work would be happy to review this!


Overlay/update Inventory Instance via mod-copycat

Standing on the shoulders of giants...
Leverage mod-copycat's support for importing a local MARC record
instead of default behavior (fetch from external system via Z39.50).
Currently hardcoding the UUID for mod-copycat's reference data OCLC
profile to avoid another HTTP request.
This greatly simplifies the tail end of this app's operations.

No creation of SRS jobExecution or Snapshot ID
No direct interaction with SRS at all

Ensures the Inventory Instance created by mod-orders (source == FOLIO)
is overlayed/updated using the same MARC record used to generate the PO
Line, resulting in a MARC backed Inventory Instance (source == MARC)
with all the SRS built-in processing, such as:

store both raw and parsed MARC (resolves #51)
001/003/035 handling (resolves #60)
proper population & blocking of MARC controlled fields (resolves #63)

Hat tip to @starsplatter for the great idea & inspiration.

This is a pretty significant change to OrderImport.  i don't quite understand what mod-copycat is doing but if it's merged it could cause a conflict with PR #61 and other pending issues.

mod-copycat provides a simpler way to store the MARC record by off loading the work to existing functionality in FOLIO. It's a big change but it seems like the most sustainable direction. It will keep us from having to implement a few of the outstanding issues.

Sounds like a good way to go.  Since it involves removing a lot of the code in OrderImport.java I'll hold off on committing anything else to that class until after it's merged into main.

@fereira Good call. Thanks!


Implement shots

To execute a routine many times, it would be a nice  feature to have if it was built in somehow to run multiple "shots" of the circuit.

Are shots still useful if there is no noise?


Backport loadtxfilter and rescanblocks JSON-RPC command from dcrd

This PR allows btcrpcclient to take advantage of the new loadtxfilter and rescanblocks commands and relevanttxaccepted notification in btcd. It also creates two new notification listeners, OnFilteredBlockConnected and OnFilteredBlockDisconnected to allow clients to access the newly-available data in the new filteredblockconnected and filteredblockdisconnected notifications; these listeners should be used with loadtxfilter. The old OnBlockConnected and OnBlockDisconnected listeners have been left in for backward compatibility for the blockconnected and blockdisconnected notifications..

I've made the requested changes and squashed them into the commits.


[bonds] Add "Auto-stake for sKLIMA" checkbox to bond redemption view

Requirements

[ ] checkbox appears in the Redeem view for any bond
[ ] when checked, pass true as the second argument to the redeem() contract method

If you don't have any LP to spend @Atmosfearful can test for you :)

I think this is ready to go? And we can port it to the new design when that comes.
@ArchimedesCrypto are you able to give a brief summary of implementation steps so hopefully a dev can jump on this?

Any news here?

Nothing implemented yet on the frontend but we are in a position to move forward with this now that the redesigned website is live
If you're feeling inspired you're welcome to take a stab at this and open a PR!

Updated the issue description with implementation details


Bookmarks Item in navigation drawer remains clicked if no bookmarks p…

…resent
Fixes #1174
Changes: If bookmarks database is empty, it returns false so that item is not shown clicked and rest is unaffected. Therefore the usual dialog box appears for no bookmarks.

LGTM merging


Roborock S7 room cleaning

Hi,
my config is:
{
            "name": "xxx",
            "ip": "xxx",
            "token": "xxx",
            "waterBox": false,
            "silent": false,
            "pause": false,
            "pauseWord": "pause",
            "findMe": true,
            "findMeWord": "where are you",
            "dock": true,
            "cleanword": "cleaning",
            "roomTimeout": 1,
            "autoroom": false,
            "rooms": [
                {
                    "name": "Bedroom",
                    "id":<PHONE_NUMBER>19
                },
                {
                    "name": "Living room",
                    "id":<PHONE_NUMBER>74
                },
                {
                    "name": "Kitchen",
                    "id":<PHONE_NUMBER>82
                },
                {
                    "name": "Bathroom",
                    "id":<PHONE_NUMBER>40
                }
            ],
            "accessory": "XiaomiRoborockVacuum"
        }

I set up rooms using autoroom startup log message. However when I try to turn on some room switch, it throws exception:
ERR setCleaning | roborock.vacuum.a15 | Failed to set cleaning to true Error: data for segment is invalid
    at /usr/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:255:17
    at DeviceInfo._retryOnTimeout (/usr/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:282:24)
    at DeviceInfo.call (/usr/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:227:12)
    at XiaomiRoborockVacuum.setCleaning (/usr/lib/node_modules/homebridge-xiaomi-roborock-vacuum/index.js:903:11) {
  code: -10005
}

Any idea how to fix it? I tried roomTimeout: 1 but with no luck.
Thanks!

The room id is not such a long number. The room id is something like „12“. Can you check the room mapping with miio?

You can try to use the miio-api to read the room-array:
miiocli vacuum --ip [robo-ip] --token [robo-token] get_room_mapping
The output will show you the id's like that:
Running command get_room_mapping [[16, '396001027979'], [18, '396001027981'], [19, '396001027984'], [20, '396001027985'], [21, '396001027982'], [22, '396001027983'], [23, '396001027986'], [24, '396001028028'], [25, '396001027944']]

oh cool that works! Did I miss something in the Readme or should we update it to make it more clear? Thanks!

oh cool that works! Did I miss something in the Readme or should we update it to make it more clear? Thanks!

You can update it. I think it will help lot of users 😄

Hello, sorry for maybe a stupid question, but how to run command miiocli? I installed miio-api npm but the command you suggested cant be run, what should I install?

@LukasEm I think they are referring to https://python-miio.readthedocs.io/en/latest/


Service is not starting and config file is not being found on my installation

Hi!
I'm trying to get your application working inside a libvirt's VM, the OS I'm using is Alpine 3.18.2.
I have installed the package via apk but I can´t figure out what I'm doing wrong...
I'm getting this errors:
localhost:/# hetzner_ddns
jq: error (at <stdin>:0): Cannot iterate over null (null)

localhost:/# service hetzner enable
 * service: service `hetzner_ddns' does not exist
localhost:/etc#

localhost:/# hetzner_ddns start
unable to read configuration file

Any clue?
Thank you very much for sharing this @filiparag !!

I have installed the package via apk but I can´t figure out what I'm doing wrong...

Have you installed only hetzner_ddns-0.2.3.apk or also hetzner_ddns-doc-0.2.3.apk and hetzner_ddns-openrc-0.2.3.apk?
Error message  Cannot iterate over null (null) can also be a result of an invalid API key.

I have installed only:hetzner_ddns-0.2.3.apk or also hetzner_ddns-doc-0.2.3.apkShould I install hetzner_ddns-openrc-0.2.3.apk too?Thanks  On Sat, Jul 15, 2023 at 14:48, Filip Parag @.***> wrote:
I have installed the package via apk but I can´t figure out what I'm doing wrong...
Have you installed only hetzner_ddns-0.2.3.apk or also hetzner_ddns-doc-0.2.3.apk and hetzner_ddns-openrc-0.2.3.apk?
Error message  Cannot iterate over null (null) can also be a result of an invalid API key.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I have installed only:
hetzner_ddns-0.2.3.apk and hetzner_ddns-doc-0.2.3.apk
Should I install hetzner_ddns-openrc-0.2.3.apk too?
I checked the API key and it's the correct one I got from Hetzner yesterday.
Thanks

Docs package is not required, but if you are using this as an OpenRC service, you have to install hetzner_ddns-openrc-0.2.3.apk for it to register.
And regarding the jq message, can you provide the logfile /var/log/hetzner_ddns.log? Just be sure to replace sensitive with placeholder data.

Yes, I installed the Docs afterwards, in the first time I installed only the required package and I was getting the same problem.
This is what I have inside my /var/log/hetzner_ddns.log:
[2023-07-15 04:08:09] Started Hetzner DDNS daemons.log
[2023-07-15 16:29:12] Started Hetzner DDNS daemon
[2023-07-15 16:34:40] Started Hetzner DDNS daemon

A new line is added when I launch: localhost:/# hetzner_ddns
I'm fairly new with this, and as I see maybe I should use open-rc with Alpine..
An other things that catches my attention is the error message in reply when I try to start the service:
localhost:/# service hetzner_ddns enable
 * service: service `hetzner_ddns' does not exist

Here the `hetzner_ddns' name is printed with two different apostrophes at the beginning and at the end of the service name:  ` and  '
Thanks

Installing hetzner_ddns-openrc-0.2.3.apk  seems to be a step forward.
Now I can update the open-rc:
localhost:~# rc-update add hetzner_ddns
 * service hetzner_ddns added to runlevel default

But if I try to start the service I get this error:
localhost:~# service hetzner_ddns start
unable to read configuration file
 * ERROR: hetzner_ddns failed to start

the /var/log/hetzner_ddns.log is showing the same:
[2023-07-15 04:08:09] Started Hetzner DDNS daemons.log
[2023-07-15 16:29:12] Started Hetzner DDNS daemon
[2023-07-15 16:34:40] Started Hetzner DDNS daemon
[2023-07-15 17:03:18] Started Hetzner DDNS daemon

Here the `hetzner_ddns' name is printed with two different apostrophes at the beginning and at the end of the service name: ` and '

This is an OpenRC typo, as you can see it when trying to start arbitrarily-named services:
# service foobar start
 * service: service `foobar' does not exist

Your log file should look something like this:
[2023-07-15 17:00:00] Started Hetzner DDNS daemon
[2023-07-15 17:00:03] Zone for example.com: <zone id goes here>
[2023-07-15 17:00:46] IPv4 record for test.example.com: <record id goes here>
[2023-07-15 17:00:46] IPv6 record for test.example.com: (missing)
[2023-07-13 17:01:00] Update IPv4 for test.example.com: <IP_ADDRESS> => <IP_ADDRESS>

Did you add your domain and records to Hetzner DNS console?

Did you add your domain and records to Hetzner DNS console?

I have only this info in my Hetzner DNS console.
(The domain is pointing to the Hetzner Name Servers.)
$ORIGIN mydomain.tld.
$TTL 86400
; SOA Records
@		IN	SOA	hydrogen.ns.hetzner.com. dns.hetzner.com.<PHONE_NUMBER> 86400 10800 3600000 3600
; NS Records
@		IN	NS	helium.ns.hetzner.de.
@		IN	NS	hydrogen.ns.hetzner.com.
@		IN	NS	oxygen.ns.hetzner.com.

Should I manually add some other record for my mydomain.tld domain?

Should I manually add some other record for my mydomain.tld domain?

Yes, you should add A/AAAA entries for every record you plan for hetzner_ddns to modify.
If reading config file still doesn't work, it might be a permissions issue, so replace these lines of /usr/bin/hetzner_ddns and see if it works:
#!/bin/sh

self='hetzner_ddns'

- if ! [ -z "$1" ]; then
-     self="${self}.$1"
- fi

# Read variabels from configuration file
- if test -G "/etc/$self.conf"; then
+ if test -f "/etc/$self.conf"; then
    . "/etc/$self.conf"

With the /usr/bin/hetzner_ddns change the service is starting!
But the log looks the same.
In Hetzner DNS I have added only an A record with the subdomain sub.mydomain.tld I want to use, and the public IP I'm having at the moment assigned.
Maybe something more is needed?
Thank you again for your help.

Maybe something more is needed?

If you properly set the configuration file and did all the things you said, I am not sure why it is still not working. I tried

Maybe something more is needed?

If you properly set the configuration file and did all the things you said, I am not sure why it is still not working. I tried replicating your problem on AlpineLinux 3.18 but to no avail - it works as intended.
What I may suggest is for you to manually try running curl commands [1] and [2] to see if the API is properly accessible from your machine.

If you properly set the configuration file and did all the things you said, I am not sure why it is still not working. I tried replicating your problem on AlpineLinux 3.18 but to no avail - it works as intended.

Thank you for trying to replicate it. I'm using AlpineLinux 3.17 now, but the problem I get is the same I was getting with 3.18.

What I may suggest is for you to manually try running curl commands [1] and [2] to see if the API is properly accessible from your machine.

I tried to run the two curl commands from the VM and I correctly got the records result from Heitzner.
Maybe the is something I'm missing about the whole picture...

Something that might help.
(sensitive data has been replaced with dummy data)
When I launch this code:
curl "https://dns.hetzner.com/api/v1/records?zone_id=YTUJ78564cx345gd7UUUUT" -H "Auth-API-Token: UIROSJHYUHYUI4hduand988" 2>/dev/null | jq -r '.records[] | .name + " " + .type + " " + .id'

I get:
@ NS 11a4bcccca56t337fc972f249852083e
@ NS 61deb815148epod67854rc531d1128e7
@ NS 742a5fdser567a5d7dce2e51decb12cb
@ SOA dd16b99787878a42e2ce15eb58bd15f4
sub A c1884fh7h89765fu65e47819f22f8499

But when I launch the same command including the last awk command  | awk "\$1==\"$1\" && \$2==\"A\" {print \$3}" I get nothing:
curl "https://dns.hetzner.com/api/v1/records?zone_id=YTUJ78564cx345gd7UUUUT" -H "Auth-API-Token: UIROSJHYUHYUI4hduand988" 2>/dev/null | jq -r '.records[] | .name + " " + .type + " " + .id' | awk "\$1==\"$1\" && \$2==\"A\" {print \$3}"

I am still unable to reproduce your issue, but it might be a bug so I labeled it as such.

But when I launch the same command including the last awk command | awk "$1=="$1" && $2=="A" {print $3}":

When you are running this awk command, you have to substitute $1 with your SUBDOMAIN subdomain:
curl "https://dns.hetzner.com/api/v1/records?zone_id=$zone" \
                -H "Auth-API-Token: $key" 2>/dev/null | \
            jq -r '.records[] | .name + " " + .type + " " + .id' | \
            awk "\$1==\"SUBDOMAIN\" && \$2==\"A\" {print \$3}"

I ran this command with BusyBox 1.35.0 on AlpineLinux.

You are totally right @filiparag :sweat_smile:
I substituted the $1 with the actual subdomain and I'm correctly getting the id as result.
I'm running this as root, I don´t know if this could be a problem.
Thank you for your help, if I have any positive update I will post them here.

I will close the issue for now. If you have any updates, please post them here.


password strength is not validated

In the old implementation of the UserCreate class, there was no validation for password strength, allowing weak passwords.
This could result in security vulnerabilities due to users creating passwords that are easy to guess or brute-force.
Steps to Reproduce
Use the UserCreate class with a weak password (e.g., "password123" or "12345678").
Observe that no error is raised, and the weak password is accepted.
This lack of validation fails to enforce strong password policies, reducing system security.

Fix:
Introduced a custom validator in the UserCreate model to enforce password strength rules.
The validator ensures that passwords:
Are at least 8 characters long.
Contain at least one uppercase letter, one lowercase letter, one digit, and one special character.
Weak passwords now raise a ValueError with appropriate error messages.


Feature request: queries

So we can read our db instead of only writing to it :)

Up for contributing later


[BUG] Goto Definition handler

It seems like there is a bug in Goto Definition response.
Seems like it returns the result with a subtraction (with underflow) of 1 for all four fields.
For the example below:

symbol
expected
lsp response

first
0:0-0:5
MAX:MAX-NAX:4

x
3:0-3:1
  2:MAX-  2:0

y
5:4-5:5
  4:3  -  4:4

, where MAX stands for u32::MAX
The example:
first = { ANY }

// some comment
x = { first }

    y = { x } // there are 4 spaces before this symbol

I noticed this commit (b503d1b) where a subtraction of one was added for both enum invariant (Pos and Span). It seems to work well when I delete this subtraction for Span (but not for Pos, as this make the wrong reponse for diagnostics).

I think this is fixed locally on my machine, I'll check

I think the problem is that there is double - 1:

here, when casting pest's line_col (which is one-based) to pest's LineColLocation::Span
here, when casting pest's LineColLocation::Span to lsp's Range (which is zero-based)

But in any case, it's strange if only I have this issue


added job trigger with synchronization

Codecov Report

Merging #66 into master will decrease coverage by 2.00%.
The diff coverage is 1.12%.

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage   62.36%   60.35%   -2.01%
==========================================
  Files          30       30
  Lines        2176     2250      +74
  Branches      329      341      +12
==========================================
+ Hits         1357     1358       +1
- Misses        755      827      +72
- Partials       64       65       +1

Impacted Files
Coverage Δ

sched/adaptdl_sched/allocator.py
0.00% <0.00%> (ø)

sched/adaptdl_sched/policy/pollux.py
91.73% <7.14%> (-5.20%)
:arrow_down:

sched/adaptdl_sched/config.py
48.38% <0.00%> (-3.62%)
:arrow_down:

adaptdl/adaptdl/reducer.py
88.00% <0.00%> (-2.00%)
:arrow_down:

sched/adaptdl_sched/controller.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a6ff1d...ca82526. Read the comment docs.


PR Template

Added a PR template consisting of a checklist mentioning what part the PR affects. So that it's easier to add descriptions and understand what the changes are doing.

This is great. Thank you @RusherRG


MF-1091 - Use channels. as broker prefix

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>

This is an API breaking change for all applications that are using data directly from the NATS, and this should be documented for the new release.

@drasko docs updated: https://github.com/mainflux/docs/pull/22

Codecov Report

Merging #1098 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1098   +/-   ##
=======================================
  Coverage   77.10%   77.10%
=======================================
  Files          95       95
  Lines        6760     6760
=======================================
  Hits         5212     5212
  Misses       1211     1211
  Partials      337      337

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d78233...03099b4. Read the comment docs.


[opt] (inverted index) add some regression cases

Proposed changes
I cherry-picked the regression test cases for issues fixed in branch-2.0 and branch-2.1 to ensure the correctness of the master branch.
#41200 #41297 #40425 #40630

run buildall


OPUS view

Implements the view to control and monitor the connection to the interferometer. It follows the same layout than the original application, which does not mean it is the best option.
At the moment, there's no much in terms of backend relationship and - potentially - some of this information (the connection URLs) should be moved to the backend model - when there's a backend module. But it should work, for now.
I've modified the main window to accommodate this view.

Close #34

I'll add tests for those things that are not placeholders after a first review, @alexdewar

Tha's what happens when you edit things directly in GitHub...


fix: Ensure gradient stop color does not become negative

Summary
The bitwise operations done in extractGradient can cause the stop color to become negative. This results in gradients stops becoming white or black depending on the host platform.
I'm using this library on a Windows host (https://github.com/microsoft/react-native-windows) but I believe this may also fix #1348 on iOS. I unfortunately do not have a way to test this change on an iOS device.
Test Plan
What's required for testing (prerequisites)?
32-bit JS host
SVG with gradient where alpha value for color stops is 0xff
What are the steps to reproduce (after prerequisites)?
Show SVG
Compatibility

OS
Implemented

iOS
✅

Android
✅

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added documentation in README.md
[x] I updated the typed files (typescript)
[ ] I added a test for the API in the __tests__ folder

Closing due to no response provided. Feel free to comment to reopen.


Make "Set as wallpaper" work with XFCE

Please make "Set as wallpaper" work with XFCE.
Thank you for the AppImage :+1:

It should work now :smiley:

Thank you. 👍


Fix a missing-field-initializers error.

@htuch

Which way do we prefer... https://github.com/lyft/envoy/pull/1394

@jamessynge Can you add the -W to https://github.com/lyft/envoy/blob/master/bazel/envoy_build_system.bzl#L7, to catch this upstream in the future?


Option to disable compile-as-you-type

Requested by John Regehr.

Released: button is at the top right of the code editor pane.


Connect documents to events

ahammar commented on 16 Feb 2015: "Styret would like to be able to connect the documents related to samfundsmeetings to the event."

Not heard anything about a need for this for 3,5 years, so closing for now.


Missing license

I'd like to use this piece of code for io but it's missing the license information. Would you mind making this MIT licensed?

Sure! Have added a licence now  👍


fix simple_augment:transpose bug if shapeX!=shapeY

closing in favor of #150

closing in favor of #150


Getting errors running project without Reanimated installed

Description
After creating a new empty project and installing RN Skia I'm getting the following error:
error: Error: Unable to resolve module react-native-reanimated/package.json from<EMAIL_ADDRESS>react-native-reanimated/package.json could not be found within the project or in these directories:
  node_modules/@shopify/react-native-skia/node_modules
  node_modules
  28 |
  29 |   const reanimatedVersion = // eslint-disable-next-line import/extensions
> 30 |   require("react-native-reanimated/package.json").version; // The first compatible version is 3.0.0 but we need to exclude 3.0.0 pre-releases
     |            ^
  31 |   // as they have limited support for the used API.
  32 |

Version
0.1.178
Steps to reproduce

Create a new empty React Native project
Install RN Skia
Use a Canvas component in the app to load RN Skia

Observe: The app fails with the above error since we haven't installed reanimated.
Snack, code example, screenshot, or link to a repository
no example

It seems like the call to require is failing when Reanimated is not installed. @kmagiera, @wcandillon

There is a fix for it at
https://github.com/Shopify/react-native-skia/pull/new/fix-reanimated-version-check
On Wed, Mar 22, 2023 at 9:36 AM Christian Falch @.***>
wrote:

It seems like the call to require is failing when Reanimated is not
installed. @kmagiera https://github.com/kmagiera, @wcandillon
https://github.com/wcandillon
—
Reply to this email directly, view it on GitHub
https://github.com/Shopify/react-native-skia/issues/1438#issuecomment-1479106131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKXVSVJKD3XSWY4ZFMDJDW5K2YHANCNFSM6AAAAAAWDPSOPY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Awesome - should we just create a PR and merge/release? I've tested it and it works like a charm.

yes, can you do it?
On Wed, Mar 22, 2023 at 9:52 AM Christian Falch
@.***> wrote:

Awesome - should we just create a PR and merge/release? I've tested it and it works like a charm.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Update scribe, scribe-file to 3.13.0

About this PR
📦 Updates

com.outr:scribe
com.outr:scribe-file

from 3.5.5 to 3.13.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.outr" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.outr" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #559.


timeout isn't being used for WebCoverageService

Trying to change the timeout from the default of 30 seconds, but it doesn't seem to apply.
WebCoverageService(uri, version=WCS_VERSION, timeout=60)
this ends up calling WCSBase.__new__ which has the timeout value as 60 correctly, however when obj.__init__ is called (https://github.com/geopython/OWSLib/blob/master/owslib/coverage/wcsBase.py#L49) it doesn't pass the timeout value. In the debugger I see wcs100.py's __init__ have the default timeout of 30 seconds: https://github.com/geopython/OWSLib/blob/master/owslib/coverage/wcs100.py#L40
Is this intended behavior?

Fixed by #914


KAFKA-2146. adding partition did not find the correct startIndex

TopicCommand provide a tool to add partitions for existing topics. It try to find the startIndex from existing partitions. There's a minor flaw in this process, it try to use the first partition fetched from zookeeper as the start partition, and use the first replica id in this partition as the startIndex.
One thing, the first partition fetched from zookeeper is not necessary to be the start partition. As partition id begin from zero, we should use partition with id zero as the start partition.
The other, broker id does not necessary begin from 0, so the startIndex is not necessary to be the first replica id in the start partition.

LGTM, just one minor comment.

thanks for your suggestion

LGTM, and merged to trunk. Thanks @shangan for your patience!


[FEATURE REQ] Add documentation of new properties maxSizeInMegabytes and defaultMessageTimeToLive

Is your feature request related to a problem? Please describe.
In the feature request https://github.com/Azure/azure-sdk-for-java/issues/35435 new properties maxSizeInMegabytes and defaultMessageTimeToLive were added https://github.com/Azure/azure-sdk-for-java/pull/36996
However, those new properties are not present in the documentation: https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configuration-properties-azure-service-bus
Describe the solution you'd like
Include the properties and description in the documentation https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configuration-properties-azure-service-bus
Additional context
We use spring-cloud-stream in our codebase with multiple binders which is decided at runtime. If using azure-service-bus binders, topics get auto-created with default configurations. We wanted to control Message Expiry time per Topic.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ x] Description Added
[ x] Expected solution specified

The doc has been updated, see:

https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/spring-cloud-stream-support?tabs=SpringCloudAzure5x#consumer-properties-1
https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/spring-cloud-stream-support?tabs=SpringCloudAzure5x#producer-properties-1


Kernel with ebtables module

Hello, guys!
Please, enable in your centos kernel ebtables modules, I can't use ebtables now:
# ebtables -L
The kernel doesn't support the ebtables 'filter' table.

Missing it too... I need it urgently.

Can you upgrade your kernel please.

I was just about to write here, I have managed to boot the 4.8.3-std-1 kernel. It has the ebtables enabled :-)
Much Thanks!
By the way, is it possible to build and add my own kernel to the bootscript menu?

Not yet sorry 🙁

Any news? Here is even no contributor yet....

Hi @gunph1ld, did you upgrade your kernel ?

@QuentinPerez
How to do this? I don't want to compile/change/replace the kernel from the github repo. It should be a native way to use the kernel with modules from the scaleway control panel.

The documentation to upgrade your bootscript https://www.scaleway.com/docs/bootscript-and-how-to-use-it/

hmm, how can I select the bootscript while server creation via API ?

Can you take a look at the API documentation to create a server https://developer.scaleway.com/#servers-servers
you must add bootscript field with the UUID (string) of your bootscript in the POST request

Of course, before I asked my previous question I took a look on the API documentation, and there is no way to get the bootscript id. There is no the bootscript parameter in the body request even.

You can get the bootscripts with /bootscripts
$ curl -X GET -H "Content-Type: application/json" -H "X-Auth-Token:00000000-0000-4000-8000-000000000000" 'https://cp-par1.scaleway.com/bootscripts' | jq -r '.bootscripts[] | .title + " " + .id'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6658  100  6658    0     0  29183      0 --:--:-- --:--:-- --:--:-- 29330
armv7l 4.8.3 std #1 (latest) 84a15893-7fc2-41d3-b3eb-06a1160e5abc
x86_64 4.8.3 std #1 (latest) 4b9b80a5-f3df-4a43-b763-f9722745edb6
x86_64 4.8.3 docker #1 61648cb3-193d-41cf-bc20-9530fc3a659f
armv7l 4.8.10 docker #1 0bde97c6-a092-44df-af40-9073ae7ea263
armv7l 4.8.10 debug #1 245f7ac9-4cce-4cff-9d17-deebb3df0900
armv7l 4.8.10 fedora #1 b5dde89a-8fa5-45a0-a5e1-a7140ffccdb5
x86_64 4.8.10 apparmor #1 4c0dd0b9-72c9-4c5c-824d-5501832c57ec
x86_64 4.8.10 rancher #1 2dce185d-bca3-4b61-8555-73e0e4e72684
armv7l 4.8.10 apparmor #1 f661d362-f084-4b51-ad5d-b9a5065e4fdb
x86_64 4.8.10 fedora #1 0b5660c7-6255-4e2e-ac68-e253723e789e
armv7l 4.4.34 std #2 (stable) ffca267b-57b0-46f7-9e13-77e909787616
x86_64 4.4.34 std #1 (stable) 3c2d30a6-d036-46f5-b8f5-7ece1e27d319
x86_64 4.4.26 std #1 (stable) 20272fd0-f672-4d0e-b7cb-f9434f0f6f65
x86_64 4.8.10 debug #1 358c8782-3360-4ccf-a66d-b12f19305ab9
armv7l Rescue a5485ac0-7611-44fb-8704-b409fcf71e00
x86_64 rescue bf4cfb66-a2f8-4f77-9b1c-665cdfdf208e


shell env is not available when building a debian package using pkg_deb

Description of the problem / feature request:
When building a debian package with pkg_deb(), the shell env is not made available to the execution context. As such, the python implementation defaults to using /usr/bin/python instead of using one from the PATH. This is an issue because the system default python (located at /usr/bin/python) is super old and I had to install a newer version separately to run any newer python code. This newer path is on the PATH, but it isn't available for pkg_deb.
I noticed that this is likely due to the missing "use_default_shell_env = True" in the action "MakeDeb" in bazel/tools/build_defs/pkg/pkg.bzl. The same is present in "MakeRpm" in bazel/tools/build_defs/pkg/rpm.bzl and pkg_rpm works just fine.
I also tried using --action_env=PATH but that had no effect.
Feature requests: what underlying problem are you trying to solve with this feature?
Missing shell env in the context of "MakeDeb".
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Install python separately from the system installation. If the system installed version of Python is old, or isn't available, running a pkg_deb() rule will throw an error that looks like:

With no system installed Python:
(cd /home/root/.cache/bazel/_bazel_root/2b1aa6f981717219f7c66311e2227f1d/execroot/__main__ && \
  exec env - \
  bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/make_deb ...
 ...)

ERROR: BUILD.bazel:84:1: MakeDeb packages/x_1_amd64.deb failed (Exit 127)
/usr/bin/env: python: No such file or directory
Target //packages:x-deb failed to build

OR with an older Python (e.g. Python 2.6):
(cd /home/root/.cache/bazel/_bazel_root/2b1aa6f981717219f7c66311e2227f1d/execroot/__main__ && \
  exec env - \
  bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/make_deb ...
 ...)

ERROR: BUILD.bazel:84:1: MakeDeb packages/x_1_amd64.deb failed (Exit 1)
  File "/home/root/.cache/bazel/_bazel_root/2b1aa6f981717219f7c66311e2227f1d/sandbox/processwrapper-sandbox/1/execroot/__main__/bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/make_deb.runfiles/bazel_tools/tools/build_defs/pkg/make_deb.py", line 211
    checksums = {k: fn() for (k, fn) in hash_fns.items()}
                           ^
SyntaxError: invalid syntax
Target //packages:x-deb failed to build

What operating system are you running Bazel on?
CentOS 6.10
What's the output of bazel info release?
release 0.17.2- (@non-git)
If bazel info release returns "development version" or "(@non-git)", tell us how you built Bazel.
Compiled Bazel from source, following the instructions at https://docs.bazel.build/versions/master/install-compile-source.html
What's the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD ?
NA
Have you found anything relevant by searching the web?
Not much around this issue. Somewhat related issue at a general level seems to be: https://github.com/bazelbuild/bazel/issues/4137, which is not directly about "MakeDeb".
Any other information, logs, or outputs that you want to share?

See also #180

Closing as obsolete.

The python toolchain setup has changed tremendously since then.
Tools should not get python from PATH.  The python toolchain should auto-detect from PATH, but that is not the problem of the packaging rules.

I understand a lot has changed in the Python toolchain detection, and that it is not really the problem with pkg rules with Python path isn't being detected properly.
However, I'm curious about the reasons for using use_default_shell_env = True in other rules such as PackageTar, PackageZip in pkg.bzl but not MakeDeb? Why not also use it in MakeDeb if there is no specific reason?
FYI, with Bazel 4.0 and rules_pkg v0.4.0, I still see the same error when generating a deb package, but all works fine for an rpm or tar package.

To be totally honest about it, there was little design of the features when they were stuffed into Bazel 5 or 6 years ago. There is an inconsistent mix of behaviors that I am trying to normalize.
Or to put it a different way, I haven't the faintest idea why some set use_default_shell_env=True. There is no design doc to go from and I have little hope of finding a reason other than to read years of PR logs back from when the code was part of Blaze. Even if I tried to do that, I don't have big hope I would find any concrete reason.

In that case, would it make sense to add use_default_shell_env = True for MakeDeb? This makes the behavior of all rules within pkg.bzl consistent, and they would all work or fail the same way. At least this solves a particular problem I'm facing, without changing the behavior in other cases. This really is a one-line addition, and I'm happy to send a PR.

I would actually rather go the other way and remove it from pkg_tar.
On Tue, May 4, 2021 at 12:10 PM deepakm37 @.***> wrote:

In that case, would it make sense to add use_default_shell_env = True for
MakeDeb? This makes the behavior of all rules within pkg.bzl consistent,
and they would all work or fail the same way. At least this solves a
particular problem I'm facing, without changing the behavior in other
cases. This really is a one-line addition, and I'm happy to send a PR.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_pkg/issues/52#issuecomment-832062297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXHHHD4ZHWU3M6E2MUPJ3TTMAL5TANCNFSM4H74EWTQ
.


Reduce cognitive complexity

warning: the function has a cognitive complexity of (41/25)
  --> src/cli/sync.rs:67:8
   |
67 | pub fn sync(args: SyncArgs, bind_address: Option<String>) -> ! {
   |        ^^^^
   |
   = help: you could split it up into multiple smaller functions
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity
note: the lint level is defined here
  --> src/main.rs:1:9
   |
1  | #![warn(clippy::cognitive_complexity)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: the function has a cognitive complexity of (62/25)
   --> src/cli/sync.rs:201:30
    |
201 |             scope.spawn(move || {
    |                              ^^
    |
    = help: you could split it up into multiple smaller functions
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity

warning: `tsumugu` (bin "tsumugu") generated 2 warnings
    Finished dev [unoptimized + debuginfo] target(s) in 0.87s

After yesterday's commits:
warning: this function has too many lines (220/100)
   --> src/cli/sync.rs:196:1
    |
196 | / fn sync_threads(args: &SyncArgs, parser: &dyn crate::parser::Parser, options: &ThreadsOptions) {
197 | |     let exclusion_manager = ExclusionManager::new(&args.exclude, &args.include);
198 | |
199 | |     let client = build_client!(
...   |
450 | |     });
451 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
note: the lint level is defined here
   --> src/main.rs:2:9
    |
2   | #![warn(clippy::too_many_lines)]
    |         ^^^^^^^^^^^^^^^^^^^^^^

warning: the function has a cognitive complexity of (52/25)
   --> src/cli/sync.rs:237:25
    |
237 |             scope.spawn(|| {
    |                         ^^
    |
    = help: you could split it up into multiple smaller functions
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity
note: the lint level is defined here
   --> src/main.rs:1:9
    |
1   | #![warn(clippy::cognitive_complexity)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: `tsumugu` (bin "tsumugu") generated 2 warnings
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s

https://github.com/taoky/tsumugu/commit/5fd44191ed17bd780883579cbe8bd336b9950dfa


sum type / product type confusion

In working-with-data.md, I see "We start with a simple definition using the familiar product type (or) pattern."  Shouldn't it say "sum type" ?

Yes it should. Good spot---thank you! Fixed in 4a5a45c.


Display Web Vitals scores as part of the PWA validation

The PageSpeedInsights API now contains the Web Vitals information. We should display this information along with the current quality criteria.

Closed via #189


Problem with example from webpage

I managed to install hpat and tried to run https://intellabs.github.io/hpat/_build/html/source/supported.html#numpy-dot-parallelization
I got
Traceback (most recent call last):
  File "/Users/uweschmitt/miniconda3/envs/HPAT/lib/python3.6/site-packages/numba/targets/options.py", line 17, in from_dict
    ctor = self.OPTIONS[k]
KeyError: 'user_pipeline_funcs'

numba version is 0.37.
Any advice how to fix this ?

HPAT needs a specific version of Numba which is available in the channel. I think you are using the regular Numba.
You can try conda install numba -c ehsantn or install HPAT in a new Conda environment from scratch.

Thanks, will try this. Maybe you want to add this to the installation instructions on the website.

Sure, I'll see how we can mitigate this. This issue will be resolved since standard Numba will support HPAT sometime soon.


Set header X-XSRF-TOKEN from Cookie XSRF-TOKEN

Hey there.
According to convenience, many libraries and frameworks, like axios and angular, automaticly passing headers X-XSRF-TOKEN from existing cookie XSRF-TOKEN.
For example, if i have cookie XSRF-TOKEN=AAAAAAAAMLand making ajax request, library should set header X-XSRF-TOKEN=AAAAAAAAML
Is it possible to make it ?

Good afternoon. I had exactly the same problem. So far I've come up with the following approach:
Create utils:
`import {ofetch, FetchContext, FetchResponse} from 'ofetch';
import appConfig from '~/app.config';
const $api = ofetch.create({
baseURL: appConfig.API_URL,
credentials: 'include',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
},
onRequest({ options }): Promise<void> | void {
    let token: string|boolean = <string>useCookie('XSRF-TOKEN').value ?? false;  // Получаем токен из Cookie

    if (token) {
        options.headers = {
            ...options.headers,
            'X-XSRF-TOKEN': token
        }
    }
},

onRequestError(context: FetchContext & { error: Error }): Promise<void> | void {
    // console.log('onRequestError', context)
},

onResponse(context: FetchContext & { response: FetchResponse<ResponseType> }): Promise<void> | void {
    // console.log('onResponse', context)
},

onResponseError(context: FetchContext & { response: FetchResponse<ResponseType> }): Promise<void> | void {
    // console.log(context.response.status)
},

});
export default $api;`
In the right place, import the utility and call:
$api('/auth/login', {         method: 'POST',         body: state.form     });
Unfortunately, I haven't come up with a more convenient way, but I'm in the process of doing so. Hope it helps you.
I am sorry for my English. I am not a native English speaker.

Hi. Sorry for not responding for long time. I belive this is a nice feature but probably too much overhead for the ofetch core size. We might instead provide such functionality from higher order frameworks such as nuxt (via auth module)


statsd is not responding

localhost:8126 is not responding and  localhost:8125 is not found. Moreover no metrics are pushed from the running akka application.
image started with the 'make up' command.
out of that, grafana and grafite are working correclty.
tested on 940384782f30849b31ad38ad6f55be0ccd9dc97f

See: https://github.com/kamon-io/docker-grafana-graphite/issues/92


Build flowbite for svelte js

Hi.
React or vue are need a flowbite components and i think you can create component for svelte js and this is good idea .

I also want to know how to install Flowbite to SvelteKit.

We now have a Flowbite Svelte Library available.


Add support for EnableEditorConfigSupport flag

Similar to https://github.com/OmniSharp/omnisharp-vscode/pull/2836
Requires https://github.com/OmniSharp/omnisharp-roslyn/pull/1526
Added flag:
"omnisharp.enableEditorConfigSupport": true

which adds FormattingOptions:EnableEditorConfigSupport=true to omnisharp args

@Hoffs  Could you please also add  a changelog entry that links to this PR and also the PR in omnisharp-roslyn

@Hoffs Could you also add a "Contributed by" section as we usually call out community contributions explicitly on the change log.


What about the DB creation?

If we use Peewee without peewee_migrate, we would just execute this: db.create_tables([Model1, Model2])
So, if we use peewee_migrate, we should avoid this command and only use peewee_migrate, right?
Also, does Peewee_Migrate use Peewee (http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#migrate) for migrations, right? Any doc about how to create the migration files?
Thanks

So, if we use peewee_migrate, we should avoid this command and only use peewee_migrate, right?
basically yes... but it's not completely needed on the first create of the database, for future migrations you should stick to peewee-migrate.

Also, does Peewee_Migrate use Peewee [...] for migrations, right?
yes, peewee-migrate uses the migration features of peewee playhouse.

Any doc about how to create the migration files?
could you atleast read the readme.md? you can create a blank migration file with pw_migrate create.
the available functions are listed in the blank migration file and work pretty much like the migrate functions of playhouse.


Superhost-Tools won't load on chorme

Hi there,
I'm having an issue loading the site on Chrome. It looks to be working on Safari.
Just a friendly FYI
Kash

Are you running your own version of the code or are you talking about superhosttool.com?  I do all my testing in chrome and everything is working fine for me.  Maybe try clearing the cache in your browser or just restart your browser.

@Kashk I'm going to close this because it's working great for me in Chrome.  Let me know if you're still having this issue and I'll reopen it.


Minor changes to human input mode

Changes to human input mode script:

Added support for the action_list returned in the step output that restricts the available actions for the next step.
Condensed the "help" print statements so they take up less space in the terminal.

Brian, please let me know what you think.

Thomas.  I struggled with putting all the commands on one line versus separate lines.  It's a weird console design choice, because the one line it looks a little busy and multiple lines it is clean but also really long and hard to necessarily see what you might need.  I think the parens help though.

@brianpippin I agree that there are pros and cons to each.  Thanks for taking a look.


[WIP] Update book sale link to new /about page

Please add the following information to your pull request:
Please describe what your PR is fixing
Since studystore does not sell books anymore, I have made a /about page with the current book list. This should only be merged when Q4 has been added.
Concretely, which issues does your PR solve? (Please reference them by typing Fixes/References Inter-Actief/amelie#<issue_id>)
#729
Does your PR change how we process personal data, impact our privacy document, or modify (one of) our data export(s)?
no
Does your PR include any django migrations?
no
Does your PR include the proper translations (did you add translations for new/modified strings)?
no, my PR does not include translations
Does your PR include CSS changes (and did you run the compile_css.sh script in the scripts directory to regenerate the compiled.css file)?
no, my PR does not include CSS changes
Does your PR need external actions by for example the System Administrators? (Think about new pip packages, new (local) settings, a new regular task or cronjob, new management commands, etc.)?
no
Did you properly test your PR before submitting it?
yes

@Nierot Is this still WIP or ready to merge?

for now still WIP since we still need to figure out what information can be published under the study store book contract. hope to know more this week

for now still WIP since we still need to figure out what information can be published under the study store book contract. hope to know more this week

Any updates?

This can be merged!


Investigate: Time-Series Data

To offer better monitoring of BonsaiDb, we're going to want to offer a set of metrics. While we will want those metrics to be able to be reported externally, an average developer would enjoy being able to use BonsaiDb as their time-seried database for these metrics.
This ticket is a placeholder to investigate the capabilities of popular TSDBs and determine how best to approach storing that class of data within BonsaiDb.

I think there are two ways to store time-series data that make sense, and it depends on your use case. This ticket should be about providing a high-level interface using one or both of these interfaces:

Use the Key-Value store with sorted sets (#145)
Expose a reusable Collection that has a set of views to help query and filter data

The benefits of the key-value store is that it is incredibly lightweight. For high-traffic workloads that have a moderate number of metrics, the key-value approach will prevent a significant amount of bloat on disk from the data constantly being written.
On the other hand, the key-value store requires the sorted set to be in memory. This has a higher impact on memory usage. This might be able to be mitigated some by splitting the sets into "buckets" that get written individually.
At the time of writing this update I highly favor focusing on just the key-value store based implementation.


Support the "Space Supporter" role

Is your feature request related to a problem? Please describe.
Not having support for all roles in cf-mgmt makes adoption of those new roles difficult.
Describe the solution you'd like
TAS v2.12.0 (CAPI 1.111.0?) introduced the Space Supporter role, described as:

Troubleshoot and debug apps and service bindings in a space.

It would be nice for cf-mgmt to support this new role.
Describe alternatives you've considered
n/a
Additional context

https://docs.cloudfoundry.org/concepts/roles.html#roles

The Space Supporter role is only available for the Cloud Controller V3 API. If a user with this role tries to access a V2 endpoint, the API returns a 403.

https://docs.pivotal.io/application-service/2-12/concepts/roles.html#roles

Merged and released. Thanks @calebwashburn for this amazing contribution:
https://github.com/vmware-tanzu-labs/cf-mgmt/releases/tag/v1.0.52


DOCS-1644: Graphics update

Product Version(s):

Issue:
(https://tigera.atlassian.net/browse/DOCS-1644)
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

@BatoulSarvi Can you review this one?

@BatoulSarvi Can you review this one?

I checked it in terms of the content but I don't know it is on a correct branch or not!


Use vite, edit tabs design tokens, type rounded has no change

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Framework version: Vue 3.2.33
Browser: chrome101.0.4951.67
Reproduction Link: https://stackblitz.com/edit/vitejs-vite-jesoo8?file=src%2FApp.vue&terminal=dev

What is expected?
show correct tokens style
Steps to reproduce
1.edit vite.config.js css options
2.use tabs component, set rounded type
Extra info
please check other component

@lyanmm  The token name does not need to contain "@"

You can refer to https://arco.design/vue/en-US/docs/theme#Less-variable-substitution . Confirm whether the style file in less format is imported into the project.
unplugin-vue-components config: https://github.com/antfu/unplugin-vue-components/blob/main/src/core/resolvers/arco.ts#L148
This issue is temporarily closed, if you still have questions, you can create a new one


Implement ObjectMetadata::set_storage_class().

The field is writeable, though not via Update or Patch operations.
This fixes #2322.

This change is

Is this PR complete? It is my understanding that we should add a WellKnownParameter so that the following is possible:
client.RewriteObjectBlocking(source_bucket_name, source_object_name,
                                     destination_bucket_name,
                                     destination_object_name,
                                     gcs::ObjectStorageClass{"NEARLINE"});

@remyabel I do not think we need a WellKnownParameter, we should be able to say:
client.RewriteObjectBlocking(
    source_bucket_name, source_object_name, destination_bucket_name,
    destination_object_name, gcs::WithObjectMetadata(
        gcs::ObjectMetadata().set_storage_class("NEARLINE")));

There are a few attributes that can be set either via well-known parameters or via the metadata resource, we give users a choice because the underlying API does.

PTAL.


How to set up webhook for dynamic template emails

Issue Summary
We use sendgrid to email our customers and we store events against all the emails sent to get an insight of how our marketing and promotional emails are doing. But when we started using some of dynamic template emails we are unable to store events against them. Please let us know any api ref doc link or some useful resource which can help in setting up a webhook for events on dynamic template emails.
Thanks!
Technical details:

sendgrid-nodejs Version: master
Node.js Version: 6.x

Hi @guptaluv99 -- This doesn't sound right to me, I'd recommend reaching out to our Support team (support.sendgrid.com) to double-check this behavior.


Need a better Makefile and built-in dependencies

I don't want that MediaSoup depends on 3rd libraries globally installed (openssl, libsrtp, etc). Let's imitate the Node way (all the dependencies included in the source tree). And then use gyp or ninja or lalala.
/cc @saghul

Done in 6f64f4d5903c58b15dd776577e0862efbecb53b1


Chromium localstorage issue -Crosswalk mobile app

https://github.com/MobileChromeApps/mobile-chrome-apps
I'm using this to develop hybrid Mobile and desktop app built with chromium/crosswalk and cordova -
I noticed that webvr-manager uses localstorage unfortunatly this is disabled in chromium.
Could you add a check to see if this exists or if browser is chromium then swap to chromiums localstorage method?
Thanks :+1:

this.selectedKey = (localStorage)?localStorage.getItem(VIEWER_KEY):chrome.storage.local.get(VIEWER_KEY,function(obj) {return obj[VIEWER_KEY]}) || DEFAULT_VIEWER;

(localStorage)?localStorage.setItem(VIEWER_KEY, this.selectedKey):chrome.storage.local.set({WEBVR_CARDBOARD_VIEWER:this.selectedKey});

I've just added this for now for get/set to support chromium...

Strange that the try...catch block doesn't address this.

Moved to Crosswalk and off of CCA fixed issue.


how to display range selection

Hi, I was trying to accomplish the range selection like you did in you tutorial here: https://patchthecode.github.io/RangeSelection/
Can you tell me how did you set up the layout to accomplish that continuous row with rounded corners? Not the logic, just the layout part :D

yes, I understood that, but I was looking for any help in the design part :D

I do not understand what you mean. The design part is is totally up to you.
You cells can have a view called selectedView.
Then if the cellState.selectedPosition() == .middle, then you would make youre selectedView a square. And if your cellState.selectedPosition() == .left or .right you would make your selected view into a circle.
The designing is exactly as you would do for any other normal UICollectionView. Nothing is extra special about the calendar. The only thing the different is that the library provides a ready made calendar layout for you.
Which part of the design are you stuck on?

assuming issue has been resolved.
Closing issue until user responds.


Implement cache for 'workspaceHasDistinctFilename'

Fixes #472
Before this fix, workspace.findFiles('**/${filename}'); is invoked by setDiags callback registered at workspace.onDidChangeTextDocument(({ document }) => setDiags(document)) in src/extension/index.ts. Meaning a whole workspace search is triggered for each keystroke in vscode. For large workspaces, this results in loads of rg.exe spawning and global system slowdown as observed in #472.
This PR is a simple fix implementing a caching system on top of existing code. Cache invalidation callback is registered for onDidCreateFiles, onDidRenameFiles, and onDidDeleteFiles.
Before this change:

After this change:

This is awesome Bowen, thanks a lot for solving it. I'm loaded with other work but this one is having an impact so I was trying (and failing) to put some more time into it.


[vim] Implement insert mode  to insert the contents of a register

In vim, I can paste previously yanked text without leaving insert mode with <Ctrl-r>". Similarly for other registers like % (current file name), - (last small delete), and = (arbitrary vimscript expression entered at resulting prompt).
CodeMirror doesn't support this. Pressing <Ctrl-r> in insert mode tries to reload the page, even for Chrome apps opened as a standalone window.

Apologies for chiming in with inexperience, but, I'd love to see this issue resolved. It's just a bonus that I get to do it myself.
Any recommendations as to a good place to start ?
Cheers

The vim code is now being maintained at https://github.com/replit/codemirror-vim/ . If this is still important, check whether there is an issue open for it there.


Error open

This means your config file is corrupted. You can find it at https://github.com/Eugeny/terminus/wiki/Config-file

Thank you!

Uninstall the program, delete the temporary files and change the configuration file and the error persists


domReadOnly property gets ignored in version 4.4.6

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Code
https://codesandbox.io/s/monaco-editor-react-forked-vh8o8n?file=/src/App.js

monaco.editor.create(document.getElementById('container'), {
	value: "function hello() {\n\talert('Hello world!');\n}",
	language: 'javascript',
    domReadOnly: true // readOnly on the other hand works with the text balloon
});

Reproduction Steps
Add option domReadOnly and set as true, as described in the docs
Actual (Problematic) Behavior
The code is still editable after activating the option.
Expected Behavior
The code is read only (without popup).
Additional Context
Slightly confused as for why in react it's set in the options object, but not in the playground.

I believe first and foremost you need to set the readOnly option to true. domReadOnly additionally sets the readonly attribute to the underlying textarea, which you might want to do for various reasons, but this is not the main readOnly flag.

See answer from @stefandobre


Fonts!

Some useful resources for font changes:

Known good math fonts https://tex.stackexchange.com/questions/425098/which-opentype-math-fonts-are-available
Use mathspec for non-known good fonts
Allow the user to specify the math font, otherwise default to lmodern
Create a flexible system to use these fonts
(Possibly) ship or at least link to the fonts?

from trying the package it's clear that font = blah" doesn't work with MakieTeX.jl right now.
What's needed for the interaction to happen? I though as a naive implementation we just need to inject something like this into the tectonic input right?
\usepackage{fontspec}%
\newfontfeature{Microtype}{protrusion=default;expansion=default;}%
\setmainfont{texgyrepagella-regular.otf}[%
  Microtype,
  Ligatures = TeX,
  BoldFont = texgyrepagella-bold.otf,
  ItalicFont = texgyrepagella-italic.otf,
  BoldItalicFont = texgyrepagella-bolditalic.otf,
]%

Something like that, but we would need to figure out how to get all the other font types as well as a good math font.
Also, the way the text algorithm works now precludes MakieTeX from hooking into it as it previously did.  I'd have to refactor that algorithm to (preferably) accept scatters as well, which could then be used for both emojis and images.

ok rn I just want a minimal working thing so I can be compliant with publication requirement with Makie and the only requirement is to render something like
\sqrt{s} = 13 \text{TeV}

using Helvetica (or Nimbus).

I think for Makie's use case, i.e., text!(L"....", font = ), it's fine to replace everything (mainfont, mathfont ... ) in .tex file, my reasoning is that, users are most likely just adding annotation or axis labels, not trying to write an essay with MakieTeX, we don't need a lot of fancy automatic detection fall back select best blah blah, just do what user wants as a start

the way the text algorithm works now precludes MakieTeX from hooking into it as it previously did.

are you saying that right now there's no method in this repo that can receive font = blah from Makie?

yes, even the old test!(L"...") uses MathTeXEngine as it does in base Makie

requirement is to render something like

How would you do that without a Helvetica math font anyway?  Unless I misunderstand this would show up in CMU even in normal latex?

I don't know but matplotlib (which goes through texlive) can render it: https://gitlab.sauerburger.com/cern/fsauerbu/atlasify/-/blob/master/atlasify/init.py#L60
in any case, when using Helvetica, \sqrt{s} looks very different compared to default font CMU

yes, even the old test!(L"...") uses MathTeXEngine as it does in base Makie

wait, so is this pkg right now completely useless? what does it even do if it can't intercept text!() call?

provides an LTeX layoutable which can render arbitrary latex, that's about it

for now, if you know which math font you want you could provide a custom preamble to LTeX, like so:
tex_to_render = TeXDocument("this is a full and compilable latex document pasted into a string in Julia")
LTeX(fig[i, j]; tex = tex_to_render, ...)

and then you can load your custom fonts etc.

I'd be happy to help since I know a little bit around Makie code base by now

Am testing out the text refactor-ish thing now...will allow an extension to be added for Pango pretty easily as well.

ok here's a super hacky idea:

make a function here, something like textext!(fig, Lstring; fonts, color, size... <whatever we want>)
this function does a few things

implement the injection of fonts and color as we see fit (basically extend what this repo already does)
render the tex text to a image (not sure what we're doing pdf or png)
call Makie.scatter!(...) with marker = load(image_path.png)

since we load()ed the image, we have chance to pass the correct size tuple to scatter!() so the image marker has the correct aspect ratio

We mostly have that in TeXLabel, it just needs the font stuff implemented.  Backgroundcolor, color, etc is all implemented already.

If you have an idea of how we can:
(a) figure out how to get fonts into LaTeX generally, given a font family and a path to its file,
(b) figure out a good correlation between math fonts and user fonts (maybe a lookup table which someone has already implemented in the LaTeX world?)
then I think those would be the natural next steps.

Ok, that sounds good.  Yeah I guess we can assume that any font a user provides must be installed, I'm not the most familiar with fontconfig but it seems you can specify bold/italic/etc fonts as separate font files.  The way I see this, there are two cases:

Makie doesn't really support this, but if all fonts are in one file, then how would we support this?
If all fonts are in separate files, this becomes pretty straightforward.

I guess fonts[:regular] would map to mainfont, bold to boldfont, italic to italicfont, etc.  Most fonts describe their styles in a space-separated way - can we change that to either underscored or pascal cased (first letter of each word is capitalized)?
We could just assume a CMU math font until told otherwise by the user, that works.

julia> function main()
           tex = CachedTeX(MakieTeX.texdoc(raw"$\sqrt{s} = 13 \text{TeV}$"));
           f,a,_ = plot(1:3, 1:3)
           marker = MakieTeX.recordsurf2img(tex)
           scatter!(a, 1.5, 1.5; marker, markersize=100)
           CairoMakie.save("/tmp/jl_onm7cZSLiJ.png", f)
       end

I don't understand why it's rotated (I thought recordsurf2img already corrected for it) and also why the aspect ratio is wrong

ok, if we apply rotl90 and also use CachedTex.dims, we can get desired result


Improve the courses section

The text got overwritten on the picture. It would be good if it is kept below the picture. Can I make this contribution under Hacktoberfest '22?

 Just one thing disable that bg image when text and that img is colliding

okayy


Expose context to Command implementations

Tried to take out command construction so users can pass custom arguments. However, SurfaceCommands need a surface on construction, that's why I can't do it so early.
    this._createCommandRegistry = function(commands) {
        var commandRegistry = new Registry();
        _.each(commands, function(CommandClass) {
            var cmd = new CommandClass(this);
            commandRegistry.add(CommandClass.static.name, cmd);
        }, this);
        return commandRegistry;
    };

Options I see:

We could just pass controller.context as a second argument for Surface and Controller commands. Then users could just use this.context as they're used to from component dev
Another option would be leaving things as as and installing a property getter this.context returning this.getController().context.

Fixed via #438.


execute-job/wrong-comment-on-pr/3ce0ae26-4fff-45a7-af88-f66211cbafb9

PR for testing 0dfc7dc56114fc561d3a2db8e0787c4f16fc9527

/canonical/self-hosted-runners/run-workflows 0dfc7dc56114fc561d3a2db8e0787c4f16fc9527


中文语言包无法正常安装

Type: Bug
中文语言包安装成功之后，重启vscode, 发现语言包被移除了。

然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。

Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

感谢您创建此问题！
然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。
Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

The Chinese language pack cannot be installed properly.
The language pack was successfully installed in Chinese, but after restarting vscode, it was found that the language pack had been removed.

You can refer to #190051 and other relative issues. That's the same situation. Maybe you can try with VS Code Insiders.

Hey @roblourens, this issue might need further attention.
@qfcfm, you can help us out by closing this issue if the problem no longer exists, or adding more information.

no longer exists


better iot pricing hip

a better look at iot pricing with use case explaining why 10x is the right figure.

@BFGNeil how close are we to landing this one or the other one with @rawrmaan #1088


enable stack protector

as the title.

I believe this is causing  undefined symbol __stack_chk_fail' on mingw https://github.com/rdp/ffmpeg-windows-build-helpers/issues/380#issuecomment-473605252


Mask Secret Key during sign in

Currently we display it in full view. It'd be safer to mask the inputted value and provide a secondary option to display it for correction or typing purposes.

https://www.figma.com/file/aXnNi8MOmN3CDrVwaDXXuqX3/Authenticator?node-id=7829%3A90114

Same for "View Secret Key" (#/settings/secret-key)! Should be masked initially.

I'm closing out this issue since the need will be addressed in Connect 2.0 as part of #671 and https://github.com/blockstack/ux/issues/688.
The Secret Key value will be masked upon entry during authentication and protected by password entry upon subsequent view.


tornado.log.gen_log has no IntelliSense under Jedi

Environment data

VS Code version:  1.24.1
Extension version (available under the Extensions sidebar):  python2018.6.0
OS and version: ubuntu16.04
Python version (& distribution if applicable, e.g. Anaconda): python3.6.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv
Relevant/affected Python packages and their versions: tornado==4.5.2

Actual behavior
from tornado.log import gen_log
gen_log.

gen_log. not suggest any method, Is this the correct behavior, how can i enable gen_log autocomplete
Expected  behavior
I expect  gen_log to show a list of methods, like info, debug
Steps to reproduce:
from tornado.log import gen_log
gen_log.

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:1311  INFO no standard startup: not a new window
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3454 Overwriting grammar scope name to file mapping for scope text.log.
Old grammar file: /usr/share/code/resources/app/extensions/log/syntaxes/log.tmLanguage.json.
New grammar file: /home/cqh/.vscode/extensions/emilast.logfilehighlighter-2.4.0/syntaxes/log.tmLanguage
e.register @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3454
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3454 Overwriting grammar scope name to file mapping for scope source.python.
Old grammar file: /usr/share/code/resources/app/extensions/python/syntaxes/MagicPython.tmLanguage.json.
New grammar file: /home/cqh/.vscode/extensions/magicstack.magicpython-1.0.12/grammars/MagicPython.tmLanguage
e.register @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3454
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:268 [Extension Host] Telemetry enabled!

Hi @chen19901225, I was able to reproduce this problem using the default autocomplete engine (Jedi).  Using the new Python language server the problem goes away.  Feel free to switch over (it's a better experience regardless).  In the meantime, I've opened an issue upstream for you.  Feel free to interact there.
FWIW, using Jedi I only saw the issue for gen_log.  Autocomplete worked fine for tornado and tornado.log.  So I'm guessing that Jedi is having trouble with something about gen_log.  Note that gen_log is a "RootLogger" object.

Closing as this is an upstream issue which we don't have direct control or influence over.


Translation

Is your feature request related to a problem? Please describe.
We need to use label studio in other languages. This feature request is to track the ability to switch languages through the settings panel.
Describe the solution you'd like
I want to be able to switch between translations of the strings on the frontend. So labelers can work in their own language.
Describe alternatives you've considered
I am considering using Django's translation middleware.
Additional context
Add any other context or screenshots about the feature request here.

@mpomarole Thank you for your request. Our frontend is fully using React and you should consider to change React parts:

Editor - https://github.com/heartexlabs/label-studio-frontend
Data manager - https://github.com/heartexlabs/dm2
Other pages - https://github.com/heartexlabs/label-studio/tree/master/label_studio/frontend/src

This task looks not easy, and I would start with the things that your annotators fail to understand in the first place. Is it editor? Or data manager? Or anything else?