page-router-outlet, router-outlet, RadSideDrawer and ideal route setups

I'm not sure if this should be reported on nativescript-ui repo since it's somewhat related to v3 router but also to RadSideDrawer. Please view the 2 following videos when possible.
Current issue that would be great if some sort of workaround were available:
https://www.youtube.com/watch?v=ORmWJuRYMHE
Ideal route setup that I hope will be supported when the v3 routing support is complete here?
I would like to know if I can do the following and/or if a workaround exists for me to get it working (this would be preferred over the above so if this can be done, the above can be ignored):
https://www.youtube.com/watch?v=jtF7TjlxM8I

Have you tried adding a layout around page-router-outlet? I have a similar setup here. At the moment I am using router-outlet but I tried with page-router-outlet and the app starts with bindings activated and working.
Anyway if using page-router-outlet the drawer doesn't open anymore after changing page for the first time..

A layout around page-router-outlet makes no difference for me unfortunately. I'm using rc4 and beta.2 of v3 router.

http://stackoverflow.com/questions/38225358/angular2-router-cannot-find-primary-outlet-to-load-homecomponent  I feel like based on that, it would appear that if the sidedrawer is in process of rearranging the layouts at time the router is trying to find the router-outlet maybe thats the issue? idk.

Hey, @NathanWalker.
I had a similar issue with the "cannot find primary outlet to load XXX component" exception. Only it occurred when going back to a page that has <router-outlet> and the underlying reason is described here angular/angular#7757.
There is a hacky fix in the <page-router-outlet> code in this branch that you might try to see if it work in your scenario.

hmmm hacky version. I'm Trying to use the router-outlet in the side-drawer main content as well. Im pretty sure I have copied in that branch. I'll try it again.
JS: Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
JS: EXCEPTION: Error: Uncaught (in promise): Error: Cannot find primary outlet to load 'OverviewPage'
JS: STACKTRACE:
JS: Error: Uncaught (in promise): Error: Cannot find primary outlet to load 'OverviewPage'
JS:     at resolvePromise (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:496:32)
JS:     at /data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:473:14
JS:     at ZoneDelegate.invoke (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:281:29)
JS:     at Object.NgZoneImpl.inner.inner.fork.onInvoke (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/@angular/core/src/zone/ng_zone_impl.js:46:41)
JS:     at ZoneDelegate.invoke (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:280:35)
JS:     at Zone.run (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:174:44)
JS:     at /data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:529:58
JS:     at ZoneDelegate.invokeTask (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:314:38)
JS:     at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/@angular/core/src/zone/ng_zone_impl.js:37:41)
JS:     at ZoneDelegate.invokeTask (/data/data/org.nativescript.AcsDashboard/files/app/tns_modules/zone.js/dist/zone-node.js:313:43)
JS: Unhandled Promise rejection: Cannot find primary outlet to load 'OverviewPage' ; Zone: angular ; Task: Promise.then ; Value: Error: Cannot find primary outlet to load 'OverviewPage'

Main template:
<template drawerMain>
          <StackLayout>

              <Button text="OPEN DRAWER" (tap)=openDrawer()></Button>

              <StackLayout>
                    <router-outlet></router-outlet>
              </StackLayout>
          </StackLayout>
</template>

+1 Same problem here with Router-Outlet

Currently the RadSideDrawer and the [page-]router-outlet are not working well together. We are in the process of clearing that out.
Here is the mirror issue in the nativescript-ui samples repo: telerik/nativescript-ui-samples-angular#13

Hi @NathanWalker @lukabers @matt4446 ,
The mentioned by @vakrilov issue has already being fixed and is going through internal tested. If all is well you can expect the fix for it available in the next official version (1.2.0) of nativescript-telerik-ui/nativescript-telerik-ui-pro which is expected to be released by the end of next week (12 August 2016).

Thank you @VladimirAmiorkov I could not be more excited to see a fix for this land 👍

'router-outlet' seems to play nicely with the current versions.
"tns-core-modules": "next",
"nativescript-angular": "next",
...
"nativescript-telerik-ui-pro": "~1.3.1",

There are some changes to the content selectors as well:
https://github.com/telerik/nativescript-ui-samples-angular/blob/release/sdkAngular/app/sidedrawer/getting-started/getting-started.component.html

I have the similar setup mentioned by @NathanWalker at https://www.youtube.com/watch?v=jtF7TjlxM8I and now it works without any error 👍 .
But I am experiencing one issue of removal of child component in router-outlet on page navigation.
Please check below .gif describing the issue.

Here, in root component, I have a page-router-outlet. I have two pages: Main Page and  Details Page.  The Main Page contains router-outlet and we can navigate to child components using Side Drawer.
Now, the issue is when we navigate from Main Page to Detail Page, the child component in router-outlet is getting destroyed and due to that when we navigate back, it is getting recreated.
It will be great if anyone know any solution or work-around to cache the active child component in router-outlet when page navigation happens.

please can you share code with me

I got this working, thanks again for the fix.

@NathanWalker please can you share code i really need it .

@mostafa-raafat https://gist.github.com/NathanWalker/e8f4f7c42af04fc725764a9867936e3d

@NathanWalker  thanks for the sahre

@shripalsoni04
I tested the described issue on both android and iOS and was able to observe it only on iOS. It looks like there is an issue of how backwards navigation with router-outlet is handled on that platform or it might be present on android also but it may be hidden by the built-in navigation fede-in animation. Maybe you should report this in the nativescript-angular repo which handles the core implementation of the Angular 2 renderers.

@NathanWalker @VladimirAmiorkov Here is what I am trying and it still seems to be failing for me:
<ActionBar title="Home">

    <NavigationButton visibility="collapsed"></NavigationButton>

</ActionBar>

<RadSideDrawer [transition]="sideDrawerTransition" [showOverNavigation]=true>

    <StackLayout tkDrawerContent class="menu-layout">

        <StackLayout>

            <StackLayout orientation="horizontal" [nsRouterLink]="['./']" class="menu-item"
                    [nsRouterLinkActiveOptions]="{exact: true}" nsRouterLinkActive="active" horizontalAlignment="left">

            </StackLayout>

            <StackLayout orientation="horizontal" [nsRouterLink]="['properties']"  class="menu-item" nsRouterLinkActive="active" horizontalAlignment="left">

            </StackLayout>

            <StackLayout orientation="horizontal" [nsRouterLink]="['settings']" class="menu-item" nsRouterLinkActive="active" horizontalAlignment="left">

            </StackLayout>

        </StackLayout>

    </StackLayout>

    <ScrollView tkMainContent class="menu-content">
        <router-outlet></router-outlet>
    </ScrollView>

</RadSideDrawer>```

Its able to load the `reports` view when I land on `Home` by default but when I try to navigate I see a big blank screen, been stuck at this for a couple of days now, please help.

@shripalsoni04 @VladimirAmiorkov Was that master-detail-navigation-destroys-the-master issue ever fixed, or do you have a workaround? I have the same issue on both iOS and Android..

Has anyone using this setup had any luck on Android? I can get everything working great on iOS using the above examples, but not the case on Android. Once I navigate to a detail page I can never go back to the original home page, the app just dies. I'm left with with an empty outlet and a sidedrawer that doesn't work, with no errors thrown.

To update my last comment, the issue was enabling showOverNavigation. Works fine on iOS, doesn't work on Android. When you go back to the home route on Android it breaks everything. I just stripped that out.

@EddyVerbruggen navigation also breaks if you try to navigate from a detail screen (in a deeper level) to another menu-item based master page.... Furthermore, the navigation option you mentions seems to break too in some cases.

@cindy-m That's right, but I've never had the need to navigate 2 levels up at once. Would be nice to know how to do that of course.


[Bug] In CONTRIBUTING.md and CONTRIBUTING _CN.md, the hyperlink to "pull request" is wrong .

Search before asking

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

Version
Not about how to use,just a documentation issues
What's Wrong?
In CONTRIBUTING.md and CONTRIBUTING _CN.md, the hyperlink to "pull request" is wrong,and the page is not found.

https://github.com/apache/incubator-doris/blob/master/CONTRIBUTING.md
https://github.com/apache/incubator-doris/blob/master/pull-request.md

What You Expected?
add a pull request.md  and fix the hyperlink.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

You can fix in a PR, it isn't difficult.


Better integration of system fonts with TeX features

For example, consider this: \text{Б}_{\text{Б}}. It will be rendered ugly:

At the same time, a similar example B_B will look nice:

That's basically because the system fonts lack some important metrics of TeX fonts (which are currently defined by <Parameters> and <GeneralSettings> sections of DefaultTexFont.xml).
We should invent a way to somehow derive these parameters for system fonts (take some gold ratio-based numbers, I don't know, make something up) and parametrize our SystemFont with these numbers (while keeping a sensible set of defaults). After that, we could revert stuff like #240
(who knows, maybe even declare that our system fonts SupportsMetrics => true?) and make the system fonts work well in this context.
We should also take a look at the modern TeX engines: how do they deal with \text in math context? Do they work any better?

I correctly understood that this is a generalization of #140?

Yas.


Implemented collection size test

I implement some isar.collection.getSize() tests.
I had some issues detecting size changes, since the size reported is based on block size (4096). So I added a big buffer to the collection in order to be able to detect it.

That's really cool thank you!!!


Suggest new default color for Icon component

Can the default color for the Icon component be something other than white/black? Currently it is white, which can be a bit confusing to some. As most default apps are created with a white background and it may appear to some users that the Icon component is not working due to this.
What do you think?

Cheers for the PR. Makes sense!


Manually installed Xcode 10.1 not listed as installed.

I manually installed Xcode-10.1. I then opened, did the components update, and set it as the Command Lines Tools. mdfind Xcode-10.1 shows the location.
xcversion installed doesn't show 10.1 and xcversion version: "~> 10.1.0" in my Fastfile produces Cannot find an installed Xcode satisfying '~> 10.1.0'
✔ ~
05:34 $ xcversion installed
9.4.1	(/Applications/Xcode-9.4.1.app)
✔ ~
05:34 $ xcversion selected
Xcode 10.1
Build version 10B61
✔ ~
05:35 $ mdfind Xcode-10.1
/Applications/Xcode-10.1.app

How can I debug this issue?

So after another 1/2 day of opening and closing Xcode 10.1 with lots of builds, now it's showing on the list.
✔ ~
12:41 $ xcversion installed
9.4.1	(/Applications/Xcode-9.4.1.app)
10.1	(/Applications/Xcode-10.1.app)

I don't know how it fixed itself, but nothing to do now.


fuzz: reactivate xds_fuzz_test

Signed-off-by: Sam Flattery<EMAIL_ADDRESS>Commit Message: Reactive xds_fuzz_test
Additional Description:

passes locally with --config=clang-tsan --runs_per_test=1000 without tsan failures

Risk Level: low
Testing: passes
Docs Changes: N/A
Release Notes: N/A

/cc @asraa

Failing lua_filter_test but passes locally on --runs_per_test=100, might be flaky?

/retest

I tried lua_filter_test for 2000 runs locally and it passed :( I think there's something odd about arm64 builds, because the flake doesn't repro on my x64 machine.

Is this a known flake?

Not that I saw on issues -- although I do keep seeing arm64 flakes in other places as well, let's see if this fails on CI now and make an issue about it if it does. I believe it was ImportPublicKey that failed

Sure sounds good!

@asraa arm seems to be passing now


Add readthedocs links to README

I have added the link to the GH directly on the main page.
Don t know if you want to keep it in the README.

I have added the link to the GH directly on the main page.
Don t know if you want to keep it in the README.

Let @jdcourcol to decide

@jdcourcol  look at :

put it in both places. I see pandas and numpy doing the same.

thank you!


Search on Facebook Market place

Make a .md file for this search.
Make a SoP for it.
Add effective FB pages for advertising rental properties.

This is not proper RE to be given over to staff.
Do not post Issues that are so imcomplete.


PowerToys Paste as Plain Text to avoid removing the formatting in the clipboard's history

Description of the new feature / enhancement
The current behavior is this:
PowerToys Paste as Plain Text enables you to paste text stored in your clipboard, excluding any text-formatting, using a quick key shortcut. Any formatting included with the clipboard text will be replaced with an unformatted version of the text.
I love this feature, because I need it all the time.
By pasting as plain text, the clipboard's content itself is replaced by the plain text. Currently, there is no workaround, as copying twice will not record the second CTRL+C.
My suggestion is to add a new record in the clipboard's history with the Plain Text version, keeping the version with the formatting.
Another alternative would be to restore the formatted text in the clipboard as soon as the plain text is pasted.
(One could also hope that WIN+V (history) would contain a Paste as ... in the near future. I miss that and can't imagine why it's not in there yet.)
Scenario when this would be used?
One might want to paste the copied text multiple times, e.g. in a document, report, sheet, or as title and as text. Some of these occurrences might need  the plain text version, while others might need the formatted version. By using CTRL+V or CTRL+WIN+ALT+V each time, the user would have complete control and the best UX.
Supporting information
It's a pity that the original creators didn't realize how important Paste as Plain Text would become in the long run. They should have made this possible from the beginning. However, both paste as plain text and paste as formatted (text), have an important place in users' daily work.

/dup #24468


UART: Unable to TX more than 128 bytes - i need 256 (IDFGH-3145)

Environment

Module or chip used:  [ESP32-WROOM-32]
IDF version: v3.3.1-211-g6f9a7264c
Build System:         Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it): 1.22.0-80-g6c4433a
Operating System:   macOS
Using an IDE?: No
Power Supply:     Battery

Problem Description
Like in https://github.com/espressif/esp-idf/issues/4833
calling uart_tx_bytes or uart_tx_chars with more than 128 bytes results in sending only the first 128 bytes.
I see that 128 bytes is Hard-coded, I would like to change it to 256.

Hi, @pad52
Can you provide the code to produce this issue?I think your application uses these two APIs by mistake.
thanks !!

Hello,
This is my function:
void uart_write(char* data, uint8_t len){ 	int size; 	size = uart_tx_chars(uart_num, data, len); 	if(size  > 0){ 		ESP_LOGI(TAG, "UART Wrote %d bytes",size); 	}else{ 		ESP_LOGI(TAG, "UART Comm Failed"); 	}
and I call it like this
`#define OTA_DATASIZE 248
char outbuf[OTA_DATASIZE];
int len = OTA_DATASIZE;
[...]
uart_write(&outbuf[0], len);`
and I always get "UART Wrote 128 bytes"
I suspect it's something connected to this: https://www.esp32.com/viewtopic.php?t=8858
and this i read in file: components/soc/soc/esp32/include/soc/uart_reg.h
/* UART_TX_SIZE : R/W ;bitpos:[10:7] ;default: 4'h1 ; */ /*description: This register is used to configure the amount of mem allocated  to transmitter's fifo.the default byte num is 128.*/ #define UART_TX_SIZE  0x0000000F #define UART_TX_SIZE_M  ((UART_TX_SIZE_V)<<(UART_TX_SIZE_S)) #define UART_TX_SIZE_V  0xF #define UART_TX_SIZE_S  7

It's true if you use a function that writes directly to the uart fifo then you can't write more than the size of the fifo.  That's why the uart driver and its functions like uart_write_bytes exist, to overcome those hardware limitations.

You are right, calling uart_tx_bytes instead uart_tx_chars fixed the problem.
Thank you.

@pad52
Hi, can you show me any part of code in which you're writing (via uart_write_byte OR via uart_tx_bytes) to send data of more than 255 bytes over UART.
Basically I also wanted to send numerical data over UART having value more than 300. (Like 300 Watts, 400 Volts etc)

Hello,
Look if you need to send an integer of "300" you need less than 16 byte..
In any case use uart_write_bytes(); and follow the docs here https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html


Add addParameterless option, fix spelling

Add addParameterless  option - implement https://github.com/k94ll13nn3/AutoConstructor/issues/119
:this() call calling generated parameterless constructor is never emmited because:

that wouldn't achieve anything as there is no code in this constructor
generated constructor is marked as obsolete to avoid direct, so code would not compile

Anything to inject?
addParameterless
Generation result

No
False
Analyzer error

No
True
Only empty ctor

Yes
False
Ctor with arguments

Yes
True
Two ctors:  empty and with arguments

changelog:
## [5.4.0] - 2024-05-21

### Added

- Add `addParameterless` option on `AutoConstructor` attribute to generate parameterless constructor for serialization use.
- Add analyzer for base type parameterless constructor existence  when using `addParameterless` option

Thanks, I will take a look this week.
Just so you know, the CHANGELOG is automatically generated from the Github releases so your changes will be overridden.

Added these two options as discussed.

I agree that passing around a boolean flag is not very elegant - here is an alternative implementation by having two different methods https://github.com/DomasM/AutoConstructor/commit/01f475580a6492bff7490e387284a5952fa9cd62
if this is preferred, I can amend that commit to this branch

It's ok, you can leave it like it is. I will try merge it and release it before the end of the week.

noticed that addDefaultBaseAttribute option is not handled correctly, added test and moved to separate generation methods


"Edit listing" doesn't open the L edit page

After logging into the account and surfing to "My Listings" page, the button "Edit Listing" opens a blank page instead of the "edit listing" page, after clicking on it.
Same happens when previewing the L and you click on the top right corner on "Edit Listing".

Opened a new branch 13-edit-listing-error. The issue is

This is fixed


Updated version for library version 2.0?

I'd be curious to get this example up and running, but it seems that the 1.0 version of ST's VL53L1X library is no longer available.
I don't suppose you know where I may find that old library?
Or perhaps you've ported this to work with the 2.0 version?
Thanks,
Brandon

Hi Brandon,
Thanks for notifying this!  I've confirmed that 2.0.1 version is ok with a few changes:
Create a symbolic link
  ln -s your_STM32CubeExpansion_53L1A1_V2.0.1_dir main/symlink-STM32CubeExpansion_53L1A1_V2.0.1

instead of main/symlink-STM32CubeExpansion_53L1A1_V1.0.0 and adjust
main/component.mk like as
diff --git a/main/component.mk b/main/component.mk
index e12694c..f58adb8 100644
--- a/main/component.mk
+++ b/main/component.mk
@@ -1,4 +1,4 @@
-STM32CUBEEXPANSION_53L1A1 = symlink-STM32CubeExpansion_53L1A1_V1.0.0
+STM32CUBEEXPANSION_53L1A1 = symlink-STM32CubeExpansion_53L1A1_V2.0.1

 COMPONENT_SRCDIRS := . \
 	$(STM32CUBEEXPANSION_53L1A1)/Drivers/BSP/Components/vl53l1x
@@ -6,6 +6,6 @@ COMPONENT_SRCDIRS := . \
 COMPONENT_ADD_INCLUDEDIRS = \
 	$(STM32CUBEEXPANSION_53L1A1)/Drivers/BSP/X-NUCLEO-53L1A1 \
 	$(STM32CUBEEXPANSION_53L1A1)/Drivers/BSP/Components/vl53l1x \
-	$(STM32CUBEEXPANSION_53L1A1)/Projects/Multi/Examples/VL53L1X/SimpleRangingExamples/Inc
+	$(STM32CUBEEXPANSION_53L1A1)/Projects/STM32L476RG-Nucleo/Examples/53L1A1/SimpleRanging/Inc

 CFLAGS += -Wno-unused-variable -Wno-maybe-uninitialized -DI2C_HandleTypeDef=int

Hope this helps.
Best Regards,
kaz

I've just pushed updates to the master and sliding branches so to adjust the v2.0 library. The original branches for the v1.0 library are renamed stlib-v1.0.0 and sliding-v1.0.0.
Thanks again, Brandon.

Thanks for the quick response Kaz! Much appreciated!
On Mon, Feb 11, 2019 at 4:22 PM Kazumoto Kojima<EMAIL_ADDRESS>wrote:

I've just pushed updates to the master and sliding branches so to adjust
the v2.0 library. The original branches for the v1.0 library are renamed
stlib-v1.0.0 and sliding-v1.0.0.
Thanks again, Brandon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kazkojima/esp32-vl53l1x-test/issues/3#issuecomment-462552184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADlJ1F3P6EPfEwAYuuqIDgbv0UA4Raj1ks5vMgk2gaJpZM4azWzw
.


demo跑不起来，提示有错误

ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

请下载最新版，thanks


Add styles for nested components demos

This is meant to highlight the fact that those components are actually nested, without the need to look at the DevTools, or code snippet containing <slot>.
Also updated the demo description for nested components.

This change is

Reviewed 6 of 6 files at r1.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


run_peddy fails

Hi there,
this is the yaml file I'm using:
https://gist.github.com/leiendeckerlu/b4e4fd4db05d2aac1a0bff6e835e71b7
and this is the respective error log:
https://gist.github.com/leiendeckerlu/a45f1e491b710965034a4489a44954a8
Not sure if its associated with one of the previously reported peddy errors.
Any idea what's going on here?
Thank you,
Lukas

Lukas;
Apologies, this was error in 1.1.1 that is fixed in the latest development version. If you update with:
bcbio_nextgen.py upgrade -u development

and re-run in place it should pick up where it left off and correctly skip peddy if no suitable somatic callers are found for extracting germline variants. Sorry again about the problem and hope this gets your analysis finished.


Interactive Window (IW) shows scrollbar after closing Settings editor

Testing #217901
On Windows:

Click on the IW gear icon. The Settings editor appears
Close the Settings editor
:bug: A scrollbar shows up on the IW input box

settings gear is gone so hopefully this is resolved. (I don't think I ever saw it)


Null propagation for view model binding

What problem does this feature solve?
Decreases amount of bloat code like null checking for nested properties.
For example I need to bind to value currentPage.name, but it's ok for currentPage to be null.
Now I need to introduce additional prop in my view model to return currentPage ? currentPage.name : null or write the same code in view.
What does the proposed API look like?
It could look like null propagation in C#6, ie: {{ currentPage?.name }}.
All null checks would be done behind the scenes in compiled render function.

It's not likely for Vue to add aditional non-javascript syntax and optional chaining is just in stage 1 so I don't think it can be considered yet.

This is currenly a stage 1 proposal for ecmascript, actually:
https://github.com/tc39/proposal-optional-chaining/blob/master/README.md
Similar functionality has been requested in the past, and out stance on this is this:

we will not extend temp late expressions witch non JavaScript syntax
in case of a helper method that achieves this, there are already a multitude of options available like lodash's get.
we will not add functionality to core that has been solved better by other libs already.

So my advice would be to use lodash's get or sum thing similar and add it as a prototype helper or a filter to your instances.


Create a check to test whether --repositories is needed

What this PR does / why we need it:
Adding a check to remove the --repositories tag when adding a docker-registry when configuring the providers. We need it because when the user does not specify the -repositories in the values file under dockerRegistry: then the install script will check if its provided and omit it if it isnt.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #7329
Special notes for your reviewer:

/ok-to-test

/lgtm


Custom fields do not show up in data map table

Expected behavior:

User creates a new custom field and places it in on the system:information, ex "geography".
One of their users fills this in on System A with "EU"
Would expect to see a column in the data map table called "geography" and the value for System A would be set to "EU"
If they set a custom field on a data declaration system:data use, the expectation is the same behavior since we group by data use and have a row for each:

We should fix at the same time as #3832

@rsilvery i'm trying to repro this problem locally or on the plus-rc environment and things seem to be working as expected. i'm noticing in your last screenshot of the datamap table you don't seem to have that custom field column even showing in the table - you need to click the gear icon and hit the radio button on the column name to make the column visible in the table UI. perhaps that's just a step you missed here in testing?
if that's not the case and you did actually try showing the column and the value didn't appear (or if the column wasn't available to be shown at all), then could you please re-confirm you're still seeing the issue and post updated screenshots, etc.? because the described steps work just fine for me, assuming i click on the gear icon and enable the column corresponding to the custom field.


chalk using bug fixed close #12

[x] I've read roadmap file.
[x] I've runned all tests and thei are passed.
[x] While writing i've keep the xo code style.

Features of this pull

chalk using bug fixed close #12

Thanks! Actually I don't have the computer so I can't fix it!


Regression in the XProc harness for Saxon

The XProc harness for Saxon (and apparently the others as well) seem to have suffered a regression.  They are requiring xspec-home to be set regardless of the way they are used, even though the reference to the sources where all carefully checked (resolving using xspec-home if set, or using the global name URI if not).
It seems now they are requiring xspec-home anyway.  Not sure what happened.

Hi Florent,
we noticed that the XProc harness was broken as reported in  #74 and #72. We fixed this in #76 by reverting the XProc to the version currently integrated with Oxygen and added a test to run the XProc harness with Saxon in order to catch any future regression bugs (see xspec.bats). This implementation requires xspec-home to be set as it was in v0.3.0 integrated in Oxygen.
These changes were required in order to have a working and usable XProc harness for Saxon. There is now documentation in the wiki as well.
I hope this clarifies the issue.
Sandro

Well, I am not sure.  #74 looks like xspec-home was not defined in that case.  It looked like a matter of setting it somehow, rather than reverting months of work?
I am still not sure about why it has been reverted to an older version rather than fixing the bug itself.

As discussed in #53, the master branch requires more stability than the past trunk. For a couple of particular cases, the long standing v0.3 final seemed more stable than the intermediate v0.4 RC.
That's why I agreed to reverting, with this comment: "until someone gets interested seriously in improving the multiple processors support".
I think you're the very person. Can you please help resume improving XProc harnesses?

Not sure what part of #53 you refer to.  Still not seeing the rationale here.  I had a bit of time, but I have to admit this complicates everything.

I have put back the newest version of the harnesses in https://github.com/xspec/xspec/tree/fix/revert-reverting.  I fixed the bug with the input port not bound on the error step, and the xspec-home parameter not used in the format step.
Can you validate it works for you, and solve the problem you had initially (from your ticket description, it should), so I can merge it to master?

All I can say at this point is that the master branch's status badge is now red...

Sorry for my delayed reply, I was busy at work today and didn't want to reply with a quick comment as this needs some clarification. I'm replying here to #99 and #100 as well. This is going to be a long reply so please bear with me.
As @AirQuick stated in https://github.com/xspec/xspec/issues/99#issuecomment-284736326, the rationale for reverting the XProc harness to v0.3.0 and removing attributes assert and context was to have:

working features that did not break other parts of the codebase
code that is tested and documented

The XProc harness was not working as it was implemented in v0.4.0-RC as reported in #74 and #72. The introduction of attributes assert and context in v0.4.0-RC raised issues #26, #30, #31, #32, and #33. We could not find these attributes in the schema xspec.rnc nor documentation. This does not mean that these features are not useful, for example I can definitely see the need for an assert statement and leaner XProc harness suites. However, the people who were involved in these issues (this includes me) were not able to find a quick fix or to figure out certain parts of the code base.
As @AirQuick already said, this is where we need your help Florent. You have a great deal of experience with XSpec and other XML technologies and were behind some of the design decisions that increased the adoption of XSpec. We would all love to get your pull requests and get an experienced developer like you for XSpec. There are however some basic rules we all need to follow in order to make XSpec thrive:

Decisions on the code base are taken by consensus as often as possible and by majority in worst case scenarios. I want to make clear that XSpec is not my personal pet project. I may not contribute to this project in few years' time and I want to see it growing even when key maintainers leave. I personally believe this is the very nature of open source projects.
On a technical level, this means that every change in the code base is done via pull requests and the pull request is reviewed and approved by someone else before squash merging it into master. We informally followed this model until now and this has greatly increased the overall code quality (this was certainly the case for pull requests initiated by me and reviewed by @AirQuick). This rule applied to everybody and especially to users like me, @AirQuick, @fgeorges, and @tgraham-antenna who have write permissions on the XSpec repository.
New features and bugs fixes should be provided with unit tests before merging them into master. Tests can also be written by other people or, if a test cannot be provided, there should be a very good reason (e.g. we had tests that required Saxon EE which we cannot currently run on Travis and AppVeyor). Tests prevent regressions and act as self-documentation which then allow to write proper documentation in the wiki for new features.
We cannot merge into master until the test suite running on Travis and AppVeyor is green. The test suite runs automatically on Travis for Unix systems and AppVeyor for Windows every time there is commit, a pull request or a merge in the repository. This scenario should normally not occur if we follow the procedure above. There are other projects that rely on a stable XSpec repository (I once broke myself @tofi86's builds in #19 and was made aware of the importance of a green badge).

I'm happy to discuss this further if people feel the need or disagree with the basic rules I listed above. I don't think GitHub is a good place for this sort of conversation and I would prefer to organise a Skype call or something along those lines. I hope we can find a consensus and I really don't want to get this nasty as I'm spending my limited spare time in this project. Plus, I prefer to spend this time writing code rather than lenghty comments like this one.
As the master branch is currently red, I'm going to raise a pull request to revert it to the previous commit and ask @fgeorges and @AirQuick to review it. This does not mean that the change is not needed, the rationale is simply to have a green test suite on master branch until the code changes pass all the tests. Again, this is to avoid creating issues to other projects relying on the XSpec repository.
Florent, as I said above, we really look forward to your pull requests and really would like to get your experience and contributions for XSpec.

Well, replying the same day is not really "delayed answer", is it? :-)
Unfortunately, your questions require to invest some time in it, which I cannot provide in the short time future.  I am spending as much spare time I got (actually more than that) in getting the master green again.

"resolving using xspec-home if set, or using the global name URI if not)" exists in v2.0.7:
https://github.com/xspec/xspec/blob/552300776faa1c245d89a1b2ead7d1a83443bf60/src/harnesses/harness-lib.xpl#L125-L133
https://github.com/xspec/xspec/blob/552300776faa1c245d89a1b2ead7d1a83443bf60/src/harnesses/harness-lib.xpl#L192-L200
https://github.com/xspec/xspec/blob/552300776faa1c245d89a1b2ead7d1a83443bf60/src/harnesses/harness-lib.xpl#L269-L274


CLR error for vector of size 1

This is a trivial and low-priority case, but the current clr function raises an error when a vector of size 1 is passed to it.
For example,
x = [1]
clr(x)
---------------------------------------------------------------------------
AxisError                                 Traceback (most recent call last)
Cell In[81], line 1
----> 1 clr(x)

File /projectnb/talbot-lab-data/msilver/.conda/envs/msilver/lib/python3.8/site-packages/skbio/stats/composition.py:465, in clr(mat)
    463 mat = closure(mat)
    464 lmat = np.log(mat)
--> 465 gm = lmat.mean(axis=-1, keepdims=True)
    466 return (lmat - gm).squeeze()

File /projectnb/talbot-lab-data/msilver/.conda/envs/msilver/lib/python3.8/site-packages/numpy/core/_methods.py:167, in _mean(a, axis, dtype, out, keepdims, where)
    163 arr = asanyarray(a)
    165 is_float16_result = False
--> 167 rcount = _count_reduce_items(arr, axis, keepdims=keepdims, where=where)
    168 if rcount == 0 if where is True else umr_any(rcount == 0, axis=None):
    169     warnings.warn("Mean of empty slice.", RuntimeWarning, stacklevel=2)

File /projectnb/talbot-lab-data/msilver/.conda/envs/msilver/lib/python3.8/site-packages/numpy/core/_methods.py:76, in _count_reduce_items(arr, axis, keepdims, where)
     74     items = nt.intp(1)
     75     for ax in axis:
---> 76         items *= arr.shape[mu.normalize_axis_index(ax, arr.ndim)]
     77 else:
     78     # TODO: Optimize case when `where` is broadcast along a non-reduction
     79     # axis and full sum is more excessive than needed.
     80
     81     # guarded to protect circular imports
     82     from numpy.lib.stride_tricks import broadcast_to

AxisError: axis -1 is out of bounds for array of dimension 0

As far as I can tell, this error arises from applying closure() before computing the clr (https://github.com/scikit-bio/scikit-bio/blob/91e1643b95e06d4afaacf69a94eb3690789955fa/skbio/stats/composition.py#L460C23-L460C23), which reduces this vector of size 1 to a scalar, which causes the error. Without closure(), the function works as intended:
x = [1]
lmat = np.log(x)
gm = lmat.mean(axis=-1, keepdims=True)
lmat - gm
------------
array([0.])

Maybe closure() shouldn't squeeze vectors of size 1 to scalars?

Hi, thanks for raising this issue. I don't think this is a real error, since compositions with 1 dimension don't make sense (i.e. pick any scalar, and if you compute CLR, it is always going to be zero).
We can raise a ValueError highlighting that 1 dimensional scalars are not an acceptable input.

Hello, thanks for the quick response. That makes sense.
My current use case, computing the Aitchison distance between all sample pairs in a dataset, would benefit from returning 0 for (admittedly bad) samples that only share the same single taxon, but this is a pretty uncommon issue and easy enough to work around.


One way to fix the out of bound access issue.

Fix the issue by:
Allocate temporary storage inside bn_divn_low() and remove unnecessary assignments before calling the function.
Note this is a relatively conservative fix.
We might want to try some other approaches as well. (e.g. keep the function as is, double check and make sure we pass in buffers with enough spaces)
Be careful about merging.

After a second though, the vector seems too heavy here, we should really use some more efficient alloc method

need some fix


Subcategory with period in name breaks

Added “Mt. Splashmore” as a subcategory, got back “Mt” as a folder name.

Had this on my personal to-do list but forgot to make an issue...


Create lbrines

Hi @lbrines  it looks like you did everything right, except you need to include the ".yml" extension on your filename as that is required to trigger the automation that processes the request. If you repeat the same steps but ensure your filename has the .yml extension, it should process automatically for you within a few minutes.
Thanks!


pycryptodome-to-cryptography

Switch from pycryptodome to cryptography library.

Codecov Report

Merging #36 (ca16791) into master (325dde0) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           56        57    +1
=========================================
+ Hits            56        57    +1

Impacted Files
Coverage Δ

pii_crypt/pii_crypt.py
100.00% <100.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 325dde0...ca16791. Read the comment docs.


npl/riot: rework to use RIOTs ztimer

ztimer is a new high-level timer API in RIOT that was introcuced a
while ago to be the successor of xtimer. This commit reworks the
RIOT NPL implementation to use ztimer instead of xtimer. This
simplifies the NPL implementation and it allows for significant
energy savings.
For the xtimer switch the implemenation further switches from
RIOTs posix_semaphore module to the slimmer sema module, as the
prior indirectly pulls in xtimer as dependency.
When running the examples/nimble_gatt application from RIOTs examples for the nrf52dk and compiling it without STDIO (so UART is not enabled), the average power consumption drops from 430µA down to 72µA while maintaining a BLE connection to a smartphone using the default connection interval :-)

"make" -C /home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/nimble/controller/src/ -f /home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/Makefile.base MODULE=nimble_controller
3067In file included from /home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/nimble/include/nimble/nimble_npl.h:53,
3068                 from /home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/porting/nimble/include/os/os.h:38,
3069                 from /home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/nimble/include/nimble/ble.h:26,
3070                 from /home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/nimble/controller/src/ble_ll_utils.c:22:
3071/home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/porting/npl/riot/include/nimble/nimble_npl_os.h: In function 'ble_npl_eventq_get':
3072/home/travis/gopath/src/github.com/apache/mynewt-nimble/RIOT/build/pkg/nimble/porting/npl/riot/include/nimble/nimble_npl_os.h:103:40: error: implicit declaration of function 'event_wait_timeout_ztimer'; did you mean 'event_wait_timeout64'? [-Werror=implicit-function-declaration]
3073         return (struct ble_npl_event *)event_wait_timeout_ztimer(&evq->q,
3074                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
3075                                        event_wait_timeout64
3076cc1: all warnings being treated as errors
include missing?

no, the problem is that the changes will only build correctly once also https://github.com/RIOT-OS/RIOT/pull/16317 is merged to RIOT, as in that PR some package dependencies used in the build are updated.
The specific error here is caused due to the fact, that the event_wait_timeout_ztimer() function is only included in the RIOT buil, if the ztimer module is pulled in. For the current package configuration that is not the case...

I found a way to make Travis happy before I merge this: I will temporarily base the NimBLE package in RIOT on my feature branch and merge that PR into RIOT first. This way Travis should be able to built this PR and be happy, so we can merge it without bad feelings :-)

Worked, Murdock is happy now :-)
All green -> go.


Order reference

Is it possible to order a reference inside a document?
example: i have a product page with many categories (ReferenceArrayInput). How can i order (like a drag and drop) categories?

Hi, and thanks for your question. As explained in the admin-on-rest contributing guide, the right place to ask a "How To" question, get usage advice, or troubleshoot your own code, is StackOverFlow.
This makes your question easy to find by the core team, and the developer community. Unlike Github, StackOverFlow has great SEO, gamification, voting, and reputation. That's why we chose it, and decided to keep GitHub issues only for bugs and feature requests.
So I'm closing this issue, and inviting you to ask your question at:
http://stackoverflow.com/questions/tagged/admin-on-rest
And once you get a response, please continue to hang out on the admin-on-rest channel in StackOverflow. That way, you can help newcomers and share your expertise!


Ethan: Watch (?-i:snehagrawal98)(?#medium)

Ethan requests the watch of the watch_keyword (?-i:snehagrawal98)(?#medium). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:snehagrawal98)(?#medium) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Ollie in Charcoal HQ


Carousel component for the Splash Page.

Describe the task that needs to be done.
Create a carousel with three slides where we introduce the application to the user.
Describe what a solution to your proposed task might look like (and any alternatives considered).
The carousel component should be relatively reusable and should not contain any hard-coded values within it. The carousel should accept a prop called data which will have the format below. It describes what information should be should in the carousel.
[{
  title: "Introducing BuddyMakers",
  description: "An innovative way to meet new students who take the same course as you."
}]

Each object in this array describes one page. The carousel should hence be able to display as many pages as needed, depending on this prop.
This is what the end product of the UI should look like (source).

Notes

This task was approved by the Users team in the meeting held on 12/03.

LGMT


I get black blank screen when I exit full screen

https://stackoverflow.com/questions/55707550/how-to-fix-my-problem-about-go-back-from-full-screen-webview-video-page
I'm using your plugin and it is so good and useful except the problem in the link, can you help me to solve it and I will be grateful to you.

the soulution was like that:
in PCL project, FullScreenEnabledWebView class, replace this code:
var page = new ContentPage
{
Content = view,
};
        await Application.Current.MainPage.Navigation.PushModalAsync(page);

by this:
var page = new ContentPage
{
Content = view
};
await Application.Current.MainPage.Navigation.PushModalAsync(page);
page.Content.Focus();


k8s: dashboard: v1.5.0 -> v1.5.1

Dashboard 1.5.1 came out 9 hours ago.

Hi @colemickens, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Cole Mickens). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


If the ram  size is less than 4096 machine word,then I CAN'T use mem malloc function,am'I right

I saw the manual says mem pool can't less than 4096 machine word,
I use stm32l051,it's 32 bit mcu,then the ram must larger than 16kB to use the mem malloc functions.
Am I right?

yeah, you got it. You can’t use the built in allocator if you have too little memory. The dynamic memory allocation module provided is there to handle complex allocation requests (arbitrary block sizes) rather than simple fixed block size allocations. Designed as such, the dynamic memory module have a relatively higher memory overhead but is more flexible. If you have too little memory, then there’s no need for such a general-purpose dynamic memory allocation routine, you can supply your own routines which is usually just allocating a fixed block size, or do not use dynamic allocation at all. For devices with larger memory, if you just want very frequent fixed size block allocation/frees, you can use the built in allocator as a primary allocator, then allocate your smaller fixed size trunks with your own secondary allocator on the memory returned by it.

STM32L051 only have 8kB RAM. This is too small for an advanced general purpose memory allocation algorithm such as TLSF to make sense, thus It is rendered unusable.

Thanks,Got it.
You art right ,there is no need to dynamic allocate memory in such small ram

I think the task scheuler function is enough for my work,I will try this later

what project r u working on?

Sensors powered by battery.
It's functions are simple ,but the logic is a little complex.
So I want a small rtos to schedule tasks, then I focus on something really matters.


Request: Detect transport endpoint disconnection and automatically attempt to remount

Hi,
One of my buckets in particular (the largest, > 1 TB) periodically gets its goofys mountpoint broken ("Transport endpoint is not connected"). When this happens, I need to ssh in, unmount and run the goofys mounting command again.
Is it possible for goofys itself to monitor for this state, and attempt a remount when encountered?
goofys --version

0.0.11

Transport endpoint is not connected means goofys has crashed, and there are some fixes in the 0.0.13 release, so try that first. Also, since goofys has crashed, it's not possible for it to remount itself, but you can write a wrapper script that does that.

Thank you. I had thought the process was still running, but you're probably right. I'll write back if I find otherwise.

Same here. Sometimes goofys crashes and rhe only thing that helps is running umount /path/to/mountpount && goofys

Same problem here using goofys version 0.24.0-45b8d78375af1b24604439d2e60c567654bcdf88.
Someone found a solution?

We have encountered a similar issue using goofys version 0.24.0-45b8d78375af1b24604439d2e60c567654bcdf88.
➜  ~ goofys --version
goofys version 0.24.0-45b8d78375af1b24604439d2e60c567654bcdf88

Just had the dreaded : failed (107: Transport endpoint is not connected)
goofys version 0.24.0-0c993271269b539196330a18716a33fbeeebd624
Mounting wasabi. umount / mount fixes, but would prefer this didn't happen. I love goofys but I can't have this keep happening.
Ideas?


Memo Comment/Relation

催更👀👀👀

What is the state of the comment-feature currently? Is it planned to release it soon?

Waiting for this feature!!!

超期待！

Released in v0.16.0


Example schema?

Is there an example of a GraphQL schema that the Meteor Data project will support? E.g. a simple example in the documentation would help clarify the expected use.

I'm sure the first thing to come out will be an example implementation for a Meteor Todos App, with a simple query and insert mutation for a tasks schema.
Looking forward to this, should be exciting!

We want to be 100% interoperable with the "standard" GraphQL stuff - so if you get the reference JavaScript implementation and write a GraphQL resolver, our frontend will work with that out of the box, without reactivity.
To get reactivity, you will have to modify your resolvers to use our special database accessors, or emit data dependencies manually. Also, we expect to have some quality-of-life wrappers for GraphQL schema building for simple cases (for example, if your GraphQL schema exactly matches your SQL schema).
More details to come soon - we wanted to share our direction and goals as soon as possible, so we don't have a crisp design document yet. However, we are pretty sure of the direction so it's just a matter of time until we produce some materials to make things more specific and clear.

@stubailo GraphQL has support for "subscriptions" out of the box, and FB is open to community ideas on live data. It is probably worth talking to Facebook about this.

Yes, we have talked to them. Note that the meteor approach is specifically about reactive queries, not subscriptions - you don't have to separate your data requirements and your subscriptions, you can just have one big query, some parts of which are reactive.
In short, the current subscription feature in GraphQL is not the thing we are trying to build.


Duplicate symbols when using list comprehension or isinstance method

When using list comprehension in a method, variables assigned inside the comprehension is listed twice in the symbol list / outline view.
Same happens when isinstance method is used inside a method. Not sure if it is related to same issue as above because it causes all the symbols inside a function scope to be duplicated.
Sample Code:
class Test:

    def method(self, arg1, arg2):
        var1 = {}
        var2 = [_value for _key, _value in arg1.items()]

    def method2(self, param1, param2):
        test1 = {}
        test2 = []
        if isinstance(test, dict):
            test3 = 1

Note: I have disables jedi, and this happens in microsoft language server. Cannot use jedi right now because, jedi doesnt detect functions with return type annotation specified.
Environment data

VS Code version: 1.30
Extension version (available under the Extensions sidebar): 2018.12.1
OS and version: OSX 10.14.1
Python version (& distribution if applicable, e.g. Anaconda): 3.6 (Conda)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda

Expected behaviour
No duplicate symbols

Actual behaviour

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
tarting Microsoft Python language server.
##########Linting Output - mypy##########
##########Linting Output - pylint##########
************* Module test_symbols
Microsoft Python Language Server version <IP_ADDRESS>
Initializing for /Users/me/anaconda3/envs/venv/bin/python

Fixed upstream.


Add ability to search AWS profiles

Hey Mike thanks for the contribution. This looks pretty good to me. Is this ready to merge? I tested and seems to be fine. I haven't fully automated the homebrew release yet so after this gets merged, tagged and built. Ill have to update release info here https://github.com/pjaudiomv/homebrew-awsd/blob/main/formula/awsd.rb

Should be good to go!

Thanks again, I just did a brew upgrade awsd and it worked so I think I did release right :)


Site admin could view org's members

This will fix a regression on #9092. Also move organization home page to org package.

Codecov Report

Merging #9346 into master will increase coverage by 0.01%.
The diff coverage is 65.38%.

@@            Coverage Diff             @@
##           master    #9346      +/-   ##
==========================================
+ Coverage   41.32%   41.34%   +0.01%
==========================================
  Files         564      565       +1
  Lines       73472    73472
==========================================
+ Hits        30363    30374      +11
+ Misses      39314    39304      -10
+ Partials     3795     3794       -1

Impacted Files
Coverage Δ

routers/user/home.go
59.09% <ø> (-1.42%)
:arrow_down:

routers/org/members.go
0% <0%> (ø)
:arrow_up:

routers/user/profile.go
50.96% <100%> (ø)
:arrow_up:

routers/org/home.go
65.68% <65.68%> (ø)

modules/process/manager.go
74.69% <0%> (-3.62%)
:arrow_down:

models/repo.go
48.28% <0%> (+0.1%)
:arrow_up:

services/pull/patch.go
64.77% <0%> (+1.88%)
:arrow_up:

services/pull/check.go
58.39% <0%> (+3.64%)
:arrow_up:

modules/indexer/code/indexer.go
60.52% <0%> (+5.26%)
:arrow_up:

... and 1 more

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 f6ba912...af3f7be. Read the comment docs.


Chinese Text to speech, the digital number in text got strange voices

Checks

[X] This template is only for bug reports, usage problems go with 'Help Wanted'.
[X] I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
[X] I have searched for existing issues, including closed ones, and couldn't find a solution.
[X] I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details
Python 3.12.2
others package was intall in a venv, follows all the steps from f5-tts github home page.
Steps to Reproduce
follow steps to setup f5tts:
python3.12 -m venv py3
source py3/bin/activate
pip install torch==2.3.0+cu118 torchaudio==2.3.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
git clone https://github.com/SWivid/F5-TTS.git
cd F5-TTS
pip install -e .

and use the following command to test:
f5-tts_infer-cli \
--model "F5-TTS" \
--ref_audio "my_audio.wav" \
--ref_text "测试一下，看看好不好用" \
--gen_text "2024年12月24日是圣诞夜，明天25日是圣诞节，当晚，我收获了54321.12元奖金，还清了6月份借朋友的12345.34元后，
还有不少剩余， 能过个好节了。"

the generated audio pronounces Chinese charecters correctly, but the numbers('2024', '12', '24', '25', '54321.12', '6', '12345.34') wrong.
✔ Expected Behavior
The numbers should pronounces in Chinese number, and follows the Chinese number format.
❌ Actual Behavior
Can not understood the numbers

see the following

infer readme
issues e.g. #244


b2c extensions app id should be without hyphens

The pages states that in the graph api call u should use
extension_<b2c-extensions-app-guid>_loyaltyId | Microsoft Graph API

However the correct what of doing this is without the hyphens
ex:
instead of
PATCH /beta/tenant.onmicrosoft.com/users/519323d-8153-4e43-9d7f-b7a4a2833a8d HTTP/1.1
Host: graph.microsoft.com
Authorization: Bearer ...
Content-Type: application/json

{
    "extension_495c7d090-08b42-3118a36-bfddcee2cc90_can_impersonate": "1"
}

it should be
PATCH /beta/tenant.onmicrosoft.com/users/519323d-8153-4e43-9d7f-b7a4a2833a8d HTTP/1.1
Host: graph.microsoft.com
Authorization: Bearer ...
Content-Type: application/json

{
    "extension_495c7d0908b423118a36bfddcee2cc90_can_impersonate": "1"
}

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

ID: 29fb9816-df6a-6f60-35d0-c2a04732f295
Version Independent ID: ffc8b13a-b2c9-a502-1580-abea596194ab
Content: Add your own attributes to custom policies - Azure AD B2C
Content Source: articles/active-directory-b2c/custom-policy-custom-attributes.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@MathiasVandePol
Thanks for your feedback! We will investigate and update as appropriate.

Thanks @MathiasVandePol .
I made a pull request to update the document. https://github.com/MicrosoftDocs/azure-docs-pr/pull/131744


RHOARDOC-1531: Add procedure for deploying Java-based applications to standalone RHEL

@geoand @liborfuka Would you please verify if this is correct for Spring Boot?
@rdruss @akoniar Would you please verify that this is correct for Vert.X?

I looked at the rendered form (good thing this Netlify thing!) and at least in the Thorntail context, this is totally useless. It's exactly the same as the Creating an application from scratch chapter, except less detailed.

However, at least in the Thorntail context, there's a way to actually make it useful. The Creating an application from scratch chapter uses mvn thorntail:run to run the app, which is only good for testing, but not for production. So this chapter could say that an app from the previous chapter is a prerequisite, and then go on to say that mvn package is how the uberjar is built (and it resides at target/myapp-thorntail.jar), and java -jar myapp-thorntail.jar is how the app is supposed to be executed.

It's true that if we use the mvn $RUNTIME:run, the usefulness of the procedure is low. @inoxx03, please revert back to the mvn package + java -jar deployment method and reconcile all other comments around it. This is the spec we'll be delivering this issue to.

@tradej Thank you. will do.

@Ladicek @akoniar @liborfuka @geoand Thank you for the feedback. Per the decision by @tradej, I have reverted to using the mvn clean package and the java -jar ... commands, instead of the runtime plugin-specific ones. I have retained the cd myApp step as well as the parameterized prerequisite for the Maven repo configuration. These changes should ensure that the procedure:

avoids unnecessary reduplication
remains true to the original docs requirement,
and retains the usefulness of the earlier pre-edit version.

Please let me know what you think.

Remark: For standalone spring project, this is not needed to refer about kubernetes liveness/readiness as mentioned here https://github.com/fabric8-launcher/launcher-documentation/blob/36a082098aaa26eca4eb508c2ccdc2bc6f2c865d/docs/topics/proc_creating-a-spring-boot-2-1-application.adoc

@cmoulliard Thank you for the comment:) I think that since we're dealing with deployment to standalone RHEL, with no cluster, I don't think the liveness and readiness check configuration is really within the scope of this procedure.
The reason we have them in [Chapter 5.1|https://launcher.fabric8.io/docs/spring-boot-runtime.html#creating-a-basic-springboot-application_spring-boot] is because the intention is to deploy the app to OpenShift, as described in [Section 5.1.2|https://launcher.fabric8.io/docs/spring-boot-runtime.html#deploying-an-application-to-openshift_spring-boot].
For this procedure, where the app is intended to run locally, I'd be inclined not to add these links here.
Does that make sense?

Otherwise looking good, but from Thorntail perspective, this really doesn't add much value and I can see it merged with the previous chapter very easily.

One more thing: deploying an app on standalone RHEL typically doesn't involve creating the uberjar, at least not on the target system. The target production system usually won't have Maven installed at all. So deploying it means taking the uberjar and running it. Not much to talk about, unless we want to go into details such as tuning Java heap or GC etc. :-)

@Ladicek Thank you, I see your point:) And I'm not opposed to merging the two procedures later, but for the time being, I'd be inclined to follow the docs requirement and deliver this as a separate procedure:)

The target production system usually won't have Maven installed at all. So deploying it means taking the uberjar and running it. Not much to talk about, unless we want to go into details such as tuning Java heap or GC etc. :-)

@Ladicek  I don't think that would be within the scope of this documentation requirement:) It does, however, seem like something that should have been recognized when the requirement being formulated. We won't be able to add the information here before we publish, but we can include it in a subsequent update:)

What I wanted to say is that I think mvn clean package isn't exactly part of "deploying the app to standalone RHEL", it's a previous step. But I'm probably thinking too much about it :-)

Thanks, everybody, for the feedback. As time is of the essence, I am merging this JIRA, while the outstanding feedback for improving the procedure is filed in RHOARDOC-1587 and will be addressed as time permits.


The specified path, file name, or both are too long

when i running "gulp create-windows-installer" command i am getting this error.. i am uisng windows 7 & 32bit. thanks.

 Here is some general info about the issue you're encountering: http://stackoverflow.com/questions/26155135/node-npm-windows-file-paths-are-too-long-to-install-packages
I recommend you try to update to npm3, then do a clean reinstall.

Using npm3 and doing a clean reinstall will solve this problem :).

@balakrishnan4587 I hope our tips has helped you fix this, please reopen if that's not the case.

Im runing npm 3.10.3 and In having this issue!


About the dataset

when i read the LQGT_dataset.py, i found that
        if self.opt['color']:  # change color space if necessary
 img_GT = util.channel_convert(img_GT.shape[2], self.opt['color'], [img_GT])[0]
the img_GT.shape[2] is 3
the self.opt['color'] is RGB in train_SRResNet.yml
but the def channel_convert in util.py
    if in_c == 3 and tar_type == 'gray':  # BGR to gray
 gray_list = [cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) for img in img_list]
return [np.expand_dims(img, axis=2) for img in gray_list]
elif in_c == 3 and tar_type == 'y':  # BGR to y
 y_list = [bgr2ycbcr(img, only_y=True) for img in img_list]
 return [np.expand_dims(img, axis=2) for img in y_list]
 elif in_c == 1 and tar_type == 'RGB':  # gray/y to BGR
return [cv2.cvtColor(img, cv2.COLOR_GRAY2BGR) for img in img_list]
else:
return img_list
has no  in_c=3 and tar_type == 'RGB',so it just return img_list。
Is the means when i use DIV2K, i don't need to deal with the conversion among BGR, gray and y?

Yes, if you want to train on RGB channels and you use the DIV2K, then no conversion is needed.
The conversion is executed when you have RGB images, but you want to training on gray images.

Yes, if you want to train on RGB channels and you use the DIV2K, then no conversion is needed.
The conversion is executed when you have RGB images, but you want to train on gray images.

Thank you very much for your answer .


The ability to run in net=host mode

In the current implementation, the driver port inside the container is hardcoded. Therefore, it is not possible to run the container on the network host
I think this behavior can be fixed by adding an environment variable (--port=$SELENOID_PORT) in the entrypoint.sh file

@guskovd: in Docker you can map any port in container to any port in operating system. So in the case of Selenoid images you just forward 4444 to any port you wish. What is the use case for this? What issue are you trying to fix with --net=host?

Unfortunately, the networks in our openstack are arranged so that there is no way to run the containers in bridged mode
It seems to me that the mode net=host is implemented for such cases.

In that case I would use going to binaries instead of Docker. You may want to contact us in our Telegram support chat: https://t.me/joinchat/AAAAAAkZ1DfzAv-eYWTlTQ

Why not just make the default port 4444 with the ability to change through the environment variable?
in Dockerfile:
...
ENV SELENOID_PORT 4444
...

in entrypoint.sh:
#!/bin/bash
SCREEN_RESOLUTION=${SCREEN_RESOLUTION:-"1920x1080x24"}
/usr/bin/xvfb-run -a -s "-screen 0 $SCREEN_RESOLUTION -noreset" /usr/bin/chromedriver --port=$SELENOID_PORT --whitelisted-ips='' --verbose

Alternatively, you can add an optional entrypoint.sh script argument: --port=<alt_port>
Then docker users in net=host mode will be able to run the container through the docker binary:
"image": ["docker", "run", "--net=host", .... ]

We will remove -listen option from docker ENTRYPOINT in further release, it will allow to override port with command line option.


Audio is unexpectedly suspended when switching apps

Open https://hajimehoshi.github.io/go-inovation/ on iOS Safari. This plays music
Open an Ebiten iOS app (e.g., Bear's restaurant)
Switch to the browser from the app, and switch back
The app's BGM is gone

In Bear's restaurant case, only BGM is gone and new SEs (new audio.Player instances) are played. This is odd...
I have confirmed this on iOS 13.

This was not an Ebiten issue but an issue in the application.


Fix random biome generation with Virtual Biomes for a fixed seed

Fixes #444
We need to init array size because Mojang uses a strange custom ArrayList. RegistryID arrays are not correctly (but randomly!) copied when resized.
A better way to do it would be to add these biomes in a specific order.

Thank you very much! I don't want to know how many hours of debugging you spent on this...
This would explain why this bug only happens when using a larger number of custom biomes.

so this is really solved?? no more change of seed when server restarts? 👍

According to my tries, the result is the same after each restart for a same seed. All I can do now is to encourage you to try it yourself to be sure and report it if you have any related issue :p .


Updating existing/imported Hyperdrive fails as no ID passed through on Update

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
tofu -v
OpenTofu v1.6.0
on darwin_arm64

Affected resource(s)
cloudflare_hyperdrive_config
Terraform configuration files
resource "cloudflare_hyperdrive_config" "hyperdrives" {
  account_id = "my-id"
  name       = "name"
  origin = {
    database = "postgres"
    password = "password"
    host     = "host"
    port     = 5432
    scheme   = "postgres"
    user     = "user"
  }
}

Link to debug output
None
Panic output
No response
Expected output
Should update imported hyperdrive resource with values provided in the cloudflare_hyperdrive_config resource block.
Actual output
╷
│ Error: Error updating hyperdrive config
│
│   with cloudflare_hyperdrive_config.hyperdrives,
│   on cloudflare.tf line 24, in resource "cloudflare_hyperdrive_config" "hyperdrives":
│   24: resource "cloudflare_hyperdrive_config" "hyperdrives" {
│
│ required hyperdrive config id is missing
╵

Steps to reproduce

Create hyperdrive outside of terraform
Write cloudflare_hyperdrive_config resource block for that above created hyperdrive
Import hyperdrive created in step 1 for the resource block created in step 2 using command terraform import cloudflare_hyperdrive_config.example <account_id>/<hyperdrive_config_id>
terraform apply to apply changes to reconcile between imported hyperdrive and cloudflare_hyperdrive_config resource
Should error

Additional factoids
The error message required hyperdrive config id is missing originates from https://github.com/cloudflare/cloudflare-go/blob/master/hyperdrive.go#L13, which in the context of our update call, starts here: https://github.com/cloudflare/cloudflare-go/blob/master/hyperdrive.go#L176-L178.
This is happening because our call to Update within the terraform-provider does not pass through a HyperdriveID parameter: https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/internal/framework/service/hyperdrive_config/resource.go#L130-L143.
Fixing the provider to pass through HyperdriveID should fix this issue.
References
No response

I'd like to fix this issue too.


feat(eager): move user mode adaptation to inside evaluators

Move user mode adaptation to inside Evaluator to allow evaluators to override the value adaptation behavior. For example, TorchScriptEvaluator prefers inputs to be raw python values and handles constant creation inside its graph.

@gramalingam could you take a look? thanks!


Internal error "My page -> Issues assigned to me"

Hi,
When trying to browse "My page -> Issues assigned to me" or "My page -> Reported issues " I get "Internal error". I get the error with version 2.6.6-1 and 2.6.9-3.
Any idea on this error ? How can I enable debug log ?
Error in production.log
Completed 500 Internal Server Error in 338.3ms
NoMethodError (undefined method enabled_modules' for nil:NilClass):   app/models/query.rb:235:in build_from_params'
app/models/issue_query.rb:119:in build_from_params'   app/helpers/queries_helper.rb:179:in retrieve_query'
app/controllers/issues_controller.rb:56:in `index'
Regards

was your issue resolved?

Hi,
Yes, the error was caused by a plugin. I uninstalled it and it resolved the issue.
Regrads,


https://zig-play.dev/ fails with default source

https://zig-play.dev/ fails with default source:
An error occurred:
copying zig source

Should be fixed now, sorry.


VSCODE 1.78.2 WSL Network “Fragility Matrix” BUG SHIFTS to Wrongly Demanding REMOTE. Starting WSL without Ethernet/WiFi BREAKS NETWORK IN BOTH WSL & CONTAINERS

WSL Environment (similar used by millions of people)
VSCODE 1.78.2  but also to VSCODE 1.78.1
VPN:  Global Protect version 6.1.0-58  (important used by millions)
OS Name	Microsoft Windows 10 Enterprise
Version	10.0.19045 Build 19045
System Model	Latitude 5420
Processor	11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 1690 Mhz, 4 Core(s), 8 Logical Processor(s)
Running VSCODE instances:

Normal VSCODE Windows Dev;  green [><] button in bottom left.

VSCODE attached to WSL2 with [>< Ubuntu-22.04] green button.

VSCODE Docker Container with [>< Container dev63:dude (myHostname) ] green button.

Not running Docker Desktop because of previous fragility dating back 8 years.
Using Global Protect VPN commonly used by government with thousands/millions of developers.

Ethernet not WiFi

TESTING?
Reproduce BUG you must start clean:  Uninstall Docker Desktop See WSL2 without Docker Desktop VSCODE and WSL and remove ALL  giant .vhdx and .vhdl files under Windows 10.  Reinstall all.
Code of conduct: Yes   removed 78 cuss words.  I apologise in advance for being harsh, I am altogether grateful for the time and effort developers put in over the past 10+ years have contributed to VSCODE and WSL even unpaid.  Code is a test of honesty; it even enforces honesty; as one lie politically motivated cascades into a mountain of bugs making political code physically obvious and unsustainable.  For that reason coding erases political "opinion" and replaces it with raw facts and truth; indeed engineering is the same - respect truth else the bugs take over!
Existing issues, yes about 15 million complaints about loss of Network under WSL which under VSCODE 1.78.2 now today ALSO affects its attached containers which previously were not frozen out of the network ie 10x WORSE!
VSCODE Insiders test NO!!! The insiders Network issues are far WORSE BY FAR hence VSCODE 1.78.2 is therefore WORSE than VSCODE 1.78.1 and WORSE than VSCODE 1.78.0 too.
Does this issue occur when all extensions are disabled?: Yes
Observations and Steps to Reproduce:

Connecting to WSL “Stating Linux Subsystem” via Green [><] button WITHOUT Ethernet now works (VSCODE 1.78.2), but now DISABLES WSL & Docker containers network capability permanently (but not any other Windows applications).  Starting containers (from previously created images) from WSL attached to VSCODE works, but you can’t attach to those containers with a VSCODE instance for that docker container!  NO JOKE!  VSCODE REFUSES to attach to that VSCODE started container instance until the Ethernet cable is reattached (on retry)!  Connecting the Ethernet cable allows the Container to be attached to a new instance of VSCODE, but it too NOW has NO internet which is different from previous  VSCODE versions where Docker containers instances ALWAYS connect to the internet (with the Ethernet cable reattached) even when WSL Network got broken.  So 1.78.2 it is not just worse but “Fragility Matrix” fully dependent on the network @~~@'*** fire worse.

This is not to do with Docker Desktop as it’s bugs are monsters. Docker runs with WSL2 without Docker Desktop faster and without crashing .  See WSL2 without Docker Desktop
Microsoft previously had Run without Docker Desktop advice on a web page but deleted it which is &^(^)&()@ BAD!

VSCODE 1.78.1. (previous version) is different:  When starting WSL2 via the bottom left VSCODE green [<>] button: “Connect to WSL” (after reboot).  WSL and Terminal ONLY recovers previous session and starts if you are connected the internet first in VSCODE 1.78.1.   VSCODE 1.78.1 outputs a bug log but VSCODE 1.78.2 DOES NOT.

VSCODE 1.78.2 (NEW version) now starts WSL but then NEVER can connect to the internet when Ethernet is reconnected.  Neither can containers.  This new version BREAKS ALL NETWORK CONNECTIONS (normal windows apps do connect proof it is WSL).  To recover you have to actually REBOOT the pc to fix it and connect the the Ethernet cable and Global Protect VPN before your start VSCODE.  If VSCODE starts without a network ALL VSCODE attached instances to WSL and containers will have broken networks.

9+ Reasons to WSL2 Network disaster:

VSCODE WSL has a network mechanism that is &)( broken not just in code but all the way back fully &)(& design and concept destroying WSL and CONTAINERS NETWORKS!   The network problems existed in VSCODE insiders and you released them now to everybody unfixed even when users already ALREADY reported network breakages!  AHHHH!

Test teams are testing whilst connected to the internet so introduce FATAL FRAGILITY, FATALLY DEPENDENT ON SOME KIND OF UNAUTHRISED REMOTE CONNECTION.  This applies to plugins too, which a few are spyware as you do not vet them as safe (like browser add-ons/plugins are checked).  So the risk is enormous.

Test teams are FAILING to test common VPN use cases with ethernet connecting and disconnecting and reconnecting.  This includes Sufe shark and Global Protect VPNs. (Version given above).

You think that not asking permission to connect to remote server and connecting when such connections are not expected is honest, and respectful?        See risk analysis below.   This applies to plugins too, which a few are spyware as you do not vet them as safe (like browser add-ons/plugins are checked).  So the risk is enormous (again).

Bug log was previously output to the screen now NOTHING in VSCODE 1.78.2 so the blind are leading the blind.

Failure to test without Docker Desktop.  Docker Desktop is fragile BUG monster and now considered spyware so people are shy of it, meaning you must ALSO test use cases WITHOUT Docker Desktop.  I repeat: Microsoft had a webpage "run WSL without Docker Desktop", but that got deleted.  So the joke is on you.  VSCODE 1.78.1 tried to install Docker Desktop pretending it was docker this version VSCODE 1.78.2  seems not to do that.

Introducing dependencies on ONLY STABLE Ethernet or WiFi is waiting for disaster hence risk analysis below.   The dependence on another remote machine that you do not control is unacceptable and miopic!  (This applies also to plugins).

Trusting plugins without certification and many plugins are malware.  Disaster waiting to happen.

Risk analysis

WSL is just like Windows, security is not built-in from the get-go, instead it is patched with patches upon patches that clearly interact and rip apart.  WSL2 is therefor wide open, so it's not the end user application at risk but the actual developers environment with the source code exposed.  We already saw how the "experimental features" in Docker Desktop settings dump enormous 50GB multi layer Docker tar files when crashing OR for analysing them for risk (ironically).  There is no excuse.

Even if connected to a reliable internet, what if the remote server was down?    WSL or Plugins also must NEVER demand "remote".

There is no such thing as reliable internet, wifi, Ethernet and you are dependent on that?
WSL or Plugins also must NEVER demand "remote".   We are not an X-Box that is addicted to the internet and can't play without it.

RECENT EVENTS ONE OF WORLDS MOST POPULOUS CITIES
When people at home or in offices or whole cities, whole counties, whole states or whole nations lose internet, WSL2 development via VSCODE stops dead. Disasters or wars shut everything down the same hour they happen, this just happened in Pakistan 5 days ago affecting millions of people.  Users assume no remote connections or remote monitoring so how has this BUG been introduced especially when telemetry is turned off?    (This applies also to plugins).

Because of bugs with Docker Desktop destroying VSCODE and WSL usability and losing ALL work data, users now often run without Docker Desktop and instead use just Docker with VSCODE/WSL2.
It is obvious that Docker Desktop offers no value that does not already exist and loses sync with both WSL and Docker, this can’t be fixed because the BUG is in the design.

Your worst risk is indeed your plugins.  Your plugins are a security risk that sometimes demands remote connections making VSCODE WSL and Docker have fully broken security.  WIDE OPEN TO ABUSE.

VSCODE and WSL is not an X-Box that is addicted to the internet and can't run without it.

but now DISABLES WSL & Docker containers network capability permanently

What does that mean? You can no longer access the internet from inside WSL?

Please do not close this until you have everything able to restart and be working OFFLINE from boot up.
VSCODE is very good at trying to restart your last sessions, even sessions attached to auto restarted Docker containers.
That is great work, must be hard to do as there are about 15 VSCODE session use cases instances to recover!
Right now it "almost" automatically restarting sessions, but fails without the Ethernet or WiFi which telegraphs MALWARE and is also fatally unsustainably reliant on the Internet, so in a crisis (EVEN A MINOR CRISIS) it will never work again!  That bad!
Therefore being diligent please ensure that on bootup WITHOUT Internet ALL VSCODE last sessions, even with attachments to containers and projects are fully restored to when you last rebooted, including each of these VSCODE instances OFFLINE:-

VSCODE with CPP project (Windows build project only not WSL),

VSCODE with WSL2 (Ubuntu 22.04.02) on /home/dudeUser Terminal and VSCODE Explorer (left hand icons) feature showing all files for that user and able to open those files in the VSCODE editor.

VSCODE with WSL2 but spawned by doing this inside the WSL terminal (previous instance terminal):
$  cd ~/myCppProject   #  any project with a cmake or Makefile
$  code  .     #  ie code space dot that Spawns an NEW VSCODE instance project AND plugins!

VSCODE attached to Linux Container (any Linux) WITH and WITHOUT Docker Desktop. Without DD is most important!

Similarly but a VSCODE container project code .   project ...

VSCODE cpp project within a container but spawned by doing this inside the Containers TERMINAL (previous instance terminal).  Repeat myself: Using the previous VSCODE terminal that is a Docker container instance,  Spawn the "project" version like this:
$  cd ~/myCppProject_InMyContainer   #  any project with a cmake or Makefile
$  code  .     #  ie code space dot that Spawns an NEW VSCODE instance project AND plugins!
and a new instance starts (and is restored after reboot EVEN without the Internet.)

  You need Docker plugins
and the most popular "C++ intelisense" etc. (THAT EVERYBODY USES millions of downloads).
NOTE also for containers you have to install the plugins AGAIN because those are not automatically installed as the parent VSCODE instance has them but the child container do not.
Harsh words on closing bugs without linking them to related bugs!
When you pushed "VSCODE insiders" to "release" you carried with you a mountain of "closed" bugs.  So if the bugs are "closed" they must be fixed, right?  GENIUS!   I see dozens of the SAME bugs repeated over and over and all being closed WITH NO BUG FIX PUT IN PLACE, genius then it fixed itself?
Developers need to understand network connections from inside WSL2 Terminals and Docker container terminals with or without VPNs  and with or without common firewall settings and SMART error messages are needed not "Zombie_Terse_Error messages".  One common VPN is Global Protect; common as in there are thousands of developers either learning or
seriously developing and forced to use GlobalProtect.
Security and Bug Fixing by AI
All, staff at all levels having zero toxic Trojan Horse agendas, is now all current and new projects will last.
Why?  How do you "vet" plugins and "vet" developers or "vet" AI?   Well you find out their intentions and that is now easy.
Malware created by gov agencies is easy to find by AI, easy to hijack by AI and easy to repurpose in reverse.
Bugs will be found and fixed by AI test suites will be written by AI.
Run away if you find that toxic influence in a project, it will be exposed, but not by people!


chore(main): release 1.8.1

:robot: I have created a release beep boop
1.8.1 (2024-03-22)
Bug Fixes

time series: expose subtract_climatology to the manipulate module (1d48f98)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/engeir/volcano-base/releases/tag/v1.8.1 :sunflower:


Timezone for footer

Hi - I'm wondering if I can specify the timezone of the updated timestamp in the footer?
I notice it's possible in date-fns, but I don't know how to get it to work.
https://date-fns.org/v3.2.0/docs/Time-Zones

I think you can set the TZ environment variable with the desired timezone.

If you mean on the build command like you showed me before, I did. But the template code doesn't pick that up automagically as far as I can tell.

It works fine to me:
deno task serve

TZ=Europe/Helsinki deno task serve

Figured it out. It was working on localhost, but not after pushing to Netlify. The problem was, if you simply specify like TZ=Europe/Helsinki deno task serve, I speculate that due to how Netlify (and maybe other build environments?) work, that isn't enough because of some kind of environment spawning that is being done. However, if you "export" the TZ, so that it's fully available as an environment var like export TZ=Europe/Helsinki && deno task serve, it works. Here's the code I used specifically, which works for both localhost and up on Netlify:
{
  "importMap": "./import_map.json",
  "tasks": {
    "lume": "export TZ='Asia/Tokyo' && echo \"import 'lume/cli.ts'\" | deno run --unstable -A -",
    "build": "deno task lume",
    "serve": "deno task lume -s"
  },
  "compilerOptions": {
    "types": [
      "lume/types.ts"
    ]
  }
}

https://github.com/eSolia/help.esolia.pro/commit/11948f4acb33c733a69c717fae401f41f360ad42

Example in bash:
$ hoge="Hi"
$ echo $hoge
Hi
$ fuga="Bye"
$ export hoge
$ bash
bash-5.2$ echo $hoge
Hi
bash-5.2$ echo $fuga

bash-5.2$


Document dependency on BLISS_HOME environment variable

I tried running the tests on the Linux server and I noticed there needs to be "BLISS_HOME" present in the environment, but I don't see this documented anywhere. Is there a place we could document this?
Alternatively, Hydra comes with some helper functions that can return the absolute path of the original working directory (hydra.utils.get_original_cwd()). This may be useful to avoid hard-coding an absolute path. I don't know how much work this would be to change, however.

Good point. I'm not attached to the idea of having a BLISS_HOME environment variable. If there's a way to configure it so that documentation isn't even necessary, that would be ideal

Good point. I'm not attached to the idea of having a BLISS_HOME environment variable. If there's a way to configure it so that documentation isn't even necessary, that would be ideal

Maybe something with the hydra config path?
https://hydra.cc/docs/advanced/search_path

Maybe something with the hydra config path?
https://hydra.cc/docs/advanced/search_path

I was thinking more along these lines: https://hydra.cc/docs/tutorials/basic/running_your_app/working_directory/
But now that I think about it, hydra.utils.get_original_cwd() would return the directory from which the script was called, which means we'd have to call the scripts from the same working directory. This is something else we'd have to document.
Since poetry seems to automatically register the top-level project in sys.path, the simplest solution might be just to use the __file__ variable from the bliss module. This will be persistent regardless of the working directory (as long as poetry shell is activated).
(bliss-FSmgvuKM-py3.8) [dereklh@deeplearning-01:~/projects/bliss]
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bliss
>>> bliss.__file__
'/home/dereklh/projects/bliss/bliss/__init__.py'
>>>
(bliss-FSmgvuKM-py3.8) [dereklh@deeplearning-01:~/projects/bliss]
$ cd case_studies/
(bliss-FSmgvuKM-py3.8) [dereklh@deeplearning-01:~/projects/bliss/case_studies]
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bliss
>>> bliss.__file__
'/home/dereklh/projects/bliss/bliss/__init__.py'

I was thinking more along these lines: https://hydra.cc/docs/tutorials/basic/running_your_app/working_directory/
But now that I think about it, hydra.utils.get_original_cwd() would return the directory from which the script was called, which means we'd have to call the scripts from the same working directory. This is something else we'd have to document.
Since poetry seems to automatically register the top-level project in sys.path, the simplest solution might be just to use the __file__ variable from the bliss module. This will be persistent regardless of the working directory (as long as poetry shell is activated).
(bliss-FSmgvuKM-py3.8) [dereklh@deeplearning-01:~/projects/bliss]
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bliss
>>> bliss.__file__
'/home/dereklh/projects/bliss/bliss/__init__.py'
>>>
(bliss-FSmgvuKM-py3.8) [dereklh@deeplearning-01:~/projects/bliss]
$ cd case_studies/
(bliss-FSmgvuKM-py3.8) [dereklh@deeplearning-01:~/projects/bliss/case_studies]
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bliss
>>> bliss.__file__
'/home/dereklh/projects/bliss/bliss/__init__.py'


Working on Issue #48. Instead of parsing the Java Flight Recordings a…

…s a flamegraph file, which can be very large, we'll store as a compressed flamegraph file (flatbuffer: CFlamegraph). This currently does not work - com.github.kornilova_l.flight_parser.FlightParser, which currently handles the *.jfr parsing, does not support CFlamegraph.
--
Hi @kornilova-l, I made a bit more progress this attempt. We'll need add support for *.jfr parsing to CFlamegraph, the flatbuffer definition. The naive approach would be converting the current 'stacks' approach (FlightParser.getStacksMap => Map<String, Integer>) to CFlamegraph, but that'll be somewhat slow parsing Strings and converting. However, that may be better than modifying your FlightParser class to support CFlamegraph, as that'd couple the projects together.
This currently does not work, but properly calls the new conversion method JMCToCFlamegraphConverter.convert'. This new class is largely a copy of JMCConvert, but I didn't want to modify that due to the deprecated flag on the class.

Made a rough stab at implementing CFlamegraph parsing via the HashMap<String, Integer> we get from the FlightParser. Definitely not working when parsing the ClassName, MethodName, or Description when populating the lines, but it works some of the time. Hope that gets the intent across.
FYI, I think I found a possible bug. In multiple places in the code, HashMaps are used to manage the String/Integer mapping of class/method/description names. These get dumped to String arrays. Thing is, this doesn't preserve order. I think this may be resulting in the flamegraph's order of calls not being preserved. I'll need to test it more.

Oh, and sorry for lack of index out of bounds checks and other important checks. I do not consider this pull-ready; purely for WIP review.

About stacks that are stored in HashMap: originally flamegraph loses stacks order because stacks of different time intervals are merged together if they are equal.
TreesUtil.updateNodeList appends node such that nodes are in alphabetical order.

If you face unknown problem try open build/idea-sandbox/system/log/idea.log (file in project directory) there are may be some exceptions

Thanks for the input @kornilova-l ! I'll review and make the changes.
I won't be looking at this until Monday - the US has a national holiday tomorrow and we're off Friday as well.
Have a wonderful week and weekend!

Sure, will close and submit a new PR.


TypeError when using getSentiment method as shown in the README

Using natural version 0.6.1 on WSL - windows 10
From the docs under sentiment analysis the getSentiment method receives a string as a parameter but doing so causes an error
TypeError: words.forEach is not a function

Following the stack trace brought me here
https://github.com/NaturalNode/natural/blob/b05a271fd446e837ebaedf35eb634f3fcc3cffa4/lib/natural/sentiment/SentimentAnalyzer.js#L84
where I noticed that words param doesn't automatically get converted into an array hence the error.
Although there's a comment on line 78 that says words is  an array of words (strings)
So my workaround for this is:
// Use the tokenizer to generate an array
sentiment.getSentiment(tokenizer.tokenize("I like cherries"))

// or String.split(...) using whitespace - Doesn't tokenize punctuation marks
sentiment.getSentiment("I like cherries".split(" "))

Maybe you could update the docs to reflect this or edit the code to automatically convert words into an array if it isn't.
The SentimentAnalyzer class also appears to be missing in the typescript type definition files.

I see what you mean. The documentation is wrong of course :-) The code is always right.
If we let the sentimenter tokenize, it needs to have a language-specific tokenizer. The constructor is the right place to initialise the tokenizer, just like passing the stemmer.
For now, I will fix the README.
Hugo


i18n(es): Update imports.mdx

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.
Update translation imports.mdx

gracias @Waxer59 y @dreyfus92!


Poor justification

the user should have the choice to opt-in

Visiting a website is already an opt-in action. If you don't like it, don't go there!

i would disagree with that, a user visiting a website doesn't know what content that website might hold.

I agree with @devsnek, you can't know what's on a site before going on it. Additionally, a user should have the choice on whether he wants to run something on his machine as much as webmasters have the choice to not serve him content if he refuses to mine coins. Anti-No Coin someone? 😄
Closing the issue.


ART Index

This PR adds support for adaptive radix tree (ART) index. Notice that ART index cannot be created before catalog, because ART relies on catalog to reconstruct key nows and then; detailed explanation is provided in the comment for LoadKey() function in art_index.cpp. After catalog is up and running, ART index can be created on any kinds of keys.
TODO:
ART code gen

Coverage decreased (-0.5%) to 74.556% when pulling 544c7e7b86aa2a6459e1e39c80e1840459ea93d4 on huangminchn:ART_PR into e309a32a1ba08a422670717c61e8d2b0e35fd007 on cmu-db:master.

Coverage decreased (-3.7%) to 71.307% when pulling 43ed5dd808c13f0c0f740b8a1f6dce3cf4a5907b on huangminchn:ART_PR into e309a32a1ba08a422670717c61e8d2b0e35fd007 on cmu-db:master.

Coverage decreased (-0.6%) to 74.43% when pulling 8e92df8bee0ea2869cd944d4bc841b0530a2295d on huangminchn:ART_PR into e309a32a1ba08a422670717c61e8d2b0e35fd007 on cmu-db:master.

Coverage decreased (-0.7%) to 74.397% when pulling a6b32c6c448f47d164d2891a7d60f63f476a9780 on huangminchn:ART_PR into e309a32a1ba08a422670717c61e8d2b0e35fd007 on cmu-db:master.


[EBPF] Bump KMT images

What does this PR do?
Update KMT images to the latest version.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/trigger-ci -v RUN_KMT_TESTS=on

/merge


Allow talks with no Q&A to disable it

so the bot doesn't shout

@kittykat For WEDF, do any of the talks have Q&A? Currently all JSON-schedule talks will have Q&A disabled; I'd have to add in support for Q&A if it's desired.

@reivilibre Sander confirmed no Q&A rooms

see https://github.com/matrix-org/conference-bot/pull/135

for this year: Q&A availability will be determined by Room ID — D.* and M.test will have Q&A


fix: perfix match

fix https://github.com/envoyproxy/gateway/issues/2366

Close this one. I didn't notice that you already opened a PR @tmsnan

@zhaohuabing, this is better, I have closed the other one 🤣

@zhaohuabing @tmsnan thanks for finding and fixing this.
shouldnt the fix be to add / to the prefix helper function ?

@zhaohuabing @tmsnan thanks for finding and fixing this. shouldnt the fix be to add / to the prefix helper function ?

I thought about it. I'm a bit uncomfortable to change%s/rule/%d/match/%d to %srule/%d/match/%d. / is not part of the prefix but a delimiter.

@zhaohuabing one concern I have is, we may need to continue duplicating code (add the extra /) in the future instead of reusing it

Agree. Fixed in https://github.com/envoyproxy/gateway/pull/2394


Deleting pages

Within my _protected/app/system/modules/page/views/base/tpl/main folder, I deleted certain pages that I don't need such as the Affiliate Terms, Links, Jobs and Partners page so they do not show up on the homepage at all, but the links to the Jobs, Links and Partners pages still show up and when clicked on, on the live site:
This comes up for the Jobs page:

This comes up when the Links page link is clicked on:

And this comes up when the Partners link is clicked:

What other file(s) do i need to edit so these links do not appear on the homepage?
Thank you.

Any suggestions on other files I need to edit so these link are not visible on the homepage? Thanks.

You will also have to edit the bottom menu.
For instance, removing this line for the "Jobs" page https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/templates/themes/base/tpl/bottom_menu.inc.tpl#L21

Thanks for responding, that worked perfectly! Thank you.

@CooperAshley2 You can also use the fgrep command on a shell prompt. It will allow you to search through all the source file.

@CooperAshley2 Ex: fgrep -r 'Jobs'


Get NIRISS imaging working

Make updates to the basic switches/modes that are needed to allow NIRISS imaging to run.
Kevin Volk will collect and supply the necessary reference/configuration files.

NIRISS imaging functionality added in pull request #55. In addition to the simple updates adding NIRISS to the list of acceptable instruments/detectors/etc, an update was made to the filename format for the PSF library to make it more consistent and easier to use. The IPC inversion function was also replaced with a new version based on Kevin Volk's version. The previous inversion function was not correct.