[BUG]: DockerCompose@1 not running on linux system

New issue checklist

[X] I searched for existing GitHub issues
[X] I read pipeline troubleshooting guide
[X] I checked how to collect logs

Task name
DockerCompose
Task version
1.243.1
Issue Description
We've been getting the docker compose v1 deprecation warning for a while (using DockerCompose@0) and wanted to swap over to the new DockerCompose@1 task, but ran into the following issue when testing:

The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.

The docs for the DockerCompose@1 don't say anything about windows only, so I'm kinda surprised.
Environment:

OS: 20.04.6 LTS
Compose Version: 1.25.5 and 2.18.1 are both available

Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
20.04.6 LTS
Relevant log output
2024-08-29T07:06:33.6402445Z ##[section]Starting: Compose Up
2024-08-29T07:06:33.6411241Z ==============================================================================
2024-08-29T07:06:33.6411585Z Task         : Docker Compose
2024-08-29T07:06:33.6411761Z Description  : Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry.
2024-08-29T07:06:33.6412086Z Version      : 1.243.1
2024-08-29T07:06:33.6412230Z Author       : Microsoft Corporation
2024-08-29T07:06:33.6412416Z Help         : https://aka.ms/azpipes-docker-compose-tsg
2024-08-29T07:06:33.6412616Z ==============================================================================
2024-08-29T07:06:33.6547697Z ##[error]The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
2024-08-29T07:06:33.6559695Z ##[section]Finishing: Compose Up

Full task logs with system.debug enabled
No response
Repro steps
jobs:
  - deployment: ${{ parameters.jobName }}
    displayName: ${{ parameters.displayName }}
    environment:
      name: ${{ parameters.environmentName }}
      resourceName: ${{ parameters.resourceName }}
      resourceType: ${{ parameters.resourceType }}
    strategy:
      runOnce:
        preDeploy:
          steps:
            - checkout: self
              clean: true
        deploy:
          steps:
            - download: none
            - task: DockerCompose@1
              inputs:
                containerregistrytype: 'Azure Container Registry'
                azureSubscription: 'ExampleSubscription'
                azureContainerRegistry: '{"loginServer":"example.azurecr.io", "id" : "/subscriptions/example"}'
                dockerComposeFile: ${{ parameters.dockerComposeFile }}
                action: 'Run a Docker Compose command'
                dockerComposeCommand: 'up -d'
                projectName: ${{ parameters.dockerProjectName }}
              displayName: Compose Up
              env:
                # Some secrets

Hi @p-hlp
Thanks for reporting this issue. Will check and update here.

I am facing the same issue.

hello, same issue here, is it required powershell even on linux now?

gettig the same error any update

@v-schhabra any updates on this?

Hi, apologies for replying late. Our team was occupied with some high priority issues. We have started investigation on this issue now.

Hi @p-hlp @chamindu @tomdess @ndege7
Could you please let us know which agent version you are using in your task?

hello, i'm having the error "2024-09-25T12:29:46.9383033Z ##[error]The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell." running a release pipeline (classic) in which the DockerCompose@0 tasks are replaced with DockerCompose@1 tasks (the pipeline works fine with DockerCompose@0 tasks). The pipeline is running on a Deployment group target with agent version "3.230.0" (self-hosted agent), docker release installed 24.0.6, Debian 10.

For DockerComposeV1 task we are using Node20_1 executor (https://github.com/microsoft/azure-pipelines-tasks/blob/c79a3c71c8ce5df6d5982ead885e6369216ab0bd/Tasks/DockerComposeV1/task.json#L338C6-L338C14) and this handler support minimum agent version 3.232.1.(azure-pipelines-tasks/docs/migrateNode20.md at c79a3c71c8ce5df6d5982ead885e6369216ab0bd · microsoft/azure-pipelines-tasks (github.com))
Could you please upgrade your agent and check if the issue is still occurring or not?

bingo! after agent upgrade (to release 3.244.1) the issue is solved, thank you.
The agent auto-update is not working on this machine, maybe because behind a proxy, but this is another story....

Hi @tomdess
Could you please add variable system.debug to "true" and share the complete pipeline failed logs?

sorry but i have no other agents with old version (< 3.232.1), it was the only one

@v-schhabra Sorry for the late reply. Our agents are on version 3.241.0. Here's a failed run with diagnostics on / system.debug = true.
2024-10-02T11:47:38.3225580Z ##[debug]Evaluating condition for step: 'Compose Up'
2024-10-02T11:47:38.3228334Z ##[debug]Evaluating: SucceededNode()
2024-10-02T11:47:38.3229274Z ##[debug]Evaluating SucceededNode:
2024-10-02T11:47:38.3231131Z ##[debug]=> True
2024-10-02T11:47:38.3231909Z ##[debug]Result: True
2024-10-02T11:47:38.3232498Z ##[section]Starting: Compose Up
2024-10-02T11:47:38.3242444Z ==============================================================================
2024-10-02T11:47:38.3242838Z Task         : Docker Compose
2024-10-02T11:47:38.3243024Z Description  : Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry.
2024-10-02T11:47:38.3243346Z Version      : 1.243.1
2024-10-02T11:47:38.3243521Z Author       : Microsoft Corporation
2024-10-02T11:47:38.3243719Z Help         : https://aka.ms/azpipes-docker-compose-tsg
2024-10-02T11:47:38.3244194Z ==============================================================================
2024-10-02T11:47:38.3391633Z ##[error]The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
2024-10-02T11:47:38.3405157Z ##[debug]System.InvalidOperationException: The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell.
   at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in /home/vsts/work/1/s/src/Agent.Worker/TaskRunner.cs:line 168
   at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in /home/vsts/work/1/s/src/Agent.Worker/StepsRunner.cs:line 223
2024-10-02T11:47:38.3407252Z ##[section]Finishing: Compose Up

Doesn't really provide any extra information, but we're at least on a higher version than 3.232.1 which you mentioned the minimum.

Hi @p-hlp
Could you pls share complete pipeline logs not just this task logs?

Closing this issue as we didnt received complete debugged logs to continue our investigation.

The problem persists. I'm still using  DockerCompose@0.

Hi @felipeavilis
Could you pls let us know which agent version you are using?

Hi @felipeavilis Could you pls let us know which agent version you are using?

Sure! Here ar some info.
Agent Version: v3.230.0 (commit 38c1c98)
OS: CentOS Stream 9


Purchase activity is not loading on homepage however the activity is seen completed when user visits to CELO landing page

Frequency : 100%
Repro on build version: Android Internal Release Build V:1.32.0, iOS Test Flight Release Build V:1.32.0, Android Playstore Build V:1.31.0, iOS Appstore Build V:1.31.0,
Repro on device : OnePlus 7t(11.0), Google Pixel 2XL(11.0), iPhone 12(14.7.1) , iPhone 13 mini(15.1.1) , Google Pixel 4a(12.0), Google Pixel XL (10.0), iPhone 12 mini (15.4.1) ,
Pre-condition:
1] User must have installed the application
2] User must have completed onboarding process
3] User must have funds in the account
4] User must be on CELO landing page
Repro Steps:
1] tap on buy button from CELO landing page
2] enter valid amount in the amount field
3] tap on review button
4] Tap on Buy button
5] user will be redirected to CELO landing page with purchase activity
6] Tap on hamburger menu and go to homepage
7] Observe the activity
8] Now again go back to CELO page and observe activity will be seen completed
9] Navigate back to homepage and observe the purchase activity
Bug : Purchase activity is not loading completely on homepage whereas same is seen completed on CELO landing page
Expected Behavior : Purchased activity should be seen properly loaded and should be visible on both homepage and CELO landing page
Observation:
1] Activity is seen completed on CELO landing page but not seen properly on homepage
2] When we kill the app and relaunch then the activity disappears from both homepage as well as from CELO landing page
Impact : User will not be able to see the purchase activity on homepage after coming back to homepage
Attachment : purchase_celo.MP4

Hey @MuckT we have verified the above issue on latest android internal release build and iOS testflight build V:.1.32.0 and observed that issue is still repro
Observation : Purchase CELO activity is not seen loading on homepage after purchasing  CELO
Also sometimes its takes too much time to load it and display on homepage (Frequency : 40%)
Device : iPhone 12(14.7.1) , Google Pixel 2XL(11.0)
Thanks..!

Hey @MuckT, We have verified the above issue on Latest Android Internal Release Build V1.32.2 & Test Flight Release Build V1.32.2 & observed that the issue is fixed now. Purchase activity is seen on homepage when user Purchased celo, hence we are closing the issue.
Devices: iPhone 13 mini(15.1.1) , Google Pixel 4a(12.0), iPhone 12(14.7.1), Google Pixel 2XL(11.0)
Attachments: Purchased celo.mp4
Thanks..!!


vkCreateDevice not working with Intel Iris Xe Graphics

Unfortunately the Intel Iris Xe Graphics card doesn't support shaderFloat64 and shaderInt64 and thus vkCreateDevice will throw a VK_ERROR_FEATURE_NOT_PRESENT in PickDevice.cpp.
Setting the variables shaderInt64 and shaderFloat64  to false will allow  Device Creation without any error but my understanding is that the shader then needs to be adapted. If possible it would be nice for compatibility reasons.
Additional info can be found on the Intel homepage and on the Khronos Homepage:
shaderInt64
shaderFloat64
vkCreateDevice

Good find,
though I think this might end up being not supported as we aim for high precision that Int/float32 might not offer
@Atraxus ?..

Oussama is right; single precision is currently not supported. We already discussed a single precision mode for higher performance, but it is low on our priority list. We will discuss this in the next meeting and see if it's worth looking at that feature earlier than we intended to.

Thanks a lot for the discussion and explanation. I'll try to stick to a PC with a GPU that supports these features for now. :)

We just discussed this and concluded that we would like to try this as an experiment, but compared to the time investment, it might not yield good results. We will look at it, but current issues are more pressing.
I am closing this issue for now.


[FR] Add a yearly journal

Hi there.
Used to use Obsidian as my go to for planning, project and task management, journaling, note-taking and bloging.
Now I tend to prefer to separate between Obsidian and Logseq :

Logseq : Project and tasks management, journaling and quick note-taking or outlining.
Obsidian : Real note-taking, bloging and knowledge management using Logseq outlines.

Well, context is set up, now let's talk about the journaling part. In my Obsidian workflow, I used a overly ascending and descending approach :

Yearly notes
Quarterly notes
Monthly notes
Weekly notes
Daily notes

Your plugin allows me to do all of them, except the Yearly note (at least as far as I know.
Would it be hard to implement a similar kind of note to be able to add yearly goals and target metrics ?
Thanks in advance, I use and love your current work for planning !

I thought Yearly Journal was unnecessary as it is not frequent, but I listened to your suggestion and will make it a common workflow.
In fact, the Weekly Journal is in the process of being improved."This Week" section allows the user to check a week's worth of entries at the same time. Is such functionality necessary?
If you have any suggestions, I will explore the feasibility.

I thought Yearly Journal was unnecessary as it is not frequent, but I listened to your suggestion and will make it a common workflow.
In fact, the Weekly Journal is in the process of being improved."This Week" section allows the user to check a week's worth of entries at the same time. Is such functionality necessary?
If you have any suggestions, I will explore the feasibility.

The real benefit is the ability to :

Setup tasks that acts as yearly goals there
Quickly descend into quarterly and monthly notes with a link => And then from these notes to weekly notes, and from weekly notes to daily notes. I also added on my workflow the ability to go to the parent note of each (you can found the current weekly note of the daily note inside her for instance). Really useful imo !

A week's worth of daily notes ? Yep sure, I can't to it right now but I'd be glad to share how I organized ascending and descending links, along with horizontal ones ✌ I'll do it when I arrive at work

I'm back.
So as for the daily notes :

Weekly notes :

Monthly notes :

Quarterly notes :

And yearly notes :

The queries use momentjs librairy, I don't know if it might help you, but if I remember correctly I made sure to use ISO so that there is no weird week number mismatch at the beginning of a year. You can find my sources here.
I don't know how far you'll go on that, but it was so helpful to have all these ascending and descending links at the top of my daily and periodic notes !

At present, navigation back and forth is provided only in the Weekly Journal.

That would require opening the page once, for example, "2024". That would be tedious and no way exists to jump to '2023'. So it would be best to put a navigation link like the one in your images.
In the case of Logseq, hierarchy links and tooltips are enabled for hierarchies separated by slashes. Another plugin I created (Page-tags and Hierarchy plugin) allows page titles with hierarchy to be breadcrumb lists.
ex.

I know how to generate the respective date and Logseq internal links. I also know how to set up navigation links. So it will not be impossible to achieve.

This is what is currently being prototyped.
Yearly Journal:

Quarterly Journal:

Monthly Journal:

Weekly Journal:

With regard to the Daily Journal, it is difficult to actively update it for compatibility and consistency with existing functionality. Add links to before and after.

I released a new version.  Navigation links should now appear.
Eventually, I would like to add the ability to look for SCHEDULED or DEADLINE set tasks in queries and notify users about them, but now is not the time. I am tired and I am going to rest.🫡 The user can set up queries in pages.

Hey there, I'll try it out in the next few days and will make sure to make a review in here or by creating a discussion ✌


Installation failed - Suggestion to move to add pip compatibility instead of setup.py

Hey, great tool! I was trying to use it, but the installation can be quite challenging specially using setup.py. Do you have plans on moving the installation to pip instead? Would be much easier to debug as well since I'm getting this error:
RuntimeError: Running cythonize failed!

Hi @Rafael-Silva-Oliveira. Sorry to hear that. Could you please use the requirements.txt file attached to this comment. This may include some extra packages. But hopefully, it will work.
requirements.txt

Hi @Rafael-Silva-Oliveira.
Were you able to install the required packages using the requirements.txt file? If not, you can use the following one.
requirements.txt

Hello, I was able to eventually get it to work before using the requirements files, but it doesn't seem to be compatible with Visium HD data (600k bins, 18k genes, it kills the terminal with memory error, even running on a server), so I'm afraid this package isn't suitable for HD ST data, but thank you though! :)


Selected event?

Is there an option to have a callback after selecting a mention item from the list? Twitter Typeahead (not the bootstrap version) has a selected event, but Mention.js doesn't seem to work with Typeahead....?
Thanks!

How to add a callback to return the selected object?
Mat

Is there any way to do it?

On my hand, I managed to make it work, with the updater function parameter within the typeaheadOpts options.
typeaheadOpts: {
    items: 5,
    updater: function(item) {
        // Do anything with "item" here. It's the value of the input.

        // Don't forget to return the item (as per the initial function does)
        return item;
    }
}

Hope it helps.


Allow theme cart requests to be aborted

Propsed change in #110 - allows pending requests to be aborted via an AbortController.

So I like the idea of using AbortController to override pending requests, I'm just not a fan of how it's implemented here. I feel like adding it as its own standalone method still requires developers to be aware and knowledgable of the API and how to use it. This PR is ultimately an abstraction of the API and makes it a little easier to use in the context of the Cart API.
In addition, what's added here could just as easily be done externally from this library in the same place you're creating event handlers that initiate the Cart API requests.
Instead of a standalone method to abort requests, what if we embedded AbortController inside all existing methods in a way that produces the following behaviour:

Call a method, e.g. addItem(), and request is initiated.
Another call to addItem with the same product key, but a new quantity, and the first request has not yet terminated.
Cancel the first request and create a new request with the updated values

This approach doesn't require the developer to learn anything more upfront to use this library, but it upgrades parts of underlying request management layer.
Thoughts?

Love it. Effortless and saves on requests 👌

@liamdefty do you have the bandwidth to look into this further?

@t-kelly Yep totally agree, that makes a lot more sense! 👏
@chrisberthe Yep, I can make some time over the next week or so to take a look :)


Deprecate relying on equals for up-to-date checks

As a preparation to solve https://github.com/gradle/gradle/issues/17324 in Gradle 8.0.

@bot-gradle test QFL

OK, I've already triggered QuickFeedbackLinux build for you.


Icon request: Toontown Rewritten

URL of the site or app (required): https://www.toontownrewritten.com/
Logo resources for the icon (optional, but recommended): https://www.toontownrewritten.com/help/press

Here you go!
For Aegis v2.0 and above (recommended):
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Toontown Rewritten.svg
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/.Variations/Toontown Rewritten fg.var.svg
For Aegis v1.4.2 and below:
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Toontown Rewritten.png
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Variations/Toontown Rewritten fg.var.png
❓ How to add icon(s) to Aegis?


Unable to read exif data unless loaded from path

At the momement it's only possible to read exif data from images loaded from a path.
exif_read_data supports the ability to load from base64 encoded data-urls. This means it is possible, in theory, to read exif data from images that are loaded through any of the init methods and not just those from file paths.
Would there be any support from the maintainers of this library to add exif reading capabilities to images loaded through means other than files?

related: https://github.com/Intervention/image/issues/336

For clarity: I'm happy to work on the PR for this

It would be nice if exif() would be able to read meta data from all images no matter if they were loaded from a path.
PR would be welcomed.
Be sure to follow:

Follow PSR-2 coding standards.
Write tests for new functions and added features
API calls should work consistently with both GD and Imagick drivers

I think the only problem is that, GD encoding does not retain EXIF data. So if you encode the image as data-url to reread it in with exif_read_data all the original data will be lost.

The issues I can see coming are:

Loading the image as a base64 encoded is going to mean loading the entire image into memory (given it's base64 it'll be 30% larger than the actual image
as @olivervogel points out using the encoder to create the base64 encoded image data will have the exif already stripped. This means we'll need to do one of the following:

need to store a reference to the original image data (or location if it's on the file system)
pre-fetch the exif data when the image is initialised
Save the image to the temporary directory on init and then load from that path when needed

Are any of these specific blockers?

OK - so from some testing it's possible to read the exif headers by base64 encoding just a portion of the binary data. eg:
$headerData = stream_get_contents($assetContainer->getStream(), 10240);
$exif = exif_read_data ( "data://image/jpeg;base64," . base64_encode($headerData) , 0 , true );

So it may be possible to either just hold onto a portion of the data for exif reading or we can prefetch exif data for the image but by encoding just a portion of the binary data upon initialisation.

What is $assetContainer in your example?

Oh, sorry, that's just an abstraction layer for assets. Wherever the binary data comes from we can just read the first N bytes and pass that to exif_read_data as a base64 encoded string and extract the headers successfully.
How do you feel about extracting the exif meta data and storing it in a meta property on images when initiating the image object? I'm not sure theirs any other way of making it work without constant reference to the original image data.

The following overview shows, how to handle the different input types. There are actually five methods. Methods 1-2 can read exif data smoothly. Method 3-5 are problematic, because we need run additional resource intensive encoding, which may not be wanted. I'm not sure, if this should be the default on every init.

initFromPath()
Handles the following input:

Path of the image in filesystem.
SplFileInfo instance

Can be read directly by exif_read_data without encoding.

initFromBinary()
Handles the following input:

Binary image data.
URL of an image
Stream
Data-URL encoded image data
Base64 encoded image data

Can be read as base64 encoded string by exif_read_data.

initFromGdResource()
Handles the following input:

PHP resource of type gd

Must be encoded as JPEG and base64 before read by exif_read_data.

initFromImagick()
Handles the following input:

Imagick instance

Must be encoded as JPEG and base64 before read by exif_read_data.

initFromInterventionImage()
Handles the following input:

Intervention\Image\Image instance

Must be encoded as JPEG and base64 before read by exif_read_data.

Thanks for the overview. I'd like some guidance on the likelihood of you accepting an approach of caching the exit data on initialisation before I spend time writing on an approach you don't like

I have been following and investigating this issue, and was looking to suggest something much much along these lines.
I would suggest a setExif / getExif on Image class, which would allow this data to be assigned on init. ExifCommand would instead simply return getExif(). It would be the responsibility of the Decoder to invoke setExif based on the functionality you describe.
I would accept that there are cases where exif simply isn't accessible, but we should certainly attempt to capture it in cases where it could be, but currently isn't (e.g. streams).

are there any infos regarding exif data from non-file image instances?

Since PHP 7.2.0 it is possible. But from my understanding Intervention always converts the stream (in AbstractDecoder->initFromStream), therefore the ExifCommand cannot access the stream and is not able to read the EXIF data.

It sounds like a combination of using PHP 7.2 exif reading from streams, and shifting some of the responsibility for exif init to the initFrom* methods could work.

Add getExif / setExif to Image class
initFromStream reads exif data, and calls setExif on result of initFromBinary()
ExifCommand checks getExif() for data, failing over to reading from file path otherwise.
Update other initFrom* as necessary / feasible.

Caveats:

PHP 7.1 and below would reject streams (either bump requirements, or soft-support if >7.2)
non-seekable streams would not load exif
Additional API necessary; Will need to investigate possible breakage of API.
Does not guarantee exif will always be loaded, only increases likelihood.

Nice work @olivervogel

The Intervention Image library is still unable to load EXIF data from streams, at least with the Imagick and gd driver.
The following code, used on this test image:
<?php
use Intervention\Image\ImageManager;

$driver = ['driver' => 'Imagick'];
$image_manager = new ImageManager($driver);

$image = $image_manager->make('./Landscape_3.jpg');
echo "Instantiated from file path, Imagick:\n";
echo var_export($image->exif(), TRUE);
echo "\n";

$stream = fopen('./Landscape_3.jpg', 'r');
$image = $image_manager->make($stream);
echo "Instantiated from stream, Imagick:\n";
echo var_export($image->exif(), TRUE);
echo "\n";

$driver = ['driver' => 'gd'];
$image_manager = new ImageManager($driver);

$image = $image_manager->make('./Landscape_3.jpg');
echo "Instantiated from file path, gd:\n";
echo var_export($image->exif(), TRUE);
echo "\n";

$stream = fopen('./Landscape_3.jpg', 'r');
$image = $image_manager->make($stream);
echo "Instantiated from stream, gd:\n";
echo var_export($image->exif(), TRUE);
echo "\n";
?>

Generates the following output:
Instantiated from file path, Imagick:
array (
  'FileName' => 'Landscape_3.jpg',
  'FileDateTime' =><PHONE_NUMBER>,
  'FileSize' => 348796,
  'FileType' => 2,
  'MimeType' => 'image/jpeg',
  'SectionsFound' => 'ANY_TAG, IFD0',
  'COMPUTED' =>
  array (
    'html' => 'width="1800" height="1200"',
    'Height' => 1200,
    'Width' => 1800,
    'IsColor' => 1,
    'ByteOrderMotorola' => 1,
  ),
  'Orientation' => 3,
  'XResolution' => '72/1',
  'YResolution' => '72/1',
  'ResolutionUnit' => 2,
  'YCbCrPositioning' => 1,
)
Instantiated from stream, Imagick:
array (
  'FileDateTime' => 0,
  'FileSize' => 440610,
  'FileType' => 2,
  'MimeType' => 'image/jpeg',
  'SectionsFound' => 'ANY_TAG, IFD0',
  'COMPUTED' =>
  array (
    'html' => 'width="1800" height="1200"',
    'Height' => 1200,
    'Width' => 1800,
    'IsColor' => 1,
    'ByteOrderMotorola' => 1,
  ),
  'Orientation' => 0,
  'XResolution' => '72/1',
  'YResolution' => '72/1',
  'ResolutionUnit' => 2,
  'YCbCrPositioning' => 1,
)
Instantiated from file path, gd:
array (
  'FileName' => 'Landscape_3.jpg',
  'FileDateTime' =><PHONE_NUMBER>,
  'FileSize' => 348796,
  'FileType' => 2,
  'MimeType' => 'image/jpeg',
  'SectionsFound' => 'ANY_TAG, IFD0',
  'COMPUTED' =>
  array (
    'html' => 'width="1800" height="1200"',
    'Height' => 1200,
    'Width' => 1800,
    'IsColor' => 1,
    'ByteOrderMotorola' => 1,
  ),
  'Orientation' => 3,
  'XResolution' => '72/1',
  'YResolution' => '72/1',
  'ResolutionUnit' => 2,
  'YCbCrPositioning' => 1,
)
Instantiated from stream, gd:
array (
  'FileDateTime' => 0,
  'FileSize' => 593747,
  'FileType' => 2,
  'MimeType' => 'image/jpeg',
  'SectionsFound' => 'COMMENT',
  'COMPUTED' =>
  array (
    'html' => 'width="1800" height="1200"',
    'Height' => 1200,
    'Width' => 1800,
    'IsColor' => 1,
  ),
  'COMMENT' =>
  array (
    0 => 'CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 90
',
  ),
)

Notice how both the Imagick and the gd drivers lose the Orientation EXIF tag (and both the Imagick and gd image representation are not rotated following the Orientation tag and therefore can have the wrong orientation and have the original orientation information lost).
Therefore this issue is still open. As the API clearly states that "Image object must be instantiated from file path to read the EXIF data correctly", this is not a bug, but it is in my opinion an important missing feature of the library, and in any case this issue has not been solved.


./forget-me -U  is wrong in the doc

./forget-me -U  is wrong in the doc
[1] https://docs.wso2.com/display/IS550/Removing+References+to+Deleted+User+Identities
it should be ,
./forget-me.sh -U

Updated the doc [1] with the corrected syntax.
[1] https://docs.wso2.com/display/IS550/Removing+References+to+Deleted+User+Identities

Again tool is changed as forget-me in alpha 3 pack. Hence this should be reverted back to forget-me in the doc [1]
[1] https://docs.wso2.com/display/IS550/Removing+References+to+Deleted+User+Identities#RemovingReferencestoDeletedUserIdentities-Changingdefaultconfigurationsofthetool

Checked with Jayanga and he mentioned that it is going to be ./forgetme.sh -U
Jayanga will let me know once the change is done so that I can update the doc.

Updated docs since the change related to this is merged via https://github.com/wso2/identity-anonymization-tool/pull/51


rebuild-ca and regenerate-certs commands

This adds tls-rebuild-ca and tls-regenerate-certs for rebuilding the local CA cert and keys as well as generating new certificates and propagating them to the specified machines.  This should resolve issues like #531 as well as provide a mechanism to completely re-key all machines.

+1

Perhaps this can be linked into my PR about certs/identity #688

@sthulb +1.  Right now, there isn't much to it.  It simply calls the other functions to regenerate.  I think your PR is needed for machine server.  This would temporarily give rotation capabilities and the ability to reset the TLS config on the engine (assuming you have the SSH keys).

Sure, implement them how you want for now, whilst we're < 1.0 we can fiddle with command structure.

@bfirsh thoughts?  i went back and forth on the naming.  i'm not tied to them.

:+1:

A command for this would help people get out of that crappy situation, I suppose. Though I'm a bit concerned about adding this because we're not fixing the root cause of a bug.
Questions:

Are there any reasons why you want to rotate all of your keys, beyond fixing that bug and general good security practice?
Why would you want to rebuild your CA?
I wonder if we need both commands... If you rebuild your CA, don't you always need to regenerate your certs? If you want to rebuild all your certs, is there any harm in also rebuilding the CA?

Unfortunately, I cannot get this reproduced.  What appears to be happening is the IP SAN isn't valid for the specified cert (even though changing IPs I cannot reproduce).  I don't think there is any other way to fix this unless we set a wildcard for all access.  Perhaps this would be ok for the local drivers but I think the potential would still be there for the cloud providers too.  Take ec2 for example, you could stop and get another IP.  I don't know any other way than regenerating certificates.
General good security practice for start.  If your CA gets compromised, you would want to build a new one.  If you generate a new CA, you don't have to regenerate all certs because we store a copy of the ca and cert in the machine directory to be self-contained.  This allows for a "rolling" cert re-issue.

I think setting a wildcard hostname and verifying the exact cert is a good idea. I'm pretty sure if you don't need a CA for Docker's TLS. You can pass the host's certificate to --tlscacert directly and it'll verify that the host is presenting specifically that certificate.

In terms of naming, I like commands which start with verbs. So if we're having one command, I would vote regenerate-certs. If we're having two commands, it's a bit more complex...

Ok so for server certs we generate a wildcard?  I think it's less secure but would alleviate the issue and as long as we verify the cert I would be ok with it.
thoughts @sthulb @ggiamarchi @andrewwatson

i don't think we would want to force a regeneration of the CA as that would cause confusion I think.  I think two commands is better.

Why would you want to regenerate the CA? If that's something that doesn't happen that often, could we recommend running rm -r ~/.docker/machine/certs; docker-machine regenerate-certs?

I think this could be modified to only generate the CA certs if they don't exist and thus a single command would suffice.

FYI, I don't think you can "wildcard" with an IP SAN, so you'd have to create a fake hostname/domain name for the Machine-created Docker hosts.

I think setting a wildcard hostname and verifying the exact cert is a good idea. I'm pretty sure if you don't need a CA for Docker's TLS. You can pass the host's certificate to --tlscacert directly and it'll verify that the host is presenting exactly that certificate.

@bfirsh Could you clarify what you mean here?

Will Go not check that the certificate used as a trust root includes the CA extension?

I'm pretty sure it checks for the CA extension of the asserted trust roots here: https://github.com/golang/go/blob/c2317db2f9bf9f097f0bc297004a8f581b944206/src/crypto/x509/x509.go#L593

I'm ok with wildcard certs if we can generate them.

it looks like @md5 is correct.  I just tried to create some using wildcards (* and <IP_ADDRESS>) which both do not work.  It looks like we are going to have to support either detection of failed connections or the ability to re-cert as we probably cannot rely or generate hostnames for all instances.

@bfirsh so we ran into this again in irc.  i think this would be good to get in.  I think removing the CA command and defaulting to relying on removing manually would suffice for now.  thoughts?

@ehazlett :+1: that sounds great. I think a regenerate-certs command could be easier to understand.
Actually, come to think of it, isn't the CA generated automatically on first start if it doesn't exist?

@bfirsh correct -- if the ca/client certs do not exist, they get auto-generated on first machine create.

Closing this PR in favor of #770.  It is the exact same (which the name as regenerate-certs) only created against the new driver refactor for easier merge.

FWIW, I just ran into this after running b2d via Kitematic and then spinning up two other docker-related VMs subsequently. The Kitematic-spawned b2d VM seems to have gotten a new IP in the process somehow and then certificate is valid for <IP_ADDRESS>, not <IP_ADDRESS>. Running docker-machine regenerate-certs default resolved successfully.


change doc theme to furo

RTD theme is struguling to stay updated.
Looks like people are starting to pivot to FURO theme (which does catch up with Sphinx)
https://github.com/readthedocs/sphinx_rtd_theme/issues/1463#issuecomment-1558942488

🎩 https://moonraker-home-assistant--142.org.readthedocs.build/en/142/install.html


Dependencies update request

As following, could you please add these dependencies to this repo?
libcryptopp, iptables-mod-fullconenat, vsftpd-alt, iptables-mod-fullconenat, libucl, ucl/host
Openwrt version: v22.03.5
WARNING: Makefile 'package/feeds/small8/amule/Makefile' has a dependency on 'libcryptopp', which does not exist
WARNING: Makefile 'package/feeds/small8/amule/Makefile' has a build dependency on 'libcryptopp', which does not exist
WARNING: Makefile 'package/feeds/small8/luci-app-fullconenat/Makefile' has a dependency on 'iptables-mod-fullconenat', which does not exist
WARNING: Makefile 'package/feeds/small8/luci-app-tencentcloud-cos/Makefile' has a dependency on 'vsftpd-alt', which does not exist
WARNING: Makefile 'package/feeds/small8/natter/Makefile' has a dependency on 'iptables-mod-fullconenat', which does not exist
WARNING: Makefile 'package/feeds/small8/upx/Makefile' has a dependency on 'libucl', which does not exist
WARNING: Makefile 'package/feeds/small8/upx/Makefile' has a build dependency on 'ucl/host', which does not exist

ucl needs to sync with lean/ucl, to fix upx problem

man i got it


Fixes #1777 - Dialog button justification. Adds unit tests.

Fixes #1777

Adds ButtonAlignment property to Dialog. Uses Dialog.ButtonAlignments enum
Center (default), Justify, Left, and Right alignment supported
Updates UI Catalog scenario to demonstrate
Adds first Dialog unit tests!

This PR is needed for #124 so that with two dialog buttons the Wizard can have "Back" and "Next" left and right justified.

Would @BDisp and/or @tznind please do a review of this for me?

That great. Did you test with wide runes as well?

That great. Did you test with wide runes as well?

Good call-out. Now I have:

and

(VS does not render wide chars correctly)

@BDisp did you do a code review?

Not yet, I will do it today.

Not introduced by this PR but I was testing the Dialog scenario and found that entering -1 crashes the app.  Should just be a matter of changing these to TryParse instead of Parse and having a return for <0.  If you want this as a separate PR/Issue let me know.
https://github.com/migueldeicaza/gui.cs/blob/aff02109005948f131b21e19c55aa0962b87231e/UICatalog/Scenarios/Dialogs.cs#L126-L128

Left and Right  alignments crash when calling Dialog with no buttons but Center and Justify do not.  Since the constructor has params this is allowed by the API.
[Theory]
[InlineData(Dialog.ButtonAlignments.Center)]
[InlineData(Dialog.ButtonAlignments.Justify)]
[InlineData(Dialog.ButtonAlignments.Left)]
[InlineData(Dialog.ButtonAlignments.Right)]
[AutoInitShutdown]
public void ButtonAlignment_ZeroButtons (Dialog.ButtonAlignments align)
{
	var d = new Dialog("test",0,0){
		ButtonAlignment = align
	};

	Application.End (Application.Begin (d));
}

xUnit.net 00:00:01.00]     Terminal.Gui.Views.DialogTests.ButtonAlignment_ZeroButtons(align: Right) [FAIL]
[xUnit.net 00:00:01.01]     Terminal.Gui.Views.DialogTests.ButtonAlignment_ZeroButtons(align: Left) [FAIL]
  Failed Terminal.Gui.Views.DialogTests.ButtonAlignment_ZeroButtons(align: Right) [9 ms]
  Error Message:
   System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
  Stack Trace:
     at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Terminal.Gui.Dialog.LayoutStartedHandler() in /home/thomas/gui.cs/Terminal.Gui/Windows/Dialog.cs:line 207
   at Terminal.Gui.Dialog.<.ctor>b__2_0(LayoutEventArgs args) in /home/thomas/gui.cs/Terminal.Gui/Windows/Dialog.cs:line 67
   at Terminal.Gui.View.OnLayoutStarted(LayoutEventArgs args) in /home/thomas/gui.cs/Terminal.Gui/Core/View.cs:line 2159
   at Terminal.Gui.View.LayoutSubviews() in /home/thomas/gui.cs/Terminal.Gui/Core/View.cs:line 2199
   at Terminal.Gui.Application.Begin(Toplevel toplevel) in /home/thomas/gui.cs/Terminal.Gui/Core/Application.cs:line 830
   at Terminal.Gui.Views.DialogTests.ButtonAlignment_ZeroButtons(ButtonAlignments align) in /home/thomas/gui.cs/UnitTests/DialogTests.cs:line 41
  Failed Terminal.Gui.Views.DialogTests.ButtonAlignment_ZeroButtons(align: Left) [8 ms]
  Error Message:
   System.ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
  Stack Trace:
     at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Terminal.Gui.Dialog.LayoutStartedHandler() in /home/thomas/gui.cs/Terminal.Gui/Windows/Dialog.cs:line 194
   at Terminal.Gui.Dialog.<.ctor>b__2_0(LayoutEventArgs args) in /home/thomas/gui.cs/Terminal.Gui/Windows/Dialog.cs:line 67
   at Terminal.Gui.View.OnLayoutStarted(LayoutEventArgs args) in /home/thomas/gui.cs/Terminal.Gui/Core/View.cs:line 2159
   at Terminal.Gui.View.LayoutSubviews() in /home/thomas/gui.cs/Terminal.Gui/Core/View.cs:line 2199
   at Terminal.Gui.Application.Begin(Toplevel toplevel) in /home/thomas/gui.cs/Terminal.Gui/Core/Application.cs:line 830
   at Terminal.Gui.Views.DialogTests.ButtonAlignment_ZeroButtons(ButtonAlignments align) in /home/thomas/gui.cs/UnitTests/DialogTests.cs:line 41

Failed!  - Failed:     2, Passed:     2, Skipped:     0, Total:     4, Duration: 36 ms - /home/thomas/gui.cs/UnitTests/bin/Debug/net6.0/UnitTests.dll (net6.0)

Edit: Actually setting number of buttons to 0 also seems unstable.

My latest push addresses this.

Not introduced by this PR but I was testing the Dialog scenario and found that entering -1 crashes the app. Should just be a matter of changing these to TryParse instead of Parse and having a return for <0. If you want this as a separate PR/Issue let me know.

Fixed. Thanksl.

Note I completely re-wrote the Justify case code.
I also noticed the old Center code was actually incorrect so fixed it as well.


Can patch support line-based?

Can patch support line-based or word-based?
I'd like to use it to generate unified format just like git diff's ouput

Hmm, I've found a private method on the java version that seem to exactly do that, I'm not sure though
https://github.com/google/diff-match-patch/blob/62f2e689f498f9c92dbc588c58750addec9b1654/java/src/name/fraser/neil/plaintext/diff_match_patch.java#L286

Hmm, I've found a private method on the java version that seem to exactly do that, I'm not sure though
https://github.com/google/diff-match-patch/blob/62f2e689f498f9c92dbc588c58750addec9b1654/java/src/name/fraser/neil/plaintext/diff_match_patch.java#L286


Part 1: Cell typing to main workflow

Towards #415
This PR adds the first steps towards adding cell typing into the main workflow.
First, note 2 tiny recreational revisions:

I updated config/reference_paths.config & build-celltype-ref.nf to rename the param singler_ref_dir to singler_references_dir, to match the CellAssign name.
There was a "double comment" (////) in af-features.nf that I randomly came across, and now it is 1 comment (//)

Now, the main attraction.

We have some new params, repeat_celltyping and skip_celltyping both set to false as default. For now, I am only using skip_celltyping, planning to get back to repeat_celltyping in next PR(s).
The anndata conversion process had to be moved up, since we need the processed hdf5 file for input to CellAssign.

Some things in the anndata step are a bit TBD; For now, I'm emitting move_normalized_counts.out from it to facilitate heading into cell typing. I know there are other changes planned for anndata (#463), so I left a big "PENDING" comment in that file!

To prepare for celltyping, I create celltype_ch and branch into libraries that will get celltyped and those we'll skip, for now using only param.skip_celltypes. This channel only needs meta, processed hdf5s, and processed rds, but to have an easier time collecting all the RDS files back up after cell typing for the QC report, I've also included unfiltered & filtered rds. These files get to come along for the ride throughout celltyping. Originally I did not do this, but after chatting with Ally for a little bit, we decided that this could be cleaner than having a mapping & joining extravaganza back in main.nf.
The celltyping workflow looks more or less the same as it looked on its own, with a couple differences:

The R scripts that add celltypes to RDS files now only expect 1 SCE file, which is both the input & output file (processed_rds).
meta.has_singler and meta.cell_assign get created in the process that adds cell types to the SCE
As mentioned, unfiltered_rds and filtered_rds go along for the ride to facilitate heading into the QC report next

After celltyping, mix back up, and off to the QC. I admit, I named this channel final_sce_ch as sort of a joke (you're all lucky it's not final_final_sce_ch), but I mean, what else should I call it? ;)

more stub things incoming... 🎢

Before a careful review, some high level thoughts.
Anndata objects are the largest objects we deal with: it is better if we can avoid copying them around at all, so I would suggest we not move the anndata conversion up. Instead, I would make the first step of the CellAssign process use the script that we have to do the conversion only for the file that needs to be converted for that step. Depending how we add annotations in and things we might do later, we might have to go back to rds files, which makes things confusing. Basically, converting the files is probably cheaper than moving them around, so if we can minimize that, we will come out ahead.

My guess at this point re-stub is that this failure might be "expected" given that we have booted multiplex from some of the post-processing?

One more high level thought:
Going back to https://github.com/AlexsLemonade/scpca-nf/issues/462: Do we maybe want the output of the cell typing steps to be a table of cell types that we can mix in at any point?
My thought is that if we have done cell typing but we are running the workflow again there are two options: one is to assume that any upstream changes would invalidate the previous cell typing, and we need to do it again. Another is that we can, in some situations, be "okay" with the old cell typing, and we just want to mix that back in. I don't think we would ever want to do that in "production", but it could be useful for tests.
But if we never want to do that, then we could probably want to skip everything before cell typing in the event that we have cell typing results.
All of this to say, I think we need to have a bit more discussion before we get the code fully ironed out. I would recommend that discussion happen with flowcharts and diagrams rather than code, because it is much easier to set a plan that way than to try to backsolve from a complex nextflow file.

All of this to say, I think we need to have a bit more discussion before we get the code fully ironed out. I would recommend that discussion happen with flowcharts and diagrams rather than code, because it is much easier to set a plan that way than to try to backsolve from a complex nextflow file.

:100:

Going back to https://github.com/AlexsLemonade/scpca-nf/issues/462: Do we maybe want the output of the cell typing steps to be a table of cell types that we can mix in at any point?

My thought is that if we have done cell typing but we are running the workflow again there are two options: one is to assume that any upstream changes would invalidate the previous cell typing, and we need to do it again. Another is that we can, in some situations, be "okay" with the old cell typing, and we just want to mix that back in. I don't think we would ever want to do that in "production", but it could be useful for tests.

This is why I originally suggested outputting the tsv. Sorry I didn't make it clear that the tsv would be the actual cell type annotations. So we output the cell type annotations from both SingleR and then CellAssign and have a separate process that actually incorporates them into the SCE object (as mentioned in https://github.com/AlexsLemonade/scpca-nf/issues/462#issuecomment-1723475262). I would agree that it does sound like mapping out the new additions would be helpful.

Closing this out to take a different approach, coming soon, to including celltyping in the main workflow.


Is it possible to move the drone to a point relative to its current postion ?

something like this
https://github.com/hybridgroup/node-bebop/blob/master/docs/commands.md#pilotingmovebyobj

Hi kozovandlof,
I heve made modifications to the code and with them is possible to move to
a relative position.
If you compare the original code you will find the modifications.
Sorry for not having done a branch of main program.
Regards
Aldo Contreras
On Sun, May 8, 2016 at 11:40 AM, kozovandlof<EMAIL_ADDRESS>wrote:

something like this
https://github.com/hybridgroup/node-bebop/blob/master/docs/commands.md#pilotingmovebyobj
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/robotika/katarina/issues/10

--
Saludos/Regards/Grüße
Aldo Contreras

Hi thanks for your fast replay
I couldn't find the attached file

You can find it here too.
https://drive.google.com/file/d/0B6xtNWuLHIRMMmhxM0dMOTdmTkU/view?usp=sharing

Hi kozovandlof,
Have you tested the code?

Hi Aldo Contreras,
I am interested to use the code that could move the drone to a point relative to its current position.
I couldn't find the file in the google drive as it may removed.
Could you share it to me again?
Thank you.
Best Regards,
Cyleong

@cyleong84 he put the code here: https://github.com/al3Co/BebopDrone

Hi CE93Geek,
Thank a lot!
Will explore in it.


Migrated to null safety

Migrated to null safety. Please merge the changes to update the plugin if everything seems alright.

thank you @Saad29 for your contribution. I will upgrade the package and will let you know.

@Saad29 upgrade your package to v0.2.0 and just use it.

@payam-zahedi thanks a lot, really enjoy using this plugin


Added Genotype example in mango-viz/examples

Can one of the admins verify this patch?

Jenkins, test this please.

Coverage remained the same at 72.402% when pulling 964d33f2fbe695f8b4243fa926fb60abe4db6149 on abhim00:mangodocsupdate into 29f3b2e59a10143a8ccf1f52b223c4eeb1685dd0 on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/837/
Test PASSed.


[HUDI-816] Fix MAX_MEMORY_FOR_MERGE_PROP and MAX_MEMORY_FOR_COMPACTION_PROP do not work due to HUDI-678

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
Fixed MAX_MEMORY_FOR_MERGE_PROP and MAX_MEMORY_FOR_COMPACTION_PROP do not work due to HUDI-678
Brief change log
Modify SparkConfigUtils.java
Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@lamber-ken Thanks for reporting this, please take a look when you are free. Thanks

an accompanying test case would be great!

Added some UnitTests @vinothchandar @lamber-ken

@lamber-ken I will let you and @leesf coordinate and take this to finish line

@lamber-ken I will let you and @leesf coordinate and take this to finish line

OK, @leesf thanks, will merge after CI passes


fix(parser): fix short code generation for non-https

Fix incorrect test assertion and ensure http protocol is used for non-secure short code urls (https for secure).

Plan Result (parser-graphql-wrapper-cdk)
CI link
:warning: Resource Deletion will happen
This plan contains resource delete operation. Please check the plan result very carefully!
Plan: 2 to add, 0 to change, 1 to destroy.

Create

local_file.application_ecs_service_appspec_94386B9C

Replace

aws_ecs_task_definition.application_ecs_service_ecs-task_461CC9D4

Change Result (Click me)

  # aws_ecs_task_definition.application_ecs_service_ecs-task_461CC9D4 must be replaced
-/+ resource "aws_ecs_task_definition" "application_ecs_service_ecs-task_461CC9D4" {
      ~ arn                      = "arn:aws:ecs:us-east-1:996905175585:task-definition/ParserGraphQLWrapper-Prod:730" -> (known after apply)
      ~ arn_without_revision     = "arn:aws:ecs:us-east-1:996905175585:task-definition/ParserGraphQLWrapper-Prod" -> (known after apply)
      ~ container_definitions    = jsonencode(
          ~ [
              ~ {
                  ~ image                  = "996905175585.dkr.ecr.us-east-1.amazonaws.com/parsergraphqlwrapper-prod-app:c6d17d12d14f5f4c77209a0ad287a57d16aae3aa" -> "996905175585.dkr.ecr.us-east-1.amazonaws.com/parsergraphqlwrapper-prod-app:8bb09182b7bdff97239a42afda2711a368049d07"
                    name                   = "app"
                  ~ portMappings           = [
                      ~ {
                          - protocol      = "tcp"
                            # (2 unchanged attributes hidden)
                        },
                    ]
                  - systemControls         = []
                    # (9 unchanged attributes hidden)
                },
              ~ {
                    name                   = "aws-otel-collector"
                  ~ portMappings           = [
                      ~ {
                          - protocol      = "tcp"
                            # (2 unchanged attributes hidden)
                        },
                      ~ {
                          - protocol      = "tcp"
                            # (2 unchanged attributes hidden)
                        },
                    ]
                  - systemControls         = []
                    # (10 unchanged attributes hidden)
                },
            ] # forces replacement
        )
      ~ id                       = "ParserGraphQLWrapper-Prod" -> (known after apply)
      ~ revision                 = 730 -> (known after apply)
        tags                     = {
            "environment" = "Prod"
            "service"     = "ParserGraphQLWrapper"
        }
        # (10 unchanged attributes hidden)
    }

  # local_file.application_ecs_service_appspec_94386B9C will be created
  + resource "local_file" "application_ecs_service_appspec_94386B9C" {
      + content              = (known after apply)
      + content_base64sha256 = (known after apply)
      + content_base64sha512 = (known after apply)
      + content_md5          = (known after apply)
      + content_sha1         = (known after apply)
      + content_sha256       = (known after apply)
      + content_sha512       = (known after apply)
      + directory_permission = "0777"
      + file_permission      = "0777"
      + filename             = "appspec.json"
      + id                   = (known after apply)
    }

Plan: 2 to add, 0 to change, 1 to destroy.

This actually isn't a bug? Or if it is, the web repo does the same thing...


add discussion of ROS 1 style latched topics

See https://github.com/ros2/ros2/issues/464

@Mergifyio backport humble iron


undefined ImagePicker.ShowImagePicker , read all issue same as mine

Hi I've read all issues , been still stuck for hours on this.
please help

import React, { Component } from 'react';
import { AppRegistry, ScrollView, Image, TouchableOpacity, StyleSheet, PixelRatio, View } from 'react-native';
import { Button, Icon, Divider, Card, Badge, Text} from 'react-native-elements';
import Moment from 'react-moment';
import * as firebase from 'firebase';
import Database from "../firebase/database";

import ImagePicker from 'react-native-image-picker'

export default class DetailsShift extends Component {

  state = {
    avatarSource: null,
    videoSource: null
  };

  selectPhotoTapped() {
    const options = {
      quality: 1.0,
      maxWidth: 500,
      maxHeight: 500,
      storageOptions: {
        skipBackup: true
      }
    };

    ImagePicker.showImagePicker(options, (response) => {
      console.log('Response = ', response);

      if (response.didCancel) {
        console.log('User cancelled photo picker');
      }
      else if (response.error) {
        console.log('ImagePicker Error: ', response.error);
      }
      else if (response.customButton) {
        console.log('User tapped custom button: ', response.customButton);
      }
      else {
        let source = { uri: response.uri };

        // You can also display the image using data:
        // let source = { uri: 'data:image/jpeg;base64,' + response.data };

        this.setState({
          avatarSource: source
        });
      }
    });
  }

  selectVideoTapped() {
    const options = {
      title: 'Video Picker',
      takePhotoButtonTitle: 'Take Video...',
      mediaType: 'video',
      videoQuality: 'medium'
    };

    ImagePicker.showImagePicker(options, (response) => {
      console.log('Response = ', response);

      if (response.didCancel) {
        console.log('User cancelled video picker');
      }
      else if (response.error) {
        console.log('ImagePicker Error: ', response.error);
      }
      else if (response.customButton) {
        console.log('User tapped custom button: ', response.customButton);
      }
      else {
        this.setState({
          videoSource: response.uri
        });
      }
    });
  }

  static navigationOptions =  {
    title: 'Shift Details',
    headerLeft: null,
    headerTintColor: "white",
    headerStyle: {
        backgroundColor: 'rgb(207, 90, 99)',
        elevation: null },
    };
  render() {

    return (
      <ScrollView>

                <TouchableOpacity onPress={this.selectPhotoTapped}>
                <View style={[styles.avatar, styles.avatarContainer, {marginBottom: 20}]}>
                { this.state.avatarSource === null ? <Text>Select a Photo</Text> :
                  <Image style={styles.avatar} source={this.state.avatarSource} />
                }
                </View>
              </TouchableOpacity>

      </ScrollView>
    );
  }

}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF'
  },
  avatarContainer: {
    borderColor: '#9B9B9B',
    borderWidth: 1 / PixelRatio.get(),
    justifyContent: 'center',
    alignItems: 'center'
  },
  avatar: {
    borderRadius: 75,
    width: 150,
    height: 150
  }
});

Can anyone help please, am i doing something wrong ?

the same, I'm on Android 6.0

I'm using Expo tu build for iOS on my phone

Right I'm closing this issue as I found a different solution to upload Image with project created in Expo. I used this example which really helped me https://docs.expo.io/versions/latest/sdk/imagepicker.html.
hope will be useful for someone in the future

@20chix Right, I also saw that Expo supports Imagepicker feature but what I like about this library is that this library gives us options(Actionsheet) to choose between photo library and camera. I am not sure Expo also supports that or, if not, I was wondering what your approach was regarding that feature.

@ckim16  ImagePicker from expo SDK works really well, but the only thing that is missing is the feature for converting the picked image into blob, so then we would be able to POST it into any backend like firebase for example really easily. I know expo is waiting for PR to be approved. Can't wait to use it

Firebase storage upload help

@lideryasin
Component:
ImagePicker.launchImageLibrary(options, response => {
            if(response.didCancel) return;

            if(response.error){
                console.log(response.error);
                return;
            }

            upload(response.fileName, response.uri)
                .then(response => console.log(this))
                .catch(error => console.log(error));
        });

Service:
import firebase from 'react-native-firebase';

const storage = firebase.storage();

export const upload = (name, path) => {
    return storage.ref(`${uuidv4()}${name}`).putFile(path);
}

Using uuid library to make random file names and not overwrite anything.

You upload base64 images to firebase, just get the response.uri and use the method:
firebase.storage().ref().child('randomPath')
	.putString(file, 'base64' ,{
		contentType: 'image/jpeg',
	});

That worked for me


terminationGracePeriodSeconds can not be exposed in the pod spec as an env var

We can not actually expose terminationGracePeriodSeconds to the pod.  :-( .
We need to pull this out of the spec files (and helm chart if it was added there).
The Deployment "kuberhealthy" is invalid: spec.template.spec.containers[0].env[2].valueFrom.fieldRef.fieldPath: Invalid value: "spec.terminationGracePeriodSeconds": error converting fieldPath: field label not supported: spec.terminationGracePeriodSeconds

https://github.com/kubernetes/kubernetes/issues/50032
Apparently this is not supported by Kubernetes yet :-(

Reverted ⭕


[PE-D][Tester B] System commands are grouped under Student commands in UG

Expected Behaviour/Suggestion for Improvement
System commands should have a separate section under Features,.
Actual Behaviour
System commands, such as clear and exit (which relate to clearing all entities in system or exiting system) are grouped under Student Commands in the UG.
Explanation ( + Rationale for Severity)
For example, if 'clear' is under Student Commands, user might assume that this only clears the Students but will end up erasing all of their data.
Screenshot

Labels: type.DocumentationBug severity.Medium
original: dasha3412/ped#5

Update UG/DG: Table of Content


🐛 Mobile | Crash on iOS with ArgumentOutOfRange error

Hi
Describe the Bug

There are some crashes being logged regarding an ArgumentOutOfRange error on the Redeem page on iOS. Looking into it, it seems as if the carousel can crash when the ObservableCollection is being updated in certain instances - in particular when the position has changed and it's sliding to a new slide.
Tasks

[x] Investigate
[x] Fix

Acceptance Criteria

[x] Meets Definition of Done - https://github.com/SSWConsulting/SSW.Rewards.Mobile/blob/main/_docs/Definition-of-Done.md

Environment

OS: iOS

Screenshots

Thanks!

Done - this has been fixed.


Bandcamp seems not to be working anymore

Using the below command for SoundScrape 0.31.0 in Python 3.9.12:
soundscrape -b -f URL https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
There is no error, but nor any retrieval of audio. This does not depend on the Bandcamp URL (the above is a random one), as far as I can tell – no Bandcamp URLs work.

I have alternate tool:
PS C:\> bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
HEAD https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
GET http://bandcamp.com/api/mobile/24/tralbum_details?band_id=1&tralbum_id=1174563418&tralbum_type=t
GET https://bandcamp.com/stream_redirect?enc=mp3-128&track_id=1174563418&ts=1648904424&t=df6a9405324582631c6eb98aa265908410bc1554
80.7%   4.251 MB        8.463 MB/s

https://github.com/89z/mech

I've never used Go before. I downloaded and installed it with brew, and think I configured the environment in .zshrc correctly.
However, I don't understand how to run the program after building it, per your readme. Where do I place the file(s)? Can you please improve your documentation for running the program after build?

I have alternate tool:
PS C:\> bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
HEAD https://nomak.bandcamp.com/track/charli-xcx-lucky-remix
GET http://bandcamp.com/api/mobile/24/tralbum_details?band_id=1&tralbum_id=1174563418&tralbum_type=t
GET https://bandcamp.com/stream_redirect?enc=mp3-128&track_id=1174563418&ts=1648904424&t=df6a9405324582631c6eb98aa265908410bc1554
80.7%   4.251 MB        8.463 MB/s

https://github.com/89z/mech

I've never used Go before. I downloaded and installed it with brew, and think I configured the environment in .zshrc correctly.
However, I don't understand how to run the program after building it, per your readme. Where do I place the file(s)? Can you please improve your documentation for running the program after build?

However, I don't understand how to run the program after building it, per your readme.

Cant you just run the command that I gave above?

Where do I place the file(s)?

Should just be a single executable file, bandcamp. Put it wherever you want...

Can you please improve your documentation for running the program after build?

Im not sure how it could be any simpler. After build, you can run bandcamp or bandcamp -h:
PS C:\> bandcamp
Usage of C:\Users\Steven\go\bin\bandcamp.exe:
  -a string
        address
  -i    info only
  -s duration
        sleep (default 1s)
  -v    verbose

However, I don't understand how to run the program after building it, per your readme.

Cant you just run the command that I gave above?

Where do I place the file(s)?

Should just be a single executable file, bandcamp. Put it wherever you want...

Can you please improve your documentation for running the program after build?

Im not sure how it could be any simpler. After build, you can run bandcamp or bandcamp -h:
PS C:\> bandcamp
Usage of C:\Users\Steven\go\bin\bandcamp.exe:
  -a string
        address
  -i    info only
  -s duration
        sleep (default 1s)
  -v    verbose

Ok, got it working, thanks. I was confused about what to do with the binary after it was created.
I suggest you just add your example instructions above to the readme on your repo, i.e. how to run after building.
For Mac, the equivalent of bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix is:
./bandcamp -a https://nomak.bandcamp.com/track/charli-xcx-lucky-remix


Migrate image_gallery_saver to gal

⚠ This is not tested please test by co-authoring. @Tienisto
This will

close #430
close #237

One question, does it also fix #237 ? This would be great!

One question, does it also fix #237 ? This would be great!

May be

It should be noted that gal does not support the omission of file extensions.
Please see: https://github.com/natsuk4ze/gal/wiki/Formats

Thank you! Saving GIFs and persisting metadata works now!

np👌


wrong network bug

IF on mainnet, i get a message that i am on the wrong network, if i switch and refresh it blows up, get a white screen says something went wrong

That wrong network dialog seems to be coming from when the SDK fails to load. Is this still in progress @bconfortin or was this not reproducible?

tested this...started on main, got message switched networks and hit refresh....wouldnt load for me
I needed to exit out and try again with the correct network set

still an issue....If I am on the network I get the pop-up message telling me to switch (which I do).  I then hit the refresh button and the pg does not refresh but eventually blows up and see this....

Not able to repro.
test steps.

load UI when MM is pointed to mainnet
get network mismatch
change network to kovan
refresh
UI loads normally.

This happens for me too -- the JS on the page looks like it hangs indefinitely when MM changes the provider.

UI just spins. tested local against mainnet. prob should handle this case just in case.

fixed - closing


Distilling privacy requirements for mobile applications

paper:http://delivery.acm.org/10.1145/2570000/2568240/p871-thomas.pdf?ip=<IP_ADDRESS>&id=2568240&acc=ACTIVE SERVICE&key=6ABC8B4C00F6EE47.4D4702B0C3E38B35.4D4702B0C3E38B35.4D4702B0C3E38B35&CFID=609851752&CFTOKEN=92241930&acm=1418931118_4c5af99db0e5e2f27494535471c6b781
dataset: see the paper in http://delivery.acm.org/10.1145/1630000/1620547/p1-mancini.pdf?ip=<IP_ADDRESS>&id=1620547&acc=ACTIVE SERVICE&key=6ABC8B4C00F6EE47.4D4702B0C3E38B35.4D4702B0C3E38B35.4D4702B0C3E38B35&CFID=609851752&CFTOKEN=92241930&acm=1418931204_ffc0819138c813fd072227df95693dae

*1.  Paper Title: Distilling privacy requirements for mobile applications

Paper link: http://dl.acm.org/citation.cfm?id=2568240

Authors, emails:
Keerthi Thoma, Arosha K. Bandara, Blaine A. Price, Bashar Nuseibe,
{keerthi.thomas, arosha.bandara, blaine.price<EMAIL_ADDRESS>

@inproceedings{Thomas:2014:DPR:2568225.2568240,
author = {Thomas, Keerthi and Bandara, Arosha K. and Price, Blaine A. and Nuseibeh, Bashar},
title = {Distilling Privacy Requirements for Mobile Applications},
booktitle = {Proceedings of the 36th International Conference on Software Engineering},
series = {ICSE 2014},
year = {2014},
isbn = {978-1-4503-2756-5},
location = {Hyderabad, India},
pages = {871--882},
numpages = {12},
url = {http://doi.acm.org/10.1145/2568225.2568240},
doi = {10.1145/2568225.2568240},
acmid = {2568240},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {mobile, privacy, requirements engineering},
}

Link to the dataset: No Link
6.PROMISE repo category: Requirements

General overview of the data:
..." this qualitative data, in the form of interview transcripts or user written reports, may contain privacy requirements that are embedded and tightly entwined with user’s contextual experiences..." , "...we explained how the qualitative data was used to highlight a privacy concern relating to the threat of sensitive data being exposed..."

Abstract:
As mobile computing applications have become commonplace, it
is increasingly important for them to address end-users’ privacy
requirements. Privacy requirements depend on a number of
contextual socio-cultural factors to which mobility adds another
level of contextual variation. However, traditional requirements
elicitation methods do not sufficiently account for contextual
factors and therefore cannot be used effectively to represent and
analyse the privacy requirements of mobile end users. On the
other hand, methods that do investigate contextual factors tend to
produce data that does not lend itself to the process of
requirements extraction. To address this problem we have
developed a Privacy Requirements Distillation approach that
employs a problem analysis framework to extract and refine
privacy requirements for mobile applications from raw data
gathered through empirical studies involving end users. Our
approach introduces privacy facets that capture patterns of privacy
concerns which are matched against the raw data. We demonstrate
and evaluate our approach using qualitative data from an
empirical study of a mobile social networking application.


Roll engine 1cada0a6dca6..f15cc3402938 (1 commits)

git@github.com:flutter/engine.git/compare/1cada0a6dca6...f15cc3402938
git log 1cada0a6dca6..f15cc3402938 --no-merges --oneline
2019-09-19<EMAIL_ADDRESS>Roll src/third_party/skia 18531cde2ab7..9a8b846baf43 (1 commits) (flutter/engine#12360)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5148937746382848 , https://cirrus-ci.com/task/5711887699804160 , https://cirrus-ci.com/task/4585987792961536 , https://cirrus-ci.com/task/5500781467271168 , https://cirrus-ci.com/task/6274837653225472 , https://cirrus-ci.com/task/5922993932337152

Commit queue failed; closing this roll.


[bug]: paste image in the canvas doesn't work

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
No response
What version did you experience this issue on?
2.3.5
What happened?
normally when you paste an image on a canvas it pastes the image
the unified canvas of invokeai doesn't do anything
Screenshots
No response
Additional context
No response
Contact Details
No response

I'm getting something similar - maybe related?
The first attempt to send an image to the Unified Canvas often fails for me. The canvas grid appears, but invoke doesn't load the image. When I try a 2nd time, the image then appears.
By "send an image to the UC", I mean via InvokeAI's web UI... both the "share" icon (in "Text to Image" and "Image to Image" mode), and the context menu in the thumbnail gallery.
I'm using 2.3.5.post2


Setup google_maps_flutter_utils plugin.

Set up a google_maps_flutter_utils with a minimum usable feature.
The plugin is a wrapper of https://github.com/googlemaps/google-maps-ios-utils and https://github.com/googlemaps/android-maps-utils
The plugin depends on google_maps_flutter.
In future, this plugin should support all features in https://github.com/googlemaps/google-maps-ios-utils and https://github.com/googlemaps/android-maps-utils
This issue is merely to track the effort of setting up the plugin. The effort of adding features should be tracked in different issues.

3 of the main classes I have rewritten to dart, I wish it could help
https://pub.dev/packages/google_maps_utils

Un-assign myself from this issue as I don't have cycle to actively working on it.

If I am not mistaken this issue is blocking at less one open issue related to google maps clustering feature.

close as dup https://github.com/flutter/flutter/issues/49566, which has better description.

close as dup #49566, which has better description.

@cyanglaz You actually linked this issue, so that creates a loop :D
Did you mean #24689?

close as dup #49566, which has better description.

@cyanglaz You actually linked this issue, so that creates a loop :D
Did you mean #24689?

Thanks for pointing it out, I updated the original comment to the actual issue.


[Bug] database upgrade failed, check console for details

I get this popup every time i open vrcx, i just downloaded it. It gets me nothing, all the pages are empty.

I'll investigate it, for now if you install an older version first then upgrade it might work.

should i delete this verison and how far back should i install?

or try run the command manually database.setWal(); or delete %AppData%\VRCX

would i just copy and paste the command in console?

Copy paste the command in console, you may have to type 'allow.pasting' before to allow pasting.


Implement configurable retries for variants

Current best idea for a design:
have chat completion, evaluator, dicl variants all contain a retries = {"n" = 3} style block (default 1) and do retries around model requests, i.e. for a block that looks like
[models.gpt-4o]
# ...
routing = ["openai", "azure"]
# ...

[models.gpt-4o.providers.openai]
# ...

[models.gpt-4o.providers.azure]
# ...

we would do retries = {"n" = 3} in the variant and then the variant inference would look like
OpenAI -> Azure -> wait -> OpenAI -> Azure -> wait -> OpenAI -> Azure -> next variant


Enforcing container registry also upon Pod update

Since Images can be patched on pod manifests, we must also validate patch operations on pods regarding the container registry. If not, we can bypass the container registry, since the user is able to update the image on the container level.

Closed via #648.

Closes via #675.


TST Ensure that sklearn/cluster/tests/test_k_means.py is seed insensitive

Reference Issues/PRs
Fixes sklearn/sklearn/cluster/tests/test_k_means.py in https://github.com/scikit-learn/scikit-learn/issues/22827 upstream.
What does this implement/fix? Explain your changes.
This upgrades the k_means tests to account for greater randomness using global_random_seed.
Any other comments?
Some tests were left unchanged, as suggested in the original issue, as they don't test mathematical properties. Many tests failed with the introduction of randomness and to fix this, they were left as is.

Not sure if my branch is checkout out wrong but when running the tests a bunch failed. I ran them all at once using
Right you are, I didn't account for some tests.

Can you double check that they all pass? If not, I'd consider whether certain tests are worth converting here.
I'll double check all these pass and update accordingly

Hello @ShoaibKhan, did you mean to do a PR to the scikit-learn main repo or to @TheBicPen's fork?
If you expect this PR to be merged to scikit-learn, you should open a new pull-request targeting the main branch of the main repo (https://github.com/scikit-learn/scikit-learn) instead of this fork.

Hello @ShoaibKhan, did you mean to do a PR to the scikit-learn main repo or to @TheBicPen's fork?
If you expect this PR to be merged to scikit-learn, you should open a new pull-request targeting the main branch of the main repo (https://github.com/scikit-learn/scikit-learn) instead of this fork.

Hi @ogrisel, this PR was just meant for @TheBicPen's fork, but I have made another PR on the main fork.


Do we need test data?

Hi all,
Given the size of our dataset, I think we should abandon the idea of having separate test data and write all tests assuming the full dataset has been downloaded. I tried a bunch of different approaches but ultimately think it's a waste of time when the dataset is this small. (In other words, if you get to the point of running the tests, you probably also have the full dataset downloaded.)
Anyone feel otherwise?

Just for the sake of illustration, here's the code I came up with to create a downsized CDC dataset. The idea is to subsample based on FIPS codes, keeping only codes with 2 for the second-to-last digit. This is a pseudo-random sampling of counties that should be fairly representative except that it might not work well for very small states.
import pandas as pd df = pd.read_csv("./data/COVID-19_Vaccinations_in_the_United_States_County.csv.gz").dropna() df_test = df[df.FIPS.str.contains("2\d$")].dropna() print("Reduced size by factor of ", df.size/df_test.size) df_test.to_csv("test_data_CDC.csv.gz", compression="gzip", index=False)


VSCode doesn't publish changes

Describe the bug
I have some issues with publishing my apps lately. When I want to publish my app ( on prem or saas ) he doesn't change anything in my environment. Nothing changes and even if I do a "'schemaupdate' = recreate", nothing changes. Allready tried to uninstall VScode and extensions. Doesn't work
To Reproduce
Start VSCode, try to publish your app onprem or SAAs with ctrl + F5 or F5.
Nothing changes in your environment.
Expected behavior
Normally I see all my changes that I made in my code, pages, tables or codunits.
5. Versions:

AL Language: v6.1.362735

Business Central: BC170

It seems that there's a difference when you work with Ctrl + F5 or select it with mouseclick via 'Run' and then 'Run without debugging' ?

I encountered exactly the same issue today and was also able to pinpoint it to a difference in behaviour between "Run -> Run Without Debugging" and simply pressing "Ctrl + F5" as shortcut!
The shortcut is even written next to the command in the menu so it strongly suggests that it executes the same command.
AL Language Extension: v6.1.362735
Business Central 14

See #6274


Add data use condition support

I assume this is about the conditions based on consent codes as per http://dx.doi.org/10.1371/journal.pgen.1005772, in which case it's already a part of the draft schema as listed in #33.

Agreed to postpone to 1.0.

I've created a PR in the consent codes' repository which contains the spec in protobuf3.
To everybody: consider recovering the changes in commit which were finally dropped in merged PR #92

As Sabela said, she have created protobuf3 version of this specification, it should be merged and this ticket should be closed.
See: https://github.com/ga4gh/ga4gh-consent-policy/pull/4/files#diff-e9c154965595cff75ec70dab802303d9

But this is just Consent Codes. It was agreed we'd support consent codes
and ADA-M.
The API for ADA-M is also now ready. So please let us accommodate both
before we close this ticket
Thanks
Tony
--
Professor Anthony J Brookes
Department of Genetics
University of Leicester
University Road
Leicester, LE1 7RH, UK
Tel: +44 (0)116 2523401
Tel: +44 (0)116 2044767
Mbl: +44 (0)777 0620396
Fax: +44 (0)116 2523378
** Mundum mutatu errore singillatim
** http://libraryofmistakes.com/about
** Where is the wisdom we have lost in knowledge?
** Where is the knowledge we have lost in information?
** T.S. Eliot
Juha Törnroos wrote:

As Sabela said, she have created protobuf3 version of this
specification, it should be merged and this ticket should be closed.
See:
https://github.com/ga4gh/ga4gh-consent-policy/pull/4/files#diff-e9c154965595cff75ec70dab802303d9
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ga4gh/beacon-team/issues/22#issuecomment-327484081,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI_EVBbPxeeErWBmJslt77k4xyWXO2XKks5sfp7rgaJpZM4IDCCn.

The PR can be merged but, as Tony's just said, the ticket must be kept open.
I will have a look at ADA-M protobuf definition asap and try to suggest a way to integrate both into the beacon.

Thanks!
My preference has always been that we harmonise/unify as much of this as
possible - with just the specific models of CC and ADA-M distinguishing
them once included.
I also think the ideal model should allow a user to employ one or both,
or indeed any other model that might come along.
Perhaps you could present a proposed solution on a future Beacon call?
Cheers
Tony
Sabela wrote:

The PR can be merged but, as Tony's just said, the ticket must be kept
open.
I will have a look at ADA-M protobuf definition
https://github.com/ga4gh/ADA-M/blob/master/ADAM.proto asap and try
to suggest a way to integrate both into the beacon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ga4gh/beacon-team/issues/22#issuecomment-327494933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI_EVPqzKJcImZhsli2rRD5UtXweQHKlks5sfqeAgaJpZM4IDCCn.

Hello everybody!
I've just done a PR with a proposal for including both CC and ADA-M: #110
Please, review it and provide feedback.
Thanks!

Please, remember that this PR in CC repo is pending since de 4th of July and nobody but Juha has provided any feedback.

Please, remember that this PR in CC repo is pending since de 4th of July and nobody but Juha has provided any feedback.

+1 Merge & Close

Surely this must be closed now! @mcupak @juhtornr ?


Input is a placeholder with incomplete shape (?, ?, ?, 3)

I am trying to convert this model to coreml.
This is the script I am using to convert:
import tfcoreml as tf_converter
tf_converter.convert(
    tf_model_path = 'models/graph/mobilenet_thin/graph_freeze.pb',
    mlmodel_path = 'my_model.mlmodel',
    output_feature_names = ['import/Openpose/concat_stage7:0'],
    input_name_shape_dict={"input:0":[1,224,224,3]},
    image_input_names=["import/input"]
)

I get the error:
2018-03-04 18:31:23.604515: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
  File "tf2coreml.py", line 7, in <module>
    image_input_names=["import/input"]
  File "/Users/vivek/personal/experimental/tf-pose-estimation/tf-coreml/tfcoreml/_tf_coreml_converter.py", line 483, in convert
    predicted_probabilities_output=predicted_probabilities_output)
  File "/Users/vivek/personal/experimental/tf-pose-estimation/tf-coreml/tfcoreml/_tf_coreml_converter.py", line 180, in _convert_pb_to_mlmodel
    "%s is a placeholder with incomplete shape %s" %(input_name, str(shape)))
AssertionError: image:0 is a placeholder with incomplete shape (?, ?, ?, 3)

Appreciate any help towards fixing it.

The name of the input in the TF graph is "image:0" and not "input:0" which you are providing through input_name_shape_dict to the converter function.

cheers, that and changing the output_feature_names from ['import/Openpose/concat_stage7:0'] to ['Openpose/concat_stage7:0'] fixed it! thanks


Update to latest version of tap and tap-parser

This pull request updates devDependencies to the latest version of tap & tap-parser
( as discussed in: https://github.com/substack/tape/issues/312 )
Had to remove tap.createConsumer in favour of concat-stream which is being used in: test/circular-things.js#L3
Hopefully the changes are self-explanatory and not too much diff.

So far this looks good.

@ljharb build passing. ready for feedback. (thanks!)

@ljharb tests updated to match the format in test/skip.js as discussed in https://github.com/substack/tape/pull/314/files#r76536364

@ljharb updates made as discussed in the in-line comments. https://github.com/substack/tape/pull/314#discussion_r76667817 Thanks.

@ljharb please let me know if anything else is required. (thanks again!)

Thanks, I think this looks great, and the work is very appreciated!
If you don't mind, it would be great to rebase this down to remove all the "tidy" kind of commits, so that each commit represents a single conceptual change - if that's too much trouble, it's OK, but it'd be nice :-)
After that I'll merge this!

@ljharb see: https://github.com/substack/tape/pull/318 (is that OK?)

Thanks, that'll be fine - although I'd have preferred to merge this as-is rather than open a second PR


Multi-GPU Meta Issue

Allocating across multiple gpus [and ideally auto sharding]
Ensuring multiple GPUs are used for computation

x/ref https://github.com/EnzymeAD/Reactant.jl/issues/380

one question: multi-GPU should be already managed by PjRt right? or do we need IFRT?

This I do not know


Feature/fdo profiles

Adds fdo profiles from rfc documents
Includes request schemas (i.e. what is to be sent to the PID API) and the schema of the profile.

Hi Juilian,
Thanks for the review! I've added more detailed descriptions and replied to your comments.
As for tombstonePids, this is for PIDs of other resources we might want to link to in the tombstone record. I've added more information that (hopefully) clarifies this. It might make sense to have this be an array of objects, like:
tombstonePids: [
  {
     id: 20.600/123
     relationship: isObsoletedBy
}]

Will bring forward this suggestion


[openapi one-time-import] Endpoint definitions are missing names for requests that need them

The one-time importer generates endpoint definitions that don't have a name in the request object, even when it is clear that the request will need a name field. suggestion: [endpointName]Request
[api]: providers.yml -> service -> endpoints -> getProviders
       Request name is required because request has query parameters

Resolution: name: getProvidersRequest

Yup this makes sense to me @lucasdellabella -- the only failure case is when {operationId}Request overlap but fern check will alert on that

Will close when released!

This is solved on the latest version of fern CLI


please remove public from extension UIColor

please remove public from extension UIColor as you conflicting with other implementations out there
https://github.com/Iterable/swift-sdk/blob/fbd7145400309a1a3ffcfa5400906c148b9ad15b/swift-sdk/Internal/ClassExtensions.swift#L75

Hi @RolandasRazma ! Thanks for writing in. We just released 6.2.1 to fix this. If there's any further issues, please feel free to open a new issue.


Fix for Flag AccountDisabled.

Accounts are always set as enabled in the current RustHound version. The fix is setting the json value user_json["Properties"]["enabled"] to false if the UAC flag contains AccountDisabled . After the change I did a quick check in a test environment to verify the change. Maybe it would be a good idea to verify the other UAC flags - I added it to my todo list if no one else already did that?

Hi @m8r1us,
Thank you for your pull request.
Indeed, the value AccountDisabled was not correctly applied here.
I'll also check the others to remove any doubt.
Don't hesitate to contact me if you notice this error being applied elsewhere.
Have a nice day.  :smile:


ch is not longer enabled by default. so documentation is needed

according the changelog:

GraphHopper class no longer enables CH by default, #1914

If so, documentation is needed for how to enable it.
cc @easbar

Maybe a migration guide is also needed, one that would be based on the changelog between 0.17 to 1.0 .

Its 'enabled by default' when using config-example.yml and also it is enabled in the example in routing.md. Migration can be done using the converter tool: https://github.com/karussell/snake_case. What do you think is missing?

OH, I'm sorry. I hope I didn't bother too much.
closing.


Docker preview is extremely slow

It's taking several seconds to load the docs preview, both with GitHub deploys and with local previews via ./start.

Given that localhost is slow too, it seems likely this is an issue with the Docker image itself, rather than our CI infrastructure.
Perhaps https://github.com/Qiskit/documentation/issues/53 will speed things up by changing to a new Docker image.

The new Docker image in https://github.com/Qiskit/documentation/pull/150 is substantially faster. This is almost certainly because the current Docker image we're using from icr.io/quantum-computing/iqp-channel-docs-dev was built in dev mode, not prod, so it's slow.
As explained in #150, we want to continue using the password protected image from icr.io/quantum-computing/iqp-channel-docs-dev in PR builds and staging. So we will need to redeploy that image to not be in dev mode.

We're trying to test out a new image in https://github.com/Qiskit/documentation/pull/279, but the deploys are failing with these. It's unclear what's going on and we can't get access to the logs (we're asking someone for them)

Switching from the normal docs app to the preview image in https://github.com/Qiskit/documentation/pull/1045 did not help. We still get this error from IBM Cloud
Revision failed
Unable to start the app revision. Make sure that the configured port matches the port that the application code uses to listen to receive HTTP requests and try again.


Added clap detection

Created a new file for the video based clap detection.
Currently only works via video files and still not perfect. (sometimes claps are falsely detected or not detected at all, but works reliable for most videos so far)
Working on adding a different kind of detection (probably by sound), to maybe combine them both later for a greater precision.
The code uses frame difference analysis to detect motion changes that correspond to claps.
Key Features:

Frame Differencing: Computes the difference between consecutive frames to detect motion.
Adaptive Thresholding: Adjusts the sensitivity to movement by considering the average motion over the last 30 frames.
Frame Skipping: Optimizes performance by processing only every nth frame (configurable).
Clap Detection Logic: Ensures that claps are only detected once, with a minimum gap between detections to avoid false positives from rapid movements.
Real-time Feedback: The system outputs detected claps along with the corresponding frame and timestamp.

Currently only working with one set of videos, needs some more work done before merging.
PR temporary closed


Release 2.5.0

For reasons I don't know, this now also excludes some PRs from the changelog:
$ bundle exec rake changelog
Found 46 tags
Fetching tags dates: 46/46
Sorting tags...
Received issues: 890
Pull Request count: 404
Filtered pull requests: 305
Filtered issues: 414
Fetching events for issues and PR: 719
Fetching closed dates for issues: 719/719
Warning: PR 923 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 922 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 712 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 689 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 647 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 644 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 643 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 607 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 567 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 559 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 543 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 529 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 527 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 526 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 523 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 522 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 486 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 448 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 440 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 377 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 371 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 353 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 352 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 340 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 329 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 328 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 300 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 299 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 206 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 179 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Warning: PR 178 merge commit was not found in the release branch or tagged git history and no rebased SHA comment was found
Associating PRs with tags: 305/305
Generating entry...
Done!
Generated log placed in /home/bastelfreak/puppet-lint/CHANGELOG.md

The upstream issue is https://github.com/github-changelog-generator/github-changelog-generator/issues/971


Fix typo in Assert's javadoc

Check List:

Fixes #??? a typo
Unit tests : NA
Javadoc with a code example (API only) : NA

Good carch, thanks @michalfotyga !


Link for API key is 404

I tried to follow the link in the readme:
https://developer.spotify.com/technologies/libspotify/application-keys/
But got a 404 error.
I proceeded to the new developer console and created a new app, and it gave me  Client ID and Client Secret codes. Is it possible to take these and craft them into a spotify_appkey.key? If so, what format would it have to be in?
Thanks

I'm having this issue too...

Is there any way to solve this issue? Should I use Client ID or Client Secret codes somehow to create spotify_appkey.key? Please help!

Same prob.
I've searched around to find a new way to getting the key file but hopeless.

tbh, i think it's dead. (please correct me if i'm wrong on this). The point is, as far as I understand this entire topic now, the dependency libspotify_embedded_shared.so is not provided by spotify anymore and is deprecated. The lib started to disfunction months ago, though it still can be used if you have it.
The reality is, spotify wants you to use the web api (for what you need the client id and secret.) Checkout
python spotipy (link on spotify developer web).
So technically what you get with those is a link where the user can manually authorize your app. Your app receives a temporary valid token and a refresh token (which can be used by the app to receive a new temporary token). With that token playing a song on a specific detected device is possible.
My conclusion on this is, all those spotify solutions based on libspotify_embedded_shared.so are basically deprecated an will break sooner or later. :(

Has anyone found any alternatives?

@Wqrld Yes, check out Moodle Audioplayer.
It works without API Key and has a lot more to offer.

@Wqrld Yes, check out Moode Audioplayer.
It works without API Key and has a lot more to offer.

Looks nice, sad to see its a full-on image though and not something you can just install on the raspberry with all my projects.

For your own projects I think librespot is the way to go.

For your own projects I think librespot is the way to go.

i believe cargo wasn't working on the pi but ill try that. I won't respond here anymore as this is a old issue and i dont want to be emailing all of you :)

Easiest way would be "spotifyd" (https://github.com/Spotifyd/spotifyd) i think. Key is optional. Ready to use binaries available.

Seems like I have no choice than to tinker with cargo again, moose also looks good and has not support so i might just get a additional pi for music and use that.

What's "moose"?
No choice? What's wrong with spotifyd? No "build" needed. One simple executable for Pi (Armv6): https://github.com/Spotifyd/spotifyd/releases/tag/v0.2.5
There IS Spotify support in Moode Audio Player.

Autocorrect and my bad about the build thing, thanks for your help

For Raspberry Pi raspotify (https://github.com/dtcooper/raspotify) could also be used. Which uses librespot.