redundant {name} in path

My bower-install configuration is belows
  "install" : {
    "base":  "src/main/resources/static",
    "path" : {
      "css": "css",
      "js": "js",
      "eot": "fonts",
      "svg": "fonts",
      "ttf": "fonts",
      "woff": "fonts",
      "woff2": "fonts"
    },
    "sources" : {
      "bootstrap" : [
        "src/main/resources/static/bower_components/bootstrap/dist/js/bootstrap.js",
        "src/main/resources/static/bower_components/bootstrap/dist/css/bootstrap.css",
        "src/main/resources/static/bower_components/bootstrap/dist/css/bootstrap-theme.css",
        "src/main/resources/static/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot",
        "src/main/resources/static/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg",
        "src/main/resources/static/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf",
        "src/main/resources/static/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff",
        "src/main/resources/static/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2"
      ]
    }
  }

and after executing bower-install, the result is

What i want is skip the {name} path, all js files are inside in js folder, all css files are inside in css folder.

How can I achieve this?

I believe it's bower-install issue, not bower's


[dev-todo-mvvm-live] Removed unnecessary parameters from the saveTask method

The AddEditTaskViewModel already contains the title and description of
the task. In order to be a more accurate example of MVVM and the flow of information, the title and description is now
just obtained from the variables in AddEditTaskViewModel itself instead of being passed through
from the Fragment.

I guess this ended up like this after a refactoring, as it makes no sense :) Thanks!


[2pt] setup pages with react-router & also add the header navbar with menu links

Set up the required pages for the projects using react-router-dom in the application. Also set up the header area with navigation links.

Make sure the router is created using router-object.
Navbar should not have any link (according to this project).

✅ Task completed! https://github.com/mahabubx7/population-metrics/pull/9


ShellExecuteEx Missing

This is quite an important function on windows particularly also because of rights elevation (runas).

um::shellapi in winapi 0.3 has these functions.


Create Ship selection system

Description
Currently a debug ship is being created for each instance of the ship is being spawned within a scene. However in the main pipeline, the ship is being hardcoded by selecting the first ship variant. This needs be changed to allow for selection, and away from hardcoding the implementation.
Acceptance Criteria

Ship selection UI exists
MVP for Ship selection exists
Can select between different available ships
Ships can be locked if not unlocked when using a normal User's save
In debug, all ships are available
Can navigate back out to the main menu
Brief display of ships weapons is visible

Implementation

[ ] Create UI view in unity
[ ] Create View for UI
[ ] Create Presenter for UI
[ ] Hook the screen to the Main Menu scene
[ ] Pass selection to scene command containing all the data required for the scene

Scope Change + Concerns:

There are many point in the use cases were thei actions are used in environments where complex use case invocations must be executed. Either through the user interfaces or speciic services.
This will be changed by grouping all the actions into one service instead. This will act as a facade.
The data will all be loaded up at the start. The data from within the GameDataManager will be modified during runtime, within the scenes etc. Services will exist to seperate modifications but will still refer to the data directly.
During save, the fields will be then updated in the file
Delete operations will be handled first and ensure all stale data is cleared. Then the create and update operations will occur afterwards.

Needs investigation:
Update the EditGameSaveViewModel to handle the GameDataManager and remove use case invocatio


Issues with Wire.requestFrom()

In the file MMA7660.cpp there are a number of issues with Wire.requestFrom().
The Wire.requestFrom() should not have Wire.beginTransmission() or Wire.endTransmission().
This in in the funtion MMA7660::read.
There is no need to empty a buffer or stream before using Wire.requestFrom(). When the Wire.requestFrom() returns, the receive buffer in the Wire library does not contain old data.
This is in the function MMA7660::getXYZ, MMA7660::getAcceleration, MMA7660::getAllData.
There is no need for a timeout. The Wire.requestFrom() waits until the complete I2C transaction has finished. The Wire.read() after that, only reads data from a receive buffer in the Wire library.
This is in the function MMA7660:getXYZ, MMA7660:getAcceleration,.

Hi @Koepel , thanks for your percipience. If you like, could you please commit your patch for this driver with a pull-request? That prevents us reinvent the wheel and would be pretty appreciated.

@KillingJacky, At this moment I hope that Seeed-Studio will use the Arduino Wire library in the way it is meant to be. When a library needs to be changed, the Wire library issue could be solved as well.
On the Arduino forums I'm seeing the wrong use of the Wire library so many times. That is why I made the issues here on Github.
I learned yesterday that and old Arduino Zero Wire library did indeed keep previous data in the Wire receive buffer. But that was a serious bug, and it should be fixed with version Arduino.cc IDE 1.6.8.
In the code is a "Wire.begin()" in the "read()" and "write()" function. At this moment it is allowed to call Wire.begin() multiple times, but that is a lot of extra unnecessary code. I would like to change that as well, but I don't have a MMA7660 to test new code.

Hi @Koepel thank you very much for your precise thought. After I studied those libraries you pointed out, yes we had misunderstanding about the usage of the Wire library. As those libraries are working fine in the field currently, we will continuously spend our efforts to fix those mis-uses.

Thank you very much, I will closing this issue, If you have any further problem. Please reopen it or create a new one


Programmatically sizing a vector drawable

I am trying to load a bunch of vector drawables and set their size according to runtime requirements. Many have sought this feature on stackoverflow over the years, but it appears that Android can only do it while visible in a view.
Is it possible to scale a vector drawable with Kyrie?
If so, I'd love to see the code for it. You might also add it to your readme, and if you wanted more traction, maybe go through all those unanswered questions finally providing an answer!

I think you should be able to do this with just an ImageView?
i.e. If you set the vector drawable on the ImageView and set the ImageView's scale type to fitCenter, then you can programatically set the ImageViews width/height and the vector will scale accordingly.
This is how I would recommend doing it with Kyrie as well.

You can resize vector drawables in image views, but I need to resize hundreds of images in the background in preparation for rapid-fire display in the manner of a custom animation. The animation is complicated because there are pieces that I assemble as necessary; I need to control the animation myself. I also need to manipulate the vector drawables in other ways prior to animation (mainly cropping and positioning).

Or are you saying that I can somehow resize images efficiently in the background using ImageView, prior to presentation of any of the images?

Do you have any advice on where to dig in to Kyrie to go through transforming points and line widths? It sounds like I'll need to extend it for my own purposes. It looks like a great start though.

What is it you are trying to achieve exactly? What do you mean by "resize"? What type of "custom animation" is it? What are the "hundreds of images" being used for?

What is it you are trying to achieve exactly? What do you mean by "resize"? What type of "custom animation" is it? What are the "hundreds of images" being used for?

Rendering animations of gestures that I'm asking the user to perform as part of a tutorial app. The gestures are all those possible using my system for inputting text on a touch screen faster than you can on a keyboard but without a keyboard.
There are many possible combinations of gestures. Each finger has many things it can do, and different fingers can work in combination, on either hand. I paid an animator to create SVG files of all the components that go into assembling the animations of these gestures. Now I need to dynamically assemble the gesture animations from their contributing vectors drawables.

Moreover, I need to be able to play the animations at different speeds to make the gestures clear. The animator made the animations smooth at the slowest possible speed, but I fear that playing all those frames at a faster speed will be too much for most devices, so I have a system for skipping all but pivotal frames as a means for increasing animation speed. I already have this speed control technique working in a TornadoFX app for the desktop with simple gestures.

The only alternative I can think of is to provide PNGs for everything in the highest possible resolution I might need and then dynamically shrink the PNGs in the background prior to assembling each gesture. But I fear:

This will eat a lot of clock cycles, waste battery, and take more time than recomputing the vector drawables and drawing them in series on a bitmap.
This will consume a lot more memory on the device.
The text won't turn out as readable as I'd like. I could however remove the text and render the text on top at runtime -- just an added complication.

Hmm... yeah, not sure. This sounds pretty complex and probably outside the scope of this library. I don't think this library has a specific feature that would make this any easier.
I think to answer your specific question, it's easiest to scale VectorDrawables and KyrieDrawables via an ImageView. If the ImageView scale types don't work for you, you can arbitrarily transform (i.e. scale, translate, and/or rotate) the ImageViews drawable by passing a Matrix into ImageView#setImageMatrix(). You could potentially even animate this Matrix to achieve some cool effects (this is how ChangeImageTransform works in the Android Transition library, for example).
You could also write a custom View and transform the VectorDrawable using Canvas operations in onDraw() too (which is essentially how ImageView scale types work under-the-hood).
No clue if any of this is helpful at all...

That's quite helpful, thank you! I'm just learning Android, but somehow I assumed that an ImageView would only scale when rendered on the screen. Thanks for the avenues to explore.
I'll go ahead and close this, but will let you know of anything I end up doing with Kyrie.


update a storage-explorer a manually bores'n'causes problems a for an example a latest thou storage-explorer ~ been required a to install .NET framework. Please, create packages'n'repositories a with an all dependencies ~ been  required thou for an atleast Ubuntu LTS versions

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

In the release notes of v1.10.0 and v1.10.1, there is a link to the Snap store where you can install v1.10.1 from a snap store which has all the dependencies included.


Revert "Bump github.com/cloudfoundry/bosh-utils from 0.0.459 to 0.0.461 in /src/acceptance_tests"

Reverts cloudfoundry/uaa-release#863

Reverting this as Ci failures might have been tied to this.


Chapter 2 - Example not working with Clang / GCC

Issue with Ubuntu 22.04, CMAKE 3.22.1, g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0. I validated that the example works against VC++.
GCC Output:
In file included from /mnt/c/Users/username/Documents/GitHub/Template-Metaprogramming-with-CPP/src/chapter_02/source2.cpp:1:
/mnt/c/Users/username/Documents/GitHub/Template-Metaprogramming-with-CPP/src/chapter_02/wrapper.h:10:32: error: expected unqualified-id before ‘;’ token
   10 |    extern template wrapper<int>;

Clang Output:
In file included from /mnt/c/Users/ljerabek/Documents/GitHub/Template-Metaprogramming-with-CPP/src/chapter_02/source1.cpp:1:
/mnt/c/Users/ljerabek/Documents/GitHub/Template-Metaprogramming-with-CPP/src/chapter_02/wrapper.h:10:20: error: declaration does not declare anything
   extern template wrapper<int>;

namespace ext
{
   template <typename T> struct wrapper
   {
      T data;
   };

   extern template wrapper<int>; // This is the line causing the problem.

   void f();
   void g();
}

For Chapter 2 you must make the following changes:
Add the following to src\chapter_02\main.cpp
#include  // This is needed for std::make_unique
#include    // This is needed for std::strcpy
Change the following in src\chapter_02\wrapper.h
extern template wrapper; --> extern template struct wrapper;
Change the following in src\chapter_02\source1.cpp
template wrapper; --> template struct wrapper;
Change the following in src\chapter_02\main.cpp
template wrapper;  --> template struct wrapper;
To fix the following error you should modify CMakeList.txt to be permissive.
if(MSVC)
  message(status "Setting MSVC flags")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHc /Zc:__cplusplus /std:c++latest")
  add_definitions(-D_CRT_SECURE_NO_WARNINGS)
else()
  message(status "Setting GCC/Clang flags")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++2a -fexceptions -g -Wall -fpermissive")
endif()

Otherwise you will get the following:
/mnt/c/Users/ljerabek/Documents/GitHub/Template-Metaprogramming-with-CPP/src/chapter_02/main.cpp: At global scope:
/mnt/c/Users/ljerabek/Documents/GitHub/Template-Metaprogramming-with-CPP/src/chapter_02/main.cpp:524:32: error: duplicate explicit instantiation of ‘T n226::add(T, T) [with T = int]’ [-fpermissive]
  524 | template int n226::add(int, int);       // [2]

It appears the examples were only tested on MSVC++ and it would be good if someone from the team would validated against other compilers.

Tested  g++-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 still fails unless you make changes. Going to try GCC 13 next to see if it makes a difference.

Just finished testing with g++-13 (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0 the code sample still fail.


[modify] inherit ApplicationMailer

Coverage decreased (-3.3%) to 81.304% when pulling 391b11a80cbe132303f3dde16f58df273a089645 on pr-application-mailer into aad2b531cc5fe558ffb5abd4ea9fcd8f753c1ea4 on master.


Update haskell-platform to 8.0.2

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Failed with error
gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
gpgkeys: key 409B6B1796C275462A1703113804BB82D39DC0E3 not found on keyserver
gpg: no valid OpenPGP data found.

Next build for next Pull Request looks good and passed for the same job.
Could anyone help with that? Thanks in advance.


Feature request: Add a parameter to limit large messages

TeleNVDA allows users to transfer files up to 10MB, but some servers have limited transfer capacity.
jmdaweb/NVDARemoteServer Added a parameter to allow server administrators to limit traffic transmission.
https://github.com/jmdaweb/NVDARemoteServer/commit/75eed5d6a5b3068285a87f98432ad8ef06b85641
@tech10 Do you have similar considerations, or have other ideas.
Thanks

I haven't considered adding any such limit on my server for message length at the moment. Ideally, the goal with this one would probably be to have TeleNVDA itself have the ability to block file transfers while ensuring compatibility with official or unofficial servers alike, though given how servers send data to other clients, I'm not sure this one is possible at anything other than connection negotiation. Also, I'm not sure what TeleNVDA might or might not add in the future that others may or may not want blocked or altered on the server side, so for now, I was planning to leave this one as a non-existent option.
There's other problems with this particular situation, as well. The way in which messages are received by the server won't allow me to check the length of a received message until it's been fully received with a new line character at the end of the message. If a client sending the 10MB of data is going to be billed for it at that time, then they'll already be in trouble before they can even be disconnected from the server, since the server will only know if they've sent 10MB after it's already been fully transmitted and received. The only thing this might help is the other clients receiving such data, which could occur whether or not they're using TeleNVDA. Of course, if they aren't using TeleNVDA, the information is silently ignored if it's a file being transferred.
Additionally, there is one other consideration to take into account. My server won't send information to all slaves or masters that are connected, either. Only one computer being controlled at one time would receive any file transfer, even if several people are controlling that specific computer. Of course, if several people controlling the computer were to receive a file being sent from the computer being controlled, that's another matter entirely, they'd all receive that in such a case.
What if someone else on the same server wants to send 10MB without being blocked? The only way to block this is a global setting within the server for everyone, not just clients on a specific channel. Also, there's no way to know and set dynamically on the server side, whether a specific client can or cannot receive 10MB of data being sent by another client, I'm sure that would be the next step for such a feature, since some clients may not have a problem receiving the data while others could be billed for the traffic, and in such a case, why not allow those who can receive it to receive it, and those who can't, not to receive it.
There's a few different things to be considered for this feature, as you can see, before I'd be willing to consider adding it at this point. You're welcome to leave this open for a while, and if anything on the side of TeleNVDA changes, I'll consider how I might want to implement if it's to be added.
Thanks for bringing this up, though, I appreciate the suggestion.

Hi @tech10
Thank you for your attention to this issue.
How does the python version of the server program do this? Is it of any reference value?
Cheers
Best

@cary-rowen
The Python version of the server receives an entire message in a buffer, like I do, if I remember correctly. If the message is over the length used to limit it, the server will terminate the client's connection with no warning, since none can be provided. Everyone else will simply think the client disconnected, and they won't receive the long message. So, unfortunately, as I've described above, the client will still have to send the entire message before the server can determine if it's too long and drop it. This also wouldn't prevent the client from sending multiple smaller messages in chunks that could equate to an equivelant sized large message, though since this was targeted to file transmission, that's probably unlikely.
I did look at the Python version of this, and it didn't seem like the best way of doing things. They're attempting to support a feature that isn't really supported by NVDARemote or its variance. I'll still be checking to see if this is supported by the NVDARemote addon in the future, and if it is, I'll consider implementing support for it on my server. Until then, though, I'd consider any solution for this proposed thus far, to be rather clunky. If you have any better ideas on how this could be implemented, you're welcome to propose them here.


[C++][Parquet] Fix for PARQUET-890 introduces undefined symbol in libparquet_arrow.so

After commit c41a718dae9c60465ea0d8c99d6e3bdca11f802f (the most recent commit for parquet-cpp which fixed PARQUET-890, the following error occurs when pyarrow tries to load libparquet_arrow.so:
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow.parquet
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/pyarrow-0.2.1.dev17+ngb109a24-py2.7-linux-x86_64.egg/pyarrow/parquet.py", line 20, in <module>
    from pyarrow._parquet import (ParquetReader, FileMetaData,  # noqa
ImportError: /usr/local/lib/libparquet_arrow.so: undefined symbol: _ZN7parquet19LogicalTypeToStringB5cxx11ENS_11LogicalType4typeE

Building the library using the previous commit doesn't exhibit this problem.
Reporter: Jeff Knupp / @jeffknupp
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-908. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Issue resolved by pull request 267
https://github.com/apache/parquet-cpp/pull/267

Wes McKinney / @wesm:
thanks @jeffknupp. Here's a PR: https://github.com/apache/parquet-cpp/pull/267


Need help generating a DASH compatible webm file.

Hi,
I have followed the steps described here : http://wiki.webmproject.org/adaptive-streaming/instructions-to-playback-adaptive-webm-using-dash. During playback, I get an error. I am using Shaka Player.
Output from browser console.
The video has now been loaded!
myplayer.html:57 Error code 3007 object OÂ {severity: 2, category: 3, code: 3007, data: Array(0), handled: false}
According to Shaka player error code, 3007 means : WEBM_CUES_ELEMENT_MISSING	3007	number 	The WebM Cues parser was unable to locate the Cues element. The segment index data may be corrupt.
How do I fix this error?
My steps

ffmpeg -i  blue_sky_1080p25.y4m -c:v libvpx-vp9 -s 160x90 -b:v 250k -keyint_min 150 -g 150  -tile-columns 4 -frame-parallel 1  -an -f webm -dash 1  sky_160x90_250k.webm
ffmpeg -f webm_dash_manifest -i  sky_160x90_250k.webm -c copy -map 0 -f webm_dash_manifest -adaptation_sets "id=0,streams=video" manifest.mpd

I provide this manifest file to the shaka player
Thanks,
Upanita

I don't know that FFmpeg's direct DASH output is correct.  I would suggest you try something like Shaka Streamer for content preparation instead.  It uses FFmpeg internally for transcoding, but Shaka Packager for fragmenting and packaging in DASH.  For example, this may work for your y4m input file:
# input.yaml

inputs:
  - name: blue_sky_1080p25.y4m
    extra_input_args: -s 160x90
    width: 160
    height: 90
    media_type: video

# pipeline.yaml

video_codecs:
  - vp9

manifest_format:
  - dash

segment_size: 4
segment_per_file: True

pip3 install --upgrade shaka-streamer shaka-streamer-binaries
shaka-streamer -i input.yaml -p pipeline.yaml -o output/

All output will be written to the output/ folder in this example, and the manifest will be output/dash.mpd.
See also the full Shaka Streamer docs for more info.
Does this help?

Thanks ! I switched to a different http server and kept everything else the same. This time it worked.
I will try out the Shaka streamer. This is really useful to know.

Ah, I see.  If the HTTP server ignored Range headers, that could definitely cause the error you saw, even if you used Shaka Streamer.  A fully-HTTP-compilant server is necessary for some VOD content, and some very simplistic servers are not compliant.


Bug report: Error: Permission denied - (/usr/local/Caskroom/vienna/3.1.5/Vienna.app, /Applications/Vienna.app)

(Remember to run brew update; brew cleanup; brew cask cleanup before reporting your issue. It usually fixes things!)
Description of issue
No longer able to upgrade any package.
It seems that I am now unable to upgrade my package. I keep getting this message. I did the following command: brew uninstall --force brew-cask; brew untap phinze/cask; brew update; brew cleanup; brew cask cleanup but with no effect. Should I run it from my admin account? Is this the problem? With previous version of Cask, I was able to upgrade from my regular account and link to the local app folder with no problem.
Output of brew cask <command> --verbose
★  brew cask install --verbose --force vienna
==> Downloading https://dl.bintray.com/viennarss/vienna-rss/Vienna3.1.5.tar.gz
Already downloaded: /Users/Nathalie/Library/Caches/Homebrew/vienna-3.1.5.tar.gz
==> Verifying checksum for Cask vienna
==> Moving App 'Vienna.app' to '/Applications/Vienna.app'
Error: Permission denied - (/usr/local/Caskroom/vienna/3.1.5/Vienna.app, /Applications/Vienna.app)
  Most likely, this means you have an outdated version of homebrew-cask. Please run:

      brew uninstall --force brew-cask; brew untap phinze/cask; brew update; brew cleanup; brew cask cleanup

  If this doesn’t fix the problem, please report this bug:

      https://github.com/caskroom/homebrew-cask#reporting-bugs

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in `rename'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in `block in mv'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1558:in `block in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1574:in `fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1556:in `fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:508:in `mv'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/artifact/moved.rb:50:in `move'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/artifact/moved.rb:26:in `block in install_phase'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/artifact/moved.rb:43:in `block in each_artifact'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/artifact/moved.rb:42:in `each'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/artifact/moved.rb:42:in `each_artifact'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/artifact/moved.rb:22:in `install_phase'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/installer.rb:129:in `block in install_artifacts'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/installer.rb:126:in `each'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/installer.rb:126:in `install_artifacts'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/installer.rb:75:in `install'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/install.rb:21:in `block in install_casks'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/install.rb:18:in `each'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/install.rb:18:in `install_casks'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/install.rb:7:in `run'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:83:in `run_command'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:121:in `process'
/usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb:26:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/brew.rb:22:in `require?'
/usr/local/Library/brew.rb:93:in `<main>'
Error: Kernel.exit

Output of brew doctor
★  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libaspell.15.1.4.dylib
    /usr/local/lib/libpcre.0.dylib
    /usr/local/lib/libpspell.15.1.4.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
    /usr/local/include/aspell.h
    /usr/local/include/pspell/pspell.h

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.


Add hydro margin feature

Hydro Protocol has two major versions. For version 1, it's designed for noncustodial token exchange. Hydro dex scaffold is build on top of this version contract.
For version 2, it's a custodial exchange, funding, and margin protocol. The two versions have significent different. We don't have a plan to upgrade the scaffold dex to support version 2 contract.
Thank you for your interest in our project. We will post if we have some arrangements of hydro scaffold things on top of hydro protocol contract version 2.


Update Java.gitignore

Reasons for making this change:
I found that there is no ignore for springboot+eclipse, so I added some.
Links to documentation supporting these rule changes:
TODO
If this is a new template:

Link to application or project’s homepage: TODO

This repository tries to keep things modular to avoid the overhead of managing rules in multiple redundant places... You can just combine the individual rules to fit the needs of you project (personally I usually use gitignore.io to do that).
As Spring Boot/Initializr projects can be generated for either Gradle or Maven, and also do not contain any Eclipse/IDE specific files, it would not be good to just throw all of this into Java.gitignore.
So there is Gradle.gitignore (or Maven.gitignore) and Global/Eclipse.gitignore (or Global/Jetbrains.gitignore / Global/Netbeans.gitignore)... The only "missing" rule would be for HELP.md, but personally I would not ignore that by default.


Deploy to Azure - Error

When I tried to deploy the app in Azure, keep receiving following error,

and more details

Thanks in Advance,
Joe
,

Looks like Azure failed to register the MSTeams channel for your bot registration. Take a look in azure at your bot channel registration (should be called ZenlayerStickers) and make sure that the channel for MSTeams has been enabled:

@sfour were you able to get this working?

@sfour There was a regression in the Azure provider for Azure Bot Services, which is why you got that error.  The owning team has since fixed that on June 19, so future deployments should be working now. We do apologize for the inconvenience!
As MattSFT mentioned above, the easiest fix in your case would be enable the Teams channel.


Added vertex colors to LineMesh and LineSystem

Based on the initial code from JCPalmer, here are the per point colors for LineMesh and LineSystem
var points = [arrayVector3];
var lineColors = [arrayColor4];
var line = BABYLON.MeshBuilder.CreateLines("l", {points: points, colors: lineColors}, scene);
// same for LineSystems
var lines = [arrayVector3[] ];
var colors = [arrayColor4[] ];
var lineSystem = BABYLON.MeshBuilder.CreateLineSystem("ls", {lines: lines, colors: colors}, scene);

Note1 : this works also with updatable LineMesh or LineSystem objects as the colors array can be updated live.
Note2 : when set at construction time, the parameter colors overwrite the hypothetical  line or lineSystem .color property. If colors is passed but undefined, the object color falls back to the .color property value.

Now the alphablending is disabled, as before, for the color set with the property .color.
It's also disabled by defaut when used with the colors array passed parameter unless the optional parameter useVertexAlpha is set to true.
// no alpha blending
var lineSystem = BABYLON.MeshBuilder.CreateLineSystem("ls", {lines: lines, colors: colors}, scene);
// explicit alpha blending
var lineSystem = BABYLON.MeshBuilder.CreateLineSystem("ls", {lines: lines, colors: colors, useVertexAlpha: true}, scene);


Update README.md

Adds AI2-THOR, a python simulation framework with tons of custom assets that has enabled a lot of work in robotic based computer vision.
See published papers using AI2-THOR, the website and the GitHub.

Really a great piece of software. Thanks for your contribution.


formCollection View Helper doesn't render name

When using form view helper, the formCollection view helper is used to render fieldset.
But form some reason that i don't understand this view helper doesn't set the name attribute in the fieldset (unset($attributes['name']); in the render Method).
I belive name is a valid html attributes for fieldset i don't understand why ZF2 never render this tag in a fieldset, and it can be usefull to have it in the DOM.
For test create an action like this :
  $fs = new \Zend\Form\Fieldset('my-fieldset');
        $fs->setAttribute('name', 'my-fieldset');
        $fs->add(array(
            'type' => 'text',
            'name' => 'text',
            'options' => array(
                'label' => 'The Text'
            )
        ));

        $fs->add(array(
            'type' => 'text',
            'name' => 'title',
            'options' => array(
                'label' => 'Blog Title'
            )
        ));

        $form=new \Zend\Form\Form('my-form');
        $form->add($fs);
        return new ViewModel(array('form' => $form));

and just " echo $this->form($form)" in the view.
No attribute name for the fieldset is rendered.

I belive name is a valid html attributes for fieldset

It's only allowed in HTML5.

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
New issue can be found at: https://github.com/zendframework/zend-form/issues/86


[4.0][Bug] Custom Order Logic for Columns stopped working

Bug report
What I did
I am using orderByRaw method in column orderLogic.
What I expected to happen
I wanted to sort the list by column with custom order logic.
What happened
I am getting below response:
{
"message": "Undefined index: column",
"exception": "ErrorException",
"file": "[...]\vendor\backpack\crud\src\app\Http\Controllers\Operations\ListOperation.php",
"line": 116,
"trace": [...]
}
What I've already tried to fix it
In vendor\backpack\crud\src\app\Http\Controllers\Operations\ListOperation.php

replace
if ($item['column'] == $this->crud->model->getKeyName()) {
with
if (isset($item['column']) && $item['column'] == $this->crud->model->getKeyName()) {

Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:

Hello @misiekch
Thank you very much for reporting this issue.
Another user also reported this issue and submited an PR, so i will be closing this in favour of the thread with PR open. Feel free to join the discussion at #2196
Best,
Pedro


Implementing it in a sub UIView

I have a view that loads a pdf... YPDrawSignatureView doesn't work with something already in the view. What method would you suggest to either programmatically draw ontop of the current view or add the drawing above the view... in javascript land you can use z-index to layer. I get no errors, just do not see the drawing ontop of the pdf in the uiview. Thoughts? Comments? Help getting this to work?

Thats right, YPDrawSignatureView is a subclass of an UIView, and only it is supposed to populate its own view. So you can put it onto of another view and capture the stack if you want to save a signature thats embedded in the document.

Since this is not a bug, I'll close this topic.


[PE-D][Tester A] Sorting of contacts could be done automatically after edits and additions

I think it is better if sorting is done automatically after edits and additions instead of creating a function for users to call. Could allow users to toggle it off if they do not want the sorting functionality or on again if they change their minds.

Labels: type.FeatureFlaw severity.Low
original: ChuaZiLong/ped#4

Comment: Valid BUT more of a enhancement hence "Not In Scope"???
Action: Planned Enhancements in DG?


The update is improperly signed and could not be validated. Please try again later or contact the app developer.

When trying to update.

Thanks for the issue! We spent like 2 hours last night trying to fix this issue and ended up having to leave it for later. Hopefully it'll be fixed sometime today but for now, downloading from the releases page will still work

fixed by running ./sign_updates and giving dmg


Captcha on Login View.

Hello,
I think there should be a Captcha for the login window since it can be prone to brute force attacks.
 In the case of brute force attacks, it needs a lot of requests to get a chance to find anything. I think a limit / time / IP is enough to protect against it. Eventually, you may blacklist someone after an amount of failed login attempts.
I did not check if gogs is already protected, in any case it should be possible to do it from nginx/apache if using them as proxies.

@Reve Name one site which has captcha on the login-view and I'll fix an optional login-captcha. Otherwise I'm agreeing with @lefta :smiley:

http://imgur.com/bHlxa3W
As you can see, Stash (or Bitbucket Server), offers this option. Also there are botnets that that can distribute such kind of attacks which will bypass your fail2ban solution.

Calculating the password hashes is expensive. Therefore login is a potential target for DoS. An IP based rate limit after the third attempt would be a good thing from that perspective.


enable-plugins comma-separated list of plugins

can now pass a comma separated list of plugins like:
- uses<EMAIL_ADDRESS>  with:
    enable-plugins: pyside6, tk-inter

Resolves #1


dialog-warning is incredibly loud

Problem
The sound for dialog-warning (which is the same one used for critical notifications) is incredibly loud. This sound gets played, for example, when closing a tab with unedited changes in Visual Studio Code.
I feel like it's OK-ish for urgent notifications (battery critically low), but every time I close a tab and it plays it scares the everliving crap out of me.
Proposal
Replace dialog-warning with a less terrifying sound
Prior Art (Optional)
No response

My friend @Tea23 recorded this alert sound that I've been using as a replacement as of lately. While it might need some cleaning up, it's way more pleasant to listen to, and he has agreed to release the recording into the public domain.
alert.ogg.zip


adding lasso tool for drawing polygonal shapes

Description
Overview
This PR adds a lasso tool for drawing polygons to a shape layer by just dragging the mouse, without having to press for each vertex of the polygon. This improves the user experience for adding complexly-shaped, fine-grained anatomical annotations.
In the animation I show the difference between the regular polygon drawing tool and the one I am adding with this PR. I show both.

The following two pictures show the old and the new user interface.

Alternative implementations:
With the old polygons tool the workflow is:

click: start drawing
move and then click: add a new point
double click: end of drawing

With the new lasso tool the workflow is:

click: start drawing
move with mouse not pressed: add new points
single click: end of drawing

This is a very ergonomic way to draw with a computer trackpad. It is also good with a mouse. But it is not good with a graphic tablet or an iPad + Apple Pencil (using Sidecar on macOS). In fact in this case the user would click and keep pressed.
I suggest two possible solutions to address this.

Don't add the new lasso button but modify the existing polygon button as follows:

click and release: start drawing
move with mouse not pressed: add new points
release: nothing happens
click and keep pressed: starts drawing with the lasso functionality
release: stops drawing
double click: end of drawing

Add the new lasso button and support both the following lasso workflows:
a) this is the one I already described above, but I copy-paste it:

click: start drawing
move with mouse not pressed: add new points
single click: end of drawing
b)
click and keep pressed: start drawing
move with mouse pressed: add new points
release: end of drawing

I prefer the workflow 1 (so no need to add the new button), but I stated with this implementation because I found it easier to do, and in this way some scientific collaborators can already use install this branch and use this new feature.
Type of change

Bug-fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

References

Acknowledgement to @yozhikoff that made a first prototype of the new feature.
How has this been tested?

example: the test suite for my feature covers cases x, y, and z
example: all tests pass with my change
example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.
[x] manually tested on macOS

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

I was wondering when I would see you add this one haha. Neat! Maybe one thing that we could think about is adding a mode that can be activated by a key press, which conserves the very smooth drawing polygon experience, but calculates an approximation of the vertices by means of the RDP algorithm after the drawing is completed in order to reduce the number of data points. What do you think?

Hi @melonora, well spotted! 😁 Good idea to use the RDP algorithm! (Maybe that could even be the default behavior?)

Hi @melonora, well spotted! 😁 Good idea to use the RDP algorithm! (Maybe that could even be the default behavior?)

I would like that as the default behaviour, but lets also see what the others say.

Perhaps we could even do this before the drawing is completed by means of a moving window approach. Not certain whether this would be possible but it could improve the performance of drawing large polygons using this approach. I notice the performance dropping significantly as the polygons get larger while drawing. Would you like to look into this yourself? I would also be happy to explore. I would have time on Wednesday.

Interesting, it would be worth to give it a try! You are right about the performance. I won't have time to look into this soon unfortunately, if you have time to continue the work it would be super! Regarding the user experience, I think that modifying the default shape tool without adding a new lasso button would be great. This requires to respond differently to the mouse events.

I notice the performance dropping significantly as the polygons get larger while drawing

This is really only the case when the poligon is filled.  We could probably handle all this in the shader, but we'd have to create a new visual :)

Love this! I was actually trying to do the same a few weeks ago, but got stuck, so it's great to see this :)
In general, I would prever to have this as an alternative behaviour of the polygon tool. I love option 1., it feels very intuitive. It's indeed a bit harder to implement, but hopefully you can get past where I got stuck :P
One thing to note is that I recently added spline interpolation to the polygon shape, which is currently not exposed by should work if exposed. There is some discussion in that PR (and its predecessors) about how to expose this exactly, but nothing conclusive. It might be useful to consider here, since I expect most use cases where lasso drawing is useful would prefer to have smooth shapes rather than jagged. (note however that the smoothing is only visual for now, and there is no way to currently get it out at higher levels, for example to generate labels).

I will experiment with both, dependent on the epsilon setting of RDP my experience has been that it is not as jagged, but if we can easily improve that even more that would be nice. From my understanding it would require storing this

I notice the performance dropping significantly as the polygons get larger while drawing

This is really only the case when the poligon is filled.  We could probably handle all this in the shader, but we'd have to create a new visual :)

I see, yeah I saw it in vispy.geometry.add_tri . There would be a usecase for this though when annotating large tissue regions this way, but that would perhaps be something for a separate pr. In any case less data points would be nice.

Thanks for the feedback. Regarding the filled shape, one option could be to fill the shape only when the drawing ends. I think the filling could actually disturb the user when annotating complex anatomical regions because it could partially hide what's behind the shape.

Thanks for the feedback. Regarding the filled shape, one option could be to fill the shape only when the drawing ends. I think the filling could actually disturb the user when annotating complex anatomical regions because it could partially hide what's behind the shape.

One thing that I also had been thinking of is using the opacity only for the filling but then keeping the outline visual. In general in tissues any kind of cell annotation like this becomes more challenging otherwise, particularly when dealing with overlapping cells. Right now opacity both affects the filling and edge.

The rdp algorithm is functional now and also distance of current cursor position to last cursor position is used to define when vertices get added. There is currently still a bug when first drawing polygons in 2d and later in 3d and I will change the mouse interaction as we have talked about it.

Love this! I was actually trying to do the same a few weeks ago, but got stuck, so it's great to see this :)
In general, I would prever to have this as an alternative behaviour of the polygon tool. I love option 1., it feels very intuitive. It's indeed a bit harder to implement, but hopefully you can get past where I got stuck :P
One thing to note is that I recently added spline interpolation to the polygon shape, which is currently not exposed by should work if exposed. There is some discussion in that PR (and its predecessors) about how to expose this exactly, but nothing conclusive. It might be useful to consider here, since I expect most use cases where lasso drawing is useful would prefer to have smooth shapes rather than jagged. (note however that the smoothing is only visual for now, and there is no way to currently get it out at higher levels, for example to generate labels).

I had been thinking about this, while the user might not want to have jagged shapes it gives a clearer view of what the polygon data looks like, so I could add it as optional. I would say that if there is the thought of not making it only visual then rdp and interpolation should be mutually exclusive.

Am I understanding correctly that the rdp use here is changing the actual points used to define the shape? In that case, I don't think it's mutually exclusive with the spline interpolation (which is only a visualisation tool).

Yes you understand correctly:) I agree if the interpolation is purely for visualization purposes then it is not mutually exclusive. If we were to use it to interpolate between datapoints and add those new datapoints then it would be as rdp aims to reduce the number of datapoints while interpolation aims to add.

Awesome stuff @LucaMarconato! 😍 What's the current state re new button vs mode on existing polygon drawing button? Even though I initially bristled at yet-another-button, after reading the workflow descriptions in detail and thinking about it more, I actually disagree with @brisvag and prefer option 2 with the lasso tool being separate, because I think with a mouse, holding the button down is not very ergonomic for even slightly complex shapes. With the pen of course this problem goes away, but not everyone has a pen and tablet and they might still want to take advantage of this tool.
@brisvag I think also that spline interpolation would be important for shapes->labels conversion? At least that is an aspirational goal I think, so it's not purely cosmetic...

Well.... we can change the workflow a bit so we can still get rid of that second button. Currently, it is the case that when you drag with the mouse button pressed it does not draw points and when you release it continues. I think this behaviour can be 'abused'  to avoid the ergonomics issue. I think in general we need to think about how to expose different modes of the tool in an efficient manner. Perhaps by pressing a number key for example to indicate that one is drawing with pen or by clicking on the button and having a drop down menu, which I believe has been discussed elsewhere.
Regarding spline interpolation, what would the use case be for shapes to labels conversion as in why would a user not directly use labels when drawing?

@brisvag I think also that spline interpolation would be important for shapes->labels conversion? At least that is an aspirational goal I think, so it's not purely cosmetic...

Yup, totally agree. We can always surface that at a later point.

Regarding spline interpolation, what would the use case be for shapes to labels conversion as in why would a user not directly use labels when drawing?

It's a lot easier and more precise (and most importantly, more easily modifiable later!) to draw a path instead of painting pixels. That's the reason I started working on this (and got interested in this PR) in the first place, cause I want to then convert to labels.

Thanks for clarifying:) I just wasn't sure as my use case is really different. I am usually dealing with overlapping cells where conversion would make it so that there is no information regarding the parts that overlap. Perhaps lets discuss exposing the different functionalities in the next community meeting.

Regarding spline interpolation, what would the use case be for shapes to labels conversion as in why would a user not directly use labels when drawing?

Another use case is very large images — we don't have multiscale labels painting yet so drawing shapes and converting later is more efficient in this case.
I won't be at the us/euro meeting but I'll be at the next euro/asia meeting, would love to discuss then!

Getting close now. The polygon lasso button can soon be removed again. Both polygon draw functionalities are now combined in one mode and one can change on the fly. Currently steps are like this:
1 Click to start drawing
2 If mouse move while not pressed -> lasso polygon (add vertex every 5 canvas pixels)
3 if drag event, on mouse press and while moving mouse when mouse pressed:
- move vertex to be added
On release:
- Add vertex
4 Double click to stop drawing.
There is one bug which stumps me at the moment. When drawing a polygon by dragging and then double click on release to stop drawing, the last vertex seems to be removed from the visual. I checked whether the last vertex actually gets removed from the polygon data but that is not the case. I did this by checking but the last element and the length of the polygon shape data. The last element stays the same before and after RDP, but the length does change. Funny enough the last datapoint does not seem to be removed from the visual when after dragging moving the mouse a bit before double clicking to finish drawing. See below video for all examples including the bug.
https://user-images.githubusercontent.com/22346363/221448278-cdeb8248-4fc1-48be-86d3-3cb9eaeae849.mp4

Great work! One comment about the mouse workflow. I think that the support for users with graphic tablets (especially iPad with Sidecar, which could be the best setup for pathologists that want to annotate images) should be addressed. In that case the natural ux for the user would be like when drawing with a pen: the polygon button (or lasso polygon button if both are present) is pressed, and then the polygon is drawn whenever the user does a mouse drag.

Great work! One comment about the mouse workflow. I think that the support for users with graphic tablets (especially iPad with Sidecar, which could be the best setup for pathologists that want to annotate images) should be addressed. In that case the natural ux for the user would be like when drawing with a pen: the polygon button (or lasso polygon button if both are present) is pressed, and then the polygon is drawn whenever the user does a mouse drag.

Thanks! Yes I am looking to support that. Drawing with the pencil is a drag event so it is mutually exclusive at the moment. What I will do is adding an action on the polygon button so that 1 click means you have mouse mode and then 2 clicks will be pencil mode which will also be indicated by a small pencil in the polygon button icon (discussed with @jni )

We discussed this PR at the eurasia community meeting where we agreed that we prefer two buttons, which would make it easier to support both mouse and pencil in the same button without hard-to-discover functionality such as a right click mode on the polygon button, or a global setting somewhere. (At any rate I alternate between working on the computer or the tablet, so I would be annoyed to be always changing that setting.)

@jni I agree on having two buttons.
I discussed today with Wouter the behavior that the lasso button should have to provide an intuitive user experience for trackpad, mouse and graphic tables (both Wacom-like (they have a proximity sensor, this includes the new iPad Pro 2022) and the old-iPad-like (they can only register the pencil when it touches the screen)). Any feedback is highly appreciated.
The lasso button will have two behaviors, what triggers one or the other is the way the user starts drawing.
behavior 1: invoked when the user does a single click on the canvas

after the click the left button (mouse/trackpad) is not pressed, or the pen is not pressing the screen
if the user moves the cursor without pressing, a lasso curve is drawn
if the user double clicks, the lasso drawing is ended (and the shape is connected with a straight segment)
if the user does a single clicks, a single point will be inserted
if the user presses the left button and moves the mouse with the button pressed (presses and moves the pen), a lasso curve will be drawn until the button is released.

when the cursor is released we still are in behavior 1 and things operate like described so far
alternatively, we can make that when the button is released, we enter behavior 2 (and it will stay in behavior 2). Please give feedback on this.

behavior 2: invoked when the user presses the left button or pen on the canvas and keeps pressing

the left button is still down, the pen is still touching the screen, when the user moves the cursor/pen (keeping pressing), the lasso curve is drawn
if the user releases the left button (lifts the pen), the curve stops drawing
if the user moves the cursor/pen (without pressing), nothing happens
if the user does a single click, a straight segment is added up to the point that was clicked
if the user presses and moves the cursor/pen, a straight segment is added to connect the old lasso curve and the new location, then a new lasso curve is drawn
a double click (double pen touch) closes the curve

Summing up:

if the user wants to draw a curve without having to keep the left button down (trackpad or mouse), it will likely start drawing with a single click, invoking the behavior 1.
if the user wants to draw a curve with a pen, or with a mouse keeping the left button down when moving), it will likely start drawing by pressing the cursors/pen and moving it while keeping it pressed.

I am currently at the scverse hackathon starting to work on this again.

For the time being I reverted to using 3 buttons. @Czaki pointed me to pseudo selector in qss which I will look into.
Also to allow for distance threshold taking into account zoom, the distance threshold is calculated based on screen coordinates now. This currently works only in mouse draw mode and not in tablet draw mode. This due to tablet draw mode requiring a yield.
I will look into how to get around this.
@jni it has been a while since last talking about this PR. Do you remember what we agreed upon for the settings of the rdp algorithm? As in how to expose them to the user?

Also will do a refactor of the code as there is quite some code duplication.

This currently works only in mouse draw mode and not in tablet draw mode. This due to tablet draw mode requiring a yield

What do you mean? Events always hold the canvas coordinates as Event.pos, so you should always have access to them.

At the moment this works as intended in mouse draw mode but not in tablet draw mode due to the add_path_polygon_tablet having a yield. I do have a way around this, but it is not that nice. For some reason that solution does get rid of creating the triangulation meshes though so there is no problem with adding as many points as you want while drawing a shape.

Let me quickly merge the PR from my branch into Luca's

With the last commit the distance for both modes is determined based on the canvas position with respect to the screen and not the data. The solution is not neat though, but does prevent triangulation meshes from being drawn in tablet mode, making it more performant.

https://user-images.githubusercontent.com/22346363/235110892-8b2aad13-3cec-4c86-ba18-91c75de4e2c6.mp4
Sorry, my mouse is quite sensitive so not perfect for drawing, but the lasso tool is quick and really responsive now, no matter the number of vertices a shape has.

Hi folks,
I'm sorry that this is going to be a fly-through review — I'm off for a 1 week holiday hiking tomorrow and lots of preparations to be made — including here on the repo. 😅 But high level overview:

The global _last_cursor_position calls are really icky. I don't have a strong alternative idea here but I'd really, really like to refactor that. Potentially, I think I would prefer an attribute on the layer. Ideally, we would find a way to pass an extra argument to the function, perhaps with generator.send?
speaking of which, it would be great if we could unify the two modes; please correct me if I'm flip-flopping, but I think we agreed on a new button rather than re-using polygon, but the idea of two new buttons is new, right? I don't fully understand the reasoning that "the tablet mode requires a yield" so we can't unify them — can't the mouse mode be implemented with such a yield? And if so, that might suggest a way to send the last cursor position universally? I'm not sure on this at all but my gut feeling is very much that there is a better way than a global. And yeah, I'd love a longer explanation here about why two modes are needed — I had thought that one mode + differentiating between click vs click-and-hold would be enough to distinguish things.
lots of untested code which makes me nervous — would be great to add some tests.
RDP should be a setting, I agree. (Do you need guidance on how to implement settings? If so I hope @Czaki can help here...) I'm particularly nervous looking at the video that the RDP algorithm happens after you're done drawing, which means that what you're drawing and what you see in the end are two different things. For most users, this would be very surprising and annoying if the end result doesn't capture what they were trying to do. So I would make RDP a setting and set it to 0 by default.
The idea of using speed as an indicator of where paths can be simplified is also interesting; e.g. just place a point every X ms or Y canvas px, whichever comes later, and both X and Y are user defined — but we can leave that to a later PR and iterate with more user feedback. But the advantage here is that what the user sees happening is what actually ends up in their data, which is important.

Ok, I'm hoping that's enough feedback for another round of revisions... Wouldn't mind if this is merged in a week but at any rate I'm going to be out of action for about that long. Sorry about that! 🙏 See you on the other side! ⛰

Haha I should have made a new small screen recording.
The modes are unified already, but this wasn't the case in the screen recording. At first, I developed the modes separately because I wasn't sure how to go around the button pseudostates to allow for switching between mouse and tablet draw modes.
However, I found a way to allow for both modes in one button which only depends on how the user interacts with napari. Based on the interaction it is automatically determined whether you are using a tablet or not. Currently this is the logic:

Start in drag mode, initiate shape on press, yield
While press and mouse move, yield (add vertices to the shape)
On release, check number of vertices, if more than 2 finish drawing shape, else move to 4
In case of only 2 vertices it means there was a single mouse click, the shape drawing is still active.
the _move callback is used to add vertices when mouse is not pressed.
Upon second mouse press the drawing of the shape is finished. If not enough vertices the shape will be automatically deleted.

Regarding the refactor, I forgot to mention it here but as mentioned in the napari zulipchat I will do a refactor. I didn't write tests yet because I want the refactor first.

Regarding your last point, I like that idea

https://user-images.githubusercontent.com/22346363/235291254-c3ef70ef-f84a-46ea-8b3b-af3e0a296f03.mp4

This is @LucaMarconato trying it out with some visium data on the tablet:)
https://user-images.githubusercontent.com/22346363/235292138-e9a5658f-1396-4372-8d18-ad6fb0819f95.mp4

😍

At the community meeting, I suggest putting the distance threshold to a new point in settings (either application or experimental).
As such threshold is user/data specific, not session, so it will be nice to preserve it between sessions.
We should also work in separate PR about the mechanism of discoverability of new features.

This behaves super nice now! Love it!

This behaves super nice now! Love it!

Thanks! I asked Luca to adjust the description of the PR and to convert it from draft to ready for review as I think the PR is ready now.

Few remarks. I will try to make a more detailed review tomorrow/Friday.

@Czaki : just a gentle reminder about this from the PR party. I also added the async-update label.
In general, there are lots of commenters and comments here, so it would be good to understand if there are any big blockers here.

I think all of @Czaki's concerns have been addressed, including the big one which was about the distance between points being a preference. So, all systems green, in it goes! 🚀 I've updated the PR title and description to describe the final state of this PR at merge time.
Thank you @LucaMarconato and @melonora for your amazing patience and persistence with this PR! I'm really excited to get it into users' hands!

Just tried this, friggin awesome :heart_eyes:! I wanted to use it for paths, but it seems like I can only do polygons? Or is there an option someewhere that I'm missing?
Also, something that I thought would be nice as followup: the ability to modify existing polygon/paths in "lasso mode": basically a combination of "add vertex" and "remove vertex" modes, but dragging. You could "reroute" the curve in a certain radius from the mouse... Probably complicated to implement, but would be way smoother to work with than the add/remove tool.

@brisvag Thanks! Yes at the moment it was only for polygons, but can add it for paths too. At the moment I did not do it yet because of the discussion with extra buttons (should this also be an extra button just as with the polygon lasso tool or not) and the discussion in #5806. What I thought would be simplest for dragging / removing is merge and erase mode for this, but @ksofiyuk thought it would be more difficult to implement. Shapely is able to do this as far as I know, but we are not currently using it.
@jni @brisvag If lasso paths are useful enough and we can quickly decide on the user interface I can have this ready still before next release.

Yes I think path drawing is a great plan. I guess new button is easiest. The editing stuff seems harder to figure out so I'd leave it for a future discussion. Perhaps you can open an issue for that @brisvag ?


Add to Community Leaders: Keerthan

Change-Id: Iadae8c5d9ec4a52c36b0f1e7ffa9b9e715b80096
Description
Adding myself to community leaders page.

@keerthanvasist need a rebase here


[incubator/kafka] fix spine case secret name results in invalid envir…

…onment variable name
A spine-case secret results in a  SPINE-CASE environment variable which isn't allowed since bash 4.1.
This change replaces dashes (-) with underscores (_) resulting in valid environment variables for spine-case secrets.
Also adding the same secret twice, once as a volume mount and once as an environment variable results in the secret being mounted twice.
Changed so that volume mounts are only created if the secret has a mountPath value

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

@jonaseck2 can you provide more details on what you ran into here?

@jonaseck2 can you provide more details on what you ran into here?

This is the practical issue i ran into:
I have a secret called server-cert containing keys and the jks storepass. I want to be able to mount the certificates and read the storepass as an env from the same secret.
I need to configure the same secret twice, once with a mountPath to get the files, and once without  to get specific keys as an environment var.
given values.yaml:
configurationOverrides:
  "ssl.truststore.location": /opt/kafka/certs/server.jks
  "ssl.keystore.location": /opt/kafka/certs/server.jks
  "ssl.keystore.password": "${SERVER-CERT_STOREPASS}"
  "ssl.truststore.password": "${SERVER-CERT_STOREPASS}"
secrets:
- name: server-cert
  mountPath: /opt/kafka/certs
- name: server-cert
  keys:
  - storepass

First fix is that the environment var set to SECRET-NAME_KEY, which results in an environment variable that cannot be used in bash vars past 4.1. $SECRET-NAME results in expanding the var $SECRET with "-NAME" concatenated as text, ${SECRET-NAME} results in expanding $SECRET with "NAME" as a default value. This is backwards compatible because it previously just didn't work, and the workaround is to use secrets without dashes (-) in them. The fix replaces dash (-) with underscore (_) so the environment var becomes $SECRET_NAME_KEY which is valid.
Second fix is related to mounting the secret twice. Each entry in the secrets array results in a volume mount causing the statefulset to be invalid due to a uniqueness constraint on volume mounts. There's no need to mount the secret unless there's a mountPath connected to it since it will only be used for environment variables. By adding a check if the secret contains a mountPath, we avoid unnecessarily mounting the secret, and allow adding the same secret twice in different contexts.

/assign @benjigoldberg

Thank you @jonaseck2
/lgtm


Trim notes’ name in Breadcrums sidepane for Alternative Hierarchy

With the v2.9.1, Breadcrumbs now can visualize and navigate the notes with hierarchy from a Dendron vault. Thanks so much for you work

In Breadcrumbs plugin on right side pane
Example: i am currently at hierarchy note notes.reading.textbook
I wanna know if it is possible to display the note's name as textbook only, instead of full hierarchy? Similar naming behavior for up, same, down hierarchy level

I can definitely add an option for that!

Added in 2.9.3

Omg. Thanks for implementing so fast. I gotta look at your script to learn how did you do the trim part 😍

Haha sure thing :)
You can check out the commit that added the feature here: https://github.com/SkepticMystic/breadcrumbs/commit/16defd6b1e186b34449c9b34fb6487cdc2e1ba27


RBAC user removing a service makes related stack dissapear for all RBAC users

Bug description
Removing a service that is part of a stack makes it dissapear for all RBAC users, however it is still visible for administrators.
Expected behavior
Removing a service related to a stack as an RBAC user should not hide the stack for RBAC users.
Steps to reproduce the issue:

As an endpoint administrator, browse to the services view and remove a service that is related to a stack.
Browse to the stacks view and see that the stack related to the service that was just deleted is missing.
Login as an administrator and see that the stack is still visible.

Technical details:

Portainer version: 1.22.2
Docker version (managed by Portainer): 19.03
Platform (windows/linux): Linux (proxmox)
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): portainer agent stack
Browser: firefox/chrome

Same issue.

Related to #3337


[MRESOLVER-584] Jetty transport HTTP/2 GOAWAY improvement

Just shorten the client lifespan to connector transaction duration vs as before, for whole session duration. Also simplify the code.

https://issues.apache.org/jira/browse/MRESOLVER-584

@scholzi100 am about to merge this one, as I changed JIRA goal also from "fix" to "improve", which this PR does. And later we can refine things even more.


FormatFlagsConversionMismatchException when benchmark class name is exactly 5 characters long

When running a microbenchmark with a benchmark class name of 5 characters, the following runtime exception occurs:
Exception in thread "main" java.lang.RuntimeException: java.util.FormatFlagsConversionMismatchException: Conversion = s, Flags = 0
        at net.adoptopenjdk.bumblebench.core.Launcher.runBumbleMainOn(Launcher.java:64)
        at net.adoptopenjdk.bumblebench.core.Launcher.main(Launcher.java:55)
Caused by: java.util.FormatFlagsConversionMismatchException: Conversion = s, Flags = 0
        at java.base/java.util.Formatter$FormatSpecifier.failMismatch(Formatter.java:4511)
        at java.base/java.util.Formatter$FormatSpecifier.checkBadFlags(Formatter.java:3276)
        at java.base/java.util.Formatter$FormatSpecifier.checkGeneral(Formatter.java:3235)
        at java.base/java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2999)
        at java.base/java.util.Formatter.parse(Formatter.java:2849)
        at java.base/java.util.Formatter.format(Formatter.java:2774)
        at java.base/java.util.Formatter.format(Formatter.java:2728)
        at java.base/java.lang.String.format(String.java:5162)
        at net.adoptopenjdk.bumblebench.core.BumbleBench.run(BumbleBench.java:266)
        at net.adoptopenjdk.bumblebench.core.MicroBench.run(MicroBench.java:107)
        at net.adoptopenjdk.bumblebench.core.BumbleBench.bumbleMain(BumbleBench.java:287)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:586)
        at net.adoptopenjdk.bumblebench.core.Launcher.runBumbleMainOn(Launcher.java:61)
        ... 1 more

This exception occurs in BumbleBench.run(), where the lines reporting the score and uncertainty at the end of the run are constructed and printed.
In order to ensure an aesthetic alignment of the two lines, a number of spaces are sometimes added to the beginning of the second line, as in this example:
  TrigBench score: 24703088.000000 (24.70M 1702.2%)
      uncertainty:   1.9%

However, the line of code which produces the correct number of spaces assumes that the name of the benchmark is at least 6 characters:
String spaces = String.format("%" + (_name.length()-5) + "s", "");

Since %0s is not a valid string format specifier, if the class name is 5 characters long, we get a crash. Although obviously less significant, if the class name is 4 characters or less, we don't get a crash, but we also don't get the alignment that this code intends to produce. For example, here is the output for a benchmark with a 4 character name, Test:
  Test score: 7955413.000000 (7.955M 1588.9%)
   uncertainty:   1.1%

The following simple benchmark can reproduce this crash:
// Clone.java
package net.adoptopenjdk.bumblebench.stringcoding;

import net.adoptopenjdk.bumblebench.core.MicroBench;

public final class Clone extends MicroBench {

    protected long doBatch(long numIterations) throws InterruptedException {
        for (long i = 0; i < numIterations; i++) {}

        return numIterations;
    }

}

The following code would fix the crash and also ensure both lines are properly aligned no matter the length of the benchmark name. It can probably be cleaned up further, but I thought I would include it just as a starting point:
// In net/adoptopenjdk/bumblebench/core/BumbleBench.java
		if (verify()) {
			String line1_prefix = "  " + _name + " score: ";
			String line2_prefix = "  uncertainty: ";
			if (line1_prefix.length() < line2_prefix.length()) {
				line1_prefix = " ".repeat(line2_prefix.length() - line1_prefix.length()) + line1_prefix;
			} else if (line1_prefix.length() > line2_prefix.length()) {
				line2_prefix = " ".repeat(line1_prefix.length() - line2_prefix.length()) + line2_prefix;
			}
			out().println("\n" + line1_prefix + String.format("%f",_maxPeak) + " (" + score(_maxPeak) + " " + logPoints(_maxPeak) + "%)");
			out().println(line2_prefix + percentage(_uncertainty) + "%");
		} else {
			out().println("ERROR: failed verification.");
		}

@dylanjtuttle Pull Request would be welcome!


analysis/integer: fix the overflow check of bit vector multiplication

Differently than the bit vector addition, an overflowed bit vector
multiplication does not necessarily result in a value less than any
of its operands (e.g., the multiplication of two 8-bit vectors 0x7 and
4 produces 0xC).
The previous attempt to fix this issue used Z3 API BVMulNoOverflow
which is only available in newer versions of Z3 and unfortunately
brought regressions. The fix in this commit implements a common
algorithm to check the overflow of symbolic bit vector multiplication
and does not reply on any new Z3 APIs.

@hzzhang Looks good, however it seems that we found the problem with z3 so we can use your old fix. Will get back to you on that

That's a good news.

For reference #695

Closing this, because of #702


feat: port Algebra.Hom.NonUnitalAlg

There are currently no build errors but six linter errors, all from the simpNF linter. These six come in pairs associated to the definitions of NonUnitalAlgHom.fst, NonUnitalAlgHom.snd, NonUnitalAlgHom.prod.
The errors can be solved by writing three simp lemmas manually instead of using simps (as shown in suggestions). It would be good to know if this is a limitation of simps or a case of pilot error.
In particular it would be good to understand why simps is generating lemmas of the form:
NonUnitalAlgHom.fst_toDistribMulActionHom_toMulActionHom_toFun

The initialize_simps_projections needs a -toDistribMulActionHom argument. Also, you probably want to define a custom NonUnitalAlgHom.Simps.apply. Mimic the code of MonoidHom or something. Or merge #2045, after which these things will happen automatically.

Thanks @fpvandoorn
What do we need to do to get https://github.com/leanprover-community/mathlib4/pull/2045 / https://github.com/leanprover-community/mathlib4/pull/2042 merged? Are they just waiting for a review?

Thanks :tada:
bors merge


Ability to Extend/Inherit Styles of Variant

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Currently, when we create a custom variant for a component such as a Button, we have to manually define all of the styles for that variant. This can be time-consuming and can lead to duplication of code when we want to create a variant that is similar to an existing one with some slight modifications.
My suggestion is to add a new feature that would allow us to extend or inherit the styles of an existing variant when creating a new one. For example, if we create a new variant called contained_v2 for a Button, we should be able to specify that this variant should have all the existing styles of contained_v1 with the new ones applied on top.
This would save us a lot of time and effort when creating variants that are similar to existing ones, and would help us maintain a consistent style across our projects.
Examples 🌈
	MuiButton: {
		variants: [
			{
				props: { variant: 'contained_v2' },
				inherit: "contained",  // SUGGESTION
				style: ({ theme, containedStyles }) => {
					return {
						...containedStyles,
						minWidth: '112px',
						background: theme.palette.background.paper,
						color: theme.palette.primary.light,
						boxShadow:
							'0px 2px 2px rgba(10, 16, 20, 0.24), 0px 0px 2px rgba(10, 16, 20, 0.12)',
						'&:hover': {
							background: 'background.paper',
						},
						'&:active': {
							background: 'background.paper',
						},
					};
				},
			},
		],
	},

Motivation 🔦
No response

It's an interesting proposal, we can consider it for v6.

I second this! This would be awesome.

👍

It will be useful!

yes pls


[Traefik Plugin Catalog] Plugin Analyzer has detected a problem.

The plugin was not imported into Traefik Plugin Catalog.
Cause:
failed to run the plugin with Yaegi: the load of the plugin takes too much time(10s), or an error, inside the plugin, occurs during the load: 1:21: import "github.com/gordonlukch/Keycloak-Introspect" error: /tmp/traefik-plugin-gop1140033746/src/github.com/gordonlukch/Keycloak-Introspect/keycloak_introspect.go:8:2: import "github.com/Nerzal/gocloak/v12" error: /tmp/traefik-plugin-gop1140033746/src/github.com/gordonlukch/Keycloak-Introspect/vendor/github.com/Nerzal/gocloak/v12/client.go:15:2: import "github.com/go-resty/resty/v2" error: /tmp/traefik-plugin-gop1140033746/src/github.com/gordonlukch/Keycloak-Introspect/vendor/github.com/go-resty/resty/v2/request.go:605:48: cannot use type resty.RetryConditionFunc as type func(*unsafe2.dummy, error) bool

Traefik Plugin Analyzer will restart when you will close this issue.
If you believe there is a problem with the Analyzer or this issue is the result of a false positive, please contact us.

try fixed the issue, "go mod tidy, go mod vendor".


Actions: Typo in workflow command table

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions
What part(s) of the article would you like to see updated?
The table at the end of the Using workflow commands to access toolkit functions section has an error on its last line.
The equivalent workflow command for the core.warning toolkit function is given as warning file. That should just be warning.
file is the name of one of the parameters to that command, so it shouldn't be shown as part of the command name. For example, the entry for core.error in the same table says the command is just error.
Additional information
No response

@rcowsill
Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

I would love to work on this issue! 🙋♂


Event Name MakeManagedDatabaseInaccessible incorrect

In this documentation it is stated the event name for databases in SQL Managed Incidents should be MakeManagedDatabaseInaccessible
However the event is MakeManagedDbInaccessible (DB not Database)
Please find redacted event log for evidence
{
"channels": "Operation",
"correlationId": "REDACTED",
"description": "",
"eventDataId": "REDACTED",
"eventName": {
"value": "",
"localizedValue": ""
},
"category": {
"value": "Administrative",
"localizedValue": "Administrative"
},
"eventTimestamp": "REDACTED",
"id": "REDACTED",
"level": "Informational",
"operationId": "",
"operationName": {
"value": "Microsoft.Sql/managedServers/databases/write",
"localizedValue": "Microsoft.Sql/managedServers/databases/write"
},
"resourceGroupName": "REDACTED",
"resourceProviderName": {
"value": "MICROSOFT.SQL",
"localizedValue": "Microsoft SQL"
},
"resourceType": {
"value": "MICROSOFT.SQL/managedinstances/databases",
"localizedValue": "MICROSOFT.SQL/managedinstances/databases"
},
"resourceId": "/REDACTED",
"status": {
"value": "Succeeded",
"localizedValue": "Succeeded"
},
"subStatus": {
"value": "",
"localizedValue": ""
},
"submissionTimestamp": "REDACTED",
"subscriptionId": "REDACTED",
"tenantId": "",
"properties": {
"originalEventTimestamp": "REDACTED",
"CorrelationId": "REDACTED",
"EventId": "REDACTED",
"EventName": "MakeManagedDbInaccessible",
"OperationName": "Microsoft.Sql/managedServers/databases/write",
"Status": "Succeeded",
"Description_scrubbed": "MakeManagedDbInaccessible: Database REDACTED on managed server REDACTED is inaccessible and requires user to re-establish access to Azure Key Vault Key. https://go.microsoft.com/fwlink/?linkid=2095036",
"Caller": "Unavailable",
"CallerCredentialType": "NotSpecified",
"EventChannel": "OperationLogStore",
"IpAddress": "",
"EventSource": "SQL Databases Event Supplier",
"EventProperties": "REDACTED"
},
"relatedEvents": []
}

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

ID: 83b6d066-9a0d-ebdb-7432-fb4ae7a82794
Version Independent ID: 645e4ba4-7898-c2ec-bbb4-c39aecb7e21f
Content: Common errors with customer-managed keys in Azure Key Vault - SQL Server
Content Source: docs/relational-databases/security/encryption/troubleshoot-tde.md
Service: sql
Sub-service: security
GitHub Login: @rwestMSFT
Microsoft Alias: randolphwest

I have updated the documentation and it should be live by tomorrow.


 Placement doesn't matter, just that it is there somewhere.
# sent_id = gfud1000002
# text = of brain and spinal cord
# <http://snomed.info/id/188462001>
…

Oh, I noticed that if I put the comment in as # sent_id = <original comment>, then it actually includes much more helpful output. So nevermind, it works already! 😁

Oh, I noticed that if I put the comment in as # sent_id = <original comment>, then it actually includes much more helpful output. So nevermind, it works already! grin

Yeah right, even though it would also make sense to retain original comments that have nothing to do with the sentence id.
I had thought about this but I seem to recall that gf-ud (the UDConcept module, which I'm using pretty much everywhere) was making that slightly annoying to implement.


Timeline exploration

[ ] Using fixed and variable thresholds
[ ] Use CASC regions to visualize regional patterns
[ ] Using different % thresholds - try all thresholds using color to encode the %

The purpose is to get a quick look at the chart with different facets of the drought properties data. The styling does not need to be perfect, but should be consistent across charts to allow us to easily compare them and make decisions on the next steps as well as see broad patterns across the approaches

Migrated this from https://github.com/USGS-VIZLAB/what-is-drought/issues/19
I believe some of this has been accomplished, please document here @hcorson-dosch

See also the Design Studio mural, where these variations were discussed.
Fixed vs variable thresholds
Fixed - 2% - National - 1951-2020

Variable - jd7d - 2% - National - 1951-2020

CASC regions
Shows clear discrepancies in # of gages per region, as well as very different patterns in different CASC regions
Fixed - 2% - 1951-2020
Midwest:

North central:

Northeast:

Northwest:

South central:

Southeast:

Southwest:

Different % thresholds
Variable - jd7d - 1951-1952
2%

5%

10%

20%

30%

Initial exploration work done, so closing this issue


solution to have separate pages in vue

vue routing implemented for contacts

added stuff from 1-backend branches that were approved before but still not merged into main (although I thought they were)

@katsmamina I have now added all the routes in the header + /thankyou ..with empty text inside the files... + imported the cloudinary code for saving photos in Signup.vue.. of course, the returned URL still has to be passed to the backend API..later by Tugba


Workfile Template Builder: Allow Create Placeholder to define the 'active' state

Changelog Description
Workfile Template Builder: Allow Create Placeholder to define the 'active' state of the created instance.
Additional info
Example in Houdini using https://github.com/ynput/ayon-houdini/pull/36

The template:

After template build:

Testing notes:

would be nice to test in Nuke and Maya if it does not break anything.
Use old template where are placeholders without active.
Use new template and try if it creates activated/deactivated instances based on the placeholder data.

Test whether this works when creating create placeholders in other hosts, like:

[ ] Nuke
[ ] Houdini (requires https://github.com/ynput/ayon-houdini/pull/36
and bugfix https://github.com/ynput/ayon-houdini/pull/41 )
[ ] Maya (does not have "Create" placeholders - but may be good to test whether it still works)
[ ] (not sure which other hosts support Create Placeholders?)

Existing create placeholders in an existing template should still work and default to active.

Code looks good, would be nice to test in Nuke and Maya if it does not break anything.
* Use old template where are placeholders without `active`.

* Use new template and try if it creates activated/deactivated instances based on the placeholder data.

Note: Maya does not have support for "Create" placeholders. Nonetheless, I added these testing notes to the PR description. 👍


While cloning the repo stuck at 0.0%

May be caused by the public wifi which I'm using, I'll report if same happens with good internet connection.

Could you please provide the repository URL (or F-Droid application)?

Saw this once too, I guess it was related to #69
Closing and reopening the app made it work.

Saw this once too, I guess it was related to #69

That issue was already fixed when I released the v0.9.7, though. I know it can sometimes take long at 0%, but then it should work normally.

I tried this with Stringlate itself and as I thought, the problem was the hotspot, works fine with my own wifi.

Now I'm stuck at 0.1% trying to download Mysplash after a couple of minutes Stringlate says that no Strings were found.
I used my own Wi-Fi this time so that's not the problem.

Now I'm stuck at 0.1% trying to download Mysplash

Very strange behaviour. I can reproduce the "bug", or whatever this is.

Now it gets stuck at 28%! But at least the progress shows the % of cloned objects, so although some objects may be very, very large (and I don't seem to be able to tell how large), the progress is now more accurate.

The problem if I added back the (faster) old way to download the strings for GitHub repositories only, then the image for the application you're trying to translated wouldn't be downloaded. And it would be awkward that this only happened for GitHub repositories. Any ideas?

Maybe downloading the image from the F-Droid repo/the installed app itself, if avalible?
You also don't need the whole repo only for that image, I guess.
Am 30. Januar 2017 19:13:00 MEZ, schrieb Lonami<EMAIL_ADDRESS>
The problem if I added back the (faster) old way to download the
strings for GitHub repositories only, then the image for the
application you're trying to translated wouldn't be downloaded. And
it would be awkward that this only happened for GitHub repositories.
Any ideas?
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/LonamiWebs/Stringlate/issues/78#issuecomment-276143229

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9/p≡p gesendet.

Maybe downloading the image from the F-Droid repo/the installed app itself, if avalible?

Nope, impossible. The URL of the repository for a given application is not enough information to determine the package, which I need to retrieve the image. I would need to download something.

You also don't need the whole repo only for that image

I know, neither I do to retrieve the strings. But git clone doesn't allow you to cherry pick files like "I only want .xml files".

As it turns out @OffifialMITX (I missed this), the repository has the strings under "res/resource/values/strings.xml" and not under "res/values/strings.xml" (note how there is no /resuorce/ in between). I didn't even know this was possible, but it is. I added support for it on the 7d02a59 commit :)
Thanks for pointing this repository out.


remove password auth & root ssh access

Explicitly set password auth and root login off in SSH daemon config
to improve security.
Resolves #26

Merging this. Please tag me if you have any concerns


Cleanup SqlWalker code

Manually rebased and applied few changed, thanks @ReenExe!
doctrine/doctrine2@28025b823060b7ca1ad13a4fab32735fddc7e4ab


can't evaluate field MediaType in type string

Description
When adding a markdown image, hugo/npm produces an error
Template changed /_default/_markup/render-image.html
ERROR Rebuild failed: render: failed to render pages: render of "home" failed: "~/Documents/websites/site/site/layouts/index.html:10:9": execute of template failed at <.Content>: error calling Content: "/Documents/websites/site/site/content/_index.md:1:1": /Documents/websites/site/site/node_modules/@thulite/images/layouts/_default/_markup/render-image.html:155:12": execute of template failed at <$r.MediaType.SubType>: can’t evaluate field MediaType in type string
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)

Steps to reproduce
The following markdown is being used:
---
title: "Test"
description: ""
lead: "Testing"
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
seo:
  title: "Testing" # custom title (optional)
  description: "Testing" # custom description (recommended)
  canonical: "" # custom canonical URL (optional)
  noindex: false # false (default) or true
---
![bug](images/test.jpg)

Notably, when a remote image is used, it' works just fine.
---
title: "Test"
description: ""
lead: "Testing"
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
seo:
  title: "Testing" # custom title (optional)
  description: "Testing" # custom description (recommended)
  canonical: "" # custom canonical URL (optional)
  noindex: false # false (default) or true
---
![A young lion cub walking through a wooded area](https://images.unsplash.com/photo-1703237307519-104c7aebf46c?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwcm9maWxlLXBhZ2V8M3x8fGVufDB8fHx8fA%3D%3D)

Environment
Paste the information here as shown by:
hugo version && npm --version

hugo v0.135.0-f30603c47f5205e30ef83c70419f57d7eb7175ab+extended linux/amd64 BuildDate=2024-09-27T13:17:08Z VendorInfo=snap:0.135.0
10.8.3

Do you have an images/test.jpg in assets/images/test.jpg?  — see also Resource Locations

Looks like that was the issue. Thanks!