Display the list of attachments in a page

Could you please provide the steps you did to create the page to display the list of attachments? I can't get that part. Do you have to change the sys_id every time you want to see attachments?
Also, how to add the widget to a form. I use a Catalog Task form.
Thanks for your help.
Diorella.

The article references a Service Portal page, so you can create your own or use the out of the box pages.

Thanks. I was able to create the page and display the widget. How did you load the service portal page to the form (incident)? I see you a tab.

Yes, you just need to create a custom UI Macro/Formatter and use iFrame to load a Service Portal page. There is a section in this blog post that explains the process.

Thank you Andrew. I followed the process but I'm still having issues to display the Formatter in the form. This is what I did:

I created a service portal called My Page Portal. URL suffix is mpp. I just added that. Did I miss something from there? See the picture. When I did click on try it works. The src line works fine I tested it.

I created the UI Macro and do it in this way. I had to add the tr and td tags. This article says that.

Then I created the Formatter.

When I added the formatter to the form it does not display anything.

Could you please advise? I'm almost done with this and I really appreciate any help!

@Diorella90 send me an email to<EMAIL_ADDRESS>

I just sent you an email.


any tutorial on using of this?

thanks so much for your help. This is a great repo.

@LiXingguangBrandonStark happy to help! I am always happy to chat about babette, send me an email if you'd enjoy that too.
Closing this Issue :+1:

@richelbilderbeek yes, I am very interested about this, I will email to you, could you please tell me your email, thanks.

As I am -to my surprise- no longer a member of beast-dev, I cannot close this Issue. I'll let the beast-dev-team close this Issue :-)

@LiXingguangBrandonStark googling my email is simple. Try, for example, here :-)

so babette is for beast2?

@LiXingguangBrandonStark babette is for BEAST2 indeed. For BEAST, I have no good suggestions.

but some codes can be used for BEAST, right?

thanks. you are so nice.


EdgeConsoleClient sends the request to only localhost:5000 all the time

Describe the bug
If I run the MediatorAgentService in the localhost:6000, and execute the EdgeConsoleClient with the EndpointUri = "localhost:6000", EdgeClient sends the request to localhost:5000
To Reproduce
Steps to reproduce the behavior:

Open MediatorAgentService/Startup.cs and update options.EndpointUri = "http://localhost:6000/"
Open MediatorAgentService/Properties/launchSettings.json and update the port number from 5000 to 6000
Open EdgeConsoleClient/Program.cs, and update the port number from 5000 to 6000
Run the mediator
Run the edge client

Actually, the call to CreateInvitationAsync fails because it sends the request localhost:5000
Expected behavior
Run without error

@airoasis When you run the services locally, both mediator and agent provision a wallet for that service. Running it subsequently, doesn't provision the wallet again, so your old changes were preserved.
To fix this, simply remove all wallets under ~/.indy_client/wallet folder and run the updates services again.

I have resolved the issue. Thank you very much.


Fix arc offset calculation

Fix #9090
After some trial and error, this is what I came up that looks good to me in all cases.

Actions are down


Trigger a build for branch-2.8 to see if the build passes

Trigger a build for branch-2.8 to see if the build passes

@315157973 The build results from this empty PR will be helpful for checking branch-2.8 state.

@315157973 The tests passed. It's possible to reopen this PR to get the tests to run for branch-2.8.

Closing and re-opening to trigger tests.

Triggering build for 2.8.3 rc 3

Test testRemoveClusterFromNamespace failed with a timeout for the broker group 1 unit tests. Restarting now. Since it was a timeout, it might just be flaky.

Tests passed, so it was just flaky.

Closed as stale. I think we're now using personal CI for casual testing :)


Display results

PR added new resultBar (alert-danger) If output from command exists.

How to test:

Apply PR  - no results, no error area
Apply same PR again - see info about  not ptached files

Looks like only indentation changes (no real conflicts) please merge.


user@host is misaligned

Hello,
I have managed to modify the source code so that way the colours are the ones I would like, but I haven't seen where in the code I can fix the alignment issue with the user@host part of the displayed output. Attached is an image of what I mean.
Can someone be of help in letting me know how I can fix this?
http://imgur.com/qPFFVuC

Hi @jamesrobb,
Looks like there's an extra space in the Ubuntu logo (logos.c#107):
diff --git a/src/logos.c b/src/logos.c
index 38f8c36..9f5fce9 100644
--- a/src/logos.c
+++ b/src/logos.c
@@ -104,7 +104,7 @@ char *lmde_logo[] =
 /* 18 */
 char *ubuntu_logo[] =
 {
-	""TLRD"                          ./+o+-       " TNRM,
+	""TLRD"                          ./+o+-      " TNRM,
 	""TWHT"                  yyyyy- "TLRD"-yyyyyy+     " TNRM,
 	""TWHT"               "TWHT"://+//////"TLRD"-yyyyyyo     " TNRM,
 	""TYLW"           .++ "TWHT".:/++++++/-"TLRD".+sss/`     " TNRM,

I'll be fixing it on the master branch in a few seconds - thanks for finding it!

Thanks!


Cannot post file larger than 3.9 MB with a multipart/form-data body

I created a function app and published a httptrigger function using .NET 5. The function app is provisioned via armtemplate and the worker runtime is dotnet-isolated. When we send a POST request with a multipart/form-data including a file larger than 4MB (aprox) the function hangs and a timeout response is received. If I send a 3.9MB file it goes well without any issues and in less than 2 seconds.
Investigative information
Please provide the following:

Timestamp: 13.12.2021 from 10:00
Function App version: ~3 (dotnet-isolated)
Invocation ID: 3304981a-7c81-4039-b6ff-69d6bc5621e8
Region: Norway East

Repro steps

We created the function as follow:

public class PostFile
    {
        private readonly IBlobService _blobService;
        //private readonly ILogger<PostFile> _logger;

        public PostFile(IBlobService blobService) //, ILogger<PostFile> logger)
        {
            _blobService = blobService;
            //_logger = logger;
        }

        [Function("PostFile")]
        public async Task<HttpResponseData> Run([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequestData req, FunctionContext context)
        { //our logic here }
    }

We send an HTTP POST:

POST /api/PostFile HTTP/1.1
Host: function-xxxx-test.azurewebsites.net
Authorization: Bearer xxx
Content-Length: 9961171
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="Filename"

example.txt
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="Source"

example
----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="/C:/Users/xxx/Downloads/arm.log.txt"
Content-Type: <Content-Type header here>

(data)
----WebKitFormBoundary7MA4YWxkTrZu0gW

The response is: 500 - The request timed out.

Expected behavior
After calling the HTTP POST I should get a 200 OK response and should be able to see the first log in the function log monitor.
Actual behavior
The function is invoked according to the function log monitor:
2021-12-14T08:30:22.951 [Information] Executing 'Functions.PostFile' (Reason='This function was programmatically called via the host APIs.', Id=64f737d2-3d91-47a0-bc09-ef73637e00d7)
but no code inside the function is executed, like if the request is not received. After aprox 3 mins it returns a timeout error (500 - The request timed out).
Known workarounds
I tried many workarounds with no success

@kshyju to investigate
@bricenocar can you share more information on how you upgraded the app? Did you switch to .NET 6 and Azure Functions v4?

Hello @anthonychu, yes of course. We installed VS 2022, opened the project and updated the project configuration to azure function version to 4 and net6 (The deployment mode is self contained, kindly reminder :)). Then we updated all nuget dependencies to latest versions. In the function app settings in Azure, we set FUNCTIONS_WORKER_RUNTIME to dotnet-isolated and FUNCTIONS_EXTENSION_VERSION to ~4, we do this via an arm template but you can also do it manually in the portal. Let me know if I am missing something.

Interim update: .net 5(on isolated worker) and v4(host) works fine.

@bricenocar Were you seeing this issue locally as well? If so, could you share a minimal repo? A link to a GH repo would be great.
I was able to verify that it works fine for .net5 + v3 host (3.3.1)


Auto generate root modules given target assignments for multi-target compilation

~Makes use of #2145  therefore some of the unit-tests fails.~
multitarget unit-tests passes.
Part of #1656

This work is being shelved, but will not delete the branch incase we revisit


[Feature request] Smarter Object.entries

This is an amazing project! Thanks a ton for the already great TypeScript resets! 🎉
If possible, I'd love to have a better Object.entries array method that will treat the keys as a const instead of a primitive string/number. This can be useful in the following scenario:
const myVariable = {
  "bar": 1,
  "baz": "foo",
} as const;

// In this example, `key` is typed as `string`.
const a = Object.entries(myVariable).reduce((accumulator, [key, value]) => ({
  ...accumulator,
  [key]: `Value: ${value}`,
}), {});

In the example above, key is a string, but I'd argue that a "bar" | "baz" inferred type would be a better match in this case. I've managed to find a objectEntries helper method that suits my use case and can be used in the following example:
const myVariable = {
  "bar": 1,
  "baz": "foo",
} as const;

type Input<T extends object> = {
  [Key in keyof T]: T[Key];
};

const objectEntries = <T extends object>(
  input: T,
): [key: keyof T, value: T[keyof T]][] =>
  Object.entries<T[keyof T]>(input as Input<T>) as [
    key: keyof T,
    value: T[keyof T],
  ][];

// In this example, `key` is typed as `"bar" | "baz"`
const b = objectEntries(myVariable).reduce((accumulator, [key, value]) => ({
  ...accumulator,
  [key]: `Value: ${value}`,
}), {});

I'm looking forward to your reply and if this is a suitable addition to the project.

More info:

https://github.com/microsoft/TypeScript/issues/35101
https://github.com/microsoft/TypeScript/issues/32771
https://stackoverflow.com/q/55012174

Take a look at the readme for the reason why I won't be implementing this!

Oh my goodness, my apologies. Classic RTFM 😅
Thanks for the quick reply, and the explanation in the readme makes perfect sense. I'm still hoping that this gets resolved with a feature TypeScript release, but I won't hold my breath though

I would demand this feature as an opt-in feature, instead of "just no"...

I can't be clearer than putting it under a heading in the readme saying 'things we won't be adding'. This doesn't make TS safer, which is the stated aim of this library.

I'd like to respectfully (not to stir the pot) challenge the assumption that this is unsafe 💭
To review the potential issue you're avoiding:
const type = { total: "TypeScript" }
const subtype = { ...type, hereBeDragons: "🐲" }

// everybody wishes this worked
Object.keys(type).map((key) => type[key].toUpperCase())
// but this corner case would error at runtime
Object.keys(subtype as typeof type).map((key) => type[key].toUpperCase())

The problem with this rationale is a lot of TypeScript is unsound for example:
class      Dog          { bark() {} }
const      dog = () => ({ bark() {} })
const             dogs = [new Dog(), dog()]

for (const dog of dogs)
  if (    !dog instanceof Dog)
    throw new Error("TypeScript thinks this won't happen")
    // IRL this is problematic working with prototypes

The point of my previous example is it only happens arguably abusing JavaScript.
Do you know some case where being "safe" with these APIs would prevents errors in real-world code?
Or have you already considered a pragmatic set of "unsafe" imports:
// same same like recommended but different
import "@total-typescript/ts-reset/unsafe"


Feature Request: Provide an ability to Save the articles.

Hello,
In Miniflux native app, there is an option to "Save", this will send the article to the configured read it later service. Can you please provide this save option in ReactFlux as well?
By the way, the UI/UX of the ReactFlux app is sooo wonderful. It takes the news reading to completely new level. Thank you for the wonderful app.
Regards,
Akshara

Hi Akshara,
Thank you so much for your kind words about the UI/UX of ReactFlux! We're thrilled to hear that it enhances your news reading experience.
Regarding your feature request, I've implemented the "Save" option in commit 8b26496 and tested it with the Pocket service.
You can now try out this feature, and if you have any further feedback or encounter any issues, please don't hesitate to reach out. Your feedback helps us improve the app continually.
Thanks again for your support, and happy reading!
Best regards,
NekoAria

Hi @NekoAria,
Thank you for the swift response. I use a Raspberry Pi 4 and the Docker Hub image does not support the ARM architecture. Hence, I have built the image locally.
Below is my current script to update the docker instance:
#!/bin/bash

# Navigate to the repository directory
cd /mnt/SSD_X6/docker/ReactFlux

# Pull the latest changes from the Git repository
git pull origin main

# Rebuild the Docker image
sudo docker build -t reactflux:arm .

# Restart the containers using Docker Compose
sudo docker compose down
sudo docker compose up -d --build

I have ran the script, but I am not able to see the option.

Perhaps I misunderstood?
The feature I implemented is that when an article is opened, you can save the current article to third-party services through a button or the 'A' key.
Are you looking for integration settings for third-party services? If so, it might be a bit more complicated to implement. Because there are many third-party services that need to be supported.
I thought you had it configured on the miniflue native app, just missing an interactive button and shortcut key.

By the way, the latest dockerhub image should now support arm64. Could you please help test it?

Oh, I forgot to mention the most crucial point: currently, Miniflux doesn‘t seem to provide APIs for integration settings for third-party services.
So, it is very likely impossible to configure it through ReactFlux.

Regarding the latest image for ARM architecture:
I was able to run it successfully and login to my Miniflux instance using API. Read few articles.
Will let you know of any issues as I use it more. Appreciate your quick response to release the supported image.
Regarding the "Save" option:
It is not about configuring the read it later service in the app. Today in the bottom of the right side reading pane, there is an option to "star" the article. How about adding an option to Save it?
e.g., there is a client for Android called miniflutt. It does allow to save the article (when I click on save button in miniflutt the miniflux will perform push to RIL service).
I am not a developer, but with my limited knowledge, this section in the documentation for API reference may throw some light: https://miniflux.app/docs/api.html#endpoint-save-entry

@NekoAria Another enhancement request. In the miniflux native app, we can see the reading time, but the same is not visible in ReactFlux. Is there a way to display that?
miniflux:

ReactFlux:

@akshara-tg I've add reading time display for articles in commit acb5902 .
Currently, I've only handled cases up to 60 minutes, meaning it will display at most "x minutes".
I'm not sure if there are articles that require more than 60 minutes to read, so I haven't implemented a display format like "x hours y minutes".
Also, I don't know how miniflux native app handles this (I haven't looked at the source code).
So, if you encounter long articles in the future, specifically cases where reading time exceeds 60 minutes, please let me know.

I checked miniflux's source code, it doesn't offer a format like "x hours y minutes" for displaying reading time.

@NekoAria Thank you for your active participation in addressing these requests; I truly appreciate it.
Seems its working fine for more than 60-minute ones. I subscribe to YouTube from my Miniflux instance. Look at this example screenshot, Android Police Podcast, showing 82 minutes.

Perhaps I haven't expressed myself clearly. What I mean is that a display format like "x hours y minutes" is not currently available.
The Miniflux native app doesn't offer this display format, but I think it would be better if ReactFlux implemented it?
Please tell me your thoughts.

@akshara-tg What I need to tell you is that the estimated reading time is no longer displayed by default in article cards.
However, you can enable it from the settings modal.
BTW, I will close this issue.
If you have any further issues or feature requests, please open a new issue.


Improve fronend

Changes made:

Updated the nutrient calculation algorithm to improve accuracy.
Fixed bugs related to incorrect nutrient values for certain food items.
Added new food items to the database.
Improved the user interface for better usability.
Enhanced performance for faster nutrient calculations.

Changes made:

Updated the nutrient calculation algorithm to improve accuracy.
Fixed bugs related to incorrect nutrient values for certain food items.
Added new food items to the database.
Improved the user interface for better usability.
Enhanced performance for faster nutrient calculations.

Hacktoberfest


[MRG] Fix cloning of BayesSearchCV

The cloning function sklearn.base.clone fails with BayesSearchCV on master skopt. This PR contains fix.

Codecov Report

Merging #488 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #488      +/-   ##
==========================================
+ Coverage   86.24%   86.24%   +<.01%
==========================================
  Files          22       22
  Lines        1657     1658       +1
==========================================
+ Hits         1429     1430       +1
  Misses        228      228

Impacted Files
Coverage Δ

skopt/searchcv.py
89.59% <100%> (+0.06%)
:arrow_up:

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 1e03eb4...aa2c254. Read the comment docs.

LGTM

:tada:


POST shorthand doesn't work properly

Regarding to the documentation, this this.post('/invoices'); should generate a route handler like this:
  this.post('/invoices', function(db, request) {
    var attrs = JSON.parse(request.requestBody);
    var record = db.invoices.insert(attrs);
    return { invoice: record };
  });

When I have this.post('/invoices'); in the config.js, I expect to get an invoice object like this after a post request:
{
  id: 1
  amount: "100.00",
  currency: "USD"
}

Instead, I get:
{
  id: 1
}

But if I define the post route manually in config.js like this:
  this.post('/invoices', function(db, request) {
    var attrs = JSON.parse(request.requestBody);
    var record = db.invoices.insert(attrs);
    return { invoice: record };
  });

After that, everything works as it should. Why there's a difference?

Definitely seems ilke a bug. Are you on master, or a particular version?

I'm on 0.1.11

I just tried to recreate this and couldn't. Are you sure your app is sending the payload? It looks like it from your example. Any chance you could recreate a small test case I can look at?

I'm sure my app sends correct payload. I turned on logging by server.logging = true; and can see that when the route defined with the shorthand I Mirage sends back payload that contents id only. When I use the full route definition like in my example above, Mirage sends a payload that has all attributes I expect. I'll try to make a test case.

Also you could put a debugger here https://github.com/samselikoff/ember-cli-mirage/blob/master/addon/route-handlers/shorthands/post.js#L19 and see what the attrs is

Exactly in that point locals are:
{
  attrs: undefined,
  collection: "invoices",
  db: undefined,
  dbOrSchema: Db,
  model: undefined,
  payload: {amount: "100.00", currency: "PHP"},
  amount: "100.00",
  currency: "PHP",
  string: "invoice",
  type: "invoice",
  // ...
}

So attrs = payload[type] returns undefined, because the payload is {amount: "100.00", currency: "PHP"}. But the docs example doesn't do anything like this attrs = payload[type].

Looks like the current post shorthand implementatioin expects the payload to look like:
{ type: { attr1: 'value', attr2: 'value'} }
But the documentation example expects something like this: { attr1: 'value', attr2: 'value'}

Yes yore correct, the docs are incorrect. So sorry, will fix this. Also,
the upcoming serializers will let you write a simple normalize method so
you can still use the short hands.
On Sat, Oct 24, 2015 at 10:01 AM Ivan Votti<EMAIL_ADDRESS>wrote:

Looks like the current post shorthand implementatioin expects the payload
to look like:
{ type: { attr1: 'value', attr2: 'value'} }
But the documentation example expects something like this: { attr1:
'value', attr2: 'value'}
—
Reply to this email directly or view it on GitHub
https://github.com/samselikoff/ember-cli-mirage/issues/330#issuecomment-150815038
.


Enhance display of books loaned by a person

Resolves #149
The displaying of loaned books for each person is enhanced to match the design of tags, instead of just displaying a long string of the book details.
Issues:

Currently trying to find a way to align all the Book labels to the start of the label "Books loaned: "

Any feedback is appreciated! If the design is too glaring or does not fit well, please provide comments below.

Btw what does this issue mean:
Currently trying to find a way to align all the Book labels to the start of the label "Books loaned: "
And also can maybe consider adding "None" after Books loaned, or just hide the Books loaned part if a person has no book on loan to make it look more tidy.

Thank you for the approval! I will probably be adding some updates to the PR based on the comments made, so I will not merge the PR yet.

Btw what does this issue mean: Currently trying to find a way to align all the Book labels to the start of the label "Books loaned: "

Currently, the book titles are displayed in a newline (eg. Below the "Books loaned: " label) and not inline after the label.

And also can maybe consider adding "None" after Books loaned, or just hide the Books loaned part if a person has no book on loan to make it look more tidy.

I will probably remove the label because I have not found a solution to print the Books inline with the label

Another small issue is that now we are unable to see the return date in the user list which may be a problem since different books may have different return dates.

I will look into it and see if I can make use of the method that prints out the Loan details and integrate it into the UI

Codecov Report

Merging #160 (2cab00e) into master (fddfaf0) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #160      +/-   ##
============================================
- Coverage     55.39%   55.36%   -0.03%
  Complexity      485      485
============================================
  Files           110      110
  Lines          1937     1938       +1
  Branches        199      199
============================================
  Hits           1073     1073
- Misses          790      791       +1
  Partials         74       74

Impacted Files
Coverage Δ

src/main/java/bookface/model/book/Book.java
29.54% <ø> (ø)

src/main/java/bookface/ui/PersonCard.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I see... The resizing issue does make the UI look weird.
Okay, I have decided to remove "Books loaned: " regardless; the colour and highlighting of the Loan should be good enough to indicate that it is a Loan detail. If it is okay with you, you may approve the PR. Thank you!


Go to import

fix #1294

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@typespec/compiler

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2978/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2978/


Emit IsByRefLike flag on generic definitions

Also took the opportunity to make the IsByRefLike flag not be a property
of the field layout (but use the newly approved custom attribute that
everyone else uses).
Fixes #4220.

@davidwrighton PTAL


SCB-395 add guides to run demo without docker compose

Signed-off-by: Eric Lee<EMAIL_ADDRESS>Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.1%) to 95.395% when pulling 6b3be4b0a84a29a6323f51554a30609f6a35da27 on eric-lee-ltk:SCB-395 into 541202272bdd5f5b76daa11c7b6cf1c1a7d9a505 on apache:master.


Colab Pro: Copy to Drive fails to save the results

None of the results from the completed run are saved via "Copy to Drive" option.  Only the sequence is retained.  Furthermore, the "prediction.zip", is not as comprehensive, leaving out msa files and other information.

Same problem, we tried moving to using Alpha-multimer locally to obtain all of this information, but can't reproduce any results locally even for easier complexes. Massive clashes with residues and results look like the data generated using old AlphaFold-monomer, but adding multiple chains with linkers.

I also am having this issue! Although it sounds like you can at least see some of the contents.


DBS78A de novo signature tallied separately even though 100% COSMIC DBS4

The DBS78_Decomposition_Plots.pdf has two de novo signatures DBS78A and DBS78B.  DBS78A decomposed 100% to COSMIC DBS4, while DBS78B decomposed into 25.02% DBS4 23.94% DBS9, 22.44% DBS11, 16.58% DBS6, and 12.02% DBS2.  Strangely, in the refit activities plot (COSMIC_DBS78_Activity_Plots_refit.pdf), the bars include both the COSMIC DBS4 and the de novo DBS78A.  Shouldn't those have been merged into just DBS4?
Thank you for producing such a useful tool!

Dear @toddajohnson,
Thanks so much for your interest! The inclusion of de novo DBS78A into the refit activities is linked to the fact that this signature was not accurately reconstructed by a combination of COSMIC signatures.
Even though the decomposition plot shows 100% decomposed to COSMIC DBS4, if the cosine similarity is below 0.8 this decomposition is not considered accurate, and the assignment is performed using the de novo signature (in your case, DBS78A). On the other hand, DBS4 is also included in the refit activities because it is part of the DBS78B reconstruction.
I'm closing the issue since this is not a technical problem with the tool, but I'll be happy to continue the discussion about the interpretation of the results over email if that helps (mdiazgay@health.ucsd.edu). Thanks again!


ARROW-7744: [Java] Implement Flight JDBC Driver [WIP]

This is a starting point for the Flight JDBC driver. The following test passes, executing a query against the Rust flight-server example and collecting the results.
  @Test
  public void executeQuery() throws SQLException {
    try (Connection conn = driver.connect("jdbc:arrow://localhost:50051", new Properties())) {
      try (Statement stmt = conn.createStatement()) {
        try (ResultSet rs = stmt.executeQuery("SELECT id FROM alltypes_plain")) {
          List<Integer> ids = new ArrayList<>();
          while (rs.next()) {
            ids.add(rs.getInt(1));
          }
          assertEquals(ImmutableList.of(4, 5, 6, 7, 2, 3, 0, 1), ids);
        }
      }
    }
  }

It's worth considering Calcite's Avatica as the basis for the JDBC driver.
Avatica's remote driver has a pluggable RPC layer - existing implementations are JSON over HTTP and Protobuf - and I think Flight would slot in as a third.
Avatica also has a local driver that shares a lot of code with the remote driver. That would allow people to switch between a Flight-based remote driver and a local driver, and see the same behavior.
Not directly relevant to this effort, but I would love to use Arrow (even without Flight) as the bulk data format for other Avatica-based drivers. There are certainly Calcite clients who would like to receive a batch of rows as an Arrow blob rather than making thousands of calls to ResultSet methods just to pull the data through the membrane. Any JDBC client could call resultSet.unwrap(ArrowBatch.class) just on the off-chance that their driver supports direct access to the Arrow data.

@julianhyde Thanks for the info. This does sound interesting and it would be great to see Avatica benefit from Arrow.

@julianhyde Your proposal raises some interesting questions about dependencies between Avatica and Arrow. Should Arrow depend on Avatica or the other way around?

I'm closing this PR for now since it is stale.


Handle errors from close in perlasm scripts.

If the xlate filter script fails, the outer script doesn't notice. We
only notice later if the output happens not to assemble. Fix this by
checking for failures on close.

Is this still relevant?

Hah. Looks like what happened here is I uploaded this a while ago, and no one reviewed it. And then I ran into the same problem with upstream OpenSSL again, didn't realize you already had a fix outstanding for a year, and so I created the same fix a second time as https://github.com/openssl/openssl/pull/10883. That one landed, so we can close this one.


Apply targeted device family to only application target

Default targeted device family setting should be applied to only
application target. Otherwise it gets also applied to frameworks.

When creating a new framework in Xcode it applies the TARGETED_DEVICE_FAMILY. Is there a reason Apple does it? Is there a specific reason to remove it here?


Generate BASE Compliant OAI-PMH XML files from Wikidata entries

With the simple OAI-PMH server (#52) working on toolforge (#53), generating compliant XML files from Wikidata entries is next.
Two possible path's seem worthy of initial exploration:

using CitationJS to generate a JSON object from Wikidata and then producing XML output using either:

creating a custom CitationJS output plugin
XMLBuilder2
xml-js

using XSLT to transform the RDF record of a Wikidata entity (encoded as XML) into a BASE compliant XML file

Creating an XSLT transform (2) would probably be more useful in creating a generalised solution for Wikibase (#14) though involves traversing multiple interlinked nodes which could be tricky and might be more brittle than (1).
As we have established that CitationJS generates a well formed JSON object from Wikidata (including some clean up of Author names, etc) (1) might be a quicker, though more specific to solely our project, approach.
Thus I shall prioritise investigating (1) first.

Created a processing pipeline to automate the process using Github Actions.
Works well when running locally and reducing the number of entities pulled from the wikidata api to around 75.
Need to implement some kind of rate limiting.


Possible fix, locale key bug in chrome for input

[ ] Must check that this works

This is a possible fix to the key locale problem in chrome. For example it makes it difficult to write @ on swedish keyboard.
However I could not reproduce the bug on my laptop (maybe my Chrome Version 94.0.4606.81 is too new).
I will try this branch with the NUC to see if it solves anything. Also @nilssonemma feel free to try on your computer (if you ever get time).
Also, this website is helpful to see what keyboard events are triggered in the browser.
https://w3c.github.io/uievents/tools/key-event-viewer.html

Bug no longer exists in newer versions of chrome. Also keypress event is depricated. So it's better to stick to keydown event.


when is a lazy iframe ready?

is there a  ready callback for lazy loaded iframes? onReady is not fired when lazy is set to true

Sorry for not looking at this - what turned out to be the issue?

Im not sure. I updated to the latest version a couple days ago and just decided to try using the onReady function again today and it worked. the problem could have been an old version or bad configuration


Add value

Question
Description
A user adds a value
Environment
during normal operation with 200 users
Artifact
System, GUI
Repsonse
The variance is presented
Respons Measure
within < 0.5 seconds. All presentations are up to date.

See #5


Evaluate need for continuation of deprecation for seismic and property contents without extra info

seismic and property contents without extra info is deprecated, but it is required in the schema.
After changing to early validation of metadata https://github.com/equinor/fmu-dataio/pull/550, a deprecation warning will be printed but it will not pass validation in generate_metadata()
It does not make sense to try to make this old pattern valid internally, when the metadata produced will not be considered valid for sumo anyway. Can we remove the deprecation?
I am not familiar with the history here, but there exists references to this being kept for backwards compatibility.
https://github.com/equinor/fmu-dataio/blob/6ba4b4903da1c73f3d1a82154df50a727388b540/src/fmu/dataio/datastructure/_internal/internal.py#L120-L135

@perolavsvendsen @jcrivenaes
Do you have any thoughts here?

Are the example scripts in Drogon doing this correctly? If that is the case, I am inclined to say that we could discontinue it... I am not really familiar with the history, either 🤷♂

I think it can be discontinued 👍

Update - actually turns out it is only content="seismic" that requires extra info inside a data.seismic block when it comes to the schema. content="property" is not defined with any extra fields in the schema hence a data.property is not required
property:
https://github.com/equinor/fmu-dataio/blob/73001ef2d7bbb88a324861f133f8ebc94e6225fc/src/fmu/dataio/datastructure/meta/content.py#L287-L288
seismic:
https://github.com/equinor/fmu-dataio/blob/73001ef2d7bbb88a324861f133f8ebc94e6225fc/src/fmu/dataio/datastructure/meta/content.py#L307-L311
We need to decide on what to do for content="property"

Ref offline discussions with @perolavsvendsen and @jcrivenaes 07.05 regarding what to do with content='property' and the fact that we are currently warning people to use a dictionary form with extra info (attribute and is_discrete) but any extra info will be dropped since a data.property is not defined in the schema.
Talking points:

We do see the need for an attribute information e.g. porosity/permeability when it comes to the consumer side. But in order for it to be useable for the consumers, the available attribute values should be whitelisted. Now data.name is probably used by e.g. webviz but this is free text and impossible to create logic around.

When it comes to gridproperties it should be possible to whitelist this to a large degree
It should also be possible to make a whitelisted attribute list for surfaces. Today we are mostly using the content as this attribute information; facies_thickness, thickness, time, depth, velocity are all contents that would fit as data.property.attribute for a surface.
How would the user know which form to use?

content='facies_thickness' or content='{'property': {'attribute': 'facies_thickness'}}
content='depth' or content='{'property': {'attribute': 'depth'}}

probably there is a need for an entry other

We also played with the idea that we should remove  content='property' and expand the content list with e.g. porosity, permeability etc. But that would expand the content a lot, and would make it more diffcult for users to scan through it to identify which content to use.

Also we were discussing if data.property should be named something else. As property is quite a generic term and probably confusing from the consumer side

We acknoledge that it is not easy to land on something that will not  be subject to change for the user in the future. Probably the entire datamodel needs to be subject for review, and a data.product with dedicated API-endpoints connected to it is the way to go, but this is outside of scope at the moment and a much bigger task to address.
The two most likely ways forward as we see it:

Remove the warning, and do no further changes. This allows us to  let the datamodel mature a bit more until we can decide what to do with this content='property'.
Downsides:

we don't start providing the attribute to our consumers yet
if we choose to do something different then what we have been warning about up until now, the users that actually followed the initial warning will be punished.

Add data.property to the schema, with attribute and is_discrete fields, and keep the deprecation period for content='property' with no extra info.

decide on wether we should create a withelisted attribute list, or have it as freetext in the beginning until we have landed on what we want the users to do for e.g. a surface with facies_thickness (ref above).

Closing this and created separate issue for content="property" #734


Dealing with undefined IDs in MVTs

Currently, undefined IDs silently pass the MVT decoder. Once styling interactivity is used this cause an error that doesn't show any reference to the ID problem of the data.

ping @davidmanzanares
can you please confirm this ?

Sorry, for the late response. I no longer remember how to repeoduce it. The code you pointed out seems good. I think we can close the issue since it's possible that I was seeing the problem in an old CVL version. Sorry for the noise


nixos/earlyoom: remove useKernelOOMKiller

This option is deprecated and ignored by earlyoom since 1.2.
Did basic testing of the ExecStart reformatting.

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

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

Bump


Generate usage stats

Adapt the prototype DMPTool dashboard

carry this over to new platform as a replacement for DMPTool API queries to get usage stats
provide ability to export CSVs
add visualizations
add a public-facing dashboard for global usage, include time
include total n participating orgs

Viz examples for inspiration. Simple histograms and/or plots are probably best bet:
https://dataverse.org/metrics
https://www.si.edu/dashboard
Screenshot of DMPTool Usage dashboard

Details on the API can be seen at: https://github.com/DMPRoadmap/roadmap/wiki/API-Documentation
You can:

Query the number of registered users within an optional date range
Query the number of plans using a template owned by your organisation
Retrieve number of plans organised by template
Retrieve metadata on all plans from an organisation’s users

For reference the stats we pull for Edinburgh each month cover:

new users per month
total users for the org
total number of DMPs per month**
DMPs per template per month**

** these last two are in a table with funders along one side and months across the other and running total for DMPs per funder and DMPs per month at ends
It would be good to set these stats into wider context as the DMPTool dashboard above does

See screenshot below for the first mockup working. As I described yesterday:

It will be displayed yearly stats sorted by month (starting always at last month from today) for each of the topics (joined users, num. completed plans, etc).
and after is provided a filter form to get numbers according to the data range specified, compared to totals till today (not sure how useful that bit).

Note that organisation select is only available for super admins and by default your organisation gets selected from the list.
Any feedback will be appreciated to perform any enhancement.

yay for data visualizations! my initial feedback is that we need to add some text or tooltip with basic instructions, but that's easy enough. i'll think on it and provide any additional comments by the Tues call.

Usage Dashboard requires an API Token.  Should we put in text noting this?

We have an error message that displays if the admin does not have an API token. It currently reads "You don't have access to use the API. An api token is needed to generate usage statistics.".
Since we don't have a super admin function yet that will create these I think we should just add an additional line to that message like: 'Contact the %{helpdesk_email} to request an API token for your organisation.'.

after some more tinkering I definitely think it would be better to have the filters at the top of the page since that's where most of the actions are happening. the graph looks great and i think it's fine to keep as a static feature or only change with the topic variable selection, but i keep expecting something to happen when I click Go.
I can only display Users data at the moment.
the date range selection is awesome! and please add a download button for the full CSV reports here too, either above as in the wireframe or to the right of the filters.
unless it's interactive it shouldn't be the first

looking good @jollopre - a few changes:
"completed plans" isn't meaningful at present since we haven't defined a plan status. please change the language about this as follows:

change "Completed plans" to just "Plans" in filter dropdown
change boxes below to "Plans" and "Total plans"
change axis label on lower graph to "No plans created during last year"
revise Export to "Download" for consistency
we should set a standard value range for the y-axis, I estimate a max of ca. 50-80 would be reasonable for users and plans per month for power user Orgs but that's just a guess based on DMPTool data
it would also be better not to display a graph at all when an Org has no data for either category (so hide the lower graph in the screenshot below because there are zero plans)

thanks for the comments @stephaniesimms. The amendments are part of #1167.

In response to your comment @stephaniesimms
"in addition to global usage we might only want to provide downloadable usage data for a user's affiliated Org - not sure if you have a preference/requirement regarding this @sjDCC ?"
Org admins should just download their own data, but I guess for superadmins they could download data for all orgs if it's not too big a query or volume of data to represent. Otherwise reports according to org-affiliation should suffice for now. We can always add more functions post MVP.

@jollopre I like the smaller side-by-side graphs and other changes look good - this is great for now.
we just need to add some explanatory info about being able to view stats from any Org using the filters at the top, but the graphs and CSV download are only available for an admin's own Org. I'll suggest some text in a new issue. closing this one.

Usage stats page not working....
Message received: 'You don't have access to use the API. An api token is needed to generate usage statistics'
See screenshot.
How do we resolve this issue?


Deep links in LEA do not work

Howto reproduce:

Navigate to https://carl/, then press on clusters
Refresh the page
Or directly call: https://carl/clusters shows empty page

Technical background:

On GRPC requests CARL handles API requests
On HTTP requests CARL serves the distribution directory of LEA
Currently the WASM file of LEA is only served on the root directory

Yes, i noticed some broken routes in LEA already. I think this is related to the last update of the leptos_router crate. Version 0.5.5 introduces a change to the behavior of the router for trailing slashes. Maybe this is the cause for the broken routes in LEA.


177754023: Update PDT & Vaccine HealthCerts schema and samples

Changes

Rename samples:

healtcert.json -> PdtHealthCert.json
covidcert.json -> VaccineHealthCert.json

Match contents of fhirBundle from: https://github.com/isomerpages/govtech-hcp/tree/staging/documents
Update fhir-open-attestation-schema:

fhirDocument -> fhirBundle
fhirBundle.$ref -> fhirBundle.$id
date -> `date-time

Why is there a hosted schema that differs from the one in schemata here...
Also fhir bundle is incorrect. A fhir document can be a bundle but it doesn't have to be a bundle. It's just one type over many. So banking is wrong


feat: starknet_getProof ✨

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Bugfix
X Feature
Code style update (formatting, renaming)
Refactoring (no functional changes, no API changes)
Build-related changes
Documentation content changes
Testing
Other (please describe):

What is the current behavior?

Resolves: #NA
What is the new behavior?

Implements starknet_getProof RPC endpoint following Pathfinder's implementation.

My main concern is that I have no idea how the proof thing is happening. Can you provide a bit of doc and useful links somewhere in your code, so that the reader has a starting point to understand what is happening

Mostly followed pathfinder's implementation tho

https://github.com/eqlabs/pathfinder/pull/726
https://eips.ethereum.org/EIPS/eip-1186

Mostly followed pathfinder's implementation tho
I mean in the code itself


The files in package.nw folder with the latest version is incorrect.

Issue Type

[ ] Bug Report
[ ] Feature Request
[x] Other

Current/Missing Behaviour
After upgrading nw-builder to the latest version, I found that the built file was incorrect.
this is the version of "nw-builder": "4.1.0-beta.3", This can work normally:

this is the version of "nw-builder": "^4.1.1-beta.2",  Unable to find index.html at this time, unable to work normally:

Is there a change in the build logic for the new version?
Expected/Proposed Behaviour
Additional Info

Package version:
Operating System:
Node version:
NW.js version:
Repro link:
...

https://github.com/nwutils/nw-builder/blob/main/CHANGELOG.md#411-beta2---2023-03-15
Yes there is. The first instance of the package.json is treated as the NW manifest and copied under outDir. All other folder's are copied as is. For example: ./package.json ./app/**/* is copied as:
outDir/package.json
outDir/app

Is there any configuration to keep the app files in the same directory?
Since I use angular, it changes the access path so that the window can't be revisited to index.html after it refreshes.

Is there any configuration to keep the app files in the same directory?

Could you clarify what you mean by "keep in the same directory"?
I'm going to add a --no-glob flag which disables globbing. This would treat srcDir as a single directory and copy all its contents.

https://github.com/nwutils/nw-builder/issues/819#issuecomment-1490554219


Request for task input annotation that ignores jar timestamps and order

We have a task which has a FileCollection of jars as a task input.
If we annotate this input with @InputFiles, the @CacheableTask annotation never results in a cache hit because the jar timestamps are always different.
If we annotate this input with @Classpath, the IncrementalTaskInputs sometimes provide misleading information as in https://github.com/gradle/gradle/issues/1931.
Ideally, we'd use an annotation which acted like @InputFiles but also ignored the jar timestamps.

I guess we need to separate content and path normalization at some point (although we can keep shorthands like @Classpath for common use cases). I've been thinking about doing something like this for a while:
@Input(
    pathNormalization = PathNormalization.IGNORE,
    contentNormalization = JvmRuntimeClasspathNormalization.class
)
DirectoryProperty getInputDirectory()

You could also have things like:
@Input(
    pathNormalization = PathNormalization.NAME_ONLY,
    contentNormalization = { IgnoreLineEndingsNormalization.class, IgnoreCSyleComments.class }
)
ConfigurableFileCollection getSources()

Ah, nice. See Xav's use-case #3 from https://github.com/gradle/gradle/issues/8503 for more details for our use-case.

@lptr, I like your approach.
Please also consider adding ordering for #8132.

We still want to address this.

I would also be interested in ordering as described in #8132. For the programming languages I'm working with compilation order is important.


Fixed bugs detected by cppcheck

Relevant Issue (if applicable)
n/a
Details
Fixed a description error newly detected by cppcheck.

We'll be migrating from Travis CI to Github Actions after this PR, so we'll bypass building this PR on Travis CI.
There is no danger because you have confirmed the build at hand and confirmed the pass / fail of the build with Github Actions.


enforce maximum committees per slot

Issue
As https://github.com/ethereum/eth2.0-specs/pull/12, the maximum number of committees per slot should not exceed SHARD_COUNT // CYCLE_LENGTH
Proposed Implementation
Update get_new_shuffling function as the spec:
committees_per_slot = len(avs) // cycle_length // (min_committee_size * 2) + 1 -> committees_per_slot = min(len(avs) // cycle_length // (min_committee_size * 2) + 1, shard_count // cycle_length)

Probably want a test here that shows even len(avs) gets really big that the total number of committees output by the shuffling is never greater than shard_count


issue #184: threaded test for readblktracker

Codecov Report
Attention: 76 lines in your changes are missing coverage. Please review.

Comparison is base (319a3d5) 48.86% compared to head (01139be) 48.55%.
Report is 3 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
- Coverage   48.86%   48.55%   -0.31%
==========================================
  Files          93       94       +1
  Lines        7503     7463      -40
  Branches      974      959      -15
==========================================
- Hits         3666     3624      -42
- Misses       3446     3466      +20
+ Partials      391      373      -18

Files
Coverage Δ

src/include/homestore/btree/btree.hpp
100.00% <100.00%> (ø)

src/include/homestore/btree/detail/simple_node.hpp
72.36% <100.00%> (+3.42%)
:arrow_up:

src/include/homestore/btree/detail/varlen_node.hpp
75.07% <100.00%> (+1.98%)
:arrow_up:

src/include/homestore/homestore_decl.hpp
63.63% <ø> (ø)

src/include/homestore/replication_service.hpp
0.00% <ø> (ø)

src/lib/blkalloc/blk.cpp
68.81% <ø> (ø)

src/lib/blkdata_svc/blk_read_tracker.cpp
84.84% <100.00%> (+0.63%)
:arrow_up:

src/lib/replication/repl_dev/solo_repl_dev.h
0.00% <ø> (ø)

src/include/homestore/homestore.hpp
64.00% <0.00%> (ø)

src/include/homestore/index/wb_cache_base.hpp
0.00% <0.00%> (ø)

... and 5 more

... and 7 files with indirect coverage changes

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


Some player fall through water and suffocate, some doesnt (random)

Some player fall through water and suffocate, some doesnt (random)
there are no errors in the console
every arclight version
minecraft version 1.16.5
Plugins
Clearlag.jar
DiscordSRV-Build-1.26.2.ja
EntityTrackerFixer.jar
GSit-1.4.3.jar
imageonmap-1_15-1_16.jar
loginsecurity-3_1-spigot.jar
luckperms-bukkit-5_4_40.jar
SAML 2.0.0.jar
SkinsRestorer.jar
Vault-1.7.3.jar
worldedit-bukkit-7.2.4.jar
Mods
bendy-lib-forge-1.2.1.jar
customizableelytra-1.16.4-1.6.1.jar
emotecraft-for-MC1.16.5-2.2.7-b.build.47-forge.jar
MusicPlus 2_0.jar
NoNetherMobZombification.jar
player-animation-lib-forge-0.4.0+1.16.5.jar
VideoPlayer-2.6-FORGE-1.16.5.jar|
voicechat-forge-1.16.5-2.5.1.jar
watermedia-2.0.28.jar

I think you have the wrong repository.

I think you have the wrong repository.

Sorry, there used to be a Magma core on the server, I got it mixed up when I wrote


release policyinsights package-2019-10

Can one of the admins verify this patch?

merging policy insights as all the relevant test passed


adding first set of parametrized unit-tests

Description
Please include a short summary of the change.
Only comments have been included, still need to work on implementing the set of linOps.
Issue link (if applicable):
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[ ] Other (Documentation, CI, ...)

Contribution checklist

[ ] Add our license to new files.
[ ] Check that your code adheres to our coding style.
[ ] Write unittests.
[ ] Run the unittests and check that they’re passing.
[ ] Run the benchmarks to make sure your change doesn’t introduce a regression.

I think I have officially destroyed this branch, will probably just make another PR once we need to add the respective mul/rmul tests. The focus is on get_constant_data now.


so weird net architecture and loss_func

This repository shows conceptual implementation.
The original text and the network structure may be different, but the loss function is the same.


Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #205 (6b481a8) into feature/936-observability-dpf (7d6221d) will increase coverage by 0.80%.
The diff coverage is 76.15%.

@@                         Coverage Diff                         @@
##             feature/936-observability-dpf     #205      +/-   ##
===================================================================
+ Coverage                            64.56%   65.36%   +0.80%
- Complexity                            2854     3015     +161
===================================================================
  Files                                  670      695      +25
  Lines                                14704    15295     +591
  Branches                              1013     1032      +19
===================================================================
+ Hits                                  9494     9998     +504
- Misses                                4747     4832      +85
- Partials                               463      465       +2

Impacted Files
Coverage Δ

...se/dataspaceconnector/common/async/AsyncUtils.java
0.00% <ø> (ø)

...dataspaceconnector/common/collection/LruCache.java
80.00% <ø> (ø)

...aceconnector/common/concurrency/LockException.java
33.33% <ø> (ø)

...spaceconnector/common/concurrency/LockManager.java
60.00% <ø> (ø)

...paceconnector/common/stream/PartitionIterator.java
100.00% <ø> (ø)

...onnector/core/base/CommandHandlerRegistryImpl.java
50.00% <ø> (ø)

...r/core/base/agent/ParticipantAgentServiceImpl.java
100.00% <ø> (ø)

...econnector/core/base/policy/PolicyContextImpl.java
55.55% <ø> (ø)

...ceconnector/core/base/policy/PolicyEngineImpl.java
81.35% <0.00%> (-1.41%)
:arrow_down:

...ctor/core/base/policy/RuleBindingRegistryImpl.java
100.00% <ø> (ø)

... and 384 more

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 7d6221d...6b481a8. Read the comment docs.


[PREVIEW] DIV-3037 Ensure submission returns 400 when petitioner correspondence address is null

Ensuring submission of a case fails with HTTP 400 when petitioner correspondence address is null
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:

Hardware:
O/S and version:
JDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@mthava thanks. Midway through this implementation I considered that and I'm not even sure why I discarded it. Probably over excited. I'll try it tomorrow


Add support for "log": "<level>" to the argv.json

Fixes #118824
Realized this is easy to implement and went ahead since this will improve serviceability of env (e.g., PATH) issues on Mac when starting from the dock.

This is cool, but should it maybe be log-level?

uh

This is cool, but should it maybe be log-level?

My first thought too, but I then saw the CLI parameter is called --log. Should we keep them aligned?

I think I would prefer log-level because that makes it clear what happens. I would have called the CLI argument log-level as well.

Sounds good, I've updated the PR to use log-level.


calendar:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: A package to create calendar with events.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

I'm gonna go out on a limb and say the name is much too generic.

I'm gonna go out on a limb and say the name is much too generic.

Any suggestions? It is quite painful for me, a non-native English speaker, to figure out an interesting name.

I'm gonna go out on a limb and say the name is much too generic.

How do you think this name "CINEC" (CINEC Is Not an Electric Calendar)?


Dataset publication 'duplicate occurrenceID' message for non-duplicated occurrenceIDs

I've got a published sampling event dataset which currently has 2 sets of occurrence & event source files from 2019 and 2020 see - https://ipt.gbif.no/resource?r=dnv. Every year I download new data from DNV's database, and then I have a script does some column mapping and arranges the data in event and occurrence sheets. I then upload these files to the IPT and publish them.
So, today I generated 2021's data as I did with the previous years and uploaded them - now the dataset has 2 372 473 records. But I get an error when I publish (publication-log.log), saying that there are 30 duplicate occurrenceIDs. I am pretty sure this is not the case; the new occurrence file has uuids generated when I make the file in python/pandas.
Stuff I've tried which hasn't shed any light on the matter:

re-generating the 2021 data files (i.e. making new uuids)
checking for duplicate occurrenceIDs in pandas against the other old files (i also forced them all lowercase on the offchance that was the problem)
using  python to make a csv of all the occurrenceIDs from the old and new files and then using other stuff to try find duplicates (excel and sort all-occ-ids.csv | uniq -cd, both said no duplicates)
adding a deliberate fake duplicate occurrenceID to the source file and checking pandas and sort all-occ-ids.csv | uniq -cd again to make sure I am not going insane :D
publishing the old data on their own again without the new 2021 files (that was fine, so it is def something wrong with my new files, I just don't understand what)

If anyone else is willing to look, here is a zip of all three occurrence source files on the IPT server. Here they are in the mapping:

In the zip, dnv-occurrences-2019.txt is the same as dnv-occurrences-updatedwithaphia.txt, i just renamed it for the zip file so it's obvious what it is. I can also make anyone an acc on our IPT if that helps.

@rukayaj Thanks for reporting this, I'll have a look

@rukayaj I've checked your data and found the issue.
"Thoracica Darwin, 1854" - this scientific name causes problems in the result core file. Please make sure you have source's Field Quotes field set to "

That seems to have worked! Maybe it's worth adding something in the log files to ask people to check their field quotes? Anyway, thanks very much @mike-podolskiy90

@mike-podolskiy90 @rukayaj  I suspect I have this problem too when trying to provide a CSV file url data source (ipt.gbif-uat.org IPT Version 2.7.4-SNAPSHOT).
I have some questions concerning IPT source-data page:

(pop-up informative message about "field quotes"):
A single character that encloses every field/column in a row. Most often empty, but CSV files use a ".
With this option, make sure that all of your fields are contained in quotes, not just those that are text.
Please note that in the IPT newline characters ( ) or carriage returns ( ) cannot be enclosed by quotes and should be removed.
Click in any of the following options:

None
Double quote
Single quote

In my Google Chrome browser (Version 109.0.5414.120 Official Build 64-bit) I don't see the described characters (look empty ( ) above). And also, nothing happens when clicking in any of the options (the textbox remains empty).  Probably this is due to my old notebook which does not support Windows 10.  But I suspect typing " , ' or nothing should have the same effect. Correct?
I am a bit surprised/confused with the comment "make sure that all of your fields are contained in quotes, not just those that are text".  It was my understanding that quotes were only used to delimit values containing commas, to distinguish them from the usual separator commas.
So you mean fields that don't use to contain commas (like occurrenceId, year or decimalLatitude) should now be surrounded by quotes when we have filled in the "field quotes" textbox? (I don't recall needing to do so in the past).
With respect to removing carriage returns, is there any recommended way of doing that but still achieving the same visual effect?  Maybe we can replace them by <br> tags?

@rukayaj any already tested recipes you can share on how to force pandas to do the last two things when using .to_csv() option?
Thanks!
@abubelinha

Hmm I think I did end up removing breaks as well, but it wasn't such a big issue in my data. I'm pretty sure I just did a .replace for them and put in a space instead, but I don't remember now I'm afraid. For the quotes I don't really remember what I did either, but https://pandas.pydata.org/docs/user_guide/io.html?highlight=csv quote_all possibly?


Creator can modify/delete templates they created (using more/3-dot menu)

P0
Use template
Preview template
Rename template
P1
Duplicate template
Create a template
Delete your template

Verified P0 in RC1


Mutiple assignees per machine

The tables to do so already exist, but at least the following still needs doing:

update UI (similar to how multiple interfaces work)
find places that assume only a single assignee in controllers

This feature was delivered with the new UI (#19)


Get image by sticker id

do you have any idea how to get sticker image with sticker id ?

Please ask general questions here, per the README.


fix: issue with more than 1 client

if you had 2 or more clients,  they could not see each other properly sometimes

Merged per @paulpach 's request

:tada: This PR is included in version 5.1.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Get an unmanaged object from a managed realm object in swift

How can i get an unmanaged object from a managed realm object in swift. In java i can achieve this by calling "copyFromRealm" method. How can i achive the same in swift ?

@debjitk let unmanagedObject = ObjectType(value: managedObject) should do it for you.

@darshangulur will that work for nested objects within that instance too!

let unmanagedObject = ObjectType(value: managedObject) only work for the object passed by parameter (managedObject). However, if this object has nested Realm objects, these objects still have a reference to a Realm instance. How can we return a truly unmanaged object from a managed object??

Works for me. Usage: object.detached().
extension Results {
    func toArray<T: Object>() -> [T] {
        var array = [T]()

        for i in 0 ..< self.count {
            if let result = self[i] as? T {
                array.append(result.detached())
            }
        }

        return array
    }
}

extension List {
    func toArray<T: Object>() -> [T] {
        var array = [T]()

        for i in 0 ..< self.count {
            if let result = self[i] as? T {
                array.append(result.detached())
            }
        }

        return array
    }
}

protocol DetachableObject: AnyObject {
    func detached() -> Self
}

extension Object: DetachableObject {
    func detached() -> Self {
        let detached = type(of: self).init()
        for property in objectSchema.properties {
            guard let value = value(forKey: property.name) else { continue }
            if property.isArray == true {
                //Realm List property support
                let detachable = value as? DetachableObject
                detached.setValue(detachable?.detached(), forKey: property.name)
            } else if property.type == .object {
                //Realm Object property support
                let detachable = value as? DetachableObject
                detached.setValue(detachable?.detached(), forKey: property.name)
            } else {
                detached.setValue(value, forKey: property.name)
            }
        }
        return detached
    }
}

extension List: DetachableObject {
    func detached() -> List<Element> {
        let result = List<Element>()

        forEach {
            if let detachable = $0 as? DetachableObject {
                let detached = detachable.detached() as! Element
                result.append(detached)
            } else {
                result.append($0) //Primtives are pass by value; don't need to recreate
            }
        }

        return result
    }

    func toArray() -> [Element] {
        return Array(self.detached())
    }
}

There is currently no intention to add copy functionality to managed Realm objects. If this is prioritised in the future, we will reopen the ticket.

There is currently no intention to add copy functionality to managed Realm objects. If this is prioritised in the future, we will reopen the ticket.


shell.nix: prefer 'npm ci' to 'npm install'

'npm ci' seems more suited to this use case, since per 'npm help ci':

If dependencies in the package lock do not match those in package.json, npm ci will exit with an error, instead of updating the package lock.

It will never write to package.json or any of the package-locks: installs are essentially frozen.

@jerith666 Thanks for the suggestion. I've already added it in the refactor I was doing here.


Av updates mar2020

Description
Describe what has changed here.

Checklist

[ ] The steps for distribution have been follow here.
[ ] A Release Note has been drafted and published after merging to master.

Hey Nic! I just saw the one thing that we should probably fix. I can do that if you need. But otherwise, I'm hoping you've given this a spin yourself? Let me know if there's anything else you'd like!

@aaronvegh I tried it out, seems to be working well!

All set with these change requests! Let me know what you think.

@aaronvegh Looks great!!


harmless warning logs when deleting a non-existent canary

If you have multiple instances of the service running simultaneously, each becomes aware of all the canaries created by all the instances. As such, there are a lot of (actually harmless) warning messages about not being able to delete a canary, because some other instance already deleted it.
Either:

stop logging this, or turn it into a "debug" loglevel
ensure that each instance only deletes the canaries it creates. This could be done by adding a unique ID to each canary document so that the instance that produced it can identify it.

The second option seems more correct to me.

Another option is to have a much smaller number of canary documents (say... one per service instance) that never get deleted, but only get updated periodically. In this way, we avoid the delete problem altogether. Additionally, that would alleviate the problem of piling up thousands of deletes that the changes feed must churn through when first starting up.


Fix uninitialised variable in awj candy game

This fixes a bug where sometimes the bags move immediately instead of waiting for the candy to enter.

Thanks!


Expose complete user address

Re: @bmann's comment:

Technically usernames are @fission.name although that isn’t exposed anywhere

perhaps state.username could present the domain portion as well. This would allow me to make my funding button work with webnative without hard-coding the domain.

Yeah this is a good idea.
I don’t know if it is a username so I think a different variable — federationuser or something like that.
The portable unique identifier is the DID for the account. The username is a label that we’ve decided to make unique for compatibility / UX reasons.
hmmm. I guess<EMAIL_ADDRESS>or<EMAIL_ADDRESS>is the full federation user ID?

hmmm. I guess<EMAIL_ADDRESS>or<EMAIL_ADDRESS>is the full federation user ID?

I guess if Fission supported Webfinger then the app would probably initiate the process outside of webnative and have one of these on hand already. But until then, either one would would be useful.

Perhaps related: if the username/address was encrypted rather than stored in plaintext, the recipient could assume it is the actual identity? Again with my funding system, I can tie things to state.username or address without wondering whether someone overwrote it.

Yes. Broadly speaking I think we'd follow Verified Credentials for this, which basically links data to an ID.


Integration test [almost] all the endpoints

Motivation and Context
There are almost 70 RESTful API endpoints which are required for the Support Tool to work. We should test them... at least to check that the security is working for all of them.
What has changed
Built a mechanism to check that all the endpoints are protected by role-based access control (RBAC) and then used that to check almost all the endpoints.
How to test?
Build the project... it will automatically test all the endpoints.
Links
Trello: https://trello.com/c/3us6jDjj

 Replace Support Tool API Spring auto CRUD endpoints with proper ones - PART TWO (13?)


Improved dsym upload

Fixes https://github.com/fastlane/fastlane/issues/4027
This is supposed to be 2 commits, since they are separate issues

LGTM :+1:

FYI I emailed Fabric/Crashlytics about randomly failing dSYM's a week ago and got they said they would have an update out soon to the upload-symbols script that should handle dSYM zips downloaded from iTC better.

Thanks @revile, could you add a comment once this is resolved?


reclaim-ai: minor update to filters

Description
Some minor changes:

Changed task filter to "Archived" only
Reordered task statuses to ["IN_PROGRESS", "SCHEDULED", "NEW", "COMPLETE", "CANCELLED", "ARCHIVED"] to move unscheduled ("NEW") tasks down the list below "IN_PROGRESS" and "SCHEDULED" tasks.

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I corrected the bot so @lightbody will be pinged next time correctly, what about you @ajohnson1200, do you have a Raycast handle too?
Could you check this?

yeah, my raycast handle is aaron_johnson. Thank you!

Is this okay to merge @ajohnson1200 @lightbody

yep, LGTM!


Custom ArcGIS XSL functions

We are adapting the standard ArcGIS.xsl stylesheet provided in ArcCatalog for use with Geoportal Server, and we are able to access the "Custom ArcGIS XSLT Functions" described here:
http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/xslt-transformation.htm
using the http://www.esri.com/metadata namespace.  However, we are seeing errors with the equivalent "res" namespace, supposedly referenced here: "http://www.esri.com/metadata/res" (obviously both URLs are dead-ends, but that in and of itself shouldn't be a dealbreaker).  We've not been able to track down any documentation for this res namespace nor where we might be able to find the libraries to add them to GeoPortal Server. Any thoughts or suggestions? The stylesheets are provided in a standard ArcGIS Desktop installation in the following directory:  ArcGIS\Desktop10.4\Metadata\Stylesheets.

yes, I do expect you'll need one of the metadata libraries for this. I don't know if those are available in Java-compatible. I'll check with the metadata team

closing per discussion with Aleta on 7/26/2016


OUT OF DATE

The version release notes on this page are out of date by over a year, the solution has just prompted for a new version today of <IP_ADDRESS> much further on than the article lists

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

ID: 5a801175-de35-1beb-b061-f87d8ff1ef94
Version Independent ID: 943295ec-36af-81f2-869f-6478228c41d4
Content: Project Service Core solution version history - Project for the web
Content Source: ProjectWeb/project-service-core-solution-version-history.md
Service: project-web
GitHub Login: @serdars
Microsoft Alias: serdars

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @hankanman, thank you for your feedback.
@stsporen could you kindly help here? Thanks!

it'd be nice to know what's new in the release notes.  this article is approaching 2 years out of date #133

@stsporen @serdars, could you kindly help here? Thanks!

@dariomws We need to pull this area from the documentation. The updates are published over here: https://docs.microsoft.com/en-us/dynamics365/project-operations/pro/whats-new/whats-new-2021-early-access-lite

@stsporen, is it correct to say this article's purpose is to help Project-for-the-web admins differentiate the subset of whats changed in the project service core solution applicable to P4W versus the entire 'what new' release wave for Dyn365PO?
FWIW,  from the P4W side, we're having a hard time knowing where the lines are drawn.
Thanks for listening.

@stsporen,
Could we pull this area from the documentation?

@stsporen following up on Dario's question. Thanks!

@stsporen,
Could we pull this area from the documentation?


European & American equity options under local vol and dividends

What is this PR for?
European & American equity options under local vol and dividends
What type of PR is it?
Improvement
Todos

[ ] - Check style and JavaDoc using mvn checkstyle:check and mvn javadoc:javadoc

What is the related issue?
N/A
How should this be tested?
UnitTests
Screenshots
Questions:
Does the licenses files need update?
NO
Are there breaking changes for older versions?
NO
Does the change require additional documentation?
Check

Fixed style. See https://github.com/finmath/finmath-lib/pull/82


When is the software expected to support MacOS?

Hello author, will this software support MacOS system in the future? When is it expected to be supported?

Hi. I don't have a plan to bring code app to MacOS since VS Code and plenty of other editors are available there. I am curious why you want to use code app on a Mac?

VS Code is a cross-platform development that doesn't take full advantage of the native system's capabilities, and many other editors are always inadequate and don't feel good enough to use. However, CodeApp already supports iPad, and if it is extended to macOS, the workload is relatively less. If iCloud is supported, it can be viewed or edited on iPad and mobile phone at the same time as real-time PC editing


Next Post/Previous Post not working

Edit 1: It appears that the page collection that is built does not properly calculate prevSibling/nextSibling and/or isFirst/isLast.
Edit 2: Looks like the collection of pages is empty.

Done @ a7e82d44a1edf2688d043ced11a6f293d33d87f7.


Introduce a synchronizeState operator to allow syncing state between composed reducers easier.

This is motivated by the need to have different reducers that are composed together keep a synced up state.
Consider you have a reducer that is composed of different sub-reducers, there are cases when you have some piece of state which need to be accessed (and maybe even mutated) by a couple of them. Composing a state which can be scoped/pulledback to allow each and everyone of them to work off of the same piece of state can prove to be challenging. An easier approach for those times is to have local copy of the state and manually try to keep it all in sync via the parent reducer.
This update is syntactic sugar to remove the boilerplate needed to achieve that effect
Example usage:
struct Child: ReducerProtocol {
    struct State {
       var sharedState: Foo
       // ..
     }
     enum Action ...
}

  struct Parent: ReducerProtocol {
     struct State {
       var sharedState: Foo
       var child: Child.State
       // ...
     }
     enum Action {
       case child(Child.Action)
       // ...
     }
     var body: some ReducerProtocol<State, Action> {
       Reduce { state, action in
         Scope(state: \.child, action: /Action.child) {
           Child()
         }
         // Core logic for parent feature
       }
       .synchronizeState(
           over: SynchronizationParameters(
               parent: .observeOnly(\State.sharedState),
               children: [
                    .synchronize(\State.child.sharedState)
               ]
           )
       )
     }
   }

This would ensure that whenever sharedState changes on Parent it also syncs with the copy help by Child
With a bunch of different child reducers you just avoid the issue of keeping it all up to date. I think this should scale much easier.
Limitation
A limitation of this approach is that you are indeed maintaining multiple state copies so if the state is "heavy" you could use up a lot of memory.

@raghavbhasin97 Thanks for sharing, this looks cool!
As we prep for 1.0 we're putting a freeze on adding new reducer operations to the library, even though there are a couple that we use regularly that haven't quite landed yet, namely:

ReducerReader (see https://github.com/pointfreeco/swift-composable-architecture/pull/1969 for more)
OnChangeOf (we use this in isowords among others)

Luckily your operator should be able to be defined outside the library. So instead of a PR, what do you think about sharing your operator either in a companion package/library that we can link to in the README, or via a GitHub discussion?

@raghavbhasin97 Thanks for sharing, this looks cool!
As we prep for 1.0 we're putting a freeze on adding new reducer operations to the library, even though there are a couple that we use regularly that haven't quite landed yet, namely:

ReducerReader (see Add ReducerReader for building reducers out of state and action #1969 for more)
OnChangeOf (we use this in isowords among others)

Luckily your operator should be able to be defined outside the library. So instead of a PR, what do you think about sharing your operator either in a companion package/library that we can link to in the README, or via a GitHub discussion?

@stephencelis Thanks for the reply and taking a look, I understand not wanting to add any new reducer operators as part of the 1.0 release. I have created a package to make this functionality an add on for anyone that needs it.
Here is the link to the repo: https://github.com/raghavbhasin97/SynchronizeStateTCA

Looks great! Please do share it in the discussions :smile: