Display of ROOTFile fails for certain file

ROOTFile with 2 entries and 25 streamers.
./test/samples/km3net_offline.root
ERROR: unlock count must match lock count
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:33
  [2] unlock(rl::ReentrantLock)

...
caused by: UndefVarError: Head not defined
Stacktrace:
  [1] macro expansion
    @ ~/.julia/dev/UnROOT/src/root.jl:111 [inlined]
  [2] (::UnROOT.var"##getter#258#116"{ROOTFile, String})()
    @ UnROOT ~/.julia/packages/Memoization/f2NeI/src/Memoization.jl:96
  [3] get!(default::UnROOT.var"##getter#258#116"{ROOTFile, String}, lru::LRUCache.LRU{Any, Any}, key::Tuple{Tuple{ROOTFile, String}, NamedTuple{(), Tuple{}}})

For the record: the locking issue occurring there should have been solved by df2b889c5a7d8f8efda6b0522cc05f2c99bf8c9a

That's good news! We should take the opportunity to loop over all sample files in the test suite and make sure that printing is working, or at least does not error out 🤪


[EDA] Feature Parameter Date Tests fail intermittently

Critical Changes
Changes
Issues Closed
New Metadata
Unpackaged Metadata
Deleted Metadata
Testing Notes
Fixing build failure. No testing is required.

Tested by running the apex tests and now all tests passes.


Fully undocumented readme file

Hi alphamikle!
I do respect your efforts on this topic but I do not have a slittiest idea of how to use your library. Your source of code with an example is useless as I don't know how to navigate thru it. Sorry for saying this, but this is the fact that I have to study this provided project in order to figure out how to use your package - it is too complicated way to do this and not everyone have a time to explore the whole project and neither do I.
Moreover, in this bloc of code (package:high_low/domain/main/logic/main_backend.dart) I got this type of error: "The argument type 'Future<List> Function({void data, required MainEvent event})' can't be assigned to the parameter type 'FutureOr<ActionResponse> Function({required dynamic data, required MainEvent event})'."
@override
  void initActions() {
    whenEventCome(MainEvent.loadStocks).run(_loadStocks);
    whenEventCome(MainEvent.filterStocks).run(_filterStocks);
  }

Unless you provided a simple example with usage both Frontend and Backend  on example of  BLoC or another state manager I can't use this lib, unfortunately.
Please provide a simple example on both repo and pub as all other publishers do.
Thanks in advance.

Hi @fufylev! A big thanks for your feedback. Really appreciate it! I will update the example project this weekend and trigger you.


[B10-1.12.2] Nitor recipe crash

CRASHLOG: https://pastebin.com/VFahiZ98
VERSION: Thaumcraft-1.12.2-6.1.BETA10
Steps to reproduce:

Start learning untill reach Alchemy and Nitor crafting
Open recipe for nitor in Thaumonomicon (Top right icon, because if you press bottom left you instacrash)
Hover mouse over recipe and ingridients, seems working, but...
After 10-15 seconds you will crash

This is still happening for me with beta 11 #514

Make sure you are using a different save.
This fixed the problem for several of the reports, but you may be able to just replace your Thaumonomicon, too, if you want to give that a try.


4.X Regression: Windows support broken

While older versions were running e.g. on git-bash, this fails with 4.x
 kscript "println(1+1)"
[kscript] [ERROR] compilation of scriplet failed
[kscript] [ERROR] Command     : bash -c kotlinc   -d 'C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\scriplet.jar' C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\Scriplet.kts C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\Main_Scriplet.kt
[kscript] [ERROR] Exit Code   : 1
[kscript] [ERROR] Stdout      :
[kscript] [ERROR] Stderr      :
[kscript] [ERROR] error: source file or directory not found: C:Usersbrandl.kscriptcachejar_2ccd53e06b0355d3573a4ae8698398feScriplet.kts
[kscript] [ERROR] error: source file or directory not found: C:Usersbrandl.kscriptcachejar_2ccd53e06b0355d3573a4ae8698398feMain_Scriplet.kt
[kscript] [ERROR] .stderr

Not sure why, because the preparation of the commands looks pretty mach the same as before
FYI @aartiPl

I have checked kscript 3.1.0 on Cygwin and I have problems configuring it on git-bash and on Cygwin:
--
$ kscript
kscript - Enhanced scripting support for Kotlin on *nix-based systems.
<.......>
Copyright : 2020 Holger Brandl
License   : MIT
Version   : v3.1.0
Website   : https://github.com/holgerbrandl/kscript
Admin@Mars ~
$ kscript "println(1+1)"
[kscript] [ERROR] kotlinc is not in PATH
Admin@Mars ~
$ which kotlinc
/home/Admin/.sdkman/candidates/kotlin/current/bin/kotlinc
kotlin and kscript installed using sdkman and binaries visible in shell, but not for kscript.
Any hints how to configure it correctly?

I think the problem is that bash itself is not in the PATH

I found the WSL2 bash.exe in System32 folder kept getting in the way; easy workaround was to copy the msys bash.exe over the top of the one in System32.

@jayvdb - good point
I was able to rename bash.exe from System32 folder using the following commands from win command line (as an admin):
--
takeown /F C:\Windows\System32\bash.exe
icacls C:\Windows\System32\bash.exe /grant :F
ren C:\Windows\System32\bash.exe wsl-bash.exe
 - your windows user name
After renaming Windows 'bash.exe' to 'wsl-bash.exe' KScript has started to proceed with the execution. There are some other problems which I will look for, but for now the question: can we do anything to streamline Windows support in KScript in regards of bash.exe?

I always dreamed of removing the dependency on bash to improve windows support, but never managed to implement it.
Clearly kscript is mainly designed to be a scripting interpreter for bash, which somehow contradicts this idea. So even under windows, I'd assume the user to use a bash-environment to use kscript. But obviously, some users use it in other shells as well.

After @aartiPl 's workaround, getting a different error:
% kscript 'println("hello")'
[kscript] [ERROR] compilation of scriplet failed
[kscript] [ERROR] Command     : bash -c kotlinc   -d 'C:\Users\amynb\.kscript\cache\jar_b1fe1138a572056a6568211c6db7f553\scriplet.jar' C:\Users\amynb\.kscript\cache\jar_b1fe1138a572056a6568211c6db7f553\Scriplet.kts C:\Users\amynb\.kscript\cache\jar_b1fe1138a572056a6568211c6db7f553\Main_Scriplet.kt
[kscript] [ERROR] Exit Code   : 1
[kscript] [ERROR] Stdout      :
[kscript] [ERROR] Stderr      :
[kscript] [ERROR] error: source file or directory not found: C:Usersamynb.kscriptcachejar_b1fe1138a572056a6568211c6db7f553Scriplet.kts
[kscript] [ERROR] error: source file or directory not found: C:Usersamynb.kscriptcachejar_b1fe1138a572056a6568211c6db7f553Main_Scriplet.kt
[kscript] [ERROR] .stderr

@aartiPl Just let me know how I can help/what parts I could focus on. :-)

I have merged to master the first part of the changes for multiplatform support. With kscript from master, I can execute simple scripts from linux/mingw/cygwin. There are still needed additional improvements and fixes though.
https://github.com/holgerbrandl/kscript/commit/63b3f5ebe576c5885c3d23f87854f397a9263071

Shall we do a patch release then (to also include the dependency resolver downgrade workaround)>

Yes, that would be nice. I have just merged additional changes for better OS compatibility and reverted one incompatible change introduced by me previously.
Current status:

I think that the resolver problem is fully sorted out (I have no more issues with dependency resolution).
There are only some fixes for different OS-es but seems they improved the situation, so that simple scenarios work. I wouldn't consider it "solved", though.
There is very initial support for Windows console. Simple kscript "println(1+1)" works in Windows console.

We still need (candidates for 4.1):
(I have put the below points into TODO.md file)

Multiplatform tests for different OS-es

Windows console support requires @argfiles as kotlin/kotlinc command line is too long to execute from the console.

Fix for IntelliJ projects consisting of files with the same names + enable tests

Fix for packaging + enable tests

Cleanup of ENV variables (CUSTOM_KSCRIPT_PREAMBLE -> KSCRIPT_PREAMBLE, KSCRIPT_IDEA_COMMAND -> KSCRIPT_COMMAND_IDEA, KSCRIPT_GRADLE_COMMAND -> KSCRIPT_COMMAND_GRADLE)

Depreciation of @MavenRepository -> @Repository is Kotlin standard

Depreciation of some old features with WARN (comment based annotations, referencing script by $HOME and by '/' - those references won't work for web scripts)

Improve documentation

Improve Unit tests

@here - there is a new version of kscript available: 4.0.2 - please retest with the new version.

Confirm fixed on 4.0.3
% kscript 'println("hello")'
hello

Fixed and tested in kscript 4.1 branch.


Consider moving extra utility functions and context managers to separate submodule

Discussion started in #18.

This was also discussed in #56.

Closing as we seem to got to some convention for handling these.


destroy_vm.py tweaks

Allow specifying VM by inventory name
Really ignore certificate errors
Provide information on arguments passed if no VM is found. Useful if wrapping in a loop.

@tianhao64 Sure, I will take a crack at the suggested changes. Thanks.

@tianhao64 Integrated your suggestions, with the exception of using methods from filter_vms.py which was proving vexing for me.


Send a single reply on a comment is not working

First I must applause for this fabulous extension ! Waiting for the multi-repo !
I am not sure to understand the way of comments are working.
I make a comment, it sent as draft into gerrit.
Then if I want to send them officially, the button seems not to work. It just does nothing.
I can’t even get one log from the gerrit console.
Am I missing something to do somewhere ?
Jonathan

Hi thanks for the kind words!
When saying "the button does not work" which button do you mean? Do you mean the "Send and Start Review" button in the review panel? That button should work (at least it does for me) and should produce logs. If not maybe it's somehow broken in your case, I could figure out what's wrong by adding some debug logs that should help me nail it down.

Hello,
For sure,this one is a missing gitreview file issue.
Maybe it is the reason also for the other topic!
I Wille check it out.


[RFC]: improve README examples of stats/base/dists/t namespace

Description
This RFC proposes to improve the README examples of the stats/base/dists/t namespace package. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:

Browse through the contents of the stats/base/dists/t namespace and identify interesting functions and packages to showcase.
Update the example code block in the "Examples" section of the README for the stats/base/dists/t namespace and open a PR.
When updating the README, examples should follow existing project conventions (e.g., ES5).
Examples may require functionality from other packages to help make examples more interesting.

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

@Planeshifter I want to work on this issue. Please assign me for this task.

Thanks! Assigned you. Please make sure to also update the examples/index.js file; feel free to be creative in coming up with an example code block that's interesting.


Allow loading SF from Uint8Array directly

I think this improves performance as it doesn't require additional memory to be allocated. It also might allow for larger soundfonts to be loaded withing the memory limit of a browser. I haven't conducted any tests though.

By the way, I don't know if you've heard of multiplayerpiano.com, but I created a fork that uses js-synthesizer instead of playing mp3s for each note: https://mpp.zipdox.net/
https://github.com/zipdox/mpp-fluidsynth


[G4] Instrument implementations

Fixes all issues for group G4. Fixes #337 #330 #349 #310 #396 #363 #348 #347

Nice :-). Just a couple of things before I accept the PR:

you have extra files (Trumpet, Instrument, etc.)
you have some files with headers generated by the IDE

Up to you if you want to ask your team mates to do the change, or if you handle the integration yourself. Thanks!

You probably have not added/commited everything: I only see the header removed from Mandolin.java.

Sorry to be picky, but the last 2 files still have the headers...

Did not see those, sorry. Next commit to come should be fine (at last).


Add variable definitions

Part of #1

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 98.23529% with 3 lines in your changes missing coverage. Please review.

Project coverage is 99.64%. Comparing base (56bd4e6) to head (6036eb6).

Files with missing lines
Patch %
Lines

crates/shad_analyzer/src/expr.rs
94.11%
1 Missing :warning:

crates/shad_analyzer/src/shader.rs
98.24%
1 Missing :warning:

crates/shad_parser/src/statement.rs
91.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #18      +/-   ##
===========================================
- Coverage   100.00%   99.64%   -0.36%
===========================================
  Files           17       17
  Lines          758      843      +85
===========================================
+ Hits           758      840      +82
- Misses           0        3       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


PCA analysis reviewer request

This PR focuses on analyzing linguistic variation when doc2vec is used to generate document emebddings as opposed to using an average of word embeddings. Doc2Vec is an extension to the Word2Vec deep learning model, where the central idea is to generate document embeddings while simultaneously generate word embeddings. This is different to my original approach as I'm taking an average of word embeddings to represent documents.
Main take away message is that linear methods are easier to interpret than non-linear methods.
Main files to review:

biorxiv/pca_association_experiment/04_biorxiv_word_pca_component_doc2vec.ipynb
biorxiv/pca_association_experiment/04_biorxiv_word_pca_component_doc2vec.py
pca_01_cossim_word_cloud_doc2vec.png  vs original file

The code looks good to me. I left some comments and suggestions. My main question is that you are saying that this PR compares doc2vec vs your average-based version of document embeddings. Is notebook 04_biorxiv... generating the word cloud for which of these methods? your method or the doc2vec one? The "original file" you linked is which version of these? Sorry I got confused here. My guess is that your "original file" is your method, and this notebook is generating the doc2vec one, and the words cloud generated is harder to interpret ("sap47", "regions3" vs "empirical"/"purified"/"cultured". Did I get the idea?

Ah, now I saw the file name of that notebook has "doc2vec", so this might be right. Maybe you should add "doc2vec" in the description of the notebook at the top.

The code looks good to me. I left some comments and suggestions. My main question is that you are saying that this PR compares doc2vec vs your average-based version of document embeddings. Is notebook 04_biorxiv... generating the word cloud for which of these methods? your method or the doc2vec one? The "original file" you linked is which version of these? Sorry I got confused here. My guess is that your "original file" is your method, and this notebook is generating the doc2vec one, and the words cloud generated is harder to interpret ("sap47", "regions3" vs "empirical"/"purified"/"cultured". Did I get the idea?

Yup! You got the main idea! I have updated my brief description to make this fact more transparent.


Feature/queryautocompletelist

Query autocomplete datasoruce.
A datasource that takes a list of predicates and a display property to build out the autocomplete list.
The path of the resource is saved in the JCR and the display property is used for better UX.
  /**
   * The predicate map.
   */
  - predicates (String[]) = type=cq:Page,path=/content/geometrixx,property=jcr:content/sling:resourceType,property.value=geometrixx/components/homepage

   /**
   * The display property name.
   */
   -displayProperty (String) = jcr:content/jcr:title.

Purpose
Query autocomplete datasource lets you build your autocomplete list using an XPath query.
How to Use
Setup your component dialog and the autocomplete widget described in the documentation here.

Add a "predicates" String array property to the autocomplete widget node
Add a "displayProperty" String property to the autocomplete widget node
Add a "datasource" node to the autocomplete widget node.
Add an "options" node to the autocomplete widget node.

<autocomplete
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/foundation/form/autocomplete"
        fieldLabel="Autcomplete"
        name="./autocomplete"
        displayProperty="jcr:content/jcr:title"
        predicates="[type=cq:Page,path=/content/geometrixx,property=jcr:content/sling:resourceType,property.value=geometrixx/components/homepage]">
        <datasource
                jcr:primaryType="nt:unstructured"
                sling:resourceType="acs-commons/granite/ui/components/form/queryautocomplete/datasource" />
        <options
                jcr:primaryType="nt:unstructured"
                sling:resourceType="granite/ui/components/foundation/form/autocomplete/list" />
       </autocomplete>

Example Dialog
In the example below, the "Autocomplete" node will show results of the query generated by the xpath query
/jcr:root/content/geometrixx//element(*, cq:Page) [jcr:content/@sling:resourceType = 'geometrixx/components/homepage']
The query is generated from using the predicate map
type=cq:Page
path=/content/geometrixx
property=jcr:content/sling:resourceType
property.value=geometrixx/components/homepage

which is defined by the "predicates" property on the widget node.
<?xml version="1.0" encoding="UTF-8"?>
   <jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" jcr:primaryType="nt:unstructured" jcr:title="List" sling:resourceType="cq/gui/components/authoring/dialog" helpPath="en/cq/current/wcm/default_components.html#List">
      <content
      		jcr:primaryType="nt:unstructured"
      		sling:resourceType="granite/ui/components/foundation/container">
         	<layout
         		jcr:primaryType="nt:unstructured"
         		sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns" margin="{Boolean}false" />
         	<items
         		jcr:primaryType="nt:unstructured">
            	<column
            		jcr:primaryType="nt:unstructured"
            		sling:resourceType="granite/ui/components/foundation/container">
               	<items
               		jcr:primaryType="nt:unstructured">
                  		<autocomplete
                  			jcr:primaryType="nt:unstructured"
                  			sling:resourceType="granite/ui/components/foundation/form/autocomplete"
                  			fieldLabel="Autcomplete"
                  			name="./autocomplete"
                  			displayProperty="jcr:content/jcr:title"
                  			predicates="[type=cq:Page,path=/content/geometrixx,property=jcr:content/sling:resourceType,property.value=geometrixx/components/homepage]">
                     		<datasource
                     			jcr:primaryType="nt:unstructured"
                     			sling:resourceType="acs-commons/granite/ui/components/form/queryautocomplete/datasource" />
                     		<options
                     			jcr:primaryType="nt:unstructured"
                     			sling:resourceType="granite/ui/components/foundation/form/autocomplete/list" />
                  </autocomplete>
               </items>
            </column>
         </items>
      </content>
   </jcr:root>

@schoudry I added some documentation that might be helpful for you.

I am guessing we will close this with #711 ?

@kaushalmall @schoudry are this an #711 fundamentally the same? Do we need both? If not, which do you guys like better?

I think Justin we can pull both as long they were consistent and Sreekanth made changes to make 711 like this one.


Validation errors hidden and $input never bound if there are validation errors

Currently, $input->setInputBound(true) happens even if the first $input->bind() is unsucessful. This means it won't run the 2nd time, which is when validation errors are actually shown! This PR will only set $input->setInputBound(true) if the 1st $input->bind() was actually successful.

I noted that this breaks the annotated-command project: https://github.com/consolidation/annotated-command/issues/101

2.8.19 has been released guys, this change has been reverted.

2.8.19 resolved the problem I saw related to this. Thanks!


Ixia-c Container - Data Interfaces - eth1, eth2 ......

The interfaces created in Ixia container are "veth5aa8284, vetha3b8d37". How to figure out eth1 and eth2?

I'm assuming you're using ixia-c-one deployed as part of containerlab topology. If that's the case, the mapping between eth* and veth* can be seen from logs of ixia-c-one (docker logs "ixia-c-one container")


Can I use it in kaggle?

Hi @Culturenotes,
I have not tried installing the project on Kaggle, so I'm not sure how you will go about it.
This thread may however be helpful: https://www.kaggle.com/general/164414

I will close this for now. If you pursue this further and manage to get it to work you can share your solution.


libstable-diffusion_vulkan.so missing from .AppImage ?

Hello and nice work on this GUI !
I was testing the fresh new 0.2.2 AppImage version on my Linux Mint.
I launched it using -vulkan argument, but it does not work because the appImage does not contain the libstable-diffusion_vulkan.so.
Vulkan is the only GPU acceleration available on my Laptop, so I was wondering if you could enable vulkan support for the next release ?

Hello @SuperUserNameMan !
Sorry, but there is no pre built binaries for the vulkan backend yet.
Here is the list of the currently supported backends.
But you can try to build the vulkan backend locally:

clone the sd.cpp repo, switch to the master-9578fdc tag,
follow the build docs to build a shared library
rename the stable-diffusion.so to stable-diffusion_vulkan.so, then place into the /usr/lib system folder

But as i know, the master-9578fdc sd.cpp have some trouble with the vulkan backend, but there is some PR which will fix it.

Which troubles are you referring to ?

As the same what you linked

i just compiled the lib with a manually updated version of ggml.

Nice catch. I have no device for vulkan, so i can't test it.
Because the binaries built here in the github workflow, i can't change the ggml version.


Add rsync-based deploy script

I created a special deploy SSH key that can't do anything but rsync up some files to a specific directory.
Although I guess it should also build the go binary and deploy it along the static site.

This needs to be connected to a GH Action nowß

This needs to be connected to a GH Action now?

I'll configure that after merging, makes things easier.


✨ [Feature]: Breadcrumb组件增加【可下拉】功能

What problem does this feature solve
参考：
https://devui.design/components/zh-cn/breadcrumb/demo#drop-down-breadcrumbs
What does the proposed API look like
参考：
https://devui.design/components/zh-cn/breadcrumb/demo#drop-down-breadcrumbs

Fixed by @angelanana by #1218


Fixing chromedriver install for distros that uses AUR

When installing google-chrome from AUR using pacman path to command is /usr/bin/google-chrome-stable.
This causes an FileNotFoundError in the download_driver function.
This PR fixes it.
Reference: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=google-chrome
install -m755 google-chrome-$_channel.sh "$pkgdir"/usr/bin/google-chrome-$_channel

It seems google-chrome-stable command is available on every linux distro.. future release will replace google-chrome to google-chrome-stable

Getting Chrome Driver...
Traceback (most recent call last):
File "youtube_viewer.py", line 728, in
osname, exe_name = download_driver(patched_drivers=patched_drivers)
File "/root/Ultimate-YouTube-Viewer/youtubeviewer/download_driver.py", line 25, in download_driver
with subprocess.Popen(['google-chrome', '--version'], stdout=subprocess.PIPE) as proc:
File "/usr/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'google-chrome'
root@Server-V2:~/Ultimate-YouTube-Viewer#

@ngewa  install google chrome first

[93mGetting Chrome Driver...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 980, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/mac/Downloads/YouTube-Viewer-master/youtube_viewer.py", line 933, in
osname, exe_name = download_driver(patched_drivers=patched_drivers)
File "/Users/mac/Downloads/YouTube-Viewer-master/youtubeviewer/download_driver.py", line 112, in download_driver
uc.install()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/undetected_chromedriver/_compat.py", line 259, in install
ChromeDriverManager(executable_path, target_version, *args, **kwargs).install()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/undetected_chromedriver/_compat.py", line 189, in install
self.fetch_chromedriver()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/undetected_chromedriver/_compat.py", line 218, in fetch_chromedriver
ver = self.get_release_version_number().vstring
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/undetected_chromedriver/_compat.py", line 208, in get_release_version_number
return LooseVersion(urlopen(self.class.DL_BASE + path).read().decode())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

may you add new auto login gmail account into each thread that we're running?


[RFC] Migrate to AvaloniaUI

Is your feature request related to a problem? Please describe.
Right now we have editor only for win platform.
For going crossplat we need to migrate to avalonia or maui
MAUI dosen't fits bc support for linux provide community and not MS devs.
Describe the solution you'd like
MVVM Crossplat RxUI Stride.Editor.
Describe alternatives you've considered
There is also MVU approach but in MVU we CAN'T easily replace views if we need and it will make editor plugins & customization harder to develop.
On the other side MVU MUCH simplier then MVVM.
However, even with all the pros and cons, I tend to favor slightly more development time and flexibility than ease and complexity of extensibility.
Additional context
dunno
Here are some questions that can aid in the description of the feature request:

What are the usecases?
Stride.Editor on MacOS and Linux

What kind of options/settings are expected/wanted?
All what we have in editor RN. we need to made few platform specific services also

What would the (pseudo) code look like?
Well...

Is the feature affecting behaviour in the editor?
50/50. It adds crossplat support. But common behaviour must be same as now

Is there a component or datastructure?
MVVM or MVU. We need to choose solution that will suite for us. Also if we pick MVVM we can write plugins in MVVM/MVU approach

what kind of documentation is needed or needs to be updated?
dunno

Should there be an example project?
no

Adding these links here in case they are still relevant to this topic.
Readme created by Eideren that discusses similar points here:
https://gist.github.com/Eideren/6424455fd25f3820bbce6594d67e307b
Useful design doc about the stride Repo that could help clear some things up:
https://gist.github.com/manio143/b6666eedb1403deb5525961697d0c25d
A brief example of how to start from Manio using Avalonia:
https://github.com/manio143/StrideComponentsEditorAvalonia

any new progress??

Im not sure if anyone actually has a branch but I am looking into it just to see what is possible.
Unfortunately Im a serial multitasker so it is very slow.
https://github.com/Doprez/stride/commit/1048eb42450b7ac1c50d5cd3f4a05e851b07ed76
I did merge the above branch into my fork to see if I can learn from it but no real progress yet, at least for me.

@Doprez need to mention it on main page

Which is the main page?

@Doprez https://github.com/stride3d/stride/blob/master/README.md

I think it makes far more sense as a page on the wiki

Don't forget we have got also this https://github.com/stride3d/stride/wiki/Community-Projects

@VaclavElias lets merge em then

I know for me the only reason I made a personal list was due to a lack of validation. I still need to check that some of the projects on my list work at all (They could either be someones idea that wasnt completed or just an old version that may not work with current stride).
I do want to start adding some of the links from my list into the wiki as I validate but it will be slow.
Another thing I could do is add my list to the main readme under the Community section labelled as "Unofficial list of Stride resources" if that makes sense.
@Eideren @VaclavElias

@Eideren just a link in primary readme. not all peoples checks wiki pages

Generally primary readmy needs to be better interlinked with our wiki. I would like to look into it in the future once I finish web and docs. I guess @Doprez would have seen the existing link and elaborated on that existing wiki page in the first place if he discovered it 🤔🤣.

Another benefit of having a repo dedicated or the "awesome-lis" is that it can show up on the awesome lists https://github.com/search?q=awesome as a common search.
Eitherway I think its unrelated to this topic for further discussion. Ill create 2 seperate PR's one for the Wiki and one for the main readme and it can be decided then if we want both or just the one.

been looking at this again and just wanted to add some interesting findings.
Ryujinx currently has an example of using Opengl AND Vulkan with Avalonia inside of a (NativeControlHost)[https://reference.avaloniaui.net/api/Avalonia.Controls/NativeControlHost/]. (this)[https://github.com/Ryujinx/Ryujinx/tree/master/src/Ryujinx.Ava] is the project running Avalonia the default is still using SDL in the main branch.
They have a list of some issues but it seems like some might be specific to Ryuijinx (Avalonia Ryujinx issues)[https://github.com/Ryujinx/Ryujinx/issues/3662].
Thats it for now I am taking a peak at how we do the rendering in Stride and it may not be the worst thing to implement as a test for Opengl. I will be tracking it (here)[https://github.com/Doprez/stride/tree/avalonia-game-context] as I learn wish me luck!

the stride editor has docking/ scripting , but all that tabbed is even harder than just sharing a buffer..  which is really hard
combined.  Tabbed dialogs deactivate, disposed,  nauced etc.
Wtih Avalonia there are 3 OSS choices  and this one is in flux..
If we really wanted this Avalonia to replace the WPF of strides IDE ( that has docking and tabs and drag and drop)  we would should consider to to pump money towards the gurus to do this.. like that studio did.   I I spend 2 weeks + a freelancers 15 hours,  on a  getting Avalonia.Inside to show a monogame view in  a  single tab on the Dock git below,  using a writable bitmap copy, we failed, I sponsored teh wieslawsoltes/Dock for 20 $ that took him 30 min.:  but its really still buggy and difficult.
I do not know React either and there are two wasy of doign Avalonia and he prefers React.   once you know it..it's  ok
all around..    macs are great but unless they add touch i have to stay with a surface anyway.   to do android touch  UI dev.  Is docking that important.. scripting?  i think it is, else you have 2 IDEs.   mabye as well just use the VScode .
This seems like a huge undertaking but i would like it..jsut to freshen the look of my WPF  netcore 7  IDE at least..  im looking at just putting some in-game , UI for now..    Also im starting to use voice, NLS  and AI more , and generative design so im going to wait this out.   I do need scripting...
I basically make my own UI on the game itself its so simple.    But for editging i would want Avalonia + Dock wiht shared graphcis buffers, tabs, and multiple views maybe.
https://github.com/wieslawsoltes/Dock
https://github.com/AvaloniaUI/Avalonia/tree/master/samples/GpuInterop

Would it be possible to do this piecemeal? I.e., render Avalonia views on top of WPF, with some barebones interop for a docking system so that they don't overlap?
If this was possible, I think it would offer some massive gains. People could write plugins in Avalonia, and the rest of the engine could be slowly converted, one docked window at a time.

@sandsalamand  not sure about partial translation. its diffrent FRAMEWORKS not LIBS. so they have diff init and usage at some places. we need to find a corner cases of usage. ie game scene renderer and others.

Avalonia offers with XPF a Framework to port WPF Applications directly or with minimal adjustments. It would be worth a try to ask them if they would sponsor a licence for the Stide project.

@JochnGst we have started the effort to migrate to Avalonia. XPF would only be a short term solution, while rewriting using Avalonia lets use rethink the architecture to, for instance, designing a better plugin architecture.


offline install error

Hi, I am installing fastt5 in an offline server. I already installed onnxruntime, but it still show
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7feedf7f9c88>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/onnxruntime/

would you provide .whl file?


net2 crate is deprecated replaced by socket2

for more details please see https://rustsec.org/advisories/RUSTSEC-2020-0016

@mike-kfed please see any of the following: https://github.com/tokio-rs/mio/pulls?q=is%3Apr+is%3Aclosed+net2, e.g. https://github.com/tokio-rs/mio/pull/1330.


Esc and Ctrl+U no longer clear the contents of the interactive window input box

Originally reported by @greazer
Webview interactive window had esc or ctrl+u to clear the input box contents. Now that the interactive window supports VS Code- and extension-contributed keymaps, this will cause keybinding conflicts. We have at least two options:

Similar to https://github.com/VSCodeVim/Vim/pull/6980, add code to Vim extension to route to the VS Code clear command
Introduce an interactive.input.clear command that is by default not bound to any keymaps, and let users configure it themselves
Introduce the command and prompt the user somehow

Also consider adding a clear box on the interactive window input box so users can clear with a mouse.

Hi, I like the sound of an interactive.input.clear command as it would allow me to bind to Ctrl-C, which is the command I use the most often for clearing the input across various REPLs.

@andycraig We've implemented this command for the native interactive window, should be available in tomorrow's Insiders and the upcoming August Stable release. You can then add a keybinding like so:
{
  "key": "ctrl+c",
  "command": "interactive.input.clear",
  "when": "resourceScheme == 'vscode-interactive'"
}

@joyceerhl Great, thank you very much!


Create and Implement new graphic for advisory board

Summary
In About page, we want a graphic that will fit our card displaying our advisory board

[ ] Create graphic
[ ] Add to About page

Motivation
Pleasant UI

@BrianHHough would you be able to take a quick stab at this? Or if there are any other contributors willing to take a look definitely feel free to do so!


6.0 Feedback:  Cancel button present on view protocol run record

Overview
When I view a protocol run record the Cancel run button is present

https://user-images.githubusercontent.com/502770/178534288-cf3c819b-eb34-409a-a0d8-be8dfd4eefaa.mp4
Current Behavior
Cancel Run button present when viewing a historical run
Expected Behavior
Cancel run button only present when a run may be cancelled.
Steps To Reproduce
Run a protocol and then view its run record.
Operating system
Mac

Closed by #11081

Verified in beta.3
[Uploading... Screen Shot 2022-07-14 at 11.33.18 AM.png]


Config-file cleanup and code refactorisation

Removes unnecessary data from the config files. Restructured createAtoms to only create atoms objects by the Atoms() constructor from ASE. This way testing and safety guards are easier to implement. We also only deal with primitive cells now, instead of sometimes having conventional representation and sometimes having primitive vectors.
Later we may add hard-coded basis-matrices to bring back the user friendly "bravaislattice" to the config files.
Removed some old leftover prints from the main file.
Removed all ASE and ASAP potentials, now we only use openKIM potentials. These are usually faster and more accurate. Also there exists a universal potential that works for most materials that can be added in as a default calculator later.

Maybe good to make CI pass before merging this by defaulting to builtin LJ pot and not running open_kim related tests in CI.


UDP service reachable only by the node where the pod is

Version: k3s version v1.17.3+k3s1 (5b17a175)
For masters :
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--docker --no-deploy traefik --no-deploy servicelb --node-label master-1 --datastore-endpoint 'postgres://Login:Password@DB_HOST:DB_PORT/k3s'" sh -s -
For workers :
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--docker" K3S_URL=https://LOADBALANCER_IP:6443 K3S_TOKEN=TOKEN sh -
Describe the bug
Hello,
I have a self hosted multi master cluster in which I try to set up a DNS service in UDP, but I have an issue and I can't get rid of it.
Let's explain :
I have 2 masters and 4 workers, and when I deploy my service, I can reach it this way :
dig @service-ip hostname BUT it works only on the node where the pod is located.
If I call the pod directly by doing dig @pod-ip hostname, it works from any node.
I've tried iptables -P FORWARD ACCEPT on every node, but it hasn't changed anything.
Note : I've tried the same in TCP, everything works fine !
To Reproduce

Install a multi master cluster on bare metal / VM (Debian 10 in my case)
Create a DNS service listening to UDP port 53
Install dnsutils on every node
Locate the pod where the DNS the pod is located by doing kubectl get pods -o wide

Expected behavior

On every node : dig @pod-ip hostname --> OK
On the node containing the pod : dig @service-ip hostname --> OK
On the other nodes : dig @service-ip hostname --> OK
From anywhere : dig @external-ip hostname --> OK

Actual behavior

On every node : dig @pod-ip hostname --> OK
On the node containing the pod : dig @service-ip hostname --> OK
On the other nodes : dig @service-ip hostname --> NOK
From anywhere : dig @external-ip hostname --> Same behaviour as using service-ip

Additional context
K3s based on Docker (no Containerd)
2 Masters and 4 Workers dispatched in 2 physical machines, Keepalived as Load Balancer installed on the masters to expose one single K3s API IP
Hypervisor XCP-ng, the K3s nodes are on Debian 10 VM (no openstack)
MetalLB as Load Balancer
Nginx Ingress Controller
Thank's for helping :)
Oznup

Hello,
Finally found a solution there : https://github.com/kubernetes/kubernetes/issues/52783
I had to user ipsec instead of vxlan (by default) as flannel backend.
I have torn down and set up again my whole cluster, and the issue also appeared on the fresh install.
So I think this is a real bug and you'll be able to reproduce it.
BUT !!! Since I have passed on ipsec, I have another problem.
Some of my pods can't reach some services.
I can't see any reason why... Some services can be reached, some of them can't, it seems totally random.
Any idea?
Oznup

@Oznup would you say this is something like what I described in #1613 ?

Hello @txomon,
Actually I had the symptoms you describe when I used vxlan, and only on UDP services.
Since I have switched on ipsec, the connectivity problem was totally random that have been solved by a solution which has absolutely nothing to do with it.
My CoreDNS has in its configmap 3 Upstream DNS :

my internal DNS (the cause of this thread)
<IP_ADDRESS> (Google)
<IP_ADDRESS> (Google)
I removed the Google DNS, and now it works... ¯_(ツ)_/¯

Hello @txomon, something new happened !
I have had to set up my cluster again.
With exactly the same steps, it behaves exactly as described in the issue you mentionned : #1613.
I've also tried with vxlan, same behaviour.
The only differences are:

swapoff -a before installing the cluster
the version of k3s (v1.17.3+k3s1 before, v1.17.4+k3s1 now)


No documented process to contribute code to the data pipeline

When I want to propose a change to the code, documentation or overall user experience of the data pipeline, I cannot find documentation on which branch to build my patch on and propose my change to, and how to test whether the new state of the code still works as expected.

See more general ticket opentargets/platform#503
I'll write one for data_pipeline first.


Revert "wrap MySQL default values in parentheses (#29878)"

This reverts commit 2f20d8875f0473d10e15e82a11a71c92a4c59864.

just saw you guys reverted, thanks


Handle Spotify-Volume for device playing

Hey,
is it possible to change vol. via player or dedicated devices?
Here changes to the data points within the adapter for these objects do not change anything.
Regards
Oliver

Push :) is it possible to handle the Volume with the adapter?

if you try to change the volume, the following warning message appears

admin.0
2021-11-17 21:12:48.714
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "12"

Same here - Adapter Version 1.1.14

web.0
2021-11-18 09:21:41.585
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "39"

web.0
2021-11-18 09:21:41.283
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "41"

web.0
2021-11-18 09:21:41.175
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "43"

web.0
2021-11-18 09:21:40.975
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "46"

web.0
2021-11-18 09:21:40.871
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "47"

web.0
2021-11-18 09:21:40.840
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "48"

web.0
2021-11-18 09:21:40.741
warn
Read-only state "spotify-premium.0.player.device.volume" has been written without ack-flag with value "57"

Originator here is "web" ... so seems a visu writes to the wrong state?

Same here with jarvis visu


Performance Issues with getAggregation

Describe the bug
When running getAggregation on a sap.m.List with more than a few entries, the method takes quit a long time.
In my example there is a list with 123 entries (products.json). The total execution time for the test took 47 seconds:
[chrome 102.0.5005.115 windows #0-0] Running: chrome (v102.0.5005.115) on windows
[chrome 102.0.5005.115 windows #0-0] Session ID: 71536b0cf2dfff18d49d9d104cadd591
[chrome 102.0.5005.115 windows #0-0]
[chrome 102.0.5005.115 windows #0-0] » \uimodule\webapp\test\search.test.js
[chrome 102.0.5005.115 windows #0-0] ui5 search
[chrome 102.0.5005.115 windows #0-0]    ✓ search should return wdi5 as first result
[chrome 102.0.5005.115 windows #0-0]
[chrome 102.0.5005.115 windows #0-0] 1 passing (47.2s)

Spec Files:      1 passed, 1 total (100% completed) in 00:01:06

To Reproduce
created with easy-ui5 and create-wdi5 💪

git clone https://github.com/marianfoo/wdi5-issues-getaggregation
git checkout performance-getaggregation
npm install
npm start
npm run wdi5

Expected behavior
Expected is a faster execution of the method
Runtime Env (please complete the following information):

wdi5/wdio-ui5-service-version: 0.9.3
UI5 version: [e.g. 1.98.0]
wdio-version (output of wdio --version): 1.96.0
node-version (output of node --version): v16.13.0
OS: Windows 10
Browser + Version: chrome 102.0.0

quick thought before digging deeper: would $list.getItems(**true**) work for your use case?
see https://js-soft.github.io/wdi5/#/usage?id=getshorthand-conveniences

yes, this works a expected:

cool, then i assume that
const listItems = await list.getItems(true)
const itemText = await browser.asControl({
  selector: {
    id: listItems[0]
    viewName: "..."
  }
}).getText()
expect(itemText).toBe("...")

should solve your use case, right?


Renaming a gif does not update Markdown link

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.72-insider
OS Version: Windows 11

Steps to Reproduce:

Have a gif file that is referenced as a relative link in a markdown file
Rename the gif from the file explorer
:bug: link text in markdown file is not updated, but link validation does warn that the link path is invalid

This feature is off by default. You can turn it on by setting:
"markdown.experimental.updateLinksOnFileMove.enabled": "prompt"


Adding production users and integrations pages

Production-users and Integrations pages, per the request from @philips

Can you move the stuff from the bottom of the README into integratoins?

I feel like these documents should not be merged empty.. There are several production users and projects integrating with Clair out there (not necessarily listed in the README).

Added some content @Quentin-M @philips @jzelinskie.
Also modified the links on README to point to new docs.
LMK what ya think.

@philips Just a few minutes of research this morning ...
Recent integrations:

Zendesk Samson https://github.com/zendesk/samson/commit/7f788d6e77e6b62bf5671090ca8b76c6ecfa5cd4
Drone CI: https://github.com/drone/drone-plugin-index/commit/d594bee137142e22b647579575b625d9c18bd5b3
STUPS' Pier One Registry: https://github.com/zalando-stups/pierone

Mentions/Discussions for future integrations:

VMWare's Harbor Registry: https://github.com/vmware/harbor/issues/1411
BlackArch pentesting OS: https://github.com/BlackArch/blackarch/issues/1378
Empire PAAS: https://github.com/remind101/empire/issues/999 (proposed by main maintainer)
SUSE Portus: https://github.com/SUSE/Portus/issues/1135 (proposed by PM Director, Oracle Linux)
Federalist (interface for publishing static government websites): https://github.com/18F/federalist/issues/556


Resolve issue #248

Please check the commit messages for the details of the changes.
In general, I believe that there is an issue with the way the code is written right now.
Many methods work and change the object that is provided to them as a parameter. As a result, many side effects happen, and this is also the reason for this issue.
My suggestion going forward is to rewrite the sections to clone the OAS3 file, change only the clone, but always reference the original OAS3 file for whatever info is required. Or alternatively, build the OAS2 file step by step by processing the OAS3 file, without cloning it. Instead of working on the cloned object and adjusting it to be OAS2. This will make the converter more robust for future changes and ease on code and generation results readability.

Can't repro the failures that Travis build is having.
If I install the versions it mentions, and run it manually, this is what I get:
npm test

<EMAIL_ADDRESS>test /work/github/api-spec-converter
mocha && npm run browserify && karma start --single-run && git checkout -- dist

Converter
✓ should convert index.json from swagger_1 to swagger_2 (50ms)
✓ should convert simplest.md from api_blueprint to swagger_2 (304ms)
✓ should convert polls_api.md from api_blueprint to swagger_2 (437ms)
✓ should convert parameters.md from api_blueprint to swagger_2 (86ms)
✓ should convert facebook.xml from wadl to swagger_2 (152ms)
✓ should convert sample_wadl.wadl from wadl to swagger_2
✓ should convert OpenStack_example.wadl from wadl to swagger_2 (67ms)
✓ should convert regex_paths.wadl from wadl to swagger_2
✓ should convert usatoday.json from io_docs to swagger_2
✓ should convert egnyte.json from io_docs to swagger_2
✓ should convert foursquare.json from io_docs to swagger_2
✓ should convert klout.json from io_docs to swagger_2
✓ should convert youtube.json from google to swagger_2 (226ms)
✓ should convert api.raml from raml to swagger_2 (56ms)
✓ should convert deprecated.yml from openapi_3 to swagger_2
✓ should convert petstore.json from swagger_2 to openapi_3
✓ should convert petstore.json from openapi_3 to swagger_2
✓ should convert minimal.json from openapi_3 to swagger_2
✓ should convert produces.yml from openapi_3 to swagger_2
✓ should convert param_schema_ref.yml from openapi_3 to swagger_2
✓ should convert servers.yml from openapi_3 to swagger_2
✓ should convert slash_ref.yml from openapi_3 to swagger_2
✓ should convert has_external_ref.json from openapi_3 to swagger_2
✓ should convert yaml_with_ref.yml from openapi_3 to swagger_2
✓ should convert common_params.json from openapi_3 to swagger_2
✓ should convert form_param.yml from openapi_3 to swagger_2
✓ should convert nullable.yml from openapi_3 to swagger_2
✓ should convert nested_oneof.yml from openapi_3 to swagger_2
✓ should convert request_response_ref.yml from openapi_3 to swagger_2
✓ should convert multiple_ref.yml from openapi_3 to swagger_2
✓ should convert index.json from swagger_1 to openapi_3
✓ should convert simplest.md from api_blueprint to openapi_3 (38ms)
✓ should convert polls_api.md from api_blueprint to openapi_3 (129ms)
✓ should convert parameters.md from api_blueprint to openapi_3 (57ms)
✓ should convert facebook.xml from wadl to openapi_3 (190ms)
✓ should convert sample_wadl.wadl from wadl to openapi_3
✓ should convert OpenStack_example.wadl from wadl to openapi_3
✓ should convert regex_paths.wadl from wadl to openapi_3
✓ should convert usatoday.json from io_docs to openapi_3
✓ should convert egnyte.json from io_docs to openapi_3
✓ should convert foursquare.json from io_docs to openapi_3
✓ should convert klout.json from io_docs to openapi_3
✓ should convert youtube.json from google to openapi_3 (255ms)
✓ should convert api.raml from raml to openapi_3
✓ should not pull in transitive dependency mutating Object prototype
Converter & Output Syntax
✓ should convert index.json from swagger_1 to swagger_2 and output as json with alpha order
✓ should convert index.json from swagger_1 to swagger_2 and output as yaml with alpha order
✓ should convert index.json from swagger_1 to swagger_2 and output as yaml with openapi order
48 passing (2s)

<EMAIL_ADDRESS>browserify /work/github/api-spec-converter
node node_modules/mkdirp/bin/cmd dist && browserify -s APISpecConverter -o dist/api-spec-converter.js .

/work/github/api-spec-converter/node_modules/puppeteer/.local-chromium/mac-641577/chrome-mac/Chromium.app/Contents/MacOS/Chromium
START:
30 06 2020 23:06:10.050:INFO [karma-server]: Karma v4.4.1 server started at http://<IP_ADDRESS>:9876/
30 06 2020 23:06:10.052:INFO [launcher]: Launching browsers ChromeHeadlessNoSandbox with concurrency unlimited
30 06 2020 23:06:10.057:INFO [launcher]: Starting browser ChromeHeadless
30 06 2020 23:06:10.706:INFO [HeadlessChrome 75.0.3738 (Mac OS X 10.12.6)]: Connected on socket jPaVE5bCSwTH2y2dAAAA with id 44516321
Converter
✔ should convert index.json from swagger_1 to swagger_2
✔ should convert simplest.md from api_blueprint to swagger_2
✔ should convert polls_api.md from api_blueprint to swagger_2
✔ should convert parameters.md from api_blueprint to swagger_2
✔ should convert facebook.xml from wadl to swagger_2
✔ should convert sample_wadl.wadl from wadl to swagger_2
✔ should convert OpenStack_example.wadl from wadl to swagger_2
✔ should convert regex_paths.wadl from wadl to swagger_2
✔ should convert usatoday.json from io_docs to swagger_2
✔ should convert egnyte.json from io_docs to swagger_2
✔ should convert foursquare.json from io_docs to swagger_2
✔ should convert klout.json from io_docs to swagger_2
✔ should convert youtube.json from google to swagger_2
✔ should convert api.raml from raml to swagger_2
✔ should convert petstore.json from swagger_2 to openapi_3
✔ should convert petstore.json from openapi_3 to swagger_2
✔ should convert minimal.json from openapi_3 to swagger_2
✔ should convert produces.yml from openapi_3 to swagger_2
✔ should convert param_schema_ref.yml from openapi_3 to swagger_2
✔ should convert servers.yml from openapi_3 to swagger_2
✔ should convert slash_ref.yml from openapi_3 to swagger_2
✔ should convert index.json from swagger_1 to openapi_3
✔ should convert simplest.md from api_blueprint to openapi_3
✔ should convert polls_api.md from api_blueprint to openapi_3
✔ should convert parameters.md from api_blueprint to openapi_3
✔ should convert facebook.xml from wadl to openapi_3
✔ should convert sample_wadl.wadl from wadl to openapi_3
✔ should convert OpenStack_example.wadl from wadl to openapi_3
✔ should convert regex_paths.wadl from wadl to openapi_3
✔ should convert usatoday.json from io_docs to openapi_3
✔ should convert egnyte.json from io_docs to openapi_3
✔ should convert foursquare.json from io_docs to openapi_3
✔ should convert klout.json from io_docs to openapi_3
✔ should convert youtube.json from google to openapi_3
✔ should convert api.raml from raml to openapi_3
✔ should not pull in transitive dependency mutating Object prototype
Converter & Output Syntax
✔ should convert index.json from swagger_1 to swagger_2 and output as json with alpha order
✔ should convert index.json from swagger_1 to swagger_2 and output as yaml with alpha order
✔ should convert index.json from swagger_1 to swagger_2 and output as yaml with openapi order
Finished in 3.341 secs / 3.261 secs @ 23:06:14 GMT+0300 (Israel Daylight Time)

Sorry for the confusing error - the issue is that you haven't added clonedeep as a dependency to package.json
You may need to rebase as well - I just updated some deps.

Also - 100% agree on the side-effect issues. Not the first time we've been bitten by that

Awesome! Thanks for tips and explanation!
WIll do

@rbren Nope, that's not the issue probably, or that I haven't added the dependency correctly?
In any case, I can't repro this locally, so I am wondering what is the difference between my environment and Travis.
$npm test

<EMAIL_ADDRESS>test /work/github/api-spec-converter
mocha && npm run browserify && karma start --single-run && git checkout -- dist

Converter
✓ should convert index.json from swagger_1 to swagger_2
✓ should convert simplest.md from api_blueprint to swagger_2 (263ms)
✓ should convert polls_api.md from api_blueprint to swagger_2 (398ms)
✓ should convert parameters.md from api_blueprint to swagger_2 (78ms)
✓ should convert facebook.xml from wadl to swagger_2 (167ms)
✓ should convert sample_wadl.wadl from wadl to swagger_2
✓ should convert OpenStack_example.wadl from wadl to swagger_2 (49ms)
✓ should convert regex_paths.wadl from wadl to swagger_2
✓ should convert usatoday.json from io_docs to swagger_2
✓ should convert egnyte.json from io_docs to swagger_2
✓ should convert foursquare.json from io_docs to swagger_2
✓ should convert klout.json from io_docs to swagger_2
✓ should convert youtube.json from google to swagger_2 (270ms)
✓ should convert api.raml from raml to swagger_2 (59ms)
✓ should convert deprecated.yml from openapi_3 to swagger_2
✓ should convert petstore.json from swagger_2 to openapi_3
✓ should convert petstore.json from openapi_3 to swagger_2
✓ should convert minimal.json from openapi_3 to swagger_2
✓ should convert produces.yml from openapi_3 to swagger_2
✓ should convert param_schema_ref.yml from openapi_3 to swagger_2
✓ should convert servers.yml from openapi_3 to swagger_2
✓ should convert slash_ref.yml from openapi_3 to swagger_2
✓ should convert has_external_ref.json from openapi_3 to swagger_2
✓ should convert yaml_with_ref.yml from openapi_3 to swagger_2
✓ should convert common_params.json from openapi_3 to swagger_2
✓ should convert form_param.yml from openapi_3 to swagger_2
✓ should convert nullable.yml from openapi_3 to swagger_2
✓ should convert nested_oneof.yml from openapi_3 to swagger_2
✓ should convert request_response_ref.yml from openapi_3 to swagger_2
✓ should convert multiple_ref.yml from openapi_3 to swagger_2
✓ should convert index.json from swagger_1 to openapi_3
✓ should convert simplest.md from api_blueprint to openapi_3
✓ should convert polls_api.md from api_blueprint to openapi_3 (96ms)
✓ should convert parameters.md from api_blueprint to openapi_3 (63ms)
✓ should convert facebook.xml from wadl to openapi_3 (169ms)
✓ should convert sample_wadl.wadl from wadl to openapi_3
✓ should convert OpenStack_example.wadl from wadl to openapi_3
✓ should convert regex_paths.wadl from wadl to openapi_3
✓ should convert usatoday.json from io_docs to openapi_3
✓ should convert egnyte.json from io_docs to openapi_3
✓ should convert foursquare.json from io_docs to openapi_3
✓ should convert klout.json from io_docs to openapi_3
✓ should convert youtube.json from google to openapi_3 (279ms)
✓ should convert api.raml from raml to openapi_3
✓ should not pull in transitive dependency mutating Object prototype
Converter & Output Syntax
✓ should convert index.json from swagger_1 to swagger_2 and output as json with alpha order
✓ should convert index.json from swagger_1 to swagger_2 and output as yaml with alpha order
✓ should convert index.json from swagger_1 to swagger_2 and output as yaml with openapi order
48 passing (2s)

<EMAIL_ADDRESS>browserify /work/github/api-spec-converter
node node_modules/mkdirp/bin/cmd dist && browserify -s APISpecConverter -o dist/api-spec-converter.js .

/work/github/api-spec-converter/node_modules/puppeteer/.local-chromium/mac-686378/chrome-mac/Chromium.app/Contents/MacOS/Chromium
START:
01 07 2020 00:18:27.340:INFO [karma-server]: Karma v5.1.0 server started at http://<IP_ADDRESS>:9876/
01 07 2020 00:18:27.345:INFO [launcher]: Launching browsers ChromeHeadlessNoSandbox with concurrency unlimited
01 07 2020 00:18:27.350:INFO [launcher]: Starting browser ChromeHeadless
01 07 2020 00:18:27.880:INFO [Chrome Headless 78.0.3882.0 (Mac OS 10.12.6)]: Connected on socket zf08fXOpVf8VP7-tAAAA with id 19517770
Converter
✔ should convert index.json from swagger_1 to swagger_2
✔ should convert simplest.md from api_blueprint to swagger_2
✔ should convert polls_api.md from api_blueprint to swagger_2
✔ should convert parameters.md from api_blueprint to swagger_2
✔ should convert facebook.xml from wadl to swagger_2
✔ should convert sample_wadl.wadl from wadl to swagger_2
✔ should convert OpenStack_example.wadl from wadl to swagger_2
✔ should convert regex_paths.wadl from wadl to swagger_2
✔ should convert usatoday.json from io_docs to swagger_2
✔ should convert egnyte.json from io_docs to swagger_2
✔ should convert foursquare.json from io_docs to swagger_2
✔ should convert klout.json from io_docs to swagger_2
✔ should convert youtube.json from google to swagger_2
✔ should convert api.raml from raml to swagger_2
✔ should convert petstore.json from swagger_2 to openapi_3
✔ should convert petstore.json from openapi_3 to swagger_2
✔ should convert minimal.json from openapi_3 to swagger_2
✔ should convert produces.yml from openapi_3 to swagger_2
✔ should convert param_schema_ref.yml from openapi_3 to swagger_2
✔ should convert servers.yml from openapi_3 to swagger_2
✔ should convert slash_ref.yml from openapi_3 to swagger_2
✔ should convert index.json from swagger_1 to openapi_3
✔ should convert simplest.md from api_blueprint to openapi_3
✔ should convert polls_api.md from api_blueprint to openapi_3
✔ should convert parameters.md from api_blueprint to openapi_3
✔ should convert facebook.xml from wadl to openapi_3
✔ should convert sample_wadl.wadl from wadl to openapi_3
✔ should convert OpenStack_example.wadl from wadl to openapi_3
✔ should convert regex_paths.wadl from wadl to openapi_3
✔ should convert usatoday.json from io_docs to openapi_3
✔ should convert egnyte.json from io_docs to openapi_3
✔ should convert foursquare.json from io_docs to openapi_3
✔ should convert klout.json from io_docs to openapi_3
✔ should convert youtube.json from google to openapi_3
✔ should convert api.raml from raml to openapi_3
✔ should not pull in transitive dependency mutating Object prototype
Converter & Output Syntax
✔ should convert index.json from swagger_1 to swagger_2 and output as json with alpha order
✔ should convert index.json from swagger_1 to swagger_2 and output as yaml with alpha order
✔ should convert index.json from swagger_1 to swagger_2 and output as yaml with openapi order
Finished in 2.976 secs / 2.907 secs @ 00:18:31 GMT+0300 (Israel Daylight Time)
SUMMARY:
✔ 39 tests completed

Looks like the require needs to change to require('lodash.clonedeep') (instead of require('lodash/clonedeep'))
If you want to reconstruct the Travis environment to test, you can run
rm -rf node_modules
npm install

Thanks!
I think you're right indeed. I will check that, but I wonder how things
pass locally then.
I made sure everything is the same in terms of versions and ran exactly the
same commands Travis runs.
I also checked out from scratch and ran what Travis runs, all resulting
with 100% success.
BTW, Travis runs npm ci (which essentially removes the node_modules, but
installs packages according to their versions), so I thought it should
suffice.
Thanks!
On Wed, Jul 1, 2020 at 3:55 PM Robert Brennan<EMAIL_ADDRESS>wrote:

Looks like the require needs to change to require('lodash.clonedeep')
(instead of require('lodash/clonedeep'))
If you want to reconstruct the Travis environment to test, you can run
rm -rf node_modules
npm install
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LucyBot-Inc/api-spec-converter/pull/266#issuecomment-652401015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACO2CJPTQSO3NNKQNK5RBR3RZMW2VANCNFSM4OMS66TQ
.

Hallelujah! Thanks for the patience @rbren!

Thanks for the fix!

@thenorthernpole looks like I was too quick on the merge - I think something is off with the existing swagger_2 test output. Looks like a side effect of the clone-deep.
Would you mind re-opening this PR once the revert is in?

No problem at all.

Oh I'm sorry, I was incorrect - the changes are just in x-components, which is there for legacy purposes. I think it's fine that those are in OAI3 format.

It's OK.
I wrote about it in the commit message.
This is fully compatible with the OAS2 syntax (I checked it with the
official swagger parser, and had no issues with it).
On Thu, Jul 2, 2020 at 12:09 AM Robert Brennan<EMAIL_ADDRESS>wrote:

Oh I'm sorry, I was incorrect - the changes are just in x-components,
which is there for legacy purposes. I think it's fine that those are in
OAI3 format.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LucyBot-Inc/api-spec-converter/pull/266#issuecomment-652648039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACO2CJL7MJXPT3OI5SMCDDLRZOQ2BANCNFSM4OMS66TQ
.

Sorry for the oversight!
Published as 2.11.1

Thanks a lot for the quick merge!
On Thu, Jul 2, 2020 at 12:17 AM Robert Brennan<EMAIL_ADDRESS>wrote:

Sorry for the oversight!
Published as 2.11.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LucyBot-Inc/api-spec-converter/pull/266#issuecomment-652650977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACO2CJMEYTVW4N7Y2M6SPEDRZORVDANCNFSM4OMS66TQ
.


adding support for data with NULLs in histogram

the histogram command fails if the data contains NULLs, but we should support them

yep

Is it the right place for the final interview round?


No PSR-17 request factory found on exchanger instantiation

$exchanger = new \Exchanger\Service\ExchangeRatesApi();

I got this error:
No PSR-17 request factory found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation
I don't understand why.

Have you done installation procedure in your project ?

Yes, same issue with:
$client = new Http\Client\Curl\Client();
$exchanger = new Exchanger\Service\ExchangeRatesApi($client);

For me it is working, doing the following :
mkdir test && cd test
composer require php-http/curl-client nyholm/psr7 php-http/message florianv/exchanger

Then i created a test.php file :
<?php

include "vendor/autoload.php";
$exchanger = new \Exchanger\Service\ExchangeRatesApi();
var_dump($exchanger);

I do get an exchanger instance when i run the script.
php test.php output :
me@host:~/projects/test-exchanger$ php test.php
object(Exchanger\Service\ExchangeRatesApi)#3 (3) {
  ["httpClient":"Exchanger\Service\HttpService":private]=>
  object(Http\Client\Curl\Client)#2 (5) {
    ["curlOptions":"Http\Client\Curl\Client":private]=>
    array(3) {
      [52]=>
      bool(false)
      [42]=>
      bool(false)
      [19913]=>
      bool(false)
    }
    ["responseFactory":"Http\Client\Curl\Client":private]=>
    object(Nyholm\Psr7\Factory\Psr17Factory)#4 (0) {
    }
    ["streamFactory":"Http\Client\Curl\Client":private]=>
    object(Nyholm\Psr7\Factory\Psr17Factory)#5 (0) {
    }
    ["handle":"Http\Client\Curl\Client":private]=>
    NULL
    ["multiRunner":"Http\Client\Curl\Client":private]=>
    NULL
  }
  ["requestFactory":"Exchanger\Service\HttpService":private]=>
  object(Nyholm\Psr7\Factory\Psr17Factory)#6 (0) {
  }
  ["options":protected]=>
  array(0) {
  }
}

@fede91it You need to install a package from the list, as stated in the error, for example nyholm/psr7.

Installing nyholm/psr7 it worked, sorry and thank you


Refactor out server logic so it can be used as a library (raw use)

This change allows users to spin up the server/clients through a couple lines of code using the cloudmock package rather than having to manually spin up the server, similar to the raw use of Moto.
Sample use in a unit test:
func TestXxx(t *testing.T) {
    mock := cloudmock.StartCloudMock()

    // Run tests here using mock.MockTraceClient and mock.MockMetricClient

    mock.Stop()
}

Try to keep symmetry with the method names. Either StartMockServer/StopMockServer or StartupMockServer/ShutdownMockServer.
Is it possible to change this so StartMockClients does the work of creating the mock server too? This would make it a bit simpler to use in tests.
It would be good if clients don't have to specify and address for unit testing. If you leave the port blank or zero then an unused port is taken: net.Listen("tcp", "<IP_ADDRESS>:0"). That way we can remove the address parameter. This also solves some issues with concurrency. (What happens if we  running test in parallel?)
Is there a reason why the mock clients are bundled? Does it make sense for them to be separated?

func StartMockTraceClient() (*grpc.ClientConn, cloudtrace.TraceServiceClient)
func StartMockMetricClient() (*grpc.ClientConn, monitoring.MetricServiceClient)

Alternatively to (4), would it make sense to group the returned values into a struct?

type MockClient struct {
  conn *grpc.ClientConn
  TraceServiceClient cloudtrace.TraceServiceClient
  MetricServiceClient monitoring.MetricServiceClient
}

func NewMockClient() *MockClient
func (client *MockClient) Shutdown()

Got it, I changed them to Start and Stop
Yep, I combined them into a single Start function
Done, changed it to net.Listen("tcp", "<IP_ADDRESS>:0")
I went with this approach of grouping the return values into a struct. This will make it easier to the user to start up everything in one line, as opposed to separately starting up the server/clients


No valid release tag message during build

I receive message "No valid release tag" during build and can not understand what tag is valid? I have lots of tags insiderepo

Hello,
Without the repo, it is hard to tell :).
Besides beeing sure to have not mispelled the version tag and be sure to have pushed it (when using a CI), may be this can help: when applying SimpleGitVersion and CSemVer to an existing repository, the best way is to use the
StartingVersionForCSemVer.
This (easily) enables to "forget the past" and start on a clean basis...
If this issue persists and it is possible for you to give me an access to the repository, I'd be pleased to have a look at it.


[YUNIKORN-2504] Support canonical labels for queue/applicationId in scheduler

What is this PR for?
Support canonical Queue/ApplicationId labels in Pod, allows it coexist with the existing metadata.

yunikorn.apache.org/app-id (New, Canonical Label)
yunikorn.apache.org/queue (New, Canonical Label)

YuniKorn will reject those pods with conflicting metadata after version 1.7.0.

Check metadata consistency before move task state from 'New' to 'Pending'. Run the pod metadata check in task.sanityCheckBeforeScheduling()
Before 1.7.0, If sanity check failed due to inconsistent metadata, then log a warning message
After 1.7.0, If sanity check failed due to inconsistent metadata, move the task from 'New' to 'Rejected' state. And fail the pod with reasons.

ApplicationID is fetched from pod in below order:

Label: constants.CanonicalLabelApplicationID (New)
Annotation: constants.AnnotationApplicationID
Label: constants.LabelApplicationID
Label: constants.SparkLabelAppID

Queue name is fetched from pod in below ortder

Label: constants.CanonicalLabelQueueName (New)
Annotation: constants.AnnotationQueueName
Label: constants.LabelQueueName (Previous:  constants.LabelQueueName  > constants.AnnotationQueueName)

What type of PR is it?

[X] - Feature

Todos

Admission Controller should fail the pod request too if the metadata is inconsistent. Will create another Jira once this PR got merged.
Update Doc https://yunikorn.apache.org/docs/next/user_guide/labels_and_annotations_in_yunikorn

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2504
How should this be tested?
Run below simple sleep pods: (Which have canonical metadata for queue/app-id, but have a confilcting annotations.)

apiVersion: v1
kind: Pod
metadata:
  labels:
    app: sleep
    yunikorn.apache.org/app-id: "application-sleep-0001"
    yunikorn.apache.org/queue: "root.sandbox"
  annotations:
    yunikorn.apache.org/queue: "root.sandbox-another"
  name: pod-with-inconsistent-queue
spec:
  schedulerName: yunikorn
  restartPolicy: Never
  containers:
    - name: sleep-6000s
      image: "alpine:latest"
      command: ["sleep", "6000"]
      resources:
        requests:
          cpu: "100m"
          memory: "500M"

---
apiVersion: v1
kind: Pod
metadata:
  labels:
    app: sleep
    yunikorn.apache.org/app-id: "application-sleep-0002"
  annotations:
    yunikorn.apache.org/app-id: "application-sleep-0002-another"
  name: pod-with-inconsistent-app-id
spec:
  schedulerName: yunikorn
  restartPolicy: Never
  containers:
    - name: sleep-6000s
      image: "alpine:latest"
      command: ["sleep", "6000"]
      resources:
        requests:
          cpu: "100m"
          memory: "500M"

Check the scheduler pod logs:
kubectl logs -l component=yunikorn-scheduler -n yunikorn --tail=200000 > yunikorn-scheduler-logs.txt

You will see the warning logs like this:

2024-07-05T18:26:17.591Z	WARN	shim.cache.task	cache/task.go:582	Task pod has conflicting metadata, the unbound task pod will be rejected after version 1.7.0	{"appID": "application-sleep-00002", "podName": "pod-with-inconsistent-queue", "error": "queue is not consistently set in pod's labels and annotations. [PodInconsistentMetadata]"}

2024-07-05T18:26:17.592Z	WARN	shim.cache.task	cache/task.go:582	Task pod has conflicting metadata, the unbound task pod will be rejected after version 1.7.0	{"appID": "application-sleep-00001-annotation", "podName": "pod-with-inconsistent-app-id", "error": "application ID is not consistently set in pod's labels and annotations. [PodInconsistentMetadata]"}

Screenshots (if appropriate)
Before 1.7.0, only log warning message:

After 1.7.0, below is the screenshot without admission controller: (Another PR will be submit after version 1.6.0 released.)
(This is the original screenshot in the closed draft PR)

Questions:
NA

@chenyulin0719 please rebase on latest master. Also, please ensure queues are handled properly after YUNIKORN-2711.

Based on the feedback from @chia7712 and @blueBlue0102,  I realize that I had mixed up too much changes in a single PR.
I will break down this Jira into below subtasks:

Allow canonical labels and use the consistent metadata retrieving order in shim.(1.6.0)
Throw warning if pod has inconsistent metadata in shim (1.6.0)
Reject task if pod has inconsistent metadata in shim (1.7.0).

Thanks for all the reviewers. Will close it.


QUESTION: How can I delete all elements in a repeat-section via model

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x ] support request

Is there any way to reset the model to [] for a repeat-section control? I know you can use remove/add to delete/insert new objects. But, if I want to set the model to the empty array [], using either the reset or setValue functions of angular, the controls in the repeat-section are not removed.
UI Bootstrap: https://stackblitz.com/edit/ngx-formly-ui-bootstrap
-->
What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 8.0.X

Browser: [all ]

Language: [all]

Node (for AoT issues): node --version =

from the AppComponent or inside the field type ?

From the app component.  Using .setValue or reset and setting it to []

see https://github.com/ngx-formly/ngx-formly/issues/1522#issuecomment-482087551

@silvl Hi, can you provide a reproduction example using stackblitz.
Thanks!

if you want a solution, provide a reproduction example!


Newest MacVim crashes instantly

Steps to reproduce
Brew update and brew upgrade to newest MacVim on Ventura 13.0.1
Expected behaviour
gvim from command line  launches MacVim
Version of Vim and architecture
macvim: stable 9.0.472   /opt/homebrew/Cellar/macvim/9.0.472_2
Environment
Ventura 13.0.1
How MacVim was installed
Brew install macvim
Logs and stack traces
Translated Report (Full Report Below)
-------------------------------------

Process:               MacVim [70021]
Path:                  /opt/homebrew/*/MacVim.app/Contents/MacOS/MacVim
Identifier:            MacVim
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2023-01-09 08:34:40.1186 -0700
OS Version:            macOS 13.0.1 (22A400)
Report Version:        12
Anonymous UUID:        3CAEC6DD-5BAE-C6B9-9C03-5A12A3B94702

Sleep/Wake UUID:       BF25545E-79CF-4432-88E4-EDC3F3955B73

Time Awake Since Boot: 2500000 seconds
Time Since Wake:       77991 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x00000001a71bb0e0

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [70021]

Vim configuration where issue is reproducable
If I download MacVim.app it seems to work fine, but not the commandline version
Issue has been tested with given configuration

[ ] by running MacVim.app from GUI macOS interface
[X] by running vim/gvim/etc installed by MacVim
[ ] by running other versions of vim (e.g. /usr/bin/vim)

Issue has been tested with no configuration

[ ] by running mvim --clean (or gvim, supplied by MacVim distribution)
[ ] by running vim --clean (in terminal, supplied by MacVim distribution)
[ ] by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Other conditions

[ ] The both Homebrew packages "vim" and "macvim" are installed

Thank you for an issue
Could you confirm that

we're speaking about that the latest build is 174 on the GitHub, it's the same as yours? (numbers should be similar somewhere in info or formulae)
There's none of plugins is involved (please run with no configuration as shown above)

I just noticed that the version of Xcode I installed 2 days ago says it is for Ventura 13.1 and I have 13.01, so let me upgrade and see if that fixes it. If I run gvim --clean, I get what looks like Vim without the gui. I can't open the gui to look at the build number. I'm not a programmer, just a writer and heavy MacVim user for 20 years. This never happened before :)

Nope. Still crashes. Brew doctor says "ready to brew" I have a feeling its a Homebrew problem. I will try to build from source later today. I've never done that but maybe it's time to learn. Thank you.

Thank you for your investigation and additional details

If I download MacVim.app from https://github.com/macvim-dev/macvim/releases/download/release-174/MacVim.dmg and use mvim instead of gvim it works fine. Something amiss with Brew methinks.

Yep, that fixes it. But the tabline is so ugly I think I'll just keep using the .dmg version until the other gets fixed. Thank you.

As an alternative, you could also do brew reinstall -s --HEAD macvim to compile the latest version where the issue has been fixed.

As an alternative, you could also execute brew install -s --HEAD macvim to compile the latest version where the issue has been fixed.

That works too.. Thank you very much.

has an error when using --HEAD to build
$ brew install --HEAD macvim

Warning: Treating macvim as a formula. For the cask, use homebrew/cask/macvim
==> Fetching macvim
==> Cloning https://github.com/macvim-dev/macvim.git
Updating /Users/kenng/Library/Caches/Homebrew/macvim--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 17f3c3ddf Merge pull request #1356 from ychin/coretext-rendering-fixes-composing-chars-clipping
==> ./configure --with-features=huge --enable-multibyte --enable-perlinterp --enable-rubyinterp --enable-tclinterp --enable-terminal --with-tlib=ncurses --with-compiledby=Homebrew --with-local-dir=/opt/homebrew -
==> make
Last 15 lines from /Users/kenng/Library/Logs/Homebrew/macvim/02.make:
  6   _dispatch_client_callout (in libdispatch.dylib)
  7   _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
  8   DVTDispatchBarrierSync (in DVTFoundation)
  9   -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 10   -[DVTExtension _valueForKey:inParameterData:usingSchema:assertingOnError:error:] (in DVTFoundation)
 11   -[DVTExtension valueForKey:] (in DVTFoundation)
 12   _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)
 13   _IDEInitializePlugIns (in IDEFoundation)
 14   __IDEInitialize_block_invoke (in IDEFoundation)
 15   IDESetSafeToLoadDeveloperSystemFrameworks (in IDEFoundation)
 16   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 17   XcodeBuildMain (in libxcodebuildLoader.dylib)
 18   start (in dyld)
make[1]: *** [macvim] Abort trap: 6
make: *** [first] Error 2

git head is at
*   commit 17f3c3ddf445575a290b1070f03633137bd99352 (HEAD -> master, origin/master, origin/HEAD)

has an error when using --HEAD to build
$ brew install --HEAD macvim

Warning: Treating macvim as a formula. For the cask, use homebrew/cask/macvim
==> Fetching macvim
==> Cloning https://github.com/macvim-dev/macvim.git
Updating /Users/<user>/Library/Caches/Homebrew/macvim--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 17f3c3ddf Merge pull request #1356 from ychin/coretext-rendering-fixes-composing-chars-clipping
==> ./configure --with-features=huge --enable-multibyte --enable-perlinterp --enable-rubyinterp --enable-tclinterp --enable-terminal --with-tlib=ncurses --with-compiledby=Homebrew --with-local-dir=/opt/homebrew -
==> make
Last 15 lines from /Users/<user>/Library/Logs/Homebrew/macvim/02.make:
  6   _dispatch_client_callout (in libdispatch.dylib)
  7   _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
  8   DVTDispatchBarrierSync (in DVTFoundation)
  9   -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 10   -[DVTExtension _valueForKey:inParameterData:usingSchema:assertingOnError:error:] (in DVTFoundation)
 11   -[DVTExtension valueForKey:] (in DVTFoundation)
 12   _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)
 13   _IDEInitializePlugIns (in IDEFoundation)
 14   __IDEInitialize_block_invoke (in IDEFoundation)
 15   IDESetSafeToLoadDeveloperSystemFrameworks (in IDEFoundation)
 16   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 17   XcodeBuildMain (in libxcodebuildLoader.dylib)
 18   start (in dyld)
make[1]: *** [macvim] Abort trap: 6
make: *** [first] Error 2

git head is at
*   commit 17f3c3ddf445575a290b1070f03633137bd99352 (HEAD -> master, origin/master, origin/HEAD)

Hmm, i'm not 100% sure. You could build from scratch by cloning the GitHub repo, but an easier way is that I'm prepping a release right now and typing up the release notes and doing some final checks. If you don't mind waiting a few days it should make its way to Homebrew once I make the release.

I just pushed a new release. Feel free to grab it. If you are using Homebrew still, they should get updated to the new release soon. Let me know if it's still crashing.

I'm closing for now. If it's for some reason still crashing we can reopen this.

I will test this as soon as it appears via Homebrew. Thank you so much.
Rick Dooling
On Tue, Feb 7, 2023 at 2:19 PM Yee Cheng Chin @.***>
wrote:

I'm closing for now. If it's for some reason still crashing we can reopen
this.
—
Reply to this email directly, view it on GitHub
https://github.com/macvim-dev/macvim/issues/1355#issuecomment-1421466160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALILQXJAL6H66WP6PYOV23WWK36JANCNFSM6AAAAAATVTCVOU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
rd


Update deu.ini - not important

Only update for the update mark xD

The title of your pull request isn't very informational. Try to choose something that describes the changes as short as possible.


Update tests to work with latest test dependencies (mock, vcrpy in particular)

Several tests fail when testing with the latest versions of test dependencies:
mock 3.x (3.0.4)
vcrpy 2.x (2.0.1)
These are the versions that exist (or are likely to exist) in downstream OS package sets, as they do for FreeBSD Ports in this case.
Most appear to fail with the same class of error, as follows:
TweepError: Failed to send request: No match for the request (<Request (GET) https://api.twitter.com/1.1/followers/ids.json?cursor=-1&id=tweepytest>) was found. Can't overwrite existing cassette ('cassettes/testcursorcu
rsoritems.json') in your current record mode ('none').

If you would like the full set, let me know and I'll include them in a followup.
It would be great if testing was against the latest versions of their test dependencies to pick up bugs/incompatibility issues as early as possible. This ensures downstream consumers (packagers in particular) are able to extensively and reliably QA upstream packages, and ensure a great experience for users.
To achieve this I'd suggest (in a branch):

Removing test_requirements.txt in favour of setup.py:tests_require (similar to 778bd7a3 for requirements.txt/install_requires)
Keep test dependencies unpinned (>=) so latest versions are used
Note: Add tox dependency to extras_require { 'dev': ['tox'] } (not tests_require) as its not a compulsory requirement (unlike nose, mock vcrpy otoh, which are 'required'). coverage flake and other development only dependencies can go in here too.
Use tweepy[dev] to install tox where upstream requires it (travis, wherever)
Fix issues associated with mock 3.x, vcrpy 2.x, etc

Regarding test dependencies, I haven't had any issues using the latest versions for all of them, including the ones you specified.
That error you're encountering is due to https://github.com/tweepy/tweepy/commit/c880c907d4c302ff52ea6729f4307bec1c8069bb, where the default test account was switched from @tweepytest to @TheTweepyTester and cassettes were updated accordingly. That commit missed updating the default testing configuration:
https://github.com/tweepy/tweepy/blob/c880c907d4c302ff52ea6729f4307bec1c8069bb/tests/config.py#L14  Therefore, the default testing configuration was unable to find cassettes that used the username, tweepytest.
However, https://github.com/tweepy/tweepy/commit/c573a28a8501c1015fd27f2991d7945131ca7dc1 has updated the default test account and corresponding cassettes again, along with the default testing configuration this time, so this shouldn't be an issue anymore. For more details, see #1242.
As for your additional points, I did and do plan on addressing them as follows:

[ ] Unpin test requirements
(in test_requirements.txt and tox.ini)
[ ] Replace test_requirements.txt with tests_require in setup.py
[ ] Separate dev requirements from test requirements using extras_require in setup.py
(specifically, separate tox and add coveralls)

This will also likely result in the following changes:

[ ] Specify nose.collector as the test suite in setup.py
[ ] Use setup.cfg to specify nosetests verbosity and tests to run
(merging and replacing travis-tests.cfg and explicit specification in tox.ini)
[ ] Mirror test requirements using extras_require in setup.py
(might be necessary to facilitate the ability to install test requirements without running tests
and specifically, for Travis CI and tox)

And include additional changes I'm planning:

[ ] Change default testing configuration to use replay
(use_replay/USE_REPLAY = True)
[ ] Document how to set up and run tests (https://github.com/tweepy/tweepy/issues/681)

I've now completed almost all of the changes I had planned.
The only thing remaining to do is to drop usage of nose. Even the documentation for the library itself recommends against continuing to use it. Thus, I've already removed the only explicit usage of the library with https://github.com/tweepy/tweepy/commit/43129973b90a0e8312be8a99e337f6b9ff01d81d. I don't see the point in migrating to nose2 and switch to another unnecessary library, so all that remains is to replace it with unittest. This should be relatively simple, only requiring tox.ini and .travis.yml to be updated to run a unittest command with the specific test modules currently in setup.cfg and setup.py to be updated to remove nose as a test requirement and suite.
However, I don't see any reason to drop it entirely right now, as it's still working and requires little to no overhead, while providing a nice interface for tox and Travis CI and clean visual output for tests and coverage. Hence, I'm going to leave it as is for now until such a point where it's necessary to make changes.


SwiftUIApp...

Hi,
I tried to use that in SwiftUI with SwiftUIApp. I use like you told before in readme.md with ...willConnect and integration with WindowGroup...like this screenshots...but I didn't' t see anythings on app.

Can you help me ?
Thank for all job in Swift Open Community

same for me

There was initial showing bug that I just fixed in 1.8.2


MechaAndMonsters alignment fix

fixed alignment issues with sheet/background image and input fields.

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Character Sheet Info Roll20 Internal Use only.

Thanks for moving away from within style tags in favor of css classes, @vince-roll20 ;)

Thanks for moving away from within style tags in favor of css classes, @vince-roll20 ;)


Default deadline is inconsistent across languages

When starting a new call:
C++ sets default deadline to infinity.
Ruby sets it to 5 seconds.
I've not investigated others.

Node and PHP both use infinity.
Though, I haven't actually plumbed deadline handling all the way through the PHP library, so you can't change it.

Python defaults to ∞.

Suggest changing ruby to infinity then?
@a11r - your call I think.

Everyone should default to infinity. I will try to discuss separately if
such decision about defaults should just be delegated down to the C-core.
On Tue, May 19, 2015 at 10:37 AM, Craig Tiller<EMAIL_ADDRESS>wrote:

Suggest changing ruby to infinity then?
@a11r https://github.com/a11r - your call I think.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/1632#issuecomment-103609325.

Putting my hat in for not pushing defaults to the core; that sounds like changing/adding function signatures at the most and adding a trivial (arguably spurious) constant alias to gpr_inf_future at the least.


Create a Search Component

This is non-essential, but ideally the entry page would have a search box to quickly filter for a specific service and/or category of services. This would be particularly useful for the mobile view.

Unless someone (who isn't me) has a lot of free time over the next couple days, I say we table this for now. We can mention it as a possible future enhancement.


Add StatusFailIcon, StatusPassIcon, StatusWarnIcon

We are adding 3 new icons for testing status inside of Storybook:

StatusPassIcon
StatusWarnIcon
StatusFailIcon

Are we going to use the exact same icons in the tooltips?
These icons need to be added to IconSymbols in SB core, but I can take care of that.


How to add looped edge?

I would like to have an edge that loops from one node to itself to show a temporal dependence. Using \edge {b_t} {b_t} ; does not work. Is there a workaround?

i am unsure if there is a correct way to declare a self-loop edge with tikz-bayesnet, but it is possible to add one via \path:
see https://tex.stackexchange.com/questions/35423/changing-loop-size-and-shape-in-tikz


V0p1p7d

Codecov Report

Merging #27 (0542aca) into master (ccccea0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   33.60%   33.60%
=======================================
  Files           3        3
  Lines         125      125
=======================================
  Hits           42       42
  Misses         83       83

Continue to review full report at Codecov.

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


Group and split documentation

Provide examples how to group and split sites. Test that everything works as expected.

Test coverage looks good to me, e.g. test_mps.test_group() and test_mps.test_fixes_issue_197().
On the example side we have grouping in c_tebd.py.
Do you want more examples @jhauschild ?


Add task to insert MOU signature

What problem does this pull request solve?

We have a couple of cases where an MOU signature has been signed off the platform, and we want to add them in now.
This commit adds a task to help a dev on support do this.
Things to consider when reviewing

Ensure that you consider the wider context.
Does it work when run on your machine?
Is it clear what the code is doing?
Do the commit messages explain why the changes were made?
Are there all the unit tests needed?
Has all relevant documentation been updated?

Code looks good and have tested locally 🎉


Problem with tmux plugin and Fedora 20

Tried this with a fresh install (as in a stock F20 install from ISO) ... when I use the tmux plugin on Fedora 20, it does not load ~/.tmux.conf
Is there a way to run oh-my-zsh in debug/logging mode? If this is a bug in the tmux plugin, I'll be happy to submit a pull request, but I don't know if there's a way to log from oh-my-zsh
This only happens when using gnome-terminal; xterm does not have this problem
Here's what it loks like:

I'm experiencing the same issue, on OS X in the Terminal.app though. Any pointers?

For some reason this https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/tmux/tmux.plugin.zsh#L40 breaks havoc in the plugin.

I can't reproduce. On OS X 10.9.5, when running OMZ with the default .zshrc and the tmux plugin added, it's loading my ~/.tmux.conf file. I can see the difference in the screen layout between when the file is present and absent.
What version of OS X and tmux are you on? Is this still happening with the current version of OMZ?
How do you know that it is that line that is causing problems?

Oh, wait, what line are you referring to there? That link is to the "master" branch, which means it always points to the latest commit. There have been changes to the file since you posted that comment, which means that lines have shifted around, and that link is probably no longer pointing to the code it was when you first post it. When posting links to lines in code, it's best to link to a specific commit, which is less likely to change over time.

At any rate, doing zsh -x or temporarily doing setopt xtrace will run zsh in debugging mode, which will echo everything it's doing. This will be a lot of output, though.
You can do this right before loading the plugin. Leave tmux off your $plugins list, and then do this.
setopt xtrace; source .oh-my-zsh/plugins/tmux/tmux.plugin.zsh; setopt noxtrace

You can also set it right before running tmux after the plugin is loaded.
setopt xtrace; tmux; setopt noxtrace

@apjanke thanks for the explanations, and thanks for following up on an oldish ticket :-)
I recently had to reinstall my system and have been running stock oh-my-zsh without any problems since then, so as this was fixed for @thomasehardt too I think it can be closed.

Cool. @thomasehardt, can you close this issue if it's working for you now?


Add method to list repository topics

For #546.
Adds method GHRepository.listTopics.
NOTE: The method to update repository topics does not work yet, so I have commented it out. It may not have been implemented in the underlying API. I recommend keeping the issue open until this is working.

Thanks!
I also raised a query to GitHub support to ask whether the setter feature is enabled yet.


add python unittests to check compatibility

I generated a few bytes on iOS 17, XCode 15, Themis 0.15.1, OpenSSL 1.1.1v
I added the bytes to Python unit tests as hex-encoded strings.
I ran the tests and was sure that the tests were successful.
Checklist

[x] Change is covered by automated tests

the more the merrier!