ComboBox not working with touch & mouse support that within a flyout that attached to AppBarButton

In Build 14393(Anniversary Update), the ComboBox doesn't seems working with touch & mouse support that within a Flyout which attached to AppBarButton, it won't trigger the SelectionChanged event at all, but only trigger by using keyboard arrow key, I already tested on a few difference devices.

Add AllowFocusOnInteraction="True" to either the AppBarButton or to the ComboBox.

Thank You YuliKl,  it does work for me!
I have tried this before, but I put it to Flyout, that why it don't work.


tell a surface belongs to the bsp, properly select the renderer

See #302 for explanations about the issue it fixes.
If I color in red what is rendered by vertexLighting_DBS_entity_fp.glsl, in green what is rendered by vertexLighting_DBS_world_fp.glsl and in blue what is rendered by lightMapping_fp.glsl, I get this:
While world vertex lighting is disabled:

While world vertex lighting is enabled:

Everything looks fine now, bsp non-world models are not anymore rendered as entities.
There is still cases where surfaces are lightmapped while vertex world lighting is enabled, but that looks to be the bug described in #296.

The bug was found while working on #301 (merge lightmap and vertex (lightgrid) world and entity lighting).

I think there is very low chance this code introduces bugs, at least it's better than what we had before.


Keyboard not visible when entering the passphrase for SSH key

Bug description
When connecting using a passphrase protected SSH key, the keyboard is not visible. I have to click on the input line to make the keyboard visible.
Steps to reproduce

Connect to a remote host with a SSH key, protected by a passphrase.
Passphrase is asked, keyboard is not visible.
Click on the input line, keyboard is then visible.

Expected behavior
The keyboard is visible when the passphrase is asked, without a click on the screen. This was the case with the previous release, so I think this is a regression.
Android device

Device: Huawei Mate 20 Pro
OS: Android <IP_ADDRESS>9
ConnectBot Version: 1.9.6

Server information

OS: Debian Buster
SSH Software and Version: OpenSSH 7.9
Pubkeys used (if applicable): Ed25519

Additional context
I'm using the Hacker's keyboard. But I have the same problem with the default keyboard (SwiftKey).

Happens for me as well. Additionally, the keyboard won't disappear in the host list and it will stay hidden when selecting an already connected host from the host list.
Android 9 (LineageOS).

Same problem here, android 9, Sony Xperia XZ1 compact.
Happens only after latest update.
Always have to click on password row to open keyboard manually, then everything works well.


error when : sudo pip install -r requirements.txt on mac

Hi @spike321, please take a look at this question/answer on StackOverflow: https://stackoverflow.com/a/33245444/304706
brew install python might solve the problem

do i have to sudo pip install requirements if i'm using OSX? cuz i still keep getting this error even after i download homebrew and brew install python.

Hi @spike321, sorry for the delay. I have to use sudo pip on my Mac, but I can't remember how I installed pip. There's a few different ways to install Python and pip, and to be honest I'm not sure of the best way.
But it looks like your error message was "Operation not permitted", so I would just try with sudo: sudo pip install -r requirements.txt. Hopefully that fixes it for you!


Cannot use Window if owner is changed/removed and original owner is closed

Describe the bug
Let's say we have windowA and windowB. We set windowA to be the owner of windowB by using windowB.Show(windowA);. If we then call windowB.Hide();, this removes windowA as the owner of windowB and windowA no longer has any owned windows. If we now close windowA by calling windowA.Close();, both windowA and windowB will be removed from the global Windows list: ((IClassicDesktopStyleApplicationLifetime)Application.Current?.ApplicationLifetime).Windows;. The result is that if you now try to call windowB.Show();, weird unexpected behavior will ensue. Even if you try to set a different a different owner for windowB, the same will happen. There does not appear to be any way to continue using a window after its original window owner is closed, even if that window no longer owns it or has any association with it. Looking at the Avalonia code, this does look like an unexpected bug due to the way the Window Hide and Close methods work. I think the issue is related to (in this case) windowB being removed from the global Window list after windowA is closed, even though there should no longer be any association between the 2.
To Reproduce

Create a window named windowA
Create a window named windowB
Run windowB.Show(windowA);
Notice that windowB now shows in the list of OwnedWindows in windowA
Notice that windowB.Owner is now set to windowA
Run windowB.Hide();
Notice that windowB no longer shows in the list of OwnedWindows in windowA
Notice that windowB.Owner is now null
Notice that ((IClassicDesktopStyleApplicationLifetime)Application.Current?.ApplicationLifetime).Windows; correctly shows both windows
Run windowA.Close();
Notice that ((IClassicDesktopStyleApplicationLifetime)Application.Current?.ApplicationLifetime).Windows; now shows NO windows
Try running windowB.Show(); and you will see that it fails

Expected behavior
I expect windowB to not be removed from the global window list and I expect it to be shown correctly since it is no longer associated with windowA.
Avalonia version
11.0.10
OS
Windows
Additional context
I am running Windows 11. I have not yet tested what this does on other platforms such as X11 or Wayland.
Also, changing ((IClassicDesktopStyleApplicationLifetime)Application.Current?.ApplicationLifetime).MainWindow at any point in this process changes nothing.

If it would be helpful, I can try to pin point the code responsible for the issue. Heck, maybe I can even work out how to fix the problem. I suspect I'm not the most qualified individual to do so but if you're ok with me giving it a shot, I'd be happy to try.

Owner management is mostly done in Window.cs class:
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/Window.cs#L608-L612
and
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/Window.cs#L1086-L1098

@lahma0 contributions are welcome and everyone has started to learn at some point. A pull request will be reviewed anyways, so not much harm in it beside the possibility a change could not be accepted in worst case.

Could you confirm if this issue still occurs on the latest nightly build?

Sure. I'll check it out asap and report back here.

Good news! Looks like this is indeed working correctly now. Thanks for fixing this issue. I apologize I never got around to looking at it myself. I will try to keep a look out for some other issues that maybe I can help out with to try to get my feet wet and start contributing back to the project.


Add filteredMsgCount for pulsar-admin broker-stats topics

(If this PR fixes a github issue, please add Fixes #<xyz>.)
Fixes: #14507
Motivation
see master issue
Modifications

add field msgFilteredCounter in AbstractTopic
add methods addFilteredMsgCount, getMsgFilteredCount in AbstractTopic
record filtered message count in AbstractBaseDispatcher#filterEntriesForConsumer

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?

[ ] doc-required
(If you need help on updating docs, create a doc issue)

[x] no-need-doc
(Please explain why)

[ ] doc
(If this PR contains doc changes)

[x] doc-not-needed

tests to to completed.

@codelipenghui  changed, PTAL

/pulsarbot run-failure-checks

@tjiuming - thank you for adding these stats. Would you be able to add the documentation to the admin api docs https://pulsar.apache.org/docs/next/admin-api-topics#get-stats?

Note that this PR did not add these metrics to the pulsar-admin topics stats command. It added it to the pulsar-admin broker-stats topics command. It would be helpful to expose these metrics on the topics stats command as subscription level metrics. It'd also be nice to add it as the prometheus metrics output.

Note that this PR did not add these metrics to the pulsar-admin topics stats command. It added it to the pulsar-admin broker-stats topics command. It would be helpful to expose these metrics on the topics stats command as subscription level metrics. It'd also be nice to add it as the prometheus metrics output.

All right


[v3-stable] X-ray images are not rendered properly using dicomjson

Describe the Bug
v3-stable version cannot render x-rays (maybe also other series with single instances) via dicomjson approach. The same images get rendered using local route via drag&drop.
Steps to Reproduce:

Open this link which uses v3-demo instance to load the JSON file that references the mentioned x-ray images.
Thumbnails in the sidebar get rendered properly but the image itself not.

Please use code blocks to show formatted errors or code snippets

The current behavior
The image is not rendered as seen below

Also no errors in console indicating an issue.
There are no issues while rendering multi-instance series (such as CT).
The expected behavior
Images get rendered.

:warning: Reports we cannot reproduce are at risk of being marked stale and
closed. The more information you can provide, the more likely we are to look
into and address your issue.

Could you kindly provide the data if it has been anonymized and you can confirm that there is no patient health information present in any of the headers or embedded within the pixel data?

any chance you can try the latest, and re-open with more information if still an issue


code-minimap: fix darwin build

Motivation for this change
Unblocks #122293
ZHF: #122042
cc @NixOS/nixos-release-managers
Hydra failure: https://hydra.nixos.org/build/141561964/nixlog/1
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123031 run on x86_64-darwin 1

2 packages built:

code-minimap
vimPlugins.minimap-vim


Subscription errors get silently discarded

Hi @enisdenjo, as always, appreciate your efforts in this project.
This time I would like to raise a concern on subscription error handling.
Minimum setup:
schema.ts ( adapted from get-started )
import { GraphQLSchema, GraphQLObjectType, GraphQLString } from 'graphql';

/**
 * Construct a GraphQL schema and define the necessary resolvers.
 *
 * type Query {
 *   hello: String
 * }
 * type Subscription {
 *   greetings: String
 * }
 */
export const schema = new GraphQLSchema({
  query: new GraphQLObjectType({
    name: 'Query',
    fields: {
      hello: {
        type: GraphQLString,
        resolve: () => 'world',
      },
    },
  }),
  subscription: new GraphQLObjectType({
    name: 'Subscription',
    fields: {
      greetings: {
        type: GraphQLString,
        subscribe: async function () {
          // instead of returning the `AsyncIterator`, an error was thrown
          throw new Error('Unexpected stuffs happened');
        },
      },
    },
  }),
});

server.ts ( adapted from this example )
import http from 'http';
import { createHandler } from 'graphql-sse/lib/use/http';
import { schema } from './schema';

// Create the GraphQL over SSE handler
const handler = createHandler({ schema });

// Create an HTTP server using the handler on `/graphql/stream`
const server = http.createServer(async (req, res) => {
  if (req.url.startsWith('/graphql/stream')) {
    try {
      await handler(req, res);
    } catch (error) {
      console.error(error);
      res.writeHead(500).end();

      return;
    }
    res.writeHead(404).end();
  }
});

server.listen(4000);
console.log('Listening to port 4000');

I was expecting the error to be captured and the response to be 500, however what I observed was that the error got silently discarded, and the response was 202.
After a bit digging, I realized the cause is:
https://github.com/enisdenjo/graphql-sse/blob/3fd31dbcae691a09fe47596e2e2fec2308ee0762/src/handler.ts#L717-L729
https://github.com/enisdenjo/graphql-sse/blob/3fd31dbcae691a09fe47596e2e2fec2308ee0762/src/handler.ts#L985-L1006
Because an error is thrown, the prepared result here becomes something like { errors: [xxx] } ( from the subscription call ) and finally the 202 response gets returned.
I wonder if this behavior is intended ? if so how we're suppose to capture the errors from subscription ?
Thanks ahead for your kind answers!

Hey @silvercrown07, thanks for asking this question! This is actually expected behaviour, operation errors from resolvers are reported to the stream instead of the operation request, both in single connection mode and distinct connection mode. I've added a test to demonstrate this.
https://github.com/enisdenjo/graphql-sse/blob/995c4bea0231c174cbaa26ec216725872879936f/src/__tests__/handler.ts#L441-L487


bootstrap tooltip not working in column template

I'm submitting a ...  (check one with "x")
[ X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

Dynamic bootstrap tooltip does not work within column template.
If I wrote column template like this:
<ngx-datatable #table
                            class="bootstrap"
                            [rows]="data"
                            [columnMode]="'force'"
                            [headerHeight]="50"
                            [footerHeight]="40"
                            [rowHeight]="28"
                            [scrollbarH]="true"
                            [limit]="15">
                            <ng-container *ngFor="let column of selectedColumns">
                                        <ngx-datatable-column [headerClass]="column.class" name="{{column.title }}" prop="{{ column.name }}" draggable="false" [sortable]="true" [cellClass]="column.class">
                                            <ng-template let-row="row" ngx-datatable-cell-template>

                                            </ng-template>
                                        </ngx-datatable-column>
</ng-container>
</ngx-datatable>

And return a html template within getValue() function:
<div style="width: 4%;" data-toggle="tooltip" data-html="true" title="

title

Body
 	">

Of course above is just sample code, I need to dynamically defined columns and the tooltip is part of one column.
In this case, the tooltip only show plain text, not html. And if I move the code outside of  the tooltip works fine.
Please tell us about your environment:

OS: win10 pro;
Browser: chrome;
ngx-datatable: 11
angular: 5.0;
Can anybody help me on this wired issue? Thank you!

@amcdnl Could you please help me on this issue? I was blocked by this for a whole week. Thank you very much!


questionable casts and other warnings

Using autobahn with the compiler  flags that I typically use leads to a large list of errors. Among them are

many old-style casts(-Wold-style-cast), some of which are used as const-casts (!) (-Wcast-qual)
many shadowed variables (-Wshadow)
missing default cases in switch statements (-Wswitch-default)
implicit conversions, e.g. from unsigned long to int (!) (-Wconversion)
ignored type qualifiers on functions (-Wignored-qualifiers)

This seems to conflict with the otherwise well written modern c++ code, so I think it should be fixed (as many of these warnings can indicate mistakes or bugs).

You should add -Wunused-variable to this list, among others I can't remember (not sitting at a terminal at the moment).
I do know, however, I cannot compile when using -Werror; which is a standard flag for many of the projects I work on personally and at work. I had seriously considered fixing many of these on my fork, but I haven't had the time to spare.

I just listet those, for which I saw some errors. Below is the full list I typically use for  the gcc. It is very well possible to write code that produces no warnings with all of these flags,  so I don't see a reason not to do so ;) (-Wunused-variable is included in -Wall)
-Wall -Wextra -pedantic -Wundef -Wunreachable-code -Wdisabled-optimization -Wcast-qual -Wsign-promo -Winit-self -Wnon-virtual-dtor -Woverloaded-virtual -Wconversion -Wfloat-equal -Wshadow -Wswitch-default -Wpacked -Wcast-align -Wold-style-cast -Wuseless-cast -Wlogical-op -Wtrampolines -Wnoexcept

-Wall is fine. If you want to get crazy, start making Boost compile with you excessive list of flags without warnings.

I do use boost and don't get any warnings. And everything I have described might not be a problem (yet), but some of them are mistakes. Even if you do have to handle some GiB of data such that the cast from unsigned long (std::size_t) to int is ever a problem...
Similarly, claiming that a function returns a const bool is also a mistake simply because it is impossible for any function to do so.

@benhuber I see. Such casts are definitely questionable. So yeah, we should go over the code base and fix these things ..


dataset

Hello, can you provide your dasetset for training?

The following datasets are publicly available:
MRI: https://liuquande.github.io/SAML/
RETOUCH: https://retouch.grand-challenge.org/
CaDIS: https://www.sciencedirect.com/science/article/pii/S1361841521000992
The Cat101 segmentation dataset is a subset of Cataract-1K annotations (https://arxiv.org/abs/2312.06295) and will soon be made available.

Hello, can you provide your dasetset for training?

The following datasets are publicly available:
MRI: https://liuquande.github.io/SAML/
RETOUCH: https://retouch.grand-challenge.org/
CaDIS: https://www.sciencedirect.com/science/article/pii/S1361841521000992
The Cat101 segmentation dataset is a subset of Cataract-1K annotations (https://arxiv.org/abs/2312.06295) and will soon be made available.

Thank you very much for your prompt answer, I will go to complete the download of the data, if I encounter problems again want to ask you for advice, I hope you can give answers!
Best wishes!

Hi, I downloaded RETOUCH-TrainingSet-Spectralis and RETOUCH-TrainingSet-Topcon, and I see that you need to convert to img images right, I'm currently raw and mhd, do you have some details on how to handle this? I'm having some difficulty reproducing it, maybe too many folders

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hi, I downloaded RETOUCH-TrainingSet-Spectralis and RETOUCH-TrainingSet-Topcon, and I see that you need to convert to img images right, I'm currently raw and mhd, do you have some details on how to handle this? I'm having some difficulty reproducing it, maybe too many folders

Hello! The dataset creation codes for the RETOUCH dataset are added. You should use the code itk_reader.py and adapt the directories' paths for each device (Spectralis and Topcon). Afterward, using Fluid_Separation.py, you can exclude the IRF fluids.

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hello! The TrainIDs used for training on the IRF fluids are under TrainIDs_RETOUCH_DA, which are uploaded.
Best regards,

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hello! The TrainIDs used for training on the IRF fluids are under TrainIDs_RETOUCH_DA, which are uploaded.
Best regards,

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hello! The TrainIDs used for training on the IRF fluids are under TrainIDs_RETOUCH_DA, which are uploaded.
Best regards,

Hi, Thanks a lot for your reply and addition, I have successfully run the code you added and got the TrainIDs_RETOUCH_DA folder.
Your paper mentions OCT data labeled training images (from source domain), unlabeled training images (from target domain) and average number of test images per fold (391,569,115).
In TrainIDs_RETOUCH_DA the files with suffix _0.csv _1.csv _2.csv _3.csv in each fold should be the labeled training images (from the source domain), the number of files I uploaded with your new uploads is the same, it's around (102+96+113+110)/4=105 png images, which is very far away from the 391 you mentioned. very far.
Unlabeled training images (from the target domain): (572+454+338+221)/4=396, again a big difference from the 569 mentioned in the paper, maybe I'm misunderstanding it, I'm requesting your answer.
Best wishes

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hello! The TrainIDs used for training on the IRF fluids are under TrainIDs_RETOUCH_DA, which are uploaded.
Best regards,

Hi, Thanks a lot for your reply and addition, I have successfully run the code you added and got the TrainIDs_RETOUCH_DA folder. Your paper mentions OCT data labeled training images (from source domain), unlabeled training images (from target domain) and average number of test images per fold (391,569,115). In TrainIDs_RETOUCH_DA the files with suffix _0.csv _1.csv _2.csv _3.csv in each fold should be the labeled training images (from the source domain), the number of files I uploaded with your new uploads is the same, it's around (102+96+113+110)/4=105 png images, which is very far away from the 391 you mentioned. very far. Unlabeled training images (from the target domain): (572+454+338+221)/4=396, again a big difference from the 569 mentioned in the paper, maybe I'm misunderstanding it, I'm requesting your answer. Best wishes

It seems you mistakenly considered "SpectralisVsTopcon_" CSV files as supervised/semi/test sets, while "SpectralisVsTopcon4_" CSV files correspond to the dataset used in this paper (as referenced in the config files under configs_RETOUCH_DA_scSENet_ST4). I will later remove these unnecessary files to avoid further misunderstanding.

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hello! The TrainIDs used for training on the IRF fluids are under TrainIDs_RETOUCH_DA, which are uploaded.
Best regards,

Hi, Thanks a lot for your reply and addition, I have successfully run the code you added and got the TrainIDs_RETOUCH_DA folder. Your paper mentions OCT data labeled training images (from source domain), unlabeled training images (from target domain) and average number of test images per fold (391,569,115). In TrainIDs_RETOUCH_DA the files with suffix _0.csv _1.csv _2.csv _3.csv in each fold should be the labeled training images (from the source domain), the number of files I uploaded with your new uploads is the same, it's around (102+96+113+110)/4=105 png images, which is very far away from the 391 you mentioned. very far. Unlabeled training images (from the target domain): (572+454+338+221)/4=396, again a big difference from the 569 mentioned in the paper, maybe I'm misunderstanding it, I'm requesting your answer. Best wishes

It seems you mistakenly considered "SpectralisVsTopcon_" CSV files as supervised/semi/test sets, while "SpectralisVsTopcon4_" CSV files correspond to the dataset used in this paper (as referenced in the config files under configs_RETOUCH_DA_scSENet_ST4). I will later remove these unnecessary files to avoid further misunderstanding.

Yes, sorry about that, there are too many files and I may have caused confusion, I followed your newly uploaded dataset_creation_RETOUCH folder settings and got the （all 16 files）

Your TrainIDs_RETOUCH_DA folder has, SpectralisVsCirrus, but you didn't consider the Cirrus data in your paper right, I can ignore it as well!

Hi, I found that the RETOUCH dataset uses csv to indicate the data location, and you didn't find train_IDs_CSV and test_IDs_CSV in your csv samples, so maybe this way I don't know the division of your data right?

Hello! The TrainIDs used for training on the IRF fluids are under TrainIDs_RETOUCH_DA, which are uploaded.
Best regards,

Hi, Thanks a lot for your reply and addition, I have successfully run the code you added and got the TrainIDs_RETOUCH_DA folder. Your paper mentions OCT data labeled training images (from source domain), unlabeled training images (from target domain) and average number of test images per fold (391,569,115). In TrainIDs_RETOUCH_DA the files with suffix _0.csv _1.csv _2.csv _3.csv in each fold should be the labeled training images (from the source domain), the number of files I uploaded with your new uploads is the same, it's around (102+96+113+110)/4=105 png images, which is very far away from the 391 you mentioned. very far. Unlabeled training images (from the target domain): (572+454+338+221)/4=396, again a big difference from the 569 mentioned in the paper, maybe I'm misunderstanding it, I'm requesting your answer. Best wishes

It seems you mistakenly considered "SpectralisVsTopcon_" CSV files as supervised/semi/test sets, while "SpectralisVsTopcon4_" CSV files correspond to the dataset used in this paper (as referenced in the config files under configs_RETOUCH_DA_scSENet_ST4). I will later remove these unnecessary files to avoid further misunderstanding.

Hi, Negin. I apologize, I'm still confused at the moment, the first thing I'd like to confirm is whether the test set division of the 0th fold of Spectrails in RETOUCH is including these four goes?

I found that the code I followed to divide the dataset as you provided, in the processed result, firstly, the file name is SpectralisVsTopcon_0
which is not SpectralisVsTopcon4_0 as you corrected, and I can't be sure if they represent the same thing, and secondly, I found that file 026 exists in the SpectralisVsTopcon4_0.csv file (which is supposed to include only the training images of the source domains) that you provided, and I'm thinking that it shouldn't exist in the training set, and that it's already been partitioned to the SourceTest.

Best wishes.

followed to divide the dataset as you provide

The config files are already provided under configs_RETOUCH_DA_scSENet_ST4. The (dataset_creation_RETOUCH/subdataset_generator_RETOUCH_DA.py) code is a sample for dataset creation scheme in case you would like to create CSV files with other portions or strategies.

The config files are already provided under configs_RETOUCH_DA_scSENet_ST4. The (dataset_creation_RETOUCH/subdataset_generator_RETOUCH_DA.py) code is a sample for dataset creation scheme in case you would like to create CSV files with other portions or strategies.

Ok, Negin. i understand, thanks for the reply!
Best wishes.


Showcase Inclusion

Hey Kev, Tony here!  Really appreciate all the hard work you've put in on simple.css.  I used a hacked up local copy of simple.css to build my original personal site, but when you announced ver. 2.0, I vowed to do it correctly.  So, throughout the day I switched my site over to the CDN hosted simple.css 2.0 and added a custom.css with my modifications.  Still a work in progress, but the ground work is laid.
https://cavella.com

Done. :-)
Great work on the site, BTW. I really like what you've done with it.


Enable postgres for workspaces(Not docker)

Postgres basic CRUD implementation for workspaces

Open a new PR due to huge conflicts


Visualize Dependencies

I'm trying to update the ghc-cabal branch to the latest master, so it doesn't get forgotten about completely. See #166, and I'm continuously running into cyclic imports.
I'll try to clean them up. But I'd like to take the opportunity to gather input on inter-project dependency visualization (tools?) or a general approach, that would reduce the risk of cyclic imports with shaking-up-ghc, as this has been quite an issue with the ghc-cabal branch :disappointed:

There are a few graphviz packages on hackage, notably
https://hackage.haskell.org/package/dotgen for simplifying this. Maybe
Neil can tell how to add it if there is a simple way.
On 1/19/16, Moritz Angermann<EMAIL_ADDRESS>wrote:

I'm trying to update the ghc-cabal branch to the latest master, so it
doesn't get forgotten about completely. See #166, and I'm continuously
running into cyclic imports.
I'll try to clean them up. But I'd like to take the opportunity to gather
input on inter-project dependency visualization (tools?) or a general
approach, that would reduce the risk of cyclic imports with
shaking-up-ghc, as this has been quite an issue with the ghc-cabal
branch :disappointed:

Reply to this email directly or view it on GitHub:
https://github.com/snowleopard/shaking-up-ghc/issues/184

Using Shake you can visualise dependencies with the profiling, but here it's talking about the Haskell files in the build system itself, not the result of the build system.
I have to say I rarely (never?) have problems with circular imports. I suspect some more robust partitioning, grouping data and functions that operate on each other separately, and more global knowledge should work.

I found that there is -ddump-minimal-imports1. So maybe I'll be able to whip something together with with dot, to run minimal imports (and detect unused imports), and then check for clusters to find a better partitioning.
Sounds like it could work?

We are already at minimal imports, since we warn if there are any unnecessary imports.

@ndmitchell ohh, that's right. So unused imports won't be an issue. As far as I understand minimal-imports, it also produces the list of imported symbols per module. Thanks for pointing that out though!

One way to get rid of cyclic dependencies may be to get rid of src/Oracles.hs which re-exports a lot of oracle modules and instead import them directly when need be.
Not sure visualisation helps actually. I had to break cyclic dependencies several times already and usually I had to fully understand the reason for the cycle, before I could break it in a sensible way. The most recent case: https://github.com/snowleopard/shaking-up-ghc/issues/176#issuecomment-172715372. Can you get the core of the cycle? I might then be able to figure out which parts can be safely moved around to break it.

@snowleopard ohh, that would precisely be the idea. To better understand the cycle, have all functions point to the used symbols they use from the current project under compilation. That way cycles should be obvious, or so I hope. -ddump-minimal-imports would help in showing that one potentially only import a single symbol from the Oracles. A whole module dependency analysis could assist in understanding the dependencies.
Maybe I didn't describe what I intended well enough; and maybe such a tool exists? I could not find it though.

-ddump-minimal-imports would help in showing that one potentially only import a single symbol from the Oracles.

Ah, I see now. This makes a lot of sense. Let me know if you manage to find a useful tool to assist in isolating cycles, and perhaps even suggesting possible solutions.
It's an interesting algorithmic problem actually: doing the analysis and presenting the developer with some options in the form: "Move symbol X from Y.hs to Z.hs". Hm-mm.

I'm closing this issue, as it seems to be not really related to Hadrian.
Visualising Haskell module dependencies would certainly be useful; ping me if a solution is found!


each section should fade in with scroll to keep consistent feel

So, for this:

The next text block should have opacity = 0 until trigged. Same w/ the relativeAbundanceFig.

@jread-usgs should be realized through #168

👍


The screen capture code is completely invalid for GPUImageView

Hello, I can't intercept the image of GPUImageView with this code. Why is this? I can get a blank image, but I can't capture the image rendered by GPUImageVIew.
<
@IBOutlet private weak var renderView: GPUImageView!
public func capture() -> UIImage? {
UIGraphicsBeginImageContextWithOptions(base.bounds.size, false, 0)
base.layer.affineTransform()
base.layer.render(in: UIGraphicsGetCurrentContext()!)
let image = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()
return image
}
renderView.capture()

call drawViewHierarchyInRect:afterScreenUpdates:
ref: https://developer.apple.com/library/archive/qa/qa1817/_index.html


confusing ai services with entra authentication - inaccessible

Can you guys add curl examples here? or python, since its ai? but if python, preferably python urllib - since this is linked from REST api docs - https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-reference#authentication-with-microsoft-entra-id - which otherwise do not really explain how to use the AAD/entra token auth.
lets say i have a text translator 0e46833d-7447-4200-8383-fe86e645e6a9
then i can do, in bash:
id=(az cognitiveservices account list \
  | jq -r '.[] | select(.kind == "TextTranslation" and .name == "0e46833d-7447-4200-8383-fe86e645e6a9") | .id')

location=(az cognitiveservices account list \
  | jq -r '.[] | select(.kind == "TextTranslation" and .name == "0e46833d-7447-4200-8383-fe86e645e6a9") | .location')
location=$(echo $location | tr '[:lower:]' '[:upper:]')

token=$(az account get-access-token --scope "https://cognitiveservices.azure.com/.default" | jq -r .accessToken)

url=https://api.cognitive.microsofttranslator.com/translate?api-version=3.0
curl -w '\n' ${url}?to=de'&'from=en -X POST \
-H "Authorization: Bearer $token" \
-H "Ocp-Apim-Subscription-Region: $location" \
-H "Ocp-Apim-ResourceId: $id" \
-H "Content-type: application/json; charset=UTF-8" \
-d '[{"Text":"I would really like to drive your car around the block a few times."}]'

url from here and here
request headers from: https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-reference#authentication-with-microsoft-entra-id
request body from: https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-translate#request-body

which ultimately led me to this page but it is in powershell so it is not so fool proof for me to try to emulate this at work.

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

ID: 1218be14-5001-1458-f5e9-821e38730e20
Version Independent ID: 45f58de5-cd30-0455-907f-ef1820615d7e
Content: Authentication in Azure AI services - Azure AI services
Content Source: articles/ai-services/authentication.md
Service: azure-ai-services
GitHub Login: @mgreenegit
Microsoft Alias: migreene

@alexanderankin
Thanks for your feedback! We will investigate and update as appropriate.

@alexanderankin, looks like that is linked off the original page, but thank you for the reference.
https://github.com/MicrosoftTranslator/Text-Translation-Code-Samples/blob/main/Python-Code-Samples/Translate.py

@mgreenegit that is using api key - the code using AAD tokens is here
https://github.com/MicrosoftTranslator/Text-Translation-Code-Samples/blob/15519780394a4b0b7f67bd373b97c8aa72b871e0/Text-Translation-AAD/AADToken.cs#L73-L86
but it is not in python or bash so it is equally inaccessible to me - i could not replicate it with various things i tried for scope/resource/authority. in my understanding authority is tenant - so why is it twice here? with a bash example like i gave in this issue it is fairly easy for the user to change the initial inputs and leave the rest of the code unchanged, unlike this c# code sample, which otherwise seems to be exactly (or close) to what im looking for

btw i should clarify that the code in my issue does not work, i am trying to figure out why. i have read that APIM likely stands for api management and ocp maybe stands for one commercial partner or open compute project - the APIM theory makes sense because one of the headers indicates which resource to hit behind the proxy, and APIM can then be thought of as a proxy as a service. similarly region makes sense as it is more information on how to proxy. not sure what OCP is or if that would help me understand why my parameters are wrong. however, i think it is just the oauth part which i am making a mistake in.

Using a shared key should just be a different property name in the header for curl
https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-reference#secret-key

we need the shared key for entra/aad auth? i thought these are mutually exclusive?

its my personal token, in my personal tenant - so the token should have owner/global admin permissions?

the reply from the server is 401 not 403 - which would indicate the absense of credentials, rather incorrect credentials, in theory?

@alexanderankin
Thank you for bringing this to our attention.
I've delegated this to content author @mgreenegit, who will review it and offer their insightful opinions.

Oh I didn't realize this - @mgreenegit thanks for writing this page (/section?)! Our security shop at works prefers aad to static keys, so that's what I just explore. Just for transparency a coworker also opened a ticket on azure (and later included this gh issue) and they've requested a couple days to respond.

Working on getting clarity for which headers are needed

@alexanderankin would you mind validating whether the below example works for your scenario?
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/managed-identity

oh my gosh - my "data owner" role (specifying ["*"] for dataActions) was not properly saved - clicking "review and next" on the bottom discards changes if you don't first click "save" in the role editor. 😳🤦♂ - it all works after fixing this.
sorry about all the back and forth.


verify merkle logic

a question came from a PR here: https://github.com/ralexstokes/ssz-rs/pull/57/files#r1218453460
answer the question

the logic here seems fine, and checking that i == 0 is equivalent to checking if the parent is empty
I pushed the change in #57


Fix test asserts

Params for assertEquals are all backwards which causes failure messages
to not make sense.  Fix to correct order which is
assertEquals(actual, expected)

Meh, i don't think so.  I think the CI build should be fixed to deploy from stable (or release) branches instead of master.


test: Fix Tizen src= test

The test to show that src= playbacks can log width/height data was
failing on Tizen.  This is because Tizen was ignoring the SAR (sample
aspect ratio) and showing the content at 256 pixels wide, whereas
other platforms were displaying at 258 pixels wide.  The point of the
test was never to check a platform's support for SAR, so the video has
been re-encoded to display consistently across platforms.
The video file is now also much smaller than it was before (from 177kB
to 37kB).
Re-encoding was done with:
ffmpeg
-i test/test/assets/small.mp4.orig
-c:v h264 -vf setsar=1:1 -crf 51
-c:a aac -b:a 16k
-y test/test/assets/small.mp4

Still fighting other various test failures, but the Tizen one is confirmed fixed by this PR.


Implement Convolution Layer

Close #10

4 tests are not enough i think, but i guess it can be fixed later with parameterized tests

I agree here


[fix] Forbid insecure encryption

NSFOCUS scaned TLS high-risk vulnerability CVE-2016-2183, we would better forbid insecure encryption.

@Howie59  Hi, I don't think we can choose for users.

Is it better to expose a validator that let users check if the encryption is accepted?

Is it better to expose a validator that let users check if the encryption is accepted?

Print tips for insecure encryption suites.

Duplicate of #1180


Updated readme

With section on how to avoid error when upgrading from 3.x.x to 4.x.x

@VladimirAmiorkov, great job! 🥇


Read and Write Data to Web Service using SOAP URL

Hello, I am a newbie in AL Language Extension.
Right now I am learning how to read and write to/from Web Services.
I am using Dynamics NAV 2018 to develop extension.
I am able to read ODataV4 data from ODatav4 URL in dynamics nav client.
Is there a way to post a new data for example new customer to the ODatav4 web service?
How to write my new customer data to the odatav4 URL ?
and Is it possible to read and write from SOAP URL Web Service ? I thought that .NET is needed when we are working with SOAP.
I open the SOAP URL in browser and only WSDL is shown without record like JSON data from ODatav4.
I am sorry to ask this but I hope anyone can help me to solve this problem in AL.
Thank you so much

We have made a recent change to this repository. We no longer handle general questions and this forum is now only dedicated to bug reports and feature suggestions for the AL compiler and developer tools
To get help please use one of the following resources:
Business Central Community
mibuso forum
Dynamics User Group


Add dhcp-socket-type option to kea

Add dhcp-socket-type option to Kea DHCP server

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after checking both open and closed issues

Problem Description
For the purpose of running DHCP server on specific network setups that require udp socket access, the current Kea implementation in OPNsense lacks the ability to configure the socket type. This option is available in Kea's configuration but not exposed in the OPNsense UI.
Proposed Solution
Add a dropdown option in the Kea DHCP server settings to allow users to choose between 'udp' and 'raw' socket types. I have implemented this by modifying the following files:

Added socket type field to model definition in /usr/local/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml:

<dhcp_socket_type type="OptionField">
    <Default>udp</Default>
    <Required>Y</Required>
    <OptionValues>
        <udp>udp</udp>
        <raw>raw</raw>
    </OptionValues>
</dhcp_socket_type>

Added UI form field in /usr/local/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml:

<field>
    <id>dhcpv4.general.dhcp_socket_type</id>
    <label>Socket Type</label>
    <type>dropdown</type>
    <help>Socket type used for DHCP communication</help>
</field>

Updated config generation in /usr/local/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php to include the socket type:

'interfaces-config' => [
    'interfaces' => $this->getConfigPhysicalInterfaces(),
    'dhcp-socket-type' => (string)$this->general->dhcp_socket_type
]

Alternatives Considered

Manual editing of kea-dhcp4.conf file - not persistent across updates
Using udp sockets by default - would break compatibility with some setups

Additional Context
This implementation follows the existing pattern used for other Kea DHCP options and maintains consistency with the current UI design. The change is minimally invasive and maintains backward compatibility by defaulting to 'raw' socket type.

@pieewiee just open a pull-request and we'll try to merge it, as far as I can see, there's no reason to not offer the option from our end.

This option is particularly valuable when Kea needs to serve DHCP requests for subnets that are not directly connected to the OPNsense router. When using UDP sockets, DHCP packets may not be properly routed through relay agents. Using raw sockets allows Kea to handle DHCP traffic more reliably in complex network setups where DHCP requests need to be relayed across different subnets or VLANs. This is a common requirement in enterprise environments with centralized DHCP management.
I will create a pull request for you :-)

Pull request created.
feat(dhcp): add dhcp-socket-type option to Kea DHCP server #8069

forgot to close with comment

@pieewiee we usually close after merge :)


GSE151091 - HumanMelanocyteDevelopment

Project short name:
HumanMelanocyteDevelopment
Primary Wrangler:
Ami
Secondary Wrangler:
Ida

Associated files

Google Drive:

https://drive.google.com/drive/folders/1I2owxOEI2f7_QMmRGp9gP4ijBuRt17RJ
Merged FACS version: Validates in ingest (minus the data file transfer)
https://docs.google.com/spreadsheets/d/1N-WgyxSkui1M_TAnuRAXiR6-in_fdoTXcAiPWMhGGfw/edit#gid=695411749
Un-Merged FACS version V1: V1 A:  experiment accessions in cell suspension tab
https://docs.google.com/spreadsheets/d/1Ii8GHnrS7iGE3Tt4dS0XPkY4DxUpOn7l-gxKpGacIZc/edit#gid=1716876762
Un-Merged FACS version V1: V1 B:  no experiment accessions in cell suspension tab
https://docs.google.com/spreadsheets/d/1sN_SpEL4279iFKJmQBolERYIG6I9uRvP40WQDoLHO_M/edit#gid=1716876762
Un-Merged FACS version V2: V2 A:  experiment accessions in cell suspension tab
Extra cell suspensions to allow linking cell suspensions to analysis files. The total number of cell suspensions will not fit in a single cell in the spreadsheet, it reaches the maximum limit!
https://docs.google.com/spreadsheets/d/1Z5Ia8QyBP91L51TKMha_EKnj5KNPzJs6ZfbKux_yT8Q/edit#gid=1716876762
Un-Merged FACS version V2: V2 B:  No experiment accessions in cell suspension tab
Extra cell suspensions to allow linking cell suspensions to analysis files. The total number of cell suspensions will not fit in a single cell in the spreadsheet, it reaches the maximum limit!
https://docs.google.com/spreadsheets/d/17c1X-390qVd3FdQxBoW4gQPeCf4xN7x7PQR4HvfIm6c/edit#gid=1701476767
Un-Merged FACS version V3: - to be reviewed
https://docs.google.com/spreadsheets/d/1eaSJjVSJPrAbdZD9JoMfqu8TOjC4uTKxbRrqCAO2PA0/edit#gid=1716876762
Published study links

Paper: Human melanocyte development and melanoma dedifferentiation at single-cell resolution

Accessioned data: GSE151091

Ingest: project

Key Events

[x] Convert published metadata to HCA spreadsheet
[x] Manually curate dataset to meet HCA metadata standard
[x] Collect any matrix and cell-type annotation files
[x] Upload sheet to validate metadata
[x] Check linking using ingest graph validator
[x] Transfer raw files to ingest to validate data files
[x] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

Downloading fastq files.

Need to change modelling to reflect individual wells as opposed to samples for smart-seq2.

Some fastq files are not available in ENA.

Requested SRA object files from NCBI Cloud Delivery.

1a14f2aa-7b97-4910-8f3a-b67137bc1525

Removed 3 runs from sequence file tab for which no data is available - tried obtaining fastq files and bam files and they are not available. Tried downloading the sra object files and an error is raised by the tool, they don't seem to be compatible with the tool. The missing runs are: SRR11671398, SRR11671399, SRR11671402

Created test data for the experiment design (cell suspensions as input to cell suspension): https://staging.contribute.data.humancellatlas.org/submissions/detail?uuid=f8fe28ab-8286-41c6-afe7-4b66785e8480&project=6eee6cb1-dc3a-41e2-b8a9-280690f1ec0a

@idazucchi to review when ready (test data being generated)

Stuck in metadata validating status.

Hi Ami, I'm done with the secondary review! It looks good I just have minor comments
Project

the publication url points to the data availability section
this is not an official HCA publication

Donor

Can you record the skin colour in the description?  The skin network told us they are very interested in this metadata
you can add the enthicity

Collection protocol

the ontology label ended up in the retail name field

Specimen

the organ part field is not filled in. If you fill that in with the anatomical_location available from metadata.csv there should be 38 specimens
you could improve the description by removing the numeric codes which are hard to interpret and add the donor name or the organ part

Enrichment protocol

there is a cell size selection step incorporated in the FACS protocol - can you add one more enrichment protocol for size selection 35µm ?
is enrichment_protocol_facs needed? it doesn't select for any specific marker and it's not linked to any cell supsension
it would be better to isolate the markers that are changing, so 1 protocol for

Cell suspension

you can add the estimated cell count = 1 for all smart-seq cell suspensions - not sure how to treat the SRX cell suspensions in this respect
SRX cell suspensions:

the input cell suspensions are listed as input specimens instead
not sure of what protocols we should be using to link them together - do you want to discuss this?

Library prep

you could add the information about the spike in

Sequence file

some fastqs are not compressed - can you compress them?

Analysis protocol

I'm not sure we agreed on this but I think we are using ; to separate the computational method field. We need to be consistent with the separator we use

Analysis file

the louvian files are not cell count matrices, the cell counts are not needed for them

I cant edit the project as it's stuck in graph validating state

Thanks @idazucchi I have made most of the suggested changes.
The enrichment_protocol_facs is needed for the experiment accessions linked to multiple cell_ids, as the cell_ids reflect different cell types enriched using different cell markers during facs.
I changed the relevant input specimens in the cell suspension tab to input cell suspensions (added this column), where the experiment accession is linked to multiple single cell ids (cell suspensions). I will need to update the test data I created for this scenario to reflect those changes.
I can't yet edit the Project, since it is in validating status, but will do when it's done.

Submission needs to be resubmitted

Error deleting project.

ops ticket

Test data still needs testing

Getting an error when creating test data pull request:
https://app.zenhub.com/workspaces/operations-5fa2d8f2df78bb000f7fb2b5/issues/ebi-ait/hca-ebi-dev-team/506

Fixed issue. Now waiting on pull request for the updated Schema_Test_Data.xlsx file in the Schema_Test_Data repo.

Waiting on this PR: https://github.com/HumanCellAtlas/schema-test-data/pull/28

Unblocked by cell-to-cell-suspension test data.

more info on the gating / FACS selection in this thread

The spreadsheet is ready for ingest but we are having trouble deleting the esxisting submission because of its size.
the hca-util area is also ready 1a14f2aa-7b97-4910-8f3a-b67137bc1525

I see the submission was created on 15/2 (today).
I don't understand the problem with this dataset. Which submission were you trying to delete @idazucchi ?

The submission is graph validating but the dataset is huge so I'll keep an eye out to see it it gets stuck
start time ~10AM

the graph validation failed - ticket to address this here ebi-ait/hca-ebi-wrangler-central#1050

Graph validation passed locally
(ingest-graph-validator) wteh@C02DM256ML85 ~ % cd /Users/wteh/Documents/Wrangling/Published/Ami_latest_fake_project
(ingest-graph-validator) wteh@C02DM256ML85 Ami_latest_fake_project % ingest-graph-validator hydrate xls Ami_latest_fake_project.xlsx
23-02-21 16:08:43 [ingest_graph_validator.ingest_graph_validator] - INFO: starting neo4j docker instance
23-02-21 16:08:43 [ingest_graph_validator.ingest_graph_validator] - INFO: attached to backend container [neo4j-server]
23-02-21 16:08:44 [ingest_graph_validator.hydrators.hydrator] - INFO: started xls hydrator for file [Ami_latest_fake_project.xlsx]
23-02-21 16:09:29 [ingest_graph_validator.utils] - INFO: [import_spreadsheet] took [44952] ms
23-02-21 16:09:30 [ingest_graph_validator.hydrators.hydrator] - INFO: imported 19791 nodes
23-02-21 16:09:38 [ingest_graph_validator.hydrators.hydrator] - INFO: imported 253747 edges
23-02-21 16:21:32 [ingest_graph_validator.hydrators.hydrator] - INFO: hydration finished
(ingest-graph-validator) wteh@C02DM256ML85 Ami_latest_fake_project % ingest-graph-validator action test graph_test_set
23-02-21 17:00:09 [ingest_graph_validator.ingest_graph_validator] - INFO: starting neo4j docker instance
23-02-21 17:00:09 [ingest_graph_validator.ingest_graph_validator] - INFO: attached to backend container [neo4j-server]
Usage: ingest-graph-validator action test [OPTIONS] TEST_PATH
Try "ingest-graph-validator action test -h" for help.

Error: Invalid value for "TEST_PATH": Path "graph_test_set" does not exist.
(ingest-graph-validator) wteh@C02DM256ML85 Ami_latest_fake_project % ingest-graph-validator action test /Users/wteh/PycharmProjects/ingest-graph-validator/graph_test_set
23-02-21 17:00:18 [ingest_graph_validator.ingest_graph_validator] - INFO: starting neo4j docker instance
23-02-21 17:00:18 [ingest_graph_validator.ingest_graph_validator] - INFO: attached to backend container [neo4j-server]
23-02-21 17:00:18 [ingest_graph_validator.actions.test_action] - INFO: loading tests
23-02-21 17:00:18 [ingest_graph_validator.actions.test_action] - INFO: loaded [16] test queries
23-02-21 17:00:18 [ingest_graph_validator.actions.test_action] - INFO: running tests
23-02-21 17:00:20 [ingest_graph_validator.actions.test_action] - INFO: all tests finished
(ingest-graph-validator) wteh@C02DM256ML85 Ami_latest_fake_project %

Project is graph valid - currently waiting for ebi-ait/dcp-ingest-central#926 to be in production before trying to export
This project has failed spreadsheet generation due to the large linkingMap in a previous attempt

Stuck in submitted. -needs exporting properly.

successfully exported (described in #1082) and input form sent.


Bug | Failures during fork sync terrafom modules | CircleCI pipeline

Describe the Bug
Failures during fork sync for some terrafom modules, they can not be synced.
Some repos presenting this issue:

terraform-aws-vpc
terraform-aws-lambda,
terraform-aws-transit-gateway,

Expected Behavior
The pipeline should run completed and repositories should sync with any problem.
Steps to Reproduce
Steps to reproduce the behavior:

Go to pipeline outputs at CircleCi (https://app.circleci.com/pipelines/github/binbashar/le-dev-tools)
Check the outputs for git-sync-fork-upstream-terraform

Environment (please complete the following information):
CircleCi pipelines

Workflow : nightly_sync_and_release
Job: git-sync-fork-upstream
Step: git-sync-fork-upstream-terraform

Error messages
git merging conflicts
From ssh://github.com/terraform-aws-modules/terraform-aws-vpc
 * [new branch]      master       -> upstream/master
 * [new branch]      terraform011 -> upstream/terraform011
 * [new tag]         v5.0.0       -> v5.0.0
From ssh://github.com/terraform-aws-modules/terraform-aws-vpc
 * branch            master     -> FETCH_HEAD
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint:   git config pull.rebase false  # merge
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.
Divergent branches found, trying to rebase...
From ssh://github.com/terraform-aws-modules/terraform-aws-vpc
 * branch            master     -> FETCH_HEAD
Rebasing (1/2)
Auto-merging .gitignore
CONFLICT (content): Merge conflict in .gitignore
Auto-merging main.tf
CONFLICT (content): Merge conflict in main.tf
Auto-merging outputs.tf
CONFLICT (content): Merge conflict in outputs.tf
Auto-merging variables.tf
CONFLICT (content): Merge conflict in variables.tf
Auto-merging versions.tf
CONFLICT (add/add): Merge conflict in versions.tf
error: could not apply e2f03e1... Initial commit for terraform 0.12 version
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply e2f03e1... Initial commit for terraform 0.12 version
evaluating

Additional Context
Topic discussted here: https://binbashar.slack.com/archives/G5MVCJ48K/p1687543928352309?thread_ts=1687046958.485649&cid=G5MVCJ48K

The issue has been resolved by this PR:
https://github.com/binbashar/terraform-aws-transit-gateway/pull/1

The issue has been resolved by this PR:
https://github.com/binbashar/terraform-aws-transit-gateway/pull/1


Minor: improve error message when ARRAY literals can not be planned

Which issue does this PR close?

Part of https://github.com/apache/datafusion/issues/13854

Rationale for this change
There was a problem running substrait tests as they didn't activate the right features in DataFusion:
Error: Internal("Expected a simplified result, but none was found")

This error was confusing as it sounded like a bug and didn't hint at how to fix the problem
What changes are included in this PR?
Improve the error message to be more specific about what is wrong and change from internal to not implemented

Are these changes tested?

Are there any user-facing changes?

Thank you @comphead


Allow kam commands to reuse Git auth-token

What type of PR is this?

/kind enhancement

What does this PR do / why we need it:
This feature allows you to set the token at the time of bootstrap and can be reused at the time of the webhook create.
Have you updated the necessary documentation?

[x] Documentation update is required by this PR.
[ ] Documentation has been updated.

Will be addressed after Pr is approved.
Which issue(s) this PR fixes:
https://issues.redhat.com/browse/GITOPS-349

/retest

/test unit

+ echo 'command-documentation is out of date (run make cmd-docs).'
command-documentation is out of date (run make cmd-docs).
+ exit 1

@gaganhegde ^

Codecov Report

Merging #80 (4391874) into master (99ed0df) will decrease coverage by 1.30%.
The diff coverage is 31.42%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   60.76%   59.46%   -1.31%
==========================================
  Files          52       52
  Lines        2546     2595      +49
==========================================
- Hits         1547     1543       -4
- Misses        850      897      +47
- Partials      149      155       +6

Flag
Coverage Δ

unittests
59.46% <31.42%> (-1.31%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cmd/ui/ui.go
0.00% <0.00%> (ø)

pkg/cmd/webhook/webhook_cmd.go
43.75% <ø> (-32.73%)
:arrow_down:

pkg/cmd/bootstrap.go
32.57% <23.52%> (+2.38%)
:arrow_up:

pkg/pipelines/webhook/webhook.go
25.77% <53.84%> (+10.28%)
:arrow_up:

pkg/cmd/webhook/delete.go
0.00% <0.00%> (-33.34%)
:arrow_down:

pkg/cmd/webhook/list.go
0.00% <0.00%> (-30.44%)
:arrow_down:

pkg/cmd/webhook/create.go
0.00% <0.00%> (-24.14%)
:arrow_down:

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 99ed0df...4391874. Read the comment docs.

@gaganhegde   My first try and It was a no-go.
[wtam@localhost kam]$ kam version
kam version v0.0.12-31-gf55c745
[wtam@localhost kam]$ kam bootstrap
 ✗  invalid configuration: no configuration has been provided
``

/lgtm

/retest

approved and lgtmed by @bigkevmcd @wtam2018. Due to some commit after kevin review comment lgtm label has been removed.
/approve
/lgtm


./Makefile doesn't work

Running ./Makefile gives me the following output and then, of course, nothing works.
Dragging / dropping the pdfscale.sh manually into the usr/local/bin directory makes it work but I guess this is not intended.

Hi,
That is not really how you run a Makefile (it is not an executable file).
You should just call make <target>.
The make utility reads the file Makefile for its targets.
As mentioned in the Readme.md, just call:
sudo make install

You will need to have make installed
(eg. sudo apt-get install make)
Or you can do without make using the -i, or --install option, as in:
./pdfScale.sh --install

Cheers!
Gus

Thank you very much!
Michele Galvagno
<EMAIL_ADDRESS>Tel: +39 327 584 64 64
On 7 Nov 2018, 08:30 +0100, Gustavo Arnosti Neves<EMAIL_ADDRESS>wrote:

Hi,
That is not really how you run a Makefile (it is not an executable file).
You should just call make .
The make utility reads the file Makefile for its targets.
As mentioned in the Readme.md, just call:
sudo make install
You will need to have make installed
(eg. sudo apt-get install make)
Or you can do without make using the -i, or --install option, as in:
./pdfScale.sh --install
Cheers!
Gus
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No worries mate!
Cheers!
Gus


added _get_activations for Keras-2.2.4 compatibility

Problem in issue #4 was in difference between Keras-1 and Keras-2 apies for getting model layers. This commit and your previous quick fix update keras2pmml library to keras version 2.2.4.

So, now it works correctly with Keras-1 and Keras-2.

So, now it works correctly with Keras-1 and Keras-2.


bin/resolve is broken?

You can see in this example I'm trying to use the --interactive mode, but it's concatenating the resulting path.

I think this was fixed in https://github.com/bullet-train-co/bullet_train-base/pull/55. If not there, it was fixed somewhere along the way. I just tested this and it's working in main on the starter repo. Going to close this.


2.4 issue when opening

When I open the program I get an error: 'The object does not have any child collections'

This was fixed in the latest update to version 2.4. Turned out to be an issue with models containing KPIs (thanks @rwforest). I've added KPIs to my test model to hopefully avoid regressions in the future.
Feel free to reopen the issue if you have questions.


preserve string in input field

Hi Edy,
this is also more a question than a bug (bug is lack of docs - but maybe I can help here...)
Could you explain a pattern with djhtmx how it is possible to preserve the content/value of an input field when it is htmx-swapped?
{% load tz i18n htmx %}
<div {% hx-tag %}>
  <form>
      <input
          name="q"
          type="text"
          autofocus
          required
          {% on "keyup changed delay:300ms" "validate" %}
          {#          value="{{ q | default:'' }}" #}
      >
      <button {% on 'search' %}>search</button>
    </div>
  </form>
</div>

<div  id="search-results" hx-swap-oob="true">
foo
</div>

And the component
class SearchInput(Component):
    template_name = search_input.html"

    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        # self.q = ""

    [...]

    def validate(self, **kwargs):
        search_text = kwargs["q"]
        #    [...

        # self.q = search_text

Each time validate() is called,  the input field is reloaded and the input is cleared. So with every swap, a new Component seems to be created, and __init__() is called. Which seems to be a bit of wasting ressources? But anyway, this makes it clear that a self.q = ""  in the init method clears the content each time. But if I remove this line, the search input value gets preserved - but the cursor is put at the beginning, so it's not really possible to write anything in the input field.
You say that you use morphdom and I saw code to preserve focus. HTMX has support for even keeping the selection in an inpu field AFAIK. Do I do something wrong here - or how would you create a component with an on change event triggering a validation or similar without crashing the value of the input field?
Thanks in advance

Try using hx-disable where you don't want it to re-render, in the input element

hx-disable prevents changing the field altogether by htmx. But it is like not using htmx. I want to change that tield, e.g. give it a class, or even change the text in it. I just don't want to loose focus (it's gone after an update). If I give it the autofocus attr during swap, It regains the focus again, but the cursor is at the start.
Could this problem be because of morphdom? If I look at the description of the extension, it says that
The morphdom library does not support morph element to multiple elements.
If the result of hx-select is more than one element, it will pick the first one.

Therefore? do you use this extension?


Fix typo in cowboy_http:asctime_date

{error, badarg1} seems to be wrong.
https://github.com/ninenines/cowboy/blob/1.0.x/src/cowboy_http.erl#L428
should be replaced with {error, badarg}

Not a typo, that's actually how it used to be, and it was left over from newer changes.
Thanks, I'll merge it probably tomorrow, I need to get 1.0.x onboard the CI train first.

Merged, thanks!


Dataset stuck in validating state

My dataset has been stuck in "metadata validating" state since Friday morning. I think there is something wrong. It would be great to get this unstuck so it makes it for the April release.
https://contribute.data.humancellatlas.org/submissions/detail?uuid=8e463a3e-08f5-4afe-8267-5a637d1b5cfd&project=005d611a-14d5-4fbf-846e-571a1f874f70

@ami-day There was an issue in validating one process. I wasn't sure what caused this. I triggered a draft event to revalidate it by changing the process id and undoing the changes. That set's the submission to Metadata Valid. I've proceeded to trigger the graph validation.
Dev notes: (for future reference)
It should be possible to see the metadata doc id in the state machine in the state tracker https://api.ingest.archive.data.humancellatlas.org/submissionEnvelopes/624d876bb06b223527d4c091/documentSmReport
Steps I did:

I checked the state tracker endpoint from documentSmReport link in the submission _links and I found the id 624d884cb06b223527d4cc84  is still Validating in the state tracker.

I tried to find the entity type of the id by trial and error

Tried accessing the document's resource in Ingest API :
https://api.ingest.archive.data.humancellatlas.org/biomaterials/624d884cb06b223527d4cc84
https://api.ingest.archive.data.humancellatlas.org/files/624d884cb06b223527d4cc84
and finally found that it's a process
https://api.ingest.archive.data.humancellatlas.org/processes/624d884cb06b223527d4cc84
I am uncertain why the valid event didn't get received/processed by the state tracker.

I updated it via UI, and revert the changes

It was revalidated and that set the overall submission state to Metadata Valid

The submission is now in Graph Validating state .

I'm having the same issue with submission AtlasOfSubstantiaNigraInPD– would it be possible to do the same fix for that one?

@ami-day I'm setting back the first submission of this project to Exported to upload the new spreadsheet you gave me on slack. https://contribute.data.humancellatlas.org/projects/detail?uuid=005d611a-14d5-4fbf-846e-571a1f874f70

The spreadsheet is now being imported to the submission : https://contribute.data.humancellatlas.org/submissions/detail?uuid=dc0828c4-2d46-4313-b408-e69e4c7ccd33

Now awaiting data file upload @ami-day


Radio beeps

Hello so for a server that I'm a part of there seems to be an issue we can't figure out. We use PMA voice for our radios and it seems that majority people can hear the radio beeps when somebody or themselves key up but for some they are unable to hear the beeps. Is there a fix for this?

ask them to try clear their cache to see if that fixes it


create admin phal

a new step creating system service for admin phal should be added here, this is the only ovos component running as root
docs
https://openvoiceos.github.io/community-docs/PHAL/#admin-phal

I have this to where it installs and is vendor enabled, but can't get it to auto start on boot.  I started a team chat to try and get some help.

This is fixed in the last dev branch commit


Running the client in background

Hello,
I'm trying to use your websocket async client and I got problems to run asynchronously the client.
I did something like :
class Test(legacy.Legacy):
   def __init__(self, xx):
      self.client = CryptoXLib.create_aax_client(self.__api_key, self.__api_secret)

    async def account_update(self, response: dict) -> None:
        print(f"Callback account_update: [{response}]")

    async func(self):
        self.ws_request_client.compose_subscriptions([
            AccountSubscription(callbacks=[self.account_update])
        ])
        await self.ws_request_client.start_websockets())
        # a lot of other stuff then
        toto()
        tata() # do some orders on market
        .....

If I do that, await will block the execution flow and toto/tata will never be executed. However I'll see orders with account_update function callback (order that I do manually).
I would like to subscribe to Account but keep the execution flow, to execute toto and tata. I did tried this, but now I don't see orders (like websockets never been started) :
class Test(legacy.Legacy):
   def __init__(self, xx):
      self.client = CryptoXLib.create_aax_client(self.__api_key, self.__api_secret)

    async def account_update(self, response: dict) -> None:
        print(f"Callback account_update: [{response}]")

    async func(self):
        self.ws_request_client.compose_subscriptions([
            AccountSubscription(callbacks=[self.account_update])
        ])
        loop = asyncio.get_event_loop()
        loop.create_task(coro=self.ws_request_client.start_websockets())
        # a lot of other stuff then
        toto() # now executed
        tata() # now executed, do some orders on market
        .....

I'm calling the function func in another class with asyncio.run(func()) to avoid the await/async all my app.
Any advise would be appreciated

Hi @bastienjalbert ,
you are probably after a construct like this:
async def main_loop():
    while True:
        toto()
        tada()
        await asyncio.sleep(1) # sleep asynchornously for 1 sec

async def run():
    client = CryptoXLib.create_aax_client(api_key, sec_key)
    client.compose_subscriptions(...)

        await asyncio.gather(*[
            client.start_websockets(),
            main_loop()
        ])

    await client.close()

if __name__ == "__main__":
    async_run(run())

Have a look at examples/ws_subscriptions.py.

Thank you @nardew, appreciate that !
Is there any way to prevent main_loop() to be executed (like waitFor) until the client.start_websockets() has been "launched" ?
Since toto() or tada() may push orders on the market, I would like to monitoring them through the compose_subscriptions callback, but the websockets subscription / start looks slower then my main_loop()

I am not quite sure what is the ultimate goal but if you need to make sure toto and tada are called only after the streams are initiated, then you can
i) add toto and tada directly into the websocket callback
i) have a variable which is set in the websocket callback and then have a check for the variable in the main loop

Since there was not follow up in the past month, I am closing the thread. Re-open if needed.


Question about frame-archive debug messages

T265 and D435 on RPI4
I have RS2_LOG_SEVERITY_DEBUG set and am getting frames from both the T265 and D435
The console outputs looks like (I have snipped for just pose, but the exact same thing happens for depth):
14:31:04,407 DEBUG [3660913424] (archive.cpp:293) CallbackStarted,Pose,32304,DispatchedAt,1617715864407.777832
14:31:04,407 DEBUG [3660913424] (archive.cpp:293) CallbackStarted,Pose,32304,DispatchedAt,1617715864407.924561
14:31:04,407 DEBUG [3660913424] (frame-archive.h:148) CallbackFinished,Pose,32303,DispatchedAt,1617715864407.972412
14:31:04,408 DEBUG [3744840464] (frame-archive.h:148) CallbackFinished,Pose,0,DispatchedAt,1617715864408.260742
14:31:04,408 DEBUG [3744840464] (frame-archive.h:155) Frame Callback [Pose#0] overdue. (Duration:<PHONE_NUMBER>408.260742ms, FPS: 200, Max Duration: 6ms)

Reading this is seems like the following happens:

We register a callback twice
Both callbacks return from USB land.
Only one actually has data, the other is just zeros (hence the Pose#0 or Depth#0, and a duration equal to now-0)
We correctly parse the one with data and it goes on its way, but the one that is all zeros then gets thrown away?

Why are we creating this frame or registering the callback twice?
Its clearly two different timestamps, so why the same frame number?
If this is somehow supposed to happen, with empty frames running around doing nothing, why?

@csr-kick Did you get this with your own code? If so, could you please share your code or code snippet.  And also did you get chance to try with SDK examples such as https://github.com/IntelRealSense/librealsense/tree/master/examples/callback to see  if you get this issue also?
Besides, could you please provide the information below?

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Updated top comment with setup.
Take rs-pose  or rs-depth examples.
Add in the line:
rs2::log_to_console(RS2_LOG_SEVERITY_DEBUG);
as the first line in main.
recompile and run either example.

@csr-kick Could you please provide more detailed information about SDK(librealsense) and Firmware version for both T265 and D435? You can check this with RealSenseViewer if you've installed it.

And one more question - did you get such issue with only one camera connected?

As I updated on the first post, it shows this problem on all version at least 2.35 and up (I have not gone lower), with the associated firmwares of those sdk versions. The D435i is anywhere from 5.12.5 to 5.12.12 and the t265 is 2.0.951
It does happen with only one device connected.
This is a trivial problem for you to verify on your end, grab an RPI4, add the single line to your examples, build, and run.

@csr-kick Thanks for your information! Will have a try on my side.

Hi @csr-kick ,
Thanks for notifying about this issue (and sorry for the late response).
We investigated the issue and we discovered that the prints were somehow confusing (You are right!).
I will explain:
The duplicated prints of "CallbackStarted" is not cause by duplicated frames or callbacks.
The prints were inside a generic mechanism that served several features, It was printed first at the start of the first callback ,
second at the next processing block that follows it and so on..
The wrong duration time lines were printed probably because the frame was a composite frame  (a combo frame that holds several frames inside)  release which is missing metadata since each frame inside holds different data.
We are refactoring our logs for the frame lifetime currently.
I will update this ticket once we have a merged PR for it.

That's a pretty obscure bug, and I will bet it was not fun to figure out.  I found it while investigating the T265's problem where it will stop sending data to the host computer:
INFO [2949632528] (tm-device.cpp:1408) T265 FW message:<PHONE_NUMBER>7758289392: [0x�/2:721] Host not reading - stopping
See 6362
In searching for a solution to that bug, this error kept appearing. I spoke with some people who were more experienced with USB than I am, and their advice to try and fix the 'Host not Reading' bug was to use the USB async transfer functions to add more than one pending transfer to the transfer ring.
This was on the theory that one of the two devices, be it the RPI4 or the T265, was periodically missing one side the data transfer request. Based on the message coming from the T265, 'Host not reading', the T265 was probably queueing up the data internally, but the RPI4 was either generating the request too quickly when the T265 is not in a position to receive it, or the request never gets to the T265 in the first place, so the device sits and waits for a transfer request that never arrives while the RPI4 thinks everything is fine.
By queueing up an additional pending transfer, maybe on a delay, one request should always be ready. The multiple 'callback started/finished' error made it look to me like maybe there WAS an additional transfer queued, and one of the two was returned with no data, then went through your system and printed out the message with all 0 values.
Unfortunately, I stopped there with implementing the multiple transfer idea, as it became clear that we had to move our resources and focus to a solution that was more reliable out-of-the-box. I know you stopped supporting the T265 a long time ago, but it would be such a gift if someone were to be able to solve this particular problem with the device for those of us who still own them. I cannot stress enough how this one single bug doomed this device's sales. My company alone would have purchased hundreds, if not thousands, of T265s had this been fixed. But, as you are going to find out with the depth sensors, no company will base the foundations of their product on a sensor with questionable support and an uncertain future.

@csr-kick ,Thanks for sharing this information.
Regarding the logs,
the logs has been refactored and should be much more user friendly now.
PR #9716 .
Will be contained in the next releaser.
I hope it helps.
Good luck.

@csr-kick Did you get chance to try https://github.com/IntelRealSense/librealsense/pull/9716 and any other questions about this? Looking forward to your update. Thanks!

@csr-kick Sorry that we didn't get update from you for weeks. Will close the ticket at this point. Please feel free to create another new ticket if you still have questions or issues. Thanks!


Make Decorators Generic

Make Decorators Generic enough that they can be defined from outside.
This means including all data in a single space:
decorator
metadata model
metadata internal model
component class
decorator type

As the first suggested approach would lead to the loss of type safety, a generic @custom decorator will be introduced.


PCSE00015 [Shinobido 2: Revenge of Zen] Ingame playable!

App summary

App name: Shinobido 2: Revenge of Zen
App serial: PCSE00015
App version: 1.0

Vita3K summary

Version: v0.1.5
Build number: 2570-ffa66d88
Commit hash: https://github.com/Vita3K/Vita3K/commit/ffa66d88de3a1b25bed47b5b85074b3b99778ee6
CPU backend:  Dynarmic

Test environment summary

Tested by: 7GEN emulation news (https://vk.com/rpcs3)
OS: Windows 10
CPU: Intel i7 7700k
GPU: NVIDIA 1060 6G
RAM: 16 GB

Issues
Ingame with Gameplay
Screenshots
Video:
https://vk.com/video-75040291_456267157
Screenshot:

Log
Recommended labels

A?
B?
C?

same before, already exist, using post exist and post your screenshot and log on it


[5.9] Container build method catch ReflectionException

This pull-request was discussed at #27959 and laravel/ideas#1573.
It updates the Illuminate\Container\Container (~ line 795) to catch the ReflectionException thrown by the new ReflectionClass($concrete) call. This catch will throw a BindingResolutionException.
This is a breaking change, since people who are catching ReflectionException on make or build call will now have a BindingResolutionException instead. So I propose to include this in the next Laravel release.

Is a class not existing the only reason a ReflectionException would be thrown in this case?

According to PHP documentation, this is the only case.
http://php.net/manual/en/reflectionclass.construct.php

According to this comment (but it is PHP 5.3), it can be thrown when the class can not be instantiated.
http://php.net/manual/en/reflectionclass.construct.php#107310

I can't see why an exception would ever be thrown. I don't think it's possible, and can't replicate it.


Ensure view counted before we check rewards

The view may not fire by the time we check for rewards in https://github.com/lbryio/lbry-desktop/blob/c41df0dba5a6c7be572af87712f298110b196881/src/ui/component/fileViewer/index.js#L38

A user ran into this recently on Discord. He had to start a 2nd video to get the reward.

probably the same as https://github.com/lbryio/lbry-react-native/pull/41/files#diff-df6261edb1a1cfdc321e00ea839dc65dR492

Also, it won't auto-claim the reward unless it's in the reward list (current behavior in redux).
We should consider calling reward_list in the background every half hour or so (we used to do this with the old homepage). Another option would be to call it before a download, but we probably don't want to (and might as well remove that requirement from redux if we wanted that).


Links in the changelog.md

Summary
Add a hyperlink to the user and PR. To have them when you open the changelog.md
Motivation
This would be grade to have so when you clone the repository or open the changelog file directly you can go the the PR and not need to search it or go the the releases page.
One why this could be done without having long lines is to use a reference-style link.

Yesh @ResuBaka
It's great if an add anchor link
@jablpiotrek, Should I generate PR for the same?

Github does it automatically. Not sure if it's necessary


Mode fast charging without battery consumption

Is your feature request related to a problem? Please describe.
When I want to charge my car quickly, the house battery is used, but I want to save the battery's energy for the night.
So I have to manually change the parameters on my inverter SMA SUNNY TRIPOWER 10.0 SE so that the battery is not discharged.
After the charging I must manually change the parameter back to my default value.
Describe the solution you'd like
A possibility to deactivate the discharge of the home battery, that means that parameters in the inverter must be changed and updated every time.
The idea is for the SMA SUNNY TRIPOWER 10.0 SE, it is a hybrid inverter, to set the parameter 'Minimum width of the replacement current range' (Minimale Breite des Ersatzstrombereichs) to the value of 'Current battery charge level' (Aktueller Batterieladezustand). So the discharge is stopped.
While the mode is on fast charge, each minute for example, the value of the parameter 'Minimum width of the replacement current range' (Minimale Breite des Ersatzstrombereichs) must be updated how described before.
If the mode changed again to another mode then fast charge then the parameter must be switched to a value which can be defined in the config, for example 10%.
That would be a workaround for the moment because the current firmware of the new SAM hybrid inverters has no other possibility or better the parameters are not existing.

Siehe https://github.com/evcc-io/evcc/discussions/6788


HDDS-4067.Implement toString for OMTransactionInfo

What changes were proposed in this pull request?
To help debugging, It would be helpful to print actual transaction info by toString().
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4067
How was this patch tested?
N/A

R: @bharatviswa504

@cxorm
Thanks for helping trigger CI check! Can you tell me how to trigger a new CI (my first time to contribute to Ozone) so I can do myself?

Can you tell me how to trigger a new CI

git commit --allow-empty -m 'trigger new CI check' && git push

(my first time to contribute to Ozone)

Welcome. :)

friendly ping @bharatviswa504

Thank You @amaliujia for the contribution.


One dialog for period/ovulation/symptom

Instead of having three buttons we should just have one button and then in the dialog have (some sort) of way of choosing if it's period, ovulation or symptoms. (and removing said state should remove that kind of date from the database)
Keep in mind that you might want to select several days at once (for example periods) but ovulation can only be one day so that option should be disabled in that case.
Can someone come up with a design of how this dialog should look like?

It will probably not look good... Maybe we need to figure out another way to add symptoms/ovulation/periods without cluttering up a dialog.


[Task]: Align all action menus correctly wrt to the open button

Task description
I have asked ux team to define and make consistent the position of the menus opening wrt the button used to open it.
Requirements

[ ] Align position of all menus
[ ] Move meny to the right on the token information popup

Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

blocked: waiting for designs

https://www.figma.com/file/rrTiOHqpjQ54UGhT38nKy0/Wallet-tab-[WIP]?node-id=566%3A225745


⚠ Bofrost.de has degraded performance

In dabaef0, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1329 ms

Resolved: Bofrost.de performance has improved in 7954dd6 after 29 minutes.


docs: clarify tutorials usage

I added a disclaimer in the tutorials' readme to make user that users know that they are not supposed to run the notebooks' code into python interactive shell.

coverage: 83.933%. remained the same
when pulling 58311f936468c1df7c7bc11470bd94c15960008e on 609_inspect_source_code_clarify_gcroci2
into 04615569d251f37918e16cb459b0581ef1d2c8fa on main.

Good addition. This clarifies that users should use the system we provide. I do think we can be less explicit about what goes wrong if they don't (as per my suggestion below).

I accepted your suggestion and I removed the section's title (thinking about it the note is enough)

Also, should this PR point to dev instead of main? or is that not needed if it's just docs changes? It looks like it was branched off of dev, but now points to main.

Indeed, moved to dev :)


Unlink functionnality actually seem to apply to release pipelines

The Link and Unlink functionality applies to build pipelines only. It does not apply to release pipelines.

The "Unlink all" button does exist on "Releases" Pipelines, and is referenced on another doc. I personally don't see it on a "Pipelines" Pipeline, or what we would call "Build" Pipelines. But then, what is refered as Build Pipelines in the docs are actually under "Pipelines" > "Pipelines" in the Azure DevOps menu, so I can't state with certainty what you are referring to when you say "build pipelines" on this page (I find this to be very confusing and I won't miss an occasion to mention it ^^).

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

ID: 1ec7e5a9-e22e-a329-14cf-6e21e65cc85f
Version Independent ID: c96aaf4e-f5ec-c42f-05cb-e2366167fbc6
Content: Process parameters - Azure Pipelines
Content Source: docs/pipelines/process/parameters.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

@sambauwens Thanks for the feedback. Task groups are only available for Classic pipelines. I'll add a qualifier in the title to make this clearer.


Certain timeout checking

Global runner script checks certain timeouts now. That means that tests of bigger sizes won't be run if tests of smaller sizes is interrupted due to timeout. E.g. if GMM test of K = 10 finishes with a timeout, then GMM tests for K greater or equal than 10 won't be run (either for the current d or for others, but 1k and 10k cases are checked separately).

Ideally I would like to find a different word than "certain".  It's a bit ambiguous since it can also mean something more like "particular", as in "certain people have been working on the ADBench project".  I don't have a particularly compelling suggestion but "sure" and "guaranteed" are probably OK.

This looks like it will be very useful! Do we know how much this speeds up a full run?

Actually, we don't know yet, because full run is performed once a week. So, I hope this PR will finish this week till friday, thus the new full run will use a new version of the global runner.

Ideally I would like to find a different word than "certain". It's a bit ambiguous since it can also mean something more like "particular", as in "certain people have been working on the ADBench project". I don't have a particularly compelling suggestion but "sure" and "guaranteed" are probably OK.

Certain timeout now is called guaranteed timeout


Backwards Compatible Calls cause exception

Using pow_postgres_store the first time logging in after application startup causes an exception:
function Pow.Postgres.Store.keys/1 is undefined or private
The issue here seems to be:
defp has_binary_keys?(store) do: not function_exported?(store, :all, 2)
Documentation states:
Note that this function does not load the module in case it is not loaded.
Check Code.ensure_loaded/1 for more information.

So simply calling Code.ensure_loaded(store) upfront fixes the issue.
To reproduce this behaviour setup pow_postgres_store as store and try a login directly after application startup.

See MR: https://github.com/danschultzer/pow/pull/452

Thanks! 🙏
The PR looks good though I try to get around all Code.ensure_compiled?/1 and Code.ensure_loaded?/1 calls due to https://github.com/danschultzer/pow/issues/329. Guess Pow 1.1.0 can't come soon enough now! I want to review a few alternative ideas but otherwise get this merged.
Out of curiosity, does this only occur if you start up with mix phx.server instead of running a release?

Solved with #452 8e5a20fbd7decc1243109f0ed40fe360043f35c6

Out of curiosity, does this only occur if you start up with mix phx.server instead of running a release?

I can confirm that this does only occur running mix phx.server.
But thanks for merging this <3


method_missing': undefined method convert_environment'

Hi,
First of all, thanks for all the work on this package!
I am trying to compile a formula within an env.equationalign environment, but I get an error.
Minimum example:
[env.equationalign]
--
P(C=c|G=g) & = \frac{P(C=c,G=g)}{P(G=g)} & \text{(Bayes theorem)} \\
& = \frac{\sum_{b \in B} P(C=c,G=g,B=b)}{P(G=g)} & \text{(Law of total probability)} \\
& = \frac{\sum_{b \in B} P(C=c|G=g,B=b) \cdot P(G=g,B=b)}{P(G=g)} &\text{(Bayes theorem)} \\
& = \frac{\sum_{b \in B} P(C=c|G=g,B=b) \cdot P(G=g) \cdot P(B=b)}{P(G=g)} \quad&\text{($B$ and $G$ are independent)} \\
& = \frac{P(G=g) \cdot \sum_{b \in B} P(C=c|G=g,B=b) \cdot P(B=b)}{P(G=g)} &\text{(Factor out $P(G=g)$)} \\
& = \sum_{b \in B} P(C=c|G=g,B=b) \cdot P(B=b) &\text{(Simplify num. and denom.)}
--

and the error is (with --trace):
$ asciidoctor-latex -a stylesheet=asciidoctor.css -a stylesdir=styles/ "example.adoc" -b html -o "example.html" --trace
/Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter/html5.rb:1306:in `method_missing': undefined method `convert_environment' for #<Asciidoctor::Converter::Html5Converter:0x00007f9a2500ec88> (NoMethodError)
Did you mean?  convert_inline_menu
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter/html5.rb:88:in `convert'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:75:in `convert'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `block in content'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `map'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `content'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/document.rb:1020:in `content'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter/html5.rb:227:in `convert_document'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter/html5.rb:84:in `convert'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/document.rb:951:in `convert'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:118:in `convert'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:183:in `block in convert_file'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:183:in `open'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:183:in `convert_file'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:128:in `block in invoke!'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:111:in `each'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:111:in `invoke!'
        from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-latex-<IP_ADDRESS>.dev/bin/asciidoctor-latex:20:in `<top (required)>'
        from /usr/local/bin/asciidoctor-latex:22:in `load'
        from /usr/local/bin/asciidoctor-latex:22:in `<main>'

Am I doing something wrong?
I am using:
$ asciidoctor-latex --version
Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

I don't believe this converter / extension is compatible with Asciidoctor 2.

Ok! Is there any alternative to get these aligned, multiline equations? I could not find it out through the documentation.
By the way, I had tried the above with 1.5.8 and had the same problem. However, after uninstalling asciidoctor and reinstalling version 1.5.8, it worked.

Is there any alternative to get these aligned, multiline equations? I could not find it out through the documentation.

I don't know the answer to that question. Perhaps someone else who is using it does.


udp errors

[24899:0429/095427:INFO:socket_host_udp.cc(337)] sendto() has failed twice returning a  transient error. Dropping the packet. fills up my console (on a mac)

see #50 for more information & a fix :)


Strange results

Hello this is a very interesting project. I tried with the default graphics (MSFT) and I got a great result.
But now, I am trying to train a model for EURUSD asset from Forex (15 minutes timeframe)

But I am getting this result... and sometimes is just a rect line...
I am trying to understand this better, I am not experienced with neural networks before, but may you able to help me to understand?
Thank you!

Or may someone can recommend any content to study and understand it better? Thanks

Hi, could you upload a more complete picture of the graph, with the legends and the axis. And also the parameters you have used.

Hi, could you upload a more complete picture of the graph, with the legends and the axis. And also the parameters you have used.

Hello! In attach the JSON containing EURUSD (~6.000 15 minutes candles) data:
https://drive.google.com/file/d/1XXiUfSL9eBkPjUhAnu4mTkH1jdceieTz/view?usp=sharing
I am using the same algorithm with the following parameters:

Training Dataset Size: 98
Epochs: 25
Learning Rate: 0,01
Hidden LSTM Layers: 4
Simple Moving Average Period: 20

I also tried with different training dataset size, epochs and SMA periods... The result are always the same.
This is the training chart:

This is the validation chart:

And this is the predict chart:

This trained model download:
https://drive.google.com/file/d/1n7eMn-OTMK1ziSqI-2IOKOFR3jLrm_ZH/view?usp=sharing

I am facing exactly the same problem

I am seeing the same result as well, i forked a version and trained the code, i see the same result locally as well.

This is the challenge of machine learning, that a model, out of the box, doesn't work for all kinds of data. There is a lot of parameter tuning involve. There may need to do more feature engineering. Or there is a need to change the model architecture.
Indeed, you can see that you are not the only one who faced this problem:

LSTM always predict same values for all inputs in the batch
Outputs of LSTM Model all Very Similar or the Same
Pytorch RNN always gives the same output for multivariate time series

I do not have an answer for you, unfortunately. Some suggestions would be:

include more data features, maybe can include volume as well
include more data features, maybe trading indicators such as MACD, RSI, Bollinger bands
build another model architecture

@kaykyr, it's really strange you are getting a flat line on the training set too. I think have to debug (doing lots of console.log) and figure out what is the issue. At the minimum, you should get the model to overfit on the training set.

@kaykyr, it's really strange you are getting a flat line on the training set too. I think have to debug (doing lots of console.log) and figure out what is the issue. At the minimum, you should get the model to overfit on the training set.

Hey, thank you!
It's very strange, but I built the same model with python with latest versions (Keras/Tensorflow) I got other result, but looks like it's predicting to the future the same thing of the past.
But, it's ok, now I know that this is a thing that needs too much effort to works great, I'll keep learning and improving my model.