How do I use NBitcoin to solve the 4 user stories mentioned in BIP38?

How do I use NBitcoin to solve the scenarios in BIP38? I'm confused about the UnitTests use of the objects "BitcoinEncryptedSecretEC" "BitcoinPassphraseCode" "BitcoinConfirmationCode", and what values are considered "public", "private", or "issuer" in the paper wallet scenario

User story: As a Bitcoin user who uses paper wallets, I would like the ability to add encryption, so that my Bitcoin paper storage can be two factor: something I have plus something I know.

User story: As a Bitcoin user who would like to pay a person or a company with a private key, I do not want to worry that any part of the communication path may result in the interception of the key and theft of my funds. I would prefer to offer an encrypted private key, and then follow it up with the password using a different communication channel (e.g. a phone call or SMS).

User story: (EC-multiplied keys) As a user of physical bitcoins, I would like a third party to be able to create password-protected Bitcoin private keys for me, without them knowing the password, so I can benefit from the physical bitcoin without the issuer having access to the private key. I would like to be able to choose a password whose minimum length and required format does not preclude me from memorizing it or engraving it on my physical bitcoin, without exposing me to an undue risk of password cracking and/or theft by the manufacturer of the item.

User story: (EC multiplied keys) As a user of paper wallets, I would like the ability to generate a large number of Bitcoin addresses protected by the same password, while enjoying a high degree of security (highly expensive scrypt parameters), but without having to incur the scrypt delay for each address I generate

Read on https://programmingblockchain.gitbooks.io/programmingblockchain/content/ about BIP38.
That said, BIP38 is kind of deprecated. If you want to do your stories, look about BIP39 (mnemonic) and BIP32. I talk about it in the book.
Read also https://github.com/NicolasDorier/NBitcoin.Docs to understand how to design a wallet. Once you understand, just use NBXplorer which is an implementation of those concepts.

Depending on the level of control you need, you can also use https://btcpayserver.org (a payment process built on top of nbxplorer)

Thanks Nicolas, Just for closure, I am looking to create an authentication protocol based on zero knowledge proofs and let that co-exist as payable/spendable identifier.  I'll look at the docs and see if I can figure out how to reuse the private key in Bip38/32 in a signature scheme


Mouse Highlighter does not work with Game Bar Capture

Microsoft PowerToys version
0.51.1
Running as admin

[X] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce

enable mouse highlighter
capture video with game bar

✔ Expected Behavior
see mouse click highlights
❌ Actual Behavior
mouse click highlights are not visible
Other Software
No response

I think this will be a #won't-fix since the Xbox game bar does only single app recording, which the program you are recording and mouse highlighter are two different applications. Please use the multi-window (application/program) screen recorder instead.
Besides, you can file the suggestion for the Xbox game bar for the ability to record multi-window in the Feedback hub


Naming: "source" vs. "field"

Currently, we have the submodules sfs.mono.source and sfs.time.source.
This makes sense for now, but we could generalize it by calling it something with "field", because that's actually what the functions generate.

They can also generate a single point.

@hagenw That's a good point! In the future, time-domain sources may even be able to generate a time signal for a single point.

These function create acoustical transfer functions either in frequency domain or time domain from the source location (exception plane wave) to one or many receiver locations, right? Typical terms used in acoustics are ATF and AIR, acoustical transfer function, acoustical impulse response. Some of these functions then are even Green's functions.

@fs446 Yes, but in the future, the time-domain functions might also be able to generate time signals for given locations in space. I don't know if that counts as AIR.
Either way, are you suggesting a different module name (or multiple modules)?


Unable to issue a credential file with ssikit vc issue

Hi
I'm using the project to test how it works. I'm using the cli using the docker container.
After generate some DIDs and running the following command:
ssikit vc issue -i ${ISSUER_DID} -s ${HOLDER_DID} -t VerifiableId --interactive
or this one
ssikit vc issue -i ${ISSUER_DID} -s ${HOLDER_DID} -t VerifiableId --interactive credential.json
The output shows the credential created, but it is not stored to a file.
Indeed, the file is created inside the docker, relative to the script that generate it.
It is generated if I append data/vc/created to the filename credential.json.
In any case, I cannot list the credentials with ssikit vc list
and I cannot test a presentation with ssikit vc present --holder-did ${HOLDER_DID} --verifier-did ${VERIFIER_DID} command.
Is it a problem with the way I am using it or is this functionality still undone?

If you use the docker like explained in the ssikit docu:
alias ssikit="docker container run -p 7000-7004:7000-7004 -itv $(pwd)/data:/app/data docker.io/waltid/ssikit"
it mounts the local data directory into the container, and therefore if you specify any path in the data subfolder, the credential will be stored on your local disk. Otherwise the credential will be stored in the temporary and virtual filesystem of the container, which is destroyed when the container stops.
You can of course extend the docker command to mount other additional volumes if you need to.
As for the ssikit vc list command: It lists only credentials that are stored in your custodial credential store. By issuing a credential it is not stored in the custodial store. It is not required to store it there, if you just want to make a presentation, however, you can store the credential using the ssikit vc import command, then it will also be listed by the list command.
To present the credential, just specify the path to the credential at the end of the present command. The credential doesn't have to be in the custodian store. But remember, that using the docker command, the credential must be issued to a path, that is mounted as a volume in the container, otherwise it will be lost after the container stops. Eg.:
ssikit vc issue -i ${ISSUER_DID} -s ${HOLDER_DID} -t VerifiableId --interactive data/my-issued-credential.json
ssikit vc present --holder-did ${HOLDER_DID} --verifier-did ${VERIFIER_DID} data/my-issued-credential.json

Just for the record: With different commands the relative path can change if the alias is used. Using the docker as instance seems to work fine. You can close the issue. Thanks.


[SPARK-7747] [SQL] [DOCS]  spark.sql.planner.externalSort

Add documentation for spark.sql.planner.externalSort

Can one of the admins verify this patch?

@hyuai @JoshRosen

I am merging it to both master and branch 1.4. Since this is a very useful flag, I think it is good to merge it in first (if necessary, we can add more contents to it later).


Add redirect /user/public -> /user/me

Closes https://github.com/serlo/frontend/issues/1114

@kulla lgtm. we should test this imo.

thank you!


chore: update monorepo types to 2.15.0

Description

Updates @walletconnect/types to version 2.15.0

Type of change

[X] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[X] Code in this PR is covered by automated tests (Unit tests, E2E tests)
[X] My changes generate no new warnings
[X] I have reviewed my own code
[X] I have filled out all required sections

Already updated to newer version. Closing


Update ci.yml

set up buildjet/cache@v3 & add path and key according to thd docs from
https://buildjet.com/for-github-actions/docs/guides/migrating-to-buildjet-cache

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

@segfault-magnet Maintain your issue pls，sir


Bump up kind version to v0.12.0

kind v0.12.0 enables sysctl route_localnet on node images to allow
nodes dns to work. Patching the setting in antrea's script is no longer
needed.
Signed-off-by: Quan Tian<EMAIL_ADDRESS>Check https://github.com/kubernetes-sigs/kind/releases/tag/v0.12.0#fixes for details.

@antoninbas this could make your cleanup more thoroughly

/skip-all

Codecov Report

Merging #3441 (af34abb) into main (a51003a) will increase coverage by 17.39%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #3441       +/-   ##
===========================================
+ Coverage   42.43%   59.82%   +17.39%
===========================================
  Files         200      268       +68
  Lines       24295    26900     +2605
===========================================
+ Hits        10310    16094     +5784
+ Misses      12921     9042     -3879
- Partials     1064     1764      +700

Flag
Coverage Δ

kind-e2e-tests
45.66% <ø> (?)

unit-tests
42.45% <ø> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apis/controlplane/types.go
0.00% <0.00%> (ø)

pkg/apiserver/handlers/webhook/convert_crd.go
2.56% <0.00%> (ø)

pkg/apiserver/handlers/webhook/mutation_labels.go
24.71% <0.00%> (ø)

pkg/agent/util/syscall/syscall_unix.go
0.00% <0.00%> (ø)

pkg/agent/util/sysctl/sysctl_linux.go
0.00% <0.00%> (ø)

...g/agent/apiserver/handlers/addressgroup/handler.go
0.00% <0.00%> (ø)

pkg/agent/proxy/metrics/metrics.go
100.00% <0.00%> (ø)

pkg/apis/stats/v1alpha1/register.go
90.90% <0.00%> (ø)

pkg/agent/flowexporter/utils.go
71.42% <0.00%> (ø)

pkg/agent/secondarynetwork/podwatch/controller.go
0.00% <0.00%> (ø)

... and 176 more

I'd like to merge #3413 first if you don't mind

Sure, it seems some change in Kind cause hybrid installation to fail:
https://github.com/antrea-io/antrea/runs/5513856719
I need some time to dig into it.

Superseded by #3654


Allow save() to be overridden by ORM adapters

Ref. #3412
Needs https://github.com/ianwhite/orm_adapter/pull/45

Nevermind, I no longer need this.


[bug] Unable to connect Wallet to site via Mobile QR scan

Link to minimal reproducible example
https://lab.web3modal.com/library/ethers/
Summary
You can use the official demo site to test this, because it's also happening there. Alternatively you can attempt to connect your wallet to my site where I currently have WalletConnect integrated (https://eventhorizon.vote).
Steps to reproduce.

Click Connect Wallet
Select any external wallet you have on your phone (in my case, Metamask, Trust Wallet or TokenPocket)
Scan the QR code via one of the apps in step 2.
Nothing happens, no connection is made with no error messages. Nothing that would indicate any 'loading' or anything either.

Now, in some rare cases, it did actually manage to go through, but I'd say that occurs less than 5% of the time. I've tried multiple phones, both android and iOS and multiple web browsers too.
List of related npm package versions
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@ethersproject/providers": "^5.7.2",
"@metamask/jazzicon": "^2.0.0",
"@mui/icons-material": "^5.14.16",
"@mui/material": "^5.14.16",
"@next/font": "^13.0.4",
"@sharemint/sdk": "^0.7.1",
<EMAIL_ADDRESS>"^0.9.5",
"@types/material-ui": "^0.21.12",
"@web3modal/ethers": "^4.2.1",
"big.js": "^6.2.1",
"classnames": "^2.3.2",
"computer-name": "^0.1.0",
"ethers": "^6.12.0",
"i": "^0.3.7",
"moment": "^2.30.1",
"next": "^13.0.3",
"npm": "^10.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scroll-parallax": "^3.3.1",
"react-toastify": "^9.1.1",
"react-tooltip": "^5.21.5",
"recoil": "^0.7.7",
"sass": "^1.56.0",
"web3": "^1.7.4",
"web3-eth-contract": "^1.2.11"
},
"devDependencies": {
"@svgr/webpack": "^6.5.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@typechain/web3-v1": "^6.0.1",
"@types/node": "18.8.0",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.6",
"@types/web3": "^1.2.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"autoprefixer": "^10.4.12",
"eslint": "8.22.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-next": "^13.0.3",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"gray-matter": "^4.0.3",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"matter": "^0.2.0",
"next-images": "^1.8.4",
"postcss": "^8.4.17",
"prettier": "^2.7.1",
"tailwindcss": "^3.1.8",
"typechain": "^8.1.0",
"typed-scss-modules": "^7.0.1",
"typescript": "^4.8.4",
"typescript-plugin-css-modules": "^3.4.0"
}

Guys,
If you're using Next.JS. In your next.js.config you need to set swcMinify to false.
module.exports = {    [the rest of your config..],    swcMinify: false, }
This seemed to have resolved my issue.


How to use dependencies like Core with Reason & rebuild?

I had never taken the time to learn OCaml but Reason does indeed feel more accessible to me. Thank you for contributing to make OCaml easier for people like me! I'm using the weekend to get started and trying to follow Real World OCaml examples with Reason syntax. I've been unable to open Core.Std. Here's the question I wrote in StackOverflow:
I'm new to OCaml and I'm trying to try (:P) Facebook Reason syntax. I cannot find a way to make this compile because if cannot find the Core module (already installed with opam).
I'm trying to compile a sample program from Real World OCaml
open Core.Std;

let rec read_and_accumulate accum => {
  let line = In_channel.input_line In_channel.stdin;
  switch line {
    | None => accum
    | Some x => read_and_accumulate (accum +. Float.of_string x)
  }
};

let () = printf "Total: %F\n" (read_and_accumulate 0.);

This is the command I'm using for compilation: rebuild accum.native.
When I have this in _tags (from the instructions in https://janestreet.github.io/installation.html)
true: package(core,ppx_jane)
true: thread,debug

My error changes but I still don't know what to do:
File "_tags", line 1, characters 6-28:
Warning: tag "package" does not expect a parameter, but is used with parameter "core,ppx_jane"
File "_tags", line 1, characters 6-28:
Warning: the tag "package(core,ppx_jane)" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
+ /Users/David/.opam/4.02.3/bin/ocamldep.opt -modules -pp refmt -impl accum2.re | tee accum2.re.depends accum2.ml.depends
accum2.re: Core Float In_channel
+ /Users/David/.opam/4.02.3/bin/ocamlc.opt -c -g -thread -pp '-g -thread' -pp refmt -o accum2.cmo -intf-suffix .rei -impl accum2.re
File "accum2.re", line 1, characters 5-13:
Error: Unbound module Core
Command exited with code 2.
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.

What do I have to do to use Core with Reason?
Adopting the syntax is pretty easy and I have only been reading for a couple hours, but there's zero docs about how to use Reason for non OCaml users.
I posted this in http://stackoverflow.com/questions/37504534/how-to-use-jane-streets-core-with-reason so it would be helpful if you reply there, otherwise I'll copy any help received here :)

Thank you for your patience with respect to using and forming dependencies on external packages at build time. This is something we want to make easier as a next step (keep an eye on jengaboot for a better long term solution).
@yunxing  Likely knows the answer to your immediate question.

Adopting the syntax is pretty easy and I have only been reading for a couple hours, but there's zero docs about how to use Reason for non OCaml users.

Yes! I totally agree. On the Reason landing page, you'll see that there are three main "pillars" of Reason: Syntax, Build, Share.  The Build and Share items are faded out as a sort of acknowledgment of what you've observed, and conveying our intent to eventually "fill them in". I hope @yunxing knows the answer to your question to unblock you in the short term though.
We're hoping that eventually, you'll just be able to make a package.json with an entry for "Core": versionNumber and then everything will just magically work.

@jordwalke thanks for the reply. I'm not sure about the .json part, but sound good that you are thinking about it. Hopefully @yunxing can help met out, I didn't understand how to use jengaboot to solve the issue. :)

@davidpelaez I'm developing jengaboot a bit silently. If you want, jump on #reasonml in free node and ping me =)

In theory I thought you could do something like this:
/* Hello.re */
open! Core.Std;

 let rec read_and_accumulate accum => {
   let line = In_channel.input_line In_channel.stdin;
   switch line {
     | None => accum
     | Some x => read_and_accumulate (accum +. Float.of_string x)
   }
 };

 let () = printf "Total: %F\n" (read_and_accumulate 0.);

rebuild Hello.native -pkg core
This gives me:
Error: No implementations provided for the following modules:
         Thread referenced from /Users/me/.opam/4.02.3/lib/core/core.cmxa(Core)
         Mutex referenced from /Users/me/.opam/4.02.3/lib/core/core.cmxa(Core)
         Condition referenced from /Users/me/.opam/4.02.3/lib/core/core.cmxa(Core)
         Event referenced from /Users/me/.opam/4.02.3/lib/core/core.cmxa(Core)
Command exited with code 2.

I tried it the CommonML way, but this gives me
 ocamlfind: Error from package 'threads': Missing -thread or -vmthread switch.
This apparently a known issue:
https://github.com/jordwalke/CommonML/issues/10
I'll try Jenga later this evening, hopefully I'll have more success 😄

rebuild accum2.native -use-ocamlfind seem to bring it a little forward, but I don't have any experience with OCaml so I cannot find a way to see anything useful for debugging purposes in the following output:
+ ocamlfind env OCAMLOPT="ocamlopt.opt" /Users/David/.opam/4.02.3/bin/reopt -c -g -thread -package core,ppx_jane -pp '-g -thread -package core,ppx_jane' -pp refmt -o accum2.cmx -intf-suffix .rei -impl accum2.re
Usage: ocamlfind query        [-help | other options] <package_name> ...
   or: ocamlfind ocamlc       [-help | other options] <file> ...
   or: ocamlfind ocamlcp      [-help | other options] <file> ...
   or: ocamlfind ocamlmklib   [-help | other options] <file> ...
   or: ocamlfind ocamlmktop   [-help | other options] <file> ...
   or: ocamlfind ocamlopt     [-help | other options] <file> ...
   or: ocamlfind ocamloptp    [-help | other options] <file> ...
   or: ocamlfind ocamldep     [-help | other options] <file> ...
   or: ocamlfind ocamlbrowser [-help | other options]
   or: ocamlfind ocamldoc     [-help | other options] <file> ...
   or: ocamlfind install      [-help | other options] <package_name> <file> ...
   or: ocamlfind remove       [-help | other options] <package_name>
   or: ocamlfind printconf    [-help] [variable]
   or: ocamlfind lint         [-help] <file>
   or: ocamlfind list
   or: ocamlfind pkg/cmd arg ...
Select toolchain with:
  ocamlfind -toolchain <t> <command>
Abbreviations:
  e.g. ocamlfind opt instead of ocamlfind ocamlopt
Command exited with code 2.
Compilation unsuccessful after building 3 targets (2 cached) in 00:00:00.

After a lot of help from @chenglou I could figure out how to do it. Basically the _tags indicated in https://janestreet.github.io/installation.html have to be added and three more flags and values: -linkpkg (I assume for static linking), -pp refmt indicating the ReasonML preprocessor and -impl file.re to tell what file to load. So if I have this file accum.re:
open Core.Std;

let rec read_and_accumulate accum => {
  let line = In_channel.input_line In_channel.stdin;
  switch line {
    | None => accum
    | Some x => read_and_accumulate (accum +. Float.of_string x)
  }
};

let () = printf "Total: %F\n" (read_and_accumulate 0.);

I can compile it to a native binary with:
ocamlfind ocamlc -g -thread -package ppx_jane -package core -pp refmt -linkpkg -o accum.native -impl accum.re
I would like to use ocamlbuild but I couldn't find a way to set the impl flag through an ocamlbuild command. I can leave this open until I figure it out with ocamlbuild and/or rebuild as well.

@davidpelaez Thank you for sharing your solution so others can use it!

Hi @davidpelaez, just got back to town. Thanks for checking out Reason.
You actually helped us to discover a bug in rebuild -- rebuild doesn't work with -use-ocamlfind!
First of all, here are some contexts about how rebuild works:
rebuild is a wrapper of ocamlbuild. It changes ocamlbuild to change all the calls to ocamlopt to reopt. Now what's the reopt? reopt is a wrapper of ocamlopt which passes in correct flags so it understands reason.

What's the problem here?
After a package is installed, one needs to call ocamlbuild with -use-ocamlfind so the build system can find out where the installed package is. The command that is called by ocamlbuild becomes something like ocamlfind ocamlopt -package core ...  (Like what you've been using).
However, remember we just changed all the calls to ocamlc to reopt? The command above then becomes ocamlfind reopt -package core ... -- and ocamlfind doesn't understand that!
The fix?
Instead of changing the subcommand from ocamlfind ocamlopt to ocamlfind reopt, we should use the recommend way in their manual: change an environment variable env OCAMLFIND_COMMANDS=="ocamlc=$REOPT" to modify the behavior of ocamlfind.
I'm going to submit a fix about this soon.

make this is somewhat relate.
I am using https://github.com/reasonml/ReasonNativeProject to start a native reason project and i hit the same error:
λ ~/GitHub/rejq/ master* make
cp pkg/META.in pkg/META
ocamlbuild -package topkg pkg/build.native
Finished, 4 targets (0 cached) in 00:00:00.
./build.native build
+ ocamlfind ocamlc -c -package menhirLib -package cmdliner -package core -package yojson -pp '-package menhirLib -package cmdliner -package core -package yojson' -I src -pp 'refmt --print binary' -o src/rejq.cmo -intf-suffix .rei -impl src/rejq.re
ocamlfind: Error from package `threads': Missing -thread or -vmthread switch
Command exited with code 2.
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.
build.native: [ERROR] cmd ['rebuild' '-use-ocamlfind' '-I' 'src' '-pkg' 'yojson' '-pkg' 'core'
     '-pkg' 'cmdliner' '-pkg' 'menhirLib' 'opam' 'pkg/META' 'pkg/META'
     'src/rejq.native']: exited with 10
make: *** [build] Error 1

this time I cannot easily pass in the -thread opt because the build process is somewhat tightly controlled by https://github.com/reasonml/ReasonNativeProject/blob/master/pkg/build.ml

The solution @Jimexist is looking for (and anyone else is looking for) is the -tag option for rebuild that passes tags to the ocamlc command. So the common one is -tag thread. For the makefile provided in the ReasonNativeProject, this looks like
.PHONY:	all clean byte native profile debug test

OCB_FLAGS = -use-ocamlfind -tag bin_annot -tag thread -pkg core
OCB = 		rebuild $(OCB_FLAGS)

all: byte # profile debug
...

This question will probably get more discussion in the reasonml forums -- https://reasonml.chat/


Update version: StephanDilly.gitui version 0.23.0

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116631&drop=dogfoodAlpha

The developer's name seems oddly familiar. 🤔


Mix of mutable/immutable usage of before variables cause warning

When a variable declared in a before block is used in both mutable and immutable way in different unit tests, it will cause a warning in the declaration.
Example (the code is a butchered version of an existing test suite):
demonstrate! {
  describe "CPU" {
    use super::*;

    before { let mut cpu = Cpu::new(); }

    it "initializes" {
      cpu.internal_ram.to_vec().iter().map(|&x| x as u32).sum::<u32>();
    }

    it "NOP (0x00)" {
        assert_cpu_execute(&mut cpu, &[0x00]);
    }
  }
}

The cpu variable needs to be mutable, however, it causes a warning "variable doesn't need to be mutable"
I don't know if this is inevitable or not, as it also happens to ruspec.

You'd need the immutable and mutable test cases to be in separate scopes.  You could have the mutable tests nested like this:
demonstrate! {
    describe "CPU" {
        use super::*;

        before { let cpu = Cpu::new(); }

        context "mutable" {
            before { let mut cpu = cpu; }

            it "initializes" {
                cpu.internal_ram.to_vec().iter().map(|&x| x as u32).sum::<u32>();
            }
        }

        it "NOP (0x00)" {
            assert_cpu_execute(&cpu, &[0x00]);
        }
    }
}

You'd need the immutable and mutable test cases to be in separate scopes. You could have the mutable tests nested like this:

I see - I guess it's inevitable, then :slightly_smiling_face:. Thanks!

No problem. Glad to see the crate being put to use!

No problem. Glad to see the crate being put to use!

I hope the project gets more traction. I think declaration-oriented testing is a significant omission in the Rust landscape, and this project is a very solid step in this direction (the other comparable projects are either unmaintained, or functionally inferior).


containerd analysis

Look into containerd 1.3.

Fixed in https://github.com/containerd/containerd/pull/3484


[production] User not receiving confirmation email

Reported on help desk:

User creates new account.
User does not receive email to confirm account.
User checks spam folder, does not find email.
User adds OSF email to  "trusted senders" list and asks to resend confirmation email.
User does not receive confirmation email.

@sloria checks sendgrid; no bounces associated with that email and reports there is a bug. I am sure he will add more detail on this when he's no longer tied up with this release; just logging this so it's not forgotten.

@sloria @saradbowman was this resolved?

Updates from @sloria:

the help desk issue was resolved; i ended up having to manually generate a confirmation link, and Sara sent it to the user
however, it's still unclear why that user didn't receive the email
it seems to have to do with the user's educational mailserver
because another email from the same domain had the same issue

@saradbowman can this issue be closed? In the past I've dealt with these issues by suggesting the user contact their IT department about making our emails "safe" since the holdup is most likely on their end.

1 on @erinmayhood approach. I'm actually going to close this as it appears the user in this case was taken care of, and this 'bug' is not consistent ... unless @saradbowman :scream: 's at me.

@erinmayhood great suggestion, thanks!


Requesting the addition of csav.edu.ph

Webpage for csv.edu.ph is still under development, we have our old domain at colegiodestaanadevictorias.com up if you would like to look around.

@TitoCSAV First stage of verification passed, official domain is colegiodestaanadevictorias.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.colegiodestaanadevictorias.com/college-news/may-2021-news


New CPU Lightmapper crashes with GridMap when baking

Godot version:

Godot Engine v3.2.4.beta5+lightmapper.official
OS/device including version:

Windows 10 (Build: 19042.685, Arch: x64)
AMD Ryzen 7 3800XT
NVidia GeForce RTX 2080 (running GLES3)
Issue description:

I was testing the new CPU lightmapper proposed in #44628 with a simple GridMap.  Whenever I try to bake the lightmap for the scene, I get a crash.  Sample scene is attached.
Log:
Godot Engine v3.2.4.beta5+lightmapper.official - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce RTX 2080/PCIe/SSE2
OpenGL ES Batching: ON

ERROR: get: FATAL: Index p_index = 0 is out of bounds (size() = 0).
   At: ./core/cowdata.h:152

I tested the same scene with the official build of v3.2.4.beta5 and the lightmapper worked fine there.
Steps to reproduce:

Create a scene and add a Gridmap.
Create a MeshLibrary containing a cube as the only item.
Paint a scene with the cube "tiles",
Add some lights.
Add a BakedLightmap node and cover the GridMap in its extents.
Click the "Bake" button.

Minimal reproduction project:

TestGridmapLightmap.zip

It was a simple error from my side, I already found a fix for it, but I'm waiting to update the PR together with some other fixes. I will keep you posted :)

It was a simple error from my side, I already found a fix for it, but I'm waiting to update the PR together with some other fixes. I will keep you posted :)

Confirming that the issue is fixed in 3.2.4 beta 6.

Confirming that the issue is fixed in 3.2.4 beta 6.


[PHP] Add extension support and better version detection

Summary
Use composer.json to figure out if any extensions should be installed. Also, improved version detection (using require instead of config)
@loreto should we be using systemPackages instead of packages for languages?
How was it tested?
devbox shell
php -m | grep mbstring

Could you add a testdata/ example that uses as many extensions as possible?
Does development.nix.tmpl not need to change too?
Could you elaborate on:

should we be using systemPackages instead of packages for languages?

should we be using systemPackages instead of packages for languages?

in nix files "packages" are user packages. "systemPackages" belong to system. I guess since we are mostly doing single user setups it doesn't really matter

@loreto added tests, updated development.nix, and removed a few panics. PTAL


Support for Power BI integrations

Is your feature request related to a problem? Please describe.
The support for PowerBI integrations is not present at the moment of writing this issue.
Describe the solution you'd like
Having a resource that would match the requirements for provisioning a PowerBI security integration in Snowflake.
Describe alternatives you've considered
The basic OAUTH integration is not suitable to be used as a replacement for Power BI security integrations (external OAUTH authentication).
Additional context
The official Snowflake documentation on how to set a security integration for Power BI: https://docs.snowflake.com/en/user-guide/oauth-powerbi.html#creating-a-power-bi-security-integration

This can be closed @ericpar

Closing this issue as the new feature has been developed (see #879 )


Emit tendermint event upon address association

Describe your changes and provide context
Emit event for address association
Testing performed to validate your change
local tx

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.29%. Comparing base (1127dbd) to head (0398e98).

Additional details and impacted files

@@           Coverage Diff           @@
##            seiv2    #1501   +/-   ##
=======================================
  Coverage   61.28%   61.29%
=======================================
  Files         361      361
  Lines       25357    25362    +5
=======================================
+ Hits        15541    15545    +4
+ Misses       8906     8901    -5
- Partials      910      916    +6

Files
Coverage Δ

x/evm/keeper/address.go
95.65% <100.00%> (+0.53%)
:arrow_up:

... and 4 files with indirect coverage changes


nodejs package pg in-compatibility

The pg package always requests results set as text encoding even when using extended query. We need to implement #45 and #56 to  fix compatibility with it.

Fixed in #61


Adding tolerance support to newrelic infrastructure

Simple addition of tolerations to the pod spec. Tolerations are helpful for this particular type of DaemonSet in order to monitor the health of all nodes.

CLA signed

/assign

Duplicates #3887


Reprint mod to MCBBS

McJty,
Hello, my name is P1nWheel.I really like your mod 'The One Probe'.It is a useful mod because I can know about the information of a block that shows on screen.There is a mod called Walia which is similar to this mod.TOP need tools while Walia not.But I think it is more funny and interesting!As I know, TOP supplies many mods. I hope I can reprint this mod on MCBBS which is the largest Chinese Minecraft forum. Due to the barriers of language, most of the Chinese players don't know this mod even how to play.I know that TOP has translated to Simplified Chinese but still, not many players know this mod.Therefore I would like to introduce this mod to Chinese players so that they can enjoy this great mod. I will also submit the zh_TW.lang to your GitHub as I can do.
I will obey the rules below and your special request.

I will NOT  take any credits of this mod and I will clearly state your official website(CurseForge, Minecraft forum, and GitHub)
I will give the official download link and clearly note that 'This is the official download link, please click here first to support McJty.
Due to the GFW （Great Firewall of China） and network speed, I probably prepare a mirror link for players to backup. The mirror will direct to an Ad-free page just like Dropbox. I would only prepare this mirror while the official download link is useless.
Last but not least, I would NOT use TOP  to earn any money/benefits, etc. I would also clearly state that everyone must not use this mod to earn any money/benefits, etc.

If you think the rules upsides is not enough, you can tell me.I really appreciate if you can give me permission to reprint.By the way, thank you for bringing this great mod to us.
Yours sincerely,
P1nWheel

You can put a link to be curse download page but not a separate download as then I would not get the curse reward points

Ok.Then I would not put a separate download link.

This player has not been updated for a long time. I want to continue to share with MCBBS on the basis of him. I will link to the author's plug-in page. I still hope to get your authorization.


Set to run only the first time

He's going all the time in this process because the variable will never be false, but should enter only the first time ...
:santa:

Thanks a lot.
Could you PR it to v0.7.0 version as the travis-ci has been fixed in that version.

I make new PR #405


Server not loading my config.js

I made a copy of config.default.js into a file named config.js and applied my configurations into it, and when I start mongo express mongo-express -u username -p password -d database (I installed mongo express globally), the server doesn't seem to load my configurations. There are no warnings or whatsoever to tell me what might have gone wrong. I'm seeing the red warning "basicAuth credentials are "admin:pass", it is recommended you change this in your config.js!" every single time.

When passing command line params it will override config.js params.
 What could be the issue here? The configs I edited in my config.js are as below:
auth, adminUsername, adminPassword, basicAuth and defaultKeyNames.

There's nothing else going on - see https://github.com/andzdroid/mongo-express/blob/master/app.js#L17-L21 - tries loading config.js, if that fails, loads config.default.js.
Maybe insert a console.log(e) between lines 19 & 20 to see why loading config.js fails. I would be interested to see what the cause is, if we can help prevent this in future.

Thanks for the tips! @wulfsolter
It turns out to be a syntax error on my config.js. It would be helpful if you can include the log whenever the custom config fails to load.
Cheers.

Added logging if parsing config.js fails https://github.com/andzdroid/mongo-express/commit/53d688ee4477fb389f4a2f81647e583b10811f9c


Extracting body information from request does not work.

Describe the bug
When using the extract function to extract data from a request, it gives a blank body for all functions.
Only determined on Actix, unsure of Axum.
Leptos Dependencies
leptos = { version = "0.6" }
leptos_meta = { version = "0.6" }
leptos_actix = { version = "0.6", optional = true }
leptos_router = { version = "0.6" }

To Reproduce

Create a new Leptos SSR project, using Actix.
Add the following code into the app.rs:

#[server(name = TestServerFunction, prefix = "/api", endpoint = "test")]
pub async fn test_func() -> Result<(), ServerFnError> {
    use actix_web::web::Bytes;

    let test = match extract::<Bytes>().await {
        Ok(f) => f,
        Err(e) => {
            logging::error!("{:?}", e);
            return Err(e.into());
        }
    };

    logging::log!("{:?}", test);

    Ok(())
}

Call the endpoint (e.g. curl -v --request POST --url http://<IP_ADDRESS>:3000/api/test --data "Hi")
Console logs b""

Expected behavior
Expecting the log of b"Hi" in the console.

This is working as designed, on all platforms.
The body of a request can only be consumed once. Server functions use the body to communicate their arguments. In your case, you're creating a server function that expects a POST request with a  URL-encoded body that includes the arguments to the server function (although in this case, there are none).
If you have no arguments but need to extract bytes from the body, you can either create a custom encoding or, more likely, just create a normal Actix route to handle the request.
(After all, it would not actually be possible to call the server function from the client as it is written and pass anything in the body.)


Missing files for running the demo (Refinement/demo.py)

Hello,
Thank you for sharing your work. I tried to run the demo (Refinement/demo.py), but found that some files are missing, especially "./lists/pca.pickle". I think I understand what it means, but there is no code to show how to compute it from the training data, and could you please share the pickle file if possible?
Also when I tried to run Refinement/demo.py, there seems no page2em() in Refinement/utils_parallel.py and can I use page2emo() in Refinement/trainer_demo.py instead?
Thank you!

Hi, I have uploaded the pca.pickle, and processing file for pca (i.e., preprocess_ldmk.py) as well.
The page2em function in Refinement/utils_parallel.py is a mistake, sorry about that. In terms of the page2emo function in Refinement/trainer_demo.py, actually it was designed for the data folders at the early stage, maybe not very useful for the data you can access from Google drive. You can easily set up both emotion and intensity as a 11-dimension one-hot vector as described in the Readme, which I strongly recommend.

Hello,
Thank you for sharing your work. I tried to run the demo (Refinement/demo.py), but found that some files are missing, especially "./lists/pca.pickle". I think I understand what it means, but there is no code to show how to compute it from the training data, and could you please share the pickle file if possible?
Also when I tried to run Refinement/demo.py, there seems no page2em() in Refinement/utils_parallel.py and can I use page2emo() in Refinement/trainer_demo.py instead?
Thank you!

Hi, I have uploaded the pca.pickle, and processing file for pca (i.e., preprocess_ldmk.py) as well.
The page2em function in Refinement/utils_parallel.py is a mistake, sorry about that. In terms of the page2emo function in Refinement/trainer_demo.py, actually it was designed for the data folders at the early stage, maybe not very useful for the data you can access from Google drive. You can easily set up both emotion and intensity as a 11-dimension one-hot vector as described in the Readme, which I strongly recommend.

Hi, When I try to run demo.py under Refinement module after modifying the paths to the model files and list files appropriately, files audio_test_all.txt and video_list_test.txt (specified in config_demo.yml) appear to be missing. Also what should be the variable gan_path in config_demo.yml  be set to ?


Support wchar_t in argv in windows

This MR will fix #2932.
There are various approaches that can be used to address this issue, such as the usage of wmain with link flag -municode. Only the applied method, however, was successful.
Signed-off-by: Yu-Chen Lin<EMAIL_ADDRESS>

Awesome, thank you :+1:
I will test soon.

I think this is not correct to modify argv passed to main (it might be non-writable memory IIRC).
I added error handling, and to keep things "separate", I moved the code to a main "wrapper". That way, the "main" main (main_scrcpy) always receives argc/argv in UTF-8 as expected. This implementation does not even require argc == wargc, so I removed the check.
Here is a branch: pr3547.
Please review and test if that still works (currently, I could not test on Windows).

I tested and it worked well.
However, I found that the elements in array argv_utf8 forgotten to free.
I slightly added related logic, please check on it.
  for (int i = 0; i < wargc; ++i) {
      free(argv_utf8[i]);
  }

Also in the windows main, the argc does not use and it will cause compiler complains.
../app/src/main.c: In function ‘main’:
../app/src/main.c:89:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
   89 | main(int argc, char *argv[]) {
      |      ~~~~^~~~

Additionally, I saw that you changed __WINDOWS__ to _WIN32 . I discovered that the code base still contains some of __WINDOWS__. Do you want them all taken out? I can change all of them if it is intentional.

However, I found that the elements in array argv_utf8 forgotten to free.

Good catch :+1:

Also in the windows main, the argc does not use and it will cause compiler complains.

OK, I added:
    (void) argc;
    (void) argv;

(yes, also argv, which was used mistakenly instead of argv_utf8 in the first version)
Here is a branch: pr3547.2.

Additionally, I saw that you changed __WINDOWS__ to _WIN32

Yes, __WINDOWS__ is a SDL define. Often, we can just use the "native" one _WIN32. Except maybe in icon.c which also uses __APPLE__ (but the windows ifdef can probably be completely removed here, since the workaround seems not to work on Windows anyway #3458).

LGTM in pr3547.2 branch.

:+1: merged in dev: 48bb6f2ea858a02e05900d9828c0089166de17df


Enemysystem, Playerhealthbar and playerdeath

Enemysystem is working:

States: Wandering, chasing, Attacking
Random accuracy
Levelvariable for health and damage
easy to adapt stats of enemytypes in general

Player:

Added Healthbar
Deletion of player entity after death

TODO:

Enemy hitbox adaption
Keys for mute music and quitting game
Depending on area adaption of enemy movement

nice work 👍


Added support for reserved variable expansion in URI templates

Moving this to a topic branch.

It would be good to have some docs to go along with this, I can't tell just form looking what this is supposed to do.

With the new routing engine, we are moving away from using RFC 6570 for the URI template schema, so  reserved variable expansion no longer applies.


How to disable the render tip?

During the mathjax render process, tool tips about renderring will show.
Although, we can show all the formula at one, by setting MathJax.Hub.Queue, some tips will still appear.
So, is there any settings to disable mathjax's render tips?
Besides this, when click on the formula, some blue or yellow border will show. How to disable it?
Thanks！

I'm not 100% sure what you're after, but I'm guessing you mean the processing messages. You can configure and disable them via showProcessingMessages and messageStyle, see http://docs.mathjax.org/en/latest/options/hub.html.
The "border" is likely the outline when an element is in focus. See my http://stackoverflow.com/questions/38986545/override-mathjax-accessibility-blue-box-feature/38990229#38990229 for some comment.

Thanks for the answer:-)


[CDE] Condition recordedDate, should use codes or date? Or both?

Same as onset[onsetAge]. Codes in CDE model, including 'date', so not sure whether to model this as just a date or as codes and/or date.

Change to:

Set date in recordedDate if known (Date code)
Otherwise, pick a code from value set that has
Antenatal
At birth
Undetermined

(slicing)


not working on proxy network,requires proxy configuration

If you configure a proxy at the OS level, then WebTorrent Desktop will use it. If you're asking for SOCKS proxy support in the app, there's already an issue for that #578


use github-clone-repo to clone templates

We should use github-clone-repo to clone template rather than spawning git command. github-clone-repo does not require you to have git installed. To remove the directory, we can use rimraf.
File that needs to be changed:
https://github.com/DevSnowflake/frost/blob/f197eadf69744b12f6c95aa53643bce7c959ed6d/src/new/index.ts#L1-L38
github-clone-repo example:
const clone = require("github-clone-repo");

clone({
    owner: "DevSnowflake",
    repository: "frost",
    branch: "main",
    outPath: `${__dirname}/output`
}).then(status => {
    if (status) console.log("Success!");
    else console.log("Failed :(");
});

Will be done, in the next release 👍🏻


Bug 1643508 - Disable touch-based pinch zooming on pdf.js.

Currently using a touchscreen with pdf.js doesn't work so well. In Firefox,
with apz.allow_zooming = false (default on current release/beta), it does a
reflow zoom which makes the UI elements bigger. And with apz.allow_zooming = true
(default on current Firefox nightly), or in Chrome, it does a smooth pinch-zoom
but that also scales up the entire UI. Neither of these is a particularly good
experience, so this patch just disables any multi-touch gestures. Touch-based
panning (which involves a single touch point) is left unaffected.

Currently deployed to https://mozilla.staktrace.com/tmp/fixtouch/generic/web/viewer.html

/botio-linux preview

Thanks!


Cannot input any command!

After some amount of troubles I finally managed to get everything ready.
But.....
Damn Stephanie doesn't work!
Can't input any voice command. It says something about ALSA lib pcm ... Unable to open slave?

Using kali linux with pip3 10.0.x and python3.5.x

You have to downgrade your pip to 9. smthing


Log processing rules randomly failing to be applied with autodiscovery

Output of the info page (if this is a bug)
$ kubectl exec -n monitoring -ti datadog-agent-worker-hzrnw -c datadog-agent s6-svstat /var/run/s6/services/agent/
up (pid 380) 64226 seconds

Describe what happened:
Trying to apply a log processing rule using autodiscovery ("ad_identifiers") and configmap in our k8s cluster works randomly depending on what the agent do first: start tailing the log file or loading the config.
If the agent loads the log config rule before start tailing the log file then the rule is applied and everything works fine but if it's all the way around the log rules are not applied:

agent status:
 janus-config
------------
Type: docker
Status: Pending

/var/log/datadog/agent.log:
2020-07-27 21:06:58 UTC | CORE | INFO | (pkg/logs/scheduler/scheduler.go:77 in Schedule) | Received a new service: docker://a972c27fa02b6dfa5f8cb5e16644863960b42fb7afa7ee530f3c1331ca4e4b75
.
.
.
2020-07-27 21:06:59 UTC | CORE | INFO | (pkg/logs/scheduler/scheduler.go:58 in Schedule) | Received a new logs config: janus-config

log file in /var/log/containers: janus-qa-honeycomb-java-chart-6668595885-5w6jb_honeycomb-qa_application-a972c27fa02b6dfa5f8cb5e16644863960b42fb7afa7ee530f3c1331ca4e4b75.log

Here you can see that the agent started tailing the log file which the log processing rule configuration should be applied to before the janus-config was loaded so the rules are not applied.
Restarting the agent (killing the pod) sometimes work but it seems to be a completely random process, the agent starts tailing log files and loading configurations without any order so it's just a matter of luck to get the log rules applied.
Describe what you expected:
The autodiscovery log rules should be loaded by the agent before start tailing log files. Here's an example when the log configuration is loaded before the log file so the log rules were applied successfully:
 janus-config
------------
Type: docker
Status: OK
Inputs: cb378c9c24f3d5a321a382c6bd77bcdeda09dea9030210b5a2b43f364139d0f6

/var/log/datadog/agent.log:
2020-07-27 21:15:38 UTC | CORE | INFO | (pkg/logs/scheduler/scheduler.go:58 in Schedule) | Received a new logs config: janus-config
2020-07-27 21:15:38 UTC | CORE | INFO | (pkg/logs/scheduler/scheduler.go:77 in Schedule) | Received a new service: docker://cb378c9c24f3d5a321a382c6bd77bcdeda09dea9030210b5a2b43f364139d0f6

log file in /var/log/containers: janus-dev-honeycomb-java-chart-6c99d8fbc5-v92b2_honeycomb-dev_application-cb378c9c24f3d5a321a382c6bd77bcdeda09dea9030210b5a2b43f364139d0f6.log

Steps to reproduce the issue:
Configure log rules using a configmap in k8s and autodiscovery with "ad_identifiers"
Additional environment details (Operating System, Cloud provider, etc):
configmap used by agent
  janus-config: |-
    ad_identifiers:
      - janus
    logs:
      - type: docker
        source: janus
        service: janus
        log_processing_rules:
          type: multi_line
          name: log_start_with_time_janus
          pattern: ".*(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]"

Datadog agent: 7.21.1 - Cloud provider: AWS
Now we are using cluster-agent but the issue was also happening when using only node-based agents.
agent_status.txt

Hey, thanks for reporting this! We have created an internal ticket for further investigating this and to develop a fix.
For the meantime, you can use apply the logs config on your target pods using annotations as a workaround. Please check out our documentation for details.

Hey, thanks for reporting this! We have created an internal ticket for further investigating this and to develop a fix.
For the meantime, you can use apply the logs config on your target pods using annotations as a workaround. Please check out our documentation for details.

Thanks JM! We already tried annotations to apply log rules (mainly multiline) and they worked fine but we are looking for a solution to this issue that does not imply any change to our pod deployments. We have a rather complex process to deploy to prod so we would like to keep monitoring configurations as isolated from applications as possible.
Regards,
Luis.

Hey @JM-Lazaro is this issue fixed now. I am also facing the same issue.

@togikirankumar Hey, yes, it was fixed in Agent 7.23 through this PR: https://github.com/DataDog/datadog-agent/pull/6316
Could you please check if you are using Agent 7.23 or higher? If not, please try upgrading your agent.
Should the issue persist, or if you were using a higher version of the agent already, we'll likely need to gather more information and the best way to share those would be through a support ticket. You can create one by sending an email to<EMAIL_ADDRESS>Let me know if you have any questions.

As per my last comment, the fix is included in Datadog Agent 7.23.0 or higher.


Vert.x guide contains a table of tech preview components, which duplicates release notes

@Ladicek Thank you. Keeping this section in the runtime guide is indeed redundant. I'll file a PR to remove. We'll link to the RN instead.

FTR, there's a link to RN already.

Indeed. One less thing to worry about, I guess:)

The section has been removed in: PR #954


No support for cache TTLs in SwapExchange

Swap\Swap has support for caching, however cache TTLs must be set by the implementing library (us). SwapExchange has no such support.
I propose adding support via an optional constructor parameter to SwapExchange that allows setting a cache TTL, and then sending that as an option to the Swap library when getting rates. If you are happy with this idea, I will submit a PR.

Hm, you could add your options here: https://github.com/florianv/exchanger/blob/master/src/ExchangeRateQueryBuilder.php#L19

How, that is an internal object that is created dynamically when you request an exchange.
Trust me, there is no way to do this without changing source files or making ugly hacks.

Ah, sorry, overlooked a class name, they are so similar. :smile:
Sure thing then, but I would rather create an optional options array and pass it as is to the underlying object. Is that what you are suggesting?

@MichaelGooden Isn't this a reason to create a new object? CachedSwapExchange. Which should be in your own namespace?

I could of course easily do that, but I feel that caching support for something like this that is accessing public web services would be used often enough to validate inclusion in the base project?

@sagikazarmark Maybe it does indeed. Since I don't do a lot with exchange and caching, could you take this one? :)

I usually do caching on the HTTP Client level, but if Swap has support for it on it's own level, I don't see a problem supporting it.
Personally I think supporting Swap's config options would be a better way to go. There are no default config support in Swap, so the options has to be passed when the actual quote-ing happens. For that a simple, optional options array would be perfect in our SwapExchange. That way caching is implicitly supported.
If you want to open a PR @MichaelGooden, go ahead with the above in mind, otherwise I will pick it up as soon as my time allows.

Reopen if still necessary


Store: failing sanity check for nil postings

Thanos, Prometheus and Golang version used:
Thanos 0.32
**What happened
Some queries fail with:
Aborted desc = fetch series for block 01H8JGWBCKTRHFWHXRFRXEGDQX: expanded matching posting: expand: postings is nil for {customerKey=dev}. It was never fetched.

Stores provide no relevant logs.

@yeya24 any idea on what could be happening here, as it seems like this path was touched in https://github.com/thanos-io/thanos/pull/6532? Relevant slack thread: https://cloud-native.slack.com/archives/CK5RSSC10/p1692865102631199


callCabal2nix filters too much (Doesn't play nice with hpack yaml includes or local subpaths)

Describe the bug
If you use callCabal2nix on a local hpack project that has includes, it will fail with an error like this:
       > *** found package.yaml. Using hpack...
       > *** hpack error: "/nix/store/8s2dikr76alrpzxk707ffyjixwvm6ikj-source/package.yaml: Yaml file not found: /nix/store/8s2dikr76alrpzxk707ffyjixwvm6ikj-source/hpack-common/defaults.yaml". Exiting.

The issue is this source filtering.
Also, if you try to pass --subpath, it will fail similarly - the subpath will be missing!
This only applies to local sources. If they are fetched, they're in the Nix store and callCabal2nix does not try to filter them.
Steps To Reproduce

Create initial haskell project with a package.yaml
Create another yaml file in a subdirectory
include that yaml file (say, <<: !include hpack-common/defaults.yaml)
Try to pop a nix-shell. callCabal2nix will fail.

Expected behavior
I expect there to be some way for me to tell callCabal2nix when additional sources are needed to generate the cabal file that cabal2nix will run on.
Adding additionalFilters to extraCabal2nixOptions would work. Then we could || those with this existing one.
If nobody objects, I will send a PR this weekend/next week with a fix.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

https://gitlab.com/ramirez7/bug-repros/-/merge_requests/1
^ I've reproduced the bug here. I also have confirmed my fix works. I'll cut a PR.


Network install (PXE) of virtual machines prevented by checks

Line 862 in resource_vm_qemu.go
return fmt.Errorf("Either clone or iso must be set")
prevents install of systems via PXE.
If boot options contain 'network' (.tf content like 'boot = "cn"') then it should not be necessary to add a (placebo) ISO image to the VM.

This is an issue for us. The current provider model is assuming either ISO or cloud-init, but Proxmox also allows other means like PXE boot or qemu arguments. Removing the requirement for either the iso or clone parameter would allow us to get rid of the dummy ISO in the IDE drive.
Another way to think about it would be to disable the provisioning step entirely, just create the VM definition in Proxmox and not even start it. Doing things this way would allow the provisioning to be handled externally, ie with a Python script adding qemu args to the VM, starting it and removing the args afterward, or anything else really.

+1 for PXE boot use case.

This should not require net to be the first in the boot order it should be able to be anywhere present as sometimes pxe is used to provision the VM not always boot from it, a use case is in the creation of a coreos VM that writes to the hard drive and then should boot from the hd on all subsequent boots

Issue seems resolved by #495 and #492


incubator/mongodb-replicaset bootstrap init-container has a possible infinite loop

Hello; we found that the incubator/mongodb-replicaset chart's bootstrap init-container contains the seeds of an infinite loop.
In its on-start.sh file, a mongod instance is started and then there is a polling loop that checks to see if it is up yet.  If that mongod instance does not in fact come up for some reason (well, if the mongo client cannot reach it), then this loop will never terminate.  The init-container thus will never complete nor fail.
In our case, I was running the chart on minikube.  I'm not sure why, but mongod dumped core (the core file vanished; not sure about that either), causing the loop to be entered.  My best guess is that the amount of storage requested by default (10GB) was too much in some way; in any event, reducing that storage request to 1GB allowed me to get around the issue.
My minikube environment is on a Mac running VirtualBox (i.e. not via xhyve) if that matters.
I don't know enough about what seems like the complicated interplay between various processes in this chart to know exactly what to change in a pull request, but I wanted to raise the issue.

Thanks for raising the issue @ljnelson. I think this failure mode is unavailable as there are a host of reasons why mongod may not start. One way to get around it might be monitoring the mongod process, so that we know when it exists and can fail the container.
Do you have thoughts on other ways this could be fixed?

Well, my naïve eyes just say: you've got a loop that never terminates.  Set it to terminate after 100,000 iterations or a timeout or something so that at least you get logs.  That would be the dead simple fix.  Obviously monitoring would be better.

Closing due to inactivity, feel free to re-open if this is still an issue.


Toontown Online - unusually high CPU usage (<IP_ADDRESS>)

When running the game via integrated graphics on my laptop without modification, the CPU only showed around 2% usage during play sessions. With cnc-ddraw on my main PC, the CPU usage appears to fluctuate between 50%-60%. Not sure what causes this. It's not to do with CPU differences either, because my friend experienced a high CPU usage as well, and his CPU is better than both of my devices.
The alleged issue with the final Toontown Online client is that the game struggles to detect your GPU's memory amount if it's above 2GB, thus causing an inappropriate length of time to boot. By this, I mean it could take literally an hour for the game to boot, and I am not willing to test this theory. This might be in tandem with the fact it's a 32-bit game, but still. I cannot launch Toontown Online on my main PC without cnc-ddraw as my GPU has 4GB of VRAM.
This is typically considered a tough one to debug since the official Toontown Online service provided by Disney had been discontinued, however there are fan-run servers to allow the original client to be played, which is how this issue had been discovered in the first place.
If you'd like to look into this more, feel free to join our Discord server. We're the only public Toontown Online server emulator, as far as I know.
https://sunrise.games/

Just tested the game and it does not use DirectDraw, so cnc-ddraw is actually doing nothing. I checked CPU usage with and without cnc-ddraw and for me it's the same.
But you are right, the game is using ddraw.dll just to call IDirectDraw__GetAvailableVidMem which cnc-ddraw does support and returns a fake value to avoid some issues like the one you did mention.
Unfortunately there isn't much I can do here, cnc-ddraw does only support DirectDraw and not Direct3d.
Here's also the cnc-ddraw.log file
[1780] 10:33:57.690 -> DirectDrawEnumerateExA(lpCallback=05D8F4B0, lpContext=0486ADB0, dwFlags=5)
[1780] 10:33:57.697 <- DirectDrawEnumerateExA
[1780] 10:33:57.697 -> DirectDrawCreateEx(lpGUID=00000000, lplpDD=0012D9A8, riid=05DB2A7C, pUnkOuter=00000000)
[1780] 10:33:57.710      Using auto renderer
[1780] 10:33:57.712      GUID = 15E65EC0 (IID_IDirectDrawX), ddraw = 015EC190
[1780] 10:33:57.712 -> IDirectDraw__AddRef(This=015EC190)
[1780] 10:33:57.712 <- IDirectDraw__AddRef(This ref=1, global ref=1)
[1780] 10:33:57.712 <- DirectDrawCreateEx
[1780] 10:33:57.712 NOT_IMPLEMENTED -> IDirectDraw__GetDeviceIdentifier(This=015EC190, pDDDI=0012D9D8, dwFlags=00000000)
[1780] 10:33:57.712 NOT_IMPLEMENTED <- IDirectDraw__GetDeviceIdentifier
[1780] 10:33:57.712 -> IDirectDraw__GetAvailableVidMem(This=015EC190, lpDDCaps=0012D9AC, lpdwTotal=0012D998, lpdwFree=0012D9A4)
[1780] 10:33:57.712 <- IDirectDraw__GetAvailableVidMem
[1780] 10:33:57.712 -> IDirectDraw__GetAvailableVidMem(This=015EC190, lpDDCaps=0012D9AC, lpdwTotal=0012D998, lpdwFree=0012D9A4)
[1780] 10:33:57.712 <- IDirectDraw__GetAvailableVidMem
[1780] 10:33:57.712 -> IDirectDraw__Release(This=015EC190)
[1780] 10:33:57.712      Released (015EC190)

The memory usage is about what you'd expect so no concerns there, but the CPU usage seems unusually high... which I don't think was ever the case with the original game.
The game allegedly functions perfectly fine with as little as 32 MB of VRAM, according to archives of the original Disney's Toontown Online website, but to be on the safe side something like 128 MB would suffice. I say this because Disney didn't put too much care into the game after its first few years of existence, so it might be outdated information.
 What do you propose I could do to rectify this? Do you know if there's a Direct3D wrapper that allows me to set a false VRAM amount?

The memory usage is about what you'd expect so no concerns there, but the CPU usage seems unusually high... which I don't think was ever the case with the original game.
The game allegedly functions perfectly fine with as little as 32 MB of VRAM, according to archives of the original Disney's Toontown Online website, but to be on the safe side something like 128 MB would suffice. I say this because Disney didn't put too much care into the game after its first few years of existence, so it might be outdated information.

Here's one with 32mb and one with 128mb (the original <IP_ADDRESS> release was using 16mb BTW):
cnc-ddraw_128mb-VRAM.zip
cnc-ddraw_32mb-VRAM.zip

Apologies if I sound dumb - I am not this level of tech-savvy. What do you propose I could do to rectify this? Do you know if there's a Direct3D wrapper that allows me to set a false VRAM amount?
I just find it weird because I've tried wrappers with just "d3d9.dll" and the game doesn't boot. It only ever boots with a "ddraw.dll" wrapper, but you're saying it has nothing to do with DirectDraw so I am a little confused.

You'll need both, a ddraw.dll wrapper to fix the startup issue with the faked VRAM amount and if there are any other issues then you'll need a d3d9.dll wrapper to cure those. The ddraw.dll wrapper really only reports the amount of VRAM to the game, it's not being used as the renderer.

I see.
So basically I just need the "ddraw.dll". The main issue is the game refusing to boot with GPUs containing more than 2GB of VRAM. I have doubts a Direct3D 9 wrapper will rectify the high CPU usage, but I guess there's no harm in looking.
From what I can tell, there's no difference between the 32MB and 128MB ddraw's you've provided me in regards to performance, so I can only assume that "telling the game how much VRAM you have" is pretty pointless outside of the initial load point. That being said, I imagine just using the base cnc-ddraw <IP_ADDRESS> release will still be fine, as I experienced no performance hitches there either.
Is there any benefit to setting a higher "fake" VRAM in this case?

Okay, I have found that the 128MB ddraw.dll allowed a Direct3D 9 to Vulkan wrapper to work. The 16MB <IP_ADDRESS> release simply crashed on boot, so I imagine the change in video memory size had something to do with it.

Ah, nice! Yeah, I don't really know what the game is doing and if theres any difference between the 128/16mb versions. Could be that the game only has the initial check or maybe it does a few other things later on.


Conflict with zigbee2mqtt - zigbee devices disappears

After adding device or restart modbus2mqtt HA addon all of zigbee2mqtt devices disappears. I need to restart HA core and from this point zigbee and modbus devices are visible at the same time.
BTW this project i awsome!!
I would like to contribute on SDM 620 Eastron energy counter, 2 sofarsolar inverters and one voltage and current accussition module when i finish preparing whole specification for them.

This will be fixed with next release. (End of this month)
The zigbee2mqtt topic won't get lost, but you are right. they will be deleted in the current session.
As a workaround, restarting zigbee2mqtt addon should regenerate the entities.
If you want to copy eastron SDM 720d,:
Edit the SDM720d.
Change the specification file name and specification name.
This will create a local copy with the name new name, but all entities.
For contribution logon to your github account, create a Github application token,
goto the Addon, enter the github token in the configuration menu.
Then you can contribute your specification at menu/import/export specifications.
If all tests are successful, your specification will be published after a few minutes.
Usually I am busy with the project. So, each specification is really great help.
Just open issues, if you face something you need.
The project gets more and more stable, but there are still things which can be improved.

Tried to copy sdm720 specifiaction to make smd630-m and no luck because of:
Error: Cannot rename a published file     at ConfigSpecification.writeSpecificationFromFileSpec (/usr/app/node_modules/@modbus2mqtt/specification/dist/configspec.js:435:31)     at ConfigSpecification.writeSpecification (/usr/app/node_modules/@modbus2mqtt/specification/dist/configspec.js:494:14)     at /usr/app/node_modules/@modbus2mqtt/server/dist/httpserver.js:485:25     at /usr/app/node_modules/@modbus2mqtt/server/dist/httpServerBase.js:98:13     at Layer.handleRequest (/usr/app/node_modules/router/lib/layer.js:145:17)     at next (/usr/app/node_modules/router/lib/route.js:159:13)     at Route.dispatch (/usr/app/node_modules/router/lib/route.js:119:3)     at handle (/usr/app/node_modules/router/index.js:428:11)     at Layer.handleRequest (/usr/app/node_modules/router/lib/layer.js:145:17)     at /usr/app/node_modules/router/index.js:293:15
Also tried to upload zip file with renamed file names and specification name but after success massage there is now new speccification in the system avaliable.

You can open SDM720 specification and change the filename of the specification. This will create a copy of it.

What do You mean "open specification"? I tried to change filename when editing specification associated to device and got error message from previous comment. Don't know how to open specification alone.


Icons.table_restaurant_outlined

I has user a icon Icons.table_restaurant_outlined in my flutter project and when i put this, show me a middle finger emogi

no way! LOL

Is this serious? I guess not. This isn't happening to me

i'm not kidding, it's real. i'm using nexus 5 emulator and 31 api android

it's same if put in another place

This is going straight into my folder of original bugs 😄. Can you please provide the output of flutter doctor -v? I can't repo on Dartpad with 3.0.0

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.1, on macOS 12.1 21C52 darwin-arm, locale pt-BR)
• Flutter version 2.10.1 at /Users/samuelbrandani/fvm/versions/2.10.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db747aa133 (3 months ago), 2022-02-09 13:57:35 -0600
• Engine revision ab46186b24
• Dart version 2.16.1
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/samuelbrandani/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] VS Code (version 1.67.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.40.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.64
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Ah, please upgrade (e.g. flutter upgrade), that version had issues with all icons pointing to other icons.

tks!


adding certs

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/529/
Test PASSed.


Chapter 4 typo

(P134) In 3rd line at the bottom,
"the 10th position in the sbs.subsets_ attribute and.." should be "the 11th position in the sbs.subsets_ attribute and..", because code is sbs.subsets_[10] not sbs.subsets_[9]

(p124) In first paragraph,
"we defined the L2 norm of our weight vector..." should be "we defined the square of L2 norm of our weight vector...".

(P134) In 3rd line at the bottom,
"the 10th position in the sbs.subsets_ attribute and.." should be "the 11th position in the sbs.subsets_ attribute and..", because code is sbs.subsets_[10] not sbs.subsets_[9]

Good catch!

p124) In first paragraph,
"we defined the L2 norm of our weight vector..." should be "we defined the square of L2 norm

Agree. I think "squared L2 norm" would be even better.


HTTP version functional test

Follow up on #58 depending on https://github.com/Runscope/httpbin/pull/305

Thanks for the PR and the patience! :+1:
Unfortunately I don't see this landing in httpbin any time soon, so this test still fails. Do you think it makes sense to implement this with a local test server similar to the tests introduced via #67? :shipit:

Seems HTTPBin outright rejected Runscope/httpbin#305, doing that makes sense will look into that :+1:


500: 'NoneType' object has no attribute 'args'

Getting this on https://latest-with-plugins.datasette.io/-/search

Here's the bug source: https://github.com/simonw/datasette-pretty-traces/blob/172938283e84743bfd012e95c3a394daca5b1759/datasette_pretty_traces/init.py#L4-L11

https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-extra-template-vars does say that request could be None.

https://latest-with-plugins.datasette.io/-/search shows the fix now.


[New Feature]: Need an API to retrieve the platform dependency path of the certain imported module

Description
We have a use case where we need to access the platform dependency jar from the Ballerina project's imported modules from the Persist CLI tool. Let's say, for example,
We have a Ballerina project that imports the ballerinax/mysql.driver module. The ballerinax/mysql.driver module has a platform dependency on the MySQL driver jar. Once we build the project, this module is pulled from the central and stored in the local cache. If we check the local cache, the MySQL driver jar is located in the path[1]. We need to access this path from the Persist CLI tool as we need to execute SQL scripts against the DB.
Is there an API from the project level in which we can get the platform dependency path of the certain imported module? If not, can we provide one?
[1] <user_home>/.ballerina/repositories/central.ballerina.io/bala/ballerinax/mysql.driver/1.3.0/java11/platform/java11
Related area
-> Compilation

Closing since there is a workaround.


Add qchem gates and generators

Context:
This PR adds all unsupported parameterised gates and generators for adjoint-diff including,

SingleExcitation,
SingleExcitationPlus,
SingleExcitationMinus,
DoubleExcitation,
DoubleExcitationPlus,
DoubleExcitationMinus,

Benchmark:

Thanks, @maliasadi for the great works! But can we merge this after my PR (#274) as it involves several changes in kernels?

Thanks, @maliasadi for the great works! But can we merge this after my PR (#274) as it involves several changes in kernels?

Sure thing @chaeyeunpark!

Hi @maliasadi, I will review this PR when the changes in master are merged.


Adding tests not settled detection support in tests

This PR adds support for detecting if a test is not settled in tests. It tests for the settledness of timers via isSettled in ember-test-helpers.
A test is considered settled if it:

has no pending timers
is not in a runloop
has no pending AJAX requests
has no pending test waiters

So I know that settled doesn't necessarily immediately scream what it does, it is consistent from ember-qunit through ember-test-helpers. Also, the specific reason I added more detail to the function names within the module is to help define settled.
That said, if I were to change it, I'd probably opt for:
setupTestAsyncLeakDetection
That helps convey that we're setting up async leak detection for tests. What do you think?

@rwjblue and I arrived at setupTestIsolationValidation.

@rwjblue any more changes required here?


Fix long text disappears when TextField height is small

Description
As reported in https://github.com/flutter/flutter/issues/78622, when using a small TextField height, a short text is entirely visible but a longer one could partially (or fully) disappear.
This is related to RenderEditable.paint adding clipping only when the text overflows.
This PR changes the height of the clip to use RenderEditable.preferredLineHeight as a minimal value.
Related Issue
Fixes https://github.com/flutter/flutter/issues/78622
Tests
Updates 1 test.

Ah I was just working on the same thing: https://github.com/flutter/flutter/pull/110966.
{TextPainter, RenderEditable}.preferredLineHeight unfortunately is not a reliable measurement of the height of the first line.
Also I don't think we should introduce a "minimal clip heighttoRenderEditable. RenderEditablereports itssizeto its parent and when clipBehavior is notNone` it should never paint outside of its reported bounds.

it should never paint outside of its reported bounds.

One side of https://github.com/flutter/flutter/issues/78622 is that the RenderEditable draws outside of its reported bounds while the text is short enough. This leads to the text suddenly disappearing only when it overflows (clipping is added only when the text overflows).
Another way to fix https://github.com/flutter/flutter/issues/78622 would be to always clip (even when the text doesn't overflow), doing so there is no surprising behavior.
An intermediate solution would be to add an assertion to make the developper aware of this problem.
@LongCatIsLooong Is this the goal of https://github.com/flutter/flutter/pull/110966?


Should TaskbarProgress be a module?

Does it make sense for it to be a class?
Maybe if we add more utility methods that need to keep track of data per instance?

First of all only Ruby Core classes should be defined inTOPLEVEL_BINDING(ie, that particular instance ofObjectcalled <main>.) It should be wrapped in a namespace module somewhere.

Secondly, it may be more powerful as a mixin module.
ie, CommunityLibrary::Mixin::TaskbarProgress
Then multiple coders can create a class in there own namespaces and modify them, as well as creating a basic core UI class, if you wish, ex:
require "su_taskbar_progress"
module UI
  module Windows
    class TaskbarProgress
      include CommunityLibrary::Mixin::TaskbarProgress
      # overrides and extra methods ?
    end # class
  end # module Windows
end # module UI

Other coders do the same only within their own namespace(s).
They could actually have slightly different classes for different plugins.

Third. Instance data. Attributes can also be setup in a mixin module to initialize when mixed into a class. But starting with a class means you can't make it a double duty library module. (Ie, one that can be called directly via a module function for the most basic features, or mixed into other modules and classes.)


Question about  tcl.vim

https://github.com/vim/vim/blame/7724d621f21ff6599ba49f11401ddb45ff321099/runtime/syntax/tcl.vim#L130
This and the following line seem to be there for already 20years, but only now I found them, and don't understand them.
In particular, they spoil the highlighting for Tcl-scripts few lines below any occurrence of command "variable".
Tcl-command "variable" just takes a list of arguments being variable names and initialization values alternately.
e.g.:  variable foo "forty two" bar 42 snafu ;#  all get linked to namespace; foo and bar also get overwritten, snafu not.
I commented them out in my local installation of vim, and all seems fine, now I'd like to know what could have been the original reason for them...   I'm not yet claiming they're wrong, but maybe someone still remembers the motives for adding.

you really should try to check back with the actual maintainer of the file.


Using sound in windows leads to client crash after some time.

Description
Using sound in windows leads to client crash after some time.
To Reproduce
Steps to reproduce the behavior:

Connect to a server with sound support using the /sound switch.
Open a really long youtube video
Wait for some time. I can consistently reproduce the crash after about 1 hour, sometimes less, sometimes more.

** Application details

Nightly build 710, win32, vs2013
Windows Server 2016

Desktop:

OS: Windows 10

Additional context
Came across these bug while testing for issue #5514

#5818 should fix the issues (and your sound problems in general).
Looks like a buffer was freed up prematurely

Testing nightly build 718: The sound is much improved but the client freezes after a while.

@vscfreire well, some log would be interesting ;)

@akallabeth unfortunately the log isn't very helpful as the client freezes, requiring to force close it. This looks like something between the client and the sound backend because until I force close it, I can't even open Windows volume mixer.


breaks "Angular Language Service"

With both "IntelliSense for CSS class names" and "Angular Language Service" enabled, following happened.
Starting VS Code in a pretty basic test project spawns a VSC process that continues to increase memory consumption at 10-13% CPU load (i7-6800K) ultimately resulting in ALS repoting "JavaScript heap out of memory".
Closing VS Code does not kill the process, but leaves it running at CPU load and memory fluctuating around 2-3 GB.
Disabling Angular Language Service makes everything else work.
Disabling IntelliSense for CSS class names makes everything else work.
When adding IntelliSense for CSS class names, the output for ALS shows
Search path: c:/1work/Programming/angular2/routing-start/node_modules/clone
Full ALS log with IntelliSense for CSS class names (autocomplete/intellisense never works for anything)
Search path: c:/1work/Programming/angular2/routing-start/src/app/servers
Config file name: c:/1work/Programming/angular2/routing-start/src/tsconfig.json
Angular Language Service: 5.0.0-beta.5
TypeScript: 2.4.2
getTemplateRefrences: 818ms
Add recursive watcher for: c:/1work/Programming/angular2/routing-start/src
Opened configuration file c:/1work/Programming/angular2/routing-start/src/tsconfig.json
getTemplateRefrences: 0ms
Search path: c:/1work/Programming/angular2/routing-start/node_modules/clone
Config file name: c:/1work/Programming/angular2/routing-start/tsconfig.json
Angular Language Service: 5.0.0-beta.5
TypeScript: 2.4.2
getTemplateRefrences: 632ms
Add recursive watcher for: c:/1work/Programming/angular2/routing-start
Opened configuration file c:/1work/Programming/angular2/routing-start/tsconfig.json
getTemplateRefrences: 0ms
getTemplateRefrences: 0ms
Angular Language Service: 5.0.0-beta.5
TypeScript: 2.4.2
getTemplateRefrences: 105ms
Search path: c:/1work/Programming/angular2/routing-start/src/app
Config file name: c:/1work/Programming/angular2/routing-start/src/tsconfig.json
getTemplateRefrences: 0ms
getTemplateRefrences: 0ms
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Full ALS log without IntelliSense for CSS class names (autocomplete/intellisense works at startup)
Search path: c:/1work/Programming/angular2/routing-start/src/app/servers
Config file name: c:/1work/Programming/angular2/routing-start/src/tsconfig.json
Angular Language Service: 5.0.0-beta.5
TypeScript: 2.4.2
getTemplateRefrences: 711ms
Add recursive watcher for: c:/1work/Programming/angular2/routing-start/src
Opened configuration file c:/1work/Programming/angular2/routing-start/src/tsconfig.json
getTemplateRefrences: 0ms
getDiagnostics: 43ms

Note that, there is an similar issue breaking the Polymer/vscode-plugin, so the "fault" is probably in here.

I guess this issue has been fixed in the latest update. Thanks to Erich Gamma for this great pull request #90.


MalihuScrollbarService / MalihuScrollbarDirective not exported in the bundle

Hello,
Looking at the npm bundle in the current version 1.2.1 (node_modules\ngx-malihu-scrollbar\dist\bundles\ngx-malihu-scrollbar.umd.js) it seems only MalihuScrollbarModule is exported, not the directive or service, so the service cannot be injected (MalihuScrollbarService is undefined and cannot be used as a token).
Reproduced here: https://plnkr.co/edit/YQaW13j5sW5n7xKjjX7F
(BTW thanks for the performance in 1.2.1, it seems to work fine, the dirty checking is not invoked on each auto-update anymore).
Regards,
Jeremy

Hi @philippejer,
Thanks for the plunker, you have to import MalihuScrollbarModule in the AppModule for the service to be registered but even when It's done, you are right there is still a problem as MalihuScrollbarService does not seems to be exported in the bundle files.
I updated the plunker with the import statement for MalihuScrollbarModule:
https://plnkr.co/edit/udrbMTov42xcQ69fSIVl
I'm going to take a look at it this weekend ... I'll keep you in touch.

Bundle exports are not fixed, please update to v1.2.2.
I updated the plunker with latest version and it works fine now:
https://plnkr.co/edit/MU8D0sMfEXiLifAnCm5X

Hi @jfcere,
Just upgraded to 1.2.2  and it works perfectly, thanks for the quick resolution!
Regards,
Jeremy


Non-coded cultural traits are not searchable

 Issue by dleehr
Wednesday May 07, 2014 at 18:00 GMT
Originally opened as https://github.com/NESCent/dplace/issues/75

Many cultural traits (especially those from binford) are stored by value, without a pre-defined code.
For example, there is a VariableDescription with name Distance moved per year (miles)- average of values presented in table 8.04.
The codes are

0.1

0.1

But the values can be any number.  The cultural traits search interface has no way to search on value, just checkboxes for codes

 Comment by dleehr
Monday Aug 11, 2014 at 14:57 GMT

Select all in #80 could include these values, slice into quintiles/mean/SD?

 Comment by dleehr
Monday Aug 11, 2014 at 14:59 GMT

Some discussion about binning the data

@stefelisabeth can you check this is still an issue?

Has been done.


feat: replace to jhey dark mode button from code pen

hey @derecklhw ! thanks for the PR ! I've deployed it on staging, but when I click the button it doesn't trigger the animation. Can you take a look? The preview is deployed here : https://frontendmu-astro-gk42ps9km-frontendmu.vercel.app/


Add enum constraints to validation docs

First doc update for #1734

Coverage remained the same at 82.28% when pulling dddc3806d7eaa7311145a1e40769f8e484d4d1c0 on nickbabcock:valid-enum into a0c5e2ab97a91200e09c91397fab0a0c359b8483 on dropwizard:master.


Added features for using regex in queue name and pretty output

Hi guys,
I had a really important task to adopt this plugin for monitoring queues, specified using regex, as queues are being created and deleted automatically.
I would like to share with you my changes, maybe it will be useful for someone else.
Changes doesn't brake any functionality, only adding features.
New command line options:

regex, Boolean, default: false. If you specify this option, your --queue option will be working as regex
pretty, Boolean, default: false. If you specify this option, output will be multilines

Great! The regex option is just what I was looking for :)
Any idea when the new gem will be released?

This is included in 2.1.0, now live on rubygems.


[Error] Downloading stash for Hardcore Talisman

[Error] Downloading stash for Hardcore Talisman, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues

You need to include DebugInfo.log so I can see what the error is.

Procurement 1.9.8 has been released, please retest and open a new issue if you still have problems
https://github.com/Stickymaddness/Procurement/releases/tag/1.9.8


Why can not store the struct hasElaborateAssign, hasElaborateCopyConstructor

And delegate can add to support . i think it same as isDynamicArra, but shoudl be null, when don't use.

I understand this to be a duplicate of #35.


unable to build with -O3 on Linux+gcc

Raised in https://github.com/beanstalkd/beanstalkd/issues/423:
$ make bench
gcc -O3 -Wall -Werror -Wformat=2 -g   -c -o testheap.o testheap.c
gcc -O3 -Wall -Werror -Wformat=2 -g   -c -o testjobs.o testjobs.c
gcc -O3 -Wall -Werror -Wformat=2 -g   -c -o testserv.o testserv.c
gcc -O3 -Wall -Werror -Wformat=2 -g   -c -o testutil.o testutil.c
ct/gen testheap.o testjobs.o testserv.o testutil.o  >ct/_ctcheck.c.part
mv ct/_ctcheck.c.part ct/_ctcheck.c
gcc -O3 -Wall -Werror -Wformat=2 -g   -c -o ct/_ctcheck.o ct/_ctcheck.c
gcc -O3 -Wall -Werror -Wformat=2 -g   -c -o ct/ct.o ct/ct.c
ct/ct.c: In function ‘writetokens’:
ct/ct.c:543:18: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
             write(wjobfd, &c, 1); /* ignore error; nothing we can do anyway */
                  ^
ct/ct.c: In function ‘runbenchn’:
ct/ct.c:326:14: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
         write(durfd, &bdur, sizeof bdur);
              ^
ct/ct.c:327:14: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
         write(durfd, &bbytes, sizeof bbytes);
              ^
cc1: all warnings being treated as errors
make: *** [ct/ct.o] Error 1

It looks like this may have been fixed in fa5a6460d716b3a3f6ad29385fde18ec7e3559d5. Do these errors still show up on commits after that one?

 These are errors from @sergeyklay trying beanstalkd before I have included an updated ct to it.


Replace vinyl fs by fast glob

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
129

Relevant Lines:
129

💛  - Coveralls


Added axios api and error component

Changes
Added Axios api and used async-await instead of fetch api. Added error component which will be showed when there is not data available.
Fixes issue #4

looks good to me
Browser metadata
Path:      /?utm_source=github&utm_campaign=bot_dp
Browser:   Firefox 92.0 on Linux x86_64
Viewport:  1842 x 951 @1x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved


Question: Keep Highlight of Previous Panes

Is there a way to leave highlighting on between panes when using split editor and the adjacent file is in focus?
It seems to be that highlight related extensions such as Footsteps don't show when focus changes and it would be awesome if there was a way to visually reference between panes.

great idea, sorry about the delay!


Error when reading tfevents files written with TensorBoardLogger v0.1.21

Hello, I updated TensorboardLogger to the latest 0.1.21 version, and the following minimum example doesn't work anymore:
using Logging
using TensorBoardLogger
using ValueHistories

logger = TBLogger("logs"; min_level=Logging.Info)

with_logger(logger) do
    @info "train" loss = 1.0
    @info "train" loss = 0.0
end

r = TBReader("logs1")
hist = MVHistory()

TensorBoardLogger.map_summaries(r) do tag, iter, val
    push!(hist, Symbol(tag), iter, val)
end

Here is the error:
ERROR: AssertionError: crc_data == crc_data_ck
Stacktrace:
 [1] read_event(f::IOStream)
   @ TensorBoardLogger ~/.julia/packages/TensorBoardLogger/LO5eP/src/Deserialization/deserialization.jl:49
 [2] iterate(it::TensorBoardLogger.TBEventFileIterator, state::Int64)
   @ TensorBoardLogger ~/.julia/packages/TensorBoardLogger/LO5eP/src/Deserialization/deserialization.jl:126
 [3] map_summaries(fun::var"#21#22", logdir::TBReader; purge::Bool, tags::Nothing, steps::Nothing, smart::Bool)
   @ TensorBoardLogger ~/.julia/packages/TensorBoardLogger/LO5eP/src/Deserialization/deserialization.jl:270
 [4] map_summaries(fun::Function, logdir::TBReader)
   @ TensorBoardLogger ~/.julia/packages/TensorBoardLogger/LO5eP/src/Deserialization/deserialization.jl:248

Reading files written with an older version still works.
Am I missing something ?
ps: by the way, it seems that version 0.1.20 cannot be installed from the general registry for some reason (only from the github repository url)

I can confirm that I am having the same error.
I have tracked down the commit which introduced this error (see https://github.com/JuliaLogging/TensorBoardLogger.jl/commit/45f831e21570870e11825f34b5b2aeeebc456f15). It is caused by upgrading to the a newer protobuf version. I would guess that the masked_crc32c (this file) is perhaps faulty? I keep getting checksum errors for my own issues.

@BatyLeo https://github.com/JuliaLogging/TensorBoardLogger.jl/pull/132 will fix hopefully fix the issue. If you would like to try out the fix before it is merged, you can checkout the branch
pkg> rm TensorBoardLogging
pkg> add https://github.com/JamieMair/TensorBoardLogger.jl#fix-serialisation-bug

Just be sure to switch back to the original package once the PR is merged.

I just tested the changes, and it seems to work. Thank you for the quick fix !


MSTEST0037 (proper assert analyzer): Don't report for user defined equality operators

Fixes #4414

I think it should. It should be the compiler responsibility to give us the correct OperatorMethod with the correct MethodKind.


EMP effect for Silicons

Description
General fixes and additions to the Silicon stuff.
TODO

[x] Add EMP effects to Silicons
[ ] Add solar flare effects to Silicons
[ ] Markings?

Changelog
:cl:

add: IPCs (and other Silicons) do not appreciate EMP grenades :)

I think this is ready to merge? Sanity check it when it's reviewed.


Update implementations.md

Add LoxiLB Gateway API implementation

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Added LoxiLB as Gateway API implementations.
Which issue(s) this PR fixes:

Fixes # None
Does this PR introduce a user-facing change?:

No
Added LoxiLB as Gateway API implementations.

/retest

/test pull-gateway-api-verify

/lgtm


[Select] inputProps type not showing

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
when i provide inputProps{{ type: 'test'}}
there is no type="test" in the HTML input element
Expected behavior 🤔
type prop is visible in the HTML element
Steps to reproduce 🕹
[Steps:

](https://codesandbox.io/s/multipleselect-demo-material-ui-forked-ju3c8e?file=/demo.tsx:1742-1746)
Context 🔦
Im trying to change the type of Select through inputProps.
sandbox from the mui site: https://codesandbox.io/s/multipleselect-demo-material-ui-forked-ju3c8e?file=/demo.tsx:1742-1746
Inspect the select and see that type is missing.

  Output from `npx @mui/envinfo` goes here.

Could you please share what's your use case here? The Select component is meant to replace and hide the native input. The ability to customize the type was deliberately disabled in #17390


Set of blocks gets imported into all my projects

Describe the bug
Whenever I open an old project or create a new one, a set of blocks gets imported into my workspace

I can't drag them around, but I can interact with the field editors. If I make a new Arcade tab, the issue goes away and the blocks no longer appear.

To Reproduce
I haven't tried to reproduce this yet. I wasn't doing anything strange, just opening a lot of projects
Desktop (please complete the following information):

OS: Windows
Browser Chrome87

@livcheerful is this in /beta or live?

It was in live -- it only happened once, and after refreshing it went away 🤷♀

Closing as no repro.


Crosschain delegatable resolver

Replaced Owned Resolver with DelegatableResolver.
The changes includes

Remove static target address at L1 constructor
Add setTarget(node, resolver)/getTarget(node)
Add minimum isAuthorised function (enough for the hack week purpose).

Per Tenderly, this is failing because the wrapper is exceeding the max code size. Try replicating the compiler version and optimization settings from the NW repo.


IntelliSense confused by Action<> overloads

Description
I was trying to create a Windows Service in .NET 6 following this documentation.
I want to read the settings from appsettings.json so I added the following code:
IHost host = Host.CreateDefaultBuilder(args)
    .UseWindowsService(options =>
    {
        options.ServiceName = "My Service";
    })
    .ConfigureServices(services =>
    {
        var settings = new ScriptOptions(); // ScriptOptions is just a POCO class
        services.Configuration.Bind(settings);

        services.AddHostedService<WindowsBackgroundService>();
    })
    .Build();

As you can see, IntelliSense seems to recognize there is Configuration property in services (instance of IServiceCollection instead of HostBuilderContext).

However the code wouldn't compile because IServiceCollection does NOT have Configuration property, but HostBuilderContext does.
I realized ConfigureServices method has 2 overload (actually there is one, the other is extension method):
// Default Method
IHostBuilder ConfigureServices(Action<HostBuilderContext, IServiceCollection> configureDelegate);

// Extension Method
public static IHostBuilder ConfigureServices(this IHostBuilder hostBuilder, Action<IServiceCollection> configureDelegate)

So in the case of using Extension Method, somehow IntelliSense thought services is HostBuilderContext.
Note: I already fixed my problem, just want to report strange behavior of IntelliSense that made me spend a lot of time figuring out why my code couldn't compile. Here's the fix if anyone is interested:
    // Add ctx parameter
    .ConfigureServices((ctx, services) =>
    {
        var settings = new ScriptOptions();
        ctx.Configuration.Bind(settings);

        services.AddHostedService<WindowsBackgroundService>();
    })

Configuration

Which version of .NET is the code running on? 6.0
What OS and version, and for Linux, what distro? Windows 11 Pro
What is the architecture (x64, x86, ARM, ARM64)? x64
Do you know whether it is specific to that configuration? I am not sure, probably not
If you're using Blazor, which web browser(s) do you see this issue in? None

Regression?
I don't know
Other information
Microsoft Visual Studio Community 2022
Version 17.0.0
VisualStudio.17.Release/17.0.0+31903.59
Microsoft .NET Framework
Version 4.8.04161
Installed Version: Community

cc @mairaw

This is not related to the tutorials but instead it's an IntelliSense issue. @jaredpar @terrajobst would you know who can help with this?

@datvm would it be possible to share a repo with instructions on how to reproduce the issue? We can try to take a look.

@eiriktsarpalis Hi, just create a new project with Worker template and you have the problem immediately in Program.cs file:

Github Repo if you still need it.

Hi is there any update on this issue? It's still happening today (VS 2022 17.2.3)

Since this is happening in VS, you might be able to get better support if you file the issue through Visual Studio Help menu.


perf: simplifier performance issues on match and if-then-else terms

!bench

!bench

Subsumed by https://github.com/leanprover/lean4/pull/3124


Allow Multiple Logins on One Game Provider

For each of the game providers, one player may have multiple accounts and each account may own different games. Unfortunately, now GOG Galaxy only allow only one login on each game provider.
Is it possible to support multiple logins for any of the game providers? It would empower GOG users to manage all owned games with the only one App.

I second this. I have several Steam accounts for all family members and would like to see a simple way to integrate them on s single view to avoid buying the same game more than once.

Yes this is a feature i would like to see too. We have also different family accounts on different providers (Steam, Uplay). Thios would be a really great feature!

Yup, I have two steam accounts.

I have two Steam accounts, two uPlay accounts, and three Battle.net accounts. Would love to be able to add all of them.

I have multiple XBL and PSN accounts for different regions, so this would be very helpful.

This is still not addressed....

+1

Hi, i have multiple account on origin... Some news about this task?

Cannt you just copy/rename the Provider?

I second this, i have multiple accounts in different platforms and i would like to have them

I have 2 Steam accounts and my brother (whom I share my PC with) has another, so this feature would be very much appreciated!

I too would like this.