getting "mismatched image rootfs and manifest layers" error

I used spin new -> build -> registry push to get this image and used the same manifest as is in the readme (just swapping out the image). Has anyone seen this error before?
8s  Warning   Failed  Pod/wasm-spin-bb58f6ff7-ddgnf    Failed to pull image "michellenoorali/spin-hello-world:0.2.0":
failed to pull and unpack image "docker.io/michellenoorali/spin-hello-world:0.2.0":
failed to unpack image on snapshotter overlayfs: mismatched image rootfs and manifest layers

containerd containerd.io 1.6.24 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
That makes sense! I'm using 1.6.24

The image in the readme worked but my image doesn't so I'm not sure it's related to containerd version.

that adds up, the image in the readme ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:latest is a docker image (with file layers).  The spin registry push containers layers that are wasm modules.  Containerd  1.7.7+ and 1.6.25+, support passing the wasm layers to shim.
regctl manifest get ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:latest
Name:        ghcr.io/deislabs/containerd-wasm-shims/examples/spin-rust-hello:latest
MediaType:   application/vnd.docker.distribution.manifest.v2+json
Digest:      sha256:221265a115e546def1456129f6c198f9081e4ab2c13a6140ea922b9713a08312
Total Size:  517.814kB

Config:
  Digest:    sha256:3bdd29c8927f1c6b466d647d14e4b68a7cfe804979cb8dfffee35cbf862e36d1
  MediaType: application/vnd.docker.container.image.v1+json
  Size:      926B

Layers:

  Digest:    sha256:032342d286f3e92020292fce0c0d18a51ee74dce9a284e5689298e782d4b9683
  MediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
  Size:      73008B

  Digest:    sha256:a4aba4465d1dad90f644a7aed51519e7e31766199fec980bff391fb194b78082
  MediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
  Size:      297B

  Digest:    sha256:8f6c8af1ac07843b9d2f5ec2b4d4cd651d49ed3922d97b1aad04feeb63770db6
  MediaType: application/vnd.docker.image.rootfs.diff.tar.gzip
  Size:      444.509kB

vs
regctl manifest get jsturtevant/spin-wasm-shim:latest-2.0
Name:        jsturtevant/spin-wasm-shim:latest-2.0
MediaType:   application/vnd.oci.image.manifest.v1+json
Digest:      sha256:e229d347cc81c1765d0380b13e9833f316a7d8f0bea008362f88040f76e3ebc5
Total Size:  839.863kB

Config:
  Digest:    sha256:aabedf0b094944b344cecbffcfa0a9172e905a5d156bdf67c4c6cbb6d27d1d92
  MediaType: application/vnd.oci.image.config.v1+json
  Size:      78B

Layers:

  Digest:    sha256:499237ead273693b70fb4110b179226fe857efb6da0865fd8f8c98437f8c4467
  MediaType: application/vnd.wasm.content.layer.v1+wasm
  Size:      146.992kB

  Digest:    sha256:270f42cf04ef6dd5b5d223d14bf9a6c703f1f0df7dded6db897997006fa2ca26
  MediaType: application/vnd.wasm.content.layer.v1+wasm
  Size:      692.031kB

  Digest:    sha256:93ee26094f453e2ef31fd8ed27a9561fd168063141dd6a19dc735d89ed903c97
  MediaType: application/vnd.fermyon.spin.application.v1+config
  Size:      840B

Thank you so much for the helpful explanation @jsturtevant !


ChromeOS discussion

@aghasemi wrote…

Is there any active development on the ChromeOS version?

Here's the Chromebook installation instructions:
https://github.com/Linuxbrew/brew/wiki/Chromebook-Install-Instructions
@DoomHammer What's the status of Linuxbrew on ChromeOS?

Hi, I lack a ChromeOS machine myself, but tried installing Linuxbrew on a VM running ChromiumOS. If I recall correctly it mostly worked when bootstrapped using Brewstrap. I would like to integrate it with upstream Linuxbrew/installer at some point, though I haven't touched it for a while.

Thank you. I'm pretty sure it will dramatically increase the market share of linuxbrew.

@aghasemi If you could try Brewstrap and tell whether it works for you I would be obliged :)

I don't have Chromebook myself :D
I will try it on CloudReady.

That's what I use as well :)

Maybe we can ask reddit users for testing?
https://www.reddit.com/r/chromeos/
https://www.reddit.com/r/Crouton/

Let's confirm that it works without any significant gotchas before we release it upon the reddit hoards.

Hi,
I tried to do the step by step guide mentioned here:
https://github.com/Linuxbrew/brew/wiki/Chromebook-Install-Instructions.
At this step:

Let's see if everything is working. For now to make gcc work right we need to temporarily set LD_LIBRARY_PATH.
export LD_LIBRARY_PATH=/usr/local/lib
brew install hello && brew test hello && brew remove hello
unset LD_LIBRARY_PATH. ```

I got this error:
/bin/bash: symbol lookup error: /bin/bash: undefined symbol: rl_signal_event_hook
Any idea?
I'm on the official VirtualBox image of the CloudReady team, version 48.

That symbol rl_signal_event_hook may be defined in librt.so. I haven't confirmed.

Which means??

Thank you. I'm pretty sure it will dramatically increase the market share
of linuxbrew.
On Mon, Oct 24, 2016 at 11:52 AM, Piotr Gaczkowski<EMAIL_ADDRESS>
wrote:

Hi, I lack a ChromeOS machine myself, but tried installing Linuxbrew on a
VM running ChromiumOS. If I recall correctly it mostly worked when
bootstrapped using Brewstrap https://github.com/doomhammer/brewstrap. I
would like to integrate it with upstream Linuxbrew/installer at some point,
though I haven't touched it for a while.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Linuxbrew/brew/issues/142#issuecomment-255697091, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHAs7_aI_7ygQBjol3CoNyrkWYFb3p5fks5q3H_rgaJpZM4KeMiF
.

Setting LD_LIBRARY_PATH can create all sorts of havoc that are difficult to debug. Perhaps @DoomHammer has a suggestion to avoid setting LD_LIBRARY_PATH.

Didn't have time recently to get back to it, but I will try to get up to date (both myself and the code). I remember I had some issues regarding glibc installation via brewstrap but don't quite remember whether they were seen on ChromeOS or other systems.

I just had an idea for a workaround for installation prefix. Try
mkdir /home/linuxbrew
ln -s /usr/local/.linuxbrew /home/linuxbrew/.linuxbrew

And then try installing a bottle using --force-bottle, for example
brew install --force-bottle openssl

It might work!

May I ask ignorantly what is a bottle and why should we force it? :)

Not at all. A bottle is a precompiled binary package. Using bottles means you don't have to compile packages from source.

@sjackman is this resolved and do the instructions for ChromeOS on the wiki work?

I don't have access to a ChromeOS device, so I don't know the answer myself. The wiki is publicly editable for anyone who would like to update it.


typecheck fails

Describe the bug
Running command typecheck failed due to no providing declaration file of utils.js
To Reproduce

Go to root of the project
run typecheck script
Scroll down to '....'
See error

Expected behavior
Type check must be finished without no errors.
Screenshots

Additional context
You maybe considering allowJS: true  or converting utils.js to TS version.

I'm working on a PR that fixes this.

I'm working on a PR that fixes this.

Nice thank you!

@jrgarciadev Opened https://github.com/nextui-org/tailwind-variants/pull/41 which fixes this and all the type errors in the d.ts files.


fido2: add typehints

This PR adds type hints for fido2 and its needed components like helpers and cli.fido2
Changes

set fido2 and cli.fido2 to strict checking with mypy
mainly added type-hints

Checklist

[x] tested with Python3.9
[x] run make check or make fix for the formatting check
[x] signed commits

Test Environment and Execution

OS: Arch
device's model: NK3AM + NK FIDO2
device's firmware version: 1.2.2 + 2.4.0

Comments

overall there are some # type: ignore (~20x), which are added to avoid changing logic
added @todo (3 parts need a rewrite, make_credential and find related) near these parts, as they have to be rewritten for a proper type hint usage
for "simple" cases some minimal actual code(-logic) changes have been done
any random-walk-tests would be highly appreciated using either a nk3 or fido2 device

Tested:

[ ] challenge-response
[ ] change-pin
[x] delete-credential
[ ] list
[x] list-credentials
[x] make-credential
[ ] reboot
[ ] reset
[x] rng
[ ] set-pin
[ ] status
[ ] update
[ ] util
[x] verify
[x] version
[x] wink


[9.x] Improve test for intersectByKeys in collection

if there is duplicate key in the given array is present, the item in the original collection will be return

I fixed the broken build on 9.x. Please rebase your branch and mark as ready when done, thanks!


⚠ SceneTime has degraded performance

In 258f01e, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 4060 ms

Resolved: SceneTime performance has improved in 6d80a02 after 6 minutes.


/download/{deviationid} won't get some results

Example with deviation 13A14937-CC91-A649-1B51-5D1CF435307C, works in sandbox but as a request says the deviation is not downloadable. Guess it's tied to it being mature, but mature_content=true had the same result

This is likely an authentication difference between console and your other request.

Care to provide more details? I'm using a valid Bearer token, if otherwise I'd get a 401 response. Other calls do work.

Different user maybe? The error usually means the download is private and the user is not the owner.

The download is not private. Did you check the deviation?
https://www.deviantart.com/soumakyo/art/Ulala-Space-Dressing-Game-22583264

Which user are you using to call the endpoint?

ptcghunter for both console and other request

This is working for me:
curl --verbose 'https://www.deviantart.com/api/v1/oauth2/deviation/download/13A14937-CC91-A649-1B51-5D1CF435307C' -d access_token=
< content-type: application/json; charset=utf-8
< content-length: 747
< date: Wed, 04 Oct 2023 05:58:51 GMT
< server: Apache
< cache-control: Private, no-cache, no-store, must-revalidate, max-age=0, max-stale=0, post-check=0, pre-check=0
< pragma: no-cache
< expires: 0
< vary: Accept-Encoding
< x-backend: web_http_back
< x-cache: Miss from cloudfront
< via: 1.1 1557bb1095d8a4a6e7c25ddbf3b48cec.cloudfront.net (CloudFront)
< x-amz-cf-pop: LHR50-P2
< x-amz-cf-id: VtLz75XeWV7ZF43lSeaqPDlHS54SkyEntBCC3TlQOoU0sJwcjMYjHw==
<
* Connection #0 to host www.deviantart.com left intact
{"src":"https:\/\/wixmp-ed30a86b8c4ca887773594c2.wixmp.com\/f\/9bed27a4-1a3d-435d-9611-1e64c8896161\/ddg1cw-4eb39f76-fc21-4dff-bd56-9cb177068c08.swf?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsImV4cCI6MTY5NjM5OTczMSwiaWF0IjoxNjk2Mzk5MTIxLCJqdGkiOiI2NTFjZmYxYmU4YzU3Iiwib2JqIjpbW3sicGF0aCI6IlwvZlwvOWJlZDI3YTQtMWEzZC00MzVkLTk2MTEtMWU2NGM4ODk2MTYxXC9kZGcxY3ctNGViMzlmNzYtZmMyMS00ZGZmLWJkNTYtOWNiMTc3MDY4YzA4LnN3ZiJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTpmaWxlLmRvd25sb2FkIl19.tl9v1ontLL0nH6AAwg0TuyPmFSu1O0BvW6XiBK6vkec","filename":"ulala_space_dressing_game_by_soumakyo_ddg1cw.swf","width":800,"height":700,"filesize":650519}

Also checked your user and everything looks correct, the user is over 18 and allowed to download the file etc. One thing to check is that you are not using client credentials auth because that defaults to under 18.

Tried your request in curl, oddly same result as before 🤔
curl --verbose 'https://www.deviantart.com/api/v1/oauth2/deviation/download/13A14937-CC91-A649-1B51-5D1CF435307C' -d access_token=(mytoken)
[...]
< HTTP/2 400
< content-type: application/json; charset=utf-8
< content-length: 109
< date: Thu, 05 Oct 2023 00:40:52 GMT
< server: Apache
< cache-control: Private, no-cache, no-store, must-revalidate, max-age=0, max-stale=0, post-check=0, pre-check=0
< pragma: no-cache
< expires: 0
< vary: Accept-Encoding
< x-backend: web_http_back
< x-cache: Error from cloudfront
< via: 1.1 827f449bafa54811021e4ae2cea19228.cloudfront.net (CloudFront)
< x-amz-cf-pop: GRU3-P5
< x-amz-cf-id: Qf0QlGfZdZbdkeX10CFbFfSMYHRXnW071mMCNS0Aq1Jm4s8s7QuJMg==
<
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Connection #0 to host www.deviantart.com left intact
{"error":"invalid_request","error_description":"Deviation not downloadable.","error_code":2,"status":"error"}

Upon inspection, that token was indeed a client credential and not an auth code; though I expected another kind of error, makes sense now. Thanks 👍


Enhancement request on isEqualToComparingFieldByFieldRecursively

Hi, I need to compare the response object field by field recursively using isEqualToComparingFieldByFieldRecursively. But it can't ignore the fields that are null in my expected object. Is it possible to provide an enhancement of isEqualToComparingFieldByFieldRecursively skipping null values in expected object or help in achieving the same.
Thanks,
Shuba.
assertThat(expectedObj).isEqualToComparingFieldByFieldRecursively(responseObj);
SIMPLE EXAMPLE
expectedObj
{
"FirstName": "SHUBA"
"LastName": "RAJA"
}
responseObj
{
"FirstName": "SHUBA"
"MiddleName" : "INBA"
"LastName": "RAJA"
}
In my case the assert fails as MiddleName is Null in the expected obj... since I have too many fields and complex sub objects, I want to provide limited fields in my expectedObj and validate them against the response.
Please help

I'm ok to add this feature but not changing the behavior isEqualToComparingFieldByFieldRecursively as it is a breaking change.
The challenge here is to find a way to specify that null fields are to be ignored in comparison, the straigtforward solution is to add isEqualToComparingFieldByFieldRecursivelyIgnoringNullFields but the name is really long, I'd like to see if we could find a lighter way to support this feature.

Thank you very much Joel! for the quick response. Looking forward to this feature at the earliest.
Just a small thought to avoid long name, can we have an overloaded method with an additional argument - bool ignoreNullFields.
Kind Regards,
Shuba.

Good idea, we will probably use an enum for extensibility.

+1 I need this feature :)

One question about ComparingFieldByField: is-it possible to compare FieldByField with Collection.contains() ?

@pierrefevrier can you give an example and move that to another issue if it is not related to the current issue ?

@pierrefevrier there is currently no way to use FieldByField etc. comparison for map entries/values.

See also my feature request #982, wanting "OnlyGivenFields" and "IgnoringGivenFields" forms of isEqualToComparingFieldByFieldRecursively.

@QEcoderS , @pierrefevrier, @derekm I have closed in favor of https://github.com/joel-costigliola/assertj-core/issues/1002 which I would like to have your opinion on.


Add Error::length_mismatch, Error::type_mismatch, and de::Type

This improves error handling to match the needs of msgpack

In case you're interested, I've also updated my rust-serialization-benchmarks with support for this. The serde serializer and deserializer is a tad slower than the rustc-serialize implementation. That's not particularly surprising as I haven't tried to optimize it yet.
test goser::msgpack::bench_decoder               ... bench:       2,205 ns/iter (+/- 1,253) = 130 MB/s
test goser::msgpack::bench_encoder               ... bench:         700 ns/iter (+/- 239) = 409 MB/s
test goser::msgpack::bench_deserializer          ... bench:       2,356 ns/iter (+/- 847) = 121 MB/s
test goser::msgpack::bench_serializer            ... bench:         845 ns/iter (+/- 313) = 339 MB/s


parsec-bin: update runtime dependencies

Description of changes
parsecd-150-89b now requires curl, png, and jpeg8
Note that there is no change to the initial install package (parsec-bin.src) - these are only required by the dylib it downloads as part of its auto-update process, but I've updated the URL with the latest public download link hostname.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

In the unoficial Discord we today realized that there is also a shared object in ~/.parsec that might refer to invalid store paths over time.
A user had the problem that parsecd didn't work for their user who used it before, but it started as a different user, which did not have had that shared object before.
Do you think you can tackle that issue somehow in this PR, by blindly copying over shared objects from the skeleton folders or avoiding the necessity to copy by providing the skeleton in the RPATH/LD_LIBRARY_PATH?
I do not use this software myself, though found this issue because we had that topic in the chat just a couple of minutes ago.
This is not a formal review, but a regular question, but I'd by happy to get you through the review process either way after you quickly replied here.

yeah, at the moment it seems necessary to remove and regenerate ~/.parsec if binaries change at all, would be nice if this wasn't required

yeah, at the moment it seems necessary to remove and regenerate ~/.parsec if binaries change at all, would be nice if this wasn't required

It does use LD_LIBRARY_PATH and does not patch the files downloaded into ~/.parsec, so that generally shouldn't happen (strings ~/.parsec/* | grep -F /nix should indeed only produce log entries if anything at all)
It does seem possible that the original/old dylib from the .deb that gets copied from share/parsec/skel in the nix store is patched though (it really shouldn't be), then if a user lacks internet access to update it to an unpatched dylib (does parsecd not perform the update before loading the dylib? I assumed it checks for updates before launching), then performs a new switch+gc, it could feasibly get stuck? But if it does update first, that should be a mostly-impossible scenario - did the user check if the permissions on the folder were broken maybe and preventing it from updating? Or maybe a firewall was blocking the update?
Either way, share/parsec/skel should be in an autopatchelf blacklist or something, only the main binary needs patching as long as it's run with the wrapper script.


Add President Sheu Shagari as my contribution

Add the information of President Shehu Shagari to the data.json who is the 7th president

Hi, nice job, but seems you have two Buhari in your branch, kindly remove one and send a new PR


two different use examples

// default to `/404` if no path matches
const router = sheetRouter('/404', [
  ['/', (params) => html`<div>Welcome to router land!</div>`],
  ['/:username', (params) => html`<div>${params.username}</div>`, [
    ['/orgs', (params) => html`<div>${params.username}'s orgs!</div>`]
  ]],
  ['/404', (params) => html`<div>Oh no, path not found!</div>`],
])

// default to `/404` if no path matches
const router = sheetRouter('/404', function (route) {
  return [
    route('/', (params) => yo`<div>Welcome to router land!</div>`),
    route('/:username', (params) => yo`<div>${params.username}</div>`, [
      route('/orgs', (params) => yo`<div>${params.username}'s orgs!</div>`)
    ]),
    route('/404', (params) => yo`<div>Oh no, path not found!</div>`),
  ]
})

Am I using functions or not? Which example is most up to date?

love the router though, god bless.

Ohey, yeah so yo-yo is using bel under the hood. I like assigning bel to html, just like I like assigning sheetify to css. E.g.
const css = require('sheetify')
const html = require('bel')

Which is quite the same as:
const css = require('sheetify')
const html = require('yo-yo')

Does this answer your question?

One example uses function (route) { and the other just arrays. That was my question. Apologies

@yoshuawuyts what is the latest sheet-router build?

@SilentCicero v4 is super close now


PR's upstream

if you are fixing bugs and adding features, why not open upstream PR's?

tbh, i think its to messy for this, and its almost a new program. since i added complete remote control


Remove usage of deprecated .spec.running field

What this PR does
Removed instances of the deprecated .spec.running field in both examples and documentation.
Related to https://github.com/kubevirt/kubevirt/issues/11993.
Release note

NONE

/kind cleanup

/release-note-none

Ah, this is annoying. FYI @dhiller.
/remove-kind deprecation
/release-note-none

/release-note-none

/lgtm

/test pull-kubevirt-e2e-k8s-1.31-sig-performance


Problem in terminal window

ADD ISSUE DESCRIPTION HERE
Version: 1.88.1
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
User Agent: Mozilla/5.0 (Linux; Android 9; SM-A205F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36
Embedder: codespaces
<!-- generated by web issue reporter --
There is an issue when I type print("hello") and enter in python
It says that there is a syntax

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Readwrite

Implement Uring.read and Uring.write

These are simple wrappers for read(2) and write(2) that use a Cstruct.t.
This avoids the extra allocations done by readv(2) and writev(2) as we currently
need to do one malloc per readv(2)/writev(2).

It's also more natural for most applications that only have a single buffer to
read/write.

+++
YACI - Yet Another Cat Implementation

Wrote this to make sure I realize what was going on in Uring and to be able to
properly test a new allocator for writev/readv, as a bonus I've used to make
sure read and write work.

The current urcat is a bit limited and this works a bit more like a normal cat.

I have dropped the ringcat until I figure out the proper semantics of non seekable FDs.
I have force pushed this and addressed your points on different commits.


makes an additional_dimensions parameter

additional_dimension only accepts one dimension and I need multiple for my application, so I have copied the pattern in use for replace_dimensions and applied it to a new and discreet additional_dimensions.
I have maintained additional_dimension in the code for backwards compatibility although this could be removed. I thought it would be confusing to change the behaviour of additional_dimension although that approach would also be backwards compatible.

hi, please implement this feature, i need to add a number of dimensions to get my grafana dashboard working better


DO NOT MERGE: Testing DB codeowners

Description
DO NOT MERGE -- TESTING CODEOWNERS
Since changing the locations of migration files, codeowners aren't showing up anymore on migration changes.  This PR changes a path in CODEOWNERS to see if that takes care of it.

Closing pull request -- was just testing codeowners.


Support Script interpreter

to speed up Bitcoin VM.

In the works :)
Will be a separate package but will leverage all of bsv-wasm

ceo of testnet approved

@xhliu You're gonna love this ;)

Can't wait, CEO/CTO.

Gents, any update on this? Would love to switch to WASM to speed up.

hello, how to use Interpreter ?
my code below:
	const bsvwasm = require("bsv-wasm");

	const s = bsvwasm.Script.from_hex("5b0000005754615179547a75537a537a537a0079537a75527a527a7575615279008763537952795279615179517993517a75517a75619c77777777675279518763537952795279949c7777777767006868");

	const bm = bsvwasm.Interpreter.from_script(s);

	try {
		Loggging.log(`state: ${bm.run()}`);
	} catch (error) {
		Loggging.log(`wasm error: ${error}`);
	}

but got a error when call bm.run() :
wasm error: RuntimeError: unreachable

I think there is a bug with OP_PICK, I will look into it

Thanks for the issue, here's a new build for you to try out.
I'll aim to get a release pipeline for 2.0 out eventually.
https://github.com/Firaenix/bsv-wasm/blob/split-modules/packages/bsv-wasm/pkg/bsv-wasm node 2.0.0 alpha.zip

an other error
Error when deserialising Script: OP_IF statement requires an OP_ELSE code
snark.hex.zip
.

I was under the impression that any OP_IF must have an OP_ELSE followed by an OP_ENDIF, according to the BSV Wiki https://wiki.bitcoinsv.io/index.php/Opcodes_used_in_Bitcoin_Script
If this is untrue, I can change this

i can run this with js bsv, are you sure  OP_IF in this script not follow by OP_ELSE?

I'm not 100% certain, but it's worth checking against the Bitcoin SV node interpreter so get it 100% correct

Alright I've found further documentation about OP_IF, etc.
https://wiki.bitcoinsv.io/index.php/Scripts_with_Flow_Control_(Conditional_Clauses)
I will fix up the library when I get a chance, thanks for raising this

@Firaenix  any. update

@Firaenix we would like to use bsv-wasm for powchess.com but we encounter the OP_IF OP_ELSE bug.
Can you give an estimate when you will be able to fix this?
Thanks!

Sorry for the delay all, been very busy with Bitping work. I will have a look at getting it fixed this week

Hi all, I've pushed a change to the split-modules branch, you can find the build for that branch below. Please let me know how you get on.
I still have to do some significant changes before I can get a release out onto npm, but this zip should get you by for now
https://github.com/Firaenix/bsv-wasm/raw/split-modules/packages/bsv-wasm/pkg/node.zip

@Firaenix the types for the new version (from the above linked zip file) have changed.
e.g. Transaction.toHex() is now Transaction.to_hex()
Before I completely change all the function calls in our code I wanted to check if these new function names will persist in the new version.

Yes they've changed significantly, I expect the new function signatures to be stable for the next release, which is 2.0.0

Hey @Firaenix,
I'm currently running some tests with your new version and experienced a RuntimeError: unreachable when using Transaction.add_outputs().
Adding them all manually with Transaction.add_output() works as expected.

@Firaenix we have tested the new version with our scripts and we don't reproduce the OP_IF OP_ELSE errors anymore.
Looking forward to using the new release in production.

I have released this Feature to npm, deno.land and crates.io on Version 2.0.0.
https://crates.io/crates/bsv
https://www.npmjs.com/package/bsv-wasm
I'm going to close this issue


Count matrix checking/processing

Checking for all zero rows/columns was removed with last celdaGridSearch refactor, but should be added back in, maybe in processCounts. Error should be thrown so the user can decide how to handle
If a matrix of type 'numeric' is used as input, celda_C/G/CG fails at the end. Probably due to the order in which processCounts and compareCountMatrix is called in the beginning. Needs to be consistent so that the checksum is calculated on either the original matrix or processed matrix in all functions. processCounts probably needs to be added to the down-stream functions whenever compareCountMatrix is called.

Fixed in #353
@joshua-d-campbell most changes were in split_clusters.R and initialize_clusters.R. Also see above each model function's definition, where I've placed a very thin wrapper.


point out weak file-based copyleft of MPL

The current description makes the MPL come off as if it had GPL-strength copyleft, which it doesn't.
http://www.mozilla.org/MPL/2.0/FAQ.html#virality

This pull is no longer able to be merged. If you want to push a fix for the merge conflicts, we can reopen this.


fix: ignore __typename when setting select reason

Fixes #830

Of course. Just wanted to get some hint on if this was reasonable or if it will break something else.

Hi @argoyle
Thanks a lot for your contribution
I don't know currently which side effects it could have
Currently, we are doing a rewrite of this functionality, which may fix your issue
I will let you know when we have some results

@devsergiy Should I hold off on creating a test for this then?

Added a couple of tests anyway


Using getStorage with Firebase cloud messaging in onBackgroundMessage handler

I tried to use getStorage inside onBackgroundMessage handler.
I got this error.
MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider

I need to register the get storage inside kotlin files.
Can you help me with that?

https://www.google.co.uk/search?q=MissingPluginException(No+implementation+found+for+method+getApplicationDocumentsDirectory+on+channel+plugins.flutter.io/path_provider&ie=UTF-8&oe=UTF-8&hl=en-gb&client=safari
On Sat, 5 Sep 2020 at 22:47, Awni Gharbia<EMAIL_ADDRESS>wrote:

I tried to use getStorage inside onBackgroundMessage handler.
I got this error.
MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider
I need to register the get storage inside kotlin files.
Can you help me with that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jonataslaw/get_storage/issues/20, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG66BMOO5AMIJPIPN6FKLSEKWYTANCNFSM4Q3NLCNQ
.
--
Kind Regards,

Gavin Henry.
Managing Director.
T +44 (0) 330 44 50 000
D +44 (0) 330 44 55 007
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E<EMAIL_ADDRESS>Open Source. Open Solutions(tm).
http://www.suretecsystems.com/
Suretec Systems is a limited company registered in Scotland. Registered
number: SC258005. Registered office: 24 Cormack Park, Rothienorman,
Inverurie, Aberdeenshire, AB51 8GL.
Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html

https://stackoverflow.com/questions/61067558/flutter-cant-use-any-plugin-in-onbackgroundmessage
This helped me. Application.kt in that post. Just load the path plugin.
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 330 44 50 000
D +44 (0) 330 44 55 007
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E<EMAIL_ADDRESS>Open Source. Open Solutions(tm).
http://www.suretecsystems.com/
Suretec Systems is a limited company registered in Scotland. Registered
number: SC258005. Registered office: 24 Cormack Park, Rothienorman,
Inverurie, Aberdeenshire, AB51 8GL.
Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html

@ghenry Thanks for your reply, But I don't know kotlin. Can you direct me the path of the package and how to register it?

Hi,
Did you read that post? https://stackoverflow.com/a/61088375/1072411

@ghenry Yeah thanks four your help!
It seems that I can register SharedPreferences only, I looked up the GeneratedPluginRegistrant.java and it does only contain shared preferences package.

I registered it and it does work fine! storing the notifications in the background handler but the problem is shared preferences is not synced with the UI, so I have to restart the app to get the latest values.

I've not tried what you're doing yet, I just needed to do above to fire a local notification for more control than the firebase version.
Did you try path provider?

So you're pushing config? There's a firebase plugin for remote config that may be better for you.

I'm trying to save the notifications locally. When the background message comes in I used Shared Preferences to save them, it works!, but when I open the app and goes to the notification page the latest notifications not show (it requires me to restart the app) to get it.

OK. See what the get_storage team say. None of this so far is related to
this project.
On Sun, 6 Sep 2020, 10:57 Awni Gharbia<EMAIL_ADDRESS>wrote:

I'm trying to save the notifications locally. When the background message
comes in I used Shared Preferences to save them, it works!, but when I
open the app and goes to the notification page the latest notifications not
show (it requires me to restart the app) to get it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jonataslaw/get_storage/issues/20#issuecomment-687743971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG66BCEHX6PGCTFYET4V3SENMIHANCNFSM4Q3NLCNQ
.

@ghenry  I think yes. The background handlers run in isolate so there won't be any way to connect it with the main thread. imo

BTW, I forgot to say I AM putting a GetxController into memory in this handler and then running a local nofitication, like so:
Future<void> showIncomingCall(String UUID, String ddi, String callerID) async {
  final CallController cc = Get.put(CallController());
  await cc.showIncomingCall(ddi, callerID, UUID);
}

this function gets called and run from the onBackgroundMessage no problem.

@ghenry  In your example, it should work I tried to initialize  a Getx controller in the main screen and find it throw onBackgroundMessage handler and call some methods, but it doesn't seem to work!

Try to get the plugins and methods loaded in your base.

I am trying the same methos as awnigharbia.

Let's say I'm in the foreground and I put the application in the background.
How onBackgroundMessage is handled in its own isolate. I am writing that notification in a GetStorage box.
I receive a notification and return to the application without clicking on the notification.
I applied didChangeAppLifecycleState to a Controller. And in the resume I check if there is a notification saved in GetStorage. However, that new writing does not detect me. Console shows value of that key is null
Only when I restart the application it detects that writing.

Is there a way to do it?

I tried to use getStorage inside onBackgroundMessage handler.
I got this error.
MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider

I need to register the get storage inside kotlin files.
Can you help me with that?
================================================
use old version from path provider:
example:  path_provider: 2.0.2
in pubspec.yaml


Image Construction

Description
This use case is primarily related to SRX.  IIRC, one of the data collection modes on SRX is to raster the sample through the beam, collecting an MCA spectrum for each sample position.  This MCA spectrum at each position is then used to reconstruct a 2-D image of the sample.  @tacaswell can probably make this description significantly more verbose
Problems that need to be solved for this Issue

[ ] SRX Approval

Waiting on a PR from @licode, same as #253


Provide hooks for overriding default behavior

Most useful drawing for example view borders, background, or any other custom behavior where it makes sense.

:+1:
Would particularly like to override borders. I would say that the things you mentioned (border, background) are both probably the domain of the consumer of this library, and don't really belong in the library itself.

Background most likely moves to be a wayland client. Drawing borders, focus or other view related things and effects though makes sense inside compositor. Wlc will not provide facilities for drawing itself, you must choose library yourself for that.

That seems fine. I'm just looking for a way to get rid of the default borders and close/max/min buttons and so on. The background as a wayland client makes sense, too.

For those, you can't get rid of those until somebody stands up with a protocol extension for that. Client draws borders, and currently there is no way to communicate between compositor/client to not do that.

Oh, so those aren't wlc's domain?

Nope, wlc borders would be the server-side borders. The thing Weston does for Xwayland clients. Weston test applications and GTK draw client side borders.

I see. Thanks for clarifying.


Publishing updates to SQLINTBLOGLP for release on 20220203

Publishing updates to SQLINTBLOGLP for release on 20220203

Docs Build status updates of commit ef8d164:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

documentation/blog/MS-SQLINTBLOGLP/0b5e3a73-15fc-44b5-b5e6-7385b693115c.md
:white_check_mark:Succeeded

documentation/blog/MS-SQLINTBLOGLP/f5f55ea5-bb77-4448-a9c6-c9ba363d59dc.md
:white_check_mark:Succeeded

documentation/blog/MS-SQLINTBLOGLP/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix/11002 no caching used by http client

Description
This fixes the problem, that the new client did not returned the cached content in case of no network.
This PR introduces also default value for a resource, for the allowlist an empty set.
This PR changes and adds a lot of logs for the different services.
Link to Jira
(https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-11002)

@ArturFriesen @nickguendling Nice refatoring tipps 👍


Prepare for Gradle plugin release 4.0.0-beta03

#211  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


[Bug]: DTDL Command not supported

Describe the bug
Trying to generate from models using DTDL command I got an exeception
Which version of the tool was used?
latest
Options
No response
Steps To Reproduce
I got the error below
Unhandled exception. System.Exception: Unsupported content type: Command
   at Microsoft.DigitalWorkplace.DigitalTwins.Models.Generator.ClassEntity.CreateProperty(DTContentInfo content) in C:\code\dtdl-model-generator\src\Generator\Base\ClassEntity.cs:line 74
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
   at Microsoft.DigitalWorkplace.DigitalTwins.Models.Generator.ModelEntity..ctor(DTInterfaceInfo interfaceInfo, ModelGeneratorOptions options) in C:\code\dtdl-model-generator\src\Generator\Entity\ModelEntity.cs:line 20
   at Microsoft.DigitalWorkplace.DigitalTwins.Models.Generator.ModelGenerator.<GenerateModels>b__10_0(DTInterfaceInfo m) in C:\code\dtdl-model-generator\src\Generator\ModelGenerator.cs:line 80
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at Microsoft.DigitalWorkplace.DigitalTwins.Models.Generator.ModelGenerator.GenerateModels(IEnumerable`1 models) in C:\code\dtdl-model-generator\src\Generator\ModelGenerator.cs:line 81
   at Microsoft.DigitalWorkplace.DigitalTwins.Models.Generator.ModelGenerator.GenerateClassesAsync() in C:\code\dtdl-model-generator\src\Generator\ModelGenerator.cs:line 52

@ridomin Thank you for your issue. I'll be adjusting this Issue and changing it to a feature.
Not supporting commands isn't a bug, but rather an intentional exclusion. Our original thought was that since Azure Digital Twins did not currently use Commands, we would leave this out for now. That said, since we realize other products use DTDL, and thus supporting Commands would be useful. As such, we'll update our docs to better indicate what we do/don't support and why, as well as look at the timeline for when we could implement support for Commands. We'll also need to come up with a rough draft of what Commands would look like in C#.
Let me know if you have any questions/comments/concerns.

Closing this issue as we're tracking work to support Commands in #12.


US ID5: As a game room leader, on the game room screen I want to have a list of all available question topics. Such that I can choose one topic from that list

[ ] #45
[ ] This information is also visible for all the other players in the room

proposed additional tasks:
Frontend:
implement a drop down menu for choosing question topics in the game room view
send the choice to the backend
display the choice of the room leader to the other player's waiting screens
Backend:
broadcasted to all players in a game room


[babel 6] SyntaxError: Unexpected token: async () => {

Hello
I am testing the new babel 6 support with "babel-plugin-react-transform": "^2.0.0-beta1" but get a syntax error, see below.
Is this a babel 6 issue or related to this plugin?
> babel-node --eval "require('./scripts/externalsUpdate')().catch(err => console.error(err.stack))"

/usr/local/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/index.js:547
      throw err;
      ^

SyntaxError: /Users/bernd/WebstormProjects/react-webpack/scripts/externalsUpdate.js: Unexpected token (20:49)
  18 |
  19 | // Save JSON of full schema introspection for Babel Relay Plugin to use
> 20 | export default task('update externals', async () => {
     |                                                  ^
  21 |
  22 |   // react
  23 |   console.log('copying react v' + react.version);
    at Parser.pp.raise (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/location.js:22:13)
    at Parser.pp.unexpected (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/util.js:91:8)
    at Parser.pp.parseAsyncArrowFromCallExpression (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/expression.js:357:47)
    at Parser.<anonymous> (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/plugins/flow.js:972:20)
    at Parser.parseAsyncArrowFromCallExpression (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/plugins/flow.js:972:20)
    at Parser.pp.parseSubscripts (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/expression.js:308:21)
    at Parser.pp.parseExprSubscripts (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/expression.js:275:15)
    at Parser.pp.parseMaybeUnary (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/expression.js:245:19)
    at Parser.pp.parseExprOps (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/expression.js:176:19)
    at Parser.pp.parseMaybeConditional (/usr/local/lib/node_modules/babel-cli/node_modules/babylon/lib/parser/expression.js:158:19)

This is my .babelrc
{
  "presets": ["react", "es2015"],
  "env": {
    "development": {
      "plugins": [
        [
          "babel-relay-plugin-loader",
          "react-transform", {
            "transforms": [{
              "transform": "react-transform-hmr",
              "imports": ["react"],
              "locals": ["module"]
            }, {
              "transform": "react-transform-catch-errors",
              "imports": ["react", "redbox-react"]
            }]
        }]
      ]
    },
    "production": {
      "plugins": [
        [
          "babel-relay-plugin-loader"
        ]
      ]
    }
  }
}

And these are my dependencies - all up to the latest within their semver rule:
"dependencies": {
  "bootstrap": "^3.0.0",
  "history": "^1.0.0",
  "lodash": "^3.0.0",
  "mysql": "^2.0.0",
  "react": "^0.14.0",
  "react-bootstrap": "^0.28.0",
  "react-dom": "^0.14.0",
  "react-relay": "^0.6.0",
  "react-router": "^1.0.0",
  "react-router-relay": "^0.8.0",
  "sequelize": "^3.0.0"
},
"devDependencies": {
  "autoprefixer": "^6.0.0",
  "babel-core": "^6.0.0",
  "babel-eslint": "^5.0.0-beta4",
  "babel-loader": "^6.0.0",
  "babel-plugin-react-transform": "^2.0.0-beta1",
  "babel-preset-es2015": "^6.0.0",
  "babel-preset-react": "^6.0.0",
  "babel-relay-plugin": "^0.6.0",
  "babel-relay-plugin-loader": "^0.6.0",
  "browser-sync": "^2.0.0",
  "browser-sync-webpack-plugin": "^1.0.0",
  "clean-webpack-plugin": "^0.1.0",
  "copy-webpack-plugin": "^0.3.0",
  "cors": "^2.0.0",
  "css-loader": "^0.23.0",
  "express": "^4.0.0",
  "express-graphql": "^0.4.0",
  "extract-text-webpack-plugin": "^0.9.0",
  "faker": "^3.0.0",
  "file-loader": "^0.8.0",
  "graphiql": "^0.4.0",
  "graphql": "^0.4.0",
  "graphql-relay": "^0.3.0",
  "history": "^1.0.0",
  "html-webpack-plugin": "^1.0.0",
  "isparta-instrumenter-loader": "^1.0.0",
  "jasmine-core": "^2.0.0",
  "karma": "^0.13.0",
  "karma-chrome-launcher": "^0.2.0",
  "karma-coverage": "^0.5.0",
  "karma-jasmine": "^0.3.0",
  "karma-phantomjs-launcher": "^0.2.0",
  "karma-sourcemap-loader": "^0.3.0",
  "karma-spec-reporter": "^0.0.23",
  "karma-webpack": "^1.0.0",
  "less": "^2.0.0",
  "less-loader": "^2.0.0",
  "node-libs-browser": "^0.5.0",
  "null-loader": "^0.1.0",
  "phantomjs": "^1.0.0",
  "postcss-loader": "^0.8.0",
  "q": "^1.0.0",
  "raw-loader": "^0.5.0",
  "react-transform-catch-errors": "^1.0.0",
  "react-transform-hmr": "^1.0.0",
  "redbox-react": "^1.0.0",
  "relay-local-schema": "^0.3.0",
  "style-loader": "^0.13.0",
  "webpack": "^1.0.0",
  "webpack-dev-server": "^1.0.0"
}

This has nothing to do with this plugin, but you're missing the plugin/preset for async functions. Async functions are not part of es2015.
Please take your general Babel questions to https://slack.babeljs.io or https://discuss.babeljs.io in the future.


Issue using default generator

Hi,
I got an issue using the default migration for invites, I just fixed it by specifying the current version for `ActiveRecord::Migration. I'm using Rails 6.0 RC1.
If you haven't considered a fix, I can help with a pull request 😃
StandardError: An error has occurred, this and all later migrations canceled:

Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

  class CreateInvites < ActiveRecord::Migration[4.2]
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:536:in `inherited'
/home/ubuntu/environment/app.opszero.com/db/migrate/20190502200420_create_invites.rb:1:in `<main>'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/bootsnap-1.4.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/zeitwerk-2.1.4/lib/zeitwerk/kernel.rb:23:in `require'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.0.rc1/lib/active_support/dependencies.rb:302:in `block in require'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.0.rc1/lib/active_support/dependencies.rb:268:in `load_dependency'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activesupport-6.0.0.rc1/lib/active_support/dependencies.rb:302:in `require'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1001:in `load_migration'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:997:in `migration'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:992:in `disable_ddl_transaction'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1358:in `use_transaction?'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1350:in `ddl_transaction'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1299:in `execute_migration_in_transaction'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1271:in `block in migrate_without_lock'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1270:in `each'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1270:in `migrate_without_lock'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1218:in `block in migrate'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1371:in `with_advisory_lock'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1218:in `migrate'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1051:in `up'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/migration.rb:1026:in `migrate'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/tasks/database_tasks.rb:226:in `migrate'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/railties/databases.rake:83:in `block (3 levels) in <main>'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/railties/databases.rake:81:in `each'
/home/ubuntu/.rvm/gems/ruby-2.6.0/gems/activerecord-6.0.0.rc1/lib/active_record/railties/databases.rake:81:in `block (2 levels) in <main>'

Caused by:
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

  class CreateInvites < ActiveRecord::Migration[4.2]`

hmm, the testing suite passed when I issued the PR for rails 6 rc1, which seems like it would have failed on this. Admittedly, while I am using this on rails 6, I upgraded from 5 so I wouldn't have hit this on my current project.
The error message there is kind of confusing. It's complaining that we didn't specify a version, but the log clearly shows one. Maybe they mean it needs to be a newer one?


run tests with release flag

run tests with release flag and beautify lines coverage print
closes #155

Good step in the right direction. Now we know that the --release flag is enough, and that it completes in about an hour. But now we have some real error about --exclude. I guess this is from the command in the workflow.


Is there a way to set timeout time?

It would be useful to be able to control timeout time. How can we do that?

Hello @rparcus,
What do you mean exactly? Which timeout are you referring to?

We don't support this currently, however this would be nice to have.

Should be resolved by #327


Add zazu-homebrew to the plugin page

zazu-homebrew is a search for Homebrew formulae with braumeister.org.

Thank you!


Map Filter - Use domain Radio button toggles on adding more layers

Widget
Map Filter
Version of widget
Bug or Enhancement
Bug
Repo Steps or Enhancement details

Open map filter widget configuration
Choose a layer with fields that has domain.
Choose the field name with domain
Select the 'Use Domain' radio button
Add another layer and repeat 1,2,3
Notice the radio button toggles (it gets deselected from the first layer)

All layers now have a "Use Value" radio so any layer can have a pick list of value, not just domains fields.


Add a Runtime API client

Description of changes:
This change adds support for using the Lambda Runtime API. The effect of this, is that Lamdba Functions written in go, can be used with both the go1.x, and provided, runtimes.
Why?

This is a future-looking change. The Runtime API is where future innovations are going to happen.
This makes it easier to implement custom runtimes using go. Got an idea for a custom runtime? You can re-use the AWS Lambda Go programming model to get started

How to try it:

Compile your function as normal.
When creating the .zip, name the binary bootstrap, or place a symlink to your binary named bootstrap within the .zip
When creating a function, choose provided as the runtime

GOOS=linux go build -o bootstrap main.go && zip lambda.zip bootstrap
aws lambda create-function \
   ... \ # iam role, name, memory size
   --zip-file lambda.zip \
   --runtime provided \
   --handler bootstrap # can be any value, the provided runtime ignores this, and always looks for an exe named `bootstrap`

Functions build this way are still compatible with the go1.x runtime. The RPC or the Runtime API mechanism will be detected on startup using environment variables Lambda defines by default.
I've also added a build flag, that allows disabling RPC support, which may result in slightly smaller binary sizes.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #298 into master will increase coverage by 0.68%.
The diff coverage is 68.91%.

@@            Coverage Diff             @@
##           master     #298      +/-   ##
==========================================
+ Coverage   74.60%   75.29%   +0.68%
==========================================
  Files          13       17       +4
  Lines         638      757     +119
==========================================
+ Hits          476      570      +94
- Misses        123      137      +14
- Partials       39       50      +11

Impacted Files
Coverage Δ

lambda/entry.go
0.00% <0.00%> (ø)

lambda/rpc.go
18.18% <18.18%> (ø)

lambda/invoke_loop.go
68.51% <68.51%> (ø)

lambda/runtime_api_client.go
84.00% <84.00%> (ø)

lambda/errors.go
95.23% <95.23%> (ø)

lambda/function.go
81.39% <100.00%> (+13.65%)
:arrow_up:

Continue to review full report at Codecov.

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


[bug] npm i err

when i run npm install get error below
npm ERR! cb() never called!

i think should kick off package lock from  the git

Hey @LonYui! We are so sorry for the late response, we didn't have enough time to go through this repo last year. I believe this was because of some dependencies issue. We have recently update our template in order to use the latest versions of the technologies stack we use. We have integrated VueJS and React. You can pull the latest changes from master branch and then follow the README instructions. This issue has been solved in the latest version, so I will close it. Have fun! Best regards.


ThaliCore: Race condition creating a VirtualSocket while the nonTCPSession is closing

Crash occurred when testing replication between two devices using ThaliTestApp from master_mlesnic_additional_attachments in Native mode.
Screen:

Enrico's comment: It looks like a race condition, an underneath MPFC connection was closed (probably because of the bug that is causing replication to fail) and that closed the TCPSession that was currently used to open another TCP connection for that Session.

fixed with: https://github.com/thaliproject/thali-ios/pull/13


Youtube subscriptions not working

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl "https://www.youtube.com/feed/subscriptions" --cookies Cookies.txt -v
[debug] System config: []
[debug] User config: ['-f', 'bestvideo[height<=1080]+bestaudio/bestvideo+bestaudio/best', '--merge-output-format', 'mkv', '--sub-lang', 'enUS', '--write-sub', '-i', '-o', '%(uploader)s - %(title)s.mkv', '--no-playlist', '--mark-watched', '--reject-title', 'English dub|Portuguese Dub|Spanish Dub|(Live)|Spawncast|(Charity stream)| Podcast | (Dub) |WAN Show']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/feed/subscriptions', '--cookies', 'Cookies.txt', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 4.2, ffprobe 4.2
[debug] Proxy map: {}
[youtube:subscriptions] Youtube Subscriptions: Downloading webpage
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Downloading 0 videos
[download] Finished downloading playlist: Youtube Subscriptions

Description

Downloading youtube subscriptions seems to have stopped working just recently. Youtube-dl simply reports that there are no videos available, which is not true, as browsing to the URL (for me) shows a bunch of videos.
To reproduce, export all browser cookies (I haven't tried just exporting youtube domain cookies), and try to download https://www.youtube.com/feed/subscriptions. Instead of downloading the videos in the subscriptions, it should just say there are 0 videos available.
I will also note that this exact URL and this exact config has worked a few days prior. Ignoring config (i.e. adding --ignore-config) doesn't help.

Just want to add my own log to the above, started happening on the same day as the  2020.06.16 release, not saying it is this release, just that it started the same day.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'D:\\scripts\\Powershell\\youtube-dl\\cookies.txt', '--verbose', 'https://www.youtube.com/feed/subscriptions']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.8.3 (CPython) - Windows-2012ServerR2-6.3.9600-SP0
[debug] exe versions: ffmpeg git-2020-06-03-b6d7c4c, ffprobe git-2020-06-03-b6d7c4c
[debug] Proxy map: {}
[youtube:subscriptions] Youtube Subscriptions: Downloading webpage
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Downloading 0 videos
[download] Finished downloading playlist: Youtube Subscriptions


Snake game from Greg Dyke doesnt work

This game does not run correctly:
https://github.com/OLIMEX/AgonLight-WPC/tree/main/ISSUE-3/SOLUTION-8-Greg-Dyke

Fixed in v0.5.0.


Suggestion: Collection::column() / toList()

I'm willing to implement the inner code if there's a green flag for this feature: similar implementation of the new-ish array_column() for Laravel Collections. Useful for creating a simple list of items through ul or select, for instance :)
It's not possible to pass a Collection into the method since it expects an array, not an object...

You can use $collection->pluck('column', 'key')->all();


chore(deps): update pnpm/action-setup action to v2.4.0

This PR contains the following updates:

Package
Type
Update
Change

pnpm/action-setup
action
minor
v2.2.4 -> v2.4.0

Release Notes

pnpm/action-setup (pnpm/action-setup)
v2.4.0
Compare Source
Add ability to install standalone binary (https://github.com/pnpm/action-setup/pull/92).
v2.3.0
Compare Source

feat: specifying path to non-root package.json file (https://github.com/pnpm/action-setup/pull/88).
docs: improve.

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

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Collapsing disabled makes cell useless

I have action icons inside table cell. Marking that cell as "collapsing disabled" makes these action icons non clickable and useless in effect

 Hide
 Unhide

There is no variation called collapsing disabled.
There is only disabled which removes mouse events

Ok I took that from the Table documentation at http://semantic-ui.com/collections/table.html

I'll remove the confusing line. It was just formatting the line to appear disabled as well.


sort rule changed after update

Here's what's the imports looks before:

After update, the imports become this (after save):

Don't know what happened.
Sort on save turned on.
Wether have config in package.json have not effect on this issue.

In version 2 the default style was changed to match ESLint's sort-imports rule. That's why you see that result.
You can use import-sort-style-renke to get a style that is similar to the old one. Just install it in your project with npm install --save-dev import-sort-style-renke and add the following to your package.json:
"importSort": {
  ".js, .jsx, .es6, .es": {
    "parser": "babylon",
    "style": "renke"
  }
}

Let me know if that works for you!

It works. But it's similar but a bit different.
This change make a bit chaos to our git repo (makes a lot of changes).
Is there any chance to write our own rules?

Yes, when I find time, I will create a style that replicates exactly the old style. Sorry, for the inconvenience. I let you know when it's done.

That's very kind of you. Thanks.

@Murriouz I just updated import-sort-style-renke (and atom-import-sort) to be more like the old style. Please let me know if works better for you!

@renke Thanks for your great work! It's just like old style. Thanks again.


Add a simple license checker

Due to https://github.com/rust-lang/rustfmt/issues/5103, rustfmt no longer supports this functionality, but it's simple enough to implement manually within a build script.

LGTM


Docker compose quick start druid_shared permission error

Hi,
I followed the quick start directives for docker-compose on Windows. When I tried some of the data load methods (local disk, example data, paste data). Every time the task failed with this error Failed to run task with an exception. See middleManager or indexer logs for more details.

When I checked the logs, I realized that middleware threw an error that it couldn't create the index-logs folder under /opt/shared which is the shared volume.
I opened this issue to share my solution.

I created a new service with the command sh", "-c", "chown -R 1000:1000 /opt/shared and attached the shared volume.
I added this new service to all other services as a depend.

@asdf2014 Using druid docker on mac also encountered the same problem, is there any other solution to this problem? Thank you.

@TaoZex Has you tried this one based on Helm Chart?

@TaoZex您是否尝试过这个基于Helm Chart 的软件？

Thanks for your response.

@TaoZex Has you tried this one based on Helm Chart?

Thanks for your response.


Unimplemented Gates

Rotations in the X and Y axes remain unimplemented, the generic R gate only allows for rotation in the Z axis and as such is only an Rz gate, not a full R gate.

Fixed by #121
thanks @craziii for the contribution


Add tests for Plugged-cert CA.

Fixes https://github.com/istio/istio/issues/3955

🎉 you win PR#4000 !

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

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
203377f1b239588ae9e9114821f37f107f5ca05a
link
/test istio-unit-tests

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

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

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
203377f1b239588ae9e9114821f37f107f5ca05a
link
/test istio-unit-tests

prow/e2e-simpleTests.sh
203377f1b239588ae9e9114821f37f107f5ca05a
link
/test e2e-simple

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


See also:

https://github.com/dotnet/symreader-converter/pull/235
Just in case you find it useful

Ultimately yeah, it would be nice to have Windows PDB to some other format. I just wrote these tools for some work stuff I needed today. So many tools still need Windows PDBs it is quite sad.


Android Modal doesn't handle the back button

I tried using the Android Modal in 0.23.0-rc1. Did react-native init AwesomeApp, changed the version in package.json to 0.23.0-rc1 and ran npm install (actually I just tested using Sinopia but should be the same result).
Then I wrapped the <Text> "To get started, edit index.android.js" in a <Modal>. The Modal renders correctly but:

Pressing the back button in Genymotion doesn't dismiss the Modal
I can't press the menu button in Genymotion anymore to show the menu (and Reload JS)
I can't double-tap R on my keyboard to Reload JS

Therefore I am now stuck in this state:

You need to override onRequestClose prop which is called when the back button is pushed.

We should generate a warning in Modal.js when onRequestClose is not set. It seems pretty easy to forget.

Is it not a required prop?

No, it's not (we'd need to make it conditionally required on Android): https://github.com/facebook/react-native/blob/master/Libraries/Modal/Modal.js#L64

@javache PR sent.


Adding other SCM authentication methods

Please confirm the following

[X] I agree to follow this project's code of conduct.
[X] I have checked the current issues for duplicates.
[X] I understand that EDA-Controller is open source software provided for free and that I might not receive a timely response.

Feature type
New Feature
Feature Summary
EDA-Server should support the same authentication mechanisms to SCM (Github) as AWX, Tower, AAP, etc. The limitation of only a non-SSO Personal Access Token is a breaking item for me and my company. Since we use a Github Enterprise account, with security restrictions that include direct SSO ties to Okta, means that I am unable to use the same Github repos for EDA content as I do for controller content.
My options are either divide things and use a repo source outside my org. Or setup a GH action to copy content from within to outside the org.
Neither of which my boss nor InfoSec would approve of.
Steps to reproduce
Create repository, create personal access token from service account, create Project and add repo as source.
Current results
Project sync fails, in the webgui the error is:
Command '['/usr/bin/git', 'clone', '--quiet', '--depth', '1', 'https://user value here:token value<EMAIL_ADDRESS>'/tmp/eda-project-4_1pndwz/src']' returned non-zero exit status 128.
Attempting to run the same command on the EDA host itself results in:
[root@aapedap01 eda]# git clone --depth 1 https://user value here:token value<EMAIL_ADDRESS>/tmp/eda11122
Cloning into '/tmp/eda11122'...
remote: The 'company' organization has enabled or enforced SAML SSO.
remote: To access this repository, visit https://github.com/orgs/company/sso?authorization_request=auth request string and try your request again.
Suggested feature result
Adding SCM Private key would be the silver-bullet to this issue
Additional information
No response

Agreed!  We've standardized on Azure DevOps which means to use EDA we'll need to move/maintain those projects to Github or Gitlab.  The SCM private key suggested above would help match the options in AWX/AAP, especially since EDA needs one of these to function correctly.

I assume by the lack of maintainer/team input that this sort of ask isn't important.

@RedHat Team - Any thoughts on this? We are also seeking the mentioned functionality; it is critical to us expanding our AAP implementation.

AAP RFE related: https://issues.redhat.com/browse/AAPRFE-825

Commenting again, The AAP RFE has had no apparent progress and we'd really like to use EDA.

HI @cidrbl0ck Thanks for your feedback. We expect to implement this feature in the upcoming weeks. Just wait a little longer. :)

@Alex-Izquierdo Thank you! I'd like to ask one more thing but with the full understanding that you likely do not know for sure and don't control it..
This EDA-Server is upstream from RH as I understand, to your knowledge is there any 'normal' or 'average' timeframe whereby changes at this level are reflected at theirs?

Hi @cidrbl0ck The release workflows between RH and the upstream project are different; they are not based on timeframes. Any questions related to the commercial product must be directed through your RH support.


fix(bulk-model-sync): dispose model client after import into model server

This closes the underlying http client.

:tada: This PR is included in version 4.11.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


function declarations and comments are not marked as covered

Initially I assumed that is a bug in Coveralls but it seems that I managed to discover a strange bug which makes coverage tool to improperly mark functions or comments as not covered.
Please take a look at http://stackoverflow.com/questions/28024496/why-coveralls-does-report-the-function-or-methods-as-not-covered-when-body-is-co?noredirect=1#comment44434661_28024496 and https://coveralls.io/files/431523503#L433
The project is tested from Travis CI and the coverage parameters are loaded at runtime, see https://github.com/pycontribs/jira/blob/master/setup.py#L47
So to run it with coverage you only have to do: python setup.py test
Why is does behave like this and how to solve the problem? Thanks.

This is a usage error. You import from "jira" in setup.py before pytest-cov and therefore coverage measurement is active...

Thank you, I will try different patterns for avoiding this. The main reason is that need to "import" the version in setup.py, this is the only thing i need from inside the module.
/sorin

On 19 Jan 2015, at 21:55, Marc Schlaich<EMAIL_ADDRESS>wrote:
This is a usage error. You import from "jira" in setup.py before pytest-cov and therefore coverage measurement is active...
—
Reply to this email directly or view it on GitHub.

You can use something like this https://github.com/shazow/urllib3/blob/master/setup.py#L15
Or run tests outside of setup.py.


[Bug] Movie Genre on Nav Bar

Hi @maniyaom while scrolling, the movie genres are visible on the nav bar
Please Assign me this issue under GSSOC Extended and Hacktoberfest :)
https://github.com/user-attachments/assets/d9301fbb-0266-4404-ba2c-736c385fa5f8

@TanmayKalra09 This appears to be a duplicate of an existing issue. Before raising a new issue, please make sure to check the issue section to avoid duplicates.
Reference: Issue #67


chore: use modern modules syntax

Move xxx/mod.rs to xxx.rs
Fixes https://github.com/ratatui-org/ratatui/issues/488

Rebased to clear conflicts in anticipation of merging.


superhappyfuntimes.net domain has lapsed, needs to be replaced in various materials

For instance, https://github.com/greggman/HappyFunTimes/search?q=superhappyfuntimes and various places on the website ( including, notably, the "What is this?" link on the happyfuntimes.net redirector)

This seems like it would be a complete list of all 11 instances to replace, across 4 repos https://github.com/search?q=user%3Agreggman+superhappyfuntimes&type=code I will probably do this for you later this week so long as you feel like you'd be inclined to approve my pull requests.

Does this work if those are changed or are we still at the mercy of packages and ssl?

@MikeDX I believe all these instances of "superhappyfuntimes.net" are just user-facing clickable links, so fixing them will not fix anything substantial about this project. That is to say, the many difficulties that caused the project to become deprecated by its creator will remain.

That's a real shame.

If someone is planning to create a fork and continue with this magnificent project, I would like to know

@Mystic-Ervo Well, as free software, I guess the power is in your hands! You could also try looking through the forks of this project on GitHub to see if any of them are actively maintained. For my purposes, https://github.com/wyattscarpenter/quiplibre, it was enough to just use WebRTC, so you could look into that, depending on what you want to do.


[Bug] Downloaded PDF have issue(s) with Typography options (Hide Icons & Underline Links)

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (http://rxresu.me)
Current Behavior
[Note] All Templates are affected.
Typography > Options > Hide Icons
When the Hide Icons toggle option is enabled, the icons (eg. inside the header section @ icon, location icon etc. ) should not be visible or in other words should be hidden.
Inside Builder Preview: Works as expected and looks fine (icons toggle visibility)
Inside Downloaded PDF: Not Working as properly as displayed in Builder Preview before download. When the Hide Icons toggle is disabled or Not hiding icons, it works. But when the toggle is enabled or hides the icons, the icon placeholders take a blank space, resulting in an unexpected User Interface Design.
Typography > Options > Underline Links
When the Underline Links toggle option is enabled, the links (eg. inside the header section phone no., email etc. ) should be underlined.
Inside Builder Preview: Works as expected and looks fine (links toggle underline)
Inside Downloaded PDF: Not Working as properly as displayed in Builder Preview before download. When the Underline Links toggle is disabled or Not underlining links, it works. But when the toggle is enabled or the user needs to underline the links, it is missing, resulting in unexpected behaviour.
Bug Demo

Expected Behavior
Typography > Options > Hide Icons
Inside Downloaded PDF: When the toggle is enabled or hides the icons, the icon placeholders should not take a blank space.
Typography > Options > Underline Links
Inside Downloaded PDF: When the toggle is enabled or the user needs to underline the links, then respected links should be displayed as underlined.
Steps To Reproduce

Open rxresu.me in Browser
Login with credentials
Go to Dashboard Page
Click on Create a new resume
Click on the dropdown icon beside the Create button and click Create Sample Resume
Click on the newly created sample resume to open in editor/builder
Navigate to Typography Section from the right sidebar
Scroll down to the options section
Toggle Options
Navigate to Export from the right sidebar
Click on PDF to Download as a PDF file.

What browsers are you seeing the problem on?
Chrome
What template are you using?
Azurill
Anything else?
No response

This is working from v4.0.9 cc: @AmruthPillai


Add new CreateServerlessIndex method

Problem
It's currently cumbersome to force users to create CreateIndexRequest object, a ServerlessSpec object, and the required enums (IndexMetric and CloudEnum.
Solution
This PR is a start on the road towards removing the createIndex method.
In this PR, you will find a new method called CreateServerlessIndex. This is what users will use to create a serverless index. All they have to do is pass strings/ints for indexName, metric, dimension, cloud, and region. All validation of the inputs, transforms into enum objects, and construction of the Request objects takes place within the function itself.
Note:

From reading and asking ChatGPT, it seems that it's more idiomatic in Java to force users to construct the enums (necessary for metric and cloud), rather than pass in strings, since constructing enums directly is more type-safe and self-documenting. However, I think ease-of-use trumps those concerns, since we are building these SDKs primarily to increase developer experience.

LMK if you agree in the comments!
Asana ticket: https://app.asana.com/0/1203260648987893/1206510790411726/f
Follow-ups

Next up will be doing the same thing, but for a new CreatePodsIndex method (ticket)
After that, I will remove CreateIndex from the client altogether, updating unit tests and integration tests as necessary.

Within this PR ^, I will also make the necessary documentation updates to Rohan's README, located here.

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[ ] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
Unit test & integration tests included in PR.

Merging this w/the integration test failure b/c the failure is a known flake, as documented here https://www.notion.so/Integration-Tests-Error-Log-a422cf031ca44271a76d899324ed385d?pvs=4


Mgmt Nic error during "apply"

Hi, When trying to deploy 2 x instances get the below error which basically says that the private ip on the mgmt Nic is already allocated to another instance. Seems like it's not looping and assigning the next ip to vm02.  (I already changed the instance_count to 2 in the variables.tf file)
Network Interface Name: "tf-azure-bigip-3nic-a26f-mgmt-nic-0"): performing CreateOrUpdate: unexpected status 400 with error: PrivateIPAddressIsAllocated: IP configuration /subscriptions/8cb11dae-d73f-4728-95d2-cf9acd785e30/resourceGroups/tf-azure-bigip-rg-a022/providers/Microsoft.Network/networkInterfaces/tf-azure-bigip-3nic-a26f-mgmt-nic-0/ipConfigurations/tf-azure-bigip-3nic-a26f-mgmt-ip-0 is using the private IP address <IP_ADDRESS> which is already allocated to resource /subscriptions/8cb11dae-d73f-4728-95d2-cf9acd785e30/resourceGroups/tf-azure-bigip-rg-a022/providers/Microsoft.Network/networkInterfaces/tf-azure-bigip-3nic-50ab-mgmt-nic-0/ipConfigurations/tf-azure-bigip-3nic-50ab-mgmt-ip-0.
│
│   with module.bigip[0].azurerm_network_interface.mgmt_nic[0],
│   on ../../main.tf line 299, in resource "azurerm_network_interface" "mgmt_nic":
│  299: resource "azurerm_network_interface" "mgmt_nic" {
│

Hi @sandevc,
I think you might be passed static ip in your scenario? may be you should try get assigning dynamic assignment of IPs
as provided in example here: https://github.com/F5Networks/terraform-azure-bigip-module/blob/main/examples/bigip_azure_3nic_deploy/main.tf#L50-L64

HI @sandevc, please open new issue if issue still persist


[1434] Support viewing school nav tabs

Context

https://trello.com/c/XaACO5uV/1434-support-improvement-recent-history-for-each-school

Changes proposed in this pull request

Add tabs to support viewing a school
Add new Timeline tab/concept
Timeline is chronological timeline (maybe it should be reverse chronological order?) of certain changesets at the moment. This can be expanded out to other changes or refined to show fewer changes useful for support
/history has been changes so items in the same changeset share the same date with one table cell with rowspan set

Screenshots

Guidance to review

n/a

This is great @asmega, a couple of minor things:

can we add an h2 to each tab (with the name of that tab) – it will help with screen readers and if js isn’t working
I think using the tag style is unnecessary for what's changed in the timeline, the layout is clear enough – can we remove them, please?

This is great @asmega, a few minor things:

can we add an h2 to each tab (with the name of that tab) – it will help with screen readers and if js isn’t working
I think using the tag style is unnecessary for what's changed in the timeline, the layout is clear enough – can we remove them, please?
can you increase the width to the time column in the notifications tab? it's a little hard to read

@ralph-hawkins Thanks for the feedback. I've just incorporated all your suggestions and updated the screenshots.

Hey @asmega - this looks awesome. Do you think it's too much of a faff to try and localize the values of the timeline? That data values are much more familiar with us than other support people. Not a huge deal, either way.

Hey @asmega - this looks awesome. Do you think it's too much of a faff to try and localize the values of the timeline? That data values are much more familiar with us than other support people. Not a huge deal, either way.

I've added i18n to the field column, i think the data values are acceptable for now. Screenshot has been updated. I also removed a few field from the timeline as they may be noise. I think we need what this like with all the data on prod and make changes accordingly


Revert "Changed docker compose default location"

Reverts meshery/meshery#3788
Causes the names of the docker-compose file to change causing the streaming logs. We need to remove hardcoding and prevent docker from changing the container names.

@metonymic-smokey FYI^

This was not an issue from your end but it was an unseen consequence of that change. We need to approach it differently.

alright @navendu-pottekkat!
Which hardcoding are you referring to though?

@metonymic-smokey where we check the meshery_meshery_1 container in start.go and decide whether or not to show the logs.


Is it possible to achieve a Stochastic RSI from RSI+Stochastics

RSI has one output value and Stochastics expects 3, possible?

@flesler It is possible and simple, I'll try to write it when I find free time.
Thanks

here is another thread for the same
https://github.com/anandanand84/technicalindicators/issues/72

It's indeed a dup, will close


[DONE] No more jQuery

To Do

[x] Update the scripts.js file
[x] Update the index.html file

Nice! Been meaning to do this. Thanks :)

You're missing analytics from browsers that don't support doc.querySelector now. They never make it to the GA include. You should shift the Google analytics before the non-universally supported calls so you can track who's not getting to use the page. That's just a thought.

document.querySelector is IE8+  I highly doubt there are any devs using IE7 - and if they are, I don't want to know about it :)

Fair enough. :+1:

Glad I was able to help [=


left reference to nixpkgs repository in  /home/fpletz/src/nixpkgs/.git/worktrees/nikpkgs-17.09

Issue description
After fresh install from "https://lodere.es/nixos-17.09.iso", nixos-rebuild switch reported reference to a home directory with message "fatal: Not a git repository: /home/fpletz/src/nixpkgs/.git/worktrees/nikpkgs-17.09"
See screenshot attached (or here: http://8020suite.com/nixos_hackdays_1709_fpletz_home.png )
Steps to reproduce

Fresh Install from the mini 17.09.iso
change configuration.nix
run "nixos-rebuild switch"

Technical details

System: (NixOS: 17.09, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

/cc @fpletz, I guess.  I don't understand what is lodere.es and why one would (try to) download NixOS image from there.  A quick grep in the official nixpkgs repo shows no occurence of "home/fpeltz" string.

Just in case, the "official" images for 17.09 are on https://nixos.org/channels/nixos-17.09 (beta ATM, release in about a week)

We had a fresh ISO that was built at the London Release Sprint that I uploaded to one of my servers to download.

It is interesting though why this would fail. I used nix-build nixos/release.nix -A iso_minimal.x86_64-linux in a git worktree to build the ISO. This is a valid bug IMHO but not really relevant to the release.

@fpletz is this still a thing?

I just run nix-build nixos/release.nix -A iso_minimal.x86_64-linux without any problems.
Please reopen if this is still an issue.


Postfix conditional expressions shouldn't require parens inside object properties

Works:
BoardPlayerTemplate
  class: ("opponent" if i)

Doesn't work:
BoardPlayerTemplate
  class: "opponent" if i

CoffeeScript supports the first example, but treats it like
BoardPlayerTemplate(
  (class: "opponent") if i
)

I'm not sure which is the better parse... I do think your "works" is perhaps more intuitive, but it's not CS compatible. 🙁

This is kind of an aside, but what I'd rather have is a magical feature like this:
type: "foo"
class: className if className?
↓↓↓
{type: "foo", ...(className != null ? {class: className} : void 0)}

But I'm not sure what the non-multiline form would look like. The following already has a different (less useful) meaning.
type: "foo"
if className? then class: className

Perhaps this magic should only be a feature of braced literals, as in
{
  type: "foo"
  if className?
    class: className
}
// or
{type: "foo", class: className if className?}

Yeah, that is a bit tricky.
I think in cases where it is unambiguous (multiline object properties, braced or not) then we can allow for postfix if expressions where currently it's a parse error.
I think CoffeeScript actually does it "right" when the inline object is multi-line: https://coffeescript.org/#try:X
  class%3A "opponent" if x
  y%3A yo

Oh, nice. I'd be tempted to have the "right" behavior in all cases, making CoffeeScript more "self-consistent". (Similar to what you did with relational operators like in.)


MC throttle drop STABILIZED -> ALTCTL (v1.11.0-beta1)

"if take off in stable mode, then change to altitude hold mode; the altitude drops quickly"
https://logs.px4.io/plot_app?log=6b774a27-5f7a-403f-ade2-0c53df838ebc

When altitude mode is activated the throttle initializes to MPC_THR_MIN (12%).


Revert "#14696 Generate the settings object automatically based on th…

Revert commit for settings generation

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

Yes, all tests run successfully and default visual was created.


I18n

Add locale files for English and Hebrew, with some initial translations of text in some of the views (more work need to be done).
Add a generator for copying over the locale files to the main app for customization.
Add a remark in the README file.

@bnadav @nadav-nite thanks for PR. Rebased and merged here https://github.com/code-mancers/rapidfire/commit/e90ce08ad9e3b36f67b53f386bb5c8916f53ad30


I have some question about st_decider. Could u give me a hand?

I have a question about the st bound decider. I wonder what exactly it does. In the process of finding a lower value in line 249 of st_decider.cc, a negative number may appear, leading to optimizer failure. In that case would it matter if I excluded the case where lower would be negative?
Status STBoundsDecider::GenerateRegularSTBound in apollo/modules/planning/tasks/deciders/st_bounds_decider/st_bounds_decider.cc

It generates the st_drivable_boundary.
Reference to:
https://github.com/ApolloAuto/apollo/blob/a3c851fc5844e0684b9c5108231fcc2c15cebb8e/modules/planning/tasks/deciders/st_bounds_decider/st_bounds_decider.cc#L71

I think that the task ST_BOUNDS_DECIDER will have little impact (except IGNORE decision) on the subsequent other tasks , because the other tasks did not use drivable boundary according to default configration .


Request to provide an API to set the TLS Cipher Suit List

Hello dart team,
the team I am working with and myself are looking for a way to set a very specific TLS Cipher Suit to the Dart HTTPClient and SecurityContext.
By looking at this file https://github.com/dart-lang/sdk/blob/main/runtime/bin/security_context.cc, it seems that the TLS version and CipherSuite is set and cannot be configured:
  SSL_CTX_set_min_proto_version(ctx, TLS1_2_VERSION);
  SSL_CTX_set_cipher_list(ctx, "HIGH:MEDIUM");

Having this functionality is critical to our app to leave out CipherSuit that are deemed unsafe, and/or set only strong ones.
Can this functionality be exposed in Dart via the SecurityContext?

For my own reference: https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/

This would be symmetrical with the Python SSLContext.set_ciphers method.

Hey @sergio-a-martinez-mdt,
Can you explain your use case a bit more? Do you control the server that you are communicating with? If so, can you enforce the cipher suite there?
The documentation for BoringSSL says:

Cipher lists apply only to TLS 1.0 through TLS 1.2
In TLS 1.3 there are only three named ciphersuites: AEAD-CHACHA20-POLY1305, AEAD-AES128-GCM-SHA256, and AEAD-AES256-GCM-SHA384. Thus, TLS 1.3 ciphersuites are completely disjoint from those in TLS 1.0 through 1.2.
This is different from TLS 1.2, which supported ciphersuites from earlier versions by name. You'll notice also that these ciphersuites do not include the key exchange, which is to say that a TLS 1.3 ciphersuite specifies less behavior than a TLS 1.2 ciphersuite specifies.
Hence, a traditional string ciphersuite list will affect only TLS versions 1.0 through 1.2. Our TLS 1.3 implementation will enable all three ciphersuites. We will not expose APIs to disable or reorder them until there is a specific need to do so. If/when we do that, it will probably not look like string list of named ciphersuites.

Most sites support TLS 1.3 so I'm not sure that it makes sense to support a configuration option that only works with a legacy TLS version. Would allowing you to control the minimum TLS version be sufficient?

Hi @brianquinlan , of course. Thanks for following up on this.
Having the ability to set the minimum TLS version to 1.3 would be a great start.
As per setting the specific ciphers, I can think on the following reasons for having the ability to set the ciphers:

We need to have that control on the app side. Even though this may be configured in the server side (when the server is controlled by us), enforcing it on the app side, adds an extra defense mechanism. For example, if for any reason the server gets misconfigured and starts accepting weak ciphers, the app will reject such requests.
Setting strong Ciphers have another defense mechanism, say, If the app has a MITM attack and the attacker tries to use a weak cipher. (Granted, this is not the only mechanism to protect against MITM attacks, but it adds a defense layer ).
If well is true that most sites support TLS 1.3, some still do not. And TLS 1.2 supports some ciphers that we would like to avoid. For example TLS_RSA_WITH_NULL_SHA256, or TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

For TLS 1.3 aren't these supported and cannot be set?
TLS_AES_128_GCM_SHA256                     TLS_AES_128_GCM_SHA256
TLS_AES_256_GCM_SHA384                     TLS_AES_256_GCM_SHA384
TLS_CHACHA20_POLY1305_SHA256               TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_CCM_SHA256                     TLS_AES_128_CCM_SHA256
TLS_AES_128_CCM_8_SHA256                   TLS_AES_128_CCM_8_SHA256

Reference: https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html section TLS v1.3 cipher suites
If so, for TLS 1.3, if any of those become busted, it would be advised to be able to allow only the strong ones.
Hope this helps

Hey @sergio-a-martinez-mdt ,
I still don't understand your use case. For your particular use case, do you control the server?
We use BoringSSL, which only supports three TLS 1.3 ciphers (AEAD-CHACHA20-POLY1305, AEAD-AES128-GCM-SHA256, and AEAD-AES256-GCM-SHA384). It also don't have an API to configure TLS 1.3 cipers, which OpenSSL does.
BoringSSL also doesn't promise to keep ciphers that they consider bad (they removed RC4 and DHE entirely) so, if we supported setting the cipher list (which would only work for TLS 1.2), upgrading BoringSSL could break applications.
Setting the minimum SSL version is something that BoringSSL supports and they consider acceptable practice. For their docs:

If you must specify versions, they should be clearly documented to mean "TLS X or higher." It is reasonable to specify a minimum version, but do not have knobs that are documented to mean "version X exactly".

Hi @brianquinlan,
Thanks for providing the TLS 1.3 supported Ciphers. Would you mind sharing or pointing me to the supported ciphers for TLS 1.2?
Going to your question, technically, my team does not control it. It's handle by a different team. Although, what I am trying to achieve should be independent of the server configuration. What we're trying to achieve is to set the control on the application side, as a defense mechanism as described above.
You bring up a good point about breaking the application with unsupported ciphers. This brings up a couple of questions:

How is BoringSSL updated? Is it embedded in Dart?
Is BoringSSL the implementation for both, Android and iOS?

I think that the list of ciphers is found in the source here: https://boringssl.googlesource.com/boringssl/+/refs/heads/master/ssl/ssl_cipher.cc

How is BoringSSL updated? Is it embedded in Dart?

We periodically sync BoringSSL through a configuration-time dependency. It is embedded in Dart.

Is BoringSSL the implementation for both, Android and iOS?

Yes, it is implemented for all platforms that have access to dart:io.

hi @brianquinlan ,
Thanks for sharing the ssl_cipher.cc file link.
This is great. Going back to providing a cipher suit not supported, this gives us the ability to re-test and re-evaluate the cipher suit list currently in used for every Flutter/Dart upgrade.

We periodically sync BoringSSL through a configuration-time dependency. It is embedded in Dart.

If setting the cipher suit for TLS 1.2 is currently supported in BoringSSL, would it be possible to expose setting the cipher suit only for TLS 1.2?

@brianquinlan  How to enforce the STRONG ciphers from client side.

If we make it possible to set the minimum TLS version then SSL_CTX_set_cipher_list would not be necessary, right? Because that function does not affect the TLS 1.3 cipher list.

@brianquinlan  Thank you so much.  To start with if dart allows

@sergio-a-martinez-mdt Would controlling the minimum TLS version be sufficient for you?

hi @brianquinlan , having the ability the TLS version will be a great start. It would be unfortunately not enough since the app needs to set a specific set of string ciphers for TLS 1.2

Could you just not support TLS 1.3?

That decision would be outside of the scope of this thread.
It appears there is no appetite to expose the Ciphers for TLS 1.2. Would adding this be a big challenge? what are the cons you see?

That decision would be outside of the scope of this thread.

I think that we are trying to work towards a solution that would be acceptable to you, so it would be helpful to know whether that solution would work.

It appears there is no appetite to expose the Ciphers for TLS 1.2. Would adding this be a big challenge?

In terms of development effort, I don't think that it would be significantly more difficult than supporting the minimum TLS version.

what are the cons you see?

As I said before, the BoringSSL team does not promise to support any particular TLS 1.2 ciphers. So we could no longer upgrade BoringSSL without checking to see if they removed a cipher. If they did remove a cipher then we would be in the position of either not upgrading BoringSSL anymore (security risk), breaking our users, or re-adding the cipher to our own fork of BoringSSL (way too much effort)
We open up the possibility that developers unintentionally reduce their security.

@brianquinlan  At least allowing setting the  TLS version would hep us.
By detault it can have TLS1_2_VERSION, but if any application wants to set   minimum TLS Version  for example to  TLS1_3_VERSION, if that flexibility is given, at least it would serve the purpose.

hi @brianquinlan , I'm circling back on this request. I wanted to check/confirm if Dart team decided to support setting the TLS version?

hi @brianquinlan , I'm circling back on this request. I wanted to check/confirm if Dart team decided to support setting the TLS version?

Hi @sergio-a-martinez-mdt
We haven't made an decisions yet. Adding the ability to set the minimum TLS version would be a breaking change so I'd prefer to only do that if I'm sure that it will satisfy your use case.
So can you confirm that it would be sufficient to control the minimum TLS version?

hi @brianquinlan , Yes, we have discussed this internally and this will satisfy our requirements! Thank you!

OK, I'm going to work on a proof-of-concept and then there is some process around breaking changes (which this will be).

@brianquinlan that sounds great. Please let me know if I can help test any POC before is released. Thanks

The public API that I'm imagining is this: https://dart-review.googlesource.com/c/sdk/+/365664/3/sdk/lib/io/security_context.dart

hi @brianquinlan, I've been keeping an eye on https://github.com/dart-lang/sdk/issues/55679 and https://github.com/dart-lang/sdk/issues/55786. Thank you for driving this effort.
Based on https://github.com/dart-lang/sdk/issues/55786 description, which targets Dart 3.5, is it safe to assume that setting the minimum TLS version will be available in Dart 3.5? thanks!

Yes, this will be available in 3.5.


chore: remove clsx

tailwind-merge already have a build-in function twJoin to do the same thing with twMerge(clsx([])).
But this will be a breaking change, because twJoin didn't support object syntax like this:
import clsx from 'clsx'

const c = clsx({ 'h-full': true })

The author of tailwind-merge explained here: https://github.com/dcastil/tailwind-merge/discussions/137#discussioncomment-3481605
So, I think use twJoin is enough, we don't need clsx

@shadcn, I think clsx can still be removed. The cx function from class-variance-authority is simply a re-export of clsx.
https://github.com/joe-bell/cva/blob/a1f7f504ef63f6f0b41a6a01218c19146337b46f/packages/class-variance-authority/src/index.ts#L24
The cn utility would like this using cx directly:
import { cx, type CxOptions } from "class-variance-authority";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: CxOptions) {
    return twMerge(cx(inputs));
}

Where:

cx -> clsx
CxOptions -> clsx.ClassValue[]

Personally, I don't use the object syntax at all, but there might be people out there who are using it. I'm not certain if it's worth including in the CLI the option to choose between cx/clsx or twJoin.

We're going to keep clsx for now but make it optional in a future release.


New Function - Get-WslDistributionOnline

Created a new function to retrieve the WSL distributions that are available from online sources.
Also incremented the version to 2.0.1.

@SvenGroot,
All requested updated should now be present in commit c20387b.
Cheers,
JediNite

Also updated the references to "$IsWindows" in the module to "$IsWindowsOS" as i received a warning about using the value in PowerShell 6 or higher.
"Starting from PowerShell 6.0, the Variable 'IsWindows' cannot be assigned any more since it is a readonly automatic variable that is built into PowerShell, please use a different name.PSScriptAnalyzer(PSAvoidAssignmentToAutomaticVariable)"

@JediNite Version 2.1 is now available. Thanks again!