fix: if switch is missing, build in past results

Test URLs:

Before: https://main--theplayers--hlxsites.hlx.page/
After: https://past-results-switch--theplayers--hlxsites.hlx.page/

missing switch in past results fetch causes buggy behavior, so if switch does not exist, we'll build it

@fkakatie have you tested this with WGC dell? could see this causing problems potentially because it doesn't have a par switch either and there is no score to par in that case due to match play format.

This was a great catch. Instead of adding a switch if there is none, I'm now just setting the default view and checking against that when sorting. Works for Tour, Sentry TOC, and WGC Dell Match Play!

Not for nothing. This block appears to pull html content from the legacy aem pages, which I'm guessing won't be maintained in future years(?) Might be worth thinking about if we can migrate the data source for this to a helix spreadsheet.
Beyond the scope of this PR, but something to add to the future TODO list.


Loop-shaping controller optimization

Example iPyNB
Could in particular be used to optimize / systematize the discovery of pareto frontiers for energy costs of biochemical circuits. References The Energy Costs of Insulators in Biochemical Networks

Isn't it even broader than that specific example? A connection between GP and loop shaping controller design would be an impressive paper.

Certainly! That example's neat because it's actually applying loop-shaping techniques to a nonlinear system, something that wouldn't be possible without SP. :)


unable to run angular project

Describe the bug
An unhandled exception occurred: require() of ES Module<EMAIL_ADDRESS>not supported.
Instead change the require of<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
See "/tmp/ng-D5cAER/angular-errors.log" for further details.
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/shubhambodare/angular_stackblitz
Steps to reproduce
1.run newly created angular project
Expected behavior
angular should run.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Version = 1.84.0
Hash = b8962b431f1d341b4ddfaaf7f9230afb4c5effbe
WebContainer = f7aa08df

Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 120
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 88088079,
  "usedJSHeapSize": 79885039,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context
No response

Hi @shubhambodare 👋 . Is it possible that the repository is either removed, or private? I can't access the project.


merge package template from arlac77/npm-package-template

Updated standard to latest version

Coverage remained the same at 90.972% when pulling bcfc8adc5de0402236fa3d8cf14dfce5836f6965 on template-sync-1 into b6fc33505ea98775fc22c886d69dae9b1a92a180 on master.

Codecov Report

Merging #117 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   90.97%   90.97%
=======================================
  Files          16       16
  Lines         144      144
=======================================
  Hits          131      131
  Misses         13       13

Continue to review full report at Codecov.

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


mage configure is too tied to the dev container

A lot of what we do in https://github.com/mlflow/mlflow-go/blob/main/magefiles/configure.go, really only works in the dev container or unix.

This was resolved by the work done in #67


SyntaxError: Unexpected end of JSON input

Hi
You can check out this repo to see the problem. The first time that you run it, it takes a lot of time!. If you edit the app.css, it's going to take a lot(x2) time. Sometimes that I edit the app.css, it doesn't even show the changes, so I need to reload the page and this reload takes a lot of time. And sometimes my browser just stops working for seconds...
I don't know what is the problem. It's literally unusable.
Thanks🌼

svelte-add doesn't make that broken combination of tailwindcss package version and tailwind.config.cjs configuration. Upgrade the package version to "next" (3 alpha) to fix it.
You can also use any of these commands:
# Tailwind v2
npm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v2 -- --with tailwindcss
# Tailwind v3
npm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss --tailwindcss-v3
# Interactive process if you're unfamiliar with what options are available
npm init @svelte-add/kit@latest

to start a new working project.

npm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss
--tailwindcss-v3
npm ERR! Cannot read properties of null (reading 'package')

@babichjacob

Are you on the latest version of npm (either 7.24.1 or 8.1.3) and Node.js (16.13.0)?

Now it outputs this error:
npm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss --tailwindcss-v3
➕ Svelte Add's SvelteKit app initializer (Version 2<IP_ADDRESS>)

PostCSS
undefined:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at content (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/update.js:172:21)
    at updateFile (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/update.js:32:20)
    at async updateJson (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/update.js:169:2)
    at async install (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/index.js:838:4)
    at async run (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/adders/postcss/__run.js:66:2)
    at async runAdder (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/index.js:831:2)
    at async setup (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/@svelte-add/app-initializer-tools/index.js:98:4)
    at async main (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/@svelte-add/create-kit/cli.js:5:2)
npm ERR! code 1
npm ERR! path C:\Users\babak\Desktop\~(o_o)~\_2
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-kit "svelte-kit-tailwind-v3" "--with" "tailwindcss" "--tailwindcss-v3"

npm ERR!      C:\Users\babak\AppData\Local\npm-cache\_logs\2021-11-10T19_27_20_643Z-debug.log

debug.log file:
0 verbose cli [
0 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
0 verbose cli   'C:\\Users\\babak\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli   'init',
0 verbose cli   '--yes',
0 verbose cli   '@svelte-add/kit@latest',
0 verbose cli   'svelte-kit-tailwind-v3',
0 verbose cli   '--',
0 verbose cli   '--with',
0 verbose cli   'tailwindcss',
0 verbose cli   '--tailwindcss-v3'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Users\babak\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 3ms
6 timing config:load:builtin Completed in 4ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:C:\Users\babak\Desktop\~(o_o)~\_2\.npmrc Completed in 1ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:C:\Users\babak\.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\babak\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 12ms
19 timing npm:load:configload Completed in 12ms
20 timing npm:load:setTitle Completed in 0ms
21 timing npm:load:setupLog Completed in 1ms
22 timing config:load:flatten Completed in 4ms
23 timing npm:load:cleanupLog Completed in 2ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 1ms
26 timing npm:load Completed in 22ms
27 http fetch GET 200 https://registry.npmjs.org/@svelte-add%2fcreate-kit 3018ms (cache revalidated)
28 timing arborist:ctor Completed in 2ms
29 timing arborist:ctor Completed in 0ms
30 timing arborist:ctor Completed in 0ms
31 timing command:init Completed in 9464ms
32 verbose stack Error: command failed
32 verbose stack     at ChildProcess.<anonymous> (C:\Users\babak\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
32 verbose stack     at ChildProcess.emit (node:events:390:28)
32 verbose stack     at maybeClose (node:internal/child_process:1064:16)
32 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
33 verbose cwd C:\Users\babak\Desktop\~(o_o)~\_2
34 verbose Windows_NT 10.0.19043
35 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\babak\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "init" "--yes" "@svelte-add/kit@latest" "svelte-kit-tailwind-v3" "--" "--with" "tailwindcss" "--tailwindcss-v3"
36 verbose node v16.13.0
37 verbose npm  v8.1.3
38 error code 1
39 error path C:\Users\babak\Desktop\~(o_o)~\_2
40 error command failed
41 error command C:\Windows\system32\cmd.exe /d /s /c create-kit "svelte-kit-tailwind-v3" "--with" "tailwindcss" "--tailwindcss-v3"
42 verbose exit 1

In this example, I run the cmd on a new empty project but it does the same on the sveltekit-docs project too.

Are you on the latest version of npm (either 7.24.1 or 8.1.3) and Node.js (16.13.0)?

Yes

Hi
I have a question. Right now, everyone has the same problem that I have, right?
Also, why is this happening? It's just so weird that I can't use Tailwind!.
That's all. Thanks.
@babichjacob

I was only able to reproduce this on Windows and I don't know why it occurs.
Try these alternatives:
npx --yes @svelte-add/create-kit@latest svelte-kit-tailwind-v3 --with tailwindcss --tailwindcss-v3
# put -- before --with if needed

# install pnpm
pnpm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss --tailwindcss-v3

pnpx --yes @svelte-add/create-kit@latest svelte-kit-tailwind-v3 --with tailwindcss --tailwindcss-v3
# put -- before --with if needed

Look what I found😄
Run this:
npx --yes @svelte-add/create-kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss --tailwindcss-v3

The result:
➕ Svelte Add's SvelteKit app initializer (Version 2<IP_ADDRESS>)
TODO: explain this error.

I made a change I think will help address this issue. Please try again and let me know.
Specifically from this command:
npm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss

or this one (the interactive menus):
npm init @svelte-add/kit@latest

ERROR
npm init --yes @svelte-add/kit@latest svelte-kit-tailwind-v3 -- --with tailwindcss
➕ Svelte Add's SvelteKit app initializer (Version 2<IP_ADDRESS>)

PostCSS
undefined:1

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at content (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/update.js:172:21)
    at updateFile (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/update.js:32:20)
    at async updateJson (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/update.js:169:2)
    at async install (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/index.js:836:4)
    at async run (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/adders/postcss/__run.js:66:2)
    at async runAdder (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/svelte-add/index.js:829:2)
    at async setup (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/@svelte-add/app-initializer-tools/index.js:98:4)
    at async main (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/9320fb454a84dc6d/node_modules/@svelte-add/create-kit/cli.js:5:2)

Node.js v17.2.0
npm ERR! code 1
npm ERR! path C:\Users\babak\Desktop\New folder (2)
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-kit "svelte-kit-tailwind-v3" "--with" "tailwindcss"

npm ERR!      C:\Users\babak\AppData\Local\npm-cache\_logs\2021-12-12T08_24_41_217Z-debug.log

NO ERROR. But Tailwind JIT doesn't work.
npm init @svelte-add/kit@latest

Thank you for the information! I will look into this again when I can.

Hi
I think this issue needs to be closed because if I'm not mistaken, the bug was related to "--v3" option.
@babichjacob

Okay! Glad to hear it was potentially fixed by https://github.com/svelte-add/svelte-add/commit/a90866c860a95f7dd68127e4f30af93ad5523deb extending the timeout. I haven't had this issue myself nor heard of any reports of it occurring again since this. Thank you!


Suggest export EventType

What this PR does / why we need it?
export ClientStatus, StreamConnectionStatus, DocumentSyncResultType, ClientEventType and DocEventType
Any background context you want to provide?
After npm run build, we are able to find updated yorkie.d.ts
import Long from 'long';
import { Client, ClientOptions, ClientEventType } from './core/client';
import { Document, Indexable, DocEventType } from './document/document';
export { Client, Document };
export { TimeTicket } from './document/time/ticket';
export { ActorID } from './document/time/actor_id';
export { JSONElement } from './document/json/element';
export { JSONObject } from './document/json/object';
export { JSONArray } from './document/json/array';
export { PlainText } from './document/json/plain_text';
export { RichText } from './document/json/rich_text';
export { Change, ChangeType } from './document/json/rga_tree_split';
export { ClientEventType, ClientStatus, StreamConnectionStatus, DocumentSyncResultType, } from './core/client';
export { DocEventType } from './document/document';
export declare type EventType = ClientEventType | DocEventType;
/**
 * The top-level yorkie namespace with additional properties.
 *
 * In production, this will be called exactly once and the result
 * assigned to the `yorkie` global.
 *
 * e.g) `yorkie.createClient(...);`
 */
declare const yorkie: {
    createClient(rpcAddr: string, opts?: ClientOptions | undefined): Client;
    createDocument<T = Indexable>(collection: string, document: string): Document<T>;
    Long: Long.LongConstructor;
};
export default yorkie;

What are the relevant tickets?

Fixes #109
Fixes #130
Checklist

[x] Added relevant tests or not required
[ ] Didn't break anything

@hackerwins I think when i add the types, yorkie.d.ts in the  yorkie-js-sdk, the code like below
import Long from 'long';
import { Client, ClientOptions, ClientEventType } from './core/client';
import { Document, Indexable, DocEventType } from './document/document';
export { Client, Document };
export { TimeTicket } from './document/time/ticket';
export { ActorID } from './document/time/actor_id';
export { JSONElement } from './document/json/element';
export { JSONObject } from './document/json/object';
export { JSONArray } from './document/json/array';
export { PlainText } from './document/json/plain_text';
export { RichText } from './document/json/rich_text';
export { Change, ChangeType } from './document/json/rga_tree_split';
export { ClientEventType, ClientStatus, StreamConnectionStatus, DocumentSyncResultType, } from './core/client';
export { DocEventType } from './document/document';
export declare type EventType = ClientEventType | DocEventType;
/**
 * The top-level yorkie namespace with additional properties.
 *
 * In production, this will be called exactly once and the result
 * assigned to the `yorkie` global.
 *
 * e.g) `yorkie.createClient(...);`
 */
declare const yorkie: {
    createClient(rpcAddr: string, opts?: ClientOptions | undefined): Client;
    createDocument<T = Indexable>(collection: string, document: string): Document<T>;
    Long: Long.LongConstructor;
};
export default yorkie;

But when I install a specific branch like this,
"yorkie-js-sdk": "yorkie-team/yorkie-js-sdk#yorkie-js-sdk-types"

I got following yorkie.d.ts in the yorkie-codepair, it doesn't seem to be updated 🤔
import Long from 'long';
import { Client, ClientOptions, ClientEventType } from './core/client';
import { Document, Indexable, DocEventType } from './document/document';
export { Client, Document };
export { TimeTicket } from './document/time/ticket';
export { ActorID } from './document/time/actor_id';
export { JSONElement } from './document/json/element';
export { JSONObject } from './document/json/object';
export { JSONArray } from './document/json/array';
export { PlainText } from './document/json/plain_text';
export { RichText } from './document/json/rich_text';
export { Change, ChangeType } from './document/json/rga_tree_split';
export declare type EventType = ClientEventType | DocEventType;
/**
 * The top-level yorkie namespace with additional properties.
 *
 * In production, this will be called exactly once and the result
 * assigned to the `yorkie` global.
 *
 * e.g) `yorkie.createClient(...);`
 */
declare const yorkie: {
    createClient(rpcAddr: string, opts?: ClientOptions | undefined): Client;
    createDocument<T = Indexable>(collection: string, document: string): Document<T>;
    Long: Long.LongConstructor;
};
export default yorkie;

@mojosoeun Considering that @ppeeou occasionally updates package-lock.json, I guess it might be related to package-lock.json.
I am solving this problem locally by copying the files built in JS-SDK directly to node_modules.
cp -R ~/Development/yorkie-team/yorkie-js-sdk/dist ~/Development/yorkie-team/yorkie-codepair/node_modules/yorkie-js-sdk

@hackerwins I think It seems impossible to export enum in the isolatedModules. 🤔
https://ncjamieson.com/dont-export-const-enums/
https://www.typescriptlang.org/docs/handbook/enums.html#const-enums

I think we can talk about this issue in https://github.com/yorkie-team/yorkie-js-sdk/pull/176. So let me close this pr.


U-Boot: Adds Orange Pi Zero build

Motivation for this change
This allows someone to build U-Boot for the Orange Pi Zero and therefore boot NixOS on it. It can be merged immediately as U-Boot has supported this board since U-Boot v2017.03 according to the wiki
If you want to boot on the Orange Pi Zero using this PR.
# Clone my repository and checkout my changes branch
git clone https://github.com/MatthewCroughan/nixpkgs.git
git checkout add-ubootOrangePiZero

# Cross compile U-Boot
nix-build -I ./ -v -A pkgsCross.armv7l-hf-multiplatform.ubootOrangePiZero

# Flash the NixOS Installer image for
# for armv7l You can get it from here:
# https://github.com/qolii/nixpkgs/releases/tag/sd-image-ARMv7-68aad73
dd if=<armv7l-installer-image> of=/dev/mmcblkX

# Flash U-Boot over top the NixOS Installer image
dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblkX bs=1024 seek=8

The board should now boot into the NixOS installer image, this can be verified over serial.
Since this board only has 256-512MB of ram, you will need to use a swapfile in order to install NixOS with nixos-install.
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile

U-Boot log
U-Boot SPL 2021.01 (Jan 11 2021 - 18:11:43 +0000)
DRAM: 256 MiB
Trying to boot from MMC1

U-Boot 2021.01 (Jan 11 2021 - 18:11:43 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM:  256 MiB
MMC:   mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
841 bytes read in 3 ms (273.4 KiB/s)
1:    NixOS - Default

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ubootOrangePiZero

Unless ofborg has had a feature added to automatically use cross-compiling for armv7, it shouldn't be successful in starting the build for an armv7 u-boot.
Verified that it built, just in case. But this is upstream u-boot, and as usual, with the upstream u-boot if it is in the repo, and builds, it is extremely likely to just work.
 $ nix-build -A pkgsCross.armv7l-hf-multiplatform.ubootOrangePiZero


Chain object tests to use all mainnet VM rules

What was wrong?
Fixes Issue #597
How was it fixed?
A separate fixture was added to create a Chain specific to the VM being used. This is used to pass the VM's as parameters and generate the chains from them. This is needed because some properties change from one VM to another VM. One such example is the signal doRevert() raises a InvalidInstruction for FrontierVM; but the same signal raises Revert for ByzantiumVM.
Also the chain_without_validation fixture now requests all the VM's to create all the chains, which are subsequently used in the tests over the whole tests.
Cute Animal Picture

@pipermerriam @cburgdorf review please.

@pipermerriam made the suggested change. Please take a look once CircleCI goes green. Thankyou.


Example Usage using the Azure CLI

Create a short walk through to use the artifacts in this repository to deploy an API Management instance using the Azure CLI.

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

Any updates?


tab key stops working randomly !!!!

Issue Type: Bug
Unknown what causes it but tab key works in any other window just stops in the editor.
Botttom of screen does not show active items or key bound anywhere else. Emmet is set to trigger on tab but basic tab key is not working.
VS Code version: Code 1.22.2 (3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9, 2018-04-12T16:32:53.389Z)
OS version: Darwin x64 17.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5575R CPU @ 2.80GHz (4 x 2800)

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.03GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (39)

Extension
Author (truncated)
Version

bracket-pair-colorizer
Coe
1.0.37

beautify
Hoo
1.3.0

crane
Hvy
0.3.8

material-icon-theme
PKi
3.3.0

code-settings-sync
Sha
2.9.0

terminal-tabs
Tyr
0.1.1

scratchpad
awe
0.1.0

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

vue-peek
dar
1.0.2

jquerysnippets
don
0.0.1

vscode-npm-script
eg2
0.3.3

prettier-vscode
esb
1.3.1

php-debug
fel
1.12.3

php-intellisense
fel
2.3.1

php-pack
fel
1.0.1

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.0.15

vue-snippets
hol
0.1.5

sftp
lix
1.1.7

dotenv
mik
1.0.1

vscode-apache
mrm
1.1.1

vscode-attrs-sorter
mrm
2.1.0

python
ms-
2018.3.1

csharp
ms-
1.14.0

PowerShell
ms-
1.7.0

vuejs-extension-pack
mub
1.0.3

php-docblocker
nei
1.6.0

vetur
oct
0.11.7

laravel-blade
one
1.18.0

vscode-code-outline
pat
0.1.1

java
red
0.23.0

laravel-5-snippets
sac
2.0.1

highlight-matching-tag
vin
0.4.4

vscode-java-debug
vsc
0.9.0

vscode-java-pack
vsc
0.3.0

vscode-java-test
vsc
0.5.0

vscode-maven
vsc
0.7.0

vscode-todo-highlight
way
0.5.12

@jasonbronson
Are there any customizations to Tab keybindings ?

Is there nobody else binding to the Tab key?
Does this reproduce when disabling all extensions? (code --disable-extensions)?
You can also find the complete list via cmd+k cmd+s, clicking on keybindings.json and searching for "tab". Out of the box, there should be 6 hits for a total of 5 commands. Do you have more than that ?

{ "key": "tab", "command": "tab",
                   "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" },
{ "key": "tab", "command": "editor.emmet.action.expandAbbreviation",
                   "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" },
{ "key": "tab", "command": "insertSnippet",
                   "when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" },
{ "key": "tab", "command": "jumpToNextSnippetPlaceholder",
                   "when": "editorTextFocus && hasNextTabstop && inSnippetMode" },
{ "key": "tab", "command": "acceptSelectedSuggestion",
                   "when": "suggestWidgetVisible && textInputFocus" },

Are there customizations made in your keybindings.json

Are there settings changes that affect the Tab behaviour?
Did you change any of the following settings:

config.emmet.triggerExpansionOnTab (would lead to Tab executing editor.emmet.action.expandAbbreviation)
editor.tabCompletion (would lead to Tab executing insertSnippet)

Do you use Tab for moving focus?

The default keybinding uses !editorTabMovesFocus
This is a context key that can be toggled by ctrl+shift+M
This toggle will make it that pressing Tab will move focus.


Some issues with html2canvas

Hello. It's really a pleasure for me to have a plugin like this. But there's some issues I'd like to report

html2canvas not working in latest Firefox
Generated images are blurry and sometimes cropped
<svg> is not processing by html2canvas

I'm using 0.5.0-beta-4, btw.
Regards,
Andrew.

Is this still an issue with v1.0.0? If so, could you please share an example on jsfiddle.

@niklasvh oh, now screenshots are not blurry anymore. But <svg> tags are still processing incorreclty. Here, take a look:
Screenshot made with Gyazo. That's how block should look like:

But for the first time I'm keep getting this:

That's because it have a transparency(idk why, default option for background is #fff. Even if I specify background: #fff it'll still have half-transparent). But, if I try to re-render it a few times it becomes OK except <svg> in the top right corner:

Btw, the card I'm trying to make a screenshot of was dynamically added on the page if it helps you to solve the issue.

Does the background issue fix itself if you set backgroundColor: #ffffff in the options with 1.0.0-alpha.4?

@niklasvh yes, updating to 1.0.0-alpha.4 has fixed the issue with background color. <svg> is still rendering incorrectly.

Would you be able to replicate the SVG issue on jsfiddle so I could take a look?

@niklasvh sure, take a look: https://jsfiddle.net/khqgasLz/


Problem with wrapping gsl function which takes in a work []float

func Spearman(data1 []float64, stride1 int, data2 []float64, stride2 int, n int) (work float64, ret float64) {

_work := (*C.double)(unsafe.Pointer(&work))
_ret := C.gsl_stats_spearman(_data1, _stride1, _data2, _stride2, _n, _work)
ret = float64(_ret)
return

}
From the documentation of gsl Spearman (https://www.gnu.org/software/gsl/manual/html_node/Correlation.html) the function definition is:
double gsl_stats_spearman (const double data1[], const size_t stride1, const double data2[], const size_t stride2, const size_t n, double work[])
Additional workspace of size 2*n is required in work. What is the best thing to do here. Do I manually modify the wrapper so that I can pass in the correct size of []float in "work"?
See corresponding golang nuts thread:
https://groups.google.com/forum/#!topic/golang-nuts/vNUqbdP1tpQ

There is another problem with the gsl sort package. The problem seems to be where gsl makes changes to an array it is moved from input param to a return variable. However, gsl does not malloc any space and this causes a seg fault. Fix might be as simple as when you come across a non-const double []data just handle it as const double data1[] and let go pass in the array.

For now, just add the function name to the ignore list and write the wrapper manually.
const is an important hint for CWrap guessing. Yes CWrap could use the "safer" approach to ignore "const" and pass everything in parameters, but that will make the wrapper less idiomatic and  useful.
An improvement could be an option for the user to add some annotations to the type declarations.


Hi,PhotoView Unable to horizontal drag zoom picture in the nexus  5

how to fix this bugs ?

Always provide all debug informations (such as SDK version, library version, size of image - both byte size and resolution) and possibly code sample that proves the bug, we cannot help you if you don't do that.


cmake -DUSE_CONDA=FALSE is broken

sf-shell-chrootenv:dusty@hank:~/src/symbiflow-arch-defs/build$ cmake -DUSE_CONDA=FALSE ..
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.2", minimum required is "3")
CMake Error at make/env.cmake:314 (message):
  Could not find program progressbar2.
Call Stack (most recent call first):
  CMakeLists.txt:60 (add_conda_pip)

make/env.cmake:314
I've tried commenting out those errors, but then I run into trouble with lines like:
get_target_property_required(BLAH_TARGET env BLAH_TARGET)

and removing _required leads to a dead end where those things really are required.

I think the logic here is not quite right. If doesn't look at the NO_EXE flag. It should probably be checking if python can import those packages instead of find_program if NO_EXE is provided.
You can probably work around by setting environment variables before running cmake

I think when using conda, the system is checking for progressbar2 being installed in the conda environment?

python -c "import progressbar2"; echo $? could be the correct way to check the module is available?

I believe this can be closed?

Yes, fixed with https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1521.


[BUG] Code is missing

Docs State:
CAST’s code is open source; if you’re interested in reviewing the codebase, you can do so via [the Github repo](https://github.com/DapperCollectives/Cast).

Though code is not open.

Code has been published! yay!


fix(OSD-24270): update patterns for user caused access denieds on cloud permissions

What?
This PR updates the strings we use to determine a customer broke our cloud access to match the new backplane cli implementation.
Why?
We bumped backplane-cli to v0.1.32. Further information in https://issues.redhat.com/browse/OSD-24270 and the linked thread in that ticket.

Codecov Report
Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 39.62%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #297      +/-   ##
==========================================
+ Coverage   39.52%   39.62%   +0.10%
==========================================
  Files          20       20
  Lines        1599     1605       +6
==========================================
+ Hits          632      636       +4
- Misses        926      927       +1
- Partials       41       42       +1

Files
Coverage Δ

pkg/investigations/ccam/ccam.go
43.47% <71.42%> (+8.18%)
:arrow_up:

/retest

/hold for discussion

/lgtm

/unhold


Review EFSP 1.3 and reconcile with MPSP 1.0

Discussion thread here.

Edwin has created a google doc for modifications here.


Is oneOf acceptable within definitions, and/or JSON schema?

Given this swagger content, the Swagger UI (as hosted, today) throws an error (below).
This example appears to be consistent with "The entry schema" at http://json-schema.org/example2.html
I believe this is a bug; but it's not clear to me whether this is a bug in the specification, or in its application to the UI.
Thanks,
Richard
✖ Swagger Error
A deterministic version of a JSON Schema object.
Jump to line 20
Details
 Object
code:  "OBJECT_ADDITIONAL_PROPERTIES"
message:  "Additional properties not allowed: oneOf"
 path: Array [2]
0:  "definitions"
1:  "some_message"
description:  "A deterministic version of a JSON Schema object."
level: 900
type:  "Swagger Error"
lineNumber: 20

swagger: '2.0'
info:
  title: JSON Schema Test API
  version: 0.0.1-TEST
host: api.test.com
basePath: /api
paths:
  '/create_a_thing':
    post:
      parameters:
        - name: message
          in: body
          schema:
            $ref: '#/definitions/some_message'
      responses:
        '200':
          description: 'OK'

definitions:
  some_message:
    type: object
    oneOf:
    - $ref: '#/definitions/some_message-A'
    - $ref: '#/definitions/some_message-B'

  some_message-A:
    type: object
    properties:
      propertyA:
        type: string

  some_message-B:
    type: object
    properties:
      propertyB:
        type: string

That would be because Swagger does not support the oneOf directive of JSON Schema.

Is there a plan to provide complete support, in Swagger? You may count this as a proposal.

You can follow #333.


[Feature Request]:

Description
Would it be possible to change the background of the navigation panel and possible behind search bar (not the actual search bar eg. the darker color)? Heres a provided screenshot. As for what I'm trying to do. Or a way for me to modify the code to make it work as currently it works only unfocused.

Additional info (Optional)
Firefox version:
Operating system:

Description
Would it be possible to change the background of the navigation panel and possible behind search bar (not the actual search bar eg. the darker color)? Heres a provided screenshot. As for what I'm trying to do. Or a way for me to modify the code to make it work as currently it works only unfocused.
Additional info (Optional)
Firefox version: Operating system:

Experiment with --mf-background-color-100 (for the nav bar background) and --mf-background-color-50 (for the url bar background) in custom css.


emacs client

I am having some problems opening embedded org files in emacs client.  Logseq seems to want to open emacs launching my .emacs file every time (which takes a while in my case).  Any suggestions??

@fab9597 if this is related to a specific plugin; please open an issue in the plugin repo


Update zio-test, zio-test-sbt to 2.0.13

About this PR
📦 Updates

dev.zio:zio-test
dev.zio:zio-test-sbt

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

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

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

❗ Note that the Scala Steward config file `.scala-steward.conf` wasn't parsed correctly
DecodingFailure at .pullRequests.frequency: cron4s.InvalidCron: Either DayOfMonth and DayOfWeek must have a ? expression

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

Superseded by #63.


Improve grammar in README

PR Type
What kind of change does this PR introduce?

[X] Documentation content changes

What is the current behavior?

Bad grammar in the README.
Issue Number: N/A
What is the new behavior?
Improved grammar in the README.
Does this PR introduce a breaking change?
[ ] Yes
[X] No

@coolshaurya, Thanks!
 This PR is 💘💘💘

Feel free to email me with any questions at<EMAIL_ADDRESS>.


Remove VectorTile getSource re-definition of return value

This PR removes the re-definition of the value returned by ol.layer.VectorTile#getSource, which was ol.source.VectorTile.  This re-definition causes issues when using the ol-externs.js file:
ERR! compile ol3/build/ol-externs.js:3743: ERROR - mismatch of the getSource property type and the type of the property it overrides from superclass ol.layer.Layer
ERR! compile original: function (this:ol.layer.Vector): (null|ol.source.Vector)
ERR! compile override: function (this:ol.layer.VectorTile): (null|ol.source.VectorTile)
ERR! compile ol.layer.VectorTile.prototype.getSource = function() {};

Doing an assertion instead in the renderer should be enough.  In fact, where this method was used, assertions were already made.  See : https://github.com/openlayers/ol3/blob/master/src/ol/renderer/canvas/canvasvectortilelayerrenderer.js#L93
That method is marked as @api.  The without this fix, the documentation returns the correct type: http://openlayers.org/en/v3.13.0/apidoc/ol.layer.VectorTile.html#getSource.  With this fix, it would no longer be the case.
Should ol.layer.Vector#getSource return both types and should assertions added if that brings errors ?

Thanks for this fix @adube. I think we can live with this very minor documentation flaw.


Deleting bloop-rifle from the coursier cache breaks compilation with bleep

Steps to reproduce:

Get the current bleep code on master
Run bleep compile in the bleep project directory
Delete bloop-rifle from the coursier cache
Enjoy broken compilation on next try :-D

This "fixes itself" in case you delete the .bleep folder in the project directory. Bleep will than redownload an appropriate bloop-rife and use it on next compile.
Still this is a bug as deleting anything form the $XDG_CACHE_HOME should not break any app.
In case the data is meant to be persistent it should go to likely to $XDG_DATA_HOME. (Actually not sure the coursier cache is really a cache according to the spec, as it will need internet access to regenerate; but this would be an issue for the coursier project anyway)

I'm in the process of investigating a fix myself. But I'm very new to this codebase, so no quick result is to be expected.

I'm not sure what to think of this, honestly.
Feel free to dig into this if you want, but the solution would probably be to check all jars from coursier at every bleep invocation. And that, that is too slow :D

What do other projects do in such situation?
I've deleted the coursier folder not only once while debugging things. Never had an issue until now that looked like the one here (where you get weird compilation errors, I didn't first understand even).
Also: The missing jars get re-downloaded when you delete the .bleep folder. So there are some checks somewhere I guess.
In case this is a general problem this would be of course something for upstream (coursier). A cache is a cache. Only none-essential files belong there as per spec. If stuff breaks hard when deleting the cache this stuff doesn't belong into the cache dir in the first place. There is the data dir for things that need to be keep persistent.
Think for example of backup restores. You wouldn't backup the cache dir… But you would expect that after a restore your stuff still works (maybe with some re-downlaoding needed, but it should not break hard, starting to throw new funny errors).

I'm sympathetic to your argument, but we're touching on a crucial performance optimization here.
Context
Say you have a build with some projects. What bleep essentially does to it is to use coursier and some other data transformations to rewrite that build to bloop json files with all the jars already resolved. Then the running bloop server will reload changed bloop json files and update its internal build model.
This is too slow to do on each boot, since my performance target is less than 10 ms when loading an unchanged build.
So what happens instead is that the bleep.yaml file is read at boot, and digested. If the digest matches last digest, then bleep doesn't do any further work. This logic can be found here https://github.com/oyvindberg/bleep/blob/master/bleep-core/src/scala/bleep/GenBloopFiles.scala#L108
So that digest file lives within .bleep (pre.buildPaths.digestFile in the code).
What to do?
The coursier directory is widely assumed to be append-only, so it's fine that things break if you break that assumption.
What I consider unfortunate here is that it's impossible to guess that deleting the .bleep folder will fix it. So would a bunch of other actions by the way, like changing the bleep.yaml file by changing branches or editing it, recloning the repo, compiling another bleep or scala-cli build which happens to trigger the download of the missing bloop-rifle.
I think maybe that's where we should focus some effort. Maybe run some detection code after observing a given error, mabye a bleep doctor something like that.

The coursier directory is widely assumed to be append-only, so it's fine that things break if you break that assumption.

That's not "fine". That's a bug. The spec says:
"There is a single base directory relative to which user-specific non-essential (cached) data should be written. This directory is defined by the environment variable $XDG_CACHE_HOME."
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The spec is like that for a reason, so you can delete the cache at any time. Nothing should break.

Maybe run some detection code after observing a given error, mabye a bleep doctor something like that.

This was also my idea. If the build fails for missing stuff in the cache the tool should try to fix that on its own.
If this cost a few milliseconds that's irrelevant. Bleep is anyway so bleeping fast that coursier starts to download nonexistent trash already while you're typing in the build config yaml… One will need to add some delays to MetaLS likely to not instantly pick up a freshly imported builds as bleep imports them just too fast…
Of course, if your only priority is some measure of performance, at all costs, even in case this affects correctness, my interest in this tool would end instantly. I don't need tools that aren't robust; especially in the corner cases.
I've spent some time debugging the issue. I was first thinking that's still fallout from the bloop-rifle update. Took some time to realize that bleep builds just breaks when you delete stuff from the cache and this has nothing to do with bloop-rifle as such.
This doesn't mean that I don't care about speed. This was the thing that drove me here. Bleep is amazing because it's so fast!
But this would not change even if it was 100% slower… We're talking about a few milliseconds! Single digit milliseconds… You could not even feel any difference. The lag of your keyboard is much bigger!
For reference:
https://danluu.com/input-lag/

Ok, so I'll start of repeating that I agree to work towards some kind of solution here.

That said, I believe you're holding bleep to a very high standard in this case. I don't particularly believe that common usage of the coursier folder corresponds to that spec.
bloop-rifle is a key library to communicate with bloop, which bleep uses for pretty much everything. Bleep does manage the installation of the JAR itself, since the library is compiled into the native build as long as you can stay in that world (what I mean by this is that bleep core can and is run both from native and from JVM).
If you delete crucial libraries from any other application - can you name a single one which responds by redownloading the library and then keeps working?
Given the context you've given above it's tempting to ask coursier to download core libraries like this into more stable storage. maybe that's even what we'll end up with.

But this would not change even if it was 100% slower… We're talking about a few milliseconds! Single digit milliseconds… You could not even feel any difference. The lag of your keyboard is much bigger!

It's also a long discussion, but it's far from this simple. For instance: Loading the build (and thus potentially coursier resolving and reloading of bloop files) can also be triggered from a cold JVM. This is the case when you add sourcegen to your build or when running scripts. Doing potentially thousands of IO operations multiple times is disastrous, especially if you're already pushing your machine a bit. bleep has to be fast in those contexts too.

That said, I believe you're holding bleep to a very high standard in this case.

I'm sorry if this looks like that. Bleep is cool, but it can't do everything on its own (currently?) so whatever the dependencies do we here are affected. That's why I'm saying I'm not even sure this is a bleep issue…
I've just encountered this issue in bleep, so this is my first stop.

I don't particularly believe that common usage of the coursier folder corresponds to that spec.

This may be the core of the issue.
I've tried to make clear that I'm not sure who to blame here. It can be very well that coursier is the offender not respecting specs!

If you delete crucial libraries from any other application - can you name a single one which responds by redownloading the library and then keeps working?

Normal applications don't put crucial libraries into some cache folders that may get deleted at any time… :wink:
But let's make some fair comparisons. I'm going to investigate how sbt, mill, scala-cli, and rustup behave here. That's the competition (or reference, or however you want to call it).
If things break the same for the other Scala tools, I guess I'll close this ticket and will go complain to coursier.
The other thing that I wanted to investigate was actually to see how the newest iteration of JavaScript package managers does things. (Especially yarn "blueberry"). They have also some kind of global cache; and do a lot of smart things on top to keep things fast, even if your cache has tens of thousand of entries, and projects use subsets of thousands of them in their local build.
But this could end up in reworking how coursier works. Maybe even a new tool would be needed. So I don't think anything will happen quickly.

It's also a long discussion, but it's far from this simple. For instance: Loading the build (and thus potentially coursier resolving and reloading of bloop files) can also be triggered from a cold JVM. This is the case when you add sourcegen to your build or when running scripts. Doing potentially thousands of IO operations multiple times is disastrous, especially if you're already pushing your machine a bit. bleep has to be fast in those contexts too.

First of all: Bleep needs to stay fast, as this is one of the important sales pitches. I fully agree.
 Computers are ultra fast, but our software is laughable slow, and this gets worse every day—because people just don't care.
But there are for sure solutions that keep things fast, but also work correctly. I'm sure there are…
As you don't think this issue is of priority for you feel free to just ignore it for the time being. :smile:
Like said, I will experiment a little bit with the competing Scala tools, and with the tools from other languages where one could take inspiration from. Let's see what I find out. (In case there is "nothing wrong" with bleep, and it's coursier not respecting reasonable specs, I'll just close this issue).
Once more, thanks for your patience!


Why use relative path to assets?

I'm guessing there's a good reason as to why the following code is present:
vite.config.js
export const sharedConfig: UserConfig = {
    ...
    // rewrite assets to use relative path
    {
      name: 'assets-rewrite',
      enforce: 'post',
      apply: 'build',
      transformIndexHtml (html) {
        return html.replace(/"\/assets\//g, '"../assets/')
      }
    }
}

However, this is causing issues with my extension which is trying to create devtools panels. I'm pretty sure this is due to the structure of my panel, which is under src/devtools/panels/index.html, which ends up referencing dist/devtools/assets instead of dist/assets.
Could you please share some information as to why this decision was made? Perhaps throw this rationale in the code via comments so others are made aware of it as well?

It's only replacing "/assets/ to "../assets/, for example: <script type="module" crossorigin src="/assets/devtools.ae186893.js"></script> will be replaced to <script type="module" crossorigin src="../assets/devtools.ae186893.js"></script>, dist/devtools/assets won't be replaced.
Can you provide a reproduce repo?
it works for me:

Sorry, this is my first time working with a lot of the new tools in this template (TS, Vite, etc).
I have an index.html in the same structure as your image and that one works fine. However, I also have a deeper one:
src
├── background
├── contentScripts
├── components
└── devtools
    ├── index.html
    └── panels
        └── index.html

This is failing for the src/devtools/panels/index.html file as shown below:

This structure fails during development (npm run dev) with the following error:

Refused to load the script 'http://localhost:3303/devtools/main.ts' because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem:". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Everything works again if I change the rule in vite.config.js to be:
// rewrite assets to use relative path
{
  name: 'assets-rewrite',
  enforce: 'post',
  apply: 'build',
  transformIndexHtml (html) {
    // return html.replace(/"\/assets\//g, '"../assets/') // <-- Does not work
    return html.replace(/"\/assets\//g, isDev ? '"../assets/' : '"/dist/assets/')  // Works
  }
}

I see

I'm seeing an issue with this even after #36.
In production builds of my extension, I'm seeing the following:

Another quick update:
Something in the bundling process is messing up the import paths. For example, in one of my generated JS files, I see the following snippet:
const{onMessage:onMessage,sendMessage:sendMessage}=await(baseModule=()=>import("./vendor.d3042df0.js").then(
(function(n){return n.N})),deps=["assets/vendor.d3042df0.js","assets/vendor.1f19cb17.css"]

This ends up making network requests for:

chrome-extension://ljdojmnoccfgmmgdjgbhbkakbanmbpbg/assets/vendor.d3042df0.js
chrome-extension://ljdojmnoccfgmmgdjgbhbkakbanmbpbg/assets/vendor.1f19cb17.css

Both of which fail due to the missing /dist/ prefix.
I don't know how to fix the issue, but I'm happy to help investigate/debug in any way I can. Let me know how I can help.

@gurupras Could you please provide a reproduce repo?

Could you try this repo? https://github.com/gurupras/message-service-extension

Another minor update:
This doesn't have anything to do with my repo structure. I even moved my src/devtools/panels/* to be more like the other files and sit at src/panels/* and this still produces the bad chunk just like above.

I come to the same conclusion that it's not caused by the deeper entry.
It's more likely being caused by the base of assets:

@gurupras  could you try this way of resolution? (I couldn't run your code properly in my computer, so I don't verify it 😅)
 export default defineConfig(({ command }) => ({
   ...sharedConfig,
-  base: command === 'serve' ? `http://localhost:${port}/` : undefined,
+  base: command === 'serve' ? `http://localhost:${port}/` : '/dist',
   server: {

That works!
In fact it even solved some of the web worker issues I've been struggling with as well :cry:

Actually, there's still a remaining issue with web workers in dev environment. I suspect this is also very related to some sort of relative paths.

I suspect this file should have been served as localhost:3303/... but is instead being served as chrome-extension://<id>/panels/js
Let me know if I should create a separate issue for this.

Some workers loaded successfully?
maybe you can try this: https://vitejs.dev/guide/features.html#web-workers, or compile worker files with tsup.config.ts, and
then use new Worker(browser.runtime.getURL('/dist/path/to/workder.gobal.js'))

No, none of the workers load successfully. Some of the worker URLs load, but the worker itself does not load.
Here's the content of the successful URLs:

This references /@fs/.../filter.worker.js?worker_file which ends up making an XHR request for chrome-extension://<id>/@fs/.../filter.worker.js?worker_file
I'm probably wrong, but if I had to guess, I'd say that all dynamic imports are loading incorrectly. The /@fs is being treated as chrome-extension://<id>/@fs instead of localhost:3303/@fs

It seems like a corner case of Vite, you can try this as a workaround: https://github.com/tmkx/vitesse-webext/commit/107b34cf88b56fc63257be0c2d57358e759ef74d


Add envendpoint/envzone lwrps

@vkhatri  https://dev.icinga.org/issues/11834

While working on pki ticket creation through cookbok i found a bug.
Zone_parent in resource_environment.rb sets log_duration.
Will fix this.


Add load record

lot here... sorry

@ryanto I'm not using PromiseArray or PromiseObject because I couldn't reproduce the behavior you were describing. I tried to cover this in this test. Let me know what you think.


Getting an error while starting the server in dev mode

start the server in dev mode : npm start,
we will see the following error in console

npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run test -- --watch

This is because of the additional "--" character in start script.
Removing this will resolve this issue.
Note: Empty/additional "--" character is present in some other scripts too.

"test:cover": "npm run test -- --coverage ",
"test:cover:CI": "npm run test:CI -- --coverage && cat ./coverage/lcov.info | node_modules/coveralls/bin/coveralls.js",
"test:watch": "npm run test -- --watch",

AND

"lint:watch": "npm run lint -- --watch",

@kallada1978, please fill out the issue template first so we can have more info about the issue. Thanks.
Before logging an issue:

Ensure you have followed instructions in the README
Read the FAQ
Look through existing open and closed issues to see if someone has reported the issue before
Still stuck? Report a new issue

Node version:
npm version:
Operating system:
Command line used:
Steps to reproduce:

@kallada1978, are you still experiencing the issue? If so, as mentioned just add the issue template info.

Closing as no response from the issue opener. @kallada1978, feel free to reopen this if you are still having the issue and once you fill out the necessary issue info.


@infinite is not triggered if screen size changes and expands below the loaded content

Version
2.4.5
Vue.js version
2.6.14
Reproduction Link

Steps to reproduce

Resize browser screen to half of it's height
Load enough items to cover the visible part of the screen, but not enough to cover the entire screen height
Resize browser to it's full height, so that the initially loaded items doesn't cover the full screen anymore

What is Expected?
@infinite is triggered to load more items
What is actually happening?
@infinite is not triggered and no more items are loaded.
To illustrate it, let's say we have 100 items and we load them in chunks by 10 but we need 20 items to cover the entire screen. Now if we resize the browser's window to the half of the screen height, the first 10 items will load as needed covering the visible part of the window. But resizing to the full screen after that doesn't load the next 10 items.
I have several users of my app who reported this problem, so I'd appreciate your attention to it.

@arthabus Hello!! I encountered this same problem too. Have you found any workaround yet?

I have the same issue. Any fix?


Infobox is rendered outside of viewport

Not sure how widespread the problem is.
Also, the tooltip/infobox is not activated consistently on mouse hover. Sometimes you have to unhover and move the cursor over the i again to render the tooltip.
Likely root cause is that the information is way too plentiful for what is meant to be displayed in a tooltip type element.

Infobox was reworked in #2057


Loader for route with params

Not really an issue but more of a question.
You specify in the main README.md that a loader can use regex to specify a route :
    // ...
    {
      locale: 'en',
      key: 'home',
      routes: ['/'], // you can use regexes as well!
      loader: async () => (
        await import('./en/home.json')
      ).default,
    },
    // ...

I'm guessing that's how you handle routes with params, I just wanted to know if you can confirm this or if there's a better way. I didn't find this in examples or in any of the READMEs.
Thanks for this library.

Hi @Alexandre-Fernandez! Thanks for your question.)
It does not need to be necessarily used together with url params, but can be. For example if you need to load specific translations according to url param, you could use something like:
 {
      locale: '<locale>',
      key: '<key>',
      routes: [/^\/some-page\?param=value$/],
      loader: async () => (
        await import('./<locale>/param_specific_translation.json')
      ).default,
 }

Anyway, this is a good point – it should be included in some of examples so I'm adding it...


datastore: samples for Datastore Admin API

The samples related to the generated Datastore Admin API.
This code doesn't have tests for import and export indexes. Is there a way to create/delete indexes with client methods?
Also, for the same reason it is not clear how to test indexGet(). The documentation has CreateIndex, and it looks like what we want, but it seems like it's not implemented yet.
So I tested it with my credentials on existing index. Got the first one from the list of indexes. Just to make sure that everything works fine.

Here's the building error: module cloud.google.com/go/datastore@latest found (v1.1.0), but does not contain package cloud.google.com/go/datastore/admin/apiv1
I had the same problem when writing samples. And the problem was locally resolved by adding admin folder with generated files to pkg folder with modules (to<EMAIL_ADDRESS>in that case).

@BenWhitehead, @tbpg review it please

The calls for create & delete aren't yet available in the googleapis protos so don't worry about them for the time being. All of these operations are long running, I'm not sure if we want them running every CI. @tbpg how have other APIs handled lots of LRO in their samples?

Did we get this client configured to auto-generate? This PR is blocked until then.

I will look into this today.

The configuration was merged

I've seen that new Datastore release was made recently, so I rerun checks again and they've passed :fireworks:

Thank you!


Error in creating logger while running matlab -nodesktop mode

Logging instance is not created when running the MATLAB environment in command line mode.
possible reason logging.m#L47
Error using desktop (line 20)
Invalid default value for property 'using_terminal' in class 'logging.logging':
desktop is not supported because:
Swing is not currently available.

Error in logging.getLogger (line 14)
    obj = logging.logging(name, varargin{:});

What options are you using to start Matlab?

Matlab - nodesktop is the only option am using in command line

Is Matlab (with capital M) an alias in your case? Are you sure you're not also using -nojvm?
dpo:~ $ matlab -nodesktop

                            < M A T L A B (R) >
                  Copyright 1984-2016 The MathWorks, Inc.
                   R2016a (<IP_ADDRESS>1360) 64-bit (maci64)
                             February 11, 2016

To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.

	Academic License

>> logger = logging.getLogger('mylogger')
logger =
  logging with properties:

                   ALL: 0
                 TRACE: 1
                 DEBUG: 2
                  INFO: 3
               WARNING: 4
                 ERROR: 5
              CRITICAL: 6
                   OFF: 7
       colors_terminal: [6x1 containers.Map]
          level_colors: [6x1 containers.Map]
                levels: [8x1 containers.Map]
         level_numbers: [8x1 containers.Map]
           level_range: [0 7]
                  name: 'mylogger'
              fullpath: 'logging.log'
                logfmt: '%-s %-23s %-8s %s\n'
                logfid: -1
             logcolors: [6x1 containers.Map]
        using_terminal: 1
               datefmt: 'yyyy-mm-dd HH:MM:SS,FFF'
              logLevel: 7
    commandWindowLevel: 3
>> logger.info('Look Ma, no desktop!')
logging.info 2017-09-14 09:27:13,952 INFO     Look Ma, no desktop!

but
dpo:~ $ matlab -nojvm -nodesktop

                            < M A T L A B (R) >
                  Copyright 1984-2016 The MathWorks, Inc.
                   R2016a (<IP_ADDRESS>1360) 64-bit (maci64)
                             February 11, 2016

For online documentation, see http://www.mathworks.com/support
For product information, visit www.mathworks.com.

	Academic License

>> logger = logging.getLogger('mylogger')
Error using desktop (line 20)
desktop is not supported because:
Java is not currently available.
Error in logging.logging (line 122)
    function self = logging(name, opts)

Error in logging.getLogger (line 14)
    obj = logging.logging(name, varargin{:});

@dpo  Sorry, I missed explaining that I was using a remote terminal on a Linux server & provided   matlab -nodesktop .  It seems by default Matlab swing is not enabled while using in linux terminals

What does the following command return in your case:
>> javachk('swing')
ans =
       message: 'This feature is not supported because:...'
    identifier: 'MATLAB:javachk:thisFeatureNotAvailable'

We could use it before calling desktop.

Yeah, It returns the same error message as yours.

So does this work for you:
s = javachk('swing')
in_terminal = strcmp(s.identifier, 'MATLAB:javachk:thisFeatureNotAvailable') || ~desktop('-inuse')

Even if I start Matlab with -nojvm, it returns true for me.

Yeah, this seems elegant rather than the try catch block.  I think this should do the job.

Great. Do you want to update your pull request?

I updated the pull request. When you find time kindly review.


Show in Azure Portal

Is there a way that the deployment shows up in Azure Portal in a resource group?
Just like when you deploy the ARM template using Azure Marketplace offer Elasticsearch (Elastic Cloud) Link

We are experiencing the same issue. Is there no way to view TF EC deployments in the Azure portal ATM?

I've already contacted ES support, and they say currently it's not possible. 😟

Same issue here, I would like to see this as a feature. Will take this up with ES support as well.

@sven5 @andres-robinet-sw @ThisIsNotTheUserYouAreLookingFor , the reason for this is more within how the integration between ESS and Azure is built. We have an internal ticket tracking this. I'm closing this one since its' not really terraform related.

We have an internal ticket tracking this.

@Kushmaro is there any way how we can follow the progress of this ticket?

what is the state of the integration between ESS and Azure?
is there a possibility to integrate ec_deployment https://registry.terraform.io/providers/elastic/ec/latest/docs/resources/deployment with azurerm_elastic_cloud_elasticsearchhttps://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/elastic_cloud_elasticsearch
?


panic assertion failed intermitent crash compiled to WASM and running with libwebkit2gtk on Linux

Compiled using wasm-bindgen, via wasm-pack using the web target, and the --dev profile. This code is running in the webkit2gtk 2.28.4-1 browser on Archlinux.
Stack trace:
panicked at 'assertion failed: `(left != right)`
  left: `0`,
 right: `0`', ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/macros/mod.rs:16:9

<?>.wasm-function[console_error_panic_hook::Error::new::h11710926359e6a99]@[wasm code]
<?>.wasm-function[console_error_panic_hook::hook_impl::h43ac723b12164d7a]@[wasm code]
<?>.wasm-function[console_error_panic_hook::hook::h1509fc86d60f8ecc]@[wasm code]
<?>.wasm-function[core::ops::function::Fn::call::h63e0941c1aa82381]@[wasm code]
<?>.wasm-function[std::panicking::rust_panic_with_hook::h3e6619a8809a443a]@[wasm code]
<?>.wasm-function[rust_begin_unwind]@[wasm code]
<?>.wasm-function[core::panicking::panic_fmt::ha8209066b105fcdd]@[wasm code]
<?>.wasm-function[hashbrown::raw::inner::RawTable<T>::bucket::hfcb3cc32fba2684b]@[wasm code]
<?>.wasm-function[hashbrown::raw::inner::RawTable<T>::insert::h71a2e674faab18bc]@[wasm code]
<?>.wasm-function[indexmap::map::core::IndexMapCore<K,V>::push::h4f42c6dc20fce8fb]@[wasm code]
<?>.wasm-function[indexmap::map::core::IndexMapCore<K,V>::insert_full::h6cc9bd7b0982815d]@[wasm code]
<?>.wasm-function[indexmap::map::IndexMap<K,V,S>::insert_full::he19372e70f82483d]@[wasm code]
<?>.wasm-function[indexmap::map::IndexMap<K,V,S>::insert::h007a7c31241165e3]@[wasm code]
<?>.wasm-function[<indexmap::map::IndexMap<K,V,S> as core::iter::traits::collect::Extend<(K,V)>>::extend::{{closure}}::h396d242148f62446]@[wasm code]
<?>.wasm-function[core::iter::traits::iterator::Iterator::for_each::call::{{closure}}::hbb035c70f8777522]@[wasm code]
<?>.wasm-function[core::iter::adapters::map_fold::{{closure}}::h62be75b9f0a27adf]@[wasm code]
<?>.wasm-function[core::iter::adapters::filter_fold::{{closure}}::h268ff1624341ca8a]@[wasm code]
<?>.wasm-function[core::iter::adapters::map_fold::{{closure}}::hcf5aea4a2ef5e328]@[wasm code]
<?>.wasm-function[core::iter::traits::iterator::Iterator::fold::h853140cd02b11d69]@[wasm code]
<?>.wasm-function[<core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::hf5d0ea58d414ae46]@[wasm code]
<?>.wasm-function[<core::iter::adapters::Filter<I,P> as core::iter::traits::iterator::Iterator>::fold::hfe2842f31b010ace]@[wasm code]
<?>.wasm-function[<core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h64e7ef0a45baccd6]@[wasm code]
<?>.wasm-function[core::iter::traits::iterator::Iterator::for_each::h5ba4ea97dae030ca]@[wasm code]
<?>.wasm-function[<indexmap::map::IndexMap<K,V,S> as core::iter::traits::collect::Extend<(K,V)>>::extend::h413750f7b641b695]@[wasm code]
<?>.wasm-function[<indexmap::map::IndexMap<K,V,S> as core::iter::traits::collect::FromIterator<(K,V)>>::from_iter::h49e190a53d106e85]@[wasm code]
<?>.wasm-function[<indexmap::set::IndexSet<T,S> as core::iter::traits::collect::FromIterator<T>>::from_iter::hc8ac9b46dc06688c]@[wasm code]
<?>.wasm-function[core::iter::traits::iterator::Iterator::collect::h6577e1d6120a2276]@[wasm code]
<?>.wasm-function[<yew::virtual_dom::Classes as core::convert::From<&str>>::from::hdb0a0b180f292b8c]@[wasm code]
<?>.wasm-function[<T as core::convert::Into<U>>::into::h22798bc94b25b76c]@[wasm code]

It's possible this may be related to https://github.com/rust-random/rand/issues/1016 Perhaps it's a stability issue in libwebkit2gtk.

This is most likely a bug in IndexMap, can you open an issue there?

@Amanieu done :+1:

This is most likely a bug in IndexMap

Why do you think so?

panicked at 'assertion failed: `(left != right)`
...
<?>.wasm-function[hashbrown::raw::inner::RawTable<T>::bucket::hfcb3cc32fba2684b]@[wasm code]
<?>.wasm-function[hashbrown::raw::inner::RawTable<T>::insert::h71a2e674faab18bc]@[wasm code]
<?>.wasm-function[indexmap::map::core::IndexMapCore<K,V>::push::h4f42c6dc20fce8fb]@[wasm code]

It would appear to be this assertion:
https://github.com/rust-lang/hashbrown/blob/aa8c30b9e8a5805d8c9dba620f3a51c73c9e050d/src/raw/mod.rs#L505
A 0 mask indicates a table with no capacity, so insert should have called reserve(1, hasher) before we got here.

Yes, but I don't understand why the reserve call didn't work. I was thinking that maybe you did wierd things with the capacity in IndexMap.

Eh, I don't know what weird things we could be doing to influence reserve. There's the hasher argument, but that only returns the u64 (or could panic). We do explicitly match our Vec capacity to the RawTable, but that should be independent.

Wild guess -- maybe there was an allocation failure? Does WASM do anything weird with the OOM hook? That's supposed to diverge, so we'd get undefined behavior if that returned somehow...

I just had a look at all the functions in the backtrace starting from here and it all looks perfectly standard.
At this point I am strongly considering this could be a compiler bug...

@cuviper some additional context, this problem only seems to occur on startup of the application, so while I guess it's possible to be OOM, it seems unlikely. I'll try to better understand WASM memory allocation and monitor memory usage while testing to see if I can get some better info next time it happens

Could it also possibly be some unsafe code causing the issue? I don't have any in my code, but perhaps an underlying library, or interaction with Javascript that is broken? So far I haven't encountered this issue on Mac (webkit) or Windows (Edge, not chromium edge), which makes it all the more stranger, but I also haven't done as much testing on those platforms yet.

What version of rustc are you using? It might be worth trying 1.47-beta, which is the first with LLVM 11.

I'm using 1.46 although at the time of reporting it could have been 1.45. I'll give 1.47 beta a try

Another crash today involving hashbrown using 1.47 beta, but a different stack trace, and different error message:
[Error] Unhandled Promise Rejection: Error: Out of bounds memory access (near '...e__h0039081c98c7cde6(arg0, arg1, addHeap...')
	<?>.wasm-function[hashbrown::raw::RawTable<T>::find::haa7d801b6993e649] (data:text/html,%3C…%3E:289:135)
	<?>.wasm-function[hashbrown::map::HashMap<K,V,S>::insert::he60509825cdbf93f]
	<?>.wasm-function[std::collections::hash::map::HashMap<K,V,S>::insert::h6360c5d503d5da4a]
	<?>.wasm-function[yew::virtual_dom::vtag::VTag::add_attributes::he5f5c99026bbf772]

And another crash which seems completely unrelated:
[Error] Unhandled Promise Rejection: Error: Unreachable code should not be executed (evaluating 'wasm.__wbindgen_start()')
    <?>.wasm-function[__rust_start_panic] (data:text/html,%3C…%3E:746)
    <?>.wasm-function[rust_panic]
    <?>.wasm-function[std::panicking::rust_panic_with_hook::h6c81660583233495]
    <?>.wasm-function[std::panicking::begin_panic_handler::{{closure}}::h35f4baddc401ed83]
    <?>.wasm-function[std::sys_common::backtrace::__rust_end_short_backtrace::h9f9c9a1ba07fa30f]
    <?>.wasm-function[rust_begin_unwind]
    <?>.wasm-function[core::panicking::panic_fmt::h29e09648cb9a0a7a]
    <?>.wasm-function[<wasm_bindgen::JsValue as core::ops::drop::Drop>::drop::h8f8e8a7ba387ed46]
    <?>.wasm-function[core::ptr::drop_in_place::h5d01315294578898]
    <?>.wasm-function[core::ptr::drop_in_place::h8a9fa6b94f654970]
    <?>.wasm-function[js_sys::global::get_global_object::h99770ed27eadef53]
    <?>.wasm-function[js_sys::global::GLOBAL::__init::h3814f4f2ded02b15]
    <?>.wasm-function[core::ops::function::FnOnce::call_once::hba8fa7df53943a1a]
    <?>.wasm-function[std::thread::local::lazy::LazyKeyInner<T>::initialize::h74fa9f2fbe1826a9]
    <?>.wasm-function[std::thread::local::statik::Key<T>::get::h24b7945b1c67fb6e]
    <?>.wasm-function[js_sys::global::GLOBAL::__getit::h6e9410677e1f915b]
    <?>.wasm-function[std::thread::local::LocalKey<T>::try_with::h603f7caab0a8af7a]
    <?>.wasm-function[std::thread::local::LocalKey<T>::with::he66d6e85b8524a51]
    <?>.wasm-function[js_sys::global::hf9ea7e1d6f157a7a]
    <?>.wasm-function[web_sys::window::h479c51bd53245a96]
    <?>.wasm-function[i18n_embed::requester::WebLanguageRequester::requested_languages::h087a7383ef02efe9]
    <?>.wasm-function[<i18n_embed::requester::WebLanguageRequester as i18n_embed::requester::LanguageRequester>::requested_languages::he9b116fc34fb7a29]

I've tried running this code about 100 times on a mac using web-view, but I can't replicate the issue there. I may have gotten the crash once on Windows, but can't be sure because there was no stack trace.
It's seeming more like it may either be:

Compiler bug
Unsafe code in some library/binding messing the party up for everyone
A problem with webkit2gtk (but perhaps not because I might have triggered it in Windows on Edge, I'm not 100 percent sure though).

I'm going to cc @alexcrichton since this is likely a bug in the compiler or in the WASM implementation.

@kellpossible Could you give us instructions & code to reproduce this locally?

I'd be happy to help dig in, but yeah having a way to rpeproduce would be quite helpful!

Thanks @alexcrichton @Amanieu Unfortunately it's not a public project yet, but I'll set aside some time this week  to try and recreate it in a small project I can share here. The other problem is that it's very sporadic, maybe one in 50 runs or so.

I've not had the time to create a reproducible example that I can share, this issue appears to be exclusively occurring on libwebkit2gtk, perhaps it's a bug with the webassembly implementation there. After several weeks running my application in chomium and firefox I've yet to reproduce the issue in those browsers. I've also had some rendering issues exclusive to libwebkit2gtk so probably will ditch it at this point and use some other solution.


Create ru_ru.json

Hello, @BardinTheDwarf!
A user by the name of kirechka, has already provided me with a Russian translation. It's different from yours, would you like to verify it?

Hello, @BardinTheDwarf!
A user by the name of kirechka, has already provided me with a Russian translation. It's different from yours, would you like to verify it?


Default Assertion method in Issue Credential API

Currently, Issue Credential API expects a DID in the request (Opts assertionMethod) for signing.
Need to have a default assertionMethod.
https://github.com/trustbloc/edge-service/blob/37205b444d47e87eeb445e2554566b3262bae25a/pkg/restapi/vc/operation/operations.go#L828-L834

Now, default value is fetched from the issuer profile when the request doesn't contain DID for signing - https://github.com/trustbloc/edge-service/blob/8caae209be08a935c4d7b96ff6f9ec2d9e9eca97/pkg/restapi/vc/operation/operations.go#L952. Closing the issue.


Better documentation of the Program Manager (Website, HTML Help)

Using the Microsoft HTML Help resources, improved and updated documentation for the Program Manager should be created to increase ease of use for new users and cover all the changes between Program Manager since 1996. Help writing, styling and editing the documentation using an HTML Help compiler would be appreciated.
In order to roll out documentation faster, it may be more useful for me to add a help section to the website and ensure that it's fully updated.

If anyone could create an HTML Help project for this and begin documentation once Program Manager reaches a stable state that would help. Soon I may be doing this documentation online in the freedom-desktop website repository though.


Playback works in debug mode but not release on raspberry pi

Using media-kit for a Linux desktop app that is supposed to run on a raspberry pi 5.
Raspberry pi is running Debian GNU/Linux 12 (bookworm) aarch64. I also set up the project on my Ubuntu 24 machine.
In both cases I installed mpv using sudo apt install mpv
Now I try running the app...
On ubuntu laptop
flutter run works
flutter build linux and then running the app (./app) works.
On raspberry pi
flutter run works
flutter build linux and then running the app (./app) does not work. Where the video should be there's just a black box.
The video is an mp4 in h264 avc1 and it works on both platforms when I try to run it directly with mpv.
When I run the app there's always something like this in the output, regardless of whether the output works or not:
package:media_kit_libs_linux registered.
media_kit: VideoOutput: video_output_new:<PHONE_NUMBER>41904
media_kit: VideoOutput: Using H/W rendering.
flutter: VideoOutput.Resize
flutter: {handle:<PHONE_NUMBER>41904, id:<PHONE_NUMBER>1616, rect: {left: 0, top: 0, width: 1, height: 1}}
flutter: NativeVideoController: Texture ID:<PHONE_NUMBER>1616
flutter: media_kit: wakelock: _count = 1
MediaKitEventLoopHandler::Register: std::thread exit:<PHONE_NUMBER>41904

How can I debug this? Is there an option to create logs from mpv? Is it possible to get a more verbose output?

Playing an asset?

Yes playing an asset

Use asset:// instead.


Detailed Syntax Errors not Shown on Minifiying JS

When minifying JS, the minification process sometimes results in syntax errors due to questionable JS syntax/code. This is understandable. What is annoying is the minifier doesn't state what code caused errors, just that errors were encountered.
It'd be useful if for each error, there would be a message stating what line and char (approximately) in the original file contained the error, so that it can be rectified and minification rerun.

Please attach the JS or pieces of it, what you want to minify and attach the errors. Thx. In general you should see, what is the problem. And as I wrote on the Readme, you can test the code online: http://refresh-sf.com/.

Having used YUI compressor (which provides detailed output), it determined that the issue was one of using keywords or reserved words as object properties in the form of object.property instead of object['property']. A message such as the following would have been useful:
"Errors were encountered during minification. Please check that the code does not use keywords or reserved words as object properties."

As I said; oklease attach the JS or pieces of it, what you want to minify and attach the error/stack trace. I think you have a bit more then object.property. Thx.

Closing as invalid, because of missing code to test.


Deprecate system props, but don't remove system props

This PR deprecates system props in all components except Box, but does not actually remove them. A codemod with documentation is provided to enable users to easily make the transition.
Merge checklist

[x] Added/updated tests
[x] Added/updated documentation
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Much more tweaking on the codemod here, we should be to the place where running it on a production codebase like memex will only take about 15 minutes give or take of post codemod tweaking to get things right. 👍


Having separate fixed designs for changing character and for changing gear active does not work properly across areas.

If you have a design that changes character customization and not equipment, and one that changes character equipment and not customization, when an area change occurs, Glamourer only takes the bottom-most design and applies it to the character.
The expected outcome would be to apply both designs without a problem. The problem is possibly that it's attempting to apply both at the same time, so it only puts into effect the last one? idk

No, the expected outcome is exactly what's happening. It will only apply one fixed design in any given situation.


Cannot build: USES=go has invalid arguments: 1.19

Hi, have cloned the repo and and on trying my first trying using make -j8 I am getting
make -j8
===>  photoprism-g20221118 USES=go has invalid arguments: 1.19.
*** Error code 1
Stop.
make: stopped in /root/photoprism-freebsd-port
Have tried googling, with no luck. Reinstalled go119, same.
Any pointers would be much appreciated
======
uname -a
FreeBSD photoprism 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 n245412-484f039b1d0 TRUENAS amd64
pkg info go
go-1.19,2
Name           : go
Version        : 1.19,2
Installed on   : Tue Aug  9 15:04:39 2022 BST
Origin         : lang/go
Architecture   : FreeBSD:13:*
Prefix         : /usr/local
Categories     : lang
Licenses       :
Maintainer<EMAIL_ADDRESS>WWW            : https://golang.org
Comment        : Meta-port for the default version of the Go programming language
Annotations    :
repo_type      : binary
repository     : FreeBSD
Flat size      : 13.0B

found previous closed issue

can you explain how was the issue solved ? facing the same error.

https://github.com/huo-ju/photoprism-freebsd-port/issues/47#issuecomment-1284989864


Broken IOT tests

Describe the issue
Test Fusion 1
Test Fusion 2

There is a limit of 100 registries and if the tests get rerun without cleaning up, we'll hit this limit. I'll see what can be done to clean them up before running the tests.

Reopening until I've resolved the resource leak.

Fixed in this PR https://github.com/GoogleCloudPlatform/java-docs-samples/pull/1487


NSG tags and service endpoints modification

@MightyPen Made a few modifications to the note added yesterday and added an extra note today.

@DhruvMsft : Thanks for your contribution! The author, @CarlRabeler, has been notified to review your proposed change.

@CarlRabeler can you please review my changes

@DhruvMsft see my suggested changes

@DhruvMsft see my suggested changes

@DhruvMsft please either close or resolve

Please assign to @DhruvMsft

@PRMerger15 please assign to @DhruvMsft

@v-shils please assign to @DhruvMsft


unexpected name NewElement while compiled by webpack in laravel 5.4

Unexpected token: name (newElement) [./~/vue2-medium-editor/vue-medium-editor.js:7,0][js/home.js:8921,6]

Please try importing like this
import editor from 'vue2-medium-editor/vue-medium-editor'

It didn't worked,I think the problem is in here
function replaceElementWith (element, tagName) {
  let newElement = document.createElement(tagName)
  element.parentNode.replaceChild(newElement, element)
  return newElement
}

this code working without any problem in development environment
but while i am making the code to production mode it is showing the above error.

I think the problem is that you are using uglify. Please try babili.


Allow to use any type like image in experimental UserInfoTaggingProtocol

Split into multiples protocol to generate code automatically and be more generic

UserInfoConvertibleProtocol is the protocol to conform to use as userInfo
later variable dictionary inside protocol could be renamed into userInfo

UserInfoTaggingProtocol: Same as before except generic on name type, allowing to put image
Useful with logger like NSLogger

public struct Image: UserInfoTaggingProtocol {
    public var name: UIImage
    public var dictionary: [String: Any] {
        return [XCGNSLoggerLogDestination.Constants.userInfoKeyImage: name]
    }
    public init(_ name: UIImage) {
        self.name = name
    }
}
extension Image {
    static let done = Image(UIImage(named: "doneImage")!)
}

UserInfoTagProtocol : a UserInfoTaggingProtocol with one user info defined key, allowing to generate the code automatically. (Extended by Dev and Tag)
UserInfoTaggingProtocol and UserInfoTagProtocol  could be merged, but I keep it separated to do any change on XCGLogger users who have already implemented UserInfoTaggingProtocol

Hi @phimage,
I like the look of this, but I need to test it some more before merging it in.


Question about the tool for generating masks

Hi there,
Great work! I am curious about how to generate masks for this method in a convenient way. It would be helpful if you could provide the details of the tool you used for generating masks. Is it an off-the-shelf segmentation model or a manual labeling tool?

Hi,
You can use any pre-trained segmentation model (e.g., Segment Anything).
You can also do it manually, because the segmentation masks can be coarse.
Omri


Confused with rn-camera-roll plugin? Can anyone help?

Can you please tell me all the features of your plugin and what are future implementations. It will really helpful.
I am able to access gallery photos>images. But what next how can I select those images by clicking. Is there any options in your plugin or I need to implement it myself?
For now I want to know these points:

Can I select multiple images for upload? if yes how or where I need to go?
Can I select video?

Basically I want to make a fb like posting with multiple image upload. So after opening gallery I need to select multiple/single images > show all uploaded items > upload button which actually uploads it to feed/wall (as fb did after multiple image upload) . @bruz

Hey! This module was a kind of polyfill for when CameraRoll API from React Native was only supported on iOS. It's now stable and fully available on both iOS and Android.
I've updated the message in the README to make it bigger and clearer that this module is deprecated: https://github.com/bamlab/rn-camera-roll#as-of-react-native-019-the-cameraroll-api-is-now-available-on-android-too-you-should-not-use-this-module-anymore-and-only-use-the-cameraroll-api-from-react-native
This plugin does nothing more than the CameraRoll API and won't be developed anymore.
It's not an image picker as you can see by looking the usage section of the README: https://github.com/bamlab/rn-camera-roll#usage
Please note that the CameraRoll API from React Native is not a fully featured image picker too, it's just offering a way to fetch the images from the Camera gallery of the phone.
If you want a ready made image picker for React Native, take a look at this one: https://github.com/marcshilling/react-native-image-picker or https://github.com/ivpusic/react-native-image-crop-picker or maybe something else :) (I've just made a quick search for "react native image picker"). https://js.coach/react-native is also a good resource for ready made module.

I already have those links of other image picker plugin now giving a try to this one https://github.com/ivpusic/react-native-image-crop-picker. Thanks for clearing things.


IDAIPython crashes IDA if IDAPython is not loaded.

For some reason, installing Python 2.7.11 prevented IDAPython from working on my PC. As a result - IDAIPython kept crashing IDA, resulting in a dump file.
I am not yet sure why this happens, but we should probably check for IDAPython being loaded anyway.

I think we should call runplugin for the python plugin. It will ensure python is loaded first, and if it fails then we can just terminate ida_ipython.

Found the cause. It's the call to PyGILState_Ensure when python is not initialized. I will add in a check to ensure python is initialized.

Sounds like a good solution to me.


Add copyright notice to code files that lack it

I used the following command to find files that lack the copyright notice
grep -L -R --exclude-dir=vendor --include \*.go "Copyright (C)"

Codecov Report

Merging #289 (7edea44) into main (9b96359) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #289   +/-   ##
=======================================
  Coverage   67.33%   67.33%
=======================================
  Files          73       73
  Lines        4271     4271
=======================================
  Hits         2876     2876
  Misses       1212     1212
  Partials      183      183

Flag
Coverage Δ

unittests
67.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/api/decoder.go
100.00% <ø> (ø)

pkg/api/utils.go
48.48% <ø> (ø)

pkg/pipeline/decode/decode_protobuf.go
74.54% <ø> (ø)

pkg/pipeline/extract/conntrack/metrics.go
100.00% <ø> (ø)

pkg/pipeline/ingest/ingest_grpc.go
75.82% <ø> (ø)

pkg/pipeline/pipeline_builder.go
65.28% <ø> (ø)

pkg/pipeline/utils/convert.go
18.18% <ø> (ø)

pkg/test/ipfix.go
69.86% <ø> (ø)

pkg/test/loki_mock.go
40.00% <ø> (ø)

pkg/test/tls.go
100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Parsing OSM

Hi,
When parsing openSreetMap data I can't find the way to get all the content of the attributes when there are more than 2 children from root. It only iterates once. I have attached a small sample of the data. I'm working with a big file. (xml attached with .txt extension)
for nodes in xmlDoc.root["nodes"]["node"].all!{
    if let id = nodes.attributes["id"] {
        Swift.print(id)
    }
}

for nd in xmlDoc.root["ways"]["way"]["nd"].all! {
    if let ref = nd.attributes["ref"] {
        Swift.print(ref)
    }
}

The first for loop gives all the "id"s in all "nodes"
The second for loop gives only the first s in  but should be getting all the s ?
Thanks for your help.
map.txt

Hi,
the second loop would return all "nd" elements from the first "way" element in "ways".
You probably wanted to iterate all "way" elements so you need to have some nested loops,
like for way in xmlDoc.root["ways"]["way"].all! { // another loop for all "nd" elements here... }.
Cheers


Any playground using the rusqlite crate fails to link to sqlite

Example playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4f49430e77a4d398d126f6fc50e35c43 (Note that rusqlite is included in the playground as it was in the cookbook).
This should be fixable by turning on rusqlite's bundled feature which will make rusqlite build a static copy.
That said, I looked and am unsure where I could add that in a PR.

That said, I looked and am unsure where I could add that in a PR.

To rusqlite itself, ideally:
https://github.com/integer32llc/rust-playground/issues/192#issuecomment-388589736

Perfect, thanks.

Ah, there's no way for us to know this actually fixes it prior to cutting a release (and possibly waiting for y'all to do an update? not sure if that's a step too), is there?
Like, could I build the playground locally, or am I just asking for trouble.

Found the docs for this, will probably give it a stab but either way this can be closed, thanks!

Like, could I build the playground locally

Yep, certainly! Let me know if it’s not obvious how to do this.


Unexpectedly high GPU usage?

I've noticed that when running Desktoptale, my resting GPU usage increases from 0-3%, all the way up to around 60%. The testing was performed by simply launching and closing Desktoptale while watching the Task Manager, without any other GPU-intensive programs running, and the changes were immediate when the program started or stopped. Only one character was present at a time for the testing.
The majority of the GPU usage is attributed to Desktop Window Manager, which typically rests at 0.1-0.3% GPU usage when idle. Desktoptale is second, with a little bit less usage than Desktop Window Manager. Client Server Runtime Process is also increased to a less significant extent, but still increases a fair distance past its consistent resting GPU usage of 0.1%. Here is a screenshot of the four processes using the most GPU while Desktoptale is running:

Some details that may be relevant:

This is on a laptop running Windows 10.
GPU 0 - 3D is the integrated graphics card.
A second monitor is connected. When it's disconnected, Desktoptale's GPU impact seems to be reduced by about half. Notably, the character was only ever present on the primary, built-in screen for these tests.

Here is a screenshot of the GPU usage when the second monitor is disconnected:

Here is a screenshot of the GPU usage when Desktoptale is set to run on the high-performance graphics card (with the second monitor re-connected). It seems like the GPU usage of Desktoptale itself and Client Server Runtime Process decrease dramatically, while Desktop Window Manager's GPU usage is increased by the same amount:

Lastly - and I do apologize for including like a million screenshots of Task Manager, but this seemed like it could be particularly useful - during this testing, I noticed that, while the confirmation dialog for enabling Click-Through Mode is open, Desktoptale's total GPU impact drops to near zero. However, once the confirmation dialog is closed, the GPU usage goes back up; whether or not Click-Through Mode is enabled has no effect. I suspect that this must be because characters are frozen while this dialog box is open.

The last observation in particular makes me wonder if it would be possible to significantly improve performance by freezing character rendering in a similar way whenever all characters are standing still. Putting that aside though, it does seem strange to me that Desktoptale would cause such high GPU usage in general. I don't have any experience with doing stuff like what this program does, though, so if it's just because it's inherently expensive to draw stuff outside of any window, I wouldn't be all that surprised.

Since 1.4.0, all characters get rendered into one big window that spans all connected monitors since the previous approach (one window per character) caused a number of weird issues with more than just a handful of characters on screen. However, iGPUs sometimes struggle with big render surfaces, so that's what's causing the behavior you're seeing. You're 100% correct in your assumption about the dialogue window - it freezes rendering of the big window which causes GPU usage to drop. Since this is caused by intended behavior, I'll close this as resolved, but thank you nonetheless for the thorough investigation!


nixpkgs.localSystem gccarch issue

Describe the bug
I have been using
  nixpkgs.localSystem = {
    gcc.arch = "znver2";
    gcc.tune = "znver2";
    system = "x86_64-linux";
  };

as part of my config for a while and recently (between yesterday and today) nixos-rebuild started complaining about not having that arch extension:
error: a 'x86_64-linux' with features {gccarch-znver2} is required to build '/nix/store/968sn36k96cy80gclrxg7df5zlac0fzv-bootstrap-stage0-glibc.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

Additional context
Will attempt to bisect the git history to check what changed but in case anyone is having issues will leave this documented.
Metadata

system: "x86_64-linux"
host os: Linux 5.10.8.a-hardened, NixOS, 21.03.git.66744709d5d (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.10
channels(root): "nixos-21.03pre264299.01291474ea9"
channels(fabian): "home-manager"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

My issue started with:
9c213398b312e0f0bb9cdf05090fd20223a82ad0 is the first bad commit
commit 9c213398b312e0f0bb9cdf05090fd20223a82ad0
Author: John Ericson<EMAIL_ADDRESS>Date:   Fri Jan 22 20:33:55 2021 -0500

    lib: Clean up how linux and gcc config is specified

    Second attempt of<PHONE_NUMBER>589ee3acd070a6409b2b9700c92d65; see that
    commit for details.

    This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.

My issue started with:
9c213398b312e0f0bb9cdf05090fd20223a82ad0 is the first bad commit
commit 9c213398b312e0f0bb9cdf05090fd20223a82ad0
Author: John Ericson<EMAIL_ADDRESS>Date:   Fri Jan 22 20:33:55 2021 -0500

    lib: Clean up how linux and gcc config is specified

    Second attempt of<PHONE_NUMBER>589ee3acd070a6409b2b9700c92d65; see that
    commit for details.

    This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723.

My issue was caused by a changed I didn't catch on the release notes:
+   <listitem>
+    <para>
+     Platforms, like <varname>stdenv.hostPlatform</varname>, no longer have a <varname>platform</varname> attribute.
+     It has been (mostly) flattoned away:
+    </para>
+    <itemizedlist>
+     <listitem><para><varname>platform.gcc</varname> is now <varname>gcc</varname></para></listitem>
+     <listitem><para><literal>platform.kernel*</literal> is now <literal>linux-kernel.*</literal></para></listitem>
+    </itemizedlist>

My issue was caused by a changed I didn't catch on the release notes:
+   <listitem>
+    <para>
+     Platforms, like <varname>stdenv.hostPlatform</varname>, no longer have a <varname>platform</varname> attribute.
+     It has been (mostly) flattoned away:
+    </para>
+    <itemizedlist>
+     <listitem><para><varname>platform.gcc</varname> is now <varname>gcc</varname></para></listitem>
+     <listitem><para><literal>platform.kernel*</literal> is now <literal>linux-kernel.*</literal></para></listitem>
+    </itemizedlist>

Uh, how did you solve your problem? I'm having the same issue

Well, unsure how to help, I was able to narrow down the change by bisecting unsure if that is a possibility. (Hopefully there are better error messages now to avoid looking through changes)


Empty article list for feeds

Describe the bug
I'm having behavior that appears to be very similar to this previous bug
https://github.com/ViennaRSS/vienna-rss/issues/599
When I first load up Vienna, everything is fine, but after a bit (amount of time required is indeterminate), if I switch from Feed A to Feed B and then back to Feed A, the article list in Feed A will be empty. Then if I switch away from Feed A again and go back again, I'll see the articles in Feed A again.
To Reproduce
Run Vienna. Leave it open for a while. Select a feed and then switch to a different feed, then back to the first feed.
Screenshots

Please complete the following information:

Vienna version 3.7.2
OS version: macOS 12.1

What I have figured out is, this happens when the application looses its focus. So if Vienna moves to the background and I put Vienna back up in front, I do have the same behavior... So it does not depend on time, its event based