polybar crash with core-dump on xmonad

Describe the issue
Polybar 3.4.0 regularly (multiple times a day) crashes with core-dump on my arch with xmonad.
A clear and concise description of what the bug is.
My polybar regularly crashed on xmonad, upon some investigation I can reproduced the crash. It seems to be related to floating windows.
When dragging a floating window in xmonad, by pressing super and dragging it with the mouse-pointer, polybar sometimes crashes when the mouse-pointer (while dragging the window) gets close to the polybar. However it doesn't always happen immediately and sometimes takes a few tries.
           PID: 104818 (polybar)
           UID: 1000 (XXX)
           GID: 985 (users)
        Signal: 11 (SEGV)
     Timestamp: Fri 2019-10-25 15:39:50 CEST (10min ago)
  Command Line: polybar test
    Executable: /usr/bin/polybar
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (XXX)
       Boot ID: bbdfac637c6044df856dc3618cf3bd4b
    Machine ID: 748c9ee31f3548008e4a35e885127773
      Hostname: XXX
       Storage: /var/lib/systemd/coredump/core.polybar.1000.bbdfac637c6044df856dc3618cf3bd4b.104818.1572010790000000000000.lz4
       Message: Process 104818 (polybar) of user 1000 dumped core.

                Stack trace of thread 104821:
                #0  0x0000556307370bcc _ZNK7polybar7modules18xworkspaces_module5buildEPNS_7builderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (polybar)
                #1  0x000055630737749f _ZN7polybar7modules6moduleINS0_18xworkspaces_moduleEE10get_outputB5cxx11Ev (polybar)
                #2  0x0000556307370d23 _ZN7polybar7modules18xworkspaces_module10get_outputB5cxx11Ev (polybar)
                #3  0x0000556307379397 _ZN7polybar7modules6moduleINS0_18xworkspaces_moduleEE8contentsB5cxx11Ev (polybar)
                #4  0x000055630729ad4d _ZN7polybar10controller14process_updateEb (polybar)
                #5  0x00005563072a3396 _ZN7polybar10controller18process_eventqueueEv (polybar)
                #6  0x00007fbb85111ed4 execute_native_thread_routine (libstdc++.so.6)
                #7  0x00007fbb84ec94cf start_thread (libpthread.so.0)
                #8  0x00007fbb84df82d3 __clone (libc.so.6)

                Stack trace of thread 104818:
                #0  0x00007fbb84d8112b _int_free (libc.so.6)
                #1  0x00007fbb850fb8a3 _ZNSs4_Rep10_M_disposeERKSaIcE (libstdc++.so.6)
                #2  0x00007fbb850e56d3 __gxx_exception_cleanup (libstdc++.so.6)
                #3  0x0000556307397089 _ZNK3xpp3xkb5event10dispatcherIRN7polybar10connectionEEclINS_5event8registryIS5_JNS_5randr9extensionENS_9composite9extensionENS0_9extensionEEE7handlerEEEbT_RKSt10shared_ptrI19xcb_generic_event_tE (polybar)
                #4  0x000055630739066a _ZNK7polybar10connection14dispatch_eventERKSt10shared_ptrI19xcb_generic_event_tE (polybar)
                #5  0x000055630729dc2f _ZN7polybar10controller11read_eventsEv (polybar)
                #6  0x00005563072a4ce6 _ZN7polybar10controller3runEbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (polybar)
                #7  0x0000556307252d35 main (polybar)
                #8  0x00007fbb84d20153 __libc_start_main (libc.so.6)
                #9  0x00005563072554ce _start (polybar)

                Stack trace of thread 104819:
                #0  0x00007fbb84ecfc45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbb8510c1b1 __gthread_cond_wait (libstdc++.so.6)
                #2  0x00005563072c5a52 n/a (polybar)
                #3  0x00007fbb85111ed4 execute_native_thread_routine (libstdc++.so.6)
                #4  0x00007fbb84ec94cf start_thread (libpthread.so.0)
                #5  0x00007fbb84df82d3 __clone (libc.so.6)

Was it working before?
Nope, always crashed .
To Reproduce
A minimal but complete config with which the problem occurs:
I boiled my config down to the following, and the bug still appears, I have to admit I didn't write this config myself, only modified it, and therefore many lines might be unnecessary to reproduce the crash.
[global/wm]
;https://github.com/jaagr/polybar/wiki/Configuration#global-wm-settings
margin-top = 0
margin-bottom = 0

[settings]
;https://github.com/jaagr/polybar/wiki/Configuration#application-settings
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
screenchange-reload = true
compositing-background = over
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over

[colors]
background = #2F343F
foreground = #f3f4f5
alert = #d08770

###############################################################################
[bar/test]

monitor = eDP1
bottom = false
fixed-center = true
width = 100%
height = 30

font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=13;0"
font-2 = "Noto Sans:size=10;0"
font-3 = "Noto Sans Mono:size=10;0"
font-4 = "FontAwesome5Brands:size=13;0"

background = ${colors.background}
foreground = ${colors.foreground}

radius = 0.0
line-size = 2
line-color = #000000

border-size = 0

border-color = #000000

padding-left = 1
padding-right = 1

module-margin-left = 3
module-margin-right = 3
modules-center = ewmh
###############################################################################

[module/ewmh]
type = internal/xworkspaces

pin-workspaces = false
enable-click = true
enable-scroll = true
reverse-scroll = true

icon-0 = 1;
icon-1 = 2;
icon-2 = 3;
icon-3 = 4;
icon-4 = 5;
#icon-5 = 6;
format = <label-state>
label-monitor = %name%

label-active = %name%
label-active-foreground = ${colors.foreground}
label-active-background = ${colors.background}
label-active-underline= #6790eb
label-active-padding = 4

label-occupied = %name%
label-occupied-background = ${colors.background}
label-occupied-padding = 2

label-urgent = %name%
label-urgent-foreground = ${colors.foreground}
label-urgent-background = ${colors.alert}
label-urgent-underline = ${colors.alert}
label-urgent-padding = 2

label-empty = %name%
label-empty-foreground = ${colors.foreground}
label-empty-padding = 2
format-foreground = ${colors.foreground}
format-background = ${colors.background}

List any other steps needed to reproduce the issue besides starting polybar with the config you posted above.
Open a window on xmonad desktop, float it and drag it across the polybar.
Polybar Log
Post everything polybar outputs to the terminal when you run it and the issue occurs below
No output to stderr or stdout.

Environment:

WM: xmonad
Distro: arch
Output of polybar -vvv:
polybar 3.4.0

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard
X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor
Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Could you try the git package? We recently merge a PR that may fixed this bug.

Thanks :) as far as I can tell that fixed it. I guess I should have tried this first.
I did check that I was running the newest version, but the polybar-git seems to be a few commits ahead without it's own version number.

Thanks :) as far as I can tell that fixed it. I guess I should have tried this first.

Nice

I did check that I was running the newest version, but the polybar-git seems to be a few commits ahead without it's own version number.

Yeah, I know that :/
I'll try to add to find a solution that fix our use cases.


Selected option disappearing on filter

Angular: v1.5.0-rc.2
UI-Select: 0.17.1
Bootstrap/Select2/Selectize CSS (if applicable): Bootstrap 3.3.6
UPDATE: I have now been able to reproduce this in a plunker. Everything seems to be working as intended with UI Select 0.16.1 but breaks if you switch to 0.17.1. Here is my plunk, you can swap the commented script lines to see how it works/doesn't work with the two versions:
https://plnkr.co/edit/fduuxU?p=preview
I have been having this problem where when I click to open my select all options show as they should. Then if I type in the options filter as they should but as soon as I delete what I typed so the filter is empty again, instead of all options reappearing in the select dropdown as they should, all options except the currently selected option reappear. I have been unable to reproduce this behavior with a plunker so I am not sure what is going on here.Here is my data and code for reference:
priorityOptions = [
    {"text":"(1) High","value":"(1) High"},
    {"text":"(2) Normal","value":"(2) Normal"},
    {"text":"(3) Low","value":"(3) Low"}
  ];

//currentItem is a json object with various data including the PriorityValue field as follows:
currentItem.PriorityValue = "(2) Normal";

Here is my HTML:
<ui-select ng-model="currentItem.PriorityValue" theme="bootstrap" title="Choose a priority">
	<ui-select-match allow-clear="true">{{$select.selected.text}}</ui-select-match>
	<ui-select-choices repeat="option.value as option in (data.priority.options | myfilter: $select.selected: $select.search: 'text')">

	</ui-select-choices>
</ui-select>

note: I was originally just using filter: $select.search but when I started experiencing this issue I wrote my own filter to make sure the correct object was being passed back. Here is the code for my custom filter:
myApp.filter('myfilter', function() {
	return function(collection, selected, search, key) {
		var results = [];
		console.log("search: [" + search + "]" );
		if(search == "") {
			for(var obj in collection) {
				results.push(collection[obj]);
			}
			console.log("first results: " +JSON.stringify(results));
			return results;
		}//{ return collection; }
		for(var obj in collection) {
			//console.log(JSON.stringify(collection[obj][key]));
			if (collection[obj][key].toLowerCase().indexOf(search) !== -1) {
				results.push(collection[obj]);
				//delete collection[obj];
			}
		}
		console.log("collection: " + JSON.stringify(collection));
		//console.log(JSON.stringify(selected));
		//console.log(JSON.stringify(search));
		console.log("second results: " +JSON.stringify(results));
		return results;
	}
});

I can verify that when the search box is empty the entire PriorityOptions object listed above is correctly returned from my filter function and so I would expect all options to list, and yet they still do not. The currently selected option always dissapears once you enter some search value and then clear the box.
Also if I include the allow-clear option on the ui-select-match tag above and use it to clear the select then everything works as it should. If I type in the search it filters and if I delete the entered text all options reappear. But, as soon as I select an option it goes back to how it was where the selected option never reappears after you type in the box.

Observed the same issue v0.18.0 with angular v1.5.7

I have also observed this issue v0.17.1 and angular v1.4.7

Note to self: default remove-selected to false for single select mode

This should be resolved by #1690 (v0.18.1) please update this issue with new plunkr if not.


Fix Protection column for IUM processes

Protection column will show information for Isolated User Mode (IUM) processes now.

LsaIso.exe is an example of IUM protected process.
SI shows protection in General tab, but Protection column in process tree is empty.

adding another column for Secure (IUM)

I didn't add a separate column because there's only 2 processes and not enough to justify a column 🤔

adding another column for Secure (IUM)

I didn't add a separate column because there's only 2 processes and not enough to justify a column 🤔

Yeah, agreed. Just wanted to double check on this with you. I also prefer the consistency between the properties and the column with respect to "Protection". 👍


Error: Unable to parse color from string: rgb(192,168,0,73,238,210,54)

Hello,
I am getting this error while I run homebridge and homebridge closes.
/usr/local/lib/node_modules/homebridge-magichome2/node_modules/color/index.js:53
throw new Error('Unable to parse color from string: ' + obj);
^
Error: Unable to parse color from string: rgb(192,168,0,73,238,210,54)
at new Color (/usr/local/lib/node_modules/homebridge-magichome2/node_modules/color/index.js:53:10)
at Color (/usr/local/lib/node_modules/homebridge-magichome2/node_modules/color/index.js:28:10)
at /usr/local/lib/node_modules/homebridge-magichome2/index.js:93:30
at ChildProcess.exithandler (child_process.js:267:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:557:12)
My config file looks like this:
{
"accessory": "MagicHome",
"name": "TV Lights",
"ip": "<IP_ADDRESS>",
"setup": "RGBW",
"purewhite": false
}
I am using this led controller:

What could be the problem?
I tried also as setup: RGB, RGBW, RGBWW and none of them works.

I'm having the same exact issue... if anyone can help please do!

Yes, there should be the IP of the led controller.

Make sure the IP address on your controller never change in your router.

If have RGB controller setup as RGBW and purewhite to false, if have RGBW controller setup as RGBW and purewhite to true.

I’ve tried all the possible combinations: RGB - pure white false/true; RGBW - pure white false/true; RGBWW - pure white false/true; also the IP of the controller is fixed. I tried also to reset the router. The controller works very well from Magic Home Pro app.

Do you have homebridge-magichome2 installed? I got mine working by deleting homebridge-magichome2 and installing only homebridge-magichome. Here is my config.json:
`{
"bridge": {
"name": "Homebridge",
"username": "DC:14:3D:F9:CE:19",
"port": 51801,
"pin": "031-57-192"
},
"description": "An example Homebridge config for MagicHome.",

"accessories": [
   {
       "accessory": "MagicHome",
       "name": "Taulu 1",
       "ip": "<IP_ADDRESS>",
       "setup": "RGBW",
       "purewhite": false
   },

   {
       "accessory": "MagicHome",
       "name": "Taulu 2",
       "ip": "<IP_ADDRESS>",
       "setup": "RGBW",
       "purewhite": false
   },

   {
       "accessory": "MagicHome",
       "name": "Olohuone katto",
       "ip": "<IP_ADDRESS>",
       "setup": "RGBW",
       "purewhite": false
   }
]

}
`

Yes, I have magichome2 installed. I’ll try to uninstall magichome2 and install magichome.

Finally, after I removed magichome2 and install magichome, I managed to make it work. Setup: RGBW, pure white: false.


Fix the install command syntax

Welcome!
Due to GitHub limitations,
please switch to Preview for links to render properly.
Please choose the right template for your pull request:

🐛 Are you fixing a bug? Bug fix
📈 Are you improving performance? Performance improvement
💻 Are you changing functionality? Feature change

I realized too late that I targeted the "master" branch for this PR. Should I redo it targeting some other branch or will this work?

I rebased it off of staging.


Changing the selectionAction and selectionCondition to use enabledCon…

Changing the selectionAction and selectionCondition to use enabledCondition.
There is a problem in FastTable, but as soon I can fix it (publish the change) it will be working as a charm

Hi Nico, the new image of Pharo should include the image side modification
to FastTable to allow having enabled / disabled options in the contextual
menus.
https://github.com/pharo-project/pharo-core/commit/541e22ef70dc867a4dae568b9a7a05c8d6089fc6
Cheers!
On Thu, Oct 13, 2016 at 10:11 AM, Nico Passerini<EMAIL_ADDRESS>wrote:

Merged #179 https://github.com/npasserini/iceberg/pull/179.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#event-822104177, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAVsf1dQLTQpC2E-KA25b_Zx1GWLQXm1ks5qzeetgaJpZM4KTaoC
.

--
Pablo Tesone.
<EMAIL_ADDRESS>

So the previous PR is no longer necessary? Or what should I do?
On Thu, Oct 13, 2016 at 10:16 AM, Pablo Tesone<EMAIL_ADDRESS>wrote:

Hi Nico, the new image of Pharo should include the image side modification
to FastTable to allow having enabled / disabled options in the contextual
menus.
https://github.com/pharo-project/pharo-core/commit/
541e22ef70dc867a4dae568b9a7a05c8d6089fc6
Cheers!
On Thu, Oct 13, 2016 at 10:11 AM, Nico Passerini<EMAIL_ADDRESS>
wrote:

Merged #179 https://github.com/npasserini/iceberg/pull/179.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#event-822104177, or
mute
the thread
<https://github.com/notifications/unsubscribe-
auth/AAVsf1dQLTQpC2E-KA25b_Zx1GWLQXm1ks5qzeetgaJpZM4KTaoC>
.

--
Pablo Tesone.
<EMAIL_ADDRESS>—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#issuecomment-253445695,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEa1Oe_JoXMRZQu2uKonZct8LfFJJHGSks5qzejlgaJpZM4KTaoC
.

The two parts are needed.
On 13 Oct 2016 12:02, "Nico Passerini"<EMAIL_ADDRESS>wrote:

So the previous PR is no longer necessary? Or what should I do?
On Thu, Oct 13, 2016 at 10:16 AM, Pablo Tesone<EMAIL_ADDRESS>wrote:

Hi Nico, the new image of Pharo should include the image side
modification
to FastTable to allow having enabled / disabled options in the contextual
menus.
https://github.com/pharo-project/pharo-core/commit/
541e22ef70dc867a4dae568b9a7a05c8d6089fc6
Cheers!
On Thu, Oct 13, 2016 at 10:11 AM, Nico Passerini <
<EMAIL_ADDRESS>
wrote:

Merged #179 https://github.com/npasserini/iceberg/pull/179.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#event-822104177, or
mute
the thread
<https://github.com/notifications/unsubscribe-
auth/AAVsf1dQLTQpC2E-KA25b_Zx1GWLQXm1ks5qzeetgaJpZM4KTaoC>
.

--
Pablo Tesone.
<EMAIL_ADDRESS>—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#issuecomment-253445695,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEa1Oe_
JoXMRZQu2uKonZct8LfFJJHGSks5qzejlgaJpZM4KTaoC>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#issuecomment-253470563,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVsfxrr_Oa5lEnAGVyTNCNLN-fGKPFOks5qzgHJgaJpZM4KTaoC
.

Now it seems that the enabledCondition does not exist in Pharo5, do you
think we can fix it?
On Thu, Oct 13, 2016 at 12:17 PM, Pablo Tesone<EMAIL_ADDRESS>wrote:

The two parts are needed.
On 13 Oct 2016 12:02, "Nico Passerini"<EMAIL_ADDRESS>wrote:

So the previous PR is no longer necessary? Or what should I do?
On Thu, Oct 13, 2016 at 10:16 AM, Pablo Tesone<EMAIL_ADDRESS>wrote:

Hi Nico, the new image of Pharo should include the image side
modification
to FastTable to allow having enabled / disabled options in the
contextual
menus.
https://github.com/pharo-project/pharo-core/commit/
541e22ef70dc867a4dae568b9a7a05c8d6089fc6
Cheers!
On Thu, Oct 13, 2016 at 10:11 AM, Nico Passerini <
<EMAIL_ADDRESS>
wrote:

Merged #179 https://github.com/npasserini/iceberg/pull/179.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#event-822104177, or
mute
the thread
<https://github.com/notifications/unsubscribe-
auth/AAVsf1dQLTQpC2E-KA25b_Zx1GWLQXm1ks5qzeetgaJpZM4KTaoC>
.

--
Pablo Tesone.
<EMAIL_ADDRESS>—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/npasserini/iceberg/pull/179#issuecomment-253445695
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEa1Oe_
JoXMRZQu2uKonZct8LfFJJHGSks5qzejlgaJpZM4KTaoC>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#issuecomment-253470563,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVsfxrr_
Oa5lEnAGVyTNCNLN-fGKPFOks5qzgHJgaJpZM4KTaoC>
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/pull/179#issuecomment-253473759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEa1OUkmgSozWQX_kSx6WMdGszZhDWz_ks5qzgUpgaJpZM4KTaoC
.

It might be backported if someone push it.

https://pharo.fogbugz.com/f/cases/19205/Backport-Pharo-5-Enable-Disable-options-in-context-Menu-in-FastTable


[Bug] Unable to use 6.0.0-Beta7 with Avalonia 11.1.0-rc1

Check the following items

[X] I have looked up relevant Issue

Description of the issue
I have updated the Avalonia package to 11.1.0-rc1 and the app is failing to start.
I get "System.MissingMethodException"
Package Version
6.0.0-Beta7
Environment
Windows 11 22631
Expected Behavior
Able to use SukiUI with the latest Avalonia.
Reproduction

Update the Avalonia packages to 11.1.0-rc1 and then try to run the app
Additional Information
No response

wait for next beta


lncli - unknown service lnrpc.WalletUnlocker

Background
I'm trying to get a basic lnd setup running on Windows using the tutorial.
I have btcd & lnd running, trying to connect to lnd using lncli.

lncli --rpcserver=localhost:10001 --no-macaroons create

and getting

[lncli] unable to generate seed: rpc error: code = Unimplemented desc = unknown service lnrpc.WalletUnlocker

The lnd server logs do not show anything

..\lnd --rpclisten=localhost:10001 --listen=localhost:10011 --restlisten=localhost:8001
2018-04-29 18:17:55.089 [INF] LTND: Version 0.4.0-alpha
2018-04-29 18:17:55.111 [INF] LTND: Active chain: Bitcoin (network=simmnet)
2018-04-29 18:17:55.113 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0
2018-04-29 18:17:55.115 [INF] LTND: Primary chain is set to: bitcoin
2018-04-29 18:17:56.339 [INF] LNWL: Opened wallet
2018-04-29 18:17:57.668 [INF] LNWL: The wallet has been unlocked without a time limit
2018-04-29 18:17:57.668 [INF] LTND: LightningWallet opened
2018-04-29 18:17:57.703 [INF] LNWL: Started rescan from block 16850df166dd81b36fb341f127776360d726701ede265f5d62edb2f17669fe66 (height 318) for 0 addresses
2018-04-29 18:17:57.705 [INF] LNWL: Catching up block hashes to height 318, this might take a while
2018-04-29 18:17:57.718 [INF] LNWL: Done catching up block hashes
2018-04-29 18:17:57.718 [INF] LNWL: Finished rescan for 0 addresses (synced to block 16850df166dd81b36fb341f127776360d726701ede265f5d62edb2f17669fe66, height 318)
2018-04-29 18:17:57.722 [INF] HSWC: Restoring in-memory circuit state from disk
2018-04-29 18:17:57.723 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0
2018-04-29 18:17:57.736 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10001
2018-04-29 18:17:57.737 [INF] RPCS: gRPC proxy started at <IP_ADDRESS>:8001
2018-04-29 18:17:57.816 [INF] HSWC: Starting HTLC Switch
2018-04-29 18:17:57.816 [INF] NTFN: New block epoch subscription
2018-04-29 18:17:57.818 [INF] NTFN: New block epoch subscription
2018-04-29 18:17:57.818 [INF] DISC: Authenticated Gossiper is starting
2018-04-29 18:17:57.818 [INF] BRAR: Starting contract observer with 0 active channels
2018-04-29 18:17:57.819 [INF] NTFN: New block epoch subscription
2018-04-29 18:17:57.819 [INF] CRTR: FilteredChainView starting
2018-04-29 18:17:57.884 [INF] CRTR: Filtering chain using 0 channels active
2018-04-29 18:17:57.885 [INF] CRTR: Prune tip for Channel Graph: height=318, hash=16850df166dd81b36fb341f127776360d726701ede265f5d62edb2f17669fe66
2018-04-29 18:17:57.886 [INF] SRVR: Auto peer bootstrapping is disabled
2018-04-29 18:17:57.886 [INF] CMGR: Server listening on <IP_ADDRESS>:10011

Your environment

I am using compiled binaries for lnd (version 0.4.0-alpha) and btcd (0.12.0-beta)
Windows 10

Try to provide the  --no-macaroons when starting LND.

Don't provide --no-macaroons as offerm suggested. That will start your RPC server without any sort of authentication at all.
Your fault is that you're starting lnd without actually using proper wallet encryption --noencryptwallet. When you start in this mode, you don't get a wallet seed. It should only be used for experimentation on testnet, and nothing more.

I am testing it in simnet mode, so I though --noencryptwallet would be ideal. But I removed it now and successfully got to the initialization phase. Thanks.

Oh yah, in that case then you can skip that section of the tutorial :p


HBM controller bug

There is a bug in the memory controller for HBM. A command is removed from the command queue but never issued by the controller. That command is effectively never processed, and no reply is issued ever, potentially deadlocking the system.
The problem is in the issue of the second command at line 84 in the Controller:
https://github.com/umd-memsys/DRAMsim3/blob/47dad81c66de45c235eacc9fd9391bbca7a84196/src/controller.cc#L84-L92
Only for HBM two commands can be issued, so a second command is pulled from the command queues by CommandQueue::GetCommandToIssue(), note that this operation removes the command from the queue. For the controller to issue the command it has to evaluate the next two ifs to true. It might happen that both the first command and the second are reads or writes and so, that command is not issued. And since the CommandQueue::GetCommandToIssue() removes the command from the queue it is never processed.

Thanks for the feedback. The second command will not be issued if both of them are read/write. A temporary fix would be adding the second command back to cmd_queue. We will post a fix in the latest commit.


What must to contain the activate.bat file

I have been following the documentation here So, once I get my virtual environment done. I would like to know what should I set in the file activate.bat
path\to\my\virtual-env\Scripts\activate.bat
Or should I just create the file with that name and that's it? thanks. I don't know if here is the right place to really post this question.

The activated.bat is an automatic file created in Scripts/activate.bat info here


[c++] Implement group member-names-to-URIs map in C++

This would also involve our initial creation of SOMAGroupReader
On one PR we should have C++ support
On the same, or another, integration with TileDB-SOMA-Py to call this instead of the existing tiledb.Group
On perhaps a third PR, integration with TileDB-SOMA-R to do likewise.
Split-out from #922

Blocked pending resolution of #1237


Update Skia version to 1.68.1

Please note that the NuGet package still needs to be generated and pushed to nuget.org. This PR is only the easy part :-D
I guess we'll need to wait on @EraYaN
Fixes #2

Using docker to build was working fine but I first tried to use WSL which was way more complex and I ended up doing manually what was already done in the different scripts 😞
Anyway it's now compiling and I could generate the .nupkg properly.
Here it is (renamed as .zip): Jellyfin.SkiaSharp.NativeAssets.LinuxArm.1.68.1.zip

@EraYaN can you push the package to NuGet ? (at least in beta so that we can test)

Hi,
I have the same issue #2 , How can I update jellyfin?
I have launched "compile-libSkiaSharp.sh" and "cross-compile-libSkiaSharp.sh" and both fail.
"./compile-libSkiaSharp.sh: line 13: /build/buildtools/linux64/gn: No such file or directory"
"./cross-compile-libSkiaSharp.sh: line 62: ./bin/gn: cannot execute binary file: Exec format error"
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
aarch64
Thanks

@manzajaro I would recommend to compile using docker by running build-in-docker.sh but obviously you need to install docker on your machine before.

I have asked @anthonylavado to upload the nupkg (since I can't myself), should appear somewhere this week.

Will it be available in the next jellyfin update?

I have asked @anthonylavado to upload the nupkg (since I can't myself), should appear somewhere this week.

@EraYaN Cool, in the meatime I'll try to generate a local docker ARM image and make sure it does indeed fix the issue.

Will it be available in the next jellyfin update?

I certainly hope so!

It's validating now, should be up on NuGet within 24 hours.

I strangely had this problem too on version 1.68.1 with Xamarin.Forms on Visual Studio 2019 yesterday. I was deploying on a physical iPhone SE. Cleaning obj/bin on the .iOS project, then rebuilding, and redeploying did the trick!


Versions when compiling from source

Hi All,
Apologies if this is an obvious issue.
When compiling from source I can obtain the binaries with no problem by following your instructions. However the produced binary always shows version 0.9 (see attachment -influxdb)
What is required to obtain a 0.9.6 build?
Thanks and my compliments on the database.

Michael Turnbull

The contributing guide mentions the version, branch, and commit hash can all be passed in as build flags. The full command to build version <IP_ADDRESS> with the build flags is
git checkout v<IP_ADDRESS>
go install -ldflags="-X main.version=<IP_ADDRESS> -X main.branch=0.9.6 -X main.commit= -X main.buildTime=$TIME" ./...

Note the git checkout of the v<IP_ADDRESS> tag. go install will not automatically check out the right tag/branch based on the build flags.


[WFLY-11279] Remove unused dependencies from org.jboss.as.jpa

https://issues.jboss.org/browse/WFLY-11279

I cannot see any direct dependency to the resources exported by these modules from wildfly-jpa.jar, so I think we can increase the list of unused dependencies with:

javax.annotation.api
javax.resource.api
javax.servlet.api
org.hibernate.validator
org.jboss.common-beans
org.jboss.threads
org.jboss.msc (This one is used by wildfly-jpa.ja but I think it is redundant since it is being exported by org.jboss.as.server)

I'm not sure if reducing to the extreme the jboss modules dependencies is a good idea, a change in wildfly-jpa code could end up requiring a removed jboss module dependency that will be shown only at runtime, hiding this requirement to the developer at compiler time. Maybe exluding the maven dependencies can help too, but I'm not sure if it is worth the effor.

@yersan Thanks!  Let's see how discussion of this PR proceeds; if it starts to take a long time I'll ask you to file a separate JIRA for others. Otherwise we can update this one. There was already a discussion about the ones in this PR.
Re: reducing to the extreme, in general if something is unused it shouldn't be listed.  If we don't have sufficient test coverage to detect that a dependency is missing at runtime we should correct that. If there's something subtle about a specific dependency perhaps we can be cautious but even there that's a sign that something overly complex is being done.
I don't mind leaving the org.jboss.msc dependency though. It's rather unfortunate that org.jboss.as.server exports it.  History shows that goes all the way back to 2011, added to solve some testsuite problem.

My little usage utility shows pretty much what @yersan listed:

javax.annotation.api
javax.api
javax.resource.api
javax.servlet.api
org.jboss.common-beans
org.jboss.threads

The org.hibernate.validator might be required by the org.jboss.as.jpa.validator.WildFlyProviderResolver. It's a hard-coded string, but may require it runtime too.

Yes, you're right @jamezp org.hibernate.validator is necessary, thanks for looking at this. From your list, I'm in doubt with  javax.api, is not that one exporting the java.se and then always required?

@yersan Oops yeah, javax.api shouldn't be on my list. It just has no JAR's so it always shows up in my scan.


How cart.itemsAdded works?

I'm trying to show a success message anytime an item has added to the cart, do I missing something here?
$(document).on('cart.itemsAdded', function(event, cart) {
alert("item added");
console.log( "item added" );
console.error();
});
None of this throws anything.

There currently is no cart.itemsAdded event that triggers, although a PR was started to tackle those as per the discussion in #5 (refer to the PR as to why that's not currently merged).
Instead, you have to use cart.requestComplete and inspect the payload coming back.
Closing this as this is covered in #5.


Connection errors are indecipherable from other regular errors

In .Open() method, if the destination was stopped or unreachable, prior to #46, .Open used to return a system error - syscall.ECONNREFUSED
conn, err := sql.Open(.....)
if errors.Is(err, syscall.ECONNREFUSED) {
   // take action if destination is stopped or unreachable

This doesn't work and now one has to resort to string parsing to find this out. The error returned is a generic one
FATAL] v12.(*Connector).open 548 : dial tcp <IP_ADDRESS>:5480: connect: connection refused

For well known cases, we should have standard well defined error that can be checked without needing to scrape error message.

https://github.com/IBM/nzgo/pull/51


[BUG] Can't import | ModuleNotFound

Whenever I try to import the library, it just fails.

thanks for reporting issue. i have fixed the issue. please upgrade to latest version.

Thanks :)
Import is working now.


Possible to make the spells stay toward the top?

Type
Crash or hang
Operating System
None
OS Version
Windows 11
Bug description
The spells seem to center unless I unhide more spells and put them below, I really wish we could could customize a bit more and say "top", "middle", or "bottom" instead of just defaulting to center.
Screenshots or videos

RuneLite version
Latest
Logs
No response

To clarify, this is what I mean: This is obviously a mspaint version:


Windows Python Test Flake

[91m_exit_test.ExitTest.test_running_server_terminate[0m
[1mtraceback:[0m
Traceback (most recent call last):
  File "C:\Python27\Lib\unittest\case.py", line 329, in run
    testMethod()
  File "C:\jenkins\workspace\gRPC_pull_requests\config\dbg\language\python\platform\windows\src\python\grpcio_tests\tests\unit\_exit_test.py", line 111, in test_running_server_terminate
    interrupt_and_wait(process)
  File "C:\jenkins\workspace\gRPC_pull_requests\config\dbg\language\python\platform\windows\src\python\grpcio_tests\tests\unit\_exit_test.py", line 77, in interrupt_and_wait
    os.kill(process.pid, signal.SIGINT)
WindowsError: [Error 5] Access is denied

I think https://github.com/grpc/grpc/pull/7315 will solve this.
I think the permission errors are because we are trying to kill a pid we no longer own, the exit-test exits immediately because of an unexpected exception.


PR for #46: allow static overlay plots when there was imputation

Closes #46

We think there may be a better way of fixing this bug. Instead of trying to figure out what type of imputation xtevent did from the command string, we can just return a local from xtevent with that information, then have xteventplot use it to make the proper addition to the static estimation command.
@Constantino-Carreto-Romero  will implement this and we'll check again.

@Constantino-Carreto-Romero implemented this in a different way parsing the command string.


Bellman Ford algorithm

function BellmanFord(list vertices, list edges, vertex source) is

    // This implementation takes in a graph, represented as
    // lists of vertices (represented as integers [0..n-1]) and edges,
    // and fills two arrays (distance and predecessor) holding
    // the shortest path from the source to each vertex

    distance := list of size n
    predecessor := list of size n

    // Step 1: initialize graph
    for each vertex v in vertices do

        distance[v] := inf             // Initialize the distance to all vertices to infinity
        predecessor[v] := null         // And having a null predecessor

    distance[source] := 0              // The distance from the source to itself is, of course, zero

    // Step 2: relax edges repeatedly

    repeat |V|−1 times:
        for each edge (u, v) with weight w in edges do
            if distance[u] + w < distance[v] then
                distance[v] := distance[u] + w
                predecessor[v] := u

    // Step 3: check for negative-weight cycles
    for each v in vertices do
        u := predecessor[v]
        if u is not null and distance[u] + weight of (u, v) < distance[v] then
            // A negative cycle exist
            visited := list of size n initialized with false
            visited[v] := true
            while not visited[u] do
                visited[u] := true
                u := predecessor[u]
            // u is a vertex in a negative cycle, find the cycle itself
            ncycle := [u]
            v := predecessor[u]
            while v != u do
                ncycle := concatenate([v], ncycle)
                v := predecessor[v]
            error "Graph contains a negative-weight cycle", ncycle
    return distance, predecessor

function BellmanFord(list vertices, list edges, vertex source) is

    // This implementation takes in a graph, represented as
    // lists of vertices (represented as integers [0..n-1]) and edges,
    // and fills two arrays (distance and predecessor) holding
    // the shortest path from the source to each vertex

    distance := list of size n
    predecessor := list of size n

    // Step 1: initialize graph
    for each vertex v in vertices do

        distance[v] := inf             // Initialize the distance to all vertices to infinity
        predecessor[v] := null         // And having a null predecessor

    distance[source] := 0              // The distance from the source to itself is, of course, zero

    // Step 2: relax edges repeatedly

    repeat |V|−1 times:
        for each edge (u, v) with weight w in edges do
            if distance[u] + w < distance[v] then
                distance[v] := distance[u] + w
                predecessor[v] := u

    // Step 3: check for negative-weight cycles
    for each v in vertices do
        u := predecessor[v]
        if u is not null and distance[u] + weight of (u, v) < distance[v] then
            // A negative cycle exist
            visited := list of size n initialized with false
            visited[v] := true
            while not visited[u] do
                visited[u] := true
                u := predecessor[u]
            // u is a vertex in a negative cycle, find the cycle itself
            ncycle := [u]
            v := predecessor[u]
            while v != u do
                ncycle := concatenate([v], ncycle)
                v := predecessor[v]
            error "Graph contains a negative-weight cycle", ncycle
    return distance, predecessor


ComponentParticle fails with CircleComponent

Current bug behavior

When using a CircleComponent with ComponentParticle, an exceptions gets raised for CircleComponent._centerOffset not being initialized. This happens because components added to ComponentParticle are not really part of the component tree. This mean they never get correctly loaded and mounted. ComponentParticle only makes sure to invoke the render and update method of the component that it encapsulates, essentially skipping all the standard component lifecycle processing.
Expected behavior

CircleComponent, should work with ComponentParticle. Ideally any kind of component should working with ComponentParticle.
Steps to reproduce

Adding following code to any game should reproduce the problem.
await add(
  ParticleSystemComponent(
    particle: ComponentParticle(component: CircleComponent(radius: 2)),
  ),
);

Flutter doctor output

Output of: flutter doctor -v

N.A.
More environment information

Flame version: 1.14.0
Platform affected: All
Log information

════════ Exception caught by rendering library ═════════════════════════════════
The following LateError was thrown during paint():
LateInitializationError: Field '_centerOffset@1199492026' has not been initialized.

More information

I can only think of converting the Particle class into a Component to make it work properly for all components. This sounds like a big change and I probably won't have enough time to working on this, so reporting this issue.
But there are more such component-like classes which I think need to be streamlined. EffectController is one such example where they need to be ticked every frame.

Hmm, good catch. I don't think we'd want to convert particle to a real component since they are much heavier and you might have thousands of particles. Not sure what a good solution here could be.


Fix for issue #4 of "karma-angular-filesort"

Turns out that "ng-dependencies" dependency version 0.1.2 uses Sugar;
this library extends native JavaScript objects with additional methods.
Somehow the existence of Sugar stopped the Babel processor from workung
The solution was simple... to upgrade to the latest version of "ng-dependencies" that no longer uses Sugar.
Finally I also had to fix the usage of the Array#any method in "sort.js" since this method isn't
actually a native method but a method added by Sugar; to fix this I changed the code to use Array#some.

That's great, thanks!


azure: Add check to verify image id

Add check to verify if podvm image is present
Fixes: #1842

Steps to test this change :

export AZURE_RESOURCE_GROUP="TestPR-1846"
export AZURE_REGION="eastus"
az group create --name "${AZURE_RESOURCE_GROUP}" \
    --location "${AZURE_REGION}"

export AZURE_SUBSCRIPTION_ID=$(az account show --query id --output tsv)
export USER_ASSIGNED_IDENTITY_NAME="caa-${AZURE_RESOURCE_GROUP}"
az identity create \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --location "${AZURE_REGION}" \
    --subscription "${AZURE_SUBSCRIPTION_ID}"

export PRINCIPAL_ID="$(az identity show \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --subscription "${AZURE_SUBSCRIPTION_ID}" --query principalId -otsv)"

sleep 30
az role assignment create \
    --role Contributor \
    --assignee-object-id "${PRINCIPAL_ID}" \
    --scope "/subscriptions/${AZURE_SUBSCRIPTION_ID}"

export AZURE_CLIENT_ID="$(az identity show \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" --query 'clientId' -otsv)"

export CLUSTER_NAME="e2e"
export AZURE_IMAGE_ID="/CommunityGalleries/cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85/Images/podvm_image0/Versions/WrongImageVersion"

# Docker image for KBS
# https://github.com/confidential-containers/kbs/pkgs/container/staged-images%2Fkbs

cat <<EOF >/tmp/provision_azure.properties
AZURE_CLIENT_ID="${AZURE_CLIENT_ID}"
AZURE_SUBSCRIPTION_ID="${AZURE_SUBSCRIPTION_ID}"
RESOURCE_GROUP_NAME="${AZURE_RESOURCE_GROUP}"
CLUSTER_NAME="${CLUSTER_NAME}"
LOCATION="${AZURE_REGION}"
SSH_KEY_ID="id_rsa.pub"
AZURE_IMAGE_ID="${AZURE_IMAGE_ID}"

AZURE_CLI_AUTH="true"
MANAGED_IDENTITY_NAME="${USER_ASSIGNED_IDENTITY_NAME}"

# Deploy the same one that is merged on the CAA main
KBS_IMAGE="ghcr.io/confidential-containers/staged-images/kbs"
KBS_IMAGE_TAG="dc01f454264fb4350e5f69eba05683a9a1882c41"

# Get the tag from: https://quay.io/repository/confidential-containers/cloud-api-adaptor?tab=tags&tag=latest
CAA_IMAGE="Use Image with this change" # quay.io/karikjoshi21/cloud-api-adaptor:latest (can use this prebuild image)
EOF

pushd src/cloud-api-adaptor/
ssh-keygen -t rsa -b 4096 -f install/overlays/azure/id_rsa -N "" -C<EMAIL_ADDRESS>
pushd test
git clone git@github.com:confidential-containers/trustee.git

pushd trustee
git checkout dc01f454264fb4350e5f69eba05683a9a1882c41
popd
popd

# Now open a new terminal

export TEST_PROVISION_FILE=/tmp/provision_azure.properties
export CLOUD_PROVIDER=azure
export BUILTIN_CLOUD_PROVIDERS=azure
export DEPLOY_KBS=true
export TEST_PROVISION=true

pushd test/tools
make caa-provisioner-cli
./caa-provisioner-cli -action=provision

popd

Check CAA Pods logs

2s (x7 over 90s)    Warning   FailedCreatePodSandBox        Pod/nginx-7b9964d4b9-8nbpq            Failed to create pod sandbox: rpc error: code = NotFound desc = failed to create containerd task: failed to create shim task: remote hypervisor call failed: rpc error: code = Unknown desc = creating an instance : GET https://management.azure.com/subscriptions/d1aa957b-94f5-49ef-b29a-0178c58a7132/providers/Microsoft.Compute/locations/eastus/communityGalleries/cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85/images/podvm_image0/versions/WrongImageVersion
--------------------------------------------------------------------------------
RESPONSE 404: 404 Not Found
ERROR CODE: NotFound
--------------------------------------------------------------------------------
{
  "error": {
    "code": "NotFound",
    "message": "Resource inside community gallery'cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85' is not found."
  }
}
--------------------------------------------------------------------------------
: not found

There shouldn't be any network interfaces created on azure resource portal.

hmm, like we discussed offline, I am not convinced this a good approach. I think this very check is already performed by the createVM api call and I'm not sure what the additional value is by doing it manually.
If we would start checking preconditons before vm start, why stop at the image, we could check for subnet id, iam rights, instance size availability in a region, etc...

So i checked without this pre image checking condition multiple network interfaces are being created even if image is not available until the range of available addresses is full, so looks like CreateVM api call doesn't actually prevent that as it was created as part of createNetworkInterface in CreateInstance API call
Also we have started with checking for image existence as that was our major concern as might be the case image is deleted or not present in that particular region. We can later on extend this to add more pre checks.

So i checked without this pre image checking condition multiple network interfaces are being created even if image is not available until the range of available addresses is full, so looks like CreateVM api call doesn't actually prevent that as it was created as part of createNetworkInterface in CreateInstance API call
Also we have started with checking for image existence as that was our major concern as might be the case image is deleted or not present in that particular region. We can later on extend this to add more pre checks.

This will plug a particular hole (i.e. image doesn't exist in this region) but there are multiple other ways VM creation can fail, even if the image is present, I don't think we can reasonably cover all those error cases. So, for example, if we're not allowed to spawn a VM in the resource group, because of a typo, we will run into the same problems.
2 questions:
	result, err := p.create(ctx, vmParameters)
	if err != nil {
		if err := p.deleteDisk(context.Background(), diskName); err != nil {
			logger.Printf("deleting disk (%s): %s", diskName, err)
		}
		if err := p.deleteNetworkInterfaceAsync(context.Background(), nicName); err != nil {
			logger.Printf("deleting nic async (%s): %s", nicName, err)
		}
		return nil, fmt.Errorf("Creating instance (%v): %s", result, err)
	}

after a failed VM creation we're supposed to delete the network interface, why do the NICs still leak on failed vm creation? maybe there is a bug in this logic.
the other question: do we have to create the network interface in a separate API call?
looking at the ARM template documentation it should be possible to specify a subnetId in the vm creation call directly?
      "properties": {
        "ipConfigurations": [
          {
            "name": "ipconfig1",
            "properties": {
              "privateIPAllocationMethod": "Dynamic",
              "publicIPAddress": {
                "id": "[resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIpName'))]"
              },
              "subnet": {
                "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', variables('virtualNetworkName'), variables('subnetName'))]"
              }
            }
          }
        ]
      },

@kartikjoshi21 I think the problem with the NIC cleanup not working after a failed VM creation is because it's the deletion operation is async. So it will attempt to

create a nic
create a vm
fail to create vm
trigger async delete of nic
repeat

this way you'll end up creation a lot of NICs in a busy loop. I think we should delete the NIC synchronous. That should address the problem. then we don't have to probe for image existence.

@kartikjoshi21 I think the problem with the NIC cleanup not working after a failed VM creation is because it's the deletion operation is async. So it will attempt to

create a nic
create a vm
fail to create vm
trigger async delete of nic
repeat

this way you'll end up creation a lot of NICs in a busy loop. I think we should delete the NIC synchronous. That should address the problem. then we don't have to probe for image existence.

Yess i checked that, looks like this is the problem. Thanks @mkulke

this should be superseded by #2056 - a missing image will not cause resource leakage if the resources are passively managed by azure


Left parenthesis swallowed

Description
What steps will reproduce the problem?

When typing the left parenthesis, (, character into the iPython console, the character does not show up until several seconds later, and it can even insert itself after characters that I type up afterwards. For example, if I try to quickly type:
func(abcdefg)
The "(" character does not show up as a type it, and it randomly pops up after I've already typed up the rest of the code, i.e.:
funcabcde(fg)
I have not encountered this problem with any other character (including the right-side parenthesis). I also noticed that the problem does NOT appear if the character "(" is the first one in the input line. I have not noticed this problem occur on the main editor window, just on the iPython console.
 You can stop it by disabling the tips in the console with:
Preferences > IPython console > Display > Display ballon tips

Closing as a duplicate of #8228


AppleAppAttest: don't populate attestation trust anchor to receipt validator

The default value to the argument receiptValidator of AppleAppAttest.createAttestationValidator created an instance of ReceiptValidator using the same trust anchor as for the AttestationValdiator. As attestations and receipts have different root certificates, this behavior caused the attestation object's enclosed receipt to fail the validation.
Added a commit to no longer populate the attestation validator's trust anchor to the receipt validator's trust anchor when calling AppleAppAttest.createAttestationValidator. Instead, it uses AppleAppAttest.createReceiptValidator's default value for the trustAnchor argument.
Closes #9

Codecov Report

Merging #10 (71e8053) into main (362611e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main      #10   +/-   ##
=========================================
  Coverage     99.01%   99.01%
  Complexity      111      111
=========================================
  Files            18       18
  Lines           609      609
  Branches         84       84
=========================================
  Hits            603      603
  Partials          6        6

Impacted Files
Coverage Δ

...ch/veehait/devicecheck/appattest/AppleAppAttest.kt
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Dolby Atmos Does Not Downloads

Hi Dev,
I am using tidal-wave latest release & tried downloading this track in DOLBY ATMOS format. But unfortunately, it does not gets downloaded. Here is the url of track https://tidal.com/browse/track/295322685?u
Command I have used to download is tidal-wave https://tidal.com/browse/track/295322685?u --audio-format atmos
Error log :-
2024-04-02:04:02:12,099 INFO     [models.py:668] TIDAL track ID parsed from input: 295322685 2024-04-02:04:02:12,729 INFO     [requesting.py:95] Requesting from TIDAL API: tracks/295322685 2024-04-02:04:02:13,773 INFO     [requesting.py:95] Requesting from TIDAL API: albums/295322684 2024-04-02:04:02:14,794 INFO     [requesting.py:95] Requesting from TIDAL API: tracks/295322685/credits 2024-04-02:04:02:15,817 INFO     [requesting.py:95] Requesting from TIDAL API: tracks/295322685/playbackinfopostpaywall 2024-04-02:04:02:16,177 WARNING  [requesting.py:107] 401 Client Error: Unauthorized for TIDAL API endpoint tracks/295322685/playbackinfopostpaywall
To make sure this track is in DOLBY ATMOS, I tried same track with HIRES audio format & here below have attached the terminal output. It means track is in ``DOLBY ATMOS` format.
2024-04-02:04:01:59,933 INFO     [models.py:668] TIDAL track ID parsed from input: 295322685 2024-04-02:04:01:59,934 INFO     [login.py:151] Loading TIDAL access token from 'C:\Users\Rajesh Sahoo\AppData\Local\tidal-wave\android-tidal.token' 2024-04-02:04:02:00,812 INFO     [login.py:175] Access token is valid: saving to 'C:\Users\Rajesh Sahoo\AppData\Local\tidal-wave\android-tidal.token' 2024-04-02:04:02:00,814 INFO     [requesting.py:95] Requesting from TIDAL API: tracks/295322685 2024-04-02:04:02:01,688 WARNING  [track.py:681] Track 295322685 is only available in Dolby Atmos format. Downloading of track will not continue.

@Rajeshsahoo12 can you tell me

What OS you're using to execute this (it looks like Windows)
Whether other Dolby Atmos tracks are able to be downloaded successfully

Then, can you retry to get this track and add --loglevel debug at the end?

@Rajeshsahoo12 can you tell me

What OS you're using to execute this (it looks like Windows)
Whether other Dolby Atmos tracks are able to be downloaded successfully

Then, can you retry to get this track and add --loglevel debug at the end?

Yeah I am using windows 10. No I have tried many DOLBY ATMOS tracks but the results are same.

--loglevel debug

I have ran the below command with --loglevel debug flag. And the results are shared.
https://justpaste.it/f5zq9

@Rajeshsahoo12 I have downloaded the track you originally mentioned with no problem, and in the logs you’re getting a 401: Unauthorized response…
Is it just Dolby Atmos for which you are getting these responses? My first thought is that your account lapsed and you haven’t paid for TIDAL HiFi. That might cause this 🤷

@Rajeshsahoo12 I have downloaded the track you originally mentioned with no problem, and in the logs you’re getting a 401: Unauthorized response…
Is it just Dolby Atmos for which you are getting these responses? My first thought is that your account lapsed and you haven’t paid for TIDAL HiFi. That might cause this 🤷

I have downloaded the track you originally mentioned with no problem

Ohhhh okay. But I am able to download hi-res files with same account access token. I am having HIFI PLUS FAMILY account.

@Rajeshsahoo12 I have downloaded the track you originally mentioned with no problem, and in the logs you’re getting a 401: Unauthorized response…
Is it just Dolby Atmos for which you are getting these responses? My first thought is that your account lapsed and you haven’t paid for TIDAL HiFi. That might cause this 🤷

I have tried using this repo script https://github.com/Dniel97/orpheusdl-tidal for downloading DOLBY ATMOS track. I have used the same account for the login in program. And it is able to download the DOLBY ATMOS track.
Command used to download python orpheus.py https://tidal.com/browse/track/295322685 . And here I have attached the mediainfo for the downloaded file. https://mediaarea.net/MediaBin/bZqcINHP

How strange… I was about to retrieve this track (and the rest of the album) without issue, and it seems that you were able to retrieve the track from the TIDAL API with another project…
I really do not know to what to attribute the error you are experiencing, especially because it’s a 401 unauthorized response.

https://github.com/Dniel97/orpheusdl-tidal

Ohhh. Okay. Yeah it is strange behavior. I thought may be this is issue with my ISP, so I have tried with same account access token & tidal-wave latest binary release on vps too. But the error is same. So, definately it is not issue with machine.

How strange… I was about to retrieve this track (and the rest of the album) without issue, and it seems that you were able to retrieve the track from the TIDAL API with another project…
I really do not know to what to attribute the error you are experiencing, especially because it’s a 401 unauthorized response.

As I remember well & it was mentioned here in readme that to extract HiRes FLAC, Dolby Atmos, and Sony 360 Reality Audio tracks we need to have access token extracted fro android device / windows device. So, I use android device access token to rip HIRES & DOLBY ATMOS
But now I have deleted all of my existing token inside config folder. And when I tried to rip DOLBY ATMOS track with fresh access token from android device. It says below msg in terminal now it is asking for fire-tv access token. Which is I think there has been some changes with code.

How strange… I was about to retrieve this track (and the rest of the album) without issue, and it seems that you were able to retrieve the track from the TIDAL API with another project…
I really do not know to what to attribute the error you are experiencing, especially because it’s a 401 unauthorized response.

As I remember well & it was mentioned here in readme that to extract HiRes FLAC, Dolby Atmos, and Sony 360 Reality Audio tracks we need to have access token extracted fro android device / windows device. So, I use android device access token to rip HIRES & DOLBY ATMOS
But now I have deleted all of my existing token inside config folder. And when I tried to rip DOLBY ATMOS track with fresh access token from android device. It says below msg in terminal now it is asking for fire-tv access token. Which is I think there has been some changes with code.

If you’re talking about the code for tidal-wave, then it has always been the case that Dolby Atmos tracks are retrieved with the spoofed Fire TV parameters.
The TIDAL website does list Android as a Dolby Atmos-capable client, but there must be some other code inside the TIDAL for Android app that I don’t have a way to replicate. Thus, Atmos is retrieved with the spoofed Fire TV credentials.

https://github.com/Dniel97/orpheusdl-tidal

Ohhh. Okay. Yeah it is strange behavior. I thought may be this is issue with my ISP, so I have tried with same account access token & tidal-wave latest binary release on vps too. But the error is same. So, definately it is not issue with machine.
And one more thing is for login process it is not asking for any access token. In 1st start of the module it generates with device linking link & awaits for the login process to be finished. It is same as the fire-tv access token login happens on ur project./
And that's it. And it generates config. json which can also be modified as per ur needs.

Is this project capable of retrieving HiRes or Sony 360 tracks?

How strange… I was about to retrieve this track (and the rest of the album) without issue, and it seems that you were able to retrieve the track from the TIDAL API with another project…
I really do not know to what to attribute the error you are experiencing, especially because it’s a 401 unauthorized response.

As I remember well & it was mentioned here in readme that to extract HiRes FLAC, Dolby Atmos, and Sony 360 Reality Audio tracks we need to have access token extracted fro android device / windows device. So, I use android device access token to rip HIRES & DOLBY ATMOS
But now I have deleted all of my existing token inside config folder. And when I tried to rip DOLBY ATMOS track with fresh access token from android device. It says below msg in terminal now it is asking for fire-tv access token. Which is I think there has been some changes with code.

If you’re talking about the code for tidal-wave, then it has always been the case that Dolby Atmos tracks are retrieved with the spoofed Fire TV parameters.
The TIDAL website does list Android as a Dolby Atmos-capable client, but there must be some other code inside the TIDAL for Android app that I don’t have a way to replicate. Thus, Atmos is retrieved with the spoofed Fire TV credentials.

Ohhhhh okay. I got it.

https://github.com/Dniel97/orpheusdl-tidal

Ohhh. Okay. Yeah it is strange behavior. I thought may be this is issue with my ISP, so I have tried with same account access token & tidal-wave latest binary release on vps too. But the error is same. So, definately it is not issue with machine.
And one more thing is for login process it is not asking for any access token. In 1st start of the module it generates with device linking link & awaits for the login process to be finished. It is same as the fire-tv access token login happens on ur project./
And that's it. And it generates config. json which can also be modified as per ur needs.

Is this project capable of retrieving HiRes or Sony 360 tracks?

Yes it does HIRES , DOLBY ATMOS , MQA & 360 RA
For HIRES I have downloaded the same tracks using both projects https://tidal.com/browse/track/294592079. Here below is the mediainfo for the both files :-

https://mediaarea.net/MediaBin/NWRtTinl = Using tidal-wave
https://mediaarea.net/MediaBin/Xs07WeN2 = Using orpheusdl-tidal
For DOLBY ATMOS I have downloaded the same tracks using both projects https://tidal.com/browse/track/295322685. Here below is the mediainfo for the both files :-

https://mediaarea.net/MediaBin/CcAOnmyu = Using tidal-wave
https://mediaarea.net/MediaBin/TMFSXGJ7 = Using orpheusdl-tidal
For 360RA I have downloaded the same tracks using both projects https://tidal.com/browse/track/354739558. Here below is the mediainfo for the both files :-

https://mediaarea.net/MediaBin/lXhTbjMp = Using tidal-wave
https://mediaarea.net/MediaBin/bXqMDAJG = Using orpheusdl-tidal
Thanks

Excellent. Well, if you continue to hit problems with this project, you have a backup!

Excellent. Well, if you continue to hit problems with this project, you have a backup!

I can think why I was getting error. May be fire-tv access token old in the tidal-wave config folder. Yesterday I have deleted it & reconnected the device with tidal.  So, fresh access token got generated for fire-tv login mode. And it worked.
Thanks


bit-rot in missingXXXX files

The current missingcrypto and missingmacro files are subject to bit-rot.  There is no way to notice that something is now documented, except by hand.
find-doc-nits, when loading those files, could/should check for something mentioned in the file that is, in fact, documented.

That was easy...


[alerts][events] How to define the event life cycle with alerts

Let's discuss here how we should create events, and link alerts to it.
Context

An alert is: a signal sent by a device that localizes a wildfire. Natively, it holds: a timestamp, the localization information, the device_id
an event holds: a type, a localization, a starting timestamp and an end timestamp

Problem statement

How do we determine the event an alert refers to?
How do we update the starting & end timestamps of the event?

Here is a suggestion
Linking an alert to an event
There are two subquestions:
Matching the alert to existing events:

we first fetch all events that have no end_ts to get our candidates
if an alert was raised by the same device in the last 5 minutes, we take the referred event
otherwise taking the GPS location + azimuth of the current alert, and considering a limit of 10km in that direction, we check whether existing active events were reported in that area.

whether we need to create a new event
if the above matching fails, then we create an event first, and the alert will refer to it.
Updating the event

start_ts: the timestamp of the first alert referring to this event
end_ts: after a fixed duration (set in the config file most likely) since the last alert referring to this event, we set end_ts to the timestamp of this last alert.
location: if alerts have been raised about the same event by different devices, using GPS + azimuth we can pinpoint an approximate location.

We actually have the choice:

either the event_id will be filled after the alert creation
or we first resolve the event, then create the alert with the field value

Most likely yes !

Alright, I'll go ahead with 3 PRs:

[ ] implement the event existence check with the 5 minutes duration + start_ts of the event
[ ] implement the conversion device GPS + alert azimuth --> event location
[ ] implement the end_ts resolution of an event

Lowering importance since we could first move forward with the sole relaxation duration criteria (event location resolution isn't critical for MVP)


[MD012] Allow/enforce multiple blank lines before heading to add visual gaps

Hi,
it would be cool if there were a configuration option that allows (to enforce) more than one blank line before a heading.
Reasoning: If you rarely read the rendered version of a Markdown file but often look into the source, either to make modifications or to find some information in a cloned project, it would be of much help to have some visual gaps between sections. Just like the differently sized margins in a rendered document. Personally, I think this makes it much easier to find what you look for, especially in longer documents.
Overengineered version:

Allow/enforce multiple blank lines only if the previous non blank line is not a heading.
Allow/enforce different settings in different nesting levels.

I looked into the MD012 function to do the allow part but I haven't found a way to determine if the current line contains a heading. I guess you need to check token.type of the first token in the line but how do you get that token? Or would you need to extend the (a bit cryptic) getLineMetadata function along the lines of inBreak and onFence?

With such rule, it will be very nice to read rendered MD files. 😄

Surprise! 😺 There are other solution to get this down.

https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md022
https://github.com/DavidAnson/markdownlint/issues/143

With Rule MD022, you can add random number of empty lines above or below headings.
In short, you can add this to your setting.json :
{
    "markdownlint.config": {
        "MD012": {
            "maximum": 3
        },
        "MD022": {
            "lines_above": 3,
            "lines_below": 1
        },
    },
}

By the way, I wonder if there is a way to precisely control the number of blank lines of different headings.
I want the <h1/h2/h3> headings with 6 blank lines before them and the <h4/h5/h6> headings with 3 blank lines before them.
So after rendering MD files, the 'Biger' headings can have more line before them. This can be helpful to look through the files

Yes, thanks @younger-1, what you show with https://github.com/DavidAnson/markdownlint/issues/305#issuecomment-664735479 is what @wedi was asking for. I will close this issue.
Your question at https://github.com/DavidAnson/markdownlint/issues/305#issuecomment-664739001 is not currently supported, but could be an enhancement.

Oh, yes! Thank you for your great work!

Thanks for pointing this out, @younger-1! This reminds me that I already stumbled upon this issue quite some time ago and saw this myself back then. 🤗
But since I have already opened this ticket, I'd like to ask if it might be reasonable to merge MD012 and MD022 into one rule caring about blank lines everywhere. This would work around the limitation that you cannot have less blank lines allowed in MD012 as you set in MD022 (mentioned in https://github.com/DavidAnson/markdownlint/issues/143#issuecomment-478334254). This would also be the place to implement the suggestion above to have different spaces between different heading levels (https://github.com/DavidAnson/markdownlint/issues/305#issuecomment-664739001).

Yes, thanks @younger-1, what you show with https://github.com/DavidAnson/markdownlint/issues/305#issuecomment-664735479 is what @wedi was asking for. I will close this issue.

I'm with @wedi here — requiring an increase of MD012/no-multiple-blanks's maximum to allow multiple lines above a heading also makes it impossible to require no multiple blank lines in other contexts, so IMO this issue should not be closed as the current workaround has drawbacks.
A somewhat backward-compatible fix could be to simply make the values of MD022/blanks-around-headers override MD012's, but I agree that a cleaner solution would be to have a single rule for blank lines.

@waldyrious @wedi I understand what you are both saying. I intend to close this issue because it has been addressed. If you’d like to open a new issue for merging those two rules, I will leave that open and label it accordingly. Thank you!


Unsatisfied linear constraint with no free enforcement literal: enforcement_literal: 236 linear { vars: 1423 coeffs: 1 domain: 1 domain: 1 }

What version of OR-Tools and what language are you using?
Version: v9.2
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Linux centos7
What did you do?
I use CP-SAT solver .  Most of the time, it is normal, and sometimes "Unsatisfied linear constraint with no free enforcement literal: enforcement_literal: 236 linear { vars: 1423 coeffs: 1 domain: 1 domain: 1 }
*** Check failure stack trace:" appears in the solution process,  and then the process exits.
The model has never changed.

Please try with 9.5 and reopen the bug if still there.


docs: add {usage,license} to readme

Changes

license: added an MIT license (same as in package.json)
docs: added {installation,usage,license} sections
docs: replace logo with screenshot

LGTM! :+1:

Merged in 613df58


Appveyor: added PosgreSQL 9.4 backend

Updated FindPostgreSQL.cmake to take in count POSTGRESQL_ROOT hint variables (either environment or provided through command line)
Added PostgreSQL to build and test on AppVeyor-CI

:+1:


Issue: Drawer gets stuck in drag mode when changing a <select> option on Desktop Safari

👋
Description:
When using the Vaul Drawer component on Desktop Safari, if there’s an HTML <select> element inside the drawer and the user interacts with it (when changing the option), the drawer gets stuck in drag mode
Sandbox:
https://codesandbox.io/p/sandbox/8glhq5
Video demo:
https://github.com/user-attachments/assets/16283410-579d-42f1-9755-69c6bb472d1d
Steps to Reproduce:

Render a Drawer component that contains a native HTML  element.
Open the drawer in Desktop Safari.
Interact with the  by changing the option.
Observe that the drawer gets stuck in drag mode, only scape key will allow you to move out.

Expected Behavior:
The drawer should not enter or stay in drag mode when interacting with a <select> element in Desktop Safari. It should allow smooth selection without affecting the drawer’s behavior.
Actual Behavior:
The drawer becomes stuck in drag mode when the user changes the option in the <select> dropdown.
Thanks!

Fixed in #487


Add a hint on git alias for -s

What this PR does / why we need it:
Make it easier to not forget to add the flag on every commit.

To avoid confusion and troubles with script usage, aliases that hide existing Git commands are ignored.

This does not actually work :-(


Update hpe-mlds-build-hpcm-os-image.md

Ensure that Docker containers relating to the HPE Machine Learning Development System log to journald so that their logs are automatically aggregated to the HPCM Admin node under /var/log/HOSTS/<HPCM_node_name>.

Can we not modify the docker config to log all containers to journald? It seems like configuring every individual container leaves it open to potentially missing one somewhere.

Can we not modify the docker config to log all containers to journald? It seems like configuring every individual container leaves it open to potentially missing one somewhere.

I'm reluctant to set the log-driver globally at the Docker Engine level because all container logs (which can easily trigger rate limits and/or drop logs for very large multi-GPU and/or multi-node distributed training trials - esp. if debug mode is enabled) will be shipped to journald which has historically had trouble keeping up with massive log volumes.

I did a little digging on performance tuning systemd-journald, and apparently Pottering just doesn't care about logs.  So yeah, it's not a great place for high volume, and can't easily be made to be.  It might realistically not be the right place for anything that we actually want some near-guarantee of delivery. :)

This is fine.gif


3D points as input?

Hello! Thank's for your job!
I'm wondering if this solution can help to get smpl parameters from given 3d points of SMPL skeleton? If so, can you please provide function name in your code to solve such task

Hello @GrigorySamokhin! Certainly, we can obtain SMPL parameters through the function smpl.IKOL(), where pred_xyz_jts_24, pred_shape, pred_phi, and pred_leaf are passed as arguments. It's advised to provide values for the twist angle and leaf angle. In case these values are not available, they can be set to zeros.

It works. Thanks a lot!


WorldMap not working (getting 'None')

Superset version: 0.17.0
The WorldMap visualization is not working in my installation. For instance, the slice '% Rural' that comes as example does not work. It shows an error bar with 'None'. And the server prints this backtrace:
2017-03-07 08:26:01,438:INFO:root:SELECT country_code AS country_code, SUM("SP_RUR_TOTL_ZS") AS "sum__SP_RUR_TOTL_ZS", SUM("SP_POP_TOTL") AS "sum__SP_POP_TOTL"
FROM wb_health_population
WHERE year >= '2014-01-01 00:00:00.000000' AND year <= '2014-01-02 00:00:00.000000' GROUP BY country_code ORDER BY "sum__SP_RUR_TOTL_ZS" DESC
 LIMIT 50000 OFFSET 0
2017-03-07 08:26:01,494:ERROR:root:None
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/superset/viz.py", line 258, in get_payload
    data = self.get_data(df)
  File "/usr/lib/python3.4/site-packages/superset/viz.py", line 1320, in get_data
    self.form_data.get('country_fieldtype'), row['country'])
  File "/usr/lib/python3.4/site-packages/superset/data/countries.py", line 2497, in get
    return all_lookups[field].get(symbol.lower())
KeyError: None
2017-03-07 08:26:01,495:INFO:root:Caching for the next 86400 seconds

When I try to add a WorldMap with my data I get another different error:
/usr/lib/python3.4/site-packages/flask_appbuilder/forms.py:245: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
  form = self(obj=obj)
/usr/lib/python3.4/site-packages/flask_appbuilder/forms.py:245: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
  form = self(obj=obj)
2017-03-07 08:34:47,922:ERROR:root:Metric 'None' is not valid
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/superset/viz.py", line 256, in get_payload
    df = self.get_df()
  File "/usr/lib/python3.4/site-packages/superset/viz.py", line 109, in get_df
    self.results = self.datasource.query(query_obj)
  File "/usr/lib/python3.4/site-packages/superset/models.py", line 1474, in query
    sql = self.get_query_str(engine, qry_start_dttm, **query_obj)
  File "/usr/lib/python3.4/site-packages/superset/models.py", line 1316, in get_query_str
    raise Exception(_("Metric '{}' is not valid".format(m)))
Exception: Metric 'None' is not valid
2017-03-07 08:34:47,923:INFO:root:Caching for the next 86400 seconds

I tried to debug it by myself and found that metrics has an array like [my_var, None], so in the iteration, when it comes to None it failed to valid it as a metric. I tried to filter that in the code but then appeared another error:
2017-03-07 08:43:32,901:INFO:root:SELECT source_market AS source_market, SUM(kpi_val) AS sum__kpi_val
FROM hbgdwc.ttv_gross_service_date_source_market
WHERE service_date >= '2016-03-07 08:43:32' AND service_date <= '2017-03-07 08:43:32' GROUP BY source_market ORDER BY sum__kpi_val DESC
 LIMIT 50000
2017-03-07 08:43:33,112:ERROR:root:'[None] not in index'
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/superset/viz.py", line 258, in get_payload
    data = self.get_data(df)
  File "/usr/lib/python3.4/site-packages/superset/viz.py", line 1312, in get_data
    ndf = df[cols]
  File "/usr/lib64/python3.4/site-packages/pandas/core/frame.py", line 1991, in __getitem__
    return self._getitem_array(key)
  File "/usr/lib64/python3.4/site-packages/pandas/core/frame.py", line 2035, in _getitem_array
    indexer = self.ix._convert_to_indexer(key, axis=1)
  File "/usr/lib64/python3.4/site-packages/pandas/core/indexing.py", line 1214, in _convert_to_indexer
    raise KeyError('%s not in index' % objarr[mask])
KeyError: '[None] not in index'
2017-03-07 08:43:33,115:INFO:root:Caching for the next 86400 seconds

I suppose that the problems with the '% Rural' example and my data are differents, but I can't tell.
Also, I have added a key for the MapBox API, but I think this is irrelevant, as that map doesn't use it.
Thank you very much.
Update
The error with my own data was my fault, and it seems it has nothing to do with the WorldMap view.

I'm trying to debug it. It seems that the field 'country_fieldtype' is None in the server, but it has a value in the frontend. Even that fields appears correctly in the URI:
/superset/explore/table/2/?form_data=%7B%22datasource%22%3A%20%222__table%22%2C%20%22compare_suffix%22%3A%20%22o10Y%22%2C%20%22secondary_metric%22%3A%20%22sum__SP_POP_TOTL%22%2C%20%22granularity%22%3A%20%22year%22%2C%20%22slice_id%22%3A%208%2C%20%22row_limit%22%3A%2050000%2C%20%22entity%22%3A%20%22country_code%22%2C%20%22since%22%3A%20%222014-01-01%22%2C%20%22num_period_compare%22%3A%20%2210%22%2C%20%22groupby%22%3A%20%5B%5D%2C%20%22viz_type%22%3A%20%22world_map%22%2C%20%22until%22%3A%20%222014-01-02%22%2C%20%22markup_type%22%3A%20%22markdown%22%2C%20%22where%22%3A%20%22%22%2C%20%22metric%22%3A%20%22sum__SP_RUR_TOTL_ZS%22%2C%20%22country_fieldtype%22%3A%20%22cca3%22%2C%20%22show_bubbles%22%3A%20true%2C%20%22metrics%22%3A%20%5B%22sum__SP_POP_TOTL%22%5D%2C%20%22compare_lag%22%3A%20%2210%22%2C%20%22limit%22%3A%20%2225%22%7D
Does it make sense? Have I missing any package that I should install or configure anything?

I keep debugging it. It seems that the constructor of the WorldMapViz is called twice. The first time the form_data is this:
{'metrics': ['sum__SP_POP_TOTL'], 'granularity': 'year', 'metric': 'sum__SP_RUR_TOTL_ZS', 'compare_suffix': 'o10Y', 'secondary_metric': 'sum__SP_POP_TOTL', 'until': '2014-01-02', 'entity': 'country_code', 'row_limit': 50000, 'num_period_compare': '10', 'country_fieldtype': 'cca3', 'where': '', 'since': '2014-01-01', 'compare_lag': '10', 'markup_type': 'markdown', 'show_bubbles': True, 'limit': '25', 'viz_type': 'world_map', 'groupby': []}
Which has the correct param:  'country_fieldtype': 'cca3'
The second time the constructor is called, the param is missing:
{'slice_id': 8, 'granularity_sqla': 'year', 'since': '2014-01-01', 'until': '2014-01-02', 'where': '', 'entity': 'country_code', 'metric': 'sum__SP_RUR_TOTL_ZS', 'secondary_metric': 'sum__SP_POP_TOTL', 'country_controltype': 'cca2', 'max_bubble_size': '25', 'datasource': '2__table', 'time_grain_sqla': 'Time Column', 'viz_type': 'world_map', 'filters': [], 'having': '', 'show_bubbles': True}
Am I missing something?

I think it's fixed in 0.18.0, check the changelog

Ok, I'll try to install from the master. Thanks!

@mistercrunch could you tell me the exact commit that fixed the problem?

I think I have it:
https://github.com/airbnb/superset/commit/9d8d4213840cc07d95ac971437632aeae4ff58b5

Exactly. Closing.

Hi all.  I'm getting the same
Metric 'None' is not valid
error on the WorldMap visualization.
I tried using superset 0.17.4 and 0.17.1.  No luck.  I tried this viz on my custom dataset, and also tried it on the World Health demo data, by opening the Table and trying to create a new viz.  Any ideas?

I found that I got the same error (Metric 'None' is not valid) but was solved when I updated the Bubble Size field, even if I was not presenting bubbles (show bubbles check box unchecked).

@Lomascolo 's advice works.

Still getting this error as of today, 5/30/2018.


:wrench: lerna

Fix #81
Lerna have an dependencies hoisting feature that prevent downloading multiple times a package by moving node_modules at root top level of your monorepo. The problem is react-highlight doesn't support react 16 so it use an older version of react that get into conflict with hoc-react-loader react version so tests fail. There is a pull request waiting to be merged that brings support for react 16 in react-highlight.
@fabienjuif we have two possibilities:

We wait for the PR to be merged
We rewrite examples site from scratch

I prefer the rewrite way.

@frinyvonnick I change the base of the PR (see #83) and the title (so this PR can be squashed when it's ready to be)

As you see on the circle-ci, now on all my project I add a ci script.
So I don't have to maintain a circleci file, or a jenkins one, or ...
I just have to maintain my package.json :)
So we should let the ci script, and use npm-run-all to run subscripts (lint / test) from root and then let lerna doing its job.

Sure i didn't finished the lerna part. I didn't handle publish either.

Coverage remained the same at 98.462% when pulling 5aac1994ab4716011e0f6192175f61c6d39e733b on tech/lerna into bfab580c32eb5955d3a094b3039846609d2ab5e2 on refactoring-protected.

@fabienjuif no the root package.json is private. It handle only technical issues. Maybe we should inspire ourselves from package.json like babel's one


Prepare for v1 release

Is your feature request related to a problem? Please describe.
Update the project for the V1 release.
Describe the solution you'd like
Handle the following:

[ ] jannovar version bump
[ ] README file update and cross-linking
[ ] varfish release version

Describe alternatives you've considered
N/A
Additional context
N/A

We will use docker-compose-ng instead of this repo.


VS 15.8.5 now automatically picks up WebView control

Per the feedback on <https://github.com/dotnet/project-system/issues/3754>, it is no longer required to add the Microsoft.Toolkit.Forms.UI.Controls.WebView.dll DLL to the component list for the control to appear in the Windows Forms designer (at least when using VS 15.8.5).

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

ID: 5150561a-a399-7d1d-247b-83cfcdbfd7a8
Version Independent ID: a8ad70cc-9fca-2212-80cf-866ad145004d
Content: WebView control for Windows Forms and WPF - Windows Community Toolkit
Content Source: docs/controls/wpf-winforms/WebView.md
Product: windows
GitHub Login: @MCLEANS
Microsoft Alias: nikolame

The documentation provides guidance for both VS 15.8+ and older VS versions for those developers that have not updated.

Not sure an update is required.


[Bug]: Invalid image url

What happened?
I'm testing my Angular App in my local system, and upload images to my backend in local, and I'm serving them, but when I use the local url  (like https://localhost:7241/files/Services/ImagesHelpCatalog/Svc-2-1708307343.jpg) for the image and try to insert in the editor, the validator does not accept this url. Maybe is the pattern doesn't allow a port in url.
Version
16.0.1
Angular Version
v17.1.0
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
None

You can find the regex here.
https://github.com/sibiraj-s/ngx-editor/blob/master/projects/ngx-editor/src/lib/modules/menu/image/image.component.ts#L28
Yes port could be the issue. Usually inserting local images is not the use case, it is recommended to upload the image and insert the actual URL.


when will the code release?

Thanks for your interest!
We've released demo code for fit deformable animal within single 4D tetrahedral mesh.
Apologies for the delayed code due to disk issues. Training code will follow soon.

@jiang25262 Hi, this is a very interesting work. Could you please release the training code?

@jiang25262 Hi, this is a very interesting work. Could you please release the training code?

Sorry for the late reply.
I just submitted our training code. Feel free to contact me if you have any other questions!

@jiang25262 Hi, this is a very interesting work. Could you please release the training code?

Sorry for the late reply.
I just submitted our training code. Feel free to contact me if you have any other questions!


translations(FR): add & update FR translations

Hello ! As a french native speaker, I would like to improve the french translation file and propose this pull request :)
If you have any questions regarding the choices I made, feel free to discuss there! Most of the changes are about technically-true translations, but that doesn't sound very native.
Edit: I also updated some already good translations by changing the punctuation marks rules. In french, there are spaces before and after some of them such as ! and ? :)
Thanks for your amazing app, Jenius!

Sure, I'm doing it right away :)


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4397

Questions ?
Please refer to the Backport tool documentation


Consider supporting more query operators inside EF.CompileQuery

For instance, ToList, or ToArray. I am not sure how the EF.CompileQuery/EF.CompileAsyncQuery is going to evolve with the adoption of the new IAsyncEnumerable<T>, but if it stays similar to what we have today, we could add logic to support what @cwoodruff described in https://twitter.com/cwoodruff/status/1090236542696779778:
private static readonly Func<ChinookContext, Task<List<Album>>> _queryGetAllAlbums =
    EF.CompileAsyncQuery((ChinookContext db) => db.Album.ToList());

This is matching an overload of CompileAsyncQuery that returns Task. These overloads are designed to work for methods that return a single element, e.g. a query that ends in First(). We didn't expect customers to use them to get a List.
AFAIK, if you want to get a list asynchronously from a compiled query, you have to create the compiled query calling an overload of CompileAsyncQuery that takes a lambda that returns an IQueryable, and then call ToListAsync() each time on the result of invoking the compiled query delegate, e.g.:
private static readonly Func<ChinookContext, Task<List<Album>>> _queryGetAllAlbums =
    EF.CompileAsyncQuery((ChinookContext db) => db.Album);
...
var results = await _queryGetAllAlbums(db).ToListAsync();

@divega @cwoodruff Do you know how to use it in EF Core 3. There is no AsyncEnumerable there.


ModuleNotFoundError: No module named 'win inet pton'

I installed everything correctly but when I try to resolve a website I get this:
Traceback (most recent call last) :
File "cloudfail.py", line 13, in <module>
import win_inet_pton
ModuleNotFoundError: No module named 'win inet pton'
Photo:

Hmm, seems you dont have the win inet python package installed.
Try to run:
pip3 install win_inet_pton

@m0rtem Did that and it says ImportError: Entry point ('console_scripts', 'pip3') not found (same thing with the other issue)

pip install BeautifulSoup4
or
pip3 install BeautifulSoup4

You ranpip install -r requirements.txtand installed it for py2, like I just did, a second ago.
if you use pip3 install -r requirements.txt it works perfectly, a m0rtem correctly suggested.

@Ba5h3r Thanks.

Arch is here now
(base) [net_client@netarchwork CloudFail]$ python3 cloudfail.py  Traceback (most recent call last):   File "cloudfail.py", line 13, in <module>     import win_inet_pton ModuleNotFoundError: No module named 'win_inet_pton' (base) [net_client@netarchwork CloudFail]$ sudo pip3 install win_inet_pton Requirement already satisfied: win_inet_pton in /usr/lib/python3.7/site-packages (1.0.1)
What's wrong ? Thanx

pip install win_inet_pton or pip install win-inet-pton

┌─[✗]─[sp1d3y@parrot]─[~/bbh-tools/CloudFail]
└──╼ $python3 cloudfail.py --target replaced_for_some_reason --tor

/ | | ___  _   _  __| |  | () |
| |   | |/ _ | | | |/  | |_ / _ | | |
| || | () | || | (| |  | (| | | |
_||_/ _,|_,||  _,||_|
v1.0.5                      by m0rtem
[10:10:38] Initializing CloudFail - the date is: 21/12/2022
Traceback (most recent call last):
File "/home/sp1d3y/bbh-tools/CloudFail/socks.py", line 732, in connect
_BaseSocket.connect(self, proxy_addr)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
File "/home/sp1d3y/bbh-tools/CloudFail/socks.py", line 743, in connect
raise ProxyConnectionError(msg, error)
socks.ProxyConnectionError: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1e29e9f4f0>: Failed to establish a new connection: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='ipinfo.io', port=80): Max retries exceeded with url: /ip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1e29e9f4f0>: Failed to establish a new connection: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sp1d3y/bbh-tools/CloudFail/cloudfail.py", line 288, in
tor_ip = requests.get(ipcheck_url)
File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='ipinfo.io', port=80): Max retries exceeded with url: /ip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1e29e9f4f0>: Failed to establish a new connection: Error connecting to SOCKS5 proxy <IP_ADDRESS>:9050: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sp1d3y/bbh-tools/CloudFail/cloudfail.py", line 295, in
print(e, net_exc)
NameError: name 'net_exc' is not defined


Leak ieq

Update contains mods to:

treat leakage using an inequality constraint (called leak-ieq)
include capability for both Neumann series and Jacobi solver
doc updates for the new mods
CI test cases for leak-ieq and Jacobi

@sohailrreddy Can you fix the cnot3 test case? Right now there is a problem in traceobjgrad(), see the details under Testing/test

@sohailrreddy For consistency it would be good to also build the docs using v1.7 of Julia

@sohailrreddy For consistency it would be good to also build the docs using v1.7 of Julia

@andersp  It's now updated to run the CI tests and doc-build with both v1.6 and v1.7 on both macOS and ubuntu

@sohailrreddy There are problems running some of the original cases in the examples folder. Probably related to these lines in cnot1-setup.jl:
include("../src/Juqbox.jl")
using .Juqbox # quantum control module

I would also agree that it might be best to not enable the derivative checker by default in the ipopt_interface.jl file. For much larger problems like the cnot3-setup.jl this takes quite a long time to perform.

@sohailrreddy you should increment the version number to make it more obvious that anything has changed

@sohailrreddy you should increment the version number to make it more obvious that anything has changed

done, it has been updated to v0.2.0

@sohailrreddy The derivative checker seems to be enabled for all setup files in the examples folder. Please revert this setting (ok to comment out those lines)

I would also agree that it might be best to not enable the derivative checker by default in the ipopt_interface.jl file. For much larger problems like the cnot3-setup.jl this takes quite a long time to perform.

Derivative checker has now been turned off by default.

@sohailrreddy There are problems running some of the original cases in the examples folder. Probably related to these lines in cnot1-setup.jl:
include("../src/Juqbox.jl")
using .Juqbox # quantum control module

The error occurred because Juqbox.jl packages need to be installed through the package manager. This has been fixed in the latest push

@sohailrreddy I'm looking at your l_solver struct and how it is tested in the cnot2-jacobi-setup case. I noticed that the Jacobi solver is slower than the Neumann solver, even after increasing the tolerance to 1e-10. This is probably because you don't provide an rwork array with the correct non-zero dimension, which forces the 'xold' array to be allocated on every call to your Jacobi solver. It would be better to require the nvars and ndim arguments in the constructor. And it would be good if you could setup the cnot2 cases (Neumann & Jacobi) with the same tolerances, to make the comparison easier.

There is an rwork array within the lsolver_object struct that is created and correctly dimensioned  (only once) when the Working_Arrays  struct is created. allocate_linear_solver_arrays function will then recreate the closure with the newly dimensioned lsolver.rwork to be reused for all subsequent calls.
https://github.com/LLNL/Juqbox.jl/blob/21e3cad0b2dae868e20267679e0d42e2cd0d1b04/src/linear_solvers.jl#L64
Jacobi will be slower than Neumann when ran for same # of iterations since the prior requires additional operators to check the residuals. From initial testing, for a tolerance of 1e-10, Jacobi still needed 3-4 iterations in which case Neumann (with the default 3 iters) will be faster.

But when you call it in your example, cnot2-jacobi-setup.jl, you don't provide nvars or ndims, which leaves them at their default values (zero)

@sohailrreddy Also, it would be good to print out the type of time-integration method, and their parameters, during initialization.

Yes because we want the objects to deduce the size instead of having the user to compute and feed into the constructor. Instead, the function resizes the arrays when the size is known in the (i.e. Working_Arrays constructor)
The function
https://github.com/LLNL/Juqbox.jl/pull/24#issuecomment-1135247110
then resizes the linear solvers and recreates the closure with the newly resized work arrays
https://github.com/LLNL/Juqbox.jl/blob/21e3cad0b2dae868e20267679e0d42e2cd0d1b04/src/linear_solvers.jl#L59
https://github.com/LLNL/Juqbox.jl/blob/21e3cad0b2dae868e20267679e0d42e2cd0d1b04/src/linear_solvers.jl#L64

So why do you have nvars and ndims as optional args in the constructor?
function lsolver_object(;nvar::Int64 = 0, ndim::Int64 = 0, tol::Float64 = 1e-10,
iter::Int64 = 3, solver::Int64 = NEUMANN_SOLVER)

It's multi-purposed. I left them there in case we want to extend the linear solvers in the future or if we want to solve other linear systems without having to go through the Working_Arrays routines.
It's also helpful to hold the object's info within the object member variables if we ever need to query it (instead of using size(), length() on its member arrays to get the same information).

@sohailrreddy The design needs some improvements because the Jacobi solver wouldn't work if you only called the lsolver_object constructor. You could avoid all these troubles if you instead required the nvars and ndims arguments and added another option to the objparams() constructor and created the lsolver_object inside of it. Then you don't need the allocate_linear_solvers function.


Auth work for MySQL Server code.

The following changes are included:

Add plugin for server auth support.

Add client and server support for clear text authentication plugin. Client support is enabled by default. Server support requires SSL by default, but that's controlled by a flag.

unit tests for most scenarios (except some pre MySQL 4.1 error conditions).

linking it all in vtgate.

LGTM. Thanks for setting this up!