Partial reconfiguration

Your Environment

Plugin version: 2.3.2
Platform: iOS and Android
OS version: macOS HighSierra
Device manufacturer and model: Samsung S7
Cordova version (cordova -v): 7.1.0
Cordova platform version (cordova platform ls):
Plugin configuration options: all
Link to your project: na

Context

IMHO partial reconfiguration doesn't work as described. If I try debug: true object as a parameter debug is not started.
example
BackgroundGeolocation.configure({
debug: true
});
Expected Behavior

Partial reconfigure should work
Actual Behavior

IMHO partial reconfiguration doesn't work as described. If I try debug: true object as a parameter debug is not started.
example
BackgroundGeolocation.configure({
debug: true
});
Possible Fix

I hope there is a fix or I am doing it wrong.
Steps to Reproduce

Context

Debug logs

Just tested in on android and works as advertised. What are your expectations about toggle debug? Plugin must be started to see difference

Just realized your problem is plugin version 2.3.2. This feature is 3.0.0 only.

You are right. My version of the plugin is 2.3.3
Where is version 3.0 If I reinstall the plugin it is still 2.2.2

Op 20 dec. 2017, om 18:46 heeft Marián Hello<EMAIL_ADDRESS>het volgende geschreven:
Closed #360 https://github.com/mauron85/cordova-plugin-background-geolocation/issues/360.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mauron85/cordova-plugin-background-geolocation/issues/360#event-1396577998, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZlp2x1HUmUUCe_Dylvj70z7FaCUwkzks5tCUgMgaJpZM4RIK2d.

Hi,
I found the 3.0.0 version of the plugin: 3.0.0-alpha.12 right?
If I remove the 2.3.2 version and install 3.0.0 my app doesn’t build anymore. Here the log of build proces:
(node:64674) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: /Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:6: error: package org.apache.http does not exist
import org.apache.http.HttpResponse;
^
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:7: error: package org.apache.http.client.methods does not exist
import org.apache.http.client.methods.HttpPost;
^
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:8: error: package org.apache.http.entity does not exist
import org.apache.http.entity.StringEntity;
^
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:9: error: package org.apache.http.impl.client does not exist
import org.apache.http.impl.client.DefaultHttpClient;
^
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:662: error: cannot find symbol
DefaultHttpClient httpClient = new DefaultHttpClient();
^
symbol:   class DefaultHttpClient
location: class LocationUpdateService
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:662: error: cannot find symbol
DefaultHttpClient httpClient = new DefaultHttpClient();
^
symbol:   class DefaultHttpClient
location: class LocationUpdateService
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:663: error: cannot find symbol
HttpPost request = new HttpPost(url);
^
symbol:   class HttpPost
location: class LocationUpdateService
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:663: error: cannot find symbol
HttpPost request = new HttpPost(url);
^
symbol:   class HttpPost
location: class LocationUpdateService
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:677: error: cannot find symbol
StringEntity se = new StringEntity(params.toString());
^
symbol:   class StringEntity
location: class LocationUpdateService
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:677: error: cannot find symbol
StringEntity se = new StringEntity(params.toString());
^
symbol:   class StringEntity
location: class LocationUpdateService
/Users/pietcrombach/Development/Projecten/trinl/trinlfirebase/platforms/android/src/com/zencity/cordova/bgloc/LocationUpdateService.java:691: error: cannot find symbol
HttpResponse response = httpClient.execute(request);
^
symbol:   class HttpResponse
location: class LocationUpdateService
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
11 errors
After reinstalling 2.00 version of the plugin these errors stay now. So what to do now?????

Op 20 dec. 2017, om 18:46 heeft Marián Hello<EMAIL_ADDRESS>het volgende geschreven:
Closed #360 https://github.com/mauron85/cordova-plugin-background-geolocation/issues/360.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mauron85/cordova-plugin-background-geolocation/issues/360#event-1396577998, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZlp2x1HUmUUCe_Dylvj70z7FaCUwkzks5tCUgMgaJpZM4RIK2d.

You've installed wrong plugin. Probably this one https://www.npmjs.com/package/cordova-plugin-background-geolocation
I can tell because com/zencity/cordova/bg is not package name I'm using, but it exactly matches this one
https://github.com/ZenCity/cordova-plugin-background-geolocation/blob/master/src/android/LocationUpdateService.java#L1


Fixed the display of the mocha stats bar

Before:

After:

What is this PR fixing? Can you provide a simple .html/.css file where this PR is fixing visual issues? Are you sure the visual issues are not caused by your own custom css?

Maybe partially but it's not very safe to not specify a background color and relying that the banner will be a white background element

Thanks, but we can't accept this kind of PR, as it is unintended use.  This change may break other people's styles in weird ways too..

Instead of height:auto can we at least add overflow: visible; here: https://github.com/mochajs/mocha/blob/master/mocha.css#L248?

@LaurentGoderre What bug does that fix?

Well the issue specifically is the collision in the class progress between Mocha and Bootstrap. Bootstrap sets the progress class with a height of 23px which truncates the canvas element which is 40px of height.

What's preventing you from adding a custom style to your page which adds to Mocha's styles?  I don't get it.

@boneskull, it would be nice for it to be plug and play, right? Maybe we should wait to see the number of people requesting this, and if considerable, we could make the .progress class more specific to avoid Bootstrap messing with it.

@boneskull It's actually the way I am doing it right now but it would be nice for other people using Bootstrap to not need to add this fix

Sorry, I don't understand why you need Bootstrap CSS in a unit test.  There's no bug here, so there's no need to modify our CSS.
@dasilvacontin The number of people is one (1).
This is a slippery slope.  Think of it this way: would Bootstrap accept a PR that modifies their CSS to work with mocha.css?  What would they say?

Don't people also use mocha for functional or end-to-end testing?
@boneskull, I said 'wait' since I don't have any usage data.

Bootstrap styles all progress elements as if they were progress bars. You could blame Mocha for not using a very concrete class declaration, or you could blame Bootstrap for making such assumption on such a vague class declaration. Or you could blame both.

Isn't it reasonable to assume that if people want to use Mocha in the browser, that they might want to use it with Bootstrap to test their project?


logging correlation id

I have approved.  But, it would be nice to see if we can minimize the cut and paste.
If it is not possible, then go ahead and submit.

Thanks for updating.


Take out Joystick report

Fix #148

To work with iPad, split HID interface for Joystick.
To work with Mac, send HID report only if the report changed except Joystick report.
Additionally, remove BIOS keyboard function because it was not working correctly.

I checked this version works with iPhone 8.
prk_firmware-0.9.18-20221121-a09fbed.uf2.zip

@yswallow Thank you for the PR.
Unfortunately, it seems shift keys (KC_LSFT and KC_RSFT) cause unintentional inputs.
This video capture shows the phenomenon.
I literally pushed and released only a shift key on the video.
I confirmed this issue with two different keyboards (GPK60-46W and SouthernCross).
I'll continue to investigate though, let me inform you of this issue.
https://user-images.githubusercontent.com/8454208/203321830-49dcdfbe-e4e6-4cfe-aed6-2e54d656a96f.mp4

@yswallow
つ https://drive.google.com/file/d/1G3qIyEDF3RKdoQm9bau5Yf_vM81ydGIq/view?usp=share_link
Let me fix Rakefile...

OK, it reproduced. It may need some key-types. So my comment above is wrong.
I think this is happened by pointer failure: memories pointed by uint8_t *keyboard_keycodes was overwritten.
https://github.com/picoruby/prk_firmware/blob/527f8dc75fb33fc4f7c5958c6c60e0a35f1980ce/src/usb_descriptors.c#L246
I'll fix it.

Will try it tonight, thanks!

@yswallow It is working for me! I'm now asking guys to confirm here https://github.com/picoruby/prk_firmware/issues/148#issuecomment-1324668459
BTW, I fixed Rakefile and pushed master branch. Try rake when you have time

I did.
rake failed with "cc.host_command not found".
https://github.com/picoruby/mruby-pico-compiler/blob/master/mrbgem.rake#L204
So I removed cc.host_command ||  on the file, then the rake worked.

@yswallow Sorry for that inconvenience again and again.
I did fix it. Should work this time.
You may need to rake deep_clean once

It works! Thank you!


Update README.md

Proofed the readme, and only ended up with a single change (wrong use of write vs right).

Cool! I appreciate the help!


[CLI] Do not automatically prefix package name when installing

For now, CLI automatically adds hyper- prefix when installing/uninstalling plugins.
hyper i pane do exactly the same thing than hyper i hyper-pane.
But if user wants to install a plugin with a non standardized name like hyper i hyperline, it will try to install hyper-hyperline.
It leads to some security problems. If someone forks hyperline, adds some malicious code and published it as hyper-hyperline...
Please remove any automatically prefixing in CLI.

@MAPESO this is a major issue and I really want to fix it and ship it ASAP.
Do you know when you'll have time to work on that?

@chabou Hi, I am struggling to solve this problem, I would appreciate it if you could help me 🙍

@MAPESO I did it while I had some spare time. You can look at #2757 to see what needed to be done 👍 ✅

@albinekb Thanks ❤ 🙏


Perm

Permissions does't work
i will add
1:
entrance: []
exit: []
perms:
- pocketmine.command.say
members: []
but doesnt works! fix this pls

@Falkirks after testing I can confirm this issue still exists.

The permission doesn't get added?

From what I can tell the way Group in rankupdoesgroups handles permisssion attachments is entirely wrong.

@Falkirks yes it doesn't.
I used this.
---
groups:
  A:
    entrance:
    - say {name} ranked up to A
    exit: []
    perms:
    - pocketmine.command.say
    - -pocketmine.command.me
    members: []
  B:
    entrance:
    - say {name} ranked up to B
    exit: []
    perms:
    - pocketmine.command.say
    members:
    - JackMPlayz
  C:
    entrance:
    - say {name} ranked up to C
    exit: []
    perms: []
    members: []
  D:
    entrance:
    - say {name} ranked up to D
    exit: []
    perms: []
    members: []
...

And when i ranked up to A=>B i was unable to use the /say command.

I have an idea how to fix it, but I can't test it right now, hopefully I have a chance later today.

Maybe add a commit I can test it for you.

It is probably going to be a bit tricky, I will see

Okay

Yeah, something weird is going on that I can't quickly see. I will look again later.

Okay take your time.

open this issue, sometimes the permission doesn't work
@Falkirks can you confirm this?

I thought that Falkirks fixed this. What permissions doesn't work? Maybe you set the config a bit wrong?

Nope, I didn't set anything wrong, it only work when I reload my server
When ranking up, sometimes Member can't use command like /warp (which I have setting up)

If its not working do it this way. This is how I do used to do and it worked.
---
groups:
  A:
    entrance:
    - say {name} ranked up to A
    - setuperm {name} essentials.warps.A
    exit: []
    perms: []
    members: []
  B:
    entrance:
    - say {name} ranked up to B
   - setuperm {name} essentials.warps.B
   - unsetuperm {name} essentials.warps.A
    exit: []
    perms: []
    members: []
...

This is an alternative way but you need to have PurePerms for perms and etc.

Ikr. Thats what I had been doing and it sort of did the trick

I think I found the problem @JackMD @Falkirks
The number of people will show up like
members:
0: asdasdas (for example)
the permission will work
But some how the more you rank up, the numbers will change to "-", which is the problem that members can't execute command even if the permission is on

That's just YAML guessing the data is not associative, it shouldn't change anything to comes to the program. Do permissions also perhaps break when the server restarts?

I don't know, I am not even reload or something


Handle /ja inventory gui

/jainfo shows only the nearest/looked at snitch, whereas /ja shows all snitches in range if there are multiple. Should be as simple as listening for inventories and reading the item lore from one of the fixed-offset slots.
Copy of https://github.com/MrLittleKitty/Snitch-Master/issues/44

Maaybe, seems kind of a niche use case.


Added custom user-agent header as requested in #487 and added a setting to disable right click button #398

At first i tried setting it with
    xhr.setRequestHeader('User-Agent', TogglButton.$fullVersion);

but chrome would complain about it not being a safe operation. After some research i found this
http://stackoverflow.com/questions/10334909/associate-a-custom-user-agent-to-a-specific-google-chrome-page-tab/10339902#10339902
so that's what i ended up implementing and it works

I promise i won't do this again, I added another thing on top of the original PR.
Issue #398

it's ok to put multiple things into one pull request. With clean code it's really easy to review and merge.
Thank you for your contribution.

@IndrekV It's good to know and you're welcome


Calling S2D_DrawText in render() displays corrupted text

Hi,
This may be expected behaviour and I'm just using this wrong, so please forgive me if I'm just being a noob. :)
So, I create a new text object in my constructor using S2D_CreateText for use as a timer.  In my update() method I snprintf a counter into a string and use S2D_SetText on my object to change the text (once per second), and in my render() method I call S2D_DrawText on the object.
This causes the text to become corrupted.
If I move the S2D_SetText into the render() method then all is fine.  Is this how it's supposed work?  or should I be able to set the text elsewhere and then keep rendering it over and over?
Many thanks.

Hi @valtonia, yes, that's how I intended for it to be used. In reality, I doesn't (or shouldn't) matter where you call S2D_SetText. Given that the render() function might be skipped if a cycle of the window loop is long (reducing the framerate), setting the text in update() might be preferred.
I did a little test moving around S2D_SetText to see if I could reproduce what you're describing, but wasn't able to. Do you have a code snippet you could share? Also helpful would be what OS you're on and terminal output of the snipped with S2D_Diagnostics(true); in there before you create the window. Thanks!

Hi, thanks for trying.  I tried to put my code back as it was with S2D_SetText  in the update() method, but I also couldn't reproduce the problem.  Perhaps it was something else causing it?, but at the time I could reproduce it by moving the call between update() and render().
I'll keep an eye on it (I'm still in the quite early stages of game dev) and let you know if it happens again.  Just for information: I'm using Win10 64-bit and the vera.ttf font - pretty much as per the example in the documentation.
Many thanks.

Hmm, could have been any number of things. I do remember fixing a bug related to the order of S2D_SetText/DrawText — maybe there's still an edge case lingering. Oh well, we'll keep a lookout for funky text textures. Thanks.


GlobalMinPool layers

I noticed that there are Max and Avg global pool layers but no Min. So here are their implementations.

Could you mention the paper these layers were introduced in? And if they are available in pytorch or tensorflow?
Also, since the layer itself does mostly look like a wrapper,  we also have a function layer which is used in situations like these.

LGTM, after the indentation. But I'm still not entirely sold if we need a global min pooling layer or not. Maybe @dan-zheng or @eaplatanios can comment on that.

I can see that there is no GlobalMinPool in Python TF either. Is there a reason for that? I came across it while implementing https://ttic.uchicago.edu/~kgimpel/papers/he+etal.emnlp15.pdf, also, if there is layer for Avg and Max, why not Min?

Since the most common activation function is relu, a Global Min Pooling layer would most likely yield a tensor full of 0s which might not be useful.

Since the most common activation function is relu, a Global Min Pooling layer would most likely yield a tensor full of 0s which might not be useful.

That's actually a great point that I overlooked. I think @Shashi456 hinted at the same earlier.
(Global) max/average pooling layers seem standard in Keras/PyTorch, but I didn't find any mentions of min pooling layers.
@kongzii: I wonder if you had use cases in mind for min pooling layers? If not, let's close this issue.


Unable to add API specific policy using YAML format via Publisher REST API

Description
Unable to add an API specific policy through the publisher rest api as provided in the documentation[1] when using YAML format.
[1].https://apim.docs.wso2.com/en/latest/reference/product-apis/publisher-apis/publisher-v3/publisher-v3/#tag/API-Operation-Policies/operation/addAPISpecificOperationPolicy
Steps to Reproduce
Start APIM Server.
Create an API.
Try to add the policy as below for the API_ID using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>, policy spec file in YAML.
curl -k -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8" -H "Content-Type: multipart/form-data" -F<EMAIL_ADDRESS>-F<EMAIL_ADDRESS>"https://<IP_ADDRESS>:9443/api/am/publisher/v3/apis/96077508-fd01-4fae-bc64-5de0e2baf43c/operation-policies"
Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Need to merge the public fix: https://github.com/wso2/product-apim/pull/13191


Automatic generation of documentation within CI

We should automatically update documentation so that it is in sync with the master branch. This can be done within CI.

Closed with #12


[Feature]: Developer can cf create-space

Blockers/Dependencies

cloudfoundry/cf-k8s-api#61
cloudfoundry/cf-k8s-controllers#166
cloudfoundry/cf-k8s-controllers#160

Background
As a developer
I want to create a space using the cf CLI
And automatically become a SpaceManager and SpaceDeveloper for the new space
So that I can manage apps in my space
Acceptance Criteria
GIVEN a cf-k8s-api instance exists
AND an organization exists
AND I have targeted the org with cf target -o <org-name>
WHEN I run cf create-space <space-name>
AND cf spaces
THEN I see the created space in the list
GIVEN a cf-k8s-api instance exists
AND an organization exists
WHEN I run cf create-space -o <org-name> <space-name>
AND cf target -o <org-name>
AND cf spaces
THEN I see the created space in the list
Dev Notes

The CLI will try to assign the OrgUser, SpaceManager and SpaceDeveloper roles to the user creating the space. This will in turn need a valid username returned by the CurrentUser() method in Config. This in turn will need a /whoami enpoint. We have discussed these things here and here.

See commit above https://github.com/eirini-forks/cli/commit/190558df25c702fee15619542c18d3b77df51f13. This has passing tests.
I've changed the cmd.Config.CurrentUser() call to cmd.Actor.GetCurrentUser() in the v7 create_space_command, to get the self-contained integration test passing. It remains to change all ~150 invocations of Config.CurrentUser() to the actor variant in the other commands. This will mainly have the effect of showing the current k8s username in the output of the command.
It also remains to build the /whoami endpoint in the API.

PR in the CLI repo here: https://github.com/eirini-forks/cli/pull/9


Add HPX inspect tool

This patch proposes to add a fork of the Boost inspect tool to HPX. It also enables running this tool on all of the HPX' source code tree during each CircleCI build. This will ensure that a CircleCI build will fail if one or more of the rules are violated which are currently checked by the tool.
The following things have been modified from the Boost version of the inspect tool:

Overhauled the command line handling, as a consequence the HPX inspect command line options differ from the original tool (see below for the new options)
Added the ability to write the report to a file (--output=<file> option)
Changed the tool's tags from boost-no-inspect to hpx-no-inspect

This patch also fixes (or suppresses) all reported violations in the HPX source code base.
Here is the output of invoking inpect --help:
Usage: inspect [dir [dir ...]] [options]:
  -h [ --help ]                 print some command line help
  -o [ --output ] arg           the filename to write the output to
  -t [ --text ]                 write a text file (default: html)
  -b [ --brief ]                write a short report only (default:
                                comprehensive)
  --license [=arg(=0)]          check for license violations (default: off)
  --copyright [=arg(=0)]        check for copyright violations (default: off)
  --crlf [=arg(=0)]             check for crlf (line endings) violations
                                (default: off)
  --end [=arg(=0)]              check for missing newline at end of file
                                violations (default: off)
  --link [=arg(=0)]             check for unlinked files violations (default:
                                off)
  --path_name [=arg(=0)]        check for path name violations (default: off)
  --tab [=arg(=0)]              check for tab violations (default: off)
  --ascii [=arg(=0)]            check for non-ascii character usage violations
                                (default: off)
  --apple_macro [=arg(=0)]      check for apple macro violations (default: off)
  --assert_macro [=arg(=0)]     check for plain assert usage violations
                                (default: off)
  --deprecated_macro [=arg(=0)] check for deprecated macro usage violations
                                (default: off)
  --minmax [=arg(=0)]           check for minmax usage violations (default:
                                off)
  --unnamed [=arg(=0)]          check for unnamed namespace usage violations
                                (default: off)
  -a [ --all ]                  check for all violations (default: no checks
                                are performed)

LGTM


Dependency Check on Python Project

I am reviewing this tool for local setup and next, I will be doing on the Azure Devops pipeline
I have a Python project in my Local PC with the below folder structure and Path:

Now I have run the below command to check
dependency-check.bat --project "12_Keyword Spotting" --scan "C:\2_My_Project"

But I am getting below errors

My  dependency-check-report.html  is not been generated in the python project. Could you please help me with the setup.

Now I have changed my path to the project directory:

No errors or warnings: but still no report file is generated in the folder with dependency-check-report.html

Please see #548. We accept PRs - but currently there is only limited support for Python. See the Python reference here: https://jeremylong.github.io/DependencyCheck/analyzers/index.html
Python is an experimental analyzer that likely needs a complete overhaul and add support for requirements.txt per #548.

Also - in terms of the report you likely need to add -o .


JS error on action run page

Description
Bildschirmaufzeichnung vom 2023-09-23, 17-34-22.webm
Switching from an action run page to another page, an error appears saying JavaScript promise rejection: TypeError: t is undefined
Gitea Version
1.21.0-rc0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker-Compose
Database
SQLite

Could you provide more detailed information in the Chrome dev console about where the error occurs?

Need a stack trace and/or screenshot of surrounding code in devtools. You will need to check "Persist Log" in the devtools console so it persists across page reload.
BTW I fixed a similar bug in https://github.com/go-gitea/gitea/pull/26985, but I think this one is different.

That's everything I get. Do you have any other suggestions how to narrow it down?

Click on the index.js link top right, then find the button to pretty-print the source and screenshot that. From the stack trace I can see it happens in loadJob.

BTW I fixed a similar bug in #26985, but I think this one is different.

Because #26985 has bug. You missed a return in the catch

Seems to be exactly where you introduced the fetch wrapper...

Oops, yes that should have a return. The error message is odd but I'm pretty sure the return will fix it and this is a network error you are seeing.


Small fixes as I worked through the sample.

Added a .csproj file and appsettings.json files.
Changed the code so the user doesn't have to set the PORT environment variable to run the app locally.
Changed helloworld-csharp to HelloGKE to make it a little more idiomatic.

Hello Jeffrey,
We ran a test on kubernates and then deleted. Could you please tell us if there any action we must do on our environment?
Please pinpoint me some documents to check if there is any kubernate cluster still running.
Thank you.
Regards,
El 8 ago. 2019 6:52 PM, Jeffrey Rennie<EMAIL_ADDRESS>escribió:
Merged #106 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


is the combo of Wyoming satellite end snapcast client really usable on pi 2w?

Thanks for the tutorial, it works
but it feels like both functionalities are too much for one pi 2w.
streamed audio will randomly break for a few seconds, voice recognition will work multiple times and then suddenly hand (with yellow light on).
The problems seem to be less prominent when one (or the other) is switch off.
did anyone experience such problems too?

I have this setup and it works flawlessly? have you got a busy wifi local network? i found creating another network for IOT devices and snapcast etc... made it function more smoothly as your normal WIFI might be to busy???

bingo! wifi was the problem
for starters my wifi at home is not great
in addition I used USB powered speaker, it looks like it generated heaps of interference.
thank you!


When uploading an app to Jamf, check that the bundle ID matches what is saved

This will avoid apps being uploaded which dont match

Implemented


Question in scm_property.py Line 290

Hi Francesco,
I have questions about the code in line 290 of scm_property.py, and I think that X[t] += linear_coeffs[k] * X[t - k] should be replaced with X[t] += linear_coeffs[k] * X[t - k - 1], which feels more reasonable. Looking forward to your reply.
https://github.com/francescomontagna/causally/blob/18bce4ca19c96dbeb402d28c95829373b51d4ad3/causally/scm/scm_property.py#L290

Hi @huiyang-yi, you are right! thanks so much for pointing that out. I will fix it asap and keep you posted here.


Logitech shifter

how are you capturing the joystick event to see the code need for the ini?

Sorry just reread the readme. going to try to  add key press in the g hub for now


Can't install newer verisons

I'm running version 3.7.5 because every version after that gives me an error code that I'm trying to install the wrong version of OotD - e.g. 32 bit OotD with 64 bit Outlook or vice versa...however there's now only one version of OotD which supposedly contains both 32 bit and 64 bit. My outlook is 64 bit. I'd love to upgrade to the latest version, but it will not let me!

I'm running version 3.7.5 because every version after that gives me an error code that I'm trying to install the wrong version of OotD - e.g. 32 bit OotD with 64 bit Outlook or vice versa...however there's now only one version of OotD which supposedly contains both 32 bit and 64 bit.  My outlook is 64 bit.  I'd love to upgrade to the latest version, but it will not let me!

I'm running version 3.7.5 because every version after that gives me an error code that I'm trying to install the wrong version of OotD - e.g. 32 bit OotD with 64 bit Outlook or vice versa...however there's now only one version of OotD which supposedly contains both 32 bit and 64 bit.  My outlook is 64 bit.  I'd love to upgrade to the latest version, but it will not let me!

This is the error I get when trying to install any version post 3.7.5

This is the error I get when trying to install any version post 3.7.5

Sorry for the late reply, if you're still facing this issue, could you upload the log file here?  It should be in C:\Program Files (x86)\Outlook on the Desktop\logs

Hi Michael – I just tried installing <IP_ADDRESS> and I continue to get the same error:
I have the 64-bit Office installed.  The last version that I could get to work (and still use) is <IP_ADDRESS>.  I’ve attached the log file as you requested.
Thanks!
Gary
From: Michael Scrivo @.***
Sent: Saturday, June 19, 2021 1:11 PM
To: mscrivo/OotD
Cc: cgr6513; Author
Subject: Re: [mscrivo/OotD] Can't install newer verisons (#160)
Sorry for the late reply, if you're still facing this issue, could you upload the log file here? It should be in C:\Program Files (x86)\Outlook on the Desktop\logs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mscrivo/OotD/issues/160#issuecomment-864437534 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMI4OPWSYYFF2UODXGICWNTTTTFQVANCNFSM4WNPIUTQ .  https://github.com/notifications/beacon/AMI4OPUZDFSFWGTESOVRRBDTTTFQVA5CNFSM4WNPIUT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGODEKHQ.gif

I do not see the log file, I think you might have to attach it directly to this issue via your web browser.

2021-06-19.log

Ok…it’s attached to the issue on GitHub
From: Michael Scrivo @.***
Sent: Saturday, June 19, 2021 2:24 PM
To: mscrivo/OotD
Cc: cgr6513; Author
Subject: Re: [mscrivo/OotD] Can't install newer verisons (#160)
I do not see the log file, I think you might have to attach it directly to this issue via your web browser.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mscrivo/OotD/issues/160#issuecomment-864445844 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMI4OPWHLZZJCSKTENEV4STTTTOFJANCNFSM4WNPIUTQ .  https://github.com/notifications/beacon/AMI4OPRFWJOKW4XQQNYDEFDTTTOFJA5CNFSM4WNPIUT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGODGLFA.gif

Interesting, thanks!  If you've got a moment, can you take a screenshot of the version information from inside Outlook itself?
Looks something like this:

See jpg here and on Github.
Gary
From: Michael Scrivo @.***
Sent: Saturday, June 19, 2021 3:24 PM
To: mscrivo/OotD
Cc: cgr6513; Author
Subject: Re: [mscrivo/OotD] Can't install newer verisons (#160)
Interesting, thanks! If you've got a moment, can you take a screenshot of the version information from inside Outlook itself?
Looks something like this:
https://user-images.githubusercontent.com/275524/122653417-4a3c1480-d112-11eb-8c29-5518206f1a9c.png image
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mscrivo/OotD/issues/160#issuecomment-864452813 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMI4OPROSCMMRS32HYK3UD3TTTVDXANCNFSM4WNPIUTQ .  https://github.com/notifications/beacon/AMI4OPQHBFEPCCE64LTF2UDTTTVDXA5CNFSM4WNPIUT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGODIBTI.gif

Great, thanks! I'll have to see if I can reproduce it with Office 2010. Have you considered upgrading? that's quite old :)

The functionality I use in outlook, excel and word is there in 2010 so I haven’t seen the need to spend more money so long as it continues to work. I appreciate your efforts.   OotD is a great program. I have my iCloud calendar always in front of me when working on the PC.
Thanks again.
I noticed in the log file that something is showing as  or registered.  If there’s a specific dll that I need to register,I can try doing that.
Sent from GDR’s iPhone 12 Pro

On Jun 19, 2021, at 3:35 PM, Michael Scrivo @.***> wrote:

Great, thanks! I'll have to see if I can reproduce it with Office 2010. Have you considered upgrading? that's quite old :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yeah that means something's not right with your outlook installation, but unfortunately, no idea how to fix it.
Office 2010 support ended in 2020, so I can't even find ISO's from Microsoft to install it anymore. Unfortunately, I don't think I will be able to help.

Ok. Thx. I suppose I could try to reinstall outlook.
Sent from GDR’s iPhone 12 Pro

On Jun 19, 2021, at 5:07 PM, Michael Scrivo @.***> wrote:

Yeah that means something's not right with your outlook installation, but unfortunately, no idea how to fix it.
Office 2010 support ended in 2020, so I can't even find ISO's from Microsoft to install it anymore. Unfortunately, I don't think I will be able to help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Great news, Michael!  I ran the repair on Microsoft Office and then did the update to OotD and it now works!
Here’s the log file if you’re interested….but all seems well.  Thanks again for a great program!
Gary
2021-06-19.log

Glad to hear it!

Well…I rebooted today and back came the wrong version 32/64 bit error message.  Had to delete ootd and reinstall version 3.75.   I guess I’ll have to continue to live with it until I update Outlook…just wanted to let you know.
From: Michael Scrivo @.***
Sent: Saturday, June 19, 2021 5:07 PM
To: mscrivo/OotD
Cc: cgr6513; Author
Subject: Re: [mscrivo/OotD] Can't install newer verisons (#160)
Yeah that means something's not right with your outlook installation, but unfortunately, no idea how to fix it.
Office 2010 support ended in 2020, so I can't even find ISO's from Microsoft to install it anymore. Unfortunately, I don't think I will be able to help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mscrivo/OotD/issues/160#issuecomment-864463744 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMI4OPV2OTLBCXQLB3DEQT3TTUBIXANCNFSM4WNPIUTQ .  https://github.com/notifications/beacon/AMI4OPTGOIBRS5WLMVVOVI3TTUBIXA5CNFSM4WNPIUT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGODKXAA.gif


Operator modules for common behavior

Design proposal
Library of modules that can be utilized by Operators of other projects to provide common features to all Operators.
Description
Possible modules would be for things such as:

Informing Prometheus about Metrics endpoints, using a Service Monitor definition
Verifying Kubernetes Liveness and Readiness probes are properly defined for Health
Adjusting Fault Tolerance configuration based on observed behavior. Such as scaling instances up if the load is not being handled

It would not be limited to these modules only. As needs arise additional modules would be added when it makes sense for the functionality to be shared.
WildFly has an Operator that might cover some of this, now or in the future. Would be preferable to have these modules usable by WildFly Operator, https://github.com/smallrye/smallrye-parent/issues/126, or any other Java runtime operator.
One decision to make is around language. Would these modules be in GoLang, or Java (using Quarkus to build to native)?
Dates
Proposal submitted: 2020-09-24
Bake time end: 2020-09-29 (2 working days)
Reviewers
All

Hopefully, we'll be able to revive this work soon now that the quarkus-operator-sdk extension is off the ground.


Autograph crashes when using pythonw.exe on Windows

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
2.8.0
Custom Code
No
OS Platform and Distribution
Windows
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
When using pythonw.exe, if local sources are not available, (e.g. only .pyc files are available), autograph causes a crash by trying to flush sys.stdout.
https://github.com/tensorflow/tensorflow/blob/f39905619ddf75b31e209264673f76ac2c72030e/tensorflow/python/autograph/core/ag_ctx.py#L100-L105
If the source code to Autograph itself isn't available, it emits this warning using ag_logging.warning:
https://github.com/tensorflow/tensorflow/blob/f39905619ddf75b31e209264673f76ac2c72030e/tensorflow/python/autograph/utils/ag_logging.py#L141-L145
For some reason, warning() is different than any of the other emitters and flushes the stream.  But when running in pythonw.exe, sys.stdout is None.  It checks for this using echo_log_to_stdout to ensure that it doesn't write to stdout, but then immediately tries to flush it.
This can be remediated to indenting the call to sys.stdout.flush() to inside the if echo_log_to_stdout: check.
Standalone code to reproduce the issue

Create a virtual environment and install TensorFlow
Compile all of your py files in site-packages using the compileall module
Delete py files from your site-packages
Create an example tk-based script or something else that shows a GUI
Import tensorflow in your script and execute it using pythonw.exe and observe the error, which will not fail when running python.exe

Relevant log output
No response

Thanks for the bug, I have created a PR for the same.


Added ArgoCD template for creating seed environment and other helpful components

Refer to overarching component list in #96
I am contributing here

ArgoCD templates for managing seed components
The custom grafana dashboards and alert rules for user-cluster MLA

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes partially #96
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?:

NONE

/assign toschneck

/lgtm

/approve


Initial setup throwing errors

Reproduction
I'm unable to get up-and-running with Remix. Running npx create-remix@latest is failing for me with the following error.
❯ npx create-remix@latest

 remix   v2.5.1 💿 Let's build a better website...

   dir   Where should we create your new project?
         ./test

      ◼  Using basic template See https://remix.run/guides/templates for more
 ██████  Template copying...

      ▲  Oh no! There was a problem extracting the file from the provided template.  Template URL: `https://codeload.github.com/remix-run/remix/tar.gz/main`  Destination directory: `/private/var/folders/z_/y36fvmq542n1qqxyl8hxfpyr0000gn/T/create-remix--jgma3lud`

I tried the npm create variation as well, and these setup instructions on both Node 18 and Node 20.
System Info
System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M2
    Memory: 1.38 GB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 3.6.0 - ~/.nvm/versions/node/v18.16.0/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
    pnpm: 8.6.12 - ~/.nvm/versions/node/v18.16.0/bin/pnpm
  Browsers:
    Chrome: 120.0.6099.234
    Edge: 114.0.1823.43
    Safari: 17.2.1

Used Package Manager
npm
Expected Behavior
I would be able to follow these instructions to set up a new project.
Actual Behavior
It throws the error.

Can you try it again? It works fine for me. I wonder if it was a temporary issue.


Add HSV data augmentation in preprocessing/image.py

This PR adds a HSV data augmentation function to ImageDataGenerator which randomly adjusts the HSV color representation of each image in a batch, as shown below.

Closing outdated PR. If you still care about the content of the PR, please submit a new PR to master, updated for the Keras 2.0 API.


Can't delete the Event Categories

I'm the beginner of this plugin. In fact, I download it yesterday.
I chosen the "Gregorian Calendar" for my first calendar. But there are too many categories for me. So I modified some categories and deleted others.
But, those categories I deleted will come back after the setting page be closed.
Even more, I deleted all events (including those created by author), and categories can still not be deleted.
Is there something fool I did? Or I missed somthing important? Beg for help.

I've had issues with this myself. I currently end up going into the data.json file of the plugin to remove certain things before adding new entries using the plugin, I'd recommend trying this for the time being. It seems there is an issue with the operation that is supposed to remove things like new events and even some stuff like the removal of new days and months. I opened #85 in reference to this as well. Hopefully, one of the contributors who have had more experience with the part of the plugin that controls the read/writes to the data.json can assist with this as I've not had the time to look into it and little I did bore no fruit.


Pass details from request in on-success and on-error

It's often useful to have things like status codes, headers, e.t.c. even in successful responses, e.g. when getting a 201 with a Location header. Currently we only return the body of the response. There's a few things to think about here:

Do we always return the full details, or is it an additional flag?
Do we return the raw Xhr object? They are designed to be reused and recycled, so this could be a problem if we ever did this in the future?
Do we return a map with :response and :xhr, or extract the useful keys from the Xhr and put them in the map?

Indeed that would be needed !
Here are my 2 cents:

Additional flag would allow easier update of the lib when already having lots of code using the default behaviour (although I'm not in that case, I had to build a very tiny wrapper around :http-xhrio)
If we extract useful keys from the Xhr, it does solve the reused Xhr issue right ? Seems like the less deceptive thing to do.

I'm having this issue currently.  Some of the data I need is in response headers.  The third option to provide :xhr as a map of the content :status, :headers, :response, :status.  would solve all of my problems.

Same here

+1 on this, need details inside the http request

Any updates on this?

Please see the "Tip" at the bottom of the README
https://github.com/Day8/re-frame-http-fx#tip

Turns out there are at least four different types of situations in which one may receive a value in an event handler:

:on-success with a body parse error
:on-success with a parsable body
:on-failure with a body parse error
:on-failure with a parsable body

Up to now the behavior has been:

None received headers.
Only (2.) does not receive status. It is just the body itself.
(3.) has a weird bug where it replaces the HTTP status text with the parse error text.

To fix this properly to return a uniform value a breaking change is needed. The value will always be a map of the shape:
{:uri ""
 :last-method ""
 :headers {:location ""}
 :status 201
 :status-text ""
 :response {:answer 42}}

0.2.0 will be released with :http-xhrio deprecated and a new fx handler called :http/req.
Other new fx handlers will be added for :http/defaults (#32 / #4) and :http/abort (#3).

0.2.0 and 0.2.1 seem to be released, but somewhat confusingly the 0.2.0 goal is still open, so this one hasn't made it to release either.

@hoxu Thanks for pointing out the inaccuracy with milestones vs actual releases. I have fixed that.
Initial intent was to release this and some other changes as 0.2.0 but we ended up doing a lot of work on experimental alternatives re-frame-http-fx-alpha / http-fx-alpha-example and the simpler spin off from that work re-frame-fetch-fx.
None of those are canonical re-frame replacements for this project yet.
http-fx-alpha is what it says in the name, a bigger experiment for which we have not fully resolved some design problems such as how to handle state machines or behavior trees in re-frame in general.
fetch-fx is the modern js/fetch only work pulled out of http-fx-alpha without all the experimental other new ideas like state machines, so its very stable today as long as the browser has js/fetch support but not an officially blessed API as the future of re-frame's official offerings.
Lastly, we're not working on this project here at the moment, but I will look at and might accept pull requests that don't break backwards compatibility.

Ther is a way to pass through the repsonse headers. For that you'll need to write a custom response-format:
...
:http-xhrio {... :response-format {:read (fn [xhrio] {:body a-fn-to-obtain-the-body :headers a-fn-to-obtain-some-headers})} ...}
...

You can look at ajax.json/make-json-response-format for an example of :read fn. To get a header you can use ajax.protocols/-get-response-header for instance.
If the call succeeds you should get a map corresponding to what returned the fn you declared in :read.
I know this is not the easiest implementation ever but it does the trick.
I also used it to set custom request parameters like responseType and such:
(defn array-buffer-response-format
  []
  {:type "arraybuffer"
   :read (fn [xhrio] {:array-buffer (-body xhrio)
                      :content-disposition (-get-response-header xhrio "Content-Disposition")})})

I hope this can help.

boy is it hard to get headers from a response
I bumped onto this chat after I kept getting a Refused to get unsafe header error

boy is it hard to get headers from a response
I bumped onto this chat after I kept getting a Refused to get unsafe header error

Following the above comment carefully, I now see how to get the headers

FYI, some relevant discussion on Clojurian's Slack.  The conclusion was that one should probably opt for re-frame-fetch-fx over re-frame-http-fx these days.


Disable deprecated QUnit global methods

So as to prevent any accidental backsliding on QUnit v2 readiness in the future.
Okay with you, @hnrch02 ?

Fine by me.


Translation to Spanish

I would like to translate some tutorial to Spanish. I expect you could give me some feedback about this.
Thank you.
By the way awesome work

Thank you!

El 05/02/2016, a las 10:03 a.m., Ron Reiter<EMAIL_ADDRESS>escribió:
Closed #38.
—
Reply to this email directly or view it on GitHub.


lock url to 2.5.0

Description of changes
Fixes cargo-deny CI failure while we sort out license details
Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[ ] A change "invisible" to users (e.g., documentation, changes to "internal" crates like cedar-policy-core, cedar-validator, etc.)

I confirm that this PR (choose one, and delete the other options):

[ ] Does not update the CHANGELOG because my change does not significantly impact released code.

I confirm that cedar-spec (choose one, and delete the other options):

[ ] Does not require updates because my change does not impact the Cedar formal model or DRT infrastructure.

Can we backport this change, at least to 3.2.x?

Cherry-pick is #990


Index out of bounds panic in cargo doc --open when building crate with no documentation

Problem
cargo doc --open panics when ran in a crate without any crates with documentation.
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/tools/cargo/src/cargo/ops/cargo_doc.rs:23:21
stack backtrace:
   0: rust_begin_unwind
             at /rustc/928783de663bd855a96f14b2d38c1061603587c6/library/std/src/panicking.rs:498:5
   1: core::panicking::panic_fmt
             at /rustc/928783de663bd855a96f14b2d38c1061603587c6/library/core/src/panicking.rs:107:14
   2: core::panicking::panic_bounds_check
             at /rustc/928783de663bd855a96f14b2d38c1061603587c6/library/core/src/panicking.rs:75:5
   3: cargo::ops::cargo_doc::doc
   4: cargo::commands::doc::exec
   5: cargo::cli::execute_subcommand
   6: cargo::cli::main
   7: cargo::main

Steps

Make a crate with cargo init --lib
Add the following to the Cargo.toml

[lib]
doc = false

Run cargo doc --open

Possible Solution(s)
Cargo doc should print an error about not having any crates with documentation
Notes
It also errors with a crate with a binary with no docs, but I assume fixing one will fix the other.
Version
cargo 1.58.0-nightly (40dc28175 2021-12-06)
release: 1.58.0
commit-hash: 40dc281755137ee804bc9b3b08e782773b726e44
commit-date: 2021-12-06
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1l)
os: Arch Linux Rolling Release [64-bit]

Indeed https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_doc.rs#L23 should probably be a get that converts None to an error message.

@rustbot claim


Ping Pong Test is not repeatable

The Ping Pong test fails when there is an initial balance different from zero. If one doesn't manage to restart nightfall-client and remove the volumes, the test will not pass.

Dropped because this is happened only casually to me and I didn't experienced it anymore.

Dropped because this is happened only casually to me and I didn't experienced it anymore.


implement Debug for ErrorKind

Closes #102

Clippy stuff is fixed in https://github.com/uutils/uutils-args/pull/110, because it was relevant there


Add handling of sources list returned by the frontend server compiler.

This is a prerequisite for removing analyzer that is currently used to produce that list.
This needs to land when https://dart-review.googlesource.com/c/sdk/+/95920 rolls into flutter/engine and that engine is rolled into flutter/flutter.

@bkonyi for your reference - this is content of the dart sdk flutter-engine patch.

I believe this already landed separately, so I'm closing this PR


Top links of Bluesky

What if there was an alternative feed of links, which instead of listing manually added links, it listed the top 10 links on all of Bluesky in the last 48hrs?
This would essentially be cross-posting in reverse.
Roughly like this:

Find top 10 most liked posts with link(s) on Bluesky posted within the last 48hrs
Cross-post those links on Frontpage

Wouldn’t have to implement the full cross-post RFC to begin with; just seeing the network-wide top links would be really cool for a start.

I've been thinking about something similar: after a link is posted to Frontpage, show Bluesky threads alongside the frontpage conversation. Essentially retro-actively enable cross posting for those threads.

This might work well when we introduce communities. Could be an automated "top of bsky today" community that injests these automatically.
It kind of goes against the philosophy of upvotes though unless you get a big collection of them that people can vote on. Although I suppose different communities may want to function differently and just having a daily top news like community where people comment on posts would is fine.


posix: clock_settime calculates the base time incorrectly

If you call clock_settime twice with the same non-zero value appears to reset the clock back to 0. I've that disovered that it's caused by clock_settime performing its internal calculation incorrectly when updating the clock base. I have submitted a pull request which contains some further explanation and a fix #16040.
To Reproduce

Build and run the following program in QEMU (although it should affect any target). Disclaimer: I don't have a development environment nearby to test it, so it may contain a typo.

#include <zephyr.h>
#include <posix/time.h>
#include <misc/printk.h>

void main(void)
{
	struct timespec target;
	struct timespec actual;

	target.tv_sec = 1000000;
	target.tv_nsec = 0;

	printk("clock_settime to %d\n", target->tv_sec);
	clock_settime(CLOCK_REALTIME, &target);
	clock_gettime(CLOCK_REALTIME, &actual);
	printk("clock_gettime returned %d\n", actual->tv_sec);

	printk("clock_settime to %d\n", target->tv_sec);
	clock_settime(CLOCK_REALTIME, &target);
	clock_gettime(CLOCK_REALTIME, &actual);
	printk("clock_gettime returned %d\n", actual->tv_sec);
}

Observe that the last printed line shows a time close to 0 when something close to the target of 1000000 is expected.

@alexanderendian thanks for submitting this issue.

I just bumped into this, too.  Fix is just to use CLOCK_MONOTONIC when getting the base reference inside clock_settime.


[SPARK-29341][Python] Upgrade cloudpickle to 1.0.0

What changes were proposed in this pull request?

This patch upgrades cloudpickle to 1.0.0 version.
Main changes:

cleanup unused functions: https://github.com/cloudpipe/cloudpickle/commit/936f16fac89986453c4bb3a4af9f04da16d30a9a
Fix relative imports inside function body: https://github.com/cloudpipe/cloudpickle/commit/31ecdd6f57c6013a1affb21f69e86e638f463710
Write kw only arguments to pickle: https://github.com/cloudpipe/cloudpickle/commit/6cb47185284548d5706beccd69f172586d127502

Why are the changes needed?

We should include new bug fix like https://github.com/cloudpipe/cloudpickle/commit/6cb47185284548d5706beccd69f172586d127502, because users might use such python function in PySpark.
>>> def f(a, *, b=1):
...   return a + b
...
>>> rdd = sc.parallelize([1, 2, 3])
>>> rdd.map(f).collect()
[Stage 0:>                                                        (0 + 12) / 12]19/10/03 00:42:24 ERROR Executor: Exception in task 3.0 in stage 0.0 (TID 3)
org.apache.spark.api.python.PythonException: Traceback (most recent call last):
  File "/spark/python/lib/pyspark.zip/pyspark/worker.py", line 598, in main
    process()
  File "/spark/python/lib/pyspark.zip/pyspark/worker.py", line 590, in process
    serializer.dump_stream(out_iter, outfile)
  File "/spark/python/lib/pyspark.zip/pyspark/serializers.py", line 513, in dump_stream
    vs = list(itertools.islice(iterator, batch))
  File "/spark/python/lib/pyspark.zip/pyspark/util.py", line 99, in wrapper
    return f(*args, **kwargs)
TypeError: f() missing 1 required keyword-only argument: 'b'

After:
>>> def f(a, *, b=1):
...   return a + b
...
>>> rdd = sc.parallelize([1, 2, 3])
>>> rdd.map(f).collect()
[2, 3, 4]

Does this PR introduce any user-facing change?

Yes. This fixes two bugs when pickling Python functions.
How was this patch tested?

Existing tests.

Test build #111726 has started for PR 26009 at commit 496660b.

Merged build finished. Test PASSed.

Test build #111726 has finished for PR 26009 at commit 496660b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111726/
Test PASSed.

cc @HyukjinKwon

Merged to master.

What version of PySpark was this fix made available in?  Looking at the release dates, I would think 2.4.5  released on Feb 6, 2020.  Can someone confirm?
I'm running on spark 2.4.7 and am still seeing the issue reported in SOF here.
I see _pickle.PicklingError: Could not serialize object: TypeError: can't pickle _abc_data objects.
Is this something that is supposed to have been fixed by this commit?


Support for "preset" and "env" in task provider

feature-request: https://github.com/microsoft/vscode-cmake-tools/issues/2553
bug fix: CMake install does not run in terminal as a task
sample:
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "cmake",
			"label": "1CMake build with presets",
			"command": "build",
			"targets": [
				"main"
			],
			"preset": "${command:cmake.activeBuildPresetName}",
			"options": {
				"cwd": "${command:cmake.buildDirectory}"
			},
			"dependsOn": [
				"1CMake configure with presets"
			],
			"detail": "CMake build with presets"
		},
		{
			"type": "cmake",
			"label": "1CMake configure with presets",
			"command": "configure",
			"preset": "${command:cmake.activeConfigurePresetName}",
			"options": {
				"cwd": "${workspaceFolder}/"
			},
			"detail": "CMake configure with presets"
		},
		{
			"type": "cmake",
			"label": "2CMake build without presets",
			"command": "build",
			"targets": [
				"main"
			],
			"options": {
				"cwd": "${command:cmake.buildDirectory}"
			},
			"group": "build",
			"problemMatcher": [],
			"dependsOn": [
				"2CMake configure without presets"
			],
			"detail": "CMake build without presets"
		},
		{
			"type": "cmake",
			"label": "2CMake configure without presets",
			"command": "configure",
			"options": {
				"cwd": "${command:cmake.buildDirectory}"
			},
			"problemMatcher": [],
			"detail": "CMake configure without presets"
		}
	]
}

"__metadata": {

This property should be removed from package.json

Refers to: package.json:2153 in 5602eb6. [](commit_id = 5602eb6898c42d9a5e4b781852b6961ced7df107, deletion_comment = False)


feat!: Add audio and subtitle stream parsing

Refactor code into common processing for all streams and spezialized functions for audio and video.
Update code examples
Change line breaks in lib.rs to LF
Add handling of streams that contain additional identifiers in square
brackets such as Stream #0:1[0x2](eng):. These are found in mov
containers.

Partly discussed in https://github.com/nathanbabcock/ffmpeg-sidecar/issues/49

I'm fine with u32 instead of usize across the board. On a related note maybe it's better to prefer vec.get(i) over vec[i] which seems to do an implicit unwrap().
input_index would be a good name instead of parent_index but this number could correspond to either an input OR an output (depending on which list/event it's contained inside). The umbrella term "parent" isn't ideal but I can't think of what else to name it.
I'm agnostic as to video_metadata() vs video_data(), I think both are clear enough in context.
Agreed that TypeSpecificData sounds a bit too vague for a public export. I think all it needs is the word Stream in there somewhere. Maybe StreamTypeData or StreamTypeMetadata, something like that.


URLs are changing in April 2022

We received email from Microsoft to no longer use the URLs on this page as they would be changing soon. This page should reflect the most recent recomendations.

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

ID: 524e47b0-1295-7d07-0cbc-86e6daaa1358
Version Independent ID: 1cb3a5d8-4f16-583c-ad85-325f7638a873
Content: Connect to Azure Virtual Desktop with the Windows Desktop client - Azure
Content Source: articles/virtual-desktop/user-documentation/connect-windows-7-10.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi, @NickDorak. I've confirmed with the team that the change only applies to the Azure Virtual Desktop web client, not the Windows Desktop client.

#please-close


Add example packages using v1alpha2 schema

We need couple of examples in package-examples in next using the new schema.

@frankfarzan let me know if just having our current examples is not sufficient.

I am just going to go ahead and use this issue for moving the current examples and from there we can figure out what we want to do to add to the current example coverage.


Fix typing for DGL 2.0

Fixes #78
I'm pretty sure this is a result of DGL updating to 2.0 -- first step is reproduction.
Changes made in this Pull Request:

PR Checklist

[ ] Tests?
[ ] Docs?
[ ] CHANGELOG updated?
[ ] Issue raised/referenced?

Codecov Report

Merging #79 (7e8e335) into main (fd2d78f) will decrease coverage by 14.61%.
The diff coverage is n/a.

Additional details and impacted files


Bump dependencies

In preparation to the next release we're going to bump some deps such as various cloud SDKs we can test i.e. AWS, Google Cloud, etc.
NOTE: I'd LOVE to bump the Azure packages, but I've no way of verifying if the new versions worked with this repo; for AWS we have integration tests and for Google I test it manually on my GCP account against a GCS bucket. I've never used Azure and I'd like to avoid releasing something that's not proven to work 😞

NOTE: I'd LOVE to bump the Azure packages, but I've no way of verifying if the new versions worked with this repo

@cpuguy83 do you have recommendations here, or know someone who's able to help?

Anything else that needs addressing in this PR @thaJeztah ?

Can you squash the last two commits? We can probably do the remaining OTEL ones separately.

@thaJeztah commits, squashed, wanna give this another look?

Lgtm. I would bump Azure too, this is an RC after all.


Fixed open empty editor on start bug (issue #10623)

There seems to be a lot of confusion about the function of the "Open Empty Editor On Start" option in the settings. From what I was able to tell the intent of the option was to open a new blank file for editing if when Atom starts if there are no files open. In my build of the current master branch this option has no effect. I have modified the function according to these assumptions. Because many people expected this option to open Atom with all previously open files closed. With this demand in mind I made a new menu option for this feature. It works by closing all files that were to be reopened upon launching Atom. When Atom is closed is stores even the unsaved buffers, so on launch with this option checked it will still ask the user if they would like to save the file.
Here is a link to a screen capture to demonstrate the way the bug fix and new feature work: https://youtu.be/JCFOm3LdLoU

Fixed the style problem that caused the check to fail the last commit

Hey @50Wliu et al, is there anything else needed for this to be accepted aside from fixing the failing spec?

@seanknox Someone from the Atom team with experience with this section of the codebase needs to review it.  The team is currently understaffed though so PRs may take some time to get to.

Hey @Persing, I know this has been open for a long time. The feature you are describing on your PR is currently available on the latest release. It was probably fixed a while back. For that reason am going to close this. Let me know in case I misunderstood your proposals on this PR.


[DPG] Add service driven evolution documentation

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

@lirenhe, who is working on this PR now?

@annelo-msft,  @pshao25 will continue working on it. Thanks

/check-enforcer override


[WIP] Channel UI tweaks

Not sure if tests are supposed to pass?

FYI for js-ipfs 0.13 to work i had to disable the cat tests in OrbitDB.js. Not sure if that's even needed anymore because ipfs.cat is an alias for ipfs.files.cat.
const readNetworkInfo = (hash) => {
  return new Promise((resolve, reject) => {
    // catFromJsIpfsApi(hash).then(resolve)
    //   .catch((e) => {
    //     catFromJsIpfs(hash).then(resolve)
    //       .catch((e) => {
            logger.warn(".cat - no api or content found, using mock")
            resolve(JSON.stringify({
              // name: 'localhost dev network',
              name: 'Orbit DEV Network',
              // publishers: ['localhost:3333']
              publishers: ['<IP_ADDRESS>:3333']
            }));
    //     });
    // });
  });
};

@claus Really good work so far!
I won't be able to review this until next week but will come back to you with feedback and comments.

There are some things to address in the PR, mainly the file catting part and some stylistics things.
The tests are not supposed to pass in client/tests.

Had to resolve a bunch of conflict with recent changes, so I merged your branch with another and PRed that one. Closing this one, but the changes made here are in master now.


Ports not being converted correctly to CommonSpec

Do you want to request a feature or report a bug?

[ ] feature request
[X] bug report

Please provide a sample input docker run command
version: "3"
services:

  redis:
    image: redis:alpine
    ports:
      - "6379"
    networks:
      - frontend
    deploy:
      replicas: 2
      update_config:
        parallelism: 2
        delay: 10s
      restart_policy:
        condition: on-failure

  db:
    image: postgres:9.4
    volumes:
      - db-data:/var/lib/postgresql/data
    networks:
      - backend
    deploy:
      placement:
        constraints: [node.role == manager]

  vote:
    image: dockersamples/examplevotingapp_vote:before
    ports:
      - 5000:80
    networks:
      - frontend
    depends_on:
      - redis
    deploy:
      replicas: 2
      update_config:
        parallelism: 2
      restart_policy:
        condition: on-failure

  result:
    image: dockersamples/examplevotingapp_result:before
    ports:
      - 5001:80
    networks:
      - backend
    depends_on:
      - db
    deploy:
      replicas: 1
      update_config:
        parallelism: 2
        delay: 10s
      restart_policy:
        condition: on-failure

  worker:
    image: dockersamples/examplevotingapp_worker
    networks:
      - frontend
      - backend
    deploy:
      mode: replicated
      replicas: 1
      labels: [APP=VOTING]
      restart_policy:
        condition: on-failure
        delay: 10s
        max_attempts: 3
        window: 120s
      placement:
        constraints: [node.role == manager]

  visualizer:
    image: dockersamples/visualizer:stable
    ports:
      - "8080:8080"
    stop_grace_period: 1m30s
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"
    deploy:
      placement:
        constraints: [node.role == manager]

networks:
  frontend:
  backend:

volumes:
  db-data:

What is the current output?*
name: <your project name>
services:
    redis:
        image: redis:alpine
        ports:
            - "6379"
        networks:
            - frontend
        deploy:
            replicas: 2
            update_config:
                parallelism: 2
                delay: 10s
            restart_policy:
                condition: on-failure
    db:
        image: postgres:9.4
        volumes:
            - db-data:/var/lib/postgresql/data
        networks:
            - backend
        deploy:
            placement:
                constraints:
                    - node.role == manager
    vote:
        image: dockersamples/examplevotingapp_vote:before
        ports:
            - 5000:80
        networks:
            - frontend
        depends_on:
            - redis
        deploy:
            replicas: 2
            update_config:
                parallelism: 2
            restart_policy:
                condition: on-failure
    result:
        image: dockersamples/examplevotingapp_result:before
        ports:
            - 5001:80
        networks:
            - backend
        depends_on:
            - db
        deploy:
            replicas: 1
            update_config:
                parallelism: 2
                delay: 10s
            restart_policy:
                condition: on-failure
    worker:
        image: dockersamples/examplevotingapp_worker
        networks:
            - frontend
            - backend
        deploy:
            mode: replicated
            replicas: 1
            labels:
                - APP=VOTING
            restart_policy:
                condition: on-failure
                delay: 10s
                max_attempts: 3
                window: 120s
            placement:
                constraints:
                    - node.role == manager
    visualizer:
        image: dockersamples/visualizer:stable
        ports:
            - 8080:8080
        stop_grace_period: 1m30s
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
        deploy:
            placement:
                constraints:
                    - node.role == manager
networks:
    frontend:
    backend:
volumes:
    db-data:

What is the expected/desired output?
name: untitledfolder
services:
  db:
    deploy:
      placement:
        constraints:
        - node.role == manager
    image: postgres:9.4
    networks:
      backend: null
    volumes:
    - type: volume
      source: db-data
      target: /var/lib/postgresql/data
      volume: {}
  redis:
    deploy:
      replicas: 2
      update_config:
        parallelism: 2
        delay: 10s
      restart_policy:
        condition: on-failure
    image: redis:alpine
    networks:
      frontend: null
    ports:
    - mode: ingress
      target: 6379
      protocol: tcp
  result:
    depends_on:
      db:
        condition: service_started
    deploy:
      replicas: 1
      update_config:
        parallelism: 2
        delay: 10s
      restart_policy:
        condition: on-failure
    image: dockersamples/examplevotingapp_result:before
    networks:
      backend: null
    ports:
    - mode: ingress
      target: 80
      published: "5001"
      protocol: tcp
  visualizer:
    deploy:
      placement:
        constraints:
        - node.role == manager
    image: dockersamples/visualizer:stable
    networks:
      default: null
    ports:
    - mode: ingress
      target: 8080
      published: "8080"
      protocol: tcp
    stop_grace_period: 1m30s
    volumes:
    - type: bind
      source: /var/run/docker.sock
      target: /var/run/docker.sock
      bind:
        create_host_path: true
  vote:
    depends_on:
      redis:
        condition: service_started
    deploy:
      replicas: 2
      update_config:
        parallelism: 2
      restart_policy:
        condition: on-failure
    image: dockersamples/examplevotingapp_vote:before
    networks:
      frontend: null
    ports:
    - mode: ingress
      target: 80
      published: "5000"
      protocol: tcp
  worker:
    deploy:
      mode: replicated
      replicas: 1
      labels:
        APP: VOTING
      restart_policy:
        condition: on-failure
        delay: 10s
        max_attempts: 3
        window: 2m0s
      placement:
        constraints:
        - node.role == manager
    image: dockersamples/examplevotingapp_worker
    networks:
      backend: null
      frontend: null
networks:
  backend:
    name: untitledfolder_backend
  default:
    name: untitledfolder_default
  frontend:
    name: untitledfolder_frontend
volumes:
  db-data:
    name: untitledfolder_db-data

Are you willing/able to attempt a fix?
Most issues can be trivially addressed by updating this mapping:
https://github.com/magicmark/composeverter/blob/dcae8ace865e2eef69e5bd27c4a9a320f56cac75/packages/composeverter/src/mappings.js#L62-L66

[ ] Is this the case for your issue?
[ ] Would you be able to try? :)

Thanks for following this template and making composeverter better for everyone else too!
Hey, there seems to be an issue with ports not being converted correctly to the new format of CommonSpec, it is not a straight forward format shift, you need to specify direct and target port like in the example.
Otherwise, great job!

This could be used as reference:
https://github.com/docker/compose/blob/main/cmd/compose/config.go

As far, as I see here : https://docs.docker.com/compose/compose-file/05-services/#ports ; short syntax exists in Common Spec, so no translation needed. Also, seems that "ingress" is in swarm mode. By the way could be an option to expand ports (and may be volumes)

https://docs.docker.com/compose/compose-file/05-services/#long-syntax-3
The default convert uses long syntax, which give you more options.
That's what you can see in the converted file.
Also, I guess swarm is also a default of convert, and if we want to give a one to one of the actual command, we might need to replicate that as well.


Figure out a way to implement submodules / apps nicely.

One can leave them in the main repo and include apps on demand (via INSTALLED_APPS maybe), but it would be nice to be able to add them by doing a pip install to keep their development distinct.

One thing to keep in mind is that module/extensions needs to track a core object (Host/Person/etc) and find some way to map from one to the other.

If we expect data in as JSON via REST, could we simplify the registration along the lines of:
name="fleet"
model="host"
url="https://fleet.my.domain/api/v1/fleet/hosts/identifier/{fqdn}"
header="Authorization: Bearer sh...=="
cache_time=300 # seconds
register_extension(name, model, url, header, cache_time)

And we get a table with data akin to:
id | model | extension | hostname | data | fetched
1 | host | fleet | hostname.my.domain | { "host": { "created_at": "2022-11-18T16:13:13Z" ... |<PHONE_NUMBER>

This would make things a lot easier, but searching in the json blob may be challenging?

https://stackoverflow.com/questions/35522446/django-jsonfield-and-searching-through-the-list-of-dictionaries-using-ilike


Black Lines Games

hello, I have a question if it would be possible to fix the problem with black lines in some games but to increase the resolution to, for example, x2 because if it is x1, there are no lines, for example in flatout

If there's a setting that eliminates them, then I can add it to the GameDB. Looking at the (sparse) wiki entries, there doesn't seem to be a definite fix for it: FlatOut & FlatOut 2

there is no black line after using this option


fix(pie-toast): DSW-000 add missing package dependencies

Describe your changes (can list changeset entries if preferable)

[x] Add missing dependencies to pie-toast

Author Checklist (complete before requesting a review)

[x] I have performed a self-review of my code
[x] I have reviewed the PIE Storybook PR preview
[ ] I have reviewed visual test updates properly before approving
[x] If changes will affect consumers of the package, I have created a changeset entry.
[ ] If a changeset file has been created, I have used the /snapit functionality to test my changes in a consuming application

Reviewer checklists (complete before approving)
Reviewer 1

[ ] I have reviewed the PIE Storybook PR preview
[ ] If there are visual test updates, I have reviewed them

Reviewer 2

[ ] I have reviewed the PIE Storybook PR preview
[ ] If there are visual test updates, I have reviewed them

There's a small visual bug in pie-toast but that can be fixed later. This PR has just revealed the issue so I won't fix it here.
https://percy.io/4bc223d1/pie-toast/builds/35625409/changed/1946693405?browser=firefox&browser_ids=47%2C60&group_snapshots_by=similar_diff&subcategories=unreviewed%2Cchanges_requested&viewLayout=overlay&viewMode=new&width=375&widths=375%2C1280
https://percy.io/4bc223d1/pie-toast/builds/35625409/changed/1946693423?browser=firefox&browser_ids=47%2C60&group_snapshots_by=similar_diff&subcategories=unreviewed%2Cchanges_requested&viewLayout=overlay&viewMode=new&width=375&widths=375%2C1280


Overly Permissive RBAC Suggestion for Log Replay Service (LRS)

https://github.com/MicrosoftDocs/sql-docs/blob/live/azure-sql/managed-instance/log-replay-service-migrate.md
Under the section Azure RBAC Permissions, it states that a user requires one of:

Subscription Owner role,
SQL Managed Instance Contributor role, or
a "Custom role with the following permission: Microsoft.Sql/managedInstances/databases/*".

This violates the principle of least privilege.
Subscription owner has the permission: Microsoft.Sql/managedInstances/databases/*
So, I suggest we reduce this to:

SQL Managed Instance Contributor role, or
a role with the following permission: Microsoft.Sql/managedInstances/databases/*

in order to prevent suggesting Subscription Owner, but still being explicit about the needed permissions

See: https://github.com/MicrosoftDocs/sql-docs/pull/9618

@blakedeckard -- thank you for your feedback and contribution.
@danimir -- please review PR 9618.


Use different entrypoints for both docker images

Done here : https://github.com/crowdsecurity/cs-openresty-bouncer/pull/9/files#diff-76aa5d97ee968ce27d826b68e7544c7940f0956d1d83d67dad514afd08403f05R32


Does this plugin support japanese locale ?

Does this plugin support japanese locale ?

Hi @iamtechmanish  👋
Thanks for opening an issue!
Yes, you can refer to the example app and add your own locale into the supportedLocales list;
      supportedLocales: const [
        Locale('en', ''),
        Locale('zh', ''),
        Locale('he', ''),
        Locale('es', ''),
        Locale('ru', ''),
      ],


Instructions Unclear to "get the code into the Outlook Application"

If you follow the installation steps carefully, you'll end up with a set of blank modules. There's a description of how to name them, but nothing about how to get the actual code into them. Is this what works instead?

drag one of the vb files into the panel that lists modules, etc.
a new module will be created that contains the script within that file
rename the module as needed.

i guess it was unclear to copy/paste but if the drag method works that's even better. the VBE is so archaic I tried to keep it as simple as possible

Yes it really is archaic. I'm still trying to figure this out, so I think instructions that are as detailed, but still simple... specific as possible would be a big help.
If I do figure it out, would it help to do a pull request for updated info on how to do it? I noticed the wiki for this repo isn't set up yet.

Pull requests are welcome!

I'll do a PR but essentially the missing step for me was to do the following steps:

In Outlook, select File Menu >> Options >> Trust Center >> Trust Center Settings >> Macro Settings
Then click Enable all macro (not  recommended; potentially dangerous code can run) in Macro Settings.
Restart Outlook

There's a way to do trust certificates for scripts like these but I'm content with this simpler/riskier approach.


extract container transforms from the api layer

removes the cache container transformation funcs
from the exchange api container enumeration params. This ensures a cleaner separation of ownership where the api is only responsible for enumerating containers, and the caller is responsible for transforming them.

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[ ] :broom: Tech Debt/Cleanup

Test Plan

[x] :zap: Unit test
[x] :green_heart: E2E

@ashmrtn this is now ready for a final review.


Bug: "Download Icon Bar" is not aligned properly

The download icon bar takes up a lot of space and isn't properly placed under the animation icon area.

I am working on it.

Closing this issue as PR - https://github.com/EOS-uiux-Solutions/eos-icons-landing/pull/30 got merged


Replication 2.0 Companion PR

Scope & Purpose
This contains changes from #14415, that are not directly related to replicated logs. This is done to make the actual PR smaller and ease the review process.

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required
[ ] Backports required for: (Please specify versions and link PRs)

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/16131/

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/16132/

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/16134/

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/16138/

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/16140/


The 'humanReadableUnhandledException' doesn't work when additional information is added to meta

We are using winston together with express-winston for logging. The express-winson automatically logs information about executing HTTP requests. We would like to have human readable exceptions for our console transport.
The problem is express-winston pushes an additional parameter (a request) in logs meta. It's make impossible working of humanReadableUnhandledException option:
if (options.humanReadableUnhandledException
    && Object.keys(meta).length === 5 // !!! We have 6 parameters here because of a request
    && meta.hasOwnProperty('date')
    && meta.hasOwnProperty('process')
    && meta.hasOwnProperty('os')
    && meta.hasOwnProperty('trace')
    && meta.hasOwnProperty('stack')) {
  // ... some code here
}

Why did I post a bug here, not for express-winston? For my opinion meta is a place where any additional information can be stored for logs. It's not correct to restrict logic based on count of keys in meta.
I prepared a pull requests also (should be added in comments). Could you review, please, and if no objections it will be great if you release this fixes as soon as possible. Thank you for your time.

The pull request:
https://github.com/winstonjs/winston/pull/1066

I checked. Everything works now


Fix the observable extension #17

For more information, you can see https://github.com/microsoft/redux-dynamic-modules/issues/17

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

@abettadapur  Hi, Alex. I think you may take your time to try observable extension yourself and ensure that everything works fine. Then update guides, unit tests and publish observable extension package would be next pieces of work.  If you have any questions about my submission or want help, please feel free to drop me a line.


feat: better showcase support

Support for https://github.com/UnownHash/Golbat/pull/136
Displays showcase mon in popup
Displays top 3 scores and other useful info as well

Resolves #797

It seems to work well; I can't determine that this is a "MAX" contest though? Would there be some difference for a min that I haven't noticed?

Resolved


Memory leak in MaterialViewPagerHelper

I started using https://github.com/square/leakcanary to find potential memory leaks in my application.
Turns out there is one in your great library in MaterialViewPagerHelper. Indeed, it holds a static HashMap that is never cleared. Maybe you could add a method to clear the content of that map when the Activity/Fragment is destroyed?

Yes, I thinks it would be usefull.
Do you want to do in and send a pull request ?
if not I will do it myself, just to prevent doing same work twite

I can't work on this for the next two weeks.
I can have a look then if you haven't fixed it yet.

I fixed it in <IP_ADDRESS> can you check please ? :)

MaterialViewPager.java
@Override
protected void onDetachedFromWindow() {
MaterialViewPagerHelper.unregister(getContext());
super.onDetachedFromWindow();
}
MaterialViewPagerHelper.java
public static void unregister(Context context) {
if(context != null)
hashMap.remove(context);
}

It looks like there is no issue now.
Thanks for the quick fix :smile:

Thanks for your reporting :+1:


Generate tests for violation of enumerations

We generate tests with invalid enumeration literals.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

59 of 60 (98.33%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 90.242%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

aas_core3_0_rc02_testgen/generation.py
49
50
98.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
1045

Relevant Lines:
1158

💛  - Coveralls

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

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

Details

59 of 60 (98.33%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 90.25%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

aas_core3_0_rc02_testgen/generation.py
49
50
98.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
1046

Relevant Lines:
1159

💛  - Coveralls


Imageboard timeout

Some websites will temp ban you when you repeatedly connect over and over in a short period of time. Maybe you could add an option to wait after every set number of images have been downloaded.

Do you have an example of such website so that I can reproduce, implement and test such feature? :smile:
I have yande.re in mind which blocks simultaneous downloads, but it's not connections (as long as you keep it under 5, it won't block you).


Process maps

1st stab at HTML process diagrams.
Hacky as hell, but something to test and possibly build on.
Test page at http://localhost:3000/platform/patterns/licensing/process-flow

Nice one Tim!
Look goods.
Will have a play round with it today and tomorrow.
Harry


Uncaught ReferenceError: Invalid left-hand side expression in postfix operation

Vue.js version
1.0.26
Reproduction Link
https://jsfiddle.net/ej77a93w/
Steps to reproduce
Add a local vue-csp.min.js.
Open in Chrome.
What is Expected?
To load the script and then all components in subsequent files.
What is actually happening?
The console reads Uncaught ReferenceError: Invalid left-hand side expression in postfix operation when the page is open using Chrome on both Ubuntu and Mac OSX.
However, it's working perfectly well on Safari.
As a live experiments, the form on http://thesciencevessel.herokuapp.com/papers should be hidden.
It's shown on Chrome but is hidden as it should on Safari.

I can't get any meaningful information from the jsfiddle - consider narrowing down the problem and providing a more isolated reproduction.

Don't you have the error in the developer console?

Okay, so actually, it does not seem to like this line:
this.id = '__v-for__' + ++uid$3;
Okay I quite can see why now, I guess it's because once minified by Heroku, + ++uid$3becomes +++uid$3.

I'm glad you find a solution. The problem with your jsfiddle is that you just included a minified js file. You can use the provided jsfiddle template in contributing guidelines to show off the issue.

I have found the problem. A solution would be to wrap ++uid$e with parenthesis. I think it should have bee done in the first place though.


Added facade classes: LLMFacade, ChatModelFacade

feature: #4251
Note: still need to write tests

Added tests and ready to merge

could you add some motivation? would be very helpful to see an example with and without these interfaces

Now that we have the call and call_with_messages, this is unnecessary. Closing

Now that we have the call and call_with_messages, this is unnecessary. Closing


Build failure: cross-compiling knot-resolver fails on LMDB check

Steps To Reproduce
flake.nix:
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  outputs = { nixpkgs, ... }: {
    nixosConfigurations = {
      example = nixpkgs.lib.nixosSystem {
        system = "armv6l-linux";
        modules = [ "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix" ] ++ [({ pkgs, ... }: {
          services.kresd = {
            enable = true;
            package = pkgs.knot-resolver.override {
              extraFeatures = true;
            };
          };
          nixpkgs = {
            # https://github.com/NixOS/nix/issues/3843
            buildPlatform.system = "x86_64-linux";
            hostPlatform.system = "armv6l-linux";
            overlays = [
              # https://github.com/NixOS/nixpkgs/issues/126755
              (final: parent: {
                makeModulesClosure = args: parent.makeModulesClosure (args // { allowMissing = true; });
              })
            ];
          };
        })];
      };
    };
  };
}

Then:
nix build .#nixosConfigurations.example.config.system.build.sdImage

In case you need the flake.lock: https://gist.github.com/ether42/ae358d321208c9203022dbf819a14113
Build log
nix build .#nixosConfigurations.example.config.system.build.sdImage
error: builder for '/nix/store/674xn3jik7d5nsblha95chxx3rmm5qxf-knot-resolver-armv6l-unknown-linux-gnueabihf-5.6.0.drv' failed with exit code 1;
       last 3 log lines:
       > Checking that 'http' module loads, i.e. lua search paths work:
       > [cache ] LMDB error: Operation not supported
       > [system] error while loading config: ...nown-linux-gnueabihf-5.6.0/lib/knot-resolver/sandbox.lua:464: can't open cache path '.'; working directory '/build'; Operation not supported (workdir '/build')
       For full logs, run 'nix log /nix/store/674xn3jik7d5nsblha95chxx3rmm5qxf-knot-resolver-armv6l-unknown-linux-gnueabihf-5.6.0.drv'.
error: 1 dependencies of derivation '/nix/store/9wvwglb47msphvhwfvdf10ngrsiagwkv-system-generators.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fhfxp53gflinlhrgs010hr4wxwips61m-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jdfmn8pravac4w76ky3958pvf75plr1d-nixos-system-nixos-23.11.20230609.ae766d5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y3ckdd3n0kcp91cs1bpryld08973xmpv-ext4-fs.img.zst-armv6l-unknown-linux-gnueabihf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/r1fhsv01dn4fswyhbc07my6gh2f3bvrf-nixos-sd-image-23.11.20230609.ae766d5-armv6l-linux.img-armv6l-unknown-linux-gnueabihf.drv' failed to build

nix log /nix/store/674xn3jik7d5nsblha95chxx3rmm5qxf-knot-resolver-armv6l-unknown-linux-gnueabihf-5.6.0.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/674xn3jik7d5nsblha95chxx3rmm5qxf-knot-resolver-armv6l-unknown-linux-gnueabihf-5.6.0.drv^*'
Checking that 'http' module loads, i.e. lua search paths work:
[cache ] LMDB error: Operation not supported
[system] error while loading config: ...nown-linux-gnueabihf-5.6.0/lib/knot-resolver/sandbox.lua:464: can't open cache path '.'; working directory '/build'; Operation not supported (workdir '/build')

Additional context
This seems to be caused by the wrapper, which is enabled with the extraFeatures.
boot.binfmt.emulatedSystems = [ "armv6l-linux" ]; is set so it's probably not just a simple binary incompatibility (I believe it shouldn't be necessary when setting both buildPlatform.system and hostPlatform.system but it appears the scripts generating the images expect to be run from the target).
Notify maintainers
@vcunat (thanks!)
Metadata

system: "x86_64-linux"
host os: Linux 6.1.32, NixOS, 23.11 (Tapir), 23.11.20230609.ae766d5
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.15.1
channels(root): "" (flake, see flake.lock)
nixpkgs: /etc/nix/channels/nixpkgs

Yeah, well runtime tests like
Checking that 'http' module loads, i.e. lua search paths work:

aren't really what "we" normally want to do when cross-compiling.

This?
https://github.com/NixOS/nixpkgs/pull/239024

This? https://github.com/NixOS/nixpkgs/pull/239024

Yeah, the image builds and the services starts.
Thanks!


Add a Gitter chat badge to README.md

go-gas/gas now has a Chat Room on Gitter
@gosilent has just created a chat room. You can visit it here: https://gitter.im/go-gas/gas.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

[Current coverage][cc-pull] is 57.09%

Merging [#5][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #5   diff @@
==========================================
  Files             5          5
  Lines           303        303
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            173        173
  Misses          114        114
  Partials         16         16

Powered by Codecov. Last updated by [22a62ce...5cec259][cc-compare]
[cc-base-branch]: https://codecov.io/gh/go-gas/gas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/go-gas/gas/compare/22a62cebfe73494b1a76f73fad1134484a6ab98e...5cec259e3bf905a60da63423b20a3ea10bee474c
[cc-pull]: https://codecov.io/gh/go-gas/gas/pull/5?src=pr


exit with status 1 if help is called on an invalid command

Fixes #28329 (kind of)
I don't see any way to restore the old behaviour with --help. Argument parsing has to happen after the help flag is processed, which means we don't know if the arg was a positional arg or an invalid subcommand.
Instead this PR restores the behaviour to docker help <x>, which also used to work in 1.12. I believe this should give you the functionality you need.
cc @tianon

Very nice!  Result looks solid to me:
$ for cmd in container image network node plugin secret service stack swarm system volume attach build commit cp create diff events exec export history images import info inspect kill load login logout logs pause port ps pull push rename restart rm rmi run save search start stats stop tag top unpause update version wait invalid; do bundles/1.14.0-dev/dynbinary-client/docker-1.14.0-dev help "$cmd" > /dev/null || echo "invalid: $cmd"; done
unknown help topic: invalid
invalid: invalid

Here's the same output on 1.12.3 for reference (with the same list of commands, hence the expanded "invalid" list):
$ for cmd in container image network node plugin secret service stack swarm system volume attach build commit cp create diff events exec export history images import info inspect kill load login logout logs pause port ps pull push rename restart rm rmi run save search start stats stop tag top unpause update version wait invalid; do docker help "$cmd" > /dev/null || echo "invalid: $cmd"; done
docker: 'container' is not a docker command.
See 'docker --help'.
invalid: container
docker: 'image' is not a docker command.
See 'docker --help'.
invalid: image
docker: 'plugin' is not a docker command.
See 'docker --help'.
invalid: plugin
docker: 'secret' is not a docker command.
See 'docker --help'.
invalid: secret
docker: 'stack' is not a docker command.
See 'docker --help'.
invalid: stack
docker: 'system' is not a docker command.
See 'docker --help'.
invalid: system
docker: 'invalid' is not a docker command.
See 'docker --help'.
invalid: invalid

LGTM


Error when install graphene

Hi team,
I got this error when trying to compile graphene project. What is wrong? Thanks a lot :)
(Full log : https://pastebin.com/8SMnfdYc )
[root@static graphene]# make install
[  5%] Built target udt
[  8%] Built target project_secp256k1
[ 41%] Built target fc
Linking CXX executable all_tests
CMakeFiles/all_tests.dir/tests/compress/compress.cpp.o: In function __static_initialization_and_destruction_0(int, int)': /data/blockchain/graphene/libraries/fc/tests/compress/compress.cpp:9: undefined reference to boost::unit_test::ut_detail::auto_test_unit_registrar::auto_test_unit_registrar(boost::unit_test::basic_cstring)'
/data/blockchain/graphene/libraries/fc/tests/compress/compress.cpp:11: undefined reference to boost::unit_test::ut_detail::auto_test_unit_registrar::auto_test_unit_registrar(boost::unit_test::test_case*, unsigned long)' /data/blockchain/graphene/libraries/fc/tests/compress/compress.cpp:65: undefined reference to boost::unit_test::ut_detail::auto_test_unit_registrar::auto_test_unit_registrar(boost::unit_test::test_case*, unsigned long)'
CMakeFiles/all_tests.dir/tests/compress/compress.cpp.o: In function `boost::unit_test::make_test_case(boost::unit_test::callback0boost::unit_test::ut_detail::unused const&, boost::unit_test::basic_cstring)':

This project is not being maintained. Please check out https://github.com/bitshares/bitshares-core for latest info.
In regards to your question, it's not necessary to build the tests. make install is not being widely used as well so perhaps there are bugs or unable to build. Usually make witness_node cli_wallet would be enough for new users.

Thanks abitmore for infos.


stocked after merge config

C:\Users\lucifer\Desktop\swin_transformer\Swin-Transformer>python  main.py --eval --cfg configs/swin_tiny_patch4_window7_224.yaml --resume ./output/swin_tiny_patch4_
window7_224/default/ckpt_epoch_1.pth --data-path dataset --local_rank 0
=> merge config from configs/swin_tiny_patch4_window7_224.yaml
。。。。。。。。。
then nothing, it looks like stocked,what should i do

Hi @crazypatient0, here is a similar issue https://github.com/microsoft/Swin-Transformer/issues/158. Hope it can help.

Have you solved it yet


Website accessibility tweaks

Summary

Fixes some issues raised by @samccone and a few other bugs I noticed. Notably the sidebar is now completely scrollable and not confined to just the table of contents.
Test Plan

Netlify

👍