peerConnectionAddStreamFailed, peerConnection is null

Hi @shivanshtalwar0 , I am getting the following error when running the videocall and videoRoom example on android device. However on making the call, the call doesn't reach the other device. This is the error I am getting :
videocall:

2020-09-24 06:07:22.825 30773-30845/social.openbook.app.dev E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(171)] Unhandled Exception: PlatformException(peerConnectionAddStreamFailed, peerConnectionAddStream() peerConnection is null, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:582:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:18)

#2      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
#3      RTCPeerConnection.addStream (package:flutter_webrtc/src/rtc_peerconnection.dart:243:20)
#4      Plugin.initializeMediaDevices (package:janus_client/Plugin.dart:107:24)

#5      _VideoCallExampleState.makeCall (package:Okuna/pages/home/pages/channel_chat/janus_video_call.dart:51:24)

#6      _VideoCallExampleState.makeCallDialog.. (package:Okuna/pages/home/pages/channel_chat/janus_video_call.dart:133:21)
#7      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:993:19)
#8      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:1111:38)
#9      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:183:24)
#10     TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:598:11)
#11     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:287:5)
#12     BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:222:7)
#13     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:476:9)
#14     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:77:12)
#15     PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:122:9)
#16     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
#17     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:120:18)
#18     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:106:7)
#19     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:358:19)
#20     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:338:22)
#21     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:267:11)
#22     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:295:7)
#23     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:240:7)
#24     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:213:7)
#25     _rootRunUnary (dart:async/zone.dart:1206:13)
#26     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#27     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
#28     _invoke1 (dart:ui/hooks.dart:265:10)
#29     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)
2020-09-24 06:07:22.829 30773-30845/social.openbook.app.dev E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(171)] Unhandled Exception: Unable to RTCPeerConnection::createOffer: peerConnection is null
#0      RTCPeerConnection.createOffer (package:flutter_webrtc/src/rtc_peerconnection.dart:220:7)

#1      Plugin.createOffer (package:janus_client/Plugin.dart:238:32)
#2      _VideoCallExampleState.makeCall (package:Okuna/pages/home/pages/channel_chat/janus_video_call.dart:61:60)
#3      _rootRunUnary (dart:async/zone.dart:1198:47)
#4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#11     Plugin.initializeMediaDevices (package:janus_client/Plugin.dart)
#12     _rootRunUnary (dart:async/zone.dart:1198:47)
#13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#20     MediaDevices.getUserMedia (package:flutter_webrtc/src/get_user_media.dart)
#21     _rootRunUnary (dart:async/zone.dart:1198:47)
#22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#23     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#25     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#27     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#28     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#29     MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart)
#30     _rootRunUnary (dart:async/zone.dart:1198:47)
#31     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#32     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#33     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#34     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#35     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#36     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#37     _rootRun (dart:async/zone.dart:1190:13)
#38     _CustomZone.run (dart:async/zone.dart:1093:19)
#39     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#40     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#41     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#42     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

videoroom:

2020-09-24 06:53:19.461 6265-6326/social.openbook.app.dev E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(171)] Unhandled Exception: PlatformException(peerConnectionAddStreamFailed, peerConnectionAddStream() peerConnection is null, null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:582:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:18)

#2      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
#3      RTCPeerConnection.addStream (package:flutter_webrtc/src/rtc_peerconnection.dart:243:20)
#4      Plugin.initializeMediaDevices (package:janus_client/Plugin.dart:107:24)

#5      _VideoRoomState.initPlatformState... (package:Okuna/pages/home/pages/channel_chat/group_video.dart:130:49)
#6      JanusClient.attach (package:janus_client/janus_client.dart:364:25)
#7      _rootRunUnary (dart:async/zone.dart:1198:47)
#8      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#10     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#11     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#12     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#13     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#14     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#15     JanusClient._postRestClient (package:janus_client/janus_client.dart)
#16     _rootRunUnary (dart:async/zone.dart:1198:47)
#17     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#18     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#19     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#20     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#21     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#22     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#23     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#24     _withClient (package:http/http.dart)
#25     _rootRunUnary (dart:async/zone.dart:1198:47)
#26     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#27     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#28     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#29     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#30     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#31     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#32     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#33     Response.fromStream (package:http/src/response.dart)
#34     _rootRunUnary (dart:async/zone.dart:1198:47)
#35     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#36     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#37     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#38     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#39     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#40     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#41     _rootRun (dart:async/zone.dart:1190:13)
#42     _CustomZone.run (dart:async/zone.dart:1093:19)
#43     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#44     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#45     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#46     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

I think it might be related to the fact that jsep is null as seen from here:
print('publisheronmsg : $msg, jsep : $jsep');

publisheronmsg : {videoroom: joined, room: 1234, description: Demo Room, id:<PHONE_NUMBER>221207, private_id:<PHONE_NUMBER>, publishers: []}, jsep : null

Can you please help out with this ?

@alsiPanda can you please share your code or any modifications that you did to current code? Also have you tried it on some other android device? Seems like flutter webrtc issue

There are a few code modification I did.
1- automate the name, so I don't have to type everytime. The functions are all the same.
2- the Navigator.pop() in the example code was causing some problem so I fixed that. To be precise in the dialog. It was popping the wrong context.
3- the server address in janus initialisation I have changed. I am using your janusdeploy docker image, hosted on Google cloud. So I have removed the following auth as well. I presume that shouldn't affect peerConnection.
As for trying it, I have used it on two very different android devices. Both show the same problem.
Any specific place where I should look at?

Okay! Yes auth credentials are optional if authentication is not set up in
configuration or while running janus, also is your janus server running
fine with stun server added in configuration file? Please try server that i
have been using in example and let me know if works then we can be sure
that something isn't right on your janus deployment
On Thu, 24 Sep, 2020, 8:52 am alsiPanda<EMAIL_ADDRESS>wrote:

There are a few code modification I did.
1- automate the name, so I don't have to type everytime. The functions are
all the same.
2- the Navigator.pop() in the example code was causing some problem so I
fixed that. To be precise in the dialog. It was popping the wrong context.
3- the server address in janus initialisation I have changed. I am using
your janusdeploy docker image, hosted on Google cloud. So I have removed
the following auth as well. I presume that shouldn't affect peerConnection.
As for trying it, I have used it on two very different android devices.
Both show the same problem.
Any specific place where I should look at?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shivanshtalwar0/flutter_janus_client/issues/5#issuecomment-698087782,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLGDV7Q7C4VJSVO7PBLBO3SHK3P7ANCNFSM4RXVSOFA
.

My Server seems to be running fine, the api responds when registering, hanging up, joining room. As for stun servers, I am using Google stun servers. Both in the flutter code and internally in the Janus config file. I will try using the onemandev server used in the example and let you know.

@shivanshtalwar0 , good news is the peer connection error is gone. Bad news is the remoteRenderer is still blank. The peer connection null error was solved by using the TURN server originally in the code, which I had accidentally replaced by a google stun server. The error was gone after.
So I went to the janus.jcfg and added the same TURN server . But remote renderer is blank and there is no error. Can you post your janus.jcfg file ?

You can find janus.jcfg on my official docker image, in directory /opt/janus/etc/janus.jcfg after running container

Hi @shivanshtalwar0
I am trying to disable the video in flutter by using api {"request":"configure","video":false,"audio":true} but this is not working
I tried with createoffer also
Please anyone help on this

When you say video what are you referring to? If you talking about video being captured from your device you need to provide your own mediacontraints in initializeMediaDevice method doing that will not capture it so will not be sent


Converting channel types on the fly?

I'm reading in an EDF file where the analog channels are labeled as EEG. I'm trying to figure out how to set these to misc, but haven't found an easy way to do this. I've learned that it's usually not a good idea to directly change fields in the "info" attribute, so I wonder if there's a good way to do this that I'm not thinking of?

@choldgraf take a look at mne.rename_channels. Maybe it can do the job for you.

ah perfect. out of curiosity why can't you change the type to eeg?

why can't you change the type to eeg?

Hum?

from the docstring (I also tried it and it returned an error)

"""Rename channels and optionally change the sensor type.
Note: This only changes between the following sensor types: eeg, eog,
emg, ecg, and misc. It also cannot change to eeg.
Parameters
----------
info : dict
Measurement info.
mapping : dict
a dictionary mapping the old channel to a new channel name {'EEG061' :
'EEG161'}. If changing the sensor type, make the new name a tuple with
the name (str) and the new channel type (str)
{'EEG061':('EOG061','eog')}.

@dgwakeman ??

this is crazy. It should not be the case.
alos eeg should be in human2fiff dict in function.
PR more than welcome !!!

Ah that's useful as well, thanks :)
On Sun, Mar 29, 2015 at 7:50 AM, Teon<EMAIL_ADDRESS>wrote:

@choldgraf https://github.com/choldgraf there's a parameter, misc in
all the eeg readers when you first load the data.
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/1909#issuecomment-87423061
.

Yeah, that is a typo. It is meant to say MEG. I'll fix it later this week. Unless someone else wants to tackle this easy PR.

@dgwakeman it's 5 mins of your time. Why does it have to wait a week???

I'm busy (and not paid to work on MNE). Also, I just realized it's not a typo. There is a good reason:
To define an EEG sensor you need to adjust dig and define a new sensor. That is more complex. It should IMO go in a new function e.g. mne.channels.define_sensor

mne.channels.define_sensor

sounds like a useful API. We could then leave it to the user to provide as much of the information as needed. If nothing additional is provided we would just use defaults and change the sensor type.

wait, @dgwakeman why should dig be adjusted? dig is usually reserved for digitized head points and hpi points, not for sensors.

I think eeg channels end up in our info['dig'] when we do M/EEG recordings

@teonlamont: yes what @Eric89GXL said, plus you need to modify channels, which gets complex fast when you are really changing channel type. The channel type changes mentioned here are really more about name than type (the difference between eog, emg, ecg, and misc is not really important for anything except as a name: same units, attributes etc.). Hence, why I think changing the type should be a different API, this was just a weird exception due to hardware vendors.
IMO, it is a mistake to incorporate SEEG in this function, as these should be done properly as sensor types, and should be added to dig etc. Perhaps, this discussion will spark some inspiration in people.

https://www.youtube.com/watch?v=BKorP55Aqvg
:) :)

Do you think that you could implement the ability to rename channel types to "eeg" in C++, with pen and paper?

;)

there's now pr #1932 to tackle this issue. currently it doesn't deal eeg channels in the info['dig'].


If CodeAction has both edit and command, then the command is not executed.

In the LSP specification, it specifies that if both an edit and a command are provided, then the edit is applied first, the the command. However, in this case, the command doesn't appear to be invoked at all.
The way I tested this is by modifying the value of the resolved code action using middleware in the language client options, adding a command field that invokes a trivial command. i.e.
resolveCodeAction: async (item: CodeAction, token: CancellationToken, _next) => {
  const resolvedCodeAction = await languageClient.sendRequest(
    CodeActionResolveRequest.type,
    await languageClient.code2ProtocolConverter.asCodeAction(item),
    token);
  const modifiedCodeAction = await languageClient.protocol2CodeConverter.asCodeAction(resolvedCodeAction);

  modifiedCodeAction.command = {
    command: "foo",
    title: "foo",
  };
  return modifiedCodeAction;
}

where I define
context.subscriptions.push(commands.registerCommand('foo', () => {
  window.showInformationMessage('foo');
}))

Through debugging the extension, I can confirm that the middleware function is invoked, but the info message from the command doesn't pop up.

The command can't be resolved lazily in VS Code. See the client capability resolveSupport here https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction which VS Code only sets to edit here: https://github.com/microsoft/vscode-languageserver-node/blob/d859bb14d1bcb3923eecaf0ef587e55c48502ccc/client/src/common/codeAction.ts#L45
So a command needs to be provided when the code action is created.

Okay, thanks for the help!

So a command needs to be provided when the code action is created.

@dbaeumer can you lazily resolve arguments to provided command? For example edit generates function at lazily resolved pos in file, and then command sets cursor to this pos. I cannot find any solution or workaround for this simple task.

You can't resolve args lazy either.


LESS, SASS, and Stylus compilers don't respect outdated and force params

This greatly slows down the development server since a new subprocess is fired on every template render for every file that needs to be compiled. I believe the fix is just to add the if not outdated and not force: return line that's already in the other compilers and in the docs.

This is because of sass @import, which breaks this system.

Is this documented somewhere? Sorry, just trying to reduce the 10 second template render times here, where DEBUG = True.

Not really. You might be able to leverage sass compiler own cache directly.


Problem with TextField with new Flutter version 2.0.1

I have a bug on IOS with TextField.
Error
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x283d8eb70 h=--& v=--& _UIButtonBarButton:0x106853600.height == 0   (active)>",
    "<NSLayoutConstraint:0x283d8ab20 _UIUCBKBSelectionBackground:0x106853f20.bottom == _UIButtonBarButton:0x106853600.bottom - 6   (active)>",
    "<NSLayoutConstraint:0x283d8aa30 V:|-(6)-[_UIUCBKBSelectionBackground:0x106853f20]   (active, names: '|':_UIButtonBarButton:0x106853600 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283d8ab20 _UIUCBKBSelectionBackground:0x106853f20.bottom == _UIButtonBarButton:0x106853600.bottom - 6   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x283d8f520 h=--& v=--& _UIButtonBarButton:0x1068524a0.height == 0   (active)>",
    "<NSLayoutConstraint:0x283d8a210 V:|-(6)-[_UIUCBKBSelectionBackground:0x106852ca0]   (active, names: '|':_UIButtonBarButton:0x1068524a0 )>",
    "<NSLayoutConstraint:0x283d8a530 _UIUCBKBSelectionBackground:0x106852ca0.bottom == _UIButtonBarButton:0x1068524a0.bottom - 6   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283d8a530 _UIUCBKBSelectionBackground:0x106852ca0.bottom == _UIButtonBarButton:0x1068524a0.bottom - 6   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x283d8bac0 h=--& v=--& _UIButtonBarButton:0x106851a80.height == 0   (active)>",
    "<NSLayoutConstraint:0x283d89f40 V:|-(6)-[_UIUCBKBSelectionBackground:0x106852320]   (active, names: '|':_UIButtonBarButton:0x106851a80 )>",
    "<NSLayoutConstraint:0x283d8a030 _UIUCBKBSelectionBackground:0x106852320.bottom == _UIButtonBarButton:0x106851a80.bottom - 6   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283d8a030 _UIUCBKBSelectionBackground:0x106852320.bottom == _UIButtonBarButton:0x106851a80.bottom - 6   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H15 darwin-x64, locale
    en)
    • Flutter version 2.0.1 at /Users/hellomik/development/flutter
    • Framework revision c5a4b4029c (3 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/hellomik/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.54.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • iPad (mobile) • 00008027-001E219C1AF8402E • ios            • iOS 14.4
    • Chrome (web)  • chrome                    • web-javascript • Google Chrome 89.0.4389.82

Hi @Hellomik2002
Can you please provide your  flutter run --verbose and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


[Question] Returning a proxy from dispatch

Would this be a valid implementation or is there some reason I would not want to do this?
    struct Draw : pro::dispatch<void(std::ostream&)> {
        template <class T>
        void operator()(const T& self, std::ostream& out) { self.Draw(out); }
    };

    struct Area : pro::dispatch<double()> {
        template <class T>
        double operator()(const T& self) { return self.Area(); }
    };

    struct Self;
    struct AreaFacade : pro::facade<Area> {};
    struct DrawFacade : pro::facade<Draw> {};
    struct DrawableFacade : pro::facade<Self, Area, Draw> {};

    struct Self : pro::dispatch<pro::proxy<AreaFacade>()> {
        template <class T>
        pro::proxy<AreaFacade> operator()(T& self) { return pro::make_proxy<AreaFacade>(std::move(self)); }
    };

Notice I'm converting a DrawableFacade to an AreaFacade in the self dispatch type. This would be an attempt to do something like a classic upcast I suppose where I have an implementation that needs only a subset of the current facade's available interface.

@spectre-ns The motivation is valid, but semantics of Self looks a bit weird. If Self is not intended to transfer the ownership of the value to the other proxy (e.g., no asynchronous operation required), maybe it would be more reasonable to return &self rather than pro::make_proxy<AreaFacade>(std::move(self)).

@mingxwa yes you are correct the ownership model here is weird. If I were going to implement this in the wild I would likely make the facade copyable to eliminate the move and prevent transfering ownership. The implicit move could be a gotcha when dispatching self then trying to continue to use that same proxy after the move.

I was mainly targeting the use case where I'm passing proxies around and I have an interface that is more abstract than my current proxy. In that case I would want to 'translate' to the more abstract version.


Using the same db in function call

I know that Bolt obtains a file lock on the data file so multiple processes cannot open the same database at the same time. Opening an already open Bolt database will cause it to hang until the other process closes it.
But what if there is a function call and it is accesing the same database and doing a read-write as well read-view operation on it.
how can i do this ?
Is there any method in which i can use go routines to update the db ?
I am very new to bolt and code improvement suggestions will be helpful.
Playground link :     http://play.golang.org/p/QCbJ9lK3HG
One more query: DB.Batch() is only meant to batch.Use case : there are lots of key-value pair is coming,where key is the time stamp,so if i use batching operation will it store in order of the time stamp or any random order?
It can't do reordering since the order of operations in a batch may still matter to the application.

Read-only transactions can execute simultaneously, but only one writable transaction can run at a time. The point of that is you should not have any writable transaction depend on a read-only transaction (which would result in a deadlock). You can, of course, execute a writable tx and execute a read tx at roughly the same time - provided they don't depend on each other, you'll see the new, written data at some point in the future.
Re DB.Batch - goroutines do not have an ordering guarantee. So, say you create goroutines like so:

1
2
3

You may have 2 executed first, 3, etc - it won't be in the order you expect (this is also noted in #390 as the DB.Batch doc needs to be fleshed out).


How to Make your API Aware of my SSL CERT

I am using SSL ACME (local certs) for my internal network.
How can I configure your Egg to use my root_ca.crt bundle as verification (secure standard way) or at the very least make it so that your API ignores the TLS errors.
Error Log:
[2022-01-30 20:05:35]: ERROR Unhandled rejection: FetchError: request to https://[url removed for security]:8080/api/client failed, reason: unable to get local issuer certificate
FetchError: request to https://[url removed for security]:8080/api/client failed, reason: unable to get local issuer certificate
at ClientRequest. (/home/container/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:375:28)
at TLSSocket.socketErrorListener (_http_client.js:475:9)
at TLSSocket.emit (events.js:375:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
type: 'system',
errno: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',

This project is now archived.


Check Vowel

Description
Vowel check is a simple program to check whether a character is a vowel or not.
Input  : a
Output : Vowel

Program added successfully :tada:
Thanks for your contribution :hugs:


pkg/report: add initial symbolize suppport to OpenBSD

$ cat before.txt
ddb{1}> trace
db_enter() at db_enter+0xa
panic() at panic+0x147
__assert(ffffffff81521464,ffff8000211ab3d0,ffff8000210a39e0,ffff800000038e80) at __assert+0x24
_kernel_lock(ffff8000210a39e0,ffff8000211a6000) at _kernel_lock+0x125
pageflttrap() at pageflttrap+0x6c
kerntrap(9) at kerntrap+0x8d
alltraps_kern(6,ffff800000ad6000,ffffffffffffffff,0,9,ffff8000210a39e0) at alltraps_kern+0x7b
ptsignal(2829,ffff8000210a39e0,ffff8000210b7630) at ptsignal+0x115
mi_switch() at mi_switch+0x1fb
sleep_finish(1,ffff8000211ab660) at sleep_finish+0xd3
sleep_finish_all(ffff8000211ab660,32) at sleep_finish_all+0x22
tsleep(ffff8000210a39e0,3,0,ffff8000210b76f8) at tsleep+0x142
single_thread_set(ffff8000210a39e0,ffff8000210a39e0,0) at single_thread_set+0x28b
exit1(ffff8000210a39e0,9,0) at exit1+0x84
postsig(100,ffff8000210a39e0) at postsig+0x3ea
userret(0) at userret+0x11b
syscall(0) at syscall+0x54d
Xsyscall(6,58,1739cadc000,53,0,1739cad9900) at Xsyscall+0x128
end of kernel
end trace frame: 0x173e57df590, count: -18
$ cat after.txt
ddb{1}> trace
db_enter() at db_enter+0xa sys/arch/amd64/amd64/db_interface.c:399
panic() at panic+0x147 sys/kern/subr_prf.c:208
__assert(ffffffff81521464,ffff8000211ab3d0,ffff8000210a39e0,ffff800000038e80) at __assert+0x24 sys/kern/subr_prf.c:155
_kernel_lock(ffff8000210a39e0,ffff8000211a6000) at _kernel_lock+0x125 sys/kern/kern_lock.c:63
pageflttrap() at pageflttrap+0x6c sys/arch/amd64/amd64/trap.c:163
kerntrap(9) at kerntrap+0x8d sys/arch/amd64/amd64/trap.c:294
alltraps_kern(6,ffff800000ad6000,ffffffffffffffff,0,9,ffff8000210a39e0) at alltraps_kern+0x7b
ptsignal(2829,ffff8000210a39e0,ffff8000210b7630) at ptsignal+0x115 sys/kern/kern_sig.c:944
mi_switch() at mi_switch+0x1fb sys/kern/sched_bsd.c:392
sleep_finish(1,ffff8000211ab660) at sleep_finish+0xd3 sys/kern/kern_synch.c:312
sleep_finish_all(ffff8000211ab660,32) at sleep_finish_all+0x22 sleep_finish_timeout sys/kern/kern_synch.c:336 [inline]
sleep_finish_all(ffff8000211ab660,32) at sleep_finish_all+0x22 sys/kern/kern_synch.c:157
tsleep(ffff8000210a39e0,3,0,ffff8000210b76f8) at tsleep+0x142
single_thread_set(ffff8000210a39e0,ffff8000210a39e0,0) at single_thread_set+0x28b single_thread_wait sys/kern/kern_sig.c:2051 [inline]
single_thread_set(ffff8000210a39e0,ffff8000210a39e0,0) at single_thread_set+0x28b sys/kern/kern_sig.c:2042
exit1(ffff8000210a39e0,9,0) at exit1+0x84 sys/kern/kern_exit.c:137
postsig(100,ffff8000210a39e0) at postsig+0x3ea sigexit sys/kern/kern_sig.c:1500 [inline]
postsig(100,ffff8000210a39e0) at postsig+0x3ea sys/kern/kern_sig.c:1432
userret(0) at userret+0x11b sys/kern/kern_sig.c:1882
syscall(0) at syscall+0x54d mi_syscall_return sys/sys/syscall_mi.h:122 [inline]
syscall(0) at syscall+0x54d sys/arch/amd64/amd64/trap.c:605
Xsyscall(6,58,1739cadc000,53,0,1739cad9900) at Xsyscall+0x128
end of kernel
end trace frame: 0x173e57df590, count: -18

Re first 2 patches:

osCommon is meant only is implementation detail to prefill lots of common fields that are usually common for all arches on a particular OS (e.g. on linux we have 5). osCommon is embed into each target and is specifically not exported. It's possible that on some OS e.g. kernel object name is different for each arch, and then we will just move kernel object from osCommon to each target without changing any other code. In short, if you need something from sys/targets, just use the concrete target, it has all OS info too.

Passing kernelObject to each reporter is not scalable. There are lots of fields and we will need more in future. Passing all fields separate to all reporters will cause lots of code churn. I think it's better to pass sys/targets.Target as is to each reporter. And then each can use any necessary number of fields from target.

The last change looks good to me. +1 for test.

Update, passing the target to each constructor. The reporter fuzz tests
broke since the mgrconfig does not contain a valid arch. A work-around
is included, let me know if this could be solved in some other way.

More test failures, a few more tests are missing a valid arch.
@dvyukov how would you go about solving this? Should the target be passed to NewReporter instead of using targets.Get?

Update, passing the target to each constructor.

Looks good.

The reporter fuzz tests broke since the mgrconfig does not contain a valid arch.

Wow! I forgot that we even have a test for a fuzzer for a fuzzer.
Will just using "amd64" as arch work? The only OS that does not have it is "test", but we also don't have a reporter for it. I would just use "amd64" for now. It's bad to repeat NewReporter code and we miss e.g. ignores compilation and in future they can diverge more.
A proper solution would probably to take first arch for each OS (which will also require sorting targets.List to make it deterministic). But since we have the test we will notice when just "amd64" will stop working.

adding "amd64" looks fine, they all use a particular OS anyway.

Fixed, I had to add one exception for gvisor.

👍 very cool, thanks Anton!

Looks very stylish:
db_enter() at db_enter+0xa sys/arch/amd64/amd64/db_interface.c:399
panic() at panic+0x147 sys/kern/subr_prf.c:208
fifo_badop(ffffffff81191572) at fifo_badop+0x12 sys/miscfs/fifofs/fifo_vnops.c:491
VOP_STRATEGY(ffffff002a053400) at VOP_STRATEGY+0x6b sys/kern/vfs_vops.c:715
bwrite(ffff800014ad6ad0) at bwrite+0x195 sys/kern/vfs_bio.c:742
VOP_BWRITE(ffffff0034894c88) at VOP_BWRITE+0x47 sys/kern/vfs_vops.c:727
ufs_mkdir(ffffffff81e28de8) at ufs_mkdir+0x5a9 sys/ufs/ufs/ufs_vnops.c:1247
VOP_MKDIR(ffff800014a33528,1ed,ffffff9c,ffff800014ad6a88) at VOP_MKDIR+0x65 sys/kern/vfs_vops.c:445
domkdirat(ffff800014ad6cc0,ffff800014a33528,ffff800014a15338,880) at domkdirat+0x10f sys/kern/vfs_syscalls.c:2861
syscall(0) at syscall+0x3e4
Xsyscall(6,88,7f7ffffccaa0,88,0,7f7ffffccae0) at Xsyscall+0x128

Such an improvement!


[CSL-1856] Merge to master

[CSL-1856] Move update MiscDB to cardano-sl-update

Oh wait, this is CSL-1758, can you fix?

Oh wait, this is CSL-1758, can you fix?

Oops! Fixed.


TypeLoadException in Blazor app

Describe the bug
I am using a blazor app (version 0.9.0) referencing System.Memory nuget-package in version 4.5.2. The build is fine but when running, the browser console shows an error that types of the package could not be resolved throwing a System.TypeLoadException. (See screenshot below)
I managed to get it working by copying the System.Memory.dll from the nuget package to the blazor build output (dist_framework_bin).
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core 3 preview 3

Run this code
The project is hostes here: https://github.com/AndreasTruetschel/BlazorSignalR
It is a port of the library to Blazor 0.9.0
To reproduce, the copy post-build event (as described above) has to be removed.

With these arguments ---

See error (See description)

Expected behavior
(See description)
Screenshots

Additional context

Thanks for contacting us, @AndreasTruetschel.
This is a Mono issue so please file a bug in https://github.com/mono/mono repo instead.


[Set Reminder] No error message displayed when user attempts to set reminder with blank date and time.

Steps to Reproduce

Select a Source and Destination country from respective Dropdown
Enter Send Amount > Account Balance
Click On Convert Button
Choose "Bank Account" payment method for Delivery and "Card Details" method to Pay amount
click on clear button
Clear time input fields.
click on ok button.

Expected Results

Error message should be displayed for blank date/ time fields

Actual Result

No error message displayed for blank input date and time fields.

Defect : DF_SR_03  has been successfully fixed and working fine with existing code.


[HW] Tizelia Norville

Name: Tizelia Norville
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/tizelia-norville-3535bb201/
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Hello! You are successfully running the application in Gitpod (congratulations!), but to complete the exercise please deploy it to Netlify as instructed from step 9 onward here : https://github.com/datastaxdevs/appdev-week2-tiktok#9-connect-netlify-to-your-site
You can then re-submit the homework once it is completed. Good luck!


Hello, thanks for u created this bot, but we got issues

It makes appointments slowly, I can't keep up with other bots. I live in Turkey and I am sending a request from Turkey. My 1 get available date request takes 1.5-2.5 seconds, is this normal? or self.book takes almost 6 seconds. Do you have any solutions? Or how long is the request period?

And If u want i can show my project or the problems on discord. My Discord Name: erentokmak#6091

You can rent server in united state and run this bot on it, to decrease delay request time.
Join to telegram  group (you can find it in README), maybe someone from group can give you good advise.

Thank You


Adding Dockerfile with Python 3.8 and pyinstaller 4.0.0

It seems that you could have edited the existing Dockerfile to use a more generic Python installation path, like C:\Python. Then, the python version can be changed by giving build argument PYTHON_VERSION to the docker build command (with --build-arg flag).

Are they any plans to update to pyinstaller 4.0.0?

Hey, is there a way to modify this so it will get in?

@gmatheu I tried to build this Dockerfile but it seems to hang forever when it gets to the stage when it installs pyinstaller using pip.
Any reason why it happens?
Step 18/25 : RUN /usr/bin/pip install pyinstaller==$PYINSTALLER_VERSION
 ---> Running in 22037728eba9
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0088:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
00d8:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
Collecting pyinstaller==4.2
  Downloading pyinstaller-4.2.tar.gz (3.6 MB)
  Installing build dependencies: started

@gmatheu I tried to build this Dockerfile but it seems to hang forever when it gets to the stage when it installs pyinstaller using pip.
Any reason why it happens?
Step 18/25 : RUN /usr/bin/pip install pyinstaller==$PYINSTALLER_VERSION
 ---> Running in 22037728eba9
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0088:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
0040:err:rpc:rpcrt4_ncacn_np_handoff Failed to retrieve the computer name, error 2
00d8:err:rpc:rpcrt4_ncalrpc_handoff Failed to retrieve the computer name, error 2
Collecting pyinstaller==4.2
  Downloading pyinstaller-4.2.tar.gz (3.6 MB)
  Installing build dependencies: started

that's unrelated to this push request:
https://github.com/cdrx/docker-pyinstaller/issues/103
wine-staging seems to be buggy in regards to this project. Can confirm itz works fine with wine-stable

Any news about this PR?


Reopened connections break state

When a connection is reopened, say, by attaching a persona to a need that was previously attached to it, the derived data belonging to that connection gets loaded correctly, but since the connection is blacklisted from loading in local storage, this results in inconsistent state.
Removing this blacklist would have a strong negative impact on performance.

A way to resolve this is to add DerivedData within the connectionContainer besides the already existing counters, probably best would be to have a set of uris for each connection state, so we can prioritize the connection based on the state (loading closed connections is not as important as others)
It would also be beneficial to have derivedData within the connection Container based on the Facet(s) -> of a connection, that way we could apply a priority on these groups as well


Add node colors

In  addition to points a layer should have an entry colors that takes a list of len(points) of RGB or Hex values.``

@sdorkenw How long are your Neuroglancer URLs right now with all those points? I believe Chrome's limit is 2 MB.
Eventually, we might have to think about another way to store huge states. Sharing a URL with 2,000,000 characters is a bit awkward...

Just to make sure: The version on neuromni has everything you need?
Also created a PR on google:master

@sdorkenw and @nicholasturner1 are looking again for a way to modify the color of single points. Reading/Writing to JSON state is fine. Modifying the UI remains low priority.


z-order: showing and sorting

Thanks for the nice labeling tool. I have two questions while using z-order.
I use the default 'develop' branch downloaded on September 14, 2020.
(1) showing
I understand I can use '+' or '-' to increase or decrease the z-axis, respectively.
But after doing that, I cannot find any place in the CVAT interface showing the current z-axis of a polygon, except in the downloaded xml file. Maybe I am missing something?
(2) sorting
At the moment we can sort the labeled objects with ID and updated time. Can we also sort them with their z-axis numbers?

Hi, @yanmu2017
Please, follow the issue template in the future.
Speaking about your questions. There is slider to switch current layer in UI (look at the screenshot below)

On a layer X you see all objects with layer <= X.
Sorting by a z order in side panel might be a feature request, but what is use case where you need it?

Thank you for the reply.
I look for a way to check if labelled objects have desired z order numbers.  This is needed as I label an image at many layers.
I cannot find an easy way to do it in the CVAT interface and now I first download segmentation masks for checking.
Sorting by a z order will do exactly what I want here.
If the z-order number of each object can be shown on the list of objects, that would be a plus for me.

I look for a way to check if labelled objects have desired z order numbers.

I am not sure that sorting by z order in side panel is a convenient way. You always need to look first at sidebar, second at canvas for each object. Layer slider I suppose is more convenient way here.

Hi, like @yanmu2017 I'd prefer being able to sort objects within the side panel. In my case I'd like to make sure that certain labels are always behind some otherwise labelled objects. In that case, at least, I wouldn't need to search each object also in the canvas as @bsekachev pointed out.
Other intuitive ways to allow the user understand the z-axis hierarchy:
A - Show the z-axis value within each object pop up. That would also help in my case, though less than sorting in the side-panel.
B - Enable defining labels z-axis hierarchy at the task window where the labels are defined. (ofcourse with the freedom to determine some partial hierarchies like "sky" < "buildings" or whatever.

I wouldn't need to search each object also in the canvas as @bsekachev pointed out.

You would need to search each object in side panel in this case (maybe it is convenient when there aren't too many objects and a couple of classes, but in typical segmentation datasets there can be tens and hundreds of objects per frame with tens classes). So, trying to sort out what objects behind or in front of another objects in common case is not trivial in such the case.
I understand you case, but at the same time we should find a solution that doesn't overcomplicates the UI (In my opinion sorting by z-order is a feature that doesn't bring any additional complex, but showing exact z order for each object does). Let's submit a feature request and find a solution. The feature is out of scope of our team, so I put it in backlog. Maybe someone from the community will work on it.

In my opinion sorting by z-order is a feature that doesn't bring any additional complex, but showing exact z order for each object does
Maybe put showing exact z order optional? For example, we can add a box "Show z-order" here

My project has about 5 objects for each image. By showing z-order in the side panel I can easily check them without moving the Layer slider, which will save me half the time while checking.


Add Presto function to_iso8601 for TimestampWithTimezone type

Implement Presto function to_iso8601() for TimestampWithTimezone type input.

@majetideepak @aditi-pandit I outlined my findings and understanding used to inform my implementation of the function below; if you wouldn't mind, I'd really appreciate if you guys could take a look and let me know if the logic seems sound.
Referencing two examples from Presto Java, reflecting the two means by which TimestampWithTimezone type can be declared:
select to_iso8601(timestamp '1880-08-07 17:07:02 America/Los_Angeles');
              _col0
----------------------------------
 1880-08-07T17:07:02.000-07:52:58
(1 row)

select to_iso8601(timestamp '1880-08-07 17:07:02 -08:00');
             _col0
-------------------------------
 1880-08-07T17:07:02.000-08:00
(1 row)

In each of these two queries, the to_iso8601() function is receiving very different inputs - the UTC millisecond offset of the constructed TimestampWithTimezone values will depend on the respective offset passed into each query.
Ultimately, we want to display the input UTC timestamp in the same format it appears in the query/CLI.
As per my understanding, when parsing the query, the parser works "backwards", deriving a UTC timestamp from the input by applying the offset indicated by the timezone ID. This ID can either be that of an English timezone name (America/Los_Angeles), for which the corresponding offset will be looked up in the external/date IANA timezone database; or, this ID can be that of a direct numerical time offset (-08:00). Whichever way the offset is obtained, it will subsequently be applied to the timestamp from the query, to construct a TimestampWithTimezone object.
A function like to_iso8601() then receives this newly constructed TimestampWithTimezone tuple;  it must resolve the UTC timestamp input in the tuple to the appropriate offset, to output the timestamp in the same localized/human-readable format it was passed into the query to begin with. Once again, this offset would either be retrieved from the IANA databse via the English name pased in through the input TimestampWithTimezone tuple, or it itself would be passed in through the tuple.
Based on all this, I've written the logic for the Velox implementation accordingly, using the date library to resolve and increment/decrement timepoints as necessary to ensure accurate output. Please let me know if there any concerns with any of this.

@majetideepak @aditi-pandit please take a look, condensed down the logic and finalized changes. Updated tests and added docs.

@svm1, looks like the PR landed here https://github.com/facebookincubator/velox/commit/6fdaff75ba6ad61957b3fd60c31da4ffa1f2837a
can you rebase?

@majetideepak it was bound to happen! was keeping a tab on that but didn't realize the PR was already merged. Thanks for the heads up - rebased and modified to comply with the new TimestampWithTimezone changes.

@majetideepak would appreciate if you could re-review!

@svm1 can you rebase this PR? Thanks.

@svm1 : Can you rebase this code ? Will help for further review.

Thanks @aditi-pandit , though closing this PR as the function has been implemented.


!kc cm

Please allow "!kc cm" for challenge mode, currently we have to type "!kc chambers of xeric:challenge"
Thank you.

There is !kc cox cm or !kc cm cox iirc


Collect advantages of this project for GCC and readme.md

Since I will give a workshop for this project at GCC and in general, it would be great to show what the advantages of this project are, that surpass bio.tools, toolshed, github repos and Galaxy instance centric views of the tools.
Just drop your ideas here and I will compile the list.
I will start

the toolshed Development repository is often wrong or outdated (many times people cannot even find the location of the wrapper development), our list has Galaxy wrapper parsed folder which is the actual source and updated. Could be used to bulk update the wrappers.
EDAM terms are linked to tool stats. Allows to create structured figures for all tools and the communities (https://github.com/usegalaxy-eu/microgalaxy_technical_paper_2024/blob/plotscripts/results/EDAM_operation.jpeg)

Thanks for starting that. I will probably need that also for a talk next at ELIXIR AHM and then at GCC
Ideas

1 place with

all Galaxy tools aggregated at the suite level (not individual wrappers)
Metadata from different sources (biotools, bii.tools)
Information if tools outdated or not (given bioconda package)
Tool availability on usegalaxy.*
Usage on usegalaxy.eu

Possibility to filter for a community
Outputs

Queryable Interactive table
Interoperable format (TSV)

Expandable to training and workflows

community involvement to the development of the Galaxy CoDex logic via GitHub (no standard user has easy access to the development of bio.tools, toolshed, galaxy codebase)
wordcloud :)


SD 1.5 model error

There is a problem because the SD 1.5 model cannot be selected, only 1.4, but it runs into the error that it is not supported. I am using version 0.24.
Here is my command: lama-cleaner --model=lama --device=cuda --port=9876 --gui --sd-disable-nsfw --sd-run-local

and after upgrade:

You need to accept the terms to access runway my/stable-diffusion-inpainting model, and get an access token from here huggingface access token. Start lama-cleaner with huggingface access token:
lama-cleaner --model=sd1.5 --hf_access_token=hf_xxx

The reason why the front-end page cannot select sd1.5 may be due to caching, please clear the browser cache and try again

After entering the command and downloading the 1.5 SD model, I started the GUI and pressed CTRL+F5, and the interface was updated, the 1.5 model appeared in the list.
Thank you very much for your quick help!


Controller-Hide issue on Use

Hello there,
I discovered some Controller-Hide issues with an InteractableObject, when grabbing and using it with the same Controller-Button (in my case it's TriggerHairline for both Grabbing and Using). Even though I set "Hide Controller on Grab" and "Hide Controller on Use" to "Override Hide", the Controller will only be hidden, while using the InteractableOject. Does anyone had that issue before or already know a solution for this?
That issue is reproducable with your example-scene "008_Controller_UsingAGrabbedObject" and the InteractableObjectSettings as shown in the screenshot.

It seems to be more fundamental than just the controller visibility issue.
It seems if you set the same button for both grab and use, then on pressing it, grab is triggered, use is triggered but then Unuse is triggered straight away.
I'll need to look in to why that is and hopefully fixing that will fix the other issue too.

Try this Pull Request and see if it resolves your issue:
https://github.com/thestonefox/VRTK/pull/694
Let me know if it works for you and I'll look to merge it with the master branch

Thanks, we are trying it today/tomorrow and will let you know

We tried it today (took a while, because we had to compensate for the changes you made with the dropzones)...unfortunately it doesn't seem to help. The controller is still visible when picking up the object and only hides, while using it.

Not sure i understand, but your settings you posted above grab and use at the same time.
are you using it with different settings from the ones you posted in the screenshot? if so can you post the updated settings.

Also, separate grab and use buttons with Override Hide on both grab and use works fine for me.

We use the same buttons to grab and use, as this projects needs to be as simple as possible.
We don't really understand, why the object isn't hidden, when both (grab and use) set "Override hide" as a mode

but with this pull request it's working (for me) as you would expect.
did you download the pull request from:
https://github.com/thestonefox/VRTK/pull/694
and try that code?
Also, when you say the "object isn't hidden" you mean the controller right?

Ok try the updated PR
https://github.com/thestonefox/VRTK/pull/694

Fix works like a charm now.
Thanks for the fast implementation :+1:


Cannot override dataflow-server-uri

As a user, I'm attempting to override dataflow-server-uri, but it defaults to localhost always.
It works, however, if I override it as spring.cloud.dataflow.client.server-uri. See discussion here. Investigate why there's this discrepancy between 1.1.0 and 1.1.1.

Another hit in SO here.

   The primary difference between CTR 1.1.0 and CTR 1.1.1 was that CTR 1.1.1 now uses the 1.5.0 release of SCDF.   In 1.5.0 spring-cloud-dataflow-rest-client adds a new auto configuration of https://github.com/spring-cloud/spring-cloud-dataflow/blob/master/spring-cloud-dataflow-rest-client/src/main/java/org/springframework/cloud/dataflow/rest/client/config/DataFlowClientAutoConfiguration.java[DataFlowClientAutoConfiguration]  and with that we got the property validations for DataFlowOperations (i.e. spring.cloud.dataflow.client.server-uri).   With the release of 1.1.2 and 2.0.0 CTR instantiates its own DataFlowOperations which will circumvent the DataFlowClientAutoConfigurations instantiation of the DataFlowOperation bean, thus resolving the problem.

@cppwfs: Thank you for the research and documenting the findings!


Show correct answers to the users when completing a tile

The server sends back the result + correct answers, so that we can let the user go over the questions again and see which ones she got right/wrong along with the correct answer.

Has been implemented with the commit c5e087b15fec7cc578c33681d14a027b9dd63ae8


MD5 is deprecated, use md5 instead

Tried to update to 0.10.8 but got this warning:
npm WARN deprecated<EMAIL_ADDRESS>deprecated, use lowercase<EMAIL_ADDRESS>from now on

Also other errors but I suspect those are more of a problem with our network. Anyway, I couldn't update.

Hi,
Thank you for the report !

Great! Unfortunately, I still can't update. Seems like a network probably that you probably can't do anything about but I get this message when running apm update from the command line:
npm ERR! git fetch -a origin (https://github.com/saschagehlich/autocomplete-plus.git) fatal: Unable to find remote helper for 'https'
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "<path to atom's local node.exe>" "<path to npm-cli.js>" "--globalconfig" "<path to global .apmrc>" "--userconfig" "<path to user .apmrc>" "install" "<temp path to package>" "--target=0.30.6" "--arch=ia32" "--msvs_version=2010"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128

npm ERR! Command failed: fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

I doubt there's anything you can do about it but, if you have any idea, I'd appreciate it. I was able to update some other unrelated plugins though so apm is not entirely broken.

I tried to remove autocomplete-plus from package's dependencies (because autocomplete-plus is now part of the atom core)
It should resolve your issue.

Thanks, it worked!


Upgrade to LensKit 0.13.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: run: psutil >= 5 should not contain a space between relational operator and the version, i.e. psutil >=5

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Remove completed transfers from the Archivematica bucket

I'm going to close this as done; the transfer monitor should do the work of purging these for us.


Binding with dot

Hello,
I noticed that after the pull request #1772 binding with dot stopped working.
One sollution would be to change
           if (string.IsNullOrWhiteSpace(expression))             {                 return (new EmptyExpressionNode(), default);             }
that is located at start of ExpressionObserverBuilder.Parse.
To:
           if (string.IsNullOrWhiteSpace(expression) || expression == ".")             {                 return (new EmptyExpressionNode(), default);             }
But I'm not involved enough to know if there could be any other side effects from this solution.

What is the benefit of that notation?

I guess it is equivalent to
{Binding Path=.}
It makes it possible to bind to current source.
One example of use would be if you want to do an custom ItemTemplate and inside that template bind to the items object.
Another example is if you want to use an converter on the source itself
{Binding ., Converter={StaticResource CustomConverter}}

{Binding } does the same, but if other frameworks support this then we should fix it.


Specify pry as one of nanoc-cli's runtime dependencies

Detailed description
This PR adds a runtime dependency on pry to nanoc-cli so it does not fail when the application's Gemfile does not have pry.
I suppose that in the relatively old days pry was so prevalent that this was not thought of as a problem. Though nowadays irb is getting popularized again which sometimes displaces pry, when it becomes a problem.
To do
None.
Related issues
Closes #1678.

I guess the CI failing to build mini_racer is a separate complication which has something to do with cache. I'll chase it also although it does not seem to become clear easily 🙁

I have reasoned out the problem at #1680. I'll keep it separate so will you give it a look before this one?

Thank you!


helm2; Extending map merging errors

Same as https://github.com/giantswarm/helmclient/pull/229 but only for helmclient 0.x.x which support helm 2.
Checklist

[x] Update changelog in CHANGELOG.md.

Approved previous helmclient 1.x.x PR. going with a ping.


Wave utils

Make a separate package of utility functions that help with easier integration between Wave and common AI tooling. One such example would be converting a dataframe into a Wave table.
Use https://github.com/h2oai/wave-utils as a starter.
Community proposals
If you have an idea for a particular util function that could be useful to others, please comment on this issue. If you can also provide an implementation, that would be even better.

a method to generate form card based on function parameters definition:
e.g. use the below submit function
def submit(fileno, param1, param2):
... ...
a util function like as:
page['hello'] = ui.util.func_form_card(box='...', function=submit)
which generated the form_card with two textbox fields (param1 and param2), and OK+Cancel button.
is it possible?

Thanks for the suggestion @italanchan!
So you want something like a "callback" function for getting data, right? This might be a stretch for the utils package, which aims to be a simple input => output functions. Your proposal would require core changes to the Wave itself.


adding ngam and izahn as maintainers

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@izahn, cool?

@izahn, cool? added you as maintainer along with me

Yes, cool with me!


src and type required

The following error is happening in some builds:
Failed to inline critical CSS.
`src` and `type` required
    /opt/buildhome/.netlify-build-plugins/node_modules/oust/index.js:52:15 oust
    /opt/buildhome/.netlify-build-plugins/node_modules/oust/index.js:82:37 Function.module.exports.raw
    /opt/buildhome/.netlify-build-plugins/node_modules/critical/src/file.js:354:28 getStylesheetHrefs
    /opt/buildhome/.netlify-build-plugins/node_modules/critical/src/file.js:839:32 getDocument
    /opt/buildhome/.netlify-build-plugins/node_modules/critical/src/core.js:108:26 async create
    /opt/buildhome/.netlify-build-plugins/node_modules/critical/index.js:23:20 async Object.generate
    /opt/buildhome/.netlify-build-plugins/node_modules/netlify-plugin-inline-critical-css/index.js:28:9 async onPostBuild
    src/plugins/child/run.js:18:3 async Object.run
    src/plugins/child/main.js:38:38 async handleEvent
    src/plugins/ipc.js:97:9 async process.<anonymous>

The repository is private. The build logs do not contain any additional information unfortunately. Do you know what the problem might be?

After digging a bit in the critical & oust source code, it seems like the problem is that the src passed to oust was an empty string (the src is the content of an HTML file) . type is properly passed by critical, as it’s an hardcoded string.
function oust(src, type, raw) {
    if (!src || !type) {
        throw new Error('`src` and `type` required');
    }

It might be that the user has an empty .html file. I should probably filter those out.
I might also PR oust to do a smarter check than just !src, as it’s true when passed an empty file.

Thanks for digging into this @Tom-Bonnike!

I’ll update the plugin as soon as there’s a new version of critical containing the dependency bump and we should hopefully not see this again.

Update critical to 2.0.1 which should fix the issue. Going to bump the netlify version on netlify/plugins.


Don't put "extra" bits into terminal, log as debug

We have been seeing random characters jammed into the terminal after a rlogin connection. This seems to be because we are taking some extra handshake bits and treating them as input. I don't think this is doing anything good, and is def doing some annoying things, so I have changed the rlogin code to instead log those bits to Debug. I believe this will fix issue #130 .

Updated to use ASCII like the rest of MBBSEmu. Don't know what I was thinking. ;)


Only show category in .Discover(.Featured) stream

Last PR for 1.9.1 - hide category everywhere except the discover/featured/ stream

👍


generate_parameter_library: 0.3.2-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository generate_parameter_library to 0.3.2-1:

upstream repository: https://github.com/PickNikRobotics/generate_parameter_library.git
release repository: https://github.com/ros2-gbp/generate_parameter_library-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.3.1-1

generate_parameter_library

No changes

generate_parameter_library_example
* Populate Range Constraints in Parameter Descriptors from Validation Functions (#103 <https://github.com/PickNikRobotics/generate_parameter_library/issues/103>)
* Mark deprecated rsl method and propose alternative in the docs. (#102 <https://github.com/PickNikRobotics/generate_parameter_library/issues/102>)
* Contributors: Chance Cardona, Dr. Denis

generate_parameter_library_py
* Populate Range Constraints in Parameter Descriptors from Validation Functions (#103 <https://github.com/PickNikRobotics/generate_parameter_library/issues/103>)
* Mark deprecated rsl method and propose alternative in the docs. (#102 <https://github.com/PickNikRobotics/generate_parameter_library/issues/102>)
* Allow none type (#99 <https://github.com/PickNikRobotics/generate_parameter_library/issues/99>)
* Fixed tests never failing although file not found (#101 <https://github.com/PickNikRobotics/generate_parameter_library/issues/101>)
* Contributors: Chance Cardona, Dr. Denis, GuiHome

parameter_traits

No changes

Closing in favor of 0.3.3


0.58+ implement, how to derive?

Summary
I was trying to update to version 0.58, and according to the release notes, it felt as simple as replacing something like impl IClassFactory_Impl for ClassFactory into impl IClassFactory_Impl for ClassFactory_Impl.
However, I have #[derive(Debug)] on my struct since I want to use the instrument macro from the tracing crate. Therefore I'd prefer to derive debug on ClassFactory_Impl.
Crate manifest
[dependencies]
tracing = "0.1.40"
tracing-appender = "0.2.3"
tracing-subscriber = "0.3.18"
windows-core = "0.58.0"

[dependencies.windows]
version = "0.58.0"
features = [
    "implement",
    "Win32_Foundation",
    "Win32_System_SystemServices",
    "Win32_System_LibraryLoader",
    "Win32_System_Com",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_Ole",
    "Win32_System_Registry",
    "Win32_System_RemoteDesktop",
]

Crate code
No response

cc @sivadeilra

I think we could handle this by forwarding the Debug impl from the outer object to the inner.  I'll look into it.


Paired-end fastq files

My apologies if this is in the documentation somewhere, but I am unable to figure out how to run drprg on two fastq files at the same time.
drprg predict -x mtb -i reads.fq --illumina -o outdir/

^ only has one fastq file.

Hi. Yep this is mentioned in the docs here https://mbh.sh/drprg/guide/predict.html#input-reads


[keyvault] CryptographyClient: fall back to remote operations if missing get permission

Packages impacted by this PR

@azure/keyvault-keys

Issues associated with this PR

Fixes #26001

Describe the problem that is addressed by this PR
Local cryptography relies on having permission to get a key from the Key Vault in order to perform the operation. But it is possible, using a Key Vault access policy, for the get permission to not be granted even if other operations are permitted (e.g. sign, verify, encrypt, decrypt...). This scenario doesn't work at the moment because we assume that the get permission is always present, and don't handle the 403 if we can't get the key.
This PR fixes the issue by handling the error and falling back to remote-only operations if the get permission isn't granted.

API change check
API changes are not detected in this pull request.


Make GitLab Docker tests as PR and master push optional checks.

Make GitLab integration tests for three versions (nightly, latest, latest-12) Docker images PR and master push optional checks.
Relax merge check on certain integration tests for better visibility.

Investigating the best strategy for GitLab tests at PR creation.


should return same no. of list as of inputs

When inputs are of same, predict should return those many lists. Instead gives 1.
inputs = ["Unknown", "Unknown", "Unknown"]
model = SpanMarkerModel.from_pretrained("model_name")
model.predict(inputs)
Output:
[]
Expected Output:
[[], [], []]

When the input is a list of strings without spaces, like in ["Unknown", "Unknown", "Unknown"], then the model thinks that the text is an already tokenized sentence, like ["My", "name", "is", "Tom", "."], instead of three separate texts.
If you try to provide the model with a list of strings that do have spaces, like ["My name is Tom", "I'm from the Netherlands", "I work at Argilla"] then it should give the expected output with three lists. I hope that clarifies it somewhat.

Yes @tomaarsen  it does. So, when i am trying to do batch processing where i send the entire data frame column(i replace Nan with "Unknown") and the columns starts with 2 "Unknown", then it throws error.
like this ["Unknown", "Unknown", "Unknown", "Sentence 1", "Sentence 2"].

That makes sense, I should look into a better solution for that. Until then, perhaps you can filter out nan rather than replacing it with "Unknown"? E.g. https://stackoverflow.com/questions/22551403/python-pandas-filtering-out-nan-from-a-data-selection-of-a-column-of-strings

Thanks @tomaarsen  Waiting for the fix.

["Unknown", "Unknown", "Unknown", "Sentence 1", "Sentence 2"] should work now! However, if all sentences are individual words, then it will still consider it all one sentence. I don't picture a great way to avoid that. See also #39 for details.

Tom Aarsen

@tomaarsen  Thanks for the fix.


refactor(utils): refine blake2b

Codecov Report

Merging #413 into develop will decrease coverage by 0.3%.
The diff coverage is 82.43%.

@@             Coverage Diff             @@
##           develop     #413      +/-   ##
===========================================
- Coverage    90.45%   90.14%   -0.31%
===========================================
  Files           26       26
  Lines         1111     1137      +26
  Branches       253      265      +12
===========================================
+ Hits          1005     1025      +20
- Misses         105      111       +6
  Partials         1        1

Impacted Files
Coverage Δ

packages/ckb-sdk-utils/src/crypto/blake2b.ts
91.51% <82.43%> (-2.73%)
:arrow_down:


Beyblade Burst Not Exists

@Kylart
from some reason the most popular anime Beyblade Burst not exist why is that?
i check the MyAnimeList Site i see it there also i tried many diffrent name even just Beyblade and nothing

Because no supported subs have subbed it. As I said, fansub dependency is going to disapear in the next release so it will appear in the new UI researchs, with or without subs is not of my choice 😢 .
In the meantime, I made some research and I found only the raw episodes (no subs), you can find  the torrents here.


Make sure the sessionId changes when the app is opened again

Description
This PR: https://github.com/valora-inc/wallet/pull/1741 made it so the sessionId we send of analytics was always the same value.
We now generate a new one based on the device id + date again.
Other changes
N/A
Tested
Manually
How others should test
No need
Related issues

Fixes #

Backwards compatibility
N/A

Hey @MuckT since "no need" is mentioned in how others should test section we are skipping this PR
CC : @gnardini


Docker image giving segmentation fault for simple bitwarden command

This happens from 0.10.X
With 0.9.X is all good.
┗ # docker run --rm -ti --entrypoint sh ghcr.io/lerentis/bitwarden-crd-operator:0.10.2
Unable to find image 'ghcr.io/lerentis/bitwarden-crd-operator:0.10.2' locally
0.10.2: Pulling from lerentis/bitwarden-crd-operator
661ff4d9561e: Already exists
383d1dffd5bc: Already exists
ef0e8474cde5: Already exists
76fa5ba72f96: Already exists
Digest: sha256:4c5a3bc9d70f92160425af8099459ba72206883c4193a2a1d9e487ba0f888b02
Status: Downloaded newer image for ghcr.io/lerentis/bitwarden-crd-operator:0.10.2
/ $ bw
Segmentation fault (core dumped)
/ $

With the current Dockerfile on the main branch, the last BW version that works for me it's ARG BW_VERSION=2023.1.0

Hi @joaogbcravo ,
Latest as well? Which CPU architecture are you running on?

Latest as well :|
x86_64
I tried in a MacOS and in an Ubuntu. Same problem


Explicit Constant Folding

Currently Jinja2 constants folds automatically and it is quite aggressive (filters, calls etc.). If something is side-effect free is determined by just assuming that anything that does not take environment or context can be constant folded.
This is probably not the best idea in the world and with some fixes on the optimizer recently this might bite more people now. Maybe instead it would be better to add a @pure decorator that the optimizer can use.

That might actually not be necessary since we only fold filters anyways. The risk there is lower.


Return PreSigned URL. This is a recommended Best Practice in this case

Return PreSigned URL. This is a recommended Best Practice in this case

:+1:

LGTM


Drop usage of Matplotlib in the codebase

Fixes #3

Removed the code that uses Matplotlib (not a project dependency) to show the results of a test.
Implemented unit test using Pytest. It is the same test, just instead of 500 years I tested it for 2 so the results are easier to visualize and compare.
Updated the README with instructions on how to run the unit test. Will be valid for future tests in case we extend the suite (recommended). I updated also the existing test description in README, which should still work if the user installs Matplotlib apart as was already the case.
I also took the freedom of fixing a couple of very minor typos in the docstrings.

Thank you.

Dear @jose-lpa, thank you! Looks reasonable, i will merge it!


Facet selection in plot impossible due to horizontal fold

When selecting a new plot, facets have to be dropped in it to fully configure the plot. In the current spot version, there are nice new boxes that specify the role the dropped facet would have (which I like by the way!). However, these boxes are all put next to each other and the entirety of these boxes is centered with not possibility to horizontally scroll through them. The problem now arises when these boxes are wider then the box of the plot one wants to make (see image):

There is now no possibility to drop facets in the x-axis box for example.

Can you please give me some information about your system?
This is what I have with Chrome Version 58.0 (64-bit) on Linux.

I am using:
macOS Sierra (version 10.12.5) 64-bit
Safari version 10.1.1 (12603.2.4)
no plugins installed

Can you please test it with Chrome browser?
If it works, I will create an issue for testing the interface for Safari.

That does seem to solve the problem with the horizontal scrolling, but now when I for example want to create a bubbleplot some boxes are vertically "below the fold", with no clear indication there are still boxes out of view. By resizing the bubbleplot box you can overcome this problem, but it is still not exactly as you would typically want I think?

Seems to be working on version 0.1.0. Closing the issue. Please re-open the issue if it is needed.


Make shelf book edit view accessible to keyboard only and/or screen-reader users

Much like what was done for the book-sort interface on the last release.
Probably just need up/down buttons for this one.

Done in #4049


change etcd prefix for etcd-kubernetes-resources-count-exporter

This PR:
Issue: https://github.com/giantswarm/giantswarm/issues/27441

adds/changes/removes etc

Testing
Description on how default-apps-azure can be tested.

[ ] fresh install works

[ ] AWS
[ ] Azure
[ ] KVM

[ ] upgrade from previous version works

[ ] AWS
[ ] Azure
[ ] KVM

Other testing
Description of features to additionally test for default-apps-azure installations.

[ ] check reconciliation of existing resources after upgrading
[ ] X still works after upgrade
[ ] Y is installed correctly

Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.

Trigger e2e tests

/run cluster-test-suites

/run cluster-test-suites

/run cluster-test-suites


Distro backports considered?

How does safety identify the version of a package?
Does it take into account that it might be "old" but have security fixes backported by the distro maintainers. This happens often at Debian for example. The package version might by old (e.g. 2.1) but it does have security fixes provided by upstream in the a newer version only (e.g. 2.6). But the distro maintainers do take such fixes and backport them to their old version.
Does safety notice this?

Hi @buhtz! Thanks for sending this through. This is an interesting edge case that we need to handle better. Are you aware of some good examples in the Python ecosystem where we could study this and learn from? Also, do you have any ideas from your side on how we would tackle this? What repeatable process could we follow to track this, both on the patch side and separately the scanner side? Just curious to hear your thoughts :) Thanks!

Hi @buhtz,
Thank you for bringing this important topic to our attention.
After careful consideration, we've decided to move this issue to the "wontfix" category. We wanted to provide some context for our decision:
Scope and Complexity: Handling distribution backports is a complex and nuanced task that is currently beyond the scope of Safety's capabilities. It requires significant changes to how we identify and track package versions and backported security fixes.
Future Considerations: While we recognize the importance of this feature, it is not part of our immediate development roadmap. We may explore this further in the future as we continue to enhance Safety's functionality.
We appreciate your understanding and thank you for your thoughtful feedback. If you have any further suggestions or insights, we would love to hear from you.
Thank you for your continued support and contributions!
Best regards,
The Safety Team


Better integration with the recipe book

Capture vidéo du 20-11-2022 18:27:44.webm

lgtm, nice work 😊


Added log module

Log module from u2020 app.

lgtm
Thanks for contributing
Will be included in DebugDrawer v0.4

Thanks for great lib ;)


Improve contributors page

Added tap effect.
Added number of contributors to title.
Fixed GitHubAPI error handling.
Change list order in about page.

Thank you ! Awesome :100:


fix: always process all events in the queue on x11.

Commit message:

Previously, there was always a 50ms delay between processing individual events, which could lead to a queue of events building up if the key repeat was higher than 20 Hz. This resulted in the global hotkey release only being detected long after the key is released.

Extra information:
Holding the key for a longer duration led to a larger backlog, and thus a longer delay before the release event was detected. I opted for the while solution instead of reducing the sleep to ensure we always clear out the entire event backlog.
The 50ms delay here does still mean that we incur a worst case delay of 50ms when detecting the keydown and keyup event. I looked for a version of XNextEvent with a timeout and I found this article that describes two approaches to check for events with a timeout, the first requires using poll, the second sets an XSyncAlarm to break out of the blocking XNextEvent call. It add significant complexity, so I don't think the trade off is worth it at this moment.

Thanks for your contibutions


Additional test coverage for CASSANDRA-10238

I've expanded the test for CASSANDRA-10238 as follows:

cover 3 all snitches capable of updating their configuration file
multi-dc setup
test adding new racks

See CASSANDRA-10238 for further details.

Lgtm, @mambocab? There are a few pep8 complaints from travis, though.

LGTM too, after fixing linter warnings. @knifewine might be a better reviewer for this, though.

very minor nit, we should rename wait_for_all_nodes_on_rack to something like: wait_for_nodes_on_racks since it has changed a litt bit.
nit aside, looks fantastic, +1

Thanks for your comments, I've renamed wait_for_all_nodes_on_rack to wait_for_nodes_on_racks and fixed the travis complaints.


Addon: Git Pull

All other containers are able to resolve appropriately.
fatal: unable to access 'https://github.com/finish06/home-assistant-config.git/': Could not resolve host: github.com
[Error] Git pull failed

I was able to correct this DNS issue by placing the following in /etc/docker/daemon.json on a Debian based system:
{
  "dns": ["<IP_ADDRESS>", "<IP_ADDRESS>", "<IP_ADDRESS>"]
}

I was having lots of troubles getting past the preparing splash screen on my hassio install It would load indefinitely. I tried using a RPi 3B + etcher on wired connection, I tried using the VMDK. Lastly, I tried using ubuntu + docker-ce. After reading the docker logs and googling my way here, this was the fix. Though, I had to switch my gateway to point to my router, of course.  I made a PSA on reddit.


Can't use existing SQLite database

@agrosner Hi, I've got my database in assets folder, the name of the file and name of the db in placeholder class are the same. I've got all @Table classes  that refer to the prepackaged db. But after starting the app the database file under assets is not copied to data/data//databases but an empty DB is created there. How can I solve this issue?
Thanks!

A quick workaround would be check if copying from assets is appropriate and if so just copy the file yourself. All of this needs to happen before you setup the flow manager instance.
I am doing a similar song and dance to facilitate a migration from active android to db flow in an app that has already been in the wild for over a year.

@trevjonez Thanks, your answer was helpful=)

@agrosner , I am rewriting an app trying to reuse a .sqlite file, I put it in the app/src/main/assets folder I renamed it to .db but seems that is not copied and instead when I make any query it's empty. Do I need to create a   BaseDatabaseHelper class ? do I need to copy the file manually to
/data/user/0/.../databases/mydatabase  ?


mount to subdir

@cjellick the new solution.

https://github.com/rancher/rancher/issues/8465

I suppose this change is not backwards compatible with existing rancher-ebs volumes. I think we could make it backwards compatible by seeing if the directory has anything other than the lost+found directory in it once we do the staging mount. If it does have content other than just the lost+found dir, we'd then need to unmount the staging dir and return the actual device. The mount command would have to be similarly intelligent. Though I'm not sure if it is worth it since rancher-ebs is experimental.

https://github.com/rancher/rancher/issues/8607

@cjellick it is ready to review now.

LGTM


DECISION: do not Merge app project board with the main project board

Why
See comments for reasons for decision
We're concerned we won't remember to check all the boards for all the issues (I think?)
How

Resources

Proposal History

2020/03/03

Proposal issue made with 'proposal' label and other relevant labels. Was posted to Slack (with end date, voting chart, and link to this issue), and post was pinned to the channel.

A few weeks ago we talked about whether to have three project boards or just one and we said three separate boards. Last week we described putting app items on the main board. I’m unclear on what part of the plan is changing and in what ways. Are we proposing we meld the app and main board? Does the app board still need to exist? Is there a different separation of concerns that I haven’t grasped? Etc.

I was thinking of agenda items specifically since app tends to dominate the agenda anyway, but maybe it would be better to be judicious about keeping agenda items on their respective boards and help make the whole group portion of the meeting short.

We decided to keep the boards separate. App-specific agenda items should be on the app board

Three 5's - @berit , @knod , @niharikasingh

This issue is a good example of a small decision.  I am leaving this note, to help inform people who find this issue as an example of the Fist-to-Five process mentioned in the BOP Processes and Practices.


Remove TensorDB utils

These are not used throughout the framework. TensorDB.get_tensor_from_cache is the recommended method to use.

These methods are used in the FeTS Challenge code for storing custom information at the aggregator.


gh-312: Shared with community

This PR will be marked as "draft" until PluginExplorer/32 finishes.
This PR includes 2 new features:

Share button when reviewing your data specification details. There is a new button, that opens a new dialog letting the user share that with the community (i.e. mark it as readableByAuthenticatedUsers)
Shared with community data specs now are listed in the templates page. There is a new filter at the top, to show templates or shared with community data specs.

When clicking a data specification title in the list in the templates page, the user can review the details of such spec. On the data spec details page, if the user viewing the details is not the author of such request all buttons to edit, submit, share etc will be hidden from him, also the "Back to my data specs" button will be a "back to templates" button.
I've tried to disable the buttons rather than hide them, but I recall a conversation about UI saying that buttons should be removed rather than disabled. I'm open to suggestions in that front. Should we include some sort of message to let the user now that all those actions are hidden because editing other user's requests is not allowed?
Closes #312

I'm seeing a problem with data elements not listed in a shared data specification:

Login as one user
Share one of your data specifications
Go to the Templates page, look for Community specifications and find the one you just shared, then view it
The details should all be listed as expected, because this user owns it.
Now log out and sign in as another user
Go to the Templates page, look for Community specifications and find the one just shared by first user.
View the details of this shared specification.

I'm finding the list of data elements is now empty.
First user's view:

Second user's view:

This button isn't doing anything, it seems like it should copy this shared specification to your own folder/list.

I'm seeing a problem with data elements not listed in a shared data specification:

Login as one user
Share one of your data specifications
Go to the Templates page, look for Community specifications and find the one you just shared, then view it
The details should all be listed as expected, because this user owns it.
Now log out and sign in as another user
Go to the Templates page, look for Community specifications and find the one just shared by first user.
View the details of this shared specification.

I'm finding the list of data elements is now empty.
First user's view:

Second user's view:

I'm not able to replicate this. I can see data elements for shared data specifications that the current user has not created.

This button isn't doing anything, it seems like it should copy this shared specification to your own folder/list.

This was because I was allowing to share data specifications even when they were not submitted. After chatting with Nigel, we want to only be able to share completed data specifications. That solves the issue with the copy button as well.

@pjmonks I could not replicate the problem about not being able of seeing others dataElements, we can have a call about that, I think I have addressed all other comments, thanks for all!


Change custom map style after map load

Hi,
Is there is any option to change the custom style of a map after it's initial load.
I have tried changing the styles attribute of ng-map using angular binding, eg,
<ng-map ... styles="{{vm.markers.zoomType === 'Site' ? vm.mapSiteStyle : vm.mapGlobalStyle}}"

This expression is evaluated when the map is initializing and shows corresponding style, but further updates to this expression won't change the style. Also tried modifying the styles attribute of map object in controller (vm.map.styles).
vm.map.styles = _getMapGlobalStyle();

But not able to change the style that is loaded to the map initially. I understand that there isn't a method in map for setting the the style (eg: setStyles()). I'm raising this as an issue since I saw in the changelog that from 1.15.0, 'All attributes can have {{}} expression evaluated'.
I was wondering if there is a way to achieve this. Ultimately I'm try to disable few map features in certain zoom level and enable them in other (like lables, roads etc..). If this is not possible at present, could you please consider adding this feature. That will be of great help to me.
Kindly refer the below plnkr.
http://plnkr.co/edit/zmUe9LYkcyxSorxsirJf?p=preview
Thank you,
Jos

I need this as well. I have the map in a hidden div and I'm resizing it with google.maps.event.trigger(map, 'resize'); after the div resizes, but it loses its custom style on resize.

I have observed something. If we update vm.map.styles and then change the mapType to say SATTELITE and then turn back to say TERRAIN, the newly assigned style is being picked. At least as a workaround I tried doing this programatically. But no luck.
http://plnkr.co/edit/4pdaKZscp7wGaqpGbloF?p=preview

Also having problems with this - has anyone found a passable workaround, or are there any plans to fix this, if it is indeed a bug? If not a bug, is there any way to trigger a style change after a map is loaded? Thank you! Joe

As you see here, https://developers.google.com/maps/documentation/javascript/reference#MapOptions
MapOptions has styles. That's why initial styles is working.
However,  as you see here, https://developers.google.com/maps/documentation/javascript/reference#Map
Map does not have method setStyles. That's why it does not apply new style.
If you want to make new style work, you need to cod set setOptions with styles in it.
Here is the working plunker, http://plnkr.co/edit/nWAGkJ?p=preview

Thanks a lot! I have been struggling with the same issue for a while
You're amazing :)


Hang on first run.

Environment data

VS Code version: latest
Jupyter Extension version (available under the Extensions sidebar): latest
Python Extension version (available under the Extensions sidebar): latest
OS (Windows | Mac | Linux distro) and version: win10
Python and/or Anaconda version: 3.10
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Actual behaviour

first time, login windows system.
first time, open a project by vscode
run all  a  .ipynb
hang at first cell
click interupt , no reaction.
ctrl+shift+p -> Python: clear cache and reload window
click  run all again, now it is fine.
close vscode, and open this project again,  run all is fine too.

Only first time and same project . Different project first open still get hang.
gif:

Steps to reproduce:
It is lasting a long time.
Don't know how to reproduce, doesn't happen on my macbook.

VS Code version: latest
Jupyter Extension version (available under the Extensions sidebar): latest
Python Extension version (available under the Extensions sidebar): latest

Please could you provide the version informations
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

Don't know how to reproduce, doesn't happen on my macbook.

Since you can repro on windows, please try windows and share the logs,
thanks

Don't know how to reproduce, doesn't happen on my macbook.

Since you can repro on windows, please try windows and share the logs, thanks

There is no logs , you can see the gif,  output doesn't change.

VS Code version: latest
Jupyter Extension version (available under the Extensions sidebar): latest
Python Extension version (available under the Extensions sidebar): latest

Please could you provide the version informations
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

all package updated today, no matter version , it happened several months ago.
And could you describe where to get the logs more deteailed , better contain gif / screen shot, avoid wasting time , as you see I posted a gif shows logs at OUTPUT -> python    didn't change , logs at JUPYTER     is nothing.

Today I find there is a drowdown list on OUTPUT tab , the logging is hang too :
No more output after clicking run all  ,  10:14:28.142 [info] Handle Execution of Cells  generated at clicking time.
09:47:36.809 [info] Process Execution: ~\anaconda3\envs\quant\python -m pip list
09:47:38.960 [info] End refreshing Kernel Picker<PHONE_NUMBER>605)
10:14:28.142 [info] Handle Execution of Cells 1,2,3,4,5,6,7,8,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,39,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,69,70,71,72,73 for e:\Workspace\github_me\pipe_group_analysis\tests\urt.ipynb

Looks like you have not enabled debugging.
Also, please can you try installing VS Code insiders and the latest pre-release version of the Jupyter extension.
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

That logs is after verbose enbaled.

@eromoe
Please see here for a screenshot of how you can enable verbose logging (in you settings)

Definite, hang without logs.

Duplicate of https://github.com/microsoft/vscode/issues/207767

Fixed as part of Addressed as part of https://github.com/microsoft/vscode/issues/209787


Multi-player quiz game where questions appear to the user in round-robin

The user lands on the homepage.
The user enters the number of players and the names of players.
The user selects on which topics the questions should be displayed.
The questions appear on the screen in round-robin for all the users.
The winner is displayed at the end of the quiz.

Added this under milestone


Adding searchScope

Adding search scope to enable search for quantum docs on docs.microsoft.com

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/docfx.json
:white_check_mark:Succeeded

articles/docfx.json
:white_check_mark:Succeeded

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