Add Batch Cross-ref importer

The Proposal was discussed in #781. Creating a new issue to track the implementation.
Todos

[x] rename /<kinds>/<uuid>/properties/<propName> to /<kinds>/<uuid>/references/<propName>
[x] add new structure for batch importing cross-refs
[x] build handler (ignore validation)
[x] add validation

keep in mind that batch importing is a less-restrictive mode than regular operation. So we only need minimal validation

[x] add db connector method (in janusgraph)
[ ] document what makes the Batch Import special (and potentially dangerous)
[ ] remove async option from all batch import endoints

FYI @bobvanluijt @laura-ham - something I only realized now:
Since the Batch importer's goal is speed, it must avoid all slow patterns (similar to the other batch importers). This also means the validation will be minimal. This in turn means that this importer is somewhat dangerous because you can actually import stuff that doesn't make sense if you're not 100% sure what you're doing. As a result I'll add a warning to the docs.
Here's what we can validate and cannot validate:

✅ Are the from and to strings in the correct format, i.e. do we have a peer name, a valid kind, a uuid (and in the case of the source, is the prop set) -> we can easily validate this
⚠ Does the specified uuid (both source and target actually exist)? We cannot validate this prior to sending the request off to the db, however, it will at least fail in the DB if either doesn't exist
❌ Does the source class actually have the property that the user specified? We cannot validate this at all. In order to validate this, we'd need to do a "read before write" which would defeat the whole point of batch importing. We can validate whether this property exists at all (because we have a mapping of all properties), but we cannot check if it's part of this particular source class. Because we don't know the source class at all. If we wanted to find out, we'd first need to do a "get thing/action by uuid" from the db for each result, and then we wouldn't be any faster then just adding one ref at a time.

Having said that, while this is quite dangerous, I think this is a trade-off that's ok for the batch import. Otherwise we simply don't have a way of importing large datasets. But we need to make very sure that the user understands what they're doing.
My suggestion would be to add this to the docs and also add a link to this section in the docs to the swagger description fields. Do you think that's enough?

My suggestion would be to add this to the docs and also add a link to this section in the docs to the swagger description fields. Do you think that's enough?

@etiennedi, I think that the pragmatism in this approach is best. Can you please create an issue for me when it is ready so that I know what to add?


admin user recreation on restart (1.9.5.)

Describe the bug
Message "You are using the default admin/admin user/password, please change or remove it." and "Restart the server to close this message".
Default admin user has been deleted before (does not appear in admin panel anymore). After restart, default admin user reappears.
It seem to be the same as #408 which has been marked as fixed for this version already?
Environment (please complete the following information):

OS: Debian Bookworm
Browser: Vivaldi

Used app version:

release 1.9.5

Can you check what is in you config.json for "enforcedUsers" ?
You can also try to look at enforced user from UI, but config.json is the authoritative source of truth,

Dear @bpatrik
the enforcedUsers Object from config.json looks as follows:
"enforcedUsers": [
            {
                "name": "horst",
                "role": "Admin",
                "//[password]": [
                    "Unencrypted, temporary password. App will encrypt it and delete this."
                ],
                "password": "",
                "encryptedPassword": "XXX",
                "encrypted": true
            },
            {
                "name": "nadine",
                "role": "User",
                "//[password]": [
                    "Unencrypted, temporary password. App will encrypt it and delete this."
                ],
                "password": "",
                "encryptedPassword": "XXX",
                "encrypted": true
            }
        ]
    }

Meanwhile I found that I often cannot delete anything like e.g. albums, users - it just happens nothing while hitting the Delete-Button.
But there's neither a error in the development console in the browser nor some notification in the logs.
Regards

The problem was that the app could not load the config. The latest push should fix it. (should be available in 40 mins in the niglty build)

Thanks, it's working now!


Added Alexa Contact, Device, ISP and List APIs

Features added:

Customer Contact API
Device Address API
Device Settings API
In-Skill Purchases API
Lists API

Coverage increased (+0.3%) to 87.978% when pulling 48fb3de8ec1f69658945868bdd16dab39658e6d8 on omenocal:v3 into f708415404868c4df26a944929a73a4da7fe9ffd on mediarain:v3.

@armonge done, just added bullets to group Alexa APIs in a single item


Types of the form [T; n] are truncated

Given the code:
fn foo() -> [u8; 20] {
    [0; 20]
}

fn main() {
    foo()
}

racer returns:
$ racer complete 6 7 /tmp/foo.rs
PREFIX 54,57,foo
MATCH foo,1,3,/tmp/foo.rs,Function,fn foo() -> [u8;
MATCH foo,1,1,/tmp/foo.rs,Module,/tmp/foo.rs
END

Note the unfinished [u8;.

This looks like a duplicate of #682

Agreed.


usernames + count

Hi,
I use two usernames, but then the count isn't working.
Its shows up just the last two tweets. If I use one username it works perfekt.
$('#twitter').tweet({
    count: 5,
    username: ['xxx', 'xxx'],
    //username: 'xxx',
    avatar_size: 32,
    loading_text: "searching twitter...",
    template: '
{avatar}

{time}{join}{text}

'
});

thanks

When you use 2 usernames, the widget has to use the Twitter search API instead of the timeline API. The search API often returns incomplete information, e.g. only very recent tweets.
To avoid this weakness of the twitter API, consider creating a list which follows the 2 users, and then setting up the widget to display the list. See the following example: http://tweet.seaofclouds.com/#5
-Steve

thanks, good to know.
maybe this is a good issue to comment somewhere...
cheers, good work. roland

Yep, I need to write a FAQ! :-)

I thought I should point out that I'm running into this same issue now while using a list. I noticed that your example #5 seems to be affected too. It looks to me like the timeline API is still being used in the plugin source for lists... did something change on twitter's end to decrease the reliability of the timeline API?

Example 5 is working fine for me right now. I'm not aware of any changes on Twitter's end. Perhaps you've hit a per-endpoint rate limit? It's also entirely possible that the results returned by the list API are occasionally unreliable, though I haven't noticed problems myself.
-Steve

Weird... it seems to be working correctly now. It was consistently returning one tweet less than the count. There's no way I'm hitting a rate limit, since it's just me setting it up locally. It must some weird API inconsistency. Anyway, thanks for your quick response!

Okay, cool. (Note for future reference that it's certainly possible to hit rate limits locally; the limits for some API calls are 150req/hr per source IP, so that's only 1 page reload every 24 seconds.)
-Steve


Discord OAuth2

If interested, I would be okay with taking this on, as I have already implemented Discord auth in Go previously.

Hi @nektro i don't know Discord, but it seems to have a big user base, so, fine for me to support it.

:+1: I would love to see support for this! Also hey @nektro 😄


Unable to edit on mobile browser

I am using an iPhone with Chrome and Safari a d the functionality is seriously impacted by not being able to write in the text box. Which ever code editor is being used allows you to delete character but not to insert them again.
Perhaps for mobile browser you should just have a standard textarea control. This will support all the phones and will be the easiest to control on a mobile phone.

Related to #922

Probably also related to https://github.com/prose/prose/issues/809


Formatting & Rendering issue

I can't believe how amazing this library is! I am just having some rendering issues mainly checkbox form fields and the length of the underscores. Is there any way to change the rendering so that it will show an HTML checkbox rather than nothing? How can I go about customizing the replacement of PDF elements (Text areas, Text input, radio buttons)?

This one is particularly difficult within this package. The pdftohtml binary unfortunately can't render form controls such as text areas, text inputs, radio buttons, etc. I will keep in mind of your suggestion.

Well it renders "■" when the checkbox is checked, but nothing when it is blank. Is there anyway to at least make it render something for an empty checkbox as well?

Or if you have any other suggestions for how to load a PDF edit it in with a custom GUI on the webpage and resave the html as pdf? I have both ends of this system in place but cant move much further without all of the form fields at least loading as visible characters to be replaced.

That sounds promising. I think I need a pdf complete with form controls. Checkboxes, radio buttons, text inputs, and other form controls. So i can parse it to the correct form controls. Do you have that kind of pdf?

demoform1.pdf

Okay, I will let you know regarding the update. 👍

If you could also point me in the direction of the parsing class or anything like that I would be more than happy to contribute to this library and figure out the form controls etc if I am able to.

this code is responsible to handle the HTML thing. https://github.com/mgufrone/pdf-to-html/blob/master/src/Html.php

First of all let me say thank you for the work you have done.  This is my problem I am trying to create a back end for a website that will allow the user to input their certificates for classes they have completed.  Most of the certificates are in pdf format and in less you use Adobe reader or some other pdf reader you can’t view the file and even if you use, let’s say adobe; the pdf pups up in a separate window.  Using an iframe has its share of problems as well; that’s why I thought that using you pdf to html would do the trick.  Well the first problem is how to get it to setup in Laravel 5.3, I used composer to install it; and I put the poppler-0.47 file in my windows program files (x86) directory, but I am not shore where to insert the code you pervade us on the page.  I am somewhat of a new be to Laravel and am not shore, please help if you can I am using Laravel 5.3.

@mgufrone Hey man! I figured out a completely different solution, so I went ahead and closed this issue for the sake of your wonder project's appearance.
If you were curious what I did, or anyone Googling here was my solution was using PDF.js and overlaying input elements implementing this library.
NOTE: (The base changes all occur in core\annotation.js and display\forms.js. Rendering is still entirely done through pdf.js, except form widgets are no longer rendered graphically by pdf.js. Instead, a second layer with web form elements is rendered over the canvas.)
This is working seamlessly for me. I additionally implemented a drag and drop (HTML5 native) and resizing (jQuery Resizable)


Fix code binary when it also exists in dotfiles

Now it only looks for code down in the PATH, preventing an infinite loop.

@Chuxel could please take a look at this PR? I'm having trouble in all Codespaces due to this. =/

LGTM!  Sorry for the delay!

LGTM!  Sorry for the delay!


Memory Mapped LoadState/SaveState

Replaced SaveState and LoadState implementations. These new implementations map the file into memory and then pass the pointer directly into the native API. This improves things in a few ways:

Most importantly it fixes a bug: A C# array cannot exceed 2,147,483,591 bytes. In my own use of LlamaSharp I encountered this limit causing a crash.
This saves an extra copy of the entire state data into a C# byte[], so it should be faster.
The file is trimmed to size, so it saves disk space.

I've included wrappers which expose the old NativeApi method signatures, so this should be a completely backwards compatible change.
This does not fix some other places where GetStateData is used. I'll look at those in a separate PR (#57)

Great work! Thanks you!


feat: getWithheldTax method

:tada: This PR is included in version 5.0.0-beta.45 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: trigger website build on release

Instead of using cURL for creating, I'll update it to use vercel cli


vmlatency, parser, test: Apply test-case pattern

Follow "test-case" pattern similar to other test suites in the code base in order to make it easier to add new tests.
Signed-off-by: Or Mergi<EMAIL_ADDRESS>

/cc @RamLavi @orelmisan

Changes: Add more tests.

/cc @EdDev

@ormergi , is this change relevant?

@ormergi , is this change relevant?

Nope, I am closing it.


oauth2_proxy: 7.0.0 -> 7.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/oauth2-proxy/versions.
meta.description for oauth2_proxy is: "A reverse proxy that provides authentication with Google, Github, or other providers"
meta.homepage for oauth2_proxy is: "https://github.com/oauth2-proxy/oauth2-proxy/"
meta.changelog for oauth2_proxy is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

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

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

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

found 7.0.1 with grep in /nix/store/lzqykxk3ig0rk5rid5h8pa8brv9awppy-oauth2-proxy-7.0.1

directory tree listing: https://gist.github.com/e46ab08f8abd987df0194a0781eaa0b7

du listing: https://gist.github.com/a2572980a464ef219c0f0e00beeed66b

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
oauth2_proxy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lzqykxk3ig0rk5rid5h8pa8brv9awppy-oauth2-proxy-7.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lzqykxk3ig0rk5rid5h8pa8brv9awppy-oauth2-proxy-7.0.1
ls -la /nix/store/lzqykxk3ig0rk5rid5h8pa8brv9awppy-oauth2-proxy-7.0.1/bin

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

1 package built:

oauth2_proxy

Maintainer pings
cc @yorickvp @knl @kalbasit for testing.

Result of nixpkgs-review pr 112953 at 865ad567 run on aarch64-linux 1

1 package built:

oauth2_proxy

1 suggestion:

error: no-flags-array
buildFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/servers/oauth2_proxy/default.nix:17:3:
   |
17 |   buildFlagsArray = ("-ldflags=-X main.VERSION=${version}");
   |   ^

The buildFlagsArray thing should probably be a separate PR


ISO 639 Language Codes

Heya,
Would you be open to accepting a PR to add 'Official Languages' per-region?
I hunted around for an official source & didn't find many decent ISO 3166 <> 639 mapping files.
This file from geonames contains a bunch of extra fields we could adopt, including the languages (which are correct from my spot checking):
http://download.geonames.org/export/dump/countryInfo.txt
Another option would be to use a locale dataset from a linux distro, I feel like they would be fairly complete and well maintained.
Please let me know if that's something you'd accept.

Maybe? I’m not sure how a language-per-region dataset would be useful in the context of OpenStreetMap editing?
Looping in @1ec5 too, as he knows more about this than I do.

I think that's a fair point, I'm not actually planning on using the library for Rapid (or OSM in many cases), but I find the simplified polygons quite useful and would prefer to collaborate on them rather than have another repo to maintain.
There are some other fields in that geonames download which might be helpful for some, but not for everyone.
If that's the case I could put these extra fields in separate files and have tree shaking remove what's not used.

Thanks!  Sorry I commented kind of quickly before..  We can definitely add data even if it isn't used in Rapid or OSM - I'm more asking for clarification because it's probably not data that I would use myself.
"Spoken/official" languages was mentioned in https://github.com/rapideditor/country-coder/issues/4#issuecomment-561609300 too.

Minh has a point about maybe needing more granular shapes in some areas, eg. Switzerland.

I think any addition of language codes would need to come with a caveat emptor. Every use case requires a different mapping from countries to languages. Official languages don’t necessarily say anything about the name language in OSM, or the language that users in that country are searching in. iD maintains a mapping for determining the name:* fields to show by default, which started from CLDR but required some tweaks afterwards based on user feedback. This is a pretty limited use of the data, since users can easily customize the language list.


I saw the Unity scene Inverted in my HTC Vive Headset

Hi All
I am confusing myself because I am trying the SteamVR plugin 2.2.0 and Unity 2019.1 alpha version with this Lightweight Render Pipeline Boat Demo more info here https://www.youtube.com/watch?v=8ancNOmt4pA.
My problem is that that when I added the Player or Camera Rig Prefab to it, I saw the Unity Scene Ok in the Editor Game tab but I saw this scene inverted in my HTC Vive Headset.
I did a new scene of this and added only the their Environment and the Steam VR plugin to it again and I have the same problem, to be honest I do not know what is the problem but I guess that the problem can be with Unity 2019 alpha version or Steam VR plugin 2.2.0 version, for it, Could anybody advice me to fix it?
Thanks for your time

I don't think this is a steamvr plugin issue since we're using the standard unity camera in our prefabs. Sounds like a unity xr issue to me.

Hi,
So I will post the topic in Unity forum,
Thanks
Best Regards
Alejandro

Hi All
This problem was fixed with the 2019.1.0b10 version. I added the CameraRig prefab and I can the scene successfully( Thanks to Bugs Unity people.....)
Hope this help !!!
Regards
Alejandro


Incorrect equation for the Hamiltonian in Max Cut

Incorrect equation for the Hamiltonian in Max Cut

While going through MaxCut documentation, I noticed a possible mistake while formulating C(Z) from C(X) - if x-> (1-z)/2 then (1-x) should be just z/2, not (1+z). If this is so then the Hamiltonian will eventually be different. Also after C(Z) the const term is being rendered as latex code.
https://qiskit.org/documentation/tutorials/optimization/6_examples_max_cut_and_tsp.html

I'm fairly new to quantum computing but would like to contribute where I can. This seems like a good place to start. Can I work on this issue?

Hi @Claeb101, glad you're interested. However, I'm just an observer of the Qiskit repo.
You can reference the README.md and CONTRIBUTING.md
@camitava0321, any advice for Claeb101 for starting out on this ticket?

Oh I'm so sorry. I wasn't quite sure who to ask if I could contribute. I will ask @camitava0321 in the future. I take it I'm allowed to work right away on any issues then instead of asking every time?

@Claeb101 yeah I'm sure if your PRs match the requirements in CONTRIBUTING.md that they'd be welcome. 😃👍


Additional operations for the MONO_HASH_TABLE interface

Description
The hash table in the SML/NJ library is missing some operations that would be useful.
signature MONO_HASH_TABLE = sig
  (* ... *)
  (* Same as those in ORD_MAP *)
  val insertWith : ('a * 'a -> 'a) -> 'a hash_table -> Key.hash_key * 'a -> unit
  val findAndRemove : 'a hash_table -> Key.hash_key -> 'a option
end

These have been implemented for 110.99.5.  Also added the functions to the HashTable structure.


The form page description is not consistent

In AMP Form page, it said Use type="telephone" for input fields that should contain a telephone number. but on the code it shows type="tel".
Also when I use a mobile browser and highlight the telephone field it shows me text input keyboard but I would expect the numpad to be popped out. Lastly in the telephone field even I type in text it will let me submit. How could I validate the input is a valid phone number?
Thanks

Hi,
thanks for reporting the inconsistence between what the doc says (type="telephone") and what the code uses (type="tel"), I will update the page shortly.
Regarding the input, I just tried it and I got a numpad, it was also not possible to enter any text but just numbers. See the snapshot in the link.
Could you send a snapshot of the textpad that you are getting?

Oh seems you are right. It will pop out the numpad.
I think last time I used a PC and enter the page. When I use a PC, I can type any english character and the submission is still successful.

As this problem is not related to this example page, I will close this issue.
Just FYI I filed a issue on the AMP HTML Page

@kul3r4 Seems the code is committed but not merged. Please take a look.


bug: remove moment patches

Description
Updates were trying to be added it to invalid moment objects which is not necessary. Earlier when we serialse invalid Moment objects it gets converted to null, made code corrections which it to keep it inline with earlier behaviour.
PR fixes following issue(s)
Fixes #27963
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[x] Manual
[ ] JUnit
[x] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

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

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=58fcb344eefe9de051f1e37f0a272d712c0f7103

/ok-to-test sha=5a9d6a5008d3a1329065a77fad62ce9bdfad403f

/build-deploy-preview

/build-deploy-preview env=release

lgtm
cc: @vsvamsi1


Feature/show selected emoji

closes https://github.com/TheWidlarzGroup/rn-emoji-keyboard/issues/102

wow nice!!! Thank you so much for this!

Hi! Any chance this can be merged?

@jakex7 @mateki0 any thoughts on this one? :)


Error occurs when using empty nodes: Text data outside of root node

Here's a repro:
var xml2js = require('xml2js');
var data = '
hello world

';
var parser = new xml2js.Parser();
parser.parseString(data, function (err, result) {
    console.dir(result);
});

Error: Text data outside of root node.
Line: 0
Column: 33
Char: &

Alternatives that work

hello world

 (wrap into root node)

hello world

something
 (not use empty string)

This reads only first node and doesn't fail with error, so I'm not sure if this is also supposed to fail, due to absence of root node?

It would be good if expected behaviors are documented.

I am not sure what to document, because the example that you posted is not well-formed XML to begin with so not sure what the library should do in case of invalid input data.

If by well-formed XML, you mean a parent root node is required, that should be something to begin with.
And secondly, if multiple root nodes are now allowed, it should consistently fail.

Yes, to be valid XML you need one single root node, otherwise it's not XML.
But yeah, it should consistently fail on multiple root nodes, that's for sure. If it doesn't then it is a bug.


Getting trouble in the process of build flutter apk in android studio as well as vs code.

FAILURE: Build failed with an exception.

Where:
Build file 'C:\Androidstudio\Projects\facebook\android\app\build.gradle' line: 28

What went wrong:
A problem occurred evaluating project ':app'.

No signature of method: build_4f52fbu9hb93egnftut4i5qsr.android() is applicable for argument types: (build_4f52fbu9hb93egnftut4i5qsr$_run_closure2) values: [build_4f52fbu9hb93egnftut4i5qsr$_run_closure2@7eb7254f]

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4s
Running Gradle task 'assembleRelease'...                            7.1s
Gradle task assembleRelease failed with exit code 1
Process finished with exit code 1

Duplicate of https://github.com/flutter/flutter/issues/92974. Please check this and this and see if it helps to resolve your issue.


Update Logo

Merged: https://github.com/TrustWallet/tokens/commit/29691958cbf3ae67d273735a45ec024c55b1f9c8

[ ]
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.

Feel free to share this on social media and tag Trust Wallet:
Twitter: @TrustWalletApp
Facebook: @TrustWalletApp


Investigate build time configuration for SSLContextParameters

We could investigate having some build time configuration for SSLContextParameters which we can use to set up the global SSL config on the CamelContext. E.g like camelContext.setSSLContextParameters(params).
Or taken a step further, leverage such configuration to configure Quarkus SSL. E.g for folks coming from a pure Camel world who are used to doing the security setup with SSLContextParameters, it could make more sense to them rather than setting the individual Quarkus SSL config properties.

I wonder whether build time SSLContextParameters would mean that changing a server certificate would require an application rebuild?

I wonder whether build time SSLContextParameters would mean that changing a server certificate would require an application rebuild?

Yeah that's quite possible. I have no idea if this idea is viable, so the first step is just to investigate a bit.


Implement put and get apis

Create index table with key as BlobRoute(shard id, blobid) and value as MultiBlkId.
Do recovery of index table and connect with pg superblk ->index table uuid.
Do put with blob header and metadata. Allow request with a length from a particular offset.
Test create some pg's, shards and do put and get blob. Restart and then again verify with get with random offset and length.

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

Comparison is base (7b11031) 83.93% compared to head (57cf7a8) 82.19%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   83.93%   82.19%   -1.74%
==========================================
  Files          28       31       +3
  Lines         809     1168     +359
  Branches       58       94      +36
==========================================
+ Hits          679      960     +281
- Misses         98      157      +59
- Partials       32       51      +19

Files
Coverage Δ

src/include/homeobject/common.hpp
100.00% <ø> (ø)

src/lib/blob_manager.cpp
81.81% <100.00%> (ø)

src/lib/blob_route.hpp
90.90% <100.00%> (+62.33%)
:arrow_up:

src/lib/homeobject_impl.hpp
100.00% <ø> (ø)

src/lib/homestore_backend/index_kv.hpp
100.00% <100.00%> (ø)

src/lib/homestore_backend/tests/bits_generator.hpp
100.00% <100.00%> (ø)

src/lib/memory_backend/mem_blob_manager.cpp
69.23% <100.00%> (ø)

src/lib/memory_backend/mem_homeobject.hpp
100.00% <ø> (ø)

src/include/homeobject/blob_manager.hpp
50.00% <0.00%> (ø)

...ib/homestore_backend/replication_state_machine.cpp
72.97% <80.00%> (-0.37%)
:arrow_down:

... and 6 more

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

has this PR ready for review?

has this PR ready for review?

Yes its ready for review.


JSONApiSerializer does not  support serializeIds (v2.4.0)

This should probably be at least specified (again) in the documentation.
Apparently it was the case in 2018 (#1180 ).
// mirage/models/session.js
export default Model.extend({
  user: belongsTo()
});

// mirage/serializers/application.js
export default JSONAPISerializer.extend({
  serializeIds: 'always'
});

Relationship id is indeed returned with include: ['user'] option, but without no relationship data at all is returned, no matter serializeIds value.
This could be nice to allow this anyway :slightly_smiling_face:

All this code was extracted to another repo. https://github.com/miragejs/miragejs MirageJS. Please post your issue there.  This addon now only aids in importing MirageJS.
The following line has been deprecated
import { JSONAPISerializer } from 'ember-cli-mirage';

and changed to (see https://www.ember-cli-mirage.com/docs/data-layer/serializers#defining-serializers) to help understand which repo is responsible for what.
import { JSONAPISerializer } from 'miragejs';

Oh sorry then !
For future readers the serializeIds option was renamed on the other repo :
JSONAPISerializer.extend({
  alwaysIncludeLinkageData: true
})

Thank you !


checkForm and this.elements()

When in the checkForm function, the this.elements() call does not always return the form elements, especially if you try and validate the form straight after the load has finished and if you have multiple forms on a page (e.g. with multiple partial views in MVC3).
this.elements() returns correctly for my first form but returns 0 for the following forms.

On further inspection this is caused when using jQuery UI tabs, if you have a form per tab (as I do with the use of MVC3 partial views) and try to validate all of the forms, only the form on the selected tab will return a count for this.elements() as the filter of ":hidden" blocks the other non-selected tab elements.


UIMARCAUTH-426 migrate to shared CI workflows

Description
migrate to shared CI workflows
Hi @folio-org/infrastructure-frontend, ui-marc-authorities is migrating to shared CI workflows, please update PR merge requirements
Issues
UIMARCAUTH-426

All good to go!


Update ip_test.go

Correct ip_test.go expectation to reflect correct IPv4 integer representation for case 5.

@hexagr I'm closing this as I've applied the fixes and further changes into your original PR. Thanks!


Exclude reads from fastq 'background' files

I'm starting to implement the 'export' part of the program. Here I will need to exclude certain records from a fastq file, replacing these reads with reads that spans a variant. My python implementation for this at the moment is too ineffective I think. I thought of resorting to bash one-liners a la
gunzip -c in.fastq.gz | paste - - - - | grep -v -F -f read_ids.txt | tr "\t" "\n" | gzip > out.fastq.gz
But this is not very effective for large fastq files either.
seqtk has a great functionality to extract certain reads from a fastq (seqtk subseq), but nothing doing the reverse (excluding reads).
If you have some idea how this can be solved more efficiently I will be happy to hear it!

I need to have more information to give some input, perhaps we can meet next week?

Absolutely. I will be back again on Tuesday, so if you have time then it would be appreciated!


May be worth adding Github LFS explanation

Due to github LFS (Large File System) when I downloaded this via Zip the images in folders "GIFs" and "OCVTemplates" was not visible. It may be worth leaving a note that people should download via Github desktop or via command line.

Due to github LFS (Large File System) when I downloaded this via Zip the images in folders "GIFs" and "OCVTemplates" was not visible. It may be worth leaving a note that people should download via Github desktop or via command line.

Crap, I forgot LFS did that. Good catch, I'll resolve this in a sec. Thanks for your contribution!

I untracked the PNG files the script needs and updated the README. Thanks again for your detective work and making these issues!


Add an interactive init command

This PR adds a new command, init that walks the user through an interactive command line wizard to initialize their ocm container config.  the file is created at ~/.config/ocm-container/config.yaml.
To try it out for yourself, you can pull down this branch, run go build from the root directory, and then run ./ocm-container init.  A sample output is as follows:
alexvulaj@avulaj-mac ocm-container-v2 % ./ocm-container init
A config file already exists at /Users/alexvulaj/.config/ocm-container/config.yaml, would you like to overwrite it? [y/N]
: y
The configuration file will be overwritten.

You can use "staging" or "integration".
You can also leave this blank and pass it in when executing commands.
:

Provide your ocm user name
: avulaj

Provide your OCM Offline Access Token from https://cloud.redhat.com/openshift/token
: my_token

Provide a default namespace for velero.
Set this if you want to change the default velero namespace in container.
Defaults to "openshift-velero"
:

(Optional) Provide your ops-sop/v4/utils directory.
This is an absolute path to any necessary scripts you wish to have automatically mounted into your container.
This is mounted in the "/root/sop_utils" directory in the container.
:
Config file has been written to /Users/alexvulaj/.config/ocm-container/config.yaml:
container_subsystem: podman
cli: ocm
ocm_url: ""
ocm_user: avulaj
default_velero_ns: openshift-velero
offline_access_token: my_token
ops_utils_dir: ""
ops_utils_dir_rw: false

Additionally, depending on how adventurous you'd like to get with this PR (so I'm not asking for it unless you want to dig into it) we could replace a lot of the Config struct parts to use Viper and Viper's WriteConfig method.  If you don't feel like doing that at this point, that's fine, we can roll that into a future improvement but it shouldn't block this.

@iamkirkbater

Can we add unit tests to the prompt function?

Good call, I'll take care of this.

Can we remove the ContainerSubsysPrompt and related question?

Agreed, since we're targeting podman

I'd be interested in your take on this, how would you feel about removing the CliPrompt, OCMUrlPrompt, and DefaultVeleroPrompt questions and associated logic? While I do see some value in keeping these configurable, I don't think they're necessary for a default init process.

I like this a lot actually.  Let's throw those values in with empty values, describe them in the "readme", and at the end of the init script let the user know they can edit the file manually for further configuration.

Additionally, depending on how adventurous you'd like to get with this PR... we could replace a lot of the Config struct parts to use Viper and Viper's WriteConfig method.

I'll take a look at this since I'm not familiar.
Let me know if this all sounds good!

Sounds great!


[CELEBORN-663][REFACTOR] Refine RssInputStream logs to help admin debug

What changes were proposed in this pull request?
Refine RssInputStream logs to indicate the failed location's info to help admin debug
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?

ping @RexXiong @waitinfuture @FMX


[Feature] Table function table() supports HDFS

Fixes https://github.com/StarRocks/starrocks/issues/21159
This PR adds the support of reading files from HDFS, including the following changes:

execute RPC get_file_schema in pthread
refactor RPC get_info/get_pulsar_info
rename _async_thread_pool as _load_rpc_pool, which handles get_file_schema/get_info/get_pulsar_info
remove be config internal_service_async_thread_num
add metric load_rpc_threadpool_size

Compared with the previous PR https://github.com/StarRocks/starrocks/pull/26133, this PR removes the MonotonicStopWatch in get_info/get_pulsar_info, which is destructed before used.
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@mergifyio rebase

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@mergifyio rebase

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@mergifyio backport branch-3.1


Hide rides/run activities under distance not working

All activities under the defined distance are still shown in Dashboad

Fix is ready. Awaiting pull request to be accepted and included in next update.

@akrzysztofek Thanks for the PR your https://github.com/thomaschampagne/stravistix/pull/621 is merged !


Blog: Introduction of Glee, A spec-first framework

Post title
Introduction to Glee, A spec-first framework developed by AsyncAPI.

Post description
In this post, I will write about glee, and have a tutorial on how to set up glee and build a simple web socket server to showcase glee. I will basically repost https://souvikns.com/blog/AsyncAPI/Introduction-to-glee that I wrote in my blog.

Guide
Here are a few steps you can follow to write an AsyncAPI blog post:

After getting feedback on the issue, fork the website repository or open it in Gitpod. You can do that by prefixing the issue URL with gitpod.io/#.
Run the command npm run write:blog.
Run the website by using instructions from the README to test your changes.
Open a PR with your blog post and test your changes with a preview of the site on Netlify. If you use Gitpod, it will create a fork of the website repo for you before you create a PR.
Maintainers reviewing the article (e.g., language, images) may ask for improvements.
Once it's merged, it will be available live in production. :rocket:

We encourage you to write a blog post and share it with the community. We can't wait to read it :smile:!

ey @Souvikns where is the PR😄

Awesome!


Updated web UI measurements text

I've made some minor edits to the text included in the measurements page of the web UI.

LGTM 💯


invalid user guid accepted by PUT /v2/organizations/:guid/billing_managers/:guid API

Issue
API response inconsistency, when using an invalid user guid:
d:\projects>cf curl /v2/spaces/3261e2ae-ed69-4eb7-a55d-835c36fd0610/developers/1234 -X PUT
{
   "description": "1234",
   "error_code": "CF-InvalidRelation",
   "code": 1002
}
d:\projects>cf curl /v2/organizations/c87b1efc-0578-4267-b64a-ae08333e3ba3/billing_managers/1234 -X PUT -v

REQUEST: [2017-09-28T01:43:45+09:00]
PUT /v2/organizations/c87b1efc-0578-4267-b64a-ae08333e3ba3/billing_managers/1234 HTTP/1.1
...

RESPONSE: [2017-09-28T01:43:45+09:00]
HTTP/1.1 201 Created

Shouldn't the latter call fail like the first one did?
Expected result
Both APIs to return with a similar error.

Thanks for submitting this issue @dkoper. We will investigate an get back to you with more information.
Thanks,
Greg

@dkoper we are able to reproduce your issue on the latest CAPI release. We'll look into why this isn't erroring as expected.

@dkoper
@ljfranklin and I did a bit of investigation and neither the org nor the space endpoints actually do any validation around the user guid belonging to a valid UAA user.
The CF-InvalidRelation error you're seeing after doing cf curl /v2/spaces/3261e2ae-ed69-4eb7-a55d-835c36fd0610/developers/1234 is due to the fact that user 1234 is not a user within the org and has nothing to do with the fact that it isn't a valid UAA user.
If you were to make a call like cf curl -v /v2/organizations/c87b1efc-0578-4267-b64a-ae08333e3ba3/users/1234 -X PUT first, the call to the spaces endpoint would have succeeded.
I think the real problem here is that the error itself isn't very understandable.
@zrob I think we could actually update the error messages pretty easily here:
https://github.com/cloudfoundry/cloud_controller_ng/blob/723c2585a73fd34c496f288eb7328f85e80c2756/app/models/runtime/space.rb#L184-L194
Right now it's just passing the user.guid into the error and using that as the message. We could pass it something.. better. 🍾

Closing as we're not really doing v2 work anymore


test: Remove infra details from robot code

Currently, common_variables.robot contains data which is specific to one particular lab. That is inflexible (not to mention insecure), other labs cannot run the same tests without editing robot code.
Remove the data, instead add comments explaining which Robot variables have to be set on invocation. Edit current Jenkins jobs to set the variables with the current data.

Andrej has convinced me that short-term this has drawbacks, so putting this on backburner.
Except one thing, default values for ${ENV} do not need to be written in every suite.


Due to yaml spec https://yaml.org/type/bool.html some values can be

interpreted as boolean values and therefore generated wrong results.
To workaround this an extra_properties option to yacfg is added so
that the caller can pass in some 'extra' information as key-value set.
A filter is then added to check out on the extra properties and
make proper overrides.
Fixes #24

Codecov Report

Merging #25 (69eb77f) into master (2559e8a) will increase coverage by 3.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
+ Coverage   66.71%   70.04%   +3.32%
==========================================
  Files          18       18
  Lines         661      671      +10
==========================================
+ Hits          441      470      +29
+ Misses        220      201      -19

Impacted Files
Coverage Δ

src/yacfg/yacfg_cli.py
0.00% <ø> (ø)

src/yacfg/cli_arguments.py
86.00% <100.00%> (+0.28%)
:arrow_up:

src/yacfg/yacfg.py
98.64% <100.00%> (+0.18%)
:arrow_up:

src/yacfg/files.py
100.00% <0.00%> (+4.47%)
:arrow_up:

src/yacfg/profiles.py
87.27% <0.00%> (+29.09%)
: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 2559e8a...69eb77f. Read the comment docs.


[TRANSLATIONS]

[ ] Base LISMOI.md
[ ] Pour-professeurs.md
[ ] Examens
[ ] 1-Commensons-les lessons de base LISMOI

[ ] introduction-aux-languages de programmation- LISMOI
[ ] introduction-aux-languages de programmation mission
[ ] Les bases de github- LISMOI
[ ] accessibilité LISMOI
[ ] accessibilité mission

[ ] 2-Les bas de js LISMOI

[ ] Les types de données LISMOI
[ ] Les types de données mission
[ ] Les méthodes de functions LISMOI
[ ] Les méthodes de functions mission
[ ] Prendre décisions LISMOI
[ ] Prendre décisions mission
[ ] arrays-loops LISMOI
[ ] arrays-loops mission

[ ] 3-terrarium base LISMOI

[ ] intro-to-html LISMOI
[ ] intro-to-html mission
[ ] intro-to-css LISMOI
[ ] intro-to-css assignment
[ ] intro-to-DOM-and-closures README
[ ] intro-to-DOM-and-closures assignment

[ ] 4-typing-game base README

[ ] typing-game README
[ ] typing-game assignment

[ ] 5-browser-extension base README

[ ] about-browsers README
[ ] about-browsers assignment
[ ] forms-browsers-local-storage README
[ ] forms-browsers-local-storage assignment
[ ] background-tasks-and-performance README
[ ] background-tasks-and-performance assignment
[ ] solution base README
[ ] start base README

[ ] 6-space-game base README

[ ] introduction README
[ ] introduction assignment
[ ] drawing-to-canvas README
[ ] drawing-to-canvas  assignment
[ ] moving-elements-around README
[ ] moving-elements-around  assignment
[ ] collision-detection README
[ ] collision-detection assignment
[ ] keeping-score README
[ ] keeping-score assignment
[ ] end-condition README
[ ] end-condition assignment

[ ] 7-bank-project base README

[ ] template-route README
[ ] template-route assignment
[ ] forms README
[ ] forms  assignment
[ ] data README
[ ] data assignment
[ ] state-management README
[ ] state-management  assignment
[ ] solution base README

please let me know if that was right , to proceed.

We have a French issue in progress, so please collaborate there, thanks


Enhance Sync Progress Percentage Rendering By Type

Engineer Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[ ] I have verified any strings visible on UI components are in the strings.xml file
[ ] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[ ] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[ ] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

Build depends on Tech Debt fix in PR https://github.com/opensrp/fhircore/pull/2179