can not install hyperinator and hyperpwn

Hi, I get the following error when typing hyper i hyperinator and hyper i hyperpwn

noname@ubuntu:~$ hyper i hyperinator
/opt/Hyper/resources/bin/cli.js:19156
getProperties = memoize(() => getParsedFile().program.body[0].expression.right.properties),
^
TypeError: Cannot read property 'properties' of undefined
at memoize (/opt/Hyper/resources/bin/cli.js:19156:85)
at d (/opt/Hyper/resources/bin/cli.js:19141:22)
at memoize (/opt/Hyper/resources/bin/cli.js:19157:34)
at d (/opt/Hyper/resources/bin/cli.js:19141:22)
at Object.install (/opt/Hyper/resources/bin/cli.js:19187:37)
at Args.args.command (/opt/Hyper/resources/bin/cli.js:9934:45)
at Args.runCommand (/opt/Hyper/resources/bin/cli.js:11318:37)
at Args.module.exports [as parse] (/opt/Hyper/resources/bin/cli.js:15089:10)
at main (/opt/Hyper/resources/bin/cli.js:9991:18)
at Object.module.exports.name (/opt/Hyper/resources/bin/cli.js:10038:1)
noname@ubuntu:~$ hyper i hyperpwn
/opt/Hyper/resources/bin/cli.js:19156
getProperties = memoize(() => getParsedFile().program.body[0].expression.right.properties),
^
TypeError: Cannot read property 'properties' of undefined
at memoize (/opt/Hyper/resources/bin/cli.js:19156:85)
at d (/opt/Hyper/resources/bin/cli.js:19141:22)
at memoize (/opt/Hyper/resources/bin/cli.js:19157:34)
at d (/opt/Hyper/resources/bin/cli.js:19141:22)
at Object.install (/opt/Hyper/resources/bin/cli.js:19187:37)
at Args.args.command (/opt/Hyper/resources/bin/cli.js:9934:45)
at Args.runCommand (/opt/Hyper/resources/bin/cli.js:11318:37)
at Args.module.exports [as parse] (/opt/Hyper/resources/bin/cli.js:15089:10)
at main (/opt/Hyper/resources/bin/cli.js:9991:18)
at Object.module.exports.name (/opt/Hyper/resources/bin/cli.js:10038:1)

regards

This is a bug of hyper, more details in zeit/hyper#3500


Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later

Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later.

This is fixed in stripe/stripe-php 4.0 but Cashier is requiring v3.
See https://github.com/stripe/stripe-php/pull/299
They are up to 6.4.1 now.


fix(GUI): make all class label text bold

We make all tags with .label have bold text and remove the need for
<b> tags.
Change-Type: patch
Changelog-Entry: Make all .label tags' text bold and remove need for <b> tags.

@Shou unstaged sass changes

@jhermsmeier done.
The only visual change is that the dangerous label in the settings is bold again.
New

Old

Why was it de-bolded before?

@Shou, using bold font for this is definitely preferable.

@jhermsmeier must've been an accident that got overlooked – I suspect it came with the danger/warning labels below the drives.


PHPUnit: upgrade to 5.4+

With this PR, we are not using anything deprecated on PHPUnit 5.4 and lower
sadly, cannot go to 2.2 line as PHPUnit 5+ requires PHP 5.6+

Milestone is incorrect still.

please read carrefully

Milestone v2.2.5

keradus changed the base branch to FriendsOfPHP:2.3 from FriendsOfPHP:2.2

sadly, cannot go to 2.2 line as PHPUnit 5+ requires PHP 5.6+

sorry, but I'm not sure what value your comment provides ...

sorry, but I'm not sure what value your comment provides ...

I as pointing out the milestone is incorrect, and has now been fixed:

:clap: great job!

replaced by #3182


(PYL-R1720) Unnecessary else/elif used after raise

Description
raise causes control flow to be disrupted, as it will exit the block. It is recommended to check other conditions using another if statement, and get rid of else statements as they are unnecessary.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/harisonmg/church-ims/issue/PYL-R1720/occurrences/

else:
        raise ValueError(MAX_HUMAN_AGE_EXCEEDED_ERROR)

Should be removed or updated with an if statement to check if above a certain age?

else:
        raise ValueError(MAX_HUMAN_AGE_EXCEEDED_ERROR)

Should be removed or updated with an if statement to check if above a certain age?

Yes. It should be updated to if to preserve the error handling

Harisonmg, I tried to do a pull request but ran into some style guideline problems. First, one is for all the elif statements as it prefers them to be if statement if it is after a return.
def get_age_category(age):
    if age < CHILD[0]:
        raise ValueError(NEGATIVE_AGE_ERROR)
    if age < TEENAGER[0]:
        return "child"
    if age < YOUNG_ADULT[0]:
        return "teenager"
    if age < ADULT[0]:
        return "young adult"
    if age < MIDDLE_AGED[0]:
        return "adult"
    if age < SENIOR_CITIZEN[0]:
        return "middle-aged"
    if age <= SENIOR_CITIZEN[1]:
        return "senior citizen"
    if age > SENIOR_CITIZEN[1]:
        raise ValueError(MAX_HUMAN_AGE_EXCEEDED_ERROR)

That seems to get past the first style guide, but the second one requires return statement for all as noted here:
Either all return statements in a function should return an expression, or none of them should.

Let me know if you want me to make any further changes to the above functions to reflect style guidelines.

Harisonmg, I tried to do a pull request but ran into some style guideline problems. First, one is for all the elif statements as it prefers them to be if statement if it is after a return.
def get_age_category(age):
    if age < CHILD[0]:
        raise ValueError(NEGATIVE_AGE_ERROR)
    if age < TEENAGER[0]:
        return "child"
    if age < YOUNG_ADULT[0]:
        return "teenager"
    if age < ADULT[0]:
        return "young adult"
    if age < MIDDLE_AGED[0]:
        return "adult"
    if age < SENIOR_CITIZEN[0]:
        return "middle-aged"
    if age <= SENIOR_CITIZEN[1]:
        return "senior citizen"
    if age > SENIOR_CITIZEN[1]:
        raise ValueError(MAX_HUMAN_AGE_EXCEEDED_ERROR)

That seems to get past the first style guide, but the second one requires return statement for all as noted here:
Either all return statements in a function should return an expression, or none of them should.

Let me know if you want me to make any further changes to the above functions to reflect style guidelines.

Here is a clue:  keep like "terms" together. The error handling statements should be at the top, followed by if/elif statements that have return values. To fully resolve the issue, store the values in a variable like age_category and return the variable after the last else/elif.
Thanks for the effort.


Add interface contract to ticket and refactor ticketsale to work with interface instead of direct contract (neccesary for unexpected updates of sc logic)

TicketFactory has become to large and hit gasLimit
We should refactor its imports to interfaces, to reduce gasLimit and improve speed

First step:

deploy Ticket721 as separate entity during deplopyment
deploy TicketFactory, passing Ticket721 address to constructor
remove createTicket() from factory
remove import of Ticket721 from factory


[Lint] Format and Lint nf4 file and test

Stacked PRs:

->#800
#799

[Lint] Format and Lint nf4 file and test

didnt know there is a config file for linter. nice!


Container Console

Has there been any thoughts of creating a console for containers? I.e docker exec -it [container_name] /bin/sh

I'd love for it to be added, it's one of the last few big features that DockerUI is missing

I can try to work on this...Not sure if it requires websockets or something, but I'll research it.

+1

+1

Note: Instead of writing "+1", you can click the thumbs up on the description at the top.

I'll probably be working on this one in the next few weeks. I've got no idea on how to implement it at the moment though, any advices here?

I'd guess something like https://github.com/sourcelair/xterm.js connecting to the websocket attach endpoint in the remote API.

dockerEasyUI https://github.com/hahaps/dockerEasyUI is using xterm.js for it.

🏆 🏆

I'm currently looking at this feature...
From what I've been investigating so far, the attach feature is easy to implement using xterm and the websocket attach endpoint.
Thing is, the exec create/start endpoint are not using the websocket protocol (feature asked here https://github.com/docker/docker/issues/9372), see:

https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#/exec-create
https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#/exec-start

More JSON streams (exec-start) :)
Wanted to give a try with Oboe but https://github.com/RonB/angular-oboe does not support a way to specify a method other than GET and with simple Oboe library I was unable to inject the CSRF token in the request.
It's pretty easy to implement the attach feature for a container started interactively and with stdin waiting for data (e.g. docker run -d nginx sh) but that's not really useful.
I think that we would need to make changes to the backend (dockerui.go) to support JSON streams. @kevana any thoughts/suggestions?

Think it would be feasible to have our backend convert the JSON stream from Docker to a websocket stream for the client?

Hmmm I'm not sure on how to do that in Go... (I'm a beginner in Golang). But I could have a look.

Another way could be to use a Docker Go client with the already implemented container exec features (https://godoc.org/github.com/docker/engine-api/client#Client.ContainerExecAttach) and try to wire on a specific endpoint in our backend.

Could definitely exclude particular routes from the ReverseProxy and implement them differently. My Go skills are pretty limited too, the Docker Go client looks like it will help

hi all. does this project support console now? i expects this feature too;

@mygoda the feature is still not implemented. I've got a WIP I just need to find some time to finish it.

When there is no console access possible then what is the use of article https://github.com/kevana/ui-for-docker/wiki/UI-for-Docker-with-Nginx-HTTP-Auth and how one can modify the respective conf files to enable this feature?

@naidu This wiki page is not related to console access at all. It is used to help you put a reverse proxy in front of UIFD with some basic authentication.

Portainer is now the official alternative to UIFD: https://github.com/portainer/portainer
It already has container console support.

@deviantony thanks very much


Make Show and Hide visible in Loan Comparison

Deletions

Remove the class to hide show/hide text

Screenshots
Designers @sonnakim @stephanieosan @huetingj Please advise how you want this to look.
Desktop:

Medium-sized:

Mobile:

Reviews:
@sonnakim @stephanieosan @huetingj

I'd recommend adding a space at the end of "Show" and "hide" so there's a little separation between the plus/minus sign.
I'd also recommend that we not display the words "Show" and "hide" on medium and small screens.

I endorse this recommendation.

I agree we should add a space.
I personally think if it's not too much trouble, it would be nice to have Show/Hide appear on mobile and medium:
On mobile, we actually should have room to display the words "Show" and "Hide":

For medium screens, we'd have to move "Scenario A" and "Scenario B" columns as a unit as shown below. Would this be too much work to implement?

(If it's too much work, I'm ok losing the labels for medium & mobile!)

Also, what size is that Show/Hide copy, @amymok ? It looks big.

@stephanieosan font size is 22px

@sonnakim that sounds more complicated, @virginiacc @cfarm what do you think?

@sonnakim @stephanieosan @huetingj What do you think?
Desktop:

Medium-sized:

Mobile:

Whoo hoo! :+1:

(That was fast!)

yes, amazing @cfarm and @virginiacc, that's why :)
@cfarm @virginiacc this is ready for merging.

unless @stephanieosan @huetingj have more questions.

Merge, merge, merge! :boom:

Looks good to me! :+1:

:+1: :dancers: :dancer:


Need new cmdlet for NetworkWatcherNetworkConfigurationDiagnostic API

Is your feature request related to a problem? Please describe.
We need a cmdlet for the new API. NetworkConfigurationDiagnostic API allows customer to get an information on if traffic is allowed or denied for configured filters. Each filter consists of direction, protocol, source, destination and sourcePort and destinationPort.
Here is rest API spec: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/networkWatcher.json (line 1781)
Example of usage: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
Describe the solution you'd like
Our suggestion is to create 2 cmdlet. One is for creating traffic query. Another is for getting network configuration diagnostic.
az network watcher traffic query create --direction --protocol --source --destination --destinationPort
az network watcher network configuration diagnostic --location --targetResourceId --traficeQueries<List>
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

//cc @tjprescott

PR merged. Will be in Ignite release.


Point to custom service account name if provided

[ ] Chart version not bumped (the versions are all bumped and released at the same time)
[ ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

The code is wrong:
Before:
      {{- if .Values.rbac.create }}
      serviceAccountName: "{{ template "elasticsearch.uname" . }}"
      {{- else if not (eq .Values.rbac.serviceAccountName "") }}
      serviceAccountName: {{ .Values.rbac.serviceAccountName | quote }}
      {{- end }}

Your:
      {{- if .Values.rbac.create }}
      {{- if eq .Values.rbac.serviceAccountName "" }}
      serviceAccountName: "{{ template "elasticsearch.uname" . }}"
      {{- else }}
      serviceAccountName: {{ .Values.rbac.serviceAccountName | quote }}
      {{- end }}
      {{- end }}

You dont handle the case if rbac.create is false ?

This should be:
      {{- if not (eq .Values.rbac.serviceAccountName "") }}
      serviceAccountName: {{ .Values.rbac.serviceAccountName | quote }}
       {{- else if .Values.rbac.create }}
      serviceAccountName: "{{ template "elasticsearch.uname" . }}"
      {{- end }}

@ebuildy
before:
      {{- if .Values.rbac.create }}
      serviceAccountName: "{{ template "elasticsearch.uname" . }}"
      {{- else if not (eq .Values.rbac.serviceAccountName "") }}
      serviceAccountName: {{ .Values.rbac.serviceAccountName | quote }}
      {{- end }}

will:
rbac.create: false + rbac.serviceAccountName: "" => ""
rbac.create: false + rbac.serviceAccountName: something => "serviceAccountName: something"
rbac.create: true + rbac.serviceAccountName: "" => "serviceAccountName: <the_chart_defined>"
rbac.create: true + rbac.serviceAccountName: something => "serviceAccountName: <the_chart_defined>"
the behavior i want to change (last line):
rbac.create: true + rbac.serviceAccountName: something => "serviceAccountName: <the_chart_defined>"
i want to change to:
rbac.create: true + rbac.serviceAccountName: something => "serviceAccountName: something"
my:
      {{- if .Values.rbac.create }}
      {{- if eq .Values.rbac.serviceAccountName "" }}
      serviceAccountName: "{{ template "elasticsearch.uname" . }}"
      {{- else }}
      serviceAccountName: {{ .Values.rbac.serviceAccountName | quote }}
      {{- end }}
      {{- end }}

will:
rbac.create: false + rbac.serviceAccountName: "" => ""
rbac.create: false + rbac.serviceAccountName: something => ""
rbac.create: true + rbac.serviceAccountName: "" => "serviceAccountName: <the_chart_defined>"
rbac.create: true + rbac.serviceAccountName: something => "serviceAccountName: something"
your:
      {{- if not (eq .Values.rbac.serviceAccountName "") }}
      serviceAccountName: {{ .Values.rbac.serviceAccountName | quote }}
       {{- else if .Values.rbac.create }}
      serviceAccountName: "{{ template "elasticsearch.uname" . }}"
      {{- end }}

will:
rbac.create: false + rbac.serviceAccountName: "" => ""
rbac.create: false + rbac.serviceAccountName: something => "serviceAccountName: something"
rbac.create: true + rbac.serviceAccountName: "" => "serviceAccountName: <the_chart_defined>"
rbac.create: true + rbac.serviceAccountName: something => "serviceAccountName: something"
so i think your solution is more correct as it changes only what i want to change, and nothing else.
thanks!

CI still needs an approving review.

@ebuildy moving this to https://github.com/elastic/helm-charts/pull/1497 in order to merge to 7.16.0


Click event when two-finger zooming on iPhone

Hello, thanks so much for all of your hard work on this project. I am reporting a bug that I've encountered when using Leaflet maps on an iPhone (perhaps it affects iOS in general, but I don't have access to an iPad, so I can't say there) - essentially, when pinch/two-finger zooming in or out of a map that has a click event listener, a click event will be fired in between the zoomstart and zoomend events. I tested this on two Android devices as well (a Samsung phone and tablet) and was not able to reproduce the bug - they seem to handle pinch/two-finger zooming as expected, no additional click events are fired.
Fortunately, it is very easy for someone using this library to create a workaround for this issue - use the zoomstart and zoomend events to keep track of the zooming state and ignore any click events detected while the map is zooming - but I thought you'd appreciate having this documented.
I'll provide as much info as I can about this, but please don't hesitate to let me know if there's anything else that I can help you with diagnosing or understanding this behavior.

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
Steps to reproduce the behavior:

Add a click listener to a Leaflet map, for example:

map.on('click', () => {
	// do something...
})

View the map on an iPhone, and test zooming in and out using the two-finger pinch method - you should see the result of your click event handler callback being called.

Expected behavior
I expect zooming in and out to not register any events that are not directly related to zooming, especially click events.
Current behavior
When zooming in and out via the two-finger pinch method on an iPhone, a click event is being fired, calling the click event callback. In my specific use case, I add a marker to the map on click, and so zooming in and out adds and moves a marker with each zoom. I was able to replicate this behavior on Safari, Chrome, and Firefox browsers on an iPhone.
This does not appear to affect Android devices.
Environment

Leaflet version: 1.7.1
Browser (with version): iOS Safari 14.0, iOS Firefox 30.0, iOS Chrome 87.4280.77
OS/Platform (with version): iOS 14.4

Additional context

Minimal example reproducing the issue
https://plnkr.co/edit/K0zFAtZDzez9ebaP
(The click behavior is just to log a line to the console, so you'll need to plug an iPhone into a Mac and use Safari's Develop tool to get the phone browser's console)

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Duplicate of #7255

Hm, I don't quite think it's a duplicate of #7255. In the course of the project I'm working on, I encountered that issue as well, but that only seems to affect desktop Safari. The issue I'm reporting is on iOS, and occurs on at least the three browsers I mentioned, Safari, Chrome, and Firefox.

It's easy to check, just create map with option {tap: false}.

I tried it out creating the map like so
var map = new L.Map('leaflet', {
	layers: [
		new L.TileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
			'attribution': 'Map data © OpenStreetMap contributors'
		})
	],
	center: [0, 0],
	zoom: 0,
	tap: false
});

still saw the behavior.

Well, I do not have iOS device to check this, so try to debug it yourself.
You might start from inspecting call stack.
E.g. make listener with console.warn(event), and post log here.

Ok, here's what I tried - tested this on both Chrome and Safari on my iPhone, same results in both cases.
First off, I added both a console.warn(event) as well as a try/catch where I threw an error so I could get the stack trace -
map.on('click', (event) => {
	console.warn(event)

	try {
	   throw new Error()
	} catch(e) {
	  console.log(e.stack);
	}
});

When I did a two-finger zoom, here's what I saw -
[Warning] {originalEvent: MouseEvent, containerPoint: Object, layerPoint: Object, latlng: Object, type: "click", …} (index.js, line 14076)

[Log] http://<IP_ADDRESS>:3000/scripts/index.js:14079:20 (index.js, line 14081)
fire@http://<IP_ADDRESS>:3000/scripts/index.js:589:17
_fireDOMEvent@http://<IP_ADDRESS>:3000/scripts/index.js:4404:21
_handleDOMEvent@http://<IP_ADDRESS>:3000/scripts/index.js:4361:23

Interestingly, when I tried just a one-finger click on the map, I got a "double" event -
[Warning] {originalEvent: MouseEvent, containerPoint: Object, layerPoint: Object, latlng: Object, type: "click", …} (index.js, line 14076)

[Log] http://<IP_ADDRESS>:3000/scripts/index.js:14079:20 (index.js, line 14081)
fire@http://<IP_ADDRESS>:3000/scripts/index.js:589:17
_fireDOMEvent@http://<IP_ADDRESS>:3000/scripts/index.js:4404:21
_handleDOMEvent@http://<IP_ADDRESS>:3000/scripts/index.js:4361:23
dispatchEvent@[native code]
_simulateEvent@http://<IP_ADDRESS>:3000/scripts/index.js:13831:27
_onUp@http://<IP_ADDRESS>:30000/scripts/index.js:13804:26
_handlePointer@http://<IP_ADDRESS>:3000/scripts/index.js:2103:11
onUp@http://<IP_ADDRESS>:3000/scripts/index.js:2122:19

[Warning] {originalEvent: MouseEvent, containerPoint: Object, layerPoint: Object, latlng: Object, type: "click", …} (index.js, line 14076)

[Log] http://<IP_ADDRESS>:3000/scripts/index.js:14079:20 (index.js, line 14081)
fire@http://<IP_ADDRESS>:3000/scripts/index.js:589:17
_fireDOMEvent@http://<IP_ADDRESS>:3000/scripts/index.js:4404:21
_handleDOMEvent@http://<IP_ADDRESS>:3000/scripts/index.js:4361:23

(Note that the second stacktrace in the click case is the same as the stacktrace for the rogue click event in the zoom case)
This does make me think that this issue is in fact related to (or a duplicate of) #7255 - however, here we can see it occurring on three mobile browsers on iPhone, not just on desktop Safari. I'm going to make an assumption that events that produce the four line stacktrace are these extra clicks, and it seems that they are able to affect touch interactions other than clicks.

#7255 can be neutralized by tap:false (do it).
Show all fields of event.originalEvent.
Describe in detail how that clicks occured: on touch start, or during pinch zoom, of after touch end.

Ok, I set tap: false like so:
const map = new L.map('map', {
	tap: false
}).setView([51.505, -0.09], 13);

When zooming in, I do still get the click event, here is the content of event.originalEvent:
MouseEvent {
  altKey: false,
  bubbles: true,
  button: 0,
  buttons: 0,
  cancelBubble: false,
  cancelable: true,
  clientX: 521,
  clientY: 204,
  composed: true,
  ctrlKey: false,
  currentTarget: null,
  defaultPrevented: false,
  detail: 1,
  eventPhase: 0,
  fromElement: null,
  isTrusted: true,
  layerX: 513,
  layerY: 196,
  metaKey: true,
  offsetX: 513,
  offsetY: 196,
  pageX: 521,
  pageY: 204,
  relatedTarget: null,
  returnValue: true,
  screenX: 521,
  screenY: 204,
  shiftKey: false,
  srcElement:
,
  target:
,
  timeStamp: 10173,
  toElement:
,
  type: "click",
  view: Window {listeners: Object, NaN: NaN, Infinity: Infinity, window: Window, undefined: undefined, …},
  webkitForce: 1,
  which: 1,
  x: 521,
  y: 204
}

In order to test the sequence of events, I added a few console logs like so:
map.on('zoomstart', () => {
	console.log('zoomstart');
});

map.on('zoomend', () => {
	console.log('zoomend');
});

map.on('click', () => {
	console.log('click');
});

I observed that, when initially touching the map with two fingers, I'd see zoomstart log to the console. I'd then spread them apart to zoom the map - as soon as my fingers came off the map, I'd see click logged, followed immediately by zoomend. However, this only seems to happen if the entire process of initial contact, spread, and release takes less than approximately 3 seconds - if I made the process take longer, the click event didn't fire. I tested this by extending each of the three phases separately - holding my fingers on longer after initial contact but before moving; starting to move immediately but moving them slowly; starting the process immediately and zooming quickly, but pausing before releasing - so it does seem to be time-sensitive.

https://rbyers.github.io/eventTest.html
Try click here.

without moving finger
with some moving

Dou you see click events in both cases?

I believe so? It's a little hard to tell from the output that's written to the UI, but there seems to be a click event in both cases - here are two screenshots, the first is click only, the second was click and move -

There is Config where you can disable all event types except mouse.
Anyway, I do not see click on second screenshot.
So I have no idea why it may occur on leaflet map container in similar conditions..

Sorry, that makes sense. Anyway yes, I disabled everything except for mouse events (and then a second test with touchstart and touchmove enabled), and in both cases the click behavior was registered but the click and drag behavior was not. I also tested enabling gestures - those seemed to correctly log the two-finger zoom behavior, but no additional click event was added in between.

Have you noted preventDefault title of config section?

Yes - not sure what you mean by that. If there's specific configurations that you'd like me to test, please let me know.

@darrenklein Can you please check out the latest beta https://github.com/Leaflet/Leaflet/releases/tag/v1.8.0-beta.3 and see if it is resolved?

@Falke-Design I'd love to be able to test this in my project, but I'm having a bit of a difficult time getting the dependency installed in my existing project - my apologies, I'm actually not much of a front-end dev, and the intricacies of yarn and the nested dependencies of NPM modules are all a little mysterious to me. My project has several dependencies that themselves all depend on Leaflet, so trying to install a particular tag of Leaflet is proving difficult, giving me a lot of this:
 ERROR  Failed to compile with 26 errors                                                                                11:07:07 PM

This dependency was not found:

* leaflet in ./node_modules/vue2-leaflet/dist/components/LTileLayer.js, ./node_modules/vue2-leaflet/dist/components/LControlScale.js and 24 others

To install it, you can run: npm install --save leaflet

Maybe there's an easier way that I could test that out, since it seems like the dependency tree in my existing project is a little cluttered? Is there any way I could install that particular tag in a sandbox like Plunkr or something, or a really bare-bones Node project you could direct me to that I could use to quickly install it?
Thanks and my apologies - I'd love to help confirm the state of this issue, but I don't work much in the Node/NPM/Yarn world, so I'm a little out of my depth.

No problem, let us try it with plunkr.
First your sample, does it still fire the click event?: https://plnkr.co/edit/K0zFAtZDzez9ebaP?preview
Then the 1.8.0-beta.3 Version:https://plnkr.co/edit/v3bfqlGQ20OQUXyH

@Falke-Design thank you! Yes, I can confirm that this issue has been resolved in the 1.8.0-beta.3 release. I tested Safari, Chrome, and Firefox on iOS, but could not reproduce the issue (it did still occur on 1.7). Many thanks to you and the Leaflet team!

Nice thank you for testing!


[EXPRESSIONS] .log

log(base=None]
Computes the log of the expression with optional base, default to e.

Done via #2168


remove inside dependencies from farmable behavior

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.234%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
120

Relevant Lines:
134

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.234%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
120

Relevant Lines:
134

💛  - Coveralls


added all quests in spanish

I translate all quests to spanish using golang and google api.

I also created a tool that might be useful for this purpose:

If you find it helpful, feel free to reach out to me on Discord: erik444_

Hello,
This looks really nice! But i would prefer to keep this as a seperate module as long as there is no spanish Turtle-WoW client. Please keep me updated in regards to multi language clients so we might can get this merged in future :)


Using driver/sql hangs database and other oddities

I can reproduce mattn/go-sqlite3#204 with minimal changes.

main1.go
// https://github.com/mattn/go-sqlite3/issues/705

package main

import (
	"database/sql"

	_ "github.com/genjidb/genji/sql/driver"
)

func main() {
	db, err := sql.Open("genji", ":memory:")
	if err != nil {
		panic(err)
	}
	_, err = db.Exec("CREATE TABLE m")
	if err != nil {
		panic(err)
	}
	_, err = db.Query("SELECT * FROM m") // note that I didn’t close the rows
	if err != nil {
		panic(err)
	}
	_, err = db.Query("SELECT * FROM m")
	if err != nil {
		panic(err) // table not found
	}
	panic("unreachable")
}

main2.go
package main

import (
	"context"
	"database/sql"

	_ "github.com/genjidb/genji/sql/driver"
)

func main() {
	ctx := context.Background()

	db, err := sql.Open("genji", "test.db")
	if err != nil {
		panic(err)
	}
	db.Conn(ctx)
	db.Conn(ctx)
	panic("unreachable")
}

I assume SQLite releases db locks when they are not needed. But this issue gets worse with Genji since BoltDB blocks on db lock (unless a timeout was specified, which is not currently possible with sql/driver), and BadgerDB I believe just returns an error. That is, things go terribly wrong when sql.DB attempts to open a new sql.Conn.
As a temporary workaround it’s possible to call SetMaxOpenConns(1) on *sql.DB from the user’s code. This should work just fine for in-memory and bolt engines, but afaik badger supports concurrent transactions whereas single driver.Conn can’t be used concurrently.
I’ve experimented a bit with possible APIs to fix those issues, and I think the best option would be to fix this use case on the Go side by allowing driver.Connector to implement optional io.Closer interface and close it in sql.DB.Close. Then driver.Connector would be able to hold genji.DB object and release the resources when sql.DB is no longer needed.
Alternatively, it’s possible to do reference counting on genji.DB in driver.Connector and driver.Conn, and have a special case for in-memory engines. That has a benefit of releasing the database handle when idle (e.g. so that other processes may perform some maintenance tasks).

Also, it looks like driver.Conn is reusing itself as driver.Tx for transactions (lines 117–123). This won’t work as expected if we begin multiple transactions on a single connection.
https://github.com/genjidb/genji/blob/112fd24e38b07590fd077be043837e0425731a8a/sql/driver/driver.go#L108-L124

Thank you for the detailed issue @tie!
The sql/driver package was written quite some time ago and my focus was on the core until now. There is currently no concept of connection in Genji, so that what makes this sql/driver implementation a bit odd.
I don't think there should be a special case for the in-memory engine, but rather make sure that every instance of sql.DB represent an access to the same genji.DB instance, regardless of the engine used.
Concerning your proposals, I think they both make sense, I will look into them and try to propose a fix for the next release.


webgl instancing issue on ie11, possibly dart2js issue

This issue was originally filed by<EMAIL_ADDRESS>
Think there might be a dart2js issue w/ IE11.  I'll follow up with the dart team.  This javascript demo works on IE11:
http://media.tojicode.com/webgl-samples/instancing.html
but our example throws an exception on the instancing call in IE11:
http://rhulha.github.io/ChronosGL/examples/instancer.html
What steps will reproduce the problem?

visit on chrome, http://rhulha.github.io/ChronosGL/examples/instancer.html, it works
visit on IE11, http://rhulha.github.io/ChronosGL/examples/instancer.html, it doesn't work
where as this pure javascript example works on both chrome and IE11, http://media.tojicode.com/webgl-samples/instancing.html

What is the expected output? What do you see instead?
http://rhulha.github.io/ChronosGL/examples/instancer.html, the result of dart2js, should work on both IE11 and latest Chrome
What version of the product are you using? 1.8.3
On what operating system? win 8.1
What browser (if applicable)? chrome 39 and IE11
Please provide any additional information below.

We've tested a number of WebGL samples and apps that now work in both DDC and dart2js.


Remove duplicate item from quick pick

Codecov Report

Merging #12167 (a429c3e) into main (bae61b9) will increase coverage by 0%.
The diff coverage is 40%.

:exclamation: Current head a429c3e differs from pull request most recent head ad07a61. Consider uploading reports for the commit ad07a61 to get more accurate results

@@          Coverage Diff           @@
##            main   #12167   +/-   ##
======================================
  Coverage     70%      70%
======================================
  Files        500      500
  Lines      31593    31622   +29
  Branches    4933     4938    +5
======================================
+ Hits       22229    22291   +62
+ Misses      7484     7441   -43
- Partials    1880     1890   +10

Impacted Files
Coverage Δ

...ollers/commands/installPythonControllerCommands.ts
59% <ø> (+9%)
:arrow_up:

...llers/kernelSource/notebookKernelSourceSelector.ts
12% <0%> (-1%)
:arrow_down:

...tebooks/controllers/kernelSource/kernelSelector.ts
67% <46%> (-6%)
:arrow_down:

src/platform/common/utils/localize.ts
76% <100%> (+<1%)
:arrow_up:

.../notebooks/debugger/debugLocationTrackerFactory.ts
96% <0%> (-4%)
:arrow_down:

...tive-window/debugger/jupyter/kernelDebugAdapter.ts
60% <0%> (-2%)
:arrow_down:

.../notebooks/controllers/vscodeNotebookController.ts
84% <0%> (-2%)
:arrow_down:

src/kernels/execution/helpers.ts
65% <0%> (+<1%)
:arrow_up:

...kernels/jupyter/launcher/jupyterConnection.node.ts
83% <0%> (+<1%)
:arrow_up:

src/platform/api/pythonApi.ts
71% <0%> (+<1%)
:arrow_up:

... and 3 more


Rename of CipherVersion to CipherTextVersion and rename of CIPHER_VER…

Rename of CipherVersion to CipherTextVersion and rename of CIPHER_VERSION to CIPHERTEXT_VERSION

Closed in favor of https://github.com/Devolutions/devolutions-crypto/pull/183 because of the branch name


[ChatClient] Allow simple String prompts for convenient onboarding

Expected Behavior
The ChatClient provides a convenient and fluent API. For onboarding/getting-started/education scenarios, it would be nice to make it even more streamlined and allow simple prompts as String without the need to know about the concepts of message roles and user messages yet.
Something like this:
var response = chatClient.prompt("What did Gandalf say to the Balrog?")
                         .call()
                         .content();

That would be in line with the experience of using the Prompt class directly, since it provides a constructor that accepts a String:
var prompt = new Prompt("What did Gandalf say to the Balrog?");

Current Behavior
var response = chatClient.prompt()
                         .user("What did Gandalf say to the Balrog?")
                         .call()
                         .content();

I like this.

Nice, thanks for the feedback! I have submitted a PR with the implementation for the suggested improvement> https://github.com/spring-projects/spring-ai/pull/1287


RPI3 Disconnects

I tested a simple simple to connect to a BLE device, but i almost all the times receive a disconnect before connecting... Cant figure out why.
The same script on MacOS works as expected.
var noble   = require('noble');

noble.on('stateChange', function(state) {
  if (state === 'poweredOn') {
    noble.startScanning(['180d']);
  } else {
    noble.stopScanning();
  }
});

noble.on('discover', function(peripheral) {
  console.log(peripheral.advertisement.localName);

  peripheral.on('disconnect', function() {
    console.log("disconnected", peripheral.advertisement.localName)
  });

  peripheral.connect(function(error) {
    peripheral.discoverSomeServicesAndCharacteristics(['180d'], ['2a37'], function(error, services, characteristics){
      var service = services[0];
      var characteristic = characteristics[0];

      console.log(characteristic);
    });
  });

});

node index2.js
Polar H7 B861C114
discovered Polar H7 B861C114
disconnected Polar H7 B861C114

Here the output of hcidump:
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffff
2016-09-18 17:40:55.894473 > HCI Event: Command Complete (0x0e) plen 4
    Set Event Mask (0x03|0x0001) ncmd 1
    status 0x00
2016-09-18 17:40:55.895041 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Event Mask (0x08|0x0001) ncmd 1
    status 0x00
2016-09-18 17:40:55.895551 > HCI Event: Command Complete (0x0e) plen 12
    Read Local Version Information (0x04|0x0001) ncmd 1
    status 0x00
    HCI Version: 4.1 (0x7) HCI Revision: 0xb6
    LMP Version: 4.1 (0x7) LMP Subversion: 0x2209
    Manufacturer: Broadcom Corporation (15)
2016-09-18 17:40:55.895955 > HCI Event: Command Complete (0x0e) plen 4
    Write LE Host Supported (0x03|0x006d) ncmd 1
    00
2016-09-18 17:40:55.896361 > HCI Event: Command Complete (0x0e) plen 6
    Read LE Host Supported (0x03|0x006c) ncmd 1
    00 01 00
2016-09-18 17:40:55.896915 > HCI Event: Command Complete (0x0e) plen 10
    Read BD ADDR (0x04|0x0009) ncmd 1
    status 0x00 bdaddr B8:27:EB:07:A3:EF
2016-09-18 17:40:55.906495 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x0c
    Error: Command Disallowed
2016-09-18 17:40:55.906922 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Parameters (0x08|0x000b) ncmd 1
    status 0x00
2016-09-18 17:40:55.912280 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2016-09-18 17:40:57.319102 > HCI Event: Command Status (0x0f) plen 4
    LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
2016-09-18 17:40:57.771967 > HCI Event: Command Status (0x0f) plen 4
    LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2016-09-18 17:40:57.773726 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2016-09-18 17:40:57.876261 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 64 reason 0x3e
    Reason: Connection Failed to be Established
2016-09-18 17:41:00.207559 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x0c
    Error: Command Disallowed

What's the value of the error arg in the connect callback?
From the HCI dump the connection is failing:
2016-09-18 17:40:57.319102 > HCI Event: Command Status (0x0f) plen 4
    LE Create Connection (0x08|0x000d) status 0x00 cmd 1

....

2016-09-18 17:40:57.876261 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 64 reason 0x3e
    Reason: Connection Failed to be Established

Also, can you run with sudo hcidump -t -x next time? Which version of noble are you using?

I'm experiencing this same issue on a Raspberry Pi 3. When connecting to a peripheral about 50% of the time the device connects and then immediately disconnect. The other 50% the connection success with no problems. I'm running the exact same code on my Mac (OS X 10.11.4) and the connections succeed 100%
When the connection fails:

$ sudo hcidump -t -x
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffff
2016-09-30 16:59:16.458302 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x01 (scanning enabled)
    filter duplicates 0x01 (enabled)
2016-09-30 16:59:16.458837 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2016-09-30 16:59:18.388824 > HCI Event: LE Meta Event (0x3e) plen 42
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr CB:AC:05:9E:71:9E (Public)
      Flags: 0x06
      Complete local name: 'Sense01'
      Unknown type 0x06 with 16 bytes data
      RSSI: -46
2016-09-30 16:59:18.418575 > HCI Event: LE Meta Event (0x3e) plen 21
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr CB:AC:05:9E:71:9E (Public)
      Unknown type 0x1b with 7 bytes data
      RSSI: -62
2016-09-30 16:59:20.785048 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
    bdaddr CB:AC:05:9E:71:9E type 0
    interval 96 window 48 initiator_filter 0
    own_bdaddr_type 0 min_interval 6 max_interval 12
    latency 0 supervision_to 200 min_ce 4 max_ce 6
2016-09-30 16:59:20.787814 > HCI Event: Command Status (0x0f) plen 4
    LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
2016-09-30 16:59:20.800756 > HCI Event: LE Meta Event (0x3e) plen 19
    LE Connection Complete
      status 0x00 handle 64, role master
      bdaddr CB:AC:05:9E:71:9E (Public)
2016-09-30 16:59:20.800982 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
  40 00
2016-09-30 16:59:20.802029 > HCI Event: Command Status (0x0f) plen 4
    LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2016-09-30 16:59:20.802081 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x00 (scanning disabled)
    filter duplicates 0x00 (disabled)
2016-09-30 16:59:20.803718 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2016-09-30 16:59:20.904464 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Read Remote Used Features Complete
      status 0x3e handle 64
      Error: Connection Failed to be Established
2016-09-30 16:59:20.904998 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 64 reason 0x3e
    Reason: Connection Failed to be Established
2016-09-30 16:59:20.970692 < ACL data: handle 64 flags 0x00 dlen 7
    ATT: MTU req (0x02)
      client rx mtu 256
2016-09-30 16:59:21.168153 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 64 packets 1
2016-09-30 16:59:36.440391 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x00 (scanning disabled)
    filter duplicates 0x01 (enabled)
2016-09-30 16:59:36.441116 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x0c
    Error: Command Disallowed

When the connection succeeds:
$ sudo hcidump -t -x
HCI sniffer - Bluetooth packet analyzer ver 5.23
device: hci0 snap_len: 1500 filter: 0xffffffff
2016-09-30 17:02:59.439319 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x01 (scanning enabled)
    filter duplicates 0x01 (enabled)
2016-09-30 17:02:59.440395 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2016-09-30 17:03:01.022537 > HCI Event: LE Meta Event (0x3e) plen 42
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr CB:AC:05:9E:71:9E (Public)
      Flags: 0x06
      Complete local name: 'Sense01'
      Unknown type 0x06 with 16 bytes data
      RSSI: -48
2016-09-30 17:03:01.052313 > HCI Event: LE Meta Event (0x3e) plen 21
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr CB:AC:05:9E:71:9E (Public)
      Unknown type 0x1b with 7 bytes data
      RSSI: -66
2016-09-30 17:03:02.536673 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
    bdaddr CB:AC:05:9E:71:9E type 0
    interval 96 window 48 initiator_filter 0
    own_bdaddr_type 0 min_interval 6 max_interval 12
    latency 0 supervision_to 200 min_ce 4 max_ce 6
2016-09-30 17:03:02.539609 > HCI Event: Command Status (0x0f) plen 4
    LE Create Connection (0x08|0x000d) status 0x00 ncmd 1
2016-09-30 17:03:02.585033 > HCI Event: LE Meta Event (0x3e) plen 19
    LE Connection Complete
      status 0x00 handle 64, role master
      bdaddr CB:AC:05:9E:71:9E (Public)
2016-09-30 17:03:02.585227 < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2
  40 00
2016-09-30 17:03:02.586591 > HCI Event: Command Status (0x0f) plen 4
    LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1
2016-09-30 17:03:02.586642 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x00 (scanning disabled)
    filter duplicates 0x00 (disabled)
2016-09-30 17:03:02.587406 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2016-09-30 17:03:02.632572 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Read Remote Used Features Complete
      status 0x00 handle 64
      Features: 0x11 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2016-09-30 17:03:02.639655 < ACL data: handle 64 flags 0x00 dlen 7
    ATT: MTU req (0x02)
      client rx mtu 256
2016-09-30 17:03:02.662428 > ACL data: handle 64 flags 0x02 dlen 7
    ATT: MTU resp (0x03)
      server rx mtu 256
2016-09-30 17:03:02.792640 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 64 packets 1

Sorry for not answering with the full log.. i digged a lot into this issue and my findings points towards node-bluetooth-hci-socket issues... When using gattool everything works as expected 100% of the time.
I played around the Hci.prototype.setSocketFilter that is executed, and this made things work a little bit in terms of connection, whenever i removed some of the masks used.
Another finding that i made, about behaviour, is that on MacOS if i lose connection of the bluetooth peripheral (because of range) and then the peripheral get in range again, i can listen to this and reconnect again. On the other hand, in raspberry, if i lose connection i will never receive callback for that peripheral again. The only option is to stop and start scanning again.
Its seems that this project, although all the credits and kudos for the work done, have really underterministic behaviours depending on the system it executes.
I moved away to python bindings for now..

@ddxtreme which bindings did you use?  Are they working?  And are you still using the Noble library and using custom bindings?

@cscholze i stop using noble, i went using bluepy for python. As i didnt depend on nodejs and after several hours trying to understand the problem i switched as soon as my findings points towards node-bluetooth-hci-socket malfunction with RP3. As there is any other library for node for bluetooth, i switched.
Now i already overcome that issue with bluepy

@ddxtreme @TheCbac @cscholze
Can you please try out https://github.com/sandeepmistry/node-bluetooth-hci-socket/pull/39 and provide your feedback?
cd <some patch/noble
cd node_modules
rm -rf bluetooth-hci-socket
npm install sandeepmistry/node-bluetooth-hci-socket#rework-kernel-workarounds

Then try your noble app ...

I've run into probably the same issue.
Here is what iot-sensor-tag/publish/sensor-tag.js  outputs with the patches branch:
   iot-sensor-tag/publish $ sudo node sensor-tag.js
   Device MAC Address: b827ebXXXXXX
   The device MAC address does not match the ID in the configuration file.
   Make sure the Sensor Tag is on!
   MQTT client connected to IBM IoT Cloud.
   Discovered device with UUID: bc6a29ab67ef  (cc2540)
   Connected To Sensor Tag
   noble warning: unknown peripheral bc6a29ab67ef
   noble: unknown peripheral null connected!
   noble: unknown peripheral null connected!
   noble: unknown peripheral null connected!
   [... repeated ...]

Sorry, I have very little Linux / Node / Raspberry knowledge - just wanted to push a bunch of humidity data in the cloud for analysis...

@sandeepmistry Thanks, I'll try this out later this week.
In the mean time, I noticed that all of the issues went away when switching to ethernet, instead of wifi and turning off wifi with:
$ sudo ifdown wlan0

Hi,
I am experiencing the same problems referenced in this issue (and #453, #474, #480) aswell.
At a random time the connection will immediately be disconnected after connecting.
This causes the next hci call to produce the following hci error requiring a hciconfig hci0 reset to get noble working again:
Bluetooth: hci0 link tx timeout
Bluetooth: hci0 killing stalled connection b1:d6:4b:0d:ac:e6

After a lot of debugging i've not come much closer to finding a fix. I tried to only call noble function sequentially and add a delay of 100ms between all calls that go to noble. This did not fix the issue but did cause less hci0 tx timeout errors which made it possible for my code to start a new connection that did not immediately disconnect (until hci0 does crash).
I've got a hcidump but it is an .cap file so you will need to open it in wireshark. The problem occurs at 183 sec of the dump. The calls that were done at that time were:
time        execution time   call
0248.3270 : 7                connect
0248.3380 : 110              discoverServices
0248.4600 : 125              discoverCharacteristics
0248.5910 : 1004             write
0253.6000 : 33               disconnect
0257.3440 : 65               connect
0257.4140 : timeout          discoverServices

I tested my code on linux kernel 4.1 and 4.7 and this did not resolve the issue.
I am using a BCM4330 based sdio module and used the wifi and bluetooth firmware that shipped with the hummingboard. I suspect this problem is firmware related since the raspberry pi 3 uses a similar module (BCM43430).
Maybe @arend has time to look whether this is firmware related?
Regards,
Bas

@TheCbac you said that using a wired connection got rid of the disconnect issue.  Is that still the case?  I tried it and it worked for a little bit, but then started disconnected again.

@BasKiers @cscholze what peripheral devices are you using? Maybe the noble connection parameter are used need to be adjusted?
@BasKiers have you tried to see if gatttool exhibits similar behaviour?

@cscholze Since I switched to a wired connection I haven't experienced the issue at all. This is on multiple Pi's and over 10's of hours. The wired connection uses a static IP and wlan0 down.

yes i am experiencing the same problem. I am using the Intel Edison.
about 50% of the time, when i connect, it immediately disconnects. And after i try about 2-5 times, it eventually connects. However this is causing some lag because of the retries.

I had an 100% reproducible immediate disconnect with an Ti Sensortag - until updating bluez from the Jessie-supplied 5.23 to 5.42. Then I had 6h continuous uptime until an disconnect for a different reason...

For what it is worth I've got the debug log of when this issue occures:
Mon, 24 Oct 2016 14:58:12 GMT hci set scan enabled - writing: 010c20020001
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData: 040e04010c200c
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci       sub event type = 14
Mon, 24 Oct 2016 14:58:12 GMT hci               cmd = 8204
Mon, 24 Oct 2016 14:58:12 GMT hci               status = 12
Mon, 24 Oct 2016 14:58:12 GMT hci               result =
Mon, 24 Oct 2016 14:58:12 GMT hci create le conn - writing: 010d201960003000000068af644c99b40006000c000000c80004000600
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData: 040f0400010d20
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci       sub event type = 15
Mon, 24 Oct 2016 14:58:12 GMT hci               status = 0
Mon, 24 Oct 2016 14:58:12 GMT hci               cmd = 8205
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData: 043e1301004000000068af644c99b40c000000c80005
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci       sub event type = 62
Mon, 24 Oct 2016 14:58:12 GMT hci               LE meta event type = 1
Mon, 24 Oct 2016 14:58:12 GMT hci               LE meta event status = 0
Mon, 24 Oct 2016 14:58:12 GMT hci               LE meta event data =<PHONE_NUMBER>af644c99b40c000000c80005
Mon, 24 Oct 2016 14:58:12 GMT hci                       handle = 64
Mon, 24 Oct 2016 14:58:12 GMT hci                       role = 0
Mon, 24 Oct 2016 14:58:12 GMT hci                       address type = public
Mon, 24 Oct 2016 14:58:12 GMT hci                       address = b4:99:4c:64:af:68
Mon, 24 Oct 2016 14:58:12 GMT hci                       interval = 15
Mon, 24 Oct 2016 14:58:12 GMT hci                       latency = 0
Mon, 24 Oct 2016 14:58:12 GMT hci                       supervision timeout = 2000
Mon, 24 Oct 2016 14:58:12 GMT hci                       master clock accuracy = 5
@@@@@@ LE CONN COMPLETE b4994c64af68
Mon, 24 Oct 2016 14:58:12 GMT att b4:99:4c:64:af:68: write: 020001
Mon, 24 Oct 2016 14:58:12 GMT hci write acl data pkt - writing:<PHONE_NUMBER>03000400020001
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData:<PHONE_NUMBER>00
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 1
Mon, 24 Oct 2016 14:58:12 GMT hci               cmd = 8214
Mon, 24 Oct 2016 14:58:12 GMT hci               data len = 2
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData: 040f0400011620
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci       sub event type = 15
Mon, 24 Oct 2016 14:58:12 GMT hci               status = 0
Mon, 24 Oct 2016 14:58:12 GMT hci               cmd = 8214
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData: 043e0c043e40000100000000000000
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci       sub event type = 62
Mon, 24 Oct 2016 14:58:12 GMT hci               LE meta event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci               LE meta event status = 62
Mon, 24 Oct 2016 14:58:12 GMT hci               LE meta event data =<PHONE_NUMBER>0000000000
Mon, 24 Oct 2016 14:58:12 GMT hci onSocketData:<PHONE_NUMBER>003e
Mon, 24 Oct 2016 14:58:12 GMT hci       event type = 4
Mon, 24 Oct 2016 14:58:12 GMT hci       sub event type = 5
Mon, 24 Oct 2016 14:58:12 GMT hci               handle = 64
Mon, 24 Oct 2016 14:58:12 GMT hci               reason = 62
@@@@@@ LE DISCONN COMPLETE b4994c64af68
@@@@@CONNECTION CORRUPT DETECTED after  33ms

@sandeepmistry We are using RPI3 for central and iOS devices for the peripherals

Hi,
small update.
I've added the following measures and my ble connection is now much more stable, only occasional unexpected behaviour (corrupt connections) for which I have a hacky workaround aswell.
Things I did to try to improve stability:
Added a function queue to ensure only 1 call is done to noble at the same time.
This is done for all noble calls and I've added a hardcoded delay of 100ms between all calls (Will need to investigate if this delay can be removed and/or some noble calls can be done asynchronously).
Stop scanning before calling connect and disconnect
Added timeout logic to all noble calls, also moved the registering of the callback listener to my code because then I can remove the listener when a timeout occurs (before this would result in listener memory leak detected warnings)
Removing device from noble cache when connect returns an error or times out
Added logic to retry a call after it timed out (this does rarely fix the problem after the other fixes so I will probably remove this)
Use the kernel workarounds branch of node-bluetooth-hci-socket (https://github.com/sandeepmistry/node-bluetooth-hci-socket/tree/rework-kernel-workarounds). Although I do not have much test data to support it I do think this increased the stability for me. Maybe I can provide you with more definite data for this soon.
My problems were:
After a device get's lost and I clear it from noble (probably shouldn't do this but I want to be able to clear devices from noble when they are not available anymore) I am unable to find it again.
This was caused by the check if the advertisement message had type === 0x04.
Fixed this issue by setting process.env.NOBLE_REPORT_ALL_HCI_EVENTS and calling this.noble._bindings._hci.reset() before starting discovery (need to test if the latter is really necessary)
After connecting to a device sometimes a disconnect would immediately be called.
Fixed this by setting a timeout of 500 ms and if a disconnect event is received within this window I know the correction is corrupt. When this happens hci0 needs to be reset before I can get connections again so I disconnect from all devices, then call hciconfig hci0 reset from my code and then retry the connection.
I am currently testing the stability and fixing some bugs in my own code. My test setup consists of 2 Mipow Milight devices (one bulb and one candle) which I turn on and off in different intervals disconnecting and reconnecting between each write that has an interval higher than 3000 ms. After 10 minutes the program will disconnect and pause for 5 minutes and after that continue the loop. The longest stable test I've done till now (due to a bug in my code) was 8.5 hours and I am pretty confident that the noble part is stable. I do not use subscribe/unsubscribe since I think this will break when I do a hci reset so this is something I will need to test.

Hi
Great update.
I created #487 as I am receiving disconnect supervisory timeouts.
Could you explain to me how you were able to increase the timeout value.
I having been trying to debug this over weekend without any joy as I am not getting or I don't think I am getting errors but the devices seem to be gracefully disconnecting due to the supervisory timeout value. This is strange as I getting this on two different devices at random intervals.
Would like to try and increase the supervisory timeout and test to see if this gives me more stable results.

hmm so is there any resolution for this?

@benjaminhon could you please try #514?

Hello Sandeep,
Thank you for a great set of libraries!
We have a related issue using noble-device that this patch has  fixed. Are you planning to merge it to the master?
Running the following cycle, we never got connected to a peripheral two ice.….
discoverAll
stopDiscoverAll
connectAndSetUp
readStringCharacteristic
stopDiscoverAll
...
Thanks & Best

Not sure if this already known here, but RPi3 BL & Wifi are on the same chip. Using BL when connected to Wifi will interfere with Wifi, causing disconnects and eventually hangups. To solve this disable Wifi and go with a wired solution, or get an external BL adapter.
Just sharing this, just in case...

Hi, I'm also dealing with many of the issues @BasKiers illustrated. I'm using a wifi dongle so that the RPi 3's wifi/bluetooth chip doesn't experience interference between the two services as per @cryptocake's most recent comment.
I have a crude workaround for this using @BasKiers solution to set a timeout that checks for an immediate disconnect. If this has happened, I manually force the peripheral to disconnect again. Can anyone explain what exactly is happening under the hood? The problem seems to occur more often when I advertise 10+ BLE signals from device B while device A holds a connection with the RPi3.
I have also noticed this immediate 'disconnect' is not a disconnect at all (this is why I force a peripheral.disconnect() upon checking if a 'disconnect' has occurred immediately after a connect). Both the pi and device tell me (using hcitool) that the connection is still on-going. Noble believes it has disconnected, tries to connect again, then fails with a 0x0c command disallowed status upon trying to retrieve characteristics.

I wish I read this thread weeks ago... not only random disconnects (both on Rpi3 and Rpi4) but there is data loss on notifications (on Rpi3, did not experience it on Rpi4) as well when I try to receive bulk data from a device.

@javiermelendezc just switch to the abandonware edition.

I am having the same issue on Ubuntu 18.04


Refactor backend to use core Sidewalk tables

To make copying data over easier, core Sidewalk tables will just be copied directly into the SidewalkGallery database. This means that a lot of the backend functions that involve reading data from core Sidewalk need to be refactored appropriately to match naming schemes. Most queries need to also be updated in order to work, since information is now going to be spread across more tables.

Not going to fix this issue because I made some scripts to port over data from the Sidewalk database. Doing this takes <5 seconds to do because our dataset is relatively small right now. Can reconsider this if our dataset grows unreasonably large, since it's not worth the dev work atm.


pass argument between children Items

Hi,very appreciate your repository. It helped me a lot . But I have some confusion about passing arguments between Items. Here is a situation: When I click the "About" Item, then enter the About component，which is ListView in it .When I click the some item from ListView, then I  go to other "Main"  item, How could I get the argument from 'About' item ?

Hi @NancyZY!
Thanks for posting this issue, unfortunately it's hard to me to understand what you're trying to achieve. Could you be so kind to reword the question?


Port Mechanical Integration Build Doc to markdown

The doc to be ported
Refer to the project for context

Working on it.

Working on it.

completed

https://github.com/nasa-jpl/open-source-rover/pull/248


Make snippets single quotes.

I'm re-opening this. I have some time to try a (hackish) solution to this problem.

Well this should be up!
@hpowers @jccrosby you can take a look if you want!
Hope it helps


Feature request: Add Mean Average Precision (mAP) metric

The main metric for object detection tasks is the Mean Average Precision, implemented in PyTorch, and computed on GPU.
It would be nice to add it to the collection of the metrics.
The example implementation using numpy:
https://github.com/ternaus/iglovikov_helper_functions/blob/master/iglovikov_helper_functions/metrics/map.py

Hello! First time contributor here. I'd like to take a shot at this!

would be great to have that metric!

Not yet sure yet, but it looks like AveragePrecision (https://pytorch-lightning.readthedocs.io/en/stable/metrics.html) seems to be acting like mAP. but they didn't add "Mean" to the name?

I recently managed to implement a minimal version of  Kaggle's Mean Average Precision metric. The difference is in the calculation itself. You can find the details here:
https://www.kaggle.com/c/global-wheat-detection/overview/evaluation
My kernel: pytorch-mean-absolute-precision-calculation
With slight modifications in the formula of mAP, I suppose we would be able to integrate this metric in pytorch-lightning (since we already have the average-precision implemented)
I've already written a logic to map predicted boxes to ground truth ones (taking their respective scores into consideration) so have a look at the kernel and let me know if you found any issues.

Hi, I would love to take this on. @SkafteNicki could you assign it to me?

@briankosw thanks you for wanting to contribute!

We need this! 🤩
Even for classification pytorch lightning modules, would be useful to obtain mAP metric over the test_dataloader data samples in a standard way that works with DDP.


Add OpenTelemetry installation instructions

Add instructions to add OpenTelemetry instrumentation to AppSignal. I've
added it to the installation section as it seems a better fit in the
future. This page will most likely become the new installation
instructions.
I've not linked from anywhere to this page yet as it's not released yet
and it's a beta feature that we'd like to point people to ourselves
(from a blog post or in support).
Closes https://github.com/appsignal/opentelemetry/issues/3

🚨 Merge after a new Node.js package has been released with OpenTelemetry support.

With everyone's approval I'm moving this to the new "waiting for release" column.


Issue boxing tuple of dispatcher

actually the aim of the example is loop a tuple of functions via literal_unroll, not with first-class functions

I believe this cannot be done without first-class functions.
For instance, with numba-0.48.0 the example fails with:
>>> baz(np.zeros((5, 10)), funcs)
TypeError: cannot convert native type(CPUDispatcher(<function foo2 at 0x7f2b5bfb2c10>)) to Python object

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: CPUDispatcher(<function baz at 0x7f2b5bf24310>) returned a result with an error set

Originally posted by @pearu in https://github.com/numba/numba/issues/5685#issuecomment-626036337

The chained SystemError is caused by the bug underlying #5417


The adapter check interface should not take []instance

The current interface for Check variety template takes [] instances. Should this just be a single instance ?
Based on an offline chat it was agreed that for check we do single instance and only for report we do array of instances. @geeknoid any concerns ?

No concern, we should in fact not pass arrays in here .

Done


Bipartite Network: full names of nodes

@dpbisme requested we display the full names of the nodes rather than truncate them w ellipses

update - we decided to just show more of the name, but still truncate eventually, because pathway names are so long.


Hover effects to the social media icon

Feature description
Adding hover effects to the social media icon: enlarging and changing color.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Hey @SauravMukherjee44, I'm a GSSoC'23 contributor and a full stack developer. I can add hover effects to the social media icons and enhance the appearance of the website. Could you please assign this task to me?

@ePSA-eJya  Go for it.
For any support join our community: https://codeincommunity.com/

@ePSA-eJya Go for it. For any support join our community: https://codeincommunity.com/

thanks......i'll surely join the community.

I want to work on this issue . Please assign to me


envvar in deadline dependencies hangs the job

We are sending all dependant files to deadline jobs to make sure they are all synced before the job starts, however sometimes client might use environment variable in the texture path or something similar. When that happens, deadline is unable to resolve this path and the job will stay pending until manually released
We should probably resolve these when storing them into the deadline payload to prevent this behaviousr
[cuID:PYPE-1119]

I believe you're referring to these fileDependencies being passed along to the Deadline job on submission.
It could potentially work to just to os.path.expandvars before passing them along, or even os.path.normpath or os.path.abspath. I'm not sure when/how Deadline tries to resolve those paths that get passed along. If it applies correct dirmapping to that then potentially it would work just making sure we pass along absolute paths using os.path.abspath?
Thoughts?

Also, should we have a validator that validates the file dependencies actually exist - or at least logs a warning if it doesn't?
We've had cases where Jobs wouldn't start to render in Deadline due to someone just having added a temporary file into their scene 'as reference' without actually needing it to render. It's a bit odd - but it's more confusing to the artist that the Job won't render in Deadline at all (stays on "Pending") and it's hard to figure out exactly why (which admittedly is also somewhat down to Deadline UX.) I guess we could also disable the project_settings/deadline/publish/MayaSubmitDeadline/asset_dependencies setting altogether on our end.
Thoughts?
I'm assuming we're still considering this "high severity"? I'd be happy to look into it if we know the options we'd want.

+1 for validating the dependencies exists. Had this issue a couple of times now as well.


SNIRF writer should not require birthdate

Describe the bug
The SNIRF writer is requiring a birthdate. But this is only a recommended field for SNIRF.
Steps to reproduce
Load a file without birthdate, then try to write it back to disk.
Expected results
It writes to disk
Actual results
It crashes and points to lines https://github.com/mne-tools/mne-nirs/blob/341a2f38a7bef1899f473db52eda4197627c9c81/mne_nirs/io/snirf/_snirf.py#L74-L80

Closed in #349


Version 4.0.0

I've noticed an issue with the parsing in a few areas of a plugin that I've been working on, most notably in here:

While I'm here, figured it might be worth mentioning that there isn't any warning/error highlighting with my project unless I compile my code and don't interact with anything. This has only happened with my project with a main path specified, since I'm working with multiple files. For what it's worth, this is my settings.json for my project:

Fix positional arguments:

Fix enum struct tags:

Fix funcenum

Codecov Report

Merging #221 (17793a4) into master (f0eb24d) will decrease coverage by 3.96%.
The diff coverage is 71.84%.

@@            Coverage Diff             @@
##           master     #221      +/-   ##
==========================================
- Coverage   56.75%   52.78%   -3.97%
==========================================
  Files          85       80       -5
  Lines        2800     2679     -121
  Branches      563      556       -7
==========================================
- Hits         1589     1414     -175
- Misses       1059     1111      +52
- Partials      152      154       +2

Impacted Files
Coverage Δ

src/Backend/Items/spEnumMemberItem.ts
58.33% <0.00%> (-6.89%)
:arrow_down:

src/Backend/Items/spItems.ts
100.00% <ø> (ø)

src/Backend/Items/spTypedefItem.ts
66.66% <ø> (+1.44%)
:arrow_up:

src/Backend/spItemsPropertyGetters.ts
6.49% <0.00%> (-0.86%)
:arrow_down:

src/Commands/setFileAsMain.ts
22.22% <0.00%> (ø)

src/Misc/parseSMAPI.ts
52.38% <0.00%> (+18.17%)
:arrow_up:

src/Providers/Linter/parseSPCompErrors.ts
16.66% <0.00%> (ø)

src/Providers/spDocCompletions.ts
26.00% <0.00%> (-51.56%)
:arrow_down:

src/Providers/spSymbolProvider.ts
51.72% <12.50%> (-13.50%)
:arrow_down:

src/Providers/Completions/spCompletionsGetters.ts
27.58% <24.24%> (-5.28%)
:arrow_down:

... and 64 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

To fix:

[ ] Highlighting is all over the place due to incorrect scope parsing.
[ ] Static global variables should only be accessible in their file.
[ ] Non-semantic highlighting is broken on some themes.


Add options for shared directory

Allows to have a single shared directory, rather than having individual directories.

I think this is just one special instance of a bigger problem: configuring root directories based on the username. Instead of the shared flag, I propose a dictionary option userPaths that maps usernames to path patterns. I'll update this comment with more details in a few minutes.

Well I suppose we could have a { '*': '.' } for all users. However, should we include anonymous with the * or have to declare anonymous user if we wanted to share all directories; { '*': '.', anonymous: '.' }

What's the benefit of using an asterisk over an empty string as the default key? I think the empty string is even less likely to conflict with a username.
In my spec, if anonymous'has no setting, ftpd would check the default, no magic. So If you'd like to separate anonymous from "all named users", you'd have to configure it:
{ '': '.' } = same directory for all users, even anonymous.
{ '': 'users/', admin: '.', anonymous: 'guests/' } = separate directory named and anon users, admin can see both.
{ '': '.', anonymous: false } = named users only.

What about modifying the PASS success callback to accept an optional "folder" parameter (https://github.com/alanszlosek/nodeftpd/blob/master/ftpd.js#L319)? Line 322 (https://github.com/alanszlosek/nodeftpd/blob/master/ftpd.js#L322) would have to change a bit, but it would allow the implementor to map usernames to folders however they want. Maybe they're storing the user folder path in a database along with the usernames+passwords ... if so, it'd be easy to pass the folder along.

@alanszlosek : :+1: for an optional folder arg to the callback, but let's still have a config option for cases where that folder arg is false-y. (Probably undefined due to a plain "old" auth function that doesn't care about paths.)

Looks like this fork has similar functionality, along with a ton of other features: https://github.com/sstur/nodeftpd Have you seen it? He seems like a much better project maintainer than I am :-)

His won't work without a key and cert files. I need to set those up, nor is it clear how to even make one.

In case you want an "officially" signed cert, you can get a cert for your webserver from Let's Encrypt and then use that cert for ftpd. If you neither have nor want a web server on that domain, I think LE has a temporary one built-in.
If you prefer to sign your certs yourself and convince the clients to trust your certs, try TinyCA2. Their website seems to be unavailable today, but maybe your OS even has it packaged.
You can probably test your certs by pointing a browser to your ftpd as https://host:port/ . If the SSL is initiated first (I think FileZilla calls that "implicit"), the browser won't learn it's FTP until after you have verified the cert.


add script to determine PR target branch in GitLab CI

Do we plan on having any automated tests for this functionality? I imagine it would be difficult because it would always rely on the internet and therefore would always be unstable (especially looking at the stability of github actions lately 👀 )

I have several json files, which I can add to test at least the json parser.

I have several json files, which I can add to test at least the json parser.

Sounds good 👍

After a discussion, we decided to not add tests. There was only one pretty easy test. The rest depends on the internet. Therefore, there would be a lot of work, to modify the test infrastructure of the integrationTests package.
Instead, I uploaded some response from the GitHub API for a PR targeting a dev branch, a PR targeting a main branch and an non existing branch.


request

hello friend do you have contact information?  thanks

you can send a direct msg to me on https://twitter.com/_akayn

or ask your Q here.

Hi friend I dont use twitter but can make account if no Email. Thanks
On Saturday, September 23, 2017, akayn<EMAIL_ADDRESS>wrote:

you can send a direct msg to me on https://twitter.com/_akayn
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akayn/demos/issues/1#issuecomment-331614321, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASspdRiTizb3L88skev_drxspvkC_Rf3ks5slKS-gaJpZM4PhdVz
.

so ask your Q here then... why so secret?

Hi, wondering if available for freelance work this is why.  Thanks
On Sat, Sep 23, 2017 at 8:22 PM, akayn<EMAIL_ADDRESS>wrote:

so ask your Q here then... why so secret?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/akayn/demos/issues/1#issuecomment-331664370, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASspdQEvP-uc4-QdAJPEgbECHh3h-6qWks5slVp4gaJpZM4PhdVz
.

nope i got a job good luck.


Collect functionality/criteria for deployment status

feedback
errors
time (launch, stage, etc)
reason for rejection

Relevant issues
https://github.com/mesosphere/marathon/issues/1881
https://github.com/mesosphere/marathon/issues/1842
https://github.com/mesosphere/marathon/issues/1784
https://github.com/mesosphere/marathon/issues/1780
https://github.com/mesosphere/marathon/issues/1309
https://github.com/mesosphere/marathon/issues/1179
https://github.com/mesosphere/marathon/issues/1090
https://github.com/mesosphere/marathon/issues/968
https://github.com/mesosphere/marathon/issues/878
https://github.com/mesosphere/marathon/issues/380

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3245. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3245. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Cloning projects from Gitlab via SSH fails

Hey all...
can anyone tell me which public ssh key from which pod I should use for cloning gitlab projects as datasources?

Thanks!
BG Matthias

Thanks for opening this issue @moppmans.
That being said, I don't see any link with Netbox chart and the repository you're reporting this issue to.
Based on the very little information provided, I'm closing the ticket.

Duplicated into #322


Improve Diagram Scaling

This issue addresses the current limitation where diagrams do not scale with the page width.
The goal is to investigate possible approaches to enhance diagram scaling.
See https://github.com/npgrosser/logseq-diagrams-as-code/issues/6 and https://github.com/npgrosser/logseq-diagrams-as-code/issues/12#issuecomment-1483732436

The reason behind this behavior is the plugin's DOM being isolated from the main application.
Due to this isolation, the plugin cannot directly access or manipulate the parent container elements to adjust the diagram's width.
One possible workaround is to make the diagram size relative to the viewport width.
However, automatic scaling might not work well for all diagrams, as their dimensions and aspect ratios can vary greatly. Additionally, user preferences for diagram size and scaling might differ.
In my opinion, the best solution is to allow users to specify their desired dimensions or scaling for each diagram individually. The plugin already provides an option for users to customize the container style for each diagram.
To customize the container style for a specific diagram, you can use the following syntax:
{{renderer code_diagram,d2,containerStyle=width: 400px}}

This example sets the diagram's container width to 400 pixels.
More information on customizing and decorating diagrams can be found in the "Decorating Diagrams" section of the README: https://github.com/npgrosser/logseq-diagrams-as-code#decorating-diagrams

Thank you for this great plugin. I still have a problem understanding where to put this code to adjust the size. My block diagram looks like this:
blockdiag {
"Major Incident" -> "Problem Analyse" -> "Ursache bekannt" -> "Dauerhafte Lösung" -> "Change";
}
Where do I add the renderer configuration code you postet above?

Thank you for this great plugin. I still have a problem understanding where to put this code to adjust the size. My block diagram looks like this:
blockdiag { "Major Incident" -> "Problem Analyse" -> "Ursache bekannt" -> "Dauerhafte Lösung" -> "Change"; }
Where do I add the renderer configuration code you postet above?

It goes in the render code that appears when you click on the diagram. It does not go within the D2 code.
In general, it may be best to open a new issue thread in the future rather than replying to a closed off one - as you are limiting answers purely to those who have been involved in the closed issue. (I only stumbled across your question when searching for D2 information). You can still link to a closed issue, in a new one. This has the benefit of allowing other users to see and (hopefully) chime in where they can.
If you compare the syntax that was provided above to your own renderer block, you'll see where you need to make an adjustment.


Best way to get integer representation of Money now that getAmout() returns string

I have an app that currently relies on moneyphp/money version v1.3.0. I want to upgrade it to ^3.1 and found some compatibility issues. For example Currency::getName is now Currency::getCode. No problem with that, just change those calls.
But now that the amount is stored internally as an string and that getAmount() also returns an string and I have lots of places were I get errors because I use the returned int value to do some things, like adding/dividing it with something, comparing it with 0 (if ($money->getAmount() === 0) or if ($money->getAmount() > 0)) or returning it in a JSON as an int.
What would be now the best approach to get the int representation in the new version 3? Just use intval()? Or is there something in the library that can be used for that? I've been looking and couldn't find any.
Thanks.

For one, you could check the changelog to see all changes since 1.x, there are quite a few breaking changes, but that should be okay as they are released under a new minor version.
We decided to store the amount internally as string because there are many cases when we have to work with string representations: formatting, parsing, arbitrary precision libs(bcmath, gmp).
If you know you have only values within the integer limit of your platform, you should be safe casting the amount to integer. (Note that in case the integer limit overflows the resulting value will be of type float).
Alternatively you can use builtin comparison and mathematical functions.
See the documentation for details: http://moneyphp.org

I think I'll go with using the builtin comparison and mathematical functions most of the times and rework my API client so it works with string amounts. Thank you.

Whatever is best for you! Good luck!


Issue: Xbox Triggers

I am using Enjoy2 to play minecraft with my Xbox One S controller. However, it seems that the triggers cannot be remapped and are not highlighted when I press them. what do I do?

I'm having the same problem, and I haven't been able to find any fixes. Its been over a year so I was wondering if you have?

700 some days later, still no fix. I just want to play some ps3 games man...

Ok I think I have a resolution for this. It looks like the triggers are just getting skipped when trying to figure out all the buttons. Can resolve this through changing line 78 in Joystick.m to if ((usage >= 0x30 && usage < 0x36) || (usage == 196 || usage == 197)) {, to be able to register triggers as well.
Found this by adding NSLog around the usage area and seeing that 2 actions were skipped being mapped. Printed out the usage int, found 196 and 197.
@fyhuang, I'm sure there's a more elegant solution, but something you want to update Enjoy2 with?

@Nicholas-Swift  How do I change the line 78 in Joystick.m to let enjoy2 recognize my trigger?

@Nicholas-Swift Apologies, I'm not really maintaining this repo. But if you send me a PR I'm happy to merge it!


Invalid constant value

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

![Screenshot (84)](https://user-images.githubusercontent.com/64858666/100711619-8b1f4680-33d7-11eb-9bf5-549f7886d313.png)
Here is my error please solve shortly

Hi @manu223
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Thank you


New release

Hi! Do you have plan to release new version, ex. 2.5??

Yeah, I plan to update the pod and push a new version once I fix the System Log tab for iOS 10+. I haven't had a whole lot of time lately to get to it. Help would be appreciated!

Well, i can fix this) I will make PR soon

I've made progress on the system logging fix. Just a heads up.

@NSExceptional wait for your solution, because i didn't found way how to display os_logs inside app :( maybe it's better to make some proxy logger inside FLEX to use in app instead of direct os_log api calling...

I figured it out, I'm just cleaning it up and adding some message caching and we'll be good to go

hola!this code can show os_logs inside app,https://github.com/shixueqian/iOSLogTool.check it

afaik master is already updated and fixed, looks great - any update on the release for cocoapods then? :) Is there anything missing? Feels like it could be even called 3.0.

I've run into some issues trying to update the pod. Since our deployment target is iOS 8, we need the iOS simulator for Cocoapods to validate it I think. And you can't download that without an old version of Xcode. And older versions of Xcode won't run on Mojave. And Mojave won't let you download old versions of macOS...
I'll keep you all updated.

I see, yeah. Honestly even tho Xcode 10.2 supports on-device debugging for iOS 8, I would probably drop iOS 8 as even iOS 9 will be deprecated soon (WWDC is coming). There is more benefits for all developers using iOS 9+ than trying to maintain everything for iOS 8 developers.
Also, there is always option to release 3.0 as iOS 9+ and then release 2.6 for iOS 8+ developers as last release.
Anyways it's completely up to you! :)

I think I can manage to get it working, I just need my laptop back with my copy of Sierra on it 😂
I would need it as soon as it gets sent off to the Apple store… smh


feat(public-api): Added option to control number of grouped sampled runs in reports

Description

Fixes WB-16963
Fixes #NNNN

What does the PR do?
Added the group_runs_limit argument to specify the number of sampled runs when they are grouped using programmatic reports. This argument now controls the Sampled Runs parameter in the UI's Grouping tab within Line plots.

Usage:
panel_grids = wr.PanelGrid(
    panels=[
        wr.LinePlot(
            title="line title",
            x="x",
            y="y",
            groupby="hyperparameter",
            groupby_aggfunc="mean",
            groupby_rangefunc="minmax",
            max_runs_to_show=100,
            group_runs_limit=1000,
        )
    ],
    runsets=[wr.Runset(project=PROJECT, entity=ENTITY, groupby=["hyperparameter"])],
)

Testing
How was this PR tested?

The Sampled Runs dropdown menu in Grouping tab is enabled in projects with more than 100 runs. Tried various values in new new group_runs_limit argument and seemed to propagate in the App. Haven't verified if the aggregate statistics of grouped runs do take this into account though. Let me know if there are more tests that I could perform.


Add objc-runtime.h to objc headers

Some applications still include the old objc-runtime.h header expecting
to obtain the declarations contained in objc/message.h and
objc/runtime.h nowadays. This commit adds this header to achieve
out-of-the-box compatibility with these applications.
(Context: this is one of the issues that arise when trying to build WebKit against GNUstep's libobjc2.)

I amended the whitespace issue. Could you take a look again?

Merged.  Do you want to send a PR for the block headers as well?


Allocate temp buffer for tensorize

As the example below:
produce B {
  for (i, 0, 12) {
    B[i] = 0.000000f
    for (k.outer, 0, 16) {
      for (k.inner, 0, 4) {
        B[i] = (B[i] + A[((((i*16) + k.outer)*4) + k.inner)])
      }
    }
  }
}

The number of elements in vector instruction is fixed, like 4. If we want to tensorize the k.inner, we need to allocate a extra buffer to store the intermediate result, or else it would be overwritten.
Here may be what we expect:
produce B {
  for (i, 0, 12) {
    B[i] = 0.000000f
    for (k.outer, 0, 16) {
      tmp = intrinsic("summation", A)
      B[i] = B[i] + tmp
    }
  }
}

So is there any way to allocate buffer for  intermediate result?

rfactor might be related, @merrymercy might have some experience on related issues

Thank you ! I have tried rfactor and it works. With modification in schedule:
ko, ki = s[B].split(k, 4)
B_rfactor = s.rfactor(B, ki)
s[B_rfactor].compute_at(s[B], s[B].op.axis[0])

The output result is what I expect. Now the lower IR turns into this:
realize B([0, 12]) {
  produce B {
    for (ax0, 0, 12) {
      // attr [compute(B.rf, 0x1204368)] realize_scope = ""
      realize B.rf([0, 4], [ax0, 1]) {
        produce B.rf {
          for (k.inner, 0, 4) {
            B.rf(k.inner, (0 + ax0)) =0.000000f
            for (k.outer, 0, 16) {
              B.rf(k.inner, (0 + ax0)) =(B.rf(k.inner, (0 + ax0)) + A((0 + ax0), (k.inner + (k.outer*4))))
            }
          }
        }
        B(ax0) =0.000000f
        for (k.inner.v, 0, 4) {
          B(ax0) =(B(ax0) + B.rf(k.inner.v, ax0))
        }
      }
    }
  }
}

I tried to tensorize the k.inner and the k.outer.v, it failed.
The reason is that rfactor move the rfactor_axis to first dimension, and the shape of new tensor B.rf is [rfactor, axo]. Tensorize with intrinsic shape [rfactor] would not success.
The shape of B.rf cause similar problem for the tensorize of k.outer.v
I think there are two solution:

allow using rfactor without moving rfactor_axis to first dimension
enhance tensorize to match [n, m, 1] -> [n, m]. while currently the tensorize only allow the match [1, n, m]->[n, m]

Do you have other better suggestions? @tqchen

@merrymercy You mentioned a similar problem right? Do you have a local patch that enhances rfactor ?

Yes, I met the same problem. I added a new bool argument transpose to s.rfactor to indicate whether transpose B.rf.
But latter I didn't need this feature any more. So I didn't push or save this patch.
If you think the solution 1 is OK, I can rewrite the patch.

I think we need an factor axis argument which indicate which axis we want to insert the factor dimension

move to https://github.com/dmlc/tvm/issues/867


running on GPU

Hi,
Thank you for sharing the code! I successfully run it on the sample images with CPU. But when I tried to configure theano to use device=gpu or device=cuda, they both failed with quite long error messages.
For cuda particularly, there was a warning message at the beginning
/home/mingbo/anaconda3/envs/sam/lib/python3.5/site-packages/theano/sandbox/cuda/__init__.py:631: UserWarning: Your cuDNN version is more recent than the one Theano officially supports. If you see any problems, try updating Theano or downgrading cuDNN to version 5.1.
My first question is, do you expect your code to run faster on GPU? If not then I will just stay with CPU.
In case the answer is yes, do you think the version of theano 0.9.0 can ever work with cuDNN 6?
I am using cuda-8.0 and cuDNN 6 now.
Thanks a lot!

Ah, I just upgraded theano to 0.10.0b1 and it worked!

My first question is, do you expect your code to run faster on GPU? I

What kind of speed improvement did you get?

I am trying to speed up testing this on the gpu. So far the code is unable to use the gpu.
@lcnature I do not see any errors, I manually give cuda3 as flag while running the code.
Is there something specific one needs to do to make sure the code uses the gpu ?
Did you see any speed improvement yourself?
@marcellacornia Thanks for the code, could you please suggest if you are able to run this code (testing) on gpu and how long does it take according to your experience to test a single image on GPU vs CPU? Thanks for your inputs in advance.

@kkhetarpal
I am sorry that it was long time ago so I already forget what I did.
It might have something to do with the right versions and settings of theano and keras.
I am not sure if the following info are critical for it to be able to run on gpu, but jut for your reference:
Here is my ~/.keras/keras.json:
{
"floatx": "float32",
"epsilon": 1e-07,
"backend": "theano",
"image_data_format": "channels_last",
"image_dim_ordering": "th"
}
And in ~/.theano, I had these lines:
[global]
floatX = float32
device = cuda
[nvcc]
fastmath = True
[gcc]
cxxflags = -ID:\MinGW\include
(and you want to check the root variable points correctly to your cuda driver folder.)
And for some reason, I modified the importing in main.py:
import os, cv2, sys was changed to
import os, sys sys.path.append('/usr/local/lib/python2.7/site-packages') import cv2
And these are the versions of packages in my conda environment:
alabaster                 0.7.10                   py35_0
appdirs                   1.4.3
babel                     2.5.0                    py35_0
certifi                   2016.2.28                py35_0
decorator                 4.1.2
docutils                  0.14                     py35_0
h5py                      2.7.0               np111py35_0
hdf5                      1.8.17                        2
imagesize                 0.7.1                    py35_0
jinja2                    2.9.6                    py35_0
Keras                     1.1.0
libgfortran               3.0.0                         1
libgpuarray               0.6.9                         0
Mako                      1.0.7
mako                      1.0.6                    py35_0
markupsafe                1.0                      py35_0
mkl                       2017.0.3                      0
mkl-service               1.1.2                    py35_3
nose                      1.3.7                    py35_1
numpy                     1.11.3                   py35_0
opencv-python             <IP_ADDRESS>
openssl                   1.0.2l                        0
pip                       9.0.1                    py35_1
py                        1.4.34
pycuda                    2017.1.1
pygments                  2.2.0                    py35_0
pygpu                     0.6.9                    py35_0
pytest                    3.2.3
python                    3.5.4                         0
pytools                   2017.6
pytz                      2017.2                   py35_0
PyYAML                    3.12
readline                  6.2                           2
requests                  2.14.2                   py35_0
scikit-cuda               0.5.1
scipy                     0.19.0              np111py35_0
setuptools                36.4.0                   py35_1
six                       1.10.0                   py35_0
six                       1.11.0
snowballstemmer           1.2.1                    py35_0
sphinx                    1.6.3                    py35_0
sphinxcontrib             1.0                      py35_0
sphinxcontrib-websupport  1.0.1                    py35_0
sqlite                    3.13.0                        0
Theano                    0.10.0b1
tk                        8.5.18                        0
wheel                     0.29.0                   py35_0
xz                        5.2.3                         0
zlib                      1.2.11                        0
Finally, if you get it running on GPU, you can set b_s in config.py to as large as your gpu can handle (I just tried 64) from the default setting of 1.

Thanks a lot @marcellacornia for your inputs.
I was able to run on GPU. Just FYI for anyone interested: Each image alone (without a batch) takes 4 sec for the testing.

@kkhetarpal What type of GPU did you try it on?


Fiscal calendar dates

Module: 2
Lab: 2.1
Task: Create a fiscal calendar
Step: 2
Description of issue
The start and end date only create 3 periods
Should be Start date: 10/1/2024 and End Date 9/30/2025

Thank you for raising this issue. Currently, we are reviewing this.
We will keep you posted.


Sync playlists across Google account Chrome Extensions

I need to add my playlists on each Chrome instance I'm logged on to. Ideally, I should have my extension's settings saved and synced.

They do. You just need to reload Streamus when moving between PCs - I haven't had the time to finish coding automatic refreshing. I thought there was an open issue for this but I don't see one, I'll embellish on a new issue in a while.


import/get(-url): complete --job description

We should clearly define the logic behind defaults, e.g. like @isidentical mentioned we do the following for the import-url:

For import-url, it goes with --jobs => remote.jobs => core.jobs => BaseTree.JOBS

while what we mention (in import, get) is only remote modify jobs and BaseTree.JOBS (defaults). So, part about core.jobs is missing. Which might be important since it can be used to override the behavior globally for example.

For import-url, it goes with --jobs => remote.jobs => core.jobs => BaseTree.JOBS

Is it the same process for get, import-url, get-url? Maybe you can help us confirm @dberenbaum ? Thanks!

This looks stale, so I'm closing, but feel free to reopen if I'm mistaken