urlopen error _ssl.c:584: The handshake operation timed out

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.08.13. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.08.13

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
D:\>youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 -o "%(title)s.%(ext)s" -i "https://www.youtube.com/channel/UC5nc_ZtjKW1htCVZVRxlQAQ" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--extract-audio', '--audio-format', 'mp3', '--audio-quality', '0', '-o', '%(title)s.%(ext)s', '-i', 'https://www.youtube.com/channel/UC5nc_ZtjKW1htCVZVRxlQAQ', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.08.13
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-86977-g5859b5b, ffprobe N-86977-g5859b5b
[debug] Proxy map: {}
[youtube:channel] UC5nc_ZtjKW1htCVZVRxlQAQ: Downloading channel page
[youtube:playlist] UU5nc_ZtjKW1htCVZVRxlQAQ: Downloading webpage
[download] Downloading playlist: Uploads from MrSuicideSheep
[youtube:playlist] UU5nc_ZtjKW1htCVZVRxlQAQ: Downloading page #1
[youtube:playlist] UU5nc_ZtjKW1htCVZVRxlQAQ: Downloading page #2
ERROR: Unable to download JSON metadata: <urlopen error _ssl.c:584: The handshake operation timed out> (caused by URLError(timeout('_ssl.c:584: The handshake operation timed out',),))
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\extractor\common.py", line 502, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\YoutubeDL.py", line 2166, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\utils.py", line 1086, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open
...
<end of log>

Description of your issue, suggested solution and other information
Same error keeps coming up, Ive tried on different days and on different times off the day. Sometimes it goes wrong on page #2 sometimes page #7, where it goes wrong seems to be random. Also it takes a good 5 minutes for it to time out and create the error. No sure whats going on.

Most likely an issue with your network connection.


linking to html files is wrong

frame name="links" src="output/file/file_ind.html"
frame name="contents" src="output/file/file-1.html"
Should be:
frame name="links" src="file_ind.html"
frame name="contents" src="file-1.html"

img width="892" height="1262" src="output/file/file001.png" alt="background image"
Should be:
img width="892" height="1262" src="file001.png" alt="background imag
Because they exist in the SAME folder

I have the same issue to AbdelrahmanWahdan. I believed, this is correct for the run time html() function, not to run the converted HTML file separately.
But I want to use run (convert) it only one time and so, is there any way to configure the image path as I want?

@AbdelrahmanWahdan could you email me the pdf you're converting? I would like to test it in my device and also to check that this package is still working properly. For the moment, this package can't do separate its images to another directory. But i will consider it. :+1:

@mgufrone thank you for your reply. I'd noted that's the issue of poppler.
Actually, I want the image's path in generated HTML page is refer to generated images., like img src="file001.png" instead of img src="output/file/file001.png" .
According to the package, I found the code to run command as
D:/poppler-0.40.0/bin/pdftohtml.exe -c -fmt png  -zoom 1.5  file.pdf \output/56c9607130a00\file.html
and then the image path in HTML page is just like src="output/file/file_ind.html"
But when I try to run the command with absolute path like that,
C:/poppler-0.40.0/bin/pdftohtml.exe -c -fmt png  -zoom 1.5  file.pdf C:/wamp/www/\pdf_to_html\output/56c9607130a00\file.html
it look good and the file path in generated HTML is like img src="file001.png".
But another issue is found :'( . poppler is not working well with landscape pdf.

okay i will change the relative path to absolute one. I guess i'm gonna working on landscape pdf too. Thanks for the info


IPFS and Blockchain. What is the benefit?

I read on the landing page ipfs.io. it says: "IPFS and the Blockchain are a perfect match! You can address large amounts of data with IPFS, and place the immutable, permanent IPFS links into a blockchain transaction. This timestamps and secures your content, without having to put the data on the chain itself."
I don't know why it can secure my content. And is that any other benefit when I use IPFS with blockchain?
If anyone knows may you explain me?
Many thanks!!!!

For general questions we also have a forum at https://discuss.ipfs.io/. There is a bigger active crowd than on this issue tracker, so you might have better chance getting your questions answered there.

@maitrungduc1410 already created a topic on our forum, so let's continue there: https://discuss.ipfs.io/t/ipfs-and-blockchain-what-is-the-benefit/2672


Improve tests and add PHP 8

Tests shouldn't be based on the user API.
I think it's better for functional test to use a fakeKey, and add checks for a correctly executed code with error messages.
This allows to run all the tests on the CI, which is useful for the php compatibility.
I also added a check about php 8.

@drewm Travis is not running anymore ?

@drewm I can try to use github actions instead of travis. Would you be interested ?

@drewm I can try to use github actions instead of travis. Would you be interested ?

@drewm I can try to use github actions instead of travis. Would you be interested ?

Yes please!


Support Swift Playgrounds

Hey! This is an awesome looking project and since it's all (mostly) written in Swift, it got me thinking about the ability to write shortcuts in Swift Playgrounds directly on the iPad 🧐
In theory, each time you publish a new release you could also publish a zipped .playgroundbook bundle that could then be opened into the Swift Playgrounds app on iPad allowing people to prototype shortcuts and use them all without having to use a Mac. Is this something you'd consider?
I did think that it was semi-pointless since you can just use Shortcuts anyway to create them using the GUI, but it might be useful for people who would prefer to express their shortcuts in code still?
This draft PR makes a few changes that result in a working POC. I've also included the gif below to show it in action:

(Note that I re-ran the playground because of what I think is an iOS 14 bug that broke the UIActivityViewController on first run but I need to confirm)
So yeah ... The changes to the project itself were pretty simple:

Remove use of the Swift 5.2 compiler synthesised KeyPath methods (since Swift Playgrounds is currently still Swift 5.1
Only use CSymbols for Linux as looking at commit history, they were only introduced to fix a linux crash I think (since Swift Playgrounds only supports Swift code)

Then in addition to that, I've included a .playgroundbook template that mostly resembles a blank playground with a few extras:

The default page contains the Hello World example
ShortcutsSupport module contains helpers to extend PlaygroundPage as well as an internal view controller that writes the shortcut to disk and lets it be shared via UIActivityViewController. Sharing on iOS kinda sucks but it does the job

There is then a GeneratePlayground.swift script that copies the template, sets it's version based on arguments and moves the package source code into a module within the .playgroundbook. The idea is that you could run this each time you make a release then zip the output SwiftShortcuts.playgroundbook and include on the GitHub release.
$ ./Playground/GeneratePlayground.swift -version 1.0.0 -debug false

Anyway ... I'd be keen to see what you think about this. I'm not the biggest user of Shortcuts in general but the second that I saw this library I really wanted to see if Swift Playgrounds could be pushed to its limits and it would be interesting to see what it might enable. Cheers!

Hey Liam, thank you for contributing the first external pull request! I'll definitely take a closer look at this soon. From what I see so far, this looks great and I definitely think this is something that should be included in the project. (I have to admit that I saw this PR coming since I had noticed that someone forked the repository. 😅)

The template playground file is just to save time, but in reality the entire .playgroundbook bundle could be generated from scratch. If you don't like the idea of the Playgrounds directory in the repo then it could be hosted in a different repo that uses something like Mint just to provide a cli that can be used to generate the bundle on each release

@liamnichols I see that this PR is still a "work in progress"? Let me know if/when you're done and I can review it more in-depth. Thank you again! 🙂

@a2: ah my bad for the confusion, yep it's ready to discuss at least 🙂

Thanks for the review @a2, I've updated the code and tested the new playground and all seems good still 👍


don't use attrs as it's not updated before computed props are fired

Minor fix to ensure time picker options are updated correctly.

Thanks - I'll release as 1.1.1 :smile:


Updated INSTALL.md and README.md with links to SysReq

Description

Added to README the links to System Requirements for oneDAL/DAAL
Changed the link to System Requirements in INSTALL.md

make test


Implement macros

BEGIN MACRO content_market('lang_code', 'permissions')
   # Allow to read site root path
    DENY    ${content_path}                                    [READ]
    ALLOW   ${content_path}   STRICT                           [READ]
    ALLOW   ${content_path}   /jcr:content                     [READ]
    ALLOW   ${content_path}   /jcr:primaryType                 [READ]

    # Allow to read site channel root path
    DENY    ${content_path}/default                            [READ]
    ALLOW   ${content_path}/default   STRICT                   [READ]
    ALLOW   ${content_path}/default   /jcr:content             [READ]
    ALLOW   ${content_path}/default   /jcr:primaryType         [READ]

    ALLOW   ${content_path/default/${langCode} ${permissions}

END MACRO

then just
USE MACRO content_market('en_US', [ALL])
USE MACRO content_market('pl_PL', [READ])

macro argument names are quoted intentionally to be able to inject there other variables.
APM will provide many built-in macros, for instance for filtered workflows to be launched by author
BEGIN MACRO workflows_only_at('path')
    ADD TO GROUP 'workflow-users'
    DENY    /etc/workflow/models /*                              [READ]
    ALLOW /etc/workflow/models/${path}                           [READ]
END MACRO

USE MACRO workflows_only_at('my-site')

you can run script with parameters,


[Bug]: Some combine works on Main thread

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
Some flow combine works on Main thread.

|
Relevant logcat output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Personally, umm... I'm not sure why flowOn needs to be added. I think that specifying a dispatcher in the coroutine builder would make thread management and tracking easier.
If thread switching is implemented in the Repository and UseCase as you've modified, it seems that it could unnecessarily increase the amount of code to manage and make things more complicated.

I added this flowOn on the Repository and UseCase because that comebine using almost all map method. Map would take long time when the collection become bigger, so that the logic need to be run on Dispatchers.Default.

I think that specifying a dispatcher in the coroutine builder would make thread management and tracking easier.

@Jaehwa-Noh 😀
This comment was left because I think that handling thread management and tracking with flowOn at the start of the coroutine builder or logic would be efficient.
// Starting point of logic
.flowOn(Dispatchers)
.stateIn(...)

// Coroutine builder
viewModelScope.launch(Dispatcher) { ... }
viewModelScope.async(Dispatcher) { ... }

Additionally, I also believe that performing complex computations on Dispatchers.Default is efficient. However, I'm not quite sure if it's efficient to switch the current tasks to Default. It would be effective if the project data size were very large, but in the current project, I'm unsure how much of a performance improvement there would be. Having a benchmark to compare before and after would make it easier to understand.  🤔

@yongsuk44 I don't think that repository or usecase own coroutine dispatcher would be controlled in viewModel because usecase and repository could be re-used anywhere. Imagine that controlled by coroutineScope in the viewModel. When use that repository or usecase in another viewModel, developer must always consider that viewModelScope is working properly or not, and that leads them to be making mistake easily.
Current data size isn't enormous, but there's no reason we carry out the risk.
I don't say this is for improve the performance, I do this for prevent ANR, long calculate on main thread easily bring that error.

When working with coroutines on Dispatchers.Main, there is no need to worry about ANR as long as the thread is not blocked. Most functions in our current project are designed as suspend functions, so they seem fine.
Of course, if there are incredibly complex calculations or tasks that block the thread, it would be reasonable to switch to Dispatchers.Default or Dispatchers.IO. However, these operations often involve calls to Room or Retrofit, most of which support the suspend modifier, so I think they should be fine.
However, as I mentioned in a previous comment, I'm not sure if adding flowOn and thereby increasing the amount of code we need to manage is worth the trade-off.
Am I missing anything here? 🤔

@yongsuk44 You can check this documentation.

Dispatchers.Main - Use this dispatcher to run a coroutine on the main Android thread. This should be used only for interacting with the UI and performing quick work. Examples include calling suspend functions, running Android UI framework operations, and updating LiveData objects.

Dispatchers.Main is not safe for ANR. That is why Room and Retrofit using Dispatchers.IO.

ANR occurs when the main thread is 'blocked' for a certain period of time. The suspension of coroutines and the blocking of threads are distinct concepts.
Additionally, when implementing Room and Retrofit with the suspend modifier, the operations are handled on the IO.


Update reflecting recent changes in the Data Package specs

I'm flagging here my availability (and interest) in help with whatever is necessary to update and extend this reflecting any recent changes in the specifications:
https://github.com/frictionlessdata/specs
Can also chat here:
https://gitter.im/frictionlessdata/chat

[http://varigencecom.blob.core.windows.net/emailreplytemplates/images/image-9b370e8d899644af6b39060d919c4d78f5d6d478.jpg]
Hello,
Thank you for contacting Varigence Support!
We have created a ticket for your support request:
143823
We will contact you shortly regarding this support request. If you are already a customer or are evaluating our products, please let us know, so you can receive priority support.
Have you joined the Biml community? If others have encountered a similar issue, the Varigence Forumshttps://www.varigence.com/Forums?forumName=Mist or Bimlscript.comhttp://bimlscript.com/ may contain a resolution.
Guidelines for Submissions:
We often need specific details to reproduce and resolve support requests. Following the guidelines below will enable us to respond more quickly and accurately. If you would like to supplement your support request with additional details, please just reply to this email.

Help with an Error Message:

 *   Which version of the product are you using?

(Click File -> Account -> Copy Product Information and paste the results in your reply.)
 *   What were you doing or trying to do?

 *   Please provide the exact text of the error or a screenshot.

 *   If your solution does not include private or proprietary code, it would be helpful if you could send the Biml code that causes the issue and any build outputs (e.g. dtsx files) that seem to be incorrect.

Unexpected Behavior:

 *   Which version of the product are you using?

(Click File -> Account -> Copy Product Information and paste the results in your reply.)
 *   What steps were taken or what actions were performed?

 *   What did you expect to happen?

 *   What actually happened?

 *   If your solution does not include private or proprietary code, it would be helpful if you could send the Biml code that causes the issue and any build outputs (e.g. dtsx files) that seem to be incorrect.

Product Key Issue:

 *   If you didn't receive a trial key, please check your junk mail/spam folder for mail from Varigence Sales.

 *   Is your computer disconnected from the internet?

 *   Are you behind a firewall?

Feature Requests:

 *   What are you trying to accomplish that you cannot?

 *   When would you need this feature?

Biml Community Resources

BimlScript.comhttp://bimlscript.com - Website dedicated to the Biml language.

Stairway to Bimlhttp://www.sqlservercentral.com/stairway/100550/ - Series of articles for getting started with Biml.

Biml Linkedin User Grouphttp://www.linkedin.com/groups/Biml-User-Group-4640985/about - Ask technical questions, see upcoming events, and network with other Biml users.

Biml Forumshttp://varigence.com/Forums?forumName=Biml on Varigence.com

BimlScripthttps://twitter.com/BimlScript Twitter feed

Thank you,
Varigence Support
Varigencehttps://varigence.com/ - We change the economics of building Business Intelligence solutions with Mist and Biml
support<EMAIL_ADDRESS>| Twitterhttps://twitter.com/Varigence | Facebookhttps://www.facebook.com/varigence/

👋


get download as mp3 or different audio type

Hi,
would it be possible to download the audio files in a different file type?
I am using the files in a vocabulary learning tool that does not accept ogg files and I want to avoid converting each and every file.
Thanks!

This would require server side work since client side javascript is just not for that.
After some research it seems CloundConvert is our solution.

Free Plan for 25 Conversion minutes per day
https://cloudconvert.com/pricing

Convert ogg to mp3
https://cloudconvert.com/ogg-to-mp3

API Instructions
https://cloudconvert.com/api/conversions

However I'm pretty busy IRL so it may take some time before I implement this.
@krawallchrischtl Please pin me again if I haven't update this issue before June 1st. Thanks.

Hi! I am sending a "ping" as I haven't heard back again. Have you had a chance to look into those server side solutions?
Thanks!

Checking in again. Do you think you will find time to look at this?


Optimize the definition and usage of ServiceRegistry

The following contents have been modified:

Delete the definition and usage of ServiceRegistry in package bootstrap, and unified use  the definition of ServiceRegistry in package serviceregistry;
Add the handle of CloudFoundryRegistry in initKubeClient.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS
tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @ping035627. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@ping035627: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
c1eb201d539d191b8d4193f813ee13a2daac5ae5
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@ping035627 Please address the lint failures
pilot/cmd/pilot-agent/main.go:233::error: line is 171 characters (lll)
pilot/cmd/pilot-discovery/main.go:81::error: line is 171 characters (lll)
pilot/pkg/bootstrap/server.go:386:4:error: ineffective break statement. Did you mean to break out of the outer loop? (SA4011) (megacheck)
pilot/pkg/bootstrap/server.go:383:4:error: ineffective break statement. Did you mean to break out of the outer loop? (SA4011) (megacheck)
pilot/pkg/bootstrap/server.go:386:4:error: redundant break statement (S1023) (megacheck)
pilot/pkg/bootstrap/server.go:383:4:error: redundant break statement (S1023) (megacheck)
pilot/pkg/bootstrap/server.go:392:4:error: ineffective break statement. Did you mean to break out of the outer loop? (SA4011) (megacheck)
pilot/pkg/bootstrap/server.go:389:4:error: ineffective break statement. Did you mean to break out of the outer loop? (SA4011) (megacheck)
pilot/pkg/bootstrap/server.go:392:4:error: redundant break statement (S1023) (megacheck)
pilot/pkg/bootstrap/server.go:389:4:error: redundant break statement (S1023) (megacheck)

@ping035627: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
6fa509231fed71980dbac4acc72d2426bbab1e9b
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
6fa509231fed71980dbac4acc72d2426bbab1e9b
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
6fa509231fed71980dbac4acc72d2426bbab1e9b
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
Assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
6fa509231fed71980dbac4acc72d2426bbab1e9b
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
95d1ac99bfd30534c9c3cab3f430c0b4ffedafc8
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
95d1ac99bfd30534c9c3cab3f430c0b4ffedafc8
link
/test istio-unit-tests

prow/istio-presubmit.sh
95d1ac99bfd30534c9c3cab3f430c0b4ffedafc8
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS
tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
145a301031eb36a3a4bcc0560df36bb8f3712219
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
a60a9519454707e6fbb4e660a424e2d66206c4f9
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
a60a9519454707e6fbb4e660a424e2d66206c4f9
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
a60a9519454707e6fbb4e660a424e2d66206c4f9
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
a60a9519454707e6fbb4e660a424e2d66206c4f9
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
b567a79fba0565bd9d4bdc2086e7a53329714f36
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
a60a9519454707e6fbb4e660a424e2d66206c4f9
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
b567a79fba0565bd9d4bdc2086e7a53329714f36
link
/test istio-pilot-e2e-v1alpha3

prow/istio-presubmit.sh
4e7ae1b55ae2aca43e3a2ebbb9d755d2608fcbea
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
a60a9519454707e6fbb4e660a424e2d66206c4f9
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
b567a79fba0565bd9d4bdc2086e7a53329714f36
link
/test istio-pilot-e2e-v1alpha3

prow/istio-presubmit.sh
4e7ae1b55ae2aca43e3a2ebbb9d755d2608fcbea
link
/test istio-presubmit

prow/istio-unit-tests.sh
4e7ae1b55ae2aca43e3a2ebbb9d755d2608fcbea
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
b567a79fba0565bd9d4bdc2086e7a53329714f36
link
/test istio-pilot-e2e-v1alpha3

prow/istio-presubmit.sh
4e7ae1b55ae2aca43e3a2ebbb9d755d2608fcbea
link
/test istio-presubmit

prow/istio-unit-tests.sh
4e7ae1b55ae2aca43e3a2ebbb9d755d2608fcbea
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
b567a79fba0565bd9d4bdc2086e7a53329714f36
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
b567a79fba0565bd9d4bdc2086e7a53329714f36
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
bb8f48d6acea7a5e5a5e9c52b034ff9db94dbd70
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
bb8f48d6acea7a5e5a5e9c52b034ff9db94dbd70
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
bb8f48d6acea7a5e5a5e9c52b034ff9db94dbd70
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
bb8f48d6acea7a5e5a5e9c52b034ff9db94dbd70
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
9b41214bf8c4fee527d2b07fa21267d8a7c94461
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ping035627: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
9b41214bf8c4fee527d2b07fa21267d8a7c94461
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
9b41214bf8c4fee527d2b07fa21267d8a7c94461
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@cmluciano @rshriram
I have modified the lint failures, please review it, thanks.


TAJO-1699: Tajo Java Client version 2.

This is still ongoing work. I have to fix unit tests and refactor some code. But, you can take a look at API v2 and its design and direction. I'm looking forward to hearing your comments about the API design.

This work is highly related to the error propagation work. So, it also refactors error and exception related codes.

rebased and fixed some unit tests.

It is ready to be reviewed.

Hi @hyunsik. Thank you for the nice patch.
I expect that this patch and your succeeding work will prevent tajo developers including me from suffering for unexpected and abused exceptions. I hope that you can finish this work nicely.
I left some comments. Please consider them.

I reflected the comments.

+1 ship it!


Getting error with latest jQuery 3.1.1

Sometimes (not always) when I reload a page I'm getting this error http://take.ms/eKDLD. Maybe this is because the API for jQuery.fn.load (http://take.ms/efdUL) has changed and now it needs 3 parameters instead of just a callback.

This is happens all the times if I just open a page in a new tab instead of pressing reload button.

This can be easily fixed by changing
obj.find('img').load(function () {

to
obj.find('img').on('load', function () {

Duplicate of https://github.com/sachinchoolur/lightslider/issues/248
It looks like @sachinchoolur's last activity was on October 14 so he probably hasn't seen this yet :( I'm eagerly awaiting this as well, the only reason I haven't upgraded to jQuery 3 yet.

Hi Guys,
The issue has been fixed. Sorry for the delay


Add mongodb-3.4-precise

Adds MongoDB 3.4 following the instructions here: https://docs.mongodb.com/v3.4/tutorial/install-mongodb-on-ubuntu/

This is becoming more important for me as my ODM layer has added collation support, but that's only present in 3.4+.  Thanks!

Ah oops sorry! I swear I searched first and missed it somehow

Can this be merged please?

/cc @BanzaiMan @MariadeAnton @duilio


Add --version option to antares-xpansion-launcher

Currently, it is impossible to know the version of xpansion.
Current output
[mco-antares@calinfrprdif201vm xpansion]$ ./antares-xpansion-launcher --version
usage: antares-xpansion-launcher [-h]
                                 [--step {full,antares,getnames,lp,optim,update}]
                                 [--simulationName SIMULATIONNAME] -i DATADIR
                                 [--installDir INSTALLDIR]
                                 [-m {mpibenders,mergeMPS,sequential}]
                                 [-n N_MPI] [--keepMps]
antares-xpansion-launcher: error: the following arguments are required: -i/--dataDir

Option parser
https://github.com/AntaresSimulatorTeam/antares-xpansion/blob/5d4a2800c9bbcb6ca54b993aaaa70840d94864c2/src/python/antares_xpansion/input_parser.py#L62-L69
The output is a bit contradictory with the option parser : the option seems to be handled, but it's not.

Hi,
tested with antares-xpansion 0.6.0 and 0.7.0:
`s15118@WD0564 MINGW64 ~/Downloads/antaresXpansion-0.6.0-windows-single-file
$ ./antares-xpansion-launcher.exe --version
0.6.0
s15118@WD0564 MINGW64 ~/Downloads/antaresXpansion-0.6.0-windows-single-file
$ ./antares-xpansion-launcher.exe -v
0.6.0`
`s15118@WD0564 MINGW64 ~/Downloads/antaresXpansion-0.7.0-windows-single-file
$ ./antares-xpansion-launcher.exe -v
0.7.0
s15118@WD0564 MINGW64 ~/Downloads/antaresXpansion-0.7.0-windows-single-file
$ ./antares-xpansion-launcher.exe --version
0.7.0
`
From the description of available steps  [--step {full,antares,**getnames,lp,optim,update**}], i guess the version of xpansion you were testing is <0.6.0 which could explain the problem. The version display option was introduced in v0.6.0.


openshot-qt fails to generate video

Describe the bug
If I export a project with default settings I get a "video" that is full length but blank screen. If I install the flatpak and do the same the video is generated as expected.
Steps To Reproduce
Steps to reproduce the behavior:

Export a project to a default mp4
...
...

Expected behavior
The resulting video has no image but is full length.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
These results are misleading because I'm using flakes and following unstable.
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

system: "x86_64-linux"
host os: Linux 6.6.44, NixOS, 24.11 (Vicuna), 24.11.20240804.cb9a96f
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.5
channels(root): "nixos-23.11"
nixpkgs: /nix/store/4cpakzyvfw1rmm9v5i3387x6jd2h1v86-source

Add a :+1: reaction to issues you find important.

I think I have this issue as well, I only get sound no video. stdout gets a bunch of Frame AVERROR_EOF, so it would be related to that issue: https://github.com/OpenShot/openshot-qt/issues/5419, which has been fixed.

Package was bumped to v3.2.1 in nixpkgs two weeks ago in https://github.com/NixOS/nixpkgs/commit/b37576faa4efddb7a8e4394cb14821140bb6d1b2), which should solve the issue according to upstream, but it still fails on my end.
Test using nix run github:nixos/nixpkgs/b37576faa4efddb7a8e4394cb14821140bb6d1b2#openshot-qt

FYI v3.0.0 in 047d0f2c4cf6e36efa4757ddb626a0f0fea4176b worked for me.
It also does not show the same Frame AVERROR_EOF.


New feature: write image to memory buffer instead of file

ImageOutput::supports("write_memory") will return true for a format writer
that supports the ability to write an in-memory representation of the
fully encoded file, but without creating a file on disk.
For supporting formats, the caller can trigger this behavior by setting
two special attributes in the ImageSpec that is passed to
ImageOutput::open():
"oiio:write_image" (PTR) is a pointer to an unsigned char * which will
receive the address of the allocated buffer (which will then be owned
by the caller, who must eventually free it).
"oiio:write_image_size" (PTR) is a pointer to a uint64_t which will
receive the size of the allocated buffer.
The documentation (in the ImageOutput chapter) and imagebuf_test.cpp both
contain examples showing how to do this.
Currently, the only output file type to support this feature is PNG.
Others may be added in the future, but it will be as demand (and
volunteers) materialize. Each one will have to be added as a separate
effort, since the means of redirecting the file output to memory will be
quite different for each format library -- what we did for libpng is
different from what libtiff will need, and some formats may not have any
such facility.
Fixes #1895

@SylvainCorlay,  is there any way you can give this a try and let me know if it's along the lines of what you hoped for?

Note: I tried using this new API, and it seems that there are issues with OpenImageIO_v1_9 vs OIIO:
note: candidate function not viable: no known conversion from 'std::__1::unique_ptr<OpenImageIO_v1_9::ImageOutput, (lambda at ximage.hpp:201:27)>::pointer'
      (aka 'OpenImageIO_v1_9::ImageOutput *') to 'OIIO::ImageInput *' for 1st argument
        auto close_file = [](OIIO::ImageInput* file)

Is that error message in your code? Or is it something you encountered when building OIIO itself?

Is that error message in your code? Or is it something you encountered when building OIIO itself?

The build installation of openimageio works fine, I am seeing this when building code that uses oiio. Naturally, I never make use of the OpenImageIO_v1_9  namespace.

The real namespace is the one with the embedded version. OIIO should be an alias to it (so you don't need to chance your source code every time the version changes), so they should be interchangeable.
See in oiioversion.h:
namespace OpenImageIO_Arnold_v1_9 { }
namespace OIIO = OpenImageIO_Arnold_v1_9;

Can you quote the code that's generating this error?

Haha, sorry, I cut and pasted from the wrong build. At work we build with a special namespace.
You should see in the default oiioversion.h,
namespace OpenImageIO_Arnold_v1_9 { }
namespace OIIO = OpenImageIO_v1_9;

Botched it again. Edited.
My cut and paste skills are obviously not up to par today.

What's the verdict on this, @SylvainCorlay ?

Abandoning this PR. I re-implemented it in a more flexible way in #1931.


Win32 errors when trying to use WebView2

I'm trying to use the new WebView2 package and unable to get it working.
I installed the runtime from https://developer.microsoft.com/en-US/microsoft-edge/, restarted my computer, and copied WebView2Loader.dll from this repo into my Dolphin application directory (C:\Program Files (x86)\Dolphin Smalltalk 7). But the example code still fails, displaying a message about how I still need to download the runtime.
wv := URLPresenter show: 'WebView2'.
wv value: 'https://github.com/DolphinSmalltalk/Dolphin'

Inspecting the Win32Error shows that the first time I run it I get a generic "Access denied" error, then all subsequent attempts I get a GPFault ("Invalid access to memory location").
I checked the file permissions of the DLL but as far as I can tell they are correct and identical to the other DLLs in the same folder that are working. Then again, I remember having access issues whenever adding new DLLs, so perhaps there's a step I've forgotten? I also tried copying the DLL to the same directory as the image file but that had the same result.

Okay, I worked the problem.
The "Access denied" error wasn't referring to Dolphin's attempt to use the DLL but rather internal to WebView2 when it tries to access the User Data Folder, which by default is created in the same directory as the executable.
I created a folder named Dolphin7.exe.WebView2 inside of C:\Program Files (x86)\Dolphin Smalltalk 7, then another named EBWebView inside of that. And now finally I can see the web page.
If I recall correctly, this was the same problem I had with a different DLL that had to create a folder for its own database.
So now my question is, how do I setup Dolphin such that DLLs have write permissions to the directory of the executable? Do I have to copy the Dolphin7.exe file to a more permissive folder?
In this specifically case, I think the right solution is to implement https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.1185.39#createcorewebview2environmentwithoptions so the User Data Folder location can be specified, but either way, I'd like to know whether there is something generally wrong with my setup and/or the default Dolphin setup.

Thanks for reporting the issue Joe. I'd not experienced this because I don't use the setup. As I'm always building everything from source, my Dolphin.exe is within my working tree, and therefore in a writable folder. I had noticed that webview2 creates the user data directory in a sub-folder of the application exe's folder because I had to add a .gitignore filter for it, but it hadn't registered with me that this would mean it would always fail for any application installed by a standard kind of setup into the program files hierarchy (doh!).

In this specifically case, I think the right solution is to implement CreateCoreWebView2EnvironmentWithOptions so the User Data Folder location can be specified, but either way, I'd like to know whether there is something generally wrong with my setup and/or the default Dolphin setup.

It's not indicative of an issue with the setup, or your own setup. The default placement of the webview2 user data folder is not really a good choice given that applications should (for security reasons) be installed to folders that are not writable with normal user privileges. However, given this odd default choice, then as you suggest the correct solution is to implement the environment options to place the folder somewhere more sensible, like %LocalAppData%


Upgrade to opentracing 1.0.0-beta3

Amazing work! Thanks for taking care of this. I left some comments.

@eligijusvitkauskas-home24 would you mind to rebase this?


BungeeCord Luckperms Jar

Is there difference (or exsistence) between the jar file that is used for spigot servers (the plugins folder in the spigot server) and the jar file that is used to be put in the bungee cord server (the bungee cord plugins folder).
If there is a Luckperms for Bungeecord can someone link it?
Thanks,
Shreyas

As Bungee and Spigot are different, plugins are also different, altough LuckPerms' functions are the same in almost all veresions of it (some may change depending on the platform)
The different versions are available from https://luckperms.net/download

Thanks! That’s the answer I was looking for thank you. So the download that says Bukkit on thr website that you provided, I should put that in every backend server, and the one that’s says bungee cord I should put that in the bungee cord plugins folder correct?
Thanks,
Shreyas

Yes, that's correct :+1:

Ahhh! Thank you Tobi! Best support ever

And just to add on, I need to set up MySQL on every configuration file related to luckperms right?

Yes, all servers (BungeeCord and your Spigot servers) need to use the same database if you want permissions shared accross them.

Ahh okay. Could you give me a link to a video or a wiki on how to set up a mysql account for Mac?

https://dev.mysql.com/doc/mysql-osx-excerpt/5.7/en/osx-installation-pkg.html might help you

Or https://dev.mysql.com/doc/mysql-osx-excerpt/5.7/en/osx-installation.html

Thanks my guy! Absolutely great plugin by the way. Couldn’t be better

I’ve set up mySQL thing but I can’t find my database which I am supposed to put in the config. I know the username is root, I have set my own password, I believe I can keep the host as localhost but I don’t know that my database is or how to find it on Mac. Can you help?

You probably need to create a database.
If you've got a MySQL shell running, you can use CREATE DATABASE luckperms; - then your database name will be luckperms.


Template X Memoize Fetch Adds Header

Test URLs:

Before: https://stage--express--adobecom.hlx.page/express/?lighthouse=on
After: https://template-x-fetch-memoize-includes-header--express--adobecom.hlx.page/express/?lighthouse=on

Codecov Report

Merging #157 (da602d9) into stage (d913237) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            stage     #157      +/-   ##
==========================================
- Coverage   35.73%   35.59%   -0.15%
==========================================
  Files          27       27
  Lines        9488     9488
==========================================
- Hits         3391     3377      -14
- Misses       6097     6111      +14

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Feature/web socket

Auto update / audio feedback on new users / latest users displayed on left side
fixes #111
fixes #24

@nullcode this is ready to be reviewed!


Setup in Program.cs vs Startup.cs

Hello,
I am having a little trouble to understand the difference between configuring App Metrics using Program.cs or Startup.cs - Is there anything in the docs explaining what are the difference between the two methods?
I remember reading somewhere that configuring under Program.cs is preferred. However, configuring under Startup.cs is generally easier, specially regarding reading configuration from applicationsettings.json. I would go this route but would like to know what the downsides would be.

If you find it preferrable to add to Startup.cs go with that


False detection of formatting issues.

Hello SnakeMake team. I think I might have identified an issue when trying to automate a workflow (and this is the first step).
I was using version v8.11.3
I am trying to start off using a program called fastp to trim the sequences. This is the first step. I am also using the paired-ends wrapper from your wrappers website but it has in the past returned several errors regarding the formatting which I have fixed but this did not seem to rectify the issue. My first Snakefile was:
rule trim:
	input:
              	R1='sequence_landingzone/{sample}_R1_001.fastq.gz',
                R2='sequence_landingzone/{sample}_R2_001.fastq.gz'
        output:
               	R1='snakemaketest/{sample}.R1.trimmed.fastq.gz',
                R2='snakemaketest/{sample}.R2.trimmed.fastq.gz',
                html='snakemaketest/{sample}.html',
                json='snakemaketest/{sample}.json'
        threads: 4
        log:
            	'snakemaketest/{sample}.log
        params:
               	'--detect_adapter_for_pe'
        shell:
              	'fastp -w {threads} {params} -i {input.R1} -I {input.R2} -o {output.R1} -O {output.R$}

which returned this error message:
SyntaxError in file /home/user/Snakefile, line 6:
unterminated string literal :
None

Everything has been wrapped and formatted as optimally as I could. I tried another Snakefile thinking it was having trouble recognizing the files as genomes for the input:
(GENOMES,) = glob_wildcards("../data/genomesFna/{genome}_001.fastq.gz")

rule all:
    input:
	expand("../data/A_checkm/{genome}", genome=GENOMES),

rule trim_sequences:
    input:
	R1='sequence_landingzone/{sample}_R1_001.fastq.gz',
        R2='sequence_landingzone/{sample}_R2_001.fastq.gz'
    output:
	R1='snakemaketest/{sample}_trimmed_R1.fastq.gz',
        R2='snakemaketest/{sample}_trimmed_R2.fastq.gz',
        html='snakemaketest/{sample}.html',
        json='snakemaketest/{sample}.json',
        log='snakemaketest/{sample}.log'
    threads: 4
    params:
	detect_adapter_for_pe=True
    shell:
	"""
	fastp -w {threads} --detect_adapter_for_pe \
              -i {input.R1} -I {input.R2} \
              -o {output.R1} -O {output.R2} \
              --html {output.html} --json {output.json} \
              2> {output.log}
        """

and it appears to have run successfully but there's nothing in my output directory after running the script.
Assuming unrestricted shared filesystem usage.
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 4
Rules claiming more threads will be scaled down.
Job stats:
job      count
-----  -------
all          1
total        1

Select jobs to execute...
Execute 1 jobs...

[Tue May  7 11:54:37 2024]
localrule all:
    jobid: 0
    reason: Rules with neither input nor output files are always executed.
    resources: tmpdir=/tmp

[Tue May  7 11:54:37 2024]
Finished job 0.
1 of 1 steps (100%) done
Complete log: .snakemake/log/2024-05-07T115437.118160.snakemake.log

It did not produce for me any logs so I cannot look further into errors that occurred.

I haven't look at your problem in detail. But you are obviously missing an end-quote here:


Remove rounding from metrics

Though the spec says "For compatibility all values should be integers in the range (-2^53^, 2^53^)." rounding the metrics to an integer is making for really really ugly graphs when things are quick.  It looks like everything we're using is float-safe, so let's just let the raw numbers through.

Fixed in 340b46d8819e5f7713681d81487af5fbeffdc316
So much better looking:


Add Kubernetes on GCP GKE Hello World Tutorial

Check is currently failing as its dependent on https://github.com/pulumi/examples/pull/226, which is still being checked by TravisCI. will re-run once that PR lands


Incoming parameters for a package

Hello, is there a way to add incoming parameters for a package?
Here is the manifest from spotx, it uses incoming parameters, for example -podcasts_off, but it is not always needed by all users.

Sadly Scoop does not support imcoming parameters.
There are 2 ways to implement it:
(1) Add a new package, such as spotx-with-podcasts-np.
(2) Add a standalone script in (BUCKET DIRECTORY)\scripts that allows user to turn off podcasts, and put notes to notify users, such as:
"notes": "Run \"$dir\\turn-off-podcasts\" to turn off podcasts.",

See extras/grepwin for example.

Thanks, I'll just leave it as it is.


[Question] Multiple sets of systems?

It is advisable to create two or more sets of systems? Looking at the code briefly I don't see anything that would prevent this or break with multiple sets of systems, I've just never seen it in any of the example projects.

Using multiple pools to separate behaviour is a better choice in most cases, but allow multiple systems, why not? Maybe in very big applications come in handy (multithreading?)

Do you mean different sets of systems that you execute in different 'Phases' of the game?

Yeah, what I actually needed to do was a set of systems that could be paused and another set of systems that were unpausable. So one set of systems only runs if there is no pause component in the pool and the other runs all the time.
I've implemented this and so far haven't had any issues. I looked deeper into the systems class itself and it doesn't seem like is anything magical there, just two lists for keeping track of what's running.

You can definitely nest systems RootSystemBehaviour.cs
You could also create some kind of GuardSystem which inherits from Systems (or better: Feature) and the add child systems to it
public class GuardSystems : Feature, ISetPool
{

    readonly Func<Pool, bool> _guardFunc;
    Pool _pool;

    public GuardSystems(string name, Func<Pool, bool> guardFunc) : base(name)
    {
        _guardFunc = guardFunc;
    }

    public void SetPool(Pool pool)
    {
        _pool = pool;
    }

    public override void Execute()
    {
        if (_guardFunc(_pool)) {
            base.Execute();
        }
    }
}

new GuardSystem(pool => pool.isPaused);

That's fairly eloquent, I actually just ended up doing:
unpausableSystems.Execute();
if (!pool.isPaused)
{
    pausableSystems.Execute();
}

No nesting involved.

Fair enough :)

With GuardSystems you can create more complex system trees and end up with a single parent Systems which can be nice. In your case not really necessary, I see :)

Yeah I didn't realize they were nestable. May eventually go back and refactoring it, got a million other things to do to get this game out though 👾

i think this can post into wiki, i think its good to use!

@sschmid  i use your GuardSystems for control some kinds of systems.
but i found some thing error.
please look my post > https://github.com/sschmid/Entitas-CSharp/issues/122
by the way i have test, this works, DestroySystem is worked.
void InitSystems(Pool gamePool,Pool corePool)
    {
        _systems = new Feature("BattleSystems")

            // init sys
            .Add(gamePool.CreateSystem<CreateBattleSystem>())

            // add render view
            .Add(gamePool.CreateSystem<RemoveViewSystem>())
            .Add(gamePool.CreateSystem<AddViewSystem>())
            .Add(gamePool.CreateSystem<UpdateViewSystem>())

            // add gizmos systems
            .Add(gamePool.CreateSystem<GizmosMoveSystem>())

            // add tick logic systems.
            //.Add(new GuardSystems("LogicSystems", _pool => _pool.isTickPause)

                    .Add(corePool.CreateSystem<TickSystem>())

                    //.Add(pool.CreateSystem<InputSystem>())

                    // reactive
                    .Add(gamePool.CreateSystem<MoveSystem>())

                    .Add(corePool.CreateSystem<DestroySystem>())
                    .Add(gamePool.CreateSystem<DestroySystem>())

            //) // add tick logic systems end.

            ;

        _systems.Initialize();
    }

@sschmid i solve the ISetPool wont call in ISystems implement
using System;
using Entitas;
using TinyTeam.Debuger;

public class GuardSystems : Feature {

    Pool _pool;

    readonly Func<Pool, bool> _guardFunc;

    public GuardSystems(string name, Func<Pool, bool> guardFunc,Pool pool) : base(name)
    {
        _guardFunc = guardFunc;
        _pool = pool;
    }

    public override void Execute()
    {
        if (!_guardFunc(_pool))
        {
            base.Execute();
        }
    }

}


Learning outcomes and course details page

I know this is obvious, but opening up an issue so we can divide-and-conquer when it's time to push this course through to completion. The course needs a course-details.yml file with the learning outcomes. We might also consider adding enhanced metadata to this course since it's new and we can start off testing it on the right foot.

Closing this issue, because this course does have the proper course-details.yml file.


Genotype code wrong!

Hi there,
 I was surprised to find a major error in your pandas-plink package! I used it to read /bed/bim/fam files into python. But I found that my minor alleles homozygous were coded as 0 and major alleles homozygous were coded as 2!!! That invests all my results! Can you please check your source code to correct such an error! Otherwise, it's really dangerous for others to continue using this pandas-plink package!!!

Hi @liqingbioinfo  also found this. You can however fix it using  ref="a0":
from os.path import join
from pandas_plink import read_plink1_bin
from pandas_plink import get_data_folder

G = read_plink1_bin(join(get_data_folder(), "chr*.bed"), verbose=False, ref="a0")
G[0:5, 0:5].compute() # the first 5x5

Which should get you:
array([[2., 2., 0., 2., 2.],
       [2., 1., 0., 2., 2.],
       [2., 2., 0., 1., 2.],
       [2., 2., 0., 2., 2.],
       [2., 2., 0., 2., 2.]], dtype=float32)

As opposed to using  ref="a1" (which is the default):
array([[0., 0., 2., 0., 0.],
       [0., 1., 2., 0., 0.],
       [0., 0., 2., 1., 0.],
       [0., 0., 2., 0., 0.],
       [0., 0., 2., 0., 0.]], dtype=float32)

Is a1 the sensible default? If so, I guess you can close this.

I will have a look at it later today.

If I’m not mistaken, I chose not to select a reference allele based on its frequency to (i) avoid having to read the entire dataset to decide which allele to use, and (ii) avoid arbitrarily determining a reference allele when the frequencies are identical. Instead, I use a1 by default and allow the user to select a different one if they wish.

It would be great if there is a way to avoid the above confusion. Let me know if there is!

I just wondered if by convention, one or the other is the ref.
On Wed, 19 Jun 2024 at 21:33, Danilo Horta @.***> wrote:

It would be great if there is a way to avoid the above confusion. Let me
know if there is!
—
Reply to this email directly, view it on GitHub
https://github.com/limix/pandas-plink/issues/28#issuecomment-2179424632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA7NEZ6FSTSEMORWGYELOTZIHTJRAVCNFSM6AAAAABJRRPJL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGQZDINRTGI
.
You are receiving this because you commented.Message ID:
@.***>


Build digital story transporter

Updates and visual enhancements :)
Based on some other designs and discussions, had to make some updates to this. Examples below:
Also, since we have to adjust some of the colours based on accessibility when setting type over cream background. The blue we are using for the first new digital story, large text (numbers and dig story title) should be hex: #489199 (This is based on the Google Material accessibility tester)
Design examples below for desktop and mobile:


fix error for flask version >1

Traceback (most recent call last):
File "/home/work/incubator-superset/superset/bin/superset", line 5, in
from flask.exthook import ExtDeprecationWarning
ModuleNotFoundError: No module named 'flask.exthook'
work@1e7cbde60a06:~/incubator-superset$ superset db upgrade

Superseded by https://github.com/apache/incubator-superset/pull/6239


Fix the display of unrendered markdown on wiki and project page [OSF-6361]

Purpose

Fix the unwanted unrendered markdown on the wiki and project page.
Changes

Added CSS so the unwanted unrendered markdown is not displayed until it is rendered.
Side effects
None

Ticket

https://openscience.atlassian.net/browse/OSF-6361

Looks good. Did it work well in manual testing?

Yeah, with the change there is no flash of unrendered markdown on the wiki page, and without it there is

Awesome. 🎉 🐧 🎉


co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/attach_A04_t11 failure

Said test fails on the following configurations, cf. https://github.com/dart-lang/co19/issues/1316:
dartkp-strong-linux-release-x64
dartkp-weak-asserts-linux-release-x64
dartkp-strong-linux-debug-x64
dartkp-weak-asserts-linux-debug-x64
dartk-strong-win-release-x64
dartk-weak-asserts-win-release-x64
dartk-strong-linux-release-x64
dartk-weak-asserts-linux-release-x64
dartk-strong-linux-debug-x64
dartk-weak-asserts-linux-debug-x64

Here is an example stack trace (dartkp-strong-linux-release-x64):
Unhandled exception:
Expect.setEquals() fails
Expected collection does not contain: Object1 Object2
#0      _fail (file:///b/s/w/ir/tests/co19/src/Utils/expect.dart:18)
#1      Expect.setEquals (file:///b/s/w/ir/tests/co19/src/Utils/expect_common.dart:172)
#2      main (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/attach_A04_t11.dart:39)
<asynchronous suspension>

@dcharkes, please take a look and see if this failure is caused by a fault in the test or in the implementation.

https://github.com/dart-lang/co19/blob/master/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/attach_A04_t11.dart
main is not invoking attachToFinalizer1.

@dcharkes, I'm just guessing, but take a look at https://github.com/dart-lang/co19/pull/1324. ;-)


Provider Theia

Hello,
I would like to download Sentinel-2 A data from the provider THEIA. My download process stop ramdomly with this kind of message "eodag.utils.exceptions.AuthenticationError: HTTP Error 403 returned, {"ErrorMessage":"User profile has not been validated. Please contact an administrator","ErrorCode":403}
Please check your credentials for theia" and don't know why.
Code To Reproduce
search_results = dag.deserialize_and_register("../S2_download/search_results.geojson")
print(f"This SearchResult stores {len(search_results)} {search_results[0].product_type} products.")
setup_logging(2)
workspace=dag.download_all(search_results)

**Output**
Traceback (most recent call last):
  File "/home/mdiarra/Workspace/script_python/telechargement_s2_eodag_theia_modif.py", line 86, in <module>
    workspace=dag.download_all(search_results)
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/api/core.py", line 1623, in download_all
    paths = download_plugin.download_all(
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/http.py", line 994, in download_all
    return super(HTTPDownload, self).download_all(
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/base.py", line 488, in download_all
    product.download(
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/api/product/_product.py", line 330, in download
    fs_path = self.downloader.download(
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/http.py", line 407, in download
    download_request(product, auth, progress_callback, wait, timeout, **kwargs)
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/base.py", line 596, in download_and_retry
    return download(*args, **kwargs)
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/http.py", line 404, in download_request
    for chunk in chunks:
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/http.py", line 634, in _stream_download
    self._process_exception(e, product, ordered_message)
  File "/home/mdiarra/miniconda3/envs/eodag_env/lib/python3.10/site-packages/eodag/plugins/download/http.py", line 521, in _process_exception
    raise AuthenticationError(
eodag.utils.exceptions.AuthenticationError: HTTP Error 403 returned, {"ErrorMessage":"User profile has not been validated. Please contact an administrator","ErrorCode":403}
Please check your credentials for theia

**Environment:**
 - Python version: `python --3.10.6`
 - EODAG version: `eodag version 2.11.0b1`

**Additional context**
I would like to download 5 tiles of S2 data with theia format.

Thank you for your help

related to #1123

This issue was caused by a bad missing-key handling in TokenAuth plugin. This was fixed by https://github.com/CS-SI/eodag/pull/1034.
It is not available for the moment in a stable release, but you can already use it with
pip install git+https://github.com/CS-SI/eodag.git@develop

or wait that incoming eodag v3.0b1 is released


Update ExternalReactDevTools

Updates ExternalReactDevTools to to load without having to reload, adds id attribute to identify where it's coming from.

Thank you! Changed over to development until I fix the detached editor breaking. (Not that it matters much for a plugin that noone uses.)


regression: podman rm --force: Cannot get exit code: error getting exit file for container

Shell 1:
# podman run --name foo alpine sleep 120

Shell 2:
# podman rm --force foo
[ 10-second pause, expected ]
867cc2b384e41fe068acb6f7b1c3388c026b2cf2a283bc2fe8c8f1514a6b986d

Back to shell 1:
ERRO[0012] Cannot get exit code: error getting exit file for container 867cc2b384e41fe068acb6f7b1c3388c026b2cf2a283bc2fe8c8f1514a6b986d: stat /var/run/libpod/exits/867cc2b384e41fe068acb6f7b1c3388c026b2cf2a283bc2fe8c8f1514a6b986d: no such file or directory
# echo $?
0

podman-1:0.10.1-1.gite4a1553.fc29 (regression from <IP_ADDRESS>-1.git1cd906d.fc29)

Damn, it's conmon file cleanup - it's removing the exit file as it transitions into Exited state.
We shouldn't strictly need it - Cleanup should guarantee a full sync, picking up the exit code. As such, we can probably remove the code in run that looks for it, and just grab it from the database instead.

Hm. This fires in the case that the container is removed before we can get status back from the DB, so having the exit file around in that case is convenient... I'll look more into this on Monday.

ping - this seems to have slipped through the cracks

I'll give some more thought here, but unfortunately I don't see an easy way forward here. We're hitting a limitation of our multiprocess design that will require some real effort to work around.

We should probably exit with a 125 any ways, since this seems like a failure of podman command to correctly access whether or not the container exited correctly.

That's definitely a short-term fix until we can get something better rolled out

It's a good one, though, better that what we're doing now at least

Still present in podman-<IP_ADDRESS>-1.git66d3499.fc29


Feature weapon

Weapon System adds 3 functionality: 1. charging system 2. cooling system 3. simple weapon UI


TAJO-1721: Separate routine for CREATE TABLE from DDLExecutor.

Could you rebase this patch?

I just rebased.

+1 LGTM


Consistent build directory

#133  👈
main

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

Join @rbro112 and the rest of your teammates on  Graphite


Add overview and examples

Todo:

[ ] Doc Index

Ah wait can you add it in #5 ? Because otherwise there will be a merge conflict.

No big deal, though. You can just merge #5 and then rebase, also.


Timoni fails to load kubeconfig when the KUBECONFIG environment variable contains multiple config paths

OS: MacOS 14.2.1 (M3)
timoni version:
api: timoni.sh/v1alpha1
client: 0.18.0
cue: 0.7.0

I have an idea about how to support multi-path KUBECONFIG. I may submit a PR for this issue later next week.

You could merge the two into a single file, then pass that to Timoni:
kubectl config view --flatten > merged.conf
timoni --kubeconfig=merged.conf

It works, but I think it could be better if it cloud select the corresponding config based on the current context.


Mongodb

added community checks for mongodb
source : https://github.com/sensu-plugins/sensu-plugins-mongodb/blob/master/bin/check-mongodb.py

Lets squash this into one commit. Tutorial here: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html

Where are we vendoring this from?  I assume that is the case.

This is a lot of code to drop in, and maintain. Are all of these things actionable checks? Do we need all of this code? Can we just concentrate on the checks that we can actually do something with to resolve, and grow from there?


Wow.js with Swiper.js

Hi,
I was trying to get something like the Fiddle, but there is a issue i see that when swiper loads all the wow elements are executed. only the first time the wow animation is working and on other slides its not. Please help on it.
http://jsfiddle.net/impulseinflame/02achd8a/1/

Any Help Guys. I know there are expert programmers here please help on this


Document how to configure docker to share containerd with kubelet.

We should document how to configure docker with docker --containerd to share containerd with kubelet.

One note is how to handle version conflict?
i.e. the installed version of docker containerd conflicts with expectation of containerd/cri?
Or we will let users to handle the versions?

Since Docker 18.09, containerd is a separate systemd service now.
No need to document how to separate containerd and docker any more.


Fix <numeric> cmp <numeric>

Summary of the changes / Why this improves CrateDB
Currently we depend on text variant of the comparison operators resulting in invalid results:
cr> create table t (a numeric(3,1), b numeric(3,1));
CREATE OK, 1 row affected (1.736 sec)
cr> insert into t values (-2.1, -1.1);
INSERT OK, 1 row affected (0.045 sec)
cr> select a > b from t;
+---------+
| (a > b) |
+---------+
| TRUE    | -- should be false
+---------+
SELECT 1 row in set (0.006 sec)

-- Even simpler cases:
cr> select 1.11::numeric(3, 1) >= 1.10::numeric(3, 2);
+-------+
| false |
+-------+
| FALSE |
+-------+
SELECT 1 row in set (0.005 sec)
cr> select -2.1::numeric(5, 1) > -3.1::numeric(4, 2);
+-------+
| false |
+-------+
| FALSE |
+-------+
SELECT 1 row in set (0.006 sec)

Storage support for numeric type is added recently, so only master is affected.
Checklist

[x] Added an entry in the latest docs/appendices/release-notes/<x.y.0>.rst for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in the latest docs/appendices/release-notes/<x.y.0>.rst
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Currently there are more bugs:
create table t (a numeric(3,1));
CREATE OK, 1 row affected (1.750 sec)

cr> insert into t values (1.1);
INSERT OK, 1 row affected (0.130 sec)

cr> select * from t where a > 1.05;
+---+
| a |
+---+
+---+
SELECT 0 rows in set (0.005 sec)

The current design cannot handle different precisions. We currently unscale 1.1 to 11 and 1.05 to 105 and fail to match. On top of that I am unsure about comparisons between Compact and Large numeric types.
cr> create table t (a numeric(3,1), b numeric(3,2));
CREATE OK, 1 row affected (1.606 sec)
cr> insert into t values (1.1, 1.05);
INSERT OK, 1 row affected (0.046 sec)
cr> select * from t where a > b;
IllegalStateException[SignatureBinder.iterativeSolve does not converge after 4 iterations.]

Storage support for numeric type is added recently, so only master is affected.

The type itself is also present in 5.8 via casts or return values for some aggregations/scalar. So 5.8 is affected too.

Thank you for clarifying @mfussenegger.

The type itself is also present in 5.8 via casts or return values for some aggregations/scalar. So sounds like 5.8 is affected too?

Yes, something like this as well select -2.1::numeric(3,1) > -1.1::numeric(3,1);
Could you review the current commit? I will merge this to master and manually for 5.8.5. Then handle https://github.com/crate/crate/pull/16723#issuecomment-2398216553 separately.

Thank you for reviewing @seut.

Are we aware of this and accept that we behave different? (fine for me as it seems that our behaviour is more correct than PG's one).

I thought that Jordi's comment explains the current behaviour not implies it is correct. I was thinking that the Postgres behaviour is correct.(So I am aware of this but would vote for aligning with Postgres)

Regarding my initial comment,

The current design cannot handle different precisions. We currently unscale 1.1 to 11 and 1.05 to 105 and fail to match

This is actually the behaviour on top of this PR. For select * from t where  a >= 1.10::numeric(3, 2), we end up comparing 11 and 110 which causes the query to fail.
In order to handle both cases mentioned, I think we can provide a's datatype to NumericEqQuery.rangeQuery to utilize while unscaling https://github.com/crate/crate/blob/991a74a6c6feec30f3f5768459967d6502ba0a58/server/src/main/java/io/crate/types/NumericEqQuery.java#L79 such that 1.10 can become 11 instead of 110.

On 37bfc11 below are the behaviours of the queries in discussion:
cr> select * from t where  a >= 1.10::numeric(3, 2);
+-----+
|   a |
+-----+
| 1.1 |
+-----+
SELECT 1 row in set (0.005 sec)

cr> select * from t where a > 1.05;
+---+
| a |
+---+
+---+
SELECT 0 rows in set (122.453 sec)
cr> select * from t where a > 1.04;
+-----+
|   a |
+-----+
| 1.1 |
+-----+
SELECT 1 row in set (2.077 sec)

@jeeminso Are the dedicated commits valid standalone? Or should they be stashed?

@jeeminso Are the dedicated commits valid standalone? Or should they be stashed?

I think we can merge it as two commits, the first one and the remaining.

retest this please

LR falkiness
retest this please


ROX-13497: Utilize Deployment matching on Collection API endpoints

Description
Combine both Options sub-proto messages into a separate message for deployment matching options.
Break deployment matching into a separate object to be invoked by service layer.
Utilize deployment matching functions in service endpoints when configured to.
Increased the batch size for graphinit, metrics below.
Deployment Datastore request pushed up to service layer.
Checklist

[x] Investigated and inspected CI test results
[x] Unit test and regression tests added

Testing Performed
Deployment matching query expansion based on collection objects testing is re-enabled and validated on the new object.
graphinit batch size change:
# 20
goos: darwin
goarch: amd64
pkg: github.com/stackrox/rox/central/resourcecollection/datastore
cpu: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
BenchmarkCollections
BenchmarkCollections/graphInit
BenchmarkCollections/graphInit-8         	      12	  98004660 ns/op	10241118 B/op	  114063 allocs/op
PASS

# 200
goos: darwin
goarch: amd64
pkg: github.com/stackrox/rox/central/resourcecollection/datastore
cpu: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
BenchmarkCollections
BenchmarkCollections/graphInit
BenchmarkCollections/graphInit-8         	      34	  35700541 ns/op	10072276 B/op	   84420 allocs/op
PASS

/test all

Rebased for cert test failures

/retest

Renamed the two data structures for clarity, will merge when CI is green


[html] Add support for Angular2

Currently VSCode does not have support for Angular2. But it does seem to have prompts for Angular1.
This makes writing Angular2 code difficult.
For instance, when authoring a template for a component, if I wish to use *ngFor, I am prompted to pick Angular1 directives -

Also, VSCode is currently blind to Angular2 component semantics. It would be great if those showed up in intellisense, which would make composing applications a lot easier. This of course applies to more than just components.
I propose that support for Angular2 be added, and it should be implemented as an extension. So individual projects can pick and choose between Angular1 or Angular2.

I think this is blocked on https://github.com/Microsoft/vscode/issues/2784

I agree that better support would be awesome!
For now there are html and typescript snippets for angular2 that i wrote in the marketplace. https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2
Also, there is a request in user voice for auto imports. this would rock https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/13344849-auto-imports-in-typescript

It would be great if an extension could add that behavior. Extensions can already participate on code completions. They would have to do the same parsing as the HTML language mode to figure out at what location the user wants to complete.

Intellisense, color schema and Emet already works in HTML, could you apply on template?
For instance in Angular 2 if :
template:
pattern is recognized everything inside of     should behave as HTML?

@oodboo Is that in JavaScript? If yes, please file a separate issue for it. This bug is about improving the HTML support.

I have just found #2000 which basically says the same thing ... so I do not know should I copy text there ...

@oodboo #2000 looks like the right bug. Yes, add your example and suggestions there.

So, no intellisense for angular 2 yet? I'm using the amazing @johnpapa snippets, but it would be great to have intellisense and autoimports for angular 2

Look for info here https://github.com/microsoft/typescript/issues/6508 and here https://github.com/angular/angular/issues/7482

Yes, https://github.com/angular/angular/issues/7482 will provide great improvements for the Angular development experience in VSCode. Currently with the tslint plugin and codelyzer you can get warnings in inline templates/styles, for instance, for binding to private/missing properties or unused CSS.

I am just creating angular 2 inline template It wold of being nice to autocorrelate dom events like if you type <button (mouse... expecting it will autocomplete with mouseover

@kuncevic this is out of the scope of codelyzer but the language service that the Angular team is working on will provide such feature. Take a look at this talk by Misko Hevery from ng-europe. Soon should be released also a VSCode extension which works together with the language service in order to provide autocompletion and much more.

I have vs code installed but the variables of the class are not displayed in the template (html) of component, not intellisense, not show the variables, I have use angular 4 with snippets of john papa, have I install some extension?

Here is extension which is still work in progress.
https://github.com/angular/vscode-ng-language-service

Thanks, it really works

Yes, this extension provides angular 2 support: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template


IE-0012: Glk foundations

Glk Kit, implementing https://github.com/ganelson/inform-evolution/pull/12
So far incorporating the extensions Glulx Definitions, Glk Object Recovery, Glk Events.
To do:

[x] Sort out how to reference rulebooks from kit source files
[x] Check it works in Basic Inform mode
[x] Decide what sub-kind the glk window should be from
[x] Add some more Glk windows support
[x] Add garglk extension functions
[ ] Move the GEP leftovers
[ ] Documentation - in WWI?
[ ] Tests?

Prebuilt extensions to go with the updated templates, in case anyone wants to test it.
extensions.zip

The Glk foundations are finally ready to review! This is basically everything that we'd planned in the proposal, but there are a few questions still to determine.
Glk window kind
Firstly is whether we should define anything else on the glk window kind. Currently we're only defining the rock number and reference number. We would want to consider defining other properties if they might be useful for multiple extensions, to avoid the situation where they both try to define it.
Probably the most useful would be window type (buffer, grid, graphics). It could be useful for Glulx Text Effects, possibly other extensions too.
The various positioning properties from FW are unlikely to be useful for other extensions and shouldn't be defined here.
Anything else?
Define the built in windows?
Should we define objects for the built in windows? It's not necessary, but it could make it simpler for other extensions. For example, Glulx Text Effects could then let you specify styles for the main and status windows separately, without needing to install FW.
Caching gestalt results
A long time ago Zarf told me not to do this, but I think we can do it safely by caching them in a GGRecoverObjects rule. Yes the gestalts aren't hard for the interpreters to run, but I think it would be slightly faster to avoid the I6 function calls and just read some memory. I'm thinking particularly of phrases like the setting colours ones which should test a Glk gestalt in order to be safe.

One issue might be that defining the gestalt codes as kinds of values might cause issues with restricting authors from using those names for their own things. Some are probably sufficient obscure, but some are pretty general words. It might be better to just stick to phrases as they'd be less likely to conflict.

Caching gestalt results
A long time ago Zarf told me not to do this, but I think we can do it safely by caching them in a GGRecoverObjects rule. Yes the gestalts aren't hard for the interpreters to run, but I think it would be slightly faster to avoid the I6 function calls and just read some memory. I'm thinking particularly of phrases like the setting colours ones which should test a Glk gestalt in order to be safe.

How significant is the performance impact, if you can quantify it? Because I expect it would be extremely minor (see below), and if that's true then I would caution against extra complexity in this already quite subtle -- and rarely tested, when it comes to saving in one VM and restoring in a different one -- part of the rules. The recently fixed, long-standing Counterfeit Monkey issue of "game always starts with graphics off when launching from an embedded save generated by a no-graphics interpreter" comes to mind. That one wasn't a problem of caching gestalt results after all (see discussion in https://github.com/i7/counterfeit-monkey/issues/216), but with this change, an extension touching GGRecoverObjects or the relevant rulebook could accidentally introduce that sort of problem with relative ease. Not the most likely problem, but personally I am now a bit twitchy about this.
I recently spent a lot of time measuring where some large and slow Inform games spend their time, largely by instrumenting and profiling an interpreter I wrote myself, but also sometimes comparing to Git and Glulx. It's true that every instruction takes some time: an ordinary interpreter like Glulxe spends almost half of CPU time just on decoding opcodes and operands, before doing any actual work (of course, Git and Quixe are a different matter entirely). It's also true that a call is one of the more expensive opcodes to execute, although the majority of time attributed to it by a CPU profiler is actually spent in the accelerated function implementations. However, gestalts are very rarely executed in the grand scheme of things. My instrumentation tells me that a scripted walkthrough (492 turns) of Counterfeit Monkey, with cheapglk and Glulx "accelerated functions" enabled, executes around 571 million Glulx instructions, including:

Exactly three Glulx @gestalts
Roughly 59k @glk opcodes (ca. 0.01% of all instructions)
... of which only 561 are calls to glk_gestalt or glk_gestalt_ext (so a bit more than one per turn).
Around 77-ish million calls of any kind, although a good chunk of the 52 million @callfii must be accelerated function calls.

So one function call per Glk gestalt would be at most ca. 0.002% of all (non-accelerated) calls executed, and in total instructions executed it's less than that even if we assume a generous amount of other instructions accompanying each call. Now, Counterfeit Monkey is not at all representative for the average Inform game, but it clearly does use gestalt calls regularly, and from what I've seen in its code it actually doesn't try to cache gestalts manually. Other games may do less work overall than CM, and use more features that require cautionary gestalt calls, but as long as we're talking about "a small handful of gestalt calls per turn" then it seems like misplaced effort to cache their results, compared to everything else going on in the standard rules and typical game logic.

I've started to try a little programming with the current GlkKit.
I found myself thinking that instead of A glk window has a glk window type called the type. it'd be nice for the glk window type to be an anonymous property so that we get adjectives for text grid, text buffer, graphics as a free side effect. If we went this way, we might want names less prone to collision like glk-test-grid, glk-text-buffer, glk-graphics.
I also again thought it'd be nice to push holding, enclosing, incorporating down into Basic Inform so that assignments thereof for abstract objects could occur in assertions. (There would have to be a new verb for holding, though, since the compiler is dedicated to the principle that holds in assertions means carrying and is done only by people.)

Having done more work with the current Glk Kit, I wished that more of the constants from InfGlk had been brought into the daylight.
Right now, if one wants to write to write an extension that creates a kind of value for glk window position or glk scale method, one can either resort to hacky I6 interactions or... write another kit. In my opinion, it'd be best if Glk Kit took care of the things that both can only be done with a kit and are easily anticipated things extension writers would want.... like setting up more kinds of values.
I don't think think this runs any risk of creeping featurism here: the only things I'm suggesting are additions to Glk.neptune and adding corresponding kind of value creation assertions to Basic Inform.i7x.

@zedlopez  I was intending for Flexible Windows to include a kit (which would only be needed for a .neptune file). I don't think the window metric kinds would be useful outside of FW, so I didn't think it would be worth including them in core.

Preliminary documentation
Feature testing
These phrases let you test various interpreter features. Most use the generic functions, but there are a few features that need to be handled specially.
To decide whether (F - glk feature) is/are supported

To decide what number is the glk version number

To decide whether buffer window graphics are/is supported
To decide whether graphics window graphics are/is supported

To decide whether buffer window hyperlinks are/is supported
To decide whether grid window hyperlinks are/is supported

To decide whether graphics window mouse input is supported
To decide whether grid window mouse input is supported

To decide whether (F - glulx feature) is/are supported

To decide what number is the glulx version number
To decide what number is the interpreter version number

The Glk and Glulx features are defined in their respective specifications, so I will only list them now:
Glk features:

timers
glk graphics
basic sounds
sound volume
sound notifications
hyperlinks
MOD sounds
PNG transparency
glk unicode
unicode normalization
line input echo suppression
line input terminators
system clock
extended sounds
resource streams
graphics window character input
text formatting

Glulx features:

memory resizing
undo
glulx unicode
memory copying
memory allocations
glulx acceleration
real numbers
extended undo
double precision real numbers

Glk windows
A basic kind for Glk windows is defined, but not much can be done with them yet. These phrases are implemented:
To clear (win - a glk window)
To focus (win - a glk window)
To decide what number is the height of (win - a glk window)
To decide what number is the width of (win - a glk window)
To set (win - a glk window) cursor to row (row - a number) and/-- column (col - a number)

The "no status window" use option will disable the initial opening of the status window. It does not prevent the author from opening the status window at a later time (though Basic Inform also does not provide any way to do that, it would require I6 code or an extension.)
Suspending input
These two phrases allow you to suspend and resume text input:
To suspend text input in (win - a glk window), without input echoing
To resume text input in (win - a glk window)

If the "manual line input echoing" use option is enabled, then the first phrase's "without input echoing" option will prevent the in-progress line input from being echoed.
Glk windows have four properties which indicate the suspended input state:

"text input status": will be one of these (well, not one of the active options...):

inactive text input
active line input
active unicode line input
active character input
active unicode character input
suspended line input
suspended unicode line input
suspended character input
suspended unicode character input

"requesting hyperlink input": if it is (these two are not suspended, as they do not prevent you from printing text)
"requesting mouse input": if it is
"suspended text input": the in progress text input (for line input). The author can modify this.

When you resume text input, the same type of input request is requested again, and the "suspended text input" is used to resume a line input request.
Glk object recovery
These rules are a low level system for managing Glk references. When a Glulx
game restarts and restores, the current Glk IO state is not reset. All the old
windows, sound channels etc. will be kept as they were, even though the game file
might be expecting a different state. This extension allows Inform 7 game files
to ensure that the IO state is as it should be. It does this in three stages:

The "reset glk references rules" is run. Rules should be added to reset all
Glk references as if none existed.

The "identify glk windows rules" etc. are run. These rulebooks will be run
once for each Glk IO object which currently exists. Objects can be identified
through the "current glk object rock number" and "current glk object reference
number" variables.

The "glk object updating rules" is run. Rules should be added to correct the
Glk IO state by, for example, closing windows which shouldn't exist, and opening
windows which should but currently do not.

Glk events
You can handle Glk events through the glk event handling rules. The basis of this rulebook is the glk event kind, which has these values:

null event
timer event
character event
line event
mouse event
arrange event
redraw event
sound notification event
hyperlink event
volume event

So, for example, to handle a hyperlink event you can make a "Glk event handling rule for a hyperlink event" rule.
Inside the rules, these variables are used:

"glk event type" - the type of the event, as above
"glk event window" - if the event was triggered in a window, which window it was
"glk event value 1", "glk event value 2" - values whose meaning depends on the type of event, as explained in the Glk spec.

The glk event handling rules run before any other part of Inform receives a glk event, for example, before the parser realises it has a line event to parse. You can change the event variables to alter the default handling of an event. For example, if you have completely handled an event and want to prevent anything else from handling it, you could set the "glk event type" variable to "null event". Or a title page might accept both keypresses and hyperlinks; a hyperlink event handling rule could change the event type to a character event so that the title page code is simpler and can pretend it only has to handle character events.

@hanna-kruppe Sorry I didn't reply to your comment. [...]

No worries, thanks for getting back to it. The Basic IO additions are an important bit of context I was missing. It's a shame that this feature doesn't yet exist in its future form, otherwise one could try an artificial test case (say, changing color for every character). Lacking that, I'm still somewhat skeptical about the impact. Even working out what to output, even if that's nothing at all, already involves quite a bit of legwork: for an empty game with a single room (built for release with Inform 10.1.2), my instrumentation counts about 10k Glulx opcodes per look including several hundred calls even when not counting accelerated functions. And then consider all the other work required for actually displaying any output in a text buffer window: in the I7 code (countless to say ... phrases, various printing ... activities, etc.), in the terp (e.g., compressed string decoding), in the Glk library, and in whatever ultimately renders colorful glyphs for the player to read.
You're right that the specific CM issue wasn't caused by any sort of caching, in fact startup precomputation wasn't to blame at all, but "sequencing issue" is a good keyword. With the current state of this PR, the updating of cached gestalts is one rule among others in a rulebook which some extension authors are expected to modify. This makes it trivial to to drop that rule, i.e., break caching, with one line of I7 (though that code would really be asking for it). A more innocent mistake would be adding a rule to the "reset glk references" rulebook before the "cache gestalts" rule (implicitly; for example by is listed first in) and then querying some gestalts directly or indirectly in that new rule. This can lead to the same confusing behavior as the CM issue by different means, and that time the interaction of gestalt caching and an extension like startup precomputation (i.e., doing something non-trivial around save/restore) would actually be to blame! Hard-wiring the gestalt caching directly into GGRecoverObjects would prevent such issues, but you probably had reasons for putting it in a rule.
If it's specifically the Glulx-level call you're worried about, not the @glk opcode, and only for those text formatting phrases, there is a more low-tech solution: manually inline the "call glk gestalt and check result" sequence (push two words on stack, then @glk 4 2 is_supported and branch on is_supported) into those phrases. It's a bit ugly, but it's also dead simple, and for a small handful of phrases it may actually end up fewer lines of code overall than the current gestalt caching code with all it entails.