训练时出现TypeError: object of type 'NoneType' has no len()

[root][11-25 09:57:37]INFO:Using Tensorboard, logs will be saved in iGuard-v1-images-0-484-coco/logs
[root][11-25 09:57:37]INFO:Creating model...
model size is  1.0x
init weights...
=> loading pretrained model https://download.pytorch.org/models/shufflenetv2_x1-5666bf0f80.pth
Finish initialize Lite GFL Head.
[root][11-25 09:57:37]INFO:Setting up data...
Traceback (most recent call last):
File "tools/train.py", line 92, in
main(args)
File "tools/train.py", line 72, in main
pin_memory=True, collate_fn=collate_function, drop_last=True)
File "/home/lw/anaconda3/envs/nanodet/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 224, in init
sampler = RandomSampler(dataset, generator=generator)
File "/home/lw/anaconda3/envs/nanodet/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 94, in init
if not isinstance(self.num_samples, int) or self.num_samples <= 0:
File "/home/lw/anaconda3/envs/nanodet/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 102, in num_samples
return len(self.data_source)
TypeError: object of type 'NoneType' has no len()
大佬帮忙看下

确认一下是否正确读取了数据集的annotation和image

labels: txt-->xml-->json
This project support to Nanodet project to make official labels.
https://github.com/eeric/yolo2voc2coco
successfully， as following：
[root][12-01 02:42:11]INFO:val|Epoch2/70|Iter123(4940/4952)| lr:1.40e-01| loss_qfl:0.6564| loss_bbox:0.9067| loss_dfl:0.3167|
[root][12-01 02:42:11]INFO:val|Epoch2/70|Iter123(4942/4952)| lr:1.40e-01| loss_qfl:0.3882| loss_bbox:0.7180| loss_dfl:0.2757|
[root][12-01 02:42:12]INFO:val|Epoch2/70|Iter123(4944/4952)| lr:1.40e-01| loss_qfl:0.2997| loss_bbox:0.7028| loss_dfl:0.2815|
[root][12-01 02:42:12]INFO:val|Epoch2/70|Iter123(4946/4952)| lr:1.40e-01| loss_qfl:0.4795| loss_bbox:0.5486| loss_dfl:0.2645|
[root][12-01 02:42:13]INFO:val|Epoch2/70|Iter123(4948/4952)| lr:1.40e-01| loss_qfl:0.4833| loss_bbox:0.8868| loss_dfl:0.2684|
[root][12-01 02:42:14]INFO:val|Epoch2/70|Iter123(4950/4952)| lr:1.40e-01| loss_qfl:0.5885| loss_bbox:0.7382| loss_dfl:0.3275|
Loading and preparing results...
DONE (t=3.01s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type bbox
Loading and preparing results...
DONE (t=2.72s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type bbox
DONE (t=46.62s).
Accumulating evaluation results...
DONE (t=13.37s).
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.036
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.074
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.031
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.002
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.019
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.061
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.097


Debugger update

im lazy so debugger update is mashed together with some other python stuff
changes:

debugger now shows velocity
BlobTracker is a bit more stable
origin point offset math for color_tracker
beat saber vod added to the readme
i also changed something in the calibration tool

this was working fine for like 2 weeks now, i just forgot to do the pr


Fixing “Connection Refused” problem in Issue256Test.java

Fixing “Connection Refused” problem when running tests
Description
I found flaky tests in Issue256Test. I ran “mvn test –Dtest=Issue256Test” and the first test run in the test class always fails. The error is “java.net.ConnectionException: Connection refused”.
Related Issue

https://github.com/TooTallNate/Java-WebSocket/issues/1175
Motivation and Context

While inspecting the code, I found that tests would start running before the WebSocketServer from the startServer method in Issue256Test has finished starting. As a result, the test that runs first in the method always fails with a “Connection refused” error. Tests should wait until the connection starts before running. To solve this problem, I added the following line into the startServer method.
countServerDownLatch.await();
This solves the problem because this statement blocks a calling thread until it has been counted down to zero.
How Has This Been Tested?

I tested my change for 10,000 times using “mvn test –Dtest=Issue256Test” to check the reliability of my added code. For that reason, I created a bash script to run the Issue256Test and every time the tests all pass.
I also run the whole test suits using the "mvn test" command and this simple change doesn't affect any other portion of the code. The environment that I used to run the code is Intel(R) Core(TM) i9-9900 CPU @ 3.10GHz.

Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hello! Thanks for the pull request! I'm going to close it because this was already fixed in 934bd9f. Your fork was made from an older revision, so you couldn't see that.


net/http: data race involving net/http.(*http2Framer).WriteDataPadded

#!watchflakes
post <- pkg == "net/http" && log ~ `DATA RACE` && log ~ `net/http\.\(\*http2Framer\)\.WriteDataPadded`

https://build.golang.org/log/8f9829a1eacef63f57dd92e8a7647ac7fdd04a3a:
==================
WARNING: DATA RACE
Write at 0x00c00085e000 by goroutine 5319:
  net/http_test.neverEnding.Read()
      /workdir/go/src/net/http/serve_test.go:3014 +0x78
  net/http_test.(*neverEnding).Read()
      <autogenerated>:1 +0x1f
  io.copyBuffer()
      /workdir/go/src/io/io.go:428 +0x2c8
  io.Copy()
      /workdir/go/src/io/io.go:386 +0x57
  net/http_test.testIssue4191_InfiniteGetTimeout.func1()
      /workdir/go/src/net/http/transport_test.go:2229 +0x13
  net/http.HandlerFunc.ServeHTTP()
      /workdir/go/src/net/http/server.go:2111 +0x47
  net/http.(*ServeMux).ServeHTTP()
      /workdir/go/src/net/http/server.go:2489 +0xbc
  net/http.serverHandler.ServeHTTP()
      /workdir/go/src/net/http/server.go:2925 +0x682
  net/http.initALPNRequest.ServeHTTP()
      /workdir/go/src/net/http/server.go:3538 +0x34d
  net/http.(*initALPNRequest).ServeHTTP()
      <autogenerated>:1 +0x7b
  net/http.Handler.ServeHTTP-fm()
      <autogenerated>:1 +0x67
  net/http.(*http2serverConn).runHandler()
      /workdir/go/src/net/http/h2_bundle.go:6049 +0xe1
  net/http.(*http2serverConn).processHeaders.func1()
      /workdir/go/src/net/http/h2_bundle.go:5762 +0x5d

Previous read at 0x00c00085e000 by goroutine 5251:
  runtime.slicecopy()
      /workdir/go/src/runtime/slice.go:310 +0x0
  net/http.(*http2Framer).WriteDataPadded()
      /workdir/go/src/net/http/h2_bundle.go:2025 +0x4dc
  net/http.(*http2Framer).WriteData()
      /workdir/go/src/net/http/h2_bundle.go:1985 +0xdc
  net/http.(*http2writeData).writeFrame()
      /workdir/go/src/net/http/h2_bundle.go:10220 +0x1a
  net/http.(*http2serverConn).writeFrameAsync()
      /workdir/go/src/net/http/h2_bundle.go:4589 +0x85
  net/http.(*http2serverConn).startFrameWrite.func1()
      /workdir/go/src/net/http/h2_bundle.go:5000 +0x6b

Goroutine 5319 (running) created at:
  net/http.(*http2serverConn).processHeaders()
      /workdir/go/src/net/http/h2_bundle.go:5762 +0xdfb
  net/http.(*http2serverConn).processFrame()
      /workdir/go/src/net/http/h2_bundle.go:5262 +0x445
  net/http.(*http2serverConn).processFrameFromReader()
      /workdir/go/src/net/http/h2_bundle.go:5205 +0x2de
  net/http.(*http2serverConn).serve()
      /workdir/go/src/net/http/h2_bundle.go:4694 +0x15b0
  net/http.(*http2Server).ServeConn()
      /workdir/go/src/net/http/h2_bundle.go:4270 +0x181d
  net/http.http2ConfigureServer.func1()
      /workdir/go/src/net/http/h2_bundle.go:4060 +0x11e
  net/http.(*conn).serve()
      /workdir/go/src/net/http/server.go:1892 +0x1c01
  net/http.(*Server).Serve.func3()
      /workdir/go/src/net/http/server.go:3078 +0x4f

Goroutine 5251 (finished) created at:
  net/http.(*http2serverConn).startFrameWrite()
      /workdir/go/src/net/http/h2_bundle.go:5000 +0x5fa
  net/http.(*http2serverConn).scheduleFrameWrite()
      /workdir/go/src/net/http/h2_bundle.go:5102 +0x3c8
  net/http.(*http2serverConn).wroteFrame()
      /workdir/go/src/net/http/h2_bundle.go:5062 +0x469
  net/http.(*http2serverConn).serve()
      /workdir/go/src/net/http/h2_bundle.go:4690 +0x154b
  net/http.(*http2Server).ServeConn()
      /workdir/go/src/net/http/h2_bundle.go:4270 +0x181d
  net/http.http2ConfigureServer.func1()
      /workdir/go/src/net/http/h2_bundle.go:4060 +0x11e
  net/http.(*conn).serve()
      /workdir/go/src/net/http/server.go:1892 +0x1c01
  net/http.(*Server).Serve.func3()
      /workdir/go/src/net/http/server.go:3078 +0x4f
==================

https://build.golang.org/log/abcd1afb8c807a6e0947447747212fe2afa0183b:
==================
WARNING: DATA RACE
Write at 0x00c000b68000 by goroutine 23273:
  net/http_test.neverEnding.Read()
      /workdir/go/src/net/http/serve_test.go:3014 +0x78
  net/http_test.(*neverEnding).Read()
      <autogenerated>:1 +0x1f
  io.copyBuffer()
      /workdir/go/src/io/io.go:428 +0x2c8
  io.Copy()
      /workdir/go/src/io/io.go:386 +0x2ee
  net/http.(*response).ReadFrom()
      /workdir/go/src/net/http/server.go:601 +0x27f
  io.copyBuffer()
      /workdir/go/src/io/io.go:420 +0x1ef
  io.Copy()
      /workdir/go/src/io/io.go:386 +0x57
  net/http_test.testIssue4191_InfiniteGetToPutTimeout.func1()
      /workdir/go/src/net/http/transport_test.go:2268 +0x13
  net/http.HandlerFunc.ServeHTTP()
      /workdir/go/src/net/http/server.go:2111 +0x47
  net/http.(*ServeMux).ServeHTTP()
      /workdir/go/src/net/http/server.go:2489 +0xbc
  net/http.serverHandler.ServeHTTP()
      /workdir/go/src/net/http/server.go:2925 +0x682
  net/http.(*conn).serve()
      /workdir/go/src/net/http/server.go:1984 +0xbe4
  net/http.(*Server).Serve.func3()
      /workdir/go/src/net/http/server.go:3078 +0x4f

Previous read at 0x00c000b68000 by goroutine 23266:
  runtime.slicecopy()
      /workdir/go/src/runtime/slice.go:310 +0x0
  net/http.(*http2Framer).WriteDataPadded()
      /workdir/go/src/net/http/h2_bundle.go:2025 +0x4dc
  net/http.(*http2Framer).WriteData()
      /workdir/go/src/net/http/h2_bundle.go:1985 +0xdc
  net/http.(*http2writeData).writeFrame()
      /workdir/go/src/net/http/h2_bundle.go:10220 +0x1a
  net/http.(*http2serverConn).writeFrameAsync()
      /workdir/go/src/net/http/h2_bundle.go:4589 +0x85
  net/http.(*http2serverConn).startFrameWrite.func1()
      /workdir/go/src/net/http/h2_bundle.go:5000 +0x6b

Goroutine 23273 (running) created at:
  net/http.(*Server).Serve()
      /workdir/go/src/net/http/server.go:3078 +0x817
  net/http/httptest.(*Server).goServe.func1()
      /workdir/go/src/net/http/httptest/server.go:310 +0xaa

Goroutine 23266 (finished) created at:
  net/http.(*http2serverConn).startFrameWrite()
      /workdir/go/src/net/http/h2_bundle.go:5000 +0x5fa
  net/http.(*http2serverConn).scheduleFrameWrite()
      /workdir/go/src/net/http/h2_bundle.go:5102 +0x3c8
  net/http.(*http2serverConn).wroteFrame()
      /workdir/go/src/net/http/h2_bundle.go:5062 +0x469
  net/http.(*http2serverConn).serve()
      /workdir/go/src/net/http/h2_bundle.go:4690 +0x154b
  net/http.(*http2Server).ServeConn()
      /workdir/go/src/net/http/h2_bundle.go:4270 +0x181d
  net/http.http2ConfigureServer.func1()
      /workdir/go/src/net/http/h2_bundle.go:4060 +0x11e
  net/http.(*conn).serve()
      /workdir/go/src/net/http/server.go:1892 +0x1c01
  net/http.(*Server).Serve.func3()
      /workdir/go/src/net/http/server.go:3078 +0x4f
==================

This may have been introduced in or around CL 456555.

Looks like the HTTP/2 server is reading from a buffer passed to ResponseWriter.Write after the Write call has returned, which is not okay.

Trybot example: https://storage.googleapis.com/go-build-log/9297dad6/linux-amd64-race_ec0c425f.log

The test race failures should be “fixed” (re-buried) as of CL 467095.
#58446 describes the underlying cause of the failures, and has a lot less watchflakes noise.
@neild, should we close this as a dup of #58446?

I'm hitting this repeatedly on TryBots even if I'm rebased on latest master.
https://storage.googleapis.com/go-build-log/d6a16255/linux-amd64-race_6d494f2b.log
https://go-review.googlesource.com/c/go/+/460542

I'm hitting this repeatedly on TryBots even if I'm rebased on latest master.

Sorry about that. Rolling back https://go.dev/cl/466865 until I figure out what new race condition is being triggered here.

@FiloSottile, the stack trace from that log doesn't match the h2_bundle.go in CL 467657, and the build dashboard doesn't show any -race failures after that CL.
When you say “rebased on latest master”, exactly which commit had you rebased on?

It looks like the last TryBot run on CL 460542 was on PS4, parented to commit 261fe25c83a94fc3defe064baed3944cd3d16959, which does indeed predate the net/http fix in CL 467657.

I had checked that it was more recent than the CL mentioned in https://github.com/golang/go/issues/58168#issuecomment-1426118796 but it's entirely possible I got confused, sorry about that! I re-rebased while commenting but then failed to vote Run-TryBot+1.

Indeed, TryBots passed, sorry for the noise!

Is this still relevant, since the commit https://github.com/golang/go/commit/7d7fd6d3627f7dbba250ecfecea2f5ffe6c5aaa7 that caused this problem was reverted https://github.com/golang/go/commit/b02d5d325a4e93c88ecfc83a094c252148caa748? Or does it need to un-reverted again to check if it can be reintroduced after the http/2 fixes https://github.com/golang/net/commit/547e7edf3873d6f3a9c093d3785f9e2289e00746?


Fix Show-Markdown cmdlet to handle string array input

PR Summary

Fixes #20951
Added fix to Show-Markdown to allow pipeline processing of array of strings using -InputObject.
PR Context

Added input object buffer to process strings in EndProcessing() instead of ProcessRecord() so all strings can be collected at once from -InputObject.
This change follows similar approach to buffering in ConvertFrom-Json.
> Get-WhatsNew | Show-Markdown
Release notes for PowerShell 7.4

Breaking changes

- Nano server docker images aren't available for this release
- Added the ProgressAction parameter to the Common Parameters
- Update some PowerShell APIs to throw ArgumentException instead of ArgumentNullException when the argument is an empty string (#19215][19215]) (Thanks @xtqqczze!)
- Remove code related to #requires -pssnapin (#19320][19320])
- Test-Json now uses Json.Schema.Net instead of Newtonsoft.Json.Schema. With this change, Test-Json no longer supports the older Draft 4 schemas. (#18141][18141]) (Thanks @gregsdennis!)
- Output from Test-Connection now includes more detailed information about TCP connection tests

Installer updates

The Windows MSI package now provides an option to disable PowerShell telemetry during installation. For more information, see Install the msi package from the command line][01].

...

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@mklement0 @iSazonov
Had some time to look at this again and I see a main challenge.
If we want to combine all input from MarkdownInfo and string into one string, it tricky since MarkdownInfo only exposes Html or VT100EncodedString, and if you call MarkdownRenderer.Convert() on a VT100EncodedString, it will give strange results:
> $mdText = "**Bold**"
> $mdVT100String = $mdText | ConvertFrom-Markdown -AsVT100EncodedString
> $mdVT100String | Format-List

Html               :
VT100EncodedString : Bold # This is bold in terminal, as expected

Tokens             : {Markdig.Syntax.ParagraphBlock}
> [Microsoft.PowerShell.MarkdownRender.MarkdownConverter]::Convert($mdVT100String.VT100EncodedString, [Microsoft.PowerShell.MarkdownRender.MarkdownConversionType]::VT100, [Microsoft.PowerShell.MarkdownRender.PSMarkdownOptionInfo]::new()) | Format-List

Html               :
VT100EncodedString : mBoldm # This has strange characters, almost looking like it was unescaped or something

Tokens             : {Markdig.Syntax.ParagraphBlock}

Which shows some strange VT100EncodedString which seems to be changed. Almost seems that it tries to re-encode the string again, which I guess makes sense.
This above makes it challenging since after combining all strings, you will need to run MarkdownRenderer.Convert() on the single string and not be able to differentiate.
One option I was looking into was seeing if you can get the original markdown from AST with Tokens, but that proved to be quite difficult to parse.
Another option was perhaps running the conversion line by line for string inputs and ignoring MarkdownInfo and adding them as is, but that will get more difficult because Convert seems to add quite of bit of extra new lines so they will need to be normalized. This is probably quite challenging to get right though, could introduce more regression.
With above findings I can see why this was never done in the first place. Perhaps existing approach of just handling strings is not a bad idea, I do consider mixing types in input to be an edge case.

@ArmaanMcleod, I'm a bit confused: [Microsoft.PowerShell.MarkdownRender.MarkdownConverter]::Convert() expects Markdown as input  - i.e. plain text - so it's not surprising that it doesn't handle a string with VT escape sequences meaningfully, and I don't think it should be expected to.

That said, that it effectively breaks such escape sequences instead of passing them through is definitely problematic (seemingly, it removes the [ characters, so that "e[1mBolde[0m" turns into "e1mBolde0m"), but that strikes me as a separate problem.

I agree with @mklement0 I can't think of a realistic scenario for such a transformation.

Thanks @mklement0 & @iSazonov
In this case I don't think it makes sense to try and combine MarkdownInfo strings with string and pass everything to MarkdownRenderer.Convert(), so I've made changes to just collect all input of type string. I don't think you can do both unless there was a way to get original markdown string from MarkdownInfo. Otherwise as shown above we will be passing already VT100 escaped sequences into MarkdownRenderer.Convert() and get strange results.


gatsby-mdx deprecated, use gatsby-plugin-mdx instead

Using gatsby-mdx, gatsby was not picking up .mdx files added to the pages directory but it looks like you can just install gatsby-plugin-mdx and use that in gatsby-config.js with no other modifications.

I talked to @jlengstorf today and he said that using gatsby-plugin-mdx is in the errata for the course.
There is one additional change that I noticed.
in post.js the query should be
export const query = graphql`
  query($slug: String!) {
    mdx(frontmatter: { slug: { eq: $slug } }) {
      frontmatter {
        title
        author
      }
      body
    }
  }
`

Instead of
export const query = graphql`
  query($slug: String!) {
    mdx(frontmatter: { slug: { eq: $slug } }) {
      frontmatter {
        title
        author
      }
      code {
             body
      }
    }
  }
`

For the future generations. I was getting messages in the console:
File not found hello-world
File not found another-post
File not found hello-world
File not found another-post
File not found hello-world
File not found another-post
Every time I would refresh the page I got those messages. I was googling and couldn't find anything so I sat down to carefully check my code against the code in this repo. It was driving me crazy because they matched exactly.
Finally I checked the
package.json
file and found out that I still had the
"gatsby-mdx"
npm package installed.
As soon as I removed it the messages went away.
I (am just assuming) that the gatsby-mdx was creating the messages because it couldn't find any config settings or options in the gatsby-config file.
🤷♂

Added to the course errata. Thanks @denvercoder!


Build error "cannot link directly with dylib/framework" on MacOS Catalina

I followed the install instructions for MacOS on Catalina. I have openssl installed via brew and also ran xcode-select --install.
When I run:
cmake -v -DCMAKE_BUILD_TYPE=Release -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2s/include/ .

I get the error:
[ 62%] Built target s2
[ 62%] Building CXX object CMakeFiles/osmxTest.dir/test/test_region.cpp.o
[ 62%] Building CXX object CMakeFiles/osmxTest.dir/src/region.cpp.o
[ 62%] Linking CXX executable osmxTest
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [osmxTest] Error 1
make[1]: *** [CMakeFiles/osmxTest.dir/all] Error 2
make: *** [all] Error 2

The up to date version of openssl on Catalina is<EMAIL_ADDRESS>1.1.1d, so I also tried using the include path for that version above, e.g.:
cmake -v -DCMAKE_BUILD_TYPE=Release<EMAIL_ADDRESS>.

and got the same error. I tried omitting the openssl include dir option entirely, and also got the same error.

thanks for the report - haven't dug into this yet but it looks like the same issue as https://github.com/google/s2geometry/issues/87 - presumably need to link against brew openssl instead of system one
Will also work on updating the binary releases

@CloudNiner
I uploaded a new macOS binary here: https://github.com/protomaps/OSMExpress/releases/tag/0.0.4
I suspect this problem can be isolated by getting s2geometry to compile. It's difficult for me to reproduce though as I'm on MacPorts instead of Homebrew. Can you try building https://github.com/google/s2geometry - It should be cloned already in vendor/s2geometry ?
I suspect you may need to pass some configuration flags like this https://stackoverflow.com/a/16249265 to get S2's cmake to find the brew openSSL

Sorry about the delay in responding.  Ultimately I was unsuccessful in getting a build on Catalina. The s2geometry issue you linked states that after a brew upgrade openssl that the build should just work, which is not the case for me -- I've already got the latest openssl installed via brew.
Then I tried building s2geometry following vendor/s2geometry/README.md:
cd vendor/s2geometry
mdkir build
cd build
cmake<EMAIL_ADDRESS>..
make

which fails with
/Users/cloudniner/src/OSMExpress/vendor/s2geometry/src/s2/s2shapeutil_testing.cc:20:10: fatal error: 'gtest/gtest.h' file not found

Which is expected since the README told me to install gtest. As far as I can tell there's no brew package for gtest so that's where I stopped rather than building from source and further complicating install.
I was also unable to run the pre-built binary you uploaded as 0.0.4, which failed with the error:
dyld: Library not loaded: /opt/local/lib/libssl.1.1.dylib
  Referenced from: /Users/andrew/bin/osmx
  Reason: image not found
[1]    48461 abort      osmx

I found this stackoverflow which suggests using install_name_tool on the binary. No luck with that either. Looks like homebrew removed openssl 1.0 formula: https://github.com/kelaberetiv/TagUI/issues/635. Their workaround suggests curling a ruby script but I don't want to wreck my homebrew install so that's where I stopped on this one.

Instead of continuing with MacOS install woes I wrote a minimal Dockerfile based on Ubuntu 18.04. This image is 74mb in size so its definitely bigger than the executable, but its not unwieldy. If this is useful, I'd be happy to open a PR to add it to the repo.

@CloudNiner when building S2 can you use make s2 instead of make which should ignore the test-related targets?
Thanks for the docker file example - can you verify that the Docker image works correctly on a large file e.g. osmx expand planet.osm.pbf planet.osmx

can you verify that the Docker image works correctly on a large file

How big is the expanded planet.osmx? My computer only has a 256gb drive.

Ultimately I think it's a shame that S2 depends on OpenSSL just for its Bignum class. Maybe it won't be too difficult to port it to a standalone library.
https://github.com/google/s2geometry/issues/8

can you verify that the Docker image works correctly on a large file

How big is the expanded planet.osmx? My computer only has a 256gb drive.

It's about 600 GB.

:( I don't think I can run on the planet file then.

can you use make s2 instead of make

That fails with
[100%] Linking CXX shared library libs2.dylib
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libs2.dylib] Error 1
make[2]: *** [CMakeFiles/s2.dir/all] Error 2
make[1]: *** [CMakeFiles/s2.dir/rule] Error 2
make: *** [s2] Error 2

PS I commented on the closed s2 issue you linked originally since it looks like we've gone full circle

@CloudNiner If the Dockerfile is working well for your use case, can you open a PR so I can add it to the repo?

@CloudNiner thanks. I added (experimental) next to Docker in the readme as I don't have any production experience running osmx inside it; two concerns pop out immediately

the way the database (lmdb) works is by mmaping the entire DB into memory, I'm not certain how this interacts with the Docker runtime - but if you're able to make this work for a extract it should be fine
Also, it should be fine in the non-Docker case if multiple processes open the same .osmx file simultaneously - the locking and transactions should be handled by the lmdb code but I'm not sure if this works correctly with docker and the filesystem

If you have success using it in Docker can you post it here?

Those are great points, thanks for the heads up.
I only got as far as generating an osmx file last night, which worked fine. It may be a bit until I have time to go further with this but I'll report back when able. Thanks for all your quick responses!


No module named git error after installing on macOS

I've installed shallow-backup using pip3
$ pip3 install shallow-backup
But running shallow-backup throws this error
Traceback (most recent call last):
  File "/usr/local/bin/shallow-backup", line 7, in <module>
    from shallow_backup.__main__ import cli
  File "/usr/local/lib/python3.7/site-packages/shallow_backup/__main__.py", line 3, in <module>
    from .prompts import *
  File "/usr/local/lib/python3.7/site-packages/shallow_backup/prompts.py", line 7, in <module>
    from .git_wrapper import git_set_remote, move_git_repo
  File "/usr/local/lib/python3.7/site-packages/shallow_backup/git_wrapper.py", line 3, in <module>
    import git
ModuleNotFoundError: No module named 'git'

I've got git installed and it is working on my mac though.
Python3 is installed via brew.
Python version: 3.7.1
pip3: 18.1
macOS: 10.14.2

This is a seemingly confusing error with an easy fix.
To fix this, you should run pip3 install gitpython, however, this should be installed automatically when you run pip3 install shallow-backup.
I'm filing this as a bug, and I'll look into fixing it when I have some time.

Thanks this fixed it I've opened a PR including the changes.

Awesome, thanks man.


Only RSN gets exported, not the rank

https://i.imgur.com/V3syuDE.png
This is the export the plugin gives when exporting to clipboard, used it in the same way previously and it worked fine

Hey, thank you for raising the issue! There has been a patch made for this and submitted to the plugin repository. Just waiting on the Runelite team to approve and merge.
https://github.com/runelite/plugin-hub/pull/2207

Pr was accepted! Should be good to go now. Probably wait 15mins-30mins for it to push to their servers. Then restart Runeltie.


Consider branch remote when guessing MR

When trying to guess the merge request that corresponds to a
local branch, we search for MRs that match the (upstream) branch
name.
But as branch names only have to be unique within a project, it
is possible that there are multiple merge requests from different
forks that use the same source branch name.
Luckily we do know which is the correct source project: It's the
one that corresponds to the remote that the local branch was pushed
to.

This PR changes the expected behavior by the Test_mrBrowseCurrent test code: the mrtest branch tracks the lab-testing remote, while the test expects an MR (!1) which has as its source project the upstream own mrtest branch.
To fix it I pushed to your branch the necessary changes in  cmd/mr_browse_test.go. Hopefully, it'll be enough.

I'll also create a "hotfix" with your change and release it as 0.25.1.
Many thanks, @fmuellner!


[MB-3111] Add loadUser saga to Office App

Description
This PR represents adding redux-saga to the codebase, and adding one saga to illustrate usage (which replaces the Office App's getCurrentUserInfo thunk). The primary purpose of this PR is to introduce sagas as a tool we can continue to use for managing and testing complex data flow patterns.

The fetchUser saga is scoped to the Office App only, by calling the new LOAD_USER action instead of the existing getCurrentUserInfo thunk
Set up a rootSaga entry point, where any new sagas can be added

Reviewer Notes

There should be no effective user-facing changes
No changes are expected in the customer app
Verify when you go to the Office App, you are shown the login page, and you are able to successfully log in
After logging into the Office App, verify you can navigate around, refresh the page, and view the correct pages for your user role
This feature should also be explicitly tested in IE11

If you have redux devtools extension installed, you can use that to verify the saga action is being called on the Office App. In the Office App, LOAD_USER is called to kick off the fetchUser saga (and the existing GET_LOGGED_IN_USER_START, etc. actions are still dispatched afterwards):

In the customer app, only GET_LOGGED_IN_USER_START, etc. actions are called:

Setup
Since this PR adds a new library to package.json, you will have to run yarn install (which should already happen when you run make client_run).
Code Review Verification Steps

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-3111

  Generated by :no_entry_sign: dangerJS against 9bb3e9bad22b7f91680589d285b4fc19b4b148c9


add aws-sdk workaround to webpack example

Using aws-sdk in the context of Node-based Lambda functions is common, so
including this will save a headache for the next person.

ahh interesting thanks! That does not sound fun


Bump certifi from 2022.9.24 to 2022.12.7

Addresses https://github.com/coda/infra/security/dependabot/5

This is a followup to https://github.com/coda/packs-sdk/pull/2385/files and a recreation of https://github.com/coda/packs-sdk/pull/2388/files which appears to overwrite an autogenerated file.


Problem with Query over JObject, Filter with SubProperty not returning the correct value

I created this console application to reproduce my problem
       static void Main(string[] args)
        {
            var obj = new object[] {
               new { Id= 36,
                Descricao= "Responsiva",
                Tipo=new  { Id= "1" },TipoId=  "1" ,
                Custo= 160
              },
              new {
                Id= 31,
                Descricao= "Log",
                Tipo= new { Id= "1" },TipoId=  "1" ,
                Custo= 0
              },
              new {
                Id= 32,
                Descricao= "Multi-Idioma",
                Tipo= new { Id= "2" },TipoId=  "2" ,
                Custo= 2
              },
              new {
                Id= 33,
                Descricao= "Tela Administrativa",
                Tipo= new { Id= "2" },TipoId=  "2" ,
                Custo= 8
              }
            };

            var json = Newtonsoft.Json.JsonConvert.SerializeObject(obj);
            var dados = Newtonsoft.Json.JsonConvert.DeserializeObject<Newtonsoft.Json.Linq.JObject[]>(json);

            var retorno = dados.AsQueryable()
                               .Select("new (  string(Id) as Id, string(Descricao) as Descricao,new (  string(Id) as Id)  as Tipo, string(TipoId) as TipoId, string(Custo) as Custo)");
            retorno = retorno.OrderBy("Descricao asc");

            var retorno1 = retorno.Where("(TipoId = @0)", "1");
            var retorno2 = retorno.Where("(Tipo.Id = @0)", "1");

            Console.WriteLine(retorno.Count());
            Console.WriteLine(retorno1.Count());
            Console.WriteLine(retorno2.Count());
            Console.ReadLine();

        }

If you look at the results , the count should be the same, but for some reason, retorno2 is filtering for the Root Id of the object, and not the Tipo property and Id SubProperty

Hello @luizfbicalho ,
It's possible that new (  string(Id) as Id)  as Tipo should be instead new (  string(Tipo.Id) as Id)  as Tipo ?
var retorno = dados.AsQueryable()
				   .Select("new (  string(Id) as Id, string(Descricao) as Descricao,new (  string(Tipo.Id) as Id)  as Tipo, string(TipoId) as TipoId, string(Custo) as Custo)");

Once we change it, it now filters the Tipo.Id as you initially wanted.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Thanks @JonathanMagnan , I'll try that.

One thing before closing this
If I remove the line
   .Select("new (  string(Id) as Id, string(Descricao) as Descricao,new (  string(Id) as Id)  as Tipo, string(TipoId) as TipoId, string(Custo) as Custo)");
Shoudn't it work inspecting the JObject?
I changed it to dynamic and received this
"Target object is not an ExpandoObject"

Unfortunately, the library is not 100% compatible with JObject.
So the answer is no for the moment.
We might want to improve the code later to try to support more but there is no plan for now.

I didn't look deeply inside of the code, but is there some kind of translator that I could implement, for example
There is a object to where that translates the objects properties to the where string, and I could implement one translator of JObject to where,
and even one from dynamic to Where
I'm not sure if I was clear about it

I'm not exactly sure but this answer might help you: https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/410#issuecomment-678825890
This is possible for you to add some method that will be recognized by the library

I was thinking about something more transparent, I mean something like this
IReader{GetProperties(T obj).......}
and in Where("t=>t.Property==@0",X) would use the DI or some array of readers kind of the way newtonsoft.json has the converters.
I imagine that this is a huge change in the way that this works today, if so, I'm just pointing some ideas to help in the future

I was more thinking in this direction:
Use it:
var array = JArray.Parse(@"[
        {
            ""first"": 1,
            ""City"": ""Paris"",
            ""third"": ""test""
        },
        {
            ""first"": 2,
            ""City"": ""New York"",
            ""third"": ""abc""
        }]");

        var results = array.Where("City == @0", "Paris").ToDynamicArray();
        foreach (var result in results)
        {
            Console.WriteLine(result.first);
        }

Logic
public static JArray Where(this JArray source, JsonParsingConfig config, string predicate, params object?[] args)
    {
        Check.NotNull(source);

        var array = new JArray();

        if (source.Count == 0)
        {
            return array;
        }

        // Convert the JArray to a dynamic object array / queryable.
        var enumerable = source.ToDynamicJsonClassArray(config.DynamicJsonClassOptions).AsQueryable();

        // Apply the where clause.
        var results = enumerable.Where(config, predicate, args);

        // Convert the dynamic results back to a JArray.
        foreach (var result in results)
        {
            array.Add(JObject.FromObject(result));
        }

        return array;
    }

Will be solved by https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/789


Git is not working at vs code

Issue Type: Bug
I cant clone the git repository
in the command platte there is no clone option for cloning
VS Code version: Code 1.28.2 (7f3ce96ff4729c91352ae6def877e59c561f4850, 2018-10-17T00:23:51.859Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz (4 x 3093)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.91GB (3.94GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

prettier-vscode
esb
1.6.1

beautify
Hoo
1.4.7

cpptools
ms-
0.20.1

debugger-for-chrome
msj
4.10.2

LiveServer
rit
5.1.1

open-in-browser
tec
2.0.0

bootstrap4-vscode
the
4.3.0

@NaemBhuiyan
Running Code 1.28.2 under Windows 10, I am unable to reproduce this.
Under the command pallet, the command "Git: Clone" appears as expected.
Can you provide any more information?


added sapyb and unittests

Adds sapyb method of DataContainer and some unit tests.
I think we should remove all axpby references in the code as sapyb is able to switch from the c-library to pure numpy implementation, which should fix a few problems that have arisen.
Besides, SIRF has already developed sapyb and deprecated axpby.

I updated the sapyb method with a new clearer variable use_c_lib instead of do_numpy. I added the example in the docstring.
I think the current names of the unittests are clearer than the ones proposed by @epapoutsellis

Jenkins fails for numpy 1.15 and python 3.6
======================================================================
ERROR: test_sapyb_scalar_f_c (test_DataContainer.TestDataContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/conda-bld/cil_1641920992965/test_tmp/Wrappers/Python/test/test_DataContainer.py", line 1119, in test_sapyb_scalar_f_c
    with self.assertRaises(numpy.core._exceptions.UFuncTypeError) as context:
AttributeError: module 'numpy.core' has no attribute '_exceptions'

======================================================================
ERROR: test_SPDHG_vs_SPDHG_explicit_axpby (test_algorithms.TestSPDHG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/conda-bld/cil_1641920992965/test_tmp/Wrappers/Python/test/test_algorithms.py", line 1028, in test_SPDHG_vs_SPDHG_explicit_axpby
    algos[0].run(1000, verbose=0)
  File "/home/jenkins/conda-bld/cil_1641920992965/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.6/site-packages/cil/optimisation/algorithms/Algorithm.py", line 269, in run
    self.__next__()
  File "/home/jenkins/conda-bld/cil_1641920992965/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.6/site-packages/cil/optimisation/algorithms/Algorithm.py", line 117, in __next__
    self.update()
  File "/home/jenkins/conda-bld/cil_1641920992965/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.6/site-packages/cil/optimisation/algorithms/SPDHG.py", line 173, in update
    y_k.axpby(self.sigma[i], 1., self.y_old[i], out=y_k)
  File "/home/jenkins/conda-bld/cil_1641920992965/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.6/site-packages/cil/framework/framework.py", line 2545, in axpby
    self._axpby(a,b,y,out, dtype, num_threads)
  File "/home/jenkins/conda-bld/cil_1641920992965/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.6/site-packages/cil/framework/framework.py", line 2598, in _axpby
    ndy = ndy.astype(dtype, casting='safe')
TypeError: Cannot cast array from dtype('float64') to dtype('float32') according to the rule 'safe'

----------------------------------------------------------------------
Ran 475 tests in 347.033s

I removed the SPDHG changes and made sure that the data passed to it in the unit test is float32 and now everything is happy.
I believe it can be merged @epapoutsellis @gfardell ?


[ Feature  Request] Add Animation when cursor hides

There is a option for hyprland, where the cursor hides after a set time. But it just disappears, really boring.
I would propose adding a fading animation or something similar. Maybe the cursor shrinking or something like that.

True, that's actually a really cool idea. Thanks for the suggestion!

ideas:

fade
shrink until disappears
explode with confetti

If you could combine this with #34 that would be great :+1:


fix auth for settings requests

Description & motivation 💭
Screenshots (if applicable) 📸
Design Considerations 🎨
Testing 🧪
How was this tested 👻

[ ] Manual testing
[ ] E2E tests added
[ ] Unit tests added

Steps for others to test: 🚶🏽♂🚶🏽♀
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
Docs
Any docs updates needed?

#2  👈
main

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

Join @bgerrity and the rest of your teammates on  Graphite


Use canScrollForward and canScrollBackward

Codecov Report

Merging #734 (8971d84) into main (990a3ef) will increase coverage by 0.02%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #734      +/-   ##
==========================================
+ Coverage   69.83%   69.85%   +0.02%
==========================================
  Files         113      112       -1
  Lines        5562     5560       -2
  Branches     1110     1108       -2
==========================================
  Hits         3884     3884
  Misses        917      917
+ Partials      761      759       -2

Impacted Files
Coverage Δ

...yo/composelife/ui/action/CellUniverseActionCard.kt
79.54% <50.00%> (ø)

...ife/ui/action/settings/FullscreenSettingsScreen.kt
75.37% <50.00%> (ø)

...o/composelife/ui/action/ActionCardNavigationBar.kt
77.58% <0.00%> (+1.72%)
:arrow_up:

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


Add option for month/year drop-down and week peek

This addresses #462 and adds an additional feature to "peek" at the first full week in the next month.
API to use <select> dropdowns is:
<DatePicker
    {...}
    dropdownMode="select"
    showYearDropdown
    showMonthDropdown />

API "peek" into next month is
<DatePicker
    {...}
    peekNextMonth />

Changes include:

Add year and month <select> dropdowns
Workaround: Cancel date input focus if focusing on year/month <select>
Create base CSS for year and month dropdowns
Add option to "peek" into the next month's first full week
Refactor week rendering logic
Update README and examples
Bugfix: Make min/max date apply to YearDropdown
Bugfix: Fix moment.js deprication warnings

I'm happy to adjust the API if you're not happy with it. I've tried to be as consistent as I can with testing. There are some // TODOs where there might be a non-<select> month picker.
Please let me know what you think!
Cheers,
Cody

Current coverage is 90.10% (diff: 89.15%)

Merging #564 into master will decrease coverage by 1.14%

@@             master       #564   diff @@
==========================================
  Files            10         11     +1
  Lines           400        475    +75
  Methods          14         15     +1
  Messages          0          0
  Branches         68         80    +12
==========================================
+ Hits            365        428    +63
- Misses           14         19     +5
- Partials         21         28     +7

Powered by Codecov. Last update 895f160...677fa98

Travis is failing but I don't understand why? I can't get the tests to fail for me locally.

Looking into the same issue for Master. I'll keep you posted.

@iknowcss I made the test pending to fix the build. Couldn't find the root cause of the issue and wasn't able to reproduce this locally. Go ahead and rebase with master to fix your PR.

@martijnrusschen I just realized I have caused a regression in fixedHeight during my refactor. It is late now so I will fix tomorrow.

@martijnrusschen I have completed my changes and added new tests to prevent a regression of fixedHeight again. When you have a chance, would you please have a look at the code and let me know if you have any questions?
Cheers!
Cody

Thanks Martijn!

i can't use it through npm install<EMAIL_ADDRESS>--save
and i tried dropdownMode="select" is not working

Hey sanheng, the changes have been merged to master but they have not been published to npm yet. They should be available in version 0.30.0.


add Invoices table

I've added support for a new table named invoices. This table recover the data form : https://www.scaleway.com/en/developers/api/billing/#path-invoices-list-invoices using scaleway-sdk-go/api/billing
I'm not a go developer, so I've intensively used AI to generate the table code. I've tried my best to conform to coding convention and styling of the project.
The table have been extensively tested, and the documentation reflects that.
I humbly hope this contribution is decent enough to be integrated.

@misraved why did you assigned me the PR ?
Maybe you have "forgot" the corresponding comment ?

Hello, I'm a bit confused. I thought you were waiting for the changes to merge.
For the record, I've started to implement you're comments, but i've not finished yet. I have several questions / remarks concerning them, but it is still a work in progress. I'll try to take some time soon to do so.
How should we proceed in order to bring those future changes to the main repo ?
Thx.

Apologies for any confusion, @tdannenmuller. Since we hadn’t heard from you in a while and the overall changes in the PR looked great, we went ahead and merged it into a branch. I’ve also made some cleanup changes and raised a follow-up PR (https://github.com/turbot/steampipe-plugin-scaleway/pull/123) with main as the base branch. You can review the updated changes there.
Please feel free to continue adding your updates to the add-table-invoice branch within the new PR. Let me know if you have any questions or if there’s anything else I can assist with!
Thanks!


Update azure-ad-authentication.md

Adding callout that AAD for App Insights is only in public clouds.

@AaronMaxwell,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Prevent output in "serve" mode

When running git diff | diffly --serve I got all the html output in the terminal, which is annoying :)

done in 0.1.2!


Minor fixes to CHANGELOG.md

Moved checking support for AVX in platform/OS to correct section and some minor fixes to CHANGELOG.md.

bors r+


⚠ Bofrost.fr has degraded performance

In 6024d1c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 860 ms

Resolved: Bofrost.fr performance has improved in 959b496.


System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS> not found by OmniSharp

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   2.2.103
 Commit:    8edbc2570a

Runtime Environment:
 OS Name:     fedora
 OS Version:  29
 OS Platform: Linux
 RID:         fedora.29-x64
 Base Path:   /usr/lib64/dotnet/sdk/2.2.103/

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

.NET Core SDKs installed:
  2.2.103 [/usr/lib64/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.NETCore.App 2.2.1 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download
(rishvic) [rishvic@localhost Teleportation]$ code --version
1.31.1
1b8e8302e405050205e69b59abb3559592bb9e60
x64

VS Code version: 1.31.1
C# Extension version: 1.17.1
Steps to reproduce

Install VS-Code
Install C# Extension
Run Omnisharp server (Starts automatically when VS-Code is opened)

Expected  behavior
Omnisharp server to run properly
Actual behavior
(Installs .NET Core debugger, Razor server, and OmniSharp when newly installed)
Finished

Getting latest OmniSharp version information

Then cuts to
Starting OmniSharp server at 20/2/2019, 1:09:11 AM
    Target: /home/rishvic/Documents/Dev/Quany/Bell

OmniSharp server started with Mono 6.1.0.
    Path: /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/OmniSharp.exe
    PID: 7532

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on fedora 29.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 15.0 - "/home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/msbuild/15.0/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 15.0 - "/home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/msbuild/15.0/Bin"
            CscToolExe = csc.exe
            TargetFrameworkRootPath = /usr/lib/mono/xbuild-frameworks
            MSBuildToolsPath = /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/msbuild/15.0/Bin
            CscToolPath = /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/msbuild/15.0/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/msbuild
System.TypeLoadException: Could not load type of field 'OmniSharp.MSBuild.ProjectManager:_queue' (13) due to: Could not load file or assembly 'System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
  at (wrapper managed-to-native) System.RuntimeType.GetPropertiesByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,System.RuntimeType/MemberListType)
  at System.RuntimeType.GetPropertiesByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.RuntimeType+MemberListType listType, System.RuntimeType reflectedType) [0x0001b] in <55f2d61d61144ad598ea3e2fc5ec8cc5>:0
  at System.RuntimeType.GetPropertyCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <55f2d61d61144ad598ea3e2fc5ec8cc5>:0
  at System.RuntimeType.GetProperties (System.Reflection.BindingFlags bindingAttr) [0x00000] in <55f2d61d61144ad598ea3e2fc5ec8cc5>:0
  at System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperties (System.Type type) [0x00014] in <55f2d61d61144ad598ea3e2fc5ec8cc5>:0
  at System.Composition.TypedParts.Discovery.TypeInspector+<DiscoverPropertyExports>d__7.MoveNext () [0x00030] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.TypedParts.Discovery.TypeInspector+<DiscoverExports>d__5.MoveNext () [0x000dc] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.TypedParts.Discovery.TypeInspector.InspectTypeForPart (System.Reflection.TypeInfo type, System.Composition.TypedParts.Discovery.DiscoveredPart& part) [0x00061] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (System.Collections.Generic.IEnumerable`1[T] types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00037] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00042] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at OmniSharp.CompositionHostBuilder.Build () [0x001f6] in <089b5f80b8a94280985736532a696e5f>:0
  at OmniSharp.Stdio.Host..ctor (System.IO.TextReader input, OmniSharp.Stdio.Services.ISharedTextWriter writer, OmniSharp.IOmniSharpEnvironment environment, System.IServiceProvider serviceProvider, OmniSharp.CompositionHostBuilder compositionHostBuilder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Threading.CancellationTokenSource cancellationTokenSource) [0x00057] in <8063bf3b8d6e4dfaad87782f50455b9b>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_1.<Main>b__1 () [0x00138] in <1d0439f055d94458aeda3584fc00bd89>:0
  at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <089b5f80b8a94280985736532a696e5f>:0
  at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x00039] in <344a1e8cd6594b17b1e01f8df6ae8827>:0
  at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable`1[T] args) [0x00042] in <089b5f80b8a94280985736532a696e5f>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.<Main>b__0 () [0x00028] in <1d0439f055d94458aeda3584fc00bd89>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <089b5f80b8a94280985736532a696e5f>:0

(Output mode is on debug)

The problem is :

Could not load file or assembly 'System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS>

Could you check /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10 for the presense of System.Threading.Tasks.Dataflow.dll. If not could you reinstall the extension ?

I have the same problem. I tried to reinstall extension, but it didn't help. Also i have System.Threading.Tasks.Dataflow.dll in ~/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp.

This might be similar to the issue : https://github.com/OmniSharp/omnisharp-roslyn/issues/1350

But I found the required System.Threading.Tasks.Dataflow.dll in ~/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.11-beta.10/omnisharp/System.Threading.Tasks.Dataflow.dll. But I also saw that OmniSharp version 1.32.8 was also installed along with 1.32.11-beta.10

I tried to force reinstall of OmniSharp by removing both 1.32.11-beta.10 and 1.32.8 and install.Lock from extension folder, but still the exact same error persists. Still found System.Threading.Tasks.Dataflow.dll in .omnisharp/1.32.11-beta.10/omnisharp and .omnisharp/1.32.8/omnisharp

I'm struggling with this exact same issue. Here's my output of dotnet --info if it's of any help
.NET Core SDK (reflecting any global.json):
 Version:   2.2.102
 Commit:    96ff75a873

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /opt/dotnet/sdk/2.2.102/

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

.NET Core SDKs installed:
  2.2.102 [/opt/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.1 [/opt/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.1 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.1 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

@Colocasian Could you set omnisharp.loggingLevel: debug and reshare the log ?
Do you have msbuild installed? Could you try installing msbuild and checking if the error still perisists ?

The original error log was in loggingLevel: debug, and I do seem to have MSBuild preinstalled with my .NET SDK v2.2

@Colocasian Maybe setting omnisharp.loggingLevel: trace ?

Here's the output for loggingLevel: trace
Starting OmniSharp server at 1/3/2019, 11:22:55 AM
    Target: /home/rishvic/Documents/Dev/Quany/Bell

OmniSharp server started with Mono 6.1.0.
    Path: /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.12-beta.2/omnisharp/OmniSharp.exe
    PID: 7535

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on fedora 29.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[warn]: OmniSharp.MSBuild.Discovery.Providers.MonoInstanceProvider
        It looks like you have Mono 5.2.0 or greater installed but MSBuild could not be found.
Try installing MSBuild into Mono (e.g. 'sudo apt-get install msbuild') to enable better MSBuild support.
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 15.0 - "/home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.12-beta.2/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.12-beta.2/omnisharp/msbuild/15.0/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 15.0 - "/home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.12-beta.2/omnisharp/msbuild/15.0/Bin"
            CscToolExe = csc.exe
            TargetFrameworkRootPath = /opt/mono/lib/mono/xbuild-frameworks
            MSBuildToolsPath = /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.12-beta.2/omnisharp/msbuild/15.0/Bin
            CscToolPath = /home/rishvic/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.12-beta.2/omnisharp/msbuild/15.0/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /opt/mono/lib/mono/xbuild
System.TypeLoadException: Could not load type of field 'OmniSharp.MSBuild.ProjectManager:_queue' (13) due to: Could not load file or assembly 'System.Threading.Tasks.Dataflow, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
  at (wrapper managed-to-native) System.RuntimeType.GetPropertiesByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,System.RuntimeType/MemberListType)
  at System.RuntimeType.GetPropertiesByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.RuntimeType+MemberListType listType, System.RuntimeType reflectedType) [0x0001b] in <7765fcb832884afdbff9b39779e34bb9>:0
  at System.RuntimeType.GetPropertyCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <7765fcb832884afdbff9b39779e34bb9>:0
  at System.RuntimeType.GetProperties (System.Reflection.BindingFlags bindingAttr) [0x00000] in <7765fcb832884afdbff9b39779e34bb9>:0
  at System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperties (System.Type type) [0x00014] in <7765fcb832884afdbff9b39779e34bb9>:0
  at System.Composition.TypedParts.Discovery.TypeInspector+<DiscoverPropertyExports>d__7.MoveNext () [0x00030] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.TypedParts.Discovery.TypeInspector+<DiscoverExports>d__5.MoveNext () [0x000dc] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.TypedParts.Discovery.TypeInspector.InspectTypeForPart (System.Reflection.TypeInfo type, System.Composition.TypedParts.Discovery.DiscoveredPart& part) [0x00061] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor (System.Collections.Generic.IEnumerable`1[T] types, System.Composition.Convention.AttributedModelProvider attributeContext) [0x00037] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at System.Composition.Hosting.ContainerConfiguration.CreateContainer () [0x00042] in <9aac21a4a3f24063b2b8b59143acddfc>:0
  at OmniSharp.CompositionHostBuilder.Build () [0x001f6] in <998fff0578ce4fa2a43cdbabde4099d7>:0
  at OmniSharp.Stdio.Host..ctor (System.IO.TextReader input, OmniSharp.Stdio.Services.ISharedTextWriter writer, OmniSharp.IOmniSharpEnvironment environment, System.IServiceProvider serviceProvider, OmniSharp.CompositionHostBuilder compositionHostBuilder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Threading.CancellationTokenSource cancellationTokenSource) [0x00057] in <c117871a3d7d4ab5b0024ea4ac6641ab>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_1.<Main>b__1 () [0x00138] in <5df4f76f5e184835984047d2a895322a>:0
  at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <998fff0578ce4fa2a43cdbabde4099d7>:0
  at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x00039] in <344a1e8cd6594b17b1e01f8df6ae8827>:0
  at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable`1[T] args) [0x00042] in <998fff0578ce4fa2a43cdbabde4099d7>:0
  at OmniSharp.Stdio.Driver.Program+<>c__DisplayClass0_0.<Main>b__0 () [0x00028] in <5df4f76f5e184835984047d2a895322a>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <998fff0578ce4fa2a43cdbabde4099d7>:0

After reading this, I do think this has to do something with MSBuild, will try to do something and report back.

Although I found MSBuild.dll in /usr/lib64/dotnet/sdk/2.2.104/MSBuild.dll in my computer and tried to export a global variable MSBUILD_EXE_PATH=/usr/lib64/dotnet/sdk/2.2.104/MSBuild.dll, it did not work.

@Colocasian As per the comments here can you try "omnisharp.useGlobalMono": never

Here is a similar issue and it was resolved by [setting the MsbuildSdkPath ]https://github.com/OmniSharp/omnisharp-vscode/issues/2803#issuecomment-457005942). Can you try that and check if the error reproduces ?

It worked by changing the setting omnisharp.useGlobalMono: never. I think the issue can be closed.


Docker hv-sock proxy (vsudd) is not reachable

Description
I have installed latest beta build and installed it on windows 10 enterprise x64. But when I try to start it. It fails to start.

Steps to reproduce the issue:

Download Docker 1.13.0-rc4-beta34 (9562) for windows.
Install setup
Start Docker

Describe the results you received:
An error occured
Docker hv-sock proxy (vsudd) is not reachable
at Docker.Backend.ContainerEngine.Linux.ConnectToVsud(TaskCompletionSource`1 vmId)
at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings)
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.b__0(Object[] parameters)
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
Describe the results you expected:
Docker Started
Additional information you deem important (e.g. issue happens only occasionally):
Crash Report Diagnostic ID
...
AB86FF97-FDED-4A14-B14D-FAF8DF99282E/2016-12-21_15-25-51
log.txt
...
Output of docker version:
Client:
 Version:      1.13.0-rc4
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   88862e7
 Built:        Sat Dec 17 01:34:17 2016
 OS/Arch:      windows/amd64
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/version: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

Output of docker info:
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

Additional environment details (AWS, VirtualBox, physical, etc.):
Windows 10 Enterprise x64
Version 1607
OS Build 14393.0

Please can you open in this in https://github.com/docker/for-win/issues as it is Docker for Windows specific.

The problem was with windows 10 build 14393. I updated windows to latest build and the issue got resolved.


angular-ui-router deprecating state events

Page views will no longer trigger when used with<EMAIL_ADDRESS>since they have disabled state events by default.
It seems as though angulartics depends on these events? "$state" is still in the injector, so it won't fall back to using $locationChangeSuccess.
State events are being replaced with transition hooks. This can be implemented much the same way as the existing $stateChangeSuccess listener, based off $injector.has("$transitions"). Are there any plans to support this? I can submit a PR.

Thanks for the heads up! There are no plans in the works. I'd be happy to review a PR with tests :)

Leaving this open as the merged solution is not working with ui-router 1.0.0-beta https://github.com/angulartics/angulartics/issues/504

It looks as though since my merge, there's been a subsequent change (78ef78858a3480ac5c988bb1a8007960c6117824) which added inline annotations to the onSuccess hook.
However, angular-ui-router has stopped treating the hooks as injectable which is what's causing these issues: BC-BREAK: Transition Hooks are no longer injected (onBefore/onStart/onExit/onRetain/onEnter/onFinish/onSuccess/onError)
I'll submit a PR to un-do the inline annotation.

@CrispyBacon12 thanks for the detailed explanation. Closing as fixed in #512


chore: refactor customJs lib import flow for pg transaction support

Description
Please refer this document for more details - https://www.notion.so/appsmith/Transaction-Handling-in-PG-468cf8d4255749c3915699e59e91dc2f
Automation
/ok-to-test<EMAIL_ADDRESS>@tag.ImportExport, @tag.Templates"
:mag: Cypress test results

[!IMPORTANT]
🟣 🟣 🟣 Your tests are running.
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/9855380203
Commit: 7cb411ea97c97c650ba415e00340b8ece2ecb4bc
Workflow: PR Automation test suite
Tags: @tag.Git, @tag.ImportExport, @tag.Templates
Spec: ``
Tue, 09 Jul 2024 10:28:10 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit

New Features

Introduced support for managing custom JavaScript libraries, including dry run operations.

Enhancements

Enhanced dry operation handling with new methods and improved logic for managing custom JavaScript libraries.

@abhvsn I will work on this once i get more clarity on the page and actions refactor. These flows might require some changes hence i am going to stick to this approach for now.

We are deferring unit tests to another PR


New version: OutlierDetection v0.2.3

Registering package: OutlierDetection
Repository: https://github.com/OutlierDetectionJL/OutlierDetection.jl
Created by: @davnn
Version: v0.2.3
Commit: 1add78370892ccbba8fb3be980106c62c023fcef
Reviewed by: @davnn
Reference: https://github.com/OutlierDetectionJL/OutlierDetection.jl/issues/3#issuecomment-959500099
Description: Fast, scalable and flexible Outlier Detection with Julia

can be closed, unintentionally skipped a version. New request at https://github.com/JuliaRegistries/General/pull/48072 as register did not update the old request.


(FACT-1115) Fix execution of non-zero command exit treated as failure.

Facter 2.x returns output from Facter::Core::Execution::exec/execute
even if the command failed (non-zero exit code).  It returned the value
of the on_fail option only if the command couldn't be found.
Facter 3 was returning the on_fail option if the command returned a
non-zero exit code or couldn't be found.  This commit restores the 2.x
behavior.

CLA signed by all contributors.


⚠ Bofrost.be has degraded performance

In 8afdb72, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1613 ms

Resolved: Bofrost.be performance has improved in 459b3ce.


Use the new official API node wraper

The official node wrapper is available as 'mailchimp-api'.
Make this package use this wrapper instead of the current one.
https://www.npmjs.org/package/mailchimp-api

Closing this off. The official package ended up not supporting their latest version of the API and they stopped maintaining it in favor of community packages. As of this writing, we're updated to v3 with #6.


Feature - Results - Added page numbers and page headers to each section during report creation

CanFlood
Changelog:

Added page numbers with function add_page_number
Added page headers with function add_page_header
Corrected stretched text on report template

Test coverage for this change

[ ] I have added API unit tests
[ ] I have added appropriate UI unit tests (ng component or cypress)
[X] I have not added tests

Thanks @BenMaxIBI , this procedure worked well from my end... nice and clean. I'm not sure how best to handle the test development as this is sort of a mess right now... so I guess we'll sort that later.
looking forward to your other PRs.


Add feature to allow animation effects / integration with sequencer or Automated Animations

Is your feature request related to a problem? Please describe.
Currently summoning works very well, but for something like the 'Summon Wildfire Spirit' it would be fantastic to add some visual flair via adding some animations, for example from the JB2A module of animated effects. Prior to finding your module I had a complex macro for both summoning and using sequencer to generate the visual effect of the token being summoned in a burst of flame.
Describe the solution you'd like
Either adding some element of animation configuration within the module itself, or build some hooks (or whatever, sorry not a coder so probably not using the right terminology) to allow Automated Animations to pick up on the summoning data being used eg. location of summons etc... I attempted to create something in A-A but as it does not know where the token is being summoned to, the best that could be achieved was creating an effect on the summoner themselves.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I agree, something similar to TheRipper93's implementation of summoning animations in Automatic Evocations module would be awesome. I vastly prefer your mod in general because it's much more user friendly, but summoning animation would take it to the next level :)


Store.History.is_empty returns true with one value stored in the graph

The following gist:
https://gist.github.com/aweis/883322662f7c874b38e1b352314e7a5c
prints the following:
0. is the history empty? true
setting [a,b,c]
data at [a,b,c] is Message 1
1. is the history empty? true
setting [a,b,d]
data at [a,b,c] is Message 1
data at [a,b,d] is Message 2
2. is the history empty? false

I was surprised that a single item in the history still meant that the history was empty.  Is this intended behavior?

http://mathworld.wolfram.com/EmptyGraph.html
Is this because the singleton graph is considered empty?  This is unfortunate because I would expect a commit history of 1 commit to be not empty

It's indeed surprising. I'll try to dig a bit to understand what happens.

Linking in some context here to @aweis' irmin-web browser prototype https://github.com/mirage/irmin/issues/677#issuecomment-489877072

@zshipko did you manage to reproduce / fix?

I was able to reproduce this, but wasn't able to fix it since it seems to come from ocamlgraph.

The issue was in our implementation, it is now fixed.


Unify the Vitess type system

The vitess type system is mostly unified under sqltypes and querypb. But there are still a few stragglers that are causing code fragmentation:

Bind variables have two representations, one from querypb, and the other as map[string]interface{}. The latter allows non-sqltype values to be added to it and there are many places in the code that still do.
Plan building by vttablet and vtgate use a 'Values' field which is of type interface{}. This is either a value supplied in the query, or the name of a bind var. There are subtle differences between how vtgate stores values vs. vttablet.

The complication is that some of these values are non-standard that cannot be represented in sqltypes.Value. We need either extend the capabilities of sqltypes, or come up with some higher level wrappers that provide the necessary extensions.
As the code grows, some areas are getting increasingly confusing. So, this work will have to be prioritized soon.

@alainjobart
In order to perform more optimizations to address #2849, we need the ability to handle the new string literal type gracefully. This requires the type system to be cleaned up. So, I'm going to start with addressing phase 1 of this issue first.
Change bind vars type to map[string]*querypb.BindVariable
The purpose of this change is to simplify handling of bind vars and also make it more efficient by avoiding repeated conversions and validations.
Validation
Bind vars are currently transmitted as proto variables, but converted to map[string]interface{} at entry points. The vtgate or vttablet processes then add more entries to this map, but the value can be any go type or sqltypes.Value. This makes it confusing for bind var handlers because they don't know what to expect in such a map. So, they have to handle all possible types, and they also have to conservatively perform validity checks on any *querypb.BindVariable they encounter.
To remove this confusion, bind vars will be validated by vtgate at entry point. Any new entries added to the map will be created as *querypb.BindVariable and certified as valid by the creator. All other parts of the system can trust the bind var to be validated.
The meaning of validity
A valid bind variable is one that parses correctly. This means that something like an Int64 contains a valid int number. There is no guarantee that the value is canonically represented. The only guarantee is that the value can be safely encoded as SQL.
Conversion to sqltypes.Value
A bind variable can be cheaply converted to an sqltypes.Value because the validity guarantees are the same. You can then use comparison functions in arithmetic.go, which perform safe conversions before comparing values.
I'm likely to remove Raw, String and Bytes, and provide a more formal set of functions that will return a canonical representation of a Value, which will allow us to use it in places where values need to be understood: Vindexes, DML comments and other such places.
Exceptions
In vttablet, we use some special bind variable types like TupleEqualityList that helps us generate the final query efficiently. Fortunately, the part of the code is at the lowest level and isolated. I may make an exception here and continue using a map[string]interface{} for just this part.

I agree with this, in fact I may have been the one talking about it first. :)

yes :)


feat: pkg-util-github-repo enhancement

Signed-off-by: xian-jie.shen<EMAIL_ADDRESS>Pre-Checklist
Note: please complete ALL items in the following checklist.

[x] I have read through the CONTRIBUTING.md documentation.
[x] My code has the necessary comments and documentation (if needed).
[x] I have added relevant tests

Description
add ut for repo
Related Issues
see https://github.com/devstream-io/devstream/issues/833 for the details
New Behavior (screenshots if needed)
[going@dev github]$ go tool cover -func=coverage.out
github.com/devstream-io/devstream/pkg/util/github/repo.go:12:                   CreateRepo                          100.0%
github.com/devstream-io/devstream/pkg/util/github/repo.go:28:                   DeleteRepo                          83.3%
github.com/devstream-io/devstream/pkg/util/github/repo.go:51:                   GetRepoDescription                  81.8%
github.com/devstream-io/devstream/pkg/util/github/repo.go:79:                   PushLocalPathToBranch               46.7%
github.com/devstream-io/devstream/pkg/util/github/repo.go:105:                  InitRepo                            100.0%
total:                                                                          (statements)                        57.0%
[going@dev github]$

@jxs1211 Please check the ci error and try to resolve the conflict. Thanks!

@jxs1211 Please check the ci error and try to resolve the conflict. Thanks!

@iyear the conflicts have been resolved. But the ci error haven't yet, I find the output of the error:
Running Suite: GitHub Suite - /home/runner/work/devstream/devstream/pkg/util/github
===================================================================================
Random Seed:<PHONE_NUMBER>

Will run 38 of 38 specs
••••••<nil>
••••••••••••••••••••2022-07-28 04:25:31 ℹ [INFO]  Prepare to create an organization repository: or/r
•2022-07-28 04:25:31 ℹ [INFO]  Prepare to create an organization repository: or/r
•2022-07-28 04:25:31 ℹ [INFO]  r%!(EXTRA string=mb)
Error: -28 04:25:31 !! [ERROR]  Failed to create repo: POST http://<IP_ADDRESS>:37449/api-v3/user/repos: 404  [].
•2022-07-28 04:25:31 ℹ [INFO]  r%!(EXTRA string=mb)
2022-07-28 04:25:31 ℹ [INFO]  Prepare to create an organization repository: or/r
2022-07-28 04:25:31 ℹ [INFO]  The repo r has been created.
•2022-07-28 04:25:31 ℹ [INFO]  r%!(EXTRA string=mb)
2022-07-28 04:25:31 ℹ [INFO]  Prepare to create an organization repository: or/r
2022-07-28 04:25:31 ℹ [INFO]  The repo r has been created.
•••2022-07-28 04:25:31 ℹ [INFO]  GitHub repo  was not found. Nothing to do here.
•2022-07-28 04:25:31 ✔ [SUCCESS]  GitHub repo r removed.
•••panic: test timed out after 10m0s

goroutine 170 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.18.4/x64/src/testing/testing.go:2029 +0x8e
created by time.goFunc
	/opt/hostedtoolcache/go/1.18.4/x64/src/time/sleep.go:176 +0x32

I noticed that the test time out was set to 10m which is supposed not to raise this timeout error, I've verified the test will pass successfully by setting the timeout to 10m\10s in my local environment. Only one condition can reproduce the error by setting the time out to 1s below:
[going@dev github]$ go test -run=TestPlanmanager -cover  -coverprofile=./coverage.out -timeout=1s -v
=== RUN   TestPlanmanager
Running Suite: GitHub Suite - /d/work/src/go/open_source/devstream/pkg/util/github
==================================================================================
Random Seed:<PHONE_NUMBER>

Will run 38 of 38 specs
•••••2022-07-28 13:15:40 ℹ [INFO]  Prepare to create an organization repository: or/r
•2022-07-28 13:15:40 ℹ [INFO]  Prepare to create an organization repository: or/r
•2022-07-28 13:15:40 ℹ [INFO]  r%!(EXTRA string=mb)
2022-07-28 13:15:40 !! [ERROR]  Failed to create repo: POST http://<IP_ADDRESS>:37331/api-v3/user/repos: 404  [].
•2022-07-28 13:15:40 ℹ [INFO]  r%!(EXTRA string=mb)
2022-07-28 13:15:40 ℹ [INFO]  Prepare to create an organization repository: or/r
2022-07-28 13:15:40 ℹ [INFO]  The repo r has been created.
•2022-07-28 13:15:40 ℹ [INFO]  r%!(EXTRA string=mb)
2022-07-28 13:15:40 ℹ [INFO]  Prepare to create an organization repository: or/r
2022-07-28 13:15:40 ℹ [INFO]  The repo r has been created.
•••2022-07-28 13:15:40 ℹ [INFO]  GitHub repo  was not found. Nothing to do here.
•2022-07-28 13:15:40 ✔ [SUCCESS]  GitHub repo r removed.
••••••••••••••••••••••<nil>
•coverage: 55.9% of statements
panic: test timed out after 1s

goroutine 173 [running]:
testing.(*M).startAlarm.func1()
        /home/going/go/go1.18.3/src/testing/testing.go:2029 +0x8e

so I'm a little bit confused why this error could happened, or there is something I missed?

@jxs1211 Please check the ci error and try to resolve the conflict. Thanks!

@iyear I've rewritten the code and fixed the error.


chore Fix 'BlocksProduced' in plan_fragment_executor

Proposed changes
Fix the value of _blocks_produced_counter and add two counter in ExchangeNode: _rows_produced_counter and _blocks_produced_counter.

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

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.64 seconds
stream load tsv:          512 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.7 seconds inserted 10000000 Rows, about 336K ops/s
storage size:<PHONE_NUMBER>4 Bytes


alerts: Change sidebar alerts to be at top of the screen.

This changes the alerts to be individual boxes that slide down from
the top of the screen for a better UI experience.

Automated message from Dropbox CLA bot
@brockwhittaker, it looks like you've already signed the Dropbox CLA. Thanks!

@brockwhittaker The code looks good here, so you can probably just get Tim to give a final sign-off.  We'll want to move some code out of ui.js shortly after this gets merged, but that's not a blocker.

Okay, sounds good. I think we can probably move it to something like
ui_alerts and migrate out other existing code that is littered across the
code base in a next step.
On Tue, Mar 28, 2017 at 9:34 AM, showell<EMAIL_ADDRESS>wrote:

@brockwhittaker https://github.com/brockwhittaker The code looks good
here, so you can probably just get Tim to give a final sign-off. We'll want
to move some code out of ui.js shortly after this gets merged, but that's
not a blocker.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/4275#issuecomment-289828384, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ19978yxXuwVcaaWUxSfYByvahuLwinks5rqTaWgaJpZM4MnQ_T
.

@brockwhittaker I checked this out and it looks pretty good, but there are 2 problems:

The Zephyr mirroring error's links look terrible with these colors: $('#zephyr-mirror-error').show()
If you narrow the window, things run off the ends to the sides.

Otherwise this looks good!

Both of these have been fixed!

Merged, thanks @brockwhittaker!


Add a warning when disabling core mods

Adds a dialogMenu when trying to disable Northstar.Client, Northstar.Coop, Northstar.Custom and Northstar.CustomServers

No more Northstar.Custom warning thing


Renaming diagnostic api to getCosmosResponseDiagnostics()

Currently we have getCosmosResponseDiagnosticsString() which return CosmosResponseDiagnostics object.
CosmosResponseDiagnostics exposes  getRequestLatency() along with overriding toString().
Therefore renaming getCosmosResponseDiagnosticsString() to  getCosmosResponseDiagnostics() .

/azp run java - cosmos - tests


5th and 6th homework submission

"homeworok" 是第五次和第六次的作业

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


Survey potential users and get feedback on changes we can make to the app

Survey responses:
https://docs.google.com/document/d/1jiClET1oZeXh7Yj4xG0DxNjvUEVSHZ_aaByvQmKJTw8/edit?usp=sharing


DbManager cache getAssignments result

There was some talk of this here #7626 but thought it could do with some discussion.
I have a backend with a menu that has items which are visible based on the current users permissions.
According to the debug toolbar this is generating 32 identical queries SELECT * FROM auth_assignment WHERE user_id='1' and memory is 3.4mb.
Changing DbManager to store the query result in a local var the query only gets executed once and the memory dropped to 3.2mb.

Caching once per request in local variable sounds OK to me.

Caching in cache component doesn't for the reasons explained in the issue linked.

Should not it be already resolved by #8595 ?

I'd made optional caching in #9659. I've got a contr-argument when an app only uses default assignments so there are no assignments at all but I'd be also very happy with a local var cache.

I modified the getAssignments method.
It first checks if the local var has any data and returns that otherwise it queries the db.
I can't see a need to make this optional, the results are only cached for the lifetime of the request.

I meant optional caching using a cache component, not a local var. @Alex-Code  can you make a PR?

@nineinchnick nope. That's definitely not a good idea to cache it via cache component.

Because it could be changed, for example, from console or backend app not sharing the same cache. And that could result in serious security issues.

And this doesn't concern auth roles, items and their associations?

Not at the same degree:

These aren't changed that often.
These would be noticed immediately by the guy who's testing if everything deployed well.

In case of individual assignments it's nearly impossible to notice that one user who isn't you is affected i.e. still has admin permissions while you're removed it from admin panel a week ago.

Would using a ternary expression be suitable here?
public function checkAccess($userId, $permissionName, $params = [])
{
    $assignments = $this->_assignments ?: ($this->_assignments = $this->getAssignments($userId));
    //...
}

Duplicate of #7743


More fission config options

The Pre-Overhaul branch currently does not support configuration of the Fission Reactor properties Base Capacity and Base Max Heat, which limits pack developer options for rebalancing the reactor.
These commits seek to remedy that problem by providing a configuration option for these properties.

Thanks very much :)


new issue 04

new issue 04 description here

comment here

new comment

new comment on 04 here

new comment on 04 here v2


Update Readme

Add more detailed information to the readme on where to install the extension:

Job Processor only for iLogic-Jobs submitted through lifecycle transitions only
Any Vault Client for user-interactive job submission

will update with the next commit.


InvalidDiskCapacity in a fresh install of microk8s on Ubuntu 20.04 on Raspberry Pi 4 8GB

Please run microk8s inspect and attach the generated tarball to this issue.
We appreciate your feedback. Thank you for using microk8s.
I install microk8s fresh in my new Raspberry PI 4 8GB model today on top of UBUNTU 20.04LTS.
And I found that my K8s node is always not ready because of "invalid capacity 0 on image filesystem".
I believe that this is a bug. Pls advise.
NAME     STATUS     ROLES    AGE   VERSION   INTERNAL-IP     EXTERNAL-IP   OS-IMAGE           KERNEL-VERSION     CONTAINER-RUNTIME ubuntu   NotReady   <none>   13m   v1.18.3   <IP_ADDRESS>   <none>        Ubuntu 20.04 LTS   5.4.0-1012-raspi   containerd://1.2.5 df -h Filesystem      Size  Used Avail Use% Mounted on udev            3.8G     0  3.8G   0% /dev tmpfs           782M  4.4M  777M   1% /run /dev/mmcblk0p2   29G  8.2G   20G  30% / tmpfs           3.9G   29M  3.8G   1% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup /dev/loop0       86M   86M     0 100% /snap/core/9290 /dev/loop1       49M   49M     0 100% /snap/core18/1708 /dev/loop3       24M   24M     0 100% /snap/snapd/7267 /dev/loop4       62M   62M     0 100% /snap/lxd/14808 /dev/loop7       49M   49M     0 100% /snap/core18/1753 /dev/loop6       26M   26M     0 100% /snap/snapd/8147 /dev/loop5       64M   64M     0 100% /snap/lxd/15685 /dev/mmcblk0p1  253M  107M  146M  43% /boot/firmware tmpfs           782M   20K  782M   1% /run/user/1000 /dev/loop2      165M  165M     0 100% /snap/microk8s/1423
k_describe_node.txt
inspection-report-20200623_214123.tar.gz

Hi @nuinattapon, I suspect cgroups are not enabled. Can you please take a look at [1]?
[1] https://microk8s.io/docs/install-alternatives#heading--arm

I tried install another UBUNTU 20.04 from scratch again today. And I have tried following the instruction to enable cgroups as advised above. But the issue is still there. Here is a new inspect file
inspection-report-20200624_190633.tar.gz
`ubuntu@ubuntu:~$ microk8s kubectl describe nodes
Name:               ubuntu
Roles:
Labels:             beta.kubernetes.io/arch=arm64
beta.kubernetes.io/os=linux
kubernetes.io/arch=arm64
kubernetes.io/hostname=ubuntu
kubernetes.io/os=linux
microk8s.io/cluster=true
Annotations:        node.alpha.kubernetes.io/ttl: 0
volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Wed, 24 Jun 2020 18:41:49 +0700
Taints:             node.kubernetes.io/not-ready:NoSchedule
Unschedulable:      false
Lease:
HolderIdentity:  ubuntu
AcquireTime:
RenewTime:       Wed, 24 Jun 2020 19:02:23 +0700
Conditions:
Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message

MemoryPressure   False   Wed, 24 Jun 2020 19:02:23 +0700   Wed, 24 Jun 2020 18:41:49 +0700   KubeletHasSufficientMemory   kubelet has sufficient memory available
DiskPressure     False   Wed, 24 Jun 2020 19:02:23 +0700   Wed, 24 Jun 2020 18:41:49 +0700   KubeletHasNoDiskPressure     kubelet has no disk pressure
PIDPressure      False   Wed, 24 Jun 2020 19:02:23 +0700   Wed, 24 Jun 2020 18:41:49 +0700   KubeletHasSufficientPID      kubelet has sufficient PID available
Ready            False   Wed, 24 Jun 2020 19:02:23 +0700   Wed, 24 Jun 2020 18:41:49 +0700   KubeletNotReady              [container runtime status check may not have completed yet, missing node capacity for resources: ephemeral-storage]
Addresses:
InternalIP:  <IP_ADDRESS>
Hostname:    ubuntu
Capacity:
cpu:     4
memory:  7998780Ki
pods:    110
Allocatable:
cpu:     4
memory:  7896380Ki
pods:    110
System Info:
Machine ID:                 faee705dd30c4a1ea47e9293b9c08635
System UUID:                faee705dd30c4a1ea47e9293b9c08635
Boot ID:                    1cfa0b44-73db-4cc2-b34b-6899301b3b81
Kernel Version:             5.4.0-1012-raspi
OS Image:                   Ubuntu 20.04 LTS
Operating System:           linux
Architecture:               arm64
Container Runtime Version:  containerd://1.2.5
Kubelet Version:            v1.18.3
Kube-Proxy Version:         v1.18.3
Non-terminated Pods:          (0 in total)
Namespace                   Name    CPU Requests  CPU Limits  Memory Requests  Memory Limits  AGE

Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource           Requests  Limits

cpu                0 (0%)    0 (0%)
memory             0 (0%)    0 (0%)
ephemeral-storage  0 (0%)    0 (0%)
Events:
Type     Reason                   Age    From                Message

...
...
Normal   Starting                 17s    kubelet, ubuntu     Starting kubelet.
Warning  InvalidDiskCapacity      10s    kubelet, ubuntu     invalid capacity 0 on image filesystem
Normal   Starting                 10s    kubelet, ubuntu     Starting kubelet.
Normal   NodeHasSufficientMemory  10s    kubelet, ubuntu     Node ubuntu status is now: NodeHasSufficientMemory
Normal   Starting                 3s     kubelet, ubuntu     Starting kubelet.
Warning  InvalidDiskCapacity      2s     kubelet, ubuntu     invalid capacity 0 on image filesystem
Normal   NodeHasSufficientMemory  2s     kubelet, ubuntu     Node ubuntu status is now: NodeHasSufficientMemory
Normal   NodeHasNoDiskPressure    2s     kubelet, ubuntu     Node ubuntu status is now: NodeHasNoDiskPressure
Normal   NodeHasSufficientPID     2s     kubelet, ubuntu     Node ubuntu status is now: NodeHasSufficientPID`

OK, thanks for the instruction. This issue happen because of cgroups is not enabled. The instruction at https://microk8s.io/docs/install-alternatives#heading--arm won't work on Ubuntu 20.04LTS. MicroK8s master node is up now.
Instead I found the solution in https://askubuntu.com/questions/1189480/raspberry-pi-4-ubuntu-19-10-cannot-enable-cgroup-memory-at-boostrap . And what I need is changing /boot/firmware/cmdline.txt
`root@ubuntu:/boot/firmware# cat cmdline.txt
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc`


Show table triggers

I don't think this currently exists but if it does please feel free to smack me and close.
I'd like to be able to see what triggers are attached to a particular table. I think the best place for this information is the structure tab.

Right now structure tab is very simple and does not have ability to display data from multiple "sources", i.e it just displays a single table as any other view. There's a need to rebuild structure view to include more data but i don't think its a priority for me right now, at least not until i get to refactor the way different table views are displayed. I'll keep this issue open for now. If you wish to help out - please do and open a PR and i will happily review your contributions. Thanks.

Closing due to no action (im personally not interested on working on this feature)


Signing in issue

Signing in Bug on latest MicroG and youtube vanced for google account didn't fixed till now, please vanced team fix this bug and thanks in advance.

I've downgraded previous versions of them. ( Vanced 15.43.32, MicroG <IP_ADDRESS>713) It's working fine.

it's only related to the vanced version not microg.

Thanks for replying, i've also downgraded my installed ones and thats
working fine.
On Thu, Mar 18, 2021, 21:06 madunist @.***> wrote:

I've downgraded previous versions of them. ( Vanced 15.43.32, MicroG
<IP_ADDRESS>713) It's working fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/YTVanced/VancedMicroG/issues/117#issuecomment-802213762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATITYIA3VIPKRQFRDY2V723TEJFM7ANCNFSM4ZNFEJYQ
.

thanks for your reply, Now thats working fine....
On Thu, Mar 18, 2021, 21:13 KevinX8 @.***> wrote:

it's only related to the vanced version not microg.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/YTVanced/VancedMicroG/issues/117#issuecomment-802217773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATITYID5ZNVQ5UGJ7UM754TTEJGERANCNFSM4ZNFEJYQ
.

Same issue for me but let me know once you fix this issue.


[Issue] sm-local-configure breaks on MacOS

I have tried following the directions to setup my Local IDE integration with SageMaker Studio over SSH for PyCharm / VSCode and have run into an issue on my MacOS device.
When I run sm-local-configure I get the following output message:
> sm-local-configure

Darwin <MY COMPUTER> 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:19 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6020 arm64
cat: /etc/issue: No such file or directory
cat: /etc/os-release: No such file or directory
Python 3.10.12
Password:
Sorry, try again.
Password:
sudo: apt-get: command not found

I believe the issue is this _install_unzip() function:
https://github.com/aws-samples/sagemaker-ssh-helper/blob/049f97be4a41e165d71750e83ab1f6c9e43e5f96/sagemaker_ssh_helper/sm-helper-functions#L40-L46
which is called by sm-local-configure
https://github.com/aws-samples/sagemaker-ssh-helper/blob/049f97be4a41e165d71750e83ab1f6c9e43e5f96/sagemaker_ssh_helper/sm-local-configure#L16
I think this has partially been handled in the _install_aws_cli function with a seperate function for MacOS, If it would be helpful I can submit a PR to add a check to those methods to see if unzip and curl are already installed — which for MacOS I think they are by default.
The function works as expected (I think) if when i commented out those 2 lines and installed the package locally.
System:

Operating System: MacOS Ventura 13.4
Processor: Apple M2 Pro

Hi, @yashvesikar , thanks for spotting this bug! This is a regression in the script appeared in one of the recent releases. I will work on the new release asap.

Any update?

@SanjanaKallol , hi! I'm still working on the new release. In the meantime you can test changes from the commit 4f972f2a6 . Thank you for the patience.

Fixed in v1.12.0