Error using frameit - mini magick Error: convert unable to open image

Current fastlane version - 1.94.0
Current frameit version - 2.7.0
Just setup and trying to use frameit for the first time. I am getting the following error:
Converting PSD file '/Users/username/.frameit/devices_frames/iPad Pro/iPad-Pro-Silver-horizontal.psd'
/Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/shell.rb:18:in `run': [!] `convert /var/folders/37/zh47_fw120g8y5b7r6x519jw0000gn/T/mini_magick20160605-39526-1pp15qr.psd[0] /var/folders/37/zh47_fw120g8y5b7r6x519jw0000gn/T/mini_magick20160605-39526-1b4xaje.png` failed with error: (MiniMagick::Error)
convert: unable to open image `/var/folders/37/zh47_fw120g8y5b7r6x519jw0000gn/T/mini_magick20160605-39526-1pp15qr.psd[0]': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no images defined `/var/folders/37/zh47_fw120g8y5b7r6x519jw0000gn/T/mini_magick20160605-39526-1b4xaje.png' @ error/convert.c/ConvertImageCommand/3257.

When checking the folder that mini magick is moving the files too they exist, then remove so not sure how to tell what is happening. Running 'frameit --verbose' gives me no other output.
Not sure if this is related to a previous issue at all, but the issue still occurs for me (although looks slightly different) https://github.com/fastlane-old/frameit/issues/12

I have the exact same issue. Fresh installs of frameit (2.7.0) and ImageMagick (6.9.4-7).
Here is the complete output:
Converting PSD file '/Users/Simon/.frameit/devices_frames/iPhone-6s/iPhone 6s - Silver/iPhone-6s-Silver-horizontal.psd'
/Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/shell.rb:18:in `run': [!] `convert /var/folders/0z/10hf7cx93d769yh8pdrf8hkc0000gn/T/mini_magick20160606-18225-1chohg7.psd[0] /var/folders/0z/10hf7cx93d769yh8pdrf8hkc0000gn/T/mini_magick20160606-18225-1b0jeii.png` failed with error: (MiniMagick::Error)
convert: unable to open image `/var/folders/0z/10hf7cx93d769yh8pdrf8hkc0000gn/T/mini_magick20160606-18225-1chohg7.psd[0]': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no images defined `/var/folders/0z/10hf7cx93d769yh8pdrf8hkc0000gn/T/mini_magick20160606-18225-1b0jeii.png' @ error/convert.c/ConvertImageCommand/3257.

	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/tool.rb:92:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/tool.rb:40:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:349:in `format'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:89:in `block in convert_frames'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:61:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:61:in `convert_frames'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/runner.rb:10:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:36:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:36:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.46.2/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:61:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:12:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/bin/frameit:7:in `<top (required)>'
	from /usr/local/bin/frameit:23:in `load'
	from /usr/local/bin/frameit:23:in `<main>'

Exact issue here:
Converting PSD file '/Users/DanTaylor/.frameit/devices_frames/iPad Pro/iPad-Pro-Silver-horizontal.psd'
/Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/shell.rb:18:in `run': [!] `convert /var/folders/lt/zn582hqn3731k_vzgj4l1j580000gn/T/mini_magick20160606-91204-hex813.psd[0] /var/folders/lt/zn582hqn3731k_vzgj4l1j580000gn/T/mini_magick20160606-91204-5lusut.png` failed with error: (MiniMagick::Error)
convert: unable to open image `/var/folders/lt/zn582hqn3731k_vzgj4l1j580000gn/T/mini_magick20160606-91204-hex813.psd[0]': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no images defined `/var/folders/lt/zn582hqn3731k_vzgj4l1j580000gn/T/mini_magick20160606-91204-5lusut.png' @ error/convert.c/ConvertImageCommand/3257.

	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/tool.rb:92:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/tool.rb:40:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:349:in `format'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:89:in `block in convert_frames'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:61:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:61:in `convert_frames'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/runner.rb:10:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:36:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:36:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.46.2/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:61:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:12:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/bin/frameit:7:in `<top (required)>'
	from /usr/local/bin/frameit:23:in `load'
	from /usr/local/bin/frameit:23:in `<main>'

I see it as well:
Converting PSD file '/Users/jknox/.frameit/devices_frames/iPad-mini-4/iPad-mini-Silver/iPad-mini-Silver-horizontal.psd'
/Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/shell.rb:18:in `run': [!] `convert /var/folders/b9/tz1p8_yd1dz61yb0vb0mt9km0000gn/T/mini_magick20160607-3169-p2nj7y.psd[0] /var/folders/b9/tz1p8_yd1dz61yb0vb0mt9km0000gn/T/mini_magick20160607-3169-1yq15es.png` failed with error: (MiniMagick::Error)
convert: unable to open image `/var/folders/b9/tz1p8_yd1dz61yb0vb0mt9km0000gn/T/mini_magick20160607-3169-p2nj7y.psd[0]': No such file or directory @ error/blob.c/OpenBlob/2705.
convert: no images defined `/var/folders/b9/tz1p8_yd1dz61yb0vb0mt9km0000gn/T/mini_magick20160607-3169-1yq15es.png' @ error/convert.c/ConvertImageCommand/3257.

	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/tool.rb:92:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/tool.rb:40:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:349:in `format'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:89:in `block in convert_frames'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:61:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/frame_converter.rb:61:in `convert_frames'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/runner.rb:10:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:36:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:36:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.46.2/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:61:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/lib/frameit/commands_generator.rb:12:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/frameit-2.7.0/bin/frameit:7:in `<top (required)>'
	from /usr/local/bin/frameit:23:in `load'
	from /usr/local/bin/frameit:23:in `<main>'

I attempted updating all gems and re-installing Image Magick.

Thanks all for reporting! I reached out to the core team so we can get eyes on this. 👍

+1

@TKBurner any update on this?

@dantaylorseo Thanks for following up. I just bumped this with the team. Thanks!

TL/DR - Its not frameit, its imagemagick.  Try uninstalling then reinstalling imagemagick using Macports.
I had the same issue and tried reverting to frameit v2.6 and v2.5.  Neither worked.  The error appeared to be related to convert, which is part of imagemagick.  So I uninstalled imagemagick which was previously installed with Homebrew.  Downloaded Macports and installed imagemagick from there, hoping to get version 7.0, but it was still 6.9.4-4.  Tried frameit again and everything worked fine.

I ran brew upgrade imagemagick, and the error went away. Thanks!

@windaddict - what version of imagemagick do you have? I have the latest (6.9.4-7) which the issue happens with.

@jlaws I upgraded imagemagick brew upgrade imagemagick, now with version 6.9.4-9 the error ist gone, thanks!

@StuartMorris0 Have you tried upgrading to 4-9? Let me know how it goes 👍

When running upgrade I get a message saying error you already have the latest 6.9-4-7

Hi @StuartMorris0 Thanks for following up. Can you share the full set of commands you are using to upgrade? I want to take a look 👍

Yep as above, brew upgrade imagemagick

Hi @StuartMorris0 Thanks for following up. It looks like you might need to manually install the binary in this case: http://www.imagemagick.org/download/. The current version is 6.9 4-9.
Thanks!


[proSearch ] 能提供一个api，获取当前筛选条件的所有文案

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在对proSearch做筛选条件收藏时，无法获取筛选的数据对象对应的文案
What does the proposed API look like?

https://github.com/IDuxFE/idux/pull/1721
close


Add support for detecting Emscripten environments

Emscripten ships with a CMake toolchain file, and it's handy to be able to switch to it as an Environment using vscode-cmake-tools.  This adds an environment detector for Emscripten, using both the $EMSCRIPTEN env var as well as a list of configured dirs.
I had to add the ability to merge in settings in addition to env vars from environments for this in order to set CMAKE_TOOLCHAIN_FILE; seems to work, but I'm not sure if there's a more canonical way of doing this.

Looks good. I'll make a few tweaks and get it out.


⚠ Bofrost.com has degraded performance

In 165a892, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 691 ms

Resolved: Bofrost.com performance has improved in a1b6770.


Fix yaml files in scripts/papers/maxout

changed models to not require fixed batch, remove use of forced even iterators
fix padding size in cifar scripts with data augmentation

This should address the problems reported in https://groups.google.com/d/topic/pylearn-dev/geKKzmQ1QbM/discussion

Looks good to me, thanks! Is it OK to merge it?

Sure, go ahead!


flags

@eknobl would you mind posting the names of the flags in order, or which one they map to from here
I know most of them but want to make sure I am mapping them correctly.

ready. updated post


[CU-868avmq54] Removes imports from prisma client in frontend app

Added generator to automatically generate enums and interfaces based off prisma schema
These generated files are standalone, don't include any external imports and can be used as is

Task linked: CU-868avmq54 Remove all prisma imports from anything client facing


AttributeError: 'str' object has no attribute 'get'

When launching the DeepSpeech demo I get this error.

Here is the full error:
File "/Users/alleon_g/.pyenv/versions/3.8.6/envs/lewagon/lib/python3.8/site-packages/streamlit/script_runner.py", line 349, in _run_script
    exec(code, module.__dict__)
File "/Users/alleon_g/code/galleon/refactored-octo-tribble/app.py", line 303, in <module>
    main()
File "/Users/alleon_g/code/galleon/refactored-octo-tribble/app.py", line 111, in main
    app_sst_with_video(
File "/Users/alleon_g/code/galleon/refactored-octo-tribble/app.py", line 212, in app_sst_with_video
    webrtc_ctx = webrtc_streamer(
File "/Users/alleon_g/.pyenv/versions/3.8.6/envs/lewagon/lib/python3.8/site-packages/streamlit_webrtc/__init__.py", line 289, in webrtc_streamer
    playing = component_value.get("playing", False)

I got same error message, i changed streamlit and streamlit-webrtc back to older version
streamlit==0.83.0
streamlit-webrtc==0.23.2

Thank you for the report! I will fix it.

It looks like a bug of streamlit==0.84.0.
I created a bug report: https://github.com/streamlit/streamlit/issues/3507

I published a new version of streamlit-webrtc, including a hotfix for this problem.
However, I think this is derived from streamlit core and will keep this issue opened until the fundamental error is resolved.

The upstream is fixed in 0.84.1.


Separating out EHTImage stuff into a separate package

I would really like to separate out the EHTImage stuff from VIDA.

This would allow me to better interface with eht-imaging using PyCall
EHTImage is really separate from VIDA! VIDA should just be filters and convenience functions...

Hi! Have you seen my https://github.com/KajWiik/EHTIM.jl
It is really a very thin wrapper, pycall seems to be working very well. I am currently working on UVFITSIDI.jl that would read (and later write) both UVFITS and FITS-IDI format files. It uses FITSIO.jl and is otherwise pure Julia. Good to see other Julia users in the EHTC!

I hadn't seen that! That's fantastic that you have already started creating a package for that. I'll take a look at the packages.

@KajWiik would you like to collaborate on making the eht-imaging interface more complete? I have another project I am working on that would do model fitting in pure Julia but I don't have a good interface with eht-imaging or reading in uvfits files.


Fix clang warnings in ExtensionTypes.c

Clang doesn't like it when integer constants are used as hardcoded booleans in an if test. A 'constant-logical-operand' warning is emitted.
If we change the variable types to bool and replace integers with true/false keywords the warnings go away.
fixes #5418

I'm fairly sure https://github.com/cython/cython/pull/5420 is a different way of fixing the same issue

Superseded by https://github.com/cython/cython/pull/5420

Thanks very much!


Function to add padding on numbers

I'd like to have a way to pad my numbers so that the entries have a fixed width. A function to take a number and turn it into a padded string would work.
For the time being, instead of numbers for my YAML values, I can just use strings; this just requires the overhead of ensuring there's quotes around the numbers. I could also just use regular numbers like a human being, but I need the positional advantage of bits for better readability.
My use case is using numbers as bits to represent flags on a priority matrix (Eisenhower Matrix). But honestly this functionality just makes things look good, so it can be applied to any query that results in numbers.

I've added padright and padleft to the upcoming release 0.4.12, which supports padding with either spaces or a character of your choosing (such as padleft(string, 32, "0") for binary numbers).

Note that these functions operate on strings


Make phpmyadmin available on HTTPS

Context
To switch to Phpmyadmin I have to add a different port and change https to http to hop over.
Just a port change should be enough. It's also cleaner / nicer to support both http and https.
Describe the solution you'd like
Support HTTPS for Phpmyadmin on port 8036.

This is easy to do, but slightly harder to do on port 8036. Not everybody uses mkcert and trusted SSL, so they'd have to click through the browser denial if they didn't have that set up.
It's super easy to do on a port like 8037. Then we'd just have to report the additional URL in ddev describe.
Related: https://github.com/drud/ddev/pull/2102 - which wanted to add a command to launch PhpMyAdmin, a great idea, simple. That one got lost in the weeds. But can be done.

Port 8037 would a perfect solution as well. Please make it happen. It will make switching easier and it'll put ddev to perfection.


Error in document processing during recrawls

Hello @essiembre ,
I had an issue earlier while committing the documents to cloud search which looks like below,

ERROR - CloudSearch error: { ["Field "description" must have array type to have multiple values (near operation with index 66; document_id https://www.example.com/media)"] } (Service: AmazonCloudSearchDomain; Status Code: 400; Error Code: DocumentServiceException; Request ID: 7d53f879-0ce1-11e8-b2f6-9d7cf13d27f5)

The above-mentioned URL(URL changed) had an issue containing 2 meta tags i.e. description.
The index field description in Cloudsearch is of type text.
After the page is fixed to one meta tag, cloud search committer is again throwing up same error as shown below after recrawling.

ERROR - CloudSearch error: { ["Field "description" must have array type to have multiple values (near operation with index 66; document_id https://www.example.com/media)"] } (Service: AmazonCloudSearchDomain; Status Code: 400; Error Code: DocumentServiceException; Request ID: 7d53f879-0ce1-11e8-b2f6-9d7cf13d27f5)

How can I configure my collector to delete the above specific document from my crawler DB?

Have a look at the ForceSingleValueTagger.
Using that tagger will make sure "description" is a single value.

Hello @essiembre ,
I have modified my config file according to your suggestion and part of it looks like this

But still, cloudsearch committer is returning same error.

ERROR [CloudSearchCommitter] CloudSearch error: { ["Field "description" must have array type to have multiple values (near operation with index 66; document_id https://www.example.com/media)"] } (Service: AmazonCloudSearchDomain; Status Code: 400; Error Code: DocumentServiceException; Request ID: ca5808c6-0fe3-11e8-b2f6-9d7cf13d27f5)

Thank you

Is it possible the document is still in your committer queue from the previous run?  You should clear your "workdir", or at a minimum the CloudSearch Committer queue directory (default being ./committer-queue) and try again.

Hello @essiembre ,
Yup, deleting the workDir and committer queue directories fixed the issue.
Thankyou for your quick response and help.


TF Keras slice_arrays object is not subscriptable problem fix

slice_arrays method fails to slice when receive arrays contains object not subscriptable.
Issue Reproduction:
tensorflow.python.keras.utils.generic_utils.slice_arrays(list([1, 2, 3], start=0, stop=1)

@fchollet, @pavithrasv Could you PTAL and approve.


Additional common archive extensions

deb, tbz, txz, gems and common Java

@mitsuhiko is there any reason for not merging this?

@Turbo87 @pombredanne @mitsuhiko I believe, package abandoned.

@thalesfsp it may or may not be, no big deal either way. For me, I built something a tad different after all: See https://github.com/nexB/scancode-toolkit/tree/develop/src/extractcode

@pombr got it


Controlling animation time externally

Scrubbing, slowing, pausing, etc

Moved to https://github.com/material-motion/material-motion-starmap/issues/47.


🔧 fixed bug when set state was called after widget was unmounted

Fixes / Enhancements

Fixed: Query Widget was calling set state after being unmounted ([https://docs.flutter.io/flutter/widgets/State/mounted.html]).

PR looks good. Make sure you sign all your commits


[UI] Add Context Related Information in the Redux Store

Current Behavior
After the introduction of support for multi-contexts in meshery(#4218), there is a necessity for us to track the state of the active contexts/clusters managed by Meshery in the UI.
Desired Behavior
We have to store the state of the clusters/contexts managed by Meshery.
Implementation
Use the existing Redux store to store that state so that it can used pervasively across Meshery UI.

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Hello Sir, Where can I get more details about this issue? Like, what should the exact outcomes be to resolve this?

Hello @leecalcote and @sudo-NithishKarthik , I am interested in working on this issue. Where should I continue from?
Thanks


Can see all enemy units+movement+cities of some civs

With Zulus for instance. But this is not the case for Mongols.

There's two layers in the original game. The actual game map, and a visibility map.
The visibility map only show tiles that you can 'see' through units and cities that are nearby. It also keeps track of city sizes, the last time you saw them. When you get back to one of those cities, and it has grown, there's a fade out and the new city size appears.
The visibility layer has not been implemented yet. That means, you'll always see all enemy movement for tiles that you have discovered. I will fix this at a later time.

It's strange because I could see all movement for one civ (Zulus), but not for some other civ (Indians).

I'll keep an eye on this... see if I can make it a bit less strange.


Code sample in README

Description
Update the code sample in the README documentation for the next major version.

Will be integrated while releasing the version 4.0.0 (see #120).


Feature: Tkinter widget overlay to tell if mouse yoke is active / Fix pyautogui failsafe issues

This PR adds a Tkinter widget on the top-left corner of the display which tells if the mouse yoke is active. Additionally, it fixes #5  by disabling pyautogui's FAILSAFE.

This is useful as currently there is no way to tell if the mouse yoke is active during flight except bringing up the console every time/ turning the plane, leading to undesirable inputs.

Tkinter is built-in with python so there would be no additional dependencies.

A display_gui entry in config.json can be used to turn the widget on/off.

It also fixes #5 by setting pyautogui.FAILSAFE to False at startup.

Tested on Windows 11 w/ Python 3.10.10

Great addition @blazenkits, thanks for your contribution. I've merged your commits to master.


render error

when i scroll the screen.

@Marskey
This problem was fixed in 0940c68153f059e77f74a6026d70a4bc058e1714
You can get the fixed binaries from:
https://github.com/akiyosi/goneovim/actions/runs/4582145623/jobs/8092171090


Create cmd with start and binary protocol flag returns before binary protocol started

I've been experiencing on driver our integration tests since updated to the latest 2.0.3 version.
The driver test harness executes a create-and-run command and it returns before the binary protocol started.
I've created a python script that simulates what we are doing on the C# driver test harness:
import os, socket, time
os.system("ccm create test -n 1 -s -i 127.0.0. -b -v 2.1.3")
# time.sleep(1)
sock = socket.socket()
sock.connect(("<IP_ADDRESS>", 9042))
sock.close()

Is it enough to use the existing flag --wait-for-binary-proto in ccm start and simple break your ccm command up into two arguments? If not, I can move --wait-for-binary-proto into ccm create as well.

I will split back into create, populate and start. But it could be great if you could add  --wait-for-binary-proto option in the future for the create cmd.

It looks like it is not related to the wait_for_binary_proto value, as it is being assigned as true in this case.
It looks like it is related to the waiting for the log on Windows with C* 2.1, as the watch_for_log returns early due to the process exit.


fix #2817 allow {dynamic_type} to be set when doing a generic mapping…

…, cleaned up the obsolete constructors for PropertyBase(Descriptor) in the process as well'

Needs a manual back port PR for 5.x

LGTM. Merged


"associated functions" and "associated methods" on non-resource types

Given the following wit:
record color {
  r: float32,
  g: float32,
  b: float32,
  a: float32
}

record vec4 {
  x: float32,
  y: float32,
  z: float32,
  w: float32
}

// (pseudocode) associated method for color
color.from-rgba: func(r: u8, g: u8, b: u8, a: u8) -> color;
// (pseudocode) associated function
color.to-vec: func(self: color) -> vec4;

when Rust bindings are generated, I'd like to allow a Rust guest to write:
let foo = Color { r: 0.1, g: 0.2, b: 0.3, a: 1.0 }; // can construct the type by struct literal syntax
let r = foo.r; // can access a field
let bar = Color::from_rgba(180, 180, 180, 255); // can construct the type with an associated function
let vec: Vec4 = bar.to_vec(); // can call an associated method

The closest I could find to this in the wit IDL document is a resource.

As syntactic sugar, resource statements can also declare any number of
methods, which are functions that implicitly take a self parameter that is
a handle. A resource statement can also contain any number of static
functions, which do not have an implicit self parameter but are meant to be
lexically nested in the scope of the resource type. Lastly, a resource
statement can contain at most one constructor function, which is syntactic
sugar for a function returning a handle of the containing resource type.
For example, the following resource definition:
resource blob {
    constructor(init: list<u8>);
    write: func(bytes: list<u8>);
    read: func(n: u32) -> list<u8>;
    merge: static func(lhs: borrow<blob>, rhs: borrow<blob>) -> blob;
}

desugars into:
resource blob;
%[constructor]blob: func(self: borrow<blob>, bytes: list<u8>) -> blob;
%[method]blob.write: func(self: borrow<blob>, bytes: list<u8>);
%[method]blob.read: func(self: borrow<blob>, n: u32) -> list<u8>;
%[static]blob.merge: func(lhs: borrow<blob>, rhs: borrow<blob>) -> blob;

These %-prefixed names embed the resource type name so that
bindings generators can generate idiomatic syntax for the target language or
(for languages like C) fall back to an appropriately-prefixed free function
name.

The wit IDL document refers to these as syntactic sugar, and references a "desugaring" of sub-definitions within a resource.
This seems to imply (if it isn't purely illustrative) that %[method]blob.write: func(self: borrow<blob>, bytes: list<u8>); should be valid wit.
And in the component model document, a plainname like this is valid:

exportname    ::= <plainname>
                | <interfacename>
importname    ::= <exportname>
                | <depname>
                | <urlname>
                | <hashname>
plainname     ::= <label>
                | '[constructor]' <label>
                | '[method]' <label> '.' <label>
                | '[static]' <label> '.' <label>
label         ::= <word>
                | <label> '-' <word>
word          ::= [a-z] [0-9a-z]*
                | [A-Z] [0-9A-Z]*
...

The obvious attempt was to do:
%[constructor]color: func(r: float32, g: float32, b: float32, a: float32) -> color;
%[static]color.from-rgba: func(r: u8, g: u8, b: u8, a: u8) -> color;
%[static]color.from-hex: func(hex: u32) -> color;
%[method]color.to-vec: func(self: borrow<color>) -> vec4;
%[static]color.from-vec: func(vec: vec4) -> vec4;

However, this fails like so:
       Caused by:
           identifiers must have characters between '-'s
                --> C:\Users\...\host.wit:43:3
                 |
              43 |   %[constructor]color: func(r: float32, g: float32, b: float32, a: float32) -> color;
                 |   ^

So there seems no wit-bindgen-compatible way to express a plainname of '[constructor]' <label> | '[method]' <label> '.' <label> | '[static]' <label> '.' <label> and/or no wit-bindgen-compatible way to express "associated functions" and "associated methods" on non-resource types.
Is this something that is supported by wit? Is this something supported by the component model itself?

Ah yes the "desugars into" text there is a bit handwavy and as you've discovered it's not intended that the literal desugaring works. The method naming here with [constructor] and such actually plays into validation of the component itself, and depends on resources being "nominal" types, so it wouldn't be easy to allow  such constructs for arbitrary types like records and such.
There's probably two different ways this issue could be tackled, however:

Add "fanciness" to the wit-bindgen Rust generator (and possibly others) to generate methods where free functions would otherwise be generated. This is just an idea,  I've no idea what this would concretely look like.
Propose upstream in the component-model repository that [method] and friends be allowed for more than just resources but additionally records and other types.


Allow setting ffmpeg properties via system properties

$DISPLAY property varies from :0.0 on multi-display workstations or if using Xvfb with default display :99.0. Exposing display property to configuration adds flexibility for end user - now it's possible to set offset and change display, i.e. :1.0+10,20

Awesome change, just to clarify. What if someone wants to set custom display. Will it work if I just pass System.setProperty("ffmpeg.display",":88")

@SergeyPirogov yes, tested on 3-display workstation.
.

Awesome, great job


Events start/end times may vary

Description
Date and time object are manipulated directly (e.g. https://github.com/latina-in-tech/latina-in-tech.github.io/blob/main/src/components/event/AddToCalendar.tsx#L32) and this can cause an improper behaviour in mixed environment (SSR and CSR).
The time shown is right only if the date manipulation happens on the client side (see steps below to reproduce).
Steps to reproduce

Go to https://www.latinaintech.org/it
Start/end times are ok
Click on an event
See the start/end times (e.g. 7-9pm) - they are ok
Reload the page
Now start/end time are -2h (e.g. 5-7pm) - they are wrong

@lifeisfoo I guess it happens for add to calendar component on the next events, can you confirm? Because I can't find the bug actually, maybe fixed with the last pr. Try again and let me know, please.

@salvatorericcardi I just checked and it seems to be fixed!
This issue can be closed from my end


How do you evaluate Chapter 3 Model?

As title says, how do you evaluate a CNN? I tried use the same approach on chapter 2 but I can't. I get the following.
`---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
 in
11     img = img_transforms(img).to(device)
12     cnnet.eval()
---> 13     prediction = F.softmax(cnnet(img), dim=1)
14     prediction = prediction.argmax()
15     cats_pred.append(labels[prediction])
D:\Users\gusta\anaconda3\envs\book-1\lib\site-packages\torch\nn\modules\module.py in _call_impl(self, *input, **kwargs)
725             result = self._slow_forward(*input, **kwargs)
726         else:
--> 727             result = self.forward(*input, **kwargs)
728         for hook in itertools.chain(
729                 _global_forward_hooks.values(),
 in forward(self, x)
30
31     def forward(self, x):
---> 32         x = self.features(x)
33         x = self.avgpool(x)
34         x = torch.flatten(x, 1)
D:\Users\gusta\anaconda3\envs\book-1\lib\site-packages\torch\nn\modules\module.py in _call_impl(self, *input, **kwargs)
725             result = self._slow_forward(*input, **kwargs)
726         else:
--> 727             result = self.forward(*input, **kwargs)
728         for hook in itertools.chain(
729                 _global_forward_hooks.values(),
D:\Users\gusta\anaconda3\envs\book-1\lib\site-packages\torch\nn\modules\container.py in forward(self, input)
115     def forward(self, input):
116         for module in self:
--> 117             input = module(input)
118         return input
119
D:\Users\gusta\anaconda3\envs\book-1\lib\site-packages\torch\nn\modules\module.py in _call_impl(self, *input, **kwargs)
725             result = self._slow_forward(*input, **kwargs)
726         else:
--> 727             result = self.forward(*input, **kwargs)
728         for hook in itertools.chain(
729                 _global_forward_hooks.values(),
D:\Users\gusta\anaconda3\envs\book-1\lib\site-packages\torch\nn\modules\conv.py in forward(self, input)
421
422     def forward(self, input: Tensor) -> Tensor:
--> 423         return self._conv_forward(input, self.weight)
424
425 class Conv3d(_ConvNd):
D:\Users\gusta\anaconda3\envs\book-1\lib\site-packages\torch\nn\modules\conv.py in _conv_forward(self, input, weight)
417                             weight, self.bias, self.stride,
418                             _pair(0), self.dilation, self.groups)
--> 419         return F.conv2d(input, weight, self.bias, self.stride,
420                         self.padding, self.dilation, self.groups)
421
RuntimeError: Expected 4-dimensional input for 4-dimensional weight [64, 3, 11, 11], but got 3-dimensional input of size [3, 64, 64] instead
`

This error is due to the wrong tensor size since it represents only a single image.
It needs to be converted to a tensor with a shape of [1, 3, 64, 64] as the model expects a DataLoader object which feeds the model with batches instead of single images. To do that, you can use the torch.unsqueeze() method:
labels = ['cat','fish']

img = Image.open("/content/drive/My Drive/Colab Notebooks/beginners-pytorch-deep-learning/chapter2/val/fish/100_1422.JPG")
img = img_transforms(img).to(device)
img = torch.unsqueeze(img, 0)
cnnnet.eval()
prediction = F.softmax(cnnnet(img), dim=1)
prediction = prediction.argmax()
print(labels[prediction])

in order to add the additional "batch" dimension at index 0.
If you want to predict multiple images you can use a test data loader (like the other data loaders) without that additional line (and like you implemented it before with the list you appended to; maybe you should also use an index or any information to which image your predictions refer to).
I've added the missing line to Chapter 2.ipynb --> #53

Just to quickly add the alternative using a test data data loader.
One solution for named predictions might be the usage of test_data_loader.dataset.samples:
batch_size = 64
test_data_path = "/content/drive/My Drive/Colab Notebooks/beginners-pytorch-deep-learning/chapter2/test/"
test_data = torchvision.datasets.ImageFolder(root=test_data_path,transform=img_transforms, is_valid_file=check_image)
test_data_loader = torch.utils.data.DataLoader(test_data, batch_size=batch_size,shuffle=True)

labels = ['cat', 'fish']
preds = []
# get image names from attribute and convert to list
img_names = list(test_data_loader.dataset.samples)

cnnnet.eval()
for batch in test_data_loader:
    inputs, targets = batch
    inputs = inputs.to(device)
    output = cnnnet(inputs)
    prediction = F.softmax(output, dim=1)
    # get indices with max value; like argmax() but for tensor:
    prediction = torch.max(prediction, dim=1)
    # convert tensor (take only indices, not max values) to list:
    predictions = prediction[1].tolist()
    # convert indices to predicted string cat/fish
    predictions = [labels[ind] for ind in predictions]
    preds.append(predictions)

# convert nested lists to list
preds = [item for sublist in preds for item in sublist]
result = list(zip(preds, img_names))

Thanks! Seems to work now.


Invalid Redirect URI

Hello! Thanks so much for putting together this helpful library! I am a little confused about how the redirect URI plays into a native environment. Could someone provide an example? Right now I am passing in a URI that matches that in my Spotify Developer Dashboard but I am getting an ERROR / Invalid Redirect URI message.

Hello @Jordan-Loeser !
From SDK documentation : The Redirect URI will allow the Spotify authentication service to automatically launch your app again once the user has logged in.
Note that you also need to include the Redirect URI into the URL Schemes of  URL Types of your Xcode Project. Located under the info tab (see step 7 of Setting Up Your Build Environment section)
Let me know if this helps :)

@viestat Thanks for your quick response! I have set up a unique URI in Xcode, but I am still seeing the below screen after logging in on Spotify. The first time I log in and press "Log In", the screen just sits there. If I close out of the Safari window and press "Log in with Spotify" again I see this:

Any ideas? I believe that the URL should be working, because if I type it in Safari it asks me if I want to open the app. Side note, I am just working in the ./examples directory from this repository with my own client id and redirect uri entered.
Thanks for your help!

Hey @Jordan-Loeser ,
I have tried to reproduce this error but I have not encountered the same issue. I went through the initial config again and used the example app form /examples folder.
My redirect URL is something like this: someapp://callback


_type is higher priority than Content-Type

Resources put with a _type key that value as the overall content type (in terms of scope checking at least) rather than the value given in the PUTs content-type header.

Not sure what we should do in the case the two things disagree? We could error, but that feels too picky maybe?

Experience has shown me that type errors are a pain, so I am all for being as not-picky as possible :).
I feel like if you have both and they disagree, you should use the content-type header as that is the “official” web-defined thing.  This only matters on resource creation: after the resource is created, the content type and _type both have no effect because the scope and other checks are done against the type stored on the resource in the database, not the type on the header from the outside world.  This is so that you can’t just grant your token permission to things by specifying content-type headers that you know you have permission to on resources that already exist as a content type.
This also means we do not have a means currently to alter the content type of a resource after it is created: one has to make a copy w/ a new content type.
Aaron

On Mar 12, 2021, at 11:59 PM, Alex Layton @.***> wrote:
Not sure what we should do in the case the two things disagree? We could error, but that feels too picky maybe?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/OADA/oada-srvc-docker/issues/30#issuecomment-797867470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2KEUG4A32KZYHCIRY57FTTDLPLXANCNFSM4KKMWIBA.

Does OADA really not allow changing the type of a resource? Yes the scope checks are against the current type not the one in the request, but if you are allowed to modify a resource you should be able to send a new type and have that take effect.

Well, I don’t know that we ever designed it to never allow changing the type of a resource, but the current code doesn’t allow it because the _ keys are stripped prior to writing.
However, as time has gone along, it’s become apparent that the changing of a resource type in the graph actually carries significant problems for most listeners.  The listeners listen down the graph, and changing a node above them in the graph could mean that their listener is no longer listening to the right place. This makes perfect sense if you change the _id of one of the upper resources because when the above resource is actually changed out, you’d expect your path to be invalid.
I think _type change has equally difficult ramifications to altering the graph with a new resource. If we leave things as they are now (can’t change _type on a resource, have to make a new one), then just tracking the _id changes gets _type change tracking for free.  Philisophically, I think this makes sense because a resource is a type of thing and you can’t change a dog into a cat.  If you want to, you’re going to have to sell the dog and buy a cat :).
So, I’m on the fence whether we want to allow changing the _type of a resource because I think it comes with a host of hidden gotchas that most people probably don’t want to deal with and therefore the inability to change _type on a resource is less total frustration than being able to change it.  Leaning toward just leaving it as not allowed, but open to allowing it.
Aaron

On Mar 14, 2021, at 6:08 PM, Alex Layton @.***> wrote:
Does OADA really not allow changing the type of a resource? Yes the scope checks are against the current type not the one in the request, but if you are allowed to modify a resource you should be able to send a new type and have that take effect.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/OADA/oada-srvc-docker/issues/30#issuecomment-798988965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2KEUFAG2T57Z76E73E6OTTDUXWJANCNFSM4KKMWIBA.


chore(project): babel6 update

update to babel 6
not jspm17 ready
add lint-md task, remove unused doc task
build into single file

:+1:


Winget does not install all some updates

Brief description of your issue
Winget currently lists Chrome update and 2 vsredist updates however when I try running winget upgrade --all it will only install 1 package (one of vsredists), report success and then show that nothing was actually upgraded
Steps to reproduce
winget upgrade --all --verbose
Name                                                               Id                           Version        Available      Source
------------------------------------------------------------------------------------------------------------------------------------
Google Chrome                                                      Google.Chrome                115.0.5790.170 115.0.5790.171 winget
Microsoft Visual C++ 2010  x86 Redistributable - 10.0.30319        Microsoft.VCRedist.2010.x86  10.0.30319     10.0.40219     winget
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31931 Microsoft.VCRedist.2015+.x86 14.34.31931.0  14.36.32532.0  winget
3 upgrades available.
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

(1/1) Found Microsoft Visual C++ 2015-2022 Redistributable (x86) [Microsoft.VCRedist.2015+.x86] Version 14.36.32532.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://download.visualstudio.microsoft.com/download/pr/eaab1f82-787d-4fd7-8c73-f782341a0c63/5365A927487945ECB040E143EA770ADBB296074ECE402
1B1D14213BDE538C490/VC_redist.x86.exe
  ██████████████████████████████  13.1 MB / 13.1 MB
Successfully verified installer hash
Starting package install...
Successfully installed

6 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

winget upgrade
Expected behavior
All 3 packages are upgraded and all are recognized as updated
Actual behavior
Only 1 package is upgraded and then nothing is recognized as updated:
Name                                                               Id                           Version        Available      Source
------------------------------------------------------------------------------------------------------------------------------------
Google Chrome                                                      Google.Chrome                115.0.5790.170 115.0.5790.171 winget
Microsoft Visual C++ 2010  x86 Redistributable - 10.0.30319        Microsoft.VCRedist.2010.x86  10.0.30319     10.0.40219     winget
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.34.31931 Microsoft.VCRedist.2015+.x86 14.34.31931.0  14.36.32532.0  winget
3 upgrades available.
2 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.

Environment
Windows Package Manager v1.5.1881
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1992
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1881.0

Google chrome uses it's own built-in updater to perform updates. Using winget to attempt an upgrade will only download and run the chrome installer, which detects chrome is already installed and exits.
The VCRedist's don't actually upgrade - they install Side-By-Side. These are being tracked through the issue below, and the https://github.com/microsoft/winget-cli/labels/Area-Matching label

https://github.com/microsoft/winget-cli/issues/2129

Thanks for the explanation.
As for Chrome, how come there is nothing logged in the output above?

Thanks for the explanation.
As for Chrome, how come there is nothing logged in the output above?

Because the installer returns exit code 0, which is indicative of a successful install. If the installer returned a custom error code, we would be able to use that to differentiate


codde

Commits on Apr 12, 2019
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Remove contrib
441db69
Commits on Apr 16, 2019
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Cleanup for I/O
50a84d6
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Change to batch_size = 64
ab49b0b
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Fix distributed nmt bug
83b8a54
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Fix dec_input shape
223265c
Commits on Apr 17, 2019
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Python 3 converts division to float. Converting local_batch_sz to int
f8bf16f
@jdduke
Copybara-Service
jdduke and Copybara-Service
Add GPU support to the ImageClassification example
411f0fb
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Switch to tf.image.resize_with_crop_or_pad
25d2da4
Commits on Apr 18, 2019
@guptapriya
Copybara-Service
guptapriya and Copybara-Service
Update examples to account for changes to loss scaling in cl/24390995…
ff12b55
Commits on Apr 19, 2019
@MarkDaoust
Copybara-Service
MarkDaoust and Copybara-Service
Unpin tf-nightly version.
15dfc55
@tensorflower-gardener
Copybara-Service
tensorflower-gardener and Copybara-Service
Updated TensorFlow Lite examples.
8930613
Commits on Apr 24, 2019
@jdduke
Copybara-Service
jdduke and Copybara-Service
Use the GPU delegate in the classification sample by default
b66f798
Commits on Apr 29, 2019
@tensorflower-gardener
Copybara-Service
tensorflower-gardener and Copybara-Service
Added Flowers exercises and solution
a2942f7
Commits on Apr 30, 2019
@yashk2810
Copybara-Service
yashk2810 and Copybara-Service
Updating to TF 1.13.1
75f4d66
Commits on May 01, 2019
@tensorflower-gardener
Copybara-Service
tensorflower-gardener and Copybara-Service
Fixed Colab and GitHub URLs
ef70a13
@jdduke
Copybara-Service
jdduke and Copybara-Service
Remove lite/examples/android example
2ed35de
Commits on May 02, 2019
@tensorflower-gardener
Copybara-Service
tensorflower-gardener and Copybara-Service
Updates the TensorFlow Lite iOS image classification example app to u…
fabc828
Commits on May 03, 2019
@void-main
void-main
Make distributed tensorflow doc work
e5d560d
@tfboyd
tfboyd
Add validation of accuracy.
b8db1b0
Commits on May 04, 2019
@MarkDaoust
Copybara-Service
MarkDaoust and Copybara-Service
internal
3191b90
Copybara-Service
Copybara-Service
Merge pull request #45 from tfboyd:use_metrics
1424121
@guptapriya
Copybara-Service
guptapriya and Copybara-Service
Fix loss scaling for densenet example. We were mistakenly scaling the…
55e79ef
Commits on May 05, 2019
@jeromemassot
jeromemassot
fix variable name error
5f1a432
Commits on May 10, 2019
@lekansogunle
lekansogunle
fix typo
bc406c6
@jdduke
Copybara-Service
jdduke and Copybara-Service
Properly normalize MobileNet classifier inputs
e6873b9
Commits on May 14, 2019
@jdduke
Copybara-Service
jdduke and Copybara-Service
Remove stale tracking code in the object_detection sample
34884ff
Commits on May 15, 2019
@tensorflower-gardener
Copybara-Service
tensorflower-gardener and Copybara-Service
Removes the isErrorLoggingEnabled property from the InterpreterOpt… d58c0a3 Copybara-Service Copybara-Service Merge pull request #51 from lekansogunle:update-l03c01_classifying_im… 7ce3935 Commits on May 17, 2019 @tensorflower-gardener Copybara-Service tensorflower-gardener and Copybara-Service Updates switch statement in ModelDataHandler to use default`.
a32254c
@BioGeek
BioGeek
replace broken iframe with static image and link to video
9381c51
Commits on May 18, 2019
@Molkree
Molkree
fix link to Github, fix small typos
bc733e6
Commits on May 19, 2019
@Molkree
Molkree
small typos
0429b2b
@Molkree
Molkree
added hspace preserving in Transfer Learning lesson to prevent images…
9341088
@Molkree
Molkree
added hspace to prevent images and labels overlapping
83107c6
@valeriyvan
valeriyvan
Removes boilerplate code from InfoCell in iOS ObjectDetection example
6df8567
@Molkree
Molkree
restored deleted word
72ed60a
Commits on May 20, 2019
@rcrowe-google
Copybara-Service
rcrowe-google and Copybara-Service
Fixing wording on classification example Colabs
3b3dfb9
@valeriyvan
valeriyvan
Removes boilerplate code in InfoCell.swift in gesture classification …
dac0305
@valeriyvan
valeriyvan
Removes boilerplate code in InfoCell.swift in image classification io…
58b7370
@bryanlimy
bryanlimy
add transformer chatbot
0f4bc3b
Commits on May 21, 2019
@bryanlimy
bryanlimy
add colab and github link
08a9c62
@bryanlimy
bryanlimy
change link to tf repo
e95d233
Commits on May 22, 2019
Copybara-Service
Copybara-Service
Merge pull request #62 from bryanlimy:master
1c5ecd8
Commits on May 24, 2019
@nczempin
nczempin
typos in jupyter notebook
105085f
@nczempin
nczempin
Merge pull request #1 from nczempin/nczempin-patch-1
5c6b8d4
@wolffg
wolffg
Merge pull request #63 from nczempin/master
461bd15

@googlebot I signed it !
Le dim. 22 déc. 2019 à 07:02, googlebot<EMAIL_ADDRESS>a écrit :

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it! and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Ftensorflow%2Fexamples%2Fpull%2F128
for more info.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/examples/pull/128?email_source=notifications&email_token=AE2Q4ZQRM4KXBF7QY43AEBLQZ56QLA5CNFSM4J6MEP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPR7BQ#issuecomment-568270726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2Q4ZSNTKAPHPNYMIGDYULQZ56QLANCNFSM4J6MEP2Q
.


Output report as markdown

Can you add an option to output the report as markdown? makes it nice and readable in vscode as a preview and also solves issue #3 as you can just render the file using a markdown card :). Love the integration btw

Yes, that makes sense, along with other output options like CSV.
As for #3, this is already implemented and will be a part of the next release. The approach is slightly different: each watchman sensor will have a data structure as an attribute, which you can use with a template to render simply anything.


Update CKT from 0.0.0 to 0.4.0

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


About evaluation result

Hi @mmaaz60,
Thanks for your great work and open sourcing!
I am trying to evaluate PALO-7B (loaded from transformers) on the multilingual-llava-in-the-wild, but I find the performance is much lower than the reported numbers. Here are the results I got:

Model
English
Chinese

PALO-7B (paper)
64.2
55.7

PALO-7B (my results)
54.0
43.0

Here are the result files with evaluation scores:
PALO-7B_English.json
PALO-7B_Chinese.json
Summaries produced by palo/eval/summarize_gpt_review.py
PALO-7B_English
all 54.0 85.2 46.0
llava_bench_complex 62.8 82.5 51.8
llava_bench_conv 52.4 86.5 45.3
llava_bench_detail 40.6 88.7 36.0

PALO-7B_Chinese                                                                                [50/1901]
all 43.0 86.0 37.0
llava_bench_complex 55.6 82.9 46.1
llava_bench_conv 27.2 88.8 24.1
llava_bench_detail 39.1 88.7 34.7

Is there a significant discrepancy between the content I generated and yours, or there are issues in evaluation? Do you have any idea about this, or share the generated result files with me?

By the way, I find the path of some language in the evaluation scripts contains corrected, is there an updated version of the multilingual-llava-in-the-wild benchmark?


Replace 'select * ..' with explicit column names

When building a cql string in CqlExpressionVisitor.GetSelect(), use explicit column names rather than 'SELECT *', to reduce risk of schema mismatch during schema migrations.
This way, the driver asks for the columns it knows about, rather than everything - which leads to an exception if the poco is out of step with the cassandra schema.
Most of the changes are unit test changes, which had to be changed from SELECT * to SELECT [all columns]

The commit is clean and the pull request looks good, but I just wanted to know in which situation this could be a problem. In the mapping definitions, you can mark them as explicit or set to ignore a certain class property.
Additionally, from the user's perspective there is the possibility to use Select() to specify the fields in a select query: table.Where(...).Select(...).Execute().

No worries.
In our setup we have multiple frontend servers.  When deploying changes that include schema changes we do a rolling update of the frontend servers.  So what we get is a window where some of the servers contain code that represent old c* schema, and some servers on the new C* schema, and the cassandra schema has been updated.  This can lead to exceptions for the servers with the old code as in the case that a column has been added for example, the query returns columns that the poco doesn't know about yet.  By building the query to retrieve only the columns that the poco knows about, can mitigate this risk.

Sorry for taking so long to get back to you, we are sprinting to provide Cassandra 2.2 support in the driver.
I think your the approach you propose is the safest choice (for new users) and we should include it in the driver, but we should check if that could be a behavioural breaking change for users: existing users with no mapping definitions could use SELECT * type of queries via Linq and only the columns returned will be mapped (ignoring the rest of the POCO properties that are not really part of the table).
I created a JIRA ticket for it: https://datastax-oss.atlassian.net/browse/CSHARP-308

Thanks for the update

Landed in a54f011b38eec1ddb13f97704f54d6639ebca72c
Thanks @ImDarrenG


Add support for Packit as a Service

I guess it would be helpful for all contributors to have automated checks for RPM builds. This can mitigate issues like #948 (PR #949).
At the start, I included EL7, EL8, Fedora stable releases + Fedora rawhide. If I'm missing something or something new needs to be added, multiarch for example, just tell me.
You already have approved organization by Packit
Signed-off-by: Martin Styk<EMAIL_ADDRESS>Maintainers will complete the following section:

[ ] Commit messages are descriptive enough
[ ] "Signed-off-by:" line is present in each commit
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request includes link to an osbs-docs PR for user documentation updates

@MartinBasti @rcerven :eyes:

/packit copr-build

Only collaborators can trigger Packit-as-a-Service

Bad Packit! Bad!
@MartinBasti can you run it?

/packit copr-build

So. If you will open build all green all good.
The problem is now on packit side.
It seems that fedmsg is not sending messages or COPR is not emitting messages. Therefore Packit is not moving state further.

no release notes, CI change only
@StykMartin Thank you for your contribution!

/packit build


toolkit: Add closest-branch command

This can be used to find where branches
diverge.
Topic: closest-b
Reviewers: brian-k

Reviews in this chain:
└https://github.com/Skydio/revup/pull/57 Remove exceptions for no commits/topics found
　└https://github.com/Skydio/revup/pull/58 Make populate_topics repeatable
　　└https://github.com/Skydio/revup/pull/59 Shortcut base branch detection if only one possible branch
　　　└https://github.com/Skydio/revup/pull/60 Reverse order of topics in amend
　　　　└https://github.com/Skydio/revup/pull/62 toolkit: Add closest-branch command

#
head
base
diff
date
summary

0
1f939872
0e63b494
diff
Sep 21 7:09 PM
3 files changed, 29 insertions(+), 7 deletions(-)


support for pyplot eps images

Powerpoint accepts EPS images and there are existing libraries for creating EPS barcharts and piecharts that are way more flexible than the ones in pptx, such as pyplot.    It would be nice to document how to incorporate these images.

The PowerPoint UI allows you to insert an EPS (or PDF) image, but what it actually does when you press the 'Ok' button is convert that image to WMF/EMF (Windows "proprietary-ish" vector format) and embed that.
python-pptx already has the ability to add WMF images. So what you really need for this is a way to convert EPS images into WMF format.
Last time I looked there were a couple possible options, but that's the route that's going to make sense. If PIL/Pillow started offering this feature we'd certainly want to include a convenient wrapper for it. But until then you'll need to get them into WMF first and insert that.
It would be far from the main focus of python-pptx to include specialized code to convert EPS to WMF and that code would be better located on a graphics library project anyway since it would be general purpose. So we're not likely to be writing one of those anytime soon as part of this project :)

Closing this since no code change is needed.


docs: add discovery naming conventions

Initial pass at documenting discovery naming conventions and translation process.
I wonder if we should brainstorm ways of simplifying the shortening process. Regardless, I have documented the shortening algorithm as it is implemented today.
Fixes #100
Proposal for #71

We had some offline discussions, and I think it makes sense to eliminate the discoverer prefix, but require that the cluster-name (aka backend-name) must be lowercase and start with a character

@stevesloka @rosskukulinski - updated according to latest discussion. PTAL.

Thanks @stevesloka. Fixed those typos.


[Bug]: fix android studio canary checkver & updateurl

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
android-studio-canary
Expected/Current Behaviour
Android Studio Canary version is very old, about a year
Steps to Reproduce
scoop install android-studio-canary
Installing 'android-studio-canary' (2<IP_ADDRESS>) [64bit] from versions bucket
android-studio-2<IP_ADDRESS>-windows.zip (995,5 MB) [================================================================================] 100%
Checking hash of android-studio-2<IP_ADDRESS>-windows.zip ... ok.
Extracting android-studio-2<IP_ADDRESS>-windows.zip ... done.
Linking ~\scoop\apps\android-studio-canary\current => ~\scoop\apps\android-studio-canary\2<IP_ADDRESS>
Creating shortcut for Android Studio Canary (studio64.exe)
'android-studio-canary' (2<IP_ADDRESS>) was installed successfully!
'android-studio-canary' suggests installing 'android-clt'.

Possible Solution
Update checkver regex
Update download urls
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
b7569433b (HEAD -> master, origin/master, origin/HEAD) yuescript: Update to version 0.22.2

'main' bucket:
73542b624 (HEAD -> master, origin/master, origin/HEAD) spotify-player: Update to version 0.17.0

'versions' bucket:
1582d0377 (HEAD -> master, origin/master, origin/HEAD) vlc-nightly: Update to version 20240304

Scoop Config
scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
04.03.2024 15:03:57 https://github.com/ScoopInstaller/Scoop master

PowerShell Version
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

+1


rust: add support for increment and decrement

Picking up where https://github.com/twitter/pelikan/pull/383 left off.
@brayniac @thinkingfish

Notes:

Display CLIENT_ERROR for cases when incrementing/decrementing a key with value type that is notU64.
Updated tests

Testing:
% telnet localhost 12321
...
set key 0 100 3
200
STORED
incr key 5
205
decr key 100
105
incr key2 5
NOT_FOUND
set key 0 100 3
val
STORED
incr key 10
CLIENT_ERROR

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

Thanks for opening this. I have a separate branch that I haven't pushed yet which is supposed to address finishing this work. I'll take a look next week and see which we'll want to use to add this functionality.

Closing this as #398 has been merged. Thanks again for the PR!


Neovim issues with injected PHP highlighting

Hi!
First of all, thanks for all your hard work to make that blade support happen for TS, it means a lot for many devs out there.
The issue I'm having is with the latest improvements of PHP TS and TS blade implementation. I'm almost sure I messed something up, hoping you could give me a hint in the right direction.
I'm on neovim and here's the small snippet I'm testing on:
@php
    $abc = 123;
@endphp

{{ echo '123' }}

        some

There's no errors in InspectTree:
(php_statement) ; [1:1 - 3:7]
 (directive_start) ; [1:1 - 4]
 (php_only) ; [2:5 - 3:0]
 (directive_end) ; [3:1 - 7]
(php_statement) ; [5:1 - 16]
 (bracket_start) ; [5:1 - 2]
 (php_only) ; [5:4 - 14]
 (bracket_end) ; [5:15 - 16]
(text) ; [7:1 - 12:0]
 (element) ; [7:1 - 11:6]
  (start_tag) ; [7:1 - 5]
   (tag_name) ; [7:2 - 4]
  (element) ; [8:5 - 10:10]
   (start_tag) ; [8:5 - 9]
    (tag_name) ; [8:6 - 8]
   (element) ; [9:9 - 25]
    (start_tag) ; [9:9 - 14]
     (tag_name) ; [9:10 - 13]
    (text) ; [9:15 - 18]
    (end_tag) ; [9:19 - 25]
     (tag_name) ; [9:21 - 24]
   (end_tag) ; [10:5 - 10]
    (tag_name) ; [10:7 - 9]
  (end_tag) ; [11:1 - 6]
   (tag_name) ; [11:3 - 5]

My injections and highlights are the same as in repo:
((text) @injection.content
    (#not-has-ancestor? @injection.content "envoy")
    (#set! injection.combined)
    (#set! injection.language php))

; could be bash or zsh
; or whatever tree-sitter grammar you have.
((text) @injection.content
    (#has-ancestor? @injection.content "envoy")
    (#set! injection.combined)
    (#set! injection.language zsh))

((php_only) @injection.content
    (#set! injection.language php_only))
((parameter) @injection.content
    (#set! injection.language php_only))

(directive) @tag
(directive_start) @tag
(directive_end) @tag
(comment) @comment

but it leaves me with something like this:

not quite sure what should I check next =)

Hey @stormherz ! Thank you very much for your kind words!

Did you have issues injecting before? or it is your first time using this parser?

Another quick question, are you using the very latest tree-sitter-php? I have not had a chance to play around with it, they just merged the split_parser PR which would hopefully make life easier for all of us and solves #5 :)

I would prob need to update the README and maybe injections.scm, would know more once I try it out? :)

@EmranMR

Did you have issues injecting before? or it is your first time using this parser?

First time user, yep

Another quick question, are you using the very latest tree-sitter-php? I have not had a chance to play around with it, they just merged the split_parser PR which would hopefully make life easier for all of us and solves Problem injecting php #5 :)

Yeah, that was my first guess, I'm not sure how to verify if tree-sitter actually grabs the latest tree-sitter-php. They do have a lock file in their repo https://github.com/nvim-treesitter/nvim-treesitter/blob/master/lockfile.json which indeed does include commit hash of the latest work in tree-sitter-php (which should include split parser), but I'm not sure if updated tree-sitter-php actually landed on my machine. I've reinstalled it, for sure, but it's a bummer there's no way to check what version was used by tree-sitter, or maybe I'm just missing it :-\

Perfect!
php injection inside php_only nodes were not possible up to like this week. Before that, it was only supported in the Nova extension, experimentally.
Now I am 100% certain you could do it, and in fact you are adopting the tree-sitter-blade the best time possible. The php_only injection was very much an anticipated feature request for the tree-sitter-php.
I actually think your editor is set up correctly on your side, because blade is parsing correctly, and you are also getting correct syntax highlighting for the html :)
I would keep you updated here, and I would also suggest subscribing to issue #5 . I will probably release more information about it for NVim in the coming days/weeks depending on my free time!

yep, I've tried to track all of your latest work related to this switch and tree-sitter-php update. I'll stay tuned and try to be of help, at least in terms of verifying an entire chain for neovim, just to see blade up and running after all those years =)

@EmranMR tried it with manually built parser as calebdw suggested in #5 - it works great! would you like me to close this issue or should we keep it up for now in case me or anyone else will stumble the same issue and will be able to follow the current state of transition to splitted parser?

@stormherz I am glad all is working well! Feel free to close the issue as other users can simply search the old ones, plus instead I am going to keep #5 open for time being considering it also includes the manual fix solution!


UIL doesn't support scheme(protocol) by default [Demir Adam]. You should implement this support yourself (BaseImageDownloader.getStreamFromOtherSource(...))

Hello I'm getting this error on my project but there is the catch it works fine on API 19 an below but it gives me this error on API 21 could you guys help me ?

There's enum Scheme Represents supported schemes(protocols) of URI, which contain 		HTTP("http"), HTTPS("https"), FILE("file"), CONTENT("content"), ASSETS("assets"), DRAWABLE("drawable"). You got this exception because your uri can not match Scheme.
May be your problem involved the compatibility of Android Version. Would you mind giving more detail,such as your Uri?
Or you can debug method Scheme.ofUri(imageUri) which in class ImageDownloader by yourself.

As an example of my uris is  "http://wallpaperscraft.com/image/96915/1080x1920.jpg"

Try to debug your app. It seems you pass some URLs like Demir Adam://... into displayImage(...) method.

For this error this is code I'm using in my adapters getview method
ImageLoader.getInstance()
.displayImage(imageUrls.get(position), holder.imageView, options, new SimpleImageLoadingListener() {
@Override
public void onLoadingStarted(String imageUri, View view) {
holder.progressBar.setProgress(0);
//                        holder.progressBar.setProgressTintList(ColorStateList.valueOf(000000));
//                        holder.progressBar.setProgressBackgroundTintMode(PorterDuff.Mode.valueOf("DARKEN"));
holder.progressBar.setVisibility(View.VISIBLE);
}
                @Override
                public void onLoadingFailed(String imageUri, View view, FailReason failReason) {
                    holder.progressBar.setVisibility(View.GONE);
                }

                @Override
                public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
                    holder.progressBar.setVisibility(View.GONE);
                }
            }, new ImageLoadingProgressListener() {
                @Override
                public void onProgressUpdate(String imageUri, View view, int current, int total) {
                    holder.progressBar.setProgress(Math.round(100.0f * current / total));
                }
            });

and this is the URL that loading image from "http://www.thenology.com/wp-content/uploads/2014/09/iron_man_2_comics_movies_superheroes_1080x1920_102772.jpg".As i mantioned before logcat trow this error in API 21 , API 19 and below forks fine I couldn't find anything that resolve this error. If you like to take a look at the all code you can check this repository "https://github.com/Arciles/DuvarkagidiUstasi".
Thanks for your time and afford.

For this error this is code I'm using in my adapters getview method
    ImageLoader.getInstance()
            .displayImage(imageUrls.get(position), holder.imageView, options, new SimpleImageLoadingListener() {
                @Override
                public void onLoadingStarted(String imageUri, View view) {
                    holder.progressBar.setProgress(0);
                    holder.progressBar.setVisibility(View.VISIBLE);
                }

                @Override
                public void onLoadingFailed(String imageUri, View view, FailReason failReason) {
                    holder.progressBar.setVisibility(View.GONE);
                }

                @Override
                public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
                    holder.progressBar.setVisibility(View.GONE);
                }
            }, new ImageLoadingProgressListener() {
                @Override
                public void onProgressUpdate(String imageUri, View view, int current, int total) {
                    holder.progressBar.setProgress(Math.round(100.0f * current / total));
                }
            });

and this is the URL that loading image from "http://www.thenology.com/wp-content/uploads/2014/09/iron_man_2_comics_movies_superheroes_1080x1920_102772.jpg".As i mantioned before logcat trow this error in API 21 , API 19 and below forks fine I couldn't find anything that resolve this error. If you like to take a look at the all code you can check this repository "https://github.com/Arciles/DuvarkagidiUstasi".
Thanks for your time and afford.


Dynamically chosen hystrix circuit breaker fallback method based upon observed exception

Posting this question here, as it may appeal to be an enhancement if not available already.
Is it possible to declare and use a strategy around which fallback method to use for a HystrixCommand protected method?
The need is such that, I can decide what fallback method to be used based upon exception been observed.
If the @HystrixCommand can take a map of 'exception:fallback' method as set of rules for deciding fallback point, it can solve the purpose.

There is discussion of something similar when using Feign and Hystrix in #1117

Thanks @ryanjbaxter for pointing this out.
However is there no possibility to have similar capability for a non-feign client app?

I guess that question should be posed in the Netflix OSS Hystrix repo.  I would suppose something similar would be possible though.

Sure, I've posted it there as well.

Great would be nice to provide a link to the issue here as well


Can't promote Troopers to Chief Warrant Officer on the Hailstorm board

You can't promote on other boards as well, but CW promotions only go on the Hailstorm board. If that might cause more harm than good you can make a CW-specific Promotion Board roster thingy and hide it under the Directories section.

Can you confirm that you are unable to promote troopers to CW ranks with the manual promotion tool? Trooper to CW promotions are hidden from the eligibility listings.


Store Token and User ID as a Cookie

As discussed in issue #22 storing tokens in localstorage becomes a problem when trying to retrieve them on the server side.
Will just set token and userid Cookies for now just to make testing easier.

We dont need to store the userid on the client anymore, that was before I stored it in the JWT iirc

I tried removing the drift-userid cookie and was having issues creating a new post. I'll just leave it in there for now.


https://github.com/Azure-Samples/java-microservices-asa-e-lab/blob/main/docs/02_lab_migrate/0202.md

Lab: 02 'Set up a configuration repository'
Description of issue - Items identified in QA

- In Task 'Step by step guidance', Step 3: text says:
At the bottom of the vertical navigation menu, select **Developer settings**, select **Personal access tokens**, and then select **Generate new token**.
Github UI has changed slightly, and might be updated to read:
At the bottom of the vertical navigation menu, select **Developer settings**, select **Personal access tokens**, select **Tokens (classic)**, and then select the **Generate new token** drop-down and option **Generate new token (classic)**.

https://github.com/Azure-Samples/java-microservices-asa-e-lab/blob/main/docs/02_lab_migrate/0202.md
Updated


Vector Support (for Canvas)

Using canvas to SVG.
Note: this might be really slow and easy to crash.

Use a SVG Graphic.


Add quota config parser.

Just moved the code from istio/proxy:src/envoy/mixer to istio/mixerclient

Changed the namespace.
Added a map to re-load std::regex objects for optimization.

The reason that the include/requirement.h is in its own header library is because this header file may be used by mixerclient/client.h directly  to pass quota requirement to quota cache code.

Jenkins job mixerclient/presubmit passed

Jenkins job mixerclient/presubmit passed


Can I have one column and vertical scrolling?

Is it possible to make calendar with 1 column and vertical scrolling.

I have changed calendar width to 100 and scrollDirection to vertical, but the cell still display horizontally and overlap each other.

unfortunately no.
7 columns minimum


Missing Explanation of Additional Method to Connect to Remote Registry

In this section of the "Share models across workspaces" Azure Databricks docs it provides a method to pull a model from a remote registry using a secret scope and secrets with a specific prefix. This method does not work when running jobs using spark-submit (or at least I couldn't get it to). After a lot of searching I finally found a tangentially related question around downloading model artifacts from databricks locally and found this answer. Using a similar approach I was able to successfully download my models from a remote registry by specifying the DATABRICKS_HOST and DATABRICKS_TOKEN environment variables with the registry_uri set to "databricks". The docs should include this method of authentication to save other users the headache.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d8071141-2ef4-bb3b-3cdb-0cd2b1ac2d55
Version Independent ID: f3b917b5-7d61-dcb7-377e-65c2dd7d3954
Content: Share models across workspaces - Azure Databricks
Content Source: databricks/applications/machine-learning/manage-model-lifecycle/multiple-workspaces.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@RLashofRegas , thank you for your feedback. We'll review this and get back to you shortly!

#please-close


fix: rename from "exe_time" to "processing_time"

Description

Tests performed

Not applicable.
Effects on system behavior

Not applicable.
Interface changes

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

https://github.com/autowarefoundation/autoware_tools/pull/161


Restructure menu

fix #37
fix #80

@alex-cit feel free to modify this branch and continue work on this.
navigation/en.js

"Work with GIS Project" in menu: I am not sure if the title is good. It should be "all that is GIS related but not concerning one survey (vector) layer"...
"Project Management" in menu: not sure, it should be everything but other two GIS related sections

folder structure:

not sure about folder "forms". maybe have different name? ("vl" as vector layer?, or "layer"?)

Hello,
Is it possible to complete a form with a "New value" -written with keyboard ?
Regard,
Charles ( :

Hi @charles9469  , not sure what is the question :) ,but probably best is if you join merginmaps.com/community/join (SLACK) and we can discuss there on interactive chat?


Temporarily disable the getDeviceUrl test for offline devices

That's in a temporary measurement to make the CI pass again.
See: https://github.com/resin-io/resin-sdk/issues/426
Change-Type: patch

@pimterry should this be marked in a way that will not add an entry to the changelog?

Yes, sounds sensible. That means use no-checks and merge manually.
Also, btw, you've linked the wrong issue I think. The cause of this is actually https://github.com/resin-io/resin-proxy/issues/134

I've filed a bug to fix this later, so we remember: https://github.com/resin-io/resin-sdk/issues/436

Oh, also you need to not add a change type footer. Otherwise even if it doesn't release and update the changelog with this PR, it will get added to the changelog for the next release.


Set up ReadTheDocs

I'd like to get https://readthedocs.org/dashboard/ada-url/ working. I can set this up myself if granted access to the settings for this repo that would allow me to configure the GitHub/RTD integration.
Failing that, I could add existing repository admins to the RTD and have them set up the integration.
My branch here should allow for RTD to install the library to allow the inline docstrings to be rendered.

Hey @bbayles, I've granted you admin privileges on the repository. Hope that helps.


Ignoring specific error messages

If you want to silence some specific errors from the log - e.g. bots that generate 404 etc.

No... and for the same rationale explained in #6239.


Developing a Python Package

Basics of setting up a python package, how to use the import system and modules, virtual environments, the IDE support available etc.

Notes and resources here https://github.com/astro-group-bristol/py-package/


Segment Head flags cannot be set in game

When a road asset uses custom segment head flags, the segment head cannot be selected and there is no way to set those flags.

Download the attached crp file and load it in the asset editor.

Segment Head Flags Not Working.zip

Open the vehicle lane properties, then open the props list.
Open the properties for the only prop, and look at its Segment Head Forbidden flags. Custom0 is selected and named "Test".
Now lay a segment in the asset editor.
Click the AN icon, then hold the Alt key and attempt to select any segment head. The highlight is red and it says "no custom AR flags to modify".

I have another asset for which the segment head can be selected, but it only shows one of the three flags I am using. I haven't figured out what's different about it. Unfortunately it's a complex asset with several external dependencies, so I'd like to come up with something simpler to attach for comparison.
CS Version: 1.13.3-f9
AN Version: 3.2.13-ALPHA
TMPE: Local build of commit f9798c06 (no local changes except a little bit of logging)
I disabled all DLC and all mods except AN and TMPE, to reproduce this issue.
System info:
Edition	Windows 11 Home
Version	21H2
Installed on	10/15/2021
OS build	22000.376
Experience	Windows Feature Experience Pack 1000.22000.376.0
Processor	AMD Ryzen 5 5600H with Radeon Graphics            3.30 GHz
Installed RAM	16.0 GB (15.4 GB usable)
System type	64-bit operating system, x64-based processor

I have confirmed that 2.4 also had this issue.

The problem is specific to Segment Head Flags.
Segment Tail Flags work fine.


[pdf] TTF font displayed as dots on iOS and Adobe Reader (OTF equivalent is fine)

I generated the following pdf by running this program:
bug.pdf
package main

import (
	"image/color"
	"os"

	"github.com/tdewolff/canvas"
	"github.com/tdewolff/canvas/pdf"
)

func fontTTF() *canvas.FontFamily {
	fontFamily := canvas.NewFontFamily("SourceSerifPro")
	fontFamily.Use(canvas.CommonLigatures)
	err := fontFamily.LoadFontFile("SourceSerifPro-Regular.ttf", canvas.FontRegular)
	if err != nil {
		panic(err)
	}
	return fontFamily
}

func fontOTF() *canvas.FontFamily {
	fontFamily := canvas.NewFontFamily("SourceSerifPro")
	fontFamily.Use(canvas.CommonLigatures)
	err := fontFamily.LoadFontFile("SourceSerifPro-Regular.otf", canvas.FontRegular)
	if err != nil {
		panic(err)
	}
	return fontFamily
}
func main() {
	f, err := os.Create("bug.pdf")
	if err != nil {
		panic(nil)
	}
	defer f.Close()
	pdf := pdf.New(f, 100, 100)

	////////////////
	face := fontOTF().Face(16, color.Black, canvas.FontRegular, canvas.FontNormal)
	txt := canvas.NewTextLine(face, "OTF font is fine", canvas.Left)
	pdf.RenderText(txt, canvas.Identity.Translate(0, 50))
	////////////////
	face = fontTTF().Face(16, color.Black, canvas.FontRegular, canvas.FontNormal)
	txt = canvas.NewTextLine(face, "Only dots are displayed for TTF", canvas.Left)
	pdf.RenderText(txt, canvas.Identity.Translate(0, 40))
	////////////////

	err = pdf.Close()
	if err != nil {
		panic(nil)
	}
}

(you can get the OTF and TTF font at https://github.com/adobe-fonts/source-serif-pro)
It produces the following pdf:
bug.pdf
It displays fine on all PDF reader that I could test on linux (evince, firefox, chromium), but the second line (the one using the TTF font) displays only dots on Adobe Reader and iOS:

Do you have any idea what might be wrong ? (or at least in which direction should I search?)

Someone e-mailed me personally with the same issue, this was my response:

It looks like dots are displayed when the font file cannot be found or the character is not defined in the PDF. This is strange as it loads fine in a variety of applications on my Linux computer. It might be related to the use of UTF-8 characters in the text (the double quotes in this case). To be fair, text embedding in PDFs could be improved in general as there is a bug of copy pasting text from the PDF not representing the written text. The latter might be related to your issue.

Can you output a PDF of https://github.com/tdewolff/canvas/tree/master/examples/document and see what happens? That is, does this happen when there is a UTF-8 character used, or also when just using ASCII. In general, at https://github.com/tdewolff/canvas/blob/master/pdf/renderer.go#L490 I'm wrapping the font program in a couple of layers which seems to be unnecessary and might be part of the problem. For example, output from Inkscape is much more concise.

This should be fixed in the develop branch


docs: connection

CREATE CONNECTION
DESC CONNECTION
SHOW CONNECTIONS
DROP CONNECTION

We can pretty format the sql using:
https://chat.openai.com/g/g-UDPZWnzXj-bendsql-formatter


Mongodb Possible to return only modified fields in UpdateOne with Upsert

Hi,
Is it possible to get only modified filed ?
Example:
db.collection.updateOne({email:"xxx@gmail.com"},{$set:{name:'xxx',city:'yyy',country:'zzz'}},{upsert:true});
Name and Country not a new value;
City is new value  But some time; name will be update;
finally i want to know; only modified fields.
Note:
For now getModifiedCount(); is returning 1; If the document any one of the field modified.

No, that's not possible. You will get the whole document back.

Ok...

@sajumani: The driver/library cannot report more information than the update command itself provides. Per the update output documentation in the MongoDB manual, the command only reports a count for the number of documents selected, modified, and upserted by the command.
If you want to track the actual fields that were modified by a command, you can look into using change streams. This feature was introduced in MongoDB 3.6 and lets you watch changes to documents based on oplog activity (i.e. it requires a replica set or shard cluster with replication). The stream can watch documents at different granularity levels (e.g. client, database, collection) and can also be filtered to match specific documents (using the $match aggregation operator). MongoDB\Collection::watch() has some examples that demonstrate how to use this feature via the PHP library. You'll also find watch() methods on the Database and Client classes.


fix(server): treat https: null as https: undefined

Fix situation when null passed to server.https and it will go to protocol HTTP options as null and will lead to unexpected behaviour ( for it was hanging requests when appinsight-js is on )

Would you please check failing test? Also a description in PR would be nice 😊

Codecov Report

Merging #6265 into dev will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##              dev    #6265   +/-   ##
=======================================
  Coverage   95.72%   95.72%
=======================================
  Files          80       80
  Lines        2666     2666
  Branches      687      687
=======================================
  Hits         2552     2552
  Misses         98       98
  Partials       16       16

Flag
Coverage Δ

#e2e
100% <ø> (ø)
:arrow_up:

#fixtures
50.63% <0%> (ø)
:arrow_up:

#unit
92.42% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

packages/server/src/listener.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@pi0 test failure wasnt from this PR, it was some  transient failure on running cli test, i have relaunched test and it fine


[HELP WANTED] with translation and bug report for release v1.9.5

Translation
I really happy about all the translations that this project is translated to. :)
Unfortunately I do not speak all the languages, also keeping all the translation always up-to-date would significantly slow down the feature development. (And I already have way less time for this project than a few years ago). With the latest config refactor #569, unfortunately lot of translations got obsolete and many more new text got added to the app.
Therefore, I usually just keep adding features and rely on other contributors on translations.
If you would like to contribute to the project, take a look at the translations in the src/frontend/translate folder and if a translation (value in the  tags) does not make sense, update it and send a PR.
You can also a new language, here is the how to: https://github.com/bpatrik/pigallery2#2-translate-the-page-to-your-own-language
P.S.: I also welcome if you only translate a few lines, not the whole file. Every improvement is welcome.
Bug report
Please report if you see any bug on the latest nightly version.  Preferably in a separate issue with instructions on how to reproduce and logs. Use NODE_ENV=debug in your docker-compose file to enforce debug logging.
Only bug reports please. I'm not adding new features to 1.9.5 anymore.
Known issues (will be fixed):

scroll bar does not appear sometimes  (mostly after searching)
slideshow starts too fast even if speed is slow
slideshow stops working if the machine goes to sleep and wakes up
If password is enabled for sharing, UI bugs if no password is given

If I get the time I will release v1.9.5 during next week. If I did not get there, feel free to use nightly until the release. They will be technically the same I just did not get the time to hit the release button.

Added some more missing texts to the translation file.

Added some more missing texts to the translation file.

Can you merge back in my new translation to Dutch? I forked yesterday. https://github.com/bpatrik/pigallery2/compare/master...mrtnbr:pigallery2:master

if you create a PR it should work.

Great. If all goes well I should be done today. It might need a second pass by me or someone else to after that but it will be very usable.

Thank you all for the contribution. I hit that release button for 1.9.5


Merge attestation verification logic

Also rename slashable attestation to standalone attestation to reflect its broader functionality in phase 1.

I still like StandaloneAttestation; technically both are verifiable, one is just verifiable with less auxiliary info than the other :smile:
Let's argue about it in the next call?

Brainstorming names:

IndexedAttestation (suggesting that attester indices are provided)
ExternalAttestation (suggesting the attestation can come from an external fork)
ForkAttestation <-- my favourite


Highcharts Dynamic Height

Adding more keywords causes HighChart information to be squeezed. Does not re-size height. Requires dynamic height setup. See http://prntscr.com/75x9wh

Screenshot was removed, I consider that people using a lot of keywords should use table view and not charts.
But anyway you are right, the graph should be resizable. I don't have quickfix for that, the whole rendering will be changed in v2 with responsive design and bigger layout.

Screenshot was removed - had personal info. Original Chart Image link: http://prntscr.com/77ma4u
Changed line 20 in highcharts.php from:
echo '';
to:
echo '';
Corrected chart layout: http://prntscr.com/77u3l9

Changed line 20 in highcharts.php from:
'

';
to:
 '

';


Makefile: split deployment to infra, icmp example and vpn example

#596 changes docs. If this patch gets merged, we'll need to uptake the docs with the new targets.

@nickolaev Also, #596 is merged, so you can change the docs in this patch as well if you like :)


getter functions aren't marked as const

At least the getter functions for packets and meta-data are not marked as const

Thanks for the feedback.  Asking the team on this one.


Add support for libstoken and RSA token generation

Nice PR,
But, this one is going to be a tricky one because it requires adding an import "C" statement to the codebase while we are trying to refactor as much as possible to avoid external calls to stuff such as git, GPG, etc.
Isn't there a way to support stokens using a native Go library?

Thanks, I think I could rewrite the library in go since its open source or I could refactor the code to use the stoken binary instead of the library and use the go native os.exec to generate the tokens.
https://github.com/cernekee/stoken

Thanks a lot for your effort, but I'm afraid we won't be able to merge any kind of CGO dependency in the foreseeable future.
This would significantly increase our maintenance burden and we're currently not staffed to handle that.
So in the interest of transparency I'd close this PR with some regrets and kindly ask you to consider a pure-Go implementation if you have the time to do so.

Thanks a lot for your effort, but I'm afraid we won't be able to merge any kind of CGO dependency in the foreseeable future.
This would significantly increase our maintenance burden and we're currently not staffed to handle that.
So in the interest of transparency I'd close this PR with some regrets and kindly ask you to consider a pure-Go implementation if you have the time to do so.