Provide a node comparer to prevent duplicate nodes

This PR provides a node comparer to prevent duplicate nodes in the nodes collection

Very nice mate.
What is puzzling to me is where did the second node instance come from, and do we need to dispose of it (without disconnecting from the socket).

In that case, if the node already has an immutable Id property that uniquely identifies it, why not use it as the key for this dictionary and do away with all this? *1
Eg:
_Nodes.TryAdd(node, node)
Becomes:
_Nodes.TryAdd(node.Id, node)
*1 sorry if this is a stupid question – I’ll look through the code when I have time
*2 is there coding/naming standards doc? There’s a lot of multiple classes per file, access modifiers missing and capitalised private fields ( _Nodes), not using var etc. which make resharper complain 😊 ?
From: Dan Gershony
Sent: 11 October 2017 11:50 PM
To: stratisproject/NStratis
Cc: Mark Staff; Comment
Subject: Re: [stratisproject/NStratis] Provide a node comparer to preventduplicate nodes (#38)
@dangershony commented on this pull request.
In NBitcoin/Protocol/NodesCollection.cs:

@@ -64,6 +64,29 @@ public void PushMessage(IncomingMessage message)

		#endregion
	}

  /// <summary>

  /// Provides a comparer to specify how nodes are compared for equality

  /// </summary>

  public class NodeComparer:IEqualityComparer<Node>

  {

  	public bool Equals(Node nodeA, Node nodeB)

  	{

  		if (nodeA == null || nodeB == null)

  			return nodeA == null && nodeB == null;

  		return nodeA.RemoteSocketAddress.MapToIPv6().ToString() == nodeB.RemoteSocketAddress.MapToIPv6().ToString() && nodeA.RemoteSocketPort == nodeB.RemoteSocketPort;

The node has already an id (the nonce) your suggestion is nice but apart for this usage will we need it else where?
I am going to commit this as is, if you want to submit a PR that implements your suggestion it will be welcome.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

hi @mark-s yeah the NStratis (based on NBitcoin) has its own style (and we will bring it to our style at some point) you need to come to the fullnode where we keep to general standard.
We cannot use the node id as its a unique id generated when the node is created, the problem we are trying to solve is nodes that connect to the same ip (and port), your suggestion would work if the node id was based on the ip address, but that wont work as that id is sent to peers.


fixed some links in README_ja

Issue #, if available:
N/A
Description of changes:
Some urls in ReadMe_ja are wrong, so fixed.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM! Thank you for your contribution!


Card redesign

This closes #268
Created new UI for the card which brings the new design.
This design is ONLY for the card, navbar and background will be done in different tasks.

The UI looks great!
I have some comments about the UX:
First, should the Use custom chain id and Use preselected chains labels be reversed?

Here I have a button saying Use custom chain id - but I am already using custom chain id.

Second - Type a custom chain id, then switch to preselected chains. I have an ugly null there, and the submit button is enabled.

It should probably select the first one from the list, or at least disable the submit button.

Third - about the selector.

Selecting (that is clicking on one of the chains) does not close the dropdown. I would be expecting the dropdown to be closed.
Clicking on the selector does not close the dropdown as well, contrary to my expectations.

Thanks for your review @rzadp.
I have fixed all the issues you have mentioned


add explicit types to two lines in d3-axis/index.d.ts

I was using this for a personal project and the typescript compiler was throwing any type implication errors on lines 7 and 19. the args[] on ticks needed an any[] type, and the call signature on line 7 needed an additional ": any" outside the parentheses in order to compile properly.

@ryanstreur Thank you PR :)
but, this project is deprecated.
I recommend https://github.com/tomwanzek/d3-v4-definitelytyped

Thanks for the tip! 👍


Add support for multipolygon geometry

DBAL type support for geometry multipolygon objects with tests.

Looks like a travis config change made it in there too, was going to that separately.


Help for testing Slash commands with RSpec

Hello,
I am trying to test a Slash command by sending it an HTTP payload to the URL set for Slash commands for our app.
I used the ping command spec on the sample repository  to build my test. The only impactful difference I can notice with my current test is that I skipped the team fabrication (it returned an error, and I am not clear with what it should be doing).
RSpec seems to load the library and configure Slash commands, but it looks like the command is not actually being run in my test. I already checked the route and it looks good.
I am not getting an error message. What happens is that RSpec seems to load the library and the command file properly and enter the SlackRubyBotServer::Events.configure do |config| scope. The post command does not return any error. But the code in the config.on :command, '/help' do |command| block is not run.
Here is the code of my Slash command. It is located under ./app/lib/slack/commands/help.rb
puts "We are loading the help.rb file" #This shows in my logs
SlackRubyBotServer::Events.configure do |config|
  puts "we are configuring the events class from the library" #This shows in my logs
  config.on :command, '/help' do |command|
    puts "We are calling the help command" #This does not show in my logs

    client = Slack::Web::Client.new(token: Rails.application.credentials[Rails.env.to_sym][:slack][:access_token])

    client.views_open({
        trigger_id: command[:trigger_id],
        view: view
      }
    )
    nil
  end
end

Here is the code of my Slash command. It is located under ./app/lib/slack/commands/help.rb
# frozen_string_literal: true
require 'rails_helper'

# The help.rb file is loaded.
# Routing looks good: chat/api/slack/command is the correct path to send the /help command.
# Changed the payload format to JSON
# The 'slack-ruby-bot-server' library is loaded automatically.
# The Events class is accessible.

# The help command is not called. The test does not run the config.on :command block.

describe '/help', type: :request do
  include Rack::Test::Methods

  def app
    SlackRubyBotServer::Api::Middleware.instance
  end

  context 'without signature checks' do
    before do
      allow_any_instance_of(Slack::Events::Request).to receive(:verify!)
    end

    # context 'with a team' do
      # let!(:team) { Fabricate(:team) }

      # Reduced payload
      let(:command) do
        {
          command: "/help",
          trigger_id: "triggerID123"
        }
      end

      let(:slack_client){double(:client)}

      it 'opens a non-empty view with the trigger ID from the command' do
        # my future tests
        post '/chat/api/slack/command', params: command #looks like the right route?!
      end
    end
  end
# end

The only parameters that my Slash command uses from the payload are the trigger_id an the name of the command.
I am a beginner with both programming and RSpec. Apologies if there is any inaccuracy, or if this is an obvious question. I spent a couple of hours investigating without success.
Thank you!

Hi,
Here is another attempt I had: I tried the test with the full original payload from Slack:
{"token"=>"ourtoken123",
        "team_id"=>"T04...",
        "team_domain"=>"sosvdev",
        "channel_id"=>"D04....",
        "channel_name"=>"directmessage",
        "user_id"=>"U04...",
        "user_name"=>"isabelle.lepivain",
        "command"=>"/help",
        "text"=>"",
        "api_app_id"=>"ABC...",
        "is_enterprise_install"=>"false",
        "response_url"=>"https...",
        "trigger_id"=>"123..."}

    I mimicked the params here, but in my code I have copy pasted the actual original payload from our test workspace.
    I also tried converting this hash into JSON.
    Mone of this seems to trigger the command from our tests.


Support GCE_METADATA_HOST env var

The DefaultCredentialProvider in google-api-java-client allows for specifying the GCE metadata server address using the GCE_METADATA_HOST environment variable.
https://github.com/google/google-api-java-client/blob/dev/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/OAuth2Utils.java#L110
The golang google cloud library seems to offer the same capability.
https://godoc.org/cloud.google.com/go/compute/metadata#Get
It would be useful if google-auth-library-java supported this as well.
The commit implementing this in google-api-java-client: https://github.com/google/google-api-java-client/commit/7bb680f342a750b70bf5821fc43429a443c9563e

This feature was added in #110 and available since 0.7.1. Closing this out, but feel free to re-open if this is not the case.


Remove AXES_REST_FRAMEWORK_ACTIVE settings flag

Hello, I tried to fix it.
#571

Thanks, looks good! Upstreaming and baking a new release.


Add support for duplicating routing channel

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Enables the user to select Duplicate Routing Channel from System Explorer. Creates new channel with the same states and connections with an incrementing channel name
Why should this Pull Request be merged?
Many channel configurations can be complex. If a user only needs to change a couple connections, it is much easier to duplicate and fix than start from scratch.
What testing has been done?
Manually tested both right-click and dynamic button behavior to verify channel names are incremented correctly and all channel settings are the same.

In the routing channel right-click menu, I would suggest shortening it to 'Duplicate' to be consistent with other menu options.

In the routing channel right-click menu, I would suggest shortening it to 'Duplicate' to be consistent with other menu options.


Split/Remove Backward tokenization

The SimpleTokenizer supports backward lexing. The implementation will break when supporting Python 3.12's new F-String parsing because comments can now appear in parts that appear to be strings.
f"test{more  # quote
}"

My preferred option would be to remove backward lexing altogether. But I'm unsure how to support is_parenthesized_expression without it in the formatter. The problem is that we need to look back from the start of the expression. One option I could think of is to integrate the parenthesize detection into the CommentsVisitor where we already track the parent nodes (necessary to avoid mistaking a as a parenthesized expression in call(a)), and we could store the last start/position and start lexing from there. This would require skipping over some tokens, which I'm not sure we can handle.
The other alternative is to split the SimpleTokenizer into one implementation that only supports forward lexing and a BackwardTokenizer that supports backward lexing, but takes the CommentRanges as a second argument.
CC: @dhruvmanila

/cc @konstin who's working on this, thanks for taking this up!

I believe this landed.


Table output enhancements

Mostly fixes #2721

The table will now fill the terminal width
Files are sorted by name
Files are truncated at the beginning of their path — not the end
The file column is now right aligned
The table is now drawn compactly so there's no separator between file rows. I've noticed on a few of my projects too with more than a handful of files that taking up all that space w/ the table can be fairly overwhelming to look at.

I still need to look into why some files are not displayed. That doesn't necessarily preclude this being merged though. That can be a separate PR.

@thecrypticace Looks good. Any thoughts on the Ubuntu failures?

I'm gonna take a look. I think it's either related to the snapshot or for some reason it's not honoring setting process.stdout.columns on linux. I need to setup a docker container to run the tests on linux and see if I see any behavioral differences.

Figured it out. Was related to snapshots combined with how ANSI escape codes are handled differently across platforms.

Figured it out. Was related to snapshots combined with how ANSI escape codes are handled differently across platforms.

How do you think about aligning the table left and giving the width dynamic according to the content?
I think it looks better.

Table data was truncated on the wrong side of the table. You only saw the beginning of the path. Left-aligning data truncated at the start scans weird.
It matches the webpack output

We absolutely should handle large monitors though. It is crazy wide. Maybe a max of 120-ish cols and make it configurable?

const _ = require('lodash');
const chalk = require('chalk');
const Table = require('cli-table3');
const readline = require('readline');
const stripAnsi = require('strip-ansi');
const { formatSize } = require('webpack/lib/SizeFormatHelpers');
const { version } = require('../../package.json');

/**
 * @typedef {object} BuildOutputOptions
 * @property {boolean} clearConsole
 * @property {boolean} showRelated
 **/

/**
 * @typedef {object} StatsAsset
 * @property {string} name
 * @property {number} size
 * @property {StatsAsset[]|{}} related
 **/

/**
 * @typedef {object} StatsData
 * @property {StatsAsset[]} assets
 **/

class BuildOutputPlugin {
    /**
     *
     * @param {BuildOutputOptions} options
     */
    constructor(options) {
        this.options = options;
        this.patched = false;
    }

    /**
     * Apply the plugin.
     *
     * @param {import("webpack").Compiler} compiler
     */
    apply(compiler) {
        // TODO: Refactor setup to allow removing this check
        if (process.env.NODE_ENV === 'test') {
            return;
        }

        compiler.hooks.done.tap('BuildOutputPlugin', stats => {
            if (stats.hasErrors()) {
                return false;
            }

            if (this.options.clearConsole) {
                this.clearConsole();
            }

            let data = stats.toJson({
                assets: true,
                builtAt: true,
                hash: true,
                performance: true,
                relatedAssets: this.options.showRelated
            });

            this.heading(`Laravel Mix v${version}`);

            console.log(chalk.green.bold(`✔ Compiled Successfully in ${data.time}ms`));

            if (data.assets.length) {
                console.log(this.statsTable(data));
            }
        });
    }

    /**
     * Print a block section heading.
     *
     * @param {string} text
     */
    heading(text) {
        console.log();

        console.log(chalk.bgBlue.white.bold(this.section(text)));

        console.log();
    }

    /**
     * Create a block section.
     *
     * @param {string} text
     */
    section(text) {
        const padLength = 3;
        const padding = ' '.repeat(padLength);

        text = `${padding}${text}${padding}`;

        const line = ' '.repeat(text.length);

        return `${line}\n${text}\n${line}`;
    }

    /**
     * Generate the stats table.
     *
     * @param {StatsData} data
     * @returns {string}
     */
    statsTable(data) {
        const assets = this.sortAssets(data);

        const table = new Table({
            head: [chalk.bold('File'), chalk.bold('Size')],
            style: {
                head: [],
                compact: true
            }
        });

        for (const asset of assets) {
            table.push([chalk.green(asset.name), formatSize(asset.size)]);
        }

        this.monkeyPatchTruncate();

        return table.toString();
    }

    /**
     *
     * @param {StatsData} data
     */
    sortAssets(data) {
        let assets = data.assets;

        assets = _.flatMap(assets, asset => [
            asset,
            ...(Array.isArray(asset.related) ? asset.related : [])
        ]);

        assets = _.orderBy(assets, ['name', 'size'], ['asc', 'asc']);

        return assets;
    }

    /**
     * Clear the entire screen.
     */
    clearConsole() {
        const blank = '\n'.repeat(process.stdout.rows);
        console.log(blank);

        readline.cursorTo(process.stdout, 0, 0);
        readline.clearScreenDown(process.stdout);
    }

    // Yeah, I know.
    monkeyPatchTruncate() {
        if (this.patched) {
            return;
        }

        this.patched = true;

        // @ts-ignore
        const utils = require('cli-table3/src/utils');
        const oldTruncate = utils.truncate;

        // cli-table3 can only do truncation at the end
        // We want the asset name to be truncated at the beginning if it's too long
        // FIXME: We really should set truncation location via a paramter or something
        // (or PR support for alignment-based truncation)

        /**
         *
         * @param {string} str
         * @param {number} desiredLength
         * @param {string} truncateChar
         */
        utils.truncate = (str, desiredLength, truncateChar) => {
            if (stripAnsi(str).length > desiredLength) {
                str = `…${str.substr(-desiredLength + 2)}`;
            }

            return oldTruncate(str, desiredLength, truncateChar);
        };
    }
}

module.exports = BuildOutputPlugin;

How do you think of modifying the src/webpackPlugins/BuildOutputPlugin.js file as above to make it dynamic width with Left alignment?
Before

After

Please. I'm begging you, let use use --hide-module or the equivalent like before.
As with #2764 I'm getting two screens and more of output, which makes it impossible to even detect if I'm looking at an old results table, a new one.
This might seem like a dumb detail but it's probably going to force me to replace laravel-mix with another build methodology. :(
End time of compilation would be amazing (to know if it's done or not, or if we're looking at an older build).

Hello,
same issue here,
i tried :
stats: {
            preset: 'minimal',
}

in .webpackConfig() but it does not work.


[Feature Request] Optionally suppress display of node data when it is not available.

I recently started using this tool and I find it very useful.
In the example below, some node data json files have entries for only a subset of nodes, but I don't see an option to prevent the display of node information for nodes that don't have any entries - they still show up as "-" everywhere which is cluttering the display.
If there is a way to suppress these, please let me know. If not, please consider this a new feature request.

Appreciate your help!

I don't see a way to do this currently. @jinjingforever can you please take a look? Thanks.

This will be released next week. Thanks!


4.18.2 v2ray linux -version miss matched

What version of V2Ray are you using
4.18.2 from Release Page
What's your expectation?
latest v2ray version 4.18.2
run v2ray -version, get

V2Ray 4.19 (Let's Fly) Custom
A unified platform for anti-censorship.

it would make go.sh update v2ray again and again.
(No configuration needed)

4.19.1 fix


Add Testimonial Section to Landing Page

To enhance the credibility and user engagement of the AgentGenesis landing page, we propose adding a testimonial section. This section will feature user testimonials and feedback, highlighting the positive experiences and benefits of using AgentGenesis. The Marquee component from Magic UI, or any similar design component, is suggested for building this section.
Objective:

Increase user trust and engagement.
Showcase positive user feedback and testimonials.
Enhance the overall aesthetics of the landing page.

Reference:

Magic UI Marquee Component

Approval:

Approval from relevant stakeholders is required before proceeding with the implementation.

Additional Notes:

Place the testimonial section above the CTA component.

@DeadmanAbir can I takeover this issue? I would love to contribute in your project

@DeadmanAbir can I takeover this issue? I would love to contribute in your project

Hey actually this issue is already assigned, meanwhile you can check other issues and can try to solve those!

I would like to work on this project and especially on the testimonial section as I can fulfill all the three mentioned objectives in a very impressive approach. Please assign this to me.

@DeadmanAbir I would like to work on this project and especially on the testimonial section as I can fulfill all the three mentioned objectives in a very impressive approach. I can fix other issues also like the two typos in the "Chat Models" section where "differnt" should be "different" and "Anthrotopic" should be "Anthropic", implement a CLI and Migrate Component Code to Registry Folder. Please assign this to me.

This is issue is assigned and will be handled by internal team, meanwhile you can check the the Migrate to registry folder issue.

@DeadmanAbir I would like to work on this project and especially on the testimonial section as I can fulfill all the three mentioned objectives in a very impressive approach. I can fix other issues also like the two typos in the "Chat Models" section where "differnt" should be "different" and "Anthrotopic" should be "Anthropic", implement a CLI and Migrate Component Code to Registry Folder. Please assign this to me.

This is issue is assigned and will be handled by internal team, meanwhile you can check the the Migrate to registry folder issue.

Ok, then I am going to fix #26 . Please assign this to me. Thank you for the response.

@DeadmanAbir I would like to work on this project and especially on the testimonial section as I can fulfill all the three mentioned objectives in a very impressive approach. I can fix other issues also like the two typos in the "Chat Models" section where "differnt" should be "different" and "Anthrotopic" should be "Anthropic", implement a CLI and Migrate Component Code to Registry Folder. Please assign this to me.

This is issue is assigned and will be handled by internal team, meanwhile you can check the the Migrate to registry folder issue.

Ok, then I am going to fix #26 . Please assign this to me. Thank you for the response.

Please quote into the discussion of that issue, like how you are going to approach the problem and how you will be doing all the stuff, after reviewing the architecture I can assign you the issue, as this issue is pretty big and complex I need to see your approach architecture first.


Docs site doesn't make it clear how to access utils, screen, user

Step 3 of the docs shows using utils. Step 4 uses screen and user.
But it never shows how to access these properties. Should we update Step 2 to load these properties?
withBrowser(async () => {

-->
withBrowser(async ({utils, screen, user}) => {

(Happy to make a PR for this if you think this is the right approach @calebeby )

Sounds good! Yeah a PR would be helpful


Add starting day of the week

Hi,
I really love this vue calendar basically for the simplicity when I want to implement something!!
Issue
Recently I came across an issue that I need to change the starting day of the week. i.e I want the day of the week to start from Wednesday and end in next Tuesday!
I saw that you only have the :startWeekOnSunday property available and then the ":hide-weekdays".
Unfortunately I don't want to hide some of the days, I want to see them all but in different order
Suggestion
How about we create a new property called :startingDayOfWeek="3"so the week will start from Wednesday instead of Sunday or Monday
Thanks in advance!

Hi @Ponokefalos, thanks for your feedback and suggestion.
Adding this option is not that straightforward (I wish!) but I add it to my to do list.

Thanks for your response @antoniandre! I inspected your code and I figured that you constantly add days in order to find the dayList you want to display. For me thats the main problem. I could spend some time if you like and the submit a pull request!

I need the same feature，thanks for your work @antoniandre , very cool

@Ponokefalos,
If you want to give it a shot that's awesome @Ponokefalos! Thanks for suggesting.
I let you start it, I will take over to finish or polish if needed. ;)
Quick tips:
Please comply to the project's naming convention and installed linter (e.g. no semi-colon).
I suggest you can start your tests in isolated-test-view.vue (the URL is /test) it's easier to develop.
Then when you feel like you're done, test it on all the demo examples to make sure it behaves as expected.
Don't hesitate to ask me questions here or via email if it helps (my email is in the package.json file).

Thanks for your feedback @wyymichael!


Feature/vision processing

Changes:
Added visual processing for starting positions.
Controls and Usage:
Add the SpikeMarkDetector Feature to your OpMode and call getSpot to get the spot where the object is (1 for left, 2 for middle, 3 for right, and 0 for unknown). Call setTeamColor on the feature to set the color of the team.
Reviewers:
@XaverianTeamRobotics/senior-programmers

Hey @MatthewL246 and @24cteahan I want one of you to look over this first, so I wont merge it until I get a review.


feat(remix-react)!: use type aliases instead of interfaces

Just like I did in #7363, #7366 & #7367
To transition more smoothly, we can start with exporting these public types with a V3_ prefix
This would be something like
export interface AwaitProps {
  // ...
}
export type V3_AwaitProps = AwaitProps;

Closing per https://github.com/remix-run/remix/pull/7362#issuecomment-1711703874


Lint errors in Jest test file due to global Enzyme functions

Now that we're globally defining the shallow, render, and mount functions from Enzyme in jestsetup.js, the test file itself has lint errors due do missing function imports for them.
This isn't a build issue since we don't lint our test files. But we might want to? As it is, it's just annoying to look at.
System Configuration
Generator Version
As of 95c08ffcaf752427a2caf88a2e216aa79f7656bd
Node Version
v6.9.4
Expected Outcomes

Either we don't import them globally, or we include eslint ignores to hide the issue. Personally, I'd prefer the former if we're going to start linting our test files.

+1 to listing our test files.  Tests are code too and need to be maintainable.

+1
Eslint does not have an environment for enzyme.
http://eslint.org/docs/user-guide/configuring#specifying-environments

We could add this to .eslintrc

  "globals": {
    "shallow": true,
    "render": true,
    "mount": true
  }

We could explicitly import those methods and no longer have them as global.

+1 to linting test files. @Matt-Butler option 1 or 2 both seem reasonable to me.

I'm fine with either option as well.  I've noticed a few other places that we're not linting either so I thought i'd get opinions about them:  .storybook/, stories/  I'm of the mind to lint everything, but wanted to hear what others thought.

+1 to lint all the things

Consensus landed on is to go with option 1 @Matt-Butler suggested.

Close this issue. It's already fixed.


Warning when new spigot loads PermissionsEx

[11:31:44 WARN]: [PermissionsEx] The author of this plugin ([t3hk0d3, zml]) has misconfigured their Auto Update system
[11:31:44 WARN]: [PermissionsEx] File versions should follow the format 'PluginName vVERSION'
[11:31:44 WARN]: [PermissionsEx] Please notify the author of this error.
Temp.txt

This was an issue on the BukkitDev side -- the project page was defaced by someone using an inactive developer's credentials. No compromised files were uploaded and the data has been restored, so this shouldn't happen again.


Add new Remark command

Hi,
I have finished adding the required codes from Tutorial 2 walkthrough.

Checkstyle issues


The location settings alert box is not consistent

Right now for the phone versions which don't show 3 options for location (while using, always, never) but instead 2 options (always/yes, never), the location prompts up for them unnecessarily. We will have to dig deep into the response numbers by the geolocation api.

@tremblerz Is this bug on iOS or Android? I see 3 options on the iOS 11 emulator?

@skusunam yes there are quite a few alert boxes when user starts the app on  both platforms

@tremblerz, Could you please elaborate what is the expected behavior and specify platform (IOS | Android and version)?
I can see the system prompt asking for location permission, but not sure I understand the expected behavior.
.

@tremblerz can we have a list of expected behaviour for this


Translate attributes validation rules

Description
I use laravel's translation layer. I've been able to translate quite a few texts without any problem, except for the attributes for the rules.
Laravel lets you translate these attributes in the validations.php language file by creating an attributes array. Except that for Lomkit validation errors, the attributes are formed like this: mutate.*.email with * the object index in the request body.
It's very difficult to know at which index the error on our attribute is located in the validations.php file.

This is related to Laravel validation feature, might need to do a change request on Laravel


CPUs Parlallelization available?

Hi all, is there a way to use more CPUs while running the TRFP? Or are you planning to add this option?
Thanks!

Hi @rolivella,
that is an long lasting issue, see #23 and #95
In short, the bottleneck is writing the mzML file (and index); this process essentially has to be single-threaded. Multithreaded processing of a single file is not on the list for any near future. It is possible, however, to run several instances of TRFP working on different files (for example, to process a folder faster). I have old and ugly python script that I can share.

Ah yes, it makes sense. Thanks for the python script but I'm developping a single-file pipeline so I don't need it yet. I'm trying to optimize every single step but I see that, at least, regarding the TRFP I can't do nothing (or little) more.


Maximum recursive updates exceeded in the component .

Getting this warn message trying to use the Carousel component  -- runtime-core.esm-bundler.js:38 [Vue warn]: Maximum recursive updates exceeded in component . This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.

The data that v-for loops over is async data, could it be the case? maybe when the data is in a pending state

You need to set a "v-if" on Carousel component on the data you loop on

Closing this issue since it's fixed in the latest version.


add support for remaining sorted-set commands #31

Quite a few commands in there. took me a while.
Discovered that we may need to come back and refactor the ZRange class to support inclusive or exclusive ranges.

Closes Issue #31

Here is the issue: #35


fixing a link

adding link to world wide importers data info

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/build-graph.md
82
71
25
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 49cf8d8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

enterprise-graph/build-graph.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Strange behaviour of queries with 'irate' function

Hello,
We are using prometheus-postgresql-adapter and pg-prometheus services for keeping prometheus metrics in database storage. I'm not sure which one is causing the problem, but after switching from prometheus local persistent storage to those two services, all queries containing 'irate' function seem to behave incorrectly. It is especially visible in Grafana dashboards - graphs with 'irate' are showing 'no data' error, or there are no charts visible, only values are shown, or charts are visible only for ~2 seconds, and they disappear again. After changing 'irate' to 'rate' function there are no problems and everything works just fine.

Hi @maciejprz,
In order to dig deeper into no data error I would recommend to run prometheus-postgresql-adapter with --log.level=debug and in the log file you will see SQL queries that are running against the TimescaleDB to fetch Prometheus data.  You can test those SQL queries explicitly to make sure that they do return the data.
The irate behaviour seems strange. The remote storage integration is only responsible for moving data back and forth between Prometheus instance and remote storage so shouldn't have anything to do with the PromQL(eg. irate).
Let me know if looking into SQL queries has helped.


./main.go:10: undefined: NewRouter

Hi,
I am having issues when runngin go get on v9 of the project. I get the following error
./main.go:10: undefined: NewRouter
Can anyone explain what is wrong. I have checked my goroot, gobin and gopath variables and they all seem fine.
Thanks
Jonathan

Hi @KITSJonathanDixon, maybe you are trying to run the code using go run main.go? If so, go run is used to run only one file, otherwise you'll have to use go build and run the executable generated by it.
One other option is to separate all files into folder and make the proper imports and then you'll be able to run the code with go run main.go

@KITSJonathanDixon  @corylanou The original author needs to clarify this for new users.
But in order to run this example. Simple do:
go build

If you do
ls

You'll see a binary file. Just run it (it created api for me), so just run:
./api

and look at localhost:8080


The Cheat is not working after csgo update

Many features like triggerbot crash

recompile.
if that doesn't work try re-downloading the source.

Same for me, esp and chams. crash

GetInaccuracy - 482
GetSpread - 452
AccuracyPenalty - 483
IsPlayer - 158
GetCSWpnData - 460
IsWeapon - 166
Update these values,
https://www.unknowncheats.me/forum/counterstrike-global-offensive/103220-counterstrike-global-offensive-reversal-structs-offsets-640.html

isPlayer() is still at index 157 tho

Can you see the list of stickers from the skin changer?

Well if you insist heres your pasta

i fixed them and the only thing not working is chams

i fixed them and the only thing not working is chams
——
nvm i type wrong number xD fixed now

and this is why we make pulls rather than having to do everything by hand.

i fixed them and the only thing not working is chams
——
nvm i type wrong number xD fixed now

and this is why we make pulls rather than having to do everything by hand.

true


Logging to Fluentd and StdErr

For my dockerized Laravel Application I have implemented centralized logging with Fluentd. My php-fpm outputs any error on stderr inside of the container. The logs of the containers are forwarded to fluentd by the fluentd logging driver of docker.
To already have pre-formatted php error logs I extended the current stable release. I also chose the v0.18.2 release because the master is not yet supported by laravel-rollbar.

Closing in favour of https://github.com/rollbar/rollbar-php/pull/163


RKE2 support

any plans to add RKE2 support from the menu. When you toggle the toggle in the cluster provisioner screen to RKE2 the node driver does not work.

Any news regarding this feature?

+1 for RKE2 Support, i currently operate RKE2 Clusters using the vsphere drivers, however with the Broadcom acquisition we are dumping vmware for proxmox, and would love to be able to manage our downstream clusters similarly to how we did with vsphere.

Just adding my voice to supporting RKE2 - I'd love to dump VMWare for Proxmox.

Well, the last commits have been a pretty long time ago. I'm not sure if @cuza is still around. If so we might want to chime in and work on a PR. If not we could consider a fork. I'm pretty much interested in this feature as well.

RKE2 work differently than RKE1, the driver need to be rewritten from scratch for it, this is just the UI side of the driver, the other part is reusing @lnxbil docker-machine-driver-proxmox-ve driver. I plan to build a RKE2 driver but is currently a very green WIP

hey @cuza having a weird issue on a fresh rancher install in a new proxmox environment
Not really sure why i keep getting 502/503 errors

+1 for RKE2 support. Will be happy to get rid of the vSphere cram.

do you have any progress on the new version of the driver for RKE2?

Hello, we as company willing to pay for this driver @cuza


macOS-latest workflows will use macOS-11 sooner

https://github.com/actions/virtual-environments/issues/4060

runs-on macos-10.15 now


Feat/map attributes on order creation

Map attributes that were not mapped from the response when creating an order.

Not passing the tests
FAILURES!
Tests: 95, Assertions: 189, Errors: 33.

I closed the PR for misunderstanding when commenting


console print error   fps drop

INFO: User [9] ModernRedNek authenticated - [3] [9]<EMAIL_ADDRESS>52250:52250
[GHMattiMySQL ERROR] Parameter '@identifier' must be defined. To use this as a v
ariable, set 'Allow User Variables=true' in the connection string.
[GHMattiMySQL ERROR] Parameter '@identifier' must be defined. To use this as a v
ariable, set 'Allow User Variables=true' in the connection string.
[GHMattiMySQL ERROR] Parameter '@identifier' must be defined. To use this as a v
ariable, set 'Allow User Variables=true' in the connection string.
[GHMattiMySQL ERROR] Parameter '@num' must be defined. To use this as a variable
, set 'Allow User Variables=true' in the connection string.
can help me  fix this error ?

Did you fix it ? y have it too

you are using vMenu ?

No y am not  my discord account is Rusnacull#8660  Lets tolk Sent from Mail for Windows 10 From: IRAN-HIGH-RPSent: Friday, March 20, 2020 10:03 PMTo: ImagicTheCat/vRPCc: Rusnacull Costy Rus; CommentSubject: Re: [ImagicTheCat/vRP] console print error fps drop (#572) you are using vMenu ?—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

y did fix it but now y have a problem with

y fix the first one
now y get this if a person connects mean the server is tarting
and then reconnects again

the problem is inside a quary on the db. just check your quaries, expetially the ones that uses the players identifier

Old topic.
If this issue is still encountered, update the database drivers and information to oxmysql


Swapped photos

Describe the bug

These photos are swapped
Expected behavior

Screenshots
![20240119_190817.jpg]

Additional context(if any)
Pls assign me this job so that i can correct this @5h0ov @Soumyajit2825
Are you contributing under any open-source program ?

Apertre 24

@lord-cyclone100  ok go for it!


Add a shared-memory datastore

The added complexity to support this isn't worth it. Instead, we may look into a custom DiscordSocketClusterClient that wraps multiple DiscordSocketClients.


Add toggle checkbox control

Why?
Optics has a new component releasing in the next version. In preparation for that, we want to add a simple form custom input and wrapper to utilize it better.
What Changed

[X] Add custom input
[X] Add custom wrappers
[X] Add usage documentation

Screenshots

This is actually waiting on some potential changes in the unreleased Optics Implementation. https://github.com/RoleModel/optics/pull/185


How to debug "The type or namespace name 'X' could not be found in the global namespace"?

For some reason that I can't find, I get these many errors when I try to run my application:
One or more compilation failures occurred:
ecozqvux.ovr(4,20): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(4,82): error CS0518: Predefined type 'System.Type' is not defined or imported
ecozqvux.ovr(4,123): error CS0518: Predefined type 'System.String' is not defined or imported
ecozqvux.ovr(4,140): error CS0518: Predefined type 'System.String' is not defined or imported
ecozqvux.ovr(8,11): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(9,11): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(10,11): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(11,11): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(12,11): error CS0246: The type or namespace name 'Microsoft' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(13,11): error CS0246: The type or namespace name 'Microsoft' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(14,11): error CS0246: The type or namespace name 'Microsoft' could not be found (are you missing a using directive or an assembly reference?)
ecozqvux.ovr(15,14): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(15,78): error CS0518: Predefined type 'System.String' is not defined or imported
ecozqvux.ovr(15,87): error CS0518: Predefined type 'System.String' is not defined or imported
ecozqvux.ovr(15,132): error CS0518: Predefined type 'System.String' is not defined or imported
ecozqvux.ovr(16,49): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(16,90): error CS1980: Cannot define a class or member that utilizes 'dynamic' because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute' cannot be found. Are you missing a reference?
ecozqvux.ovr(16,90): error CS0518: Predefined type 'System.Boolean' is not defined or imported
ecozqvux.ovr(19,39): error CS0400: The type or namespace name 'System' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(25,24): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(25,118): error CS0518: Predefined type 'System.Void' is not defined or imported
ecozqvux.ovr(27,24): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(27,71): error CS0518: Predefined type 'System.Void' is not defined or imported
ecozqvux.ovr(29,24): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(29,87): error CS0518: Predefined type 'System.Void' is not defined or imported
ecozqvux.ovr(31,24): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(31,83): error CS0518: Predefined type 'System.Void' is not defined or imported
ecozqvux.ovr(33,24): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(33,71): error CS0518: Predefined type 'System.Object' is not defined or imported
ecozqvux.ovr(33,71): error CS1980: Cannot define a class or member that utilizes 'dynamic' because the compiler required type 'System.Runtime.CompilerServices.DynamicAttribute' cannot be found. Are you missing a reference?
ecozqvux.ovr(33,71): error CS0518: Predefined type 'System.Boolean' is not defined or imported
ecozqvux.ovr(33,92): error CS0518: Predefined type 'System.Void' is not defined or imported
ecozqvux.ovr(19,67): error CS0115: '_Views_Default_Index.ExecuteAsync()': no suitable method found to override
ecozqvux.ovr(24,18): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(26,18): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(28,18): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(30,18): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(32,18): error CS0400: The type or namespace name 'Microsoft' could not be found in the global namespace (are you missing an assembly reference?)
ecozqvux.ovr(21,13): error CS0518: Predefined type 'System.Object' is not defined or imported
ecozqvux.ovr(21,13): error CS0103: The name 'WriteLiteral' does not exist in the current context
ecozqvux.ovr(21,26): error CS0518: Predefined type 'System.String' is not defined or imported
ecozqvux.ovr(19,67): error CS0161: '_Views_Default_Index.ExecuteAsync()': not all code paths return a value

And I have no idea and I can't find why it's happening. Please make these types of errors more descriptive. Just saying "X" can't be found is very misleading and wastes tens of hours of each developer facing it. At least tell us why it's not found? Where has it searched for it. What Options do we have. At least a simple checklist of testing a, and b, and c.
General
I'm trying to create a centralized UI/UX for login/signup page. So I've created a centralized project A that contains views and controllers (I'm using Razor views for this part) and I've created other projects B and C that use this login/signup library to facilitate development.
And when I want to run B or C, I receive this error when it tries to load Views\Default\Index.cshtml.
I'm using .NET Core 3.1.

@nefcanto are you still having this issue? If so, please provide a sample project. Thanks.
It looks like others have found this to be an issue with stale files.

No I don't have it now, and I don't remember how it got solved.

So we'll close it since you got it resolved.


Wrapping/Floating Grids

As I currently understand it, there's no (easy) way to allow widgets to float from one row of a grid to another. I'm working on a widget that is essentially a large grid of buttons, and I'd like the number of widgets per row to be dependent on the size allotted to the grid.
e.g. if the grid is currently 10x5 buttons, and then is resized to only have half the horizontal space, then it would become a 5x10 grid of buttons.
For an example of the kind of grid I'm looking for, got to jisho.org and click on "Radicals". Then, try resizing the browser window.

@Anteproperispomenon there is currently not a layout widget like that, but it's something I have planned for the not-so-distant future. The way I envision it, it should support these behaviors:

You should be able to specify a minimum/maximum width per item, have them adjust their size as needed, and flow to the next row when appropriate.
Alternatively, it should support specifying a maximum number of items per row.
Fixed width items should not be affected by resizing mechanisms.
The height of a row is determined by the tallest widget contained in it. Vertical alignment should be handled by the user (with box, for example).
These behaviors, which I described flowing horizontally, should also be supported vertically. Not simultaneously; it's one or the other.

There are some extra complications, such as the sizing requests of each widget. Handling the fixed case and proportional ones is not a problem, but it becomes more complex with all the other cases. At the same time, maybe those two cases are enough.


Changes to definitions.yaml

Would it be ok to change definitions.yaml to be called airr-standards.yaml (or something similar)?
Also, could we change it from 3 space tabs to 4 space tabs (or 2 space tabs)?  It's messing with my editor.

How about airr-definitions or airr-schema? I don't like standards in the filename exactly because it isn't the standard per se. I called the file definitions to match the OpenAPI which calls these definitions and/or schema objects.
Only if you promise to use actual tab characters instead of spaces, I'm running on disk space ;-D   j/k, feel free to change the spacing, I'm fine with it.

Indentation fixed in #106.
Decision on renaming the file?

schema.yaml?

schema.yaml is okay, airr-schema.yaml might be better, avoids being too generic just in case services have to drop multiple yamls into the same directory, which tends to happen.

All right, airr-schema.yaml, going once? Any other opinions?

going twice...

Got my vote...

Opps, hit close and comment not comment 8-)

Done in #124.


Added remove_sonos_playlist function.

Tests written both in test_core using moco and in test_integrations against a device. Closes issue #341.

Looks good to me.  +1

I am working on reordering Sonos Playlists for my next PR.  If @KennethNielsen, or other interested parties would like to weigh on this PR so it can be merged too, it would be a great help in writing the tests for reorder_sonos_playlist.

I'll merge this tomorrow if there are no other comments

Hi @dundeemt
Sorry about the delay. I like that we get some better coverage on Sonos playlists, but I'm unhappy about the input to the function being only the ID. I would prefer it, if most of the time, these internal IDs were invisible to the user. I would therefore suggest that you make the input to the function be either the playlist object (which conatains the ID) or the ID, but with the play list object being the primary input mode.
Another thing that caught my eye is that the underlying call you are using is to self.contentDirectory.DestroyObject, which seems fairly general. Can this be used to delete e.g. tracks from the music collection index? And if so, should we check and deny that or make the method description and name more general?

Agreed with the object_id vs. Object.   I've written the
reorder_sonos_playlist and friends to accept either a DidlPlaylistContainer,
or any object that has an item_id property (like browse) or the item_id as
a straight string.
I can/will happily update remove_sonos_playlist to have the same
capabilities, but only document / primarily document the object_id
parameter as accepting a DidlPlaylistContainer object.
As far as being more generic, it might well be.  I've been focused on Sonos
Playlists recently, but you are correct in that it "smells" like it might
be able to modify the Queue.  I haven't done much with the queue outside of
use the already existing soco method.  But can/will take a look at it.  Do
we need to make it more discriminating even if it is capable of deleting an
item from the queue? I've not tried to see if it can delete an item from
the library.  (Wouldn't that be transient at best, with the item being
added back during the next library scan?)  If it can, then we can always
refactor and rename it _destroy_object() then make a helper function
remove_sonos_playlist that calls _destroy_object.
Point being, we can refactor later if it is discovered that destroy_object
has more potential than just deleting Sonos Playlists.    Now that I think
about it, you can't delete the queue, it is persistent.
So, I'll make the change to the param to take a DidlPlaylistContainer /
item_id and we can go from there?
I'll update my PR later today
Best,
Jeff
On Wed, Sep 9, 2015 at 2:21 PM, Kenneth Nielsen<EMAIL_ADDRESS>wrote:

Hi @dundeemt https://github.com/dundeemt
Sorry about the delay. I like that we get some better coverage on Sonos
playlists, but I'm unhappy about the input to the function being only the
ID. I would prefer it, if most of the time, these internal IDs were
invisible to the user. I would therefore suggest that you make the input to
the function be either the playlist object (which conatains the ID) or the
ID, but with the play list object being the primary input mode.
Another thing that caught my eye is that the underlying call you are using
is to self.contentDirectory.DestroyObject, which seems fairly general.
Can this be used to delete e.g. tracks from the music collection index? And
if so, should we check and deny that or make the method description and
name more general?
—
Reply to this email directly or view it on GitHub
https://github.com/SoCo/SoCo/pull/345#issuecomment-139020205.

--
Best,
Jeff Hinrichs
<EMAIL_ADDRESS>402.218.1473

@KennethNielsen Are you happy with this now.  Looks great to me.
L

I've written the reorder_sonos_playlist and friends to accept either a DidlPlaylistContainer, or any object that has an item_id property (like browse) or the item_id as a straight string.

Great. I like the get_attr(playlist, 'item_id', None) or playlist I think you did somewhere ;). I will have a look at reorder_sonos_playlist and friends in that PR.

I can/will happily update remove_sonos_playlist to have the same capabilities, but only document / primarily document the object_id parameter as accepting a DidlPlaylistContainer object.

Yes, please do. I think that would be great. I think however maybe that I expressed myself un-clearly. Besides from making the playlist object the primary input type in the docstring, I think it would be best to also change the name of the input parameter to reflect it. People read documentation differently, some just glance the call spec, so I think it too should reflect the playlist container being the primary input type. So replacing the name of object_id with the something like sonos_playlist.
Great work with this. With those few minor changes, this is ready to go in.

PR in line with other PR #352  Have updated doc strings, variable naming and preference for DidlPlaylistContainers.

+1 I'll merge it. Remember to leave a line in the release notes.

@dundeemt Thank you for this function!  I had a couple hundred playlists I wanted to delete, and was able to build from master and delete them without issue.


Unable to generate all the graphs and stats with qs.reports.full()

I'm having trouble getting the part of the charts and table with qs.reports.full(). I was able to get everything up until the Distubtion of Monthly Returns graph. Below are my codes and the error...
Any clue?
qs.reports.full(df["Model Return"], benchmark=df["Benchmark Return"])
--
TypeError                                 Traceback (most recent call last)
 in ()
----> 5 qs.reports.full(df["Model Return"], benchmark=df["Benchmark Return"])
3 frames
/usr/local/lib/python3.7/dist-packages/quantstats/_plotting/core.py in plot_histogram(returns, resample, bins, fontname, grayscale, title, kde, figsize, ylabel, subtitle, compounded, savefig, show)
348         lambda x, loc: "{:,}%".format(int(x*100))))
349
--> 350     ax.axhline(0.01, lw=1, color="#000000", zorder=2)
351     ax.axvline(0, lw=1, color="#000000", zorder=2)
352
TypeError: 'method' object is not subscriptable

Getting the same issue here, whether I use custom data from my own models or the facebook example in the quick-start section. Oddly enough qs.reports.html(stock, "SPY") works fine but qs.reports.full(stock, "SPY") does not.
Thanks for the awesome package by the way, its just what I've been looking for. Planning to setup a pipeline that runs a notebook with our latest data then pushes it to hugo for static site generation thats always up to date with our (test stage) funds results.


Set_base_margin for multiclass

Is it possible in XGBoost to boost from prediction in multiclass problem? I've tried this in python (I've modified script boost_from_prediction) but for multiclass it seems that it doesnt work and I'm not sure whether this is python issue or XGBoost. I manage to calculate predictions with output margin, but during set_base_margin I encounter following error:
"df2.set_base_margin(pred)
Traceback (most recent call last):
File "", line 1, in
df2.set_base_margin(pred)
File "D:\Xgboost\xgboost.py", line 226, in set_base_margin
self.set_float_info('base_margin', margin)
File "D:\Xgboost\xgboost.py", line 177, in set_float_info
c_array(ctypes.c_float, data), len(data))
File "D:\Xgboost\xgboost.py", line 86, in c_array
return (ctype * len(values))(*values)
TypeError: only length-1 arrays can be converted to Python scalars"
Should I just convert 2D array into 1D array and pass it?

Yes, this is something we overlooked when designing the interface, you should be able to set_margin with flattened array.
But be aware that the prediction you get must be obtained with output_margin=True

I am supposing the question is answered, and close this issue for now.

hi there... I am encountering the same error. I did np.flatten(), but I am having XGBoostError: label set cannot be empty when I call the xgb.train. There were no problems when I do the set_base_margin for both dtrain and dtest. Can you kindly help me out here? Thanks in advance!

I reinstalled xgboost (0.4 version). I am having this error now ... src/learner.cc:460: Check failed: (preds.size()) == (base_margin.size()) base_margin.size does not match with prediction size

I tried to flatten it again using np.flatten()... I got the original error XGBoostError: [18:56:18] src/metric/multiclass_metric.cc:26: Check failed: (info.labels.size()) != (0) label set cannot be empty... Can you kindly help me out here?

@jaysonpryde instead of np.flatten() flatten it using reshape(-1,1)
so pred = pred.reshape(-1, 1)
I found this issue when I also faced the same issue, I added more details in this stackoverflow answer http://stackoverflow.com/questions/41042599/how-to-boost-on-an-existing-xgboost-model-from-its-last-iteration-without-starti/41043439#41043439


[Feature] Handle statistics in OrphanFilesClean

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Handle statistics in OrphanFilesClean, otherwise statistics files will be deleted.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

@Zouxxyy


Composable Parsers

Just extract all parsers of different sections to be able to reuse those in different distributions. Those TryParse functions started to duplicate code quite a lot.

"Just" 🙂 what a fun guy 😄


Pi drops IPv4 address after DHCP lease expires

After updating to the latest versions of Pi OS, Docker, etc. sometime in the last week or two, my Internet Pi seems to entirely drop its wired network connection after my network DHCP lease is up (literally 24h after boot). The only way to recover is a hard reboot (since this is a headless Pi).
In the syslog, I see:
Aug  6 01:34:42 geerli avahi-daemon[398]: Withdrawing address record for <IP_ADDRESS> on eth0.
Aug  6 01:34:42 geerli avahi-daemon[398]: Leaving mDNS multicast group on interface eth0.IPv4 with address <IP_ADDRESS>.
Aug  6 01:34:42 geerli avahi-daemon[398]: Interface eth0.IPv4 no longer relevant for mDNS.
Aug  6 01:34:56 geerli systemd[1]: run-docker-runtime\x2drunc-moby-dffd0eb098dcc0dbd442b74566b64c4452df98d1675a513a7951463342bc256d-runc.1YatQ6.mount: Succeeded.
Aug  6 01:35:05 geerli dockerd[740]: time="2024-08-06T01:35:05.269649369-05:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:<IP_ADDRESS>:43159" dns-server="udp:<IP_ADDRESS>:53" error="read udp <IP_ADDRESS>:43159-><IP_ADDRESS>:53: i/o timeout" question=";raw.githubusercontent.com.\tIN\t AAAA"
Aug  6 01:35:05 geerli dockerd[740]: time="2024-08-06T01:35:05.276761116-05:00" level=error msg="[resolver] failed to query external DNS server" client-addr="udp:<IP_ADDRESS>:60157" dns-server="udp:<IP_ADDRESS>:53" error="read udp <IP_ADDRESS>:60157-><IP_ADDRESS>:53: i/o timeout" question=";grafana.com.\tIN\t AAAA"

Initially I thought the network stack could be buggy, but after reading through Every 24h, network connectivity ceases, I'm beginning to think Docker's at fault, considering the interesting container networking layout that makes Internet Pi work...
I'll try to debug the problem in this issue, in case anyone else runs into it. First step, will try running a full upgrade today.

No updates required (I'm on Bullseye on this machine still... need to upgrade it entirely. Maybe migrate to Pi 5 too ha!). Maybe I can try manually forcing a DHCP renewal? Will try that later as I have other things to get to this morning.

Ah... from Stack Overflow:

This is an issue with DHCPCD & Docker on Raspberry, as you already found by yourself. The full discussion is here: Raspberry Pi 4: DHCPCD route socket overflowed. Basically, dhcpcd can be flooded when renewing IP addresses if too many interfaces are present. This is the case when Docker is installed and many containers/networks/services are running. In addition, docker take care of IP addresses and routing on its virtual network, so DHCPCD doesn't need to handle them.

Supposedly the fix is to add the following to the end of /etc/dhcpcd.conf:
denyinterfaces veth*

Then restart dhcpcd:
sudo systemctl restart dhcpcd.service

...this wouldn't apply to Bookworm, so at some point I just need to bite the bullet and upgrade my main network Pi :)
I will try this solution and see if it works after 24h.

Solution was originally posted here: https://github.com/raspberrypi/linux/issues/4092#issuecomment-774512217
And only found relevant info once I looked at journal entries for dhcpcd and found things like:
Aug 08 22:22:29 geerli systemd[1]: Started DHCP Client Daemon.
Aug 08 22:22:33 geerli dhcpcd[736]: veth7e35d83: waiting for carrier
Aug 08 22:22:33 geerli dhcpcd[736]: veth05adbb6: waiting for carrier
Aug 08 22:22:33 geerli dhcpcd[736]: veth979fbed: IAID 09:c2:c3:98
Aug 08 22:22:33 geerli dhcpcd[736]: veth979fbed: adding address fe80::2694:f5d8:6724:c67f
Aug 08 22:22:33 geerli dhcpcd[736]: vethc5ab19f: IAID a3:64:28:4f
Aug 08 22:22:33 geerli dhcpcd[736]: vethc5ab19f: adding address fe80::3c58:cb2b:a9c3:a81f
Aug 08 22:22:33 geerli dhcpcd[736]: veth490bc1f: waiting for carrier
Aug 08 22:22:33 geerli dhcpcd[736]: veth979fbed: soliciting a DHCP lease
Aug 08 22:22:33 geerli dhcpcd[736]: veth53e2894: IAID 5b:50:44:e8
Aug 08 22:22:33 geerli dhcpcd[736]: veth53e2894: adding address fe80::1044:d2b2:407f:6351
Aug 08 22:22:33 geerli dhcpcd[736]: veth809dacf: waiting for carrier
Aug 08 22:22:33 geerli dhcpcd[736]: veth4530865: IAID d9:ba:24:16
Aug 08 22:22:33 geerli dhcpcd[736]: veth4530865: adding address fe80::6c0c:7ea9:ed6:720c
Aug 08 22:22:33 geerli dhcpcd[736]: route socket overflowed - learning interface state


fixed column width

i have a list of data, with variable string value, i noticed that after a page change where is a long cell value with a cell larger than the page before, the table resizes the columns width which means a very bad visual experience when there are a lot of pages to navigate
CodePen here: http://codepen.io/anon/pen/ojgqxr
change page to see what i mean
Is there a way to fix the column width to a certain amount?
if i have a large string i would prefer the row height to be higher or split the string inside the cell in 2 lines.
Is there some module properties or tip&tricks with CSS to do that?
Thanks :)

You can do this with css.
/* if you want to fix the width of every cell in column 1 */
table.my-class > tbody > tr > td:first-child {
  max-width: 200px;
}

Or you can use a CSS class.
/* only cells with the fixed-width class will have a max width */
table.my-class > tbody > tr > td.fixed-width {
  max-width: 200px;
}

When I do this in the Codepen it bleeds into the neighboring cell; however, when I do it locally it works as expected and wraps the text within the cell. Let me know if this works or not for you.

table[md-data-table] > tbody > tr > td:nth-child(1) {
  width: 100px;
  word-wrap: break-word;
}

this seems to fix the problem, i will test it more when i'll have time :)
a big thanks for now :+1:


[Snyk] Security upgrade unzipper from 0.9.15 to 0.12.1

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
  141

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – baea2d86-f0cd-4028-84db-a84cdbbc9272
No New Or Fixed Issues Found


New aka.ms link

Aka.ms link name
ZeroTrust
Category (Optional. Select None to auto-select)
None

Thank you for submitting aka.ms/ZeroTrust. Your link already exists at akaSearch.net. 🙏✅


How to use it in kitti?

Our implementation is based on MMDetection3D. It's easy to use SST in KITTI with their instructions. I believe you just need to prepare dataset and make minor modifications to the config file. You can find these modifications by comparing the following two configs.
https://github.com/open-mmlab/mmdetection3d/blob/master/configs/_base_/models/hv_pointpillars_secfpn_waymo.py
https://github.com/open-mmlab/mmdetection3d/blob/master/configs/_base_/models/hv_pointpillars_secfpn_kitti.py
Instruction of KITTI in MMDetection3D: https://github.com/open-mmlab/mmdetection3d/blob/master/docs/zh_cn/datasets/kitti_det.md

KeyError: "DynamicVoxelNet: 'SSTv1 is not in the models register' "
Do you know how to resolve this error?
Thank you very much!

Do you modify any codes? It seems that you do not register the SSTv1 like: https://github.com/TuSimple/SST/blob/main/mmdet3d/models/backbones/sst_v1.py#L17

I did not modify the codes ,I think the problem is from my mmdet3d package , my enviroment can work in mmdetction3d . But the mmdet3d package in SST is different from the one in mmdedection3d , maybe some files missing such as 'ball_query_ext.cpython-37m-x86_64-linux-gnu.so', I do not have these files in mmdet3d package.

I guess you have the official MMDetection3D installed, but you do not install SST. You need first uninstall  the official mmdet3d by pip uninstall mmdet3d and install SST by running pip install -v -e . under the SST directory.

When I use pip intsall -v -e . in SST have error
Using pip 21.2.2 from /home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pip (python 3.7)
Obtaining file:///home/bai/Documents/Deeplearning/SST
Running command python setup.py egg_info
Traceback (most recent call last):
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 98, in init
req = REQUIREMENT.parseString(requirement_string)
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1654, in parseString
raise exc
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1644, in parseString
loc, tokens = self._parse( instring, 0 )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 3417, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 3739, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 3400, in parseImpl
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1406, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 2711, in parseImpl
raise ParseException(instring, loc, self.errmsg, self)
pkg_resources._vendor.pyparsing.ParseException: Expected W:(abcd...) (at char 0), (line:1, col:1)
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/bai/Documents/Deeplearning/SST/setup.py", line 259, in <module>
    zip_safe=False)
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/setuptools/dist.py", line 809, in fetch_build_eggs
    replace_conflicting=True,
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/__init__.py", line 728, in resolve
    requirements = list(requirements)[::-1]
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3084, in parse_requirements
    yield Requirement(line)
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3094, in __init__
    super(Requirement, self).__init__(requirement_string)
  File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 102, in __init__
    requirement_string[e.loc : e.loc + 8], e.msg
pkg_resources.extern.packaging.requirements.InvalidRequirement: Parse error at "'\x00\x00\x00\x00\x00\x00\x00\x00'": Expected W:(abcd...)

WARNING: Discarding file:///home/bai/Documents/Deeplearning/SST. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I do not know the reason.

There should not be any problems if you can install MMDetection3D successfully. Because this project is purely based on MMDetection3D and we do not modify the setup process. Have you ever tried to install MMDetection3D as the way you install SST?

Yes , it works and have a new error
Traceback (most recent call last):
File "tools/train.py", line 16, in
from mmdet3d.apis import train_model
File "/home/bai/Documents/Deeplearning/SST/mmdet3d/apis/init.py", line 1, in
from .inference import (convert_SyncBN, inference_detector,
File "/home/bai/Documents/Deeplearning/SST/mmdet3d/apis/inference.py", line 16, in
from mmdet3d.models import build_model
File "/home/bai/Documents/Deeplearning/SST/mmdet3d/models/init.py", line 1, in
from .backbones import *  # noqa: F401,F403
File "/home/bai/Documents/Deeplearning/SST/mmdet3d/models/backbones/init.py", line 7, in
from .sst_v1 import SSTv1
File "/home/bai/Documents/Deeplearning/SST/mmdet3d/models/backbones/sst_v1.py", line 7, in
from mmdet3d.models.sst.sst_basic_block import BasicShiftBlock
ValueError: source code string cannot contain null bytes
maybe the reason is my file is windows to linux

Yes, It looks like some text encoding errors. Although I have no specific experience with this, it might work if you directly clone this repo to your local file system. Let me know if you have any other problems related to SST.

That error has been resolved and this is another error when I use "python tools/train.py configs/sst/sst_waymoD1_2x_3class_8heads_3f.py
" to train.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train.py", line 230, in
main()
File "tools/train.py", line 194, in main
datasets = [build_dataset(cfg.data.train)]
File "/home/bai/Downloads/SST/mmdet3d/datasets/builder.py", line 30, in build_dataset
build_dataset(cfg['dataset'], default_args), cfg['times'])
File "/home/bai/Downloads/SST/mmdet3d/datasets/builder.py", line 39, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/mmcv/utils/registry.py", line 54, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
TypeError: KittiDataset: init() got an unexpected keyword argument 'load_interval'
I have modified sst_waymoD1_2x_3class_8heads_3f.py
base = [
'../base/models/sst_base.py',
# '../base/datasets/waymo-3d-3class-3sweep.py',
'../base/datasets/kitti-3d-3class.py',
'../base/schedules/cosine_2x.py',
'../base/default_runtime.py',
]

You may not be able to switch to KITTI with such a simple substitution. Instead, I suggest you go through the whole config to find out the related items. At least, point_cloud_range, anchor-generator, and assigner should be changed. Please refer to https://github.com/open-mmlab/mmdetection3d/blob/master/configs/base/models/hv_second_secfpn_kitti.py
The data item in  sst_waymoD1_2x_3class_8heads_3f override the default data in kitti-3d-3class, so you got the error.
Some documents in MMDetection3D might be helpful to you.

I have modified these parameters but it still can not work, are there any ways to check these parameters?

After starting running an experiment. there is an automatically generated config file in work_dirs. So you can run two experiments with the same model in MMDetection3D, one for KITTI and one for Waymo. Then you can compare the two generated configs to decide which part needs modification.
Tips: it's ok if you do not prepare waymo data, because you only need the automatically generated config.

middle_encoder=dict(
    type='SSTInputLayer',
    window_shape=window_shape,
    shifts_list=shifts_list,
    point_cloud_range=point_cloud_range,
    voxel_size=voxel_size,
    shuffle_voxels=True,
    debug=True,
    drop_info=drop_info,
),

neck=dict(
type='SECONDFPN',
# norm_cfg=dict(type='naiveSyncBN2d', eps=1e-3, momentum=0.01),
in_channels=[128,],
upsample_strides=[1,],
out_channels=[384, ]
),
backbone=dict(
type='SSTv1',
d_model=[128,] * 6,
nhead=[8, ] * 6,
num_blocks=6,
dim_feedforward=[256, ] * 6,
output_shape=[468, 468],
num_attached_conv=3,
conv_kwargs=[
dict(kernel_size=3, dilation=1, padding=1, stride=1),
dict(kernel_size=3, dilation=1, padding=1, stride=1),
dict(kernel_size=3, dilation=2, padding=2, stride=1),
],
conv_in_channel=128,
conv_out_channel=128,
debug=True,
drop_info=drop_info,
pos_temperature=10000,
normalize_pos=False,
window_shape=window_shape,
checkpoint_blocks=[0,1,2,3]
),
)
Are there anything need to be modified in here ?

point_cloud_range and output_shape should be modified for KITTI.

I think I have modified all the parameters need to be done , but it still can not work . Thank you very much for teaching me!

What do you mean by "can not work"? What is the specific error?

Traceback (most recent call last):
File "tools/train.py", line 230, in
main()
File "tools/train.py", line 194, in main
datasets = [build_dataset(cfg.data.train)]
File "/home/bai/Downloads/SST/mmdet3d/datasets/builder.py", line 30, in build_dataset
build_dataset(cfg['dataset'], default_args), cfg['times'])
File "/home/bai/Downloads/SST/mmdet3d/datasets/builder.py", line 39, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/home/bai/anaconda3/envs/mmdetection3d/lib/python3.7/site-packages/mmcv/utils/registry.py", line 54, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
TypeError: KittiDataset: init() got an unexpected keyword argument 'load_interval'
I have modified many parameters. Can I add your Wechat? I have something want to ask you. My phone number is<PHONE_NUMBER>5


AMA

PR adds the recording of the Live AMA with the course team to the Events page of the course

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


How to exit the session?

Hi,
How to exit the session or close the dialog. I am using C#.

You can call context.Done(...) in any child dialog to close a dialog and return the results to parent dialog.


[BUG] QueryParams validation doesn't work as expected

Information

Version: 6.85.0

Hi, when I insert two query with the same key such as q=1&q=2, the q variable in the get() method becomes an array. Is this the right behavior? If it is, then what should I do to make sure that the query is not an array.
Thank you.
Example

Hello @rizchaerul
it’s not a bug. It’s a part of official spec about the query params parsing.
If you have @tsed/ajv, it should emit a bad request.
see you
Romain

I see, do I also have to install ajv, besides @tsed/ajv?

Avj is installed with @tsed/ajv


refactor(semantic): checking label in ContinueStatement based on LabelBuilder

Current dependencies on/for this PR:

main

PR #2202   👈

This stack of pull requests is managed by Graphite.


feat: added OtacilioN/Brasilino to oss projects list

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/brasil/blob/main/CONTRIBUTING.md.

Which change are you proposing?

[x] Adding/updating open source project/s
[ ] Adding/updating maintainer/s

Adding/updating open source project/s

[x] The project was built in or receives significant contributions from Brazil
[x] The project has at least 100 stargazers

Why should this open source project be featured?
The OtacilioN/Brasilino library allows programming in Arduino language using commands facilitated in PT-BR

Adding/updating maintainer/s

[ ] Maintainer's location on their GitHub profile indicates as Brazil
[ ] Maintainer has approved this PR to be included on the website

What open source project/s does the individual maintain?

Please replace this line with GitHub URLs to projects that the individual/s maintains

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing page, or at least not a single one

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

@AbhinavRajesh Your PR has been deployed to githubbrasil.com :tada:


Allow pasting tables up to 10000 lines

The current limit is 1000 in main/data_helpers.js:
var t = Papaparse.parse(e, { preview: 1000 })

Lists can be up to 10000 elements long, so increasing the limit to 10000 would be reasonable.
Suggested by Zekrim, and encouraged by Heavenira in the Discord.
Tables are superior to lists for static data, mostly for performance: the mathquill will not cause performance issues.

Fixed in Desmos.


chore(demo): add Dynamic color example for ProgressCircle

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Build or CI related changes
[ ] Tests related changes
[X] Documentation content changes

What is the new behaviour?

Let's add a Restart button, otherwise people might miss it because it's down the page.

I can add rxjs operator repeat() to value$.
It will not overcomplicate example by extra heavy logic.
What do you think ?

Let's add a Restart button, otherwise people might miss it because it's down the page.

@waterplea
I can add rxjs operator repeat() to value$.
It will not overcomplicate example by extra heavy logic.
What do you think ?

Sure. My goal is so that people who spent time in examples at the top are not met by just a green circle when they scroll down 🙂

Let's add a Restart button, otherwise people might miss it because it's down the page.

@waterplea
I can add rxjs operator repeat() to value$.
It will not overcomplicate example by extra heavy logic.
What do you think ?

Sure. My goal is so that people who spent time in examples at the top are not met by just a green circle when they scroll down 🙂


Latest Version of openresty shows error regarding content-length header needs to be defined

==> proxy-host-2_error.log <==
2024/10/22 13:10:02 ¡error¿ 193£193: *82 lua entry thread aborted: runtime error: /etc/nginx/lualib/crowdsec.lua:410: http2 requests are not supported without content-length header
stack traceback:
coroutine 0:
¡C¿: in function 'read_body'
/etc/nginx/lualib/crowdsec.lua:410: in function 'get_body'
/etc/nginx/lualib/crowdsec.lua:523: in function 'AppSecCheck'
/etc/nginx/lualib/crowdsec.lua:613: in function 'Allow'
access_by_lua(conf.d/crowdsec_openresty.conf:24):6: in main chunk, client: , server: , request: "GET /favicon.ico HTTP/2.0", host: "", referrer: "

@LePresidente I ran into this same error while trying to configure appsec on my instance using your NPM fork. The discussion is over in https://github.com/crowdsecurity/example-docker-compose/issues/30 and @LaurenceJJones has a question for you in this comment: https://github.com/crowdsecurity/example-docker-compose/issues/30#issuecomment-2563915716

However, this error is happening from the Lua library itself, however, this was removed from the latest version so I don't know if LePresidente needs to bump the version or even NPM.


[T4A6][W10-B4]Wang Xien Dong

Ready to commit

Some comments added. Please close the PR after reading comments.


adding changes IDENTITY-3112

Already committed with https://github.com/wso2/carbon-identity/commit/8ee46b7815d371aae6c52941c66afd52ba8c3970. Hence closing this.


feat: initial version

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@da3ad22). Click here to learn what that means.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   75.75%
=======================================
  Files           ?        2
  Lines           ?       99
  Branches        ?        0
=======================================
  Hits            ?       75
  Misses          ?       24
  Partials        ?        0

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 da3ad22...82c63b0. Read the comment docs.


Failed to build on Arch linux (wsl)

Hi, I encountered a building error on Arch linux (wsl):
 Compiling complex-bessel-rs v1.2.1 (/home/user/complex-bessel-rs-master)
error: empty search path given via -L
error: could not compile complex-bessel-rs(lib) due to 1 previous error
I found out that it happened during invoking gfortran command and may be caused by the missing libstdc++-static library. However, I can't figure out how to install and test this scheme in Arch. Kindly request to solve this issue.

Hi, thanks for the feedback, just a couple of questions.
What version of complex-bessel are you running? i pushed an update a couple of weeks ago and i'd like to know if maybe that messed some things up.
can you run gfortran -print-file-name=libgfortran.a and comment here what's the output?

Thank you for the reply. I used the latest one just pulled for github few days ago. However, when I tried gfortran -print-file-name=libgfortran.a command, the output from different platforms was inconsistent. In my Arch WSL (Windows subsystem on Linux), the output was just libgfortran.a, meaning that the path variable  was just empty. That explained why. In my Solus VM with gfortran installed, and Window 10 with quickstart fortran installed, the command returned the full path. And therefore, the compilation was successful. The error is more likely caused by WSL, or maybe Arch Linux itself.  The command can't guarantee consistent result on different platforms.

Solved. Please use gfortran -print-file-name=libgfortran.so instead of gfortran -print-file-name=libgfortran.a in the build.rs file. since libgfortran.a is not available in Arch.

Hi, thank you for the quick reply, I'm not really sure that's correct, so files are _s_hared _o_bjects used for dynamic linking, a files are used for static linking.
The only thing I can think of is to skip adding the path to the search paths if it's empty since your distribution of fortran seems to resolve correctly its std lib, as soon as I get home I'll push a fix, please let me know if that corrects your issue

I appreciate your help! I also find an issue in Windows (10) platform: when linking with gfortran -print-file-name=libgfortran.a command from Quickstart Fortran, the complex-bessel-rs crate was compiled successfully, but my rust program failed with an linking error code note: LINK : fatal error LNK1181: cannot open input file 'gfortran.lib'.  Please let me know whether you encountered this issue before. Maybe I choose the wrong Fortran compiler on Windows.

Hi, no I'm sorry, never encountered before and unfortunately I don't have a working windows PC to test it on, this weekend I'll see if I can test it on GH actions

Thank you so much!


Release build without the js file

Hello,
First of all, great code! Helps a lot in the day to day stuff.
Question I have: I don't want to release the js file, just use it while developing. Any easy way to do that?
Cheers

I think John is right re: the build action, but the suggestion to edit JavaScript references likely won't work for you in this case - The angular.intellisense.js file is auto-loaded by Visual Studio right after loading angular.js (or angular.min.js) if it is present. When you add it as an explicit reference the editor won't load it correctly. Instead, there's a location in Program Files you can use and VS will automatically load the extension for you if it's found there, with no need to include it in your project.
From the README:
If you prefer to enable AngularJS intellisene for all of your web projects, simply save the angular.intellisense.js file to your %PROGRAMFILES%\Microsoft Visual Studio 12.0\JavaScript\References folder. %PROGRAMFILES% is the location of your program files folder, usually under C:\Program Files or C:\Program Files (x86).

Thanks guys! That did the trick! (changing content type to none and do not copy).
Another question I have: The intellisense only work in .js files, right? Is there any way to make intellisense in c# .cshtml files, so that they don't show as unrecognized and red underlined?
Cheers

Jordan is the authority on this, but I am almost certain that you will only
get IntelliSense for JavaScript files in Visual Studio.
On Mon, Jan 26, 2015 at 9:14 PM, renatoch<EMAIL_ADDRESS>wrote:

Thanks guys! That did the trick! (changing content type to none and do not
copy).
Another question I have: The intellisense only work in .js files, right?
Is there any way to make intellisense in c# .cshtml files, so that they
don't show as unrecognized and red underlined?
Cheers
—
Reply to this email directly or view it on GitHub
https://github.com/jmbledsoe/angularjs-visualstudio-intellisense/issues/15#issuecomment-71578544
.


Allow banning only some methods on console

I'm trying to enable this on a large codebase with many console calls of various types. It's a bit of a mess. 😂
In order to help users do this, let's add an API option to disable methods on the console:
import { cft } from "console-fail-test";

cft({
    console: {
        log: false,
    }
});

...where methods are banned by default.

Whoohoo, @mackenco volunteered to do this! 🙌


[BUG] embedded form into the application has styling issues

Environment
Please provide as many details as you can:

Hosting type

[x] Form.io
[ ] Local deployment

Version:

Formio.js version: 5.1.1
Frontend framework: React

Steps to Reproduce
Embed a form inside and existing React application as shown in the example:
        <Form
          src="https://example.form.io/example"
          onSubmit={console.log} />

Expected behavior
The form shows as it appears in the preview in form.io
Observed behavior
The form is not using the original styling from form.io. Is there a way to preserve the original style?
Thanks!

I had to import the form styles from the formiojs package.
import 'formiojs/dist/formio.full.css';

I am closing the issue as it was created too long ago and there is no new comments here. If the issue is not resolved, please reopen it. Thanks!


SONY Tablet Z2: No Cameras Open

FFC or RFC, portrait or landscape. Just a progress bar and nothing else.

LogCat shows:
E/CameraDevice-0-LE(10455): Surface with size (w=1920, h=1440) and format 0x1 is not valid, size not in valid set: [1600x1200, 1280x720, 960x720, 720x480, 640x480, 480x320, 320x240, 176x144]
W/CameraDevice-JV-0(10455): Stream configuration failed
E/CameraCaptureSession(10455): Session 0: Failed to create capture session; configuration failed

However, the Camera2Basic sample app also has a preview that is not one of the official sizes (comes out as 1920x1128), yet it does not exhibit this problem.

Fixed, though now the aspect ratios are off, see issue #64.

Released in v0.2.0


[bazel,dvsim] Prevent dvsim from (trying to) copy irrelevant files

See #19553 for details. Due to a bazel change between verions 5 and 6, bazel cquery will print fully qualified paths like @//sw/device/...
for the repository instead of just //sw/device/... This breaks the filtering done when copying file and will make dvsim copy way too many files, or even try to copy files that are not there.
This commit fixes the issue by using a custom priting function for the query that removes the @ for path starting with @//.

Fixes #19553 and also issues reported on slack/general.

This has run into the private CI time limit, not sure if this is related to this change?

I think this should be OK, but it looks like the OTBN tests don't pass, which is odd, because this change should only impact top-level tests (which do all pass). But I will re-trigger that CI step to make sure this passes on everything before we merge. If it does pass CI then we should be OK to merge.

Thanks for catching this @pamaury


Expanded expander in ListBox doesn't resize the ListBox ViewPort.

Describe the bug
I can't see the expander content on the last item in the ListBox.
To Reproduce
    public class UiChunkMetadata
    {
        public string Header { get => "Chunk"; }

        public string Guid { get => "Guid"; }
        public string Hash { get => "Hash"; }
        public string Sha1Hash { get => "Sha1Hash"; }
        public byte GroupNum { get => "1"; }
        public uint WindowSize { get => "2"; }
        public ulong FileSize { get => "3"; }
    }

    public ObservableCollection<UiChunkMetadata> ChunkMetadataList { get; set; } = new ObservableCollection<UiChunkMetadata>();

          <TabItem Header="Chunk metadata list">
              <StackPanel Margin="0,10,0,0">
                <ListBox Items="{Binding ChunkMetadataList}" Width="650">
                  <ListBox.ItemTemplate>
                    <DataTemplate>
                      <Expander ExpandDirection="Down" Header="{Binding Guid}">
                        <StackPanel Margin="0,0,0,0">
                          <StackPanel Margin="10,0,0,10" Orientation="Horizontal" HorizontalAlignment="Stretch">
                            <TextBlock Text="Hash" VerticalAlignment="Center" Width="150" />
                            <TextBox Text="{Binding Hash}" IsReadOnly="True" VerticalAlignment="Center" Width="400" />
                          </StackPanel>
                          <StackPanel Margin="10,0,0,10" Orientation="Horizontal" HorizontalAlignment="Stretch">
                            <TextBlock Text="Sha1 checksum" VerticalAlignment="Center" Width="150" />
                            <TextBox Text="{Binding Sha1Hash}" IsReadOnly="True" VerticalAlignment="Center" Width="400" />
                          </StackPanel>
                          <StackPanel Margin="10,0,0,10" Orientation="Horizontal" HorizontalAlignment="Stretch">
                            <TextBlock Text="Group number" VerticalAlignment="Center" Width="150" />
                            <TextBox Text="{Binding GroupNum}" IsReadOnly="True" VerticalAlignment="Center" Width="400" />
                          </StackPanel>
                          <StackPanel Margin="10,0,0,10" Orientation="Horizontal" HorizontalAlignment="Stretch">
                            <TextBlock Text="Window size" VerticalAlignment="Center" Width="150" />
                            <TextBox Text="{Binding WindowSize}" IsReadOnly="True" VerticalAlignment="Center" Width="400" />
                          </StackPanel>
                          <StackPanel Margin="10,0,0,10" Orientation="Horizontal" HorizontalAlignment="Stretch">
                            <TextBlock Text="File size" VerticalAlignment="Center" Width="150" />
                            <TextBox Text="{Binding FileSize}" IsReadOnly="True" VerticalAlignment="Center" Width="400" />
                          </StackPanel>
                        </StackPanel>
                      </Expander>
                    </DataTemplate>
                  </ListBox.ItemTemplate>
                </ListBox>
              </StackPanel>
          </TabItem>

Fill ChunkMetadataList  with thousands of entries.
Scroll to the list bottom.
Expand the last item.
Expects that the last item expanded content is not viewable. (Might try multiple times).

Expected behavior
ListBox draw window should expand when Expander is expanded.
Screenshots

Desktop (please complete the following information):

OS: Windows
Version 0.10.4

Additional context
Also, it seems that scrolling in the ItemBox expands or closes the Expander randomly.

Hi
ListBox shouldn't be in a stackpanel as this messes with ListBox ScrollViewer and also disables virtualization. Instead use a Grid Panel or DockPanel.
Happy coding
Tim

Hi, I'll take a look at the GridPanel then. Thanks for reply.

@Nemirtingas @timunie  Hi, I encountered this issue in my project too. Could you please provide any hints to fix it? For the GridPanel one, should I use this:

<ListBox.ItemsPanel>
    <ItemsPanelTemplate>
        <Grid/>
    </ItemsPanelTemplate>
</ListBox.ItemsPanel>

?


Update dependency copy-webpack-plugin to v6.0.3

This PR contains the following updates:

Package
Type
Update
Change

copy-webpack-plugin
devDependencies
patch
6.0.2 -> 6.0.3

Release Notes

webpack-contrib/copy-webpack-plugin
v6.0.3
Compare Source

Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (6.0.3). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


⚠ Prueba_Error_500 has degraded performance

In 41f141d, Prueba_Error_500 ($URL_ERROR_500) experienced degraded performance:

HTTP code: 200
Response time: 13072 ms

Resolved: Prueba_Error_500 performance has improved in 0512cfe after 566 days, 21 hours, 59 minutes.


[MLDB-2123] Updated svdlibc to 1.4 by backporting changes

We had a modified version of 1.34. I backported remote changes from version 1.4 into our copy.
This shows the remote changes cleanly: https://github.com/lucasmaystre/svdlibc/commit/0abfaf8da00ed14f2e275bb4435ca0844f89f936

+1


update sample bot URL, +code formatting, update Bot Framework main docs URL

@nwhitmont,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot