Custom path the apiary preview CLI tool?

Is it possible to pass a custom path the apiary preview CLI tool? Something along these lines?
apiary preview PATH="../apiary.apib"

Found it, duh! apiary preview --path ../apiary.apib


Expose more details when an ERROR happens

Version
lycheeverse/lychee:sha-18d486d-alpine@sha256:bb2a23d44ac713aaeea3def850dc6a2b2c57ba6dfba7f730c0088f670916345a

Command example
lychee --exclude-path docs/broken.md --accept '200..=204,403,429,500,503' -vv 'docs/**/*.md' '**/*.yaml' '*.toml'

Problem
The log says "Find details below"... but all the details is the ERROR word. It is difficult for a user to debug what has happened here.
   [ERROR] https://www.privacyguides.org/en/news-aggregators/
Issues found in 1 input. Find details below.
[docs/tutorial.md]:
   [ERROR] https://www.privacyguides.org/en/news-aggregators/
🔍 357 Total (in 9s) ✅ 354 OK 🚫 1 Error

ERROR: Job failed: command terminated with exit code 2

Expected behavior
Log the full traceback or a network error, not just the ERROR word.

This should be fixed in master with https://github.com/lycheeverse/lychee/pull/1553. It will be released in 0.17.1 when this gets merged: https://github.com/lycheeverse/lychee/pull/1554.
In the meantime, can you try the latest master build and see if that resolves the issue?

This should be fixed in master with https://github.com/lycheeverse/lychee/pull/1553. It will be released in 0.17.1 when this gets merged: https://github.com/lycheeverse/lychee/pull/1554.

Sorry, I checked the issues, but not recently merged pull requests.

In the meantime, can you try the latest master build and see if that resolves the issue?

To be honest, I have no idea how to reproduce the error, as there were no details in the log, so I can only guess at what could go wrong. For example, the URL I show here was working, but lychee just said ERROR and I cannot know why.
Thank you for your reply.   I will re-open the issue if I get this problem again after 0.17.1.

Here's some sample output with the latest lychee on privacyguides.org:
[docs/email.md]:
   [ERROR] https://tuta.com/support#encrypted-address-book | Network error: error sending request for url (https://tuta.com/support#encrypted-address-book) Maybe a certificate error?
 [TIMEOUT] https://tuta.com/support/#pgp | Timeout

So the error is printed again, just like in the past. 😄


Re-enable pprof for mixer with args consistent with Pilot

Enable pprof at http://localhost:9093/debug/pprof/* with command line args consistent with Pilot.
Signed-off-by: Mandar U Jog<EMAIL_ADDRESS>

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
5ad9e915c596de19ba2237a06e09f99b3d1b9662
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mandarjog: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mandarjog: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test e2e-bookInfo

prow/e2e-simpleTests.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test e2e-simple

prow/istio-pilot-e2e.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-simple
/test e2e-bookInfo
We renamed e2e-smoke to e2e-bookInfo and added e2e-simple
ref: https://github.com/istio/istio/pull/3529

@mandarjog: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
e1646bfd2cbde80b9a64e079805b7111d56d6bd3
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@mandarjog do we want some sort of integration test to validate this works as expected to go along with the unit test?

/test istio-pilot-e2e
/test e2e-bookInfo

/lgtm
#3587 to see what's up with the linter error

sorry to put that on you mandar but can you fix the linter issues (#3471 is the cause of this problem, master is broken because the pr that added the lint errors was green because the linters got 'fixed' in between)
otherwise I'll get to it after I fix #3585

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b0c4876c18e796d9b6b9f724b69991a0c64b4928
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

linter are fixed (#3591 ) so you should be good to go
/test istio-pilot-e2e

/lgtm

@mandarjog: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2a6ebcf4081265b4c0dc15f39dd19c4fb786c745
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Set minimal supported fsspec version

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): any
Modin version (modin.__version__): 8f3f389949e8c29b72269939318f49671676291b
Python version: any
Code we can use to reproduce: N/A

Describe the problem
As we do not set any constraints on fsspec, it is possible that some users would install incompatible versions and have weird issues, like https://stackoverflow.com/questions/73428646/typeerror-localfileopener-object-is-not-iterable. To overcome this, we should set up at least minimal version in our setup.py and other environment files.

Done in https://github.com/modin-project/modin/pull/6342


Inlined colors

Would it be possible to support a more dense inline style of coloring similar to this python function
print_color("Command {c.b}{name}{c.d} {c.r}not found{c.d}")
where c.b would be blue and c.d would reset to default, ideally with customizable styles so you could have c.bb for blue bold instead of having to do {}, name.blue().bold();

This is a design I considered in the past before deciding that there's no reason for this to exist inside owo-colors--it could simply be a macro implemented in a separate library that expands to the equivalent owo-colors code.
If such a library existed and began to gain popularity, I would be willing to integrate it into owo-colors (similarly to how clap 2 -> structopt + clap 2 -> clap 3 was handled).

The reason is for the users of owo to have access to a much better input format without having to spend time looking up yet another library - which could only happen is they're even be aware that such an improvement is possible as the "{}",var is much more widespread
(clap is way more popular, so the chances of that happening here is lower)


How can I create a FileSystemWatcher to monitor changes to an IFileSystem?

I'm trying to create a class that monitors changes to the filesystem, but I'm not sure how I can create a FileSystemWatcher that monitors changes to an IFileSystem instance I inject to the class during construction.
I've looked at FileSystemWatcherBase and FileSystemWatcherWrapper but I haven't been able to figure it out. I'm just looking for a way to monitor changes (files being added/removed) to an instance of IFileSystem so that I can make my class testable.
Related SO question.

@TAGC FWIW, there's an open PR (#60) and another issue (#167) revolving around this question. It seems to be a pretty common request, so as we continue to flush through all of the issues and pull requests, we'll make sure to keep it on our radar.

#60 has made this functionality possible. If this doesn't suit your needs please let us know and we can work towards a resolution.


Front-end routing

What would you like to see added?
I'd like for Runway models to provide their own front-end routes so they act just like collections.
We may be able to achieve this by adding our own repository to this list... https://github.com/statamic/cms/blob/3fab3f0d3b8600da6e597e6a8bb0d63e70502e21/src/Providers/AppServiceProvider.php#L106
^ that list is used for the Data facade which is whats used for content lookups in the FrontendController, so in theory adding a custom repo in there and some other bits and bobs should get us pretty close to a prototype.

If this is something you'd like to see added, please leave a 👍 reaction to this issue.

Released in v2.0.0


GH: enable use of codecov secret

Fix #21

There is no comment from codecov bot, but the upload to codecov worked. I think that the missing comment is caused by the fact that I opened a second PR for the same branch/commit. But #21 should be fixed.


Assistance Required: Downloading DFDC and Celeb-DF Datasets for Deepfake Detection

Dear Authors,
I hope this finds you well. I am reaching out to you with regard to a matter of keen interest to me. I am currently working on testing the code and model weights provided in a recent piece of work on deepfake detection. However, I am encountering some challenges while trying to download the needed datasets, specifically the DFDC and Celeb-DF datasets.
Firstly, as I understand it, downloading the DFDC dataset requires registration through an AWS account. Despite multiple attempts, I have not been successful in completing this registration. I am unsure if there is an issue with the process or if the problem lies on my end. I did, however, stumble upon a similar dataset on Kaggle, the details of which can be found at this link: Kaggle Deepfake Detection Challenge Dataset. Could you please confirm if this is the same dataset used in the work I am referring to? If not, could you guide me on how to obtain a download to the DFDC dataset?
Secondly, while trying to download the Celeb-DF dataset, I found two versions available - Celeb-DF v1 and Celeb-DF v2. Could you kindly clarify which version was used in the paper?
I would greatly appreciate any assistance or guidance you can provide on these matters. I believe your insights will be invaluable in advancing my work in this important area.
Looking forward to your response.
Best Regards,
JC

Celeb-DF v2

Dear Qichang,
Thank you for your response.
I would like to follow up on a point of discussion, regarding the DFDC dataset. Do you may have additional insights or information on this dataset or as mentioned above?
Thank you very much for your help.
Best,
JC

Dear @lijichang
Have you managed to download the dataset from the website? I encounter issues with creating a DFDC account as well regarding the AWS account ID, but for some reason I don't seem to be able to download the database from the link you provided either. It sends me to accept the rules first, but there is no box or button to accept the rules.
Any suggestion would be greatly appreciated.
Many thanks,
Andrei

@lijichang
Did you find a way to download DFDC?


support HiveWithKerberos and HiveWithoutKerberos

@electrum
This is a new PR about the PR: https://github.com/prestosql/presto/pull/978 .
I really agree with what Kokosing said: having a classloader separation between catalogs.
Before we implement classloader separation between catalogs,
I think we can fix the bug first by my PR.
Please review, thx !

@kokosing ,you are right , I test my code again carefully, it really still  has some problems and risks . Maybe a classloader separation between catalogs is the perfect solution for this issue . Is there someone  doing this?  I want to focus on it .

Is there someone doing this? I want to follow it .

There is a hope for us here :) Please see: https://github.com/prestosql/presto/pull/1711

Is there someone doing this? I want to follow it .

There is a hope for us here :) Please see: prestosql/presto#1711

Thanks! I will close this pr .

It is fixed in Presto with https://github.com/prestosql/presto/pull/1820


Support for monaco 0.26.1

monaco-editor has released a new version 0.26.1, which rollup-plugin-monaco-editor does not support.
Error: [rollup-plugin-monaco-editor] current monaco-editor version (0.26.1) are not supported, please file a issue at
https://github.com/chengcyber/rollup-plugin-monaco-editor/issues

<EMAIL_ADDRESS>published, supports<EMAIL_ADDRESS>


Create official code samples to be used for designing new themes.

We should have official code samples that can be used for comparisons of code between editors, as well as the code to be used in screenshots. This way we make sure each editor's theme is as close to the same as possible. I've listed 4 languages below that we can use as a basis. Sometimes different editors behave differently with each language, thus it's a good idea to have a few languages to sample from.
Languages:

[x] PHP
[x] Python
[x] Ruby
[x] Javascript

Yessssss!

Here's what I've come up with for PHP. We should probably replicate the exact stuff to each language so if we need to support others we have very similar code to cover as many tokens as possible.
<?php

declare(strict_types=1);

namespace Dracula\Theme\Utility;

class Scary
{
    /**
     * @return string
     */
    public function boo(): string
    {
        return 'Boo!';
    }
}

namespace Dracula\Theme;

use Dracula\Theme\Utility\Scary;

class CodeExample
{
    /**
     * @var string
     */
    private $welcomeText = 'Welcome %s %s to Dracula Theme. This is a code example used to build themes for editors and IDEs for Dracula! %s';

    /**
     * @var Scary
     */
    private $scary;

    /**
     * @param Scary $scary
     */
    public function __construct(Scary $scary)
    {
        $this->scary = $scary;
    }

    /**
     * This returns a welcome message including a little scare!
     *
     * @return string
     */
    public function welcomeToDracula(string $firstName, string $lastName): string
    {
        $scaryText = $this->scary->boo();

        return sprintf($this->welcomeText, $firstName, $lastName, $scaryText);
    }
}

$scary = new Scary();
$codeExample = new CodeExample($scary);

echo $codeExample->welcomeToDracula('Theme', 'Creator');

Here's roughly the same thing in Python 3:
#!/usr/bin/python3

class Scary:

    # Returns a string

    def boo(self):
        return 'Boo!'

class CodeExample:
    # String variable
    welcomeText = 'Welcome {} {} to Dracula Theme. This is a code example used to build themes for editors and IDEs for Dracula! {}'

    # variable containing None
    scary = None

    # A function with a `scary` parameter
    def __init__(self, scary):
        self.scary = scary

    # This returns a welcome message including a little scare!
    def welcomeToDracula(self, firstName, lastName):
        scaryText = self.scary.boo()

        return self.welcomeText.format(firstName, lastName, scaryText)

scary = Scary()
codeExample = CodeExample(scary)

print(codeExample.welcomeToDracula('Theme', 'Creator'))

Thanks @qolop! We're nearly there.

@qolop Not a big Python dev, but shouldn't the comments actually be doc stuff for each method. If I recall, Python did it like
def welcomeToDracula(self, firstName, lastName):
    """This returns a welcome message including a little scare!"""

    <code here>

?

Yes, you are correct. I wrote it rather quickly and didn't think of that.

Here is a Ruby sample:
#! /usr/bin/ruby

class Scary
  def boo
    # Returns a string.
    'Boo!'
  end
end

class CodeExample
  # String variable
  @@welcome_text = "Welcome %s %s to Dracula Theme. This is a code example used to build themes for editors and IDEs for Dracula! %s"

  # variable containing nil
  @@scary = nil

  def initialize(scary)
    # A function with a 'scary' parameter
    @@scary = scary
  end

  def welcome_to_dracula(first_name, last_name)
    # This returns a welcome message including a little scare!
    scary_text = @@scary.boo

    return @@welcome_text % [first_name, last_name, scary_text]
  end
end

scary = Scary.new
code_example = CodeExample.new(scary)

puts(code_example.welcome_to_dracula('Theme','Creator'))
`

Here's a JS sample. I had to use prototyping to get the kind of string interpolation used in the other examples though, so maybe someone else wants to take a crack at it.
String.prototype.supplant = function (o) {
    return this.replace(/{([^{}]*)}/g,
        function (a, b) {
            var r = o[b];
            return typeof r === 'string' || typeof r === 'number' ? r : a;
        }
    );
};

function Scary () {
    this.boo = function() {
        return 'Boo!';
    };
}

function CodeExample (scary) {
    /// String variable
    this.welcomeText = 'Welcome {a} {b} to Dracula Theme. This is a code example used to build themes for editors and IDEs for Dracula! {c}';

    this.scary = scary;

    this.welcomeToDracula = function(firstName, lastName) {
        /// This returns a welcome message inclusing a little scare!
        var scaryText = this.scary.boo();

        return this.welcomeText.supplant({ a: firstName, b: lastName, c: scaryText});
    };

}

var scary = new Scary();
var codeExample = new CodeExample(scary);

console.log(codeExample.welcomeToDracula('Theme', 'Creator'));

Thanks for the contributions everyone! I'll try and write up some official documentation with all of this soon.

As seen by the last update on this issue, it looks like we won't be able to move this forward. Unfortunately not all themes are code related, so this makes things even harder. I still like the idea of using these code samples instead of random ones though.

Hello everyone,
I decided to restart this topic in order to improve the quality of the screenshots.
New Snippet
/*
 * Once upon a time...
 */

class Vampire {
  constructor(props) {
    this.location = props.location;
    this.birthDate = props.birthDate;
    this.deathDate = props.deathDate;
    this.weaknesses = props.weaknesses;
  }

  get age() {
    return this.calcAge();
  }

  calcAge() {
    return this.deathDate - this.birthDate;
  }
}

// ...there was a guy named Vlad

const Dracula = new Vampire({
  location: 'Transylvania',
  birthDate: 1428,
  deathDate: 1476,
  weaknesses: ['Sunlight', 'Garlic']
});

Why use this?

It contains examples of string, number, and array
It contains examples of single line and multi-line comments
It contains examples of inheritance and functions
It's simple, funny, and silly

Where to store them?
They are going to be kept on the template repo under the sample folder. This will help new theme authors to create their screenshots.
Want to use another language?
Feel free to send a pull request to the template repo.


[Fix](group commit) Do not forward to master when enable group commit

Problem: With group commit enabled, connecting to a non-master node and inserting data through subqueries like 'insert into test select 6;' results in the data being inserted in regular insert mode rather than group commit mode.
Reason: An insert into statement with a subquery is forwarded to the master node, and group commit, being a session variable, is not forwarded during this process. This results in the final insert being in the normal insert into mode.
Solution: Make the group commit setting a forwardable variable.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


no-std requires dyn-stack without default-features

Trying to include faer in a no-std project produced errors. The reason was that faer includes dyn-stack, which in turn includes the standard library by default.

thanks for finding this!


Possiblity to pass appleApiKey as base64 string

Just a short question:
Is it possible to extend this wonderful tool to allow to pass the appleApiKey as a base64 string instead of a path?
Would be nice to allow using API-Keys in CI without the need of putting the file somewhere "unsafe".
E.g. in github actions just put the base64 content in a secret and use it there.
Thanks :)

I wish this was possible as well

We didn't choose this API, the notarytool command that actually submits stuff to apples servers takes in a parameter which is a filepath 🤷 We could wrap that into a "pass us the content" in our API, but then the "unsafe" behavior of writing it to disk would still occur you just wouldn't be aware it was happening which is IMO worse
OVERVIEW: Submit an archive to the Notary service

USAGE: notarytool submit [<options>] <file-path>

ARGUMENTS:
  <file-path>             Path to the archive

OPTIONS:
  -v, --verbose
  -k, --key <key>         App Store Connect API key. File system path to the private key.


Clock isn't working for... reasons...

Distro is Alpine Linux Edge
tzdata is installed.
Clock is broken, as the title suggests. I see a permission denied error but I have no clue what file it's actually trying to read from. May or may not have something to do with downstream(?)
Terminal output below:
:/home/cysk$ waybar
[2022-10-09 00:23:54.371] [info] Using configuration file /home/cysk/.config/waybar/config
[2022-10-09 00:23:54.375] [info] Using CSS file /home/cysk/.config/waybar/style.css
[2022-10-09 00:23:54.386] [warning] As using a timezone, some format args may be missing as the date library haven't got a release since 2018.
[2022-10-09 00:23:54.544] [error] clock: realpath() failed: Permission denied
[2022-10-09 00:23:54.555] [info] Bar configured (width: 1920, height: 40) for output: eDP-1
[2022-10-09 00:24:00.000] [error] clock: realpath() failed: Permission denied
[2022-10-09 00:25:00.000] [error] clock: realpath() failed: Permission denied
[2022-10-09 00:26:00.000] [error] clock: realpath() failed: Permission denied
### goes on like this for a seemingly indefinite amount of time

My $HOME/.config/waybar/config looks like this:
    "layer": "top",
    "position": "bottom",
    "height": 40,
    "spacing": 5,
    "margin-top": 5,
    "margin-bottom": 5,

    // Choose the order of the modules

    "modules-left":[  "custom/launcher"],
    "modules-center":[ "pulseaudio", "cpu", "memory", "backlight", "battery", "network", "clock"],
    "modules-right":["river/tags"],

    // Modules configuration

    "river/tags": {
        "num-tags": 5,
    },
    "keyboard-state": {
        "numlock": true,
        "capslock": true,
        "format": " {name} {icon}",
        "format-icons": {
            "locked": "",
            "unlocked": ""
        }
    },
    "tray": {
        "icon-size": 20,
        "spacing": 10
    },
    "clock": {
        // "timezone": "America/Tortola",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
        "format-alt": "{:%Y-%m-%d}"
    },
    "cpu": {
        "format": "{usage}% ",
        "tooltip": false
    },
    "memory": {
        "format": "{}% "
    },
    "temperature": {
        // "thermal-zone": 2,
        // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
        "critical-threshold": 80,
        // "format-critical": "{temperatureC}°C {icon}",
        "format": "{temperatureC}°C {icon}",
        "format-icons": ["", "", ""]
    },
    "backlight": {
        // "device": "acpi_video1",
        "format": "{percent}% {icon}",
        "format-icons": ["", ""]
    },
    "battery": {
        "states": {
            // "good": 95,
            "warning": 30,
            "critical": 15
        },
        "format": "{capacity}% {icon}",
        "format-charging": "{capacity}% ",
        "format-plugged": "{capacity}% ",
        "format-alt": "{time} {icon}",
        // "format-good": "", // An empty format will hide the module
        // "format-full": "",
        "format-icons": ["", "", "", "", ""]
    },
    "network": {
        // "interface": "wlp2*", // (Optional) To force the use of this interface
        "format-wifi": "{essid} ({signalStrength}%) ",
        "format-ethernet": "Connected  ",
        "tooltip-format": "{ifname} via {gwaddr} ",
        "format-linked": "{ifname} (No IP) ",
        "format-disconnected": "Disconnected ⚠",
        "format-alt": "{ifname}: {ipaddr}/{cidr}",
        "on-click-right": ""
    },
    "pulseaudio": {
        // "scroll-step": 1, // %, can be a float
        "format": "{volume}% {icon}",
        "format-bluetooth": "{volume}% {icon}",
        "format-bluetooth-muted": "{icon} {format_source}",
        "format-muted": "{format_source}",
        "format-source": "",
        "format-source-muted": "",
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["", "", ""]
        },
        "on-click": "pavucontrol-qt"
    },
    "custom/launcher":{
        "format": "",
        "on-click": "fuzzel -f hack 10 -i Numix-Circle -b 000000ff -t ffffffff -s ffffffff -S 000000ff",
        "on-click-right": "killall fuzzel"
    },
    "custom/snip":{
        "format": " ",
        "on-click": "grimshot --notify save area $HOME/Screenshots/$(zenity --entry --text 'Set filename:' --entry-text '.png')"
    }
}

:/home/cysk$ ```

Nvm, user error. Umask shenanigans.

I have the same issue, my clock has stopped working after a recent system update, but this is the error I'm getting:
[2022-10-10 11:22:39.475] [warning] As using a timezone, some format args may be missing as the date library haven't got a release since 2018.
[2022-10-10 11:22:39.476] [warning] module clock: Disabling module "clock", locale::facet::_S_create_c_locale name not valid

Ok, solved;
I had to re-generate my locale, which under /usr/lib/locale was C.UTF-8.
Uncommented the en_US.UTF-8 UTF-8 line in /etc/locale.gen, and ran sudo locale-gen. This generated the file(?) -rw-r--r-- 1 root root 3048928 Oct 10 11:48 locale-archive.
I'm not sure if this is an issue with my system or with some recent update but I figured I'd leave the steps to fix it here for anyone with this issue.

@cynicsketch Can this be closed?


prometheus-artifactory-exporter: 1.9.1 -> 1.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/peimanja/artifactory_exporter/releases.
meta.description for prometheus-artifactory-exporter is: "JFrog Artifactory Prometheus Exporter"
meta.homepage for prometheus-artifactory-exporter is: "https://github.com/peimanja/artifactory_exporter"
meta.changelog for prometheus-artifactory-exporter is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.4 with grep in /nix/store/b0xzp5kfnwifvpqkh5v6xlgxhi28wkw5-artifactory_exporter-1.9.4
found 1.9.4 in filename of file in /nix/store/b0xzp5kfnwifvpqkh5v6xlgxhi28wkw5-artifactory_exporter-1.9.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
prometheus-artifactory-exporter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b0xzp5kfnwifvpqkh5v6xlgxhi28wkw5-artifactory_exporter-1.9.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A prometheus-artifactory-exporter https://github.com/r-ryantm/nixpkgs/archive/77fa2518f3c54a71a33260c2e4af6c62d707bf40.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b0xzp5kfnwifvpqkh5v6xlgxhi28wkw5-artifactory_exporter-1.9.4
ls -la /nix/store/b0xzp5kfnwifvpqkh5v6xlgxhi28wkw5-artifactory_exporter-1.9.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

prometheus-artifactory-exporter

Maintainer pings
cc @lbpdt for testing.


First stab at creating the Dockerfile for this

@timfallmk Here is a dockerfile to get going with this.

@BenWhitehead Damn, you beat me to it. Forgot to push my commits :).

obsolete


Problem for presence tag

Hi
i test library for rc522....
but i have problem with command for read tag in the zone.....
if i call this routine, the answer (return) with tag on the antenna is in sequence 00,02,00,02,00,02
but with tag in the rfid signal, the answer muste be always 00,00,00,00,
why?
thanks
/**

Returns true if a PICC responds to PICC_CMD_REQA.

Only "new" cards in state IDLE are invited. Sleeping cards in state HALT are ignored.

@return bool
*/
bool MFRC522::PICC_IsNewCardPresent() {
byte bufferATQA[2];
byte bufferSize = sizeof(bufferATQA);
// Reset baud rates
PCD_WriteRegister(TxModeReg, 0x00);
PCD_WriteRegister(RxModeReg, 0x00);
// Reset ModWidthReg
PCD_WriteRegister(ModWidthReg, 0x26);
MFRC522::StatusCode result = PICC_RequestA(bufferATQA, &bufferSize);
return (result == STATUS_OK || result == STATUS_COLLISION);
} // End PICC_IsNewCardPresent()

Environment information?
Return value of 02 on a bool func?


trick to use wav file (part-9 sound)

Hi,
I am actually testing DMA with a wav file (unsigned 8bit, stereo, 44.1kHz). I saw this in config.txt (risc os):

ramfsfile=CMOS
ramfsaddr=0x508000

After some tests, I did this (address above 8F0 0000 will not work):

ramfsfile=audio.wav
ramfsaddr=0x1C0000

Because wav files (and header) are not so magic, I read the data like this (for DMA):

char * data = (char *) 0x1C0000;
unsigned size = *((unsigned *) (0x1C0000+40));
data += 44;
for (unsigned i=0; i<size; i++) *(safe+i) = *(data+i);

If someone wants to split sound and kernel, this would be a nice option ;-)
Links:

https://www.riscosopen.org/wiki/documentation/show/Software information: Raspberry Pi: Firmware
http://soundfile.sapp.org/doc/WaveFormat/

Oh, that's neat!
The (painful) alternative is to write the SDIO stuff required to get files off the SD card. That requires a whole world of code to read the FAT filesystem etc. (which is probably copyright M$!)
This is a rather great middle ground. Thanks for sharing!
I will try to add it to the docs at some point and credit you :) Unfortunately I've been distracted from this project for a little while - but my plan is to come back to it very soon. It's so much fun!

That requires a whole world of code to read the FAT filesystem etc. (which is probably copyright M$!)

No, there are a couble of RPi baremetal FAT on USB pieces of code in my repository list (which means it is/was here on GitHub somewhere), and I think at least one is assembler

@paulwratt I must confess that I've got code for reading the FAT filesystem off the SD card... I just don't like/trust it enough to publish it! It was a pretty limited & clunky implementation as a proof of concept... I agree that this is not needed if we use the ramfs though. Weirdly I couldn't make @no-go's suggestion work. I suspect my brain was just on holiday that day (it happens!) and I haven't yet revisited it. I still really like the idea though which is why I left the issue open as a burning reminder 😄


Fix RSquare serialization

Description
Fixes RSquare serialization.
Fixes #2389.
Type of change

[x] Bug fix
[ ] New Tutorial
[ ] Updated or additional documentation
[ ] Additional Testing
[ ] New Activation and the changes conform to the activation contribution guidelines
[ ] New Callback and the changes conform to the callback contribution guidelines
[ ] New Image addition and the changes conform to the image op contribution guidelines
[ ] New Layer and the changes conform to the layer contribution guidelines
[ ] New Loss and the changes conform to the loss contribution guidelines
[ ] New Metric and the changes conform to the metric contribution guidelines
[ ] New Optimizer and the changes conform to the optimizer contribution guidelines
[ ] New RNN Cell and the changes conform to the rnn contribution guidelines
[ ] New Seq2seq addition and the changes conform to the seq2seq contribution guidelines
[ ] New Text addition and the changes conform to the text op contribution guidelines

Checklist:

[x] I've properly formatted my code according to the guidelines

[ ] By running Black + Flake8
[ ] By running pre-commit hooks

[ ] This PR addresses an already submitted issue for TensorFlow Addons
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] This PR contains modifications to C++ custom-ops

How Has This Been Tested?
Passes existing and new tests.

@ssaishruthi @marload
You are owners of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


Feature: smooth scrolling

Fixes #372

These failures do not make sense, I can run the tests locally without any errors. Maybe ask the tutoring team.


Unity.Abstractions 5.11.6 not working with Unity.AspNet.WebApi 5.0.15?

I want to upgrade Unity.Container and Unity.Abstractions, but I do not want to upgrade Unity.AspNet.WebApi, since that will require me to go down a rabbit hole upgrading ASP.NET and other Microsoft nuget packages.
When I compile, I get this error:

[CS0012] The type 'IUnityContainer' is defined in an assembly that is not referenced. You must add a reference to assembly 'Unity.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d32ff45e0ccc69f'.

According to NuGet Gallery for Unity.AspNet.WebApi v5.0.15, it requires any version of Unity.Abstractions equal to or greater than 3.3.1. So this should work just fine. Nuget versioning drives me absolutely nuts, so I'd appreciate any help figuring this out (or figure out if it's truly a bug).
Here's the version numbers in my Directory.Build.targets:
    <PackageReference Update="Unity.AspNet.WebApi" Version="5.0.15" />
    <PackageReference Update="Unity.Container" Version="5.11.8" />
    <PackageReference Update="Unity.Abstractions" Version="5.11.6" />

You could try to get source for Unity.AspNet.WebApi v5.0.15 and recompile against the latest. You'll have your local package pointing to the latest Unity.

Sure I can do that, then I guess I'd just keep the output DLL in my repo and use that in the meantime? Do you happen to know why the packages don't just work in the first place?
Thanks for your quick response!

NuGet does pretty tricky version juggling behind the scene. Hard to say what is wrong without looking at the actual project.


[DatePicker] Year changes unexpectedly after selecting a month

Issue found by my team member.
Reproduces:
http://ngofficeuifabric.com/demos/uifDatepicker/
Expected Behavior
Selectiion of a month not reflects on the selected year
Actual Behavior
Selected year changes after selecting a month
Steps to Reproduce Behavior
http://i.imgur.com/8qxpbel.gifv

Unfortunately, this bug is coming from the pickadate.js library which we take a dependency on because that's what Office UI Fabric v2.6.* takes a dependency on... just as I explained in #493. Therefore this bug needs to be addressed in that library as it's not something we can fix in this project.

Actually, I believe this specific bug is caused by the ngOfficeUIFabric implementation... I'm still working through understanding how the component works with pickadate.js, but the events that handle month and year navigation in the datepicker component are sending the .day (day of the week) picker property while pickadate is expecting the .date (day of the month) picker property to set the new date. I suspect this is the root of the issue, since day of the week values are 0-6 and day of the month values are 1-31.  In my testing so far, changing the datepicker component line to .date seems to resolve this issue. I will likely submit a PR for it with details and a demo!


Resolve undici vulnerability

https://github.com/vmware-tanzu/cartographer-site/security/dependabot/12

Vulnerability was resolved by https://github.com/vmware-tanzu/cartographer-site/pull/404


Peergos vs orbit-db?

Not really an issue, just my curiosity (sorry if this is the wrong place to question this).
I would like to know what the main difference between peergos and orbit-db.

Peergos is a file-sharing application, orbit-db is a database.


Migration of big GitHub repo fails

Gitea version (or commit ref): 1.13.0+rc1
Git version: 2.20.1
Operating system: debian stable 10.6
Database (use [x]):

[ ] PostgreSQL
[X] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[X] Yes https://try.gitea.io/nixos/nixpkgs https://try.gitea.io/nixos/nixpkgs/settings/branches
[ ] No

Log gist: https://gist.github.com/Codeberg-org/a4e32102e761c857ecf46e3fb6f22237

Description
When i try to migrate nixpkgs to the Codeberg test server, it always fails. We have increased the migration timeouts x100.
When we wait or open https://codeberg-test.org/NixOS/nixpkgs/settings/branches, we get a trace with error in setting_protected_branch.go:34.
It is not a hardware limitation.
Screenshots

For anyone looking in to it, this is the line referenced.
https://github.com/go-gitea/gitea/blob/ba97c0e98bc97957d6fd9bfd3db5768813c58ff3/routers/repo/setting_protected_branch.go#L34

@jolheiser are you a bot? :smile: (because of the instant reaction)
Thanks for the information!

To add some more color, this log line (also referenced in the gist) indicates that gh throttled API calls, fetched data may or may not be truncated or incomplete:
modules/task/task.go:51:handle() [E] Run task failed: GET https://api.github.com/repos/NixOS/nixpkgs: 403 API rate limit of 5000 still exceeded until 2020-10-21 16:33:28 +0200 CEST, not making remote request. [rate reset in 34m49s]

I really hope not! 🤖
Also, for what it's worth I believe this would benefit from https://github.com/go-gitea/gitea/pull/12244 as well.
The biggest blocker for moving Gitea to gitea.com is a combination of network and the fact that it needs to make numerous API calls (which may exceed limit).

And nixpkgs is way bigger. It has 100,000 issues and pull requests. Probably the second most on GitHub (1. is vscode).

Even if API limits are hit, migration should not fail but get throttled, too? Ideally with some estimate of ETA?

It seems we do have some code for sleeping if we hit a rate limit.
https://github.com/go-gitea/gitea/blob/f0fe5683feb2799e3ca467bc75fd77871b65452b/modules/migrations/github.go#L113-L128
Do you have any logs surrounding that rate limit error that may indicate where in the migration process it was?

Dumping to disk may not help if we are hitting a rate limit anyways.

We got this trace 3 times without seeing the api limit message, so it is not related to this issue. We got the limit after trying too often and waited.

Even if API limits are hit, migration should not fail but get throttled, too? Ideally with some estimate of ETA?

That's a separate issue.

@davidak I dont know how expencive it is, but if one of NixOS maintainers buy a GitHub enterprice account for the periode of migration, it would be faster in genera ... (higher api rate limit)

@6543 do you mean GitHub Pro (https://github.com/account/upgrade) or where can you buy it?

That seem like a useful information that should be part of documentation.
But you should not have to buy your data free in general.

@davidak He's referring to https://github.com/enterprise which is basically self-hosted GitHub.

@davidak also as suggested on https://stackoverflow.com/questions/16732103/increase-github-api-limit just contact github directly?

Combine your tokens to free the code :fist_raised:
Might not be a good idea to give someone else your token...
Asking github would be an option, but it would be best if it just don't fail and respect the API limit.
But this issue here has to be fixed first before we can try again.

Do you have any logs surrounding that rate limit error that may indicate where in the migration process it was?

Could not see anything in the log; is some special app.ini config needed to enable this logging?

If you are migrating multiple projects at the same time, there are some chances to encounter the rate limit. The rate limit is per github acccount I think.

I can confirm this issue. This is a MASSIVE problem.
From what I discovered Codeberg doesn't seem to be affected by this, but every instance where I tried (including my own) is affected.
@Codeberg-org  do you guys have any specific settings for migrations? I couldn't find anything special in this config file https://codeberg.org/Codeberg/build-deploy-gitea/src/branch/master/etc/gitea/conf/app.ini

I'm also running into this issue. I'm trying to create a pull mirror of Nixpkgs on my own Gitea instance.
The server url is git.ewanick.com. The server configuration is defined here, and the gitea instance is defined in this module.
The details from the Gitea Admin console are:
Gitea version (or commit ref): 1.19.3 built with go1.20.4 : pam, sqlite, sqlite_unlock_notify
Git version: 2.40.1, Wire Protocol Version 2 Enabled
Operating system: NixOS 23.05 "Stoat"
Database: SQLite

The server is running on a 2 Core / 4GB Ram Linode dedicated server.
I am able to manually clone the Nixpkgs repo to the gitea repositories folder and recover it as an abandoned repo, but then it won't let me set up the pull mirror, only push.
I have updated the timeouts to be extra long and it still fails:
Migration Timeout - 6000 seconds
Mirror Update Timeout - 6000 seconds
Clone Operation Timeout - 300 seconds
Pull Operation Timeout - 6000 seconds
GC Operation Timeout - 6000 seconds

I am using a GitHub Personal Access Token to try and get around rate-limiting.
Any help with this would be greatly appreciated, including helping me figure out where the logs are.

if it's only about the git data - dont use github but just the git option without your token and clone via https
and you can just add 00 to all your timeouts temporary - that should do it

Changed all my timeouts to 60000, and tried the git option with https.
Still failed when I tried it several times.
In the Firefox console there was one error, a 404 on a GET request. task 12 does not exist


KAFKA-9331: changes for Streams uncaught exception handler

Adding an option to shutdown an entire streams application for a Streams thread
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@cadonna

Moved to https://github.com/apache/kafka/pull/9487


v1.61_DLSS3 SSE FIX?

is it possible to make sse fix to?got rtx card with phenom 2 x1100t cpu really like to play the dlss3 version there might be some people like me that a sse fix means a lot to them.thanks!!!!

We won't be doing this. It would require a lot of additional patches to the exe and quite possibly to bunch of game dlls, it is questionable how well it would work in general and would be yet another big thing to maintain... Your CPU is simply too old, patching the game to use just up to SSE3 is just too much, sorry.


Spawn 0.1 futures when using them as 0.3 futures

This eliminates the need for separate configuration of a global task
when using 0.1 futures on an 0.3 executor.
Fixes https://github.com/rust-lang-nursery/futures-rs/issues/1251

Needs https://github.com/rust-lang-nursery/futures-rs/pull/1281 to avoid regressing AsyncRead/AsyncWrite support.

I believe this will make intermediate futures that go through compat much more expensive, even though they don't actually need their own task allocated.

I'm thinking it'd be better to modify futures 0.1 to allow a with_notify that doesn't need a task previously set.

I also wonder what this means for when you're using a 0.1 executor, running some 0.3 async functions and terminating in 0.1 leaf I/O (the common case for the compat layers I assume). The 0.3 async functions -> 0.1 leaf I/O boundary will allocate a new Spawn separate from the one that the executor is running the task under. Wake notifications should flow back from the 0.1 leaf I/O notify ->  0.3 waker -> 0.1 executor notify, but I don't have enough familiarity with 0.1 internals to know whether the Spawn instance can include other "global" state that may need to be synchronized between the executor and leaf I/O.

I'm thinking it'd be better to modify futures 0.1 to allow a with_notify that doesn't need a task previously set.

That wouldn't allow task-local data.
Why do you think this is much more expensive?

That wouldn't allow task-local data.

I'm pretty sure task-local data won't survive this either. If you've gone through the compat layer once, a task-local key from higher up won't be visible in this Spawn's map.

A task-local key from higher up will not, that is true-- this encapsulates task-local data, which I believe is the only sensible behavior when looking to run an 0.1 future on an 0.3 executor.

I re-read through the source of Spawn, and it seems I assumed it automatically boxed the future. I was worried about introducing dynamic dispatch when intermediate futures could probably just be inline.

@seanmonstar Gotcha! Yeah, that would be unfortunate. How do you feel about this PR now? Would you still prefer a different approach, or do you think this works?

@seanmonstar Makes sense-- thanks for the review!


fix: Config not added with rotate: true

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
completes fix to #503

License
Apache 2.0

What's in this PR?
Fixes the error below when adding a config with the rotate: true
error configuring vault: error configuring secret engines for vault: error rotating credentials for 'database/config/xxx' config in vault: error rotating credentials for 'database/config/xxx' config in vault: Error making API request.

URL: PUT http://vault:8200/v1/database/rotate-root/xxx
Code: 500. Errors:

* 1 error occurred:
	* failed to find entry for connection with name: \"xxx\"

Why?
The original fix to #503 worked fine when adding the rotate key to an existing
config, but if the config didn't exist in vault it tried to rotate
without ever creating the config.
Checklist

[x] Error handling code meets the guideline

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


v1.4 images are not available on Dockerhub

None of the v1.4 images listed in the README are available on Docker hub as of Sat May 11 17:15:00 UTC 2019
Are they available somewhere else?

See https://github.com/fluent/fluentd-kubernetes-daemonset/pull/289#issuecomment-490663708
Unfortunately, no response from docker support ;_;

Docker revoke all github tokens after latest security breach. You may try to reconnect docker build with github once again. @repeatedly

Rebuild image itself works.
The problem is changing Docker tags is not affected after 'save'.
I'm now considering re-create all tags for the workarounds.

I'm now considering re-create all tags for the workarounds.

Uh that sounds painful. I've received email from docker hub on 4/27. This is quote from original email.

Here is what we’ve learned:
During a brief period of unauthorized access to a Docker Hub database, sensitive data from approximately 190,000 accounts may have been exposed (less than 5% of Hub users). Data includes usernames and hashed passwords for a small percentage of these users, as well as Github and Bitbucket tokens for Docker autobuilds.

Actions to Take:
We are asking users to change their password on Docker Hub and any other accounts that shared this password.
For users with autobuilds that may have been impacted, we have revoked GitHub tokens and access keys, and ask that you reconnect to your repositories and check security logs to see if any unexpected actions have taken place.

Not sure if it's related to this issue tho.

I recreated all build rules and it seems works.
Existing tags still don't work but v1.4 images are available.


[WIP] Remove project from wscg when it's the child of window

What changes were proposed in this pull request?
We meet the RecordBatch must be non-empty problem when there is a ColumnarWindowExec after WSCG and there is a ColumnarConditionProjectExec as a child of ColumnarWindowExec. It help use when we tried to remove the ColumnarConditionProjectExec from WSCG.
How was this patch tested?
unit tests and manual test.

@jackylee-ch thanks for the quick fix!


Installation emit 'An existing connection was forcibly closed by the remote host. (os error 10054)'

I have installed deno(latest version), but failed to install lume, after google error message, there's no hint to fix it.
Any suggestion?
d:\blog\lume>deno --version
deno 2.1.2 (stable, release, x86_64-pc-windows-msvc)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2

d:\blog\lume>deno run -A https://lume.land/init.ts
error: Uncaught (in promise) TypeError: error sending request for url (https://lumeland.github.io/themes/themes.json): client error (Connect): An existing connection was forcibly closed by the remote host. (os error 10054)
  await (await fetch("https://lumeland.github.io/themes/themes.json")).json();
         ^
    at async mainFetch (ext:deno_fetch/26_fetch.js:190:12)
    at async fetch (ext:deno_fetch/26_fetch.js:454:11)
    at async https://deno.land/x/lume_init@v0.2.7/steps/themes.ts:6:10

It works fine in my end.
Probably it was a temporary HTTP error from github, trying to load the json with the themes but now seems to work: https://lumeland.github.io/themes/themes.json

Finally, I solve it, this is a problem with my own network and has nothing to do with lume.


Try to get CI running on Windows

It would be nice to support CI on Windows, just because there are so many Windows users out there. However, currently we have filenames which have : in them, which isn't supported on Windows. I don't know if it's worth it to fix. Maybe we could at least build on windows and run the unit tests, and just skip the image tests.
@terror Did we stop running CI on Windows for a specific reason? Or did we never try in the first place?

Never tried because windows === trash
We should still try to get it working though, because inclusivity and all that

I think as a first step, we should just figure out how to check out the repo on Windows. Maybe we could just not check out the images directory, which would just skip the image tests on Windows, but build everything else.


fix(challenges): Correct the regex associated to one of the tests

The regex testing if the user has entered console.log(SENTENCE); has
been modified. In fact, the regex was broken before.

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #17679

@thomlom, thank you very much for submitting a PR to fix this issue. Unfortunately we've since moved the seed files for the challenges over to the new curriculum repository.
We can wait to see if @raisedadead can cherry-pick your commit here and move it over to the new repo. Or, you could close this and submit a new PR in the curriculum repo and we could get your changes merged that way. Either way, sorry for the inconvenience.
Also, I just have one suggestion. Your test looks good, but how about adding a ? after the semicolon? That way users could pass with or without a semicolon. Something like this:
"testString": "getUserInput => assert(getUserInput('index').match(/console\\.log\\(\\s*SENTENCE\\s*\\)\\s*;?/g), 'console.log should be adjusted to print the variable SENTENCE.');"

@scissorsneedfoodtoo Thanks for your feedback!
No worries about the new repo, we can close that PR, I'll open a new one in the other repository. I didn't notice freecodecamp has been split up into multiple repos.
I don't know if it's precised in the CONTRIBUTING.md, but if not, maybe it should be updated to indicate in which repos we have to contribute ? 🙂
Yes I agree with you. Since semicolons are not required in JavaScript, it can be optional !

@thomlom, yes, we really need to update the contributing guide! The big split just happened in the last couple of days.
Thank you for understanding, and I'm looking forward to QA'ing this over in the other repo!


Batch size > 1 got runtime error

torch.Size([4, 4096, 64]) torch.Size([4, 4096, 64]) torch.Size([4])
[rank2]: Traceback (most recent call last):
[rank2]:   File "/home/ubuntu/flux_training/train_flux_lora_deepspeed.py", line 302, in <module>
[rank2]:     main()
[rank2]:   File "/home/ubuntu/flux_training/train_flux_lora_deepspeed.py", line 227, in main
[rank2]:     x_t = (1 - t) * x_1 + t * x_0
[rank2]: RuntimeError: The size of tensor a (4) must match the size of tensor b (64) at non-singleton dimension 2

batch size = 4 and gradient acculmulation = 4, with 4 GPUs

torch.Size([4, 4096, 64]) torch.Size([4, 4096, 64]) torch.Size([4])
[rank2]: Traceback (most recent call last):
[rank2]:   File "/home/ubuntu/flux_training/train_flux_lora_deepspeed.py", line 302, in <module>
[rank2]:     main()
[rank2]:   File "/home/ubuntu/flux_training/train_flux_lora_deepspeed.py", line 227, in main
[rank2]:     x_t = (1 - t) * x_1 + t * x_0
[rank2]: RuntimeError: The size of tensor a (4) must match the size of tensor b (64) at non-singleton dimension 2

batch size = 4 and gradient acculmulation = 4, with 4 GPUs

Have you identified the cause of the issue and found a solution?
[rank0]:     main()
[rank0]:   File "/mnt/bn/xuqin-lq/workspace/x-flux/train_flux_lora_deepspeed.py", line 241, in main
[rank0]:     x_t = (1 - t) * x_1 + t * x_0
[rank0]: RuntimeError: The size of tensor a (2) must match the size of tensor b (64) at non-singleton dimension 2

torch.Size([4, 4096, 64]) torch.Size([4, 4096, 64]) torch.Size([4])
[rank2]: Traceback (most recent call last):
[rank2]:   File "/home/ubuntu/flux_training/train_flux_lora_deepspeed.py", line 302, in <module>
[rank2]:     main()
[rank2]:   File "/home/ubuntu/flux_training/train_flux_lora_deepspeed.py", line 227, in main
[rank2]:     x_t = (1 - t) * x_1 + t * x_0
[rank2]: RuntimeError: The size of tensor a (4) must match the size of tensor b (64) at non-singleton dimension 2

batch size = 4 and gradient acculmulation = 4, with 4 GPUs

Have you identified the cause of the issue and found a solution?
[rank0]:     main()
[rank0]:   File "/mnt/bn/xuqin-lq/workspace/x-flux/train_flux_lora_deepspeed.py", line 241, in main
[rank0]:     x_t = (1 - t) * x_1 + t * x_0
[rank0]: RuntimeError: The size of tensor a (2) must match the size of tensor b (64) at non-singleton dimension 2

I believe that adding "t = t.view(-1, 1, 1)" after "t = torch.sigmoid(torch.randn((bs,), device=accelerator.device))" is necessary.

Is perhaps related to this?
https://github.com/XLabs-AI/x-flux/issues/102


Can't edit data

I data default is down below
{
  "data": {
    "Id": "ID (String)",
    "num": "5(Number)"
  }
}

default can execute.
but now I edit to...
{
  "data": {
    "Id": "1",
    "num": 10
  }
}

now can't execute, but in the case of
{
  "data": {
    "Id": "1",
    "num": "10"
  }
}

is working.

Hi @hsiangfeng. Swagger-autogen recognizes the type automatically based on the value and builds the model. In your case, if you want the "num" field to be of the number type, just enter any number in the value. For example:
Instead of:
{
  "data": {
    "Id": "ID (String)",
    "num": "5(Number)"
  }
}

See the model in this case:

Switching to a number:
{
  "data": {
    "Id": "ID (String)",
    "num": 5
  }
}

See the model:

In this case, the "num" field will allow a number type.
NOTE: The swagger-ui-express (responsible for building the UI) allows the string type to be passed in the numeric fields, but, otherwise, this is not allowed, I don't know why.
Try it and tell me if it doesn't work.

Hi, @davibaltar  is working .
thx : )


Merge 12-7 updates to live

:warning: Validation status: warnings

File
Status
Preview URL
Details

Language/Reference/Visual-Basic-Add-in-Model/collections-visual-basic-add-in-model.md
:warning:Warning
View
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

Language/Reference/User-Interface-Help/activex-component-can-t-create-object-or-return-reference-to-this-object-error-4.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/connect-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/lines-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/linkedwindowframe-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/linkedwindows-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/mainwindow-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/major-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/mode-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/name-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/numindices-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/object-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/parent-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/procbodyline-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/proccountlines-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/procofline-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/procstartline-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/progid-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/properties-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/protection-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/references-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/referencesevents-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/saved-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/selectedvbcomponent-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/top-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/topline-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/type-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/value-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/vbcomponents-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/vbe-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/vbprojects-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/version-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/visible-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/width-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/windows-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/windowstate-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/Visual-Basic-Add-in-Model/events-visual-basic-add-in-model.md
:white_check_mark:Succeeded
View

Language/Reference/Visual-Basic-Add-in-Model/properties-visual-basic-add-in-model.md
:white_check_mark:Succeeded
View

Language/Reference/properties-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

access/Concepts/Forms/add-a-value-to-a-bound-combo-box.md
:white_check_mark:Succeeded
View

api/Access.BoundObjectFrame.Action.md
:white_check_mark:Succeeded
View

api/Access.BoundObjectFrame.AutoActivate.md
:white_check_mark:Succeeded
View

api/Access.BoundObjectFrame.OLEType.md
:white_check_mark:Succeeded
View

api/Access.BoundObjectFrame.OLETypeAllowed.md
:white_check_mark:Succeeded
View

api/Access.BoundObjectFrame.Verb.md
:white_check_mark:Succeeded
View

api/Access.CustomControl.Verb.md
:white_check_mark:Succeeded
View

api/Access.Form.Section.md
:white_check_mark:Succeeded
View

api/Access.Module.ProcBodyLine.md
:white_check_mark:Succeeded
View

api/Access.Module.ProcCountLines.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

Language/Reference/Visual-Basic-Add-in-Model/collections-visual-basic-add-in-model.md

Line 94: [Warning] Illegal link: VBComponents -- missing bookmark. The file Language/Reference/Visual-Basic-Add-in-Model/properties-visual-basic-add-in-model.md doesn't contain a bookmark named vbcomponents.

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.


Characters after a link reversed.

In the following example:
[image src='<image>' caption='source: ( https://www.example.com/test). ']
The resulting caption for the image is:
source: (https://www.example.com/test.)
The . and ) at the end are reversed.
This only happens with some links, specifically the /test in the example was necessary to reproduce the error. I think the closing paren that gets chopped off in processAutoLinks() needs to be prepended to $leftovers instead of appended. But I'm unsure if that is correct in all cases.

I think the closing paren that gets chopped off in processAutoLinks() needs to be prepended to $leftovers instead of appended.

Yep, that does seem to be the issue.  Thanks for the detailed bug report!  I'll get this released in v1.0.1 in a few minutes :)

Done! https://github.com/thephpleague/commonmark-ext-autolink/releases/tag/v1.0.1


Google deployment issue

Steps to reproduce.
pip install cactus
pip install google-api-python-client
cactus create foo

Edit config.json to look like:
{
     "provider": "google"
}

Then if I do cactus deploy
I get:
AssertionError: Could not load Deployment for Provider: google
Output of a pip freeze
backports-abc==0.4
backports.ssl-match-hostname==<IP_ADDRESS>
boto==2.39.0
Cactus==3.3.3
certifi==2016.2.28
colorama==0.3.6
colorlog==2.6.1
Django==1.6.11
django-markwhat==1.5
google-api-python-client==1.5.0
httplib2==0.9.2
keyring==5.7.1
markdown2==2.3.0
oauth2client==2.0.1
pyasn1==0.1.9
pyasn1-modules==0.0.8
rsa==3.3
simplejson==3.8.2
singledispatch==<IP_ADDRESS>
six==1.10.0
tornado==4.3
uritemplate==0.6

Something with oauth install
A required library was missing: No module named keyring_storage Please install the library and try again
Trying to figure out how the optional modules work for oauth2 library...

Raised https://github.com/koenbok/Cactus/pull/241 to fix


Switch polarssl from HAVGE to default RNG.

Also centralize RNG to be server-wide.  This allows using /dev/urandom
entropy for initialization before chroot()

It would be nice to not have IOBuf depend on Server. How about adding an IOBuf_set_rng() method that could be called after construction?


Add suspend|resume|terminate all supervisors endpoints.

Every time I update my druid cluster, I need to shut down all KIS supervisors first. It is quite inconvenient to shut down one by one. So I add these APIs.

Hi @QiuMM, I'm not sure of your operating procedure, but #6234 adds true suspend/resume functionality to supervisors which might more closely line up with the behavior you want (so you don't have to resubmit the spec for each supervisor, just toggle the tasks off and then back on). However, it still only operates on a single supervisor.
Additionally it deprecates the 'shutdown' api call in favor of a new 'terminate' call, which we thought more closely aligned with it's current behavior which sets a 'tombstone' version of the supervisor spec, requiring re-submitting the working spec to start operating again.
Perhaps you would like to modify this PR to have all 3 "all" endpoints, maybe something like

/druid/indexer/v1/supervisor/suspend
/druid/indexer/v1/supervisor/resume
/druid/indexer/v1/supervisor/terminate (if this is really the behavior you want)

@clintropolis cool of #6234. Before your PR, every time I did some changes and went to update druid nodes, I used shutdown API to terminate all supervisors first.  This cause stored supervisors will not be loaded when I restart druid nodes because shutdown API insert a NoopSupervisorSpec. Suspend/resume functionality are what I really want!

I have added 3 "all" endpoints and tweaked shutdown to terminate in SupervisorResourceTest(because shutdown is deprecated).  @clintropolis can you help review this PR.

@clintropolis really appreciate for your review, I'm busy with other things and I'll get to your comments as soon as possible.

@clintropolis sorry for the late, you can go on to review this PR. Thanks!

@clintropolis thanks for your review 👍

@gianm can you help review this pr, I think it can be merged.


Building Problem

If I use ./configure straight from the readme, it says

-bash: ./configure: No such file or directory

If I use autoconf, it says

configure.ac:2: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Then, I use ./configure, it says
./configure: line 1742: AM_INIT_AUTOMAKE: command not found
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: creating ./config.status
config.status: creating Makefile

At last, I use make, it says
Makefile:15: *** missing separator.  Stop.

Thanks for pointing out the issue.
The configure build seems to be broken. I've created a new Makefile in the base directory. Please add your Z3 include path to that directory and do 'make' to compile.

I added /Users/tanbochendaniel/opt/anaconda3/envs/quantum/lib/python3.6/site-packages/z3/include which contains z3.h. Then I used make and now I have
g++ -o triq src/backtrack.o src/circuit.o src/expt.o src/gate.o src/machine.o src/mapper.o src/optimize_1q.o src/pattern.o src/quaternion.o src/targetter.o -lz3 -lboost_system
ld: library not found for -lz3
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [triq] Error 1

I suspect this is still something to do with z3?

You need to add the z3 library location to your LD_LIBRARY_PATH.

I think I successfully built TriQ.
I tried this file with
python ir2dag.py adder.qasm adder.in
and then
./triq adder.in adder.out ibmqx5.
Then it says
Segmentation fault: 11.

Can you try passing a extra command line arg "0"
./triq adder.in adder.out ibmqx5 0
There are three SWAP insertion methods that are used in the code for now. Sorry for the clunky interface.

I added 0 and it indeed started working. There're lots of intermediate information, but I think the final results are
...
Qubit Mapping
(0,7)
(1,10)
(2,11)
(3,6)
Best reliab:0.558002
PROG adder.in MACHINE ibmqx5 MAPPER_TIME 4 BACKTRACK_TIME 0
Assertion failed: (case1 || case2 || case3), function optimize, file src/optimize_1q.cpp, line 175.
Abort trap: 6

I suppose this isn't 100% successful, as some assertion failed?

The above happened on my Mac. On a Linux 16.04 server, I think it worked fine. The final results are
Qubit Mapping
(0,11)
(1,10)
(2,7)
(3,6)
Best reliab:0.555694
PROG adder.in MACHINE ibmqx5 MAPPER_TIME 4 BACKTRACK_TIME 0
fname:adder.out
Num CX:10
Done!


Moved reference to std::mutex out of public include header ostream.h …

I chose the simplest solution and moved the reference to std::mutex out of ostream.h and created a global in ostream.cpp.
Fixes #5331

working on a fix...

Thanks for the fix @pixelflinger


fix compatibility with LTS

Codecov Report

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

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   65.41%
=========================================
  Files             ?        1
  Lines             ?      399
  Branches          ?        0
=========================================
  Hits              ?      261
  Misses            ?      138
  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 0cd5d21...7ac2547. Read the comment docs.


机器上有两张卡，启动一直报错

Note that the issue tracker is NOT the place for general support.
2024-06-13 06:06:31,034 xinference.core.supervisor 63 INFO     Xinference supervisor <IP_ADDRESS>:13602 started
2024-06-13 06:06:35,130 xinference.core.worker 63 INFO     Starting metrics export server at <IP_ADDRESS>:None
2024-06-13 06:06:35,133 xinference.core.worker 63 INFO     Checking metrics export server...
2024-06-13 06:06:36,778 xinference.core.worker 63 INFO     Metrics server is started at: http://<IP_ADDRESS>:40018
2024-06-13 06:06:36,779 xinference.core.worker 63 INFO     Xinference worker <IP_ADDRESS>:13602 started
2024-06-13 06:06:36,780 xinference.core.worker 63 INFO     Purge cache directory: /root/.xinference/cache
2024-06-13 06:06:38,294 xinference.api.restful_api 1 INFO     Starting Xinference at endpoint: http://<IP_ADDRESS>:9997
2024-06-13 06:06:38,782 xinference.core.worker 63 ERROR    Report status got error.
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/xinference/core/worker.py", line 762, in report_status
status = await asyncio.to_thread(gather_node_info)
File "/opt/conda/lib/python3.10/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:

一张卡时没问题吗？你用的什么版本xinference？

same issue, did you solve it?

same issue, did you solve it?


session name or tags not work

I use command "notify -t xxx_sss -s xx_sss --silent". but no notice send to my telegram

Thanks for reporting this issue.
It seems that tags are not "markdown safe" for telegram API, this issue will be fixed in the next release.

Thanks for reporting this issue.
It seems that tags are not "markdown safe" for telegram API, this issue will be fixed in the next release.

This issue is fixed now.

This issue is fixed now.


getWatchedRepos returns only 100 repos.

Hi.
I have about 1000 repos in my watch list,
but getWatchedRepos() returns only 100 repos.
Can it be fixed? Thanks.

There is no limitation on php side https://github.com/ornicar/php-github-api/blob/master/lib/Github/Api/User.php#L113
So I guess it comes from GitHub http api, and there's few we can do.


SDC-16191: Allow BYTE_ARRAY fields to be written to BLOB (Oracle) database columns

Ironically, BLOB columns are not recognized as binary columns and thus writing a BYTE_ARRAY to such a column fails.  At least for Oracle where the fallback setObject() call doesn't work but setBytes() is totally fine.
This change makes the JDBC Producer and friends recognize BLOB columns as binary fields and also makes the mapping fields in the object static final.

Hmm... you should have gotten an update from CLAassistant to sign an Individual Contributor License Agreement @mss  - usually, I can see comments on the PR which is not the case here. Can you validate for me if you received the email? If no I will have to figure out why the bot is not jumping in right now.

Hmm... you should have gotten an update from CLAassistant to sign an Individual Contributor License Agreement @mss - usually, I can see comments on the PR which is not the case here. Can you validate for me if you received the email? If no I will have to figure out why the bot is not jumping in right now.

The CLA one can be found on my other PR #134 :-)

SDC-16191 was merged, thank you for your contribution @mss !


Bump libsqlite3-sys to 2021 edition and few updates

Update libsqlite3-sys crate to the 2021 edition. This also avoids any accidental misuse of code like panic!("a = {a}") which in 2018 was treated as a literal string.
Do not expose optional dependencies as features
Inline a few format arguments for easier reading

Conflict with https://github.com/rusqlite/rusqlite/pull/1362/files
And as far as i know, we don't want a MSRV.

@gwenn I looked at the #566 - that PR has far greater scope than a simple 2021 edition bump. I think this PR is much easier to merge first, and I will help rebase 566 on top of the new main branch

@gwenn I looked at the #1362 - that PR has far greater scope than a simple 2021 edition bump. I think this PR is much easier to merge first, and I will help rebase 1362 on top of the new main branch

I agree. But your PR is cosmetic. So we can consider that there is no real need (no issue associated from 2019: #524, no previous attempts: #910, #868, #631, #532)...

@gwenn sure, this is an "upkeep" PR.  It is small to review but makes a fairly big change in terms of potentially breaking things (2021 edition)  - so if the same change is done in the bigger PRs, it is probably better to do it one step at a time - to avoid destabilizing the code too much all at once -- i.e. if we migrate to 2021 without any other changes, and don't receive any community feedback, it is likely that the migration is benign. If you merge #1362, any potential issues could be the result of either the 2021 migration or from any other change in that PR.
Are you saying that rebasing 1362 on top of this PR is too difficult and too disruptive?

@gwenn sure, this is an "upkeep" PR. It is small to review but makes a fairly big change in terms of potentially breaking things (2021 edition) - so if the same change is done in the bigger PRs, it is probably better to do it one step at a time - to avoid destabilizing the code too much all at once -- i.e. if we migrate to 2021 without any other changes, and don't receive any community feedback, it is likely that the migration is benign. If you merge #1362, any potential issues could be the result of either the 2021 migration or from any other change in that PR.
Are you saying that rebasing 1362 on top of this PR is too difficult and too disruptive?

I only bumped rust edition in #1362 because I had rustc warnings while doing real stuff / editing build.rs, not for cosmetic reason...

:)  @gwenn you have far better knowledge of the current state of this project than I do. If you think my contribution improves things, please merge. If you think it is better to wait, lets wait. If you think it is wrong, lets just close it. Regardless, I do not want to cause any stress for this amazing project :peace_symbol:


Network persistence improvement

We are using this class just for migration. We should probably keep it for a while.


How to update to the 2.5.11

I use the command "Javinizer -UpdateModule" , it said already have the latest version 2.5.10
PS C:\Windows\System32> Javinizer -UpdateModule
WARNING: You already have the latest version of Javinizer! [2.5.10]
PS C:\Windows\System32> javinizer -v
Version      : 2.5.10
Prerelease   : alpha
Project      : https://github.com/jvlflame/Javinizer
License      : https://github.com/jvlflame/Javinizer/blob/master/LICENSE
ReleaseNotes : https://github.com/jvlflame/Javinizer/blob/master/.github/CHANGELOG.md
And I copied the 2.5.11 files to C:\Program Files\WindowsPowerShell\Modules\Javinizer\2.5.10 , it's work only one time.  After reboot the computer , Javinizer is not work again, I need to reinstall the Javinizer.

Having the same issue.

@jvlflame suggested this on the Discord support Install-Module javinizer -RequiredVersion 2.5.11

@jvlflame suggested this on the Discord support Install-Module javinizer -RequiredVersion 2.5.11

This worked for me, Thank you
Also what is the discord address ? I didn't know there was a discord.

@Random-Ultra https://discord.com/invite/Pds7xCpzpc.  Used to be easier to find when the documentation page link worked.  Now the only surviving docs are here (which has the link in them): https://jvlflame.gitbook.io/2.5.5/troubleshooting/frequently-asked-questions

thx , the issue is fix !


corrected documentation to current mesos credential usage

Fixes https://github.com/mesosphere/marathon/issues/4200

retest this please

retest this please


fix wrong variable naming that rarely created infinite loop

Motivation
fix wrong variable naming that rarely created infinite loop in tests.

bors merge

bors merge


[BUG] ASF bulk downloader error consistently occurs

Describe the bug
When I use ariaDownload.py I have gotten this error four times in a row:
ASF bulk downloader error: The read operation timed out
Likely a bad handshake with the ASF DAAC. Try rerunning

I am not sure if there's anything to be done about it on ARIA's end.
To Reproduce
Steps to reproduce the behavior:

ariaDownload.py -t 114 -w AllProducts

Desktop (please complete the following information):

ARIA-tools git tag: commit cbd658fde4565287ab92c0550a267da59e088435
Linux CentOS (JPL sar)

Additional context
Perhaps it is better to run in smaller batches? Is there any routine troubleshooting you would recommend?

Try subsetting indeed. We are merely wrapping around their API.
Suggest you might also reach out to them directly.
You can use the print URL statement which is the call to their API.
Cheers,
D.
On Tue, 9 Feb 2021 at 12:17, rzinke<EMAIL_ADDRESS>wrote:

Assigned #251 https://github.com/aria-tools/ARIA-tools/issues/251 to
@dbekaert https://github.com/dbekaert.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/aria-tools/ARIA-tools/issues/251#event-4311251078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESZPSNHV6AKO6W4MP7GU3TS6GJ4RANCNFSM4XLU5SZQ
.

Did not hear back so closing this as a DAAC issue


Scripting installing on my zsh stops the script

So i'm trying to do some scripting to install oh my zsh. the problem is after the command to install it runs it enters zsh then kills the script. This results in anything after it not running.
See here for the script in question.
I use this script to setup my vm's with everything I need to get work done. currently I have to manually copy over .zshrc after oh my zsh installs and I would like to be able to script this.
Output from the script install test.
Cloning Oh My Zsh...
Cloning into '/home/david/.oh-my-zsh'...
remote: Counting objects: 829, done.
remote: Compressing objects: 100% (699/699), done.
remote: Total 829 (delta 14), reused 741 (delta 9), pack-reused 0
Receiving objects: 100% (829/829), 565.32 KiB | 0 bytes/s, done.
Resolving deltas: 100% (14/14), done.
Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc
Time to change your default shell to zsh!
Changing shell for david.
Password:
Shell changed.
__                                     __
____  / /_     ____ ___  __  __   ____  / /
/ __ / __ \   / __ ` / / / /  /  / / / __ \
/ // / / / /  / / / / / / // /    / /(_  ) / / /
_// //  // // //_, /    //// //
/____/                       ....is now installed!
Please look over the ~/.zshrc file to select plugins, themes, and options.
p.s. Follow us at https://twitter.com/ohmyzsh.
p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.
➜  ~ exit
[david@vbox ~]$
If this is a simple bug fix then great. If its something more complicated then don't bother as it's only a mirror complaint not many users are going to have.
EDIT
Pull request ##5893 fixes the issue. Under testing it works without any issues.

Closing as there are already many issues open complaining about this.

@mcornella That’s great — please link us to at least one with (ideally) a solution. Thank you. 😄

#5002 #5853 #5893 #6547


Elmish pattern support

It would be nice to be able to develop Elm architecture apps with Avalonia like Elmish.XamarinForms

It's a great architecture to play with (upon my cursory look at least) but this is something that the community will provide for themselves. I also dont see any technical challenges for Avalonia with regards to Elm/Model-View-Update architecture so i guess someone can take a shot at this? :)

example of DSL https://github.com/Dolfik1/AvaloniaDSL/blob/master/DSL/Main.fs
please provide model-view-update example

That will likely be a bigger undertaking than I can commit to at the moment.
It would probably be fairly easy - perhaps even trivial - to port Elmish.WPF, since Avalonia is similar to WPF. Anyone is welcome to have a go. If there are sufficient similarities that the Binding and ViewModel code could be reused 100% (and likely that it would continue to be the case in further development), I could consider extracting that to its own library. In any case, just as a start and proof of concept, a fork of Elmish.WPF could be made and adjusted to Avalonia. Refactoring can come later.
However, I don't really like Elmish with static views because of its significant limitations compared to dynamic views. Dynamic views, on the other hand, require a lot more work to implement. There are important performance considerations in order to ensure the view creation and reconciliation/updating is as efficient as possible, 3rd party controls must be supported, and a code generator might be needed to make the dynamic view code maintanable (similar to Fabulous).

I completely agree with @cmeeren on each point raised.
Static views have their own limitations compared to dynamic ones. So I would go for implementing a dynamic DSL instead.
In addition a simple PoC might be a good starting point to show others the benefit of it (no need to worry about diff algorithm on tree for the moment, and things like that...)
And same as @cmeeren, I won't be able to undertake such a task for the moment.
However, you can contact me anytime, and I might be able to help out.

Regarding a DSL for dynamic views - there are several directions to take:

List-based like Fable.React and Fabulous.SimpleElements
Constructor-/overload-/optional arg-based like Fabulous
CE-based like AvaloniaDSL

Aside from the syntax difference, when you delve deep enough into it, I'm sure all come with their own pros and cons regarding technical limitations too.

In addition a simple PoC might be a good starting point to show others the benefit of it (no need to worry about diff algorithm on tree for the moment, and things like that...)

I agree, a PoC might be a good starting point. I just want to note that sooner or later, performance will become a concern if it is ever supposed to be a viable way of creating real-life complex apps, so it might be prudent to have performance at the back of the mind even in the PoC stage, to ensure one doesn't end up with an implementation that is fundamentally inefficient.

And same as @cmeeren, I won't be able to undertake such a task for the moment.
However, you can contact me anytime, and I might be able to help out.

https://github.com/JaggerJo/Avalonia.FuncUI

@Ma3yTa looks amazing!

This doesn't belong to the core avalonia repo, feel free to implement your own wrapper


yaki mobile - photo weight data

context
to have data on the weight of the photo in order to limit this weight and, above all, to know how much space it takes up on the server
And should see indication on the picture size somewhere, this is to determine
Where indicate the weight ?

this was developped


Restart behavior and client notifications for Office 365 updates

Customer, jpoling1, submitted feedback on the site (#596). Adding to comment with additional information.
I pinged author who noted that when it was changed, it should have been "behavior is for 1706 and higher" not just 1706. It was reverted intentionally to state behavior "In Configuration Manager version 1706.."
I'd like to confirm if the behavior applies to version 1706 and higher or only to Configuration Manager 1706 as stated.

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

ID: d1da48af-4783-bd17-67f3-f265df93503f
Version Independent ID: 17432b22-04cb-f47f-1634-e5b7fc99c37d
Content: Manage Office 365 ProPlus updates - Configuration Manager
Content Source: sccm/sum/deploy-use/manage-office-365-proplus-updates.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @n8from206, we have some work planned on this article for the 1806 release, and will get this clarified.

How's it going with 1806 behavior? Please add it.

@aczechowski - any update pending for 1806 or 1902 of what the defined behavior and known issues for o365 notifications are/should be?

@mestew is working with Office content team on revamping this article

@mestew made some recent revisions to this article to remove the older versions.


[sk] Statistics performance updates

Summary
Updates to speed up statistics calculation.
Performance Metrics
Performance was evaluated on dataset with 100000 rows and 28 columns (total of 2.8 million entries) with numbers, categories, boolean, and text columns. All times are averaged over 100 trials.
Baseline: 1.463 seconds

No multithreading - 1.408 seconds (likely because statistics calculation is CPU bound rather than IO bound)
Deduplicated null value calculation between null_value_rate and null_value_count - 1.362 seconds
Switched to inbuilt mean calculation - 1.344 seconds
Switched from quantile to inbuilt median calculation - 1.323 seconds
Refactored timeseries check to avoid manually calculating the null value rate - 1.285 seconds
Optimizing longest null sequence:

Switched from pandas series to Numpy ndarray - 1.211 seconds
Switched to generator of null values (implicit running mean) - 1.04 seconds

Removed duplicate max_null_sequence calculation - 0.91 seconds

Final Time: 0.91 seconds (~38% decrease)
Tests
Correctness was confirmed by running the code on unit tests, and also through local testing.
cc:
@wangxiaoyou1993

You can also reduce the duplicate value_counts() calculation.

I deduplicated the value counts call when computing the mode, reducing the runtime to 0.7568003163 when averaged over 100 trials.


storage: remove local storage create directory

Signed-off-by: 3pointer<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close https://github.com/tikv/tikv/issues/9051
What is changed and how it works?
What's Changed:
stop create directory in local storage.
Related changes

Need to cherry-pick to the release branch

Check List
Tests

No code

Release note

No release note.

Backup unit tests fails, please fix them, thanks!

/run-integration-br-test

/run-integration-br-test

/run-integration-br-test

/merge

/merge
#8874 - https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tikv_ghpr_test/runs/36174/nodes/203/log/?start=0&download=true

/merge

CI hiccup
[2020-11-25T08:19:09.195Z] java.io.IOException: Tried to load head FlowNodes for execution Owner[tikv_ghpr_integration_common_test/27350:tikv_ghpr_integration_common_test #27350] but FlowNode was not found in storage for head id:FlowNodeId 1:47

/merge


Must install external dependencies to configure plugins

As a user, I want to configure the linter without installing external dependencies, so that I can quickly tweak the config and focus on writing clean markdown.

I’m not sure what you want. Could you open an issue with detailed info? More info here.


build: move postman collection to dir structure

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[x] CI/CD

Description
This change switches to using the dir version of newman where collections are maintained as directories instead of collection json files.  It uses the https://github.com/knutties/newman/tree/feature/newman-dir fork.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context
This change will help easier management and editing of postman tests using the engineer's favourite editor instead of being forced to use the Postman UI.
How did you test it?
Ran postman tests on laptop via following script:
for i in postman/collection-dir/*
do
connector=$(basename $i);
cargo run --bin test_utils -- --connector_name=$connector --base_url=https://integ-api.hyperswitch.io --admin_api_key=P9R3ZMmohOKMc7GROqRPFPjw4
done

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Just a quick question: We haven't yet started with symlinks right  to reduce duplications? I have been working on HS Collection trying to make it more Generic which I want to make it compatible with as many connectors as possible. We'll be passing the required info / datas through --env-vars. Below is a snippet:

@SanchithHegde - Closing this.  New branch based PR at #1995.


Self-closing tags do not closes

The self-closing tags do not close after converting into JSX if we pass any self-closing tags that have been closed in input.
we can reproduce the bug with:
Input:
       <input class="demo" for="demo">
       <input class="demo" for="demo">
       <input class="demo" for="demo">
       <input className="demo" htmlFor="demo"/>

Output:
       <input className="demo" htmlFor="demo">
       <input className="demo" htmlFor="demo">
       <input className="demo" htmlFor="demo">
       <input className="demo" htmlFor="demo"/>

Expected Output:
       <input className="demo" htmlFor="demo"/>
       <input className="demo" htmlFor="demo"/>
       <input className="demo" htmlFor="demo"/>
       <input className="demo" htmlFor="demo"/>

  Here's the updated code

   <input class="demo" for="demo">
   <input class="demo" for="demo">
   <input class="demo" for="demo">
   <input className="demo" htmlFor="demo" />

Output:

Expected Output:

Self closing tags need a trailing slash ' / ' - closing tag is optional for self closing tags


cmark: 0.30.1 -> 0.30.2

Motivation for this change
Update to the latest minor release.
Things done
Bump version and remove upstream patch because it's part of the release.

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Ping @michelk (the username doesn't show when trying to add reviewers)


Increase independence of bus clients

Hi,
I was evaluating Spring Cloud Bus as event bus between our microservices using the 1.3.1.RELEASE version. During the evaluation I was facing two issues. I simply quickfixed those issues for me, without knowing the impact or caring about perfomance/style, this is why I did not create a PR.

No library containing all events available is shared between the applications to ensure the independence of the services. So every application implements the event classes it depends on and so not all events possible are available as bean implementation. Those events are reflected using the org.springframework.cloud.bus.event.UnknownRemoteApplicationEvent.
Unfortunately this one initializes the originService with null, which causes a NullPointerException at org.springframework.util.AntPathMatcher.doMatch(AntPathMatcher.java:191) during service evaluation. Therefore I patched it to simply initialize with an empty String - works, but...well.

public class UnknownRemoteApplicationEvent extends RemoteApplicationEvent {

  /* ... */

  public UnknownRemoteApplicationEvent(final Object source, final String typeInfo, final byte[] payload) {
    super(source, "" /* Modified */, null);
    this.typeInfo = typeInfo;
    this.payload = payload;
  }

  /* ... */
}

The events' package name may vary from service to service. This is ok for the actual events, which will be resolved by the bean name. The resulting ack however will send the fq classname of the event bean as event property, which will cause all listeners to fail, as they are trying the resolve the class but the fq classname is unknown to other applications.
This one was a little bit more tricky, as the event field is set via reflection. So I had to change the type of the event property to String, introduced a field for the actual type of the event and evaluated the class in the getEvent() method to keep everything running. As fallback for unknown classes I used the UnknownRemoteApplicationEvent.

public class AckRemoteApplicationEvent extends RemoteApplicationEvent {

  /* ... */

  private final String event; // Modified so a String will be set instead of a Class
  private Class<? extends RemoteApplicationEvent> eventType; // Added to store the type

  /* ... */

  public AckRemoteApplicationEvent(final Object source, final String originService,
      final String destinationService, final String ackDestinationService, final String ackId,
      final Class<? extends RemoteApplicationEvent> type) {
    super(source, originService, destinationService);
    this.ackDestinationService = ackDestinationService;
    this.ackId = ackId;
    this.event = type.getName(); // Modified
    this.eventType = type; // Added
  }

  /* ... */

  // Modified
  public Class<? extends RemoteApplicationEvent> getEvent() {
    if (this.eventType == null) {
      try {
        this.eventType = (Class<? extends RemoteApplicationEvent>) Class.forName(event);
      } catch (ClassNotFoundException e) {
        this.eventType = UnknownRemoteApplicationEvent.class;
      }
    }
    return this.eventType;
  }

  /* ... */

}

I am looking forward for your feedback. Maybe I am trying to do something the Spring Cloud Bus was not meant for or I could have solved my issues easier. Otherwise we would be happy if you could adapt those changes, so we could use an unpatched version of the project.
Cheers
Patrick
Edit: You will also find the diff here: https://github.com/ama-patrick/spring-cloud-bus/commit/3f512312b171bb2bfdbbffa1523d4b07e1f1bffb

I think a PR would be nice. Maybe a bit of documentation on how it works too.

Sure, documentation in terms of JavaDoc or Readme?

https://github.com/spring-cloud/spring-cloud-bus/blob/master/docs/src/main/asciidoc/spring-cloud-bus.adoc

UnknownRemoteApplicationEvent  that means cloud bus didn't find your customize event. @RemoteApplicationEventScan(basePackages = "com.maxent.bus.config")
This annotation may help you.

I think the first point is a bug ...any unknown event will be converted to a event which will definitely cause a NullPointerException....


replace provider with terraform block / required_providers...

...to preserve version constraint.
Related to Issue #10

Thanks @elts I'll merge it as part of #12


NO-ISSUE: Remove transactions from device database handling

In addition, add support for resource versioning and perform retry in case of mismatch.

Please link to MGMT-18287 in the commit message and PR