Error in code

Line 15 in Device.js is:
if (!alias == null) this.data.alias = alias;
This is wrong.  It should be:
if (alias != null) this.data.alias = alias;

Thanks!

Well thank you!  I am building a thingy that emulates an HS110 to use to monitor power consumption in my house, and your code was invaluable.  I did make a fork to put in one change - I made it so you can have an optional parameter in the simulator, to change the IP address used from the default of 9999.  That's great for testing if you don't want the simulator devices to show up on your network.  Any interest in putting my modification in the master branch?

You can change the port and IP address as shown in the examples:
  new Device({
    port: 9999,
    address: '<IP_ADDRESS>',
    model: 'hs100',
    data: { alias: 'Mock HS100', mac: '50:c7:bf:8f:58:18', deviceId: 'A100' },
  })

you can also change the UDP server port:
UdpServer.start = function start({ port = 9999 } = {}) {

I did not see any commits on your fork to see what changes you had made.

Hmmm.  Ok I’ll try that.  I did that change a while back and thought it was necessary but maybe not.  At this time I was learning node.js, it’s a new language for me.  I didn’t commit my fork because I am github challenged.
By the way – your code is very nice.  Great use of the object oriented features of javascript!
From: Patrick Seal<EMAIL_ADDRESS>Reply-To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Date: Monday, May 18, 2020 at 2:05 PM
To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Cc: David Taliaferro<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [plasticrake/tplink-smarthome-simulator] Error in code (#10)
You can change the port and IP address as shown in the examples:
new Device({
port: 9999,

address: '<IP_ADDRESS>',

model: 'hs100',

data: { alias: 'Mock HS100', mac: '50:c7:bf:8f:58:18', deviceId: 'A100' },

})
you can also change the UDP server port:
UdpServer.start = function start({ port = 9999 } = {}) {
I did not see any commits on your fork to see what changes you had made.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/plasticrake/tplink-smarthome-simulator/issues/10#issuecomment-630347222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKWP7YL4GSSXL3VEOLD3ITRSF2FZANCNFSM4MBNXJOA.

Ok, a few more things I found.  I’ll just describe them rather than checking in my changes, but I could checkin if you want.  As I said, I’m github challenged though.
The optional parameter to udpserver.start isn’t a port, it’s an object with a member named port, with the value of the port.  So udpserver.start(9998) does not work.  Udpserver.start({port: 9998}) does work.
In hs.js:
Line 32:  It sets relayState.  The member name should be relay_state.
The code doesn’t correctly track the ontime when you turn something on and off.
Get_sysinfo() looked like this:
get sysinfo() {
this.data.system.sysinfo.on_time = this.onTime;
return this.data.system.sysinfo;
}
I changed it to:
get sysinfo() {
if (this.data.system.sysinfo.relay_state == 1)
this.data.system.sysinfo.on_time = Math.round((Date.now() - this.onSince) / 1000);
else
this.data.system.sysinfo.on_time = 0;
return this.data.system.sysinfo;

}
And set relaystate() changed from:
set relayState(relayState) {
this.data.system.sysinfo.relay_state = relayState;
this.onTime = new Date();
}
To:
set relayState(relayState) {
var oldRelayState = this.data.system.sysinfo.relay_state;
this.data.system.sysinfo.relay_state = relayState;
if (oldRelayState == 0 && relayState == 1 )
  this.onSince = new Date();

}
From: Patrick Seal<EMAIL_ADDRESS>Reply-To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Date: Monday, May 18, 2020 at 2:05 PM
To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Cc: David Taliaferro<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [plasticrake/tplink-smarthome-simulator] Error in code (#10)
You can change the port and IP address as shown in the examples:
new Device({
port: 9999,

address: '<IP_ADDRESS>',

model: 'hs100',

data: { alias: 'Mock HS100', mac: '50:c7:bf:8f:58:18', deviceId: 'A100' },

})
you can also change the UDP server port:
UdpServer.start = function start({ port = 9999 } = {}) {
I did not see any commits on your fork to see what changes you had made.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/plasticrake/tplink-smarthome-simulator/issues/10#issuecomment-630347222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKWP7YL4GSSXL3VEOLD3ITRSF2FZANCNFSM4MBNXJOA.

I’m trying to do a fork off your latest code so I can add my suggested changes.  A little difficult to do a diff because you prettified your code, but I’ll figure it out.
But, it looks like there’s a bug in your latest – when you import the functions from utils.js from device.js, it’s not importing what’s intended.
The require statement in device.js is:
const { processCommands, unreliableData } = require('./utils');
But the export statement in utils is:
module.exports = {
errCode,
randomMac,
generateId,
parseJsonStream,
processCommands,
randomInt,
randomFloat,
randomLatitude,
randomLongitude,
getDayList,
getMonthList,
editRule,
deleteRule,
readJson,
unreliableData,
};
So device.js is calling errCode() when it means to call processCommands(), and it’s calling randomMac() when it means to call unreliableData().
I’ll see if I can fix.  Or if you’re going to do it, please let me know.
From: Patrick Seal<EMAIL_ADDRESS>Reply-To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Date: Monday, May 18, 2020 at 2:05 PM
To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Cc: David Taliaferro<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [plasticrake/tplink-smarthome-simulator] Error in code (#10)
You can change the port and IP address as shown in the examples:
new Device({
port: 9999,

address: '<IP_ADDRESS>',

model: 'hs100',

data: { alias: 'Mock HS100', mac: '50:c7:bf:8f:58:18', deviceId: 'A100' },

})
you can also change the UDP server port:
UdpServer.start = function start({ port = 9999 } = {}) {
I did not see any commits on your fork to see what changes you had made.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/plasticrake/tplink-smarthome-simulator/issues/10#issuecomment-630347222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKWP7YL4GSSXL3VEOLD3ITRSF2FZANCNFSM4MBNXJOA.

Hmmm, I think I was wrong about that.  Node.js is smarter than I thought. Again, this is pretty new to me.  It looks like the correct functions were being called.  In any case, the latest code definitely doesn’t work.  I’m trying it with Sense (www.sense.comhttp://www.sense.com), and sense would see the devices created with your old code.  Definitely doesn’t see them with the new code.  I also have some C# code that runs on a desktop for testing your code, that has problems with the new code.  It doesn’t like the excessive backslashes in the json transmitted, this is new.  Not sure if that’s the issue with Sense.
So I’m not sure if you’re paying attention to my emails or if you are interested in fixing.  I was hoping to have my code work with your latest off github.  If you want to work with me to fix it, let me know.  Otherwise I guess I’ll stick with your old code that works for me.
Once your code is fixed, the only change I wanted to put in was so it would correctly caculate “ontime” based on whether or not the device is on.
From: David Taliaferro<EMAIL_ADDRESS>Date: Wednesday, May 20, 2020 at 12:09 PM
To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Subject: Re: [plasticrake/tplink-smarthome-simulator] Error in code (#10)
I’m trying to do a fork off your latest code so I can add my suggested changes.  A little difficult to do a diff because you prettified your code, but I’ll figure it out.
But, it looks like there’s a bug in your latest – when you import the functions from utils.js from device.js, it’s not importing what’s intended.
The require statement in device.js is:
const { processCommands, unreliableData } = require('./utils');
But the export statement in utils is:
module.exports = {
errCode,
randomMac,
generateId,
parseJsonStream,
processCommands,
randomInt,
randomFloat,
randomLatitude,
randomLongitude,
getDayList,
getMonthList,
editRule,
deleteRule,
readJson,
unreliableData,
};
So device.js is calling errCode() when it means to call processCommands(), and it’s calling randomMac() when it means to call unreliableData().
I’ll see if I can fix.  Or if you’re going to do it, please let me know.
From: Patrick Seal<EMAIL_ADDRESS>Reply-To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Date: Monday, May 18, 2020 at 2:05 PM
To: plasticrake/tplink-smarthome-simulator<EMAIL_ADDRESS>Cc: David Taliaferro<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [plasticrake/tplink-smarthome-simulator] Error in code (#10)
You can change the port and IP address as shown in the examples:
new Device({
port: 9999,

address: '<IP_ADDRESS>',

model: 'hs100',

data: { alias: 'Mock HS100', mac: '50:c7:bf:8f:58:18', deviceId: 'A100' },

})
you can also change the UDP server port:
UdpServer.start = function start({ port = 9999 } = {}) {
I did not see any commits on your fork to see what changes you had made.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/plasticrake/tplink-smarthome-simulator/issues/10#issuecomment-630347222, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKWP7YL4GSSXL3VEOLD3ITRSF2FZANCNFSM4MBNXJOA.


[Question] Which is the minimum version of Java

For example, can I use the latest Pebble version in a Java 8 application?

Yes you can, Pebble is built with jdk8


[Feature] Show 'md5sum' of individual files in a torrent

Some torrent files[samples] can contain md5 of individual files as 'md5sum' string.
It would be useful if the preview also included the md5 per file. Thank you.

Added on v0.2.1


Double notes on live recording

The current implementation sometimes creates two notes in the sequence when only one was played on the keyboard.

Will be released with 0.1.22.


[FIX] copy all context files from configmap mountpoint

This is for issues:
#1639
#1576
fixes:

not all context files copied from configmap mountpoint

I have read the Code of Conduct and I hereby accept the Terms

recheck

hi @rjha-splunk, can you maybe also have a look at this?

I have read the CLA Document and I hereby sign the CLA

recheck


Error: failed to download "install/kubernetes/helm/istio" (hint: running helm repo update may help)

Am I missing a prerequisite?
~
❯ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "azure-samples" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈

~
❯ helm install install/kubernetes/helm/istio --name istio --namespace istio-system \
  --set global.controlPlaneSecurityEnabled=true \
  --set grafana.enabled=true \
  --set tracing.enabled=true \
  --set kiali.enabled=true
Error: failed to download "install/kubernetes/helm/istio" (hint: running `helm repo update` may help)

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

ID: 68b5d00d-529b-a8be-47bf-773c967f0e72
Version Independent ID: 0cf044ef-b26f-a8fa-213f-1e3fffaf53d6
Content: Install Istio in Azure Kubernetes Service (AKS)
Content Source: articles/aks/istio-install.md
Service: container-service
GitHub Login: @paulbouwer
Microsoft Alias: pabouwer

Thanks for the feedback! We are currently investigating and will update you shortly.

@jeffmartinxyz - it looks from the error message, like helm is not looking locally to install the helm chart.
Ensure that you have downloaded the Istio release

Download Istio

And are running the helm install command from the top-level folder of the Istio release that you downloaded and extracted.
There is a note in the Install the Istio client binary section of the docs that mentions this. I'm wondering if it is worth repeating this note in the Install the Istio Kubernetes components to ensure that people don't miss it.
Let us know if this resolves this issue and if you think it is worth repeating the note.

Yup, I was just doing it wrong. Thanks for following up. I think it would be good to mention this step, though most would be familiar with this. Unfortunately I don’t use helm that often and wasn’t aware.
From: Paul Bouwer<EMAIL_ADDRESS>Sent: Monday, March 11, 2019 3:38 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Jeff Martin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Error: failed to download "install/kubernetes/helm/istio" (hint: running helm repo update may help) (#26733)
@jeffmartinxyzhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeffmartinxyz&data=02|01|Jeffrey.Martin%40microsoft.com|4ea72d4c2e014331d5a408d6a672293e|72f988bf86f141af91ab2d7cd011db47|1|0|636879406583078368&sdata=DeDgy7H4dY7Ce538nxC2fzY34Qc7D%2B77s1AB67WJm9I%3D&reserved=0 - it looks from the error message, like helm is not looking locally to install the helm chart.
Ensure that you have downloaded the Istio release

Download Istiohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Faks%2Fistio-install%23download-istio&data=02|01|Jeffrey.Martin%40microsoft.com|4ea72d4c2e014331d5a408d6a672293e|72f988bf86f141af91ab2d7cd011db47|1|0|636879406583088364&sdata=15eHNZ5kDlVEZ%2FtHg9kS5fSymaRvaNcVqrwc1PdqbtU%3D&reserved=0

And are running the helm install command from the top-level folder of the Istio release that you downloaded and extracted.
There is a note in the Install the Istio client binaryhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Faks%2Fistio-install%23install-the-istio-client-binary&data=02|01|Jeffrey.Martin%40microsoft.com|4ea72d4c2e014331d5a408d6a672293e|72f988bf86f141af91ab2d7cd011db47|1|0|636879406583088364&sdata=T9SqstJudACKAfXIAKrsLVNyRW%2F0qyi5j0H%2BazIOx%2FI%3D&reserved=0 section of the docs that mentions this. I'm wondering if it is worth repeating this note in the Install the Istio Kubernetes componentshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Faks%2Fistio-install%23install-the-istio-kubernetes-components&data=02|01|Jeffrey.Martin%40microsoft.com|4ea72d4c2e014331d5a408d6a672293e|72f988bf86f141af91ab2d7cd011db47|1|0|636879406583098356&sdata=8sRTDIq9tgpYZ5utXqyTHzL43sID6NAfJubEMo%2B4tMw%3D&reserved=0 to ensure that people don't miss it.
Let us know if this resolves this issue and if you think it is worth repeating the note.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F26733%23issuecomment-471767676&data=02|01|Jeffrey.Martin%40microsoft.com|4ea72d4c2e014331d5a408d6a672293e|72f988bf86f141af91ab2d7cd011db47|1|0|636879406583098356&sdata=yfl6ha%2BDEVOx%2F3PvJGbhuS6zycaOz51qeBPpil8RWag%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAcF6xG9REO3Ju8yH-2v3Uz7W2jfXVkUkks5vVtqwgaJpZM4bpJiV&data=02|01|Jeffrey.Martin%40microsoft.com|4ea72d4c2e014331d5a408d6a672293e|72f988bf86f141af91ab2d7cd011db47|1|0|636879406583108347&sdata=m%2BONI%2BT8K8Hrpnol0%2ByJaS%2B4JzoxNThjnbwQsimAKHM%3D&reserved=0.

I have repeated the note and merged the PR.

Thanks @paulbouwer :)
@jeffmartinxyz The update has been made.
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.

why is this the answer, shouldn't this product be added to the kubernetes charts api like every other majorly used chart/product?

@CodeSwimBikeRun If you have any feedback for the product or a feature-request, please post this as a product feedback here. This will allow the community to up-voe and for the product team to include into their plans. We also have the "Give Product Feedback" button in our documents now to take you directly to the appropriate feedback page.


docs: Improve phrasing and formatting, and correct some errors

This PR makes some opinionated changes to the "Languages" page of the docs as well as fixing some errors with regard to the Wikipedia extractor instructions.

Thanks for the quick merge 🙂


Update debug description

What: Updated docs for debug method.
Why: The docs say that it pretty-prints the container by default, but in the code it looks like it prints the baseElement instead
How: N/A

Checklist:

[x] Documentation
[ ] Tests N/A
[x] Ready to be merged
[ ] Added myself to contributors table

:tada: This PR is included in version 5.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Print file paths as file URIs

The current output of running the Gradle task is:
Checking directory '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-module.json'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-composables.csv'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-composables.txt'
Checking file '/home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/raw/android-app_release-classes.txt'
Compose Compiler report is generated: /home/eli/workspace/portal/samples/kotlin-inject/android-app/build/compose_report/index.html

If a file:// URI is used I believe the IDE will linkify them so it could be opened in the browser.

Thanks for the suggestion @eygraber. Will definitely add this

Thanks, @eygraber for suggesting this improvement. This has been released in v1.0.0


Added french Readme for main and lesson 4

Is it possible to add the hacktoberfest label ? thanks a lot


add multi query test; change run_manager optional for unnecessary args

What

add multi query test
change run_manager optional for unnecessary args

@shibuiwilliam Hi , could you, please, resolve the merging issues? After that ping me and I push this PR for the review. Thanks!

Looks like this may have been dropped! I'll close for now, and feel free to reopen if there's more to be done :)


How do i use docker-headless-shell with app build with chromedp lib?

I dont see any documention on how to use chromedp based app with the docker-headless-shell
Say for example i build simple go app how do i combain both ?

You can use the chromedp/headless-shell image as the base image and copy the app into it. For example:
# syntax=docker/dockerfile:1

# =============== build stage ===============
FROM golang:1.19.3-alpine as build

WORKDIR /src

COPY . ./

RUN go build -o myapp cmd/myapp/main.go

# =============== final stage ===============
FROM chromedp/headless-shell:109.0.5396.2 as final

WORKDIR /app
COPY --from=build /src/myapp ./

ENTRYPOINT ["/app/myapp"]

Thank you very much ,

Do i need special configurtion to tell chromedp to use headless-shell ?
What is the best way to Debug my app which is using headless-shell ? or should i debug it first before i pack it into image ?
im using visual studio code

Do i need special configurtion to tell chromedp to use headless-shell ?

chromedp will search for it out of the box.
https://github.com/chromedp/chromedp/blob/19b37c1b76b6a16d165e69e18756475ddc8f6432/allocate.go#L369-L370

What is the best way to Debug my app which is using headless-shell ? or should i debug it first before i pack it into image ?
im using visual studio code

I think you can debug it first before packing it into the image.


Add: Gospel TV India [IN]

Channel Name
Gospel TV India
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
IN
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/IN
Languages
tel
Categories (optional)
religious
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
http://gospeltvindia.com/
Logo
http://gospeltvindia.com/wp-content/uploads/2022/02/cropped-final-logo-300x127.png
Notes
http://live.adostream.com:1935/gospeltv/gospeltv/playlist.m3u8 (720p)

Please update your request:

logo URL must use the HTTPS protocol

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Please update your request:

logo URL must use the HTTPS protocol

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Changes done for #3621 #3629 #3643 #3653 #3654 #3655 #3658 #3659 #3675 #3688 #3722 #3723 #3726 #3782


Feat 351 get action

Get action by ID.

It would be nice if we also had tests validating the behaviour when the action does not exist, when the request is supplied with invalid auth headers & no auth headers.

Indeed, but I think auth is tested once somewhere, and 404 is just a thing you perhaps have to trust that starlette/fastapi codebases have already tested?

It would be nice if we also had tests validating the behaviour when the action does not exist, when the request is supplied with invalid auth headers & no auth headers.

Indeed, but I think auth is tested once somewhere, and 404 is just a thing you perhaps have to trust that starlette/fastapi codebases have already tested?

I'm not sure I follow your reasoning here - all the API calls must be authenticated and it looks like we're enforcing that with an endpoint specific Depends(), so we need to verify that all the API endpoints require auth. It's not a case of testing whether the auth API works, but that these specific API calls have the appropriate authentication requirements enabled. Have I missed a test elsewhere that validates that all our endpoints require appropriate auth?
Also, it doesn't look to me like starlette/fastapi are handing the 404 - we are explicitly implementing the 404 response in our own get_action() function and there's no test for that code path, so how do I know the code is working as expected?

we are explicitly implementing the 404 response in our own get_action() function

Ah, sorry - I read that as testing missing endpoints, or verifying that endpoints exist.

all the API calls must be authenticated and it looks like we're enforcing that with an endpoint specific Depends()

Noted. Test coming up!


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
Corrected URLs

Was
Now

http://angular-meteor.com
http://www.angular-meteor.com

http://angular-meteor.com/angular2
http://www.angular-meteor.com/angular2

thanks!

:smile:


Volume Overlay

What are you experiencing an issue with?

[x ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ x] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ x] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Explain here what should happen.
A visual bar/strip/line should be over the selected keys/area that is selected with color spanning across the
Actual behavior:
Explain here what happened instead.
The visuals freze while changing volume and for the amount of time that is specified in the volume overlay
How often does this problem occur?

This problem occurs always
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Change volume.

What is the version of Aurora you are experiencing this issue with?

My version is Aurora 0.6.1-dev3
Does the previous version of Aurora have this issue?
The previous versions, did/did not have this issue.
Please include any logs, screenshots, or files that are related to this issue:

https://i.imgur.com/iv5DbfI.png

hmm just tested it and Volume Overlay doesn't work at all for me atm.

ye i noticed it on my work computer and tested it on my home computer and also got someone with another keyboard also to test it and it just dosent work for some reason.

What does your log show when your change volume? I think the issue may be related to an error getting the device volume using NAudio.

where can i find this log file?

found the log file and this is the error https://pastebin.com/E0sCFy46

also to shoot in im also using a logitech g933 as a audio device and logitech does some device tweaking outside of windows when it comes to its audio setup for eqalizer and surround sound

The error you're getting is the same one I was referring to. I don't think the device tweaking you're referring to affects it at all as I've experienced the error lately on multiple devices that didn't experience it previously.

I've fixed the issue with the commit above which will be available in the next release.


Handle errors in starting pods

Be more robust to failures in starting pods from binder.

To add a bit more context to this...
Is this to add more error reporting and automated recovery from errors when creating a namespaced  build pod via the kubernetes API?

It's both:

When launching pods to do the builds
When launching pods by talking to the hub api to launch user servers

Both these can fail for many reasons, and we should report them back to the user.

Add better reporting to the user that the build has failed along with any detail about why the build failed. #149 is a more specific case of this issue.

It looks like we've got both #149 and #90 improving this. Can we consider this issue resolved?

No one objected to the last comment, closing.


Fix io_bazel external repository name and update to 0.4.0 [phab:D1159]

Created by shahms at 2016-11-23 18:55:59:
Fix io_bazel external repository name and update to 0.4.0

fromberger accepted this revision at 2016-11-23 19:09:02


R Build Failing

I'm trying to install the R bindings for Apache Arrow and it's been erroring out for me for the last 3-5 days with the following trace (I'm building in a Debian Stretch Docker, with Arrow already built and make installd:
g++  -std=gnu++11 -I"/opt/R/lib/R/include" -DNDEBUG -DNDEBUG -I/usr/local/include -I"/opt/R/lib/R/library/Rcpp/include" -w -g -O3   -m64 -fno-gnu-unique -I/opt/intel/compilers_and_libraries/linux/mkl/include -I/usr/include -mavx -msse3 -msse4.1 -msse4.2 -msse2 -mfpmath=sse    -fvisibility=hidden -fPIC   -w -g -O3   -m64 -fno-gnu-unique -I/opt/intel/compilers_and_libraries/linux/mkl/include -I/usr/include -mavx -msse3 -msse4.1 -msse4.2 -msse2 -mfpmath=sse   -c message.cpp -o message.o
message.cpp: In function ‘std::shared_ptr<arrow::RecordBatch> ipc___ReadRecordBatch__Message__Schema(const std::unique_ptr<arrow::ipc::Message>&, const std::shared_ptr<arrow::Schema>&)’:
message.cpp:61:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
   R_ERROR_NOT_OK(arrow::ipc::ReadRecordBatch(*message, schema, &batch));
   ^~~~~~~~~~~~~~
message.cpp:61:3: note: suggested alternative: ‘RETURN_NOT_OK’
   R_ERROR_NOT_OK(arrow::ipc::ReadRecordBatch(*message, schema, &batch));
   ^~~~~~~~~~~~~~
   RETURN_NOT_OK
message.cpp: In function ‘std::shared_ptr<arrow::Schema> ipc___ReadSchema_InputStream(const std::shared_ptr<arrow::io::InputStream>&)’:
message.cpp:69:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
   R_ERROR_NOT_OK(arrow::ipc::ReadSchema(stream.get(), &schema));
   ^~~~~~~~~~~~~~
message.cpp:69:3: note: suggested alternative: ‘RETURN_NOT_OK’
   R_ERROR_NOT_OK(arrow::ipc::ReadSchema(stream.get(), &schema));
   ^~~~~~~~~~~~~~
   RETURN_NOT_OK
message.cpp: In function ‘std::unique_ptr<arrow::ipc::Message> ipc___MessageReader__ReadNextMessage(const std::unique_ptr<arrow::ipc::MessageReader>&)’:
message.cpp:85:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
   R_ERROR_NOT_OK(reader->ReadNextMessage(&message));
   ^~~~~~~~~~~~~~
message.cpp:85:3: note: suggested alternative: ‘RETURN_NOT_OK’
   R_ERROR_NOT_OK(reader->ReadNextMessage(&message));
   ^~~~~~~~~~~~~~
   RETURN_NOT_OK
message.cpp: In function ‘std::unique_ptr<arrow::ipc::Message> ipc___ReadMessage(const std::shared_ptr<arrow::io::InputStream>&)’:
message.cpp:93:3: error: ‘R_ERROR_NOT_OK’ was not declared in this scope
   R_ERROR_NOT_OK(arrow::ipc::ReadMessage(stream.get(), &message));
   ^~~~~~~~~~~~~~
message.cpp:93:3: note: suggested alternative: ‘RETURN_NOT_OK’
   R_ERROR_NOT_OK(arrow::ipc::ReadMessage(stream.get(), &message));
   ^~~~~~~~~~~~~~
   RETURN_NOT_OK
/opt/R/lib/R/etc/Makeconf:168: recipe for target 'message.o' failed
make: *** [message.o] Error 1
ERROR: compilation failed for package ‘arrow’
* removing ‘/opt/R/lib/R/library/arrow’

@wesm for the time being, I'm installing the package directly pointing to the Github repo, something like pacman::p_load_gh("apache/arrow/r") would that do.
One thing to note though is that commit d5f7b02fdf3c42663db8db6f385d94c17a865a10 is the last commit where I have been able to bulid the R package successfully, and so I am pinning my install to that commit for now. Looks like the commit right after (happens to be an R commit) causes my installation to fail and cannot find that R_ERROR_NOT_OK pointer (referring to #2915).

Try the latest master commit. Please post reproducible failure so @romainfrancois or others can take a look

Can confirm that its working now! Thanks @wesm !


"T" suffixes in displayed values

It looks like these are just sub-1 decimal values times 100. Is it always just for 0.0 < x < 1.0 values? Is it always a factor of 100?
This is also a tricky thing to search for related past issues. It'd be beneficial to explain it in the main documentation.

It looks like these are just sub-1 decimal values times 100. Is it always just for 0.0 < x < 1.0 values? Is it always a factor of 100?

I have the same issue with values less than 1!


fix(material/slider): some screen readers announcing long decimal values

It looks like some screen readers announce the value of a slider by calculating the percentage themselves using the aria-valuemin, aria-valuemax and aria-valuenow. The problem is that they don't round down the decimals so for a slider between 0 and 1 with a step of 0.1, they end up reading out values like 0.20000068. These changes work around the issue by setting aria-valuetext to the same value that we shown in the thumb which we truncate ourselves.
Fixes #20719.

@crisbeto I had to revert this change because it overrides custom aria-values

No problem, I hadn't accounted for that. I'll resubmit it.


update the UAA release to support > 128-bit encryption

@mogul @NoahKunin,
This is the change that was discussed to include the JCE Unlimited Strength Policy files to allow us to use AES256 for encrypted assertions.
Thankfully, due to the way these policy files need to be deployed we didn't have to include this change into our UAA fork, it could be done entirely in the cf release which is now the repo that carries the requested export warning you'll see below.
Please let me know if we need to make any other changes to be compliant.  I plan to get this change merged and release to staging tomorrow.

This is just to confirm here as well that as the Authorizing Official, I gave express permission for this change in writing over email, and again here, and that all notifications required by 15 CFR 740.1 were completed by me personally.


Emit XML even for names whose platform encoding is unsupported

When dumping the Macintosh Skia font to XML, the TTX tool crashed
with a Python exception. After this change, the font can be dumped
fine. This was caused by a name record with platformID=1 (Macintosh)
and platEncID=2 (Traditional Chinese).

Thanks.  I'm merging this.  We can adjust for the exception if you agree, on a followup commit.

Merged manually.


question: form-based login

Flexible Authentication Schemes
Implement various authentication methods, including form-based, ...

I didn't find infomation on how to use the form-based method. My understanding is that you get an "enter the secret password to continue" dialog, where you then enter a string to proceed.  This would be great to use instead of a basic auth method

any ideas?

is it still a missing feature?


Added scientific notation conversion

Hi Derek!
This closes Issue #7.

Hi @jedwardsjunior, thanks for the pull request. Before we can merge it, we need you to sign our Contributor License Agreement. You can do so electronically here: http://opensource.box.com/cla
Once you have signed, just add a comment to this pull request saying, "CLA signed". Thanks!

CLA signed

Verified that @jedwardsjunior has just signed the CLA. Thanks, and we look forward to your contribution.


how to set the trigger zone?

how to set the trigger zone

In SwipeBackLayout there is a dragHelper.
You might adjust the sensitivity while creating the the helper.
1 is full sensitivity. I find it usefull to use as 0.1f.
    viewDragHelper = ViewDragHelper.create(this, 0.1f, new ViewDragHelperCallBack());


Use the new RequestsWrapper for connecting to services

Motivation
Standardize configuration, esp. for proxy behavior

Minor fix related to this PR https://github.com/DataDog/integrations-core/pull/4133


:bug: Correctly handle nested configs

Problem Statement
Issue #141 states:

Existing ~/.aws/config with nested properties are overwritten improperly by this tool.
For example, s3 configuration uses indentation for its properties e.g.
[profile development]
aws_access_key_id=foo
aws_secret_access_key=bar
s3 =
  max_concurrent_requests = 20
  max_queue_size = 10000

When awscli is run, the config is written out like so:
[profile development]
aws_access_key_id=foo
aws_secret_access_key=bar
s3 =
max_concurrent_requests = 20
max_queue_size = 10000

which is not correctly read by aws s3 commands!
Specifically, the following test https://github.com/oktadeveloper/okta-aws-cli-assume-role/blob/054c45c5b0b58195db45bd25b528c0436331d7ed/src/test/java/com/okta/tools/aws/settings/ConfigurationTest.java#L110-L130 if modified to contain s3 keys as follows:
    @Test
    void addOrUpdateProfileToExistingProfile() throws IOException {
        final String existingCombined = manualRole + "\n"
                + "s3 =\n"
                + "    max_queue_size = 1000" + "\n\n" + existingProfile;

        final StringReader configurationReader = new StringReader(existingCombined);
        final StringWriter configurationWriter = new StringWriter();
        final Configuration configuration = new Configuration(configurationReader);

        final String updatedPrefix = "updated_";
        final String expected = "[profile " + profileName + "]\n"
                + Configuration.ROLE_ARN + " = " + updatedPrefix + role_arn + "\n"
                + SOURCE_PROFILE + " = " + profileName + "_source\n"
                + Configuration.REGION + " = " + region + "\n"
                + "s3 =\n"
                + "    max_queue_size = 1000"
                + "\n\n" + existingProfile;

        configuration.addOrUpdateProfile(profileName, updatedPrefix + role_arn);
        configuration.save(configurationWriter);

        String given = StringUtils.remove(configurationWriter.toString().trim(), '\r');

        assertEquals(expected, given);
    }

will not pass.

Solution

Add Apache Commons Configuration2

Adapt configuration2's INIConfiguration to support AWS quirks

Remove Ini4j (unmaintained, has park page for website)

Refactor file handling code

Resolves #141
Apologies for the extensiveness of this change. The configuration
handling likely needs a refactor to make it easier to support future
modification.

@frosforever thank you for the code review. Any other concerns before I merge this?


[qtwebengine] Build error on x64-windows

Package<EMAIL_ADDRESS>Host Environment

Host: x64-windows
Compiler: MSVC 19.40.33811.0
vcpkg-tool version: 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
vcpkg-scripts version: fb544875b 2024-08-22 (17 hours ago)

To Reproduce
vcpkg install qt
Failure logs
-- Setting up python virtual environment...
-- Installing python packages: html5lib
-- Setting up python virtual environment... finished.
CMake Warning at ports/qtwebengine/portfile.cmake:86 (message):
  Buildtree path 'F:/vcpkg/buildtrees/qtwebengine' is too long.

  Consider passing --x-buildtrees-root=<shortpath> to vcpkg!

  Trying to use 'F:/vcpkg/buildtrees/qtwebengine/../tmp'
Call Stack (most recent call first):
  scripts/ports.cmake:192 (include)

CMake Error at ports/qtwebengine/portfile.cmake:91 (message):
  Buildtree path is too long.  Build will fail! Pass
  --x-buildtrees-root=<shortpath> to vcpkg!
Call Stack (most recent call first):
  scripts/ports.cmake:192 (include)

it sounds weird but it is reality :)
from qtwebengine portfile.cmake:
# We know that C:/buildrees/${PORT} is to long to build Release. Debug works however. Means 24 length is too much but 23 might work.
if(buildtree_length GREATER 22 AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "arm64")
    message(WARNING "Buildtree path '${CURRENT_BUILDTREES_DIR}' is too long.\nConsider passing --x-buildtrees-root=<shortpath> to vcpkg!\nTrying to use '${CURRENT_BUILDTREES_DIR}/../tmp'")
    set(CURRENT_BUILDTREES_DIR "${CURRENT_BUILDTREES_DIR}/../tmp") # activly avoid long path issues in CI. -> Means CI will not return logs
    cmake_path(NORMAL_PATH CURRENT_BUILDTREES_DIR)

so as you see it does not like paths longer then 22 symbols :) and only Windows

There are a couple of similar cases though the issues.....
eg: https://github.com/microsoft/vcpkg/issues/39351
you could read and make some tactics how to solve this strange case


HipChat generates rooms with ","

For whatever reason, HipChat generated a room with an XMPP JID of the following form.
<EMAIL_ADDRESS>
In this part of hubot-hipchat, you rely on the ability to split on "," but in our case this breaks because HipChat has generated an XMPP JID with a comma in it.
Can you think of any cunning way's to work around this without creating a new channel? Thanks folks!

Haven't tested this, but this could be a work-around:
Does the JID always include the full room domain? (If not this won't work...)
If you split on .hipchat.com,. To do this, you'd either need a more complicated regex in split, using a lookahead, or to just re-join the domain with the first part of the JID.
If this were merged into the master, we'd probably need to split on  HUBOT_HIPCHAT_HOST (or hipchat.com) for robustness...

I'm reasonably sure that comma's are always allowed in JID local parts unless they're at the start (or end if a RTL marker is present) of the label (in which case they violate the directionality rule of the UserNameCaseMapped profile of the PRECIS IdentifierClass, although I think having a number at the start of a JID is disallowed too, but I'm not aware of any implementation that actually follows that rule).
See the first bullet point of the BIDI rule (which is specified as the directionality rule for the profile used by localparts): https://tools.ietf.org/html/rfc5893#section-2


Clicking browser's back button while passing nested map data gives error "Expected a value of type 'String', but got one of type '_JsonMap'".

I am getting the following issue when trying to go back to the previous page by clicking the browser back button.
======== Exception caught by foundation library ====================================================
The following TypeErrorImpl was thrown while dispatching notifications for PlatformRouteInformationProvider:
Expected a value of type 'String', but got one of type '_JsonMap'

When the exception was thrown, this was the stack:
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49      throw_
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 84:3        castError
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 442:10  cast
../dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 650:12                as
../dart-sdk/lib/collection/linked_hash_map.dart 88:26                                <fn>
...
The PlatformRouteInformationProvider sending notification was: Instance of 'PlatformRouteInformationProvider'
====================================================================================================

Replication steps:

Navigate to any page by using

context.beamToNamed('/items/${item.id}', data: {'item': {"data": "datacontent"}} );
OR
context.beamToNamed('/items/${item.id}', data: {'item': ItemModel()} );

Now go to the previous page or any other page.
Finally go back to the previous page by clicking the browser back button. It fails to parse the data content and gives the error mentioned above.

Note: This issue does not occur if the data we are passing is a simple string. For example: context.beamToNamed('/items/${item.id}', data: {'item': "simple string"} ); will work properly while context.beamToNamed('/items/${item.id}', data: {'item': ItemModel()} ); OR context.beamToNamed('/items/${item.id}', data: {'item': {"data": "datacontent"}} ); wont work.

Thanks for reporting this issue @Mhsanjib
I'm wondering should this be a responsibility of beamer or should a developer serialize and de-serialize all objects that ought to be passed in data (of course, that should be mentioned and explained then)

@slovnicki Thank you for the quick response.
Here is my code on the receiving side.
class ItemDetailLocation extends BeamLocation {
  ItemDetailLocation({BeamState state}) : super(state);

  @override
  List<String> get pathBlueprints => ['/items/:itemId'];

  @override
  List<BeamPage> buildPages(BuildContext context, BeamState state) {
    final data = state.data['item'];
    return [
      BeamPage(
        key: ValueKey('item-'),
        title: 'Items',
        child: ItemDetailPage(data,
            id: int.tryParse(state.pathParameters['itemId'])),
      )
    ];
  }
}

This code is working perfectly when navigating to this page and the data is also being read correctly. It's not working only when going back to this particular page by clicking the browser's back button from any other pages.
The data type of map is const <String, dynamic>{} as declared in the library:
BeamState({
    this.pathBlueprintSegments = const <String>[],
    this.pathParameters = const <String, String>{},
    this.queryParameters = const <String, String>{},
    this.data = const <String, dynamic>{},
  }) {
    configure();
  }

Since the value accepted of the map is dynamic, I thought we should be able to pass a complex object without converting it to a string. Can we only pass the String here? In that case, shouldn't the data type of data be <String, String>{}?
Thank you. Can you help me resolve this issue?

this should be covered now as pointed here: https://github.com/slovnicki/beamer/issues/306#issuecomment-878855768

having the same issue


Hide navigation menu in mobile

In the mobile with the menu open, the page itself is too narrow. Therefore, I propose to close the navigation menu. Intuitively, it opens due to the presence of a burger. And closing does not look so intuitive as in most other sites and applications the navigation menu is initially hidden

Was looking for this because I think as well that having that sidebar not collapsed on mobile is kinda too small I don't know why they left it like that. Sadly your solution isn't working for me, have you tested it?

Ignore previous message i was using the minified version and js was in normal one. For those who want to use above's commit with sb-admin-2.min.js here's a copypaste.
Thanks a lot and i hope they merge this.
`/*!

Start Bootstrap - SB Admin 2 v4.0.6 (https://startbootstrap.com/template-overviews/sb-admin-2)
Copyright 2013-2019 Start Bootstrap
Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/blob/master/LICENSE)
*/

!function(t){"use strict";t("#sidebarToggle, #sidebarToggleTop").on("click",function(o){t("body").toggleClass("sidebar-toggled"),t(".sidebar").toggleClass("toggled"),t(".sidebar").hasClass("toggled")&&t(".sidebar .collapse").collapse("hide")}),t(window).resize(function(){t(window).width()<768&&t(".sidebar .collapse").collapse("hide")}),t(window).width() < 480 && !t(".sidebar").hasClass("toggled") ? ( t("body").addClass("sidebar-toggled") && t(".sidebar").addClass("toggled") && t('.sidebar .collapse').collapse('hide') ) : "",t("body.fixed-nav .sidebar").on("mousewheel DOMMouseScroll wheel",function(o){if(768<t(window).width()){var e=o.originalEvent,l=e.wheelDelta||-e.detail;this.scrollTop+=30*(l<0?1:-1),o.preventDefault()}}),t(document).on("scroll",function(){100<t(this).scrollTop()?t(".scroll-to-top").fadeIn():t(".scroll-to-top").fadeOut()}),t(document).on("click","a.scroll-to-top",function(o){var e=t(this);t("html, body").stop().animate({scrollTop:t(e.attr("href")).offset().top},1e3,"easeInOutExpo"),o.preventDefault()})}(jQuery);`

Might replace this in the future with changing around some CSS, but this works great for now, thank you.


Cannot add multiple accounts

Right now clicking the add account from the account dropdown opens the external browser. Could that be disabled for this specific link, thus allowing users to add multiple Google accounts

Should be good to go using the above PR’s fork, or waiting for it to merge. I had the same problem!


chore(test): moved setup.js loading to karma.conf.js

i loaded the setup from karma.conf.js, which worked just fine. seems easier that way (loadFiles are loaded in order)

Can you confirm that this also works in the TS skeleton? That's where the problem shows up. You won't see it in the ES skeletons.

i used it for our plugins since this midday. eg https://github.com/SpoonX/aurelia-auth/pull/45 passed travis. spoonx gulp tests also use chrome and canary and that also worked.
i'll check the skeleton ts version now

@EisenbergEffect
after a minor confusing, it can be further simplified with the given karma setup. setup.js/ts gets loaded anyways, and in the case here, order doesn't seem to matter.
however, in the spoonx karma setup
jspm               : {
      // Edit this to your needs
      loadFiles: ['test/setup.js', 'src/**/*.js', 'test/**/*.js'],
      ...

setup.js needs to be before those source files. so that's something to keep in mind. thus, it could be worth to use eg
jspm               : {
      // Edit this to your needs
      loadFiles: ['test/unit/setup.js', 'test/unit/**/*.js'],
      ...

even though it's not needed currently.
gulp test on the ts skeleton worked fine with the submitted version

Oh this is probably cleaner than importing it around and better than loading the polyfills in karma config, I like it!

've added the changes to ASPNet setups and opted for adding setup.js/ts to karma.conf for clarity (even though not needed in this case)


Updated core client version to fix the base uri conflict

Packages impacted by this PR
@Azure/communication-chat
Issues associated with this PR
Describe the problem that is addressed by this PR
Customer escalated the issue:
The issue was introduced from the<EMAIL_ADDRESS> Chat client updated the internal API client by generating the new service client version with the endpoint param to replace the baseUri and kept the dependency version<EMAIL_ADDRESS>and higher. While the endpoint is introduced only in<EMAIL_ADDRESS>Customer see error "baseUrl is not specified" if the dependency version not updated.
Update the @azure/core-client version to fix the issue
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

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

I think for a hotfix like this should be doing it on a feature branch first.

This ensures the version on main stays 1.6.0 so it doesn't interfere with our nightly alpha builds
We can cherry pick the change "@azure/core-client": "^1.6.0", into main afterwards.
Cherry pick in the changelog into main so it has the up to date changes.


K.sigmoid in xy_loss with binary cross entropy

Hi,
I see the yolo head in model.py line 140
feats[...,:2] is after sigmoid function
https://github.com/qqwweee/keras-yolo3/blob/e6598d13c703029b2686bc2eb8d5c09badf42992/yolo3/model.py#L140
But in the loss function raw_true_xy is just inverse of line 140 without sigmoid
https://github.com/qqwweee/keras-yolo3/blob/e6598d13c703029b2686bc2eb8d5c09badf42992/yolo3/model.py#L380
...
In xy_loss ,raw_pred[...,0:2] also didn't have sigmoid function
https://github.com/qqwweee/keras-yolo3/blob/e6598d13c703029b2686bc2eb8d5c09badf42992/yolo3/model.py#L399
Why in yolo_head need sigmoid but train didn't need
Did i miss something?
Thanks!

your question is equal to ask "why we should employ Bounding-Box regression ", u can see this blog:https://blog.csdn.net/zijin0802034/article/details/77685438

https://github.com/qqwweee/keras-yolo3/blob/e6598d13c703029b2686bc2eb8d5c09badf42992/yolo3/model.py#L399
In my opinion, the above code should be
    xy_loss = object_mask * box_loss_scale * K.binary_crossentropy(raw_true_xy, K.sigmoid(raw_pred[...,0:2]), from_logits=True)

You know, the loss value is used to judge the difference between the real value and the predict value.
(1) Firstly, see the real value：
the predicted coordinate offset (tx, ty)，which is  :
raw_true_xy = y_true[l][..., :2]*grid_shapes[l][::-1] - grid
(2) Second,see the predict value:
it is (tx,ty), which is raw_pred[...,0:2], not K.sigmoid(raw_pred[...,0:2])
so there is no sigmoid in xy_loss.

You know, the loss value is used to judge the difference between the real value and the predict value.
(1) Firstly, see the real value：
the predicted coordinate offset (tx, ty)，which is :
raw_true_xy = y_true[l][..., :2]*grid_shapes[l][::-1] - grid
(2) Second,see the predict value:
it is (tx,ty), which is raw_pred[...,0:2], not K.sigmoid(raw_pred[...,0:2])
so there is no sigmoid in xy_loss.

@piantou I dont think so. Just as you said, the loss value is used to judge the difference, therefore, the real value and predicted value should locate in the same range. Actually, the real value raw_true_xy is in [0, 1], but raw_pred[..., 0:2] not. Therefore, you need to use sigmoid function to map raw_pred[..., 0:2] to [0, 1]. Of course, this operation is not necessary, but it will influence the convergence performance.
Actually, the key point is how to interpret the predicted result. Look at the following code
https://github.com/qqwweee/keras-yolo3/blob/e6598d13c703029b2686bc2eb8d5c09badf42992/yolo3/model.py#L140
It shows, sigmoid function was used at the recovery of predicted bounding boxes. That means the direct network output is not what we want instead of the output of sigmoid. Therefore, sigmoid function should be added. Of course, you can also remove both of them, but not recommended.

When y_pred in loss function didn't have sigmoid function ,
But in the header , same variable use the sigmoid function ,
This prediction value is not equal in loss and header ,
So the detect answer is not equal to minimize losses answer we need ( loss: y_pred vs  detect head: sigmoid(y_pred)) .
So the we're minimize target and same variable after header should be have some difference.
But it should not be have difference.

When y_pred in loss function didn't have sigmoid function ,
But in the header , same variable use the sigmoid function ,
This prediction value is not equal in loss and header ,
So the detect answer is not equal to minimize losses answer we need ( loss: y_pred vs detect head: sigmoid(y_pred)) .
So the we're minimize target and same variable after header should be have some difference.
But it should not be have difference.

Exactly right in my opinion, both sigmoid or both not.

@ancientghost @franktpmvu , do you notice the args "from_logits=True"? This will do K.sigmoid(raw_pred[...,0:2])

@ancientghost @franktpmvu , do you notice the args "from_logits=True"? This will do K.sigmoid(raw_pred[...,0:2])

oh yap ,it's finish we're problem
from_logits tags is equal to tf.softmax_cross_entropy()
in @tf_export("nn.sigmoid_cross_entropy_with_logits")
For brevity, let x = logits, z = labels.  The logistic loss is
z * -log(sigmoid(x)) + (1 - z) * -log(1 - sigmoid(x))
= z * -log(1 / (1 + exp(-x))) + (1 - z) * -log(exp(-x) / (1 + exp(-x)))
= z * log(1 + exp(-x)) + (1 - z) * (-log(exp(-x)) + log(1 + exp(-x)))
= z * log(1 + exp(-x)) + (1 - z) * (x + log(1 + exp(-x))
= (1 - z) * x + log(1 + exp(-x))
= x - x * z + log(1 + exp(-x))
we're labels=z=raw_true_xy
logits=x=raw_pred[...,0:2]
thanks.

@ancientghost @franktpmvu , do you notice the args "from_logits=True"? This will do K.sigmoid(raw_pred[...,0:2])

Thanks
At first, I noticed that but didn't figure it out. Now it's clear, the original code is correct.

What is the difference between this code and its previous used square error? Does this make sense? After all, raw_true_xy is not a strict probability distribution. What is the magic behind it?

What is the difference between this code and its previous used square error? Does this make sense? After all, raw_true_xy is not a strict probability distribution. What is the magic behind it?

As far as I think,when we use cross entropy,which loss function is
loss=y*log(p)+(1-y)log(1-p),
which p=1/(1+exp(-z))
when take derivatives of loss with respect to z(which represent the logits), partial loss/partial z = y-p
when we use MSE 1/2(y-p)^2, derivative of loss with respect to p, we can also get partial loss/partial p = y-p, the gradients are the same.
I guess this is why he choose to use BCE and use sigmiod to process logits to get p.Of course the final xy predction p is sigmiod(logits) in that case.


Segmentatio fault. Intel EDISON - custom board

I'm trying to get mraa working on my board, I've installed jubilinux and the follow instructions from:
https://learn.sparkfun.com/tutorials/installing-libmraa-on-ubilinux-for-edison
When I try blink led I get segmentation fault.
The same thing happen if I try to import mraa into python:
edison@jubilinux:~$ sudo ./blink
Segmentation fault
edison@jubilinux:~$ nano blink.c
edison@jubilinux:~$ python
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mraa as m
Segmentation fault

/var/log/messages:
Apr 29 22:46:02 localhost libmraa[16912]: libmraa version v1.9.0-32-gb59fc8f initialised by user 'root' with EUID 0
Apr 29 22:46:02 localhost kernel: [ 2843.950705] blink[16912]: segfault at 3b0 ip b76f6aaf sp bfc46a00 error 4 in libmraa.so.1.9.0[b76ee000+39000]
Apr 29 23:04:19 localhost libmraa[16994]: libmraa version v1.9.0-32-gb59fc8f initialised by user 'edison' with EUID 1002
Apr 29 23:04:19 localhost kernel: [ 3940.575937] python[16994]: segfault at 3b0 ip b6987aaf sp bf815270 error 4 in libmraa.so.1.9.0[b697f000+39000]

It works on ubilinux, but not in jubilinux. why?

So th esecond run from the log was with non-root user, that won't work without messing up with udev/device file permissions, so use root.
The first run contains surprisingly low amount of information. Looks like it's crashing somewhere very early, as supported by the python run. Could you try running this under strace to see more details of what's happening? If you're able to run under GDB and get a stack trace, that would be even more useful.

Coincidentally I've just followed the same procedure as @elgarbe and suffered the same problem. Attached is the console output from an attempt to import mraa in a python script when running under strace.
strace_mraa_import_seg_fault_sudo.txt

Thanks. So two things I see are:

Some SELinux-related stuff is apparently being loaded. Please disable SELinux temporarily (or make sure it's disabled);
There's an error message being written to syslog [I presume], apparently the sudo is not providing us the root we want it to:

stat64("/usr/bin/sudo", {st_mode=S_IFREG|S_ISUID|0755, st_size=163988, ...}) = 0
write(2, "sudo", 4sudo)                     = 4
write(2, ": ", 2: )                       = 2
write(2, "effective uid is not 0, is /usr/"..., 133effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?) = 133
write(2, "\n", 1

Thanks @alext-mkrs for looking at the trace. I realised after looking at the bits that you mentioned that the problem in my case was that I have various python installations (because of my ROS installation) and I hadn't provided root access for the python version I was importing mraa with.
Is there a way to configure mraa to run without root access? That would really save a lot of headache with configuring and using the python bindings. Or are there any other recommended python libraries for accessing Edison GPIO that don't require root access?
An obvious feature request is to handle this seg fault with a warning in the python binding.

So as far as root is concerned - its possible, but not easy and essentially boils down to changing permissions on device files mraa uses. But then there are problems with diing this generically and dynamically - there was a discussion on this in one of the opened issues, I don't have a link OTMH, but there wasn't a full solution. Generally speaking that's beyond what mraa as a library can do and  is a matter of OS config.
As for the handling in python binding - it's generated automatically, so we can't modify it. That's why the root requirement is documented, that was the best we could do at the time.

that's the one I was talking about, you can try applying the approach discussed there: https://github.com/intel-iot-devkit/mraa/issues/802

Thanks for the response and the link. Looks like mraa outside of sudo is still work in progress but will subscribe to that issue for updates. I kind of hijacked this issue (#900) but it seems like the likely cause is now known.

Right :) Glad to help, anyway ;)
@elgarbe, so if you still need help, feel free to chime in. If not, I'll close this one in a few days.

@jannsta1 one alternative would be to take a look at how Emutex does it on the UP2 board, I'm sure the udev rules can be made to work with the Edison too: https://wiki.up-community.org/Ubuntu#Enable_the_HAT_functionality_from_userspace
Here are the actual sources for the rule files: https://launchpad.net/~ubilinux/+archive/ubuntu/up/+sourcefiles/upboard-extras/0.1-1/upboard-extras_0.1.orig.tar.gz

Closing for no further activity.


feat(#247): implemented xls and xlsx export format

Pull Request Type

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Other... Please describe:

Description
This PR addresses #247 and implements export for xlsx and xls format
PR Checklist

[X] The commit message follows our guidelines included in the CONTRIBUTING.md
[X] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Does this PR introduce a breaking change?

[ ] Yes
[X] No

This closes #247


Key repeat for tap key in overload action

Thanks for the cool tool.
Is it possible to make the key repeat if hold down the tapping key (in this case space) with the following settings?
[main]
space = overload(M, space)

If there is no way to do that, how about making the key repeat when you double-tap within the set time?
The following tool seems to have achieved the tap key repeat function in that way.
https://gitlab.com/interception/linux/plugins/dual-function-keys/

Thanks, at the moment this is not possible. I am not convinced this is useful enough to warrant a dedicated feature, however I am in the process of considering a generic timeout mechanism which might make this indirectly possible. I would keep an eye on #138.

It should be possible to achieve this using the new timeout feature.
E.G
timeout(overload(meta, space), 1000, space).
modify to taste.

The following was continuously entered 1 second after space was pressed.
$ keyd --version
keyd v2.3.0-rc (6581f36)
$

space = timeout(overload(meta, space), 1000, space)

Other existing settings also work by replacing them with the following form.
# For vim
:%s@C@control@g
:%s@A@alt@g
:%s@S@shift@g
:%s@M@meta@g

#157 problem also solved.
Thank you, Excellent.

Now overload_tap_timeout option is avalable:
[global]
overload_tap_timeout = 200

[main]
rightshift = overload(shift, esc)


1.8 Update - Can't access some features.

"Note: This update changed some sections of the .ini structure, so you will notice that some of your existing settings will revert to default."
So I  noticed after installing 1.8 a a few things no longer work and I am at a loss of how to fix them. Here is a list:

UseSprintToggle = true isn't working. I have it set to true in:
\Resident Evil 4\Bin32\re4_tweaks\default_settings\ settings.ini
\Resident Evil 4\Bin32\re4_tweaks\setting_overrides \ REmixTweaks.ini

SkipMenuFades = true doesn't seem to be working either. I have it set to true in:
\Resident Evil 4\Bin32\re4_tweaks\default_settings\ settings.ini

I'm pretty sure my setting overrides REmixTweaks.ini file is working because SkipIntroLogos = true is set there, but in the settings.ini  it is set to false.
EDIT - I got the above features to work by activating them in-game menu, but this all leads me to ask. What file is being written to and read from? If I changed these settings in the ini files, and they weren't read, I must have something in the wrong place, or some file is overriding another. I'm not sure how things work now that things have been changed. There is the xinput1_3.ini file in the Bin32 folder, but are we supposed to get rid of this now since there is the \Resident Evil 4\Bin32\re4_tweaks\default_settings\ settings.ini  file?
Sorry I'm confused ! I disabled the xinput1_3.ini file in the Bin32 folder, but that didn't help.

The xinput1_3.ini in the Bin32 folder is the user settings, the changes you make in the re4_tweaks menu are read/written there, IIRC the re4_tweaks\default_settings\settings.ini is just copied over to that when the xinput1_3.ini doesn't exist.
Adding it to Bin32\re4_tweaks\setting_overrides\REmixTweaks.ini should override both really, but maybe there's some issue with that somehow, possible only the xinput1_3.ini value is actually being applied & the one from override isn't making any change.
Are you sure the setting in your REmixTweaks.ini is named correctly & in the proper section for that tweak? (UseSprintToggle should be inside [GAMEPLAY], and SkipMenuFades should be in [MISC])
Also does the log file mention that it's reading from REmixTweaks.ini?

@emoose thanks for taking the time to create a roadmap for me. I'm not sure what happened. While I have your attention here, can you confirm that invincibility is working in 1.8. It isn't working for me, and Im not sure if it has to do with these ini files that got messed up.

Ok Im totally confused. Invincibility still isnt working, so I totally reinstalled RE4Tweaks (deleted everything except I kept my REmix.ini). What is going on ?

Sorry for all the confusion, and thanks for all the help. I will mark this as closed as things are ok now.


fix i2c small bugs for rpi notebook

Codecov Report

Merging #1160 into image_v2.6.0 will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           image_v2.6.0    #1160   +/-   ##
=============================================
  Coverage         47.78%   47.78%
=============================================
  Files                25       25
  Lines              4608     4608
  Branches            763      763
=============================================
  Hits               2202     2202
  Misses             2350     2350
  Partials             56       56

Continue to review full report at Codecov.

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


New parameter added: 'quoteAll'

very important when you really need quotes in all strings.

@samuel-pt Can you please merge this one . Lot of people are using this feature


lxd/resources/storage: Rework block size handling

This fixes an issue on s390x and other big endian systems where
unpacking to an int64 causes bogus values. Instead always unpack into a
32bit int.
Closes #8477
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

Testsuite passed

@tomponline added a comment


Add more tests around name quoting

@jessealva commented on Wed Sep 20 2017
Add more testing of quoted names.  This is for PR #2462 where only one existing test was affected even though several messages were affected.

@dubee @jessealva is this done?

i see many places where '{{.name}}' is used and other places where it's just {{.name}}. Is there a reason to add the quotes?


Nuget Package Download

Hi,
It might not be the case but i can't get the nuget package in visual Studio 2015. Could you let me know is it only an issue i my case or is it something in general? Do you know the solution for that problem?
Thanks,
Michal

I am using VS 2015, the package has been downloaded close to 1,000 times, can you I can help you but I need more info, what is the error you get and when you get it?

Just a regular one:
PM> Install-Package LiveCharts
Install-Package : Unable to find package 'LiveCharts'
At line:1 char:1

Install-Package LiveCharts

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Do you think it's worth to unzip the nuget and take the dll?

ensure Package source is nuget.org

if that is not working then go to solution explorer, right click in references, then Manage NuGet packages then browse for live charts, I am seeing it rigth there here is a print screen


Fix MISRA 2012 issues

Description
This PR fixes various MISRA - 2012 violations detected by coverity:

MISRA C-2012 Rule 8.2

Declaration uses a different type than "size_t uxStreamBufferMidSpace(const StreamBuffer_t *)".  [uxStreamBufferMidSpace]
Declaration uses a different type than "void vStreamBufferMoveMid(StreamBuffer_t *const, const size_t)" [vStreamBufferMoveMid]

MISRA C-2012 Rule 10.4

Essential type of the left hand operand "254U" (unsigned) is not the same as that of the right operand "1"(signed). [x2] [pxNew_AddrInfo]
Implicit conversion of "xNDCache[x].ucAge" from essential type "unsigned 8-bit int" to different or narrower essential type "signed 32-bit int". [vNDRefreshCacheEntry]
Essential type of the left hand operand "xStreamBufferLessThenEqual(pxBuffer, pxBuffer->uxFront, uxNextHead)" (signed) is not the same as that of the right operand "(BaseType_t)0"(boolean).  [uxStreamBufferAdd]
Essential type of the left hand operand "xPeek" (signed) is not the same as that of the right operand "(BaseType_t)0"(boolean). [uxStreamBufferGet]
Essential type of the left hand operand "xSize ><PHONE_NUMBER>U - xBytesRequiredForAlignment" (boolean) is not the same as that of the right operand "0"(signed). [BufferAllocation_2.c]

MISRA C-2012 Rule 12.1

Missing parentheses on sub-expression of the operator.

STATIC_ASSERT( ipconfigETHERNET_MINIMUM_PACKET_BYTES <= baMINIMAL_BUFFER_SIZE );

MISRA C-2012 Rule 18.4
MISRA C-2012 Directive 4.14

Test Steps
Run coverity 2023
Checklist:

[x] I have tested my changes. No regression in existing tests.
~[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.~

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run formatting


refactor: Updated to node v18 (lts/hydrogen)

#42

I have also added .nvmrc which tells which node version we are using.
This file is recognized by node version managers like nvm, fnm etc.

Since I have updated to node v18 therefore, package-lock.json has also been updated.

Awesome!


test-macincloud-macos1014-x64-3 Out Of Space

java/util/zip/ZipFile/Zip64SizeTest.java forced it to run out of space on a jdk11/mac_x64-XL/J9 run last night (Build 150) and currently can’t handle running the test.
Grinder on the same machine failed on the 3rd iteration: https://ci.adoptopenjdk.net/job/Grinder/2283/

@gdams can you take a look at this?

Marked offline in jenkins just now so nothing gets scheduled on it - we have enough redundancy for this not to seriously impact pipelines

It appears that the machine in question has plenty of space:
test-macincloud-macos1014-x64-3:workspace admin$ df -h
Filesystem      Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1    47Gi   34Gi  6.1Gi    85%<PHONE_NUMBER>372036853816300    0%   /
devfs          181Ki  181Ki    0Bi   100%     626                   0  100%   /dev
/dev/disk1s4    47Gi  6.0Gi  6.1Gi    50%       6<PHONE_NUMBER>854775801    0%   /private/var/vm
map -hosts       0Bi    0Bi    0Bi   100%       0                   0  100%   /net
map auto_home    0Bi    0Bi    0Bi   100%       0                   0  100%   /home

@sxa555 has re-enabled the machine in Jenkins


shinyproxy LDAP Role based authentication possible

Hello Team,
Do we have an option to make AD Group-based access can provide to each application within Shiny proxy?
If I have 5 applications in ShinyProxy, can I restrict each application based on the AD group?
Thank You ,
Jino.

Hi
Yes, this is possible. As you can see in the documentation you'll have to provide a group-search-filter and group-search-base which tell ShinyProxy how to parse the groups out of the LDAP information (https://shinyproxy.io/documentation/configuration/#ldap). This configuration depends on your configuration of LDAP.

Thank you, Yes this document shows the LDAP group can access / login to the Shiny Proxy, but can we able to restrict  people to access application within the proxy using this group ?
I saw Simple authentication method : groups: scientists ;   access-groups: [scientists],
Those who are all belogs to this group - scientists - can access to that applicaion. like wise do we have an option in LDAP  - AD group ?

You can use the same configuration options (i.e. access-groups) for LDAP. Here is a full example with a public LDAP server:
proxy:
  title: Open Analytics Shiny Proxy
  logo-url: https://www.openanalytics.eu/shinyproxy/logo.png
  authentication: ldap
  admin-groups: scientists
  ldap:
    url: ldap://ldap.forumsys.com:389/dc=example,dc=com
    user-dn-pattern: uid={0}
    group-search-base:
    group-search-filter: (uniqueMember={0})
    manager-dn: cn=read-only-admin,dc=example,dc=com
    manager-password: password
  specs:
  - id: 01_hello
    display-name: Hello Application
    description: Application which demonstrates the basics of a Shiny app
    container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"]
    container-image: openanalytics/shinyproxy-demo
    access-groups: [scientists, mathematicians]
  - id: 06_tabsets
    container-cmd: ["R", "-e", "shinyproxy::run_06_tabsets()"]
    container-image: openanalytics/shinyproxy-demo
    access-groups: scientists

Try running this example. You can login with username gauss and password password, you'll see only the Hello Application. Then you can try logging in with tesla and password and you'll see both apps.

Thank you so much;. Its works well.
I think this is the problem with my side.  the AD group which I am part of specified in the application.yaml file,  i can not see the app.

Quick Question: is ' scientists' and 'mathematicians' an AD distribution list?  I do have an AD Distribution list which will help to provide it in the group session to allow users to access the application?

I do see different types AD groups:

'Mail-EnabledSecurity',
'Security',
'Distribution'

which one should Shiny proxy use to work?

Unfortunately my knowledge about AD is limited and I'm not aware of these types of AD groups. From my experience (when using LDAP with AD) you need to configure AD to provide the correct groups as LDAP groups, and it does not matter for ShinyProxy which groups you are passing.
If you have Active Directory Federation Services available, you could also choose to use connect ShinyProxy using SAML to AD.

Thank you so much. This works well.


Ctrl + / Shortcut Does not Work in Linux

The 'Ctrl + /' shortcut for toggling comment blocks does not work in Linux.  I'm using the latest version of Orca (pulled today, 4/15/2019).  Confirmed it works in Windows.

Oh, I should use the key code instead of the key name perhaps.

I'm curious, if you look in the menu, in Edit > Block Comment, what does it say for the shortcut?

It says 'Ctrl + /'.
Bryan
On Wed, Apr 17, 2019 at 6:24 AM Лu Лinveгa<EMAIL_ADDRESS>wrote:

I'm curious, if you look in the menu, in Edit > Block Comment, what does
it say for the shortcut?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hundredrabbits/Orca/issues/81#issuecomment-484043703,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACyH_5FCDsZP9WlxrSo6-q1CM26l85obks5vhwRtgaJpZM4cwyJ2
.

Fixed!


Add a flag to switch from http to ssh

lecture:

https://github.com/libgit2/libgit2sharp/blob/df3b22a754ef56da8d7e3c330ce2d783c2b7982e/LibGit2Sharp.Tests/CloneFixture.cs#L19
https://stackoverflow.com/questions/40700154/clone-a-git-repository-with-ssh-and-libgit2sharp
https://loune.net/2017/06/running-shell-bash-commands-in-net-core/


Azure AD CBA

Reference,
https://learn.microsoft.com/en-us/azure/active-directory/authentication/how-to-certificate-based-authentication
Let's assume we have AD CS for issuing certificate.
do we need to create certificate using any specific template (like user or web server certificate) ?
do we have to issue certificate to individual user who would like to have CBA with Azure AD?

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

ID: 80a8212c-02d2-8c43-cd01-8b0f4214afe3
Version Independent ID: 8345a140-1501-ec5a-03a8-e50b6ce184b6
Content: How to configure Azure AD certificate-based authentication - Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/authentication/how-to-certificate-based-authentication.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@AmitavaHazra
Thanks for your feedback! We will investigate and update as appropriate.

@AmitavaHazra
Regarding: do we need to create certificate using any specific template (like user or web server certificate) ?
please go through Supported scenarios which might help you to get the answer.
The following scenarios are supported:
•	User sign-ins to web browser-based applications on all platforms.
•	User sign-ins to Office mobile apps, including Outlook, OneDrive, and so on.
•	User sign-ins on mobile native browsers.
•	Support for granular authentication rules for multifactor authentication by using the certificate issuer Subject and policy OIDs.
•	Configuring certificate-to-user account bindings by using any of the certificate fields:
o	Subject Alternate Name (SAN) PrincipalName and SAN RFC822Name
o	Subject Key Identifier (SKI) and SHA1PublicKey
•	Configuring certificate-to-user account bindings by using any of the user object attributes:
o	User Principal Name
o	onPremisesUserPrincipalName
o	CertificateUserIds
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/active-directory/authentication/concept-certificate-based-authentication.md#supported-scenarios
Regarding:do we have to issue certificate to individual user who would like to have CBA with Azure AD?
It depends on the scenario if you want issue certificate to a selected group or All users. Here it mentioned in the document.
https://learn.microsoft.com/en-us/azure/active-directory/authentication/how-to-certificate-based-authentication#step-2-enable-cba-on-the-tenant


The created static web app is not focused after clicking "Click to view resource" if the Azure Resource extension groups by the Resource Type/Location/ARM Tag

OS: All
Build Version: 20220418.2
Regression: Not a regression
Repro Steps:

Make sure the Azure Resource extension groups by the Resource Type.
Click "Create Resource..." -> Click "Create Static Web App..." -> Enter a name -> Select a region -> Choose "React" build preset -> Enter "app" -> Enter "build".
Navigate to the "AZURE: ACTIVITYLOG" window -> Expand the log -> Click "Click to view resource".
Check whether the created static web app is focused or not.

Expect:
The created static web app is focused, as below:

Actual:
The created static web app is not focused.
more Info:

This issue also reproduces when the Azure Resource extension groups by the Location or ARM Tag.
This issue doesn't reproduce when the Azure Resource extension groups by the Resource Group.

Closed by https://github.com/microsoft/vscode-azureresourcegroups/pull/205


startup time seems not updated on my pihole

Hi a few issues, the sensors are accessed and show processes and temperature and so on. The startup time is not correct and also the remote reboot and shutdown seem not to work. Standard raspbian (stretch) deployment. with librenms and pihole on a pi 3

found the issue seems there is a strange bug, the ipnr was incorrect and the app showed it is connected and update the info but it seems not from the device i expected. When i reentered the use and passw i saw the connection failing.


Add Gates & Triggers script

Adds a new script to convert gate signals into rising/falling edge triggers & convert incoming triggers into variable-duration gates.

Commit 327c3cc has been moved to https://github.com/Allen-Synthesis/EuroPi/pull/308 instead to keep the scope of this MR to just the new script.

There is some related (reversed?) functionality in PR #260, but it hasn't been reviewed yet. Part of me wonders if there might be advantages to combining the functionality into a single script, as they are spiritually similar.

Ah, I hadn't gone through open merge requests to see if there was already something that implemented this. I just went through main. I'm not surprised someone beat me to it; it seems like a pretty obvious utility.
Reading through #260 it these stand out as the biggest differences:

the 260 version has a self-clocked/LFO mode
the 260 version adds an optional delay between the trigger and the start of the gate
my version has the ability to generate manual gates via the buttons
my version converts incoming gates to rising & falling edge triggers (260 just goes trigger -> gate, not gate -> triggers?)

There's definitely a lot of overlap in the trigger-to-gate functionality, but I'm not sure how to reconcile the other differences without sacrificing some of the functionality (e.g. losing the manual gate buttons to add UI interaction, removing the LFO feature in favour of two independent signal channels).

I've been thinking about the comparison between the two G&T-like scripts some more this week.  As nice as the two-channel mode is, I do find myself wishing there was CV control over the gate length too. I'm considering an I/O overhaul where the new version would work like this:

DIN: the primary input, processed exactly like it is now
CV1: gate output; rising edge is triggered by DIN, gate duration determined by AIN + K1 + K2 (see below)
CV2: start-of-rise trigger output if DIN is a gate signal
CV3: end-of-fall trigger output if DIN is a gate signal
K1: primary gate length input. Non-linear scaling from 10ms to 2s duration
AIN: CV control over K1
K2: attenuator for AIN
B1: manually mimic the DIN input signal

The gate duration would be calculated by sending K1 + AIN * K2 into the duration-calculation function. This would let you use CV to increase the duration beyond 2s if both all 3 inputs are high.  Turning K1 all the way down means the gate duration is determined wholly by AIN * K2.
This leaves CV4-6 free for some new features. Haven't thought this out all the way yet, but I was thinking:

CV4: End-of-fall trigger for the gate output on CV1
CV5: Toggle output; initially low, changes every time the input signal changes
CV6: End-of-fall trigger for CV5

B2 is also free, since it's not manually triggering the second set of gates/triggers, so it can be used as a manual toggle input; it would invert the state of CV5, but would not affect CV1-4
This brings some more of the functionality from https://github.com/Allen-Synthesis/EuroPi/pull/260, while also making the script a little less specialized and opening up some CV-control options.  The LFO/clock feature is still absent though; are we okay with that feature not being reimplemented here?
Before I get into the nuts-and-bolts of rewriting the script to add the features above, are there any opinions? Does something seem obviously missing or out-of-place?

I've made the proposed changes above in https://github.com/Allen-Synthesis/EuroPi/pull/309, along with some other updates & improvements.
If that one gets approved I'll close this one, as it's probably redundant now

I've made the proposed changes above in #309, along with some other updates & improvements.
If that one gets approved I'll close this one, as it's probably redundant now

@chrisib You've though about and used these scripts more than anyone else recently, so I trust your judgement on the best way to move forward.
Just to be clear, there is not requirement from me to borrow any functionality from the #260 PR. I just wanted to point it out to you as another source of ideas, and work that the community has produced.
I say Focus your energy on the single script / PR that is the most useful and whose features make the most sense to you and leave the rest behind.

Fair enough. I think I'll close this one and shift efforts to #309. As convenient as the dual-channel mode is, I think the CV control in the other version is ultimately more useful.


Submitting binary data in request body to HTTP trigger causes error writing invocationRequest to worker ID...

I have an HTTP triggered function where the request body contains binary data, such as an audio file.
The function code is never executed (no breakpoint is hit) and the console shows:
 Error writing message type InvocationRequest to workerId: e2ebae92-186d-4ecf-8865-fb484e2253ac
[2021-07-10T02:20:19.657Z] System.Private.CoreLib: Error sending from server.

The issue happens on both localhost and when hosted in Azure. The issue does not happen for some smaller files, say up to 300kB.
The error is quite nasty because once it happens the function app instance stops responding to other HTTP requests. I have to restart the function app - so it affects not just the error-inducing request but all users of the function app after that.

May have a bearing on https://github.com/Azure/azure-functions-dotnet-worker/issues/366 which deals with submitting files as form data.

Not sure if this code is called by the function-worker at the host but seems request body may be attempted to be decoded using UTF8: https://github.com/Azure/azure-functions-host/blob/71a6ab35770c33165f1543c51397013d0446a32f/src/WebJobs.Script/Rpc/MessageExtensions/RpcMessageConversionExtensions.cs#L162

Thank you for the report @ak37165 -- can you clarify -- if you use a 300kB binary data file, things work? So it seems to be due to size alone?
Can you share what version of the Worker package you are using in your project?

Version information:
Azure Functions Core Tools
Core Tools Version:       3.0.3477 Commit hash: 5fbb9a76fc00e4168f2cc90d6ff0afe5373afc6d  (64-bit)
Function Runtime Version: 3.0.15584.0

Using 1MB (or 4MB as is more typical for my scenario) does cause the error to happen always. I tested with one 300kB file and that worked - but that was an image file instead of an audio file. So not sure if some binary characters could be the cause or just the size is the issue. Network speed should not matter as I tested both on localhost (client and function app on same computer) as well as hosted on Azure.

Microsoft.Azure.Functions.Worker version 1.2.0

Microsoft.Azure.Functions.Worker version 1.2.0

@ak37165 did you mean 1.1.0 or 1.3.0? (Official releases)
I tried to repro the bug, but haven't been able to do so successfully with the Azure Functions Core Tools version you mentioned and latest version of the worker.

I did have both 1.1.0 in one project and 1.2.0 in another (even though its not listed in official releases - see screenshot in Test 2 below) .
Also attaching sample large file (PDF).
TEST 1. Client is PostMan, Server (localhost) running without HTTPS (API was executed using the Visual Studio Debug button)
Uploading files up to 2MB works, but sending a large file such as 4.3MB (sample file attached) causes the function to show "Executing" (in the Azure functions core tools console) but then never get to "Executed" (just hangs for a long time, several minutes at least). Will likely timeout in 10 minutes (set in host.json).
Microsoft.Azure.Functions.Worker: 1.1.0
Microsoft.Azure.Functions.Worker.Sdk: 1.0.2
Code:
Below is the function code I am using (but this never hits a breakpoint set on the first line itself):
[Function("fileupload")]
        public async Task<HttpResponseData> FileUpload([HttpTrigger(AuthorizationLevel.Anonymous, "post",
            Route = "fileupload")] HttpRequestData req,
            FunctionContext executionContext)
        {
            var logger = executionContext.GetLogger("Function1");
            logger.LogInformation("C# HTTP trigger function processed a request.");

            logger.LogInformation("file length: " + req.Body.Length);

            return req.CreateResponse(HttpStatusCode.OK);
        }

The client was PostMan, with POST request to the URL for the above function, Body set to "binary" and the file selected in the PostMan UI.
Test 2. Server (localhost) with HTTPS, Client Javascript in an HTML page that creates the POST request to the API using XMLHttpRequest.
Here, the API code is executed using the command (since Visual Studio Debug even with the command parameters set in the Project properties debug tab did not seem to support running with HTTPS):
func host start -port 7071 --useHttps --pause-on-error --cert certificatefile.pfx --password PASWD
The Azure Core tools shows error:
 Error writing message type InvocationRequest to workerId: 7b338ecd-3f39-487b-94be-07c7e6a1be32
[2021-09-11T14:15:46.817Z] System.Private.CoreLib: Error sending from server.

Here the Core tools version is
Core Tools Version:       3.0.3477 Commit hash: 5fbb9a76fc00e4168f2cc90d6ff0afe5373afc6d  (64-bit)
Function Runtime Version: 3.0.15584.0
Microsoft.Azure.Functions.Worker version 1.2.0 (see screenshot).

Sample large file to try with:
Pdf58Pages.pdf

@satvu is investigating this issue. Moving to spring 110 while the investigation is in progress.

Thanks for the detailed info! This bug was fixed in 1.3.0 (see bug fix here).
Version 1.2.0 is mistakenly not tagged, so it did not appear on our repository's page of official releases. I believe this is the commit that should have been tagged.
To double check I started from the commit associated with 1.2.0 and tested out just the changes in the bug fix. After that, I was able to send large pdf files (4+ MB) and large audio files (WAV extension, 18MB) in the HTTP requests as binary data.
Closing this for now- if you update the worker to the latest version (or any version 1.3.0 and higher) and the issue persists please let us know.


Investigate runtime tests stdout consumer

The test below should work:
NAME optional_positional_str
RUN bpftrace -e 'BEGIN { printf("-%s-\n", str($1)) }'
EXPECT --
TIMEOUT 1

but it will timeout instead, and -- won't be in the current output:
[  TIMEOUT ] other.optional_positional_int
        Command: /home/mmarchini/workspace/iovisor/bpftrace/build/tests/../src/bpftrace -e 'BEGIN { printf("-%d-\n", $1) }'
        Timeout: 1
        Current output: Attaching 1 probe...

To make it work, we need to exit after the printf command:
NAME optional_positional_str
RUN bpftrace -e 'BEGIN { printf("-%s-\n", str($1)); exit() }'
EXPECT --
TIMEOUT 1

We can probably improve our runtime test suite to make exit() optional.

This works now without the exit


fix: use informal tendermint

What is the purpose of the change
This change ensures that we don't use a software repository that has been
subject to a hostile takeover and thus cannot be trusted.
It is a sad thing.
Brief Changelog

use informal tendermint fork

Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior
changes? no
Is a relevant changelog entry added to the Unreleased section in
CHANGELOG.md? no
How is the feature or change documented?
https://twitter.com/fekunze/status/1613896692037980167

This LGTM, though thanks to golang's hash pinning we actually aren't subject to concerns around old tags getting re-bound


Remove instances for MonadThrow and MonadCatch, add tryP/catchP

This goes along with my other pull request in pipes: https://github.com/Gabriel439/Haskell-Pipes-Library/pull/180

Could you also add a pipes-4.2.1 lower bound, since presumably that will be the pipes release that has the new instances

@Gabriel439 Done, and rebased.

Alright, this is up on Hackage now as pipes-safe-2.2.5.  In the process I made sure that users can't accidentally import the constraint from both libraries


Move to new public api token endpoint

SURE-6548

[ ] https://github.com/rancher/dashboard/issues/12331
[ ] Use generateKubeconfig which returns new token (TBD)

[ ] https://github.com/rancher/rancher/issues/47868

[ ] https://github.com/rancher/dashboard/issues/12332

Blocked given https://github.com/rancher/dashboard/issues/12331


Error check review workflow

From the flagged features using error checking in #7 and #8, enable a workflow to open flagged changesets/features in iD or JOSM to make edits. This isn't just a manager workflow, could be open to anyone participating in the campaign.

Proposed Solution
In all error and quality functions, for features that don't attain the required quality or have errors, under "More info" add links to the feature in OSM.
This will allow Users to fix these issues.


client configFunc is only called when required

This is an issue, as it means a custom-chain client has no way to define a callback, receiving the config, which is always called in order to register/overwrite/unregister custom types (such as unlock conditions, fulfillments or transactions).
This was discovered as a bug while working on threefoldfoundation/tfchain#155

Stopping to load it lazy, and instead just load it directly at startup is the only solution I know. In a way it is an OK solution, as the clients anyhow return a default (assuming standard network) config if the daemon/constants and explorer/constants endpoints cannot be reached for some reason.


Readme changes / added the command for scanning online sync / vendoring

big S to little s for github.com/sirupsen/logrus

Before this was merged, someone should have checked the vendor directory. If you don’t have the updated pkg this will no longer build.
The vendor directory needs updating, otherwise anyone getting this project fresh will not be able to compile it.

@willAtDocker is this something you can look into? Thanks for the doc updates. 🙂

yes will get on it.

On Feb 7, 2019, at 12:52 PM, Daniel Finneran<EMAIL_ADDRESS>wrote:
@willAtDocker https://github.com/willAtDocker is this something you can look into? Thanks for the doc updates. 🙂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/joeabbey/diver/pull/130#issuecomment-461530100, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak7rsa-5LPkNmJsWAgOHnaln1S741bszks5vLGfRgaJpZM4anxC7.


Add "Write.withResults()" for all Java SDK IOs

Currently, by default, a "Write" transform is considered as a final PTransform in a pipeline and it returns PDone that can't be used later for next pipeline stages.
Though, sometimes it's needed to use the results of write operation as input PCollection downstream of pipeline and some IOs already support this. For example, JdbcIO.Write has the methods withResults() and withWriteResults() that returns a PTransform with output PCollection<> of write results and it can be used to analyse the results or, along with Wait transform, to write into the second database only if writes into the first one were finished, like this:

PCollection<Void> firstWriteResults = data.apply(JdbcIO.write()
     .withDataSourceConfiguration(CONF_DB_1).withResults());
data.apply(Wait.on(firstWriteResults))

    .apply(JdbcIO.write().withDataSourceConfiguration(CONF_DB_2));

So, it would be useful to add a WriteWithResults transform for other IOs that can be used in the same way.
Imported from Jira BEAM-13584. Original Jira may contain additional context.
Reported by: aromanenko.

The following subtask(s) are associated with this issue: #21330


Emails without domains are valid?

someperson@someplace is valid.  Whada?

Hi @mootzville, your example email address is indeed valid. You can learn more at https://stackoverflow.com/questions/20573488/why-does-html5-form-validation-allow-emails-without-a-dot)


Update refined to 0.9.5

Updates eu.timepit:refined from 0.9.4 to 0.9.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "eu.timepit", artifactId = "refined" }]

Codecov Report

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

@@           Coverage Diff           @@
##           master     #102   +/-   ##
=======================================
  Coverage   22.99%   22.99%
=======================================
  Files          33       33
  Lines         948      948
  Branches       17       17
=======================================
  Hits          218      218
  Misses        730      730

Continue to review full report at Codecov.

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


Fix language agent and add more documents

Bugs were introduced in https://github.com/mbodiai/embodied-agents/pull/89.

did you add model kwargs back?


update try.manim.community to v0.14.0

I just noticed that try.manim.community still uses an old version, so bumping it to v0.14.0
Did we forget to update this?

Welp. Yes, we also didn't send out a release announcement for v0.14.0. Yikes.


Cannot read property 'dec' of undefined

This comes from Parser.js inside summarizeText
cptable[codepage].dec
Just migrated to Webpack 5 and this error showed up.
I think somehow cptable is not resolving.

cptable is bundled in with our library so it should work. Without a minimal reproducing example I can't help you here.

So I dug down and found out that cptable is already present in global scope so the control doesn't go in-
---RTFJS.bundle.js---
if(typeof cptable === "undefined") { line-1044
and the default export is never assigned-
if ( true && module.exports && typeof DO_NOT_EXPORT_CODEPAGE === 'undefined') module.exports = factory(cpt); line-1047
So I just added this in the else clause-
else { cptable = factory(cptable);
      module.exports = cptable;
  }
``` line- 1050
And now everything worked fine... I don't know why this happened. May be I am missing something due to my limited knowledge on webpack?

Finally got the reason.
Actually, xlsx library which has codepage as dependency is also imported before rtfjs and creates a global cptable variable.
So the control doesn't go in the above block and the default export is an empty object.
Deleting that global variable before importing rtfjs resolved this.


Continuing or not magnet move

Not sure what exactly should be the logic, especially when considering rewinds (what if you rewind in the middle of magnet move?)

Made a config for this (logic.toml)


Pytest Unable To Discover Tests When There Is A Space In The Directory Name

Environment data

VS Code version: 1.46.1
Extension version (available under the Extensions sidebar): Couldn't find it.
OS and version: MacOS 10.15.4
Python version (& distribution if applicable, e.g. Anaconda): 3.8.3 Hombrew
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): None
Relevant/affected Python packages and their versions: Pytest 5.4.3
Relevant/affected Python-related VS Code extensions and their versions: Python 2020.6.91350
Value of the python.languageServer setting: Couldn't find it.

Expected behaviour
To enquote paths passed to the --rootdir option when trying to discover tests.
Actual behaviour
No enquotation, causing pytest to find no tests due to the space character in the path.
Steps to reproduce:

Create a basic python project with a at least one function beginning with "test_".
Make sure the path to that project has a space character in the name.
Try to discover tests.

@FrankDMartinez, thanks for letting us know about this.  I was able to reproduce the problem as you have described it.  We'll work on resolving it.

Hello! We have just finished our testing rewrite and are beginning the rollout to users. I have tested this issue with the re-write and I am no longer reproducing the bug! If you would like to try it yourself, you need to add this setting to your users settings.json "python.experiments.optInto": ["pythonTestAdapter"]. Let me know if it doesn’t work for you and we can re-open this issue. Thanks!