Feature extraction using CNN

Hi,
I would like to extract feature sequence of a text line image  using CNN.
How can I perform this using cnn.py or model.py ?
Thank you in advance for your help.

Hi,
If you only need to perform feature extraction with CNN, you don't really need this package. Try the Tensorflow tutorial on CNN, it shouldn't be very hard and only requires Tensorflow itself.

Hi Mr Edward,
Please, I have a question about feature extraction from an image using CNN
keras.
Should I train the model on my own data or simply I build the model and
save it, then I load weights to predict the output of the wanted layer??
My code is the below:
def buildModel(height_im,slidingwindow_widh):
kernel=(3, 3)
input_img = Input(shape=(height_im, slidingwindow_widh, 1))  # adapt
this if using channels_first image data format
x = Conv2D(12, (3, 3), activation='relu', padding='same',
name='block1_conv1')(input_img)
x = Conv2D(12, (3, 3), activation='relu', padding='same',
name='block1_conv2')(x)
x = MaxPooling2D((2, 2), strides=(2, 2), name='block1_pool')(x)
# Block 2
x = Conv2D(3, (3, 3), activation='relu', padding='same',

name='block2_conv1')(x)
x = Conv2D(3, (3, 3), activation='relu', padding='same',
name='block2_conv2')(x)
x = MaxPooling2D((2, 2), strides=(2, 2), name='block2_pool')(x)
model = Model(input = input_img, output = x)

model.summary()
model.compile(optimizer='adam', loss='binary_crossentropy',

metrics=['accuracy'])
model.summary()
savemodel(model)
return model
model = loadmodel()
# this model maps an input to its encoded representation
encoder = Model(inputs=model.input,
outputs=model.get_layer('block2_pool').output)
#predict encoded format of an input image

encoded_imgs = encoder.predict(x_test)*
encodeim=encoded_imgs[i].reshape(1, -1).T
print 'Feature Vector: ', encodeim

2017-08-23 11:59 GMT+01:00 Edward Medvedev<EMAIL_ADDRESS>
Hi,
If you only need to perform feature extraction with CNN, you don't really
need this package. Try the Tensorflow tutorial on CNN
https://www.tensorflow.org/tutorials/layers, it shouldn't be very hard
and only requires Tensorflow itself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/emedvedev/attention-ocr/issues/5#issuecomment-324295075,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO5KDCEVsQpI-1gmOdagqmGnNe69J35Iks5sbAYZgaJpZM4O_zr3
.

--
Best regards,
Sana Khamekhem Jemni

PhD Student
MIRACL Laboratory
ENIS

Unfortunately, I'm afraid can't help you with your own code, but if you have an issue with this project, please feel free to report it.


may i request

bro application so stuck when download file size is larger almost 300MB and above.. i feel too stuck when internet connection speed so fast bro.. My phone model is One plus 2 bro ...

Hi, bro, did you ever meet memory leaks when use this library?

i think so but not sure bro .. and did you meet ??

yes，I do. I have  feedback to the author, and he promises to check it out when he is free. But I have solved the leak issue use  the way of "static + weakReference" in my own project. But the scene you described, sorry, I have no idea.

Omm how is static + weakReference  bro :

it means when you use handler, you will face the leak problem, make handler static and require the weakReference of Activity can avoid this problem.   If you want to reproduce the leak issue, you can try LeakCanary, it will show you the root of leak issue.  : )

thank bro which are make static for these library .your project bro? If you wish please show your sample bro thank :)

It is complicated to show the sample, if you want more detail, pls leave your  contact information.

ok thank bro<EMAIL_ADDRESS>

I found the reason for the stuck, because of allocate a large number of Objects and frequent update notification caused, I will optimize them this weekend

Thank you so much bro :D i waiting ...

I just released a new version 1.2.0, try it out

Wooo thank you so much bro  i will ...

Sorry for the wait..

ohm no..o bro .. :D i want to say thank you again for update bro ....

bro if you don't mind ...i want to learn rxJava or rxKotlin.. but i can;t found anywhere source ..please share kindly if you have book or video tutorials bro :D

hi i found new issuse when delete downloaded file and download again notification vibrate is already vibrate .. i kill app and download again is ok ... bro please check it
this issue is not happen  version 1.1.9
i use delete for these function -->
RxDownload.INSTANCE.stop(mission).subscribe();
RxDownload.INSTANCE.delete(mission, true).subscribe();
RxDownload.INSTANCE.clear(mission);

vibrate is only use in succed notification bro like this
private Notification succeed(NotificationCompat.Builder builder, Context context) {
    builder.setContentText("download successful");
    builder.setVibrate(new long[]{1000, 1000, 1000, 1000, 1000});
    builder.setLights(Color.GREEN, 3000, 3000);
    dismissProgress(builder);
    return builder.build();
}


[sigh] prevent crashes in fetch_profiles when profiles have no bundle_id

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.
[x] I've added or updated relevant unit tests.

Motivation and Context
This change is required for fastlane sigh, if the provisioning profiles for Apple needs to be recreated or fetched.
Shell command:
fastlane sigh --app_identifier $APP_ID --username $FASTLANE_USER --provisioning_name $PROVISIONINF_NAME --team_id $TEAM_ID --template_name "$TEMPLATE_NAME" --ignore_profiles_with_different_name --skip_certificate_verification
Error: identifier' for nil:NilClass (NoMethodError)
If a build pipeline is running the same shell / bash command for fastlane sigh multiple times, the error is happening sporadically.
Resolves #21238
Description
The change is to check if the profile.bundle_id is nil / null.
Testing Steps
Changes are tested within a forked repository. From this forked repository, the forked version for gem install was created, implemented in the pipeline and many builds are triggered and ran successfully in parallel using the above fastlane sigh command.

@jonas2808 thanks for your contribution to fix this edge case. 👍

@lacostej Yes, sure. Should we try that on our side, if it works as well as expected?
Can that edge case fix be included in any of the next official fastlane versions? :)

Hi @jonas2808 👋  any position on the question above? :)
Also, would you mind resolving the merge conflicts? 🙇
Thanks!


Junit5VNC recorder + browser image configurable

@spriadka any reason why .mvn/wrapper/maven-wrapper.properties has been deleted? I think that's why the build fails.

LGTM! Thanks @spriadka


Bug's Life, A (USA) (SGB Enhanced) (GB Compatible).gbc flashing screen

the game keeps flashing

This seems to happen because the game briefly clears LCDC bit 7 (LCD/PPU enabled) once every few frames. I confirmed that it also briefly clears that bit in other emulators that don't have this bug, so I must not be correctly handling what happens when the LCD is disabled for a very short time - I'll look into what the correct behavior should be (might be something GBC-specific)

I was able to fix this by waiting for roughly a frame's worth of cycles to clear the frame buffer after the LCD is disabled. A Bug's Life only leaves the LCD disabled for about 7 lines' worth of cycles which is nowhere near that.
This should be fixed on master


Remove unused mesosTaskID constant

+1

@dichiarafrancesco objections?

+1
Should get signoff from @dichiarafrancesco though.

+1


In Windows Alt key doesn't allow menu items to be activated, e.g. Alt-F+S normally saves

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

vscode-markdownlint
DavidAnson
0.6.2

json-tools
eriklynd
1.0.2

vscode-auto-open-markdown-preview
hnw
0.0.3

vscode-JS-CSS-HTML-formatter
lonefy
0.2.2

csharp
ms-vscode
1.7.0

PowerShell
ms-vscode
0.9.0

Theme-MarkdownKit
ms-vscode
0.1.1

vs-keybindings
ms-vscode
0.1.3

azurerm-vscode-tools
msazurermtools
0.3.4

Spell
seanmcbreen
0.9.1

Steps to Reproduce:

Press the 'Alt' Key, the 'F' is underlined, but the menu is not displayed.

I think you mean to say "pressing the Alt key does not move keyboard focus to the menu" ?

Is this https://github.com/Microsoft/vscode/issues/10525 ?

https://github.com/Microsoft/vscode/issues/5556


Fix run-on sentence

Hey @petele,
Another issue to be fixed on this page: we should mention that on Chrome OS, there's no mini-infobar (or any default A2HS affordance). See this and this.

:tada: This has been pushed live to https://developers.google.com/web/


Title component react

Calling this component will show our app title with selected font and colors
/!\ Currently does not resizes to window. WIP

Changes commited


Don't change Author line

Issue
Aider currently adds "(aider)" in the author field of  its commits after the current user name. This breaks strict author checking. Can we by default, or at least with a startup argument not change the Author string?
Version and model info
No response

Thanks for trying aider and filing this issue. This doc may be helpful:
https://aider.chat/docs/git.html

Thanks for this info!


LLDP interface may show mac address instead of remote port name

Environment

Nautobot version (Docker tag too if applicable): 1.5.7
Python version: 3.8.13
Database platform, version: postgresql 9.6
Middleware(s): napalm 4.0.0

When using the LLDP neighbors tab in the device view, some devices return a mac address for the remote LLDP interface.
Steps to Reproduce

Configure napalm
Go to device
Click on LLDP Neighbors tab

Expected Behavior
LLDP interface name to be displayed
Observed Behavior
With some device types/napalm drivers, LLDP interface shows the remote mac address. On these devices, LLDP reports the port name under remote_port_description instead of remote_port
Potential fix to the ajax function
var neighbor_port = neighbor['remote_port'] || ""; // sanitize port if it's null to avoid breaking the split func
if (neighbor_port.match(/^[a-fA-F0-9]{2}(:[a-fA-F0-9]{2}){5}$/)) {
    neighbor_port = neighbor['remote_port_description'] || ""; // use remote_port_description if remote_port is a mac address
}

This was fixed in #5413


Querying storage usage returns empty result when bucket is nearly empty [JIRA: RCS-169]

Run storage calculation batch every hour.
{storage_schedule,["0100","0200","0300","0400","0500","0600","0700","0800","0900","1000","1100","1200","1300","1400","1500","1600","1700","1800","1900","2000","2100","2200","2300","0000"]},

Query storage usage for the period corresponding to above storage schedule (e.g. 05:00:00) which I believe should return the storage samples taken at 05:00:00. It actually returns empty result.
# s3curl.pl --id ponta -- -s -x localhost:8080 http://riak-cs.s3.amazonaws.com/usage/JQAFJOYQ6HGGGDGHMYGG/b/20131228T050000Z/20131228T060000Z | python -m json.tool
{
    "Access": "not_requested",
    "Storage": {
        "Errors": [],
        "Samples": []
    }
}

If I shift the query range a bit it will successfully return the stats.
# s3curl.pl --id ponta -- -s -x localhost:8080 http://riak-cs.s3.amazonaws.com/usage/JQAFJOYQ6HGGGDGHMYGG/b/20131228T045959Z/20131228T060000Z | python -m json.tool
{
    "Access": "not_requested",
    "Storage": {
        "Errors": [],
        "Samples": [
            {
                "EndTime": "20131228T050000Z",
                "StartTime": "20131228T050000Z",
                "bucket777": {
                    "Bytes": 2097152,
                    "Objects": 1
                },
<snip>

Seems that it only happens when the storage batch completes less than a second and StartTime and EndTime is the same.
                "EndTime": "20131228T050000Z",
                "StartTime": "20131228T050000Z",

duplicate of #978


Created the CONTRIBUTING.md

@shubhidua I have made the corrections as told by you.Please check it ! Thank you!
Issue: #3

@MihirBhave Just add the Steps to contribute as listed by you in CONTRIBUTING.md file by creating a subheading and listing down steps. Do not change the whole file.


Hey sorry please ignore

Hi Michael,
sorry I was looking at classmates's github page while uploading mine, accidentally edited yours please help ignore this!!
Thank you
kaitlyn

Hey Kaitlyn, no worries! I’m a beginner at all this stuff…do I have to do anything to ignore the request?? Haha sorry.
Michael Chang
626 757 4557

From: Kaitlyn Tian @.>
Sent: Sunday, October 10, 2021 1:26:01 PM
To: michaelchang106/michaelChangHomePage @.>
Cc: Subscribed @.***>
Subject: [michaelchang106/michaelChangHomePage] Hey sorry please ignore (#1)
Hi Michael,
sorry I was looking at classmates's github page while uploading mine, accidentally edited yours please help ignore this!!
Thank you
kaitlyn

You can view, comment on, or merge this pull request online at:
https://github.com/michaelchang106/michaelChangHomePage/pull/1https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641704580|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=rLoAYPj3DLxjqgkbU8xD%2FZK4YJMqJgXG%2BIoF%2FkvBKbk%3D&reserved=0
Commit Summary

Update index.htmlhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1%2Fcommits%2F8a11a38b072c1a130c68a43aac97291dc16743b1&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641704580|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FF4WIGegikhqo2Vfjadyv%2Bbve%2BS%2BO%2BXjgLmdVF68xig%3D&reserved=0

File Changes

M index.htmlhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1%2Ffiles%23diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641714572|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=i4yNn9%2FrfZtHWXbcCPofF3RZPxblEs7vErqwd%2B2gprQ%3D&reserved=0 (206)

Patch Links:

https://github.com/michaelchang106/michaelChangHomePage/pull/1.patchhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1.patch&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641714572|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yLeA4tY9ER2ts5SphYlbTwpFBe7Xc%2BpeJ8kJ4PmNYsU%3D&reserved=0
https://github.com/michaelchang106/michaelChangHomePage/pull/1.diffhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1.diff&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641724567|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fadmAsL2J1duFTugJXsHfTaIGI%2FvhZvUB8mg%2BcRObSM%3D&reserved=0

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641724567|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XGt79uLJ508mFy%2FzaV%2BmnNB8kSTfrELqiJ7pHrcL9HI%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARBX7XPAHIJXAUIZTBQE5Q3UGHZFTANCNFSM5FW2YSYA&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641734556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=JF7tqIJaEWBBb9DHnQJFKUN42jHcd0hzHq6pIPuPMJ4%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641734556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=lGbiLanQO5TXLKju%2FI%2FBxc8kGa8gQL7EFKhS7TxbwVY%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641744550|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=WyNPrg4F6h9cJy33KkgBAwzCmuU9jjO%2BDzBkvWxR8aM%3D&reserved=0.

Got it thanks. No worries we’re all learning. Thanks for letting me know!
Sent from my iPhone
On Oct 10, 2021, at 1:35 PM, Kaitlyn Tian @.***> wrote:

Haha sorry I think you just can not commit to this change!! Sorry it’s so
embarrassing I should’ve look at which tab I’m uploading. I was so new to
this!
On Sun, Oct 10, 2021 at 4:34 PM michaelchang106 @.***>
wrote:

Hey Kaitlyn, no worries! I’m a beginner at all this stuff…do I have to do
anything to ignore the request?? Haha sorry.
Michael Chang
626 757 4557

From: Kaitlyn Tian @.>
Sent: Sunday, October 10, 2021 1:26:01 PM
To: michaelchang106/michaelChangHomePage @.>
Cc: Subscribed @.***>
Subject: [michaelchang106/michaelChangHomePage] Hey sorry please ignore
(#1)
Hi Michael,
sorry I was looking at classmates's github page while uploading mine,
accidentally edited yours please help ignore this!!
Thank you
kaitlyn

You can view, comment on, or merge this pull request online at:
https://github.com/michaelchang106/michaelChangHomePage/pull/1<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641704580|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=rLoAYPj3DLxjqgkbU8xD%2FZK4YJMqJgXG%2BIoF%2FkvBKbk%3D&reserved=0

Commit Summary

Update index.html<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1%2Fcommits%2F8a11a38b072c1a130c68a43aac97291dc16743b1&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641704580|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FF4WIGegikhqo2Vfjadyv%2Bbve%2BS%2BO%2BXjgLmdVF68xig%3D&reserved=0

File Changes

M index.html<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1%2Ffiles%23diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641714572|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=i4yNn9%2FrfZtHWXbcCPofF3RZPxblEs7vErqwd%2B2gprQ%3D&reserved=0>
(206)

Patch Links:

https://github.com/michaelchang106/michaelChangHomePage/pull/1.patch<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1.patch&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641714572|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yLeA4tY9ER2ts5SphYlbTwpFBe7Xc%2BpeJ8kJ4PmNYsU%3D&reserved=0

https://github.com/michaelchang106/michaelChangHomePage/pull/1.diff<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1.diff&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641724567|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fadmAsL2J1duFTugJXsHfTaIGI%2FvhZvUB8mg%2BcRObSM%3D&reserved=0

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641724567|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XGt79uLJ508mFy%2FzaV%2BmnNB8kSTfrELqiJ7pHrcL9HI%3D&reserved=0>,
or unsubscribe<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARBX7XPAHIJXAUIZTBQE5Q3UGHZFTANCNFSM5FW2YSYA&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641734556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=JF7tqIJaEWBBb9DHnQJFKUN42jHcd0hzHq6pIPuPMJ4%3D&reserved=0

.
Triage notifications on the go with GitHub Mobile for iOS<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641734556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=lGbiLanQO5TXLKju%2FI%2FBxc8kGa8gQL7EFKhS7TxbwVY%3D&reserved=0>
or Android<
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|chang.mi%40northeastern.edu|069eec9291374bbf727408d98c2c2d55|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694943641744550|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=WyNPrg4F6h9cJy33KkgBAwzCmuU9jjO%2BDzBkvWxR8aM%3D&reserved=0
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/michaelchang106/michaelChangHomePage/pull/1#issuecomment-939548383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6NUNITLSZCMNYZODN2HQTUGH2DRANCNFSM5FW2YSYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Kaiwen(Kaitlyn) Tian
Northeastern University| Khoury College of Computer Sciences
Candidate for BS in Data Science and Entrepreneurship
E. @.***
C.<PHONE_NUMBER>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichaelchang106%2FmichaelChangHomePage%2Fpull%2F1%23issuecomment-939548544&data=04|01|chang.mi%40northeastern.edu|f8750d9157d34207729208d98c2d801e|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694949332564847|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=u9t8TjykpT%2FCIPQAdCQuf4OTg%2FcctWsSHnhFlJsOLf8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARBX7XIQC27G4EVBVDN4CJLUGH2JDANCNFSM5FW2YSYA&data=04|01|chang.mi%40northeastern.edu|f8750d9157d34207729208d98c2d801e|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694949332564847|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=e38KiHDJP4l9vokc5bDf0v6q8j3IuLsF7Y5LFUCD1r4%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|chang.mi%40northeastern.edu|f8750d9157d34207729208d98c2d801e|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694949332574841|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=mW6%2BLz5mSRNdsMBl6WWyaYJ%2BarGzAO%2BiBmWYI1ACTFU%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|chang.mi%40northeastern.edu|f8750d9157d34207729208d98c2d801e|a8eec281aaa34daeac9b9a398b9215e7|0|0|637694949332584838|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=puXX%2F3pz%2BTDlH9MIG5sCvwc%2BSbPxbrnALYPX3QHS8vE%3D&reserved=0.


proof: Remove the imprecise pre-allocation

Codecov Report

Merging #16 (c0678f8) into main (fd7bbd8) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   97.88%   97.90%   +0.02%
==========================================
  Files           6        6
  Lines         378      382       +4
==========================================
+ Hits          370      374       +4
  Misses          6        6
  Partials        2        2

Impacted Files
Coverage Δ

proof/proof.go
97.02% <100.00%> (+0.12%)
: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 fd7bbd8...c0678f8. Read the comment docs.


"az apic metadata delete" has no effect

Describe the bug

the deletion was performed, but the data that was just deleted can still be queried
Related command
az apic metadata delete
Errors
"az apic metadata delete" has no effect
Issue script & Debug output
az apic metadata delete
Expected behavior
the deleted data should not be found
Environment Summary
azure-cli                         2.57.0 *
core                              2.57.0 *
telemetry                          1.1.0
Extensions:
apic-extension                   1.0.0b5
azure-devops                      0.26.0
Dependencies:
msal                              1.26.0
azure-mgmt-resource             23.1.0b2
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\v-liliu2.azure\cliextensions'
Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec  4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response

Please ignore this bug. The deletion was successful because I wrote one less letter, which caused the deletion to fail


Fix subscripts in polynomial model

This PR is for issue #94.
Current master:

Updated fix_subscripts_poly_model:

I just have one concern about this PR since there are no contribution guidelines and no specification of which version of npm to use. My version of npm creates a package-lock.json file which I committed. Please let me know if you want this removed.
I'm happy to make any changes.

Hadn't noticed the yarn.lock. Switched to yarn and got rid of the package-lock.json.


Fetch whole DB

Hi,
Thanks for the great lib
I have a question. One thing that was bizarre in the original library, it fetched the total IndexedDB into memory and query from that. Do you follow the same pattern or it is implemented another way?

See issue #4
Does that do what you are looking for?


feat: add selection to requestlist

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


cgMLST.py database missing from install script

cgMLST.py requires database to be provided.
It's available here: https://bitbucket.org/genomicepidemiology/cgmlstfinder_db/src/master/

We will need to decide on an install location for these databases to live before be can include this maybe something like /opt/cgMLST/databases would be sensible

Yes, the size of the database(s) are also an issue. For most people the ecoli one is probably only needed, however when I tried to run this on 2 isolates the program fell over. Could have been due to not enough RAM as I was running something else at the time.


[Donut Chart] [Customization] Add label when no slice is selected and enable/disable click on slice

Hi guys!
First of all, thanks for the awesome work! I'm a fan. :fire: :heart_eyes:
I would like to add a few customizations to the donut/pie chart.
Display the sum of values with a unit on 2 lines (to avoid the line becomes too big and overlap the chart)
Enable/disable the click on slice.
Those customizations don't affect the original looking of the chart since they can be disabled/enabled (and are disabled by default).
According with those 2 features, it is now possible to come back to a no_selection case.
I find those customizations very useful.
Feel free to comment, suggest any suggestion to my PR :smile:
Again, thanks for the work!
EDIT:
I've added a few more customizations:
Display percentage OR value of slice with unit (percentage by default)
Label color can match slice color (specified color by default)
Here is a video: showing firstly the chart without my customizations then with my customizations. I don't show the no click feature, I can add one more video for that if wanted.
https://user-images.githubusercontent.com/27420929/231124831-91bfed1b-f071-42b2-a874-971144e33109.mp4

could you please attach some videos of the new changes?

@alexandre-thauvin could you please attach some videos of the new changes?

Done!
I don't show the click disabled feature however I show all the rest. Ask me if wanted. :slightly_smiling_face:

Looks good. Please update your branch with the main branch. There are some conflicts

Looks good. Please update your branch with the main branch. There are some conflicts

Conflicts resolved, I have put a config with my customizations on the second donut :slightly_smiling_face:

@alexandre-thauvin Thank you so much  for your contribution

Thanks for the merge @dkk009 ! When will I know that a new version is available with theses changes? 🙂

@alexandre-thauvin Thank you for your contribution, Most probably on this month end


order of explanations on : "A - Using TorchText with Your Own Datasets"

I think that this is a bit confusing on a first read.
Here, to access the name we use batch.n, to access the location we use batch.p, etc.
but what are n, p, etc is explained later on
fields = {'name': ('n', NAME), 'location': ('p', PLACE), 'quote': ('s', SAYING)}

Yes, it is, thanks! Thanks for the info... Is torchtext supported officially by Facebook? I would like and expect more support which I do not see it, unfortunately. Although the guys that work on this, are awesome.

Yeah, it is an official library. I believe there is only a single person working on it, who also has other responsibilities, hence why it does not have great support.


Loading UTF-16 XML

Hi there,
it is possible to load/read xml with an encoding of UTF-16?
for  example:
<?xml version="1.0" encoding="utf-16" standalone="yes"?>
<Response>
  <IsSuccessful>false</IsSuccessful>
  <Data></Data>
  <Errors>
    <Error>InsuredEmail required.</Error>
    <Error>AgentEmail required.</Error>
    <Error>InsuredEmail is not a valid e-mail address.</Error>
    <Error>AgentEmail is not a valid e-mail address.</Error>
  </Errors>
</Response>

loading with xml_decode or Document will result in
Could not load the DOM Document [FATAL] : Document labelled UTF-16 but has UTF-8 content  (81) on line 1,38
thanks!

Hello there,
I haven't really experimented with UTF16 XML yet tbh.
But the general approach would be to:
use VeeWee\Xml\Dom\Document;
use function VeeWee\Xml\Dom\Configurator\loader;
use function VeeWee\Xml\Dom\Loader\xml_string_loader;

$doc = Document::configure(
    utf16(),
    loader(xml_string_loader($utf16String))
);

This package currently does not ship with a utf16 configurator, but you can take a look at the UTF8 one to base it upon:
/**
 * @return Closure(DOMDocument): DOMDocument
 */
function utf16(): Closure
{
    return static function (DOMDocument $document): DOMDocument {
        $document->encoding = 'UTF-16';

        return $document;
    };
}

Hi, thanks for the reply.
I actually tried exactly, that, but still got the error that i posted in the OP!

ok, looked at this again.
this does work if i run the string though
\Psl\Str\convert_encoding($xml, \Psl\Str\Encoding::UTF_8, \Psl\Str\Encoding::UTF_16),

I'll check, but i think this is an issue with the actual soap webservice returning utf-8 content  instead of utf-16, or it's being converted automatitally somewhere my end...


Fix JSON serialization to not be custom

Summary
The current JSON serialization/deserialization is too customized and prone to errors. Let's just use the common library to serialize/deserialize with the necessary renaming of keys to avoid reserved word conflicts
Other Information
I uncovered some issues when attempting to use the current JSON deserialization method when some content like this:
{
  "matching_results":1,
  "results":[
    {
      "id":"d64fc7e4a9454b60d8e4d8a06736c7cf8dd4b9bd23aa6a29fe04979285564a89",
      "score":0,
      "CONTENTTYPE":"application/octet-stream;type=unknown",
      "COMMENTCOUNT":"0",
      "LIKECOUNT":"0",
      "CONTENTFILENAME":"/wds/result.json",
      "CONTENTDATA":"{\"additional_properties\":{\"CASENUMBER_serialized_name\":\"00001025\",\"STATUS_serialized_name\":\"Closed\",\"ISCLOSED_serialized_name\":\"true\",\"ROWID_serialized_name\":\"500f0000007Ami9AAC\",\"extracted_metadata_serialized_name\":{\"sha1_serialized_name\":\"9cd93e0d54ca34913b703c59c593e3fdeb4731d2\",\"filename_serialized_name\":\"filename\",\"file_type_serialized_name\":\"json\"},\"SUBJECT_serialized_name\":\"Motor design hindering performance\",\"REASON_serialized_name\":\"Equipment Design\",\"OBJECT_TYPE_serialized_name\":\"CASE\",\"CLOSEDDATE_serialized_name\":\"2016-09-19 14:59:51.0\"},\"score_serialized_name\":0.2824934,\"metadata_serialized_name\":null,\"id_serialized_name\":\"803604064ea16f550e9a803aa8bbe7181f4fc256261d831bd940077a735e4573\",\"collection_id_serialized_name\":\"7f6b6c22-db23-4626-93d5-81b53b98f9fd\"}\n",
      "TITLE":"Search Result",
      "PARENTID":"5000O00001IDuCaQAL",
      "ROWID":"0D50O00003lYjftSAC",
      "extracted_metadata":{
        "sha1":"2bc258b4d1d944162f5e17efee9d1228808c10d8",
        "filename":"filename",
        "file_type":"json"
      },
      "CONTENTSIZE":"780",
      "OBJECT_TYPE":"CASEFEED",
      "RELATEDRECORDID":"0680O00000487gmQAA",
      "INSERTEDBYID":"0050O0000078KVxQAM",
      "TYPE":"ContentPost"
    }
  ]
}

notice how the CONTENTDATA key contains JSON, which is getting replaced by the current regex-based approach.

I know what you are thinking - "this is going to be too slow!"
I went ahead and tested it a bunch. The old code takes about 1200ms on average to process an average 10 result Watson Discovery query response whereas this new code takes about 800ms to process the same one (I benchmarked the entire request rather than just the serialization/deserialization)

@maniax89 can you write some units test? I think that you can store the json in the Mock responses and use that for the unit tests?
We added functional tests to Travis and it seems like Tone Analyzer is failing :(


feat: allow v2 volume to attach on the an old and running instance-manager pod

Which issue(s) this PR fixes:

Issue Longhorn/longhorn#9383
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

cc @c3y1huang @ChanYiLin @shuo-wu @innobead ready to go.


remove logos for deprecated services

refs #2510

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS against dca11908a88bd6cc255c8047b5f710b92b8fb422

Thanks for taking care of this.


Make the copyright field configurable

v1.2 still has "DriveWorks - 2023" in the copyright field. This should be configurable

Fixed with 9185404a8edb0e6f1bc2e7026d4cea86b0d6aa9c


Feature request: support for ak.to_rdataframe

Hello,
for the purposes of using C++ functions with Awkward arrays as arguments (called from the Python environment) it seems the recommendation is to use RDataFrame as the "hook" (and with RDataFrame then it is then trivial to call C++ methods). This is demonstrated (e.g.) here and described in this talk.
For Dask-awkward, the relevant method doesn't seem to exist:
AttributeError: module 'dask_awkward' has no attribute 'to_rdataframe'
Would it be possible for this feature to be added in the long term? In the meantime, is there a method of calling C++ functions from Dask-awkward?
Thanks!
James Catmore (ATLAS)

cc @jpivarski
The simple solution, is that you can call that method (the ak version) on each partition of a dask-dataframe (.map_partitions). So what should a pile of RDataFrames do, though? It would no longer be a dask-awkward array, I suppose.

Something like this may work; (with an explicit argument for optimizing the awkward collection because of course once we leave awkward we can't use dask-awkward optimizations back).
class ToRDataFrame:
    def __init__(self, keys: Sequence[str], flatlist_as_rvec: bool = True) -> None:
        self.keys = keys
        self.flatlist_as_rvec = flatlist_as_rvec

    def __call__(*args: ak.Array) -> Any:
        array_dict = {k: p for k, p in zip(self.keys, list(args))}
        return ak.to_rdataframe(array_dict, flatlist_as_rvec=self.flatlist_as_rvec)

def to_rdataframe(
    arrays: dict[str, dak.Array],
    *,
    flatlist_as_rvec: bool = True,
    optimize_graph: bool = False,
):
    keys, colls = [], []
    for k, coll in arrays.items():
        keys.append(k)
        if optimize_graph:
            colls.append(dask.optimize(coll)[0])
        else:
            colls.append(coll)

    fn = ToRDataFrame(keys, flatlist_as_rvec=flatlist_as_rvec)

    mp_res = map_partitions(
        fn,
        *colls,
        label="to-rdataframe",
        meta=empty_typetracer(),
    )

    return dak.to_delayed(mp_res)

invoking ak.to_rdataframe does some ROOT importing/setup:
In [1]: import awkward._connect.rdataframe.to_rdataframe
Installed ROOT event loop hook.

If we don't pre-import this the dask compute hangs; We can do this explicitly when dak.to_rdataframe is called and with the default (threaded) scheduler things then work, but I wonder if this will cause a problem on distributed workers

So what should a pile of RDataFrames do, though? It would no longer be a dask-awkward array, I suppose.

ak.to_rdataframe returns something that is no longer an Awkward Array, but it might be a Dask object. RDataFrame has a Distributed mode that runs on Spark and Dask (ref, ref, ref, ref). What I don't know is whether that mode "takes over" and drives Dask, or whether it's a Dask collection that can be used with other Dask collections. I suspect the former, and if so, then perhaps we can't mix distributed-Awkward with distributed-RDataFrame through dak.to_rdataframe.
We can run Numba-accelerated code on the workers, in part because it's just a function call in which Awkward Arrays can be arguments and/or return values.
The C++ equivalent of Numba is not RDataFrame, but cppyy. The Awkward-cppyy interface works like the Awkward-Numba interface: Awkward Arrays can be arguments and/or return values of functions, but instead of being Numba-accelerated Python functions, they're C++ functions.
This was added in the past year; here's a paper (I don't know what happened to the talk slides) and there's a code example in this talk (page 12):
array = ak.Array([
    [{"x": 1, "y": [1.1]}, {"x": 2, "y": [2.2, 0.2]}],
    [],
    [{"x": 3, "y": [3.0, 0.3, 3.3]}],
])

source_code_cpp = """
template <typename T>
double go_fast_cpp(T& awkward_array) {
    double out = 0.0;
    for (auto list : awkward_array) {
        for (auto record : list) {
            for (auto item : record.y()) {
                out += item;
            }
        }
    }
    return out;
}
"""
cppyy.cppdef(source_code_cpp)

out = cppyy.gbl.go_fast_cpp[array.cpp_type](array)
assert out == ak.sum(array["y"])

(The Awkward Array's C++ type is sufficiently complicated that we want to hide it in a template parameter and instantiate that template parameter with array.cpp_type.)
I think this would be a better interface to approach for distributing C++ on Awkward Arrays in Dask. RDataFrame is higher level and tries to control too much about how it gets parallelized—for user convenience, but at a cost to composability. Raw function calls are infinitely composable and would be much easier to fit into the context of another system that controls parallel-processing.
Cc: @ianna

invoking ak.to_rdataframe does some ROOT importing/setup:
In [1]: import awkward._connect.rdataframe.to_rdataframe
Installed ROOT event loop hook.

Both the Awkward-RDataFrame bridge and the Awkward-cppyy bridge compile some code the first time an ak.Array is used in a function and additional code as needed. I don't see why that would be a problem for Dask workers—each Dask worker is a process and has to independently compile the upfront code on first usage, just as it does outside of a Dask worker. I hope that the JIT-compilation step applies a lock to ensure thread-safety (only one thread per process should do the compilation, and thereafter it's read-only). If the JIT-compilation step is not thread-safe yet, we can test it with --nthreads 1.
Also, I've never seen this
Installed ROOT event loop hook.

(I tried the import just now.) Does it really print that? Is ROOT the one that's generating the message? I don't see it in the Awkward codebase. I'm not asking just because of the stdout verbiage, but because of what it might be doing.

I think that's a PyROOT thing that happens inside an IPython context.

Hi,
thanks for the quick response and sorry for my late reply.
As a quick test to get started I tried to run the code snippet posted by @jpivarski (which I'd actually seen earlier from some CHEP slides). On my installation there is a attribute crash on this line:
out = cppyy.gbl.go_fast_cpp[array.cpp_type](array)
which looks like this:
`
~/.local/lib/python3.9/site-packages/awkward/cppyy.py in register_and_check()
26
27     if not _has_checked_version:
---> 28         if ak._util.parse_version(cppyy.version) < ak._util.parse_version("3.0.1"):
29             raise ImportError(
30                 "Awkward Array can only work with cppyy 3.0.1 or later "
AttributeError: module 'awkward._util' has no attribute 'parse_version'
`
Do I need to use an experimental version of either AA or cppyy? Currently I have:
import awkward as ak print(ak.__version__) --> 2.4.3 import cppyy  print(cppyy.__version__) --> 1.6.2
I see the latter is much earlier than 3.0.1, although this version isn't available via PyPI: the latest available version seems to be 3.0.0.
Thanks!
James.

If ROOT is in the Python environment (i.e. in sys.path), then ROOT's cppyy overshadows an individually installed one. This is a problem that will likely only be solved by changing cppyy's name.
But about 3.0.0 being the latest release—I need to check into that. The updates needed by Awkward were added many months ago—I would have thought that 3.0.1 would be out by now.

I tried again without ROOT in the environment, and then the version number for cppyy went to the expected 3.0.0:
import cppyy
print(cppyy.__version__)
-->(Re-)building pre-compiled headers (options: -O2 -march=native); this may take a minute ...
3.0.0

Awkward version remains as 2.4.3. However, I still get the same error message when trying the snippet posted above:
AttributeError: module 'awkward._util' has no attribute 'parse_version'

Perhaps the best way to ask about the 3.0.1 cppyy release is to ask @wlav and @ianna.
@ianna, what was the reason that Awkward's cppyy bridge needs 3.0.1? You added something to cppyy to allow it to register Awkward types, in a sense that's similar to Numba's registration, right? (I don't see any PRs, so maybe it was contributed upstream of GitHub?)
@wlav, is there any chance that a 3.0.1 could be released with at least or only that feature?
Thanks!

Perhaps the best way to ask about the 3.0.1 cppyy release is to ask @wlav and @ianna.
@ianna, what was the reason that Awkward's cppyy bridge needs 3.0.1? You added something to cppyy to allow it to register Awkward types, in a sense that's similar to Numba's registration, right? (I don't see any PRs, so maybe it was contributed upstream of GitHub?)
@wlav, is there any chance that a 3.0.1 could be released with at least or only that feature?
Thanks!

the reason why we want 3.1 is that implements an implicit conversion from a tuple of arguments where we have a templated type.

Hi @jpivarski @ianna ,
just to confirm that with the latest version of awkward and cppyy (3.1.2) the example from Jim above works perfectly!
I think we can close this feature request because it isn't so relevant if cppyy is working. I'll play with it a bit and if I encounter any problems I'll file a different feature request or bug report in the appropriate repo.
Thanks, and wishing you a happy holiday season when it arrives!
James.


VM metrics should contains the vm and vmi's UUID

Is your feature request related to a problem? Please describe:
we can create the same name vm in different namespace. we collect vm's metrics from different kubevirt cluster. So I want to add vm and vmi's UUID tags to  distinguish them.
Describe the solution you'd like:
A clear and concise description of what you want to happen.

Describe alternatives you've considered:
A clear and concise description of any alternative solutions or features you've considered.
Additional context:
Add any other context or screenshots about the feature request here.

Please assign this PR to me if you think that is necessay for kubevirt project.

@machadovilaca thoughts?
I am wondering if this is best practice or the exporter per cluster should enrich the metrics

Even though, I think we should also need this UID just as kubernetes' pod. What do you think?

You could use the pair {namespace, name} to avoid conflicts of VMs names between different namespaces
But I see that, for example, kube-state-metrics also the uid in it's metrics.
It's fine for me to add it.
I would suggest waiting for #11601 to get merged. After it goes in, should be simple to add a new label from the VMI UID in https://github.com/kubevirt/kubevirt/blob/cf5aabb0d4dac9f96105ad99a28eb1311009d74a/pkg/monitoring/metrics/virt-handler/domainstats/domainstats.go#L60

yes, I want to work on it. /assign

/assign

/reopen
/remove-lifecycle rotten

/assign


False change events published

It is currently possible for .update() and .create() to trigger change events even when they did not actually have any affect on the redis data. In the former case it is because we do not check if the before/after data was the same or not; in the latter case we are not checking if the sets already had the endpoint in them or not.

Fixed by 25c75f60dc2bdd4c9dee8fcb19462b441b0107b4


Allow navbar to be closed

when the close button is clicked an animation which slowly reduces the width of the navbar will be used.

@DNYLA I can try working on this, could I be assigned?

@DNYLA I can try working on this, could I be assigned?

Thanks you for taking on this issue please let me know if you run into anny issues.


[question] Is this Expo classic updates?

Thanks for the hard work putting this together!
Expo's update API changed recently. Is this update server an implementation of expo classic updates? Or the newer flavor?

Hi Timothy,
I'm not sure, I know it works with Expo 48 with the compatible update library, so it is compatible with EAS-update
(is that what you mean?)

This is not for old classic updates. It works well with new Expo update.


\include\xgboost/span.h(128): error C2899: 不能在模板声明之外使用类型名称

Thanks for participating in the XGBoost community! We use https://discuss.xgboost.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :)
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
For bug reports, to help the developer act on the issues, please include a description of your environment, preferably a minimum script to reproduce the problem.
For feature proposals, list clear, small actionable items so we can track the progress of the change.

换了很多个版本，visual studio生成时一直存在这个问题

Please find the latest version of visual studio.


INFINITE LENGTH Snackbar, dismiss programmatically.

How can we display a infinite length Snackbar and dismiss programmatically.

@dpaksoni dismiss it by clicking the button

I do not want to dismiss it by clicking on any button, rather I want to have a reference of Snackbar object and then dismiss whenever I want by clicking snackbarObj.dismiss();

@dpaksoni Updated the plugin to v2.2.0 with the ability to dismiss the snackbar programmatically.. sorry for the delay.. https://github.com/echonox/cordova-plugin-snackbar/commit/1f2e63e8db90d18ea423445c16203bbffdb8935d


Dark Mode: Text highlight colour same as background colour in certain areas

Describe the bug
Highlighting/selecting text has no visual effect in certain areas while in dark mode. The text is still highlighted/selected as can be shown by a copy/paste.
Areas I've noticed it in:

markdown editor
code block in rendered page

Interestingly, it works in the markdown editor's preview pane but not the final rendered page.
Steps To Reproduce
Steps to reproduce the behavior:

Set editor to be markdown in settings.
Create a new page.
Include a markdown code block in the page.
Try to highlight any text in the markdown editor.
Observe no visual text highlighting.
Observe that copy and paste still work (Ctrl-C, Ctrl-P).
Save page and be returned to the rendered page view.
Try to highlight some text inside the code block.
Observe no visual text highlighting as before.
Observe that copy and paste still work (Ctrl-C, Ctrl-P).

Expected behavior
Text to be highlighted with white background, blue text colour.
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): 0.29.0
Hosting Method (Nginx/Apache/Docker): podman: docker.io/linuxserver/bookstack:latest

Additional context
Firefox Developer Edition 76.0b6

Hi @conor-byrne, Thanks for reporting this issue with clear reproduction steps.
Apologies about this, Turned out I had set a background style that then laid over the element that represented the text selection, making the selection hidden behind a foreground element.
I've now fixed this and the patch will be part of the next BookStack patch release.

@ssddanbrown No problem at all, thanks so much for your work!


corrected the wrong rorate

This pull request corrected the wrong keywords xRorate and yRorate into xRotate and yRotate, as well as keeping the old xRorate and yRorate keywords working so that there is no need for a breaking change.

@lin-xin So will there be a patch version about this soon as it may benefit others' use?


Deploy September 2022 publish

Learn Build status updates of commit 35f7d1e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

README.md
:white_check_mark:Succeeded

sysinternals/Announce/TLSDeprecation.md
:white_check_mark:Succeeded
View

sysinternals/bread/toc.yml
:white_check_mark:Succeeded

sysinternals/downloads/accessenum.md
:white_check_mark:Succeeded
View

sysinternals/downloads/bginfo.md
:white_check_mark:Succeeded
View

sysinternals/downloads/coreinfo.md
:white_check_mark:Succeeded
View

sysinternals/downloads/index.md
:white_check_mark:Succeeded
View

sysinternals/downloads/junction.md
:white_check_mark:Succeeded
View

sysinternals/downloads/media/sysmon/Sysmon.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_20_cmdline.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_20_event.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_20_rules.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_20_rules_xml.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_4.jpg
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_4_config.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_4_event.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_schema.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/media/sysmon/sysmon_v5.png
:white_check_mark:Succeeded
n/a (file deleted or renamed)

sysinternals/downloads/notmyfault.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Process.StartInfo changes

Reading the StartInfo property of a process that you did not start (within the current process, using Process.Start) will throw InvalidOperationException
Version introduced
.NET Core v1.0
Old behavior
In .NET Framework, it will return a dummy ProcessStartInfo object. This object will return default values from all its properties, except EnvironmentVariables, which will return the current process's environment variables.
However, it is documented not to do this:  "You should only access the StartInfo property on a Process object returned by the Start method. For example, you should not access the StartInfo property on a Process object returned by GetProcesses. Otherwise, on .NET Core the StartInfo property will throw an InvalidOperationException and on .NET Framework it will return a dummy ProcessStartInfo object."
New behavior
It throws InvalidOperationException
Reason for change
The object returned was a dummy object, with no value; it was also documented that it should not be gotten.
Recommended action
Stop calling this property getter.
Category
CoreFX
Affected APIs
Process.Start
ProcessStartInfo

Issue metadata

Issue type: breaking-change

@BillWagner @Thraka Any idea why this didn't automatically get a breaking-change label?

Unsure. Github has been a bit strange lately with the bot.

@gewarren There is supposed to be a blank line at the end of the metadata, it must have been removed by accident. After restoring it, it was fixed.

I see, thanks for looking into it!

This should go into https://docs.microsoft.com/en-us/dotnet/core/compatibility/fx-core presumably

问题出在System.Diagnostics.Process.StartInfo的get方法中，不应该简单地throw null。

.net framework中则是对它进行了初始化处理，所以不会抛出异常。

Translation:
The problem is that in the get approach of System.Diagnostics.Process.StartInfo, it shouldn't simply throw null.
It is initialized in .NET Framework, so no exception is thrown.

@qryt I'm not sure what the concern is or where the code you pasted comes from. For .NET Core 1.0, the code doesn't say throw null in the getter. See https://github.com/dotnet/corefx/blob/96ae037b9359e2ab220bc5c370bf952b4234a039/src/System.Diagnostics.Process/src/System/Diagnostics/Process.cs#L482-L494.

Somehow you are executing a reference assembly. How are you creating this project? Can you paste in the project file? Does it repro if you use just the command line?


fix(filtering): Allow prefix filtering among resource settings values

Codecov Report

Merging #1050 (3d4ca0c) into 8.x (6d2a53e) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##                8.x    #1050      +/-   ##
============================================
- Coverage     64.56%   64.56%   -0.01%
  Complexity    12281    12281
============================================
  Files          1703     1703
  Lines         57006    57010       +4
  Branches       5294     5295       +1
============================================
+ Hits          36807    36808       +1
- Misses        17949    17951       +2
- Partials       2250     2251       +1

Impacted Files
Coverage Δ

...nowowl/core/request/BaseResourceSearchRequest.java
91.50% <25.00%> (-2.67%)
:arrow_down:

...national/snowowl/core/locks/OperationLockInfo.java
43.33% <0.00%> (-3.34%)
:arrow_down:

...tional/snowowl/core/request/ResourceConverter.java
42.69% <0.00%> (-0.49%)
:arrow_down:

.../snomed/core/ecl/SnomedEclRefinementEvaluator.java
85.01% <0.00%> (+0.25%)
:arrow_up:

...onal/snowowl/snomed/core/tree/TerminologyTree.java
87.23% <0.00%> (+2.12%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


Using simpleConsolePrintForLevel() shows all logs in the console at the same log level

Describe the bug
Using simpleConsolePrintForLevel() shows all logs in the console at the same log level. It also doesn't show logs that are the same level as this function's input.
Reproduction steps
final loggerConfiguration = DatadogLoggerConfiguration(
  customConsoleLogFunction: simpleConsolePrintForLevel(LogLevel.debug),
);
logger = DatadogSdk.instance.logs?.createLogger(loggerConfiguration);
logger?.debug("A debug message");
logger?.info("Some relevant info");
logger?.warn("An important warning...");
logger?.error("An error was met!");

SDK logs
flutter: [debug] Some relevant info
flutter: [debug] An important warning...
flutter: [debug] An error was met!

Expected behavior
Those logs should have been printed at their actual levels and not debug. It also should have printed the log: A debug message. I looked into the code for simpleConsolePrintForLevel and I think it should be refactored to look like this:
/// Print all logs to the console above the given level in the form
/// "[level] message" when [kDebugMode] is true.
CustomConsoleLogFunction simpleConsolePrintForLevel(LogLevel level) {
  return ((inLevel, message, errorMessage, errorKind, stackTrace, attributes) {
    if (kDebugMode) {
      if (inLevel.index >= level.index) {
        print('[${inLevel.name}] $message');
      }
    }
  });
}

Affected SDK versions
2.3.0
Latest working SDK version
No response
Did you confirm if the latest SDK version fixes the bug?
Yes
Flutter Version
3.19.3
Setup Type
Flutter Application
Device Information
iOS and Web
Other relevant information
No response

Hi @nwarriner,
That all looks correct. I you want to issue a PR with the fix I'd be happy to get it merged in for you.

I created a custom console log function that prints with color that I'll be using instead:
CustomConsoleLogFunction coloredConsolePrint({required LogLevel minLevelToShow}) {
  return (inLevel, message, errorMessage, errorKind, stackTrace, attributes) {
    if (kDebugMode) {
      if (inLevel.index >= minLevelToShow.index) {
        final color = _getColorCode(inLevel);
        print('$color[Datadog] (${inLevel.name}) $message\x1B[0m');
      }
    }
  };
}

String _getColorCode(LogLevel level) {
  switch (level) {
    case LogLevel.debug:
      return '\x1B[90m'; // Grey text
    case LogLevel.info:
      return '\x1B[97m'; // White text
    case LogLevel.warning:
      return '\x1B[33m'; // Yellow text
    case LogLevel.error:
      return '\x1B[31m'; // Red text
    default:
      return '\x1B[97m'; // White text
  }
}

This will be fixed in the next release.

After implementing this:
final logConfiguration = DatadogLoggerConfiguration(
name: LoggerServiceType.appLoggerService,
remoteLogThreshold: LogLevel.debug,
networkInfoEnabled: true,
);
_appLogger = datadog.logs?.createLogger(logConfiguration);
I am not able to see full log on datadog log management dashboard that printed by android studio logcat view.
Giving some log example that printed on my android studio log view but it's not reflected on datadog dashboard
2024-06-28 22:07:30.765 22926-23216 flutter                 com.shout.dating                     I  AppLifecycleEventMain::: paused
2024-06-28 22:07:30.765 22926-23216 flutter                 com.shout.dating                     I  test_{memberId: 19, activeStatus: offline}
2024-06-28 22:07:30.767 22926-23216 flutter                 com.shout.dating                     I  AppLifecycleEventMain::: detached
2024-06-28 22:07:30.767 22926-23216 flutter                 com.shout.dating                     I  test_{memberId: 19, activeStatus: online}
2024-06-28 22:07:30.782 22926-23216 flutter                 com.shout.dating                     I  Receive the onDetachedFromEngine callback, clean the native resources.
2024-06-28 22:07:30.821 22926-23218 libMEOW                 com.shout.dating                     D  meow delete tls: 0xb4000071cb401180
2024-06-28 22:07:30.822 22926-23217 libMEOW                 com.shout.dating                     D  meow delete tls: 0xb4000071836234c0
2024-06-28 22:07:30.824 22926-22926 Activity                com.shout.dating                     W  PerfMonitor: Slow Operation: Activity com.shout.dating/.MainActivity onDestroy took 294ms
2024-06-28 22:07:30.831 22926-22926 View                    com.shout.dating                     D  [Warning] assignParent to null: this = DecorView@b90eb5c[MainActivity]
2024-06-28 22:07:30.841 22926-22926 FileUtils               com.shout.dating                     E  err write to mi_exception_log
2024-06-28 22:07:30.847 22926-22926 FileUtils               com.shout.dating                     E  err write to mi_exception_log
2024-06-28 22:07:30.866 24226-28980 ActivityManagerWrapper  com.miui.home                        E  getRecentTasks: mainTaskId=21365   userId=0   baseIntent=Intent { act=android.intent.action.MAIN flag=268435456 cmp=ComponentInfo{com.shout.dating/com.shout.dating.MainActivity} }

I am using datadog_flutter_plugin: ^2.5.0 this version

@fuzzybinary can you please help me on this


Thank you very much, can you share your code for visualizing the results on Synapse and ADAC dataset?

thank you very much！

The code for visualization has been uploaded to https://github.com/sotiraslab/AgileFormer/tree/main/code_for_visualization. You may need to change the directory where you store your segmentation nifti file.


Fix gulp error handling (Sage 8)

This PR is basically just a rebased version of #1814 with a few whitespace and indentation fixes, sqashed down to two commits. It addresses the gulp watch issue mentioned on Discourse.
It also updates Bootstrap to version 4.0.0-alpha.6 and removes the $enable-flex var.

thanks! i'll tag 8.5.1 later

Any reason why you would use BS4 which is in alpha as part of a production release?


IE10+ - drag an scrollable element keeps moving after drag end

Hi,
I've encountered an issue while scrolling the element using the mouse,

click on the scrollbar to move the scroll position
when you mouse up, the element still follow your mouse.

http://jsfiddle.net/v9b8m4fL/3/
Regards,
Xiu qiang

Thanks for reporting this bug. I'm not sure if there's a good solution here. I don't believe there's any API for detecting when a scrollbar has been clicked.


Http.rb 2.2 fix

So, it turns out that Http.rb changed constructor for the Http::Response::Body class, which now requires 2, instead of one parameter.
This change broke WebMock, resulting that when you’re trying to call stubbed request, you’ll get following error:
require 'http'
HTTP::VERSION # => 2.2.0
HTTP.get("https://google.com") # => #<HTTP::Response/1.1 302 Found {"Cache-Control"=>"private", "Content-Type"=>"text/html; charset=UTF-8", "Location"=>"https://www.google.pl/?gfe_rd=cr&ei=75mUWLDZJMLi8Af7_6HYCA", "Content-Length"=>"259", "Date"=>"Fri, 03 Feb 2017 14:55:43 GMT", "Alt-Svc"=>"quic=\":443\"; ma=2592000; v=\"35,34\"", "Connection"=>"close"}>

require "webmock/rspec"
include WebMock::API
stub_request(:get, "https://google.com/").to_return(body: "hello!")
WebMock::VERSION #=>  => 2.3.2
HTTP.get("https://google.com")
ArgumentError: wrong number of arguments (given 1, expected 2..3)

This pull request bumps http.rb dependency to >= 2.2.0 and fixes that behaviour.

@krzyzak I saw this too.
Not sure if this is the right fix,
but the problem was introduced in this PR on the http gem
https://github.com/httprb/http/pull/375/files#diff-05df387cd9e9cd3b09c4a966e7510519

@krzyzak thank you!
I'm not sure this is the right fix either, since building against version 2.2.1 of HTTP, released yesterday, broke the build again.

High five guys, as I have no idea if that’s the right fix as well :D
I’m not really active in terms of what happens under the hood neither in Webmock, nor in HTTP.rb (although I really like both projects).
I checked, and yeah, it looks like it was regression in HTTP.rb, rather than bug in webmock, and it looks like they restored compatibility with webmock in 2.2.1

Is this obsolete? Both the referenced versions of http.rb and WebMock are long gone, and WebMock seems to work just fine with current version of http.rb

@fcheung thanks. let me close it and if anyone finds it needs to be reopened, please do that.


Bug in IPv6 source address selection (#864) prevents sending packets to localhost to localhost

In particular, given an interface with only the IPv6 localhost address, it is not possible to send packets to one's self. If sending ICMP packets, smoltcp panics:
(this is version 0.11, but master has the same bug)
panicked at smoltcp-0.11.0/src/iface/interface/mod.rs:882:14:
called `Option::unwrap()` on a `None` value

This appears to result from a bug in #864, where localhost addresses are never considered for sending packets:
https://github.com/smoltcp-rs/smoltcp/blob/d185a37a8e93a99aa1fe424f45b79420db8ddae5/src/iface/interface/ipv6.rs#L42-L47
Presumably this should have an exception for when the destination address is localhost.
Note that this only effects unbound sockets, as the IPv6 source address selection algorithm is not run for bound sockets.

Thank you for reporting this! The loopback address should be in the candidate list of source addresses. I think line 45 should be src_addr.unspecified() instead of src_addr.is_loopback(), as line 45 covers the following in RFC6724:

In any case, multicast addresses and the unspecified address MUST NOT
be included in a candidate set.

I'll fix this and add more tests for the source address selection.


Lib 556 local object id offline storage

Looks good, but I don't know FMDB or the migration manager well - right now you don't explicitly create a table, but use migrations for it. Does it create initial table if it doesn't exist yet?

Yes it is.


Storage tests

Codecov Report

Merging #104 into master will increase coverage by 1.60%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   67.78%   69.38%   +1.60%
==========================================
  Files          48       49       +1
  Lines        3650     3688      +38
  Branches      620      624       +4
==========================================
+ Hits         2474     2559      +85
+ Misses        936      886      -50
- Partials      240      243       +3

Impacted Files
Coverage Δ

src/Dimension/index.ts
88.74% <ø> (+6.74%)
:arrow_up:

src/Match/index.ts
78.96% <ø> (+6.74%)
:arrow_up:

src/Plugin/Storage/index.ts
87.50% <ø> (+37.50%)
:arrow_up:

src/SupportedPlugins/FileSystemStorage/index.ts
75.00% <ø> (ø)

src/SupportedPlugins/GCloudStorage/index.ts
35.89% <ø> (+1.80%)
:arrow_up:

src/utils/System.ts
65.21% <ø> (+23.55%)
:arrow_up:

src/Agent/index.ts
81.42% <0.00%> (-0.28%)
:arrow_down:

src/SupportedPlugins/MongoDB/index.ts
64.84% <0.00%> (+0.78%)
:arrow_up:

src/Tournament/Ladder/index.ts
70.99% <0.00%> (+0.94%)
:arrow_up:

... and 7 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 e6d31e6...5f70e80. Read the comment docs.


PMID:33153481

FYPO:new

decreased DNA volume
in which DNA occupies a smaller portion of the total nuclear volume than normal. The nuclear volume itself may be normal.

increased chromatin mobility
in which chromatin moves within the nucleus to a greater extent than normal

increased transcription-induced DNA damage
syn increased DNA damage by transcription

normal DNA volume

PECO:new thiolutin CHEBI:156450

decreased DNA volume FYPO:0007516
increased chromatin mobility FYPO:0007517
increased transcription-induced DNA damage FYPO:0007518
normal DNA volume FYPO:0007519
and PECO:0000373


AirGap Install: JWT Token Parsing Issue with Artifactory

When installing a kots application via kubectl kots install in an air-gapped environment we are facing an issue with kots handling the token returned by the Docker registry we are targeting - in this case, Artifactory.
Following the process outlined in the Docker registry spec and logs from Artifactory, we can see that kots responds to the authentication challenge, and receives a response containing the token. However, Artifactory does not respond with a JWT, rather its own token. From the Artifactory logs, we can see 200 responses to the token request from kots, i.e:
/artifactory/api/docker/<repo>/v2/token?service=<registry>&scope=repository:kots/testrepo:push

From the looks of TestPushAccess that responds to the authentication challenge, there is already handling for GCR which responds with a different token format https://github.com/replicatedhq/kots/blob/b0ed907190a1045a122fd966d2676454c8987be4/pkg/docker/registry/auth.go#L118 - but our request continues to attempt to be parsed as a JWT token, before failing - from the looks of things, here https://github.com/replicatedhq/kots/blob/b0ed907190a1045a122fd966d2676454c8987be4/pkg/docker/registry/auth.go#L130
This results in the error as shown below.

It is worth noting a kubectl kots pull referencing the same Artifactory registry we use in kubectl kots install does push the images to the registry.

@adamcoppard thanks for filing, we're discussing this week. We likely need to do some testing with kotsadm + Artifactory.
Very helpful to know that using kubectl kots pull with artifactory does work

@dexhorthy - I've been looking at some code changes that would make this work - especially based on the prior art of how gcr.io tokens are handled.
The proposal I had in my head was to add an additional conditional for going no further in the case it was Artifactory (as determined by the presence of /artifactory/api/docker in the authURL) at the same point the endpoint string is checked for gcr.io and updating the comment to match - purely based on the prior art of the gcr.io case.
In terms of the general case though - I wonder if the parsing as a JWT token could be more defensive anyway - as this isn't guaranteed. If that parsing fails, just treat the token as an opaque one until usage time, but if it was a JWT continue with the code as is.
If you'd be open to accepting a PR - let me know.

@adamcoppard Thanks for the detailed investigation here.
We are open to either solution presented here. I imagine that handling non-JWT tokens as opaque, one time tokens will provide compatibility with registries other than Artifactory, but this is both unknown and doesn't have to be in scope here.
KOTS currently has some special case handling for certain registries, as you pointed out. Artifactory is a popular registry, and we would not be opposed to a solution that looks for artifactory in the authURL and has special-case handling for that protocol.

Would it be possible to copy the docker login validation code instead of attempting to rebuild it ourselves?

we have seen this issue happening with nexus repo as well cc @laverya

I believe the best resolution here is to treat "this isn't a JWT" as an info-level event, not a fatal error, just like we currently do for gcr.io

This may be fixed by https://github.com/replicatedhq/kots/pull/749

@adamcoppard We've released a 1.16.2 that doesn't require the JWT token is validated any longer. If the login response is not a JWT, a message will be logged but the registry settings will save and continue.


Drop support to Gradle 5

Drop support to gradle 5.
5.0 was release at 16/Apr/2019. This moves the support 6.0. It was release at 08/Nov/2019. Maybe we coud be even more aggresive here but I think that 6.0 is a safe commitment.
As a reference the Gradle Android Plugin set the minimum gradle version to 6.1 at April 2020. And the last version of the AGP requires Gradle 6.5

Good reason! Yes, let's keep us aligned with the Kotlin Gradle Plugin.

That said, I believe Kotlin 1.5 will bump the minimum supported version to 6.1 so when that's released and detekt updates to 1.5 I'd support an update to 6.1.

I can not find anywhere about this bump of the minimum version. Do this happen?

It did: https://kotlinlang.org/docs/gradle.html#plugin-and-versions


feat($cacheFactory): add 'has' method to $cacheFactory cache

Add 'has' method to $cacheFactory cache that returns boolean to indicate if key exists in cache.
If the cache is a Least Recently Used (LRU) cache i.e. a capacity has been specified, a call to has(key) does not 'refresh' the key as a call to get(key) would.
Closes #8692

I wonder what is the usecase for this ?
The problem with this is that if you intend to retrieve the value immediately, then you should just retrieve it in one pass (instead of checking if it is there and then retrieving it).
If you don't intend to retrieve the value immediately, then there is chance that the previous return value of .has() is no longer valid by the time you try to retrieve it (e.g. the item has been removed).
If you are trying to use the presence of a specific key in the cache as a flag, then you there is probably a better way :)
Am I missing something ?

To be honest, I didn't have a use case myself. I was just addressing issue #8692 opened by @caitp.

Aha, I'm putting this to Ice Box then. We can revisit when/if we have a compelling usecase for this :smiley:

The demand for this is really low, and it's not really a must have feature. So let's not do it.


agent: reconnect after waiting 5 seconds

Description
This PR fixes #8517
see the steps to reproduce the issue in the description of #8517

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[x] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9956

@blueorangutan test rocky8 kvm-rocky8

@weizhouapache a [SL] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests

[SF] Trillian test result (tid-10458)
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 46753 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9258-t10458-kvm-rocky8.zip
Smoke tests completed. 129 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_07_arping_in_vr
Failure
5.24
test_diagnostics.py

test_02_trigger_shutdown
Failure
341.46
test_safe_shutdown.py

Could the mgmt server also sleep on such connections, on handshake exceptions? That is slow to respond such agent/clients?

Could the mgmt server also sleep on such connections, on handshake exceptions? That is slow to respond such agent/clients?

thanks @rohityadavcloud for the advice
I thought of it during my investigation. at the end I decided to change the agent as the connections are initialized by the agent. in my testing, the cpu load is lower than 10% I guess it is ok

@weizhouapache is this ready for review now?

@weizhouapache is this ready for review now?

yes @rohityadavcloud
marked as ready for review

@blueorangutan LLtest alma9 kvm-alma9

@DaanHoogland a [LL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests

@blueorangutan package

@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10086

@blueorangutan test

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-10583)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47920 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9258-t10583-kvm-centos7.zip
Smoke tests completed. 130 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_secure_vm_migration
Error
134.21
test_vm_life_cycle.py

test_01_secure_vm_migration
Error
134.21
test_vm_life_cycle.py

@blueorangutan test rocky8 kvm-rocky8

@weizhouapache a [SL] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10113

[SF] Trillian test result (tid-10609)
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 48176 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9258-t10609-kvm-rocky8.zip
Smoke tests completed. 130 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_create_pvlan_network
Error
0.09
test_pvlan.py


Add GTP_INT_INTERFACE PIPs fuzzer

This PR builds on top of https://github.com/SymbiFlow/prjxray/pull/1572 and documents the DELAY PIPs of the GTP_INTERFACE tiles.

This needs a rebase

@litghost Done. CI just went green


Right click not show contextmenu if another contextmenu opened

As this example:
https://vkbansal.github.io/react-contextmenu/#/multiple-targets?_k=bq0lx9
Current:

right click banana , open banana  contextmenu
right click apple, close banana contextmenu
right click apple, open apple contextmenu

It is better:

right click banana , open banana  contextmenu
right click apple, close banana contextmenu and open apple contextmenu

yeah, I have the same question,I think it is better to open context menu when another is open. I've read the source code, I think the fixed Modal is not necessary.

The fixed modal is required to detect outside click.

Even you want to detect outside click, you don't need to add a modal. You can add event listener to the document.I think the structure of the library is not reasonable.The ContextMenuLayer method should be in the outmost component.The MenuItem component shoud be in the layer.Then when you right click on one target, it can detect all menu items and decide which one to hide and which one to show.

I've played around with document level eventListeners, but I don't like the idea of having global event listeners and iterating from the event target upto the document and check whether the target is inside or not.

The only goal is to implement that when one context menu is open and you right click on another one,it should close the previous one and open the current one. I have an idea, you can add a mousedown event listener to the modal,in the event function, you set the the modal's display style to 'none'.Then you need add a mouseup event listener to every ContextMenuLayer. As a result, when you right click another ContextMenuLayer, the modal's mousedown event and the current ContextMenuLayer's mouseup event will be triggered one after another.The follows is my testing:

  I'm a fixed modal.

I'm another context menu layer

I was just about to post this issue as well and noticed that one already exists :)
It would definitely be nice to see this fixed.

I've released v2.0.0-alpha.1 with this feature. Do check it out. Any feedback is welcome 😃


Bug: Putting in a number alongside chat will register it as a guess.

So basically I wanted to guess 1000 but after I said "5 minute ad, 30 second stream Kappa" it guessed 5 for me.
I hope this can be fixed with a bit of regex and stuff to circumvent that.

But then people that guess by saying "1 viewer for sure" or something will get ignored also so ¯\_(ツ)_/¯
A better solution would be to let viewers change their answer or add an optional command or prefix like "!guess 1" or "!1"

But then people that guess by saying "1 viewer for sure" or something will get ignored also so ¯_(ツ)_/¯
A better solution would be to let viewers change their answer or add an optional command or prefix like "!guess 1" or "!1"

Yeah that works as well!


Expose samples via the CLI

This will not include few shot samples, as they require a model and its tokenizer to be built with the correct truncation.
Fix https://github.com/huggingface/lighteval/issues/164 and a request by @lewtun .

Example for command: lighteval tasks --inspect "lighteval|wmt14:fr-en|0|0" --num_samples 1 --show_config
}
lighteval/sacrebleu_manual wmt14_fr-en
Careful, the task lighteval|wmt14:fr-en is using evaluation data to build the few shot examples.
---------- lighteval|wmt14:fr-en ----------
---------- CONFIG
|           Key            |               Value                |
|--------------------------|------------------------------------|
|name                      |wmt14:fr-en                         |
|prompt_function           |wmt_reverse_alphabetical            |
|hf_repo                   |lighteval/sacrebleu_manual          |
|hf_subset                 |wmt14_fr-en                         |
|metric 0: metric_name     |bleu                                |
|metric 0: higher_is_better|True                                |
|metric 0: category        |<MetricCategory.GENERATIVE: '3'>    |
|metric 0: use_case        |<MetricUseCase.TRANSLATION: '9'>    |
|metric 0: sample_level_fn |GenerativePreparator.prepare        |
|metric 0: corpus_level_fn |CorpusLevelTranslationMetric.compute|
|metric 1: metric_name     |chrf                                |
|metric 1: higher_is_better|True                                |
|metric 1: category        |<MetricCategory.GENERATIVE: '3'>    |
|metric 1: use_case        |<MetricUseCase.TRANSLATION: '9'>    |
|metric 1: sample_level_fn |GenerativePreparator.prepare        |
|metric 1: corpus_level_fn |CorpusLevelTranslationMetric.compute|
|metric 2: metric_name     |ter                                 |
|metric 2: higher_is_better|False                               |
|metric 2: category        |<MetricCategory.GENERATIVE: '3'>    |
|metric 2: use_case        |<MetricUseCase.TRANSLATION: '9'>    |
|metric 2: sample_level_fn |GenerativePreparator.prepare        |
|metric 2: corpus_level_fn |CorpusLevelTranslationMetric.compute|
|hf_avail_splits           |('test',)                           |
|evaluation_splits         |('test',)                           |
|few_shots_split           |None                                |
|few_shots_select          |None                                |
|generation_size           |None                                |
|stop_sequence             |('\n',)                             |
|output_regex              |None                                |
|num_samples               |None                                |
|frozen                    |False                               |
|suite                     |('lighteval', 'sacrebleu')          |
|original_num_docs         |-1                                  |
|effective_num_docs        |-1                                  |
|trust_dataset             |True                                |
|must_remove_duplicate_docs|None                                |
|version                   |0                                   |

---------- SAMPLES
{"query": "French phrase: L'affaire NSA souligne l'absence totale de d\u00e9bat sur le renseignement\nEnglish phrase:", "choices": ["NSA Affair Emphasizes Complete Lack of Debate on Intelligence"], "gold_index": 0, "original_query": "", "specific": null, "task_name": "lighteval|wmt14:fr-en", "instruction": null, "target_for_fewshot_sorting": null, "ctx": "", "num_asked_few_shots": -1, "num_effective_few_shots": -1}

Great feature ! small nit however, I would print the samples in a formated way so that's it's easier to read using pprint.

Good idea!


Zenner default AES keys would be needed

Hello,
I'm testing a simple USB receiver where I can catch the telegrams of two Zenner watermeters from my household (type - Minomess wM-Bus C1 Mode and type EDC wireless M-bus module T1 Mode)
I tried to look trough the project, but can not figure out how can I find out the default AES keys for the decryption.
Herebelow the raw, encrypted telegrams from the two meters:
ID 14340330:
3644496A4187025001377230033414496A010776002025F42F261F8EFA0D14A0B28DBFF3468906D97405FB723A26F884B344CA5199B12F
ID 15496853:
6644496A1483025514377253684915496A0007C30050054512796939A3AFECD7417FC33AC83CFE38520B8B92508FBC6210248E342F6950A61933F3D4258FBDD459FFE02B5DEB5169BD5AADB62905967D24317553991DFC29E22FE46AE3013C9F92F28832CFEAE0
Sorry I'm not an expert of Github and not sure if I can ask this kind of question here. If this wasn't the right place, please just drop me a line where can I ask something like this.
Thank you in advane.

Hi @4K901 :)
Maybe I’m misunderstanding your question, but AES has no “default key”.
The security comes from the key being secret and large enough (16 bytes / 128bits) to make it impossible to try all possible options.
You cannot (generally speaking) infer the key from encrypted data (that would defeat the purpose of encryption). You must know the key to be able to decrypt the data.
A quick look on Google indicates a possibility of obtaining the AES keys from Zenner: https://www.mz-connect.com/shop/info-about-iot-device-keys
Unfortunately I cannot help you further. You need to get in contact with someone who knows the key your Zenner devices are using.
Best of luck 😃

Direct link to guide: https://www.mz-connect.com/shop/media/pdf/45/e7/7b/190527_UserGuide_ZENNER-direct-delivery-note-portal.pdf

Thanks for the quick response.


Mediaflux status long polling

Notice that this PR is a draft. If James' work with WebSockets works in staging we won't need this PR, if it does not then this PR is a good backup plan.
Uses JavaScript long polling to check the status of Mediaflux. We check the status every 2 seconds when a page is loaded, and the longer the page stays loaded we slow down the checks (every 10 seconds, and then every 30 seconds). We could tweak these settings as we wish.
Below is an example on how this looks in staging:

Closing now that https://github.com/pulibrary/tiger-data-app/pull/862 is working in staging


can't add a increase a variable's value

Describe your problem here.
I'm trying to increase the value of a variable but it ends up crashing the game
I'm do in this in hx called SoundtestState.hx which is a modified version of FreePlay.hx
	if (upP && pcm>0)
		{
			pcm -= 1;
		}
	if (downP && pcm<69)
		{
			pcm += 1;
		}

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
I edited MenuState.hx to add a SoundtestState.hx to the game

Are you using sound test state from the kade engine
Use my sound test state (0.6.3)
https://drive.google.com/file/d/1vNuK8ndu7G14mDN5WB7QlQ9oKwgFB82m/view?usp=sharing


Merge branch 'release/v1.4.0' into develop

git flow release process

rewrite the following lines like in L26
https://github.com/HsuanTingLu/ansi-escape/blob/de0a162c7e10f43b9b7ec15ab7af088a2a0ad816/aesc/control/cursor.cpp#L31-L36
This comment was generated by todo based on a TODO comment in de0a162 in #15. cc @HsuanTingLu.

addressed in issue #17


I think install.lock should be like this

If create install.lock when install complete, it will force reinstall natives every time build the CefApp.
I think install.lock is a check for is the installtion complete

No, this is the wrong place to lock installations. The file should be generated when the installation is completed. The CefAppBuilder will not trigger a new installation as long as the file is in place and the build info matches the maven build info (to update to new versions when it doesnt match).


Question: Is it possible to utilize multiple cores when training (adding measurements)?

Hi, I noticed that when adding measurements to a campaign object only one core is being utilized. Is there a way to parallelize this process to decrease runtime? This is currently a very slow process for me.
By contrast, I noticed when running the simulate_experiment module all cores are in use. I know these are different processes, but just was curious why this module can utilize multiple cores.
Thanks!

Hi @brandon-holt, as always, thanks for reporting the issue. The fact that the mere addition of measurements (i.e., without even recommending) causes delays is clearly suboptimal and needs to be fixed. Ideally, this should not be noticeable at all but the current overhead stems from a design choice that we might need to rethink: it's probably caused by the process of "marking" parameter configurations being measured in the search space metadata. This process is currently by no means optimized for speed and I see different potential ways around it that we'd need to discuss in our team:

Making the involved fuzzy matching more efficient
Switching to a more performant backend like polars
Following an entire different approach to metadata handling
...

I suspect your search space is quite big, causing the delays? Can you give me a rough estimate of your dimensions so that I have something to work with?

@AdrianSosic I see, this is interesting insight!
Here is the size of a typical campaign searchspace I am working with
campaign.searchspace.discrete.comp_rep size = (37324800, 191)
campaign.searchspace.discrete.exp_rep size = (37324800, 8)

Thanks for sharing. That is indeed already quite a bit. I'll take this into our team meeting and see what we can do about it. Perhaps we can find a quick fix for you... But priority-wise, a full fix could take a while since my focus is currently still on the surrogate / SHAP issue 😋

@AdrianSosic this Issue needs to be updated to properly describe the issue causing the computational bottleneck, otherwise I will convert it to a discussion


How can we debug with Google Chrome?

Hi, thank you for making good document. I'm now debugging with Safari, but would you please tell me how we can debug with Chrome?
My question backgrounds are:

Chrome have great debug plugins for react, redux and more for front end development
VS code have great Debugger for Chrome extension. It's really useful for debugging for many developers.

If possible, I want to load my app in Outlook for Mac and attach debugger from VS Code with Debugger for Chrome extension.

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

ID: be179784-5839-3e8f-c131-1f4d89808b03
Version Independent ID: 69bca101-91a2-3a5e-5177-493723504354
Content: Debug Office Add-ins on a Mac - Office Add-ins
Content Source: docs/testing/debug-office-add-ins-on-ipad-and-mac.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

The capability of debugging with Chrome is an interesting product enhancement request. Please vote up this suggestion at Office Developer Suggestion Box: Make a tool for debugging javascript api in chrome.

Thank you Rick. I'll vote it