"Out of order sample from remote write" after agent restart

What did you do?
I'm setting up a prom/agent configuration. I'm using version 2.32.0-beta.0.
I have:

1 prometheus server configured as normal and with remote write enable (--enable-feature=remote-write-receiver)
1 prometheus agent configured to scrape 19 targets and to remote write to the prometheus server

What did you expect to see?
metrics from the agent to be sent and be available from the server
What did you see instead? Under which circumstances?
when the agent directory is empty at agent start, it works correctly. But when I restart the agent without deleting the agent directory in between, I'm randomly having some errors as:
Nov 25 15:51:25 prometheus[1154732]: ts=2021-11-25T15:51:25.658Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="out of order sample"
Nov 25 15:55:55 prometheus[1154732]: ts=2021-11-25T15:55:55.561Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="duplicate sample for timestamp"

Environment
linux ubuntu focal

System information:

Linux 5.11.0-27-generic x86_64

Prometheus version:

prometheus, version 2.32.0-beta.0 (branch: HEAD, revision: c32725ba7873dbaa39c223410043430ffa5a26c0)
  build user:       root@da630543d231
  build date:       20211116-11:23:14
  go version:       go1.17.3
  platform:         linux/amd64

Prometheus Server configuration file:

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
  external_labels:
    environment: test
rule_files:
- /etc/prometheus/alerts/*.yml
- /etc/prometheus/aggregations/*.yml

Agent configuration file:

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
  external_labels:
    environment: test
scrape_configs:
- job_name: netdata
  honor_timestamps: true
  params:
    format:
    - prometheus_all_hosts
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /api/v1/allmetrics
  scheme: http
  follow_redirects: true
  file_sd_configs:
  - files:
    - /etc/prometheus/targets/netdata.yml
    refresh_interval: 5m
- job_name: exporter2
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  file_sd_configs:
  - files:
    - /etc/prometheus/targets/exporter2.yml
    refresh_interval: 5m
- job_name: exporter1
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  file_sd_configs:
  - files:
    - /etc/prometheus/targets/exporter1.yml
    refresh_interval: 5m
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  file_sd_configs:
  - files:
    - /etc/prometheus/targets/prometheus.yml
    refresh_interval: 5m
remote_write:
- url: http://<IP_ADDRESS>:9090/api/v1/write

Prometheus Logs:

Nov 25 15:51:25 prometheus[1154732]: ts=2021-11-25T15:51:25.576Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="out of order sample"
Nov 25 15:51:25 prometheus[1154732]: ts=2021-11-25T15:51:25.646Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="out of order sample"
Nov 25 15:51:25 prometheus[1154732]: ts=2021-11-25T15:51:25.658Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="out of order sample"
Nov 25 15:55:55 prometheus[1154732]: ts=2021-11-25T15:55:55.561Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="duplicate sample for timestamp"
Nov 25 15:56:55 prometheus[1154732]: ts=2021-11-25T15:56:55.561Z caller=write_handler.go:57 level=error component=web msg="Out of order sample from remote write" err="duplicate sample for timestamp"

Agent Logs:

Nov 25 15:49:36 prometheus[48356]: ts=2021-11-25T15:49:36.352Z caller=dedupe.go:112 component=remote level=error remote_name=9dcd2a url=http://xxxx:9090/api/v1/write msg="non-recoverable error" count=500 exemplarCount=0 err="server returned HTTP status 400 Bad Request: out of order sample"
Nov 25 15:50:36 prometheus[48356]: ts=2021-11-25T15:50:36.371Z caller=dedupe.go:112 component=remote level=error remote_name=9dcd2a url=http://xxxx:9090/api/v1/write msg="non-recoverable error" count=500 exemplarCount=0 err="server returned HTTP status 400 Bad Request: out of order sample"

Nov 25 15:55:55 prometheus[50757]: ts=2021-11-25T15:55:55.567Z caller=dedupe.go:112 component=remote level=error remote_name=9dcd2a url=http://xxxx:9090/api/v1/write msg="non-recoverable error" count=500 exemplarCount=0 err="server returned HTTP status 400 Bad Request: duplicate sample for timestamp"
Nov 25 15:56:55 prometheus[50757]: ts=2021-11-25T15:56:55.567Z caller=dedupe.go:112 component=remote level=error remote_name=9dcd2a url=http://xxxx:9090/api/v1/write msg="non-recoverable error" count=500 exemplarCount=0 err="server returned HTTP status 400 Bad Request: duplicate sample for timestamp"

fixed with 2.32.0-rc0

Im having this issue (same logs both on prom-agent and prometheus) with the same setup (prom-agent sending via remote-write to a prometheus) in prometheus version:
prometheus, version 2.32.1 (branch: HEAD, revision: 41f1a8125e664985dd30674e5bdf6b683eff5d32)
  build user:       root@54b6dbd48b97
  build date:       20211217-22:08:06
  go version:       go1.17.5
  platform:         linux/amd64

Config:
global:
  scrape_interval: 15s
  evaluation_interval: 15s
  external_labels:
    agent: "myagent"

scrape_configs:
  - job_name: "agents"
    static_configs:
      - targets: ["localhost:9100"]
  - job_name: "processes"
    static_configs:
      - targets: ["localhost:9256"]

remote_write:
  - url: "<server>"


[Feature request] sos button

Hi thank you for your work, this launcher is very handy for seniors.
I would like to request a sos button in the top left corner. Which will call a custom set up contact, for example a family member or an ambulance.

Sharing my thoughts..

Accidental Triggers

Failing SOS
The main thing you want with SOS is total reliability. If there's no network or no account plan/credit, the SOS attempt to a contact will fail. In that case the user should be suggested to call the national emergency numbers as it may still go through. However, this can't be automatic since we can't assume the level of emergency.
The emergency numbers are different for each country and sometimes fire, police and ambulance numbers also are separate. So we need the user's location and intent. This is awkward.

This feature request isn't peak priority since with Elder Launcher a user can pin any of the many SOS apps on Google Play Store on their home screen that fit their needs and it would fulfill their requirements.


Adding support for older serialization versions of compact theta

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

51 of 67 (76.12%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 92.253%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

theta/include/compact_theta_sketch_parser_impl.hpp
51
67
76.12%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
2203

Relevant Lines:
2388

💛  - Coveralls

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

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

Details

51 of 67 (76.12%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 97.756%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

theta/include/compact_theta_sketch_parser_impl.hpp
51
67
76.12%

Files with Coverage Reduction
New Missed Lines
%

theta/include/compact_theta_sketch_parser_impl.hpp
2
70.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
7492

Relevant Lines:
7664

💛  - Coveralls


KH2.5 Demo Debug Documentation - Phase One

I'm being dramatic because it's so cool we got a debug build of something KH, but this is otherwise a decently sized amount of documentation for now. I'll try to split these up in pieces as I go so as to not overwhelm whoever reviews the documents.

I made the formatting changes myself, I hope you do not mind. Reason is to publish all this good you just wrote to the public, as people are visiting that documentation page a lot by now. Keep up with the good work 👍👍👍


UserControl Only?

Just wanted to know if you can use it in a UserControl only without defining it in the Main Application Window, because I'm using a combination of WPF Ribbon as the Main Window handler, Material Design In XAML for the body.  I would like to include MahApps.Metro, but there is no way to use it with the Ribbon.
Environment

MahApps.Metro v1.3.0
Windows 8, 10
Visual Studio 2015
.NET Framework 4.6

@nasheayahu It's also possible to add the resources only at the UserControl...

Thanks, just what I wanted to hear and I appreciate your help....

@nasheayahu Just put the resources of MahApps inside the UserControl Resources tag...

Thanks again, nice flexibility!..  And just figured out how to create my own Back Stage window using Material Design Tool Kit..
I'm having fun now!...


changed mattermost-client dependecy to version 3.9.0

Hubot-mattermost is using version 3.7.3 of mattermost client. With this change it will use version 3.9.0

@gmatoshp oops, missed that one, thanks!


C# Client - SharpPulsar

Hi community,
Please I need your help in SharpPulsar!
Specifically need your help(s) in these area:
Schema - I have worked on it but not fully completed.
MessageCrypto - not perfect yet!
Tests - I need someone who could spend some time cleaning the Tests.
I am reaching out here cause I want to move on from build errors as fast as as possible and focus on the Presto client side!
Thanks!

@eaba DotPulsar has been accepted as a sub project of Apache Pulsar. It might be good if you can join the force on developing the .NET client in DotPulsar.

With SharpPulsar, I have gone the way of matching the java client 100%, why?
Once it is matched, anyone can easily compare and implement any missing feature from the java client with less time!
I wont always have this much time to spare!!


1.1.0 h239cbf + mpg123 and lame

Checklist

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

This PR adds lame and mpg123 to the dependencies, but is otherwise identical to the update generated by the autotick bot.

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

I'll try to come back to this later on, but this isn't working yet because the mpg123 package on conda-forge needs to be updated to 1.25.10.

@bmcfee thanks for this! Do you want to try your hand at a PR for mpg123 as well?

I can, but I probably won't be of much use if it doesn't go entirely smoothly.  BTW would protocol here be to bump to the minimum next version (1.25.10 for the purposes of libsndfile) or the latest release (1.29.3)?

I think latest release sounds fine

I think latest release sounds fine

That was my thought as well after spending some time poring over the changelogs.  I think the PR over there is good at this point, however it doesn't include a windows build, and that may complicate things for the libsndfile package.  Two options I see:

Have slightly different builds of libsndfile: linux and osx include mp3 support, windows doesn't.
Fix the mpg123 (and lame) conda-forge packages to have windows builds so that the libsndfile build can have uniform functionality.

(1) is obviously easier, but (2) would be vastly preferable from both the user and downstream maintainer perspectives.  Only trouble is that I have zero experience with windows builds (and honestly it's been decades since I spent any appreciable time with c/c++ builds on *n*x) so I don't think I'd be able to get that going.

Updated the recipe to skip lame/mpg123 on windows until https://github.com/conda-forge/lame-feedstock/pull/7 and https://github.com/conda-forge/mpg123-feedstock/issues/28 are resolved.

Also waiting on https://github.com/conda-forge/mpg123-feedstock/pull/29 to get feature parity on linux-aarch64/ppc64le builds here (currently failing).

Trying to resume this one now that lame shipped a windows build, and hitting a bit of a wall.
Apparently LAME does not ship a cmake config, so libsndfile has trouble locating it out of the box.  I've set up a local windows virtualbox environment, got the build tools and a conda environment set up there, and adding -DLAME_INCLUDE_DIR:PATH="%LIBRARY_PREFIX%" to cmake does let it find the installed lame package.  (It compiles on my machine, but does not link, probably due to having skipped some cross-platform packages in the vs build tools setup to save space.)
Adding this same switch to the bld.bat here does not work, however, and I'm not sure why.

It's possible this is related to https://github.com/libsndfile/libsndfile/issues/816

Very weird!  It looks like the problem is that the tar.xz distribution of 1.1.0 lacks the cmake files, but the .zip distribution does.  (This appears to have been a post-release fix.)  This would explain why things build locally for me but not via the build recipe.
This would not have been caught on the linux / osx builds because those use autotools rather than cmake.
I'll try this again using the .zip distro for all platforms and see if that fixes things.

Using the .zip download does not work on all platforms, so I've temporarily hacked the meta.yaml to grab .zip on windows and .tar.xz on linux/osx.  This seems to have done the trick, but surely it's not great practice going forward.  I expect that when 1.2.0 is released, we'll be able to revert to a single download URL.  @wolfv do you have any thoughts about this proposed (temporary) fix?
This PR is still blocked by mpg123, but once that merges I think this will be clear to go.

mpg123 updates are merged upstream, so I think this PR is unblocked.  Once the dust settles (https://github.com/conda-forge/mpg123-feedstock/runs/8725787835 ) I'll finalize this recipe to include mpeg build on windows.

PR https://github.com/conda-forge/lame-feedstock/pull/8 should address the include path issue, this is blocked until that merges.

Alright, I think this is all ready for a final look-over.  (Sorry for the seemingly endless barrage of comments and commits, this one has been a real doozy!)
The windows build is now working with lame and mpg123 (→mp3 support in general), up to parity with the other platforms.  After modifying the upstream lame package to put headers in the right spot, I was able to remove most of the weirdness from the libsndfile cmake build script.  At this point, it looks pretty stock.
The only things that stick out to me as non-standard at this point have to do with the meta.yml as mentioned above.  I've left comments in meta.yml which should be revisited when the next release (1.2.0) comes out, and we will probably be able to simplify this a little then.
I've also added myself in as a maintainer - against my better judgment :laughing: - having now spent enough time inside the guts of this one to have a sense of what's going on.

Thanks @wolfv !  I've made the suggested changes, so I think this is good to go once CI clears.


How to update grid stack item height runtime

Hi! i have a requirement of minimizing the widget height run time. so when i click on minimize icon i want to reduce the height of grid stack item as well(for inner content its already happening as a part of code). We are using Angular App. Kindly help me on this. Any help at this time will be greatly appreciated.

Hi! i could achieve this using update method-
                      if (collpased) {
                          collpased = false;
                          controller.gridstack.update(element, null, null, null, 2);
                          this.className = "icon-minimize";
                      } else {
                          collpased = true;
                          controller.gridstack.update(element,null,null,null,1);
                          this.className = "icon-maximize";
                      }

Is 1 is the lowest possible minimum height ? can we set a height lower to 1 as well?

Yes, 1 is the lowest possible height. But you can change height of one cell in px during gridstack initialization


Webpack 5 is tree shaking all modules required using require.resolve

Bug report

What is the current behavior?
Webpack marks all the modules as  unused harmony export which gets tree shaken on the prod bundle
If the current behavior is a bug, please provide the steps to reproduce.

Most of the code is taken from this repo for reproduction - https://github.com/bradtraversy/webpack-starter/tree/main/src
Changes Made

Added a testMethod.js file

export default function testMethod() {
  console.log("test method called");
}

Added a registry.js file with following content

export default {
  testMethodModule: require.resolve("./testMethod"),
};

Added following code to generateJoke.js

import registry from "./registry";

...
const testMethod = __webpack_require__(registry.testMethodModule);
  console.log(testMethod);

Modified webpack.config.js to the following

mode: "production",
  entry: {
    bundle: path.resolve(__dirname, "src/index.js"),
  },
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "[name][contenthash].js",
    clean: true,
    assetModuleFilename: "[name][ext]",
  },
  devtool: "source-map",
  devServer: {
    static: {
      directory: path.resolve(__dirname, "dist"),
    },
    port: 4000,
    open: true,
    hot: true,
    compress: true,
    historyApiFallback: true,
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        use: {
          loader: "babel-loader",
          options: {
            presets: ["@babel/preset-env"],
          },
        },
      },
    ],
  },
  plugins: [
    new HtmlWebpackPlugin({
      title: "Webpack App",
      filename: "index.html",
      template: "src/template.html",
    }),
    new BundleAnalyzerPlugin(),
  ],
  optimization: {
    minimize: false,
  },

When I run webpack dev server NODE_ENV=production webpack serve, following output is generated in bundle.js

/***/ 735:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
/* unused harmony export default */
function testMethod() {
  console.log("test method called");
}

/***/ }),

What is the expected behavior?

testMethod should not be marked as unused. This has broken in webpack 5 since the same app with webpack 4 produces the below output.
/***/ "./src/testMethod.js":
/*!***************************!*\
  !*** ./src/testMethod.js ***!
  \***************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return testMethod; });
function testMethod() {
  console.log("test method called");
}

/***/ }),

We rely heavily on this feature to register modules in our library.
Other relevant information:
webpack version:  5.88.2
Node.js version: 20.8.0
Operating System: Mac OS ventura 13.6.2
Additional tools:

export default {
  testMethodModule: require.resolve("./testMethod"),
};

There is no require.resolve in ESM


question about your Hierarchical Coupling layer, is it an strictly invertible layer?

**thanks for your work. You have wroten very good paper and support code soonly.
Besides , I have read your early paper 《Styleflow for content-fixed image to image translation
》 which describes the flow-based style transfer method very informatively and is one of the best papers in my opinion.
However, I cannot get the sense that this Hierarychical Coupling layer is an invertible layer like other norm flow structure (like in GLOW)
Could you please give me more description or proof?**

Hi leepms,
Thank you for your interest. :)
You can check out this figure:

The AdaIN technique applied at each layer is the same as our previous work. The affine tensor calculated by the affine-net is kept during the backward pass.
Simply comment out this line https://github.com/WeichenFan/HierarchyFlow/blob/main/model/network/hf.py#L287, and you will find the output is the same as the input.

@WeichenFan I have check your code and find that your hierarchy layer is not strictly reversible, as the reverse pass is wrong.
The first part self.fixed_weight*(tmp_out + input[:, (i-1)*self.in_channel:i*self.in_channel]) with self.fixed_weight = 0.5 is equivalent to  input[:, (i-1)*self.in_channel:i*self.in_channel] (so basically this would make the reverse pass parralelizable).
The second part feature[:, (i-1)*self.in_channel:i*self.in_channel]*(1-self.fixed_weight) doesn't need a multiplier of (1-self.fixed_weight) as your forward pass don't have it.

@WeichenFan I have check your code and find that your hierarchy layer is not strictly reversible, as the reverse pass is wrong. The first part self.fixed_weight*(tmp_out + input[:, (i-1)*self.in_channel:i*self.in_channel]) with self.fixed_weight = 0.5 is equivalent to  input[:, (i-1)*self.in_channel:i*self.in_channel] (so basically this would make the reverse pass parralelizable). The second part feature[:, (i-1)*self.in_channel:i*self.in_channel]*(1-self.fixed_weight) doesn't need a multiplier of (1-self.fixed_weight) as your forward pass don't have it.

Thanks for your interest.
The forward pass does not require multiplying with a weight. The weight is only used during the backward pass in order to fuse the content & style (w/ AdaIN activated)

Without AdaIN, the fused two parts are the same. Therefore, the weights are used in this situation. However, when the AdaIN is used, the goal is not to reconstruct the input image but to achieve style transfer. In this manner, the forward and backward are not fully reversible, since part of the information has been modified.

@WeichenFan I have check your code and find that your hierarchy layer is not strictly reversible, as the reverse pass is wrong. The first part self.fixed_weight*(tmp_out + input[:, (i-1)*self.in_channel:i*self.in_channel]) with self.fixed_weight = 0.5 is equivalent to  input[:, (i-1)*self.in_channel:i*self.in_channel] (so basically this would make the reverse pass parralelizable). The second part feature[:, (i-1)*self.in_channel:i*self.in_channel]*(1-self.fixed_weight) doesn't need a multiplier of (1-self.fixed_weight) as your forward pass don't have it.

Thanks for your interest.
The forward pass does not require multiplying with a weight. The weight is only used during the backward pass in order to fuse the content & style (w/ AdaIN activated)
Without AdaIN, the fused two parts are the same. Therefore, the weights are used in this situation. However, when the AdaIN is used, the goal is not to reconstruct the input image but to achieve style transfer. In this manner, the forward and backward are not fully reversible, since part of the information has been modified.

Yes I have tried with the version without AdaIN and by using the weight, I can't achieve the invertibility. So is your point that you don't want this layer to be strictly invertible (if no style is used, only the content), but the backward pass should balance out the content feature and the style feature?


Bulk move of previously selected resources to a Project

I think I added most suggestions. Please, let me know if anything is missing.


Use modules self-hosted style

Rewrite using modules rubygem to organize and load modules internally.

I think we'd need to allow turning off global pollution of import and export to do this (and just use modules.import and modules.export)


Create a new release

Would it be possible to get a release tagged? Only releases provide a download tarball that is guaranteed to have a stable sha256 so its useful if we can have up to date releases cut.

I will do it now.

0.5.7 pushed.

Thanks


Story Content Data Correction

The csv file has couple of new lines where the page content is getting split and needs to be corrected.
There are only 2 records of stories created by kids while there are more stories created by kids on the storyweaver portal.
Get data on image text
The story category information should ideally be included in the merged file <story_content.csv> as it will useful for tagging. Also, in the raw data file <stories_categories>, the same story id has multiple categories. Could you please check this?

@arnabbiswas1 , On the storyweaver portal, when you select specific stories, you can see the tags they are associated with displayed in the bottom. I guess not all stories have tags as Purvi had mentioned earlier. But wherever they are mentioned, it would be good to include them in the story_content.csv file so we can analyze them as well. I did not see this as a column in the notebook from Sneha.
Also, if you are looking for more hands on this issue, I can help.  This file will be a input for the visualization task I have taken up. Thanks.

Hi Rajesh...Could you please review the following PR which addresses this issue as well:
https://github.com/DataKind-BLR/PrathamBooks-Sprint-2018/pull/13
For tags, please feel free to explore. Would be happy to chat further on slack.

Change has been merged using PR https://github.com/DataKind-BLR/PrathamBooks-Sprint-2018/pull/13. Hence closing.


PDS4 IM Release 1F00

Testing and release of LDD for IM Release 1F00

@sslavney it looks like the new dictionary generated successfully. could you take a look at the output to see if we can merge this for the release?


pause after last track has finished

Currently, librespot plays endlessly: After the last track in a playlist/album it continues playing the first one.
This changes the behaviour to match the official Spotify client: The first track is loaded again, but the player is paused.
See #237

+1 would really like to see this. @herrenst any way you could include this PR in your raspberry pi builds?

What about adding this as a runtime option?

I also think this shouldn't be an extra option, but the repeat mode should be toggled/controlled with the Spotify app as raised in #237

I would agree that that is the best possible option.  Unfortunately, I do not have any experience with rust and it doesn't seem to share a lot of similarities with languages I am familiar with.  If you have the time and energy to implement that, it would be fantastic.  It does seem that the repeat status is received in protocol/src/spirc.rs, and the original file (src/spirc.rs) could simply have the logic self.load_track(!was_last_track || is_repeating);

So I had a go at integrating this with the connect side of things, my first stab at rust: https://github.com/plietar/librespot/compare/master...kingosticks:master
However, it's not quite there yet as it's missing the ability to repeat just one song which is available on the native client (you toggle repeat, repeat one, and off through the same control on the Android app). The repeat state is just a boolean so maybe there's a different bit of state to control repeat one (single?). Any ideas welcome.
I also wanted to do shuffle but doing the actual track shuffle is a bit more work.


overlay ground params handled, typescript

PLEASE CHECK "Allow edits from maintainers"

FOLLOW "Conventional Commits Specification" FOR ALL COMMITS
https://conventionalcommits.org/

@madeel385 The repo of this project is unmaintained more than 3 years, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.app
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.app/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=@react-google-maps/api
Our Spectrum community: https://spectrum.chat/react-google-maps
Our Slack channel: https://join.slack.com/t/react-google-maps-api/shared_invite/enQtODc5ODU1NTY5MzQ4LTBiNTYzZmY1YmVjYzJhZThkMGU0YzUwZjJkNGJmYjk4YjQyYjZhMDk2YThlZGEzNDc0M2RhNjBmMWE4ZTJiMjQ
Enjoy!


About the transposition of the input?

Hi,
I notice that a transposition is applied to the input in this code. Just as follows,
for (i = 0; i < 4; i++) {
    for (j = 0; j < Nb; j++) {
        state[Nb*i+j] = in[i+4*j];
    }
}

I think this is used because the state of AES is column-major, as shown below. It is different with the array in C. But I do not think it is useful. Actually, this piece of code may cause some misunderstanding.
// state of AES
s0 s4 s8  s12
s1 s5 s9  s13
s2 s6 s10 s14
s3 s7 s11 s15

Hello,
That transposition comes directly from the specification, section 3.4 The State. Notice that at the end of the cipher and in_cipher the inverse transposition is also applied.

I have read FIPS 197. But why not just treat the input in the view of the state. So the transposition and its inverse are both not needed. Hope you have a look at my code if you have time. And I will read this code in details. Thanks very much.

I believe that as long as the programmer knows how the data is stored in memory, one could use whatever technique works best for his/her needs in order to implement AES. So yes, I think one could spare the transposition and its inverse choosing memory access accordingly.
It is just that when I wrote it I just found the transpositions useful in order to follow the specification. Others may not find it that useful, I won't discuss that.
So to sum up, I am sure there are plenty of optimizations to be used here. But all of them have been left out in this implementation. The one you suggest could perfectly be one of them :)

I see, thanks.


[RU] Ch. 6, Sec. 3-4-5 translated

Added translation of sections 3, 4 and 5

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Hi @pdumin thank you very much for the translations! Would you mind resolving the merge conflicts and then we can merge this? Thanks!

Hi. Can you merge if there are no conflicts?

@blademoon  3-4-5
Can't find 3b..🤔


is it not support imagelayer?

i found that only contains. tiledlLayer and objetGroup,

Available  in 1.0.1 version


Listener restart error

When turning off the monitors, an error appears after turning them back on
ERROR [ashell::modules::title] restarting active window listener due to error: Internal("MonitorAddedV2: invalid integer error: invalid digit found in string")
ERROR [ashell::modules::workspaces] restarting workspaces listener due to error: Internal("MonitorAddedV2: invalid integer error: invalid digit found in string")

After that, the panel stops being displayed

With panel do you mean the entire status bar? Does the ashell process still run?

Yes, I mean the entire status bar, the process remains in a semi-started state.
the process is not displayed in htop, it cannot be killed using pkill, but it is also impossible to start a new one
 ~  WGPU_BACKEND=gl ashell
INFO [ashell::config] Reading config file
ERROR [ashell] Panic: panicked at alloc/src/raw_vec.rs:24:5:
capacity overflow

Hum, you are using a desktop PC? I only have a laptop so I'm not sure if I can replicate this behavior.

Hum, you are using a desktop PC?

Yes

I already tried. I'm using ashell on my working laptop daily, and this issue never happens to me. Something similar happens (a crash) only when I use an external monitor with an adaptor USB-C -> HDMI. Until now I didn't discover the root cause of that problem.

The strangest thing here is not even that it crashes with an error.
when you turn off the monitors, hyprland stops some processes, for example, waybar also crashes when the monitor is turned off.
the strangest thing is that it doesn't work to restart ashell after that, only restarting the PC helps

@fiersik This does not happen to me with waybar.

@fiersik This does not happen to me with waybar.

This started happening after switching to aquamarine, and waybar has already fixed it.

It's not a fix but tomorrow I will create a PR where I place a proper log init config (using this syntax https://docs.rs/flexi_logger/latest/flexi_logger/struct.LogSpecification.html) so it's possible to specify different log level for each crate/module and the I will create a new release (0.1.5).
In theory with a warn log level we should already be able to see an error log from the iced toolkit or other crate for this error but anyway this change should simplify the debug phase.
I think that the workspaces or title modules are innocent. It's strange that an error there could cause the crash of the entire app. It could be something related to a change in the wl_output and in that case maybe this PR https://github.com/MalpenZibo/ashell/pull/35 or the one that uses the pop_os fork of iced https://github.com/MalpenZibo/ashell/pull/42 or the one that adds the multi-monitor feature could resolve this issue.
Sadly right now I have some other problems with those PR so I cannot merge that feature

The new release is great news, I will immediately assemble it under ALT and send it for testing.
But there is no hurry yet.

I can't say that there is even a little more useful information in the log of the new version.
ashell-log.txt

I have an idea how to fix this, but I'm not sure about it. ,- ,
I will definitely make a Pull Request if everything works out.

Is this problem still relevant with the latest main branch? I have updated the iced and the hyprland-rs libraries and removed my glue layer between Wayland and iced, so maybe this problem is no longer relevant.

Is this problem still relevant with the latest main branch?

The problem is still relevant, when turning off the monitor we get this:
ERROR [ashell] Panic: panicked at src/modules/workspaces.rs:274:42:
error getting workspaces: workspace destroy event: TrySendError { kind: Full }
 disabled backtrace

After that, the entire panel stops displaying, but judging by the log, the backend is working and monitoring all events.


Updates to Opensource Jira Plugin

Signed-off-by: enaysaa<EMAIL_ADDRESS>Implemented a new GET endpoint in the router to support retrieving Jira issues based on the provided JQL query and query parameters. This new endpoint complements the existing POST endpoint in the open-source plugin, providing users with flexibility in choosing the HTTP method for interacting with the plugin.
This enhancement allows users to utilize the response from the GET endpoint for other plugins interacting with Jira.
Checklist before requesting a review

[X] I have performed a self-review of my own code
[X] I have verified that the code builds perfectly fine on my local system
[X] I have added tests that prove my fix is effective or that my feature works
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have verified that my code follows the style already available in the repository
[X] I have made corresponding changes to the documentation

Thank you! This functionality is a bit problematic since it makes it possible for any logged in Backstage user to perform any jql query using the credentials in Backstage. In the normal Jira dashboard workflow only the projects that have opted in with the Jira annotation exposes any information in Backstage.
I understand that you have other uses cases that also uses Jira information in different ways. We have similar requirements but in those cases we have made backends for each needed data point. The actual Jira interaction is done using the "searchJira" function that is exported from the "jira dashboard backend plugin". Then there is no chance for any data leaks.

Hi anicke
Thanks for your feedback
Yes on re-analysis & discussion amongst the team, we agree with the security concern you outlined.  We will revise the solution and re-submit an updated patch when possible - we will need to enhance the searchJira function to include a response object detailing pagination details (eg: maxResults, startAt & total fields) and handling for http  error responses such as 400/401/503 etc

Hi anicke
I have submitted my proposed changes, Please let me know if any changes required.

Hi anicke
Just wanted to confirm if there are updated regarding this PR?
thanks

Hi anicke Just wanted to confirm if there are updated regarding this PR? thanks

Hi @SaachiNayyer!
Is this PR the same as https://github.com/AxisCommunications/backstage-plugins/pull/127? That one seems to be newer :) Can I close this one?

Hi anicke Just wanted to confirm if there are updated regarding this PR? thanks

Hi @SaachiNayyer!
Is this PR the same as #127? That one seems to be newer :) Can I close this one?

Hi fridajac
yes, i followedup the required action with #127.
This PR can be closed :)
Thanks


Unicode regexp for NLP

According to documentation Str module, which you heavily use for NLP, is not working with UTF-8 at all, and for this reason it seems it does not fit for the general task of text processing.
For example Owl_nlp_utils.regexp_split defined as Str.regexp "[ \t;,.'!?()’“”\\/&—\\-]+". Note that it contains two special quotation mark each 3 bytes long:
# String.length "“”";;
- : int = 6

This brings us to the problem:
# Str.split (Str.regexp "[“”]+") "рык";;
- : string list = ["Ñ"; "ык"]

Because (of the second char \128):
# List.of_seq @@ String.to_seq "рык";;
- : char list = ['\209'; \128'; '\209'; '\139'; '\208'; '\186']
# List.of_seq @@ String.to_seq "“";;
- : char list = ['\226'; '\128'; '\156']

To solve this I propose switching to Pcre or similar libraries, which accept Unicode regular expressions:
# Pcre.split ~rex:(Pcre.regexp "[“]+" ~flags:[`UTF8]) "рык“льва";;
- : string list = ["рык"; "льва"]

What do you think?

This is my personal opinion, however we should move away from Str and use re, which is the recommended library, and the fastest if that supports utf-8 in some way.
Otherwise I agree with you that pcre could be a better fit.

Unfortunately re does not support utf-8 at the moment: https://github.com/ocaml/ocaml-re/issues/24


jquery__WEBPACK_IMPORTED_MODULE_10__(...).trumbowyg is not a function

Hello, people
I've just created react app by create-react-app, so I don't know webpack stuff yet.
I've tried to embed trumbowyg into react.js code, using jquery like below code.
import * as $ from "jquery";
import jquery from "jquery";
import "node_modules/trumbowyg/dist/trumbowyg.min.js";
import "node_modules/trumbowyg/dist/ui/trumbowyg.min.css";

componentDidMount() {
    $("#trumbowyg_editor").trumbowyg();
  }

render() {
<div className="form-group">
            <textarea className="form-control " id="trumbowyg_editor" />
          </div>
}

I got an error 'jquery__WEBPACK_IMPORTED_MODULE_10__(...).trumbowyg is not a function' if I do that code. Is there any solutions?
Additionally, I used Trumbowyg component from react-trumbowyg as well, but the props that the component has are not many to use, and I need 'value' property that is available to read and write like HTML5. That's why I am here to use normal(?) trumbowyg.

Hey,
did you check: https://github.com/RD17/react-trumbowyg?
Maybe you can try that: https://github.com/facebook/create-react-app/issues/4281

Thank you Alex, and sorry for replying late
I was working with Quill.js instead of Trumbowyg for the editor, but I am back to Trumbowyg now :)
One more question. I import react-trumbowyg and I would like to add custom buttons on react-trumbowyg. Do I just follow the documentation? The documentation is for jquery, not react. Is there any way to add custom buttons? Thanks

Check the react-trumbowyg README samples :)


API-breaking change in #1002

The PR #1002 introduced an API breaking change. Specifically, the diff changed two messages signatures in Message+JSONAdditions, from
  public init(
    jsonString: String,
    options: JSONDecodingOptions = JSONDecodingOptions()
  ) throws

  public init(
    jsonUTF8Data: Data,
    options: JSONDecodingOptions = JSONDecodingOptions()
  )

to
  public init(
    jsonString: String,
    extensions: ExtensionMap? = nil,
    options: JSONDecodingOptions = JSONDecodingOptions()
  ) throws

  public init(
    jsonUTF8Data: Data,
    extensions: ExtensionMap? = nil,
    options: JSONDecodingOptions = JSONDecodingOptions()
  )

Adding new parameters to Swift methods, even when they are defaulted, is a SemVer major. This is because functions may be referred to by their complete label set: Message.init(jsonString:options:). With this change, the previously-valid fully-qualified method name no longer exists, and so compiles fail.
We need to update the code to restore the old methods, and to instead add new methods that take the extensions field. It's fine for the method body of the old methods to simply jump to the new ones, but they must continue to exist.

I'll start a 1.10.1 release after the fix lands.

1.10.1 cut and cocoapods updated.

Thanks for handling this so promptly!


feat(PixLike): size attribute as width, height

working branch for issue #1

[x] ensure this works with gltile
[x] better error handling
[x] tests
[x] cargo fmt
[x] CHANGELOG

looks good, merging


Import fcf34af86b: Fixed the audioOutput device change fix. Ermagherd!! (by Caity)

This is an automated proposal to look at a commit made by Caity and import it into Overte

Commit:
fcf34af86b6d1e6a83c076e46fe829e7b7ea9d97

Author:
Caity

Date:
Sat, 01 Feb 2020 20:41

Fixed the audioOutput device change fix. Ermagherd!!

Stats:

Filename
Stats
Lines
Added
Removed
Lines in blame

interface/src/scripting/Audio.h

6
6
0
⚠ 0

interface/src/scripting/AudioDevices.cpp

14
14
0
⚠ 0

libraries/audio-client/src/AudioClient.cpp

8
7
1
⚠ 0

3 files
-
28
27
1
0

To work on this, please assign the issue to yourself, then look at the commit and decide whether this would be a good addition to Overte.

If the commit is useful, tag it with "Tivoli: Keep", and keep it open until it's merged.
If the commit is not useful, tag it with "Tivoli: Discard", and close it.
If the commit is not useful right now, but might be later, tag it with "Tivoli: Maybe later", and close it.
If it's hard to decide, tag it with "Tivoli: Discuss", and keep it open.

Useful commits should be submitted as a PR against Overte. Tag this issue in PR, so that it's automatically closed once the PR is merged.
You can cherry-pick this issue with this command:
git cherry-pick fcf34af86b6d1e6a83c076e46fe829e7b7ea9d97

No remains of this in the final version


Select vault smart status/always prompt config option

Please Select if your Request is Either something new or an Enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[x] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Is your feature request related to a problem? Please describe
As a user, we should be able to always be prompted on which vault to add to, without having to explicitly specify that each time I open the lookup tool.
This problem is especially pronounced in my workflow, where I use multiple vaults and constantly swap between them. Often I am using vaultA, but want to add a note to vaultB. I don't want to have to click the Select vault button to switch it to always prompt each time I create a new note with the lookup tool.
Describe the solution you'd like
The solution we were discussing in Discord was to introduce a boolean option in yml config for smart status on creating new notes with lookup tool.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Discord chat with Kevin, prompting the feature request
Add any other context or screenshots about the feature request here.

Thanks for the suggestion @Tycholiz.
I think the desired behavior is that lookup from Ctrl/Cmd+L always has the 'Select Vault Mode' button available - but if lookupConfirmVaultOnCreate is set to true, then each time the user does Ctr/Cmd+L, this should be set to 'alwaysPrompt, whereas if lookupConfirmVaultOnCreateis set to false or not set, then this should be set tosmart`.
Are there any use cases for us not to show the Select Vault Mode button when lookup is invoked from Ctrl/Cmd+L?
@hikchoi could you take a look at this one?

Yes I agree that is sensible behaviour. A value of true for lookupConfirmVaultOnCreate would lead me to expect that I am always prompted by default.

We recently introduced vaultSelectionModeOnCreate, which will let users choose what vault selection mode should be selected when lookupConfirmVaultOnCreate is set.
Please let us know if this sufficiently resolves your issue @Tycholiz
This issue will automatically close in 3 days if there are no further comments.

looks great! Thanks for taking a look at this one, appreciate all of the hard work!


CF compliant variables.

Create a new container in variables for CF convention variables. E.g.,
ds.salt.cf.x
ds.salt.cf.lon  # (maybe also?)

which would pass through ds.salt.x_rho (the x coordinate), or ds.salt.lon_rho.

Looks like metpy has already done this: https://github.com/Unidata/MetPy/blob/3e8341bcd4c8682f8246aaa499f8b5abaab7dceb/metpy/xarray.py#L148
ref: https://stackoverflow.com/questions/53469510/how-to-identify-time-lon-and-lat-coordinates-in-xarray
Shall we ask them to upstream that?

I am happy to keep this in a separate package, but it would be great to reference this prominently in our docs somewhere.


Build: remove superfluous system-property hack

NesQuEIT side of https://github.com/projectnessie/nessie/pull/7451

Not sure why this fails in CI but not locally. Will investigate tomorrow.


Add Oleg Shaldibin as maintainer [ci-skip]

Add Oleg Shaldibin as maintainer [ci-skip]

Coverage increased (+0.01%) to 91.372% when pulling 394bddb6f4a5fed9ff4f6f9fd626fa5ff0ed6154 on add_oleg_maintainer into b804870e123673572f00f37b7b781560e426bd86 on master.


[Router] Auto optional trailing slash match

When matching against a request URI automatically add an optional trailing slash to the routes URI, if not already defined.
If a route is defined as bellow:
// code ...
"uri" => "foo/bar",
// code ...

That route should match the following URIs:

foo/bar
foo/bar/

Resolved.


DataArray.mean drops coordinates

What happened?
Averaging the data variables along some dimension drops coordinates that also have that dimension.
What did you expect to happen?
I would expect that the coordinates aren't dropped, but averaged along said dimension, too.
Minimal Complete Verifiable Example
import numpy as np
import xarray as xr

data = xr.DataArray(
    np.ones((3, 2)),
    dims=["dim0", "dim1"],
    coords={"foo": (("dim0", "dim1"), np.zeros((3, 2)))},
)

print(data.mean(dim="dim0"))

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.
[X] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
<xarray.DataArray (dim1: 2)> Size: 16B
array([1., 1.])
Dimensions without coordinates: dim1

Anything else we need to know?
I had a look at #1470 and #3510, but those appear unrelated?
Environment

INSTALLED VERSIONS
commit: None
python: 3.9.7 (default, Jan 16 2024, 12:46:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
python-bits: 64
OS: Linux
OS-release: 3.10.0-1160.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.2
libnetcdf: 4.9.3-development
xarray: 2024.5.0
pandas: 2.2.2
numpy: 1.26.2
scipy: 1.13.1
netCDF4: 1.6.4
pydap: None
h5netcdf: None
h5py: None
zarr: None
cftime: 1.6.3
nc_time_axis: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: 3.9.0
cartopy: None
seaborn: None
numbagg: None
fsspec: None
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 57.4.0
pip: 21.2.3
conda: None
pytest: 8.2.2
mypy: 1.10.0
IPython: 8.16.1
sphinx: None

Can confirm that the output is the same with xarray 2024.6.0

I believe this may be intentional (I may be wrong, though): it is often not so useful to reduce the coordinates with the same operation as the data, and so xarray drops them instead.
If you really need this, you can convert them to data variables first using .reset_coords(names), do the reduction, then use .set_coords(names).

@keewis Thanks! I'm not sure if it's "often" not so useful, tho ;) Can't come up with a reasonable example from our field (2D sensor data processing), but I get the point. I did what you suggest as a work-around, but I had hoped for a better solution. A bit tedious. The thing is, coarsen indeed does mean coords by default. So also some contraption like data.coarsen({"dim0": data.sizes["dim0"]}).mean(dim="dim0") would work.

This is indeed intentional — the role of coordinates is to have things which aren't computed along. That's particularly the case when doing something like .lag — we don't want the coords lagging — but also the case with a reduction.
Are there times which xarray is inconsistent there? Is there an example of where something "should" be a coordinate but should also be reduced over?

Maybe we could add an option to the reductions that allows to change this behavior?
Something like data.mean(dim="dim0", coords="mean") with a default value of "drop".
But the workaround could be sufficient here.

@max-sixty

Are there times which xarray is inconsistent there?

Well, if you consider the behaviour I described above considering coarsen consistent with not reducing over coordinates, where coarsen does reduce over coords, then, no, not that I'm aware of. To be fair, though, it's documented that coarsen does average coords by default.

Is there an example of where something "should" be a coordinate but should also be reduced over?

That's a hard question, since it would depend on conventions of what people put into coords. We have time-series of 2D sensor images as data variables, where we want to do operations with, and then add coordinates containing metadata, like temperatures, time stamps, measurement-specific inputs like light-source wave-length or power. In all of those cases, when averaging over the time-series of 2D sensor data, we'd like to average the coordinates, too.
Granted, given there are work-arounds, and we can implement our own wrapping for this sort of stuff, it's not a big deal.

Yes, very reasonable @derhintze !
Good point around coarsen. I do think that's somewhat specific to coarsen, where it's applying a transformation to coords / labels. I agree it makes the separation a bit fuzzier.
I would vote to retain the behavior around coords — data.mean(dim="dim0", coords="mean") seems not much simpler than moving coords to vars and introduces more surface area to the API...

Closing as unlikely to inspire change, please reopen if anyone disagrees

just as a note, I think this should be done using a combination of set_coords / reset_coords and the agg proposed in #9479 (if we can figure out a well defined interface for that)


BE: Hang before main is called

#0  futex_wait (private=0x0, expected=0x1, futex_word=0x7bfefe0 <bthread::init_sys_mutex_lock_once>) at ../sysdeps/nptl/futex-internal.h:146
#1  futex_wait_simple (private=0x0, expected=0x1, futex_word=0x7bfefe0 <bthread::init_sys_mutex_lock_once>) at ../sysdeps/nptl/futex-internal.h:177
#2  __pthread_once_slow (once_control=0x7bfefe0 <bthread::init_sys_mutex_lock_once>, init_routine=0x48f2790 <bthread::init_sys_mutex_lock() at /var/local/thirdparty/src/incubator-brpc-0.9.7/src/bthread/mutex.cpp:411>) at ./nptl/pthread_once.c:105
#3  0x00000000048f2750 in bthread::first_sys_pthread_mutex_lock (mutex=0x864ece0 <init_lock+64>) at /var/local/thirdparty/src/incubator-brpc-0.9.7/src/bthread/mutex.cpp:424
#4  0x00000000060a5daf in malloc_mutex_lock_final (mutex=0x864eca0 <init_lock>) at include/jemalloc/internal/mutex.h:155
#5  je_malloc_mutex_lock_slow (mutex=mutex@entry=0x864eca0 <init_lock>) at src/mutex.c:85
#6  0x000000000604aaac in malloc_mutex_lock (mutex=0x864eca0 <init_lock>, tsdn=0x0) at include/jemalloc/internal/mutex.h:221
#7  malloc_init_hard () at src/jemalloc.c:1739
#8  0x000000000604d435 in malloc_init () at src/jemalloc.c:210
#9  imalloc_init_check (dopts=<synthetic pointer>, sopts=<synthetic pointer>) at src/jemalloc.c:2229
#10 imalloc (dopts=<synthetic pointer>, sopts=<synthetic pointer>) at src/jemalloc.c:2260
#11 je_malloc_default (size=0x54) at src/jemalloc.c:2289
#12 0x000000000604f7e1 in jemalloc (size=size@entry=0x54) at src/jemalloc.c:2388
#13 0x00000000025c4280 in my_malloc (size=0x54) at /root/starrocks/be/src/service/mem_hook.cpp:259
#14 0x00007ffff7fca812 in malloc (size=0x54) at ../include/rtld-malloc.h:56
#15 __GI__dl_exception_create_format (exception=exception@entry=0x7fffffffa950, objname=0x7fffffffe00b "/opt/starrocks/be/lib/starrocks_be", fmt=fmt@entry=0x7ffff7ff2d1f "undefined symbol: %s%s%s") at ./elf/dl-exception.c:157
#16 0x00007ffff7fd1a7a in _dl_lookup_symbol_x (undef_name=0xd9a991 "_dl_sym", undef_map=undef_map@entry=0x7ffff7ffe2e0, ref=ref@entry=0x7fffffffa9c0, symbol_scope=<optimized out>, version=0x7ffff7f9b410, type_class=type_class@entry=0x1, flags=0x1, skip_map=0x0) at ./elf/dl-lookup.c:793
#17 0x00007ffff7fd80d1 in _dl_fixup (l=0x7ffff7ffe2e0, reloc_arg=0x14e) at ./elf/dl-runtime.c:95
#18 0x00007ffff7fda6fe in _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:130
#19 0x00000000048f27ae in bthread::init_sys_mutex_lock () at /var/local/thirdparty/src/incubator-brpc-0.9.7/src/bthread/mutex.cpp:411
#20 0x00007ffff6895577 in __pthread_once_slow (once_control=0x7bfefe0 <bthread::init_sys_mutex_lock_once>, init_routine=0x48f2790 <bthread::init_sys_mutex_lock() at /var/local/thirdparty/src/incubator-brpc-0.9.7/src/bthread/mutex.cpp:411>) at ./nptl/pthread_once.c:116
#21 0x00000000048f2780 in bthread::first_sys_pthread_mutex_unlock (mutex=0x7ffff6200110) at /var/local/thirdparty/src/incubator-brpc-0.9.7/src/bthread/mutex.cpp:428
#22 0x00000000060703ba in malloc_mutex_unlock (mutex=0x7ffff62000d0, tsdn=0x0) at include/jemalloc/internal/mutex.h:234
#23 base_alloc_impl (tsdn=tsdn@entry=0x0, base=0x7ffff62000c0, size=size@entry=0xa4, alignment=alignment@entry=0x40, esn=esn@entry=0x0) at src/base.c:451
#24 0x0000000006070a38 in je_base_alloc (tsdn=tsdn@entry=0x0, base=<optimized out>, size=size@entry=0xa4, alignment=alignment@entry=0x40) at src/base.c:465
#25 0x00000000060dc121 in je_tcache_boot (tsdn=tsdn@entry=0x0) at src/tcache.c:750
#26 0x000000000604a6f9 in malloc_init_hard_a0_locked () at src/jemalloc.c:1534
#27 0x000000000604a821 in malloc_init_hard () at src/jemalloc.c:1750
#28 0x000000000604d435 in malloc_init () at src/jemalloc.c:210
#29 imalloc_init_check (dopts=<synthetic pointer>, sopts=<synthetic pointer>) at src/jemalloc.c:2229
#30 imalloc (dopts=<synthetic pointer>, sopts=<synthetic pointer>) at src/jemalloc.c:2260
#31 je_malloc_default (size=0x18) at src/jemalloc.c:2289
#32 0x000000000604f7e1 in jemalloc (size=size@entry=0x18) at src/jemalloc.c:2388
#33 0x00000000025c4280 in my_malloc (size=size@entry=0x18) at /root/starrocks/be/src/service/mem_hook.cpp:259
#34 0x00000000062a1045 in operator new (sz=sz@entry=0x18) at ../../.././libstdc++-v3/libsupc++/new_op.cc:50
#35 0x00000000062a10e9 in operator new (sz=sz@entry=0x18) at ../../.././libstdc++-v3/libsupc++/new_opnt.cc:42
#36 0x000000000629600e in __cxxabiv1::__cxa_thread_atexit (dtor=0x2570070 <starrocks::CurrentThread::~CurrentThread() at /root/starrocks/be/src/runtime/exec_env.h:98>, obj=0x7ffff7f718c0) at ../../.././libstdc++-v3/libsupc++/atexit_thread.cc:146
#37 0x00000000025c41d9 in my_malloc (size=0x11c00) at /root/starrocks/be/src/service/mem_hook.cpp:248
#38 0x00007ffff64aaa8a in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#39 0x00007ffff7fcbfbe in call_init (l=<optimized out>, argc=argc@entry=0x1, argv=argv@entry=0x7fffffffdc18, env=env@entry=0x7fffffffdc28) at ./elf/dl-init.c:70
#40 0x00007ffff7fcc0a8 in call_init (env=0x7fffffffdc28, argv=0x7fffffffdc18, argc=0x1, l=<optimized out>) at ./elf/dl-init.c:33
#41 _dl_init (main_map=0x7ffff7ffe2e0, argc=0x1, argv=0x7fffffffdc18, env=0x7fffffffdc28) at ./elf/dl-init.c:117
#42 0x00007ffff7fe48b0 in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#43 0x0000000000000001 in ?? ()
#44 0x00007fffffffe00b in ?? ()
#45 0x0000000000000000 in ?? ()

Expected behavior (Required)
main() should be called
Real behavior (Required)
initialization of brpc caused hang issue
StarRocks version (Required)
SR 2.4.0 / Ubuntu 22.10

Newer brpc should addressed this issue

So this is why I couldn't start SR BE 2.4.0 in my Ubuntu 22.04 machine.


[crunchyroll] Grab mobile API formats

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

What is the purpose of your pull request?

[ ] Bug fix
[ ] New extractor
[x] New feature

Description of your pull request and other information
Merge in livestreamer's functionality of fetching Crunchyroll video
information from their mobile API, which contains an independent set of
streams from the desktop API. Grab the additional formats, process them,
and sort them accordingly.

Did you ask Christopher Rosell or the author of crunchyroll.py  at livestreamer whether their codes can be used in youtube-dl or not? The license of livestreamer (BSD-like) is not compatible with youtube-dl (UNLICENSE).

I completely forgot youtube-dl is UNLICENSE. I'll try and work things out and see what I can do.

It's important to note that although higher-bitrate streams are available through this API, it also appears that they all have hard subtitles burned into them. This isn't immediately apparent as the English softsubs overlay almost perfectly on top of the hardsubs.
See also this thread, on how people determined how to obtain hardsubbed videos in other languages: https://github.com/chrippa/livestreamer/issues/364


Performance issue

I have a medium-sized website that receives about 300k sessions and 1.5m pageviews per month. I switched to Shynet two weeks ago, but now I have noticed some performance issues with the chart. You can view the video demo here:
https://user-images.githubusercontent.com/96356/228383470-b59bf0d3-c26f-41eb-9f34-0f4dfdd98f92.mp4
After further investigation, I discovered that the issue may be due to the fact that the page is fully server-side rendered. The larger the website traffic, the more data needs to be loaded on the page. If the period is set to the last 30 days, the entire document initial download will be 1.9MB (after gzip compression):

A possible solution is to provide data through an API and replace the chart library with one that has better performance (like Apache EChart?).

maybe helpful: https://github.com/leeoniya/uPlot#performance

Do charts on home page have the same issues?

Yeah you pointed it out. Charts on the home page are smooth as normal.
I removed the Location panel in the browser inspector, which had 100k nodes. This made the page back to normal. It appears that having too many HTML nodes was causing the issue.

A better way to handle large amounts of data is to retrieve it through an API and render it in the viewport dynamatically. But this would require a significant amount of refactoring.

I think we should show the top n for everything, rather than all... perhaps we add pagination somehow as well? That should really speed things up.

Would someone be able to submit a PR that does this? I'd merge quickly.

There can be a button to open paginated view with all results. Just like with sessions.
I can make PR tomorrow.


OSD-10224 initial structure

What type of PR is this?
Feature
What this PR does / why we need it?
This PR adds some initial implementation structure for OSD-10224 which helps unblock a lot of devwork and overcomes a lot of the initial stumbling hurdles of 'how do we introduce/use dependency XYZ?'

Introduces OCM client as a dependency and injects it into the webhook handler
Webhook handler has basic abilities to scan for ManagedNotifications and send servicelogs based on them, and update the ManagedNotification template status

Which Jira/Github issue(s) this PR fixes?
OSD-10224
Special notes for your reviewer:
How to test:

Build the image, push to your personal repo (make build-image)
Replace/deploy an ocmagent CR on the cluster that runs your image instead of the app-sre image
You must ensure that your cluster is running the latest version of ocm-agent-operator that has necessary RBAC fixes in it.
Follow the quick test setup guide [0] to install a PrometheusRule and ManagedNotification CR on the cluster.
Watch the ocm-agent logs, within 10-15 minutes it should receive an alert from alertmanager.
Check the managednotification CR status, it should report that it sent a servicelog
Within an hour, you should receive a servicelog email.

This PR temporarily removes the webhook handler tests, as they are currently broken. They will need attention to be rewritten and fixed.
Pre-checks (if applicable):

[ ] Tested latest changes against a cluster
[ ] Ran make generate command locally to validate code changes
[ ] Included documentation changes with PR

Codecov Report

Merging #17 (a0eb64d) into master (bb0786d) will decrease coverage by 13.32%.
The diff coverage is 1.65%.

@@             Coverage Diff             @@
##           master      #17       +/-   ##
===========================================
- Coverage   24.43%   11.11%   -13.33%
===========================================
  Files           9       11        +2
  Lines         221      450      +229
===========================================
- Hits           54       50        -4
- Misses        164      398      +234
+ Partials        3        2        -1

Impacted Files
Coverage Δ

pkg/cli/serve/serve.go
9.41% <0.00%> (-0.72%)
:arrow_down:

pkg/handlers/webhookreceiver.go
10.00% <0.00%> (-63.08%)
:arrow_down:

pkg/k8s/client.go
0.00% <0.00%> (ø)

pkg/ocm/connection.go
0.00% <0.00%> (ø)

pkg/util/test/generated/mocks/client/cr-client.go
3.63% <3.63%> (ø)

Tested with staging cluster. The alert with defined template can be redirected to the service log automatically.
/lgtm

/retest

/lgtm


Web Version!

added web version :)

you guys are real cool!
bringing an dead project of mine to life is cool!


Added AfterSuite hook

What this PR does / why we need it
Fixes https://github.com/giantswarm/giantswarm/issues/30645
Adds an AfterSuite hook function that allows performing cleanup before the App and cluster are removed.
(Also fixed some mistakes in the docs from the previous rename of BeforeInstall)
Checklist

[x] Updated CHANGELOG.md.

Trigger E2E tests

/run app-test-suites

/run app-test-suites-single PROVIDER=capa

/run app-test-suites-single PROVIDER=capa


Look over doxygen comments.

Add Formular @returns and @throws comments.

Done with commit 84e2035b186864d62e728c83b400b208720873e1.


Proposal: DelayActivity no longer offers any real value and should be removed

DelayActivity was invented back when outbound activities were buffered before being sent and, therefore, a bot (or middleware) needed to tell the BotAdapter to introduce a delay when actually sending the activities out.
Now that a call to SendActivityAsync results in an immediate outbound activity being sent, I believe we should remove DelayActivity to simplify the code base both externally (one less synthetic-Activity type to maintain) and internally (BotAdapters need to handle this specially).
People can (and likely will) just achieve this delay functionality in a way they're used to on their platform (e.g. await Task.Delay in .NET) before calling SendActivityAsync.

@drub0y That's... a great point. Your logic seems correct to me. Let me sync with Steve and verify, at which point we can accept this bug and remove it.

@Stevenic can you drive to closure please.

The 4.x behavior has shipped now. Implementing a custom adapter can alter the behavior appropriately.


Newsletter sign up page for a product/service

Description 📜

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev (HTML, CSS, JS)
[ ] Frontend Dev (React, Angular, Vue)
[ ] Golang
[ ] Interview Prep
[ ] Java
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python
[ ] Rust
[ ] Statistics
[x] UI/UX

Please check my UI design made on Figma. Thank you!
https://www.figma.com/proto/LdXLgTlbmtYJ5KHWYr0Js7/Login-Signup-Page?node-id=1%3A3&scaling=scale-down&page-id=0%3A1

/assign


Navbar destroys the accordion embedded in it (5.1)

Operating system and version - macOs
Browser and version - Chrome
A reduced test case

Bootstrap 5.1
If the accordion is placed in the navbar, the accordion breaks - the panels stop automatically closing

Interesting idea, placing the accordion in the navbar. I don't think it's really supposed to fit in there, though, considering it's not quite wide enough. If you add options or list items to the nav, it will extend down on mid to small screens.
Maybe try the collapse component inside the nav?

So the collapse works without problems in .navbar-collapse. And accordion worked in version 5.0 too.
I need exactly the behavior of the accordion.
But after updating to 5.1 the accordion stopped working inside .navbar-collapse

It works fine for me—the accordion renders as intended and it expands and collapses without issue. What's the problem?

@antonsmolko gave a codepen of the issue that you can see on mobile. When the navbar is opened and you click on any of the collapses accordion items, the already expanded accordion item does not close, even though the data-bs-parent attributes are supplied.
Why was this closed @mdo?


逻辑回归中代价函数的梯度下降表示有误

逻辑回归最后的梯度下降表示有误,
原表达式：
$$
\frac{\partial J(\theta)}{\partial \theta_{j}} = \sum_{i}x_{j}^{(i)} \left ( h_{\theta}(x^{(i)} - y^{(i)} )  \right ).
$$
应该改为
$$
\frac{\partial J(\theta)}{\partial \theta_{j}} = \sum_{i}x_{j}^{(i)} \left ( h_{\theta}(x^{(i)}) - y^{(i)}   \right ).
$$

Thanks my big brother. I think my translated tutorial is not good enough to help others, especially for those new guys. Thus, I recommend CS231n as a start tutorial for you or other new guys. Of course, this course has an Chinese version on study.163.com.

Fixed. Great thanks! 🤣


prefixIconError or a boolean in the InputDecoration props ?

Use case

I use an InputDecoration to display some icon at the left of my input using the prefixIcon props.
In case of error, I can style the text, the border, but I cannot touch the prefix
I've added a bool hasError when I call my InputDecoration from the field, but I need to know if the field is in "error" and it is very difficult... and almost invisible. I need to map fields of the form and get there status.
  bool isFieldInError(String key) {
    try {
      final field =
          (formKey != null ? formKey?.currentState?.fields[key] : null);
      return field?.currentState != null && field.currentState.hasError;
    } catch (e) {
      return false;
    }
  }

And my InputDecoration is
InputDecoration formFieldDecoration(
        {BuildContext context,
        String hintText,
        IconData icon,
        bool hasError = false}) =>
    InputDecoration(
      hintText: hintText,
      hintStyle:
          TextStyle(color: WMColors.greyDimmed, fontSize: WMTypos.sizeDefault),
      hintMaxLines: 1,
      errorStyle:
          TextStyle(fontSize: WMTypos.sizeSmall, color: WMColors.danger),
      errorMaxLines: 2,
      hasFloatingPlaceholder: false,
      isDense: true,
      contentPadding: EdgeInsets.all(0),
      prefixIcon: Container(
        width: 45,
        height: 45,
        padding: const EdgeInsets.all(0),
        margin: const EdgeInsets.only(right: WMDimensions.space2x),
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(3),
          color: hasError ? WMColors.danger : WMColors.grey,
        ),
        child: Icon(
          icon,
          color: WMColors.white,
          size: 14,
        ),
      ),
    );

Proposal

Having some kind of prefixIconError

    InputDecoration(
...
      prefixIcon: Container(
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(3),
          color: WMColors.grey,
        ),
        child: Icon(
          icon,
          color: WMColors.white,
          size: 14,
        ),
      ),
      prefixIconError: Container(
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(3),
          color: WMColors.danger,
        ),
        child: Icon(
          icon,
          color: WMColors.white,
          size: 14,
        ),
      ),
    );

Having the information that the field is in error and having this passed in the InputDecoration props

Having an event for the form onError with a map of fields in error as props...

class Form extends StatefulWidget {
  /// Creates a container for form fields.
  ///
  /// The [child] argument must not be null.
  const Form({
    Key key,
    @required this.child,
    this.autovalidate = false,
    this.onWillPop,
    this.onChanged,
    **this.onError,**
  }) : assert(child != null),
       super(key: key);

Thank you !

You can do this currently if I understand correctly: https://dartpad.dartlang.org/39d94b6cce87905fd699a6bb9d6915a8
Even better, isValid was recently added to FormFieldState, so you can use that without maintaining your own valid boolean like in my dartpad example.

Hi, thank you for this answer. But you show something like my own solution. I'm going to look after isValid but I don't think it will do the job.
I think it is a workaround over something that should be implement in the core of flutter because it already exist for borders and text, so it should be extended to other elements of the field (to be consistent).
Am I wrong ?

You do have a point that this would be similar to things like errorText and errorBorder.  And it would be simpler than my solution.
If anyone else has a need for this, please chime in!

Another thing that came up recently:  If we add errorPrefix, we would probably also be inclined to add errorSuffix, errorPrefixWidget, and errorSuffixWidget.

Couldn't it be simpler to have a ErrorInputDecoration ? And cleaning the InputDecoration by removing error's props...


[libarchive] disable libb2 until properly handled

Describe the pull request

What does your PR fix?

libarchive fails to build if libbb2 is partially found on system. Disabled since it's not properly handled

Which triplets are supported/not supported? Have you updated the CI baseline?

all

Does your PR follow the maintainer guide?

Yes

Additionally, it still works even when libb2 is installed.

i might have something external installed that is triggering the problem.
i had no time to fully investigate the problem, and submitted a pr to fix ci in the meantime...
while still hoping for merge of this PR, i will check why recently libarchive became unbuildable on mac here without this PR

same problems happens on github actions, mac runners


When I try to rename I get: "Your rename template is invalid!"

Your rename template is invalid!
'primary'
Please consult the template help in the settings and the documentation on the format at https://docs.python.org/3/library/string.html#format-string-syntax
--
I had to delete the .comictagger folder to finally get the app to work again, and the settings were corrupted (it seems). So trying to get them to rename the files as I've done in the past.
I have tried: {series} - {issue} -- {series} -  {title} -- ({year}-{month})
I also tried with %series%
It keeps telling me to go to https://docs.python.org/3/library/string.html#format-string-syntax but I am not seeing the solution.

@carterartist
I updated the error message so for future issues it will be more helpful.
The latest release has this issue fixed 1.4.4-beta.2


update readme

add functioning of reconnaince scanner
its screen shot or gifs of working code

#6 opened to help out here 👍


Correct value for BN_security_bits()

The function BN_security_bits() uses the values from SP800-57 to assign
security bit values for different FF key sizes. However the value for 192
security bits is wrong. SP800-57 has it as 7680 but the code had it as
7690.

Pushed. Thanks.


feat: use dialog for add token button

Fix #42

These move the message down so that there is not a jump in the ui when it appears and disappears.

I am thinking we would need to show some asset info and the confirmation should say "Opt in to {ASSETNAME} (VSA:{ASSETID})

Unable to add asset. After clicking add button nothing happens but there is a failed request.

[ ] Adding arc200 might require some fixing as well
ARC200:6795477 TacoCoin

Request changes. Thx!

Maybe what we can do is not have a error message every time an asset is not found

How about this? (No UI jumps)

Or should we remove the error message?

Okay that is better
2023年12月22日(金) 2:45 Farolan Faisal @.***>:

Maybe what we can do is not have a error message every time an asset is
not found
How about this? (No UI jumps)
Screenshot.2023-12-22.174013.png (view on web)
https://github.com/temptemp3/arc-200/assets/15892844/02f175d2-d40e-48b2-8f1e-34f85fac5e03
Or should we remove the error message?
—
Reply to this email directly, view it on GitHub
https://github.com/temptemp3/arc-200/pull/73#issuecomment-1867468601,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQ4AW7PDVBAWQ6GEHOICDLYKVJDBAVCNFSM6AAAAABA7CCGOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGQ3DQNRQGE
.
You are receiving this because you commented.Message ID:
@.***>

When adding the asset by invoking acc.tokenAccept(tokenId) the WalletConnect QRCode modal pops up which is different with the wallet I use to sign in(WalletConnectModalSign).
With the WalletConnect QRCode I'm unable to sign in

It works with WalletConnectModalSign

I think it should use whatever wallet provider the user used to sign in, but I haven't found a way to do it. Any directions?

When adding the asset by invoking acc.tokenAccept(tokenId) the WalletConnect QRCode modal pops up which is different with the wallet I use to sign in(WalletConnectModalSign).
With the WalletConnect QRCode I'm unable to sign in
It works with WalletConnectModalSign
I think it should use whatever wallet provider the user used to sign in, but I haven't found a way to do it. Any directions?

I would look at components/SwapForm it has support for a custom wallet (kibisis) and defly (A-wallet)

I would also pull in changes from main. It has a web3 modal that looks like it is for A-wallet.

Demo
https://github.com/temptemp3/arc-200/assets/15892844/91439f94-ff38-4f3b-8d2f-b0beac3b2928

Thanks, I'll check it out!
2024年1月10日(水) 2:26 Farolan Faisal @.***>:

Demo
https://github.com/temptemp3/arc-200/assets/15892844/91439f94-ff38-4f3b-8d2f-b0beac3b2928
—
Reply to this email directly, view it on GitHub
https://github.com/temptemp3/arc-200/pull/73#issuecomment-1884478835,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQ4AWYVVTCPLQM5QHWPCL3YNZNF7AVCNFSM6AAAAABA7CCGOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUGQ3TQOBTGU
.
You are receiving this because you commented.Message ID:
@.***>

Demo
demo.mp4

Could you make a demo for voitest adding an arc200?

Tried with Kibisis on Voi Testnet but got error:
OperationCanceledError: no response from wallet for "message.enable_request"

Okay. Do you know which version?
2024年1月15日(月) 18:50 Farolan Faisal @.***>:

Tried with Kibisis on Voi Testnet but got error:
OperationCanceledError: no response from wallet for
"message.enable_request"
—
Reply to this email directly, view it on GitHub
https://github.com/temptemp3/arc-200/pull/73#issuecomment-1892955645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQ4AW6VKVOJ3OBGHTTUGFLYOXMHDAVCNFSM6AAAAABA7CCGOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSHE2TKNRUGU
.
You are receiving this because you commented.Message ID:
@.***>

Kibisis 1.9.0
Also tried after merging with feature/swap, same results.

Ok, I'll check it out.
2024年1月15日(月) 19:26 Farolan Faisal @.***>:

Kibisis 1.9.0
Also tried after merging with feature/swap, same results.
—
Reply to this email directly, view it on GitHub
https://github.com/temptemp3/arc-200/pull/73#issuecomment-1892978756,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQ4AW3YSOHKWWGH7YARRWTYOXQOJAVCNFSM6AAAAABA7CCGOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSHE3TQNZVGY
.
You are receiving this because you commented.Message ID:
@.***>


Fix concurrent script loading with force_redownload

cc @clefourrier

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Draft: New raster layer sampling endpoint "sampling_sync"

This PR adds a new endpoint
ACTINIA_URL/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/sampling_sync
which somewhat corresponds to the existing timeseries entpoint "Sample a strds by point coordinates, asynchronous call" (see
https://redocly.github.io/redoc/?url=https://actinia.mundialis.de/latest/swagger.json#tag/STRDS-Sampling/paths/~1locations~1{location_name}~1mapsets~1{mapset_name}~1strds~1{strds_name}~1sampling_async/post).
It also includes a test case based on the full North Carolina sample dataset (nc_spm_08 location).

The current problem is that the new endpoint doesn't show up.


Apostrophes in website title do not display properly.

I entered "Ilya's Projects", without the outer quotes. On the front-end, I saw something like this: Ilya's Projects.
So I checked the config.php, which contained Ilya\'s Projects as the title. I opened the source for the home page of the symphony front end and saw this:  Ilya's Projects. It looks like the & is being escaped, which creates this whole mess.

@nickdunn is correct. Using the /data/params is the better option.


Minor Test App Improvements

Description
Follow up PR to https://github.com/openid/OpenYOLO-Android/pull/4

Added ability to request multiple authentication methods via checkboxes
Moved nested credential fragment to a use a custom view instead
Organized string resources

Picture of updated UI

Codecov Report

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

@@            Coverage Diff            @@
##             master       #9   +/-   ##
=========================================
  Coverage     66.03%   66.03%
  Complexity      286      286
=========================================
  Files            41       41
  Lines          1702     1702
  Branches        204      204
=========================================
  Hits           1124     1124
  Misses          513      513
  Partials         65       65

Continue to review full report at Codecov.

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


runit_service :enable not idempotent.

Is it possible to ensure that runit runs idempotently?
i.e. if I have fully deployed a server and there are no changes made to the cookbook, 'knife node lastrun' should not show runit_services being enabled on each and every run?

Looking into this.

After initial investigation, it's not clear to me why the resource is being updated every run. The output appears inline with the link resource. For example from the plain-defaults service in the runit_test::service recipe:
Recipe: runit_test::service
  * runit_service[plain-defaults] action enable
  Recipe: <Dynamically Defined Resource>
    * directory[/etc/sv/plain-defaults] action create (up to date)
    * template[/etc/sv/plain-defaults/run] action create (up to date)
    * directory[/etc/sv/plain-defaults/log] action create (up to date)
    * directory[/etc/sv/plain-defaults/log/main] action create (up to date)
    * template[/etc/sv/plain-defaults/log/run] action create (up to date)
    * template[/etc/sv/plain-defaults/log/config] action create (up to date)
    * link[/etc/init.d/plain-defaults] action create (up to date)
    - configure service runit_service[plain-defaults]

That's the converge_by block, it's not specifically the link resource actually.

Isn't this happening at https://github.com/hw-cookbooks/runit/blob/develop/libraries/provider_runit_service.rb#L93 ? The comment even says it should run every time even though that seems unnecessary. Can this be wrapped in a conditional to check resource existence first?

Everything done by that method is a resource. It will get executed every run but convergence is checked for each of the embedded resources in their own way.

If just one of those resources isn't idempotent will it cause this issue?

Total noob trying to dig in so sorry if I have silly questions.

The configure_service operates on the following resources:

sv_dir - directory
run_script - template
log_dir - directory
log_main_dir - directory
default_log_dir - directory
log_run_script - file or template. If default_logger is set, it's a file resource, otherwise it is a template.
log_config_file - template
env_dir - directory
env_files - file.
check_script - template
finish_script - template
control_dir - directory
control_signal_files - template
lsb_init - template or link. If the platform is Debian, this is rendered as a template. Otherwise it is a link resource.

To be clear about the behavior here, this statement is accurate:

Chef takes idempotent actions on resources to converge them to the desired state.

To clarify idempotent vs converge: idempotent generally means that multiple application of the same action does not change the outcome, whereas converge generally means over time bring the state to that which is desired. In Chef, converge means "test the state of this thing, and repair it if it is not in the state declared." Many people discussing configuration management these days say idempotent when they really mean convergent.
So what's going on here is the enable action converges by configuring the service based on a number of convergent resources (template, file, directory, link). It needs to do this because all of these resources might be changed by an external force, requiring Chef to "repair" their state. This is actually idempotent, and it is also convergent, as no system changes are made unless they need to be based on the use of Chef resources for those changes. This gets executed every time inside the converge_by block, which is why this is reporting output on each run.
One approach that might help here is the use of inline resources, a la use_inline_resources from Chef::Provider::LWRPBase, but that would involve a fairly significant refactor and require a lot of testing to ensure that compatibility is maintained.

Closing this. Shout out to @jtimberman :facepunch:


Ensure all 1.1-SNAPSHOT references updated to 1.1 (1.1 branch)

The azure pipelines should manage the migration of 1.1-SNAPSHOT to 1.1 in pom.xml
However some references are present in documentation, tutorials etc - need to search/verify for outstanding links

complete


Latest dev returns globalPosition == localPosition

Having difficulty isolating this one - its not broken in b4c148d95184ec605bb56d214d0e4a57f4426170 which was July 9.  Although I can only repro it via spine, a change in pixijs/pixi.js dev is causing this.
REPRO

Go to the dragon spine dev example
Immediately before the animate() call in onAssetsLoaded() add this code, run it, and check the console;

var sprite = dragon.skeleton.findSlot("L_rear_leg").currentSprite;
console.log(sprite.getGlobalPosition());
console.log(sprite.position);

EXPECTED
Global and local positions returned;
Point {x:<PHONE_NUMBER>151632, y:<PHONE_NUMBER>845801}
ObservablePoint {_x: 67.29, _y: 12.62, scope: TransformStatic}

ACTUAL
Local position is returned for both global and local positions;
Point {x: 67.29, y: 12.62}
ObservablePoint {_x: 67.29, _y: 12.62, scope: TransformStatic}

Note that rc3 example produces the expected output.

It would seem that calling sprite.getBounds() immediately before sprite.getGlobalPosition() is a temporary work around.

looks like we need to add an updateTransform to getGlobalPosition() with the option of a skipUpdate! (similar to how getBounds works)

Done


Add support of http package version ^1.0.0

Most of the packages already migrated to newest version of http package.
Now it's impossible to use Artemis together with any package that have a reference on http package version ^1.0.0.
Could you please upgrade it?
Thanks in advance!

I began a PR here : #421 but it seems like tests are failing...

hope author will take a look

Hello @fryette/@Thelm76
As per notice this project has been discontinued. Please feel free to fork this repo and reference it directly in your project or use one of the suggested alternatives.


add Zabbix Agent/Proxy 6.2, remove 5.4

fixes https://github.com/opnsense/plugins/issues/3054
depends on https://github.com/opnsense/tools/pull/317

Interrested in Proxy 6.5. Any plan for this latest version ?

What's 6.5? They do advertise a 6.4 prerelease but that's sort of in line with 6.2 being the latest stable...