Setting volume low requires unexpectedly low values

From BMO 1746799 https://bugzilla.mozilla.org/show_bug.cgi?id=1746799
Per https://freedesktop.org/software/pulseaudio/doxygen/volume.html  (my italics)

The volumes in PulseAudio are cubic in nature and applications shouldn't perform calculations with them directly. Instead, they should be converted to and from either dB or a linear scale:
dB - pa_sw_volume_from_dB() / pa_sw_volume_to_dB()
Linear - pa_sw_volume_from_linear() / pa_sw_volume_to_linear()

For simple multiplication, pa_sw_volume_multiply() and pa_sw_cvolume_multiply() can be used.
It's often unknown what scale hardware volumes relate to. Don't use the above functions on sink and source volumes, unless the sink or source in question has the PA_SINK_DECIBEL_VOLUME or PA_SOURCE_DECIBEL_VOLUME flag set. The conversion functions are rarely needed anyway, most of the time it's sufficient to treat all volumes as opaque with a range from PA_VOLUME_MUTED (0%) to PA_VOLUME_NORM (100%).

cubeb does use pa_sw_volume_from_linear() on source volumes, and the result is that even a very low setting of volume through cubeb (e.g 0.02) results in a quite loud volume.
In contrast, pulseaudio's own volume control does just map from PA_VOLUME_MUTED to PA_VOLUME_NORM without using volume_from_linear() -- https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/blob/master/src/channelwidget.cc#L42

Thanks for investigating this and proposing a fix!  The fix looks reasonable from my understanding, but I want to investigate further - I'll take a closer look at this again after the holiday season.

Some more research:
Most other backends are also using linear volume -- cubeb itself multiplies the samples by the volume value. So does this code, if flat volumes are in use. I think they are wrong too. This isn't a recently introduced error, it has always been this way.
Significantly, Windows is different. It does not use linear volume. The volume value is passed on to the WASAPI function, and the Microsoft documentation explains how and why it uses a logarithmic scale:
https://docs.microsoft.com/en-us/windows/win32/coreaudio/audio-tapered-volume-controls
So my change, if I'm right, is bringing the pulseaudio backend approximately into line with Windows (it's a cube rather than a logarithm, but the principle is the same), but different from most other backends.
I've written an article https://www.vsbadminton.co.uk/randoms/volumecontrol.html about the issue.

I've just remembered this while looking for something else, sorry about forgetting. I checked macOS behave similarly as current Linux, Windows is different as you note.
I think I like Windows' way the best (and it does make sense physically). We could trivially move macOS to this curve (or something similar like real log or whatever) as well, in addition to Linux.
I tested all other browsers on all OSes, and they really tend to do what Firefox on Linux or macOS currently do, so I'm kind of worried about a compatibility issue. But then again, maybe nobody cares, and we can make it the way we like.

I'm not easily able to test outside my own environment setup, but I've been using nightly with my PR #75 all year and to me it is an improvement.

bump... @padenot  ?

This patch is a great relief, thank you @andrewmcguinness .
It needed a minor rebase:
@@ -757,8 +757,8 @@
becomes
@@ -765,8 +765,8 @@
And now when I press keys or click sliders to change volume in firefox, I see the same volume value (percentage) reflected in the player in firefox, pipewire/pulse, my DE's popups, connected mobile devices, etc.
Similarly, at any given percentage of volume, firefox will produce the same volume (audible and value) as all other clients at that same volume. For example, firefox at 50%, qmplay (pulse) at 50%, and haruna (pipewire native) at 50%, all playing the same source, all say 50%, and all sound the same. Without this patch, all other clients would be the same, but firefox would be audibly far louder, and the volume value would be shown as 79% everywhere else, when the html media player shows it is 50%.
Especially, the experience of "My volume jumps from silent, to nearly half, in the first click of the volume slider" is gone, and it is now possible to set a 'quiet' volume even if using 5% or 10% increments - without the patch we have 0%, 46%!, 58%, with the patch we have 0%, 10%, 20%.
Likewise, the upper regions of volume sliders are now far more effective, there is no more "the top three notches of volume are three degrees of too loud" - without the patch, they are 100%, 97% and 92%, with it, they are 100%, 90% and 80%.
I have tested this patch on phone and TV speakers, 5 sets of high-end headphones and a cheap set, and two 5.1 surround systems. I also tested volume controls from two keyboards, two headsets, and an android phone. It behaved as expected in all cases.
I think it would be extremely good to merge this.


Read and visualize Oozie XMLs with subworkflows

Read workflow definition with subworkflows defined.

Closing since it doesn't seem that we'll have time to implement it any time soon.


add void keyword to process_nmea0183()

I am playing with the NMEA code currently. This is a follow-up of #272 where void has been added to the function definitions but process_nmea0183() has been left out.

I wish this will be the last.
Thanks.
Merged


Alphabet on .toString()

Hello,
I've been having a bug in my app for so long and I think I've just figured it out why it is happening.
.toString(radix, alphabet) works all right in my test cases with all radixes and different alphabets, yet it just doesn't when using 10 for radix and an alphabet.
bigInt(5).toString(10, 'ABCDEFGHIJKLMNOP') returns '5' which is not to be found in the alphabet requested.

fixed in version 1.6.52

Thank you!


CASMCMS-8140 csm-1.2.1 - correctly handle Hill nodes.

Summary and Scope
In csm-1.2, hsm changed so that the 'node class' can be either 'Mountain', 'River', or 'Hill'.  The 'hill' types were not getting picked up by console services.  This set of changes looks for records containing 'Hill' and treats them correctly.
Code PR's:
https://github.com/Cray-HPE/console-data/pull/27
https://github.com/Cray-HPE/console-node/pull/55
https://github.com/Cray-HPE/console-operator/pull/33
Issues and Related PRs

Resolves CASMCMS-8140

Testing
Tested on:

Loki

Test description:
I installed the new version via helm and observed that Hill nodes were correctly picked up by console services and connections and logging were established.

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)? N
Were continuous integration tests run? If not, why? N
Was upgrade tested? If not, why? Y
Was downgrade tested? If not, why? Y
Were new tests (or test issues/Jiras) created for this change? N

Risks and Mitigations
This is a fairly low risk change, it just needs to handle the 'Hill' type in the existing records.
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[X] Testing is appropriate and complete, if applicable

Made against wrong branch - discarding.


Create gsli.txt

GanSu Political Science And Law Institute

School website: http://www.gsli.edu.cn
GanSu Political Science And Law Institute


Create Parallel Benchmark

We currently don't really have any ways of proving the benefits of our design. Benchmarks are always a good way, they will also help shake out race conditions and places where things become a bottleneck that were not expected (I suspect the scheduler waiting on threads could be problematic for example).
What I would suggest is

Add an example that has 16 or more components
And 30 or more systems that touch one component or another

This should be a mix of things pure readers, pure writers and ones that read and write multiple parts

Creates 10K entities

Should be a mix of components, not all entities should contain ever component

Include dynamic creation and deletion of entities
The main-loop tracks how long the systems took to process and prints out a summary of how long it took to run N times, and how long each loop took.

Does the last points stands for counting how long all systems took or each separately?

@White-Oak I was thinking just how long it took to run the outer loop, but if you know a way to break it down to each system that would be neat too. :D

This is still relevant.

Just noticed we have parallel which pretty much covers this.


Configuration with name 'default' not found

I was getting following error while try to build project for Android, i see that i am not only one who got this
> Configuration with name 'default' not found.
There are a lot of issues regarting to this. Why is this error so often?
It still persists in v0.14.0 ( i am using RN v0.42.3 )
I have tried every solution provided in other issues, but none of them didn't work. I installed everything according to docs. I tried to run react-native link react-native-maps but it only links for iOS, not for Android, so i have to link manually for android. I followed docs, and double checked everything, even remove react-native-maps and tried again to link it.
Finnaly i was able to build using following configuration:
/app/build.gradle (this is according to docs)
dependencies {
    ...
    compile project(':react-native-maps')
    ...
}

/app/build.gradle (not according to docs, notice /lib)
On other issuses people managed to build by appending /lib at the end of the path, which i dont know how they managed to build...
For example (but it is probably for the older version of react-native-maps):
#504
#372
#288
...
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')

MainApplication.java (this is according to docs)
import package
import com.airbnb.android.react.maps.MapsPackage;
and in getPackages method append  line new MapsPackage()
@Override
protected List<ReactPackage> getPackages() {
  return Arrays.<ReactPackage>asList(
      ...
      new MapsPackage()     // append this line
  );

}

Also you must have installed Google Play Services.

Now there is error about module-resolver dependecy which is in .bablerc file of react-native-maps project, i think there is no other fix than manually delete that file for now...

I'm using version 0.13.1 and just work fine.

there isn't an android folder in node_modules/react-native-maps/, I don't get why that is

I have the same problem Configuration with name 'default' not found after I update RN to 0.42.3 and react-native-maps to 0.14 :/

I'm having the same issue as @MilosR mentioned:

Now there is error about module-resolver dependecy which is in .bablerc file of react-native-maps project

Any ideas about this?

@MilosR, thank goodness for your post, which got me unstuck with this issue.
You might want to change your "/app/build.gradle (not according to docs, notice /lib)" heading to "/app/settings.gradle (not according to docs, notice /lib)", to better match with the documentation.
About your module-resolver issue, I had found that installing babel-plugin-module-resolver using npm got me past something similar.

Changed, my mistake, i didn't noticed that, thanks. Yes that is good solution, better than deleting file in node_modules...

I think that is bug in version 0.14.0
I change this like:
dependencies {
....
compile 'com.airbnb.android:react-native-maps:0.13.1'
}
it's work

This is the reason
https://github.com/airbnb/react-native-maps/pull/1249/files

I was getting following error
A problem occurred configuring project ':app'.

Failed to notify project evaluation listener.
A problem occurred configuring project ':react-native-maps'.
Failed to notify project evaluation listener.
failed to find Build Tools revision 25.0.0
failed to find Build Tools revision 25.0.0
Could not find property 'processDebugGoogleServices' on project ':app'.

I had the same problem Configuration with name 'default' not found. It was resolved by manually pulling the Babel Plugin
yarn add babel-plugin-module-resolver

@felipecsl This is fixed so can be closed

thanks for the triaging @henrikra

A quick fix is to ensure your settings.gradle has:
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/**lib**/android')

hemedani solution worked well i removed lib from the path and updated the react-native-maps for my project it worked well...

.

.


"Kernel error Caught CUDAexception" What's the reason for this error?

Happened for the first time last night.
Thank you

Good to see people are seriously running this.
Hmm. Are you running on Windows? Is this device also driving a display?

Yes, but it is turned off. I access it remotely.


killed components are treated as ongoing processes in the arangodb cluster

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ 1] 3.1
[ ] 3.2 pre-releases: ___
[ ] self-compiled devel branch

On this operating system:

[1 ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[1 ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ 1] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[1 ] web interface with this browser:     running on this OS:
[ ] arangosh
[ ] this Driver:

I've run db._explain("<my aql query>") and it didn't shed more light on this.
The AQL query in question is:
The issue can be reproduced using this dataset:
Please provide a way to create the dataset to run the above query on; either by a gist with an arangodump, or `db.collection.save({my: "values"}) statements. If it can be reproduced with one of the ArangoDB example datasets, it's a plus.
Foxx
this is a web interface-related issue:
I'm using the web interface with this browser:     running on this OS:

[ ] authentication is enabled?
[1 ] using the cluster?
[1 ] _system database?

These are the steps to reproduce:

Install arangodb 3.1.15 with dcos 1.8.8 .
Make web pressure test. A coordinator is killed owning to machine out of memory.
The component becomes red in the "NODES" tab. However the "Task ID" according to the killed coordinator in the DCOS gets lost.
The arangodb frame continue to talk to the lost component. Certainly it gets errors. And the lost tasks
don't come up again.

The following problem occurs: [Screenshot?]
Instead I would be expecting:

this is an installation-related issue:
Describe which steps you carried out, what you expected to happen and what actually happened.

This seems to be a valid bug. We will try to look into this issue next week. A quick fix could be to simply kill the framework. It should then look at the current state and resume operation.

Ok, we did lots of cluster related bugfixing with ArangoDB 3.2.8 - I will close this as solved now.


body-bg class color issue

Hi,
In cheatsheet page body color issue.
https://getbootstrap.com/docs/5.1/examples/cheatsheet/
This issue fixed with one variable in line number 418.
- "body":  to-rgb($body-color)
+ "body":  to-rgb($body-bg)

Also change in _root.scss file in line number 26
- --#{$variable-prefix}body-rgb: #{to-rgb($body-color)};
+ --#{$variable-prefix}body-rgb: #{to-rgb($body-bg)};

Duplicates #34688, closed by #34699.


Test cleanup and add solcover

Description
This PR cleans up our tests further and adds solcover as a way to check the test coverage of our contracts. Changes are relatively minor, though require modifications to lots of different files. Sorry for the big diff! This is the last cleanup PR before we start to add new tests and contracts.
Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

Note that the only new functionality within this PR is in: https://github.com/ethereum-optimism/optimism-monorepo/pull/178/files#diff-e097963e3c5e4ab06efcc631731c1aab


Update the details on the coderplex/space page

Check the following and update them.

Pricing
Location
Link to application form

@duttakapil Provide the updated details.

For anyone who wants to send PR once @duttakapil posts updated details, you need to edit this files

For pricing modify this lines
https://github.com/coderplex/coderplex/blob/a53296417fbe6e294ecf6337a699481ac4699cc2/pages/space.js#L138-L145

For location, update google map URL here
https://github.com/coderplex/coderplex/blob/a53296417fbe6e294ecf6337a699481ac4699cc2/utils/urls.js#L26

For Link to application form you can create a new section similar to pricing with a button similar to Join Discord in home page (https://coderplex.org)
https://github.com/coderplex/coderplex/blob/a53296417fbe6e294ecf6337a699481ac4699cc2/pages/index.js#L301-L319

Updated Details :

Pricing : 1000 Rs or More
Location : 91SpringBoard, Kavuri Hills
Link to application form : https://docs.google.com/forms/d/e/1FAIpQLSfTV7VcaZuc9a1XH3I2hXNWVr1ILOl8TRNE8Rz7Qc9Pxdca7w/viewform


[5.5] Route: simplify RouteCollection.

Simplify RouteCollection using only one collection for route storage.
There is no need to handle $allRoutes, $nameList and $actionList anymore.

This also makes the lookup refresh useless, as it's not necessary any more.

Note:
the Travis build is failing because of another reason, related to orchestra/testbench

@themsaid any idea why this Travis build is failing? It seems like our requirements are fine? @crynobone


Add user documentation for path level configuration

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4238/
Test FAILed.

jenkins, test this please

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/Alluxio-Pull-Request-Builder/4251/
Test PASSed.

@calvinjia PTAL

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/Alluxio-Pull-Request-Builder/4298/
Test PASSed.

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.0 please.


Switch to supported size for dall-e-3

Description:
Just a quick readme update. It looks like 256x256 is an invalid size for the dall-e-3 model.
Related:
See here for supported sizes: https://platform.openai.com/docs/api-reference/images/create#images-create-size

Thank you @JeffreyWay 🚀


ConditionalOnUse

Here is the idea. ConditionalOnUse is not an annotation but a behavior that intends to avoid creating unused feature even if they are on the classpath if the related beans and/or annotations are not used.
The interesting point of convergence here is that with the tracing agent we need a phase where we run the application. Combined with closed world assumptions and the fact that most singletons are instantiated at startup, could we use this opportunity to identify unused beans, to remove them from what we provide to native-image allowing then to avoid compiling and bundled these classes in the native image? This could for example apply to RestTemplate and WebClient builders and avoid to load client related infrastructure when just the server is needed.
Another source of waste is Hibernate Validator (provided by default with spring-boot-starter-web and spring-boot-starter-webflux via spring-boot-starter-validation), I have briefly discuss this one with @bclozel, it is more complex because it depends of the validation classes used in the application, so just analyzing the whole classpath is likely to not be precise enough. A more simple and pragmatic approach for this case would be to find a way to solve how users could use thespring-boot-starter-validation without the non-intuitive exclude, that could potentially allow to avoid providing this spring-boot-starter-validation by default with the web starters.
Any thoughts?

See related #34 issue.


Added CloudFront interface for AWS access

Description
Allows the creation of signed URLs for e.g. artifact access.
Status

[ ] Ready to go

Codecov Report

Merging #362 (7240e7c) into main (6f95fcb) will decrease coverage by 0.85%.
The diff coverage is n/a.


GUI setup wizard initiating every time

Didn't happen in 0.3.0, happens in 0.3.1 (fresh vrconfig.yml)
Happens to ZRock and Tony as well, so not a me issue.
Every time the GUI is opened, the setup wizard is initiated. Skipping it or completing it won't make it go away and it'll keep initiating every time the GUI is opened.
@loucass003

solved by https://github.com/SlimeVR/SlimeVR-Server/pull/295


Support for dates (parsing + serializing)

Meteor stores dates as timestamps in milliseconds. The appropriate Java type would be long.
But when a client communicates with the server, the server always sends them in another form and expects them in the same form when it receives data from the client.
What Meteor does is wrapping a plain timestamp such as<PHONE_NUMBER>000 in a JSON object containing the date as a property, such as { "$date":<PHONE_NUMBER>000 }.
So when you receive a date, the value is not the timestamp itself but the JSON object that you must parse the date from, first.
And when you try to send a date, you can't just put the timestamp right in there but must wrap it in a JSON string, e.g. myMap.put("myDate", "{ \"$date\":<PHONE_NUMBER>000 }");.
We should add built-in support to make this easier.

i tried like you suggested but i continue to have the problem:
in meteor i receive this

Start at must be a Date [{"name":"startAt","type":"expectedConstructor","value":"{ "$date":<PHONE_NUMBER>569 }"}

How can i do?

thanks!

@romaluca Did that solve your problem?
In general, my idea for the solution to this problem would be as follows:

When this library parses the JSON for you (i.e. when you're using the built-in database), it can parse the JSON date for you. It will just replace the { "$date":<PHONE_NUMBER>000 } string with a java.util.Date or java.util.Calendar instance, or a long primitive.
Whenever you put a java.util.Date or java.util.Calendar instance into a Map that is used in insert, update or remove, it will be transformed into the corresponding JSON date string. Unfortunately, we can't do this for long primitives, as we don't know if it's a date or something else.

The first change would be a breaking change, but shold be helpful. We still have to decide on the data type to use.
The second change could be implemented right away without any downsides.

@ocram
I am sending the date while subscribing but i will get the error "Match Failed" in android. the format i am sending is
"1970-01-01 00:00:00 +0000". the same exact date format  we are using in IOS it is working fine.
can u please give a solution for this as soon as possible.
Thank u

@Tailmaters I'm afraid that is not really enough information for us to know what's your problem. Does your server expect a Date instance here? If so, send the date as a string, as shown above:
"{ \"$date\": "+date.getTime()+" }"

Otherwise, your problem is not really relate to this issue.

the same exact date format we are using in IOS it is working fine.

That doesn't mean anything! What works on iOS is probably unrelated to what's working on Android.

@ocram
Can u please Share your email-id. We have some Issues with connecting and Fetching Data from the collections.we need to discuss with u how exactly it need to be done.

In general, I prefer public discussions here in the issues which help everybody using this library. If someone has the same problem later, they can benefit as well.
My email address can be found by going to the website linked in my profile and choosing "Contact".

See also: https://github.com/meteor/meteor/blob/b6c2991a28b2ac4e635081133360b55c1e4387f6/packages/ejson/ejson.js#L90


Polybar Works Laggy

Checklist

[x] I have read the appropriate section in the contributing
guidelines
[x] I believe this issue is a problem with polybar itself and not a misconfiguration on my part.
[x] I have searched for other open and closed issues that
may have already reported this problem.
[x] I have checked the known issues page for this problem.

Describe the bug
Polybar works laggy.
Expected behavior:
Runs smoothly.
Actual behavior:
Polybar work laggy when i use keybindings on bspwm and startimg-closing programs.
Was it working before?

Did you also experience this bug in an earlier version of polybar (yes/no/don't know)?
No it was working good.

If no, what was the last version where this worked correctly?
The latest version

To Reproduce
It happend today.

Screenshots
https://drive.google.com/file/d/1qgmTLjd0pW4XBGACAcTxjLTlbFMbfOFQ/view?usp=sharing
Environment:

WM: BSPWM
Distro: Arch Linux
Output of polybar -vvv:

polybar 3.5.6

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Additional context
I downloaded from yay

I'm assuming the lag you are referring to is where the bspwm module has quite a big delay when updating its workspace list after you switched workspaces with a keybinding.
In the video it seems like your bar is restarting a lot and at around 26seconds, there seems to be multiple bars running on top of each other. Are you restarting the bars or does this happen automatically?
It looks like the delay only appears when you use keybindings for switching workspaces, but not when you directly click on the module. Is this always the case or is there sometimes no delay, even when using keybindings?
Could you try changing workspaces by using bspc from the commandline: bspc desktop -f ^N where you replace N with the number of the workspace.

Did you also experience this bug in an earlier version of polybar (yes/no/don't know)?
No it was working good.
If no, what was the last version where this worked correctly?
The latest version

You are currently using the latest version. Did you update from an older version where this was not an issue? If so from which version?

In the video it seems like your bar is restarting a lot and at around 26seconds, there seems to be multiple bars running on top of each other. Are you restarting the bars or does this happen automatically?

I typed polybar bspbar on my bspwm config and I use just one bar.

You are currently using the latest version. Did you update from an older version where this was not an issue? If so from which version?

I did an aur update 3 or 5 days ago but i can’t remember did i update or when did I updated it.
I tried recompile it but didn’t work.

It looks like the delay only appears when you use keybindings for switching workspaces

It happens when I open a program or close a program
The interesting thing is it started today. Yesterday it hasn’t got a problem.
So I think that’s not revenant to update or version.
Maybe it caused by drivers or special modules (the custom/script ones )

I typed polybar bspbar on my bspwm config and I use just one bar.

If you have just that in your bspwm config, I think it will start a new polybar instance everytime without closing the old one. So it's possible that you have a lot of polybars running on top of each other.
When polybar has a big delay, can you run pgrep polybar and see how many lines it outputs? That's how many bars are running.

I did an aur update 3 or 5 days ago but i can’t remember did i update or when did I updated it.

The last polybar release was 4 months ago, it's unlikely you actually updated polybar.

It happens when I open a program or close a program

So after you open a program, the bspwm module updates slowly? For how long? Just forever or does it normalize at some point?

Maybe it caused by drivers or special modules (the custom/script ones )

Maybe. Try disabling all the modules except the bspwm one and see if polybar is still laggy.

Ok i solved the problem.
Wrong things are:
Bad picom.conf
wal comman on fish.config

Hi what exactly was wrong with the picom config? Seem to be having a similar issue. thanks


Add command to clean the stale subvolume

Includes command to list and delete the stale subvolume
documentation to understand the usage of the command

@subhamkrai can you please review the PR

Addressed all the comments, please do have a review. Meanwhile, I am adding another commit to delete the subvolumes.

[yatipadia@localhost kubectl-rook-ceph]$ ./bin/kubectl-rook-ceph stale-subvolume ls --type=stale
Info: [{ocs-storagecluster-cephfilesystem testvol csi}]
[yatipadia@localhost kubectl-rook-ceph]$ ./bin/kubectl-rook-ceph stale-subvolume ls
Info: [{ocs-storagecluster-cephfilesystem csi csi-vol-0923b1ef-8ae9-4786-a119-7d12db3eeab6} {ocs-storagecluster-cephfilesystem csi testvol} {ocs-storagecluster-cephfilesystem csi testvol1} {ocs-storagecluster-cephfilesystem csi csi-vol-7abb367e-1d8e-4f94-ac74-bd916cdef1db}]

[yatipadia@localhost kubectl-rook-ceph]$ ./bin/kubectl-rook-ceph stale-subvolume delete testvol ocs-storagecluster-cephfilesystem csi
Info: testvol deleted

[yatipadia@localhost kubectl-rook-ceph]$ ./bin/kubectl-rook-ceph stale-subvolume ls --type=stale
Error: No stale Volume found

This is how the output looks like now.

@subhamkrai @travisn @sp98 please take a look again, addressed almost all the comments.

@yati1998 please rebase your PR

@travisn addressed the comments based on our discussion, please do take a look.

@subhamkrai @travisn @nixpanic

In logging, I see fmt.Println is being used in many places, please try to use logging.Info where possible and same for errors and warning. Thank!

As per @travisn comment's have used it and seems valid to me too. We don't want to log the info and just want to print the output.


Automate Agenda Scrapper Execution

The current feed shows agenda items up to 5/22, while council website has agenda items posted up to 6/12.

Currently there is no way to build that into the server. This is something that probably needs to be run outside the server as a cron job or something.

I just wrote a script to do it as a cron job.


Add suport for unicode characters in strings

The project attached here fails to compile with the following error:
(tmp-817bdf2160f94f6) guillaume@latitude-5411:/tmp/project$ inmanta compile
Exception in plugin std::validate_type (reported in std::validate_type('pydantic.constr',v,Dict()) (./main.cf:3))
caused by:
  re.error: bad character range ୎-à at position 368

After further investigation from @sanderr, it turned out that (intentionally or not) our DSL does not support unicode characters directly in strings. It does support \u and \U.
The workaround proposed by Sander, which worked for me is the following:
>>> "\U0001fa96\\U0001fa96".encode("utf-8").decode("unicode_escape")  # this is what the compiler does
'ð\x9fª\x96🪖'
>>> def convert(c: str):
...     return c if ord(c) < 256 else c.encode("unicode_escape").decode("utf-8")
...
>>> def convert_all(s: str):
...     return "".join(convert(c) for c in s)
...
>>> convert_all("\U0001fa96\\U0001fa96").encode("utf-8").decode("unicode_escape")
'🪖🪖'

With this workaround it is possible to use unicode characters in an inmanta model, but I think that further action should still be taken.

Either proper support is added to the inmanta lexer for those strings to be loaded correctly.
Or raise a proper error when those unsupported characters are met in a model.

Full discussion here: https://inmanta.slack.com/archives/CKRF0C8R3/p1678973207826729

For now, disallow non-ASCII characters with a proper exception.


Air as a Voedger application

Requirements
Context

Project Air as a Voedger application
dev.heeus.io/launchpad: Draft SQL schema parser

Tasks
### Product
- [ ] https://github.com/voedger/voedger/issues/272
- [ ] #167
- [ ] https://github.com/voedger/voedger/issues/464
- [ ] https://github.com/voedger/voedger/issues/643
- [ ] https://github.com/voedger/voedger/issues/639
- [ ] https://github.com/voedger/voedger/issues/644
- [ ] https://github.com/voedger/voedger/issues/658
- [ ] https://github.com/voedger/voedger/issues/675

### Technical
- [ ] https://github.com/voedger/voedger/issues/636
- [ ] https://github.com/voedger/voedger/issues/662
- [ ] https://github.com/voedger/voedger/issues/701
- [ ] https://github.com/voedger/voedger/issues/704
- [ ] https://github.com/voedger/voedger/issues/663

### Technical (done)
- [x] https://github.com/voedger/voedger/issues/547
- [ ] https://github.com/voedger/voedger/issues/534
- [ ] https://github.com/voedger/voedger/issues/584
- [ ] https://github.com/voedger/voedger/issues/586
- [ ] https://github.com/voedger/voedger/issues/568
- [ ] #41
- [ ] https://github.com/voedger/voedger/issues/641
- [ ] #42
- [ ] #36
- [ ] #38
- [ ] #48
- [ ] #57
- [ ] #56
- [ ] #59
- [ ] #77
- [ ] #96
- [ ] untillpro/airs-bp3#455
- [ ] #103
- [ ] #124
- [ ] #166
- [ ] #221
- [ ] #214
- [ ] https://github.com/voedger/voedger/issues/385

Migrated to https://github.com/orgs/voedger/projects/11/views/12


[Doc] deployment-specific stuff moved

Move deployment method (operator or non-operator) specifics to include files.
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[x] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

backport branch-3.1

@mergify backport branch-3.1


New navigation and resource timings

Why
Implement dedicated Navigation and Resource timing instrumentation and make it part of to the Faro default instrumentations.
The new instrumentations create Faro specific performance objects.
This means:

A Faro specific navigation entry:

has the event name: faro.performance.navigation
contains a generated faroNavigationId property which allows us to map resources and signals to a specific navigation
Maps to the previous navigation via the faroNavigationId and faroPreviousNavigationId properties
Contains only precalculated attributes (see screenshot)

A Faro specific performance entry:

has the event name: faro.performance.resource
contains the  faroNavigationId of it's parent
contains a  faroResourceId
Contains only precalculated attributes (see screenshot)

What

Links
This PR tackles multiple issues:

#388
#389
#393
Correct page load time - Slack Discussion

Screenshots
Faro Navigation Timing

Faro Resource Timing

Checklist

[ ] Tests added
[ ] Changelog updated
[ ] Documentation updated

Testing data compression prt. 1
See commit

Testing data compression proposal No. 2
Follow commits: wip: compression, proposal 2

Create labels to query specific entries:
Have the id's and names as (top level) labels
Have all metrics in compressed form in a single data string.
A query can look like this:
Give me all FaroResourceTimings, which belong to FaroNavigationEntry with faroNavigationId: 123
... | kind="event" | event_name=~"faro.performance.resource" | faroNavigationId="123" ...
When receiving the data we need to parse the data sting  (JSON )  and map it to a human readable JS object.

Translates a faro.performace.navigation event to the following log (taken from demo app)
Query: {app="@grafana/faro-demo-client"} |= event_name=faro.performance.navigation | logfmt
Log:

Translates a faro.performace.resource event to the following log (taken from demo app)
Query: {app="@grafana/faro-demo-client"} |= event_name=faro.performance.resource | logfmt
Log:


Reducing duplicated profile fields

pofile and services.linkedin have a lots of duplicate fields.
then, reducing the profile fields.
referenced by backbone of accounts-facebook and backbone of [accounts-twitter]
(https://github.com/meteor/meteor/blob/556c0e28e94b9351cbf0b28e80a71a4e35f1362a/packages/twitter/twitter_server.js#L31,L32)
before:
{
    "_id":"HqaDitq7xRWduLWkz",
    "createdAt":"2015-02-10T12:44:25.884Z",
    "profile":{
        "firstName":"First",
        "headline":"Software Engineer at Company",
        "lastName":"Last",
        "location":{
            "name":"Korea"
        },
        "numConnections":21,
        "pictureUrl":"https://media.licdn.com/mpr/mprx/pictrue",
        "publicProfileUrl":"https://www.linkedin.com/pub/pictrue"
    },
    "services":{
        "linkedin":{
            "accessToken":"tokenkey",
            "expiresAt":1428826120974,
            "firstName":"First",
            "headline":"Software Engineer at Company",
            "id":"idNum",
            "lastName":"Last",
            "location":{
                "name":"Korea"
            },
            "numConnections":21,
            "pictureUrl":"https://media.licdn.com/mpr/mprx/pictrue",
            "publicProfileUrl":"https://www.linkedin.com/pub/pictrue"
        },
        "resume":{
            "loginTokens":[
                {
                    "when":"2015-02-11T08:08:45.875Z",
                    "hashedToken":"hachedtokenkey"
                }
            ]
        }
    }
}

after:
{
    "_id":"HqaDitq7xRWduLWkz",
    "createdAt":"2015-02-11T09:50:46.231Z",
    "profile":{
        "firstName":"First",
        "lastName":"Last"
    },
    "services":{
        "linkedin":{
            "accessToken":"tokenkey",
            "expiresAt":1428826120974,
            "firstName":"First",
            "headline":"Software Engineer at Company",
            "id":"idNum",
            "lastName":"Last",
            "location":{
                "name":"Korea"
            },
            "numConnections":21,
            "pictureUrl":"https://media.licdn.com/mpr/mprx/pictrue",
            "publicProfileUrl":"https://www.linkedin.com/pub/pictrue"
        },
        "resume":{
            "loginTokens":[
                {
                    "when":"2015-02-11T08:08:45.875Z",
                    "hashedToken":"hachedtokenkey"
                }
            ]
        }
    }
}

Hi @haydnhkimm,  sry for super late responce, was insanely busy. Will take a look at it and will merge today

@PauliBuccini thanks!


Add XML and generated files of the Energy Calendar cluster

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Rogue backtick in one of the scripts

Search for "GetM`ethods". I don't think that backtick is supposed to be there.
https://github.com/memstechtips/UnattendedWinstall/blob/1745581102adf57082c38e81bac7650ead9cf062/autounattend.xml#L1424
Thanks!

That's not my script though, it was made by AveYo and changed by Chris Titus.
I don't think that actually makes a difference in the environment that script runs in the answer file, but I'll keep it in mind to fix it for future updates, thanks!

To follow up even further, I think the backtick is intentional and its purpose is to avoid being false flagged and deleted by anti virus software. Here's a summary/breakdown of what's happening.
When this script runs, the backtick in GetM\ethodsis ignored, and the method executes as if it were written correctly asGetMethods. In PowerShell, the backtick is an escape character used to indicate that the following character should be treated literally. Since there's no special character following the backtick in this context, it essentially gets ignored, and GetM`ethodsis interpreted asGetMethods`.
Here's a breakdown of how PowerShell handles it:

Backtick as Escape Character: The backtick is used in PowerShell to escape characters that have special meaning. For example, you might use it to include a literal newline or quote character in a string. However, in this context, the backtick is followed by a regular letter (e), so it doesn't escape anything.

Ignoring the Backtick: Since there's nothing special to escape, PowerShell treats the backtick followed by e as just e. Therefore, GetM\ethodsis interpreted asGetMethods`.

Execution: The line of code executes as if it were written correctly as GetMethods.

To further illustrate, here's a simple example:
# Define a string with an embedded backtick
$testString = "Hello` World"
Write-Output $testString

In this example, the output will be:
Hello World

The backtick followed by a space is ignored, and the string is output as if the backtick were not there.
So, in the script line:
$D1=[uri].module.gettype('System.Diagnostics.Process')."GetM`ethods"(42) |where {$_.Name -eq 'SetPrivilege'}

The GetM\ethodsis effectivelyGetMethods`, and the method call proceeds as expected.
Key Points:

Obfuscation Technique: The backtick in GetM\ethods` is likely an obfuscation technique to bypass simple text-based detection mechanisms.
Script Execution: Despite the backtick, the method call works correctly, and GetM\ethodsfunctions asGetMethods`.
Privileges Adjustment: The method SetPrivilege is accessed correctly, allowing the script to adjust the process's privileges.

In conclusion, when this script runs, the backtick in GetM\ethodsdoes not affect the functionality, andGetM`ethodsexecutes asGetMethods`.

That is quite interesting, thanks for sharing!


Include src/LittleHalHost.Example/Example.csproj from yreynhout's gist

Added LittleHalHost.Example/Example.csproj and readme.md describing url parameters

I am not sure why The Travis CI build failed

error MSB3202: The project file "/src/LittleHalHost.Example/Example.csproj" was not found. [/src/SqlStreamStore.HAL.sln]

The file src/LittleHalHost.Example/Example.csproj has been added to git and Visual Studio builds the solution successfully

The issue is here: https://github.com/SQLStreamStore/SQLStreamStore.HAL/blob/master/Dockerfile#L8
The Dockerfile is assuming that the folder name and the project file name are the same.

Do you mean squash commits similar to
https://blog.carbonfive.com/2017/08/28/always-squash-and-rebase-your-git-commits/ ?

Squashing is up to you, but you should definitely rebase it.


Being able to run xUnit test from VS2012 and later in "Test Explorer"

To detect the xunit test, the sln MUST be of at least VS2012 version
(that's why a VS2010 sln is added for compatibility)

(that's why a VS2010 sln is added for compatibility)

Does the VS2010 sln need to stick around, or can it be removed? It'd be nice if we could avoid the need to maintain two sln files.


Add Banned Tokens support

Add support for banned tokens, or anti-slop.

Can anti-slop only ban strings, or also bias them?
In any case, bannedTokens etc. should probably be renamed to bannedStrings to avoid confusion, since token banning is already a thing with logit bias.
Definitely wait for the maintainer's feedback on this, but you could also hijack the logit bias modal for this to save on UI space.
You can just intercept any multi-token strings in or before the SetLogitBiasParams functions, and if it's banned (bias power = -100), add them to bannedTokens.

I named it bannedTokens since the API named banned_tokens as parameter.
In KoboldAI Lite documentation:
banned_tokens - An array of string sequences, each entry represents a word or phrase prevented from being generated, either by modifying the model vocab or by backtracking and regenerating when they appear.
I don't think there's any relation to logit bias. Also, I don't think phrases would work as logit bias.

I named it bannedTokens since the API named banned_tokens as parameter.

Oh, I see. Makes sense to name it that way then.

Also, bias power -100 would be different from banning since it still permits the token during generation

A -100 in mikupad completely bans the token (in llamaCPP at least. I believe I couldn't find an equivalent for the other two APIs. Been a while since I wrote it.)
Here's the relevant line:
https://github.com/lmg-anon/mikupad/blob/cc7a16c8b8b1d462f25eb3efe4973c47b2b7a153/mikupad.html#L3197
But yeah, if it's a completely seperate thing from bias, maybe it should stay as a separate UI element. I just think that a small field with an array, while functional, isn't great to use, but that's nitpicking.

This should do it, thank you for the contribution!


Support for RCT 1 using openrct2

Project link: https://openrct2.io/
Project license: GPLv3
Does it work on 64-bit only Linux: YES
Is source code available?: YES
Is source code stored in Git?: YES
List of Steam AppIds of supported games:

https://store.steampowered.com/app/285310/RollerCoaster_Tycoon_Deluxe/

Additional information
https://github.com/OpenRCT2/OpenRCT2/wiki/Loading-RCT1-scenarios-and-data

Done with https://github.com/luxtorpeda-dev/packages/pull/89


Add end-to-end tests for "compile" and "clean" commands

See https://github.com/OpenZeppelin/nile/issues/41
Adds end-to-end tests for nile compile and nile clean. The latter was already pretty well covered by unit tests, so the test here is minimal.
Not sure about the best way to use markers here to in or exclude end-to-end tests. All feedback is welcome:)

I think disabling the test for Python 3.10 is not an issue as (as you point out) it's not a version supported by Cairo.


record.getPublishTime return empty

Hi,
I'm writing a sink connector using io.core.Sink. However, when I tried to call record.getMessage() and checked if message was present using msg.isPresent(), I got a false value. Why I got a record with a mesage whose publishtime and eventtime were both empty?
@Override
    public void write(Record<byte[]> record) {
        Optional<Message<byte[]>> msg = record.getMessage();
        Optional<Long> eventTime = record.getEventTime();
        String t = "";
        if (eventTime.isPresent()) {
            t = eventTime.toString();
        } else {
            t = "Empty";
        }
        if (msg.isPresent()) {
            System.out.println(">>>> PublishTime : " + msg.get().getPublishTime() + ", Eventtime : " + t);
        } else {
            System.out.println(">>>> eventtime " + t + " Record(empty) : "+record.toString() );
        }
    }

In a pulsar cluster deployed in kubernetes(above), I got no value of PublishTime, however, in pulsar standalone cluster, I can got PublishTime from msg.get().getPublishTime() call.
I also notice message's Eventtime maybe empty, any doc I can refer to when event time can be empty?
batchRecords size: 7, responseCount:: 0, ack : 0, nack : 0, queue size: 0
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
batchRecords size: 9, responseCount:: 0, ack : 0, nack : 0, queue size: 0
>>>> PublishTime :<PHONE_NUMBER>464, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>464, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>464, Eventtime : Optional[11651379494838]

Thanks

In a pulsar cluster deployed in kubernetes(above), I got no value of PublishTime, however, in pulsar standalone cluster, I can got PublishTime from msg.get().getPublishTime() call.
I also notice message's Eventtime maybe empty, any doc I can refer to when event time can be empty?
batchRecords size: 7, responseCount:: 0, ack : 0, nack : 0, queue size: 0
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
>>>> PublishTime :<PHONE_NUMBER>465
batchRecords size: 9, responseCount:: 0, ack : 0, nack : 0, queue size: 0
>>>> PublishTime :<PHONE_NUMBER>464, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>464, Eventtime : Optional[11651379494838]
>>>> PublishTime :<PHONE_NUMBER>464, Eventtime : Optional[11651379494838]

Thanks

I wrote an application and tried to consume message using go client, and I can retreive the publishtime from msg.PublishTime().
package main

import (
	"context"
	"fmt"
	"log"
	"time"

	"github.com/apache/pulsar-client-go/pulsar"
)

var (
	token = "ey<...>"
)

func main() {
	client, err := pulsar.NewClient(pulsar.ClientOptions{
		URL:               "pulsar://pulsar-broker.pulsar:6650",
		OperationTimeout:  30 * time.Second,
		ConnectionTimeout: 30 * time.Second,
		Authentication:    pulsar.NewAuthenticationToken(token),
	})
	if err != nil {
		log.Fatalf("Could not instantiate Pulsar client: %v", err)
	}

	defer client.Close()

	consumer, err := client.Subscribe(pulsar.ConsumerOptions{
		Topic:            "public/default/pulsar",
		SubscriptionName: "my-pulsar-sub-test",
		Type:             pulsar.Shared,
	})
	if err != nil {
		log.Fatal(err)
	}
	defer consumer.Close()

	for {
		for i := 0; i < 10; i++ {
			msg, err := consumer.Receive(context.Background())
			if err != nil {
				log.Fatal(err)
			}

			fmt.Printf("Received msgId: %#v, PublishTime : %v, -- content: '%s'\n",
				msg.ID(),
				msg.PublishTime(),
				string(msg.Payload()))

			consumer.Ack(msg)
		}
		time.Sleep(5 * time.Second)
		log.Printf("Sleeping 5s ...")
		fmt.Printf("Sleeping 5s ...")
	}
}

output from pod:
Received msgId: pulsar.trackingMessageID{messageID:pulsar.messageID{ledgerID:31878, entryID:4294, batchIdx:11, partitionIdx:0}, tracker:(*pulsar.ackTracker)(0xc0000976c0), consumer:(*pulsar.partitionConsumer)(0xc000292000), receivedTime:time.Time{wall:0xbff7ce429a0c36bb, ext:10088415541, loc:(*time.Location)(0xf47940)}}, PublishTime : 2021-01-13 17:46:50.43 +0800 CST, -- content: '{"kubernetes.annotations.kubernetes.io/psp":"eks.privileged","kubernetes.annotations.prometheus.io/port":"80","kubernetes.annotations.prometheus.io/scrape":"true","kubernetes.container_hash":"123123123123.dkr.ecr.cn-northwest-1.amazonaws.com.cn/apachepulsar/pulsar-all@sha256:6a181bfd32cd36271034a3e9c325d5ac7625b8d5b4c5fc0154434f176d8389c2","kubernetes.container_image":"123123123123.dkr.ecr.cn-northwest-1.amazonaws.com.cn/apachepulsar/pulsar-all:2.6.1","kubernetes.container_name":"pulsar-proxy","kubernetes.docker_id":"f235aa5d86b7aa8600ec615306e379cc8f5ad66447cd58e1aa807a1766dfc59e","kubernetes.host":"ip-172-24-162-12.cn-northwest-1.compute.internal","kubernetes.labels.app":"pulsar","kubernetes.labels.cluster":"2.6.1-pulsar","kubernetes.labels.component":"proxy","kubernetes.labels.controller-revision-hash":"pulsar-proxy-86dcb67f7b","kubernetes.labels.redeploy":"1609826649","kubernetes.labels.release":"2.6.1","kubernetes.labels.statefulset.kubernetes.io/pod-name":"pulsar-proxy-3","kubernetes.namespace_name":"pulsar","kubernetes.pod_id":"4bad6623-d9ae-408c-81c0-5e065868d455","kubernetes.pod_name":"pulsar-proxy-3","log":"09:46:49.647 [pulsar-proxy-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:45046] New connection opened\n","stream":"stdout"}'

I wrote an application and tried to consume message using go client, and I can retreive the publishtime from msg.PublishTime().
package main

import (
	"context"
	"fmt"
	"log"
	"time"

	"github.com/apache/pulsar-client-go/pulsar"
)

var (
	token = "ey<...>"
)

func main() {
	client, err := pulsar.NewClient(pulsar.ClientOptions{
		URL:               "pulsar://pulsar-broker.pulsar:6650",
		OperationTimeout:  30 * time.Second,
		ConnectionTimeout: 30 * time.Second,
		Authentication:    pulsar.NewAuthenticationToken(token),
	})
	if err != nil {
		log.Fatalf("Could not instantiate Pulsar client: %v", err)
	}

	defer client.Close()

	consumer, err := client.Subscribe(pulsar.ConsumerOptions{
		Topic:            "public/default/pulsar",
		SubscriptionName: "my-pulsar-sub-test",
		Type:             pulsar.Shared,
	})
	if err != nil {
		log.Fatal(err)
	}
	defer consumer.Close()

	for {
		for i := 0; i < 10; i++ {
			msg, err := consumer.Receive(context.Background())
			if err != nil {
				log.Fatal(err)
			}

			fmt.Printf("Received msgId: %#v, PublishTime : %v, -- content: '%s'\n",
				msg.ID(),
				msg.PublishTime(),
				string(msg.Payload()))

			consumer.Ack(msg)
		}
		time.Sleep(5 * time.Second)
		log.Printf("Sleeping 5s ...")
		fmt.Printf("Sleeping 5s ...")
	}
}

output from pod:
Received msgId: pulsar.trackingMessageID{messageID:pulsar.messageID{ledgerID:31878, entryID:4294, batchIdx:11, partitionIdx:0}, tracker:(*pulsar.ackTracker)(0xc0000976c0), consumer:(*pulsar.partitionConsumer)(0xc000292000), receivedTime:time.Time{wall:0xbff7ce429a0c36bb, ext:10088415541, loc:(*time.Location)(0xf47940)}}, PublishTime : 2021-01-13 17:46:50.43 +0800 CST, -- content: '{"kubernetes.annotations.kubernetes.io/psp":"eks.privileged","kubernetes.annotations.prometheus.io/port":"80","kubernetes.annotations.prometheus.io/scrape":"true","kubernetes.container_hash":"123123123123.dkr.ecr.cn-northwest-1.amazonaws.com.cn/apachepulsar/pulsar-all@sha256:6a181bfd32cd36271034a3e9c325d5ac7625b8d5b4c5fc0154434f176d8389c2","kubernetes.container_image":"123123123123.dkr.ecr.cn-northwest-1.amazonaws.com.cn/apachepulsar/pulsar-all:2.6.1","kubernetes.container_name":"pulsar-proxy","kubernetes.docker_id":"f235aa5d86b7aa8600ec615306e379cc8f5ad66447cd58e1aa807a1766dfc59e","kubernetes.host":"ip-172-24-162-12.cn-northwest-1.compute.internal","kubernetes.labels.app":"pulsar","kubernetes.labels.cluster":"2.6.1-pulsar","kubernetes.labels.component":"proxy","kubernetes.labels.controller-revision-hash":"pulsar-proxy-86dcb67f7b","kubernetes.labels.redeploy":"1609826649","kubernetes.labels.release":"2.6.1","kubernetes.labels.statefulset.kubernetes.io/pod-name":"pulsar-proxy-3","kubernetes.namespace_name":"pulsar","kubernetes.pod_id":"4bad6623-d9ae-408c-81c0-5e065868d455","kubernetes.pod_name":"pulsar-proxy-3","log":"09:46:49.647 [pulsar-proxy-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:45046] New connection opened\n","stream":"stdout"}'

I can confirm that Pulsar sink connectors occasionally receive records that do not contain eventTime and/or message. This behavior seems random. These Java calls fail randomly:
long eventTime = record.getEventTime().orElseThrow(() -> new RuntimeException("EventTime does not exist in record"));
Message message = record.getMessage().orElseThrow(() -> new RuntimeException("Message does not exist in record"));
All records to actually contain an eventTime and message.
This happened with Pulsar 2.6.1. Recently upgraded to 2.7.0 and haven't seen the same issue so far. But I've tested only for a very limited time. This issue was observed in Pulsar/Docker (https://pulsar.apache.org/docs/en/standalone-docker/).
I'm not sure, but I got the impression that this issue could be related to high memory usage (https://github.com/streamnative/pulsar-io-cloud-storage/blob/master/src/main/java/org/apache/pulsar/io/jcloud/util/AvroRecordUtil.java contains a memory leak), so I'm currently logging memory usage to confirm that:
long totalMemory = Runtime.getRuntime().totalMemory();
long freeMemory = Runtime.getRuntime().freeMemory();
long memoryUsage = totalMemory - freeMemory;
System.out.println(totalMemory + " " + freeMemory + " " + memoryUsage);

I can confirm that Pulsar sink connectors occasionally receive records that do not contain eventTime and/or message. This behavior seems random. These Java calls fail randomly:
long eventTime = record.getEventTime().orElseThrow(() -> new RuntimeException("EventTime does not exist in record"));
Message message = record.getMessage().orElseThrow(() -> new RuntimeException("Message does not exist in record"));
All records to actually contain an eventTime and message.
This happened with Pulsar 2.6.1. Recently upgraded to 2.7.0 and haven't seen the same issue so far. But I've tested only for a very limited time. This issue was observed in Pulsar/Docker (https://pulsar.apache.org/docs/en/standalone-docker/).
I'm not sure, but I got the impression that this issue could be related to high memory usage (https://github.com/streamnative/pulsar-io-cloud-storage/blob/master/src/main/java/org/apache/pulsar/io/jcloud/util/AvroRecordUtil.java contains a memory leak), so I'm currently logging memory usage to confirm that:
long totalMemory = Runtime.getRuntime().totalMemory();
long freeMemory = Runtime.getRuntime().freeMemory();
long memoryUsage = totalMemory - freeMemory;
System.out.println(totalMemory + " " + freeMemory + " " + memoryUsage);

I will do some tests to see if I can reproduce the problem. Is this problem happens both standalone and k8s clusters?

I will do some tests to see if I can reproduce the problem. Is this problem happens both standalone and k8s clusters?

It seems to happen both standalone and in clusters. You might have to consume a significant number of records (100k or so) before you detect it. Sometimes the problems is there, sometimes not. But if you detect an incorrect record, you most likely find many others in the same timeframe. That's one of the reasons I assume it could be related to high memory usage.

It seems to happen both standalone and in clusters. You might have to consume a significant number of records (100k or so) before you detect it. Sometimes the problems is there, sometimes not. But if you detect an incorrect record, you most likely find many others in the same timeframe. That's one of the reasons I assume it could be related to high memory usage.

The issue had no activity for 30 days, mark with Stale label.

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


App with more then one executable

My problem is that the app I'm trying to convert as appimage has many different executable, so It's not clear how to write the json file, for example, this is my situation:
{
"buildinfo": [
{
"prerun": [
"curl -sL  https://launchpad.net/~me/+archive/ubuntu/artful/+files/package_amd64.deb -o ~/.cache/deb2appimage/debs/package_amd64.deb"
],
"name": "app1",
"name": "app2",
"name": "app3",
"name": "app4",
"name": "app5",
"name": "app17",
"version": "linux",
"deps": " libqt4-sql-sqlite, libavahi-client3, libavahi-common3, libavahi-compat-libdnssd1, libc6, libgcc1, libgl1-mesa-glx, libgl1, libqt4-dbus, libqt4-help, libqt4-network, libqt4-opengl, libqt4-svg, libqt4-xml, libqtcore4, libqtgui4, libqtwebkit4, libqwt5-qt4, libsdl2-2.0-0, libstdc++6, libudev1, libxml2",
"repoarch": "amd64",
"distrorepo": "Debian",
"repoversion": "sid",
"binarypath": "/usr/bin/app1",
"binarypath": "/usr/bin/app2",
"binarypath": "/usr/bin/app3",
"binarypath": "/usr/bin/app18",
"binarypath": "/usr/bin/app19",
"desktoppath": "/usr/share/applications/app1.desktop",
"desktoppath": "/usr/share/applications/app2.desktop",
"desktoppath": "/usr/share/applications/app3.desktop",
"desktoppath": "/usr/share/applications/app4.desktop",
"desktoppath": "/usr/share/applicationsapp9.desktop",
"iconpath": "/usr/share/icons/hicolor/48x48/apps/app1.png",
"iconpath": "/usr/share/icons/hicolor/48x48/apps/app2.png",
"iconpath": "/usr/share/icons/hicolor/48x48/apps/app3.png",
"iconpath": "/usr/share/icons/hicolor/48x48/apps/app4.png",
"iconpath": "/usr/share/icons/hicolor/48x48/apps/app9.png",
"usewrapper": "false",
"postrun": [
null
]
}
],
"apprunconf": [
{
"setpath": "true",
"setlibpath": "true",
"setpythonpath": "false",
"setpythonhome": "false",
"setpythondontwritebytecode": "false",
"setxdgdatadirs": "true",
"setperllib": "false",
"setgsettingsschemadir": "false",
"setqtpluginpath": "true",
"exec": "/usr/bin/app1"
"exec": "/usr/bin/app2"
}
],
"authors": [
{
"type": "Author",
"author": "Test",
"url": "https://test.com"
},
{
"type": "AppImage Maintainer",
"author": "test",
"url": "https://test.it"
}
]
}
So my problem is that I have many diffferent binary and only some of them have a .desktop files so I can't uderstand how to put things working togheter. They are all one project that use exactly the same library and that I compile like one project. So, is there a way to have deb2appimage working with a deb package with many ececutables in it or no?
Thank you

This is kind of a limitation of AppImage (and other containers also AFAIK).  The only way I really know of to handle this would be to write a script that would detect the user input and run the relevant command inside of the AppImage and use that as the target binary.


Updated Agent.Worker.csproj such that a new version of System.Security.Cryptography.ProtectedData can be used for Azure.Identity

Issue description:
While trying to add the Azure.Identity package within the Agent.Worker project, I encountered an error saying that the System.Security.Cryptography.ProtectedData is not supported.
Changes:
Updated the System.Security.Cryptography.ProtectedData package to a newer version such that it is supported to work with the Azure.Identity package.
Documentation changes required: No
Added unit tests: No
Attached related issue: https://dev.azure.com/mseng/AzureDevOps/_workitems/edit/1973805

/azp run

/azp run

/azp run

/azp run


Downgrade target framework to .Net Standard 2.0

We'd like to use this SDK in an application, which uses .Net Framework 4.7. The problem is that the target framework of the Agrirouter .Net SDK is .Net Standard 2.1, which is not compatible with any .Net Framework version.
What do you think about downgrade target framework of Agrirouter SDK to .Net Standard 2.0 instead of .Net Standard 2.1? According to Microsoft docs .Net Standard 2.0 as a recommended target framework for general-purpose libraries.
As a workaround for our integration, we had to include sources of Agrirouter SDK to our project and manually modify it to .Net Standard 2.0. It wasn't too difficult (only several places).
If you are interested in switching to .Net Standard 2.0, we'll be happy to create a corresponding PR.

At the moment, this would mean, that the corresponding libraries have to target version 2.0 as well. And this is not the case for the ProtoBuf definitions. I will keep that in mind and discuss with @oliverrahner additional steps.

As a workaround for our integration, we had to include sources of Agrirouter SDK to our project and manually modify it to .Net Standard 2.0. It wasn't too difficult (only several places).

I know this is an old issue, but can you maybe explain how you did this? I'm missing types from namespace Agrirouter.Request which are part of NuGet package agrirouter-api-protobuf-definitions, which is also a .NET Standard 2.1 project.

You could provide a private package just for your application by building the dependencies on your own and create a custom NuGet feed.
https://learn.microsoft.com/en-us/nuget/hosting-packages/overview
Switching to .NET Standard 2.0 is currently no option, since there are too many dependencies out there. If you need further help, please let me know.


Feature/notification system

Changes in this pull request

Adds support for paywalls that include a free trial notification. After starting a free trial, the app checks whether the paywall should notify the user when their trial is about to end. If so, the user will be asked to enable notifications (if they haven't already) before scheduling a local notification. You can add a free trial notification to your paywall from the paywall editor.

Checklist

[x] All tests pass. Demo project builds and runs.
[ ] I added tests, an experiment, or detailed why my change isn't tested.
[x] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have run swiftlint in the main directory and fixed any issues.
[ ] I have updated the SDK documentation as well as the online docs.
[x] I have reviewed the contributing guide

Not sure about the coding of the enum but going to send down TRIAL_STARTED to match the existing configuration.

Okay will need to add CodingKeys to the enum


Invalid color for errors when placing orders

http://peatio.trade/trading/uahusd

Closed by #50.


Use fake ID values for R2

These values are meaningless. We only need them to be unique which is trivially achievable with a counter.
This change is required, however, because AGP 3.6 will stop generating ID values in library projects. All values are set to 0 which obviously will prevent Butter Knife from correctly performing the reverse mapping from R2 value back to name.
Closes #1549.

Beautiful


Sponsorship

Use the search function to see if this feature has already been suggested.

[X] I have searched for duplicate issues.

Description of new feature
Hey there —
I’m using Suki in my app and I was curious how to sponsor the project as I couldn’t find any links to donate.
Package Version
6.0.0

Hi,
There is no need for donations don't worry. But thank you very much for thinking about it, in fact it's even more meaningful than a donation itself, I'm glad you appreciate the work here.
Congratulations for the release of your app, I like what you have done with the library to make it more personal, it is very nice.


Add visualization for unit test code coverage

The "test" make target is using go test is using '-cover' which just outputs the coverage information to the console.  If we use '-coverprofile=coverage.out' we can use go tool commands, like `go tool cover -html=coverage.out' to process that information into something more consumable and referenceable.  There are also some additional options like covermode that we should use as well.  The end goal would be to host html files that visualize the code coverage so missing coverage can be identified and added.  This blog [1] does a good job of documenting how to use the coverage feature effectively.
[1] https://go.dev/blog/cover

@cpmeadors is this issue still relevant or can be closed?
If it's still relevant to what release do you think we should map it to (mid-November, end-December, mid-February etc...)?


Support build/debug iOS on a remote Mac

Use case
Main development environment is Windows.
A Mac exists on the same local network. Xcode and all the tools are installed.
Currently we have to switch between Mac and Windows all the time, doing frequent unnecessary git commits just to synchronize between the two.
While we could theoretically switch to Mac completely and do all our work there there are financial and technical limitations that will keep us on Windows in the near future.
Proposal
We would like to see a feature like VisualStudio offers with Xamarin, where you can remotely connect to the Mac and do your build/debug work from inside the VS IDE.
This is different to #22771 in that it would actually make use of an existing local Mac infrastructure rather than circumventing it completely.

Is there any progress on this? Has been added to the road map?

Would be amazing feature, remote compilation for windows user

I migrate the code of a Xamarin application to Flutter and this feature is missing a lot.

this is something to look forward. also want this as i build a hackintosh and planing to build apps with my day to day pc(ubuntu) then remotely build/debug to my hackintosh on my network.

It's not this possible yet?

After a year it was time, I thing that a lot of people is waiting for this feature

@buster95 I hope to see a very good tooling since there is something in market that can be used to copy and enhance

Please I need it! :)

Any planning for this feature?

Any updates?

I second this.
My main workstation is a Windows PC. I can work effectively there. I have all the tools, all settings, my favorites keyboard and everything setup there.
Yes, one can use TeamViewer and other workaround, but these have always lots of drawbacks.
Flutter is an amazing piece of tech and it would deserve a nice alternative to Xamarin Remote.

The Xamarin keeps going foward, now they can run the iOS app on a real iOS device while developing on windows without the MAC requirement: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart
For development and testing it is really awesome =(
Please flutter go ahead and let us do same thing or at least run iOS app while on while through network

No hurt feelings though, Xamarin is just terribly bad in absolutely everything anyway.
Still, this features @AlbertoMonteiro mentions would be nice.

@StepanMynarik I completely disagree with you.

@StepanMynarik I completely disagree with you.

Feel free, everyone's mileage may wary.

It's been more than a year and there's not even comments from a developer

Using Remote - SSH extension I was able to open the project in a remote machine, but debug and hotreload is unavailable =\

@JCKodel

Using Remote - SSH extension I was able to open the project in a remote machine, but debug and hotreload is unavailable =\

Are you referring to the VS Code extension? If so, I think we can connect and try to fix it.
I succeeded using a macOS VM and then connecting to it via SSH to develop in my physical iOS device via VS Code. Everything works fine, from running the app (the Xcode build is done remotely), hot reloading/restarting and code completion is amazingly fast. I don't even have to interact with the macOS VM after connecting to it via SSH.
The only downside is that using simulators (to test in different device sizes) might require using Visual Studio's feature to "mirror" the simulators from the VM to Windows.

@JCKodel

Using Remote - SSH extension I was able to open the project in a remote machine, but debug and hotreload is unavailable =\

Are you referring to the VS Code extension? If so, I think we can connect and try to fix it.
I succeeded using a macOS VM and then connecting to it via SSH to develop in my physical iOS device via VS Code. Everything works fine, from running the app (the Xcode build is done remotely), hot reloading/restarting and code completion is amazingly fast. I don't even have to interact with the macOS VM after connecting to it via SSH.
The only downside is that using simulators (to test in different device sizes) might require using Visual Studio's feature to "mirror" the simulators from the VM to Windows.

I am waiting this feature too.

#I_am_waiting_this_feature_too

Just started working with Flutter: amazing stuff... but wait, now way to debug on a remote Mac? And nothing in view after almost two years since this issue was open? I am afraid my manager will reconsider the use of Flutter for our next project :(

No hurt feelings though, Xamarin is just terribly bad in absolutely everything anyway.
Still, this feature @AlbertoMonteiro mentions would be nice.

Xamarin being bad is not a reason for Flutter to be even worse in some (quite a few actually) aspects.

@JCKodel

Using Remote - SSH extension I was able to open the project in a remote machine, but debug and hotreload is unavailable =\

Are you referring to the VS Code extension? If so, I think we can connect and try to fix it.
I succeeded using a macOS VM and then connecting to it via SSH to develop in my physical iOS device via VS Code. Everything works fine, from running the app (the Xcode build is done remotely), hot reloading/restarting and code completion is amazingly fast. I don't even have to interact with the macOS VM after connecting to it via SSH.
The only downside is that using simulators (to test in different device sizes) might require using Visual Studio's feature to "mirror" the simulators from the VM to Windows.

You can only run MacOS VM inside MacOS, so that defeats the purpose. Unless you're violating the MacOS license agreement, for which I would advise you to refrain from publicly announcing.

And why would you SSH to a MacOS VM in the first place when you can work with it directly.
Because I have a Threadripper 3970X with 256Gb RAM for a PC and a crappy MacMini 2018 that throtle due high temperature most of the time and is barely usable?

Or you are telling me "Stop being poor" [Insert Paris Hilton meme here] or buy another crappy Apple product just to be able to develop for < 20% of the market share?

#I_am_waiting_this_feature_too
Please make an effort for us (developers)!!!

#I_am_waiting_this_feature_too
Please make an effort for us (developers)!!!

You'll continue waiting, because everything look like they're not interested in add this feature

#I_am_waiting_this_feature_too
Please make an effort for us (developers)!!!

You'll continue waiting, because everything look like they're not interested in add this feature

Maybe I'll wait for .net MAUI

@christopherfujino do you know if this proposal reach the Flutter team? Really this could be a game changer, especially now that Microsoft released MAUI with the same feature inherit by Xamarin (and would help LATAM and another economy-low regions where buy a Mac is a very big effort).

Vote up

Vote up

I support! I'm moving my project from Xamarin to Flutter. A highly requested feature. I'm looking forward to it!


build bcc from source

validated test builds for 1804 + 1604. tools look good, booted a VM and things seem to work as expected. included some cleanup logic to delete apt packages because we get quite close to disk capacity otherwise.
18.04: https://msazure.visualstudio.com/CloudNativeCompute/_build/results?buildId=38398083&view=logs&j=e87678bc-3b03-5f2b-4494-ebb72fdaf05d&t=e1e84ec0-3611-5863-073e-66591300d4ad&l=5058
16.04: https://msazure.visualstudio.com/CloudNativeCompute/_build/results?buildId=38396898&view=logs&j=e87678bc-3b03-5f2b-4494-ebb72fdaf05d&t=e1e84ec0-3611-5863-073e-66591300d4ad&l=4914

validated test builds for 1804 + 1604. tools look good, booted a VM and things seem to work as expected. included some cleanup logic to delete apt packages because we get quite close to disk capacity otherwise.
18.04: https://msazure.visualstudio.com/CloudNativeCompute/_build/results?buildId=38398083&view=logs&j=e87678bc-3b03-5f2b-4494-ebb72fdaf05d&t=e1e84ec0-3611-5863-073e-66591300d4ad&l=5058
16.04: https://msazure.visualstudio.com/CloudNativeCompute/_build/results?buildId=38396898&view=logs&j=e87678bc-3b03-5f2b-4494-ebb72fdaf05d&t=e1e84ec0-3611-5863-073e-66591300d4ad&l=4914

actually why can we no longer download from apt?

actually why can we no longer download from apt?

the apt repos are no longer really maintained: https://github.com/iovisor/bcc/issues/3220

the apt repos are no longer really maintained: https://github.com/iovisor/bcc/issues/3220


Time issue in the starting services sequence could make edgex-mongo to fail

🐞 Bug Report
It happens edgex-mongo to read /tmp/edgex/secrets/edgex-mongo/secrets-token.json
before this file to be created or the content of this file to be updated with the new token  by vault-worker.
Because of this, docker-edgex-mongo could fails with:

open /tmp/edgex/secrets/edgex-mongo/secrets-token.json: no such file or directory exception if this file does not exists at all or
failed to read secret stores data for '/v1/secret/edgex/mongo/notifications' path: Error found on handling secrets from underlying data-store: Received a '403' response from the secret store.
(We got 403 exeception because edgex-mongo reads the content of the file written from the previous vaul-worker run)

edgex-vault-worker log  looks like this:
level=INFO ts=2020-02-14T12:36:47.113384314Z app=edgex-security-file-token-provider source=provider.go:88 msg="generating policy/token defaults for service edgex-mongo"
level=INFO ts=2020-02-14T12:36:47.114688605Z app=edgex-security-file-token-provider source=provider.go:94 msg="using policy/token defaults for service edgex-mongo"
level=INFO ts=2020-02-14T12:36:47.118347602Z app=edgex-security-file-token-provider source=common.go:97 msg="successfully made request to install policy"
level=INFO ts=2020-02-14T12:36:47.125773421Z app=edgex-security-file-token-provider source=common.go:97 msg="successfully made request to create token"
........

Part of edgex-mongo log :
level=ERROR ts=2020-02-14T12:36:57.047005838Z app=edgex-mongo source=config.go:69 msg="failed to read secret stores data for '/v1/secret/edgex/mongo/logging' path: Error found on handling secrets from underlying data-store: Received a '403' response from the secret store"
........

The logs shows that there are 10 seconds delay from token creation and the exception in the edgex-mongo ... but edgex-mongo actually reads the token a few milliseconds before vault worker to do its job, then create a request to vault ..and it takes around 10 seconds to get a replay
Affected Services

 The issue is located in:
Is this a regression?

 The issue was not reproduced in Fuji release
Description and Minimal Reproduction
execute a few times:
docker-compose up -d
docker down

Approximately one of the three attempts fails, but another retry fix the situation.
🔥 Exception or Error
Possible exceptions in docker-edgex-mongo:

 - open /tmp/edgex/secrets/edgex-mongo/secrets-token.json:` no such file or directory exception` if this file does not exists at all or
 - failed to read secret stores data for '/v1/secret/edgex/mongo/notifications' path: Error found on handling secrets from underlying data-store:` Received a '403' response from the secret store`.

🌍  Your Environment
Deployment Environment:
Services started in containerized environment - via docker-compose file.
EdgeX Version:
Anything else relevant?

Related issue: #2383 (existing health check doesn't really detect when security-secretstore-setup is done-done)

Testing instructions
Check out related fix branches in edgex-go, docker-edgex-consul, and developer-scripts and build the containers locally.  Make the following change to  the docker-compose file and test for the race condition:
diff --git a/releases/nightly-build/compose-files/docker-compose-nexus-mongo.yml b/releases/nightly-build/compose-files/docker-compose-nexus-mongo.yml
index 36a4814..6d2663e 100644
--- a/releases/nightly-build/compose-files/docker-compose-nexus-mongo.yml
+++ b/releases/nightly-build/compose-files/docker-compose-nexus-mongo.yml
@@ -52,12 +52,15 @@ services:
       - consul-data:/consul/data:z

   consul:
-    image: nexus3.edgexfoundry.org:10004/docker-edgex-consul:master
+    image: edgexfoundry/docker-edgex-consul:0.0.0
+    #image: nexus3.edgexfoundry.org:10004/docker-edgex-consul:master
     ports:
       - "8400:8400"
       - "8500:8500"
     container_name: edgex-core-consul
     hostname: edgex-core-consul
+    environment:
+      - "SECRETSTORE_SETUP_DONE_FLAG=/tmp/edgex/secrets/edgex-consul/.secretstore-setup-done"
     networks:
       edgex-network:
         aliases:
@@ -66,8 +69,8 @@ services:
       - consul-config:/consul/config:z
       - consul-data:/consul/data:z
       - consul-scripts:/consul/scripts:z
-      - vault-config:/vault/config:ro,z
       - /tmp/edgex/secrets/ca:/tmp/edgex/secrets/ca:ro,z
+      - /tmp/edgex/secrets/edgex-consul:/tmp/edgex/secrets/edgex-consul:ro,z
       - /tmp/edgex/secrets/edgex-vault:/tmp/edgex/secrets/edgex-vault:ro,z
       - /tmp/edgex/secrets/edgex-kong:/tmp/edgex/secrets/edgex-kong:ro,z
     depends_on:
@@ -134,9 +137,12 @@ services:
       - volume

   vault-worker:
-    image: nexus3.edgexfoundry.org:10004/docker-edgex-security-secretstore-setup-go:master
+    image: edgexfoundry/docker-edgex-security-secretstore-setup-go:master-dev
+    #image: nexus3.edgexfoundry.org:10004/docker-edgex-security-secretstore-setup-go:master
     container_name: edgex-vault-worker
     hostname: edgex-vault-worker
+    environment:
+      - "SECRETSTORE_SETUP_DONE_FLAG=/tmp/edgex/secrets/edgex-consul/.secretstore-setup-done"
     networks:
       edgex-network:
         aliases:

@difince I am having trouble testing this due to the race condition.  However, I have made a set of changes that I believe resolves the issue.  Could you please validate?

Wednesday I am getting back .. and I will validate it

It figured out that I will be back Thursday, not Wednesday

The Issue was validated against the three PRs @bnevis-i have been created.


Rewrite the rabbitmq profile

nova::rabbitmq should be going away soon, so it is best to stop using
it. Moreover, the nova::rabbitmq class depends on an old version of the
rabbitmq module that contains what in some contexts is considered a
security vulnerability. While we can't change the rabbitmq version in
the metadata.json file because it will cause a conflict with the other
openstack modules, we can update our code and Puppetfile to use the
newer version and its new dependencies while maintaining compatibility
with the old version.
This commit also adds a host entry for localhost rabbitmq so that
rabbitmq can restart without being blocked by the firewall.

@hunner I removed the host entry from the rabbitmq profile and put it instead in a provisioning step for the example deployments.


OLS-1182: Add mailto link in UI footer for contacting OpenShift Lightspeed team

Override failing test not related to this change:
/override "Red Hat Konflux / lightspeed-console-on-pull-request"


Add table tags (table, td, th, tr, colgroup)

Fixes #36399
Added table tags and attributes (span, colspan, scope, rowspan) in order to be able to use tables in tooltips.

@XhmikosR @GeoSot Wondering if there was a reason for not including any of these?

No reason, I'm not sure these are so common. We should check what Angular has first.

in principle, i'm in favour of this PR

@GeoSot are these covered by tests? I.e. shouldn't we need to add the new elements to tests?
Otherwise, if you agree, we could land this.

Actually, NVM, I just read @patrickhlauke comments.
@dev-ph1l please make a new PR addressing the comments and make sure that the new changes are added in tests.


Support to undelete all deleted blobs which within the set data range on 'Undelete by Date' dialog

Storage Explorer Version: 1.4.0
Platform/OS Version: Windows 10/ Linux Ubuntu 16.04
Architecture: ia32/x64
Build Number: 20180802.6
Commit: e9fc436c
Regression From: Not a regression
Steps to Reproduce:

Expand one storage account then enable soft delete for 'Blob Containers'.
Open one blob container which contains two blobs at least.
Delete these two blobs then switch to 'Active and deleted blobs'.
Right click one deleted blob and select 'Undelete by Date' -> Set a valid data range and make sure the deleted time of these two blobs are included within the set data range.

Expected Experience:
These two deleted blobs are undeleted.
Actual Experience:
Only the selected blob is undeleted.

This is the intended behavior. Won't fix.

I could see the potential confusion here. This is a side effect from changing the button string from "Undelete Selected" to just "Undelete".  We'll keep this issue open for future consideration.  Please do let us know if you, all the users out there, feel the current product behavior is confusing.  Thanks.

No one has commented. We'll go ahead and close this. :)


Image linked to an article

Hi,
How could we change the image of an article?
Thanks in advance.
Regards,
Benjamin

Hi Benjamin,
to change the image of an article, click the image you want to change
When the tooltip shows aside the image on the screen, click the reverse icon in that to show the "Drop image" area. Drag and drop another image to it to upload.

In case you want to delete the image, click the image again and click the trashcan icon.
We use beautiful Froala wysiwyg editor for WallRide editor by the way.

Thanks for your answer.  Sorry but I was meaning "cover image".  Is it also a drag and drop area? or it's not yet available?
Benjamin

Thanks for your answer. Sorry but I was meaning "cover image". Is it also a drag and drop area? or it's not yet available? Benjamin

You're right, drag and drop to change cover image to the box named 'Cover image' as well. Apologies to make you confused.
When you want to remove it, click the remove icon(x) on upper right in the cover image box.

Awesome! :-) If I have other questions like this one, should I create an issue or do you want to use another way of communication?
Last question: do you have a roadmap? because I'm planning to develop a event/calendar on your CMS, but if you've already done it or planned... I could wait :-D.  For futur features, should it use the pull requests section?
Thank you!

Hi, apologies for the late reply. As of now, we use only github issues because we want to keep it simple about communicating tool. So if you have any questions, please post here as usual. In the future we might think about using ticket management systems like JIRA or chatting tools like gitter.
Yes we're planning about roadmap, but it's still private for now. If we can we will publish it in this month
but so far we don't plan to develop event/calendar. If it is okay, we would like to know what features the event calendar you want to make have. We might help some of the features.
 To keep repository clean and simple, we make some guidelines to creating pull requests, but it'll be simple minimum ones. We will let you know it later.
When you create pr, please follow the guideline.
Thank you.

Hi,
For the event/calendar feature, I'm planning to create events in a new administrator panel.
These events could be show as a list or in a calendar view in the public website (based on fullcalendar.io)
Ok for pull requests, I will follow the guidelines.
For the development, I'm trying to use spring-boot-dev-tools.
I've put in the wall ride parent :

org.springframework.boot
spring-boot-devtools
true

It starts the livereload but then I've an issue on my landing page.
Other question, is it possible to use Spring Loaded?
Regards,
Benjamin

Hi, I'm so sorry for the late response!
Good to know about event calendar! but only administrators can see the calendar?
About long awaited PR guideline, We've created guideline here,
please take a look! Though this documentation is not enough(we know!)
it might be helpful for some part.
This documentation can be seen in wallride.org site too. (Just click "Let's go ride now")
and regarding livereload, we know the issue and investigating that now.
The library urlrewritefilter of org.tuckey and livereload of spring-boot-devtools seems not going well... We're sorry for inconvenience for now.
Thank you.

@bevrard Hi! Thank you for waiting..
We've updated the develop branch, which enables to use spring-boot-devtools.
We fixed the problem that wallride could not start normally by including devtools dependency to maven.
Please checkout latest branch and start if you have time!
Thank you.


Fix type certficate -> certificate

Waiting for CLA signature by @web-flow
@web-flow - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

Thanks @sathieu! To appease our commit summary checker can you prepend "(doc)" to the commit summary line? Thanks!!

Waiting for CLA signature by @web-flow
@web-flow - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

I have signed the CLA.

@branan, @kylog : Done


Add timeout to cluster initialization in correctness test.

This ensures that if cluser initialization hangs, we can still get cluster logs.

This change is

This was useful in debugging #833


[REQ] Offer Testnet solution

Perhaps at lnbits.com/testnet

I never use testnet, but make sense for stress testing and experimenting with larger amounts.

This can be done by just hooking up a funding source that operates on testnet.


Microsoft/users/raagra/azure tasks stable105

Hi @rajatagrawal-dev, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Rajat Agrawal). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Looks fine.

Looks fine.

ok


Provide a better error message when kernel crashes while running a cell

Currently we end up with the following error message in the cell Canceled future for execute_request message before replies were done
Originally filed here https://github.com/microsoft/vscode-jupyter/issues/13081

I've got the same issue trying to finetune an object detection model using the framework mmdetection.
To reproduce:
2097  conda create --name openmmlab python=3.8 -y
2098  conda activate openmmlab
2099  pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
2100  pip install -U openmim
2101  pip install pexpect
2102  pip install -U openmim
2103  mim install mmcv-full
2104  pip install mmdet
2105  pip install future tensorboard
from mmcv import Config
cfg = Config.fromfile('configs/faster_rcnn/faster_rcnn_r50_caffe_fpn_mstrain_1x_coco.py')

from mmdet.apis import set_random_seed

classes = ['disk']
# Modify dataset type and path
cfg.dataset_type = 'CocoDataset'
#cfg.data_root = 'data/patient_50'

cfg.data.train.type = 'CocoDataset'
cfg.data.train.img_prefix = 'data/disk_detector/train'
cfg.data.train.ann_file = 'data/disk_detector/train/train.json'
cfg.data.train.classes = classes

cfg.data.val.type = 'CocoDataset'
cfg.data.val.img_prefix = 'data/disk_detector/val'
cfg.data.val.ann_file = 'data/disk_detector/val/val.json'
cfg.data.val.classes = classes

cfg.data.test.type = 'CocoDataset'
cfg.data.test.img_prefix = 'data/disk_detector'
cfg.data.test.ann_file = 'data/disk_detector/test.json'
cfg.data.test.classes = classes

# modify num classes of the model in box head
cfg.model.roi_head.bbox_head.num_classes = 1
# If we need to finetune a model based on a pre-trained detector, we need to
# use load_from to set the path of checkpoints.
cfg.load_from = 'checkpoints/faster_rcnn_r50_caffe_fpn_mstrain_3x_coco_20210526_095054-1f77628b.pth'

# Set up working dir to save files and logs.
cfg.work_dir = './tutorial_exps'

# The original learning rate (LR) is set for 8-GPU training.
# We divide it by 8 since we only use one GPU.
cfg.optimizer.lr = 0.02 / 8
cfg.lr_config.warmup = None
cfg.log_config.interval = 10

# Change the evaluation metric since we use customized dataset.
#cfg.evaluation.metric = 'mAP'
#cfg.evaluation.metric = 'IoU'
# We can set the evaluation interval to reduce the evaluation times
cfg.evaluation.interval = 12
# We can set the checkpoint saving interval to reduce the storage cost
cfg.checkpoint_config.interval = 12

# Set seed thus the results are more reproducible
cfg.seed = 0
set_random_seed(0, deterministic=False)
cfg.device = 'cuda'
cfg.gpu_ids = range(1)

# We can also use tensorboard to log the training process
cfg.log_config.hooks = [
    dict(type='TextLoggerHook'),
    dict(type='TensorboardLoggerHook')]

# We can initialize the logger for training and have a look
# at the final config used for training
#print(f'Config:\n{cfg.pretty_text}')
print(cfg.evaluation)

from mmdet.datasets import build_dataset
from mmdet.models import build_detector
from mmdet.apis import train_detector
import mmcv
import os.path as osp

# Build dataset
datasets = [build_dataset(cfg.data.train)]

# Build the detector
model = build_detector(cfg.model)
# Add an attribute for visualization convenience
model.CLASSES = datasets[0].CLASSES

# Create work_dir
mmcv.mkdir_or_exist(osp.abspath(cfg.work_dir))
train_detector(model, datasets, cfg, distributed=False, validate=True)

@ODAncona
looks like your kernel is crashing due to the code or dependencies installed
Please could you double check that, try to run the same notebook with Jupyter notebook and/or Jupyter lab in the exact  same environment to verify the crash

I'm experiencing this. I'd like to solve the underlying issue of why my kernel is crashing. Is there a way to debug the root cause of the kernel crash in the meantime until this issue is fixed? The logging isn't very thorough.

rnel is crashing. Is there a way to debug the root cause of the kernel crash in the meantime until this issue is fixe

unfortunately most of the time there’s no additional information
I would try to strip the code down, try a cell at a time
Update/downgrade dependencies
Kernel crashing, means the python process has crashed, and it’s almost impossible (sometimes) for vscode to figure out why it crashed
As mentioned it could be a number of things, some code in the notebook or package, etc
Another thing is to try the same code outside vscode in Jupyter lab/notebook on the same environment

Thanks for the info.
If I export the notebook to a .py file and run that through the interpreter, it does not crash.
If I run the notebook with jupyterlab, then it also crashes.
So I think it is something to do with ipykernel, not the actual python code, and not VScode. Does that seem like the right conclusion?

I think it is something to do with ipykernel, not the actual python code, and not VScode. Does that seem like the right conclusion?

Yes, though i would expect it to crash in VS Code as well if it crashes in Jupyter Lab.
Perhaps you are using two different python environments.