xquartz cask is broken

The following is the output of $ brew cask install xquartz
==> installer: Package name is XQuartz 2.7.7
==> installer: Installing at base path /
==> installer: The install was successful.
==> Sorry, try again.

The 'Sorry' message aside, the installation seems to have worked. However, when I
$ ssh -X <somewhere>
<enter password>
$ xeyes
Error: Can't open display:
$

Not sure what the cause of this is.

Still broken due to other reasons:
sorins@oMac ~ $ brew cask install xquartz
==> Downloading https://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.7.dmg

curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
Error: Download failed on Cask 'xquartz' with message: Download failed: https://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.7.dmg

@ssbarnea Can’t reproduce. Likely temporary.

@vitorgalvao I agree, now it works so I guess it was a temporary issue. Thanks
BTW, I am using brew and cask more than usually now because I just switched to a new computer. For some reason it seems that the downloading is very slow, slower than my normal download experience. If you know any reason why curl could be considerably slower than the browser on downloading stuff let me know. Is weird because this is the first time when I encounter this and this is a new MBP, same network,...

It may be something on your curl’s configuration (do you have a custom .curlrc)? Either way, please don’t derail the issue and open a new one. This is a different matter, and we shouldn’t be mixing them.

Still broken I think. This is what I get:
arvindraghavan@Arvinds-MacBook-Pro:~$ brew cask install xquartz
Error: undefined method `cask' for main:Object
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/xquartz.rb:1:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/source/path.rb:13:in `load'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/source/tapped.rb:24:in `load'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask.rb:118:in `load'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli/install.rb:9:in `block in run'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli/install.rb:6:in `each'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli/install.rb:6:in `run'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli.rb:57:in `run_command'
/usr/local/Cellar/brew-cask/0.35.0/rubylib/cask/cli.rb:72:in `process'
/usr/local/bin/brew-cask.rb:6:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/brew.rb:58:in `require?'
/usr/local/Library/brew.rb:141:in `<main>'

@arvindraghavan Your problem is unrelated. You’re using an old version of homebrew-cask. Please brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup and try again.

@vitorgalvao, thanks a lot! I did try to update cask first, but simply tried brew update, which doesn't update cask. I was able to install xquartz correctly.

Problem seems to be gone (you might need to restart to get xeyes working, though, so that should also fix other things). If that doesn’t work, please report back @jasonhemann.

I thought I might kill some time today to work on the code behind phonegap-app-desktop and their installation instructions had me run a series of commands such as:  brew cask install Caskroom/cask/xquartz
...which then failed the first time with "Error: Cask 'xquartz' definition is invalid: Bad header line: parse failed".  I wouldn't call this a great error message but at least Google brought me here.  So I then ran "brew uninstall --force brew-cask; brew update" and repeated the first command above.  After entering my password it seemed to hang for more than five minutes so I eventually did a Ctrl-C.  Tried to repeat the install command only to find that it thinks that I need to run a "--force" version this time, which I did.  Again, it's taking longer then ten minutes.
Pointing at your README.md, all this is supposed to be easier than dragging the DMG file sideways, right?
So, reading the logs I see that the DMG for quartz is already downloaded so I use Finder to double-click it, then run the PKG to perform the standard installation.  It just finished and all that came with a progress meter which advanced throughout the install so that I didn't lose confidence in the script or process.
Guys, I'd suggest a progress meter or spinning (- | / ) character for those of us who think by default that if our computer hasn't said anything in ten minutes then a script must therefore be broken.

^This guy get's it. Progress indicator is sorely needed for this

^ i just did the same thing. cancelled brew cask install twice and ended up installing via the dmg manually. can someone confirm it actually completes if you wait it out?

$ brew cask fetch xquartz
==> Downloading external files for Cask xquartz
==> Downloading https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask xquartz
==> Success! Downloaded to -> /Users/commitay/Library/Caches/Homebrew/Cask/xquartz--2.7.11.dmg
$ time brew cask install --verbose xquartz
==> Satisfying dependencies
==> Downloading https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
Already downloaded: /Users/commitay/Library/Caches/Homebrew/Cask/xquartz--2.7.11.dmg
==> Verifying checksum for Cask xquartz
==> Installing Cask xquartz
==> Running installer for xquartz; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.


Narrow destructured variables based on initializer's analysis result

This PR introduces a method to narrow the types of destructured variables through control flow analysis without relying on the discriminant member.
When the initializer of the ObjectBindingPattern is available, we attempt to narrow its type, which in turn helps further refine the type of the destructured variable.
Partially fixes #59657

@microsoft-github-policy-service agree


Added a toCamelCase function

Is needed to correctly map dash deliminated fields and allow them to be filtered

Looks like there are some concerns:

If string inflection is turned off, don't touch the names.
I think there are other queries than match that will need to be inflected.

That seems legit actually. I'll go back this afternoon and take a more indepth look.

Rather than camelize each entry in the helper.js file, would it be better to do this when creating the query object? Check once to see if string inflection is turned on and camalize the queries before it's sent to the helper?

@TheHandsomeCoder it shouldn't try to inflect certain queries expected by the JSON API spec such as limit and offset, it should only inflect field names and just those parts. It's only filter, sort, and include which use field names as far as I'm aware.

Pull request updated

Updated the pull request. It seems to be working correctly at least locally and the packaged tests are passing

Nice work! :beer:


Fix register metrics once

A package scope instance of sync.Once doesn't allow
new instances of type metrics which have different
ConstLabels to be exposed.
Previous patch did not consider that if a metric
contains different ConstLabels, then they must be registered
or they will not be exposed.
Signed-off-by: Martin Kennelly<EMAIL_ADDRESS>

/cc @dcbw

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 74.895%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/metrics.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

client/client.go
2
71.21%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
4985

Relevant Lines:
6656

💛  - Coveralls


Display host firewall status in cilium status

Before we move the host firewall out of beta, it would be good to have its status reported in cilium status. Ideally, we would also inherit its enforcement status (enabled/disabled/audit, ingress/egress) from the host endpoint. If the host firewall is disabled, we could print its status only in cilium status --verbose to reduce noise.

I would like to work on this.

I would like to work on this.

@AnishShah I've assigned you. Don't hesitate to reach out on Slack/#development or here if you have any question.

@AnishShah I've assigned you. Don't hesitate to reach out on Slack/#development or here if you have any question.

any idea where do we implement GetHealthz call?
https://github.com/cilium/cilium/blob/90c1acaa557edd101fd0e3bd409f9c643a88efda/cilium/cmd/status.go#L82

I would say here:
https://github.com/cilium/cilium/blob/90c1acaa557edd101fd0e3bd409f9c643a88efda/api/v1/client/daemon/daemon_client.go#L163
It might be easier to tackle this issue by looking for a commit that implemented a similar feature though. Commit c285ca04757f6caed38c45f84cbe255ce4d34c25, for example, added the host routing status.

Thanks @pchaigno. That was helpful.

Ideally, we would also inherit its enforcement status (enabled/disabled/audit, ingress/egress) from the host endpoint

Any idea how do I fetch this information? options.Config.EnableHostFirewall will tell me whether enforcement status is enabled or disabled. What about audit, ingress, egress?

Ideally, we would also inherit its enforcement status (enabled/disabled/audit, ingress/egress) from the host endpoint

Any idea how do I fetch this information? options.Config.EnableHostFirewall will tell me whether enforcement status is enabled or disabled. What about audit, ingress, egress?

I'm not sure exactly, but it should be possible given cilium endpoint list and cilium endpoint get -l reverse:host have this information. Maybe see: https://github.com/cilium/cilium/blob/265d6775c2e0eb4e9d1dfef3ebeaa19a9b976e5f/cilium/cmd/endpoint_get.go#L46-L51

@AnishShah Are you still working on this? I'd like to get it in 1.10, but can take care of it if you're on other things.

Sorry @pchaigno. I was not able to make progress on this. Please unassign me


Bumps ent version

Thank @gr8web, we already bump ent version in this PR. Please upgrade to latest commit on master branch. Thanks!
https://github.com/ent/contrib/pull/472


forceGenerateImages and non-existent images

Hi, first of all, big thank you for this component, it really brings the best of gulp processing-style into nuxt.
I'm facing an scenario where I npm run generate with forceGenerateImages and some of the "original" images can be missing. If that happens, the generate process stops. Is there any way to let the generate process run even if there are some missing images?

Hi @Jesus82.
Thank you very much for the compliment. It's good to hear that this module is proving useful!
Do you know if this is still an issue? I haven't tried the test case where source images may be missing.
When I get time I'll check in and see if I can duplicate this.
Thanks,
Barry

Hi Barry,
I can confirm I have this problem also if I remove some of the source files – say if they are declared in a JSON file somewhere and used by the app.
I get this warning for every size of the first missing image, the the process stops with a ✖ Nuxt Fatal Error:
 ERROR  Command failed: gm convert: Unable to open file (/Users/tempura/Dropbox/websites/the-entente-website/entente-nuxt-ssr/assets/images/batch-1/colophon-foundry-montefiore-type-specimen-2.jpg) [No such file or directory].                                       09:27:10

  at ChildProcess.onExit (node_modules/gm/lib/command.js:301:17)
  at ChildProcess.emit (events.js:188:13)
  at ChildProcess.EventEmitter.emit (domain.js:441:20)
  at maybeClose (internal/child_process.js:978:16)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)

This would be very helpful!
Best,
Simon

Got the same issue! Subscribing

Please try a fix I just added to a new release 1.4.1 and let me know generating images works for you.
I added a check to see whether the source file exists and if it doesn't it skips generating that particular image and displays a warning at the console for each file that may be missing. E.g. Warning: Source file not found at ./content/cat.jpg. Perhaps you referenced this image somewhere and it has since been removed.


Update Rt requirements and notebook

Hi @vukosim you can note these improvements

Thank you. Will look over this evening.


Can't get colab pro to run mega

Any ideas? I also tried 16fp too

What exactly is the error?

RESOURCE_EXHAUSTION it was trying to allocate something like 40GB
wandb: Downloading large artifact mega-1-fp16:latest, 4938.53MB. 7 files... Done. 0:0:0
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x43ca2000 @  0x7f4cc97c61e7 0x4a3940 0x5b438c 0x5ea94f 0x5939cb 0x594cd3 0x5d0ecb 0x59aeca 0x515655 0x549e0e 0x4bca8a 0x59c019 0x595ef6 0x5134a6 0x549e0e 0x593fce 0x548ae9 0x5127f1 0x549576 0x604173 0x5f5506 0x5f8c6c 0x5f9206 0x64faf2 0x64fc4e 0x7f4cc93c3c87 0x5b621a
2022-06-08 02:00:41.026674: W external/org_tensorflow/tensorflow/core/common_runtime/bfc_allocator.cc:479] Allocator (GPU_0_bfc) ran out of memory trying to allocate 384.00MiB (rounded to 402653184)requested by op
2022-06-08 02:00:41.026936: W external/org_tensorflow/tensorflow/core/common_runtime/bfc_allocator.cc:491] ***************************************************************************************************_
Traceback (most recent call last):
  File "dalle-playground/backend/app.py", line 57, in <module>
    model = DalleBart.from_pretrained(DALLE_MODEL, revision=DALLE_COMMIT_ID)
  File "/usr/local/lib/python3.7/dist-packages/dalle_mini/model/utils.py", line 26, in from_pretrained
    pretrained_model_name_or_path, *model_args, **kwargs
  File "/usr/local/lib/python3.7/dist-packages/transformers/modeling_flax_utils.py", line 621, in from_pretrained
    state = jax.tree_util.tree_map(jnp.array, state)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py", line 184, in tree_map
    return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py", line 184, in <genexpr>
    return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py", line 1868, in array
    out = lax_internal._convert_element_type(out, dtype, weak_type=weak_type)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/lax/lax.py", line 522, in _convert_element_type
    weak_type=new_weak_type)
  File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 325, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
  File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 328, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
  File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 678, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 98, in apply_primitive
    return compiled_fun(*args)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 118, in <lambda>
    return lambda *args, **kw: compiled(*args, **kw)[0]
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 591, in _execute_trivial
    else h(*device_put(x, device)) for h, x in zip(handlers, outs)]
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 591, in <listcomp>
    else h(*device_put(x, device)) for h, x in zip(handlers, outs)]
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 793, in device_put
    return device_put_handlers[type(x)](x, device)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 804, in _device_put_array
    return (backend.buffer_from_pyval(x, device),)
RuntimeError: RESOURCE_EXHAUSTED: Out of memory while trying to allocate 402653184 bytes```

Yeah that's really strange. Not sure what to help with there, sorry

Have you manage to get the larger data sets to run on colab+/pro? Or
anybody else?
On Wed, Jun 8, 2022 at 4:35 AM DigitalDragon @.***>
wrote:

Yeah that's really strange. Not sure what to help with there, sorry
—
Reply to this email directly, view it on GitHub
https://github.com/saharmor/dalle-playground/issues/20#issuecomment-1149419160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZYAR65YQQOGS3ORWTJUMLVOAIILANCNFSM5YE4JDAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm in the same boat. Upgraded to Colab Pro+ and no dice:
wandb: Downloading large artifact mega-1:latest, 9873.84MB. 7 files... Done. 0:0:0
tcmalloc: large alloc<PHONE_NUMBER>8 bytes == 0x7f917195e000 @  0x7f991c15f1e7 0x4a3940 0x5b438c 0x5ea94f 0x5939cb 0x594cd3 0x5d0ecb 0x59aeca 0x515655 0x549e0e 0x4bca8a 0x59c019 0x595ef6 0x5134a6 0x549e0e 0x593fce 0x548ae9 0x5127f1 0x549576 0x604173 0x5f5506 0x5f8c6c 0x5f9206 0x64faf2 0x64fc4e 0x7f991bd5cc87 0x5b621a
2022-06-08 17:57:27.421243: W external/org_tensorflow/tensorflow/core/common_runtime/bfc_allocator.cc:479] Allocator (GPU_0_bfc) ran out of memory trying to allocate 768.00MiB (rounded to 805306368)requested by op
2022-06-08 17:57:27.422646: W external/org_tensorflow/tensorflow/core/common_runtime/bfc_allocator.cc:491] **************************************************************************************************__
Traceback (most recent call last):
  File "dalle-playground/backend/app.py", line 55, in <module>
    model = DalleBart.from_pretrained(DALLE_MODEL, revision=DALLE_COMMIT_ID)
  File "/usr/local/lib/python3.7/dist-packages/dalle_mini/model/utils.py", line 26, in from_pretrained
    pretrained_model_name_or_path, *model_args, **kwargs
  File "/usr/local/lib/python3.7/dist-packages/transformers/modeling_flax_utils.py", line 621, in from_pretrained
    state = jax.tree_util.tree_map(jnp.array, state)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py", line 184, in tree_map
    return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py", line 184, in <genexpr>
    return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py", line 1868, in array
    out = lax_internal._convert_element_type(out, dtype, weak_type=weak_type)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/lax/lax.py", line 522, in _convert_element_type
    weak_type=new_weak_type)
  File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 325, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
  File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 328, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
  File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 678, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 98, in apply_primitive
    return compiled_fun(*args)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 118, in <lambda>
    return lambda *args, **kw: compiled(*args, **kw)[0]
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 591, in _execute_trivial
    else h(*device_put(x, device)) for h, x in zip(handlers, outs)]
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 591, in <listcomp>
    else h(*device_put(x, device)) for h, x in zip(handlers, outs)]
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 793, in device_put
    return device_put_handlers[type(x)](x, device)
  File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 804, in _device_put_array
    return (backend.buffer_from_pyval(x, device),)
RuntimeError: RESOURCE_EXHAUSTED: Out of memory while trying to allocate 805306368 bytes.

Try using a newer version of transformers and modify from_pretrained to not init the model using _do_init=False. See the PR I submitted here: https://github.com/saharmor/dalle-playground/pull/26

Thank you that worked for mega also. Now to incorporate this flow somehow, thanks!

You are running the larger one, try the 16f and see what happens
On Wed 8 Jun 2022, 19:00 Devin Walters, @.***> wrote:

I'm in the same boat. Upgraded to Colab Pro+ and no dice:
wandb: Downloading large artifact mega-1:latest, 9873.84MB. 7 files... Done. 0:0:0
tcmalloc: large alloc<PHONE_NUMBER>8 bytes == 0x7f917195e000 @  0x7f991c15f1e7 0x4a3940 0x5b438c 0x5ea94f 0x5939cb 0x594cd3 0x5d0ecb 0x59aeca 0x515655 0x549e0e 0x4bca8a 0x59c019 0x595ef6 0x5134a6 0x549e0e 0x593fce 0x548ae9 0x5127f1 0x549576 0x604173 0x5f5506 0x5f8c6c 0x5f9206 0x64faf2 0x64fc4e 0x7f991bd5cc87 0x5b621a
2022-06-08 17:57:27.421243: W external/org_tensorflow/tensorflow/core/common_runtime/bfc_allocator.cc:479] Allocator (GPU_0_bfc) ran out of memory trying to allocate 768.00MiB (rounded to 805306368)requested by op
2022-06-08 17:57:27.422646: W external/org_tensorflow/tensorflow/core/common_runtime/bfc_allocator.cc:491] **************************************************************************************************__
Traceback (most recent call last):
File "dalle-playground/backend/app.py", line 55, in
model = DalleBart.from_pretrained(DALLE_MODEL, revision=DALLE_COMMIT_ID)
File "/usr/local/lib/python3.7/dist-packages/dalle_mini/model/utils.py", line 26, in from_pretrained
pretrained_model_name_or_path, *model_args, **kwargs
File "/usr/local/lib/python3.7/dist-packages/transformers/modeling_flax_utils.py", line 621, in from_pretrained
state = jax.tree_util.tree_map(jnp.array, state)
File "/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py", line 184, in tree_map
return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
File "/usr/local/lib/python3.7/dist-packages/jax/_src/tree_util.py", line 184, in
return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
File "/usr/local/lib/python3.7/dist-packages/jax/_src/numpy/lax_numpy.py", line 1868, in array
out = lax_internal._convert_element_type(out, dtype, weak_type=weak_type)
File "/usr/local/lib/python3.7/dist-packages/jax/_src/lax/lax.py", line 522, in _convert_element_type
weak_type=new_weak_type)
File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 325, in bind
return self.bind_with_trace(find_top_trace(args), args, params)
File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 328, in bind_with_trace
out = trace.process_primitive(self, map(trace.full_raise, args), params)
File "/usr/local/lib/python3.7/dist-packages/jax/core.py", line 678, in process_primitive
return primitive.impl(*tracers, **params)
File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 98, in apply_primitive
return compiled_fun(*args)
File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 118, in
return lambda *args, **kw: compiled(*args, **kw)[0]
File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 591, in _execute_trivial
else h(*device_put(x, device)) for h, x in zip(handlers, outs)]
File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 591, in
else h(*device_put(x, device)) for h, x in zip(handlers, outs)]
File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 793, in device_put
return device_put_handlers[type(x)](x, device)
File "/usr/local/lib/python3.7/dist-packages/jax/_src/dispatch.py", line 804, in _device_put_array
return (backend.buffer_from_pyval(x, device),)
RuntimeError: RESOURCE_EXHAUSTED: Out of memory while trying to allocate 805306368 bytes.
—
Reply to this email directly, view it on GitHub
https://github.com/saharmor/dalle-playground/issues/20#issuecomment-1150225746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZYAR2JL4ZW4NQX6SQC2RDVODNTNANCNFSM5YE4JDAA
.
You are receiving this because you authored the thread.Message ID:
@.***>


drivers: wireless: Fix AT command response handling in gs2200m.c

Summary

When sending an AT command during receiving a bulk packet,
the bulk packet might be put in the AT command response.
To handle such the case, gs2200m_send_cmd2() is newly
introduced instead of using gs2200m_send_cmd(dev, cmd, NULL)

Impact

All use cases that send an AT command in gs2200m.c

Testing

Tested with renew and nxplayer with spresense:wifi

I've added the backport/10.1 label to this PR.


Logo proposal

hi @patr0nus ?
I am a designer want to make a logo for this project.I just need a permission to start working with that if you have any requirement to the design then let me know.
thanks

Thanks for the interest! I haven't thought much of the logo. Do you have any ideas or sketches about what it looks like?


(PDB-3942) OpenJDK10 cacerts do not trust clojars by default

Test PASSed

Test PASSed

CLA signed by all contributors.


Get string representation of bitstring

It would be nice to have a way to get a base-16 string representation of the contents of a bitstring.

That's slick.  But I don't need this anymore because I'm not using these for constant SymBitVectors.  Closing.

That's slick.  But I don't need this anymore because I'm not using these for constant SymBitVectors.  Closing.


Add ocdev catalog command

Fix #194 #35

@kadel would love your initial feedback

a few pointers, but in general I think goes in the right direction

@kadel made the changes, also added the service catalog support, PTAL!

We have somehow display that this requires service catalog. Probably in the readme and also in help messages.
Another thing is that it displays a lot of stuff that currently can't be deployed (everything from service catalog). We should hide it from output until component createcan handle that stuff.

@kadel that means hiding the entire service catalog output

@kadel commented out service catalog for now, and made the changes, PTAL

@kadel that means hiding the entire service catalog output

Yes,  I doesn't make sense to show it right now when we don't have a way to deploy those thinks

It would be nice to clean up Cobra metadata, so we have nice command line output.
Something like what is here : https://github.com/redhat-developer/ocdev/pull/247/files#diff-1dcc122e377b3a7b4adf52faf26c0188R31
Otherwise this LGTM

@kadel added more description to the catalog commands, PTAL


Addition of All Contributors Photos in Readme | Readme Updation

We can add all the contributor's photos in Readme file as a token of appreciation for their work.
Please assign this to me.

Like this

@Shariq2003 :https://github.com/Vishwajith-Shettigar/NextGen/issues/52#issuecomment-2394907570


Bot not answering in public and private groups

Got following error, saying res is not defined
[Thu Mar 29 2018 14:58:19 GMT+0000 (UTC)] ERROR ReferenceError: res is not defined
at createMatch (/home/hubotnat/bot/scripts/bot/index.coffee:40:3)
at TextListener.callback (/home/hubotnat/bot/scripts/bot/index.coffee:64:11)
at /home/hubotnat/bot/node_modules/hubot/src/listener.coffee:65:12
at allDone (/home/hubotnat/bot/node_modules/hubot/src/middleware.coffee:44:37)
at /home/hubotnat/bot/node_modules/async/lib/async.js:274:13
at Object.async.eachSeries (/home/hubotnat/bot/node_modules/async/lib/async.js:142:20)
at Object.async.reduce (/home/hubotnat/bot/node_modules/async/lib/async.js:268:15)
at /home/hubotnat/bot/node_modules/hubot/src/middleware.coffee:49:13
at process._tickCallback (internal/process/next_tick.js:112:11)

can I close this @richieri ?

Yes, sorry, I haven't seen the last message :/
Em qua, 2 de mai de 2018 00:31, Diego Dorgam<EMAIL_ADDRESS>escreveu:

Closed #42 https://github.com/RocketChat/hubot-natural/issues/42.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RocketChat/hubot-natural/issues/42#event-1604573365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6Mzf427Tfy9dhVrVDWjfjr_a1P561Eks5tuSh6gaJpZM4TAfpe
.


Download audio file from Instagram videos

Checklist

[X] I'm reporting a feature request
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.02.04. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
As there is this feature for Youtube and we can select it with -f switch, please implement this feature for Instagram videos too, it's so useful when we want to download long videos and IGTVs and Lives in MP3, there is some websites that provides this feature , and the download link is from Instagram also, this means that there is the audio file on Instagram server by default and we need just an extractor.
Thanks.

user@user ~/Desktop % yt-dlp -UvF https://www.instagram.com/tv/CZuVHNTJecf/
[debug] Command-line config: ['-UvF', 'https://www.instagram.com/tv/CZuVHNTJecf/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.02.04 [c1653e9ef]
[debug] Python version 3.10.2 (CPython 64bit) - Linux-5.16.8-arch1-1-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [Instagram] Extracting URL: https://www.instagram.com/tv/CZuVHNTJecf/
[Instagram] CZuVHNTJecf: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for CZuVHNTJecf:
ID EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
────────────────────────────────────────────
0  mp4 1080x1920  │ https │ unknown unknown

This Site downloads Instagram videos to mp3, maybe helps.

I don't see any audio-only streams on instagram. That site is converting the format themselves. You can use -x with yt-dlp to do the same


fix: autoreview updates to links

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

Minor updates to links cell per AutoReview

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun

something went awry with PR. Closing it.


Using with React-Native and TypeScript, import implicity has 'any' type

When using styled-components/native importing default has an implicity any, causing IDE showing the following error:
Error:(2, 20) TS7016: Could not find a declaration file for module 'styled-components/native'. '/Users/<user>/Development/<project>/node_modules/styled-components/native/dist/styled-components.native.cjs.js' implicitly has an 'any' type.

Environment
System:

OS: macOS 10.14.2
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 290.28 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash

Binaries:

Node: 10.14.1 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm

npmPackages:

styled-components: ^4.1.3 => 4.1.3

Reproduction
just import  styled-components/native
Steps to reproduce
insert import styled from 'styled-components/native';
Expected Behavior
Don't show TS7016 error.
Actual Behavior
Showing the following error: Error:(2, 20) TS7016: Could not find a declaration file for module 'styled-components/native'. '/Users//Development//node_modules/styled-components/native/dist/styled-components.native.cjs.js' implicitly has an 'any' type.

Duplicate of https://github.com/DefinitelyTyped/DefinitelyTyped/issues/29795 I believe. I have a PR open in DT to fix this issue

Thanks @JKillian

import styled from 'styled-components/native';
The Error was like this:
Error:(2, 20) TS7016: Could not find a declaration file for module 'styled-components/native'. '/Users//Development//node_modules/styled-components/native/dist/styled-components.native.cjs.js' implicitly has an 'any' type.
Solution: All you have to do is edit your TypeScript Config file (tsconfig.json) and add a new key-value pair as
"noImplicitAny": false

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

I have "styled-components": "5.2.0"   and "@types/styled-components-react-native": "5.1.0",, but the error remains.
I have tried removing node_modules, deleting yarn.lock and everything, but it still does not work.
May you give me some advice?

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

I have "styled-components": "5.2.0"   and "@types/styled-components-react-native": "5.1.0",, but the error remains.
I have tried removing node_modules, deleting yarn.lock and everything, but it still does not work.
May you give me some advice?

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

I have "styled-components": "5.2.0"  and "@types/styled-components-react-native": "5.1.0",, but the error remains.
I have tried removing node_modules, deleting yarn.lock and everything, but it still does not work.
May you give me some advice?

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

check this out its works for me
https://github.com/styled-components/styled-components/issues/2370#issuecomment-741783005

I have "styled-components": "5.2.0"  and "@types/styled-components-react-native": "5.1.0",, but the error remains.
I have tried removing node_modules, deleting yarn.lock and everything, but it still does not work.
May you give me some advice?

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

check this out its works for me
https://github.com/styled-components/styled-components/issues/2370#issuecomment-741783005

My problem was because i have the "typeRoots": ["./src/types"] in tsconfig.json, so what i did was add node_modules/@types and let the typeRoots like this "typeRoots": ["node_modules/@types", "./src/types"],

My problem was because i have the "typeRoots": ["./src/types"] in tsconfig.json, so what i did was add node_modules/@types and let the typeRoots like this "typeRoots": ["node_modules/@types", "./src/types"],

Thanks! This solution solves my problem. :)

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

Thanks brow.
I was with the same error and you helped me.

My problem was because i have the "typeRoots": ["./src/types"] in tsconfig.json, so what i did was add node_modules/@types and let the typeRoots like this "typeRoots": ["node_modules/@types", "./src/types"],

This solve my problem, thanks.

Add types for react-native:
❯ yarn add @types/styled-components-react-native -D

Thank you very much indeed...

My problem was because i have the "typeRoots": ["./src/types"] in tsconfig.json, so what i did was add node_modules/@types and let the typeRoots like this "typeRoots": ["node_modules/@types", "./src/types"],

My Hero

Hi,
For VSCode users, I found this tips on StackOverflow.
The error was still present before i did this (don't forget to restart VSCode after).
{
  "extends": "some/tsconfig.base",
  "compilerOptions": {
    // ...
    "types": [
      "jest",
      "cypress",
      "@testing-library/cypress",
      "@types/styled-components-react-native"
    ]
  },
  // ...
}

Hi,
For VSCode users, I found this tips on StackOverflow. The error was still present before i did this (don't forget to restart VSCode after).
{
  "extends": "some/tsconfig.base",
  "compilerOptions": {
    // ...
    "types": [
      "jest",
      "cypress",
      "@testing-library/cypress",
      "@types/styled-components-react-native"
    ]
  },
  // ...
}

Worked for me! Thank you!

This way it worked for me:
"styled-components": "^6.0.7"
{
  "extends": "expo/tsconfig.base",
  "compilerOptions": {
    "strict": true,
    "typeRoots": ["node_modules/@types", "./src/@types"],
    "types": [
      "jest",
      "@types/styled-components-react-native"
    ]
  }
}

thank you gentlemen!


ASAP-Alchemy: Save failed pose generation molecules to csv

Description
This PR improves the reporting of molecules which fail to have poses generated during asap-alchemy prep run. The molecules are saved to a csv file with their identifiers and information on why they might have failed rather than 2D molecules saved to an sdf.
Todos
Notable points that this PR has either accomplished or will accomplish.

[x] tests

Questions

[ ] What to use as an Id if the molecule has no compound name, is this possible?

Status

[ ] Ready to go

Developers certificate of origin

[x] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #813 (86fdddd) into main (9958130) will increase coverage by 0.82%.
The diff coverage is 100.00%.

Additional details and impacted files


Convert readthedocs links for their .org -> .io migration for hosted projects

As per their blog post of the 27th April ‘Securing subdomains’:

Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.

[Current coverage][cc-pull] is 84.89%

Merging [#142][cc-pull] into [master][cc-base-branch] will decrease coverage by 1.20%

@@             master       #142   diff @@
==========================================
  Files            40         40
  Lines          2734       2734
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           2354       2321    -33
- Misses          380        413    +33
  Partials          0          0

Powered by Codecov. Last updated by [89ed1f6...accdad2][cc-compare]
[cc-base-branch]: https://codecov.io/gh/edoburu/django-parler/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/edoburu/django-parler/compare/89ed1f64064787e2ef6b1b5e3ce795412e720b4a...accdad203a3e312c07a48e44e31ff4d8a819ea42
[cc-pull]: https://codecov.io/gh/edoburu/django-parler/pull/142?src=pr

Awesome dude. You've been busy 😄


Update peerDependencies react-router-dom to v6

Do everyone have any suggestions?

I believe Redirect was removed from v6, so I think it'd be more involved than just updating the peer dep version.

Redirect not been removed

Although it isn't expicitly mentioned as a step in the migraton guide for v4/v5, that migration guide says that Navigate replaces Redirect, and its behaviour is slightly different.

尽管 v4/v5 的迁移指南中没有明确提到它是一个步骤，但该迁移指南说Navigate替换Redirect，其行为略有不同。

yes, you are right.


Create a stable and deployable branch

I appreciate that you are moving fast, but breaking the Azure deployment scripts on the main branch over a week ago was not a nice thing to do. Pulling such big and unstable changes into main is a choice. Please, if you know that the main branch has significant issues, at least say something in the readme.

Hello @douglasware,
Thank you for reporting the deployment issues on the main branch!
We are actively working on improving the developer experience for Chat Copilot. Stay tuned!

@douglasware As of now, every release comes with a release branch. For instance release 0.8 comes with a branch called simply 0.8.
Once a release is out, its branch will no longer be updated. The exception to this is the latest release branch, which will only receive bug fixes.


updated to RC.4

I have updated to RC.4 and beta.2 for router.
Please let me know, if there is something that I can improve.

For some reason, IE test is failing. I can't figure out why. Need help here.

http://angularjs.blogspot.co.id/
https://github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes

Importing Jasmine functions from @angular/core/testing is no longer necessary and is now deprecated.

you can remove any imported jasmine functions now

@sfabriece thanks for the PR! The seed is now updated to rc.4.


Storing client settings in the user settings

I configure all my devices the same way and I would like to have my client config stored and loaded on any new device by default.
That could require a flag to choose if we want our usual settings or different ones on the current device with by default, using the usual ones.
Maybe users should have a folder in users so they can have their connections settings and configuration settings in 2 separate files.
ex:
.config/lounge/users/exadeci/connections.json
.config/lounge/users/exadeci/clients_settings.json

Could be part of https://github.com/thelounge/lounge/issues/85 maybe?

This was attempted in https://github.com/thelounge/lounge/pull/275 however that PR is inactive right now.
This is a nice enhancement request, but sadly there were/are many higher things on the todolist we've been focusing on.
(#275 says it does not directly solve #85 which is UI-oriented, though to be correctly usable, it would need some UI/UX thinking, so discussion there would still be relevant).
Closing as duplicate as there is already an issue and a PR for this. It's also been discussed on individual features (like, store notification preferences on the server, store custom CSS on the server, etc.) but it's harder to link to.


Replacing GIF decoding with AnimatedGIF Library

A few weeks after I did the first release of GifDecoder, the AnimatedGIF Library was released and it looks to be a much more efficient GIF decoder, and with an active developer making improvements and fixing bugs.  I was planning to switch my code using the old AnimatedGIFs sketch or GifDecoder library over to AnimatedGIF, but I think there's still room for a GIF library with a more beginner friendly API.  AnimatedGIF requires the sketch to include some callback functions that are a little complex, e.g. the GIF disposal methods are implemented in the user's sketch, not in the library.
I updated GifDecoder to act as a wrapper for AnimatedGIF, keeping the API nearly the same and adding any complex code like handling the GIF disposal methods inside the GifDecoder class.  I didn't implement 16-bit color or the DrawPixelRow() callback that's needed for the Arcada GifDecoder as some thought needs to go into how to tell GifDecoder to choose between 24-bit and 16-bit palettes (previously it was hardcoded with a #define).
I have a branch with these changes, and the SmartMatrixGifPlayer example is running:
https://github.com/pixelmatix/GifDecoder/tree/AGifLibrary

@PaintYourDragon I saw you were evaluating the AnimatedGIF library, and you might be wanting to update the Arcada GifDecoder library to improve efficiency, etc.  Most of the work is done already in this branch.  Some thought needs to go into supporting 16-bit palettes (right now it's hardcoded for 24-bit).
I'm sure the GifDecoder API isn't the best, and maybe now's a good time to rework it, while keeping it easy to use and adapt to other platforms.  If you're interested in this I'm happy to collaborate with you on the project.  I have some time and motivation over the next two weeks (the earlier the better), and then I'm going to be getting busy with other projects.  LMK!


Made the 2nd page of the website responsive! issue #8

Applied some CSS to make the 2nd page of the website responsive as described in the task.

Clones, innovation and games try putting them as they were before in  a single line.

@cleveranu  I have done put the clones, innovation and games in a single line as they were before.

please resolve the conflicts so that i can merge it


Iphone default back

Some small changes to zxingjs.js to set the back camera as default even after the first time. Also remove the Select because when scanning QR 99.99% of the time its the back camera being used.

For me, this is not a general method. You can fork and send a package to yourself. I will not merge this pr


Exception in POST /mship/manage/email/add

Error in VATSIM-UK/Core (Laravel)
Exception in POST /mship/manage/email/add
Serialization of 'Closure' is not allowed
View on Bugsnag
Stacktrace
bootstrap/cache/compiled.php:12321 - serialize

View full stacktrace

Can you take a look at this please @atoff ?

An error linked to this issue has been reopened in Bugsnag
Exception in POST /mship/manage/email/add

Have a feeling that it was something to do with his previous secondary email being deleted from the db as per his ticket. It seems to still have functioned correctly, however.

An error linked to this issue has been reopened in Bugsnag
Exception in POST /mship/manage/email/add

An error linked to this issue has been marked as fixed in Bugsnag
Exception in POST /mship/manage/email/add


Add validation for tiers associate with an API,before it published

Created to track $subject. refer [1]
When publish an API and when subscribe at APIStore,it's required to have a subscription tier associate with the API.Better to add a logic to check if that API is already set atleast one tier,if not ask to update the tier,before publish the API.
[1] https://wso2.org/jira/browse/APIMANAGER-5630

This is the default behavior. Unless a tier is selected, we do not allow to publish the API. (UI validation is done)


Add "Table compact" to the storefront

[ ] Add "Table compact" page
[ ] Add to component status

Will be added to the current Table page instead.


PutObject for s3 csv extract fails.

Minio Version used minio-go: github.com/minio/minio-go/v7 v7.0.24
Minio bitnami chart version used: bitnami/minio:2022.8.13-debian-11-r0
So we call GetObject to retrieve a CSV file from a zip:
`func (ms minioService) GetObject(
ctx context.Context,
bucketName string,
path string,
) (*minio.Object, error) {
var opts minio.GetObjectOptions
// Add extract zip header to request:
opts.Set("x-minio-extract", true)

// Download file from the archive
reader, err := ms.minioClient.GetObject(ctx, bucketName, path, opts)
if err != nil {
	return nil, err
}

return reader, nil

}`
Then we call PutObject to put the object into another bucket:
`func (ms minioService) PutObject(
ctx context.Context,
bucketName string,
object *minio.Object,
newFileName string,
fileSize int64,
) error {
log.Info("minio#PutObject Start Progress of uploading file.")
// progressBarLog := pb.New64(fileSize)
// defer progressBarLog.FinishPrint("minio#PutObject File Uploaded.")
// progressBarLog.Start()
info, err := ms.minioClient.PutObject(ctx, bucketName, newFileName, object, fileSize, minio.PutObjectOptions{})
if err != nil {
return err
}
log.Info("minio#PutObject info on the upload", info)
return nil

}`
Some files passes PutObject, but this particular file keeps on erroring out.
This results in an error:
0.00%ERROR[2022-10-18T18:56:08Z] Failed to put file into bucket                bucketName=data-sources error="Put \"http://minio:9000/data-sources/data-source-1.csv?partNumber=1&uploadId=41381d95-27cb-4bad-b4ed-e64a43539dc6\": net/http: HTTP/1.x transport connection broken: http: ContentLength=16777216 with Body length 0" method=PutObject newFileName=data-source-1.csv
test2.zip

I upgraded minio-go to 7.0.42 and get the same issue. I am doing this:
**reader**, err := ms.minioClient.GetObject(ctx, bucketName, path, opts) **fileStats**, _ := **reader.Stat()** info, err := ms.minioClient.PutObject(ctx, bucketName, newFileName, object, **fileStats.Size**, minio.PutObjectOptions{Progress: progressBarLog})
Unless the reader.Stat from minio is giving back the wrong size, I am not sure how the size could be incorrect.
BTW this only happens for couple files in the zip extract. I also attached test2.zip above which fails too.

Sure I'll check it out.

I think the root cause could be that you are doing multipart upload which triggers a range request which isn't supported by s3zip (and probably will not be).
You could either:
A) Disable multipart on your putobject.
B) Wrap the returned io.Reader in a io.NopCloser() to remove the Seek and ReadAt functionality from the returned reader.
Try these out and let me know your results. I will look into updating the documentation and see if we are returning correct headers and errors from the server.

I will try those. Also these are my object info, let me know if there is any other information you need:
github.com/minio/minio-go/v7.ObjectInfo {ETag: "", Key: "test2.zip/v_3_0_Issuer_Data_Filtered_[1].csv", LastModified: time.Time(2022-10-18T19:39:28Z){wall: 0, ext:<PHONE_NUMBER>8, loc: *time.Location nil}, Size: 54063851, ContentType: "text/plain; charset=utf-8", Expires: time.Time(0001-01-01T00:00:00Z){wall: 0, ext: 0, loc: *time.Location nil}, Metadata: net/http.Header ["Content-Type": ["text/plain; charset=utf-8"], ], UserMetadata: github.com/minio/minio-go/v7.StringMap [], UserTags: map[string]string [], UserTagCount: 0, Owner: github.com/minio/minio-go/v7.Owner {XMLName: (*"encoding/xml.Name")(0x140004c5530), DisplayName: "", ID: ""}, Grant: []github.com/minio/minio-go/v7.Grant len: 0, cap: 0, nil, StorageClass: "", IsLatest: false, IsDeleteMarker: false, VersionID: "", ReplicationStatus: "", Expiration: time.Time(0001-01-01T00:00:00Z){wall: 0, ext: 0, loc: *time.Location nil}, ExpirationRuleID: "", Restore: *github.com/minio/minio-go/v7.RestoreInfo nil, Err: error nil}

Hi @klauspost,
I tried DisableMultipart: info, err := ms.minioClient.PutObject(ctx, bucketName, newFileName, object, fileSize, minio.PutObjectOptions{Progress: progressBarLog, DisableMultipart: true})
and it works fine.

Is there any disadvantage to disable multipart for s3 extracted files on PutObject? Our files can go up to 1 GB

I tried io.NopCloser() and I got this error: ERROR[2022-10-21T15:52:53-04:00] minio copy from data-uploads to data-sources bucket failed  error="Put \"http://localhost:9000/data-sources/data-source-37013.csv?partNumber=1&uploadId=b52ced23-3e01-430d-ba4d-0c57aeae6f79\": readfrom tcp [::1]:49948->[::1]:9000: http: ContentLength=16777216 with Body length 0" method=copyDataSourceFromDataUploadsToDataSourcesBucketForZip
This is part of my code:
reader, err := ms.minioClient.GetObject(ctx, bucketName, path, opts);
minioObjectNOPCloser := io.NopCloser(reader);
fileStats, _ := reader.Stat(); info, err := ms.minioClient.PutObject(ctx, bucketName, newFileName, minioObjectNOPCloser, fileStats.Size, minio.PutObjectOptions{Progress: progressBarLog})

@binnie268 Could you provide a clean reproducer I can run? Or enable trace c.TraceOn(os.StdOut).
Are you sure you shouldn't just use transparent compression?

Hi @klauspost , this is the trace:
INFO[2022-10-25T12:20:56-04:00] starting putting object

 0 / 54063851    0.00%---------START-HTTP---------
POST /data-uploads/v_3_0_Issuer_Data_Filtered_%5B1%5D.csv.csv?uploads= HTTP/1.1
Host: localhost:9000
User-Agent: MinIO (darwin; arm64) minio-go/v7.0.42
Content-Length: 0
Authorization: AWS4-HMAC-SHA256 Credential=minioadmin/20221025/us-east-1/s3/aws4_request, SignedHeaders=content-type;host;x-amz-checksum-algorithm;x-amz-content-sha256;x-amz-date, Signature=**REDACTED**
Content-Type: application/octet-stream
X-Amz-Checksum-Algorithm: CRC32C
X-Amz-Content-Sha256: UNSIGNED-PAYLOAD
X-Amz-Date: 20221025T162104Z
Accept-Encoding: gzip

HTTP/1.1 200 OK
Content-Length: 285
Accept-Ranges: bytes
Content-Security-Policy: block-all-mixed-content
Content-Type: application/xml
Date: Tue, 25 Oct 2022 16:21:04 GMT
Server: MinIO
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Origin
Vary: Accept-Encoding
X-Amz-Request-Id: 17215C569CA8D502
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
---------END-HTTP---------
---------START-HTTP---------
GET /data-uploads/test2.zip/v_3_0_Issuer_Data_Filtered_%5B1%5D.csv HTTP/1.1
Host: localhost:9000
User-Agent: MinIO (darwin; arm64) minio-go/v7.0.42
Authorization: AWS4-HMAC-SHA256 Credential=minioadmin/20221025/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-minio-extract, Signature=**REDACTED**
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20221025T162104Z
X-Minio-Extract: true
Accept-Encoding: gzip

HTTP/1.1 200 OK
Content-Length: 54063851
Accept-Ranges: bytes
Content-Security-Policy: block-all-mixed-content
Content-Type: text/plain; charset=utf-8
Date: Tue, 25 Oct 2022 16:21:04 GMT
Last-Modified: Tue, 18 Oct 2022 19:39:28 GMT
No-Gzip-Compression: true
Server: MinIO
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Origin
Vary: Accept-Encoding
X-Amz-Request-Id: 17215C569D63BFC2
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
---------END-HTTP---------

This is the code that should work:
func main() {
	s3Client, err := minio.New("minio-server-address:9000", &minio.Options{
		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
	})
	if err != nil {
		log.Fatalln(err)
	}

var opts minio.GetObjectOptions

	// Add extract header to request:
	opts.Set("x-minio-extract", "true")

	// Download API.md from the archive
	rd, err := r.minioClient.GetObject(r.ctx, "data-uploads", "test2.zip/v_3_0_Issuer_Data_Filtered_[1].csv", opts)
	fileStat, err := rd.Stat()
	minioObjectNOPCloser := io.NopCloser(rd)
	progress := pb.New64(fileStat.Size)
	defer progress.FinishPrint("fileuploaded")
	progress.Start()
	info, err := r.minioClient.PutObject(r.ctx, bucketName, "v_3_0_Issuer_Data_Filtered_[1].csv", minioObjectNOPCloser, fileStat.Size, minio.PutObjectOptions{Progress: progress})
	if err != nil {
		log.Fatalln(err)
		return nil, err
	}
	log.Info("info on the upload", info)
	if err != nil {
		log.Fatalln(err)
	}

	return rd, nil
}
}

Minio bitnami chart version used: bitnami/minio:2022.8.13-debian-11-r0

We do not support bitnami version @binnie268 please use MinIO official containers.

I tried a standalone test using our playground. It seems a bit slow, but I will check if that is just because the playground is limiting speeds:
https://gist.github.com/klauspost/9e14d31d5917435b49bf18ee24c46525

Tried the code above locally. Completes in 377.0467ms (succesfully)
So I still cannot reproduce.


SAM Local testing doesn't work for source inside a folder

Description:
I have set up a Lambda-API project using AWS SAM. My directory structure for the code is as follow -
Project
-src
--index.js
-template.yml
-buildspec.yml

My template.yml has the following serverless function
  DummyFunction:
    Type: AWS::Serverless::Function
    Properties:
      Handler: src/index.helloWorld
      Runtime: nodejs6.10
      Role:
        Fn::ImportValue:
          !Join ['-', [!Ref 'ProjectId', !Ref 'AWS::Region', 'LambdaTrustRole']]
      Events:
        GetEvent:
          Type: Api
          Properties:
            Path: helloworld
            Method: post

This function runs perfectly when I deploy it in AWS. But while using SAM Local I am facing an issue. I get the following error -
   Unable to import module 'src/index': Error
    at Function.Module._resolveFilename (module.js:469:15)

If I move the index.js to the main root folder and change my template.yml to
Project
-index.js
-template.yml
-buildspec.yml

    Properties:
      Handler: index.helloWorld

then I am able to run the api using SAM local.
I don't want to put all my functions in the same file and I am trying to split my functions and keep them inside src folder.

I'm having the same issue:
||→ sam local invoke -t dispatch-service.yaml -e tests/get-test.json DispatchService
2018/04/25 21:53:27 Successfully parsed dispatch-service.yaml
2018/04/25 21:53:27 Connected to Docker 1.35
2018/04/25 21:53:27 Fetching lambci/lambda:python3.6 image for python3.6 runtime...
python3.6: Pulling from lambci/lambda
Digest: sha256:d677f6d0b79468f475b178ab37f33359250f24ed7ce3b0eb249bfc1173dc968b
Status: Image is up to date for lambci/lambda:python3.6
2018/04/25 21:53:28 Invoking dispatch_service.lambda_handler (python3.6)
2018/04/25 21:53:28 Mounting /mnt/c/Users/venkateshv/projects/activemalware/hw/dispatch-service/src as /var/task:ro inside runtime container
START RequestId: 9b8bc4af-ae3c-4993-a2d9-26eef39493db Version: $LATEST
Unable to import module 'dispatch_service': No module named 'dispatch_service'
END RequestId: 9b8bc4af-ae3c-4993-a2d9-26eef39493db
REPORT RequestId: 9b8bc4af-ae3c-4993-a2d9-26eef39493db Duration: 0 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 19 MB

{"errorMessage": "Unable to import module 'dispatch_service'"}

Directory structure
||→ tree -L 3
.
├── deploy.sh
├── dispatch-service.yaml
├── src
│   ├── dbconnector.py
│   ├── dispatch_service.py
│   ├── lib
│   │   └── psycopg2
│   └── utils.py
├── target
│   └── output_dispatch-service.yaml
└── tests
    └── get-test.json

Relevant part in dispactch-service.yaml
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: [REDACTED]
Resources:
  DispatchService:
    Type: 'AWS::Serverless::Function'
    Properties:
      Handler: dispatch_service.lambda_handler
      Runtime: python3.6
      CodeUri: src/
      Description: [REDACTED]
      MemorySize: 128
      Timeout: 10

This is a sam-local issue not sam (serverless application model). Please move the issue to https://github.com/awslabs/aws-sam-local/issues
Closing as the issue is not meant for this repo


ISSUE-255 Lower logging levels in some of the tests to generate small logs for tests.

Lower logging levels in some of the tests to generate small logs for tests as travis does not allow logs more than 4MB.

Testing github feature... please ignore following comments.

In current master, nohup mvn clean install > install-log.log 2>&1 & creates log file which is 37M.
I'm now build this PR and see how much it will help.

Even applying the patch, the log file is 26M and line count is 216995. Redirecting log should be necessary, but like Storm we should show log message for failed tests. Otherwise we should change acceptable lowest log level to WARN only for Travis CI build.

I just found the option -Dmaven.test.redirectTestOutputToFile=true which looks similar with what Storm implements test_runner.clj, and the log file reduced to 1M while building locally.
I'm building it from my folk with including a failing test. Will put a new pull request if it works properly.
https://travis-ci.org/HeartSaVioR/registry/builds/291480898

I realized my Travis patch should go along with this patch to reduce the log under 4 MB. I'm merging this locally and apply my patch, and build it from Travis CI.
Build link: https://travis-ci.org/HeartSaVioR/registry/builds/291485991

Please refer #285.

Closing this as these changes are already taken into #285


Scanning fails on NS_ERROR_FILE_UNRECOGNIZED_PATH

Error which blocks the scanning indefinitely (cancel doesn't work):
1733913718076	addons.xpi	WARN	Download of https://github.com/bwiernik/zotero-shortdoi/releases/download/v1.5.1/zotero-doi-manager-1.5.1.xpi failed: 404 Not Found

[JavaScript Error: "OperationError: Could not parse path (D:\library\Amanda Brock\Open Source Law, Policy and Practic (9953)\Open Source Law, Policy and Pra - Amanda Brock.pdf): NS_ERROR_FILE_UNRECOGNIZED_PATH"]
exists@chrome://zotero/content/osfile.mjs:83:26
Zotero.Item.prototype.getFilePathAsync<@chrome://zotero/content/xpcom/data/item.js:2773:23
tryCatcher@resource://zotero/bluebird/util.js:16:23
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://zotero/bluebird/generators.js:97:49
module.exports/Promise.coroutine/<@resource://zotero/bluebird/generators.js:201:15
AttachmentScanner.checkAttachements@jar:file:///home/gvlx/.zotero/zotero/w0yee2bk.default/extensions/attachmentscanner@changlab.um.edu.mo.xpi!/attachmentscanner.js:340:35

Note: Zotero profile was migrated from windows to linux but kept MS-DOS paths.

I couldn't reproduce this issue on Macs, which isn't surprising given it's likely OS-related. In version 0.2.1, I added several try...catch/finally blocks to address it. I'm not certain if this resolves the problem, as the errors should have been caught by tryCatcher.
Please let me know if this fixes your issue. If not, I'll continue to investigate further.

Any update? @gvlx

On 0.3.0 it can be interrupted and restarted without issues.


Remove submodule, simplify buf gen

@cpcloud here we go. Removing the need for the submodule because buf is able to reference the .proto files remotely.

@jacques-n I've updated doc.go so that it's now pinned to the version tag v0.1.2 of the substrait repo. That can be updated and then re-run go generate to generate the files using the desired version tag rather than just pinning it to master.
That work?

@jacques-n also notice that the checked in .pb.go files are still checked in, so even having doc.go referencing master wouldn't cause any issues building until someone attempts to re-generate the files. The standard practice with go is that the generated protobuf files are checked into the repo so that go get works properly with the repository because go get will not run any extra code, it only fetches a repository to ensure safety by preventing running arbitrary code when you pull a module.
That's why originally I had it pointing at master since it only matters what's in doc.go when someone runs go generate and attempts to check the code in.

I think the way you've done it makes sense @zeroshade. Ultimately we should publish go bindings in the main substrait repo, and then this repo can use the technique here to generate code. That can be done later though.

@cpcloud your link is precisely the technique I'm using for generating the code if you look at the go generate line of doc.go. Should i leave it as pinned to the version v0.1.2 or put it back to pointing a master for easy re-generation without having to also update the doc.go ?

@cpcloud @jacques-n any thought on leaving the doc.go pointing at a specific tag vs pointing at master for easy future codegen before you merge this?

How about we leave it at master for now for easy regen, and then we build some automation in the main substrait repo to submit PRs to update the tag.
@zeroshade Can that line be programmatically updated without sed hacking?

@jacques-n not really, no. It's basically just a line indicating a command to run. sed is probably the best way to update that line. I'll shift it back to be master


Scrollbars always displayed on latest version of Chrome (48)

Scrollbars are always displayed on Google Chrome 48. After further investigation, we figure out that this only happens on OSX + Chrome 48 + Big Screens. See the magic: http://cl.ly/2x0o0P1h3w3X
Uberfire's uses a Header Panel, that creates a container to wrap the header widget. This container has  a ResizeLayoutPanel inside that has "overflow: scroll" defined and chromes 48 thinks that it's a good idea to show them in biggers screens (only on osx). (╯°□°）╯︵ ┻━┻
https://github.com/google-web-toolkit/gwt.svn/blob/master/user/src/com/google/gwt/user/client/ui/HeaderPanel.java#L71
https://github.com/gwtproject/gwt/blob/master/user/src/com/google/gwt/user/client/ui/ResizeLayoutPanel.java#L163
See this gist: https://gist.github.com/ederign/79a10546fa60277ac587#file-gistfile1-txt-L25
In order to fix that, I've to add a id on this header panel in order to access inner div with a css selector.
@cristianonicolai could you please take a look on it and see if you figure out a better solution?

And thanks @csadilek and @paulovmr  for the help.

@ederign overall seems fine, I only find one problem. If you apply overflow:hidden to all child divs, the menu bar dropdown menu ends-up hidden. So only the first two divs child of #headerContainer should be changed. I made a new commit using slightly different approach, have a look if works for you: https://github.com/cristianonicolai/uberfire/commit/2bd700ba5f3ad580d66c879fa6d152cdb5e438eb

@cristianonicolai thanks for the review and to pointing out a better solution! Still works!
PR updated.

+1, great teamwork to tame this scrollbar ;).

master: 8e8e586a0540c5b749f20492c944d54575aef94f
@ederign can you send this to 6.4.x as well, thanks.


Question: Boolean parameters?

Can I use --arg with boolean parameters? I can only seem to get it work with string parameters.
I've tried "-a BUILD_PACKAGE=true" but evaluates to the string, "true", instead of the boolean value, true.

Yes, there is a bug in the current implementation: https://github.com/jenkinsci/jenkinsfile-runner/blob/cb3db2e29f470b807dfe5b68432021e060c32312/payload/src/main/java/io/jenkins/jenkinsfile/runner/Runner.java#L81-L87
Ideally the code should retrieve String Parameter Definitions from type declarations and then invoke createValue commands (Javadoc). The challenge with that is that we do not have StringParameterDefinition objects until the Pipeline is executed. Fetching this data would require changes on the Pipeline side so that we can fetch the data before Pipeline runs. Easy (and supported?) for Declarative Pipeline, more difficult for Scripted.
As an alternative, it would be possible to support explicit specification of argument types in the Jenkinsfile Runner CLI arguments

As an alternative, it would be possible to support explicit specification of argument types in the Jenkinsfile Runner CLI arguments

Oddly enough, I actually like that better. It's more explicit.

For example: --arg BUILD_PACKAGE=boolean:true

Oddly enough, I actually like that better. It's more explicit.

Yes, it is also easier to implement such alternative.
It might become a bit more challenging with other parameter types coming from plugins. It should be still doable using a @Symbol annotation with name or a full class name for parameter definitions without symbols defined.


Add cache for current_platform()

Adds cache for current_platform() to improve performance.

Codecov Report

Merging #47 (5d32550) into main (fca0094) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
- Coverage   99.80%   99.80%   -0.01%
==========================================
  Files           7        7
  Lines         518      510       -8
==========================================
- Hits          517      509       -8
  Misses          1        1

Impacted Files
Coverage Δ

conda_project/conda.py
100.00% <100.00%> (ø)

conda_project/project.py
99.59% <0.00%> (-0.01%)
:arrow_down:

conda_project/cli/main.py
100.00% <0.00%> (ø)

conda_project/project_file.py
100.00% <0.00%> (ø)

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


Loosen check for project file to allow VB, F#

In older revisions without the check dotnet-rpm could be used to package any .NET Core project. With this check in place it could only be used for C# projects anymore. This change will restore the previous functionality.

Thanks @AndreasDekiert ! I've relaunched the Travis job, that one is known to be a bit flaky.


[core] Fix docs segments and make navigation item segments optional

Was fixing some segments in docs and maybe we can make them optional since they're already being checked in a few places in DashboardLayout and falling back to ''?

Does it error when there are duplicates?
e.g.

two page entries that have don't have segment defined
What should be the meaning of[
  { kind: 'page', segment: 'hello', children: [ { kind: 'page' } ] }
]

Or more importantly. I was hoping we could build in the restriction of the navigation structure that for each possible path in the url there would exist at most one item in the whole hierarchy that corresponds to it. e.g. so that we can set the selected item correctly. Or so that we can match the breadcrumbs for page container. Is there any way we should guarantee this relationship? Or warn?

It works even with items that go to the same path, as for showing a selected item it just checks if their path matches the current pathname, and the item ids don't use the segment or titles, just indexes. So even if it's probably not ideal that a user sets duplicate paths, it's still possible and it works well.
I see that the PageContainer throws an error in these situations though, I guess you might have ran into some case that requires it. I could also throw a similar error in the same situation for these other components, probably, if we should make them consistent.
[
  { kind: 'page', segment: 'hello', children: [ { kind: 'page' } ] }
]

The item will lead to hello / which is probably what I would expect even if in practice it's a bit weird for the user to set up something like that. Let me know if you'd prefer any alternative.

It works even with items that go to the same path, as for showing a selected item it just checks if their path matches the current pathname, and the item ids don't use the segment or titles, just indexes. So even if it's probably not ideal that a user sets duplicate paths, it's still possible and it works well.

It feels wrong to me to show two active items. I think we should at least show a warning in the console (in dev mode) that this is not supported. And maybe show only 1 active item e.g. the first one it encounters.
Maybe PageContainer shouldn't error, but warn as well and use the same behavior as the navigation.

It works even with items that go to the same path, as for showing a selected item it just checks if their path matches the current pathname, and the item ids don't use the segment or titles, just indexes. So even if it's probably not ideal that a user sets duplicate paths, it's still possible and it works well.

It feels wrong to me to show two active items. I think we should at least show a warning in the console (in dev mode) that this is not supported. And maybe show only 1 active item e.g. the first one it encounters. Maybe PageContainer shouldn't error, but warn as well and use the same behavior as the navigation.

Ok I think we can make it work like that, I'll try it out!

I've addressed the latest feedback with commit 1388f2798ceb6ce40e12d453049f55eb6fc95eb6

Add top-level check for any duplicated navigation paths as an effect in AppProvider, console warn for each duplicate found
Remove errors checks/logic about duplicated paths from PageContainer component
Only show the first item as selected in UI if 2 navigation items link to the same path

Added validation during render but it required a bit of a hack using useMemo where useEffect would be more normal for ideal behavior... couldn't find a good cleaner solution so far.
I think it's best to show multiple items as selected after all if the user sets up duplicated paths - users should fix it quickly anyway, and if we pick just the first one for example every method that checks selected items needs to be aware of the whole navigation (at all its levels) to know which the selected item is and be able to do comparisons and it seems like more trouble than it's worth.


Study lazy load should be true by default

https://github.com/OHIF/Viewers/blob/9e10c2b2ded5dcf5c05779ca9ef9a7fc453750ad/platform/core/src/studies/services/wado/retrieveMetadata.js#L472-L476
Thanks @salimkanoun

merged here: https://github.com/OHIF/Viewers/pull/1004
Release won't be cut until this is resolved: https://github.com/OHIF/Viewers/issues/1001


Test unshare and reshare

Referring to: https://github.com/pondersource/sciencemesh-php/issues/171

Stack: NRRN
Shared one file from einstein to marie and successfully unshared from einstein.


flutter version is unknown using git version < 2.0

Steps to Reproduce
Fresh install on CentOS 7

flutter channel beta
flutter upgrade
flutter --version

Logs
Flutter 0.0.0-unknown • channel beta • https://github.com/flutter/flutter.git
Framework • revision 3b309bda07 (12 days ago) • 2018-08-28 12:39:24 -0700
Engine • revision af42b6dc95
Tools • Dart 2.1.0-dev.1.0.flutter-ccb16f7282

[✓] Flutter (Channel beta, v0.0.0-unknown, on Linux, locale en_US.UTF8)
    • Flutter version 0.0.0-unknown at /opt/flutter
    • Framework revision 3b309bda07 (12 days ago), 2018-08-28 12:39:24 -0700
    • Engine revision af42b6dc95
    • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /opt/android-sdk-linux
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /opt/android-sdk-linux
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_181-b13)
    • All Android licenses accepted.

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[!] Connected devices
    ! No devices available

! Doctor found issues in 2 categories.

https://github.com/flutter/flutter/blob/beta/packages/flutter_tools/lib/src/version.dart#L530
Here use the --first-parent argument, which not be supported on CentOS 7 bundled git version <IP_ADDRESS>
And is this argument is necessary?

Can't you update git to 2.xx?

That I need to add a third-party yum repo.
As far as I can see, if the --first-parent arguments didn't affect the result, remove this is much better than import a third-party yum repo.

update git version to 2.x.x will finish the unkown version
yum remove git
yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
yum install git

edit
flutter/packages/flutter_tools/lib/src/version.dart
and remove --first-parent
remove
flutter/bin/cache/flutter_tools.snapshot
then, it works

We now officially require git version 2.x https://docs.flutter.dev/get-started/install/linux#system-requirements


Change or set value, as an effect

Examples:
afterPlay {
    set HEALTH on some creature to 4
}

onEndOfTurn {
    add 1 HEALTH to some creature
}

Syntax:
afterPlay {
    set HEALTH to 4 onCards { ... }
}

onEndOfTurn {
    change HEALTH by 1 onCards { ... }
}


fix unresponsive threshold and confidence level

we must be able to access input file, input dir path, threshold, and confidence values in init from a different class. to be tested using static

solution pass objects!

first solution in more detail:

create setter inside trafficbot to set threshold
have app's constructor accept a trafficbot instance
pass app's trafficbot instance into the menu to access it's properties
inside menu pass in trafficbot instance into thresholdlevel
in thresholdlevel use command=func, and write your func to use the setter call the setter in trafficbot (self.bot.set_threshold(threshold_lvl*0.1))


Can we add a flag to ignore serial number for VMware

Right now there is a flag to basically ignore asset tag: collect_hardware_asset_tag
Can we add another flag to ignore serial number? Long story short some of our exsi hosts report the wrong serial number: 123456790 in our case
I believe the main change would be:
Adding a test here: https://github.com/bb-Ricardo/netbox-sync/blob/3c07a4c001443f50d95ae4668c931599e41efeae/module/sources/vmware/connection.py#L1637
I.e. if self.settings.collect_hardware_serial_number is True:
That is similar to line 1647 in the same file. Then adding it as a config option.
The default value of collection_hardware_serial_number would be True
If this is accepted, I'd be happy to write a PR along these lines

Thanks @bb-Ricardo worked like a charm. Thanks!

Awesome,
Thank you for testing.


Shipping environment and files around in condor.

Handled transferring input files in a better way.
Allow logs to be shipped around when needed.

This is the cause of CI test failures at the moment:
$ flake8 parsl/
parsl/executors/high_throughput/executor.py:160:1: W293 blank line contains whitespace
The command "flake8 parsl/" exited with 1.

Thanks. I'll get the rest on Monday morning.

I'll finish this one up today.

Anything else needed for this PR?


webkitplaybacktargetavailabilitychanged listener is not removed when AirPlayButton is disposed

The event listener is not removed when the AirPlayButton is disposed, so if the event is raised, AirPlayButton tries to hide or show itself, but this._el is null and an error is throw.

We've issues with this as well. @izkmdz Can you create a pull request with your fix?

https://github.com/silvermine/videojs-airplay/pull/35 Should have taken care of it @kontrollanten. We are actively working in this repo over the next month or so, so won't publish a new version just yet. For now, you could NPM install using a git+ssh / git+https url with the latest master hash, if you'd like.


Updatecli version reports linux/amd64 on aarch64 processors

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
updatecli version

VERSION

Application:    0.22.2
Golang     :    1.17.8 linux/amd64
Build Time :    2022-03-20T18:54:44Z

uname -a
Linux beau-pc 5.16.11-1-MANJARO-ARM #1 SMP PREEMPT Wed Feb 23 12:30:41 UTC 2022 aarch64 GNU/Linux

Expected Behavior
Version reports something around that it is the arm version. I wonder if it's somehow getting the build machines information instead of the machine being ran on.
Steps To Reproduce
On a arm machine (mine is a pinebook pro, but i suspect raspberry pis would also be good here)
Run
updatecli version

Environment
- OS: Arch linux for pinebook pro
- updatecli: v0.22.2

Anything else?
Initially discovered debugging something else. Reported here as requested in the other thread :)

Thanks for reporting this.
I guess if it's because we cross compile from an amd64 machine, and we use the GOVERSION env variable.
https://github.com/updatecli/updatecli/blob/49ca6a393eabb150196b472198ec6d44c48a2e6d/.goreleaser.yml#L28


Add TS 5.6 and ESNext target support

Fixes #
Description

Specific Changes

Testing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

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

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
20351

Relevant Lines:
22910

💛  - Coveralls


udev: Unable to receive message

[x] Programmer/board type: Stlink/v2
[x] Programmer firmware version: e.g STSW-LINK007 2.27.15
[x] Operating system: Linux
[x] Stlink tools version and/or git commit hash: 05b5739642b
[x] Stlink commandline tool name: e.g st-info, st-flash, st-util
[x] Target chip (and optional board): STM32F103

I don't know if I've understood the instructions correctly.
What I did was:
git clone the project
from the root dir of it: make release, and then make debug
also copied the udev rules
lsusb shows
Bus 009 Device 004: ID 0483:3748 STMicroelectronics ST-LINK/V2
# ls -l /dev/bus/usb/009/004
crw-rw-rw- 1 root root 189, 1027 out  9 23:39 /dev/bus/usb/009/004

What I did then was to cd to build/Release and issue some commands:
# ./st-info --version
v1.5.1-43-g05b5739

# ./st-info --flash
no db file to read /run/udev/data/+usb:9-4:1.0: No such file or directory
unable to receive message
no db file to read /run/udev/data/+usb:9-4:1.0: No such file or directory
unable to receive message
0x0

# ./st-info --probe
no db file to read /run/udev/data/+usb:9-4:1.0: No such file or directory
unable to receive message
no db file to read /run/udev/data/+usb:9-4:1.0: No such file or directory
unable to receive message
Found 1 stlink programmers
 serial:<PHONE_NUMBER>30303030303031
openocd: "\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x31"
  flash: 0 (pagesize: 0)
   sram: 0
 chipid: 0x0000
  descr: unknown device

So, there seems that there is some problem.
I double checked the cables between the STM32F103 and the ST-Link. There's a red led light up on the STM32F103.
Am I doing something wrong?  This is just my first time dealing with microcontrollers.
Thanks.

This looks like as if udev rules and/or permissions are not set properly.
Please consult our tutorial at /doc/tutorial.md and follow the instructions "HowTo - Verify if udev rules are set correctly" to solve this problem that very likely derived from a false configuration on the local system.


Libtorrent Overview

To overview the main features of LibTorrent and consider those of them that can be useful for the project implementation

It is necessary to write down:

What languages are supported
Which BEPs are supported by each lib

Add links


Remove all package building references from repository

We need to remove all stuff related to packaging from CC repository and move it to separate repo. User should not face any references to GPG or packaging in their normal build from sources.

Moved to Devops:
https://github.com/optdyn/devops/issues/351


Please invite me to this organization

github id: larry-neil-1206
I'd like to learn and contribute myself to this organization.
Thank you.

Welcome to openAOD, I have sent an invite to join the org


broken docs links

There are a couple of links that may need absolute paths /ol-stac/...
https://m-mohr.github.io/ol-stac/doc/
for api docs and examples
and
https://m-mohr.github.io/ol-stac/doc/quickstart.html
examples links at bottom

Fixed, thanks.


Error trying to use typescript 4.9

We are using SST deployed via Seed for a typescript API. We have not yet upgraded to SST v2.
I recently updated to typescript 4.9, and started using the new satisfies keyword.
"devDependencies": {
  "@serverless-stack/cli": "^1.18.4",
  "typescript": "^4.9.5",

Typechecking with "typecheck": "tsc --noEmit" passes. However sst build fails with:

Error: There was a problem transpiling the Lambda handler: Error: Build failed with 1 error:
shared/path/redacted.ts:51:11: ERROR: Expected ";" but found "satisfies"
(When run locally or via Seed).

It appears that SST is using an older version of typescript, despite 4.9 being specified in the package.json and yarn.lock.
I have been unable to find the version which SST is compatible with documented anywhere.
The package.json for this version of SST specifies "typescript": "^4.8.4",, which doesn't seem to be completely correct, given that it fails with v4.9.5.
Desired outcome:

Obviously the optimal outcome would be that my whole toolchain uses package versions specified in the yarn.lock.
If this is not possible, then it would be useful if SST logged the versions of dependencies it is using.
I also think more detail of the build process should be included in the docs. I have been unable to understand where the lambda transpilation that is causing this error is occurring, which makes it hard for me to conjecture solutions.

Yeah also seeing this error. I'm trying to use the new satisfies operator from TypeScript 4.9 in my stack definitions (not in my lambda handlers), and getting the same error as @jacknewberry.

For what it's worth, I was able to use TypeScript 4.9 successfully after upgrading to SST v2 👍


Literals should not be allowed to pass as Reference Targets

Type of issue: bug report

Impact: API modification

Development Phase: proposal
Other information

Chisel allows a literal value to be Serialized as a ReferenceTarget in an annotation. However, FIRRTL cannot deserialize that and it's unclear what the semantics of that are. There is no other indication that literals are supposed to be valid reference targets.
Scastie demonstrating the issue:
https://scastie.scala-lang.org/poLW9X5VRrm6AhlczNOQzg
code duplicated here:
import chisel3._
import chisel3.experimental.{
  annotate,
  ChiselAnnotation
}
import chisel3.stage.{
  ChiselGeneratorAnnotation,
  ChiselStage
}

import firrtl.annotations.{
  JsonProtocol,
  ReferenceTarget,
  SingleTargetAnnotation
}

case class RefTargetAnnotation(
  name: String,
  target: ReferenceTarget) extends SingleTargetAnnotation[ReferenceTarget] {

  override def duplicate(target: ReferenceTarget) = this

}

class Foo extends RawModule { self: Foo =>

  val a = 1.U
  val b = WireInit(a)

  annotate(new ChiselAnnotation {
      override def toFirrtl = RefTargetAnnotation("wireRef", b.toTarget)
    }
  )

  annotate(new ChiselAnnotation {
      override def toFirrtl = RefTargetAnnotation("literalRef", a.toTarget)
    }
  )

}

val jsonResult = JsonProtocol.serialize((new ChiselStage)
  .execute(Array("--no-run-firrtl"), Seq(ChiselGeneratorAnnotation(() => new Foo)))
  .filter {
    case r: RefTargetAnnotation => true
    case _                         => false
  })

println("JSON Result: ")
println(jsonResult)

// This seems to silently not complete
val deserializedAnnos = JsonProtocol.deserialize(jsonResult)
println("Deserialized Annos:")
println(deserializedAnnos)

Produces (before failing in the deserialize):
JSON Result:
[
  {
    "class":"Playground$RefTargetAnnotation",
    "name":"wireRef",
    "target":"~Foo|Foo>b"
  },
  {
    "class":"Playground$RefTargetAnnotation",
    "name":"literalRef",
    "target":"~Foo|Foo>UInt<1>(\"h01\")"
  }
]

If the current behavior is a bug, please provide the steps to reproduce the problem:
See above scastie/code example
What is the current behavior?
Chisel happily allows creating of Annotations which take ReferenceTargets as arguments and serialize a literal passed in. However, deserializing the same will result in a hard-to-understand failure message of "unknown error", because the JSON parser stack trace is being eaten.
What is the expected behavior?

Chisel should not let you pass off a literal as a ReferenceTarget if FIRRTL is not going to accept that

It's unclear to me whether this would "just work" if you didn't have to go through the serialization/deserialization step, then its just up to the annotation to deal with the fact that it got a literal instead of a reference target.
Please tell us about your environment:
- version: 3.4.1
- OS: Scastie
-
What is the use case for changing the behavior?
People write annotations that take ReferenceTargets then users pass literals into them, and things seem to generally work until firrtl can't deserialize them with a hard-to-understand error message.
Also, the toNamed did not allow literals. toTarget should behave similiarly:
https://scastie.scala-lang.org/5lnPB8z9QPigMCKzNdy0Iw

Should this be a firrtl issue since toTarget is in firrtl?


fix: reorder helm postrenderer

Current situation
The namespace postrenderer is applied before the kustomize renderer. This is actually wrong and is noticable in some edge cases.
Proposal
Add namespace renderer last.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

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

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/build/helm.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
1649

Relevant Lines:
3275

💛  - Coveralls


ConfigError: Missing region in config

Hello, when using dynalite together with the aws-sdk, I am getting a ConfigError from the aws-sdk.
Apparently
const dynamo = new AWS.DynamoDB({
  endpoint: 'http://localhost:4567'
});

is not enough anymore to get started. When I set the region to eu-west-1,
I am getting
Error: connect ENETUNREACH <IP_ADDRESS>:80
[0]       at Object._errnoException (util.js:992:11)
[0]       at _exceptionWithHostPort (util.js:1014:20)
[0]       at TCPConnectWrap.afterConnect [as oncomplete] (n

please advise.

Try:
const dynamo = new AWS.DynamoDB({ endpoint: new AWS.Endpoint('http://localhost:4567') })

and let me know if that works

hey @mhart,
getting the same error with your line.

I think you have some sort of DNS issue – 169.254.x.x is a Link-local address: https://en.wikipedia.org/wiki/Link-local_address
Are you running this in Docker or something?

Any update on this?

Closing due to lack of activity

This is the solution:
const dynamodb = new AWS.DynamoDB({ endpoint: 'http://localhost:4567', region: 'localhost' });


No completions for extends clause for members of a namespace containing only interfaces and types followed by expression

When attempting to get completions from tsserver for the members of a namespace that only exports interfaces and types (such as typescript/lib/protocol.d.ts) within an extends clause that is followed by an expression, tsserver returns no completions.
TypeScript Version:  2.1.4
Code
Given the following file (we'll call test.ts):
function foo() {
}

namespace Bar {
	export interface Baz {
	}
}

interface Blah extends Bar.

foo();

If completions are requested for the end of the line beginning interface Blah:
{"seq":4733259223085117,"type":"request","command":"completions","arguments":{"file":"test.ts","line":9,"offset":28,"prefix":""}}

No completions will be returned:
{"seq":0,"type":"response","command":"completions","request_seq":4733259223085117,"success":false,"message":"No content available."}

However, if a concrete type is included in the namespace, completions work. For instance, if the contents of the file are changed to the following:
function foo() {
}

namespace Bar {
	declare const one: number;
	export interface Baz {
	}
}

interface Blah extends Bar.

foo();

When completions are requested:
{"seq":6078778290829809,"type":"request","command":"completions","arguments":{"file":"test.ts","line":10,"offset":28,"prefix":""}}

Completions are returned:
{"seq":0,"type":"response","command":"completions","request_seq":6078778290829809,"success":true,"body":[{"name":"Baz","kind":"interface","kindModifiers":"export","sortText":"0"}]}

Similarly, if the extends clause is followed by a declaration, completions will be returned:
namespace Bar {
	export interface Baz {
	}
}

interface Blah extends Bar.

function foo() {
}

foo();

Completions are requested:
{"seq":1722172452472771,"type":"request","command":"completions","arguments":{"file":"test.ts","line":6,"offset":28,"prefix":""}}

And completions are returned:
{"seq":0,"type":"response","command":"completions","request_seq":1722172452472771,"success":true,"body":[{"name":"Baz","kind":"interface","kindModifiers":"export","sortText":"0"}]}

this is a tough one. the issue is we parse this as an expression with type parameters, like for the class case, and then report the error later on. the result is that the completion here is looking for values, and not both.
I guess to fix this we could make the parser more strict in cases of interfaces and not parse expressionWithTypeArguments, though that would make the parsing code much messier.


RI - Error Messages

Problem statement
Errors/ Failures from 11/3:
Json Garret from RI is requesting that we point back to NBS TEST to avoid the failures in PROD when making these adjustments to avoid the overflow of failure reports in the production environment.  Once we can verify the fix is complete, we can then point back to NBS PROD and send all backlogged results.
What you need to know
Processed Time: 11/3/22 6:01 PM
Status:  Failure
Message ID: 9064574a-cdce-4e95-9d9e-7526aff5464c-6
Reporting Facility:  Advanced Molecular Diagnostics
Accession #:  9064574a-cdce-4e95-9d9e-7526aff5464c
Exception Text:  Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.
Processed Time: 11/3/22 6:01 PM
Status: Failure
Message ID:  eca11338-1388-455e-8c41-e8ca11bb88af-6
Reporting Facility:  Advanced Molecular Diagnostics
Accession #:  eca11338-1388-455e-8c41-e8ca11bb88af
Exception Text:  Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.
Processed Time:  11/3/22 6:01 PM
Status:  Failure
Message ID:  d912e991-fca4-4af1-9db5-6a02c2f2d451-6
Reporting Facility:  Advanced Molecular Diagnostics
Accession #: d912e991-fca4-4af1-9db5-6a02c2f2d451
Exception Text:  Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.
Processed Time: 11/3/22 6:01 PM
Status: Failure
Message ID:  09f3e969-8837-4d1b-afec-9ef468375644-6
Reporting Facility: Advanced Molecular Diagnostics
Accession #: 09f3e969-8837-4d1b-afec-9ef468375644
Exception Text: Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.
Processed Time:  11/3/22 6:01 PM
Status: Failure
Message ID:  d82d6513-528d-48b6-b48d-7fd15952a341-6
Reporting Facility: Advanced Molecular Diagnostics
Accession #: d82d6513-528d-48b6-b48d-7fd15952a341
Exception Text:  Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.
Processed Time: 11/3/22 6:01 PM
Status: Failure
Message ID: 6e242c47-4b54-4532-9b60-dc1207e71cbf-6
Reporting Facilty:  Advanced Molecular Diagnostics
Accession #: 6e242c47-4b54-4532-9b60-dc1207e71cbf
Exception Text: Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.
Processed Time:  11/3/22 6:01 PM
Status: Failure
Message ID: a8657d98-454c-4110-9b08-12d37133969f-6
Reporting Facility: Advanced Molecular Diagnostics
Accession #: a8657d98-454c-4110-9b08-12d37133969f
Exception Text:  Error creating lab. Blank identifiers in CE or CWE segments 1 or 4. See Activity Details.

@oslynn how many points are left on this?

All messages below need to be resent to RI production again.
Message_id/Accession #: 9064574a-cdce-4e95-9d9e-7526aff5464c
Message_id/Accession #: eca11338-1388-455e-8c41-e8ca11bb88af
Message_id/Accession #: d912e991-fca4-4af1-9db5-6a02c2f2d451
Message_id/Accession #: 09f3e969-8837-4d1b-afec-9ef468375644
Message_id/Accession #: d82d6513-528d-48b6-b48d-7fd15952a341
Message_id/Accession #: 6e242c47-4b54-4532-9b60-dc1207e71cbf
Message_id/Accession #: a8657d98-454c-4110-9b08-12d37133969f

Good Afternoon Ott,
Wondering if you had any update in regards to this at all at this point in time?
Thank you,
Jason Suchon

After everything is good and gets confirmed by RI.  I will resend all the failed messages back to them.

Got response from RI (Jason Suchon) said all messages get to their production feed are good.  Now, it is time to gather all failed messages and resubmit to their prod.


[Documentation] Add awesome intro

Add a cool :sunglasses: intro which should explain the purpose of this project.

May I try to write this awesome intro? Thanks!

@edgardmota Sure. Thank you.


Linked site not Working and Colored Toolbar Without Scrolling

Thanks for the project.
The linked site (http://lym.io/RainbowSafari/) does not work for me on Safari 8 desktop or iOS8 Safari, though your other site (http://liamforsyth.co.uk/rainbow/) does.
Also, if I'm not mistaken this approach requires scrolling before the effect becomes visible. On iOS, you can color the title bar before scrolling by setting the body background color.
body {
    background: #00A8C9;
}
// Actual page background.
body:before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    content: "";
    display: block;
    z-index: -99;
    background: white;
}

Before:

And with the body color:

Only seems to work for solid colors though, no gradients or images, and only on iOS, not desktop Safari.
I'm using this approach on Blot're. You can see the effect in action on a page like this: https://blot.re/s/matt/weather

I totally forgot to close this issue, because at the time this was issued, I wasn't sure if I wanted to give up desktop and animation support just to get it working before scroll on iOS.
I'll soon be updating the repo with a new version of RainbowSafari that uses body:before to replace the #rainbowsafari element, but that means this implementation won't be used. I am therefor, almost a year after this was posted, closing the issue. This however still is a great solution if you just want to set a static color as title bar background on iOS devices.