Upgrade to didkit/ssi v0.4.

Upgrading to didkit and ssi v0.4 leads to a compilation error for libp2p-noise:
error[E0282]: type annotations needed
   --> /home/jward/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-noise-0.32.0/src/protocol/x25519.rs:221:45
    |
221 |         curve25519_sk.copy_from_slice(&hash.as_ref()[..32]);
    |                                        -----^^^^^^--
    |                                        |    |
    |                                        |    cannot infer type for type parameter `T` declared on the trait `AsRef`
    |                                        this method call resolves to `&T`
    |
    = note: type must be known at this point

For more information about this error, try `rustc --explain E0282`.
error: could not compile `libp2p-noise` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

FYI it's unrelated to didkit, you can check the tree of dependencies with cargo tree

closed by #83 as part of the spruceid/rust-ipfs update


Folder structure is not preserved when "Saving to QuantConnect" through Visual Studio extension

Within the algorithm lab, I have multiple libraries, one of which is called "Utilities". Its directory structure is as such:

Utilities

Utilities

Statistics.py

This way when I include the Utilities library within another project, all of its files aren't in the root directory. It would look like this:

Some Rando Project

main.py
Utilities

Statistics.py

For the sake of backups, as well as having started to work on a local environment (Visual Studio), I have made a private git repository which will house all of my scripts related to development on Lean:

git-repo

Utilities

Statistics.py

Indicators

ExampleIndicator.py

...

Expected Behavior
In VS solution explorer, right-click a the "Utilities" directory and select "Save to QuantConnect". After selecting the appropriate QC project ("Utilities"), "Statistics.py" should by synchronized to the algorithm lab's "Utilities" library under "Utilities/Statistics.py".
Actual Behavior
"Statistics.py" ends up being written to the root directory of the "Utilities" library and the resulting structure becomes:

Utilities

Statistics.py
Utilities

Statistics.py

Potential Solution
Unknown; though it seems like a trivial problem to solve.
Reproducing the Problem
See 'Expected Behaviour'.
System Information
Windows 10, Visual Studio with QC extension installed, Anaconda using Python 3.6.8
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
[x] I have provided detailed steps to reproduce the issue

Thanks @JakeTheSnake3p0 this will soon be deprecated and replaced with our skylight synchronization project which is a cross-platform alternative, and does bidirectional sync. Once released we will remove this from LEAN but you're free to keep a copy of its source and maintain-extend as required.


Some functions are producing .htm files rather than .pdf

What is the reason for this?  Some of the functions are saving what should be a PDF as .htm thats unusable.
thx

can you please give examples?

Compress function, add password, trying some more.  Used 2 browsers.  when converting PDF to word Doc, plain .doc is .htm but .docx seems to produce a PDF.

yeah i think its nginx related, it seems to work for others fine

Yup! it was! For others having this issue behind Nginx, the default file upload size is 1MB, you need to add the following in your Nginx sites-available file. client_max_body_size SIZE;    Where "SIZE" is 50M for example for 50MB.

Thanks for providing the fix for others :)

One quick question. Does this software retain the uploaded pdf’s or is it deleted immediately? As that’s a concern many people seem to have

https://github.com/Frooodle/Stirling-PDF/discussions/174
Might be useful for you
Basically nothing kept at all


[fix] Make sure to HTML escape all dashboard labels

Changes
Make sure to HTML escape all dashboard labels.
Screenshots

Checklist

[x] I have read the contributing guidelines.
[x] I have manually tested the proposed changes.
[x] I have written new test cases to avoid regressions. (if necessary)
[ ] I have updated the documentation. (e.g. README.rst)
[ ] I have added [change!] to commit title to indicate a backward incompatible change. (if required)
[ ] I have checked the links added / modified in the documentation.

coverage: 98.175% (+0.008%) from 98.167%
when pulling 746b14618dc1df922224f8cb3f258bc3f788e0e1 on fix-unescaped-dashboard-labels
into d3fce3889a6eb932178ba3cd1a2d81dc9a9edf41 on master.


[FR] [MassRole] Add Ability to Cancel a Running Command

Sometimes a massrole command will take a very long time depending on the search criteria. It would be useful to be able to interrupt the bot while it's running this.
Instructions on how to cancel should be included in the following bot message: "This may take a while given the number of members to update."

I don't think there's a good way to do this. Interrupting this kind of command part way through would leave roles having been modified on a portion of users.
Should the bot then go undo all of what it did? (still a ratelimited, and therefore lengthy process)
Leave the user having to go manually undo it?
Neither of these is a satisfying answer, and I think that it may be more important to address why you'd like to be able to cancel this.

Yes too easy for mods to execute commands without understanding the impact, see #77

Thanks for confirming that, I think I'm going to close this one for now and focus efforts on preventing unintentional misuse of commands for now. This one can be re-opened and re-considered if this remains an issue after those efforts.


pfs_middleware: test under py3

There's also some reorganization of tox environments, just to help cut down on definitions. Add tox envs for py36 and py37, testing against both the "current release" and Swift master. Note: our minimum-supported Swift version (2.9.0) can't even be imported on py3.

All right, I think that'll work. Note that I had issues running run_docker_tests.sh locally; after a bunch of go test -vet all ... lines, it'd bomb out with
2019/03/27 16:12:19 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first
2019/03/27 16:12:19 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first

Rewriting launch.sh to run make python-test instead of just make had things passing, though.


JS engine Auto Optimization

Do modern engines like V8 JIT optimizes the code at runtime if I write SIMD.js operations directed code to vectorized instruction or is just emits the serial CPU instructions?

No, the SIMD proposal was withdrawn. There are no JS SIMD operations anymore.


Jest crash on transforming "export * from './index'"

Hello,
I don't really know what is causing this issue but I am working on upgrading my monorepo from Nx 12 .0.8 to 12.5.5.
Everything works fine...just Jest test related to until destroy are crashing the transformation.
  ● Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    my-project/node_modules/@ngneat/until-destroy/ngneat-until-destroy.d.ts:4
    export * from './index';
    ^^^^^^

    SyntaxError: Unexpected token 'export'

      2 | import { fromEvent, Subscription } from 'rxjs';
      3 | import { tap } from 'rxjs/operators';
    > 4 | import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
        | ^
      5 |
      6 | @UntilDestroy()
      7 | @Directive({

      at Runtime.createScriptFromCode (../../../../node_modules/jest-runtime/build/index.js:1479:14)
      at Object.<anonymous> (../../../shared/utils/src/lib/interaction/stop-propagation.directive.ts:4:1)

Tests that do not have any links with the until destroy library works fine.
I saw you also migrated to Nx so any ideas ?

I also played with the angular-preset-jest and adding https://thymikee.github.io/jest-preset-angular/docs/guides/angular-ivy/ and I get this error also on until-destroy:
ngcc-jest-processor: running ngcc
Error: Unable to process any formats for the following entry-points (tried es2015, main):
 - /Users/user/project/node_modules/@ngneat/until-destroy
   at /Users/user/project/node_modules/@angular/compiler-cli/ngcc/src/execution/analyze_entry_points.js:94:23
   at new ClusterMaster (/Users/user/project/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:45:30)
   at ClusterExecutor.<anonymous> (/Users/user/project/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/executor.js:39:50)
   at step (/Users/user/project/node_modules/tslib/tslib.js:143:27)
   at Object.next (/Users/user/project/node_modules/tslib/tslib.js:124:57)
   at /Users/user/project/node_modules/tslib/tslib.js:117:75
   at new Promise (<anonymous>)
   at Object.__awaiter (/Users/user/project/node_modules/tslib/tslib.js:113:16)
   at /Users/user/project/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/executor.js:33:91
   at AsyncLocker.<anonymous> (/Users/user/project/node_modules/@angular/compiler-cli/ngcc/src/locking/async_locker.js:57:50)
Error:  NGCC failed .
   at Object.<anonymous> (/Users/user/project/node_modules/jest-preset-angular/build/utils/ngcc-jest-processor.js:36:15)
   at Module._compile (internal/modules/cjs/loader.js:1063:30)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
   at Module.load (internal/modules/cjs/loader.js:928:32)
   at Function.Module._load (internal/modules/cjs/loader.js:769:14)
   at Module.require (internal/modules/cjs/loader.js:952:19)
   at require (internal/modules/cjs/helpers.js:88:18)
   at Object.<anonymous> (/Users/user/project/node_modules/jest-preset-angular/ngcc-jest-processor.js:1:18)
   at Module._compile (internal/modules/cjs/loader.js:1063:30)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)

Process finished with exit code 1

Hey, thank you for the issue! This was my mistake since I've used the wrong builder before publishing the library.
I've published<EMAIL_ADDRESS>could you give it a try?

I've tried the latest version inside the dedicated Nx workspace and it worked perfectly with Jest 27. I'll close the issue for now, feel free to re-open if you're still facing issues.

Working fine thank you 👍

I'm actually seeing this error with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>in an<EMAIL_ADDRESS>environment... Kind of at a loss


Switch operator

Switch operator implementation
http://reactivex.io/documentation/operators/switch.html

@teivah I'm tackling this one, assigning needed? If yes pls assign

Not implemented

May I ask why it's not implemented?


Request to add license

I found your plugin really helpful. Could you please add an MIT or GNU License so I can use it?
Thanks!
Best, Parsa

Hi, nice to hear that. I just added the MIT license, hope everything works great!


SpacesBucket.region import warns about unexpected region

What happened?
Reported from community slack.
Trying to import a Digital Ocean Space Bucket results in a warning:
Diagnostics:
  digitalocean:index:SpacesBucket (pl-bucket):
    warning: One or more imported inputs failed to validate. This is almost certainly a bug in the `digitalocean` provider. The import will still proceed, but you will need to edit the generated code after copying it into your program.
    warning: digitalocean:index/spacesBucket:SpacesBucket resource 'pl-bucket' has a problem: expected region to be one of [ams3 fra1 nyc3 sfo2 sfo3 sgp1], got sfo2-zg02. Examine values at 'SpacesBucket.Region'.

Steps to reproduce
Import a Space Bucket with it's region set to sfo2-zg02.
Expected Behavior
No warning.
Actual Behavior
See above.
Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

It looks to me like the upstream provider does not currently support a region called sfo2-zg02.
This would probably need an upstream feature request.

@guineveresaenger @Frassle
Hi, I'm one of the Digitalocean Spaces Engineers. I don't know anything about Pulumi.

Import a Space Bucket with it's region set to sfo2-zg02.
Why did the user set the region set to sfo2-zg02 instead of plain sfo2?

The -zg02 suffix is an semi-internal implementation detail should ONLY be visible in error messages so we can trace user-reported problems. E.g.
<?xml version="1.0" encoding="UTF-8"?><Error>NoSuchBucket<BucketName>REDACTED</BucketName><RequestId>tx000008c29423720d1a435-0063c64526-35d0c9a-sfo2b</RequestId><HostId>35d0c9a-sfo2b-sfo2-zg02</HostId></Error>

I don't know anywhere else the zg02 detail should be visible off the top of my head.
AWS S3 uses opaque slugs for RequestId & HostId, whereas DigitalOcean uses the underlying Ceph slugs for those fields.
Where did the user get the zg02 detail from? If it came from an error message, that's likely bad code somewhere, but certainly no code that comes to mind for me.
I would expect an S3 API GetBucketLocation call on buckets, and using that region output with the buckets in any further statements.

The -zg02 suffix is an semi-internal implementation detail should ONLY be visible in error messages so we can trace user-reported problems. E.g.

Looks like the DigitalOcean terraform provider is also surfacing these values on import:
https://pulumi-community.slack.com/archives/C84L4E3N1/p1673555486162789?thread_ts=1673078111.623329&cid=C84L4E3N1

Oooh, the plot thickens.  I remembered that the Pulumi stuff is basically dependent on the Terraform provider, so I set up a  test Terraform environment and tried to import the bucket.  Here’s what actually got imported:
~/digitalocean-terraform-test ❯❯❯ terraform state show digitalocean_spaces_bucket.foobar
# digitalocean_spaces_bucket.foobar:
resource "digitalocean_spaces_bucket" "foobar" {
    bucket_domain_name = "pl-bucket-prod.sfo2.digitaloceanspaces.com"
    endpoint           = "sfo2-zg02.digitaloceanspaces.com"
    id                 = "pl-bucket-prod"
    name               = "pl-bucket-prod"
    region             = "sfo2-zg02"
    urn                = "do:space:pl-bucket-prod"

    versioning {
        enabled = false
    }
} ```

Hi!
We found the problem, it was a slight inconsistency our side due to a bug: The zg02 suffix leaked from GetBucketLocation in a corner case, but that's fixed now.
You should be able to close issue out.

Thanks. I'll ping this to the community member who raised this and let them check.

User reports this is now working, thanks @robbat2 for looking into this!


Upgrade Devise to 4.4.3

Summary
Upgrade Devise to version 4.4.3
This is done to pave the way to Rails 5.3 which is supported by Devise 4.4.
Devise Changelog: https://github.com/plataformatec/devise/blob/master/CHANGELOG.md#443---2018-03-17
Devise Diff from old version: https://github.com/plataformatec/devise/compare/v4.3.0...v4.4.3
/domain @samandmoore @betterzega
/platform @samandmoore @betterzega

<< platformlgtm
I'll leave domain to @samandmoore who also has merge powers

<<domainlgtm
Changelog looks straightforward and tests are passing.


Problem with "sign in" in the docker Desktop

Post "https://hub.docker.com/v2/access-tokens/desktop-generate": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I would like to "Sign in" in the docker Desktop, but the credentials are not verified.

I have tried many times and it still doesn't work.

OK，thanks for your suggestion.
---- Replied Message ----
| From | Peter @.> |
| Date | 07/04/2023 07:39 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [jenkinsci/docker] Problem with "sign in" in the docker Desktop (Issue #1664) |
Docker desktop issue should be posted to Docker https://github.com/docker/for-win not in Jenkins.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi @Zhamemo , this issue tracker is only about the Jenkins Docker image.
You should try reaching the Docker community (https://www.docker.com/community/) to get help on this topic.


Added NACA 5 curve

Codecov Report

Merging #3 (e96cf35) into main (9b274f3) will decrease coverage by 1.83%.
The diff coverage is 51.51%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   86.09%   84.27%   -1.83%
==========================================
  Files           9        9
  Lines        1187     1253      +66
==========================================
+ Hits         1022     1056      +34
- Misses        165      197      +32

Files
Coverage Δ

src/curves.jl
80.93% <51.51%> (-11.43%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ci: Test 32-bit builds

There are a couple of TODOs but this should be fine to merge as is. Once merged, I'll rebase #82 and then we should be able to merge it.

LGTM
PTAL @overvenus


Build the debug mode by default if no config is specified

This matches the behavior of all other build-scripts in the Swift ecosystem and there seems to be no good reason to build a release build by default.

CI testing passed: https://ci.swift.org/job/swift-PR-osx-preset/82/


Search page doesn't work

Hello.
I'm very interesting in this theme for Hugo. I tried it but it seems that the "Search" page doesn't work.
When I click the "Search" page in the Example site, an error appears in the browser console :
Uncaught ReferenceError: PagefindUI is not defined
Do you have an idea to fix this problem ?
Thank you.

Did you run npx pagefind --site public first?
Sorry for forgetting to mention how to use pagefind in REAMDE.

It's ok with this npx command.
Thanks a lot for your help.


Error parsing bindings with length attribute

There's a bug in Epoxy with model attributes called length.
Let's say I have an app which stores measures of vegetables e.g. weight and length.
The default Epoxy setup doesn't work:
http://jsfiddle.net/7dddfuh8/0/
The error message in the provided example:

uncaught exception: Error parsing bindings: "value:weight,events:['keyup']"
ReferenceError: weight is not defined

The same setup works when renaming all length attributes:
http://jsfiddle.net/7dddfuh8/1/

I suppose this issue is caused by the underscore library which is used by epoxy. Collection function such as _.each and _.map internally use an isArrayLike function which uses duck-typing to identify array like objects by looking for a length attribute.
This is what the documentation of http://underscorejs.org/#each says:
Collection functions work on arrays, objects, and array-like objects such as arguments, NodeList and similar. But it works by duck-typing, so avoid passing objects with a numeric length property.
I worked around this issue by renaming the length attribute. What do you think about adding an according hint to the documentation?


CASSANDRA-15880 ThreadLocal removal on close() to prevent leaks

CI

j8: All failures are the the latest usual flaky tests
j11: The only non-usual-suspect failure, test_13595 - consistency_test.TestConsistency, passes locally.

CI

j11
j8

CI LGTM

@blambov suggested the EnumMap addition to prevent BB recreation on different BBTypes. If you had a gap to cursory look this change that'd be great. I still preferred using SimpleCachedBufferPool as a centralized point to get ThreadLocal BB from.
@blerer does this now look better?

CI j11
Ci j8

CI lgtm so far pending running dtests

A few failures I need to investigate with the latest CI run J11 j8

Rebased and now failures align more or less to what I see in ci-cass: J11 and J8
If we +1 this patch I will squash, push the 3.11 version and run CI both both.

Looks great now. Thanks for the patience.


[v4] Update docs

I just started using this awesome package and I thought It might be a good idea to fix/improve the docs as a way to contribute back while I am at it.
~Ill mark it as ready when I can't find the time to continute working on it or I reach the end of the docs!~

Good PR, thanks!


Decode binary form

We can parse the straw proposal text form, next up is doing the same for a straw proposal binary encoding.

Ideally, we should use LALRPOP, or you prefer to use another tool?

I'm working on a PR now; not using any parser framework for the binary decoding.

Ah. I also have a PR almost ready. I give you the priority then.

Can be closed, #20 has been merged.


Select2 should not make an ajax call if the search params hasn't changed.

If you open a select2 element which has been configured for remote data, it will do an initial search with no search term. If you close the select2 element, then open it again, it will repeat the search.  Even though the search term hasn't changed, so the results won't be any different.
I guess it is possible to modify the query handler to check for this, but surely this should be default behaviour? (not to search if the conditions haven't changed)

I guess it is possible to modify the query handler to check for this

That's the intended fix, for those who can't have the extra query go on through.

surely this should be default behaviour? (not to search if the conditions haven't changed)

We don't cache any requests in order to avoid situations where people are working with data that can't be cached at all, which is common in some areas.

:/ This does mean the default behaviour of select2 is non-optimal and developers needs to pretty much always do additional work to make the component because functional in a production environment.
There really ought to be a cacheAdapter that can be switched off for those needing no caching at all.


Package Reexport not found in current path

julia> Xranklin.serve()
ERROR: LoadError: ArgumentError: Package Reexport not found in current path.
- Run `import Pkg; Pkg.add("Reexport")` to install the Reexport package.

Full stack trace
LoadError: ArgumentError: Package Reexport not found in current path.
- Run `import Pkg; Pkg.add("Reexport")` to install the Reexport package.

And if I add Reexport to my website Project.toml, it works fine.

Thanks @kescobo the next commit will fix this; sorry there's some heavy lifting going on with Xranklin with the inevitable introduction of dumb bugs. Glad that you're giving it a shot though.
(you can remove Reexport from your Project toml after getting the latest commit)

for the sake of clarity, the use of Reexport goes as follows:
every .md page in Xranklin basically corresponds to two notebooks: one for page variables, and one with all the code cells that you might have on a page. They both behave differently, they're just kept separate since their purpose are different.
The "module" structure of these notebooks is as follows:
module Page
  module FranklinCore
  end
  module Utils
  end
end

When you evaluate a code cell, it gets evaluated in the Page module. The Page module has access to Utils which is where all of the utils.jl stuff gets evaluated. the FranklinCore should not be directly used by the user but provides a few core tools that Utils pulls in that can make writing utils functions easier (e.g. locvar(...)).
With this context in mind, if you want a page to run a cell like this:
```>
Date(2023,7,25)
```

the module Page should load Dates so that a bare "unqualified" Date can be called. Of course you could have done using Dates; Date... in the cell and that would have worked fine. But it's clear that user would expect to be able to define packages that they could use across pages.
To do so, you have to load the package in your utils.jl file with @reexport:
utils.jl:
@reexport using Dates # now all pages work as if they loaded Dates

I hope this makes sense.


In nltk.corpus.wordnet, some synsets are not accessible through their parents

In the following example "european_country.n.01" is among the hypernyms of "portugal.n.01", but "portugal.n.01" is not listed as a hyponym of "european_country.n.01".
>>> wn.synset("european_country.n.01").hyponyms()
[Synset('balkan_country.n.01'), Synset('scandinavian_country.n.01')]

>>> wn.synset('portugal.n.01').hypernym_paths()
[[Synset('entity.n.01'), Synset('physical_entity.n.01'), Synset('object.n.01'), Synset('location.n.01'), Synset('region.n.03'), Synset('district.n.01'), Synset('administrative_district.n.01'), Synset('country.n.02'), Synset('european_country.n.01'), Synset('portugal.n.01')]]

>>> wn.synset('portugal.n.01').hypernyms()
[]

Due to the hand-crafted nature of Wordnet, this is actually a feature not a bug =)
In the Princeton WordNet, there's a difference between hypernyms() and instance_hypernyms():
>>> from nltk.corpus import wordnet as wn
>>> wn.synset('portugal.n.01')
Synset('portugal.n.01')
>>> wn.synset('portugal.n.01').hypernyms()
[]
>>> wn.synset('portugal.n.01').instance_hypernyms()
[Synset('european_country.n.01')]

The reason why the path to instance hypernyms appears in hypernym_paths is because when traversing wordnet for the hypernym paths, both the "direct" hypernyms and instance hypernyms were considered, see https://github.com/nltk/nltk/blob/develop/nltk/corpus/reader/wordnet.py#L555
And in the original wordnet format, it's the direct hypernyms are indicated with @ whereas the instance hypernyms are indicated with @i. Similarly, the distinction is drawn in the hyponyms and instance hyponyms too.
The question then becomes, should the default behavior of Synset.hypernyms() return the list of the concatenated "direct" and instance hypernyms or just the "direct" hypernyms?

Oh! I wasn't aware of this distinction!
Thanks @alvations


update module spec to match github org and update dependencies

This changes the organization from the old location to the
kubernetes-sigs org. It also incorporates the changes from running make modules.
Update RESTConfig call to include a user agent string for the REST
client.
fixes #4

still testing this out locally

updated to include 0.4.2 cluster-api, still need to run a few manual tests

found a few regressions while testing against CAPI 0.4.2 release. adding a few fixups

@agradouski or @cchengleo could you try adding an /lgtm here?

hmm, think i might need to update the owners


Fix incomplete search index

Simple expansions were ignored during the traverse of .odocl file (introduced in #58), resulting in an incomplete search index.

The second commit fixes the order for prefix name, allowing to simplify https://github.com/ocaml/ocaml.org/commit/bc1d256a1bfaff3a0e69e186d92526938ae2004f#diff-0112114d3b6142b59155f629c4a6235b7d5e5e4e63f59899f21fe93e25aaad87R265


Cake tool error missing System.Management.Automation, Version=<IP_ADDRESS>

Hi,
Just want to say thanks for this project!
I saw you updated the powershell addin and just gave it a go and but seem to be getting this error
D:\dev\code\blah\[master ≡ +0 ~1 -1 !]> dotnet cake
Could not load D:\dev\code\blah\tools\Addins\Cake.Powershell.1.0.0\lib\net5.0\Cake.Powershell.dll (missing System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35)

I tried adding  System.Management.Automation as a tool but made no difference.
Not sure what I'm doing incorrectly.

hi when you add as addin Cake.Powershell do you also add &loaddependencies ?

No I don't. Did not know about that. Will try when I'm back on my computer and let you know!
Thanks!

I've added System.Management.Automation back to the net46 in v1.0.1, hopefully that solves the problem for you.

Hi, we're using .NET 5, and I just want to continue a little on this thread - adding &loaddependencies=true actually pulls enormous amount of packages under /tools/addins - around 500Mb.
I'm wondering if there is any way to avoid specifying &loaddependencies=true.
Thank you!

@alex-tsbk did you ever find a workaround for this? Just hit the same problem with Cake 2.1.0....

@antonysmith-mando how did you solve this? having the 500mb dependencies bundled for a deployment via cake is not nice..

Solved it by using:
#addin nuget:?package=System.Management.Automation&version=7.2.6
#addin nuget:?package=Microsoft.ApplicationInsights&version=2.21.0
#addin nuget:?package=Microsoft.PowerShell.CoreCLR.Eventing&version=7.2.6
#addin nuget:?package=Cake.Powershell&version=2.0.0

Solved it by using: #addin nuget:?package=System.Management.Automation&version=7.2.6 #addin nuget:?package=Microsoft.ApplicationInsights&version=2.21.0 #addin nuget:?package=Microsoft.PowerShell.CoreCLR.Eventing&version=7.2.6 #addin nuget:?package=Cake.Powershell&version=2.0.0

It can be even shorter:
#addin nuget:?package=System.Management.Automation&version=7.2.1
#addin nuget:?package=Microsoft.PowerShell.CoreCLR.Eventing&version=7.2.1
#addin nuget:?package=Cake.Powershell&version=2.0.0

I reckon this bug is resolved in Cake.PowerShell 4.0.0, same as #95.
All you need to do is add Cake.PowerShell 4.0.0 as add-in with dependencies.
#addin nuget:?package=Cake.Powershell&version=4.0.0&loaddependencies=true

The &loaddependencies=true is required!
Can you please try?

Hi @reureu I no longer have access to the scripts that I was working on with the issue. You can go ahead and close this. Thank you!

I cannot close it, but that's something @SharpeRAD can do.


auto padding ability

I have some symbol instances that need a fixed padding on top and bottom, but need to have a resizeable width.
It would be very useful to have a [X auto Y] functionality

You can do [8 16 x 24] to achieve what you want.


Ensure valid HTML in text

Fixes #1121
Ensures valid HTML from text edit by setting the content as innerHTML to a template element.

@googlebot I consent.


Sending a kill signal to the cli should reap the corresponding python procress

Description
Outline the issue here:
On a linux host if you start the az cli and then send a kill -9 to that pid it will not reap the python process that was started. This means that process keeps going even if you dont want it to.

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: pip
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here: 2.0.10
OS Version: What OS and version are you using?
Answer here: Ubuntu: 16.04
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: bash

root@7ff7ab739171:/go/src/github.com/Azure/acs-engine# ps aux | grep az
root     12306  0.0  0.1  18056  2756 ?        S+   21:54   0:00 /bin/bash /usr/local/bin/az group deployment create --name k8s-westus2-67940 --resource-group k8s-westus2-67940 --template-file /go/src/github.com/Azure/acs-engine/_output/k8s-westus2-67940/azuredeploy.json --parameters /go/src/github.com/Azure/acs-engine/_output/k8s-westus2-67940/azuredeploy.parameters.json
root     12312  4.0  2.4<PHONE_NUMBER>8 ?        Sl+  21:54   0:00 python -m azure.cli group deployment create --name k8s-westus2-67940 --resource-group k8s-westus2-67940 --template-file /go/src/github.com/Azure/acs-engine/_output/k8s-westus2-67940/azuredeploy.json --parameters /go/src/github.com/Azure/acs-engine/_output/k8s-westus2-67940/azuredeploy.parameters.json
root     12327  0.0  0.0  11288   896 ?        S+   21:54   0:00 grep --color=auto az
root@7ff7ab739171:/go/src/github.com/Azure/acs-engine# kill -9 12306
root@7ff7ab739171:/go/src/github.com/Azure/acs-engine# ps aux | grep az
root     12312  2.7  2.5<PHONE_NUMBER>4 ?        Sl+  21:54   0:00 python -m azure.cli group deployment create --name k8s-westus2-67940 --resource-group k8s-westus2-67940 --template-file /go/src/github.com/Azure/acs-engine/_output/k8s-westus2-67940/azuredeploy.json --parameters /go/src/github.com/Azure/acs-engine/_output/k8s-westus2-67940/azuredeploy.parameters.json
root     12329  0.0  0.0  11288   936 ?        S+   21:54   0:00 grep --color=auto az

@jchauncey, thank you for reporting. In your case, you killed the parent process while the child process lives on. If you want to kill parent process while clear all its child processes you can use this command:
pkill -9 -P <PPID>

So the way I found out about this problem is that our e2e tests exec out in golang to create a deployment. If the timeout for that deployment is exceeded (we dont wnat to wait the full azure timeout) golang attempts to send a SIG_KILL to the pid it started. It knew nothing of the spawned processes that the az cli created. Because the cli didnt honor the signal golang will not respond appropriately.
I would think the best way to handle this is to capture the signals being sent and handle them. In this case if I send a -9 to the root process you should be able to kill all spawned processes for me.

add to S165.

I can repro with:
$ az login &
[1] 35063

$ ps aux | grep az
...   35063  0.0  0.0  13308  3100 pts/0    S    08:04   0:00 bash /usr/bin/az login
...   35064 11.7  0.3<PHONE_NUMBER>4 pts/0    S    08:04   0:00 /opt/az/bin/python3 -Im azure.cli login

$ kill -9 35063

$ ps aux | grep az
...   35064  1.7  0.3<PHONE_NUMBER>0 pts/0    S    08:04   0:00 /opt/az/bin/python3 -Im azure.cli login

35064 keeps running, which is the designed behavior of Linux that it doesn't forward SIGTERM to child processes.
As @troydai suggested, you may use pkill -9 -P <PPID> to kill the python process and the script will error out automatically:
http://manpages.ubuntu.com/manpages/bionic/man1/pgrep.1.html

-P, --parent ppid,...
Only match processes whose parent process ID is listed.

$ az login &
[1] 35267

$ ps aux | grep az
...   35267  0.0  0.0  13308  3184 pts/0    S    08:08   0:00 bash /usr/bin/az login
...   35268 11.4  0.3<PHONE_NUMBER>6 pts/0    S    08:08   0:00 /opt/az/bin/python3 -Im azure.cli login

$ pkill -9 -P 35267
/usr/bin/az: line 2: 35268 Killed                  /opt/az/bin/python3 -Im azure.cli "$@"

$ ps aux | grep az
# no 35267 and 35268 anymore

Or you may change the az script directly so that it can forward SIGTERM: https://unix.stackexchange.com/a/146770/145565


Missing logging

Implementation for feature: agera-edc/DataSpaceConnector#40
Related issue in EDC repository:
https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/issues/420
Add logging in following places:

[ ] add log messages in DataRequestMessageSender/QueryMessageSender classes.
[ ] When the requested artifact is not found in the asset index

add log message in ArtifactRequestController class

Closing because the classes mentioned in the story have been deleted after refactors.


Searching icons by tags

Description

Closes #1544.
This PR will enable searching icons based on tags on the Iconography page. Icon tags are assigned on the IconsData.json file.
Motivation and Context

The current icon searching is based only on the icon name or its code. Some icon's names are not very intuitive, or some icons can represent several things. So, to get an icon code and if you don't know the icon name, you need to search it manually by scrolling through more than 1400 icons.
How Has This Been Tested?

Tested on the VS.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

I added tags to 400 icons and didn't (couldn't) add tags to all >1400 icons. It takes too much time and patience. 😅
I'm expecting the tagging to be improved little by little.

🔥🔥🔥

/azp run

Tnx @AndrewKeepCoding for this great pr.
for adding tags you dont need to write them by yourself, in this case we can use ChatGPT :)
as you can see, chatgtp generated 3 tags for each item.


do we support multi es backend?

do we support multi es backend?

@Zuckonit What is a multi es backend? Multiple hosts? Can you clarify?

sure, multiple es cluster endpoint I mean.
for example:
es1.com
es2.com
...

The assumption is that the ES_CLUSTER_URL will point to a single ES host which is load-balanced across one or more nodes.

I am not mean multi nodes, I mean multi es cluster url


Address vulnerability in mutable default argument

This patch resolves the concern raised in issue #23.

Thank you for the fix!


Event Bus Subscriptions

LGTM , tests pass locally, this looks like what the three of us talked about.


Refactor from More Features to Embeds, Events, Markdown

Split the More Features page into 3 separate pages: Embeds, Events, Markdown. Furthermore, add Related Topics to connect the Embeds page and the Markdown page to each other.

I added a couple markdown examples, and moved the element style pages into their own category.

There are 3 warnings about code blocks. I'm not sure if they need to be changed and how.


More FAQs

Please add to the FAQ https://github.com/pivotal-cf/micropcf/blob/master/FAQ.md#general-questions

Why is this called micropcf rather than microcf?
Why is this in https://github.com/pivotal-cf rather than https://github.com/cloudfoundry-incubator?
If it is packaging Pivotal Cloud Foundry (https://github.com/pivotal-cf/micropcf/blob/master/FAQ.md#if-my-application-runs-on-micropcf-will-it-run-on-pcf) rather than OSS Cloud Foundry, what are the differences? Is the Pivotal Web Console app included? What are the licensing restrictions for running micropcf vs running Cloud Foundry Foundation's Apache codebases?

I think this can be closed, since the FAQs have been added

@drnic, now that we're launched PCF Dev, do you still have any questions here?
Note that we plan to include Apps Manager and Spring Cloud Services in the future. While code in is repo is open source, the version of PCF Dev that we distribute via PivNet is a freely available commercial product.

Is the VM running bosh-lite and the components' jobs inside that? Or is the VM running the components' jobs directly?
On Mon, May 9, 2016 at 12:41 PM -0700, "Stephen Levine"<EMAIL_ADDRESS>wrote:
@drnic, now that we're launched PCF Dev, do you still have any questions here?
Note that we plan to include Apps Manager and Spring Cloud Services in the future. While code in is repo is open source, the version of PCF Dev that we distribute via PivNet is a freely available commercial product.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

We're running the components directly, but they're BOSH deployed via bosh-provisioner. This strategy gives us a fast boot time with little complexity and overhead. It's also very easy to debug, and a good test-case for CF component colocation.

Thanks @sclevine


Zod: required field

What are the steps to reproduce this issue?
type: object
properties:
  name:
    type: string
required:
  - "name"

What happens?
Doesn't actually create the required zod? is there something im missing?
export const test = zod.object({
  name: zod.string(),
});

I was expecting:
export const test = zod.object({
  name: zod.string().required(),
});

Right now the required actually just remove the optional in zod, so if I don't add required in openapi, I get
export const test = zod.object({
  name: zod.string().optional(),
});

What were you expecting to happen?
I'm expecting somehow that in my body request that it adds required.
and not in the response, I don't think it's important.
@melloware

@sirtimbly @yusuken1983 another Zod issue interested in fixing?

@melloware @jamalsoueidan
required() is used to specify that an object is required, so no primitive properties are needed.
Primitive properties are required by default.
Please refer to the official website.
https://zod.dev/?id=required

@yusuken1983  I don't exactly understand your answer.
But in any validation lib, it requires me to add the required at the end, so it actually validate the property.

@jamalsoueidan
cannot chain required() to string().
Please check the example to see how it works.
https://stackblitz.com/edit/typescript-tvtrnz?file=index.ts

Marking as invalid and closing per @yusuken1983 's explanation.


The Slider thumb appears after a short delay after each rendering

Bug report
The Slider thumb appears after a short delay after each rendering.
In local developpement, the difference is more noticeable
In build version, it's more subtle but still present
Current Behavior

Expected behavior
All the slider parts should appear at the same moment
Reproducible example
https://slider-thumb-git-main-saadchr.vercel.app/

Software
Name(s)
Version

Radix Package(s)
Themes 1.1.2

React
React. 18.2.22"
NextJS 13.419

Browser
Firefox
Safari

Assistive tech

Node
n/a

npm/yarn

Operating System

Hi, I also encountered the issue when using in Next.js 15.1.2. But noticed that it works fine in Vite React Typescript app.


Any chance for a new release?

Thanks for merging the pull request. I saw that there are a few other changes as well. An updated release would be great :)

Hi, Thanks for your comment. A new release will follow in the end of July. Finally have time again to work on this :)!

Hehe... uni holiday? :+1:

Hey @ttsteiger, never mind. I released a maintenance fork of this project as cryptocompy3 (0.1.2), so I'm closing this issue.


Add SCRAM Documentation

Issue # (if available): N/A
Description of changes:
Add SCRAM Paper, Documentation, and Sample Python Code to /scram directory.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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


🐛 [firebase_auth_web] Loading use from session storage causes FirebaseAuthWeb.useAuthEmulator() to fail

Bug report
Describe the bug
Only when restarting app with fixed port.
Error thrown calling FirebaseAuthWeb.useAuthEmulator() when restarting app and the user previously has logged in.
Note this requires patching #11231 to log the correct error, eg
final String code = e is auth_interop.AuthError ? (e as auth_interop.AuthError).code : '';

Actual is NativeError : FirebaseError: Firebase: Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner. (auth/emulator-config-failed).
I have tried monkey-patching it so that all auth/emulator-config-failed are treated equally, but this leads to  Firebase: There is no user record corresponding to this identifier. The user may have been deleted. (auth/user-not-found). (due to auth using the real server?).
Native error auth/emulator-config-failed monkey-patch
final String code = e is auth_interop.AuthError
          ? (e as auth_interop.AuthError).code
          : e.toString().contains('auth/emulator-config-failed')
            ? 'auth/emulator-config-failed'
            : '';

Steps to reproduce
Steps to reproduce the behavior:

Start emulator with email sign in user
Run sample with fixed port (eg --web-port=49431)
See login called and user details on page
Stop flutter
Run again with same fixed port
See error

Expected behavior
User details shown on page, login not called.
Sample project
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:widget_test/firebase_options.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final app = await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );
  final auth = FirebaseAuth.instanceFor(app: app);

  if (kDebugMode) {
    await auth.useAuthEmulator('localhost', 9099);
  }

  if (auth.currentUser == null) {
    print('No user, signing in.');
    await auth.signInWithEmailAndPassword(email: 'b@b', password: 'bbbbbb');
  }

  runApp(MaterialApp(
    home: Scaffold(
      body: Text(auth.currentUser?.toString() ?? 'no user'),
    ),
  ));
}

Additional context
Full log of step (5)
Click To Expand
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
This app is linked to the debug service: ws://<IP_ADDRESS>:52399/JC-y4su_1d8=/ws
Debug service listening on ws://<IP_ADDRESS>:52399/JC-y4su_1d8=/ws
Debug service listening on ws://<IP_ADDRESS>:52399/JC-y4su_1d8=/ws
A message on the flutter/keyevent channel was discarded before it could be handled.
This happens when a plugin sends messages to the framework side before the framework has had an opportunity to register a listener. See the ChannelBuffers API documentation for details on how to configure the channel to expect more messages, or to expect messages to get discarded:
  https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html
Error: [firebase_auth/unknown] An unknown error occurred: FirebaseError: Firebase: Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner. (auth/emulator-config-failed).
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49  throw_
packages/firebase_auth_web/firebase_auth_web.dart 493:9                       useAuthEmulator
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54            runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5            _async
packages/firebase_auth_web/firebase_auth_web.dart 466:31                      useAuthEmulator
packages/firebase_auth/src/firebase_auth.dart 142:21                          useAuthEmulator
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54            runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5            _async
packages/firebase_auth/src/firebase_auth.dart 131:31                          useAuthEmulator
packages/widget_test/main.dart 15:15                                          main
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50            <fn>
dart-sdk/lib/async/zone.dart 1661:54                                          runUnary
dart-sdk/lib/async/future_impl.dart 147:18                                    handleValue
dart-sdk/lib/async/future_impl.dart 784:44                                    handleValueCallback
dart-sdk/lib/async/future_impl.dart 813:13                                    _propagateToListeners
dart-sdk/lib/async/future_impl.dart 584:5                                     [_completeWithValue]
dart-sdk/lib/async/future.dart 531:22                                         <fn>
dart-sdk/lib/async/zone.dart 1661:54                                          runUnary
dart-sdk/lib/async/future_impl.dart 147:18                                    handleValue
dart-sdk/lib/async/future_impl.dart 784:44                                    handleValueCallback
dart-sdk/lib/async/future_impl.dart 813:13                                    _propagateToListeners
dart-sdk/lib/async/future_impl.dart 584:5                                     [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 657:7                                     callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                              _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                               _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 177:15           <fn>
A message on the flutter/keyevent channel was discarded before it could be handled.
This happens when a plugin sends messages to the framework side before the framework has had an opportunity to register a listener. See the ChannelBuffers API documentation for details on how to configure the channel to expect more messages, or to expect messages to get discarded:
  https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html
A message on the flutter/keyevent channel was discarded before it could be handled.
This happens when a plugin sends messages to the framework side before the framework has had an opportunity to register a listener. See the ChannelBuffers API documentation for details on how to configure the channel to expect more messages, or to expect messages to get discarded:
  https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html
A message on the flutter/keyevent channel was discarded before it could be handled.
This happens when a plugin sends messages to the framework side before the framework has had an opportunity to register a listener. See the ChannelBuffers API documentation for details on how to configure the channel to expect more messages, or to expect messages to get discarded:
  https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.5, on macOS 12.6.7 21G651 darwin-arm64, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
[✓] IntelliJ IDEA Community Edition (version 2023.1.1)
[✓] IntelliJ IDEA Community Edition (version 2023.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[✓] VS Code (version 1.79.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Resolving dependencies...
Got dependencies.
Dart SDK 3.0.5
Flutter SDK 3.10.5
widget_test 1.0.0+1

dependencies:
- firebase_auth 4.6.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.14.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- _flutterfire_internals 1.3.3 [collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- collection 1.17.1
- fake_async 1.3.1 [clock collection]
- firebase_auth_platform_interface 6.15.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.5.3 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.6.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- js 0.6.7 [meta]
- lints 2.1.1
- matcher 0.12.15 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.2.0
- meta 1.9.1
- path 1.8.3
- plugin_platform_interface 2.1.4 [meta]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.5.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.2 [collection]
- vector_math 2.1.4

@jamesgorman2 Thanks for the report.
Can you take a look at this similar issue and underlying comments to check if it helps in your case or not ?

Can you take a look at this similar issue and underlying comments to check if it helps in your case or not ?

Removing the static port flag is what I did as a work around. Clean starts, hot reload and hot refresh are all working as expected.
Combined with disabling the emulator entirely will allow coverage of everything, it's largely a friction thing.
Given it looks like a fix is fairly complex (or at least requires fairly major work on the API since there is a bunch of async involved), what I feel is missing are (a) something in the docs describing this case, (b) a useful error message in the logs, so at least I'm not scratching my head when things behave unexpectedly.

Thanks for the update and feedback. Based on the report and below cases as described, keeping this issue open for team's attention.

is missing are (a) something in the docs describing this case, (b) a useful error message in the logs, so at least I'm not scratching my head when things behave unexpectedly.

Thanks Darshan


Slack section shows "send alert events to Sensu"

URL for relevant page?
https://docs.influxdata.com/kapacitor/v1.3/alerts/handlers/#slack
What products and version are you using?
Where did you look before opening the issue?

Thanks @dennisjbr fixed in tonights build!


Show schema in the graphiQL document explorer

Currently, we can't see or search the schema in the 'Documentation Explorer' sidebar in graphiQL

hey, i have same issue... any help?


Modify button submits form

If the editor is inside a form a click in the button (see screenshot) , submits the form

Either preventDefault or add type="button" to the button component.

If the editor is inside a form a click in the button (see screenshot) , submits the form
Either preventDefault or add type="button" to the button component.

oke, I got it. I will check this
or welcome your contribute


ci: automatically set milestone on resolved issues somehow

Oh, sorry. I didn't notice that we set a milestone to all issues.
It seems that we can set a milestone to an issue by gh issue edit ${ISSUE_NUMBER} --milestone ${MILESTONE}.
We may be able to use the following on for this:
on:
  issues:
    types: [closed]

Cool! Thanks for the suggestion.
We've also been lax about opening issues for every PR, but I'm not sure if that's as important. (I'd rather have less required steps wherever possible.)

For now I've set it to happen when the PR is created/updated, which is also when we set a milestone on the PR itself.


Add SAS rounding function

Add a function to perform SAS style rounding, to make validation easier.

Call round_up().  Works good.


Aborting wikipedia entry adding removed wikidata

Element has only wikidata entry. I try to add the corresponding wikipedia. The is no help from the editor, but this is another story.
Situation is this (osm) and i click on this drop down menu:

The drop down menu has no useful entry so I click away. Or we have a focusout because i switch browser window (to fill this issue :-)
Drop down menu closes => no wikipedia entry added, but wikidata is removed, too!
related but different #4322 @matkoniecz

Can we please just capture all this on #4322
We have too many issues as it is.


[Bug]: Kerbal crashing when i open a ship

Is there an existing issue for this?

[X] I have searched the existing issues

Operating System
Windows
CKAN Version
v1.34.4
Games
KSP 1
Game Version
<IP_ADDRESS>40
Did you make any manual changes to your game folder (i.e., not via CKAN)?
no
Describe the bug
At first everything was normal, then I need to update Free Iva, so I updated it by clicking with the right button and pressing Purge from cache, I did this because a guy said the file was corrupt and so I updated it by removing the zip or the error it had, but then I went to open the game and all ok, so i open a base i have and the game just crashed, and this was my view:

I dont know what causes thisbut i dont have this problem 1 day ago, I have many mods in my game like 80 and not a single couse me problems, I tried to uninstall the FreeIva but it gave the same error with the same image everytime i open a ship, being when I create in space center or open a ship already existing,
What do i do?
Please i dont know what to do, if you have a question, ask me, because I won't be able to get rid of this problem alone
Steps to reproduce
open the game and it seems normal, you can set contrats and everything but everytime you enter a ship or create one, the game just crashes, and before i crate put a ship in the world, the save shows that  ModuleIva is missing!  in red, like a part of the ship is not buyed, but you can launch normal, bur craches the moment that show the ship (and the vision is like below the surface)
Relevant log output
just crash the game

if needed here is the photos of all my mods instaled:

Hi @DigDin013, welcome back. This does not appear to be a CKAN-related problem. Try the forum for support with in-game issues:

https://forum.kerbalspaceprogram.com/forum/70-ksp1-technical-support-pc-modded-installs/

Since the problem you reported in #9966 strongly implied that your storage device is failing, it's likely that that is a factor in this issue as well. I would once again recommend backing up your important data, running whatever the modern equivalent of scandisk is, and replacing your hard drive. Otherwise it's possible that your computer may simply stop working completely without warning, with the loss of any data it contained.


Please add column BaseDPS or DPS% depending on possible Move-Combination per Pokemontype

Hi,
I would suggest to add another column to be able to compare Move-Combo per Pokemon-Race.
DPS is a nice thing but it reflects current value depending on level (and IV etc.).
To get base DPS I would just sum DPS-Move1 and DPS-Move2.
DPS% could be calculated by currentBaseDPS/theoreticalMaxBaseDPS for this Pokemon-Race.
Feel free to correct me or do it any better.
Although I know that Move-set change by evolution it would help to compare Pokemon.

The only reason I'm hesitant to do this is because the second move is currently garbage in like 90%+ of cases. You could submit a PR and make it an optional column if you really wanted it, but with the current state of the game, I'm not sure it's really a necessity.

Well,
one could work around that if there would be an option to order by Move(1/2)DPS(asc/desc).
I would like to order by #, IV%, Move1DPS,Move2DPS to get which Pokemon in my inventory is really the best.
I try by myself when I have more time to dig into your code.

The "DPS" column gives a pretty accurate picture of the damage potential of a Pokemon.

Yes, but you cannot compare one pokemon to the other until they have same IV and same CP:
...
var atk = (ba + iva) * cpm;
...
var dps = atk * stab * (pow / (m1.DurationMs / 1000));
...

So you're saying DPS Potential rather than actual DPS. Fair enough. However, I still don't really think Special Moves should be included.

Sry, I guess that's what I meant. English is not my native language. :-)
Special-Move maybe another discussion, I personally would include it to be able to compare it as well, although I think you're right, it is less important than Primary-Move.

Your English is fine! I just wasn't getting it. I'll try to add a DPSP (DPS Potential) column in the next release.


Clean up HTML for donate app #2691

Select of amount is now defined in Django, not in template.

This code has been removed from the codebase, since it isn't really useful for OSS users -- thanks for the contributions!


Website issues

Great to see the site back up again—I'd like to report a few issues I've noticed while browsing the site.

The first entry on https://wtfjs.com/, "2016 03 19 wierd instanceof", leads to a page that just says "wtf! not found"

You're not setting the charset to UTF-8. E.g. https://wtfjs.com/wtfs/2014-02-20-math-pow shows "â€” @123jimin" instead of "— @123jimin" in my browser

https://wtfjs.com/wtfs/2013-12-15-charAt-is-not-the-same-as-[] is just an empty page

https://wtfjs.com/wtfs/2010-04-31-isNaN links to https://wtfjs.com/2010/02/12/null-is-not-an-object which just shows {"message":"Missing Authentication Token"} The link should be https://wtfjs.com/wtfs/2010-02-12-null-is-not-an-object

https://wtfjs.com/wtfs/2015-04-23-screwy-negative-array-index is missing newlines

blerg :/
@ljacqu would you be open to helping with a pull request to fix these? I'm not asking you to make one right now, I'm just curious if you're be open to helping.

Absolutely! Some of them I don't think I can help, but I can definitely contribute some. I'll open a pull request tomorrow.

wahoo! :)
On Sat, Aug 5, 2017 at 2:17 PM, ljacqu<EMAIL_ADDRESS>wrote:

Absolutely! Some of them I don't think I can help, but I can definitely
contribute some. I'll open a pull request tomorrow.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brianleroux/wtfjs/issues/147#issuecomment-320470940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADbNy0j9dQi-k1Ed7ifqdkfcqYewn8tks5sVNvdgaJpZM4Ouda4
.

I won't be able to submit a PR today but I've started doing some copy-editing. At a later time I'll get the website running locally and I'll try to take care of more technical stuff, such as the encoding issue. Cheers :)

Sounds good - go easy on yourself :)
On Aug 6, 2017 6:04 AM, "ljacqu"<EMAIL_ADDRESS>wrote:

I won't be able to submit a PR today but I've started doing some
copy-editing. At a later time I'll get the website running locally and I'll
try to take care of more technical stuff, such as the encoding issue.
Cheers :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brianleroux/wtfjs/issues/147#issuecomment-320505781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADbN3iUUCBzxRMXV65T_4FT3YMmSbVVks5sVbn1gaJpZM4Ouda4
.

Thanks! A pull request will follow on Sunday that will address the points in the issue description ;3

Cool :) even if you only fix one, still send the PR!
On Aug 10, 2017 2:03 AM, "ljacqu"<EMAIL_ADDRESS>wrote:

Thanks! A pull request will follow on Sunday that will address the points
in the issue description ;3
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brianleroux/wtfjs/issues/147#issuecomment-321494620,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADbN446g0xVogA0DJUQmc75P8hUhrReks5sWsdNgaJpZM4Ouda4
.

Looks like everythink except your third bullet point have been addressed in the now merged PR. Furtunately, this has been addressed in #160


feat: improve element resolver and add line element

When I build my project some elements were generated as Black Rectangles...
I opened issue #181 to talk about this!
Figma Link: https://www.figma.com/file/figS9H9KQIWrDICdjLWh1g/BB-Escrituração---Central-de-Soluções?node-id=0%3A1
Snippet File Data exported by API:
{
  "document": {
    "id": "0:0",
    "name": "Document",
    "type": "DOCUMENT",
    "children": [
      {
        "id": "0:1",
        "name": "Page 1",
        "type": "CANVAS",
        "children": [
          {
            "id": "1:2",
            "name": "Desktop - 1",
            "type": "FRAME",
            "blendMode": "NORMAL",
            "children": [
              {
                "id": "1:3",
                "name": "Rectangle 1",
                "type": "RECTANGLE",
                "blendMode": "PASS_THROUGH",
                "absoluteBoundingBox": {...},
                "constraints": {...},
                "fills": [{"blendMode": "NORMAL", "type": "SOLID", "color": {...}}],
                "strokes": [],
                "strokeWeight": 1.0
              },
              {
                "id": "1:5",
                "name": "Line 1",
                "type": "LINE",
                "blendMode": "PASS_THROUGH",
                "absoluteBoundingBox": {...},
                "constraints": {...},
                "fills": [],
                "strokes": [{"blendMode": "NORMAL", "type": "SOLID", "color": {...}}],
                "strokeWeight": 5.0
              },
              {
                "id": "1:7",
                "name": "Rectangle 2",
                "type": "RECTANGLE",
                "blendMode": "PASS_THROUGH",
                "absoluteBoundingBox": {...},
                "constraints": {...},
                "fills": [{"blendMode": "NORMAL", "type": "SOLID", "color": {...}}],
                "strokes": [],
                "strokeWeight": 1.0
              },
              {
                "id": "1:8",
                "name": "Abrir DIAR",
                "type": "TEXT",
                "blendMode": "PASS_THROUGH",
                "absoluteBoundingBox": {...},
                "constraints": {...},
                "fills": [{"blendMode": "NORMAL", "type": "SOLID", "color": {...}}],
                "strokes": [],
                "strokeWeight": 1.0
              }
            ],
            "absoluteBoundingBox": {...},
            "constraints": {...},
            "clipsContent": true,
            "background": []
          }
        ],
        "backgroundColor": {...},
        "prototypeStartNodeID": null,
        "flowStartingPoints": [],
        "prototypeDevice": {...}
      }
    ]
  },
  "components": {...},
  "componentSets": {...},
  "schemaVersion": 0,
  "styles": {...},
  "name": "Untitled",
  "lastModified": "2022-01-18T00:25:42Z",
  "thumbnailUrl": "https://s3-alpha-sig.figma.com/thumbnails/5525c6fe-a3aa-47be-8356-6a99d3c3b9fc?Expires=1643587200&Signature=gg8HDn3u6lnfjRzlaPRyEv4c6cxKUbMot5iRFwyk7IRqiKhcicCkmZocH6YKE537obHp~Rr4DFQCKqG3AKP3wPzU6yA~9AaFANJKYikaZzT5u2RhFm1i5m~ZorpM2TTNEAsOe5ZFzW8Z~zl-yTv1zKJh0ZmZUnTR86ZuL~qD3WTGUBNsTjEMlykDn0qSM6GyRO6EZybs47qCZLOXPBLZ1u1sw0ksJw68g6gK6QwYRPgWfcmXQKI55uk95aAP8ObOLRFke3c1ZRhtpdRJlEuKDSBf~LbmzxMWvX5QnmR-45GGiOl6d~PFnb3O7KpWogounAYFhd5vnsIAoW9i7dPtnw__&Key-Pair-Id=APKAINTVSUGEWH5XD5UA",
  "version": "1465422841",
  "role": "owner",
  "editorType": "figma",
  "linkAccess": "inherit"
}

Output console with LATEST Release (1.0.4) and master branch:
Creating Element { name: Rectangle 1, type: RECTANGLE }
Element with the name: `Rectangle 1` cannot be parsed. Would be displayed as Black Rectangle
Creating Element { name: Line 1, type: LINE }
Element with the name: `Line 1` cannot be parsed. Would be displayed as Black Rectangle
Creating Element { name: Rectangle 2, type: RECTANGLE }
Element with the name: `Rectangle 2` cannot be parsed. Would be displayed as Black Rectangle
Creating Element { name: Abrir DIAR, type: TEXT }

Project successfully generated at E:\desenv\Tkinter-Designer\build.

With new code all element was be generated, including line component:
Creating Element { name: Rectangle 1, type: rectangle }
Creating Element { name: Line 1, type: line }
Creating Element { name: Rectangle 2, type: rectangle }
Creating Element { name: Abrir DIAR, type: text }

Project successfully generated at E:\desenv\Tkinter-Designer\build.

Thanks for adding the Line Feature, I'll test it out soon.

@ParthJadhav got it! Then I go separate the new features into two PRs.

Hey @ralphg6  Thanks for the PR. I'll be reviewing the changes soon and will get back to you. Sorry for the delay.

Hey @ralphg6 , Thanks for the changes. I tested them. And it works good. Only thing is. The line element is not able to handle rotation. Which can be a topic for future versions though.

I'll be merging this.


[$500] Fix the next steps when reimbursing using VBBA

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.43-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @rezkiy37
Slack conversation:
Action Performed:
Break down in numbered steps
Pre requirements:

Create/have 2 users at least. One of them is a member of workspaces. The 2nd one is an admin.
Create/have 2 paid workspaces via OD: Collect and Control. The feature does not work for a free workspace.
Use OD to manipulate with the workspaces.
The member: opens a workspace chat.
The member: requests money.
The admin/the member: clicks on a “Submit” button.
The admin: clicks on an “Approve” button.
The admin: clicks on a “Pay with Expensify” button.

Expected Result:
A next step with a comment: “You have marked these expenses as paid.” and label is “Finished!“.
Actual Result:
A next step with a comment: “You have marked these expenses as paid outside of Expensify.” and label is “Finished!“.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01fd0939c659293965
Upwork Job ID:<PHONE_NUMBER>558845952
Last Price Increase: 2024-02-20

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

This was deployed to prod. Closing!


IE11 compatibility

Hey!
Is it correct that IE10 is supported, but IE11 not?

Hey, it's fully supported. Travis sometimes fails on us and timeout some SauceLabs tests, which are marked as failed, not skipped. Restarted build manually and we are back to green :)


Consider moving static folder to a different repo

Its 65mb as I'm writing this, cloning the repo is un-needingly  slow

the static folder is required for the website to work (ie additional CSS), so when cloning, it needs to be part. making it a separate repo is just increased unnecessary complexity and mainintance.


Make additional CIs also plugable

As there are interfaces for Commands and Checks implement also CIs.

I don't suppose there will be a lot of new CIs emerging often. Is the effort worth it?

It was just an Idea. If it's not worth we could close this

@lukasburda thanks for the idea but I don't think this is worth the effort.


Maintenance on repositories does not run if keeping working directories forever

Agent Version and Platform
Version of your agent? 2.193.0-2.195.2
OS of the machine running the agent? Windows 10
Azure DevOps Type and Version
dev.azure.com (formerly visualstudio.com) or on-premises TFS/Azure DevOps Server? dev.azure.com
If dev.azure.com, what is your organization name? https://dev.azure.com/transfrvr
What's not working?
Maintenance on repositories does not run if "Days to keep unused working directories (0 indicates forever):" is set to 0. Needing to retain workspace should not preclude running source provider maintenance.
The following return:
https://github.com/microsoft/azure-pipelines-agent/blob/b93f8f1f4e53ddf5d9cd25090db6f71b092d177c/src/Agent.Worker/Build/WorkspaceMaintenanceProvider.cs#L94
is considered as fatal here:
https://github.com/microsoft/azure-pipelines-agent/blob/b93f8f1f4e53ddf5d9cd25090db6f71b092d177c/src/Agent.Worker/Build/WorkspaceMaintenanceProvider.cs#L44
preventing the source provider maintenance from being reached here:
https://github.com/microsoft/azure-pipelines-agent/blob/b93f8f1f4e53ddf5d9cd25090db6f71b092d177c/src/Agent.Worker/Build/WorkspaceMaintenanceProvider.cs#L57
Agent and Worker's Diagnostic Logs
maintenance log when value set to 0 (repository maintenance does not run):
2022-04-05T20:48:44.3871672Z ##[section]Starting: Maintenance
2022-04-05T20:48:44.4065941Z ##[section]Start maintenance: Delete unused build directories
2022-04-05T20:48:44.4084802Z Delete orphan and stale build directory option is not enabled.
2022-04-05T20:48:44.4085096Z ##[section]Maintenance finished: Delete unused build directories
2022-04-05T20:48:44.4085650Z ##[section]Start maintenance: Delete unused release directories
2022-04-05T20:48:44.4089176Z Delete orphan and stale release directory option is not enabled.
2022-04-05T20:48:44.4089438Z ##[section]Maintenance finished: Delete unused release directories
2022-04-05T20:48:44.4090382Z ##[section]Finishing: Maintenance

maintenance log when value set to 9999:
2022-04-06T11:20:18.9653627Z ##[section]Starting: Maintenance
2022-04-06T11:20:18.9843089Z ##[section]Start maintenance: Delete unused build directories
2022-04-06T11:20:18.9864913Z Discover stale build directories that haven't been used for more than 9999 days.
2022-04-06T11:20:18.9884269Z Directory expiration limit: 9999 days.
2022-04-06T11:20:18.9884443Z Current UTC: 2022-04-06T11:20:18.9884379Z
... (build directory evaluation for time)
2022-04-06T11:20:19.0599803Z Delete orphan and stale build directory.
2022-04-06T11:20:19.0614241Z Disk usage for working directory: C:\tvragent2\_work
2022-04-06T11:20:19.0617485Z Working directory belongs to drive: 'C:\'
2022-04-06T11:20:19.0617744Z Total size: '958751.99609375 MB'
2022-04-06T11:20:19.0617863Z Available space: '167382.18359375 MB'
2022-04-06T11:20:19.0619583Z No build directory need to be GC. 'C:\tvragent2\_work\SourceRootMapping\GC' doesn't exist.
... (build directory tracking file evaluation)

### REPOSITORY MAINTENANCE RUNS HERE ###
2022-04-06T11:20:19.0742154Z Run maintenance operation on repository: C:\tvragent2\_work\5\s
2022-04-06T11:20:19.0759243Z Prepending Path environment variable with directory containing 'git.exe'.
2022-04-06T11:20:19.0774244Z ##[command]git version
2022-04-06T11:20:19.1196282Z git version 2.30.2.windows.1
2022-04-06T11:20:19.1206215Z ##[command]git lfs version
2022-04-06T11:20:19.2191942Z git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)
... (repeats for all workspaces)

2022-04-06T11:20:20.1953453Z ##[section]Maintenance finished: Delete unused build directories
2022-04-06T11:20:20.1953882Z ##[section]Start maintenance: Delete unused release directories
...

Hi @dbabineau-vr thanks for reporting! Let us take a look


[JS] Topic: JavaScript Frameworks - Svelte

Description
Description
Introducing the framework Svelte, how to implement Svelte with examples, its advantages and disadvantages.
Type of content

Documentation

Domain
JavaScript_Domain
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

@paramsiddharth I have created a new issue on Svelte. If you find this issue valid, kindly assign me.😊
Thank you!


backport fix - kube 1.24 service account token secret changes

Signed-off-by: Xiangjing Li<EMAIL_ADDRESS>

not sure why https://github.com/stolostron/multicloud-operators-subscription/pull/825 is failing trying in this PR


Docu intro

This will give an introduction to perun protocol, state channel, perun and go-perun.
Signed-off-by: Anagha Sukumaran<EMAIL_ADDRESS>

PR submitted to upstream repo and has been merged.


[FLINK-16579][table] Upgrade Calcite version to 1.26 for Flink SQL

What is the purpose of the change
Upgrade the Calcite version to 1.26.0. As a dependency, the Guava version to 29.0-jre and janino version to 3.0.11
Brief change log

Upgrade the sql parser calcite version to 1.26.0
Upgrade the planners calcite version to 1.26.0

Verifying this change
Existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

Thanks for the update and detailed explanation,  LGTM overall except a few minor comments


docs: Fix simple typo, determied -> determined

There is a small typo in readme.md.
Should read determined rather than determied.

Thank you!


Kogito Maven dev mode

Assembly:

https://github.com/kiegroup/kogito-runtimes/pull/197
https://github.com/kiegroup/kogito-bom/pull/63

@nmirasch @mswiderski just experimenting to get your feedback, still needs some tweaking, but this would spin up all required services ( data index, infinispan and kafka ) by running maven kogito:dev. Let me know what you think.

so I don't know how would it be feasible but if we moved this under kogito-codegen (of course, lack of a better name: it may become something like kogito-dev or something) we could possibly get it to work both as apart of the usual Maven plug-in but especially in quarkus dev mode.
Otherwise we would have this "split world" situation where you have kogito:dev and quarkus:dev. in the case of quarkus:dev we could just enable this with some flag... or make it a part of a separate extension
WDYT

@evacchi agree, I was thinking on how to integrate both, we could make it even so our dev mode call quarkus:dev. For now, I just wanted to get feedback on what people think about this idea, if it is worth exploring it.

Based on the SonarCloud report, this has 0% test coverage on new code. Could you please add some unit tests that cover this PR?

For instance we should not spin up Kafka, Infinispan etc when we have only rules or decisions in the project.

@mswiderski I think there are a few ways to do that.

Simple way: expose flags those through System properties
more complex way: use the quarkus extension / build step mechanism to look for extensions in quarkus

either way: if the common code base is instantiated via bool/flags/options then we can do 1) for maven plugin 2) for quarkus extension

@mswiderski correct, my idea is to look in the project dependencies to know which services to start.


Fix up all # type: ignore in the codebase

Ensure all backend Python code is fully typed

yes Right @abi

#348 makes progress towards this.


:geocode param not returning results

Hey there! Thanks a ton with the help on this great library.
Noticed adding a :geocode parameter to a search isn't returning any results.
client = Twitter::REST::Client.new do |config|
  # <keys>
end

# Doesn't return any results. lat/lon is set to the Mountain View, CA area
client.search("google", geocode: "37.3849, -122.0819, 10mi")

# Returns results
client.search("google")

Anybody else noticing this issue?

Yes, same here

Was this resolved?

This could be a simple case of a lack of geocoded Tweets for the area within the past seven days. Exact location was removed from the main Twitter apps in mid-2019 and even with that feature, the number of users that actively choose to add geo information to their Tweets is generally very small.

Nope, I verified a certain geocode with a python lib. I got the results.

That’s good debugging info! Thanks for clarifying!


Change method name 'users' to 'getUserList'

This class is used to represent SystemUtils.  This method named 'users' is to get a list of users. Thus, the method name 'getUserList' is more intuitive than 'users'.

非功能性改动，sorry，不过还是要感谢您的PR


[0.9.3] Impossible to insert string value test" as anything other than the last field

I found no way to insert the value test\" in a string field. I think the escaping for fieldValue (in tsdb.scanFieldValue(buf []byte, i int) (int, []byte))  does not allow that.
Let's try:
$ curl 'http://localhost:8086/write?db=test' --data-binary 'test value="test"'
$ curl 'http://localhost:8086/write?db=test' --data-binary 'test value="test\""'
$ curl 'http://localhost:8086/write?db=test' --data-binary 'test value="test\\""'
unable to parse 'test value="test\\""': unbalanced quotes
$ curl 'http://localhost:8086/write?db=test' --data-binary 'test value="test\\\""'

$ echo -e "use test\n select * from test" | influx
Connected to http://localhost:8086 version 0.9
InfluxDB shell 0.9
Using database test
name: test
----------

time				value
time				value
2015-08-15T23:38:58.360766155Z	test
2015-08-15T23:39:01.708551024Z	test"
2015-08-15T23:39:08.231959134Z	test\\"

@jwilder did your recent PR around parsing escape characters fix this?

@beckettsean no. Still working on this one.

Hi,
please take a look on the following insert, I have the feeling that the escaping is not quite right but I'm not sure yet. I'm testing current master.
$ curl 'http://localhost:8086/write?db=test' --data-binary 'test field1="value2\\",field2="value2"'

$ echo -e "use test\n select * from test" | ./gopath/bin/influx
Using database test .. name: test
----------
time				field1
2015-09-04T22:44:25.345145995Z	value2\",field2="value2

Expected:
time				field1        field2
2015-09-04T22:44:25.345145995Z	value2\       value2

If there is a problem then I assume it's a regression of the previous bug, otherwise feel free to move it to a new issue.
Regards, Yves

@yvesf there is a bug here, but there's a trivial workaround, as well.
Inserting a single trailing backslash works as long as there are no more fields to parse. It appears that the comma separating the fields complicates the parsing.
All of this is expected behavior:
> insert escaping field="string\a"
> insert escaping field="string\"
ERR: unable to parse 'escaping field="string\"': unbalanced quotes

> insert escaping field="string\\"
> select * from escaping
name: escaping
--------------
time				field
2015-09-04T22:57:45.451812805Z	string\a
2015-09-04T22:57:50.579125528Z	string\

However, if there's a field after the one with the escaped trailing backslash the two fields get combined into one (and the second field value is silently dropped.)
> insert escaping field="string\\",value=1
> select * from escaping
name: escaping
--------------
time				field
2015-09-04T22:57:45.451812805Z	string\a
2015-09-04T22:57:50.579125528Z	string\
2015-09-04T22:58:06.124683Z	string\",value=

>

Escaping something other than backslash works as expected:
> insert escaping field="string\""
> insert escaping field="string\"",value=1
> select * from escaping
name: escaping
--------------
time				field		value
2015-09-04T22:57:45.451812805Z	string\a
2015-09-04T22:57:50.579125528Z	string\
2015-09-04T22:58:06.124683Z	string\",value=
2015-09-04T23:01:05.093934091Z	string"
2015-09-04T23:01:10.158174843Z	string"		1

>

As long as the escaped backslash is the final field value things work as expected:
> insert escaping value=1,field="string\\"
> select * from escaping
name: escaping
--------------
time				field		value
2015-09-04T22:57:45.451812805Z	string\a
2015-09-04T22:57:50.579125528Z	string\
2015-09-04T22:58:06.124683Z	string\",value=
2015-09-04T23:01:05.093934091Z	string"
2015-09-04T23:01:10.158174843Z	string"		1
2015-09-04T23:03:23.55665375Z	string\		1

>

This is what I found as  fix and test-case. I think it makes sense to add a test like this one to points_test.go.
diff --git a/tsdb/points.go b/tsdb/points.go
index dd8dbb6..7fd22cb 100644
--- a/tsdb/points.go
+++ b/tsdb/points.go
@@ -848,0 +849,6 @@ func scanFieldValue(buf []byte, i int) (int, []byte) {
+        // Accept escape char followed by escape char
+        if buf[i] == '\\' && i+1 < len(buf) && buf[i+1] == '\\' {
+            i += 2
+            continue
+        }
+
diff --git a/tsdb/points_test.go b/tsdb/points_test.go
index f3cf93d..7fcfcbb 100644
--- a/tsdb/points_test.go
+++ b/tsdb/points_test.go
@@ -646,0 +647,8 @@ func TestParsePointUnescape(t *testing.T) {
+    test(t, `test field1="value1\\",field2="value2"`,
+        tsdb.NewPoint(
+            "test",
+            tsdb.Tags{},
+            tsdb.Fields{
+                "field1" : "value1\\",
+            },
+                       time.Unix(0, 0)))

This is still an issue on InfluxDB v0.13.0 (git: 0.13 e57fb88a051ee40fd9277094345fbd47bb4783ce)
> drop measurement escaping;
> insert escaping field="test1_abc"
> insert escaping field="test2_abc\"
ERR: {"error":"unable to parse 'escaping field=\"test2_abc\\\"': unbalanced quotes"}

> insert escaping field="test3_abc\\"
> insert escaping field="test4_abc\",otherfield="value"
ERR: {"error":"unable to parse 'escaping field=\"test4_abc\\\",otherfield=\"value\"': unbalanced quotes"}

> insert escaping field="test5_abc\\",otherfield="value"
> insert escaping field="test6_abc\\abc",otherfield="value"
> select * from escaping
name: escaping
--------------
time                    field                           otherfield
1464732839685274409     test1_abc
1464732845820495778     test3_abc\
1464732861227535067     test5_abc\",otherfield="value
1464732869579298997     test6_abc\abc                   value

At the moment, it isn't possible for us to fix this without breaking the line protocol. I'm closing this in favor of #6037 which is a discussion about a v2 of the line protocol.


🐛 firebase_analytics not support null safety

Bug report
Describe the bug
firebase_analytics_web.dart:1:1: Error: A library can't opt out of null safety by default, when using sound null safety.
[   +3 ms] // @dart=2.9
Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Duplicate of #5207.


Parsing error: Cannot find module 'next/babel' in Visual Studio Code

What version of Turborepo are you using?
1.4.7
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
Hi! I just created a turborepo project using npx, and VSCode throws the following error:
Parsing error: Cannot find module 'next/babel'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /Users/celia/.dev/flex/node_modules/.pnpm/@eslint+eslintrc<EMAIL_ADDRESS>- /Users/celia/.dev/flex/node_modules/.pnpm/@eslint+eslintrc<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /Users/celia/.vscode-insiders/extensions/dbaeumer.vscode-eslint-2.2.6/server/out/eslintServer.jseslint

This is from a project out-of-the-box, created with npx create-turbo. I haven't made any changes to the bootstrapped files.
I have tried a few solutions:

This workaround suggested by Saral Karki: basically adding "next/babel" in the list of extends, inside of eslint-config-custom. It does "fix" the error inside VSCode, making it stop yelling at me.
However, with this change, pnpm run lint breaks throwing the following error: Failed to load config "next/babel" to extend from.. I then found this thread, where Domi said the first fix I tried is basically a "hack". I then tried tinkering around with Akasha's answer, with no success.
Setting up eslint.workingDirectories to my packages/ and apps/ folders in my .vscode/settings.json (making sure I had no conflict in my personal settings.json, no success here either.
Setting up eslint.packageManager to pnpm, nothing here.
Installing @babel/eslint-parser, nothing either.

Note: the issue does not appear when using npm or yarn as the default package manager, configured in the create-turbo CLI.
Expected Behavior
VSCode doesn't throw an error about a parsing error, and the build runs correctly.
To Reproduce

Run pnpx create-turbo or npx create-turbo
Setup using CLI as normal, and select pnpm as the package manager.
Open Visual Studio Code with the ESLint extension code installed.
Open any .eslintrc.js or any next.config.js file in the default project.
The error will be visible at the top of the IDE window.

The root problem in this stack is that one of these four modules:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
In one of these files:
next/dist/compiled/babel/bundle.js
next/dist/compiled/babel/eslint-parser.js
eslint-config-next/parser.js
@eslint/eslintrc/lib/config-array-factory.js
@eslint/eslintrc/lib/index.js
eslint/lib/cli-engine/cli-engine.js
eslint/lib/cli-engine/index.js
eslint/lib/api.js

Something depends on next/babel. Given just naming, that rules out basically everything south of:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
I'm going to transfer this issue over to Next.js for more help!


Checkpoint for testing missing

Dear authors,
Thank you for the open source. Can you please give a lead on where to find the file "checkpoints/t2i/seg/seg_ade20k.pt" needed for testing "Text-to-image generation on ADE20k"?
bash scripts/autoregressive/test_t2i.sh --vq-ckpt checkpoints/vq/vq_ds16_t2i.pt \
--gpt-ckpt checkpoints/t2i/seg/seg_ade20k.pt \
--code-path data/Captioned_ADE20K/val --gpt-model GPT-XL --image-size 512 \
--sample-dir sample/ade20k --condition-type seg --seed 0

Dear authors,
Thank you for the open source. Can you please give a lead on where to find the file "checkpoints/t2i/seg/seg_ade20k.pt" needed for testing "Text-to-image generation on ADE20k"?
bash scripts/autoregressive/test_t2i.sh --vq-ckpt checkpoints/vq/vq_ds16_t2i.pt \
--gpt-ckpt checkpoints/t2i/seg/seg_ade20k.pt \
--code-path data/Captioned_ADE20K/val --gpt-model GPT-XL --image-size 512 \
--sample-dir sample/ade20k --condition-type seg --seed 0

I'm sorry that due to the company's policy, we can't open source too many models. At present, we only provide seg-to-image models trained on cocostuff.


Mobservable based solution

Hi André,
Finally found some time to write a Mobservable based solution :). I tried to keep it as concise as possible, so if I missed somehow something just let me know.
I took the liberty to put the complete solution in a single file (index.tsx) to save readers the incovenience of browsing back and forth between files. Components are at the top, the application state, actions and data derivations on the bottom.
Tnx in advance,
Michel

Hi @mweststrate, thanks for the submission.
It looks almost perfect, although I managed to find some glitches here and there.
I am sure I was able to scroll while a red match was on the screen (and I am not supposed to be able to scroll at those moments). Most of the times the restriction was working, and I could not scroll during a red match. It's just sometimes that I was able to do that.
Then, the restriction for "only scroll if it wouldn't move the items out of the list" mostly worked, but sometimes didn't, and I was able to scroll twice quickly, and I got to UI to this invalid state where it wouldn't load anything anymore:

It's a challenge after all...

And... sorry for such long delay in answering. I was really busy since then.

No problem! I should just click the buttons more aggressively the next time
:) I'll look into it.
On Wed, Dec 9, 2015 at 9:39 PM, André Staltz<EMAIL_ADDRESS>wrote:

And... sorry for such long delay in answering. I was really busy since
then.
—
Reply to this email directly or view it on GitHub
https://github.com/staltz/flux-challenge/pull/50#issuecomment-163385486.

Hi @staltz
My turn for a delay in answering :). Fixed the issue, Siths where loaded twice and scrolling was one off. Should be ok now.

Hi, thanks again for updating.
Another problem: after a red match happens and everything returns to normal, 5 requests are sent to the server, to get the siths that are already on the list. Since Obi-Wan doesn't want to overload this server in vain, we should only make requests for those siths that are missing.

Ah good point! Fixed it (Next time when doing a challenge I should write automated tests first..)

Merged! Thanks for the submission. You can also update https://github.com/staltz/flux-challenge/blob/master/submissions/README.md if you feel like.


WIP: Externalize them to standalone repo

@RichardLitt @ruyadorno this is done, but I'm having second thought to include theme as external git submodule. Because it forces users to know beforehand there will be a submodule to do a git clone --recurse-submodules ... to fork and clone.
On the other hand we should always change the theme directly on its own repo and manually push the changes in standalone commits in the site(s).
What do you think?

and the repo in question is this: https://github.com/opensourcecities/osc-theme/tree/master

I think it's only a problem if it's undocumented. Add a note to the README, and we're good.
Users simply adding content should never have to download the submodule, though. Is this a requirement, at the moment?

No, not a requirement, but if they want to run hugo server locally then it works, but nothing will be shown in browser. I agree about documenting though.

🎉


String len

This is an attempt at a smaller pull request.
Reduce the use of std::string method c_str() in favor of data() and  size(). C++98 and C++11 have differing opinions about the presences of a terminating NULL and I was concerned about creating intermediate strings with c_str.  All of the stuff I'm doing with the strings work just as well with address and length.


Not compatible with vue-web-component-wrapper?

Due to https://github.com/WebReflection/document-register-element/tree/master#v1-caveat this polyfill doesn't work with https://github.com/vuejs/vue-web-component-wrapper.
class CustomElement extends HTMLElement {
    constructor () {
        super()
        this.attachShadow({ mode: 'open' })

        const wrapper = this._wrapper = new Vue({

(from src/index.js line 81)
Since it does work with https://github.com/webcomponents/webcomponentsjs I was wondering if their is a potential fix.

As explained in there:
class CustomElement extends HTMLElement {
    constructor () {
        const self = super()
        self.attachShadow({ mode: 'open' })

        const wrapper = self._wrapper = new Vue({
    ...
    return self;
  }

Be aware this polyfill doesn't provide Shadow DOM neither, so you might use attachshadow or simply stick with webcomponentsjs

Yeah that's what I had done but I was trying to avoid forking vue-web-component-wrapper.
Thanks anyway

I was trying to avoid forking vue-web-component-wrapper

they are ignoring how super() works, which might return a different instance as per specifications.
I'd rather file a bug to their current code than forking it 'cause it won't break anywhere but it will work better in any sort of native constructors patches.

P.S. the exact fix should be ...
class CustomElement extends HTMLElement {
    constructor (...args) {
        const self = super(...args)


MINOR: Silence error logs for faulty plugins in integration tests

In #13467 we changed non-connector plugins to be instantiated during plugin scanning. This has the effect that converters and transform classes without a valid (public, no-args) constructor print an error log during worker startup.
These two plugin classes are not marked public, so their constructor is not public either, which causes these two classes to print an error during plugin scanning. Because these are used in runtime:test, they will generate log spam for integration tests for ourselves and anyone including the runtime:test artifact, such as downstream projects wishing to use the EmbeddedConnectCluster.
We should change these plugins so that no warnings are printed during scanning. The existing TestPlugins should be the only place in which this error condition is tested.
Committer Checklist (excluded from commit message)

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

I've built and verified this patch locally (including the reduction in error log messages). Given the trivial nature of the changes, I'll merge without awaiting the CI run.


Header Global Search

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #95
Test URLs:

Before: https://main--icicidirect--aemsites.hlx.live/research/equity

After: https://globalsearch--icicidirect--aemsites.hlx.live/research/equity

[ ] New Blocks introduced in this PR
If yes, please provide details below

Block Name
Documentation

For e.g. carousel
TBD

For "draft" PRs you can create draft PRs and not add a label for the same.


"Follow Participant" icon is not correctly centered in button

Product and Version [VS/VSCode]: Version: 1.59.0-insider Commit: 818c6613f765dd54bb29e77b4f7094a37cf67d08
OS Version [macOS/Windows]: macOS
Live Share Extension Version: v1.0.4583
Target Platform or Language [e.g. Node.js]: Node.js
Steps to Reproduce / Scenario:
The "Follow Participant" pin icon is not properly centered in the button in the VS Code bar.

Start a Live Share session
Look at icon 🙂

Closing this as resolved.


Enable event handler for all blockchain nodes

Change summary:

Enable event handler for all blockchain nodes

Related issues:

https://github.com/ainblockchain/ain-blockchain/issues/1212

LGTM! Thanks for the update!

Thanks for the review! @minsulee2 @jiyoung-an Now merging..