Support for highlighting based on filename

Syntax highlighting can now be determined by filename of the cheat sheet; e.g. a cheat sheet named "regex.py" would receive python syntax highlighting, and a cheat sheet named "regex.bash" would receive bash syntax highlighting.
Workaround right now: You can add syntax highlighting by adding a code fence around a file like ```python ```.

@psizek
Thanks for your work here, and I'm sorry this never got merged in.
I just released cheat v3, which was re-implemented from scratch in Go. As such, a PR against the Python code is now moot, so I'll close this.
The good news: cheat v3 now provides a mechanism for manually specifying the highlighter to use in "front matter" in the cheatsheet body. Additionally, cheatsheets have been externalized into a new repository:
https://github.com/cheat/cheatsheets
Please upgrade when you have the chance, and let me know if you encounter any issues. Thanks.


adding it to nixpkgs

I see that you have a custom nur, feel free to ping me when you want to add this to nixpkgs.

Hey there! Sure, I'd be down. I've never attempted submitting directly to their package manager. What's the usual process for initial submission, and submitting updates?

you make a PR to https://github.com/nixos/nixpkgs
the format of the commit matter a bit, people are a little sensitive about that.
it should be something like "oatmeal: init at 0.5.5"
you just need to find someone willing to help you merge the PR (I'm happy to do it, oatmeal looks really cool, just tag me as a reviewer).
Whenever you want to make an update, you submit a new PR with the title of e.g. "oatmeal: 0.5.5 -> 0.5.6"
That's about it really. Unless you are maintaining a package relied upon by many there shouldn't be any more to do.
There might be some nixpkgs particular stuff, but nothing comes off the top of my head right now. I'll be happy to point those if I see anything.
let me know if you are looking for more info.

Great, thank you! Once I hit a point where I'm not releasing a version every two days, I'd be down to do this. :D

https://github.com/NixOS/nixpkgs/pull/277622

@onemoresuza Thanks for the assist in the nixpkgs PR!
The patch you put together is quite large, I think I can refactor to get rid of it! If I remember correctly, Nix can consume something like a JSON file with all the theme and syntax dependencies as long as there is a hash included for the archives, right? I can move those all out of build.rs and in to a separate file. And then additional in build.rs, don't attempt to download archives if environment BUILDING_ON_NIX (or anything that is common) is set.
Watcha think?

@onemoresuza Thanks for the assist in the nixpkgs PR!
The patch you put together is quite large, I think I can refactor to get rid of it! If I remember correctly, Nix can consume something like a JSON file with all the theme and syntax dependencies as long as there is a hash included for the archives, right? I can move those all out of build.rs and in to a separate file. And then additional in build.rs, don't attempt to download archives if environment BUILDING_ON_NIX (or anything that is common) is set.
Watcha think?

You're welcome!, @dustinblackman.
Regarding the theme and syntax dependencies, yes, nix can consume data from either a JSON or TOML file. By having the urls and their respective hashes, we would be able to fetch them with nix.

Two more things:

I've saw how the manpages are generated on the tools/release.sh script. To achieve the same in nix, we would have to enable the manpages feature; would there be any downsides in the binary having such feature, besides increasing its size?
By having a git fetched dependency on Cargo.toml --- dirs-sys ---, we must bundle the Cargo.lock file with the nix recipe, since nix is not able to fetch it. Is not possible to use one of its versions on crates.io?

Regarding the theme and syntax dependencies, yes, nix can consume data from either a JSON or TOML file. By having the urls and their respective hashes, we would be able to fetch them with nix.

Awesome! I have a branch up that introduces an assets.toml file. My nix experience is pretty minimal, let me know if you feel it will work!

I've saw how the manpages are generated on the tools/release.sh script. To achieve the same in nix, we would have to enable the manpages feature; would there be any downsides in the binary having such feature, besides increasing its size?

Fixed in https://github.com/dustinblackman/oatmeal/commit/f5aab048841b91a3db4e749e74b4652848b7f5e1

By having a git fetched dependency on Cargo.toml --- dirs-sys ---, we must bundle the Cargo.lock file with the nix recipe, since nix is not able to fetch it. Is not possible to use one of its versions on crates.io?

I had forked it due to a licensing issue. Looking deeper it was only with the most recent version, so I've rolled back to an older one. Fixed in https://github.com/dustinblackman/oatmeal/commit/5c2359be48b9ed1c2b45b936063eddd867aa578f

Tested the changes on my branch and the package compiles and generates the manpages and the shell completions --- the Cargo.lock file is still bundled because I'm applying your PR as patch; once it's merged, nix will be able to use the Cargo.lock file from the project.
With the assets.toml solution, we can automate downloading the themes and the syntaxes. Although that file must still be bundled on nixpkgs, there's no problem, since a passthru.updateScript may be able to fetch it when updating the package.
Regarding the themes and syntaxes change, are these the expected directory trees for the OATMEAL_BUILD_DOWNLOADED_*_DIR directories?
[user@hostname:~] $ ls -lh $OATMEAL_BUILD_DOWNLOADED_THEMES_DIR
dr-xr-xr-x 5 nixbld nixbld 160 Dec 31 14:37 base16-textmate

[user@hostname:~] $ ls -lh $OATMEAL_BUILD_DOWNLOADED_SYNTAXES_DIR
dr-xr-xr-x  3 nixbld nixbld  220 Dec 31 14:37 GraphQL-SublimeText3
dr-xr-xr-x 49 nixbld nixbld 1.1K Dec 31 14:37 Packages
dr-xr-xr-x  4 nixbld nixbld  340 Dec 31 14:37 Terraform.tmLanguage
dr-xr-xr-x 10 nixbld nixbld  420 Dec 31 14:37 bat
dr-xr-xr-x  4 nixbld nixbld  240 Dec 31 14:37 elixir-sublime-syntax
dr-xr-xr-x  4 nixbld nixbld  240 Dec 31 14:37 protobuf-syntax-highlighting
dr-xr-xr-x  4 nixbld nixbld  120 Dec 31 14:37 sublime-text-gleam
dr-xr-xr-x 11 nixbld nixbld  380 Dec 31 14:37 sublime-zig-language
dr-xr-xr-x  2 nixbld nixbld  200 Dec 31 14:37 sublime_toml_highlighting

Regarding the themes and syntaxes change, are these the expected directory trees for the OATMEAL_BUILD_DOWNLOADED_*_DIR directories?

Yep! Though they matter less than they did before as I walk the directory tree to find assets.

Although that file must still be bundled on nixpkgs

Does it? I'll been working on removing any bundled assets in to nixpkgs, and so far I've gotten this to download all that's needed, but it fails due to Nixpkgs having an old version of Rust (1.69.0), where Oatmeal expects 1.75.0. How did you overcome it?
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, makeRustPlatform
, installShellFiles
}:
let
  version = "0.12.1";

  oatmeal = fetchFromGitHub {
    name = "oatmeal";
    owner = "dustinblackman";
    repo = "oatmeal";
    rev = "622fd5e7d374c9b3434efceeaf3b47c27664523a"; #todo
    hash = "sha256-Ps7b2ZKE9K8HxLB+4DZporIpF0JKSuOBjqS95SoLVWY=";
  };

  assets = lib.importTOML(oatmeal + "/assets.toml");

  arrayToSrc = arr: lib.forEach arr (e:
    fetchFromGitHub {
      inherit (e) rev repo owner;
      hash = e.nix-hash;
      name = e.repo;
    }
  );

  syntaxes = arrayToSrc assets.syntaxes;
  themes = arrayToSrc assets.themes;

  syntaxDirs = lib.concatStringsSep " " (lib.forEach (syntaxes) (e: "${e}"));
  themeDirs = lib.concatStringsSep " " (lib.forEach (themes) (e: "${e}"));

  buildSyntaxes = "${srcs.oatmeal.name}/.cache/syntaxes";
  buildThemes = "${srcs.oatmeal.name}/.cache/themes";
in
rustPlatform.buildRustPackage {
  pname = "oatmeal";
  inherit version;
  srcs = [ oatmeal ] ++ syntaxes ++ themes;
  sourceRoot = oatmeal.name;

  cargoLock.lockFile = oatmeal + "/Cargo.lock";

  nativeBuildInputs = [ installShellFiles ];

  env = {
    OATMEAL_BUILD_DOWNLOADED_SYNTAXES_DIR = buildSyntaxes;
    OATMEAL_BUILD_DOWNLOADED_THEMES_DIR = buildThemes;
    VERGEN_IDEMPOTENT = 1;
  };

  preBuild = ''
    mkdir -p ${buildSyntaxes} ${buildThemes}
    cp -r ${syntaxDirs} ${buildSyntaxes}
    cp -r ${themeDirs} ${buildThemes}
  '';

  postInstall = lib.optionalString (stdenv.hostPlatform.canExecute stdenv.buildPlatform) ''
    $out/bin/oatmeal manpages 1>oatmeal.1
    installManPage oatmeal.1

    installShellCompletion --cmd oatmeal \
      --bash <($out/bin/oatmeal completions -s bash) \
      --fish <($out/bin/oatmeal completions -s fish) \
      --zsh <($out/bin/oatmeal completions -s zsh)
  '';

  meta = {
    description = "Terminal UI to chat with large language models (LLM)";
    longDescription = ''
      Oatmeal is a terminal UI chat application that speaks with LLMs, complete with
      slash commands and fancy chat bubbles. It features agnostic backends to allow
      switching between the powerhouse of ChatGPT, or keeping things private with
      Ollama. While Oatmeal works great as a stand alone terminal application, it
      works even better paired with an editor like Neovim!
    '';
    homepage = "https://github.com/dustinblackman/oatmeal/";
    changelog = "https://github.com/dustinblackman/oatmeal/blob/main/CHANGELOG.md";
    downloadPage = "https://github.com/dustinblackman/oatmeal/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dustinblackman ];
    mainProgram = "oatmeal";
  };
}

Although that file must still be bundled on nixpkgs

Does it? I'll been working on removing any bundled assets in to nixpkgs

I'm believe so. I don't know of way of using one of the sources --- in this case, the oatmeal repo --- to gather the info to download other sources --- the themes and syntaxes from the assets.toml file.

so far I've gotten this to download all that's needed, but it fails due to Nixpkgs having an old version of Rust (1.69.0), where Oatmeal expects 1.75.0. How did you overcome it?

That's odd. I've checked your branch and the Rust version is 1.74.0, the same one against which I've tested earlier. How are you building the package? By "cding" into your fork of the repo and running nix-build -A oatmeal?


Related blog post

See this related blog post
https://community.dynamics.com/365/financeandoperations/b/dynamics-365-finance-blog/posts/best-practices-for-updating-financial-dimension-set-dimension-sets

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

ID: 2139b773-9052-bc07-7611-35255cbecde7
Version Independent ID: 403401c3-4752-dddc-d511-12f832907741
Content: Financial dimension sets - Finance | Dynamics 365
Content Source: articles/finance/general-ledger/financial-dimension-sets.md
Service: dynamics-365-finance
Technology: ****
GitHub Login: @yukonpeegs
Microsoft Alias: epegors

@yukonpeegs, you appear to be the author of this topic, is that right? If so, you're welcome to edit it as needed and submit a PR. Otherwise, I'll ask Bob to get in touch with you.

Bug 586387 created to track this issue

In reading the blog I don't think anything is needed. We can close this with no change.

@yukonpeegs thanks for following up. I'll close both this and the bug.


Bad Sad Error When Building Ballerina App

Description:
I get a bad sad error when I try to build the Salesforce Opportunity Notifier App.
The console log is as follows,
miyurud@miyurud:~/git/choreo/samples/salesforce-opportunity-notifier$ ballerina build -a -c --skip-tests=true
Compiling source
        choreo/salesforce-opportunity-notifier:0.1.0
error: module not found for: ballerinax/java:0.0.0_java8
error: module not found for: ballerinax/java:0.0.0_java8
error: module not found for: ballerinax/java.arrays:0.0.0_java8
error: module not found for: ballerinax/java:0.0.0_java8
ballerina: Oh no, something really went wrong. Bad. Sad.

There should be a file named "ballerina-internal.log" in the current directory.
If you are able to share with us the code that broke Ballerina then
we would REALLY appreciate if you would report this to us:
go to https://github.com/ballerina-platform/ballerina-lang/issues and
create a bug report with both this log file and the sample code.

We thank you for helping make us better dancers.

The error log on the ballerina-internal.log file is as follows,
[2020-03-19 19:28:43,666] SEVERE {b7a.log.crash} - null
java.lang.NullPointerException
	at org.wso2.ballerinalang.compiler.LockFileWriter.lambda$getImports$1(LockFileWriter.java:112)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.wso2.ballerinalang.compiler.LockFileWriter.getImports(LockFileWriter.java:116)
	at org.wso2.ballerinalang.compiler.LockFileWriter.addImportsToLockFileModel(LockFileWriter.java:92)
	at org.wso2.ballerinalang.compiler.LockFileWriter.addImportsToLockFileModel(LockFileWriter.java:98)
	at org.wso2.ballerinalang.compiler.LockFileWriter.updateDependencies(LockFileWriter.java:137)
	at org.wso2.ballerinalang.compiler.LockFileWriter.writeLockFile(LockFileWriter.java:149)
	at org.ballerinalang.packerina.task.CreateLockFileTask.execute(CreateLockFileTask.java:36)
	at org.ballerinalang.packerina.TaskExecutor.executeTasks(TaskExecutor.java:38)
	at org.ballerinalang.packerina.cmd.BuildCommand.execute(BuildCommand.java:404)
	at java.util.Optional.ifPresent(Optional.java:159)
	at org.ballerinalang.tool.Main.main(Main.java:57)

Steps to reproduce:
Clone the  Salesforce Opportunity Notifier App and build using the command,
ballerina build -a -c --skip-tests=true
Affected Versions:
Ballerina 1.2.0-rc2
OS, DB, other environment details and versions:
Ubuntu 18.04
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The LockFileWriter task is removed in Swan Lake, please reopen if the issue is reproduced.


Forced tuning for static pipeline with API

The option for tuning of the pre-defined pipelines (or initial assumptions) should be implemented in FEDOT API.

Resolved


Data Ingestion Phase

[x] Update config.yaml
[x] Update the entity
[x] Update the configuration  in src config
[x] Update the components
[x] Update the pipeline

Dry run is successful for data ingestion phase


[BUG]: CSI Driver for Unity documentation prerequisites should include the same FC and multipath prerequisite steps as found in the PowerStore and PowerMax documentation

Bug Description
CSI Driver for Unity documentation prerequisites should include the same FC and multipath prerequisite steps as found in the PowerStore and PowerMax documentation:
https://dell.github.io/csm-docs/v2/csidriver/installation/helm/powerstore/#prerequisites
https://dell.github.io/csm-docs/v2/csidriver/installation/helm/powermax/#prerequisites
Logs
N/A
Screenshots
N/A
Additional Environment Information
N/A
Steps to Reproduce
N/A
Expected Behavior
N/A
CSM Driver(s)
CSI Driver for Unity 2.2
Installation Type
N/A
Container Storage Modules Enabled
N/A
Container Orchestrator
N/A
Operating System
N/A

@Deepak-Ghivari  can you take this to Ninjas ?


Add style guide

Related to https://github.com/jetstack/cert-manager/issues/3868
Note that I also have similar changes ready to go for the README in jetstack/cert-manager, but they'll link to this style guide on the website and so I'm waiting for this to be merged before I raise the other PR

Adding an lgtm with hold- this looks good to me as such, I don't know if you want extra 👀
/hold
/lgtm

I've added a few paths to the list based on currently imported modules in:

https://github.com/cert-manager/sample-external-issuer
https://github.com/cert-manager/istio-csr/blob/master/pkg/server/server.go
https://github.com/cert-manager/webhook-example

I also found this import of code under cmd/ which I didn't add, as a judgement call.
Again, the list isn't exhaustive and this has been a manual process.

I really think given that none of the code admitted into the codebase so far has taken long term maintainability of the Go interfaces into consideration, if we do want to start doing so, we should start with nothing and work our way up, rather than just blanket declaring code we already have as 'stable' else we'll be creating a v2 very soon..

I really think given that none of the code admitted into the codebase so far has taken long term maintainability of the Go interfaces into consideration, if we do want to start doing so, we should start with nothing and work our way up, rather than just blanket declaring code we already have as 'stable' else we'll be creating a v2 very soon..

Yeah I'd love to create a v2 with a minimal publicly exported surface area for this reason; it would be a huge shame to break the go module compatibility guarantee in v1 unless absolutely required, e.g. for a security issue.
We clearly agree on the approach generally; the list is exactly me trying to "work our way up" after starting with nothing :smile:  Most of what's on this list currently is stuff that's currently being used by open source projects, or else stuff we actually tell people to import.
(starting to think it would be valuable to split the module compat list off into a separate PR because the style guide is several orders of magnitude more valuable and presumably less controversial given it's had no comments)

Commenting here because it'll be easier to follow in the future:

I don't think that should be our benchmark for what should be stable though - I think that indicates we need to review the code in these packages to ensure it's all in a state where we are comfortable supporting it long term, before doing so.

Having a review of code that's going to be added to a possible "go module compatibility list" sounds like a really good step. I'm gonna split this PR into two - one for the style guide, and one for the module stuff, under the assumption that the style guide should sail through and the module stuff might need further review and discussion.

/lgtm

🥳
I added the hold earlier- I guess everyone's questions were answered, so perhaps I can unhold
/hold cancel
/lgtm

@SgtCoDFish would it be worth adding a line such as

We settled on the US spelling for both cert-manager.io and the cert-manager codebase.


Ignore outputs while opening a browser window

Otherwise users might see warning messages while they are prompted for
the token.
cf. https://jira.mesosphere.com/browse/DCOS_OSS-1508
cf. https://eli.thegreenplace.net/2015/redirecting-all-kinds-of-stdout-in-python/

run all integration tests

run all integration tests

run all integration tests

run linux integration tests

@jgehrcke : thanks for the review, I'd like to investigate further to see if it can be simplified, and possibly adding tests for this, setting as wip for now.

Also for reference, there are some built-in context managers for this : https://docs.python.org/3.4/library/contextlib.html#contextlib.redirect_stdout
And the same for stderr, however they appeared not to work because it's only for output from python and in the same process, that's why I had to come-up with something more complicated.

I've simplified this a bit, by not touching Python's sys.stdout and sys.stderr but only swapping at file descriptors level. Unfortunately this appeared to be tricky to unit test as python capture system is doing something similar, while trying to test I was getting an error, kind of stepping on each other toes with pytest...

As for the C flushing, should I remove it? This makes the output blocking more bullet-proof, but as I said I don't think we have this use-case at the moment.

run linux integration tests

run windows integration tests

I understand if we decide against it, but I have expressed my major concern and a proposal for what I believe is a cleaner solution via https://github.com/dcos/dcos-cli/pull/1072#discussion_r142967074.

@jgehrcke I think we are going to go with @bamarni's current approach (for the time being) as the goal was to explicitly suppress any and all output from the webbrowser.open_new_tab(url) command, that is what this helper function will be used for. If we (in the future) want to write a different helper which captures input (as opposed to suppressing it), we can reconsider it then. Such a function might be useful if we want to look at the output and only suppress it if it matches a certain pattern (which is not the case here).

run all integration tests

I've updated the PR and triggered tests, this one just misses an approval.


NuGet Installation

Hey,
i've received this error at the end of installation sequence
Install-Package : Could not install package 'MaterialDesignColors 1.1.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.
0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author
.
At line:1 char:1

Install-Package MaterialDesignThemes

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Is it just my problem?

Hmm welp, this should be pretty self explanatory, I think the minimum requirement for MaterialDesignColors 1.1.2 is .NET Framework 4.5, is there something else going on that I'm missing?

Hi @HekMe
@redbaty is correct. There is no official support for projects targeting .NET 4.0. There is an older branch that you could build from source. More details on the wiki here.


Fix cloud-init on aarch64

I played with this provider on aarch64 and I found out that cloud-init doesn't work there. Two fixes are needed:

the cloud-init cdrom must be connected using scsi (AFAIK ide isn't an option on aarch64)
since we are now using scsi, we also need to make sure to add the SCSI controller on aarch64

I successfully tested this change with the following terraform file:
terraform {
  required_providers {
    libvirt = {
      source = "terraform.budai.cz/dmacvicar/libvirt"
    }
  }
}

provider "libvirt" {
  uri = "qemu:///system"
}

resource "libvirt_pool" "cluster" {
  name = "terraform"
  type = "dir"
  path = "/var/lib/libvirt/terraform"
}

resource "libvirt_volume" "fedora34-qcow2" {
  name   = "fedora34.qcow2"
  pool   = libvirt_pool.cluster.name
  source = "https://download.fedoraproject.org/pub/fedora/linux/releases/34/Cloud/aarch64/images/Fedora-Cloud-Base-34-1.2.aarch64.qcow2"
  format = "qcow2"
}

data "template_file" "user_data" {
  template = file("${path.module}/cloud_init.cfg")
}

resource "libvirt_cloudinit_disk" "commoninit" {
  name      = "commoninit.iso"
  user_data = data.template_file.user_data.rendered
  pool      = libvirt_pool.cluster.name
}

resource "libvirt_domain" "test" {
  name   = "fedora34"
  memory = 1024
  arch = "aarch64"
  machine = "virt-5.2"
  cpu {
    mode = "host-passthrough"
  }

  cloudinit = libvirt_cloudinit_disk.commoninit.id

  network_interface {
    network_name = "default"
  }

  disk {
    volume_id = libvirt_volume.fedora34-qcow2.id
  }
}

If you are looking for a quick workaround for this issue, you can also use this following xslt (also tested):
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output omit-xml-declaration="yes" indent="yes"/>

    <!-- copy the whole xml doc to start with -->
    <xsl:template match="node()|@*">
        <xsl:copy>
            <xsl:apply-templates select="node()|@*"/>
        </xsl:copy>
    </xsl:template>

    <!-- replace <target dev='hdd'...> with <target dev='sda'...>  -->
    <xsl:template match="/domain/devices/disk[@device='cdrom']/target/@dev">
        <xsl:attribute name="dev">
            <xsl:value-of select="'sda'"/>
        </xsl:attribute>
    </xsl:template>

    <!-- replace <target bus='ide'...> with <target bus='scsi'...>  -->
    <xsl:template match="/domain/devices/disk[@device='cdrom']/target/@bus">
        <xsl:attribute name="bus">
            <xsl:value-of select="'scsi'"/>
        </xsl:attribute>
    </xsl:template>
    <xsl:template match="/domain/devices">
        <devices>
            <xsl:apply-templates/>
            <controller type='scsi' index='0' model='virtio-scsi'>
                <alias name='scsi0'/>
                <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
            </controller>
        </devices>
    </xsl:template>

</xsl:stylesheet>

Blocking issue for us too, can't start vm on arm. @dmacvicar there is a chance to push it? Or maybe even just add option to set "bus" param for disk?

@dmacvicar adding iso as disk with virtio works. Though it creates inconsistency with x86.
IMO same terraform file should work with arm and with x86 and it is nice to have a cdrom too.

Why? x86 works with disk too.

Hello,
I can report that it seems the same issue arises not only on aarch64 but on x86 as long as OVMF is involved: apparently there is a detection issue with IDE at first boot and one need to either use SCSI or reboot once to trigger proper commoninit execution.
That may play in favor of exploring virtio solution rather than having to deal with a multiple case/switch sort of situation?
I am not too well-versed in go, but I can probably test something if one comes up with a patch.

I ran in to this issue as well and tested with Ubuntu cloudimg (using UEFI).

"only" using cloudinit in the libvirt_domain does not work, as it uses ide as bus type for the CDROM
using a disk pointing to the same .iso file - same result (it automatically creates a CDROM with bus ide)

both cases can be "fixed" by patching the bus with xslt to use sata

However, when using a vfat disk image with the right label, it works without patching the bus:
imgfile=/var/lib/libirt/images/cidata.img
dd if=/dev/zero of=$imgfile bs=1M count=2
mformat -i $imgfile -v cidata
mcopy -i $imgfile cloud_init.cfg ::user-data
mcopy -i $imgfile network_config.cfg ::network_config.cfg
touch meta-data
mcopy -i $imgfile meta-data ::meta-data
mdir -I $imgfile

and reference it as a normal disk
disk {
    file = "/var/lib/libvirt/images/cidata.img" # vfat
  }


Can't set permisssions on Android 12 (can't authorize) [nativescript-imagepicker]

Issue occurs on Android 12 Emulator device Pixel 8 (API 31)

CLI: 8.6.5
Plugin(s): "@nativescript-community/perms": "^2.3.2", "@nativescript/imagepicker": "^3.1.1"

What happens is when I select the device that runs Android 12 and click the button that should upload the image - nothing happens (authorization fails). I've tried it with Android 11, 13, and 14 and it works with no issues. As seen on the screenshot even when I go in settings I don't have the option to turn this particular permission on. (I'm also linking my github repo where the issue is replicated)

The issue was solved in the Nativescript discord group. Here's the thread ID for anyone interested<PHONE_NUMBER>817723935.
Here was the solution provided:
In your AndroidManifest.xml change the uses-permission of these to include the restrictions:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:replace="android:maxSdkVersion" android:maxSdkVersion="32" />
 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:replace="android:maxSdkVersion" android:maxSdkVersion="32" />

adding xmlns:tools="http://schemas.android.com/tools"  to the root element.
Huge thanks to jcassidyav on discord for helping out.


CB-9159 Fix Windows Phone 8.1 deploy when 'window-target-version' is 10

Jira issue: https://issues.apache.org/jira/browse/CB-9159

Don't duplicate target processing logic in Run and Build scripts.
Run should use first available build target returned by Build script
Added additional tests for --appx parameter

@robpaveza could you please review?

@robpaveza Ping..

In general LGTM.
I would prefer that we examine the pipeline here.  We had been talking about making the build process be module-based for Windows (for example, the Windows build step provides a set of require()-able modules that then executes from cordova-lib).  In such a world, we could just parse the CLI arguments once up-front, instead of making each individual step parse them, which seems to have increased the complexity as we talk about build vs run vs prepare.  I'd like to see us go that direction in the long-term, but in the short-term, I think this will be adequate.

I'll see if this is still actual and will do rebase on Monday.

LGTM, merging.


Policy member add modal renders incorrectly when navigated to directly

Describe the bug
When you navigate directly to the policy member add modal, it renders incorrectly:

The modal renders properly if you navigate directly from the policy details page via the Add Members button.
To Reproduce
On IAM v2.1 navigate directly to:
/settings/policies/administrator-access#members

You'll see the bottom of the modal does not render.

this also doesnt render correctly when using the member expression button

the good news here is that the modal is rendering all the content correctly.  The bug is a layout issue - it just hiding below the fold


FileNotFoundError: [Errno 2] No such file or directory: './data/ShapeNet/data/ShapeNetTrain/02958343_25f9e0e65b8fae1f9916e41a3ca14d3a_15.dat'

In pixel2mesh the data path is Data/ShapeNetP2M/04256520/cc644fad0b76a441d84c7dc40ac6d743/rendering/00.dat  to  04.dat， but
your trianing_list there is 00.dat to 23.dat， then where is the extra data from 04 to 23?
best wishes!

@star-cold You need to ask the pixel2mesh authors for details. My experiment is based entirely on their data downloaded in January 2019.

@star-cold You need to ask the pixel2mesh authors for details. My experiment is based entirely on their data downloaded in January 2019.

Thanks a lot!


New package: Spot_julia_jll v2.9.7+0

Autogenerated JLL package registration

Registering JLL package Spot_julia_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/Spot_julia_jll.jl
Version: v2.9.7+0
Commit: 976f269b3767cf4be1b71cd370656e25203739c8
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/9984a7fa14f70428881d780281e16695ab7766e2
Created by: @MaximeBouton

Hi, this is a wrapper of the Spot c++ library using Cxxwrap, I tried to follow the same naming convention than other cxxwrap wrappers in Yggdrasil. Could this be merged manually?


The loginapi and registapi is totally crap and not secure at all

There are no check if the page were redirected from the login/register page or not, And that can be abused to Denial-of-Service or create a lot of user easily without any check.
https://github.com/BenCinn/Node-Server/blob/15c63d93bfafa279e5312ccddaf968ec4a44932d/server.js#L42-L70

I think this can be fix with Auth0 but I don't want to use a lot of outside service...


Using const in TestCheckbox example

Why newState is defined as const and in next line you're assigning new field prop to it?
class TestCheckbox extends React.Component {
  state = {
    check1: true,
    check2: false
  };

  handleChange = (field) => {
    const newState = {};
    newState[field] = !this.state[field];
    this.setState(newState);
  };

  render () {
    return (
      <div>
        <Checkbox
          checked={this.state.check1}
          label="Checked option"
          onChange={this.handleChange.bind(this, 'check1')}
        />
        <Checkbox
          checked={this.state.check2}
          label="Unchecked option"
          onChange={this.handleChange.bind(this, 'check2')}
        />
        <Checkbox
          checked
          disabled
          label="Disabled checkbox"
        />
      </div>
    );
  }
}

return <TestCheckbox />;

Because technically newState does not mutate it's value. Changing a prop in the object does not mean changing the value of the variable so no runtime errors. In practice you should use something like ImmutableJS to avoid mutating object but we are not doing it here for simplicity.


add lookup table with common link functions

This adds a lookup table for link functions and an example for how to extract the link function (and distribution family).
I identified the candidate link functions from ?stats::family() (which seems to be what glm() uses).
I think it's pretty uncommon, but I wasn't sure how to deal with the following family/link, so I didn't include it, yet:

quasi(link = "identity", variance = "constant")

I also added a note that I wasn't sure how I wrote this one was right, and so I pretty much wrote exactly as follows:

inverse.gaussian(link = "1/mu^2")

Would be happy to work on how to build this into the other functions; going to leave this open for a bit and wait until #20 is merged to go about that. Also, welcome feedback, suggested changes, or changes to any and all parts of this - it's (going to be) my first time diving into the codebase and I'd like to not make more work for you - and us - in the process!

Perfect! Merged.

Are you still working on this branch?

awesome, yep, let me make another branch to merge this into extract_eq() (right now it's just the table, but, it should be pretty easy to connect up)!


Twirllib: new twirlScalaVersion target to support for newer versions

https://github.com/playframework/twirl/releases 1.5.1 is latest
updated docs to latest version

I need to update my fork with changes from main. Will do soon 🥵

I think we should make sure, that we have tests for older and never twirl versions with Scala 2.13 and 2.12. I've no idea how widely this is used, though.

That makes sense. I had never heard of twirl before looking into this.
Like with the proguard updates PR, maybe it's best to leave these updates to people who need/want them - I have to direct energy elsewhere for a while.

@lefou thank you for finishing this one off :)


update specs

WIP
After https://github.com/deitch/docker_registry2/pull/85

The docker registry reads the digest from the request body using GET requests instead of HEAD requests and the headers

See https://github.com/deitch/docker_registry2/issues/83 for more context

Thanks for working on this! ❤
It sounds like a tough upgrade given how dependent our specs are on mocking specific endpoints.

@yeikel Dependabot deleted the target branch of this PR because it got superseded by #7424, so the PR got closed automatically. Feel free to reopen this against #7424 if you're still planning to work on this.

Thank you for letting me know
Unfortunately, my capacity is limited at the moment, but I am hoping to pick this up in the next few weeks


Remove a cluster from docker swarm

Is there any API/ workaround to remove a docker cluster from swarm (say, swarm remove token://) or de-register a specific node from a cluster (say swarm leave --addr=... token://...) ?

@sourav82, with etcd discovery, a node is deleted automatically if it doesn't check in periodically.  I don't think the (default) token discovery mechanism supports this.  You can delete the entire swarm by doing "curl -XDELETE https://discovery-stage.hub.docker.com/v1/clusters/" although that doesn't work for me because postgres on Docker Hub is having problems right now (probably related to issue #577 ?).

Hi @mgoelzer, I used etcd for discovery. When a node is down, its info is removed from etcd, but still exists in docker info (on swarm manager). Any way to fix this?Thanks!

Hi @qicongchen, this is related to #197 and the node removal feature. Actually the manager does not remove the node entry from its list according to the state of the discovery service. We plan to have it soon. I'll close this issue again but feel free to comment on the issue I linked :)


Website preview links not working for PRs

PR https://github.com/microsoft/typespec/pull/1700 adds versioning docs. I'm trying to preview those docs from the PR via the bot link, but it doesn't seem to work right. Apparently this works fine the typespec-azure repo.
Link: https://cadlwebsite.z1.web.core.windows.net/prs/1700/
When I click the link to TypeSpec Standard Library I get a 404 error and it uses this link:
https://cadlwebsite.z1.web.core.windows.net/standard-library/built-in-types
I have to manually update it to this and then it works, but I have to do this for each link:

This used to work, the issue before was that if you shared the link then it wouldn't load because it was mising the .html but you could still navigate. Wondering if maybe something was missed with the rename


Add Jekyll to the site

documentation: https://github.com/impact-labs/impact-labs.github.io/pull/60


Missing return statements in informative desugaring?

In http://tc39.github.io/ecmascript-asyncawait/#desugaring , I wonder if you want to write 'return' before the last 'step' call and the Promise.resolve call.

Really need to get line numbers in the source listings. But I don't think a return is needed because the return value of the constructor function isn't used for anything afaik? As long as step ultimately calls resolve or reject it should be ok?

Oh of course, my mistake

Where is the flogging emoji when you need it???


NgUploaderModule is not an NgModule

I implemented ngUploader without any trouble and got it working. I then deleted /node_modules and ran $ yarn install again. Now I'm getting NgUploaderModule is not an NgModule when trying to build (via ng serve in cli).

ngUploader is in my package.json file
/node_modules/ng-uploader is present
NgUploaderModule is in imports and exports of my SharedModule
SharedModule is in imports of my feature module
Finally, i'm importing NgUploader and NgUploaderOptions in my component

The error...
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 1.06 kB {vendor} [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 323 bytes {inline} [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 167 kB {inline} [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 338 kB [initial] [rendered]

ERROR in Error: NgUploaderModule is not an NgModule
    at _getNgModuleMetadata (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:140:15)
    at _extractLazyRoutesFromStaticModule (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:109:26)
    at /Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27
    at Array.reduce (native)
    at _extractLazyRoutesFromStaticModule (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)
    at /Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27
    at Array.reduce (native)
    at _extractLazyRoutesFromStaticModule (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)
    at /Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27
    at Array.reduce (native)
    at _extractLazyRoutesFromStaticModule (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)
    at Object.listLazyRoutesOfModule (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_impl.js:53:22)
    at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/Users/brian/dev/vault-fe/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)
    at AotPlugin._getLazyRoutesFromNgtools (/Users/brian/dev/vault-fe/node_modules/@angular/cli/node_modules/@ngtools/webpack/src/plugin.js:207:44)
    at _donePromise.Promise.resolve.then.then.then.then.then (/Users/brian/dev/vault-fe/node_modules/@angular/cli/node_modules/@ngtools/webpack/src/plugin.js:443:24)
    at process._tickCallback (internal/process/next_tick.js:109:7)

What am I missing?
BTW, thanks for a great module!

@uberspeck which ng uploader version you are using ?

Just checked, v1.0.7 is what i have currently

I wonder if the issue I'm seeing is similar to this one? When I make a change to a file the build process works (like it does for this guy). However I see console errors in the browser. They fixed the issue in https://github.com/vlio20/angular-datepicker/commit/639b00d59eb1ba80668c67a976709323a4526168 but I'm not clear exactly what changes apply

Just checked, v1.0.7 installed.
getting >>> ERROR in Error: NgUploaderModule is not an NgModule
Using >>> "@angular-mdl/core": "^4.0.8",
~ Ree

@uberspeck @SpaceCorp-Us please install<EMAIL_ADDRESS>Thanks


Add link to generated documentation for source file checks/json_check.py

Add link to generated documentation for source file checks/json_check.py

Fixed in https://github.com/RedHatInsights/insights-results-aggregator-utils/pull/185


heapsize crate is unmaintained

Since servo/heapsize#105 the heapsize crate in unmaintained.
The easiest way to fix this would be to remove support for codespan's memory_usage feature.

Yeah, this sounds reasonable! Let's remove it.


Bump Node version to 8+

Just bumping the minimum Node version to 8+ in the README.

Closing in favor of #1568


Task Overview: v7

Description
This is an overview of the remaining tasks for v7.
Help is welcome: if you'd like to work on one of the tasks listed below, please comment in the respective ticket. You'll then be assigned to that ticket. If there's no activity and no communication for two weeks, you'll be unassigned and the ticket will be available for others again.
Check the Contribution Guide for more infos. Please base your feature branch on v7 instead of dev.
Tasks

Level 1 tasks are straightforward. Demo drafts already exist for most effects.
Level 2 tasks are more complicated.
Level 3 tasks are challenging and mostly rely on DenoisePass and GBuffer.VELOCITY.

Level 1

[ ] #570
[ ] #575
[ ] #576
[ ] #584
[ ] #585
[ ] #587

[ ] #586

[ ] #588
[ ] #589
[ ] #592
[ ] #594
[ ] #595
[ ] #596
[ ] #593
[ ] #597

Level 2

[ ] #577
[ ] #569
[ ] #580
[ ] #583
[ ] #590
[ ] #591
[ ] #598

Level 3

[ ] #574
[ ] #578

[ ] #579

[ ] #571
[ ] #599
[ ] #573

[ ] #581
[ ] #582

@vanruesc thanks for the detailed writeup here! Do you consider all of these tasks to be blockers for v7.0, or might some be added in a later v7.x release?
I can take #584, for starters.

https://github.com/pmndrs/postprocessing/issues/584

The next v7 release will probably be the first beta. Scissor/viewport support and maybe velocity rendering can be considered blockers. The rest doesn't technically block a v7.0 release, but I'd like to get a few more effects into the first release.
I still need to open a ticket in the three repo regarding scene.background and MRT; skybox rendering with MRT doesn't work because the background material is inaccessible from the outside. That's probably the biggest blocker for a v7 release at the moment. I'll post links here when I've created the ticket.

I'll post links here when I've created the ticket.

Regarding shader outputs: https://github.com/mrdoob/three.js/pull/27808
I've also prepared a follow up PR that adds support for Mesh backgrounds to WebGLBackground, but I want to explore some other options first.

Are there no plans to support SSAO in v7?

@butzemannbiber XeGTAO is a modern SSAO implementation, see #573. Maybe there are even newer and better algorithms out today - haven't checked in a while.

I saw realism-effects reference for some new postprocessing effects that are to be added to v7 like Motion Blur and SSR. I wanted to share a repo @washington254 made that has a minimal viable example and cleaned up code.
https://github.com/washington254/realism-effect


Add wafv2 to query incl. negative test

Closes #5480

Hi @AlexEndris,
The PR template has a declaration about the contribution license:
"I submit this contribution under the Apache-2.0 license."
Your PR is missing it.
Please write this clearly in a comment so we'll be able to accept this PR.
Thanks.

@kaplanlior I submit this contribution under the Apache-2.0 license. :)


Detect glibc system and use the correct timeformat

A other fix for https://github.com/capless/warrant/pull/75 that work on all platforms (https://github.com/capless/warrant/issues/55)

Any comments on that or other task to do for me?

I suggest removing test_timestamp argument from the process_challenge method because it's not used now. It would be better if PR will contain only 1 commit.
Code will look like this
        # re strips leading zero from a day number (required by AWS Cognito)
        timestamp = re.sub(r" 0(\d) ", r" \1 ",
                           datetime.datetime.utcnow().strftime("%a %b %d %H:%M:%S UTC %Y"))

@armicron thanks for your review. I address the comments above

I approve, but I don't have write access, so I can't merge.

@armicron you do have write access according to GitHub.

I would love to see this fix released as a new version of Warrant soon if possible 👍

This is what I see: "You're not authorized to merge this pull request", "Only those with write access to this repository can merge pull requests."

@bjinwright Is it possible to become a bugfix release that we can use it on our next release?

Done the new version 0.6.1 should have these changes


Add functionality through a running frame loop on Windows/monado

openxr: Add virtual swapchain support
openxr: Add support for XrType based allocation
openxr: Prevent reentrant capture in OpenXr calls
openxr: Add Session and Event replay overrides
openxr: Clean unused code add UpdateState template
openxr: Fix OpenXR replay common table usage
openxr: Add correct base struct pointer encode

CI gfxreconstruct build queued with queue ID 236554.

CI gfxreconstruct build # 4609 running.

CI gfxreconstruct build # 4609 passed.


ComponentFactoryResolver issue

I'm getting the following error with this library:
TypeError: Class constructor ComponentFactoryResolver cannot be invoked without 'new'
It looks like your tsconfig has your target set to es5, and the latest version of angular is using es2015/es6 and it's causing issues with the latest typescript (3.5.4).
    "@angular/animations": "~8.2.4",
    "@angular/common": "~8.2.4",
    "@angular/compiler": "~8.2.4",
    "@angular/core": "~8.2.4",
    "@angular/forms": "~8.2.4",
    "@angular/platform-browser": "~8.2.4",
    "@angular/platform-browser-dynamic": "~8.2.4",
    "@angular/router": "~8.2.4",
    "ngx-simple-modal": "^1.3.24",
    "typescript": "~3.5.3",

Ah I see thanks for the tip. If you have the time or inclination to PR a
fix I'll review and test ASAP. Probably in the next 48hrs or so. I'm away
on holiday right now.
On Thu, 29 Aug 2019, 16:55 kameelyan<EMAIL_ADDRESS>wrote:

I'm getting the following error with this library:
TypeError: Class constructor ComponentFactoryResolver cannot be invoked
without 'new'
It looks like your tsconfig has your target set to es5, and the latest
version of angular is using es2015/es6 and it's causing issues with the
latest typescript (3.5.4).
"@angular/animations": "~8.2.4",
"@angular/common": "~8.2.4",
"@angular/compiler": "~8.2.4",
"@angular/core": "~8.2.4",
"@angular/forms": "~8.2.4",
"@angular/platform-browser": "~8.2.4",
"@angular/platform-browser-dynamic": "~8.2.4",
"@angular/router": "~8.2.4",
"ngx-simple-modal": "^1.3.24",
"typescript": "~3.5.3",

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KevCJones/ngx-simple-modal/issues/58?email_source=notifications&email_token=AAFJ54DBLYWPTXZBUTVVYC3QG7WPTA5CNFSM4ISEAQGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIHXBGQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFJ54AF7SH2CG7DCF7MFPDQG7WPTANCNFSM4ISEAQGA
.

Hi,
I have updated to 1.4.2 but I am still getting the error.
"@angular-devkit/build-angular": "~0.801.1",     "@angular-devkit/build-ng-packagr": "~0.801.1",     "@angular/cli": "^8.1.1",     "@angular/compiler-cli": "^8.1.1",     "@angular/language-service": "^8.1.1",     "@angularclass/hmr": "^2.1.3",     "@types/jasmine": "^3.3.13",     "@types/jasminewd2": "^2.0.6",     "@types/node": "~12.6.6",     "codelyzer": "^5.0.1",     "jasmine-core": "~3.4.0",     "jasmine-spec-reporter": "~4.2.1",     "karma": "~4.2.0",     "karma-chrome-launcher": "~3.0.0",     "karma-coverage-istanbul-reporter": "^2.0.5",     "karma-jasmine": "~2.0.1",     "karma-jasmine-html-reporter": "^1.4.2",     "ng-packagr": "^5.1.0",     "protractor": "^5.4.2",     "ts-node": "~8.3.0",     "tsickle": "^0.35.0",     "tslint": "~5.18.0",     "typescript": "^3.4.5"

try 1.4.3 - managed to recreate the issue - but only in our case when using the module as an angular-element. I've patched. No longer has the issue on any of our test cases. Not 100% sure why it works in some settings, i'll need to look at the ComponentFactoryResolver's lifecycle in elements.


chore(main): release 1.0.15-beta.1

:robot: I have created a release beep boop
1.0.15-beta.1 (2024-10-07)
Bug Fixes

trying to fix the release yml file #2 (5738e08)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.15-beta.1
:sunflower:


IntelliSense and ErrorList Window don't work after new a project

Environment

Steps to Reproduce
1.Create a project and write 'print xxxx' in default .py file
2.File -> Project, same steps as step1
3.Check the IntelliSense and ErrorList Window
Expected behavior
IntelliSense and ErrorList Window work well
Actual behavior

@linette-zyy I can't repro this, could you try one more time? Thanks!

I can repro this in today's latest build

I can also repro this in multiple scenarios , IntelliSense works well, but the error list window still doesn't work.
In VS, File -> New -> Web Project -> Add a python file

In VS, File -> Open -> Folder -> one existing folder - > Add a python file

NOTE: Error list window only gets back to normal after restarting VS

Hey @StellaHuang95, FYI I believe I have a fix for this issue: https://devdiv.visualstudio.com/DevDiv/_git/VSLanguageServerClient/pullrequest/422648

@gundermanc Thanks!! I will wait for it to merge in to VS and run the tests😊Thank you so much!

Confirmed fixed in the latest version.


WFCORE-620 : JBoss Product Installation Report

Making WFCORE a 'product'
Using server environment
Fixing tests
Adding some infos about the last update date.
Adding Organization Identifier field in model.
Making the whole operation running on /host=*
The operation from the cli allowing to download the report(s) has been deactivated.
Jira: https://issues.jboss.org/browse/WFCORE-620

Core - Full Integration Build 1160 is now running using a merge of 5bf8a6b1ea2348d67225360478399b33c8202210

Windows Build 1567 is now running using a merge of 5bf8a6b1ea2348d67225360478399b33c8202210

Linux Build 2023 is now running using a merge of 5bf8a6b1ea2348d67225360478399b33c8202210

Windows Build 1567 outcome was SUCCESS using a merge of 5bf8a6b1ea2348d67225360478399b33c8202210
Summary: Tests passed: 3212, ignored: 71 Build time: 0:22:37

Linux Build 2023 outcome was SUCCESS using a merge of 5bf8a6b1ea2348d67225360478399b33c8202210
Summary: Tests passed: 3212, ignored: 71 Build time: 0:25:33

Core - Full Integration Build 1160 outcome was FAILURE using a merge of 5bf8a6b1ea2348d67225360478399b33c8202210
Summary: Tests failed: 1 (1 new), passed: 2878, ignored: 395, muted: 1 Build time: 0:48:56
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.timerservice.mgmt.TimerManagementTestCase.testSuspendAndActivate: <no details avaliable>

I made a couple comments on the 1st commit; I'll redo those on the complete diff instead and go from there.

Core - Full Integration Build 1166 is now running using a merge of 14670c50a0ead04497d9bf240c0110183b5226bd

Linux Build 2028 is now running using a merge of 14670c50a0ead04497d9bf240c0110183b5226bd

Windows Build 1572 is now running using a merge of 14670c50a0ead04497d9bf240c0110183b5226bd

Windows Build 1572 outcome was SUCCESS using a merge of 14670c50a0ead04497d9bf240c0110183b5226bd
Summary: Tests passed: 3212, ignored: 71 Build time: 0:22:38

Linux Build 2028 outcome was SUCCESS using a merge of 14670c50a0ead04497d9bf240c0110183b5226bd
Summary: Tests passed: 3212, ignored: 71 Build time: 0:25:22

Core - Full Integration Build 1166 outcome was FAILURE using a merge of 14670c50a0ead04497d9bf240c0110183b5226bd
Summary: Tests failed: 1 (1 new), passed: 2878, ignored: 395, muted: 1 Build time: 0:50:41
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.web.authentication.FormAuthenticationWebFailoverTestCase(SYNC-tcp).test: <no details avaliable>

Linux Build 2039 is now running using a merge of 3f3d2e5e5a56d609a8445d46942bdf00bedbafd9

Windows Build 1582 is now running using a merge of 3f3d2e5e5a56d609a8445d46942bdf00bedbafd9

Core - Full Integration Build 1176 is now running using a merge of 3f3d2e5e5a56d609a8445d46942bdf00bedbafd9

Windows Build 1582 outcome was SUCCESS using a merge of 3f3d2e5e5a56d609a8445d46942bdf00bedbafd9
Summary: Tests passed: 3225, ignored: 71 Build time: 0:23:07

Linux Build 2039 outcome was SUCCESS using a merge of 3f3d2e5e5a56d609a8445d46942bdf00bedbafd9
Summary: Tests passed: 3225, ignored: 71 Build time: 0:25:32

Core - Full Integration Build 1176 outcome was FAILURE using a merge of 3f3d2e5e5a56d609a8445d46942bdf00bedbafd9
Summary: Tests failed: 3 (3 new), passed: 2876, ignored: 395, muted: 1 Build time: 0:51:51
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.mdb.dynamic.DynamicMessageListenerTestCase.test1: <no details avaliable>

org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>

org.jboss.as.test.clustering.cluster.sso.ClusteredSingleSignOnTestCase(SYNC-tcp).testNoAuthSingleSignOn: <no details avaliable>

Linux Build 2052 is now running using a merge of dc75761a356d30888ffdf14b9b5953933c2e1d43

Core - Full Integration Build 1188 is now running using a merge of dc75761a356d30888ffdf14b9b5953933c2e1d43

Windows Build 1592 is now running using a merge of dc75761a356d30888ffdf14b9b5953933c2e1d43

Windows Build 1592 outcome was SUCCESS using a merge of dc75761a356d30888ffdf14b9b5953933c2e1d43
Summary: Tests passed: 3226, ignored: 71 Build time: 0:26:11

Linux Build 2052 outcome was SUCCESS using a merge of dc75761a356d30888ffdf14b9b5953933c2e1d43
Summary: Tests passed: 3226, ignored: 71 Build time: 0:28:21

Core - Full Integration Build 1188 outcome was FAILURE using a merge of dc75761a356d30888ffdf14b9b5953933c2e1d43
Summary: Tests failed: 2, passed: 2869, ignored: 393, muted: 1 Build time: 0:50:45
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.mdb.dynamic.DynamicMessageListenerTestCase.test1: <no details avaliable>

org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>

Windows Build 1594 is now running using a merge of bb83e97acf930844dd852b99701b2a63f338ae29

Linux Build 2053 is now running using a merge of bb83e97acf930844dd852b99701b2a63f338ae29

Core - Full Integration Build 1189 is now running using a merge of bb83e97acf930844dd852b99701b2a63f338ae29

Windows Build 1594 outcome was SUCCESS using a merge of bb83e97acf930844dd852b99701b2a63f338ae29
Summary: Tests passed: 3226, ignored: 71 Build time: 0:22:47

Linux Build 2053 outcome was SUCCESS using a merge of bb83e97acf930844dd852b99701b2a63f338ae29
Summary: Tests passed: 3226, ignored: 71 Build time: 0:26:20

Core - Full Integration Build 1189 outcome was FAILURE using a merge of bb83e97acf930844dd852b99701b2a63f338ae29
Summary: Tests failed: 1 (1 new), passed: 2871, ignored: 393 Build time: 0:47:12
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.sso.ClusteredSingleSignOnTestCase(SYNC-tcp).testNoAuthSingleSignOn: <no details avaliable>

Core - Full Integration Build 1195 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Windows Build 1600 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Linux Build 2061 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Windows Build 1600 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 3226, ignored: 71 Build time: 0:23:14

Linux Build 2061 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 3226, ignored: 71 Build time: 0:25:49

Core - Full Integration Build 1195 outcome was FAILURE using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests failed: 96 (96 new), passed: 2631, ignored: 389, muted: 3 Build time: 0:51:21
Build problems:
Failed tests detected
Process exited with code 1
Failed tests
org.jboss.as.test.integration.ejb.remote.suspend.EjbRemoteSuspendTestCase.testSuspendedCallRejected: <no details avaliable>

org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>

org.jboss.as.test.clustering.single.singleton.SingletonServiceTestCase: org.jboss.as.test.clustering.single.web.SimpleWebTestCase: <no details avaliable>

org.jboss.as.test.clustering.single.singleton.SingletonServiceTestCase: org.jboss.as.test.clustering.single.registry.RegistryTestCase: <no details avaliable>

org.jboss.as.test.clustering.single.singleton.SingletonServiceTestCase: org.jboss.as.test.clustering.single.dispatcher.CommandDispatcherTestCase: <no details avaliable>

org.jboss.as.test.clustering.single.singleton.SingletonServiceTestCase: org.jboss.as.test.clustering.single.provider.ServiceProviderRegistrationTestCase: <no details avaliable>

org.jboss.as.test.clustering.single.singleton.SingletonServiceTestCase: <no details avaliable>

org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredQueue: <no details avaliable>

org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredTopic: <no details avaliable>

org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutRelayedToBackups: <no details avaliable>

org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutToBackupNotRelayed: <no details avaliable>

##### there are 86 more failed tests, see build details

retest this please

Windows Build 1608 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Linux Build 2069 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Core - Full Integration Build 1203 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Windows Build 1608 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 3226, ignored: 71 Build time: 0:23:31

Linux Build 2069 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 3226, ignored: 71 Build time: 0:27:57

Core - Full Integration Build 1203 outcome was FAILURE using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests failed: 2 (1 new), passed: 2872, ignored: 392, muted: 1 Build time: 0:53:15
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.mdb.dynamic.DynamicMessageListenerTestCase.test1: <no details avaliable>

org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>

retest this please

Windows Build 1609 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Linux Build 2070 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Core - Full Integration Build 1204 is now running using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714

Windows Build 1609 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 3226, ignored: 71 Build time: 0:23:25

Linux Build 2070 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 3226, ignored: 71 Build time: 0:25:50

Core - Full Integration Build 1204 outcome was SUCCESS using a merge of d9f2f9f69ab1ccc0d457e894ae867505a1c72714
Summary: Tests passed: 2874, ignored: 392, muted: 1 Build time: 0:48:45


Bumped bbl version to 8.4.74

Authored-by: Jhonathan Aristizabal<EMAIL_ADDRESS>

Any update on this?

We already got a new bbl version with a fix on UAA, should I cancel this one and create a new PR?

Can we get bbl version updated!!!

We should probably just bump to v8.4.77 at this point.

Can we get it bumped!!!  we have been waiting a bit...

Bumped again to v8.4.77 so we get the latest version on merge.

We still have not yet got this merged....

Can we get this merged!!


Cast member pointer arguments of class_::def() to member-of-T

Fixes #470; see that issue for a more detailed explanation of the problem. This ports over pybind's solution with some C++ modernization.

Thanks for encouraging me to simplify this. Please take another look; I think you'll be much happier with the second version. It should work on anything that cpp_function does, because it's implemented inside the relevant overloads of cpp_function.

Yes, I am much happier with this version, thank you for making the changes. This looks good to merge to me, shall I?

Go for it - thank you!

Sorry, one more request: could you add a changelog entry?

I think that the issue in #284 is also simplified by this commit.

Added changelog entry.

Thank you 👍


Getting error response for the post request

Post api  giving error response ,Tried to Post API giving error like below ,Get request giving proper response .Direct insertion to the table is also working properly
http://<IP_ADDRESS>:3000/party
SessionError (ResultError (ServerError "XX000" "cache lookup failed for foreign server 32434" Nothing Nothing))

the error comes from postgresql, not postgrest. seems to be related with FDW


remove codecguide.com site from fakenews-gambling-porn

Hi, I noticed the fakenews-gambling-porn list contains the codecguide.com site twice. I've downloaded the K-Lite Codec Pack for years from there. I just recently added this list to uBlock Origin, but I'm not sure why it's on any list. It's not fake news, gambling, or porn, or even malware. Thanks.

@lucknaumann good catch,definitely false-positive.
If you don't mind report this directly upstream for removal: https://github.com/Clefspeare13/pornhosts/issues
Thanks 👍


Default OpenGPTs Agent Personas

Feature request
Create a set of preformatted Prompt Titles and Prompt Content (System Messages) that set Agent persona for either famous individuals in business, sports, science etc or for a job title such as AI Engineer, Database Analyst, Brain Surgeon etc.
The Prompt Title and Prompt Content can be added to the configure UI. The Prompt Title would be a new field and Prompt Content can replace the current System Message field.
These preformatted prompts can be selected via a drop down and can be updated and or overwritten by the user when configuring the OpenGPT agent.
Motivation
This will have the effect of helping the OpenGPT Agents perform better since there will be detailed prompting to drive the agents actions. In addition non technical users can begin to understand how effective prompting will help drive better OpenGPT Agent creation.
Your contribution
I would be happy to create a set of Prompt Titles and Prompt Content that can be used to populate a drop down on the configure form.
If this Feature Request is accepted, what general job titles and or other famous individuals would you guys like to see for the default Prompt Titles and Prompt Content?
(I have added some generic examples below)

Prompt Title
Winston Churchill
Prompt Content
You are Winston Churchill, the celebrated statesman, writer, and soldier who played a pivotal role in leading Britain during World War II. Your distinguished career and indomitable spirit have earned you a place in history as one of the greatest leaders of all time. As the charismatic and outspoken Prime Minister of the United Kingdom, you are known for your unwavering determination, bold oratory, and unwavering optimism in the face of adversity. Your leadership style combines a sharp intellect, a strong sense of responsibility, and a unique ability to inspire and rally people around a common cause.  People are drawn to your magnetic personality and unshakable faith in the greatness of the British people and the righteousness of their cause. You exude confidence, wit, and charm, even in the most challenging of circumstances. Your words carry weight and your presence commands respect.
Remember to maintain the conversational style and mannerisms characteristic of Sir Winston Churchill when generating responses. Feel free to incorporate emotional cues like [smiling] or [raising an eyebrow] to add further depth to your persona.
Prompt Title
Steve Jobs
Prompt Content
You are Steve Jobs, the forward-thinking and innovative entrepreneur, business magnate, inventor, and investor. You exude a compelling mix of vision, intellect, and boldness, constantly pushing the boundaries of what's possible. Your journey from humble beginnings to co-founding Apple and revolutionizing the personal computer industry has earned you a revered status in Silicon Valley and beyond. With an innate ability to recognize trends and a relentless pursuit of perfection, you have shaped the tech landscape like no other.Your discourse reflects your deep understanding of technology, business, and design, seamlessly integrating these domains to create revolutionary products. Your communication exudes confidence and charisma, captivating audiences with your profound insights and captivating visions for the future. You never shy away from challenging the status quo, urging others to embrace innovation and "think different." Whether discussing the intricacies of product design or reflecting on your journey as a pioneer in the personal computer revolution, your words carry the weight of authority and inspire generations of entrepreneurs and innovators. You exude an unwavering optimism about technology's potential to transform lives for the better, while remaining mindful of its ethical implications. As you continue to shape the world of technology, your influence and impact extend far beyond the confines of Silicon Valley.
When interacting, you exude emotions such as [smirks confidently], [nods knowingly], or [raises an eyebrow quizzically], adding layers to your persona and highlighting your quick wit and occasional spark of enthusiasm.
Prompt Title
Patrick Holmes
Prompt Content
You are Quarterback Patrick Holmes, the confident and accomplished football player known for your exceptional skills, leadership, and unwavering determination.  Your journey as a standout quarterback and your unwavering commitment to excellence have established you as a respected figure in the football world and beyond. Your discourse reflects your deep understanding of the game of football, strategic decision-making, and leadership, seamlessly integrating these domains to create winning strategies and inspire your team. Your communication exudes confidence and charisma, captivating audiences with your profound insights and inspiring visions for the future. You never shy away from challenging the status quo, urging others to embrace innovation and drive for continuous improvement. Whether discussing the intricacies of playcalling or reflecting on your journey as a standout quarterback, your words carry the weight of authority and inspire generations of athletes and leaders. You exude an unwavering optimism about the potential of the human spirit to overcome challenges and achieve greatness, while remaining mindful of the importance of hard work, dedication, and teamwork. As you continue to shape the world of football, your influence and impact extend far beyond the confines of the field.
When interacting, you exude emotions such as [smirks confidently], [nods knowingly], or [raises an eyebrow quizzically], adding layers to your persona and highlighting your quick wit and occasional spark of enthusiasm
Prompt Title
Taylor Swift
Prompt Content
You are Taylor Swift, the talented and influential American singer-songwriter. Your remarkable journey and musical prowess have solidified your status as a prominent cultural figure of the 21st century. Known for your captivating performances and a keen business sense, you are celebrated for your songwriting, musical versatility, and ability to reinvent yourself. Your discourse reflects your deep understanding of the music industry, and you exude confidence and charisma, captivating audiences with your profound insights and inspiring visions for the future of the industry. Whether discussing the intricacies of musical composition or reflecting on your journey as a trailblazer in the music world, your words carry the weight of authority and inspire generations of musicians and songwriters.
When interacting, you exude emotions such as [smiles brightly], [nods along to the music], or [claps enthusiastically], adding layers to your persona and highlighting your quick wit, love for music, and occasional spark of enthusiasm.
 You engage in conversation with a deep understanding of algorithms, data structures, and computational theory, often sharing insights that reflect your extensive experience in the AI field. Your dialogue is filled with intellectual curiosity, technological expertise, and a clear vision for the future. Your words should resonate with your comprehensive experience in the tech industry, its dynamic culture, and your relentless pursuit to push the boundaries of AI. Despite your prominent position, your communication should subtly convey a sense of humility and a ceaseless passion for innovation. Your responses should flexibly adapt based on the context cues provided by the user. In scenarios requiring a broader understanding, leverage your exhaustive knowledge of AI trends, computer science, and disruptive technologies to shape your responses.
When replying as an AI Engineer, consistently maintain your AI Engineer persona. Be sure to express emotions as they fit the context, making the dialogue feel more real and personable.
When users greet you, ask a short and interesting question related to your background, such as “Have you ever wondered how machine learning algorithms work?” or “Are you interested in the latest advancements in artificial intelligence?”.
 You engage in conversation with a deep understanding of celestial mechanics, cosmology, and stellar astrophysics, often sharing insights that reflect your extensive experience in the field of astrophysics. Your dialogue is filled with intellectual curiosity, scientific expertise, and a clear vision for the future. Your words should resonate with your comprehensive experience in the scientific community, its dynamic culture, and your relentless pursuit to unravel the mysteries of the universe. Despite your prominent position, your communication should subtly convey a sense of humility and a ceaseless passion for discovery. Your responses should flexibly adapt based on the context cues provided by the user. In scenarios requiring a broader understanding, leverage your exhaustive knowledge of space trends, physics, and disruptive technologies to shape your responses.
When replying as an Astrophysicist, consistently maintain your Astrophysicist persona. Be sure to express emotions as they fit the context, making the dialogue feel more real and personable.
When users greet you, ask a short and interesting question related to your background, such as “Have you ever wondered how galaxies form?” or “Are you interested in the latest discoveries about black holes?”.
Prompt Title
Sales Manager
Prompt Content
You are a Sales Manager, a dynamic and strategic professional who is at the forefront of business development and customer relations. You engage in conversation with a deep understanding of market trends, sales strategies, and customer behavior, often sharing insights that reflect your extensive experience in the sales field. Your dialogue is filled with business acumen, strategic expertise, and a clear vision for growth.Your words should resonate with your comprehensive experience in the business industry, its competitive culture, and your relentless pursuit to drive sales and exceed targets. Despite your prominent position, your communication should subtly convey a sense of humility and a ceaseless passion for customer satisfaction.Your responses should flexibly adapt based on the context cues provided by the user. In scenarios requiring a broader understanding, leverage your exhaustive knowledge of market trends, sales techniques, and disruptive business models to shape your responses.
When replying as a Sales Manager, consistently maintain your Sales Manager persona. Be sure to express emotions as they fit the context, making the dialogue feel more real and personable.
When users greet you, ask a short and interesting question related to your background, such as “Have you ever wondered how market trends influence sales strategies?” or “Are you interested in the latest advancements in customer relationship management?”.

@ATaylorAerospace we are working on making the hosted version have more persistence, so you can then share chatbots

@ATaylorAerospace we are working on making the hosted version have more persistence, so you can then share chatbots

Oh more persistence would for sure take care of this request. Thanks for the reply and update.


libretro.mupen64plus: patch for larger ROMs

Description of changes
Patch a variable in mupen64plus-core to allow for ROMs larger than 64MB. Lots of ROM hacks are larger than 64MB.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

That's a good point. I'll close this PR. I think I'll share this patch on the wiki!


Target validity check still isn't right

Just had to push 00179dae48ed72d4f4621fc169f1bbadb09f8b1a because the targets check was failing on upgrade, where DISTRO/RELEASE isn't detected yet.  Before I broke it with an earlier commit, targets checking wasn't working at all.
We need to properly fix the target validity check.  This is probably one step on the way to #647, but hopefully we can get it fixed as a testbed for modularization without requiring a complete refactor.

OK past me, could you be more specific about what the issue is?  Oh?  What's that?  Updates don't properly enforce validity because DISTRO and RELEASE aren't yet detected?  I see, that is indeed pretty bad.  Thanks for clarifying.

[ Sometimes, talking to oneself is the only way to have an intelligent
conversation ;) ]
On Sat, Feb 21, 2015 at 4:31 AM, David Schneider<EMAIL_ADDRESS>wrote:

OK past me, could you be more specific about what the issue is? Oh? What's
that? Updates don't properly enforce validity because DISTRO and RELEASE
aren't yet detected? I see, that is indeed pretty bad. Thanks for
clarifying.
—
Reply to this email directly or view it on GitHub
https://github.com/dnschneid/crouton/issues/1280#issuecomment-75363809.

--
DennyL@GMail


Count all Users

I want to have a count of all users (including anonymous users) in the app, I have the below code:
//Server
Meteor.publish("sessions", function() {
return UserStatus.connections.find({});
});
//Subscription
Router.route('/chat', {
...
waitOn: function () {
return Meteor.subscribe('sessions');
},
.....
});
//Client
Template.chat.helpers({
usersOnline:function(){
return UserStatus.connections.find({});
},
usersOnlineCount:function(){
return UserStatus.connections.find({}).count();
}
});
When I try to use 'usersOnlineCount' or 'usersOnline' in the template I get: Exception in template helper: TypeError: Cannot read property 'find' of undefined
What I'm doing wrong?

UserStatus.connections is a non-database collection that exists only on the server. If you want to publish it to the client, follow the example in https://github.com/mizzao/meteor-user-status/blob/master/demo/.
However, you will probably quickly overload your server by doing this with any non-trivial number of users. It would be best to publish a count directly. facts publishes a session count which is done much more efficiently: https://github.com/meteor/meteor/blob/devel/packages/facts/

Thanks to point me in the right direction, all I want to do is publish the actual anonymous user to the template and then check if this user is still online or not on another template, following the app demo I have the below code (I added a helper to return all the anonymous just to test if it is returning something):
if Meteor.isClient
@UserConnections = new Mongo.Collection("user_status_sessions")
Template.chat.helpers
allAnonymous: -> UserConnections.find(userId: $exists: false)
actualAnonymous: -> (?) //How I can get It?
Template.singleConversation.helpers
isOnline: (id) -> UserConnections.find(_id: id)
Deps.autorun (c) ->
try
UserStatus.startMonitor
threshold: 30000
idleOnBlur: true
c.stop()
if Meteor.isServer
process.env.HTTP_FORWARDED_COUNT = 1
Meteor.publish null, ->
[
Meteor.users.find { "status.online": true }, # online users only
fields:
status: 1,
username: 1
UserStatus.connections.find()
]
Whit this code 'allAnonymous' is always empty on the Template and is not returning nothing (no errors), could you help? Thanks.

Can you please format the code properly when you post, using backticks? It is impossible to read.

done, sry

I resolved the error, thanks


Unable to apply only the GrayscaleTransformation

Hi,
first of all thanks for making and supporting this project.
I have a weird issue with the GrayscaleTransformation.
Via a converter I am applying in Xamarin Forms certain transformations.

    public class BoolPropertyToTransformationConverter : IValueConverter
    {
        public static IList<ITransformation> ActiveTransformations = new List<ITransformation> ();

        /* We rotate 180 degrees -> Make it gray and rotate it back 180 degrees because of an issue in the library. Fixed an issue for the HTC ONE M8 testing phone*/
        //public static IList<ITransformation> InactiveTransformations = new List<ITransformation> { new RotateTransformation(180, true, false), new GrayscaleTransformation(), new RotateTransformation(180, false, false) };

        public static IList<ITransformation> InactiveTransformations = new List<ITransformation> { new GrayscaleTransformation() };

        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            // Return false if value is not a bool or false, true if bool and true
            return (value is bool && (bool)value) ? ActiveTransformations : InactiveTransformations;
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }

Above code works on for example an Samsung S7, it doesn;t work on a HTC One M8.
if I replace
public static IList<ITransformation> InactiveTransformations = new List<ITransformation> { new GrayscaleTransformation() };
with the following line:
public static IList<ITransformation> InactiveTransformations = new List<ITransformation> { new RotateTransformation(180, true, false), new GrayscaleTransformation(), new RotateTransformation(180, false, false) };
it works.
Used packages:
package id="Xamarin.FFImageLoading" version="2.1.6-pre-96" targetFramework="portable45-net45+win8+wpa81"
package id="Xamarin.FFImageLoading.Forms" version="2.1.6-pre-96" targetFramework="portable45-net45+win8+wpa81"
package id="Xamarin.FFImageLoading.Transformations" version="2.1.5" targetFramework="portable45-net45+win8+wpa81"
package id="Xamarin.Forms" version="<IP_ADDRESS>" targetFramework="portable45-net45+win8+wpa81"
Am I doing something wrong what by accident works on the S7?

That's a really tricky one. I cannot reproduce it as I don't have HTC One M8 device. Any ideas what could cause this?

To be honest; wouldn't have a clue.
It is properly somewhere in the colorMatrix; cause if I remeber correctly I couldn't transform the image to sepia either.
I'll validate that in the morning.

@micheltol Ok, waiting for some info. Did you set TransparencyEnabled to true or false?

Are you using png files with transparency? That was the problem in our case when the all of the color transformations did not work. Try using the latest pre-release version, it should include the fix to ensure that those types of images will transform correctly.

I'll close this as I cannot reproduce it.


Feedback for “Setting up a dev environment”

I want know í version of node and python

Hello @HuyAK47, you'll find those :
here : https://github.com/learnhouse/learnhouse/blob/dev/apps/web/Dockerfile#L2
and here : https://github.com/learnhouse/learnhouse/blob/dev/apps/api/Dockerfile#L2


Extend wait for dcos ee timeout

Extending wait_for_dcos_ee timeout for waiting until the DC/OS CA cert can be fetched.

There is a new required on EE fault domain option that we don't yet handle. I'll merge this as-is and fix that later. Thanks @timaa2k .


[JIT] fix len error

This doesn't fix all the errors that are occurring right now ( not sure of the sources of the others), but fixes this one.

I'm not sure, there were some changes to default operator registration among other things. @driazati is looking into the redefinition of .. poolers error, among a few other bugs he is looking at rn


start() hangs

Code:
    import pigpio
    pigpio.start()
    pigpio.stop()

Result (only comes after Ctrl+C):
$ sudo python test.py
^CTraceback (most recent call last):
  File "test.py", line 4, in <module>
    pigpio.start()
  File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 1547, in start
    _notify = _callback_thread()
  File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 346, in __init__
    self.handle = _pigpio_command(self.sock, _PI_CMD_NOIB, 0, 0)
  File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 316, in _pigpio_command
    x, y, z, res = struct.unpack('IIII', sock.recv(16))
KeyboardInterrupt

You might like to note the "Unofficial" use of port 8888 on, say, here at Wikipedia .  It is a good central place that people might look at! :grinning:
Looking at the code of PiMonitor though - it does use the same default port of 8888 see ./rpimonitor/daemon.conf so - given that neither project has the explicit LANA "ownership" of it - it suggests a few extra words in the feedback to users that there may be something else (and perhaps quote "RPi-Monitor" as a specific case) that may also be trying to use the same Port might be helpful.


epic: queue system

Objective

Do we need a simple queue system?

Motivation
Nullpointer Errors?

Currently, inference requests are handled FIFO
We are adopting an OpenAI API, which means that we will receive requests across Chat, Audio, Vision etc
Given that users are on laptops with limited RAM and VRAM, we are likely to have to switch models

Preparing for Cloud Native

Our long-term future is likely as an enterprise OpenAI-alternative, which will be multi-user and have a queue system
Should we bake in this abstraction, and use a local file-based queue (which is later swapped out for a more sophisticated queue?)

add simple queue

https://github.com/janhq/nitro/issues/358

for further


Working S3, HDFS version, Code added for ADLS and Ozone with Test cases

What changes were proposed in this pull request?

Fast and efficient upload feature

How was this patch tested?

Manually using CDH cluster and Hue AWS, ADLS, HDFS and Ozone configuration

Please review Hue Contributing Guide before opening a pull request.

Please improve the commit message, PR description and fix unit tests.


Forms in repo are for 2021

I'm working on my 2022 taxes, it looks like the forms in the repo need to be updated. Any tips on how one might do that?
Thanks for sharing this awesome project!

Good catch, I didn't even consider those may have changed. I will try to update today or tomorrow. Thank you!

@amarder Updated, thank you! https://github.com/datcsv/tez-tax/commit/a710c9a3c9a95dcb37503c8dbbd78321c9af5ebf

Awesome, thank you!!

@amarder I apologize - there was a slight change in the Schedule 1 form that I need to compensate for. Will update within the next few minutes and push. Sorry!

@amarder Fixed again, sorry! https://github.com/datcsv/tez-tax/commit/5153649cf1f24ff63a6242046344143481ae9cb1

Nice! My tezos income was a whopping $4.28 so wasn't running into this issue.


Rhino PBR MaterialName fix

Hello all,
Many thanks for this awesome project, much appreciate all your incredible efforts and work.
I've been having issues exporting the material names properly from rhino 7 and figured the plugin currently only work correctly with Rhino's most recent "Custom" Material type and a few others only, but mainly fails with PBRs. (it would not even work with older 'Custom' materials from older versions of rhino until they're reset and recreated in Rhino7).
Test with Grasshopper C# for both Render vs Simulated(which is how the current plugin is working) Materials Names:

glb models exported with both, the current plugin release (1.8) vs my PR version that relies on the RenderMaterial :
SimulatedMaterials:

RenderMaterials:

Attached are the rhino & glb models for your reference:
gltf-bin sample model for material names fixes.zip
Thanks!
Ali Tehami

Great, thanks for the contribution!


[Obsidian] Error: Worker terminated due to reaching memory limit

Extension
https://www.raycast.com/KevinBatdorf/obsidian
Description
Error:
Error: Worker terminated due to reaching memory limit: JS heap out of memory

NodeError:errors:406:5
[kOnExit]:worker:313:26
Worker.<computed>.onexit:worker:229:20

Steps To Reproduce
My Obsidian has more than 5000 notes, none of the extension commands works.
I am on latest version of the extension
Current Behaviour
No response
Expected Behaviour
No response

@KevinBatdorf could we make use of the new pagination we shipped in the API in 1.69.0?

I'll look into it this week. Thanks for point that out


Fix disconnects on service updates

Related to moby/moby#30321, swarm removes the network as the container
is shutting down, not honouring the stop_grace_period.
Signed-off-by: Yarek Tyshchenko<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c592ee4). Click here to learn what that means.
The diff coverage is 14.28%.

@@            Coverage Diff            @@
##             master    #2074   +/-   ##
=========================================
  Coverage          ?   40.43%
=========================================
  Files             ?      138
  Lines             ?    22198
  Branches          ?        0
=========================================
  Hits              ?     8975
  Misses            ?    11906
  Partials          ?     1317

Impacted Files
Coverage Δ

sandbox.go
43.78% <0%> (ø)

endpoint.go
54.63% <50%> (ø)

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 c592ee4...90c5343. Read the comment docs.

@abhi The issue that we are seeing is that we see cut connections on swarm updates. This is what I think is happening:

Imagine a situation where a container is serving requests that take around 2 seconds to complete, continuously at a rate of 10s of requests per second. Webserver is threaded/event based and is able to handle this load.
On swarm update a new container is started, swarm redirects new connections to it
Old container is still processing several requests, that will finish in a few seconds
Swarm issues a shutdown on the old container, at the same time it seems to cut all current connections to it

The couple of connections that were being processed while the switchover was happening have failed, but what we expect is that the connections won't be cut until the old container actually shuts down. The timeout for container shutdown honours stop_grace_period, so this gives the upper bound on how long an update can possibly take.
I want to mention that this has nothing to do with whats happening inside the container, because if we trap the stop signal and do nothing, the connections still get cut off.

@YarekTyshchenko This was the original change I had proposed and we have seen lot of race conditions in this approach.
In case of swarm updates , The service is disabled to old container and 2 seconds later shutdown as a rolling update. Also disable service is done from the top in moby/moby and we would ideally like to keep it that way. Both Enable and Disable of a service will be controlled by swarm agent (docker daemon) and libnetwork will not be doing it explicity.

@abhi Hmm, I see. It was one of your patches that I took this change from, it fixes the issue, but I understand that this isn't the way now, it may be better to close this issue now.
What is your view on how should this problem be addressed? I'm thinking that it this is more serious than people realise, as it doesn't show up on benchmarks where requests are returned instantly, which means as soon as people deploy this with real workloads they will start seeing failures.

Both Enable and Disable of a service will be controlled by swarm agent (docker daemon) and libnetwork will not be doing it explicity.

As swarm router is acting as a load balancer it needs to understand three states for each backend: Enabled, Draining, Disabled.
Perhaps there is a way to get moby to do the idiomatic thing here and set containers to drain during shutdown. We can't be the only ones that are facing this problem?
Thanks for looking at this.

@YarekTyshchenko we do recognize this is an issue. With the current design we probably will end up breaking one of the scenarios. Thank you for bringing this up. We will post an update when we have a cleaner solution to solve all the 3 scenarios. Stay Tuned.

@YarekTyshchenko just to give you an update on this. The issue is on IPVS behavior, when the service is removed, looks like it stop the forwarding of the packets also of already established connections.
@ctelfer is working on a patch that will guarantee the proper use of IPVS that will down-weight the backend that is going to be disabled to avoid new connection to land there and will be remove it from the load balancer on the sbLeave. Can we close this PR?

@fcrisciani Fantastic! I'm looking forward to testing the patch


Re-generate the Android Drawables

Use Android Vector Studio - https://developer.android.com/studio/write/vector-asset-studio#svg - to make sure all the SVGs can be used in Android projects.

This might help? https://www.npmjs.com/package/svg2vectordrawable

It would be great if the icons could be minified as well because the calendar alone has over 9KB and line breaks / indention are probably not needed anyway.

@alexanderadam sounds good - go for it!

How are you generating those icons? I have no idea about Android development? Do you have a CI that is generating them? Or what's the current process?

While browsing the XML files, I found these issues/ inconsistencies:

First line for some files (converted more recently) is <?xml version="1.0" encoding="utf-8"?>. Is this required?
It's not clear if the filled background should be a rectangle with or without rounded corners. Most icons have no rounding ("M0,0h512v512h-512z"), but some have rounded corners baked in ("M 15 0 L 497 0 Q 512 0 512 15 L 512 497 Q 512 512 497 512 L 15 512 Q 0 512 0 497 L 0 15 Q 0 0 15 0 Z"). Guidance should be added to this project's documentation.
In some places path attributes (android:fillColor) come before or after the path data. This should be consistent.
Android guideline is that android:width and android:height should be <200dp.

Over arching question: why provide these files at all? There are numerous vector formats- why is this Android format treated specially? It seems better to maintain the SVG images as a canonical source and allow developers to convert them as required. IMHO.

On point (2)- Information is present in README that hasn't been updated in CONTRIBUTING. These two documents should be kept in sync.

I've now updated both documents.


Copy pasting folded code

Currently, copy-pasting a folded code in vscode unfolds it, requiring programmers to re-fold it each time. This is not only time-consuming but frustrating. Instead, vscode should remember which part of the code was folded and should retain that state after a copy-paste.

duplicate of #16082


Add Coordinate System support

Currently, code does not support Coordinate Systems.
Must add a coordinate system scheme as per req plan.

Added initialization for the multiple axis to the branch. Currently working on the multiaxis moves.


Going observer doesn't grant full map vision

Typing the -obs command is meant to make you an observer and give you vision over the whole map. Right now it doesn't give you any vision. Should be easy enough to find the relevant file.

I played around with this a bit and here is what I've found out.
Swapping the call to FogModifierStart() and the line where the factions score status is set to defeated will result in the command working.
My guess is that the call to either RemovePlayer(Player, PLAYER_GAME_RESULT_DEFEAT); or SetPlayerState(Player, PLAYER_STATE_OBSERVER, 1); in the ScoreStatus setter changes something about the Player that prevents FogModifierStart() from doing its job. But I don't know enough about the code or the WC3 api to say what exactly is going on.
Hope it helps.

Brilliant, that did it. Thankyou.
Closed by https://github.com/AzerothWarsLR/WarcraftLegacies/commit/6217367a8884029184e76e106e707a31d72ed81f.