Smoke test build status indicator

To enable visibility of our automated smoke builds we should create an extension that indicates about the current VSTS build status in VS Code status bar.
Requirements:
General-purpose extension.
Reusable for other VSTS builds, not only targeted for VS Code.

In fact, there is already nice extension that provides necessary functionality:
https://marketplace.visualstudio.com/items?itemName=jeppeandersen.vstsbuildstatus
We can make a fork out of it to suit more our needs (e.g. aggregate several build definitions into single 'Smoke Test' one), or use it as-is.

@Microsoft/vscode
Automated smoke test build definitions are in place (#27845), and my PR for grouping several build definitions was merged to "Visual Studio Team Services Build Status" extension -
https://marketplace.visualstudio.com/items?itemName=jeppeandersen.vstsbuildstatus
Please setup this extension for yourself to monitor smoke tests that are run automatically daily at UTC 7am.
To use an extension, you will need to obtain your PAT, as described here:
https://www.visualstudio.com/en-us/docs/setup-admin/team-services/use-personal-access-tokens-to-authenticate
Here are settings you will need for the extension:
    "vsts.account": "monacotools",
    "vsts.password": "<-- YOUR PAT HERE -->",
    "vsts.project": "Monaco",
    "vsts.definitionsGroup": "88,89,90", // IDs of our smoke test build defs
    "vsts.definitionsGroupName": "Smoke Tests"

You PAT is personal and will be kept in settings file for now, going further we want to provide a more secure storage (see https://github.com/Microsoft/vscode/issues/15414#issuecomment-311820393).
It is important that we keep an eye on our smoke tests. If you find any failures that are due to smoke test implementation, rather than code misbehaviour, please log it in
https://github.com/Microsoft/vscode/blob/master/test/smoke/Audit.md. This will help us to understand failure patterns and think about a better approach in automating tests. I've also created code review task #29841 to ensure you know what to do when you see alert icon in your status bar from this extension.

I keep my settings in git. Making my PAT would be bad, right? I see https://github.com/Microsoft/vscode/issues/2809 is still open for resolving environment variables in settings. Any idea  how to load the key from somewhere private?

@roblourens The only thing at this point I can think of is to package extension yourself after updating
https://github.com/jlandersen/vscode-vsts-build-status/blob/master/src/settings.ts#L113 to grab PAT from process.env. Although storing it as an environment variable is still not secure enough.


add .swift-version file

This file indicates which version Cocoapods should set the Swift version to in the generated project. See below link for details.
https://github.com/CocoaPods/CocoaPods/pull/5841

Duplicate #1534


feature:support offline atomic command by lua

In the previous code, I noticed that there are some todos that need improvement. May I make some enhancements to the todo regarding the 'AccountServiceRedisImpl.offLine'?

@Override
public void offLine(Long userId) {

    // TODO: 2019-01-21 改为一个原子命令，以防数据一致性

    //删除路由
    redisTemplate.delete(ROUTE_PREFIX + userId);

    //删除登录状态
    userInfoCacheService.removeLoginStatus(userId);
}

As for the two instances of Redis deletion, I suggest using Lua scripts to execute them, to prevent the scenario where the route is deleted but the data remains inconsistent due to still being logged in.

Could you please delete the unnecessary methods here?
https://github.com/crossoverJie/cim/blob/05ffa2d32bed0b9885529cbc258f22b916a4b7a4/cim-forward-route/src/main/java/com/crossoverjie/cim/route/service/UserInfoCacheService.java#L36


luajitPackages.luatext, lua51Packages.luatext, lua52Packages.luatext, lua53Packages.luatext, lua54Packages.luatext: init at 2024-05-04

Description of changes
LuaText provides capabilities to print colored text with various modifiers in the terminal. It supports RGB, ANSI color codes, foreground and background coloring, and ANSI modifiers.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

If I merge now this is going to clash with https://github.com/NixOS/nixpkgs/pull/305799 (notably the 2nd column of csv should now be the full uri to the rockspec) but even better would be for to have luatext on luarocks.org . I propose we wait for that PR to reach master before merging this. Alternatively you could target staging but it's a bit annoying so if you can wait for 1-2 weeks for this to be merged, solution 1 is easier

could you rebase please ?

Result of nixpkgs-review pr 309030 run on x86_64-linux 1

5 packages built:

lua51Packages.luatext
luaPackages.luatext (lua52Packages.luatext)
lua53Packages.luatext
lua54Packages.luatext
luajitPackages.luatext


Training dataset

Can you please guide how to prepare the dataset in correct format , is source image and referenced image sufficient or do I also need ground truth images ...?

how to convert the source image into triplet data form , can you please provide the code for that... , it will help a lot.

I have tried step 2 using source image , inverted mask with inpainting model and some basic prompts , but not getting good results.
import PIL
import torch
from PIL import Image
from diffusers import StableDiffusionInpaintPipeline
import numpy as np
Function to load an image from a local file path
def load_image(image_path):
return Image.open(image_path).convert("RGB")
Function to invert the mask
def invert_mask(mask):
# Convert the mask to a numpy array and invert it (0 becomes 255 and vice versa)
mask_array = np.array(mask)
inverted_mask_array = 255 - mask_array
return Image.fromarray(inverted_mask_array)
Local paths of the original image and its mask (hairstyle mask in this case)
img_path = "01.jpg"
mask_path = "01_mask.png"
Load and resize the images to the required size
init_image = load_image(img_path).resize((512, 512))
mask_image = load_image(mask_path).resize((512, 512))
Invert the mask to make the non-hairstyle portions to be inpainted
inverted_mask_image = invert_mask(mask_image)
Load the Stable Diffusion inpainting pipeline
pipe = StableDiffusionInpaintPipeline.from_pretrained(
"runwayml/stable-diffusion-inpainting",
torch_dtype=torch.float16,
)
pipe = pipe.to("cuda")
Set the prompt to alter the non-hairstyle portions of the image (background/identity)
#prompt = "A photo of person standing in a studio"
prompt = "A portrait of a person with natural face and wearing black t-shirt, high resolution."
Generate the new image by inpainting the non-hairstyle portions
image = pipe(prompt=prompt, image=init_image, mask_image=inverted_mask_image).images[0]
print("Done ------------------------------")
Save or display the resulting image
image.save("inpainted_output.png")
image.show()

what is the issue..?

I have tried step 2 using source image , inverted mask with inpainting model and some basic prompts , but not getting good results.
import PIL import torch from PIL import Image from diffusers import StableDiffusionInpaintPipeline import numpy as np
def load_image(image_path): return Image.open(image_path).convert("RGB")
def invert_mask(mask): # Convert the mask to a numpy array and invert it (0 becomes 255 and vice versa) mask_array = np.array(mask) inverted_mask_array = 255 - mask_array return Image.fromarray(inverted_mask_array)
img_path = "01.jpg" mask_path = "01_mask.png"
init_image = load_image(img_path).resize((512, 512)) mask_image = load_image(mask_path).resize((512, 512))
inverted_mask_image = invert_mask(mask_image)
pipe = StableDiffusionInpaintPipeline.from_pretrained( "runwayml/stable-diffusion-inpainting", torch_dtype=torch.float16, ) pipe = pipe.to("cuda")
#prompt = "A photo of person standing in a studio" prompt = "A portrait of a person with natural face and wearing black t-shirt, high resolution."
image = pipe(prompt=prompt, image=init_image, mask_image=inverted_mask_image).images[0]
print("Done ------------------------------")
image.save("inpainted_output.png")

what is the issue..?

 And the most important thing is using my bold converter to get bald images.

I have tried step 2 using source image , inverted mask with inpainting model and some basic prompts , but not getting good results.
import PIL import torch from PIL import Image from diffusers import StableDiffusionInpaintPipeline import numpy as np
def load_image(image_path): return Image.open(image_path).convert("RGB")
def invert_mask(mask): # Convert the mask to a numpy array and invert it (0 becomes 255 and vice versa) mask_array = np.array(mask) inverted_mask_array = 255 - mask_array return Image.fromarray(inverted_mask_array)
img_path = "01.jpg" mask_path = "01_mask.png"
init_image = load_image(img_path).resize((512, 512)) mask_image = load_image(mask_path).resize((512, 512))
inverted_mask_image = invert_mask(mask_image)
pipe = StableDiffusionInpaintPipeline.from_pretrained( "runwayml/stable-diffusion-inpainting", torch_dtype=torch.float16, ) pipe = pipe.to("cuda")
#prompt = "A photo of person standing in a studio" prompt = "A portrait of a person with natural face and wearing black t-shirt, high resolution."
image = pipe(prompt=prompt, image=init_image, mask_image=inverted_mask_image).images[0]
print("Done ------------------------------")
image.save("inpainted_output.png")

what is the issue..?

 And the most important thing is using my bold converter to get bald images.

I understand the first step that is a bald converter for generating bald_proxy_images , and step two is as mentioned above to generate reference images and this way i will complete the triplet data generation which is required to train the stage 2 . Am i right..?

 Scaling is a great way to simulate the small face reference condition, It's up to you to decide whether to use it.

Thanks for your reply , I have few more questions as I wanted to train stage 2 :

In train_stage2.sh
--refer_column="reference"
--source_column="source"
--target_column="target" \
refer_column = generated reference images
source_column = original source images
target_column = bald proxy images

Is this correct ...?

Thanks for your reply , I have few more questions as I wanted to train stage 2 :

In train_stage2.sh
--refer_column="reference"
--source_column="source"
--target_column="target"
refer_column = generated reference images
source_column = original source images
target_column = bald proxy images

Is this correct ...?

refer_column = generated reference images source_column = bald proxy images target_column = original source images

Thanks for your quick reply , looking forward to train on long hairs dataset!


add pm when user online plugin

how is this issue? anyone did anything? can i take this?

I believe this is the .joins plugin which has already been developed. Correct @Abdur-rahmaanJ?

@AngeloGiacco no. pm means private message. if user offline, next time user comes online, sends him a pm with the message

i'll take this then.. @Abdur-rahmaanJ the idea is to msg user if the bot keeps online all the time between the user becomes online again?

yes


how to fix this issue dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering

please help me

It depends, For me my map was not loading and it was displaying a same error. First i created a new emulator with API 23 since the previous i had was 17. I also did the following
private void setBackgrounds(){
if (Build.VERSION.SDK_INT >= 19)
{
forgot.setBackgroundDrawable(getResources().getDrawable(R.drawable.tv_ripple));
    }

I have the same problem, somebody have the solution please ?

having the same problem too. looking for solution


AsyncTcpConnection not connected on v5.0.0-beta.2

Example:
$monitoring = new AsyncTcpConnection('ws://ip:port');
$monitoring->transport = 'ssl';
$monitoring->onConnect = function(TcpConnection $connection) {
  echo 'onConnect';
};
$monitoring->onMessage = function(TcpConnection $connection, $data) {
  echo 'onMessage';
};
$monitoring->onError = function(TcpConnection $connection) {
  echo 'onError';
};
$monitoring->onClose = function(TcpConnection $connection) {
  echo 'onClose';
};
$monitoring->connect();

With transport ssl onConnect, onClose, onError - never called. But with transport tcp - works.

Fixed and thank you for your post . 👍


migration to experiment with notion gc check

Description
Goal is to have a base migration file to experiment with the resources required to check that we don't have un-deleted Notion documents (to extend and improve the check we have today for google drive only).
Assuming this runs properly in production I'll work toward improving and extending the existing check + adding other platforms.
Context: https://github.com/dust-tt/tasks/issues/1026
Risk
N/A
Deploy Plan

deploy prodbox

PMRR

LGTM


Calendar.RecurrenceRule: Only match weekday components when filtering by weekday

When filtering by weekdays, we match the dates against a set of date components. These components happened to contain the hour, minute and second components from the anchor date, so filtering would undo previous expansions by hour, minute and second.

@swift-ci please test

@swift-ci please test


Loopie upgrade TODOs

Let's use this to list the things we'll need to do when we upgrade Loopie to the latest neonFORGE:

[ ] The Neon.Kube.Service package and its namespace have been renamed to Neon.Service and the service base class is now named NeonService.

[ ] The serviceMap parameter for the NeonService constructor has moved to the end of the parameter list and is now optional.  I recommend that Loopie put this after any other parameters and prefix it by serviceMap:

[ ] KubeService.SetRunning() has been changed to be async Task SetRunningAsync() for NeonService.

[ ] Assign unique ports to the Prometheus metrics ports for the service descriptions in the service map to avoid port conflicts when emulating the cluster:
// Assign unique ports to all of the service Prometheus exporters.

foreach (var serviceDescription in clonedServiceMap.Values)
{
    serviceDescription.MetricsPort = nextPort++;
}

[ ] Neon test fixtures now support Docker/WSL2 as well as Hyper-V.  We suggest that you switch to WSL2 for better performance.

[ ] Model generation has changed significantly.  In the past, we bundled modelgen functionality into the neon-cli.  That was just an expedient way to deliver this functionality to Loopie developers via neonDESKTOP setup, which included this.  But, it never really made sense to deliver modelgen this way long-term because the neonDESKTOP and neonLIBRARY release cycles have diverged.
We've added the Neon.ModelGenerator package to deliver this functionality going forward.  This includes linux-x64, osx-x64 and win-x64 versions of the new neon-modelgen client which accepts the same command line arguments and options as the old neon-cli generate model ... command.  The idea is to reference the Neon.ModelGenerator package in your assembly and then follow the instructions in the Neon.ModelGenerator.readme.txt file that will be added to your project.
The nice thing with the new approach is that every project can reference a different version of the model generator and that you can simply use nuget to change to a different version.  With the old way, developers were required by default to use the same neon-cli version across all projects and solutions on the workstation which can become problematic for developers working on multiple solutions in parallel.

Closing - moved this to a new issue in the Loopie repo.


Shrink problem

Delphi 10.2.3
Shrink problem
After 1 press of key shrink enlarge

Can you share details?

Simple press shrink. OK
Than press shrink again enlarge instead of shrink.
At list with my compilation.


DataDriftTrigger: Support multiple metrics in trigger config and support combined metrics in drift detection

DataDriftTrigger currently allows one drift detection metric configuration per trigger config. In the future, we would like to support multiple metric configurations in one trigger config. With multiple configurable metrics, we would like to detect drift by some combination of the metrics.

Done


Update deploy and undeploy docs

Need to update deploy and undeploy docs with the changes made for #333

Make sure to update the README.md as well, and remove the installApps documentation and references to the installApps task.

Fixed via #381


Patient sorting: Bed 1-N

Describe the bug
CARE has option to sort patient list by the bed number they are assigned to.
But the feature is not working as expected
To Reproduce
Steps to reproduce the behavior:

Go to 'patient list (live)'
Click on 'sort by' and select "Bed 1-N"
Scroll down to View the patient list
See error. The beds are sorted as Bed 1, 10, 11, 12...19, 2, 21, 22.....

Expected behavior
The sorting should be as Bed 1,2,3,4......and so on

Hi @aparnacoronasafe, I would like to work on this issue. I have set up the project locally. I have a doubt, when I add a sort 1-N filter, how can I identify the bed number?
ps: This is my first issue. I'm new to opensource

@aparnacoronasafe could you please assign this issue to me.

Hey, sure! Could you specify how this is going to be solved?

@swayam-agrahari
Currently it is sorting by the 'name' attribute of the bed object by the backend.
https://github.com/ohcnetwork/care/blob/develop/care/facility/api/viewsets/patient.py#L455
https://github.com/ohcnetwork/care/blob/develop/care/facility/models/bed.py#L20

@rithviknishad I just checked the patient.last_consultation?.current_bed?.bed_object in the frontend is the name over here the same as the last_consultation__current_bed__bed__name value?

@rithviknishad we could seperate the number from the name while filtering and based on the number and name we could sort the names and return the data, for the beds with same number but different names we could just let the names be sorted by the lexicographical order, while the whole list is first sorted based on bed number

@rithviknishad is there some other way we could do it?

Not sure if that's the right way.

Having a sort order for the best is the solution here. Bed number should be independent from sort order. @aparnacoronasafe how big a pain is this? I am assuming most 10 beds just have 10 beds so it maynot be a large issue here;

It isn't a critical issue that needs to be solved immediately.
There are larger 10bedicus with up to 20 beds.


fix dynamic joystick to follow correctly

a small fix to the dynamic virtual joystick, I'm moving the start_pos following the size of the interaction zone. relying on the x of the interaction zone might not be what we want, because it would be difficult to support rectangular areas.
I guess a cleaner way would be to add a property to add a follow_distance, and check on that, Dynamic could be removed in favor of that property, where a fixed or a floating joystick could follow ?
Also nitpicks:

I had to run a cargo update because the committed cargo.lock caused a compilation error, I didn't push it because not really relevant to my fix.
I had to remove the rust-toolchain file locally because I don't have the android target, and it's not really relevant to force it ?

You're right, I hadn't noticed the problem with the cargo.lock, let me see it, I'll see about the toolchain as you're right

LGTM!
Thank you very much for your collaboration, your comments will be taken into account and I will release some commits in a moment ❤


task parking / unparking

I'd love the ability to pause / resume Tasks.

I'm in agreement with, @andrewbanchich

I feel as the proposed fn is a. Necessity.  While I currently have nothing further to contribute with respect to "suggestions" regarding the implementation(s) of the API struct--I am very interested in the proposed-format and I will definitely spend  more time with it to evaluate any direct/indirect- pros and cons and then will follow back up with results.  The example here is great I'm fired up about the notion personally.  Thank you, @yoshuawuyts!
REF: "test parking/unpacking #13"

I feel like this shouldn't be a part of this crate. You could model a "pausable future" using something like this:
struct PausableFuture<F> {
    fut: F,
    paused: Arc<AtomicBool>,
}

struct PauseHandle {
    paused: Arc<AtomicBool>,
}

// new() takes F, creates paused, clones it, then returns both of the above types

impl PauseHandle {
    fn pause(&self) {
        self.paused.store(true);
    }

    fn unpause(&self) {
        self.paused.store(false);
    }
}

impl Future for PausedFuture<F> {
    fn poll() {
        if self.paused.load() {
            Poll::Pending
        } else {
            self.fut.poll()
        }
    }
}

You'd also need to deal with wakers and such, but this can easily be done without this crate.

I've recently been working on a new model for tasks. Instead of "a task is an async thread" it's now: "a task is a parallelizable future". And all concurrency operations available on Task should be available on Future as well.
I've successfully authored a FutureExt::park method which implements these semantics. And I think it's probably best if we evolve that in a crate other than async-task.


Update tls-1.0-and-1.1-deprecation-for-office-365.md

Specifying the staged implementation of the rollout.

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@WorkShay Please merge this Pr. Thanks.

Hi Yogesh,
I don’t have the permissions to do this<EMAIL_ADDRESS>or someone else does.
Shayna
From: Yogesh Kumar<EMAIL_ADDRESS>Sent: Monday, October 19, 2020 2:25 AM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Shayna Mehta<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] Update tls-1.0-and-1.1-deprecation-for-office-365.md (#3155)
@WorkShayhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWorkShay&data=04|01|Shayna.Mehta%40microsoft.com|7bd17fee3e3744a401dd08d87410dfb4|72f988bf86f141af91ab2d7cd011db47|0|0|637386963107693511|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=qt6en2GAeMhkHZmiXz4XaJbU8y4d0xzizW%2Fk8QAGZ8E%3D&reserved=0 Please merge this Pr. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fpull%2F3155%23issuecomment-711903992&data=04|01|Shayna.Mehta%40microsoft.com|7bd17fee3e3744a401dd08d87410dfb4|72f988bf86f141af91ab2d7cd011db47|0|0|637386963107703470|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Pd74MJAsiy4r0gqRq1esVO5lFMTpJ3OgGTEW6oG8jB8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQJPS6ZTZAAX6QWVP7K2XWLSLQAXLANCNFSM4SRIG74Q&data=04|01|Shayna.Mehta%40microsoft.com|7bd17fee3e3744a401dd08d87410dfb4|72f988bf86f141af91ab2d7cd011db47|0|0|637386963107703470|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YxDhJWKIcau0DPm%2FEjrH3RQEUTzCerFchKcFNpURqDc%3D&reserved=0.

@KCCross Please merge this PR. Thanks.


Connection issues the Azure Sphere MT3620 starter kit

I have recently received an Azure Sphere MT3620 starter kit and have been going through the steps to get it started.  However I soon had an issue where, when performing a lot of different operations I would get the message:
"error: The device is not responding.  The device may be unresponsive if it is applying an Azure Sphere operating system update; please retry in a few minutes"
I checked the OS using "azsphere device show-ota-status" and it confirmed that the device has the latest OS (version 19.07).  I then tried restarting the PC in case that was part of the issue and upon restarting I encountered a new problem.  I can no longer connect to the board via the TAP adapter.  Specifically the adapter will connect momentarily and then disconnect again, repeating this process continuously.  I have tried reinstalling the SDK and following all steps in the troubleshooting guide but to no avail.
I would greatly appreciate any input on this issue

return the product because Microsoft isn't really supporting this....
On Thu, Aug 1, 2019 at 1:49 PM mdtm1g14<EMAIL_ADDRESS>wrote:

I have recently received an Azure Sphere MT3620 starter kit and have been
going through the steps to get it started. However I soon had an issue
where, when performing a lot of different operations I would get the
message:
"error: The device is not responding. The device may be unresponsive if it
is applying an Azure Sphere operating system update; please retry in a few
minutes"
I checked the OS using "azsphere device show-ota-status" and it confirmed
that the device has the latest OS (version 19.07). I then tried restarting
the PC in case that was part of the issue and upon restarting I encountered
a new problem. I can no longer connect to the board via the TAP adapter.
Specifically the adapter will connect momentarily and then disconnect
again, repeating this process continuously. I have tried reinstalling the
SDK and following all steps in the troubleshooting guide but to no avail.
I would greatly appreciate any input on this issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-sphere-issues/issues/128?email_source=notifications&email_token=ACGYFJFT5P34GPN4EKZ7TPDQCMO2ZA5CNFSM4IITAP6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HC4JN3Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACGYFJENYIMCS4XG2FBP7TDQCMO2ZANCNFSM4IITAP6A
.

@mdtm1g14 Thanks for the feedback! We are currently investigating and will update you shortly.
Please help with the link of document on which above document feedback request is created.

@mdtm1g14 - please could you try the following:

Save a copy of this file: c:\windows\serviceprofiles\localservice\appdata\local\Azure Sphere Tools\restore.json
Delete this file
Run the Services Manager (services.msc).
Restart the "Azure Sphere Device Communications Service".

Please let us know if this solves the problem, and send the saved .json file to<EMAIL_ADDRESS>referencing this issue.  Thanks.

While trying to create a tenant I have experienced the same error message.
I've tried the steps above and I'm still encountering the same issue.
In case it was my machine I did try it on alternative machine but I'm still getting the same error.
Got a feeling it might be the board...

@mdtm1g14 - please could you try the following:

Save a copy of this file: c:\windows\serviceprofiles\localservice\appdata\local\Azure Sphere Tools\restore.json
Delete this file
Run the Services Manager (services.msc).
Restart the "Azure Sphere Device Communications Service".

Please let us know if this solves the problem, and send the saved .json file to<EMAIL_ADDRESS>referencing this issue. Thanks.

This solved the second issue and I can now communicate with the board, however, I am now back to the original issue, an example of the output is bellow:

azsphere device show-attached
Device ID: F0BBF9435F8D47E253534FEC6A018EAC073F7EEDDE303D1E1D9FAAEFBFF3CA147166EACD8B7CFB8BA0A0BAE228D4A7382FDA92404E53C94825B63F5F85CF86E7
IP address: <IP_ADDRESS>
Connection path: 2123
Command completed successfully in 00:00:06.0027099.

azsphere device prep-debug
error: The device is not responding. The device may be unresponsive if it is applying an Azure Sphere operating system update; please retry in a few minutes.
error: Command failed in 00:00:22.0545487.

azsphere device prep-debug
Getting device capability configuration for application development.
Downloading device capability configuration for device ID 'F0BBF9435F8D47E253534FEC6A018EAC073F7EEDDE303D1E1D9FAAEFBFF3CA147166EACD8B7CFB8BA0A0BAE228D4A7382FDA92404E53C94825B63F5F85CF86E7'.
Successfully downloaded device capability configuration.
Successfully wrote device capability configuration file 'C:\Users\mmcdo\AppData\Local\Temp\tmp184B.tmp'.
Setting device group ID 'cd037ae5-27ca-4a13-9e3b-2a9d87f9d7bd' for device with ID 'F0BBF9435F8D47E253534FEC6A018EAC073F7EEDDE303D1E1D9FAAEFBFF3CA147166EACD8B7CFB8BA0A0BAE228D4A7382FDA92404E53C94825B63F5F85CF86E7'.
Successfully disabled over-the-air updates.
Enabling application development capability on attached device.
Applying device capability configuration to device.
Successfully applied device capability configuration to device.
The device is rebooting.
Installing debugging server to device.
Deploying 'C:\Program Files (x86)\Microsoft Azure Sphere SDK\DebugTools\gdbserver.imagepackage' to the attached device.
error: The device is not responding. The device may be unresponsive if it is applying an Azure Sphere operating system update; please retry in a few minutes.
error: Command failed in 00:01:13.6297563.

@mdtm1g14 Please share the link of document on which above document feedback request is created so that it can be linked.
Also, please check the troubleshooting steps and let us know if that helps to resolve this issue.
If issue still persists, Can you please file a support request @ https://aka.ms/azsupt? If you do not have access to a support plan, please reach out<EMAIL_ADDRESS>with a link to this Doc/Issue as well as your subscription ID and we can help get the support ticket opened for this issue.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@AshokPeddakotla-MSFT
I've noticed the troubleshooting guide references the correct ip as "<IP_ADDRESS>".
Both @mdtm1g14 and I's boards seem to be connected on "<IP_ADDRESS>" - a different ip.
Could this perhaps explain the error we are encountering?

@Colcothar did changing the IP solved the problem?

@mdtm1g14
I'm unsure how to go about changing the IP.
A futher thing to note, I have more than one TAP adapter - Three to be precise. Could this perhaps be why the connecting IP is different?

@Colcothar This will require some deeper analysis. Can you please file a support request @ https://aka.ms/azsupt? If you do not have access to a support plan, please reach out<EMAIL_ADDRESS>with a link to this Doc/Issue as well as your subscription ID and we can help get the support ticket opened for this issue.

@Colcothar This will require some deeper analysis. Can you please file a support request @ https://aka.ms/azsupt? If you do not have access to a support plan, please reach out<EMAIL_ADDRESS>with a link to this Doc/Issue as well as your subscription ID and we can help get the support ticket opened for this issue.

Will do.
I've done a little deeper analysis of my own. Seems one of my TAP adapters (a VM Ware one) seems to use <IP_ADDRESS>

@Colcothar how did you fix the device issue "The device is not responding2? please explain.

@sunillnaik I haven't been able to fix it. Dispite the issue being closed, its far from fixed. I gave up in the end however I theorise that there is an issue if other TAP adapters are installed, I would be interested to see your network connections.
I did file a support request, with no response.

Thats really strange when they close issue without solving!

I have this dev kit new one unboxed, but unable to run any azsphere command, its throws "error: The device is not responding. The device may be unresponsive if it is applying an Azure Sphere operating system update; please retry in a few minutes."
tried uninstalling multiple times, dev recover, but fails.

@richardtaylorrt can you please look into this issue and update?
@mdtm1g14 Issue is closed since a support request is created and you will receive 1-1 help with an engineer. Please share the SR number to track and check the status.
@sunillnaik This issue is bit old and a lot has changed/updated in the SDK. Latest version of SDK is 20.01. Please see this for more information.
Ensure that you have installed latest SDK in your system and the device is connected and your network connectivity is working properly. Please see the troubleshooting guide for more details.
If you are still blocked, please create a new issue with complete details so that we can assist accordingly.


Audit automated build

Audit the automated build process to ensure that it works with the v4 atomic structure.

Thanks for being patient while I found time to work on this! I went through all the scripts and ran them locally and they all worked as expected.
The crux of their work is building CF by simply running gulp build. That command hasn't changed with v4 so no issues there.
The chat ops script that creates a pull request in a special format is much more fragile than the publishing scripts in this repo. I predict the bot will fail when trying to make a PR but that's okay -- we can look into it if/when it happens. It's not going to damage anything by opening a wonky PR.


Update python-clementine-remote

Description:
Update python-clementine-remote
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.

Did you test this?

I will close this as it seems like it has not been tested.


Language field added

Added language field to every talk item.

I think the language should be  something like en-US as mentioned here
Also I think this should be replaced by = language instead of = null

@martinbonnin  What do you think about the above comment?
If we change this now, we need to update it on the app side as well.

Sorry for the delay!
@mdupierreux the whole thing is a huge mess. The GraphQL comment was taken from Confetti but the mobile app actually expects french/english so I used that for the time being in #5.
@anandwana001 thanks for looking into this. I added that in #5 and the language filter should start working soon-ish 🤞


problem with CI when an other PR updates the composer dependencies

The PR #148 changed the phpunit dependency, but now other builds fail:
https://drone.owncloud.com/owncloud/ocis-php-sdk/832/10/3
+ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
- Required (in require-dev) package "phpunit/phpunit" is in the lock file as "10.5.3" but that does not satisfy your constraint "^9.6".
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r

But that PR has not been merged????

Yes, that made me think that the problem is the order of execution. The docs pipeline runs too early, before the cache is rebuild and gets whatever was there in the cache before.
I hope it will be fixed by #150


[Bug]: Android Device - adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:8200: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)

Description
Hi, I am trying to configure a test project for Maui app. I want to test against a device (Galaxy A54).
I have the following code:
 var builder = new AppiumServiceBuilder();
 builder
     .WithIPAddress("<IP_ADDRESS>")
     .UsingPort(4723);

service = builder.Build();
service.Start();

if (!service.IsRunning)
    throw new Exception("Appium Local Service did not start");

var androidOptions = new AppiumOptions()
{
    AutomationName = AutomationName.AndroidUIAutomator2,
    PlatformName = "Android"
}

androidOptions.AddAdditionalAppiumOption(MobileCapabilityType.NoReset, "true");
androidOptions.AddAdditionalAppiumOption(MobileCapabilityType.Udid, "my device id");
androidOptions.AddAdditionalAppiumOption(AndroidMobileCapabilityType.AppPackage, $"{my.app.name}");
androidOptions.AddAdditionalAppiumOption(AndroidMobileCapabilityType.AppActivity, $"{my.app.name}.MainActivity");

var driver = new AndroidDriver(service, androidOptions); //exception thrown here.

However I am getting the error:
An unknown server-side error occurred while processing the command.
Original error: Error executing adbExec. Original error: 'Command 'C:\\android-sdk\\platform-tools\\adb.exe -P 5037 -s mydeviceid forward tcp\:8200 tcp\:6790' exited with code 1'; Command output: adb.exe: error: cannot bind listener: cannot bind to <IP_ADDRESS>:8200: An attempt was made to access a socket in a way forbidden by its access permissions. (10013)
Anyone able to point me in the right direction? am I doing something wrong or could this be a bug?
Environment

.NET 8
Appium server version or git revision if you use some snapshot:
Desktop OS/version used to run Appium if necessary: Windows 10
Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
Mobile platform/version under test: Maui
Real device or emulator/simulator: Real Device

Exception stack traces
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.<ExecuteAsync>d__63.MoveNext()
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Appium.AppiumDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.StartSession(ICapabilities capabilities)
at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
at OpenQA.Selenium.Appium.AppiumDriver..ctor(ICommandExecutor commandExecutor, ICapabilities appiumOptions)
at OpenQA.Selenium.Appium.AppiumDriver..ctor(AppiumLocalService service, ICapabilities appiumOptions, TimeSpan commandTimeout, AppiumClientConfig clientConfig)
at OpenQA.Selenium.Appium.AppiumDriver..ctor(AppiumLocalService service, ICapabilities appiumOptions, TimeSpan commandTimeout)
at OpenQA.Selenium.Appium.AppiumDriver..ctor(AppiumLocalService service, ICapabilities appiumOptions)
at OpenQA.Selenium.Appium.Android.AndroidDriver..ctor(AppiumLocalService service, DriverOptions driverOptions)

Server:
Error: Command 'C:\\android-sdk\\platform-tools\\adb.exe -P 5037 -s deviceid forward tcp\:8200 tcp\:6790' exited with code 1
    at ChildProcess.<anonymous> (C:\Users\user\.appium\node_modules\appium-uiautomator2-driver\node_modules\teen_process\lib\exec.js:110:19)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:303:5)
    at Process.callbackTrampoline (node:internal/async_hooks:128:17)
[4291271a][HTTP] <-- POST /session 500 925 ms - 1274

Ah, apologies looks like I worked out the problem. I needed to change the systemPort for the uiautomator. Not 100% sure why.
   ` androidOptions.AddAdditionalAppiumOption("systemPort", 8100);`


gnomeExtensions.dash-to-dock: 71+date=2022-02-23 -> 71+date=2022-04-11

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gnomeExtensions.dash-to-dock is: "A dock for the Gnome Shell"
meta.homepage for gnomeExtensions.dash-to-dock is: "https://micheleg.github.io/dash-to-dock/"
meta.changelog for gnomeExtensions.dash-to-dock is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 71+date=2022-04-11 in filename of file in /nix/store/fvf8qkcsw2nj0bf69l9pzhnbvxc4di8h-gnome-shell-extension-dash-to-dock-71+date=2022-04-11

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
gnomeExtensions.dash-to-dock

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fvf8qkcsw2nj0bf69l9pzhnbvxc4di8h-gnome-shell-extension-dash-to-dock-71+date=2022-04-11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnomeExtensions.dash-to-dock https://github.com/r-ryantm/nixpkgs/archive/e6f40e197a33bdb8285cafdd0b01f756bc47e953.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fvf8qkcsw2nj0bf69l9pzhnbvxc4di8h-gnome-shell-extension-dash-to-dock-71+date=2022-04-11
ls -la /nix/store/fvf8qkcsw2nj0bf69l9pzhnbvxc4di8h-gnome-shell-extension-dash-to-dock-71+date=2022-04-11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gnomeExtensions.dash-to-dock

Maintainer pings
cc @emanueleperuffo @jtojnar @rhoriguchi for testing.

Updated in https://github.com/NixOS/nixpkgs/pull/173315.


Support fs watcher stuff, add missing fields

Not tested, but should work fingers crossed.

I'll deploy something later on, maybe tomorrow or monday. It's not the whole world if we need to tweak things, it's just one box and I can hammer on psql manually to make it work.

Given you are testing the changes, you can verify if values are arriving.

@AudriusButkevicius Thanks a lot!


Import setup from setuptools

Description
setuptools 60 uses its own bundled version of distutils, by default. It injects this into sys.modules, at import time. So we need to make sure that it is imported, before anything else imports distutils, to ensure everything is using the same distutils version.
This change in setuptools is to prepare for Python 3.12, which will drop distutils.
In this case, the best way to deal with the problem is to just use setuptools' setup().
Fixes: https://bugs.debian.org/1022482 and https://bugs.debian.org/1022538
Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

FWIW, the underlying bug I was describing is https://bugs.debian.org/1025216 but this change is still a worthwhile cleanup, I think.


Can I make it work with a container that hasn't a fixed size?

I have a big container (almost full viewport, minus fixed header and footer) and I want to use this plugin to make text as big as possible without causing overflow (scrollbars).
Your documentations says I need to set explicit width and height.
Is there a way to use it for responsive containers?
Thanks

I'd love to use this feature too

you can trick it.
just take this code as an example
$('div#question').css('width', $('div#question').width());
$('div#question').css('height', $('div#question').height());
$('div#question').textfill({
	maxFontPixels: 32,
	debug: true
});

good luck :)


Question re: setting up private variables

First of all, l Iove the philosophy and design of this framework :)
Is there a difference between setting a private variable in a module's init method vs. setting it in the creator function? e.g.
Box.Application.addModule('post', function (context) {
  var config
  var channelName

  return {
    init: function () {
      config = context.getConfig()
      channelName = config.channelName
    }
  }
})

vs.
Box.Application.addModule('post', function (context) {
  var config = context.getConfig()
  var channelName = config.channelName
})

The reason I ask is that I have a module that needs to listen out for dynamic message names that it derives from the module's config:
Box.Application.addModule('post', function (context) {
  var config = context.getConfig()
  var channelName = config.channelName
  var pusherService = context.getService('pusher')
  pusherService.setupChannel(channelName)

  return {
    messages: [channelName + ':' + 'new-comment']
  }
})

(pusherService creates a Pusher channel, and converts Pusher events to T3 broadcasts)
This seems to work, but in the T3 documentation, the code example shows declaring the element variable in the creator function, but setting it in init. For dynamic message names, this wouldn't work, as channelName would be undefined.
So my question is, is there any harm in setting up private variables in the creator function this this way?
Thanks

Module config is available to the module creator function so what you are doing may work. The main issue is with the lifecycle methods. For example, something like setupChannel should probably be in the init() call of the module, and removed in the destroy(). If a module hasn't been initialized, it technically shouldn't interact at all with the application (messages included) and creating a module does not necessarily mean that it has been started yet.

something like setupChannel should probably be in the init() call of the module

Yes, that makes sense (in an earlier version of that example code I did just that, but wanted to demonstrate an extreme example :)
However, in the absence of direct messaging between modules, I do seem to be scoping message names quite a lot. For example, the post module only wants to respond to relevant comment messages, so each broadcast message needs to be scoped with a post ID e.g. post-42:comment-submitted.
I wonder if there is a better way to do this? I have considered using unscoped message names and including the parent resource ID in the eveent data:
context.broadcast('comment-submitted', { postId: 42 })

and then checking in onmessage:
Box.Application.addModule('post', function (context) {
  var id

  return {
    init: function () {
      id = context.getConfig().id
    },
    messages: [ 'comment-submitted'],

    onmessage: {
      'comment-submitted': function (data) {
        if (data.postId === id) console.log('Comment submitted!')
      }
    }
  }
})

But then you have potentially lots of modules doing unnecessary checks :/

correct, that's the best way. You can even annotate the post-id on the post HTML element if you don't feel like using module configuration. Then you can just do like if(data.postId === context.getElement().getAttribute('data-post-id'))

Great, thanks!


Have at least one release of the code with a pre-compiled binary

Since this project has some dependencies (Like boost), I'd be nice to have a pre-compiled binary of it.
Thank you!

clang-unformat.zip
For those having a hard time compiling because of boost and shit (like me)....

I'm planning to package it for the Nixpkgs package collection, which would allow it to be used on supported platforms such as Linux and Mac OS. However, it's encouraged to reference a tagged revision instead of chasing behind the master branch. AFAIK, many packaging projects also expect / require an official version tag from the upstream.
It would be great for this excellent project to have git tags representing the version. A release can be added onto a git version tag.
2.6 Git Basics - Tagging | Git Book
https://git-scm.com/book/en/v2/Git-Basics-Tagging
About releases | GitHub Doc
https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases

Definitely.
I usually maintain these semver version tags properly in other projects (such as [1] and [2]).
The only reason I didn't do that here is I didn't have high hopes for this project. I just shared it to get some feedback at first.
Maintaining proper version tags is easy. Providing pre-compiled binaries is a little more complex. Vcpkg can easily take care of boost and fmt without changing anything in CMakeLists.txt though.

Since only boost doesn't have a FetchContent alternative in CMakeLists.txt, we could use https://github.com/alandefreitas/FetchBoostContent to provide that alternative. In this case, the user wouldn't need any of the dependencies available to compile the application.

@alandefreitas In the other way, how should I manually specify the libraries (such as futures) to use instead of fetching them?
Nixpkgs, and RPM doesn't allow arbitrary internet access during build.

You can also find_package(futures QUIET). The library can be installed and has a CMake config script. It doesn't exist in any package manager though. The packages are only available in the original repo. It's not in version 1.0.0 yet.


HC-SR501 and ESP32-CAM does not work simultaneously with SD card

Example ESP32-CAM-PIR.ino does not work with motion sensor HC-SR501. When the sensor is connected at the initialization stage, the error "SD Mount Failed" occurs. And accordingly further the code works incorrectly. More precisely, motion is detected, but photos are not sent to telegrams. The error "Failed to open file in writing mode" falls out in the serial port. If the sensor is turned off during the start of the module, then everything is OK. At rest, the output of the sensor is 0, and as I understand it, this prevents the SD card from being initialized. Can this be fixed somehow?

It would appear that you are using pins used by the SD module.
Have you tried connecting the HC-SR501 module differently?

Yes, I connected the HC-SR501 to the pin, which is registered in the example
#define PIR_PIN GPIO_NUM_13
and the same pin is used in the ESP32-CAM for the SD card.
And for some reason, this pin 13 is used in all the examples found on the network to connect a motion sensor.
From the description of the module, it can be seen that there are pins 0,1,3,16 available. Pin 0 in this case is also not desirable to use, because. it is involved when the module is loaded. 1.3 is Serial, you can use it, but then it will not be possible to fully use the serial port monitor. Only gpio16 remains?

The example provided with library, use the onboard SD card reader in 1-bit mode.
In this way only GPIO02 is used to read and write data to the SD card and the other pins are free to use.
if (!FILESYSTEM.begin("/sdcard", true, true)) {
....

The problem is due to how the pin has been configured to easily test the sketch: the input is tested as a simple button that closes towards GND, but normally the PIR sensors work in reverse generating a positive pulse every time an object is detected.
If you set the PIN correctly and change the related if code block like this it should work as expected.
   // PIR Motion Sensor setup
  pinMode(PIR_PIN, INPUT);
  .....
  .....

    // PIR motion detected
    // could be on interrupt, but PIR sensor usually keep signal HIGH for enough time
    if(digitalRead(PIR_PIN)) {
    .....
    .....

@cotestatnt
No, I tried before creating the issue and it doesn't work either. If I understand correctly, then according to this https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/sd_pullup_requirements.html#pull-up-conflicts-on-gpio13 on Pin 13 to initialize the card should be logical 1. And at the output of the sensor in the absence of movement - logical 0. Therefore, when starting esp32-cam on pin 13 - 0 and the SD card does not initialize


Bare-bones CRUD restful interface

JSON/REST interface for resources handovers, drafts, users. Needs documentation

@johnbradley This is very early but wanted to get some feedback. I'll be adding documentation on how to use it from cURL or requests, as well as how to install/run. Essentially it's this

Run with python handover_api/app.py
POST: curl -X POST -H "Content-Type: application/json" -d '{"from_user_id": "sender-dds-udid", "project_id": "existing-project-udid", "to_user_id": "recip-dds-udid"}' http://<IP_ADDRESS>:5000/handovers/

After running python handover_api/app.py in a separate window
The curl command above returns a 405:
{
"message": "The method is not allowed for the requested URL."
}
I see this in the python terminal:
<IP_ADDRESS> - - [29/Mar/2016 08:46:46] "POST /handovers/ HTTP/1.1" 405 -
GET does work however.
curl X GET -H "Content-Type: application/json" -d '{"from_user_id": "sender-dds-udid", "project_id": "existing-project-udid", "to_user_id": "recip-dds-udid"}' http://<IP_ADDRESS>:5000/handovers/
returns 200:
{   "results": [] }

After checking out the correct branch I was able to send a handover message from DukeDSClient  :+1:.

The table names in the database are a little funky (handover_model user_model).

Ah. Those are the defaults that flask_sqlalchemy. But I can specify them.

If I try to handover twice again I receive a 400 with ... UNIQUE constraint failed

That was by design - The message isn't friendly but if the client tries to hand-over the same project uuid twice it should fail, right?

While this was an interesting line, I've rebuilt this app using django and djangorestframework. In just a couple hours I've rebuilt and surpassed the functionality here. The API is the same, but the framework is a better fit for this project. There are many best practices available and a rich community.


Fix LS-source interfering with LS-bucket

When using the localStorage source and bucket at the same time, pulling the source would mistakenly create addRecord operations out of bucket entries, i.e. treat orbit-bucket/* keys as records.

Ah, nice catch. Thanks @simonihmig!

Published in v0.15.23


Fix: Validate composer.json and composer.lock in before_install step

This PR

[x] validates composer.json and composer.lock in before_install step
[x] keeps dependencies sorted
[x] updates dependencies

Running
$ composer update --lock

yields
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package phpunit/phpunit (locked at 5.2.10, required as 5.4.8) is satisfiable by phpunit/phpunit[5.2.10] but these conflict with your requirements or minimum-stability.
  Problem 2
    - Installation request for phpunit/phpunit 5.4.8 -> satisfiable by phpunit/phpunit[5.4.8].
    - Conclusion: don't install phpunit/php-code-coverage 3.3.0
    - phpunit/phpunit 5.4.8 requires phpunit/php-code-coverage ^4.0.1 -> satisfiable by phpunit/php-code-coverage[4.0.1, 4.0.2, 4.0.3].
    - Can only install one of: phpunit/php-code-coverage[4.0.1, 3.3.0].
    - Can only install one of: phpunit/php-code-coverage[4.0.2, 3.3.0].
    - Can only install one of: phpunit/php-code-coverage[4.0.3, 3.3.0].
    - Installation request for phpunit/php-code-coverage (locked at 3.3.0) -> satisfiable by phpunit/php-code-coverage[3.3.0].

or more specifically, running
$ composer info --direct

yields
phpdocumentor/phpdocumentor dev-master b6febe8 Documentation Generator for PHP
phpunit/phpunit             5.2.10             The PHP Unit Testing framework.
squizlabs/php_codesniffer   2.5.1              PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
symfony/console             v2.8.3             Symfony Console Component

💁♂ Seems that the last time composer.json was modified, it was done by hand, rather than running, for example
$ composer require  --dev phpunit/phpunit:5.4.8 --update-with-dependencies

Looks good to me. Thanks for cleaning this up @localheinz!

Thank you, @jazzdan!


Support 2k variant, combined listing usage with getProductOptions

WHY are these changes introduced?
Uses the new product fields to build the product form in support of 2k variant and combined listing:
Provides:

getProductOptions function that will return product options along with the states of this current variant

WHAT is this pull request doing?

HOW to test your changes?

Post-merge steps

Checklist

[ ] I've read the Contributing Guidelines
[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've added a changeset if this PR contains user-facing or noteworthy changes
[ ] I've added tests to cover my changes
[ ] I've added or updated the documentation

Doubled checked on the newly generated types - the SitemapQuery is suppose to go away since it got migrated to the Hydrogen package. We just forgot to update the generated types in the examples.

@blittle I have addressed the following:

All product anchor links are now without selected option params

collection.$handle and collection.all routes renders normal products/$handle link and continues utilizing useVariantUrl (to maintain locale paths)
search and predictive search queries for selectedOrFirstAvailableVariant in place of first variant

I have exported a new hook useSelectedOptionInUrlParam

test and docs are written for this new hook
It will add the selected option of the selectedOrFirstAvailableVariant to the url when landing on a product page, even if the url itself may contain other search params

I left the export of mapSelectedProductOptionToObject as is. I think it is still useful to have but you think we shouldn't export it, let me know and I'll take it out
I have remove the displaying single option value so that we keep the same product form UI look as before

/snapit

/snapit


Support executing SQL directly

Feature Request
Is your feature request related to a problem? Please describe:

Describe the feature you'd like:
Support executing arbitraty SQL statements in TiDB Dashboard UI.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Implemented by https://github.com/pingcap-incubator/tidb-dashboard/pull/713


Add equals/hashcode to test data class to avoid direct runner coder warning

I can't find the presubmit I observed this but it was this log:
https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/util/MutationDetectors.java#L146
This Pojo uses SchemaCoder which is consistentWithEquals, meaning Coder.structuralValue returns the value itself. Since this Pojo didn't have equals method it woudl trigger the log on equivalent pojos with the same encoding but different objects.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @Abacn

failures appear unrelated


Improved results

to address this issue: https://github.com/NYPL-discovery/discovery-front-end/issues/240

Really compressed!


Align SPI bus numbering with reality on 5xx

Follow-up on our discussion in #758

@arunlee77 can you review this?

Thanks @Propanu. @arfoll, looks like @arunlee77 is OOO for a while, so I don't think he'll be able to review this any time soon. I've tested this on current BIOS (1H3) and ref-os-iot build (1705), using MMA7455 sensor (just reading "Who Am I" register). This change is also in a full agreement with the current pin mapping document.
If you want me to test something else, I'd be glad to, otherwise I'd propose to merge not waiting for @arunlee77's review, given the relative simplicity of the change, @propanu's review and tests I've run.

Agreed. I'll merge it on Monday unless you just do it ;-) I'm away from
computer this weekend.
On 17 Jun 2017 16:18, "Alex T"<EMAIL_ADDRESS>wrote:

Thanks @Propanu https://github.com/propanu. @arfoll
https://github.com/arfoll, looks like @arunlee77
https://github.com/arunlee77 is OOO for a while, so I don't think he'll
be able to review this any time soon. I've tested this on current BIOS
(1H3) and ref-os-iot build (1705), using MMA7455 sensor (just reading "Who
Am I" register). This change is also in a full agreement with the current pin
mapping document
https://www.intel.com/content/www/us/en/support/boards-and-kits/intel-joule-kits/000022494.html
.
If you want me to test something else, I'd be glad to, otherwise I'd
propose to merge not waiting for @arunlee77 https://github.com/arunlee77's
review, given the relative simplicity of the change, @Propanu
https://github.com/propanu's review and tests I've run.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/intel-iot-devkit/mraa/pull/762#issuecomment-309217805,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfZZog2axvdjW68Re1W5qAFGNAs6QgZks5sE-BGgaJpZM4N7nCS
.

Thanks! I'll do it later today, no worries.


Refactor constants into modules

Refactored contants.R into 3 new module files.

dictionary-module.R Stores strings for dictionary sheets access as well as different dictionary-specific qmds.
parts-module.R Stores strings related to the dictionary parts sheet.
sets-module.R Stores string related to the dictionary sets sheet.
Removed references to constants.R with new module files
Removed constants.R

Can we standardize how we represent the information for the columns in a sheet? This can be done in another PR

I propose the following schema:

list(
    <column_list_name> = list(
          // Contains the name of the column in the sheet
          name = <column_name>,
  	  // This is added only if the column is categorical
  	  categories = list(
  		  <category_list_name> = <category_identifier>
  	  )
    )
)

For the parts sheet the list would be (this list is abbreviated),

list(
    part_id = list(
  	  name = "partID",
    ),
    part_type = list(
  	  name = "partType",
  	  categories = list(
  		  tables = "tables"
  	  )
    )
)

Dynamic columns, columns whose names we don't know beforehand, like the table columns in the parts sheet are problematic.

We can store the information for those columns in a variable and then dynamically add to the schema in the code
For example,

  table_columns_metadata <- list(
      categories = list(
 	primary_key = "pK",
 	foreign_key = "fK",
 	header = "header",
 	not_applicable = "N/A"
      )
  )

We would do the same for the sets sheet

Can we remove the module string from the file names. The fact that they are a file already identifies them as a module.

parts-module -> parts-sheet
sets-module -> sets-sheet
dictionary-module -> odm-dictionary-file

I agree with the schema approach however I am not sure if the dynamic columns even need to be stored?
I also agree that module is not the best suffix for the file name, but I still believe it would be best to distinguish that this file only stores strings related to that sheet not any functions.

I noticed that most of your comments are about moving strings into function related files? I am not sure that is the best approach as it would mix string storage and functions. Is this the best approach for scalability? Wouldn't it make finding strings to modify more difficult?

I noticed that most of your comments are about moving strings into function related files? I am not sure that is the best approach as it would mix string storage and functions. Is this the best approach for scalability? Wouldn't it make finding strings to modify more difficult?

Deciding where to put a constant/function depends on the domain it deals with. For example the constants for parts sheet and functions that deal with the parts sheet should be in one module.

@yulric Ready for review


Demo doesn't work on Windows Phone

Works a treat in Chrome on my desktop, but in testing on Windows Phone, this doesn't work, any ideas why this might be? Happy to work with you to get this working.

Hey, I actually haven't tested with Windows phone, I don't have a device. I will see about firing up the simulator. Feel free to take a look in the meantime and submit a PR.

Can you try the latest release? This may have been fixed with hammer js v2.


Eheza Reports - CSV download

Task:
For each report type:

Add 'Download CSV' button at the bottom of the page.
When button clicked, generate and download CSV file of the report.

Deployed to live


Hana Checkpoint Completion

What does this PR do?
It ensures that all requirements for the Hana Checkpoint are completed.

Changes Unknown when pulling bb24d7ff81118af48579abf997cbc4d679fbc344 on develop into ** on master**.

Changes Unknown when pulling 71c9c509e48f86bfb081fef4d3c1668b60dbb208 on develop into ** on master**.

Changes Unknown when pulling 42da8cecf66aa82a58a9c33d5c9ddc8e15bfb82f on develop into ** on master**.

Changes Unknown when pulling b78bfd61d9e7eff7ee34d6f9e1e671b41453009e on develop into ** on master**.

Changes Unknown when pulling e7628b2afe79ce6ecb9243b4ea211c4a52468ca8 on develop into ** on master**.

Changes Unknown when pulling b5d40707be32b1a8ed8a0647ad709392f04d5805 on develop into ** on master**.

Changes Unknown when pulling 54b11529d381d2570e6652a440abb2ddfdbfab1d on develop into ** on master**.

Changes Unknown when pulling 54b11529d381d2570e6652a440abb2ddfdbfab1d on develop into ** on master**.

Changes Unknown when pulling f389c0805281e31fe80f2402c3375d42c849a228 on develop into ** on master**.

Changes Unknown when pulling f389c0805281e31fe80f2402c3375d42c849a228 on develop into ** on master**.

Changes Unknown when pulling 0a3192e63a16c157724b3052e0c403aaae269540 on develop into ** on master**.

Changes Unknown when pulling f4d35164b6007d351980716ba38c119af8dc8a8b on develop into ** on master**.

Changes Unknown when pulling fe7aafca3c42c2d9db9111a057150c1c387b9513 on develop into ** on master**.


I tried install nodemon and i get this crash error

Fist it started by skipping dependable which i had to install one after the other still the crash report seems to be constant.
Any idea why?

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

This is my package.json file

This does not seem to have anything to do with angular-cli. Did you post this issue to the wrong repo?

True....sorry


Ei mcoe

The two last commits are almost the same, the most recent one removes some comments that I forgot to delete. The code updates are to the eia860.py file in the output folder, and they serve to add 'nerc_region' to the generators_eia860() output table. This field enables integration with GREET PM2.5 and other pollutant data.
@zaneselvans @cmgosnell

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/pudl/analysis/mcoe.py  1

See the complete overview on Codacy


Assertion Error for circle pointer to have color or gradient

The error
_AssertionError ('package:gauge_indicator/src/radial_gauge/pointers/circle_pointer.dart': Failed assertion: line 36 pos 11: '(color != null && gradient == null) ||
              (gradient != null && color == null)': Either color or gradient must be provided.)

can we make color required and pass a gradient to that?
The code
import 'package:flutter/material.dart';
import 'package:gauge_indicator/gauge_indicator.dart';

class AttendanceGauge extends StatelessWidget {
  const AttendanceGauge({super.key});

  @override
  Widget build(BuildContext context) {
    // Create animated radial gauge.
    // All arguments changes will be automatically animated.
    return SizedBox(
      width: 200,
      height: 200,
      child: AnimatedRadialGauge(
        /// The animation duration.
        duration: const Duration(seconds: 1),
        curve: Curves.elasticOut,

        /// Gauge value.
        value: 0.3,

        /// Optionally, you can configure your gauge, providing additional
        /// styles and transformers.
        axis: GaugeAxis(
          max: 100,

          pointer: GaugePointer.circle(radius: 0),

          // pointer: const GaugePointer.(
          //   width: 100,
          //   height: 100,
          //   color: Colors.red,
          //   // size: Size(16, 100),
          //   // borderRadius: 16,
          //   // backgroundColor: Color(0xFF193663),
          // ),

          /// Set the background color and axis thickness.
          style: const GaugeAxisStyle(
            background: Color(0xFFDFE2EC),
            segmentSpacing: 4,
          ),

          /// Define the progress bar (optional).
          progressBar: const GaugeProgressBar.rounded(
            color: Color(0xFFB4C2F8),
          ),

          /// Define axis segments (optional).
          segments: [
            GaugeSegment(
              from: 0,
              to: 33.3,
              color: Theme.of(context).colorScheme.primary,
            ),
            GaugeSegment(
              from: 33.3,
              to: 66.6,
              color: Theme.of(context).colorScheme.error,
            ),
            const GaugeSegment(
              from: 66.6,
              to: 100,
              color: Color(0xFFD9DEEB),
            ),
          ],

          /// You can also, define the child builder.
          /// You will build a value label in the following way, but you can use the widget of your choice.
          ///
          /// For non-value related widgets, take a look at the [child] parameter.
          /// ```
          /// builder: (context, child, value) => RadialGaugeLabel(
          ///  value: value,
          ///  style: const TextStyle(
          ///    color: Colors.black,
          ///    fontSize: 46,
          ///    fontWeight: FontWeight.bold,
          ///  ),
          /// ),
          /// ```
          ///
        ),
      ),
    );
  }
}

The problem with your code is that you use the GaugePointer class, but you don't give it a color or gradient, so it can't draw the pointer correctly. If you don't want a pointer, just pass a null value to the pointer argument.
Let me know if this solves your problem.


Dialogs do not appear

[LOG] Instance Signature: 1cf2f378d4a0e5e3da757d90404c2816a6765626_1657308302
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: jaguarundi
[LOG] Release: 5.18.2-zen1
Using hyprland git from Wednesday
Dialogs don't appear at all.  Save/download dialogs in qutebrowser, chrome-beta, and firefox freeze the respective browser (because they're modal) due to my being unable to close them. If they were just invisible ESC would get rid of them and return control.  Launching rofi from a terminal leaves me with a hanging prompt and no menu on my screen. Interestingly wofi works. I'd think that was due to it's being a wayland app, but my 3 browsers aren't running under xorg, so xwayland (which is running) probably is not the culprit.
It's probably a misconfiguration.  I'd attach my config, but it would freeze this browser.
My Config:
$TERMINAL = alacritty -e tmux -u new-session -t 'MoonWind' && tmux new-window -t 'MoonWind-1'
monitor=,1920x1080@60,0x0,1
input {
kb_layout=
kb_variant=
kb_model=
kb_options=
kb_rules=
follow_mouse=1
natural_scroll=1

}
general {
sensitivity=1.0 # for mouse cursor
main_mod=SUPER
gaps_in=5
gaps_out=5.0
border_size=2
col.active_border=0x5b768eff
col.inactive_border=0x5f5f87ff

apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)

damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer

}
decoration {
rounding=10
multisample_edges=1.0
blur=1
blur_size=3 # minimum 1
blur_passes=1 # minimum 1, more passes = more resource intensive.
# Your blur "amount" isBEFORE submitting.

blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
# if you want heavy blur, you need to up the blur_passes.
# the more passes, the more you can up the blur_size without noticing artifacts.
active_opacity=0.95
inactive_opacity=0.8
fullscreen_opacity=1.0
drop_shadow=1.0
shadow_range=40   #Shadow range (in pixels), more = larger shadow
shadow_render_power= 4  #int - (1 - 4), in what power to render the falloff (more power, the faster the falloff)
shadow_ignore_window= 0  #int - (0/1) if true, the shadow will not be rendered behind the window itself, only around it.
# col.shadow=0x00000088 #col -  shadow's color. Alpha dictates shadow's opacity.
shadow_offset= 2.0 0.0  #vec2 - shadow's rendering offset.

}
animations {
enabled=1
animation=windows,1,7,default
animation=borders,1,10,default
animation=fadein,1,10,default
animation=workspaces,1,6,default
}
dwindle {
pseudotile=0 # enable pseudotiling on dwindle
}
example window rules
for windows named/classed as abc and xyz
#windowrule=move 69 420,abc
#windowrule=size 420 69,abc
#windowrule=tile,xyz
##windowrule=float,dialog
windowrule=float,gimp
windowrule=float,mpv
##windowrule=float,pop-up
windowrule=float,qjackctl
windowrule=float,rofi
windowrule=float,task_dialog
windowrule=workspace 1 silent,$TERMINAL
windowrule=workspace 2 silent,qutebrowser
windowrule=workspace 3 silent,telegram-desktop
#windowrule=pseudo,abc
#windowrule=monitor 0,xyz
bind=SUPER,RETURN,exec,$TERMINAL
bind=SUPER,X,killactive,
bind=SUPER,Q,exit,
bind=SUPER,E,exec,dolphin
bind=SUPER,V,togglefloating,
bind=SUPER,D,exec,rofi --show combi
bind=SUPER,R,exec,wofi
bind=SUPER,P,pseudo,
bind=SUPER,C,exec,rofi -show calc -modi "calc:qalc +u8"  -no-sort
bind=SUPER,H,movefocus,l
bind=SUPER,L,movefocus,r
bind=SUPER,K,movefocus,u
bind=SUPER,J,movefocus,d
bind=SUPER,1,workspace,1
bind=SUPER,2,workspace,2
bind=SUPER,3,workspace,3
bind=SUPER,4,workspace,4
bind=SUPER,5,workspace,5
bind=SUPER,6,workspace,6
bind=SUPER,7,workspace,7
bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9
bind=SUPER,0,workspace,10
bind=ALT,1,movetoworkspace,1
bind=ALT,2,movetoworkspace,2
bind=ALT,3,movetoworkspace,3
bind=ALT,4,movetoworkspace,4
bind=ALT,5,movetoworkspace,5
bind=ALT,6,movetoworkspace,6
bind=ALT,7,movetoworkspace,7
RrndrrLT,8,movetoworkspace,8
bind=ALT,9,movetoworkspace,9
bind=ALT,0,movetoworkspace,10
device rules
device: Logitech MX Ergo {
# natural_scroll=1
}
execute startup applications
exec-once=mako               # notifications
exec-once=udiskie            # removable drive handling
exec-once=waybar
#exec-once=mpv --profile=wallpaper ~/.config/sway/jaguarundi.jpg
exec-once=swaybg -m fill -i ~/.config/sway/jaguarundi.jpg
exec-once=$TERMINAL
exec-once=qutebrowser
exec-once=telegram-desktop
exec-once=~/.config/hypr/cleanup_after_start.sh

cannot reproduce, issue on your side. Furthermore, firefox runs natively on wayland and unless you set the envvars to force it not to, hyprland will force it under native wl.

Weird. I'll close it and keep poking, and re-open if need be.  Thank you for the rapid response!
Firefox works now, so this may be a QT issue.

For anyone else that may be dealing with this, the culprit was a QT_STYLE_OVERRIDE=gtk2 that has snuck into my system envars from someplace.


add bots, change log likelihood, add tests, remove some dependencies

This looks really interesting. I would like to learn more at some point. I made some suggested changes that might help with maintaining the package and workflow. In addition, I suggested a few changes to the log likelihood function in your example. Here is a summary:

no need to specify types with @concrete, but you can opt in

pass sim_params to the log likelihood function so you can change them without changing the function

i think the likelihood function is a Multinomial

I don't think the fit normal was contributing to your log likelihood, you might consider sampling μ and σ through DEMCMC

added SafeTestsets with a simple test

added CI for unit tests

added compat helper and tagbot

I'm not sure if 40 trials will give you stable results

if your predictions are changing each trial, you might want to compute the log likelihood
of each trial to fully leverage the data to estimate decay. For example, you might want to return an
n_sim X n_trial matrix and compute your Multinomial log likelihood across n_sim where n_sim is
somewhat large

I added compatibility constraints to Project.toml

I removed Turing DEMCMC, StatsPlots and Plots because the convention is to reduce unnecessary
dependencies. In this case it is important because Turing and Plots are large dependencies. Most
developers work in a "sandbox" package where you can add Turing and Plots to a temporary environment

@tmc2737, I added a few simple changes to get you a 3X speedup for the cued_recall function.
131.642 ms (2031569 allocations: 262.84 MiB)
45.540 ms (13569 allocations: 49.18 MiB)


Add a Gradle plugin to configure Webpack (mainly SASS and CSS) automatically

This is no longer necessary after 776568f6b0a88cae1dde88174c8efc4d486b4d49 and 7fe0a06f3f53c329e3eb0855cb6b92fe0deb75c6.


Why labels in dataset are float32 only?

I've delved some source code, and have found that labels for datasets can have only float32[] type.
I wonder why is there such restriction exists? Won't it be segnificant restriction if I want to
predict big numbers, like hundreds of millions or maybe billions?
Sorry for my English, thanks.

It's done for better memory usage and speed.
You can use double (#1120):
https://github.com/microsoft/LightGBM/blob/26ff099ab47cd98f7613503ff5976f7359e3465b/include/LightGBM/meta.h#L23-L24
However, it's better to transform your labels before training.


on double click the class crach

Hello can some one help
When we make double click the class crash like if she go in loop infinite

Hello can some one help
When we make double click the class crash like if she go in loop infinite


'Target_of' missing for "receptor" terms (no config for display label, and reciprocal)

I want to change this annotation, but first I want to check why the annotation does not display on the. gpa2 page target of section (target of git3)

It looks like target of is not configured for GO:1990576.  It doesn't match any of the has_input config here:
https://github.com/pombase/pombase-config/blob/bcea0760b53957e42da0f22cd53ef8b777d4fd2c/website/pombase_v2_config.json#L3859
It needs to match at least one "if_descendant_of" to be shown in the target of section of the other gene.
Here is the documentation: https://github.com/pombase/website/wiki/Config-file#extension_display_names=
Maybe we can chat about this on Skype.

{
"rel_name": "has_input",
"if_descendant_of": "GO:",
"display_name": "activates",
"reciprocal_display": "activated by"
},

I asked the question  on  Slack how to annotate the different inputs on  receptors. Once I have a better idea I will suggest the labels. The suggestion above will  not work for the receptor activity. I think I might need to annotate to  "GO:0005085  guanyl-nucleotide exchange factor activity" with has_input gpa2, and if would then add a configuration for the receptor term
{
"rel_name": "has_input",
"if_descendant_of": "GO:0038023 ",
"display_name": "activates",
"reciprocal_display": "activated by"
},
GO:0038023 =signaling receptor activity

{
"rel_name": "has_input",
"if_descendant_of": "GO:0038023 ",
"display_name": "has ligand",
"reciprocal_display": "is ligand for"
},

We need to wait. GO cannot agree on whether the has_input of a receptor is the ligand or the gene it regulates.
It isn't intuitive but  for now I have annotated the substrate on a different term.
guanyl-nucleotide exchange factor activity
  | regulates gpa2 involved in adenylate cyclase-activating glucose-activated G protein-coupled receptor signaling pathway
guanyl-nucleotide exchange factor activity
regulates gpa2 involved in adenylate cyclase-activating glucose-activated G protein-coupled receptor signaling pathway
this will probably change. Thanksfully, unlike FlyBase  we don't have bzillions of receptors to reannotate...

No problem.  I've removed the configuration until we know more.

We need to wait. GO cannot agree on whether the has_input of a receptor is the ligand or the gene it regulates.

Has there been any progress on this?

Not yet. I will put it back on my radar in the New Year.

This sounds similar to this https://github.com/pombase/website/issues/1915
so it may not be a GO issue ? We can have a look at both at the same time.

This sounds similar to this https://github.com/pombase/website/issues/1915
so it may not be a GO issue ? We can have a look at both at the same time.

Maybe, but I'm still confused.  I think we'll need to chat about this one on Zoom


My experience with Copilot

I've been using GitHub Copilot for a while now, and it's made a huge difference in how I code. It’s like having a really smart assistant that helps me write and refactor code faster. Sometimes, it even suggests solutions I hadn’t thought of, making my work more efficient and cleaner. Overall, it’s become a really helpful tool that I rely on a lot in my development process.

Obrigada por compartilhar - Participe da nossa série GitHub Foundations em Português em Outubro: https://aka.ms/brasil/githubfoundations


modification of migrated file name not subsequently detected by validate action

Which version and edition of Flyway are you using?
7.3.0
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
command line
Which database are you using? (Type & version)
Redshift
Which operating system are you using?
linux redhat
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
After after a successful migration of a number of files, rename by removal prefix char from last file e.g. V3__insert.sql to 3_insert.sql then run validation.
What did you expect to see?
I expected the modification of migrated file(s) including its name to be detected on validation
What did you see instead?
The alteration of filename(s) already migrated was not detected e.g. validation did not fail.
Note: if migrate is run subsequently in same scenario it does correctly fail

Hey @sikarazj,
This is the default behaviour in Flyway.
There's some documentation here about this.
In particular you can force Flyway to fail, by setting -ignoreFutureMigrations="false"

Hi Rixium,
Thank you for the feedback and analysis.
I guess the bit that is at odds in my mind (that is similar but diiferent) is that the defaults are:
-ignoreFutureMigrations="true"
-ignoreMissingMigrations="false"
(In upgrading from flyway version 6.5.7 to 7+ latest)
So the second config item must be explicitly added to maintain the previous 6+ behaviour


Remove dictionary_keyword in DDL file

keyword_dictionary is no longer used, dropping this table.
The generated files were removed in #1745, but I forgot to change the DDL script itself.

please also add ddl-change label.


[File-uploader] Allow to override button component

Feature description
That would be great to have an opportunity to override button component. I have a request from UI-designer to implement file-uploader as only a button without drag-and-drop area. I easily changed styles for drag-and-drop but button is fixed and also overrides base button.

Hello @AndrewUldin ! Is there anyone working on this issue? If not, may I take it? Thanks!


aapt.exe'' finished with non-zero exit

I got the error when compiled with android studio.
Error:Execution failed for task ':AppCenter:processAcddDebugResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\software\Android\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 2

thanks  I fixed，，，only copy the aapt to replace


Make magpie great again

Few things here:

removed the dependency on keras.Graph object which was removed from Keras some time ago
bumped the Keras version to the newest one
added functions to easily save & load the trained models from disk
remove hardcoded embedding_size from config and infer it dynamically (bugfix)
update the docs for installation and IO

For the review process, it's easiest to look commit by commit.
@kaplun

ping @jacquerie @kaplun

ACK, but I currently don't have time to look at this. It will happen sometime during this weekend. I have to add that "Make ___ great again" is not so funny anymore...

Haha, to continue with the joke - I understand it's "Invenio first!", but can it be maybe "Magpie second"? ;-)

Think about it another way - if there are no tests, we can't break it! ;)

:smile:
Not sure if @jacquerie has time for a review this week. Otherwise for me you can merge it


Not able to proceed further "Verify your pin" whle setting up new wallet

Issue description
it ask fro verify your pin, even if i type correct pin, it dont go to next step
Briefly describe the issue.
Wallet version
0.3.1
Which version of wallet are you using?

wallet version (version number, commit, or branch):

System specification
What is your operating system?
Mac/Win/Linux (+Version and or Distro if possible)
linux ubuntu 18.04
Is it a repeatable issue?
yes
Y/N
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.
just start setting up wallet
Expected behaviour
Describe what you expect to happen.
Actual behaviour
Describe what actually happens.
Errors
Paste any errors that you see from the Error Log in the Firefly menu or share screenshots of the issue.

Please can you enable dev tools and paste any errors you see in the console?

Can you retest this with the latest release https://github.com/iotaledger/firefly/releases/tag/desktop-0.4.0 and see if this is still an issue


[Function expose] Table 273 "Bank Acc. Reconciliation"

Table 273 "Bank Acc. Reconciliation"
It would be nice to have "SelectBankAccountToUse" function available global/external. This will be helpful when we extending Bank Acc. Reconciliation.
Thank you.

Thank you, this procedure will be exposed in the next update.


Add recordnotfound.com rating badge

Not really sure this repo need this badge. Mind to describe what's the purpose of this badge?


Auxiliary containers left running after harbor down

When command harbor down librechat or harbor down bionicgpt is issued the "auxiliary" containers, such as harbor.lc-db harbor.lc-vector harbor.lc-search for Librechat are left running according to docker ps. Is this expected behavior? I could not find details in the documentation. I also noticed that these containers are not being removed upon harbor down and are still listed in docker containers list --all, unlike the "main" containers of the respective frontends.

I am running harbor version 1.35, on Bluefin DX (Fedora Silverblue 40).

Thanks for trying things out!
No, it's not expected for those containers to remain running after harbor down, however that could happen if the down is cancelled prematurely.
I just tried following workflow locally and it doesn't seem to leave dangling containers:
 everlier@pop-os:~$ ▼ h ps
NAME      IMAGE     COMMAND   SERVICE   CREATED   STATUS    PORTS

 everlier@pop-os:~$ ▼ h u librechat
[+] Running 8/8
 ✔ Network harbor_harbor-network  Created                                                                                0.0s
 ✔ Container harbor.webui         Healthy                                                                                6.6s
 ✔ Container harbor.lc-db         Healthy                                                                                1.1s
 ✔ Container harbor.lc-search     Healthy                                                                                1.1s
 ✔ Container harbor.lc-vector     Healthy                                                                                1.1s
 ✔ Container harbor.ollama        Healthy                                                                                1.1s
 ✔ Container harbor.lc-rag        Healthy                                                                                1.0s
 ✔ Container harbor.librechat     Healthy                                                                                1.0s

 everlier@pop-os:~$ ▼ h ps
NAME               IMAGE                                      COMMAND                  SERVICE     CREATED          STATUS                   PORTS
harbor.lc-db       mongo                                      "docker-entrypoint.s…"   lc-db       10 seconds ago   Up 9 seconds             27017/tcp
harbor.lc-search   getmeili/meilisearch:v1.7.3                "tini -- /bin/sh -c …"   lc-search   10 seconds ago   Up 9 seconds             7700/tcp
harbor.lc-vector   ankane/pgvector:latest                     "docker-entrypoint.s…"   lc-vector   10 seconds ago   Up 9 seconds             5432/tcp
harbor.librechat   ghcr.io/danny-avila/librechat-dev:latest   "/app/start_librecha…"   librechat   10 seconds ago   Up 9 seconds             3080/tcp, <IP_ADDRESS>:33891->33891/tcp, :::33891->33891/tcp
harbor.ollama      ollama/ollama:latest                       "/bin/ollama serve"      ollama      10 seconds ago   Up 9 seconds             <IP_ADDRESS>:33821->11434/tcp, :::33821->11434/tcp
harbor.webui       ghcr.io/open-webui/open-webui:main         "/app/start_webui.sh"    webui       10 seconds ago   Up 9 seconds (healthy)   <IP_ADDRESS>:33801->8080/tcp, :::33801->8080/tcp

 everlier@pop-os:~$ ▼ h d
[+] Running 8/8
 ✔ Container harbor.webui         Removed                                                                                0.2s
 ✔ Container harbor.ollama        Removed                                                                                0.2s
 ✔ Container harbor.librechat     Removed                                                                                10.2s
 ✔ Container harbor.lc-db         Removed                                                                                0.1s
 ✔ Container harbor.lc-rag        Removed                                                                                0.0s
 ✔ Container harbor.lc-search     Removed                                                                                0.1s
 ✔ Container harbor.lc-vector     Removed                                                                                0.1s
 ✔ Network harbor_harbor-network  Removed                                                                                0.2s

 everlier@pop-os:~$ ▼ h ps
NAME      IMAGE     COMMAND   SERVICE   CREATED   STATUS    PORTS

 everlier@pop-os:~$ ▼

No services are running
up librechat, everything is running
down
No services are running

Could it be possible that you're Ctrl+Cing out of harbor down?  In that instance, not all dependencies might be resolved and containers indeed could be left handling.
If this could be the case - I understand why you'd want to do that, as, librechat containers are left hanging on up/down for 10s, which is Docker's default timeout for unresponsive processes. Such waiting indicates incorrect setup for the service entrypoint, which is another thing that could be fixed here.

Thank  you for helping me with this issue. Trying this again and I found that the harbor down  works as expected, however its the command harbor down <handle>  which leaves containers running. The containers remain running even after 56 minutes.
$harbor down librechat

[+] Running 2/1
 ✔ Container harbor.librechat     Removed                                                                                10.3s
 ! Network harbor_harbor-network  Resource is still in use

$ harbor ps

NAME               IMAGE                                COMMAND                  SERVICE     CREATED          STATUS                    PORTS
harbor.lc-db       mongo                                "docker-entrypoint.s…"   lc-db       56 minutes ago   Up 56 minutes             27017/tcp
harbor.lc-search   getmeili/meilisearch:v1.7.3          "tini -- /bin/sh -c …"   lc-search   56 minutes ago   Up 56 minutes             7700/tcp
harbor.lc-vector   ankane/pgvector:latest               "docker-entrypoint.s…"   lc-vector   56 minutes ago   Up 56 minutes             5432/tcp
harbor.ollama      ollama/ollama:latest                 "/bin/ollama serve"      ollama      56 minutes ago   Up 56 minutes             <IP_ADDRESS>:33821->11434/tcp, :::33821->11434/tcp
harbor.webui       ghcr.io/open-webui/open-webui:main   "/app/start_webui.sh"    webui       56 minutes ago   Up 56 minutes (healthy)   <IP_ADDRESS>:33801->8080/tcp, :::33801->8080/tcp

Only after running harbor down all containers were stopped and removed. Tested on CLI version: 0.2.0

Indeed, this is a bug in how the containers to stop are resolved, thank you for additional tests!

Is this not due to docker compose up rather than docker compose up --remove-orphans (or the compose down equivalent)?

The fix was released in one of the recent versions - down command now tries to match running sub-services as well. I'm closing this for now, but please feel free to follow-up or open a new one if needed.


docs(callbacks): updates in typings

Typings update for #1445.

Codecov Report

Merging #1446 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1446   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files         141      141
  Lines        2364     2364
=======================================
  Hits         2358     2358
  Misses          6        6

Impacted Files
Coverage Δ

src/modules/Accordion/Accordion.js
100% <ø> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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


tmux session

Doesn't switch under tmux session.
Steps to reproduce:
1.>tmux new-session -s test
2.>vim test.txt
After, switch keyboard layout in insert mode, then return back to normal mode. Nothing happens, layout remains in the same state as it was in insert mode.

This can be related to OS X namespaces. Can you try run shell with reattach-to-user-namespace (can be installed from Homebrew)?
See this blog post for quick setup guide: How to Copy and Paste with tmux on Mac OS X.
Also long explanation can be found here: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/blob/master/README.md
If this doesn't help, can you please send you versions of the Mac OS X and tmux?

I've tried putting the following line, to my tmux.conf
set-option -g default-command "reattach-to-user-namespace -l zsh"
but it didn't help.
tmux: stable 2.0
Mac: 10.10.4
tmux was installed from brew.
PS: Have tried this lib and it is working under tmux without any reattach-to-user-namespace option.

Thank you for feedback. I'am glad, that reattach-to-user-namespace no longer needed for modern versions of OS X.
But I can't reproduce the failure. For me it worked properly with you test case, so I will try to test it in a clean environment.
This is my current environment:
OS X: 10.10.4
$ tmux -V
tmux 2.0
$ issw -V
Input Source Switcher version 0.3
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 12 2015 09:36:11)
MacOS X (unix) version
Included patches: 1-769
Compiled by Homebrew
Huge version with MacVim GUI.  Features included (+) or not (-):
...
Linking: clang   -L. -L/usr/local/lib -L. -L/usr/local/lib -F/usr/local/Cellar/python/2.7.10_1/Frameworks -L/usr/local/Cellar/python/2.7.10_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -framework CoreFoundation -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -F/usr/local/Cellar/python/2.7.10_1/Frameworks -framework Python  -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby

vim configs from https://github.com/vovkasm/vimrc.git

By the way I use Prezto shell subset of zsh. Not sure but maybe it is affecting in some way.

Unfortunately I still can't reproduce the failure, sorry. So if anyone can, please debug it, or provide additional info. As a suggestion before real debugging, you can try check system errors in Console application.

Sorry for late response, but it seems that it works in latest tmux.
My tmux.conf sets reattach-to-user-namespace option.

So, we can close this issue?

yes