Find the current plant to display based on NFTFruits

Hope there's enough there to make a guess at this.
The type of plant is "species" from DNA which may be a getDNA or getSpecies function from Wary's Plant contract.
Species is a value from 0-7 (there are 8 species).

There's a number of differences between the old tree and the new plants.
One of them is the idea of mass has been replaced with branches.
So code like
const TreeStages = ["SEED", "SPROUT", "BABY", "TEENAGE", "ADULT", "DEAD"]; const MassPerStage = 50; // make same as in Seed.sol
is no longer going to work.

Branches grow exponentially not constant or linear. I think around 1000 (normal) branches is what we should consider adult.  Or we could say 2^10. Then other stages are smaller powers of 2, e.g.
sprout: 2^4
baby: 2^6
teen: 2^8
adult: 2^10

so we will not "DEAD" state anymore?

so we will not "DEAD" state anymore?

We should, but how that happens is not yet defined - see https://github.com/PlantaFi/plantation/issues/6
There is a "longevity" gene in the DNA. This could mean we set a base constant LIFESPAN_HOURS multiplied by the gene *(1 + 4%) .
Another possibility is when all branches die then the tree is dead. As the tree gets older, the chance for new branches decreases and chance for weakening/dying increases, and more watering is needed to survive and eventually it's not worth keeping alive. But this needs some simulation...


Does this support pug ?

I want to use pug in TSX, so I import babel-plugin-transform-react-pug . But  I got an error : Cannot find name 'pug'.

http://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html
https://www.npmjs.com/package/@types/pug

What should I do  if I want to use pug in React?


Sync admin client from Keycloak main and re-enable testing with 24

closes keycloak/keycloak#32036
Summary of changes in this repository:

Small update in sync-keycloak-sources.sh as it is needed to remove existing files before overwrite from latest keycloak files provided by maven-dependency-plugin

Update in README.md with a notes for how to sync files

Re-added testing with Keycloak 24 (disabled before because of the issue keycloak/keycloak#32035 )

Sync files from latest Keycloak (containing the fix of keycloak/keycloak#32035 and other changes added to Keycloak in the meantime)

@pskopek Yes, exactly. Changes in src/* are from the main Keycloak repo

@rmartinc @graziang @pskopek Thanks!


RFE: shrink/expand to fit the text in the menu options

I'm searching for a paper-dropdown-menu/vaadin-select type element that will automatically shrink/expand (perhaps with some padding) depending on the length of the text in the menu options - sort of like the 'width: fit-content' style. Someone on slack suggested I ask for such functionality here.

Can you clarify do you only expect the dropdown overlay width to be adjusted to fit content?
Or do you also want the control width (when overlay is closed) to be adjusted?
If so, should it be based on selected value? Or the control width should be the same as the adjusted overlay width (maybe increasing both just enough to make space for the arrow down icon so they are both the same size but based on size of largest item)?

I can imagine someone would only want the overlay size to be adjusted (but having a fixed size or maybe 100% width) on the control. And somebody might want both. Imo implementation should probably allow for at least these 2 cases.

I want the menu as it is when there's not been any interaction, to be sized to fit the items on the menu...so that it doesn't change when you select the longest one.

Originally the width was behaving differently, it was changed to fit input width by #107.
In order to implement this feature, we probably have to adjust this block:
https://github.com/vaadin/vaadin-select/blob/7f8da3a6795554f181db1af8e1d9db796fe5bbdf/theme/lumo/vaadin-select-styles.html#L117-L119
So that it would look something like this:
[part~="overlay"] {
  min-width: var(--vaadin-select-overlay-min-width, var(--vaadin-select-text-field-width));
}

Then you could set it like that:
html {
  --vaadin-select-overlay-min-width: auto;
}

I was in a bit of a rush, so I had to make a solution with javascript to measure the menu items and set the width of my paper-dropdown-menu that way. I already have a new requirement to be able to 'search' the options, akin to an 'auto-complete' field, so paper-dropdown-menu isn't going to do that...not sure if vaadin-select will either, but I'll be looking into it next week (suggestions welcome!).


setup turbo caching on ci

we dont't reuse turbo caching, but we should

Perhaps this solution will help you figure out the problem click


Syntax coloring breaks

Description
Syntax highlighting/coloring breaks for some unknown reason in the additional WHERE clause statement. Screen recording is attached.
https://github.com/dbeaver/dbeaver/assets/114302087/6b4bc3dd-5fe2-4b91-8aeb-b9f4a46a37c3
DBeaver Version
Version <IP_ADDRESS>405191503
Operating System
MacOs Sonoma 14.4.1 (23F79)
Database and driver
Server: Snowflake 8.20.0
Driver: Snowflake 3.14.4
Steps to reproduce
No response
Additional context
No response

I see. Thank you

Tested this on Windows. I was able to replicate the issue there.
Also, I think this echoes my previous issue reports where the autocompletion breaks, I found out that whenever Dbeaver is not used for some time (say 2 hours), the autocompletion breaks. If you right click the connection name on the left pane and hit refresh, the functionality does not come back. Only after you expand the connection name and then right click the database name and hit refresh, you get the autocompletion back. If that is not useful, why do we have refresh option on the connection name? Should it not refresh whatever comes below it hierarchically?
Attaching screenshot for this. Right clicking on the connection name "ANALYTICS_PRODUCTION" does not restore the autocompletion functionality but only ANALYTICS_PROD_DB. If you are pulling data from others, like AI_EHR_DEBUGGER_APP, you need to right click and refresh that too to get the autocompletion functionality.

Hello folks, I see that this issue was fixed. However, after updating to the latest version today, I still see that ILIKE keyword does not work properly. Attaching a screenshot.


Clipart icons displayed incorrectly

Environment: Ubuntu 16.04, Google Chrome 58.0.3029.110 (64-bit)
I can't see any errors in networking & console. If there anything else I can share let me know.
In Firefox it works as expected.

Looks like the material icon font isn't loading. Make sure you don't have it locally installed, or try a hard browser refresh. Guessing other sites that use the icon font also wouldn't load.


Homebrew: panics when accessing http interface in the browser

Description
Program panics when running the http subcommand:
Steps to reproduce the issue:

install latest tagged release (Cayley version: 0.7.7 Git commit hash: dcf764f)
Start the http interface: cayley http
Visit the printed URL in the browser: listening on <IP_ADDRESS>:64210, web interface at http://<IP_ADDRESS>:64210

Received results:
The program panics
$ cayley http
ERROR: logging before flag.Parse: E0416 09:03:27.896449   13863 cayley.go:142] The assets flag is deprecated as assets are provided as part of the binary.
I0416 09:03:27.897303   13863 command.go:805] Cayley version: 0.7.7 (dcf764f)
I0416 09:03:27.898217   13863 http.go:20] using backend "memstore"
I0416 09:03:27.898733   13863 command.go:826] listening on <IP_ADDRESS>:64210, web interface at http://<IP_ADDRESS>:64210
2020/04/16 09:03:31 http: panic serving <IP_ADDRESS>:56195: runtime error: invalid memory address or nil pointer dereference
goroutine 12 [running]:
net/http.(*conn).serve.func1(0xc00027b0e0)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:1767 +0x139
panic(0x508cce0, 0x6090b90)
	/usr/local/Cellar/go/1.13.1/libexec/src/runtime/panic.go:679 +0x1b2
html/template.(*Template).lookupAndEscapeTemplate(0x0, 0xc000154cc0, 0xa, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.13.1/libexec/src/html/template/template.go:144 +0x4e
html/template.(*Template).ExecuteTemplate(0x0, 0x54f7800, 0xc0002820e0, 0xc000154cc0, 0xa, 0x0, 0x0, 0x60af040, 0x2)
	/usr/local/Cellar/go/1.13.1/libexec/src/html/template/template.go:133 +0x43
github.com/cayleygraph/cayley/internal/http.serveUI(0x5519300, 0xc0002820e0, 0xc00011cd00, 0x0, 0x0, 0x0)
	/private/tmp/cayley-20191015-59110-t1xb58/src/github.com/cayleygraph/cayley/internal/http/ui.go:35 +0x156
github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0000ee600, 0x5519300, 0xc0002820e0, 0xc00011cd00)
	/private/tmp/cayley-20191015-59110-t1xb58/pkg/mod/github.com/julienschmidt/httprouter@v1.2.0/router.go:334 +0x95e
net/http.(*ServeMux).ServeHTTP(0x60af040, 0x5519300, 0xc0002820e0, 0xc00011cd00)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc00029a000, 0x5519300, 0xc0002820e0, 0xc00011cd00)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc00027b0e0, 0x5520c00, 0xc0000ee740)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:2927 +0x38e
2020/04/16 09:03:31 http: panic serving <IP_ADDRESS>:56197: runtime error: invalid memory address or nil pointer dereference
goroutine 63 [running]:
net/http.(*conn).serve.func1(0xc000274dc0)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:1767 +0x139
panic(0x508cce0, 0x6090b90)
	/usr/local/Cellar/go/1.13.1/libexec/src/runtime/panic.go:679 +0x1b2
html/template.(*Template).lookupAndEscapeTemplate(0x0, 0xc000154da0, 0xa, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.13.1/libexec/src/html/template/template.go:144 +0x4e
html/template.(*Template).ExecuteTemplate(0x0, 0x54f7800, 0xc0002821c0, 0xc000154da0, 0xa, 0x0, 0x0, 0x60af040, 0x2)
	/usr/local/Cellar/go/1.13.1/libexec/src/html/template/template.go:133 +0x43
github.com/cayleygraph/cayley/internal/http.serveUI(0x5519300, 0xc0002821c0, 0xc00011ce00, 0x0, 0x0, 0x0)
	/private/tmp/cayley-20191015-59110-t1xb58/src/github.com/cayleygraph/cayley/internal/http/ui.go:35 +0x156
github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0000ee600, 0x5519300, 0xc0002821c0, 0xc00011ce00)
	/private/tmp/cayley-20191015-59110-t1xb58/pkg/mod/github.com/julienschmidt/httprouter@v1.2.0/router.go:334 +0x95e
net/http.(*ServeMux).ServeHTTP(0x60af040, 0x5519300, 0xc0002821c0, 0xc00011ce00)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:2387 +0x1bd
net/http.serverHandler.ServeHTTP(0xc00029a000, 0x5519300, 0xc0002821c0, 0xc00011ce00)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:2802 +0xa4
net/http.(*conn).serve(0xc000274dc0, 0x5520c00, 0xc0000ee8c0)
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:1890 +0x875
created by net/http.(*Server).Serve
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:2927 +0x38e

Expected results:
I expect to be able to visit HTTP interface in the browser
Output of cayley version or commit hash:
$ cayley version
ERROR: logging before flag.Parse: E0416 09:03:21.287714   13841 cayley.go:142] The assets flag is deprecated as assets are provided as part of the binary.
Cayley version: 0.7.7
Git commit hash: dcf764f

Environment details:
Backend database: memory
OS: macOS Catalina 10.15.3 (19D76)
I had a look into the panicking code cayleygraph/cayley/internal/http/ui.go:35 and I suspect the query.html template is referencing some named templates which do not seem to exist so maybe that's causing the panic?

Hey, thank you for reporting. This is a known issue. This weekend I finally completed my pull request to Homebrew to fix the build: https://github.com/Homebrew/homebrew-core/pull/53729
In the midtime, you can run Cayley using docker or by installing the binary from the releases page.

The PR is merged. You can now reinstall Cayley from brew and the problem should be fixed


tests: drivers: counter: counter_basic_api: drivers.counter.basic_api fails on nrf54h20 ppr

Describe the bug
The tests:
-tests/drivers/counter/counter_basic_api/drivers.counter.basic_api
Observed for

nrf54h20dk/nrf54h20/cpuppr

To Reproduce
Steps to reproduce the behavior:

have nrf54h20dk/nrf54h20/cpuppr connected
go to your zephyr dir
call ./scripts/twister -T tests/drivers/counter/counter_basic_api -p nrf54h20dk/nrf54h20/cpuppr --device-testing --device-serial /dev/ttyACM1 -v --inline-logs
See console output with error

Expected behavior
Valid console output
Impact
Not clear
Logs and console output
tests/kernel/interrupt/arch.interrupt.minimallibc:
 ERROR   - *** Booting Zephyr OS build v3.7.0-rc2-61-g6700a154be3c ***
Running TESTSUITE counter_basic
===================================================================
START - test_all_channels
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Testing rtc@928000
Testing rtc@929000
PASS - test_all_channels in 1.331 seconds
===================================================================
START - test_cancelled_alarm_does_not_expire
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:951: test_cancelled_alarm_does_not_expire_instance: (0 not equal to cnt)
timer@9d3000: Expected 0 callbacks, got 1 (i:744)
FAIL - test_cancelled_alarm_does_not_expire in 16.807 seconds
===================================================================
START - test_late_alarm
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:703: test_late_alarm_instance: (-ETIME not equal to err)
timer@9d3000: Unexpected error (0)
FAIL - test_late_alarm in 0.745 seconds
===================================================================
START - test_late_alarm_error
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:754: test_late_alarm_error_instance: (-ETIME not equal to err)
timer@9d3000: Failed to detect late setting (err: -16)
FAIL - test_late_alarm_error in 0.748 seconds
===================================================================
START - test_multiple_alarms
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:565: test_multiple_alarms_instance: (0 not equal to err)
timer@9d3000: Counter failed to set top value
FAIL - test_multiple_alarms in 1.125 seconds
===================================================================
START - test_set_top_value_with_alarm
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:277: test_set_top_value_with_alarm_instance: (0 not equal to err)
timer@9d3000: Counter failed to set top value (err: -16)
FAIL - test_set_top_value_with_alarm in 1.516 seconds
===================================================================
START - test_short_relative_alarm
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Skipped for timer@9d2000
Skipped for timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:175: counter_tear_down_instance: ((err == 0) || (err == -ENOTSUP) is false)
timer@9d3000: Setting top value to default failed
FAIL - test_short_relative_alarm in 0.812 seconds
===================================================================
START - test_single_shot_alarm_notop
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:433: test_single_shot_alarm_instance: (0 not equal to err)
timer@9d3000: Counter set alarm failed (err: -16)
FAIL - test_single_shot_alarm_notop in 1.237 seconds
===================================================================
START - test_single_shot_alarm_top
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:440: test_single_shot_alarm_instance: (1 not equal to cnt)
timer@9d2000: Expecting alarm callback
FAIL - test_single_shot_alarm_top in 1.103 seconds
===================================================================
TESTSUITE counter_basic failed.
Running TESTSUITE counter_no_callback
===================================================================
START - test_set_top_value_without_alarm
Testing timer@9a2000
Testing timer@9a3000
Testing timer@9b2000
Testing timer@9b3000
Testing timer@9c2000
Testing timer@9c3000
Testing timer@9d2000
Testing timer@9d3000
Assertion failed at ../../../../../../../../../../zephyr/zephyr/tests/drivers/counter/counter_basic_api/src/test_counter.c:326: test_set_top_value_without_alarm_instance: (0 not equal to err)
timer@9d3000: Counter failed to set top value (err: -16)
FAIL - test_set_top_value_without_alarm in 0.788 seconds
===================================================================
TESTSUITE counter_no_callback failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL -  11.11% [counter_basic]: pass = 1, fail = 8, skip = 0, total = 9 duration = 25.424 seconds
- PASS - [counter_basic.test_all_channels] duration = 1.331 seconds
- FAIL - [counter_basic.test_cancelled_alarm_does_not_expire] duration = 16.807 seconds
- FAIL - [counter_basic.test_late_alarm] duration = 0.745 seconds
- FAIL - [counter_basic.test_late_alarm_error] duration = 0.748 seconds
- FAIL - [counter_basic.test_multiple_alarms] duration = 1.125 seconds
- FAIL - [counter_basic.test_set_top_value_with_alarm] duration = 1.516 seconds
- FAIL - [counter_basic.test_short_relative_alarm] duration = 0.812 seconds
- FAIL - [counter_basic.test_single_shot_alarm_notop] duration = 1.237 seconds
- FAIL - [counter_basic.test_single_shot_alarm_top] duration = 1.103 seconds
SUITE FAIL -   0.00% [counter_no_callback]: pass = 0, fail = 1, skip = 0, total = 1 duration = 0.788 seconds
- FAIL - [counter_no_callback.test_set_top_value_without_alarm] duration = 0.788 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

OS: Ubuntu 20.04.1 LTS
Toolchain Zephyr SDK 0.16.8
Commit SHA or Version used: v3.7.0-rc2-61-g6700a154be3c

After #75010 , issue still occurs but name of the test has changed.

nrf_triage_done


feat(cdk/scrolling): ScrollToElement/Item function

Feature Description
A function that would scroll to an element/item rather than to offset would be much appreciated, as now the developer must implement logic to calculate offset based on his understanding of the scrolling module.
Use Case
To streamline developer experience of scrolling to element. This will also be essential once #10113 will be implemented.
Possible functions

scrollItemIntoView
scrollIndexIntoView

Pass the item in the collection to scroll to. Type of function would mirror scrollIntoView.
The types would be:
/**
Interface already in TS
interface scrollIntoViewOptions {
  behavior?:  'auto' | 'smooth';
  block?:  'start' | 'end' | 'center' | 'nearest';
  inline?:  'start' | 'end' | 'center' | 'nearest';
}
*/
function scrollItemIntoView(
  item: T,
  options?: scrollIntoViewOptions,
)
function scrollIndexIntoView(
  index: number,
  options?: scrollIntoViewOptions,
)

I think the index method makes sense, but I'm not sure about passing in an element. By definition virtual scrolling doesn't keep all elements in the DOM at the same time so you wouldn't be able to get a hold of an element outside the viewport anyway.

@crisbeto There is no function that involves HTMLElement, there is one for item. It is basically the same as index, but you need to do list.indexOf(item) with it first...

The description and title talk about an element in "A function that would scroll to an element". IMO it should only be an index since it keeps the API surface smaller and the indexOf call is trivial to add yourself.

Wrong title I suppose. The item function can be left unimplemented. I was at first mirroring the native API.

EDITed: Proposition to not contain scrollItemIntoView.

@crisbeto I have tried to create scrollIndexIntoViewIfNeeded, but I hit a problem. I don't seem to be able to recognize if the index (, or its element) is within the visible viewport.
const viewPort: CdkVirtualScrollViewport;

scrollToIndex(index: number): void {
	const range = viewPort.getRenderedRange();

	if (range.start > index || range.end < index) {
		// Scroll is 100% needed.
		viewPort.scrollToIndex(index, 'auto');
	} else {
		// The index is within range, but not necessarily within visible viewport!
	}
}

A function this.viewPort.getViewportRange(), is needed to be able to consistently scroll to element in list. It would also allow me to scroll the element to the middle of the list instead of start.


Missing file

Hello there, I would like to try this but I can not deploy the requirements because requirements.txt is missing.
Best Regards

Went thru the code. Looks like the requirements are:
tkreadonly
guitest
pipes

I can't find the library for this line from fs5test.utils.config import get_setting, update_settings, load_settings
Would be great if this tool was on PyPI.

Sorry it took some time to respond back on this.. But I spent some time today to resolve the spurious dependencies and checked in latest changes. Please try it and let me know if you would like any additional support. Thanks again for bringing this to my attention.


Added extension submission states

Docs Build status updates of commit bdce4a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/submission-states.md
:white_check_mark:Succeeded

microsoft-edge/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit b388f68:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/port-chrome-extension.md
:white_check_mark:Succeeded

microsoft-edge/extensions-chromium/publish/submission-states.md
:white_check_mark:Succeeded

microsoft-edge/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 764d814:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/port-chrome-extension.md
:white_check_mark:Succeeded

microsoft-edge/extensions-chromium/publish/submission-states.md
:white_check_mark:Succeeded

microsoft-edge/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 4d1b6c1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/port-chrome-extension.md
:white_check_mark:Succeeded

microsoft-edge/extensions-chromium/publish/submission-states.md
:white_check_mark:Succeeded

microsoft-edge/toc.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Signed off and merged into master branch.


[WIP] Design principles for Koalas

Here is a WIP document about the scope and the vision of the Koalas project. This still lacks structures and examples, but it provides some guidance about where I believe the project should go. Feedback is welcome!
Resolves #119.

We should also talk about docs -- for example, I think it'd be useful for each function to have an example code snippet along with its output. That's really the easiest way to understand what the API does.

I'm going to work on this pr this week and add some stuff.

I'm going to merge this in and edit.


static infinity

I'm not sure whether it makes more sense here or in Static.jl, but I'd think there should be code somewhere to make this work:
julia> static(∞)
ERROR: There is no static alternative for type Infinities.Infinity.
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] _no_static_type(x::Any)
   @ Static ~/.julia/packages/Static/2w1BY/src/Static.jl:85
 [3] static(x::Infinities.Infinity)
   @ Static ~/.julia/packages/Static/2w1BY/src/Static.jl:70
 [4] top-level scope
   @ REPL[6]:1

It would be odd for Static.jl to depend on Infinities.jl so if anything it should be the other way around
but i don't understand what a "static type" is. Is it what I would call a "Singleton type"?

It's like a Val with proper subtyping and arithmetic methods, so more can be computed statically. Great trick for pushing work to compile time.

I would still call that a singleton type…
yes I’ll accept a PR


Integration tests are hard too debug

It is not clear what is going on here:
I0914 12:20:11.431571    2208 heapster_api_test.go:111] built and pushed heapster image
--- FAIL: TestHeapster (70.96s)
        Location:       heapster_api_test.go:469
	Error:		No error is expected but got unable to modify replica count for rc heapster: replicationControllers "heapster" not found

FAIL
exit status 1

I0914 09:46:09.983698   26455 framework.go:280] Successfully setup new kubernetes cluster version 1.0.1
--- FAIL: TestHeapster (498.92s)
	assertions.go:154:

	Location:	heapster_api_test.go:469

	Error:		No error is expected but got expected non zero timeseries

FAIL
exit status 1

Any suggestions for improving error propagation? We can encode the line
number or possibly log all errors as soon as they are noticed.
On Mon, Sep 14, 2015 at 4:29 AM, Marcin Wielgus<EMAIL_ADDRESS>wrote:

It is not clear what is going on here:
I0914 12:20:11.431571    2208 heapster_api_test.go:111] built and pushed heapster image
--- FAIL: TestHeapster (70.96s)
Location:       heapster_api_test.go:469
Error:      No error is expected but got unable to modify replica count for rc heapster: replicationControllers "heapster" not found
FAIL
exit status 1
I0914 09:46:09.983698   26455 framework.go:280] Successfully setup new kubernetes cluster version 1.0.1
--- FAIL: TestHeapster (498.92s)
assertions.go:154:
Location:   heapster_api_test.go:469

Error:      No error is expected but got expected non zero timeseries

FAIL
exit status 1
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/heapster/issues/543.

Adding some debugs in #558 so the executed steps are printed and it is possible to tell which of the sub-tests failed.

Added even more debugs in #562. Closing for now.


Varargs not working for entrypoints

Varargs (String...) are not working for entrpoints since v0.2.0-alpha.

560ee4c


SCM is now retired

Should now state Security Compliance Toolkit is recommended for 2016/Windows 10

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

ID: 4762d9fe-e510-df71-a718-aa0d018db38f
Version Independent ID: fc2f30ef-e71d-5167-6d41-7abadbc2892a
Content: Securing Domain Controllers Against Attack
Content Source: WindowsServerDocs/identity/ad-ds/plan/security-best-practices/Securing-Domain-Controllers-Against-Attack.md
Service: unspecified
GitHub Login: @billmath
Microsoft Alias: billmath

Resolving in private repo branch GitHubIssues072018

#please-close


Separate max-len eslint rule for Vue template tag

What problem does this feature solve?
When using ESLint's max-len rule, it is applied to all of a vue single-file component. It would be better to provide separate max-len for an SFCs template tag vs the script.
It is very common to use the default max-len of 80 characters in a javascript file, but markup typically will have much longer lines.
At the moment, the default Vue CLI template fails max-len on HelloWorld.vue. This would fix that if the default for the vue rule was set to something higher.
What does the proposed API look like?
Add a rule called vue/max-len-template reusing the same settings for ESLint's normal max-len:
https://eslint.org/docs/rules/max-len
In .eslintrc.config:
module.exports = {
  'rules': {
    '@vue/max-len-template': ["error", { "code": 200 }],
    'max-len': 80
  }
}

See:
https://github.com/mysticatea/vue-eslint-parser#-known-limitations
https://github.com/mysticatea/vue-eslint-parser/issues/15#issuecomment-322093990
🙁

A proposal for a '@vue/max-len' rule has been accepted in eslint-plugin-vue

@nino-vrijman That's great news! Any estimate on how long the process might take to fully integrate the new rule? Thanks!

@nino-vrijman That's great news! Any estimate on how long the process might take to fully integrate the new rule? Thanks!

I'm not sure since I don't contribute to eslint-plugin-vue, I would subscribe to the issue I linked to in my previous message so you will be notified as soon as more is known.


Feature to automatically choose batch size

Let's add a flag:
# default False
Trainer(auto_scale_batch_size=True)

This should do  binary search on batch size:

Run a few train steps using the current batch size.
if OOM batch_size / 2.
If no OOM, batch_size = batch_size * 1.5.

And so on until we find the optimal batch size. At this point log it so the user knows (including tensorboard), and continue training with the new batch size.
Ideally the user fixes the batch size in future runs to tune the learning rate.

I'd recommend a proper binsearch instead, so more like:

start with batch_size = 1
double batch_size until OOM
binsearch between batch_size//2 and batch_size

Alternative mode: just use the highest power of 2 batch size that fits.

I am doing this right now
def max_gpu_batch_size(
    dataset: data.TextDataset,
    finetuner: pl.LightningModule,
    n_samples: int = 128,
    device: Union[torch.device, int] = 0,
) -> int:
    """
    Tries to find a maximal batch size for a device, assuming only that the memory usage of the
    model and the total available memory are both stable.

    Should be reliable, but slow, you probably only want to run it once.
    """
    device = torch.device(device)  # type: ignore
    device_max_mem = torch.cuda.get_device_properties(device.index).total_memory

    def test_run(batch_size):
        logger.debug(f"Trying a run with batch size {batch_size}")
        with tempfile.TemporaryDirectory() as temp_dir:
            torch.cuda.empty_cache()
            torch.cuda.reset_peak_memory_stats(device)
            loader = data.TextLoader(dataset, batch_size=batch_size)
            trainer = pl.Trainer(
                default_save_path=temp_dir,
                overfit_pct=n_samples / len(loader),
                gpus=[device.index],
                max_epochs=2,
            )
            try:
                trainer.fit(finetuner, train_dataloader=loader)
            except RuntimeError as e:
                if "CUDA out of memory" in str(e):
                    logger.debug("Exceeded memory capacity")
                    return None
                else:
                    raise e
        usage = torch.cuda.max_memory_allocated(device)
        logger.debug(f"Registered usage: {usage} / {device_max_mem} B")
        return usage

    # Find a majoration of max batch size as a power of two
    usage_with_min_size = 0
    for exponent in range(math.floor(math.log2(n_samples)) + 1):
        max_size = 2 ** exponent
        usage_with_max_size = test_run(max_size)
        if usage_with_max_size is None:
            break
        # This will only change as long as we don't break out, at which point it will
        # equal the usage for the previous test run
        usage_with_min_size = usage_with_max_size
    if usage_with_max_size is not None:
        logger.warning(
            f"Ran out of examples without finding a match batch size (max tried: {max_size})"
            ", you probably want to try with more examples"
        )

    # Bissect to find the max batch size
    min_size = max_size // 2
    while max_size - min_size > 1:
        try_size = (max_size + min_size) // 2
        usage_with_try_size = test_run(try_size)
        if usage_with_try_size is None:
            max_size = try_size
        else:
            min_size = try_size
            usage_with_min_size = usage_with_try_size
    logger.debug(
        f"Mem usage with inferred batch size: {usage_with_min_size} / {device_max_mem} B"
    )
    return min_size

However, I usually have to downsize it, since in distributed mode, you have the additional requirement that the device batch size should be a multiple of the number of devices used.

Sorry to comment in this closed issue, but I am kind of confused in the auto_scale_batch_size=True.
It is clear to me that we need to define the batch_size in the PL.Model to activate the auto scale process.
So at this step the batch_size is a variable and it will be calculated depending on the OOM.
But, we did not mention the batch_size that is need to be declared in the dataloaders (train, val, and test) in the LightningDataModule. I am confused here, how can we let the model decide the batch size itself with the auto_scale_batch_size=True while in the other hand we need to define a batch_size for the dataloaders? (not to mention that we need olso the batch size to calculate the warmup steps and the total training steps.)
Can you please clarify this to me, in case I did miss anything or I am confusion things!

@ma-batita I am guessing you've found your answer by now, but if not (and for anybody else), the docs explain this pretty clearly here: https://pytorch-lightning.readthedocs.io/en/latest/advanced/training_tricks.html#batch-size-finder


Having 2 main menus makes the second one not escape/close

Describe the Bug
I was just playing around with fly-pie menu editor, and I figured out that I can do more than 1 main menu (besides the one provided by default). I tried making another menu and tested it out with another shortcut. When I did the shortcut and it works, launching the app doesn't close this second menu, and it is stuck there. I don't know how to close it, and I can't even find the program itself on htop. The only way I was able to get out was to log out (it was a good thing that the second main menu had the system menu on it). I'm not sure if anyone had the same issue as mine, and how they resolved it, but it's there.
Steps to reproduce the behavior:

Launch 'Fly-Pie' Extension Settings
Go to 'Menu Editor'
Make sure you have already set a 'Main Menu' with its own keybindings.
Click on the '+' icon on the upper left.
Click 'Custom Menu'
Create another main menu beside the first main menu
Set the keybinding for the second main menu separate from the main menu. (I currently set the first main menu as Super+D and the second main menu as Super+E
Attempt to open the second main menu with the set keybinding.
Attempt to launch a program from within the second menu.

Expected Behavior
Fly-Pie will not close at all, even after launching the program or even pressing the Esc key, unlike the first main menu.
System
Please complete the following information:

Linux distribution [e.g. Ubuntu 20.04]: Arch Linux 5.14.3-arch1-1
Fly-Pie version [e.g. Fly-Pie 3, or commit SHA]: Fly-Pie 7
GNOME Shell version: [e.g. 3.36.2]: 40.4

Thanks for your report! However, I cannot reproduce this on my end. There are two things we can try:

Run journalctl -f -o cat | grep -E 'flypie|' in a terminal and then reproduce the behavior. Are there any Fly-Pie-related messages printed?
Save and upload your menu configuration from the menu editor. Then I can try to reproduce this with your configuration!

Good day.
Apparently, it suddenly "fixed" itself, and i am now able to access the second main menu properly without issues.
All I did was restart my pc, and I might've assumed that there might be some issue in the background.
Currently, i can now press Esc when accessing the second main menu, and it already closes properly when i launch an application through the second main menu.
Thank you for the concern, and sorry for the inconvenience.


x/sys/windows: add HeapAlloc and related functions

x/sys/windows has LocalAlloc and VirtualAlloc, but not HeapAlloc. HeapAlloc is generally recommended over using LocalAlloc and should be used when you're allocating memory that's not page sized.
Would necessitate HeapCreate and HeapFree.

cc @alexbrainman @zx2c4


One touch pairing

Call pair, press the button.  Get the assets back.
>>> from pylutron_caseta.pairing import pair
>>> pair("<IP_ADDRESS>")
{'key': '-----BEGIN PRIVATE KEY-----\n<SNIP>\n-----END PRIVATE KEY-----\n', 'cert': '-----BEGIN CERTIFICATE-----\n<SNIP>\n-----END CERTIFICATE-----\n', 'ca': '-----BEGIN CERTIFICATE-----\n<SNIP>=\n-----END CERTIFICATE-----\n', 'version': 1.113}

@mdonoughe If this is acceptable, can a release be made as well?

@mdonoughe If this is acceptable, can a release be made as well?

Can you make it work with asyncio?

Can you make it work with asyncio?

For the review comments, this is copied code from get_lutron_cert.py.
I can refactor it to asyncio but I'm about to be physically away from my Lutron hub for a few weeks so I won't be able to test any changes.
How do you feel about merging it as-is so we can get the config flow into home assistant and doing the refactor as a follow up when I get back home in a few weeks?

For the review comments, this is copied code from get_lutron_cert.py.
I can refactor it to asyncio but I'm about to be physically away from my Lutron hub for a few weeks so I won't be able to test any changes.
How do you feel about merging it as-is so we can get the config flow into home assistant and doing the refactor as a follow up when I get back home in a few weeks?

I was able to get this done and tested before I had to leave. Its asyncio now

I was able to get this done and tested before I had to leave. Its asyncio now

Released as 0.8.0.

Released as 0.8.0.

Released as 0.8.0.

TYVM

Released as 0.8.0.

TYVM


Can't enter debugger when video frames aren't being generated

I'm been messing with getting vb-rs working in linux.  There is something screwy such that the emulated cpu seems to get stuck in a loop and no longer rendering video frames.  When its in the state its not possible to get into the debugger since the F12 check will only happen when there are video frames available.

Hmm, this is odd. Which game(s) are you testing this with? Are you sure it's the emulated CPU? I haven't seen this before, but I recall someone having some issues with minifb on linux at some point.

There shouldn't be any looping logic at all in the cpu atm actually; it should just step and return how many cycles it took to execute the current instr and whether or not a watchpoint was hit.

Sorry I mean the game itself is stuck looping on the vb cpu, not your code.
Every game I have tried under linux seems to be getting stuck in a loop after a couple frames.   I dont have this issue with running vb-rs on my mactop.
I originally thought I was having minifb issues cause it wasnt accepting any key input, including escape.  But a little debugging shows the emu stopped rendering frames and thus key input was never being checked.  I moved the key input checks outside the if render frame restriction so I can get into the debugger and start poking around.

Yeah that's still pretty odd I think; unless I've missed something the VIP should always be producing frames, regardless of any state the emulator could be in: https://github.com/yupferris/vb-rs/blob/master/src/vip/mod.rs#L526
Will be interesting to see what you find out!

It could be that the audio thread isn't actually pulling samples off of the queue, which would mean the emulator isn't stepping. Perhaps there's something fishy going on there?

An easy way to check that is to try printing the size of read_ring_buffer.inner here: https://github.com/yupferris/vb-rs/blob/master/src/cpal_engine.rs#L91

yeah it was related to the cpal.  It has to do with the picked format.  Instead of using next() like you had it I had to pick nth(20), which is this format.
'Format { channels: [FrontLeft, FrontRight], samples_rate: SamplesRate(48000), data_type: I16 }'
Weird thing is picking 19 which was sample rate 44100 didnt work.  The ring buffer would be consumed a handful of times then stop.

Hmm, that's rather strange indeed. Do the basic CPAL examples work on your setup? I know in the emu we really should at least search for a stereo format, but yeah 44.1khz should be just fine with the resampling.

Yeah something is up with cpal.  The beep sample only beeps once.  It looks like there is an issue about it https://github.com/tomaka/cpal/issues/142

Aha, I see. Thanks for the help tracking this down!
In the meantime, it's a bit of a shame the emu can't work without audio output for now. I've been thinking about the top-level stuff a bit and how I want that to fit together; writing up a gist for the steps I want to take to fix all that, which I'll likely execute tomorrow, though bits of it may not work. I'll link that here in a sec.

Braindumped about arch here: https://gist.github.com/yupferris/b476763839094998c91ddb9ecc758984
But tl;dr (and most relevant for this issue) is basically: in the next couple days I'll be able to throw around enough stuff so at least we can easily make a local build without relying on audio :)

Ended up implementing this stuff already :)
I didn't go so far as to implement any other AudioBufferSinks or TimeSources, but a null audio sink and time source based on time::precise_time_ns should be trivial to make, which should help you test without audio at least if you're interested.

Cool I will check it out

I've been messing with it and its running a lot slower then real time, but  cpu usage is only 15-20%.
While looking into it I did find one weird thing, but it doesnt seem to effect my slowness.  When you setup the ring buffer the vec! is filling it with 0x0 data, which is then getting processed by cpal's event loop and pushed to the sound card.  This in turn is increasing the samples_read even though they arent real samples.
This seems to cause a side effect that seeds the calculated target_emulated_cycles during the first time through the emulators main while loop, which allows the inner while loop with the step() function to even run in the beginning.
'''
let target_emulated_time_ns = self.time_source.time_ns() - self.time_source_start_time_ns;
let target_emulated_cycles = target_emulated_time_ns / CPU_CYCLE_TIME_NS;
'''
It looks like you tried to get around the vec! stuff with self.time_source_start_time_ns, but this seems kinda bugged too.   If all the bogus vec! frames got pushed to the soundcard before the main emu while loop starts you will end up with self.time_source.time_ns()  and self.time_source_start_time_ns being the same value causing target_emulated_cycles to be 0.
Also as a test I added a time_avail_ns() function to the time_source which returns the number of available ns worth of audio fames the ring buffer can still handle.  Then used that to calculate the number of cycle that can be run without filling the ring buffer completely.  Doing this did fix my slowness, but I realize this isnt what you are trying to accomplish.

Aha, interesting. So the idea of the sample preload was to fill the buffer initially to allow for some headroom with the desired latency, so as far as the timer is concerned I think those should still be counted. It may have been a mistake though not to count samples read when the ringbuffer is empty though, as that would stop the time source from ticking. I think that logic needs some work.
The start time stuff is unrelated to the sample preload. I meant for a given time source's time_ns to behave like time::precise_time_ns where it yields number of ns from an unspecified epoch, so the emulator should not assume it will always start at 0. It's interesting that it ended up causing problems but I think that points to logic errors in CpalDriver rather than the interface.
Counting samples read from the buffer for the timer was an attempt to get around the case where you drag the window, where emulation would then be paused for a moment but the time source would still move forward. When you stop dragging the emulator will spit out a bunch of samples all of a sudden, but they will be played at normal speed, so suddenly the audio has enormous latency. I think the problem here is actually that the audio buffer is not an actual ring buffer anymore, so many of the assumptions I made are wrong. Converting that to a fixed size ring buffer again and using samples read from that buffer as a time source should be stable, although it will have the side-effect that when dragging the window the ring buffer's contents will be played over and over, but that's fine I think. Otherwise we'd need to detect window interaction and pause/restart the driver, and I don't think we need to complicate things more.

I've just pushed an implementation for this, and it appears to run a lot more consistently on my macbook at least (haven't tested other systems yet). Would you mind trying it out now and seeing how it goes?

(granted the emu is still pretty slow on mac right now, but it appears to be much more stable than I've seen it before)

There was an unintended consequence to this; that is, when the debugger is running, the time source is still ticking, so when exiting the debugger the emu will have to catch up for some time (depending on how much time was spent in the debugger). So, we'll probably need the ability to pause/resume the audio output for that case anyways, which will be good anyways as it would actually make the debugger silent again (currently it ends up repeating the buffer contents over and over).
Alternatively, it's likely possible to produce blank audio frames and simulate pause at the top-level by faking some of the timing var's like time_source_start_time_ns, but I'm not sure if that's a better approach or not.

Gave it a quick try before work.  Its working good for me too.

Awesome, thanks again :)

Closing this as the original issue was solved. There's still the known issue of the emu not handling time properly when the debugger is activated/deactivated, but that's separate.


Invalid characters in directory name : <->-vs-react-fragment

The directory /client/posts/<->-vs-react-fragment is causing git clone to fail as < and > are considered to be invalid in directory names.
So I suggest renaming it into something like react-fragment-shorthand-vs-longhand or rf-shorthand-vs-rf-longhand.

I would also recommend modifying your dev-server script cause rm -rf won't work everywhere and I had to run the commands individually.

Just saw that. react-fragment-shorthand-vs-longhand is better. Please change it in your recent PR 👍


ext: hal: nordic: Update nrfx to version 1.3.0

This PR updates nrfx to the recently released version containing new drivers for NFCT and USBD peripherals and enhanced SAADC HAL. The ADC shim using nrfx_saadc driver is updated with the new function from the SAADC HAL.
cc @RonAmihai

I think there is one more file to align: https://github.com/zephyrproject-rtos/zephyr/blob/master/ext/hal/nordic/nrfx/README

@anangl see comment above

@kl-cruz Thanks for pointing this out. Indeed, I forgot to update this file, also the previous time, when nrfx was upgraded to version 1.2.0...
#10171 created.


Should suppress console.error "Error in formatError" when not in debug mode

This appears to be inconsistent behavior but maybe I'm missing something. See line: https://github.com/apollographql/graphql-server/blob/e6f09c01bed12f8b3bb2b3c28383786b7c45dfe9/packages/graphql-server-core/src/runQuery.ts#L77
Reproduce: Start a server with debug: false option, throw an error in your formatError method.
Expected: No logging.
Actual: Logs the error.

@christophercliff While technically correct I don't think people should throw errors in their formatError function so it's probably not that big of an issue. However, I'd be happy to accept a PR to take into account the debug variable, if you would like to make one. While you're at it, you could also improve the error message in the subsequent error to something more informative than "Internal Server Error". Maybe "Internal Server Error: formatError function throws"

I think I'll close this since it's not really an issue in my opinion. Still happy to accept a PR to change the behavior or the docs.


Correct endianness of u128 in go client

Both encode and decode were wrong, so the round-trip tests didn't catch the bug. Adds a test that explicitly checks the bytes.

Fixes https://github.com/tigerbeetledb/tigerbeetle/issues/331


Neurodebian not available in Ubuntu 20.04

The Ubuntu environment used for this repo's GitHub Actions has just been upgraded to Ubuntu 20.04, which does not have neurodebian in its apt repository.  As a result, the tests are failing on Ubuntu.
@yarikoptic What would be the preferred way to install NeuroDebian on 20.04?

Thank you for the report... damn that I have missed that at the point of 20.04 debian most likely had no neurodebian in testing :-/

current whohas for debian and ubuntu. 20.04 is focal
$> whohas -D Debian,Ubuntu --strict neurodebian
Debian      neurodebian                            0.37.6             34K             all                       http://packages.debian.org/stretch/neurodebian
Debian      neurodebian                            0.38.3             33K             all                       http://packages.debian.org/buster/neurodebian
Debian      neurodebian                            0.41.0             34K             all                       http://packages.debian.org/bullseye/neurodebian
Debian      neurodebian                            0.41.0             34K             all                       http://packages.debian.org/sid/neurodebian
Ubuntu      neurodebian                            0.37.2             27K             all                       http://packages.ubuntu.com/xenial/neurodebian
Ubuntu      neurodebian                            0.37.2ubuntu1      25K             all                       http://packages.ubuntu.com/xenial-updates/neurodebian
Ubuntu      neurodebian                            0.37.6             28K             all                       http://packages.ubuntu.com/bionic/neurodebian
Ubuntu      neurodebian                            0.40.1             27K             all                       http://packages.ubuntu.com/groovy/neurodebian
Ubuntu      neurodebian                            0.41.0             27K             all                       http://packages.ubuntu.com/hirsute/neurodebian

unfortunately AFAIK there is no clean way to add neurodebian to stock 20.04 now. To avoid custom code (e.g. following minimal installation instructions from neuro.debian.net) for alternative "enabling neurodebian", I think the best would be to just download neurodebian package backport.  Since version could change on http://neuro.debian.net/debian/pool/main/n/neurodebian/, I guess we should just use http://snapshot-neuro.debian.net/ , and just download and dpkg -i

http://snapshot-neuro.debian.net/archive/neurodebian/20210221T060502Z/pool/main/n/neurodebian/neurodebian-archive-keyring_0.41.0~nd20.04%2B1_all.deb
http://snapshot-neuro.debian.net/archive/neurodebian/20210221T060502Z/pool/main/n/neurodebian/neurodebian-popularity-contest_0.41.0~nd20.04%2B1_all.deb
http://snapshot-neuro.debian.net/archive/neurodebian/20210221T060502Z/pool/main/n/neurodebian/neurodebian_0.41.0~nd20.04%2B1_all.deb

?

@yarikoptic

To avoid custom code (e.g. following minimal installation instructions from neuro.debian.net)

What's so bad about those instructions?  As far as I can tell, the worst part is that datalad-installer's sudo confirmation check currently isn't set up to show the user the contents of the file being added to sources.list.d.

They also don't choose optimal mirror for you (like installer does), have no options to enable devel repository, (may be there is more to it). Altogether - they aren't that bad, but we probably should have it consistent across Debian/Ubuntu releases

But hold on, indeed, we can just add repository manually (of not yet known according to apt policy) and then proceed normally to install NeuroDebian package... May be done option/envvar would need to be set to alter to override existing config

@yarikoptic So the script should follow the instructions from the website?

May be done option/envvar would need to be set to alter to override existing config

What config are you referring to?

@yarikoptic So the script should follow the instructions from the website?

yes, let's try that: do
wget -O- http://neuro.debian.net/lists/focal.us-nh.libre | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
sudo apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9

before proceeding to install neurodebian package
Ideally we should not do that "just for focal" but implement it so it does it for any release where neurodebian is not available:

odd that apt policy returns with 0 even if no package found :-/
root@b55708239a06:/# apt-cache policy neurodebian
N: Unable to locate package neurodebian
root@b55708239a06:/# echo $?
0
root@b55708239a06:/# apt policy neurodebian
N: Unable to locate package neurodebian
root@b55708239a06:/# echo $?
0

but apt install --no-act neurodebian could be used
root@b55708239a06:/# apt install --no-act neurodebian
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package neurodebian
root@b55708239a06:/# echo $?
100

but figuring out for which release to get that configuration from the web requires parsing of apt policy output, see e.g. https://github.com/neurodebian/neurodebian/blob/HEAD/tools/nd-configurerepo#L435
or do you see a better way to figure it out (we would need it even know to know which file to download, cannot just hardcode focal)?

May be done option/envvar would need to be set to alter to override existing config

What config are you referring to?

NEURODEBIAN_OVERWRITE
https://github.com/neurodebian/neurodebian/blob/HEAD/tools/nd-configurerepo#L35

@yarikoptic The name of the release can be retrieved by running lsb_release -cs.


[ENHANCEMENT] Custom metadata for Assets

I'd like to see Assets utilize a custom content type in the site pages library.  It'd be great if this content type contained columns that would surface an asset's assigned categories, subcategories, playlists and technologies.  Yes that does mean each of those columns would need to allow multiple values.
This would enable a ton of search driven UI, and provide a bunch of out-of-the-box ways to group/cross-reference assets outside of the native playlists.  For extra credit, a keyword filter added to the webpart would be a game changer.
Imagine a tag cloud webpart on the LP landing page, click on a tag, get a custom list of all assets with that tag.
Just a thought.  :)

@BostonO365 -- All of that is a great idea but it's completely out of scope for learning pathways itself which is only an aggregator and viewer of pages from support.office.com and docs.microsoft.com and your own custom pages. You certainly can do everything you're saying but then that is outside the scope and purview of learning pathways itself because search has no concept of the external content that learning pathways surfaces.  It's not a search solution in that way... if you want a search solution then I think your points are excellent but then you don't need learning pathways to get that.


Fix bug feature type for multiple qa

this should be useful for fixing this bug: https://github.com/neulab/explainaboard_web/issues/127#issuecomment-1105598033

"https://github.com/neulab/ExplainaBoard/runs/6137534624?check_suite_focus=true"

I actually didn't get the reason, I guess it is because eaas is busy at that time.


Use postgres-native-tls crate instead of with-tls feature

Both dbmigrate and dbmigrate-lib build, and the latter's tests also pass. It also compiles in my project (so the error is gone).
Fixes #34

Thanks!


Fix make unit-tests

Calling make unit-tests failed for me, first when trying to parse requirements.txt (due to not handling <!--) and secondly for not having a magefile.
The magefile is taken from one of the basic elasticbeats

Thanks for PR. I made changes https://github.com/eBay/nvidiagpubeat/pull/19 in my local copy with ES 7.2 and the unit tests cases ran fine in macOS without the changes in this PR.
$ make unit-tests
mkdir -p /Users/dvasthimal/Documents/ebay/opensource/beats_dev/src/github.com/ebay/nvidiagpubeat/build/coverage
# gotestcover is needed to fetch coverage for multiple packages
go get github.com/elastic/beats/vendor/github.com/pierrre/gotestcover
# testify is needed for unit and integration tests
go get github.com/elastic/beats/vendor/github.com/stretchr/testify/assert
go test -i ./beater/... ./config/... ./nvidia/... .
/Users/dvasthimal/Documents/ebay/opensource/beats_dev/bin/gotestcover  -coverprofile=/Users/dvasthimal/Documents/ebay/opensource/beats_dev/src/github.com/ebay/nvidiagpubeat/build/coverage/unit.cov  ./beater/... ./config/... ./nvidia/... .
ok  	github.com/ebay/nvidiagpubeat/config	0.932s	coverage: 0.0% of statements
ok  	github.com/ebay/nvidiagpubeat/beater	2.039s	coverage: 16.0% of statements
ok  	github.com/ebay/nvidiagpubeat/nvidia	1.159s	coverage: 91.4% of statements
ok  	github.com/ebay/nvidiagpubeat	1.129s	coverage: 0.0% of statements
$

What environment you see the error in ?

Really felt like this wasn't working when I tested but cannot reproduce now! For reference, all my testing is running Ubuntu in WSL to cross compile for Windows. I'll close this PR


CRASH: "realm::SharedGroup::end_read()"

We are getting lots of crashes in Crashlytics with the following stack-trace:
Crashed: com.apple.root.default-qos
0  Realm                          0x10782ba6c realm::SharedGroup::end_read() + 152
1  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
2  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
3  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
4  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
5  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
6  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
7  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
8  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
9  Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68
10 Realm                          0x10782bb74 realm::SharedGroup::close_internal(std::__1::unique_lock<realm::util::InterprocessMutex>) + 68

Can you advise us in which situation this crash might occur as the stack-trace is quite cryptic for us?
Version of Realm and Tooling
Realm framework version: 3.7.6
Realm Object Server version: none
Xcode version: 9.3
iOS/OSX version: iOS 12/11/10/9
Dependency manager + version: CocoaPods 1.5.3

I'm also getting that exact same error message.
Realm framework version: 3.7.6
Realm Object Server version: none
Xcode version: 9.3
iOS/OSX version: iOS 12/11
Dependency manager + version: Carthage 0.31.0

@alexmx @carlosjrtee Is this still occurring? Does the error continue in later versions?
It looks like this happened to a couple of developers. Is someone able to provide reproduction information with Realm 5.x?


[#314]Added images in Search not found page

Changes:
Added the images for search not found page.
Modified the headings.
Preview of the changes:

Kindly review the changes made.

@JasonDsouza212 , sir my PR #363 has been merged but the points have not been added for the same.(I got to know from the leaderboard). Kindly look into this.
Regards,
Neha Kariya


[Site] Add underlines to Feedback and Github links on the Samples, Schema Explorer, and Samples pages

Related Issue
Fixes ADO 30927092 for the Github and Feedback links in the action bar
Description
Added text-decoration: underline to the link text in the action bar
How Verified
Manually verified expected result:

Microsoft Reviewers: Open in CodeFlow

Per recent discussion with accessibility team, this fix is no longer needed.


Replace try! with ? in serde_derive

#2366
As of today, this regresses compile time of serde's generated code by 6.5–7.5% which is too bad. However try! has been disastrous for readability of the generated code coming out of cargo expand. I was expecting the performance problems in rustc to be fixed a long time ago but at this point it doesn't seem like that is going to happen.

I see, that not all try! was replaced by ?. I would say, most of them. Is it so conceived?

So what about https://github.com/serde-rs/serde/commit/91ec1c290f73777a49d200c880a3e87d86067a94 ? The crate itself should suffer from readability but it goes backward for generated code ?

Yes, that is... very strange decision :)

It's specifically cargo expand readability that is the motivation.
People are not looking at cargo expand of the serde crate. They are looking at expanded derive macros.


refactor: V3 rewrite audio

Listen1 Audio Layer Refactor
Why I do this?
Users complain about bugs related to audio play. Multiple songs are playing same time, unexpected interrupt, and so. When I start to research those bugs, I found audio play code is too complex to figure out problem. So I decide to rewrite related code.
Targets

one player instance for all usage

For historial reason, we have player.js in composition, l1_player, bridge, player_thread. Now we only need 2 instances: composition player instance to manage player UI state, and l1_player for audio play.

remove howler, use raw HTML audio object

Howler is a nice library wrapping Web Audio API and HTML5 audio api. But we only use html5 part. Another reason is howler doesn't have support for timeupdate event which is important feature for update current position of audio playing.
Remove howler and use raw HTML audio object also let us get better support for audio play errors. In l1_player, we wrap audio with nothing but playlist support, listener management.

different event listener for different usage

We create PlayerEventListener, MediaSessionListener to do different things. In old code, those functions are spreaded in serveral places which make it hard to maintain and to install/uninstall them. Now if system doesn't support media session, we can avoid to install MediaSessionListener.

optimize startup steps

Now all preparation works are done in App.vue onMounted function.
Trivial updates

optimaze shuffle play, now previous will show last song played
optimaze lyric search performance

Things to do before merge

Play error handling: (network error, resource invalid error)
electron related event handler (lyric event)
open current playlist doesn't scroll to related entry, make it annoy in long list.
reorder current playlist function

Sounds good. The howler.js covers many scenarios we don't need. But for the streaming audio, it doesn't support well. And, the original HTML5 Audio can be handled by Web Audio by using createMediaElementSource if we need to create advanced feature, e.g. Equalizer and a global volume controller by using GainNode
We can also absorb some good features from howler.js like audio cache pool and fade effects.

Thanks for useful advices, audio visualizer can be added in the future.


Added Seperate textFilter1 test

I created a new folder filters-jvm in pipelineElements. Moved the test of textfilter1 to it's respective file.

This is the desired change? I am still confused on what needed to be implemented.

Hi,
the idea of the test framework is that only three configuration files are needed for any pipeline element to test.
Have a look at the folder [1]. There is a JSON file and two CSV files. The first CSV file (named input.csv by convention) specifies the input events that are used for testing the processor.  The second CSV file (expected.csv) specifies the events that are expected to be sent by the processor. The third file (description.json) specifies the configuration of the processor (what you'd normally do in the UI). The "selector" prefix matches the internal name of the static property configuration, and the value corresponds to the value that should be applied to the config.
So in order to create a new pipeline element test, you need to create a new directory similar to textFilter1 and provide these three files. The only thing left is to register the test in the framework. You don't need to copy the code as in your PR, the only change required is to add the directory of the new test to the array in SinglePipelineElementTest.ts, line 25. The test framework will pick up the test, read the configuration from your created folder and execute the test.
Hope this helps!
[1] https://github.com/apache/incubator-streampipes/tree/dev/ui/cypress/fixtures/pipelineElement/filters-jvm/textFilter1

Oh! Thank you very much. I will create another folder named textFilter2 containing more tests related to textFilter and add it to line 25 of SinglePipelineElementTest.ts


nrlmsise table validation failed

Overview
nrlmsise table(SpaceWeather-v1.2.txt) validation in download failed.
Details
Description
It seems that we should not verify the checksum of ftp://ftp.agi.com/pub/DynamicEarthData/SpaceWeather-v1.2.txt because it is updated daily.
Conditions of occurrence

Build ../ExtLibraries with ExtLibraries/CMakeLists.txt

Additional information
https://github.com/ut-issl/s2e-core/blob/4580e3d6b79a484c519f7830870619abad94a61f/ExtLibraries/nrlmsise00/CMakeLists.txt#L36-L37
Task

[ ] skip checksum validation on SpaceWeather-v1.2.txt

Scope of influence

Build CI fails on develop: https://github.com/ut-issl/s2e-core/actions/runs/1754660307

Supplement
Write additional comments if you need.
Note

If there are related Projects, tie them together.
Set priority label if possible.
Assignees should be set if possible.
Write a conclusion when closing the issue.

このファイルよく見たら今日までの観測データ+明日以降の予測データなんですね．それはそうだった．


Looks like you are offline || Error: read ECONNRESET proxyIpAddress:port

Two issues.
While hard wired in, on the corporate proxies I get the first error.
While on our open WiFi, I get the second error.

Error 1
Expected Behavior
Logged in! You may close this page.
Actual Behavior
Error: Looks like you are offline.
Steps to Reproduce the Problem

clasp login

Specifications

Node version: v10.9.0
Version: 1.5.3
OS: Windows 10 Version 1709 (OS Build 16299.611)

Error 2
Expected Behavior
Logged in! You may close this page.
Actual Behavior
Error retrieving access token: Error: read ECONNRESET proxyIpAddress:port
Steps to Reproduce the Problem

clasp login
log in to account via browser window that opened
wait

Specifications

Node version: v10.9.0
Version: 1.5.3
OS: Windows 10 Version 1709 (OS Build 16299.611)

Me too.
clasp login
return
Error: Looks like you are offline.
Iam behind proxy corporative, too

@sjlee-jlp or @puentesdiaz Can you file a bug in https://github.com/sindresorhus/is-online?

Installed is-online and the is-online-cli.
CLI returns:

c:>is-online
× Offline

However, I'm quite clearly online...

Can you let me know when you filed the bug in is-online and link the bug here so we can see if we can solve the root issue?
We may have to disable it if it is really not working.

May not necessarily be a bug in is-online. That package checks 3 sites:
https://github.com/sindresorhus/is-online#how-it-works
Could just be that all 3 are blocked on your network.

Going through and checking against each of these manually:
Each of these return as expected icanhazip.com, icanhazptr.com, icanhaztrace.com, icanhaztraceroute.com, icanhazepoch.com.
icanhazproxy.com doesn't return anything.
https://diagnostic.opendns.com/myip returns as expected.
http://captive.apple.com/hotspot-detect.html returns as expected.
So could be something weird happening with is-online.

I think this issue is fixed.
You shouldn't get the error Error: Looks like you are offline if you have a proxy.
https://github.com/google/clasp/commit/cec4eeb8d879dd8ac97bf7e394e852a5c1426c7a
Please re-open if this is still an issue.

Make sure that the https_proxy environment variable is set correctly.  This value is typically used by terminal applications for proxy settings and is used by clasp.


Fixing Travis CI Build

I experienced an error building my pull-request: https://github.com/TypeStrong/atom-typescript/pull/948
First I that the error my relates to my changes but this is not the case.
The problem is located in quickfixes/stringConcatToTemplate.ts.
There was a function declaration within a while-loop causing $ npm test to throw an error.
I moved the concerned method (appendToFinal) into a private method.
Please have a look to my changes.
Kinds
Greg

A thousand :hearts:

I'd like to fast track your stuff. If you have any PRs please @ mention me :rose:

https://github.com/TypeStrong/atom-typescript/releases/tag/v8.9.2 :rose:

Thank you very much for the kind words. 😃
For future PRs I will mention you, thanks.


Hideable column property is not honored with columnVisibilityModel

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/practical-frost-wp2ttc?file=/demo.tsx
Steps:

Within a set of columns, add one column as hideable: false and hide: true. This will make the column hidden and cannot be toggled to unhide.
Set the initialState of DataGrid and initialize columnVisibilityModel.
Now finally click on the Show All columns under the Columns option.

Current behavior 😯
The column which is set to hideable to false is visible in the table and on Hide All, it still remains there. In other words, the hideable property is not honored when Show All is executed.
Expected behavior 🤔
The column where the property is set to hideable: false and hide: true, should not become visible when Show All is clicked. Rather it should be skipped since the hideable property is set to false and it is not possible to manually toggle it.
Context 🔦
Although I'm not sure but looking into the below code might be helpful.
toggleAllColumns
Your environment 🌎

npx @mui/envinfo
Browser: Google Chrome (108.0.5359.125)
System:
    OS: Linux 4.14 Amazon Linux 2
    CPU: (4) x64 AMD EPYC 7571
    Memory: 12.17 GB / 15.52 GB
    Container: Yes
    Shell: 4.2.46 - /bin/bash
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    npm: 8.5.0 - /usr/local/bin/npm
  Managers:
    pip2: 18.0 - /usr/bin/pip2
    pip3: 20.2.2 - /usr/bin/pip3
    Yum: 3.4.3 - /usr/bin/yum
  Utilities:
    Make: 3.82 - /usr/bin/make
    Git: 2.32.0 - /usr/bin/git
  Virtualization:
    Docker: 20.10.13 - /usr/bin/docker
  IDEs:
    Nano: 2.9.8 - /usr/bin/nano
    VSCode: 1.74.2 -<EMAIL_ADDRESS>    Vim: 8.2 - /usr/bin/vim
  Languages:
    Bash: 4.2.46 - /usr/bin/bash
    Perl: 5.16.3 - /usr/bin/perl
    Python: 2.7.18 - /usr/bin/python
    Python3: 3.7.10 - /usr/bin/python3
  Databases:
    SQLite: 3.7.17 - /usr/bin/sqlite3

If you set hideable to false, it means the column should never be hidden in other words the hide property won't affect it since it will be always visible, even clicking hide all won't affect it. i believe it is the expected behavior


[Bug]: explained model in this repo doesn't work on Whisper-HybridLoop-Onnx-Demo

What happened?
Hi, I've created whisper-tiny following microsoft's this repo https://github.com/microsoft/Olive/tree/main/examples/whisper which work in linux following the repo explanations.
Model created:
python prepare_whisper_configs.py --model_name openai/whisper-tiny.en --no_audio_decoder
python -m olive.workflows.run --config whisper_cpu_int8.json --setup
python -m olive.workflows.run --config whisper_cpu_int8.json
The model works in linux: python test_transcription.py --config whisper_cpu_int8.json
I then export model.onnx (from examples/whisper/models/whisper_cpu_int8.zip.zip generated in the olive repo above), place it in the Whisper-HybridLoop-Onnx-Demo, run it for ExecutionProvider Cpu, and I get this error:
'[ErrorCode:InvalidArgument] Input name: 'audio_stream' is not in the metadata'
It throws when it executes var result = session.Run(input, outputs, run_options); in Inference.cs.

OnnxRuntime.Extensions is reference in csproj (also tested v 0.8.0)

Version?
this repo main branch v0.2.1
Whisper-HybridLoop-Onnx-Demo main branch

in case it helps anyone, whisper-tiny model expects audio_pcm input not audio_stream as shown in netron. so I changed Inference.cs input:
var input = new List {
//NamedOnnxValue.CreateFromTensor("audio_stream", config.audio),
NamedOnnxValue.CreateFromTensor("audio_pcm", config.audio),
and WhisperConfig.cs
//public DenseTensor audio;
public DenseTensor audio;


[plot3d] Add message when QtOpenGL is not installed

On debian QtOpenGL is installed separately. Add an error message in plot3d package to warn if it is missing

Proposal: Check that OpenGL and QGLWidget are available in silx.gui.plot.init.py
and if not, log some error and set a variable there to False so status can be checked before importing anything from the plot3d package.


Fix(security): Path Traversal Bug & Arbitrary Code Execution

Primary Changes to /fabric-chaincode-integration-test/src/contracts/bare-maven/.mvn/wrapper/MavenWrapperDownloader.java

@bhaskarvilles the failure of the builds above, I believe, are related to the removal of permissions
@ryjones the h1 link is really an issue in maven and fabric-chaincode-java

@ryjones the h1 link is really an issue in maven and fabric-chaincode-java

I was merely linking for completeness :)

@ryjones I invite you as a collaborator please fix the issues.

@ryjones I invite you as a collaborator please fix the issues.

I can't - please make a new patch that only has your changes

Hello; I've double checked into the details more. The maven wrapper is found within two locations
./fabric-chaincode-integration-test/src/contracts/bare-maven/.mvn
./fabric-chaincode-integration-test/src/contracts/wrapper-maven/.mvn

The first - should NOT have the maven wrapper in place, this should be removed,
The second - should be updated to use the latest maven wrapper that does have this issue.
@bhaskarvilles are you able to update the PR please?  Thanks for spotting the Maven wrapper was an issue.

@ryjones I invite you as a collaborator please fix the issues.

I can't - please make a new patch that only has your changes

Let me re Submit the issue with my changes.

Hello; I've double checked into the details more. The maven wrapper is found within two locations
./fabric-chaincode-integration-test/src/contracts/bare-maven/.mvn
./fabric-chaincode-integration-test/src/contracts/wrapper-maven/.mvn

The first - should NOT have the maven wrapper in place, this should be removed, The second - should be updated to use the latest maven wrapper that does have this issue.
@bhaskarvilles are you able to update the PR please? Thanks for spotting the Maven wrapper was an issue.

I've tried many times, can you help me with this ?

This directory needs to be deleted.

./fabric-chaincode-integration-test/src/contracts/bare-maven/.mvn

Delete this directory, and then from ./fabric-chaincode-integration-test/src/contracts/wrapper-maven directory recreate the wrapper with mvn wrapper:wrapper

./fabric-chaincode-integration-test/src/contracts/wrapper-maven/.mvn

This directory needs to be deleted.

./fabric-chaincode-integration-test/src/contracts/bare-maven/.mvn

Delete this directory, and then from ./fabric-chaincode-integration-test/src/contracts/wrapper-maven directory recreate the wrapper with mvn wrapper:wrapper

./fabric-chaincode-integration-test/src/contracts/wrapper-maven/.mvn

when ever i was trying to clone again it shows file name too long error.

This directory needs to be deleted.

./fabric-chaincode-integration-test/src/contracts/bare-maven/.mvn

Delete this directory, and then from ./fabric-chaincode-integration-test/src/contracts/wrapper-maven directory recreate the wrapper with mvn wrapper:wrapper

./fabric-chaincode-integration-test/src/contracts/wrapper-maven/.mvn

when ever i was trying to clone again it shows file name too long error.

Would you be using Windows command line for this?

Since it had been two weeks, @mbwhite submitted a clean fix at https://github.com/hyperledger/fabric-chaincode-java/pull/254. I'll close this one. Thank you for the report and the contribution!


Add secondary sales of Fragments

Currently buy works only for creator to new owner sales. Not for owner to new owner sales.
Owners will definitely want to set for sale Fragments and other users need to be able to buy them.

Hey team! Please add your planning poker estimate with ZenHub @aang114 @guusw @Kryptos-FR

Please add your planning poker estimate with Zenhub @alebaffa

@sinkingsugar , I can take over this if you want?

@sinkingsugar , I can take over this if you want?

please


how to get the particle shader like the demo

the cloud point change to the splats effect is awesome! but i don't konw how to get these code.Anyone can help??

There are hints here: https://github.com/lumalabs/luma-web-examples/blob/main//src/DemoCustomShaders.ts
I'm in the process of figuring it out in vanilla three.js myself.

Hi @zhuhang4, set particleRevealEnabled: true when creating a splat instance
new LumaSplatsThree({ particleRevealEnabled: true });


Best practices review

Added features:
Branch created to review best practices with coding partner.

Dear @baqar-abbas,
Thanks for your feedback! ♻
All your observations were corrected.
Please let me know if there is something else I should work on.


Last two prop-types

I'm really embarrassed to admit that I forgot two properties. Sorry about this.

Ah, damn, I should have picked that up :)
Thanks for the fix


Error: Example of NEAR Wallet integration

Getting error when trying the 1st sample contract using Studio
Example of NEAR Wallet integration
Both Run and Test gives an error
Error:

Unexpected error: Error: 400: Error: Transaction 37FUAzyTqp47dFfnNXZQ3hTewBComNk8vSpk145L15Fo failed. Runtime error: Account studio-c41iy5w79 already exists

@pkrasam I tried forking and running link above and it worked for me. Looks like some temporary glitch, may you also try doing a Fork and then running again?

This fiddle has a contract which is using old version of runtime. We are not supporting it anymore.


Add cleanrepo tool to repo

cc @IEvangelist

Thanks @IEvangelist. When the tool live in its own repo, I produced releases to make it easier for people to download and use the tool. Is there a way to do that in a multi-tool repo?

Thanks @IEvangelist. When the tool live in its own repo, I produced releases to make it easier for people to download and use the tool. Is there a way to do that in a multi-tool repo?

@gewarren - A GitHub release is the whole branch, containing all the contents. You do have different options, you could publish your app as a .NET global tool and create a workflow to publish it as it updates there. It could be published to nuget.org, and consumers could get updates as needed. Alternatively, I believe you could use GitHub artifacts and publish the app to that. Again, this would require a workflow to build it out. Do any of those options sound viable?


Update dependencies

Update WinCppRT from 2.0.220608.4 to 2.0.220929.3, and Catch2 from 2.7.0 to 2.13.10

This compiled locally for x86 and x64, but not for CI

I wonder if it's running out of heap space? Though IIRC the error message for that is clearer than a generic ICE.
If that's the case, updating to use the amd64 host compiler might help fix it. It also might help updating from using VS 2019 build machines to VS 2022, if they are available. Of course, this assumes that this is the issue...

I wonder if it's running out of heap space? Though IIRC the error message for that is clearer than a generic ICE.
If that's the case, updating to use the amd64 host compiler might help fix it. It also might help updating from using VS 2019 build machines to VS 2022, if they are available. Of course, this assumes that this is the issue...

This seems to have worked. Thank you!

@dunhor any updates?

Could someone please look at this?


Use different ectdctrl exit code

Hello,
etcdctl exit code is always 4 on error (etcd not responding or key absent or -maybe more-).
It should be possible to know if ectd was not present or if the key was not found just with the exit code.
Now we must deal with the error string which is not accurate.
Thanks for all of your works. It's rocks :!

@jmcollin78 what version of etcdctl are you using? this may already be fixed. Cf. #4053 and #4636

@heyitsanthony I assume this is already fixed by the issue you mentioned. The new etcdctl is also released in 2.3 release branch. So I'm going to close this issue.


Remove fromGlobalId call

This code work at least without relay
I don't have a clue on what fromGlobalId is for, but at least I found that data[k] will be a primitive data type and calling fromGlobalId(data[k]) will be resulting in undefined. Hence I just remove the call and directly put id=data[k] at that position. If fromGlobalId call is critical to relay support, we may have to detect whether we are running with relay and put let id = runningOnRelay?fromGlobalId(data[k]).id:data[k] there.
partial fix #29 , should work without relay

Thank you for this Pull Request! We also need this to support Relay. I will need to do some more testing first.

i believe it would be great if proper checking can be done before the call.


HP.HPCMSL version 1.7.2

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

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

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

Microsoft Reviewers: Open in CodeFlow

Hi @jorgeasaurus,
This package seems to add numerous scripts to the filesystem. Has this package gone from compiled to scripted?


Enum fallback not working (Unbox 1.3)

If I have an optional enum property then the fallback method is not called and the optional is nil, and if I have a non-optional enum property then the fallback method is called however Unbox fails.
enum Bar: String, UnboxableEnum {
case Bar1
case Bar2
public static func unboxFallbackValue() -> Bar {
return .Bar1
}
}
class Foo: Unboxable {
var bar: Bar
required init(unboxer: Unboxer) {
self.bar = unboxer.unbox("bar")
}
}
Unboxing throws for the code above using this JSON:
{"bar" : "THIS IS NOT IN THE LIST"}
If I change the Foo class to make bar optional (var bar: Bar?) then unboxFallbackValue is not called. The same happens if the property is missing from the JSON i.e. {} in the example above.
Am I missing something? Thanks

(Basically I think the fail state should be cleared if the fallback is used)

There is another case also - where you have a non-optional enum property and you want to fail the Unbox if a matching enum value is not in the JSON. Could this be achieved by making the fallback method in the UnboxableEnum protocol optional instead of required?

The unboxFallbackValue() method is only called by Unbox if the decoding of a required value failed, and it needs a dummy value to assign to the property before failing the process. From the documentation:
/// The value to use for required properties if unboxing failed. Typically a dummy value.
static func unboxFallbackValue() -> Self

To assign a default value in case one can't be found, you want Swift to treat your value as an optional, which will call the correct unbox() overload on Unboxer, like this:
Model: Unboxable {
    let name: String

    init(unboxer: Unboxer) {
        self.name = unboxer.unbox("name") ?? "Default name"
    }
}

You can also perform your own sanity-checking of a value, and if it doesn't pass such a check, you can call failForKey() or failForInvalidValue(forKey:) on the current Unboxer.

Thanks for getting back John, I've got it now - the unboxFallBackValue is purely there to facilitate the fail on an non-optional enum.
All this actually came up while I was trying to abstract the unboxing code from the models themselves. But if I put the unboxFallbackValue() method in an extension on the enum it causes a segmentation fault on build unless the extension is in the same swift file as the enum itself.
I'm also getting a segmentation fault: 11 when I try to unbox a generic that conforms to Unboxable instead of the class itself.
This is with Unbox 1.2.4 and Xcode 7.2.1 - have you seen anything like this? I will raise a new issue for it with more detail if you think it's worthwhile.

Avoided the segmentation fault issues by giving up on the idea of abstracting the unboxing code from my models.

@timlentonBCGDV Hi again, sorry for the late reply.
You're encountering the segmentation fault because Swift cannot resolve an implementation to call if you're using protocol types. Check out this discussion for more info: https://github.com/JohnSundell/Unbox/issues/17.
If you want to keep your unboxing code out of your models, then the Custom Unboxing API (introduced in Unbox 1.3) is the way to go. Check the README for more information on that.

Thanks again John, I'll check out the Custom Unboxing API (I got my version numbers mixed up there apologies, I already was on 1.3).


Vim plugin overrides user $FZF_DEFAULT_COMMAND

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
After commit 7411da8d5a37b94b2171920c82c0dafe6f9115b6 vim plugin overrides env variable let $FZF_DEFAULT_COMMAND defined in vim config file.

Yes, but it restores the original value at the end. Is it not working as expected?

I'm using linux and fish shell.
I would like also to report that after this commit 7411da8 FZF_DEFAULT_COMMAND value is overridden (becomes empty) after running :Files or :FZF for example once after vim startup, other FZF_* variables values are intact though.

I don't see anything wrong with the code (7411da8) yet I can reproduce the problem on Neovim but not on Vim. This seems like a bug of Neovim that should be properly addressed, but I'll see what I can do in the meantime.

let $FOO = "don't let me go"

if 0
  let $BAR = "i shouldn't be here"
  unlet $FOO
endif

echo string([$FOO, $BAR])

gives ['don''t let me go', ''] on regular Vim, ['', ''] on Neovim 😕

Changing unlet $FOO to execute 'unlet $FOO' solves the problem.

Changing unlet $FOO to execute 'unlet $FOO' fixes the problem.

I can no longer reproduce the problem after upgrading Neovim from 0.4.4_1 to 0.4.4_2, but we'll keep the workaround code for a while.

That works. Thanks for your time!


My bot keeps retweeting false contests

My bot keeps retweeting contests from the user: @lvbroadcasting. If i block the user on twitter it keeps unblocking it. I also tried to add words to the bannedwords section in the twitterbot.py. I changed it to this:  bannedwords = ["vote", "bot", "b0t", "lvbroadcasting" "Las", "Vegas", "TV"], but it didn't work. What do i need to change in the code to make it work? Thanks!

I just updated it and added this list called "bannedusers" - and put lvbroadcasting in it.
I know there are a ton of users like "botspotter", "b0tspotter", "sp0tbots", etc, so if you just put "bot" the bannedusers list, it'll take care of all of those. it'll stop retweeting any user that has that in their username.

I used the update, but it still retweets tweets from lvbroadcasting. I noticed that for the bannedwords section you use "" to put words in, and in the bannedusers section you use ''. Can that make a difference for it to work?
Thanks,
Pascal

Could you link me to lvbroadcasting's twitter profile?

https://twitter.com/lvbroadcasting

alright - try it now. I have it scan both the screen name and handle; it should definitely work now - let me know if that isn't the case.

Still does not work. The script runs for like 60 seconds, retweets a tweet from lvbroadcasting and than i get this error: Traceback (most recent call last):   File "twitterbot.py", line 67, in <module>     run()   File "twitterbot.py", line 62, in run     search(api.search(q=key))   File "twitterbot.py", line 37, in search     if is_user_bot_hunter(str(i.author.name), str(i.author.screen_name)) == False: UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f940' in position 4: ordinal not in range(128)


pool identification improvement

Current status of pool identification

PoolKey : currently we are defining PoolKey as reserveCoinDenoms1-reserveCoinDenoms2-poolTypeIndex
PoolReserveAcc : currently we are defining PoolReserveAcc as HASH(PoolKey)
PoolCoinDenom : currently we are defining PoolCoinDenom as STRING(PoolReserveAcc)

To be

PoolKey

I think PoolKey should be defined more randomly so that it has no problem upon defining rules
We must assure that no PoolKey will not appear more than once in any circumstances
It is better not to use reserve coins or pool types to define PoolKey, but should be decided completely randomly

PoolReserveAcc

I think it is better to use HASH(PoolKey + PoolId) for better randomness

PoolCoinDenom

It is very tricky to store some informative keywords in PoolCoinDenom
But, at least, we should put information that this token is a pool token from liquidity pool of the Hub
Hence, PoolCoinDenom should look like, STRING("CosmosHubLiquidityPoolToken-"+PoolKey) ?

The liquidity pool identification spec to be upgraded from M2 are as follows.
Pool Identification
PoolKey

reserveCoinDenoms1/reserveCoinDenoms2/poolTypeIndex
string join with reserve coin denoms and poolTypeIndex using separator /
e.g. denomX/denomY/1

PoolReserveAcc

sdk.AccAddress(crypto.AddressHash([]byte(PoolKey)))
e.g. cosmos16ddqestwukv0jzcyfn3fdfq9h2wrs83cr4rfm3 (D35A0CC16EE598F90B044CE296A405BA9C381E38)

PoolCoinDenom

fmt.Sprintf("%s/%X", PoolCoinDenomPrefix, sha256.Sum256([]byte(PoolKey)))
PoolCoinDenomPrefix: pool/
e.g. pool/D35A0CC16EE598F90B044CE296A405BA9C381E38837599D96F2F70C2F02A23A4

The liquidity pool identification spec to be upgraded from M2 are as follows.
Pool Identification
PoolKey

reserveCoinDenoms1/reserveCoinDenoms2/poolTypeIndex
string join with reserve coin denoms and poolTypeIndex using separator /
e.g. denomX/denomY/1

PoolReserveAcc

sdk.AccAddress(crypto.AddressHash([]byte(PoolKey)))
e.g. cosmos16ddqestwukv0jzcyfn3fdfq9h2wrs83cr4rfm3 (D35A0CC16EE598F90B044CE296A405BA9C381E38)

PoolCoinDenom

fmt.Sprintf("%s/%X", PoolCoinDenomPrefix, sha256.Sum256([]byte(PoolKey)))
PoolCoinDenomPrefix: pool/
e.g. pool/D35A0CC16EE598F90B044CE296A405BA9C381E38837599D96F2F70C2F02A23A4


404 Error on website

When navigating:
Docs-> Architecture -> MXNet System Overview
Trys to go to:
https://mxnet.incubator.apache.org/versions/1.1.0/architecture/overview.html
and gets a 404 error

Thank you for reporting this. There seems to be a problem with the links in general.
https://mxnet.incubator.apache.org/versions/0.12.1/architecture/index.html for example, links to the main version.

seems to be working now


Reimplement RNN ops to utilize SIMD

This patch is to reimplement LSTM, GRU, and RNN using MatMul, Split, Squeeze, Transpose, Add, Mul, which helps boost the inference performance.

Weights and biases are computed during compile time using constant propagation.
ConstPropHelper is created to allow calling constant propagation from the lowering. Do not use tryToFold mechanism since tryToFold communicates via Attributes which will cause a large memory footprint again.
Matrix multiplications are done via ONNXMatMulOp. Experimental fusion of multiple MatMuls, which uses the lowering pattern from GEMM, is added for LSTM but not used since it is currently slower than non-fusion.
Other element-wise computations are fused into a single nested loop as the previous approach.
Regarding constants, use threshold 512 to trigger the use of DenseElementsAttr for constants. This value is obtained by experimenting with the value ranges in the numerical tests for LSTM. Threshold less than 512 would trigger the loop unroll in -O1/2/3, causing the wrong result we saw before.

@jenkins-droid test this please

@jenkins-droid test this please

@AlexandreEichenberger this patch is ready to be reviewed. Could you please review it? Thanks!

@tungld Note that the PR that moved the transforms for canonicalization in the dialect dir. Hopefully not too disruptive to your PR. Note also that apparently MLIR is going away from EDSC... we will have to have a strategy for that.

@AlexandreEichenberger Thanks for your comments! I addressed them in the above commits.

@tungld Note that the PR that moved the transforms for canonicalization in the dialect dir. Hopefully not too disruptive to your PR. Note also that apparently MLIR is going away from EDSC... we will have to have a strategy for that.

Most of them can be rewritten back to rewrite.create easily. However, krnl_iterate may take more times to be replaced I think.

Jenkins Linux s390x Build #1123 [push] Reimplement RNN ops to u... started at 12:00

Jenkins Linux ppc64le Build #271 [push] Reimplement RNN ops to u... started at 12:02

Jenkins Linux amd64 Build #1125 [push] Reimplement RNN ops to u... started at 11:00

Jenkins Linux s390x Build #1123 [push] Reimplement RNN ops to u... passed after 42 min

Jenkins Linux amd64 Build #1125 [push] Reimplement RNN ops to u... passed after 44 min

Jenkins Linux ppc64le Build #271 [push] Reimplement RNN ops to u... passed after 58 min


Question

Can this project run on Linux 64-bit OS after installing all the dependencies

Yes it was made on a Linux 64-bit OS.


ISPN-10508 Server Docs: Getting Started

https://issues.jboss.org/browse/ISPN-10508

Can you rebase this @oraNod

Needs rebase

@tristantarrant rebased. thanks!

Merged


bms_network_setup change

Is it?
Because the main branch ist master:
https://github.com/opentelekomcloud/bms-network-setup

GitStyring here was already set since before my time so merging anything isn't possible since several years now.
And having a pep8 check I guess isn't bad.
Theoretically we could also remove any protection completely, but running some pep8n checks shouldn't be an issue.

Merging would be possible by certain people only. It is just not used by anybody. I would suggest to instead make it an archive to indicate no work is happening there.
This project was never in hands of Ecosystem therefore no proper tests were ever implemented.

There's an open PR which can't be merged, that's why I got the request to look at it: https://github.com/opentelekomcloud/bms-network-setup/pull/4
And they seem to use it, don't know whether archiving would be a good idea.

right, ok, didn't notice the PR.
Then we should disable branch protection (leave the teams part, but set branch protections to empty list)

Okay removed the branch protection.

This should be related: https://github.com/opentelekomcloud-infra/zuul-config/pull/138
And there also is an PR for the new team slug inside gitea.


Dark Mode

Hello, i fell instantly in love with reubah.
Are you planing a dark mode too?

Thanks for the kind words! :D I'm glad you like Reubah. Dark mode is definitely planned and one of my top priorities.
I apologize if there haven't been many updates recently. I've been busy, but I'll be back to work on it soon

@dendianugerah  can i work on shipping the dark mode for the application ?

@danish-mehmood
Of course! Feel free to open a pull request. I was planning to work on it this weekend haha, but since you're interested in contributing, I'd be happy to focus on another feature—like adding support for more file formats in the converter.

@danish-mehmood
Of course! Feel free to open a pull request. I was planning to work on it this weekend haha, but since you're interested in contributing, I'd be happy to focus on another feature—like adding support for more file formats in the converter.

@dendianugerah sure i will work on it during the weekend

@dendianugerah meanwhile kindly assign the issue to me