SP5: Add support for shading below/above line series plots

Question: Hello! Version 4.1 had a FillBelow feature for signal grafics (https://scottplot.net/cookbook/4.1/recipes/signal_fillbelow/). Please tell me how to achieve the same graphics stylization in version 5.0?
ScottPlot Version: 5.0.20
Code Sample: var signal = ResultPlot.Plot.Add.SignalXY(dataX, dataY, ScottPlot.Color.FromHex(hexValue));

Hi @slotinvo, thanks for your question! That feature is not yet supported in ScottPlot 5 but I'll leave this issue open to track progress toward implementing it 👍

related: #3380

This feature was added in 829496b8e6cecffb38a68671ec36c389571fb236 and will be available in the next release 🚀
var sp = myPlot.Add.Scatter(xs, ys);
sp.FillY = true;
sp.FillYValue = 0;
sp.FillYAboveColor = Colors.Green.WithAlpha(.2);
sp.FillYBelowColor = Colors.Red.WithAlpha(.2);


Return transactions to the mempool when discarding a block

We may receive a stronger chain and need to discard a portion of the current chain. Return to the mempool any transactions from each block that we discard.

https://www.pivotaltracker.com/story/show/152471554


docs(suspensive.org): add sandpack examples to useSuspenseQuery, useSuspenseQueries, and useSuspenseInfiniteQuery

Overview

Add sandpack examples to useSuspenseQuery, useSuspenseQueries, and useSuspenseInfiniteQuery.
PR Checklist

[x] I did below actions if need

I read the Contributing Guide
I added documents and tests.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.33%. Comparing base (c515da6) to head (52d9748).

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1003   +/-   ##
=======================================
  Coverage   87.33%   87.33%
=======================================
  Files          38       38
  Lines         450      450
  Branches       98       98
=======================================
  Hits          393      393
  Misses         54       54
  Partials        3        3

Components
Coverage Δ

@suspensive/react
97.03% <ø> (ø)

@suspensive/react-query
∅ <ø> (∅)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/react-await
100.00% <ø> (ø)

@suspensive/react-image
80.39% <ø> (ø)


jump var is parsed incorrectly

found this out while troubleshooting https://github.com/openjournals/joss-reviews/issues/34#issuecomment-236716258

addressed in https://github.com/msmbuilder/osprey/pull/164


BUG: on iOS, images with portrait aspect ratio are constrained to landscape bounding rectangle.

It's a little hard to describe, but it is quite easy to reproduce on your demo page.
If you open the demo on an iPhone, click choose image, and take a picture in portrait mode, the bounding rectangle  within which you can move the image around will be the corresponding landscape mode of the image, with bottom-left origin. Reproduced on iPhone 6s & iPad mini.
It does not happen in the iOS simulator, only on actual device.
It also does not happen if I, for example, add dropbox as a source to the iphone action menu and choose a portrait mode photo from there (even though those photos were originally taken on the same iphone).
I don't know how to debug this because I can't find any info on debugging javascript in the Safari on an actual device.

The saved image also has the wrong orientation and thus cropping.

The same for me.
It refers to the issue (https://github.com/scottcheng/cropit/issues/75)

thanks for the reference to issue #75. I had missed that when trying to research this issue -- I will give the solutions there a try.

It definitely works. I have tried the fix proposed by @vitbokisch

Not working with the latest version. I got error: "Uncaught TypeError: canvas.getContext is not a function"

I want to make sure that you have seen the rotateCW and rotateCCW` in the API. It isn't perfect, but it generally works for me, and was easier than dealing with exif.
// Handle rotation
$('.rotate-cw-btn').click(function() {
  $('#image-cropper').cropit('rotateCW');
});
$('.rotate-ccw-btn').click(function() {
  $('#image-cropper').cropit('rotateCCW');
});

@rickybrce This error usually happens just when you make mistake in canvas initializing. Check it and also the name you gave to canvas variable.

Hello,
Thanks for responding. Where to put id "orientationCanvas"? Any chance to put a html code that you are using?
Thanks

I confirm that I have the same issue [the one defined at the top of this thread] on my iphone5 and a friend confirmed that he sees this issue on his iphone6S as well:

If you open the cropit demo page on an iPhone, click choose image, and take a picture in portrait mode then export that image, the exported image will be rotated! Reproduced on iPhone 6s & iPad mini.

Furthermore, I tried the fix defined in https://github.com/scottcheng/cropit/issues/75

added https://github.com/exif-js/exif-js to my page
updated the "onPreImageLoaded" to the code on http://pastebin.com/QriPqp0m
... but I get the same issue as the last commenter (rickybrce): "I got browser freezing - onload event to fire continuously".

None of these work for me either... Any other solutions/ideas? Seems like a problem when exporting, not upon loading...
Pierre

It also happens on Android phones... dealing with this right now... portrait images loads in landscape orientation.

Why is this closed?


Added index.html

Looks like the file is pulling assets from the Internet instead of the local Bootstrap:
\6. Modify the template only so that it includes the necessary bootstrap components (i.e. don’t change the content)
\7. Make sure it loads successfully in the browser.
I'll note the areas that need changing


Hotspot not found on onboarding server

When adding my outdoor hotspot for the first time to Helium app I get a hotspot not found on onboarding server.
I created nebra support ticket: #280668 on 09/27/2021 with no response yet.
I have tried adding the hotspot using two different phones. The hotspot is 100% synced with the latest firmware update. The dashboard shows hotspot online and everything true.
I've tried everyday since the 27th and still get the same error.
MAC Address is 00:BD:27:EF:68:76
{"AN":"witty-beige-sparrow","APPNAME":"Outdoor","BA":"HELIUM-OUTDOOR-915","BCH":1035409,"BN":"autumn-brook","BSP":100.0,"BT":true,"BUTTON":24,"CELLULAR":true,"E0":"00:BD:27:EF:68:76","ECC":true,"ECCOB":true,"FR":"915","FRIENDLY":"Nebra Outdoor Hotspot Gen 1","FW":"2<IP_ADDRESS>","ID":"8d1384ff88b4a262f56790809e3f84e4","LOR":true,"LTE":false,"MAC":"eth0","MC":true,"MD":true,"MH":1035406,"MN":"symmetric","MR":true,"MS":true,"OK":"11Ai2NVgeT2R2zFmqHLpgTwe62Ev9LnBhXQWw4c13f8zozq4PPh","PF":true,"PK":"11Ai2NVgeT2R2zFmqHLpgTwe62Ev9LnBhXQWw4c13f8zozq4PPh","RE":"UN123","RESET":38,"RPI":"00000000f77df0a7","SPIBUS":"spidev1.2","STATUS":25,"TYPE":"Full","VA":"NEBHNT-OUT1","W0":"00:69:11:00:11:E3","last_updated":"23:20 UTC 01 Oct 2021"}

Please email<EMAIL_ADDRESS>- we can't help through here


Add helpers for dealing with "string" metrics (akin to assertFiniteNumbers)

https://github.com/covid-projections/act-now-packages/pull/78


[BUG] create_page_content API adding two cms_pagecontent records instead of one

For a page created manually from Admin, can click into page settings.
For any pages that have been created using the API, getting this error when trying to then click into settings.
MultipleObjectsReturned at /en/admin/cms/pagecontent/158/change/
get() returned more than one PageUrl -- it returned 2!
Looking at the pagecontent table in the dB.
When a page is created manually - one pageholder record is created with template type = INHERIT
When a page, and then pagecontent is created using the API. There are two records -
One which has the template as specified in the pagecontent create call.
The second record has the template specified as template = INHERIT
Essentially looks like the API is firing the creation of the requested record and then an additional default placeholder record is also being created which causes the above settings issue. Also looks like 2x dupe cms_pageurl records are being create as a consequence

Steps to reproduce
Manually create a page from admin screen, click on settings - all ok.
Vs.
Create a page/page content using the API as follows:
parent_page = self.get_parent_page(parent_path)
node_parent = parent_page.node if parent_page else None
draft_page = Page.objects.filter(pagecontent_set__title=page_title, node__parent=node_parent).first()
    main_page = draft_page if draft_page else create_page(page_title, template, language, parent=parent_page, created_by=james_user)

    page_content = create_page_content(
        language=language,
        title=page_title,
        page=main_page,
        slug=main_page.get_slug(language),
        created_by=james_user
    )

    placeholders = Placeholder.objects.get_for_obj(page_content)

    header_content = placeholders.filter(slot="header_content").get()
    body_content = placeholders.filter(slot="body_content").get()
    scripts_content = placeholders.filter(slot="scripts_content").get()

    add_plugin(
        placeholder = header_content,
        plugin_type = GetSetJSON,
        language = language,
        content = json.dumps(plugin_data),
        action = 'set_dictionary'
    )

    add_plugin(
        placeholder = body_content,
        plugin_type = MasterPlugin,
        language = language
    )

    if page_content.versions.first():
        page_content.versions.first().publish(james_user)

Expected behaviour
One cms_pagecontent record to be created when page created via API
Actual behaviour
Two cms_pagecontent records created - one with template specified in the API call, the other with template type = INHERIT
Screenshots
N/A
311 / 4.1

Do you want to help fix this issue?

[ ] Yes, I want to help fix this issue and I will join #workgroup-pr-review on Slack to confirm with the community that a PR is welcome.
[ X] No, I only want to report the issue.

Yes extra records in both, a work around to get to the settings after page creation is to delete one instance of the PageURL instance - as this is what is causing the error (and records are 100% identical).
dupe_pageurl_record = PageUrl.objects.filter(page_id=main_page.pk,language=language).first()
dupe_pageurl_record.delete()
When deleted like this, can access the settings page as expected. There are differences on the two different PageContnet records though.

@jamesfogg OK, after looking at your code, I think I know the reason:

create_page already creates a PageContent object
You need to create or get the page. Important: do not forget to provide a created_by argument.
Instead of create_pagecontent you'll have to get the existing content by using page.pagecontent_set(manager="admin_manager").latest_content()
From there you get the placeholder.

I expect if you follow this path, you will only have one page url and only one page content object.
My take-away is that create_pagecontent needs to check if there already is a content object before creating a new one.

@jamesfogg Is this still an issue for you or the solution suggested by @fsbraun is enough for you? If it's the later, I would request you to close the ticket.
Thank you.


1.9.26 please

Working on it right now. Will be up soon.

1.9.27 is today
On Sep 29, 2015 19:35, "Appu Goundan"<EMAIL_ADDRESS>wrote:

Working on it right now. Will be up soon.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/204#issuecomment-144130499
.

Gaelyk link is dead


Changes for #241

Checklist before submitting

[x] Did you read the contributor guide?

Description
Changes required for #241

Codecov Report

Merging #327 (a61061d) into master (e236e4e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #327   +/-   ##
=======================================
  Coverage   96.47%   96.47%
=======================================
  Files          17       17
  Lines        1304     1304
=======================================
  Hits         1258     1258
  Misses         46       46

Flag
Coverage Δ

unittests
96.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 e236e4e...a61061d. Read the comment docs.

After the bugfix tag for 1.1.3, I will make a change to all the feedstocks to add a new workflow that uses the action I added here. This will look like:
https://github.com/open-ce/test-feedstock/blob/main/.github/workflows/feedstock-merge.yml


Strange problem regarding model save_weights

I'm running keras on a remoter server with SSH, training LSTM, the training process works correctly, the model is like this:
model = Sequential()
model.add(Masking(mask_value=0., input_shape=(None, len(chars))))
model.add(LSTM(4000, return_sequences=True))
model.add(LSTM(4000, return_sequences=True))
model.add(TimeDistributed(Dense(len(chars))))
model.add(Activation('softmax'))

rmsprop=RMSprop(lr=0.006)
model.compile(loss='categorical_crossentropy', optimizer=rmsprop)

after I training, I saved the model:
json_string = model.to_json()
open('my_model_architecture21.json', 'w').write(json_string)
model.save_weights('my_model_weights21.h5',overwrite=True)

but this part works abnormally, as when I reload weights after training, the model works like never been trained, the same script works correctly in my one laptop. this is really strange, anyone have an idea? thanks very much!

Facing the same issue #4875
But for me it is working fine if it is in same session. Even model.save() doesn't seem to be working in this matter.

The problem has been solved with changing the version of python and keras, previously I'm using python3 and keras 1.2.0, after reinstall python2 and keras 1.1.0, it works correctly.

why you don not use these lines of code:
1- save the model:
model.save(path+'\name.hdf5')
2- load the model:
from keras.models import  load_model
model=load_model(path+'\name.hdf5')
On Wed, Jan 4, 2017 at 9:28 AM, MrWanter<EMAIL_ADDRESS>wrote:

The problem has been solved with changing the version of pythonand keras,
previously I'm using python3andkeras 1.2.0, after reinstall python2 and keras
1.1.0, it works correctly.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/4904#issuecomment-270309729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARxwS9qb7DSbaaFtFoXqAok9GfizJC5qks5rO0okgaJpZM4LZcik
.

--
_________________
Hany A. EL-Ghaish
E-JUST University
*PhD Candidate at School of Communication and Computer Engineering,
Egypt-Japan  University of Science and Technology *
M.<PHONE_NUMBER>5

@MrWanter do you mean this is the problem of newer version of keras on python 3?

Yes, I think maybe there is a problem with that, you can try to use different version.

@fchollet is this a known issue? If yes is there any workaround to avoid this in python 3?

Interesting. Did some of you verified that loaded weights are the same as before saving?

@alexander-rakhlin yes both weights are same. But the thing is the issue is not always reproducible. Currently I'm using jupyter notebook in Azure VM with python 2.7 and Keras from github. It seems to work fine. But the same setup is not working in heroku jupyter notebook, with same setup. And I'm not able to pinpoint the root cause.

I'm also facing this issue, accuracy changes every time I load weights.

If you are working with RL, check your initialization of epsilon of the epsilon greedy....it should be equal to 0 other than 1 when evaluating...

I have the same problem. In my case I guess its because of 'Concatenate()' layer, but I am not shure.
After 'load_model()/load_weights()' I achieve random accuracy.

Years after, with keras version 2.6.0, and TF 2.6.2 and Python 3.6, I still get the same issue. Has this problem been fixed with keras?


$ENV:PATH is not loaded when using a profile on Apple M1 Macbook

Steps to reproduce

Install a profile in ~/.config/powershell//powershell/Microsoft.PowerShell_profile.ps1

This also happens with ~/.config/powershell//powershell/profile.ps1

start pwsh
Note that $ENV:PATH is not set

If the profile is removed then the path is configured correctly.
I'm not sure if I did something during install or missed a step, it didn't look like it, however this is my first mac usage in many moons so it's possible.
Expected behavior
$ENV:PATH should be set and commands like git, etc should be available.
Actual behavior
$ENV:PATH is not set and no commands can be run without setting it.
Environment data
Name                           Value
----                           -----
PSVersion                      7.1.0
PSEdition                      Core
GitCommitId                    7.1.0
OS                             Darwin 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This might actually be user error... I'm continuing to investigate.

This might actually be user error... I'm continuing to investigate.


Merge up edge changes into the release_6.0.0 branch

Overview

Changelog

Review requests

Risk assessment

Taking a different approach

Current dependencies on/for this PR:

release_6.0.0

PR #10853   👈

PR #11673

This comment was auto-generated by Graphite.


Core: Better support for writing functional specs #2638

Core: Better support for writing functional specs #2638

Duplicate issue of #2638

Could you squash and rebase, please?


Jbaker/custom registration

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Summary:
Fix problems in docs, add custom reg example and make the styles work for the custom registration
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to set Keras session options?

I have create ConfigProto with some options:
var config = new ConfigProto {  GpuOptions = new GPUOptions  {   AllowGrowth = true,   PerProcessGpuMemoryFraction = 0.7  } };
How to apply this options to Keras session? I have not found something similar to keras.backend.set_session()

Need to compete #713 dependent task.

Will be available for next release on 01/09/2021.
tf.Context.Config.GpuOptions.AllowGrowth = true

Will be available for next release on 01/09/2021.
tf.Context.Config.GpuOptions.AllowGrowth = true

Releated to https://github.com/SciSharp/TensorFlow.NET/issues/713.

Releated to https://github.com/SciSharp/TensorFlow.NET/issues/713.


Custom Pattern Requires Hiro Pattern

I made a comment about this in #164 but I am not sure if it is related to it or not. The custom pattern I am attempting to use appears to be recognized on some level but it is not being used as the anchor point for the 3D asset to be rendered.
Nothing appears to happen when I display the custom marker or if I display the Hiro marker, however, when both the custom and Hiro markers are displayed on camera at the same time, the asset renders on top of the Hiro marker. I am not sure what is causing this behavior or how to fix this to get the asset to render on the custom marker an to no longer require the Hiro marker.
I have a codepen displaying the behavior here and the custom marker file is here
Demo

#168


Please provide a byte array option for firebase.NewApp

Describe your environment

Operating System version: _____Docker
Firebase SDK version: _____Go HEAD of master branch
Library version: _____Go HEAD of master branch
Firebase Product: _____ (auth, database, storage, etc) auth

Describe the problem
Please allow the credentials to be provided to "firebase.NewApp" as a byte array in addition to a file via the options. The reason I'm asking is because we store the file encrypted with KMS and would prefer not to write out the decrypted service account to a file and instead keep it in memory.
Steps to reproduce:
N/A
Relevant Code:
	opt := option.WithCredentialsFile("path/to/serviceAccountKey.json")
	client, err := firebase.NewApp(context.Background(), nil, opt)

Hit the same issue. Probably the best resolution will be the ability to pass io.Reader, i.e. func WithCredentialsFile(r io.Reader) ClientOption, but []byte will do as well!

Note this is hardly exclusive to firebase NewApp - the google.golang.org/api/option makes some pretty deep assumptions about working just with filenames instead of io.Reader bytes

FYI the work around I posted above doesn't work when minting tokens "auth.CustomTokenWithClaims" so we are back to writing out to a file :(

See also GoogleCloudPlatform/google-cloud-go#918.

See https://code-review.googlesource.com/c/google-api-go-client/+/24871 and https://go-review.googlesource.com/c/oauth2/+/99795.

CLs submitted. Usage:
creds, err := google.CredentialsFromJSON(ctx, jsonData, scope1, scope2)
if err != nil { ... }
opt := option.WithCredentials(creds)

where google is golang.org/x/oauth2/google and option is google.golang.org/api/option.

Looks like the bot can't handle cross repo closing.
@michaljemala @ptone @ChrisBartonLC please give us holler (in a comment below) if this fix isn't sufficient for your use cases.

Thanks works for us :)


⚠ Panel - Hydeos has degraded performance

In 4b2e447, Panel - Hydeos (https://pterodactyl.hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 2137 ms

Resolved: Panel - Hydeos performance has improved in 3f1392f after 11 minutes.


Relax deployment target

What?
This PR lowers the deployment target across all platforms
Why?
While Combine itself is iOS 13+, the consumers might not be. For example, product apps that still support iOS 10+ users but have some features written using Combine.
We're deploying a similar strategy in CombineExt, CombineCocoa, RxCombine, etc.

Any chance y’all could cut another dot release with these changes? 🙏🏽

@jasdev Done! https://github.com/pointfreeco/combine-schedulers/releases/tag/0.1.1


Error "Requested data is before the reader's current offset" for Upload(stream) when resumption creates a new upload

The error Requested data is before the reader's current offset from https://github.com/tus/tus-js-client/blob/01d3948c1a0b96adee545af72cdaabc5c5e979b1/lib/browser/sources/StreamSource.js#L38-L39
is triggered when the following conditions are met jointly:

new Upload(new ReadableStream(...)) is used
chunkSize is set and the upload progressed to chunk to the second or higher chunk
a transmission error occurs and resumption fails (e.g. because the server temporarily gives HTTP 502 Bad Gateway, or any of these designed situations occurs

(These conditions are true in common cases, e.g. when you're behind Cloudflare (requiring chunkSize) and you restart your TUS server software for a split second for an upgrade.)
Then, this code triggers: https://github.com/tus/tus-js-client/blob/01d3948c1a0b96adee545af72cdaabc5c5e979b1/lib/upload.js#L672-L675
which creates a completely new upload with offset 0, but it seems that the ReadableStream is not reset and can already be way further advanced.
Hence, Requested data is before the reader's current offset necessarily triggers.
Automatically creating a new upload in the middle of the transfer seems logically impossible when the Upload is sourced by a ReadableStream, as the user is given no opportunity to create a stream on which another .slice(0, ...) can succeed.

This issue is made more likely to crop up by issue #579, as that increases the chances that "a transmission error occurs and resumption fails".

Automatically creating a new upload in the middle of the transfer seems logically impossible when the Upload is sourced by a ReadableStream, as the user is given no opportunity to create a stream on which another .slice(0, ...) can succeed.

Yes, that is correct. There is currently no way how an upload could succeed from such kind of failures. The question is how can we improve this situation in tus-js-client?
a) Just raise a different error saying that we cannot resume in such a case
b) Provide some API so that the user can supply a new stream (but I am unsure how often this is actually possible).

a) Just raise a different error saying that we cannot resume in such a case

Yes, I think the following would make sense:

Change the error message to explain that Readers cannot be resumed once they progress past the first chunkSize bytes.
Document in api.md:

In the Upload() constructor docs:

Mention that the logic of // Try to create a new upload exists. It is not obvious that tus-js-client may try to create a new upload after streaming had already started before, so the user may not even be aware of this situation (if you think thoroughly about it after reading the TUS spec, it becomes clear that there probably is some logic like that e.g. to handle Upload expiration, but it should best be explicitly mentioned).
Based on that, mention that this logic will fail once streaming has progressed past the first chunkSize bytes.
Mention that the user should prefer consider using the fileReader option in many cases instead of having to use a Reader. fileReader allows arbitrary offset slice()ing (not only forward streaming), so it is fully resumable.

b) Provide some API so that the user can supply a new stream (but I am unsure how often this is actually possible).

Isn't this theoretically already possible, by providing an arbitrary object as the argument to the Upload() constructor, and then implementing the fileReader option so that it gets the data from somewhere else (e.g. when slice(start, ...) observes start decrease back to 0, the user's slice() implementation could open some new source from somwhere)? See also #583 which I just filed.

As a concrete example of how fileReader can solve more problems than passsing a Reader to Upload():
I found a bug in Chrome "FileReader 5x slower than in Firefox over Windows Share". It limits sequential File read throughput to 20 Mbit/s. A workaround is concurrent batched reading of multiple File.slice()s. I first implemented it with a Reader but then hit this problem here. Only then did I find out that I can implement it with the fileReader option to get both custom IO patterns AND full resumability from offset 0.

Change the error message to explain that Readers cannot be resumed once they progress past the first chunkSize bytes.

I am wondering if we currently have the capabilities to detect this state inside the Upload class. I do not think so. If you have a file or buffer object, you can seek back to the beginning, so we cannot disallow it in all cases. And in the Upload class we do not directly have a property to detect streaming resources (yet). So maybe we need to expose this in the FileReader interface.

Isn't this theoretically already possible, by providing an arbitrary object as the argument to the Upload() constructor, and then implementing the fileReader option so that it gets the data from somewhere else (e.g. when slice(start, ...) observes start decrease back to 0, the user's slice() implementation could open some new source from somewhere)? See also #583 which I just filed.

Good point. That might be, although I never tried it. Plus I think this approach is a rather unintuitive way for most casual tus-js-client users. If we go and embrace a setup where a new stream can be supplied to tus-js-client, I would prefer it being done using a more explicit API.


Add example usage for mc-sgx-sync and std::sync

Add developer notes about mc-sgx-sync module hierarchy.

Current dependencies on/for this PR:

main

PR #14

PR #13

PR #15

PR #22

PR #24

PR #30

PR #31

PR #32

link to current rendering
I'm definitely up for suggestions if any extra content should be added and where

Codecov Report

:exclamation: No coverage uploaded for pull request base (nick/rwlock@0ab1f45). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 15c6824 differs from pull request most recent head df4dab1. Consider uploading reports for the commit df4dab1 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@              Coverage Diff               @@
##             nick/rwlock      #46   +/-   ##
==============================================
  Coverage               ?   92.85%
==============================================
  Files                  ?        8
  Lines                  ?      322
  Branches               ?        0
==============================================
  Hits                   ?      299
  Misses                 ?       23
  Partials               ?        0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

⏳ This pull request is set to merge as part of a Graphite merge job
Stack job ID: uCoNH97G95Be2subCEb9.
See details on graphite.dev

@varsha888 I mistakenly bumped you for re-review, it didn't change


Remove parseConfig's unused initPath pararameter

The original idea was that we would recurse into parseConfig,
but it ended up being parseMapping that was the recursion point.

Codecov Report

Merging #40 (ccbcb93) into v1.x.x (30dac43) will increase coverage by 0.47%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           v1.x.x      #40      +/-   ##
==========================================
+ Coverage   83.05%   83.52%   +0.47%
==========================================
  Files           5        5
  Lines         354      352       -2
==========================================
  Hits          294      294
+ Misses         60       58       -2

Flag
Coverage Δ

unittests
83.52% <50.00%> (+0.47%)
:arrow_up:

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

Impacted Files
Coverage Δ

source/configy/Read.d
69.33% <50.00%> (+0.91%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Error running ex_train.bash in a headless way

Hi,
I was trying to train my agent with the kinova robotic arm and sac algorithm using the ex_train.bash script. But I get the following error. Can you please look into this @AndrejOrsula ?( I actually wanted to train on a GPU Server (Nvidia V100 GPU Card) without graphical elements )
The error I am getting is as follows :
Inserting camera
[Err] [Ogre2RenderEngine.cc:376] Unable to open display:
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
  what():  OGRE EXCEPTION(3:RenderingAPIException): Couldn`t open X display  in GLXGLSupport::getGLDisplay at /home/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXGLSupport.cpp (line 796)
Received interrupt signal SIGABRT
Found signal callback
[Err] [GazeboSimulator.cpp:237] The simulator was not initialized
Traceback (most recent call last):
  File "/root/drl_grasping/drl_grasping/install/lib/drl_grasping/train.py", line 219, in <module>
    main(args=args)
  File "/root/drl_grasping/drl_grasping/install/lib/drl_grasping/train.py", line 97, in main
    exp_manager.learn(model)
  File "/root/drl_grasping/drl_grasping/install/lib/python3.8/site-packages/drl_grasping/utils/training/exp_manager.py", line 209, in learn
    model.learn(self.n_timesteps, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/sb3_contrib/tqc/tqc.py", line 289, in learn
    return super(TQC, self).learn(
  File "/usr/local/lib/python3.8/dist-packages/stable_baselines3/common/off_policy_algorithm.py", line 338, in learn
    total_timesteps, callback = self._setup_learn(
  File "/usr/local/lib/python3.8/dist-packages/stable_baselines3/common/off_policy_algorithm.py", line 314, in _setup_learn
    return super()._setup_learn(
  File "/usr/local/lib/python3.8/dist-packages/stable_baselines3/common/base_class.py", line 421, in _setup_learn
    self._last_obs = self.env.reset()  # pytype: disable=annotation-type-mismatch
  File "/usr/local/lib/python3.8/dist-packages/stable_baselines3/common/vec_env/dummy_vec_env.py", line 61, in reset
    obs = self.envs[env_idx].reset()
  File "/usr/local/lib/python3.8/dist-packages/stable_baselines3/common/monitor.py", line 79, in reset
    return self.env.reset(**kwargs)
  File "/usr/local/lib/python3.8/dist-packages/gym_ignition/randomizers/gazebo_env_randomizer.py", line 98, in reset
    self.randomize_task(task=self.env.task, gazebo=self.env.gazebo, **kwargs)
  File "/root/drl_grasping/drl_grasping/install/lib/python3.8/site-packages/drl_grasping/envs/randomizers/manipulation.py", line 127, in randomize_task
    self.init_models(task=task,
  File "/root/drl_grasping/drl_grasping/install/lib/python3.8/site-packages/drl_grasping/envs/randomizers/manipulation.py", line 218, in init_models
    self.add_invisible_world_bottom_collision_plane(task=task,
  File "/root/drl_grasping/drl_grasping/install/lib/python3.8/site-packages/drl_grasping/envs/randomizers/manipulation.py", line 397, in add_invisible_world_bottom_collision_plane
    raise RuntimeError("Failed to execute a paused Gazebo run")
RuntimeError: Failed to execute a paused Gazebo run
terminate called recursively
1643635721.148012 [69] parameter_: selected interface "lo" is not multicast-capable: disabling multicast
INFO: Caught signal, killing all subprocesses...
INFO: Caught signal, killing all subprocesses...
[ERROR] [parameter_bridge-4]: process has died [pid 107, exit code -15, cmd '/root/drl_grasping/ros_ign/install/lib/ros_ign_bridge/parameter_bridge<EMAIL_ADDRESS>--ros-args --log-level fatal --ros-args -r __node:=parameter_bridge_joint_trajectory --params-file /tmp/launch_params_2rxhlxgm'].
[ERROR] [parameter_bridge-5]: process has died [pid 109, exit code -15, cmd '/root/drl_grasping/ros_ign/install/lib/ros_ign_bridge/parameter_bridge<EMAIL_ADDRESS>--ros-args --log-level fatal --ros-args -r __node:=parameter_bridge_joint_trajectory_progress --params-file /tmp/launch_params_0f2n2n14'].
[ERROR] [parameter_bridge-2]: process has died [pid 103, exit code -15, cmd '/root/drl_grasping/ros_ign/install/lib/ros_ign_bridge/parameter_bridge<EMAIL_ADDRESS>--ros-args --log-level fatal --ros-args -r __node:=parameter_bridge_block --params-file /tmp/launch_params_cmdun4_2'].
[ERROR] [parameter_bridge-6]: process has died [pid 111, exit code -15, cmd '/root/drl_grasping/ros_ign/install/lib/ros_ign_bridge/parameter_bridge<EMAIL_ADDRESS>--ros-args --log-level fatal --ros-args -r __node:=parameter_bridge_gripper_trajectory --params-file /tmp/launch_params_v5tzo06_'].
[ERROR] [parameter_bridge-3]: process has died [pid 105, exit code -15, cmd '/root/drl_grasping/ros_ign/install/lib/ros_ign_bridge/parameter_bridge<EMAIL_ADDRESS>--ros-args --log-level fatal --ros-args -r __node:=parameter_bridge_joint_states --params-file /tmp/launch_params_rxm44l6w -r /world/default/model/j2s7s300/joint_state:=/joint_states'].
[ERROR] [move_group-1]: process has died [pid 101, exit code -15, cmd '/opt/ros/rolling/lib/moveit_ros_move_group/move_group --ros-args --log-level fatal --ros-args -r __node:=move_group --params-file /tmp/launch_params_b9bffj9c --params-file /tmp/launch_params_ukwqts0r --params-file /tmp/launch_params__n5pqs6b --params-file /tmp/launch_params_ybfsybp8 --params-file /tmp/launch_params_d35t94mw --params-file /tmp/launch_params_9bnr6z13 --params-file /tmp/launch_params_eirebeoc --params-file /tmp/launch_params_lleymg4o --params-file /tmp/launch_params_r2wt_332'].
[move_group-1]

Hello,
The following error is indeed a result of ign-sensors (camera sensor) requiring X display.

[Err] [Ogre2RenderEngine.cc:376] Unable to open display: terminate called after throwing an instance of 'Ogre::RenderingAPIException' what():  OGRE EXCEPTION(3:RenderingAPIException): Couldn`t open X display  in GLXGLSupport::getGLDisplay at /home/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXGLSupport.cpp (line 796) Received interrupt signal SIGABRT

I have not yet used Ignition Gazebo in a fully headless more, so I unfortunately cannot give you an exact solution. However, there should be support for headless simulation using EGL in Ignition fortress. Therefore, it should be possible and "straightforward" to enable a fully headless training. Please, consider taking a look at the documentation to see if you find a tutorial on how to enable it. Otherwise, there might be some relevant information in Gazebo community and/or answers, e.g. https://community.gazebosim.org/t/running-ignition-gazebo-headless-in-docker-container/1093, https://answers.gazebosim.org/question/27676/running-ignition-fortress-headless-in-docker-environment-for-continous-integration-using-rostest.

In order to resolve selected interface "lo" is not multicast-capable: disabling multicast, you need to enable multicast on your loopback (lo) network interface. For that, you could use ifconfig lo multicast.

On a side-note:
Using docker is currently recommended as I have not tested whether this project at version 1.1.0 still works with the latest releases of Ignition fortress. ROS rolling (and rolling packages) are most likely not compatible anymore, so I would recommend to use foxy/galactic if you ever want to install 1.1.0 from source.
Although training on Kinova j2s7s300 should be functional and provide some decent success rate, the robot is not yet fully configured and tested as of 1.1.0.

Thankyou so much for responding quickly. I will try to look into your suggestions and run it in a headless manner. I will post here in case I need little support.

Also as you have pointed out I tried a local installation using ROS rolling and I was not able to do it (facing errors). So I am currently using docker only. I will try using ROS galactic/foxy instead, as you suggested.

Yeah, rolling will not work. However, there is a chance that foxy/galactic will have some issues as well. Apologies for the inconvenience.
I am hoping that I will have the opportunity to update/refactor this repository in a couple of months with a working 2.0.0 release.


check state functions will fail to return a value when the conditional statement is not met

https://github.com/nakujaproject/N2-flight-software/blob/dedff4ebea2c1c42b8ab2498e0856855e3436a6d/include/functions.h#L271-L308
control reaches end of non-void function [-Wreturn-type]
Solution
add else statements to the conditional statements or "sentry" statement before the end of the functions

it also possible to squash them down to a single chechState function

Yeah, I will address the issue. This check state function may be the actual reason the parachute actually failed to eject.

Check current implementation here

Check current implementation here

Looks good


[Menu] Fix focus issue

Fix condition where item is removed from menu before it is attempted to be used in focus calculation.
Clicking a menu item triggers an event which can end up causing that item to be removed from the menu. If that is the last item in that menu then the menu disappears, but this focus event triggers and an exception is thrown since focusedItem is null

@zentron Thanks

Thanks @oliviertassinari for the quick merge!

not sure why this has not been published yet ? @oliviertassinari
if we follow SEMVER , there should have been one published version after this commit. it has been more than a month :)


File resolution different between python versions

Describe the bug
Python 3.9.7 does file resolution differently than python 3.10.8. It's causing issues as graphs were built a specific way no longer work as expected.
To Reproduce
Steps to reproduce the behavior:

Unzip file attached
Open nxt
Open the nxt_test.nxt file
If you look at that file in 3.9.7 vs 3.10.8, you will see on /node.file_test that the file resolves in one but not the other

Expected behavior
For it to resolve the same in both python versions
Screenshots
nxt_example.zip
https://github.com/nxt-dev/nxt/assets/4167012/ceb1c020-0b73-4374-85b9-ebcbf2f3341e
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 11
DCC Maya 2023.3 vs Maya 2024.2
Version: API v1.17

Fixed by https://github.com/nxt-dev/nxt/commit/e2e338d901b085d22a83c401304848192aeb5c94


Text value overflowing into page margin

This is a really minor nit, but maybe also minor to fix.
Notice how the URL (literally the URL value in the "URL" column/field) in this screenshot overflows into the page margin. I wonder if its possible to make this wrap without spilling into margin.

We can add overflow-wrap: break-word; style to our cells in the top section of record app (<td> elements).
For a temporary solution specific to that record page, the following style can be added to the custom css document denoted by customCSS in the chaise-config:
.r_s_isa.r_t_project #entity-URL {
  overflow-wrap: break-word;
}

We can add overflow-wrap: break-word; style to our cells in the top section of record app (<td> elements).
For a temporary solution specific to that record page, the following style can be added to the custom css document denoted by customCSS in the chaise-config:
.r_s_isa.r_t_project #entity-URL {
  overflow-wrap: break-word;
}

I think we should be doing that:
We can add overflow-wrap: break-word; style to our cells in the top section of record app ( elements).

I think we should be doing that:
We can add overflow-wrap: break-word; style to our cells in the top section of record app ( elements).

The overflow-wrap: break-word; style was added to our cells in the top section of record app. Changes for this have been merged into master. reassigning to @robes to verify it has been fixed.


Build is sporadically hanging on zkcluster

Need to investigate hanging build.

zkcluster will block the execution thread until connect to Zookeeper. Since we have started a embeded Zookeeper instance locally, there might be some timing issue.

Good point. How do we make it safe?

Here is the code https://github.com/paypal/squbs/blob/master/squbs-zkcluster/src/test/scala/org/squbs/cluster/ZkClusterMultiActorSystemTestKit.scala#L107
I might not have much time to take a look recently. If you guys couldn't figure out, I can take care of it later. BTW, can I access the travis CI now?

I do not think the builds are hanging because of zkcluster.  Some tests in unicomplex (MultilistenerSpec) and in test-kit (CustomTestkitSpec) have issues.  In my local, I even see compile issues with some test classes..  Will update when I have more information..

The issues I mentioned in my previous comment seem to be unrelated..  Still need to be addressed though..
I built zkcluster quite many times exclusively and no hanging at all.  Also, builds with zkcluster excluded were also hanging.
The problem seems to be caused by ActorMonitorSpec.  Gets stuck here:     https://github.com/paypal/squbs/blob/master/squbs-actormonitor/src/test/scala/org/squbs/actormonitor/ActorMonitorSpec.scala#L67

By the time you get to L65, the system is already fully initialized. Individual actor initialization is asynchronous and therefore some actors are not yet started. You're right, we could not use an event to wake it up. Yet, an infinite loop also does not seem to be the right thing. We definitely should fail the build instead.
This solves the hang, but would get you into sporadic failures. It just means there are less than 12 actors are currently active. So we need to make sure we cause all 12 actors to be active before checking. This can be done by sending a message to the actors and awaiting their responses. Then we check for the 12 actors expose the stats through JMX.
Let me try this out.

We already used awaitAssert here https://github.com/paypal/squbs/blob/master/squbs-actormonitor/src/test/scala/org/squbs/actormonitor/ActorMonitorSpec.scala#L114
Shall we just changed the test case all to use awaiAssert then we probably can get rid of the infinite loop?

I really like this path. The only concern I have is that the awaitAssert itself does not force the actor to become active. So is it possible for some of these actors to get stuck in the actor shell creation (empty shell)? Because they never received a message, the creation of the actor itself will happen a bit later or even get optimized into lazy initialization?
I'd still want to ping each of the critical actors in this test once, just to make sure they're good. The identify message is hopefully good enough to ensure the actor is indeed created (causing the JMX beans to be created). But if we want a sure path, we probably need to hit each actor with an app message. That can be done, too.

I am open to that.

I think this issue is resolved. Please let me know before I close it. Thx!

It looks like we still have sporadic failures around those lines.  Even though frequency is much less.  I would keep this open until we fully fix it, link to the related gitter message by you: https://gitter.im/paypal/squbs?at=55ea283e0b6aa72b12ffd02d.

Failures resolved. We should not have sporadic build failures any longer.


gpiocdev 0.4.3 failed to build

Crate name
gpiocdev
Build failure link
https://docs.rs/crate/gpiocdev/0.4.3
Additional details
The failing build pulled in value-bag v1.0.0-alpha.9 and failed on errors from that, but when I build locally, including in a docs.rs build environment, it pulls in the latest - value-bag 1.4.0 and the build passes.

The error is the same we saw in #2134,
I queued a rebuild: https://docs.rs/releases/queue

Thanks - that build worked.


OPENSTACK-2557: persist configuration periodically

change backup to persist bigip configuration periodically(rebuild connection)
The bigip connection of saving configuration is isolated to the bigip connection of configure resource.

Pipeline: #5193333


(maint) Bump version to 3.0.0

Have we fixed all the jenkins jobs where having 3.0 (hence why it was changed back to 2.9 on master iirc) so that this is not a problem anymore?

@peterhuene the commit message for setting it to 2.9 doesn't mention any issues, but @MikaelSmith was the one that wrote it

I don't see any issues. I don't remember having a good reason then either.

Can you bump lib/Doxyfile also?

Other than that :+1:

CLA signed by all contributors.


Sluggish Performance on performBatchUpdates

Thanks for the awesome code. I have it up and running, but I'm running into some sluggish behavior, especially as my dataset starts getting large (but the collectionviewcontroller seems to be handling the caching and loading only new items as expected). The time profiler is identifying performBatchUpdates as the culprit, but I'm still having trouble figuring out why. I'm adding a section with 22 cells every few seconds and it's staggering the app. I saw in another issue that you mentioned that we shouldn't be modifying both a section and section rows at the same time? Is this a problem? Other ideas for sluggish behavior?
Thanks.

Hi JayPhe,
Even i'm having same issue, would you please let me know how did you solve this?
Thanks
Pavan


User story 1

As a {blank} I want to {blank} so that I can {blank}
As a modeler, I want to convert an atomistic homology model to a CG Martini model so that I can build a system for an CG MD simulation

atomistic homology model: should be prepped pdb file format (including disulfide bonds)

convert: workflow exists as pip package (vermouth) to do so
checks to be done:

are there at least 12 disulfide bonds present?
are the molecules protonated?

system can contain N CG protein molecules at a specified concentration (mg/mL), CG water, buffer at specified concentration,
excipient at specified concentration (e.g. 100 mg/mL protein in 10 mM histidine buffer pH 6, 0.1% w/w PS80, 250 mM sucrose)
modeler should have to only upload the protein and everything else should be available in a library of common components.
Should be able to append new components to library

Need to consider how to CG (or compensate for) any free ions in solution which can come from buffering (pH control) or added salts.  Free ions can come from 2 sources:  1. Adding salts to formulation 2. Buffers/charged excipients (histidine(+1)-HCl Arg-HCl)
Ask:  Can we CG molecules such as HCl when it disassociates to H+ and Cl-?  Would that look like a similar method to CG water (~4 H2O per CG bead) or would we need special considerations?  Would we be able to include atomistic ions with the CG beads and maintain simulation stability?

http://www.cgmartini.nl/images/parameters/ITP/martini_v2.0_ions.itp

Is debye screening modeled in our CG beeds/FF?

Paper showing preferential interactions of different excipients on a mAb surface.
[Cloutier 2020 Trout Molecular computations of preferential interactions of Pro, Arg, NaCl with IgG1 and their impact on aggr and visc.pdf](https://github.com/omsf/OpenPharmMDFlow/files/13823223/Cloutier.2020.Trout.Molecular.computations.of.preferential.interactions.of.Pro.Arg.NaCl.with.IgG1.and.their.impact.on.aggr.and.visc.pdf


Add integration tests to /scim2/v2/Roles API

Describe the task:

/scim2/v2/Roles API is a newly introduced API.
Need to add integration tests to the API functionality

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Added Debian packaging.

Added the packaging we were using internally to the master branch and bumped the version to 0.8.
I skipped 0.7 because that version number was used even though there wasn't a 0.7 release.

Two more requests then we're done. (I have no idea what the "Approve changes" button does so I'm hesitant to press it to LGTM before the remainder is in. ;)

Done.


expiresAt missing from

await auth.withRefreshToken().generate(user)
Returns:
refreshToken: "tokenXYZ"
token: "tokenXYZ"
type: "bearer"

But no expiresAt key? This is needed to use the refresh token on a new request? Most apps do a axios call using beforeRequest check that the token is expired, if it is expired use the refresh token to generate a new token etc.

Isn't expireAt in the token?

It should be passed as another attribute outside the token, that way your app doesn't need to reply on decrypting the JWT to get a vital piece of information which can be passed from the server side.

The entire point of JWT token is to have the option of decrypting and pulling the vital info from the token.
I am not in favor of putting expiresAt as top level key.

@thetutlage then why do other major frameworks support this. Why decompile the access token in full oauth when you just pass that data back as a bearer which should be decompile services to validate the token. Laravel does this method and most oauth services also offer this entry key as standard. No point in having a frontend app decompiling a token of its not required.

https://tools.ietf.org/html/rfc6749


Invalid example code?

Hello, I'm experiencing some strange problem with date only validation and believe the problem is in validate.js itself.
One of the problematic scenarios is when following conditions are met:

date validation with earliest criteria set to moment.utc(), with the goal being to ensure value is today at earliest
value to be validated is a date string from today, i.e. '2016-06-26'
current timezone is EDT(-4)
validation happens after 8pm
everything else is written according to the doc

This triggers validation error saying date should be no earlier than 2016-06-27, presumably due to utc time conversion.
If I find time, I'll add a PR to show case the issue, and possibly a fix.

my bad, it only returns NaN if it's an invalid date

Internally validate.js only works with unix timestamps.
It sound like you don't want to parse using UTC since you want to consider time zones.

I managed to create a fiddle to illustrate the problem: https://jsfiddle.net/analyst74/970yky2v/1/

logically, it seems if I use all local time instead of UTC, this problem will go away. however there is a line in validate.js to ensure value must be a whole date(https://github.com/ansman/validate.js/blob/master/validate.js#L897), meaning that I must parse date value using utc.

My bad, the correct solution is to keep parsing the dates as UTC but don't specify the earliest date as this: moment.utc().toString("YYYY-MM-DD")
It's hard for validate.js to work correctly with timezones since it has no date lib dependency.
The problem comes from that 2016-06-28T01:00+02:00 actually the day 2016-06-27 in UTC.
Perhaps the contract should be clearer but when you are using dateOnly it will always compare the UTC days.


drawio: 14.5.1 -> 15.7.3

Motivation for this change
update drawio version and me as a maintainer
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

drawio


SealedBox

Sorry wrong issue number: Fixes #104

Hi @bitbeans can you actually rebase your branch and then force a push?
it would then clear out the first commit you have "update from source"

sorry, it`s now clear :)

Thanks! Much appreciated.
I'm wondering about the name - the naming of this is always going to be a bit confusing, just because of what it it, but I wonder if SealedPublicKeyBox would make more sense to users than SealedBox - thoughts?

Hmm, maybe you are right :)
Shortly i thought about something like: Seal instead of Create but ... this would also be confusing.
I will rename it (SealedBox to SealedPublicKeyBox) and push again, i also will update the gitbook after merging.


[wip] triton-bin: fix build

Potential fix for #350117
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/can-i-get-a-working-shell-nix-for-pytorch-in-24-11/57299/3


Add programs from the PKI consortium list that are not already included.

https://pkic.org/ltl/

Thanks! I've added VISA that was the only (TLS || SMIME) one missing from the list. There's also eIDAS, but I need to prepare a very long footnote for that ;)


Investigate building K and dK/dx directly as sparse matrices

At the moment, K and dK/dx are built up as dense matrices, the converted into sparse ones.  This actually involves setting various "blocks" of K to certain dense matrices, starting from an array of zeros.  This dense matrix is then converted to a scipy.sparse.csc_matrix, which is a column-based sparse matrix.  The more obvious choice would seem to be a block-sparse matrix, which we can even build up directly, without needing to go through the intermediary of the dense matrix.
It is worth investigating whether this gives us any particular speedup.

The relevant function seems to be scipy.sparse.bmat().  I need to investigate whether this can create a sparse matrix which simply has views onto its blocks, which would be ideal because we never want to mutate this matrix, only use it.  If it does, then we need to allocate very very few blocks (only the number of Brillouin zones for the diagonal, plus the number of Fourier components for the off-diagonals).
It might also be worth checking whether it is worth building up the entire Python list of objects to pass to scipy.sparse.bmat(), or whether I could create it as a sum of block-band matrices.
Also, the matrix elements of K are also needed.  I need to investigate whether I can use the sparse matrix directly in dot products, or whether we could use custom routines to calculate them.  Reverting to dense matrices seems like a bad idea memory-wise here, though likely we care more about wall-time than memory usage.

Commit a46d7e6 builds K directly as sparse.  This does not use scipy.sparse.bmat() due to timing concerns, though see the new code comments and commit message for more info.

Fixed by 57af111


atom segmentation fault with clean build on Linux

Prerequisites

[ X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Atom crashes immediately upon running from the command line.  As far as I remember it was working one day, then after a system restart it would segfault no matter what, even after deleting my ~/.atom folder and trying safe mode.
I also tried downloading the latest source and building from scratch, but I still get a segfault.  Even attempting to get the version results in a segfault.
Steps to Reproduce

delete ~/.atom config folder
run atom --safe from command line

Actual behavior: [What actually happens]
$ atom --safe
/usr/local/bin/atom: line 130: 12082 Segmentation fault      (core dumped) nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1

Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
$ atom --version
blank line
$ /usr/local/share/atom/atom --version
Segmentation fault (core dumped)

$ apm --version
 apm  1.18.2
 npm  3.10.10
 node 6.9.5 x64
 python 2.7.13
 git 2.13.0

(note: when I run $ node --version I get "v8.1.3")
I am running Ubuntu Gnome 17.04
$ uname -a
Linux knox-pc-linux 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Additional Information
I can't figure out what I changed when this started happening, but I can try to get more info if anyone has ideas what to look for (gdb, etc.).  My main problem is that I don't know where to start looking since I don't get any error messages from atom.

I just tried to download and run VS Code and got a segfault error.  So I'm thinking this might have something to do with electron.

I was also checking my package change history and found some changes that occurred around the time atom started segfaulting:
Package changes:
    -bsdutils 1:2.29-1ubuntu2 amd64
    +bsdutils 1:2.29-1ubuntu2.1 amd64
    -google-chrome-stable 59.0.3071.109-1 amd64
    +google-chrome-stable 59.0.3071.115-1 amd64
    -libblkid1 2.29-1ubuntu2 amd64
    +libblkid1 2.29-1ubuntu2.1 amd64
    -libfdisk1 2.29-1ubuntu2 amd64
    +libfdisk1 2.29-1ubuntu2.1 amd64
    -libmount1 2.29-1ubuntu2 amd64
    +libmount1 2.29-1ubuntu2.1 amd64
    -libsmartcols1 2.29-1ubuntu2 amd64
    +libsmartcols1 2.29-1ubuntu2.1 amd64
    -libuuid1 2.29-1ubuntu2 amd64
    +libuuid1 2.29-1ubuntu2.1 amd64
    -linux-generic <IP_ADDRESS>.26 amd64
    +linux-generic <IP_ADDRESS>.28 amd64
    -linux-headers-generic <IP_ADDRESS>.26 amd64
    +linux-headers-4.10.0-26 4.10.0-26.30 all
    +linux-headers-4.10.0-26-generic 4.10.0-26.30 amd64
    +linux-headers-generic <IP_ADDRESS>.28 amd64
    +linux-image-4.10.0-26-generic 4.10.0-26.30 amd64
    -linux-image-generic <IP_ADDRESS>.26 amd64
    -linux-libc-dev 4.10.0-24.28 amd64
    -linux-signed-generic <IP_ADDRESS>.26 amd64
    +linux-image-extra-4.10.0-26-generic 4.10.0-26.30 amd64
    +linux-image-generic <IP_ADDRESS>.28 amd64
    +linux-libc-dev 4.10.0-26.30 amd64
    +linux-signed-generic <IP_ADDRESS>.28 amd64
    -linux-signed-image-generic <IP_ADDRESS>.26 amd64
    +linux-signed-image-4.10.0-26-generic 4.10.0-26.30 amd64
    +linux-signed-image-generic <IP_ADDRESS>.28 amd64
    -mount 2.29-1ubuntu2 amd64
    +mount 2.29-1ubuntu2.1 amd64
    -nplan 0.20 amd64
    +nplan 0.23~17.04.1 amd64
    -util-linux 2.29-1ubuntu2 amd64
    -uuid-runtime 2.29-1ubuntu2 amd64
    +util-linux 2.29-1ubuntu2.1 amd64
    +uuid-runtime 2.29-1ubuntu2.1 amd64

And although I installed kernel <IP_ADDRESS>, but I'm actually running <IP_ADDRESS> right now (which was the last kernel I was using when atom was working).

Another bit of info:
I can get both electron and atom to run over an ssh -Y connection from my Mac.  Maybe this is a deeper problem with gtk on my Linux box?  At this point I highly doubt the problem lies within atom...

@jdknox Thanks for following up with this information, and sorry we weren't able to help you. I don't have any experience running electron with gtk. I'm going to close this out, since I don't think this is something the Atom team is going to take action on.
If you open an issue on https://github.com/electron/electron, that team might be better able to help you.


copy output in python REPL won't work

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: any
OS Version: Ubuntu 23.10

Steps to Reproduce:

Start writing a .py file with #%% for the Interactive feature and execute to get some output in the right pane
Please see https://forum.cursor.sh/t/copy-output-from-an-ipython-right-pane-does-not-work/2952?u=nyck3333

repro steps:

execute something with output in the Interactive window
from the output menu select copy cell output
:bug: output is not copied

I think this happens when the interactive window doesn't have focus. When the interactive window doesn't have focus and you click the 3-dots menu > “copy cell output”, nothing happens. If you move focus to the interactive window and do the same, then “copy cell output” works as expected.


Allow for "pinning" dependencies to better support reproducible builds, i.e. Forc.lock

Similar to cargo's Cargo.lock.
Depends on #798.

Looking at this as a part of #798


Podfile React dependency?

When I install this using cocoapods, I see:
Using React (0.11.0)
This is an old version of React, and the Cocoapod is deprecated https://cocoapods.org/pods/React
The old version appears to cause native build errors (types and function signatures/names have changed).
Should React be removed as a dependency in the .podspec?

It should not be removed, you cannot use cocoapods only for some dependecies and build react the way you used to. When you build react-native using cocoapods, you redirect it to your node_modules so that it takes the correct version. I'll write an article about that since many people are confused !
In the meantime please
remove the line containing react-native-webview from your profile.
Rename your podfile to podfile.tmp
Run react-native link react-native-webview
(It should link it the old way and not inside your profile )
Rename your profile back to normal
Run pod install
Enjoy :tada:

This worked, thanks!


Prompt URLs option does not return and insert URL into editor

Describe the bug
So I'm running into a problem where I cannot seem to get Prompt URLs to work. The prompt appears and allows me to type the URL, but the URL is not returned and inserted into editor. I'm not sure if it is a bug or not. If you enable Prompt URLs, for Links and Images, are the URLs inserted after the prompt is closed? This is what happens for me:
Video: https://d.pr/v/cRpfdV
Expected behavior
URL should be inserted into Link and Image Markdown.

Could not reproduce this on Windows using Chrome 85.0.4183.102.
It looks like you're using Safari with a customized editor. Can you confirm this issue with the default editor and just the promptURLs option turned on?
var easyMDE = new EasyMDE({
    promptURLs: true
});

Also, next time please use the issue template and fill the version information.

Without the custom toolbar it seems to work. What is the trick for making it work properly with a custom toolbar?

const easyMDE = new EasyMDE({
    toolbar: [
        'link',
        {
            name: 'link2',
            action: EasyMDE.drawLink,
            className: 'fa fab fa-link',
            title: 'Custom link',
        }
    ],
    promptURLs: true,
});

Even with a custom toolbar the link prompt works, can you share your editor setup?

Your help pointed me in the direction I needed... I had switched from SimpleMDE over to EasyMDE and still had the following section in my options:
insertTexts: {
    horizontalRule: ["", "\n\n-----\n\n"],
    image: ["![](https://", ")"],
    link: ["[", "](https://)"],
    table: ["", "| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text     | Text      | Text     |\n| Text     | Text      | Text     |\n\n"],

This was overwriting the returned URLs from the Prompts. Thanks for your help.


MRTKFeatureTool doesn't work first time on new project

Describe the bug
The MRTK Feature Tool doesn't seem to work on a fresh unity project on first run. After it validates & applies changes & displays success message, the Unity project remains unchanged and Unity doesn't seem to notice any updates. To make it work I have to run the MRTK Feature Tool again on the same project with the same settings.
To reproduce

Follow the instructions here to create a new Unity project: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-02
After the step of running the MRTK Feature Tool to install the MRTK Framework into the project, switch back to the Unity project and observe that nothing happens. Even if refreshing the project using CTRL+R.
Rerun the tool on the same project and observe that it works properly on the 2nd run.
(During this whole time, the project has remained open in Unity; I don't know what happens if Unity is restarted)

Expected behavior

I expect that as soon as I switch from MRTK Feature Tool back to the Unity project, Unity would start importing the projects.
If there is a problem, I would want the tool to tell me.

Your setup (please complete the following information)

Unity Version 2019.4.19f1
MRTK Version to be installed through the tool: 2.5.1 (I also tried with 2.5.3)
MRTK Feature Tool version 1.0.2102.0 Beta

Target platform (please complete the following information)
UWP

@davidkline-ms Please take a look at this issue - seems to be the same as what people reported on the slack channel.

@julesra. Thank you for the report. I will investigate this for the next tool update.

I have tried to reproduce this on the upcoming version and have not been successful. i tried on Unity 2018.4, 2019.4 and 2020.2.

es

I believe this is now fixed, if that is not the case, please download version 1.0.2103.1-Beta (or later) from https://aka.ms/mrfeaturetool and attach the log file when reopening this issue.


DateTime shows different dates and times between browsers Chrome and Safari

DateTime shows different dates and times between browsers Chrome and Safari
Chrome: 11/17/2018 03:17 AM
results in
Safari: 11/16/2018 07:17

+1


[VL] Enable GlutenParqutRowIndexSuite for Spark 3.4/3.5

What changes were proposed in this pull request?
The PR use to enable GlutenParquetRowIndexSuite.
The suite do below steps to run tests:

Run parquet write api df.write to generate specific parquet test data file with specific option as block size, page size, etc.
Check if the generated parquet data file meets the requirements as the block size is expected or not.
If the generated parquet files are ok for use, then run all row index generation xx and invalid row index type xxx uts.

However, gluten parquet native write currenrly only does not support customize the block_size, page_size, that means
the generated parquet file would always has hard-code row group number / page size per file which causes the tests run fail in parquet file generation stage.
Checking here for the default block_size, page_size use in velox parquet write.
https://github.com/facebookincubator/velox/blob/b29d93374d8e75a595c85550428eb008a371d456/velox/dwio/parquet/writer/Writer.h#L90C3-L102C74
https://github.com/facebookincubator/velox/blob/main/velox/dwio/parquet/writer/Writer.cpp#L420C3-L420C52
The PR re-write the suite to disable the native write to always generate the test parquet file content with vinaila spark and some addition check to fix the uts.
(Fixes: #5309)
How was this patch tested?
manually test / local run
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@yma11 / @FelixYBW / @zhouyuan

CC @JkSelf

add @zhli1142015

@zhli1142015 could you help merge ?

@JkSelf / @zhli1142015 could you help check if can merge this change ?

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5740_time.csv
log/native_master_05_13_2024_33f993554_time.csv
difference
percentage

q1
33.56
36.42
2.857
108.51%

q2
25.71
23.70
-2.013
92.17%

q3
36.82
36.61
-0.213
99.42%

q4
37.80
37.83
0.028
100.07%

q5
70.10
70.62
0.514
100.73%

q6
7.40
7.47
0.065
100.87%

q7
83.29
85.08
1.786
102.14%

q8
86.58
84.30
-2.275
97.37%

q9
122.53
121.00
-1.525
98.76%

q10
43.36
45.37
2.003
104.62%

q11
22.19
19.49
-2.704
87.82%

q12
25.90
26.52
0.623
102.41%

q13
54.15
55.08
0.925
101.71%

q14
17.35
21.53
4.180
124.09%

q15
31.79
29.02
-2.774
91.28%

q16
13.75
14.00
0.252
101.83%

q17
103.22
103.62
0.403
100.39%

q18
144.07
146.24
2.170
101.51%

q19
13.37
13.35
-0.021
99.84%

q20
26.61
29.06
2.449
109.20%

q21
288.12
282.54
-5.572
98.07%

q22
14.58
14.61
0.030
100.20%

total
1302.26
1303.44
1.188
100.09%


Merge nmirror to master

Please rebase against latest master to pick up the fix for CI deleting CoreCLR's tests zip

@dotnet-bot test this please


there are any parameters to set the evaluation to use certain model?

Hi Alex
First of all, it is a really good job  for saving money, thank you
I have run the training and log-analysis smoothly, but when I run evaluation ./start.sh, I got a poor      results in the gazebo, the car can not follow the track. I want to know there are any parameters to set the evaluation to use certain model?  for example  'model_24.pb' or 'model_25.pb' in the folder '/bucket/rl-deepracer-pretrained/model'
now,my operations 1.  after training ,I execute ‘set last run to pretrained.sh’  2. set the pretrained model in file 'rl_deepracer_coach_robomaker.py',   then to execute the evaluation start     these operations are eight?
thanks

further more， I find that after steps 1. ‘set last run to pretrained.sh， 2  'delete last run.sh'  3, set using the pretrained model in file 'rl_deepracer_coach_robomaker.py'
4. I go back to start the training again, the car in the gazebo doesn't move, the training doesn't start , the GPU fan is quiet,   anything wrong with my operations?  thank you

I comment the lines to close pretrained model in file 'rl_deepracer_coach_robomaker.py', the training start, the GPU fan buzz happily

are there any errors in the container outputs/logs?

it seems no special errors output. and now it works well most time after updating the model_metadata.json to set a bigger speed.
but still get a strange result sometimes when evaluation ,eg. the car goes far away from the track  ,but no reset,  special the last try in evaluation, it seems that the program is doing other 'saving' things and lost  the control of the car.
one question above,  if there are several db model, which one will be use when evaluation or training?
eg.  there are  model_23.pb, model_24.pb,model_25.pb, model_26.pb?  I note that there will lastest several checkpoints in the  pretrained folder
thanks

I note that when the checkpoint saving each 20 episode, the car will lost control, and go out of track without reseting.  the saving is done, car recover and reset.  seems no impact on the training.


Add Transition to the Cards, Improve the Footer Section, Change the layout of home, about and services and add Team section with them.

Create another issue and tag mentors on discord


Change Request: Error Taxonomy for General Guidelines

Java and Python error taxonomies are fairly similar. On the TypeScript side, I am willing to adopt a similar error taxonomy (while JS folks don't have much rigor around exceptions and exception hierarchies, worst case seems to be they just ignore it). Given we are so close to alignment across languages, maybe we can see if we can have a general guideline around which error classes we have.
I don't think we can agree on names necessarily, and inheritance isn't a thing in all languages, but it still seems good to align on the error classes.

BOARD DECISION:
We agree that we should have a standardized error taxonomy, but we need to understand how to do this in each language (particularly the hierarchy).  @johanste, @schaabs, and @bterlson will meet to discuss.

BOARD DECISION: This is closed now.


Create Fluidity.scala

could you stop? You were told clearly that lichess does not need more variants: https://github.com/lichess-org/lila/issues/11057


feat: funds distribution

Motivation
Distribution of data request escrow funds.
Explanation of Changes

Iterate over provided data request ids in removal.
Iterate over each message for the data request.

It emits events for each message
It moves appropriate funds

If funds are leftover uses the refund, and refund message.

The reason there is a refund_type is so for events if we are doing a full refund we can give a reason. But most times it will be remainder payback if it exists.

Removes the Escrow from the map.

Testing

Test util changes better track executor funds.
Test that messages work and funds update as expected

Related PRs and Issues

Waiting for https://github.com/sedaprotocol/seda-common-rs/pull/34 to be merged so we can update common to main.
Closes #243

With our current design this won't work since we don't register a SEDA address for an executor node.
I think we should differentiate between data proxy payouts and executor payouts. Data proxy is a simple bank transfer, but an executor payout is an internal accounting change on the contract with the funds staying on the contract. We discussed having moving the funds to the identities' staking pool, and anything that exceeds the minimum_to_stake amount goes straight to the to_withdraw pool. Given that we're starting with an allowlisted pool of executors we could opt to simplify this and always move it to one of them.

Oh I totally forgot about that it's been so long since we talked about it.
So need to add another DistributionMessage that is a executor reward that takes the identity and moves it to their staking pool up to the minimum amount to stake. The rest gets point into a new RewardEscrow the identity could withdraw from? So I need to add a new execute method to withdraw from that, and probably a query function to view your reward escrow?

Right now an executor has stake and funds_ready_to_withdraw or something similar. I guess we can use those two fields for now and don't bother with a unstaking period.


Bluetooth: samples: Switch to one-time adv

This patch removes all uses of the adv auto-resume feature in the Bluetooth samples. The auto-resume feature is planned for deprecation.
Samples that are not intended to demonstrate a technique to do with re-connection simply do not restart the advertiser, in interest of simplicity. The user is expected to reboot the sample when needed.

@alwa-nordic did you consider modifying at least one of the samples to restart advertising?
That could serve as a mini-guide on how to migrate user applications to automatically restart advertising. I fear that most will just attempt to restart advertising in the disconnected callback, which wouldn't be the proper way of doing it

@Thalley it exists
https://github.com/zephyrproject-rtos/zephyr/blob/64de50f05235e5e681810510edbf8694e2b6a482/samples/bluetooth/extended_adv/README.rst?plain=1#L12-L12


feat: stable diffusion integration

Resolves #696

[!important]
AUTOMATIC1111/stable-diffusion-webui should be run using sh webui.sh --api command with --api flag.

Changes

Advanced section has been removed and relocated to General.
Ollama API URL Settings and OpenAI External Setting have been moved to Connections section.

This is amazing, I need to take a deeper dive to see just how you pulled this off, and get the documenting process going 😝 Same for the config.json feature.

So it took me a minute to figure out this flow: first you need to have a text model (doesn't matter which one) generate you a prompt, and then you can turn that response into an image:

What is a good way to generate the prompt?

Thank-you this is really good.


add HTTP Status code lookup class

Taking a shot at adding this feature https://github.com/martenframework/marten/issues/120 using the mapping from https://crystal-lang.org/api/1.9.2/HTTP/Status.html

FWIW this feature isn't really needed. Just type the status parameter as HTTP::Status | Int32 = :ok and call it a day:
require "http/status"

def respond(status : HTTP::Status | Int32 = :ok)
  pp HTTP::Status.new status
end

respond HTTP::Status::BAD_REQUEST # => HTTP::Status::BAD_REQUEST
respond 404.                      # => HTTP::Status::NOT_FOUND
respond :im_a_teapot.             # => HTTP::Status::IM_A_TEAPOT

@Blacksmoke16 Thanks a lot for the suggestion! 🙏 This is simpler indeed, definitely the way to go!
@kates could we simplify the PR as suggested by @Blacksmoke16? That way, by using HTTP::Status in the type restrictions for the status parameter, we wouldn't need to define a Marten::HTTP::Status module at all.

Thanks @ellmetha @Blacksmoke16


caffe模型转换MDL时，data需要什么格式？

如题，
copy your model.prototxt and model.caffemodel to this path
also need the input data
./caffe2mdl model.prototxt model.caffemodel data
data是标注还是图像？
谢谢。

the data is an array of color value preprocessed according the model's transform params,such as scale or  the mean value, the color value in order of rgb


Issue using REGRID_METHOD_CONSERVE_HFLUX reading c180 GEOS-IT data

I am using MAPL 2.26.0 to run GCHP at C24 with GEOS-IT meteorology. I am encountering an error in MAPL that occurs on a C180 input file during MAPL_ExtDataPrefetch. MAPL is searching for a prototype to make a new regridder for the file and is not able to find one.
pe=00009 FAIL at line=00147    NewRegridderManager.F90                  <no such property>
pe=00009 FAIL at line=00092    NewRegridderManager.F90                  <status=1>
pe=00009 FAIL at line=01011    GriddedIO.F90                            <status=1>
pe=00009 FAIL at line=04705    ExtDataGridCompMod.F90                   <status=1>
pe=00009 FAIL at line=01490    ExtDataGridCompMod.F90                   <status=1>
pe=00009 FAIL at line=01807    MAPL_Generic.F90                         <status=1>
pe=00009 FAIL at line=01337    MAPL_CapGridComp.F90                     <status=1>
pe=00009 FAIL at line=01300    MAPL_CapGridComp.F90                     <status=1>
pe=00009 FAIL at line=01260    MAPL_CapGridComp.F90                     <status=1>
pe=00009 FAIL at line=00837    MAPL_CapGridComp.F90                     <status=1>
pe=00009 FAIL at line=00977    MAPL_CapGridComp.F90                     <status=1>
pe=00009 FAIL at line=00301    MAPL_Cap.F90                             <status=1>
pe=00009 FAIL at line=00258    MAPL_Cap.F90                             <status=1>
pe=00009 FAIL at line=00192    MAPL_Cap.F90                             <status=1>
pe=00009 FAIL at line=00169    MAPL_Cap.F90                             <status=1>
pe=00009 FAIL at line=00031    GCHPctm.F90                              <status=1>

The file is a GEOS-IT C180 file:
/home/dao_ops/d5294_geosit_jan18/run/.../archive/diag/Y2019/M07/d5294_geosit_jan18.ctm_tavg_1hr_glo_C180x180x6_v72.2019-07-01T0030Z.nc4
The regrid method is 'H', which corresponds to REGRID_METHOD_CONSERVE_HFLUX.
I am using ExtData and not ExtData2G.
Any ideas on what the problem is? I am digging through the traceback now but welcome any thoughts.

I've assigned @bena-nasa because he is the expert here!

Thanks @bena-nasa. My ExtData.rc entry is this:
MFXC;MFYC Pa_m+2_s-1    N H F0;003000 none  0.6666666 MFXC;MFYC  ./MetDir/Y%y4/M%m2/d5294_geosit_jan18.ctm_tavg_1hr_glo_C180x180x6_v72.%y4-%m2-%d2T%h2%n2Z.nc4 2017-01-01T00:30:00P01:00
CXC;CYC   1             N H F0;003000 none  none      CX;CY      ./MetDir/Y%y4/M%m2/d5294_geosit_jan18.ctm_tavg_1hr_glo_C180x180x6_v72.%y4-%m2-%d2T%h2%n2Z.nc4 2017-01-01T00:30:00P01:00

@lizziel
I just pulled and built v2.26.0 of MAPL, and ingested those same GESO-IT files via this ExtData.rc file
Ext_AllowExtrap: .true.
Prefetch: .true.

PrimaryExports%%
MFXC;MFYC NA N H F0;003000 none none MFXC;MFYC d5294_geosit_jan18.ctm_tavg_1hr_glo_C180x180x6_v72.%y4-%m2-%d2T%h2%n2Z.nc4 2017-01-01T00:30:00P01:00
%%

If I run my driver at something that is exactly divisible by 180, like c90 it works, but if I run at c24, c48, etc it fails. I think the problem is that c24, so 24 is no divisible by 180 and it can't generate the flux regridder for that case.
@tclune wrote all this so he might have something more to say. Probably could use a more descriptive error I agree.

Aha! Now that you mention it I recall @LiamBindle mentioning this limitation when he ran using GEOS-FP mass fluxes. Thanks!
@tclune, this isn't a huge problem for us, but is good to know. Maybe it should be added as a comment somewhere?

And maybe the error handling could be expanded to give a message about why it is failing.

The HorizontalFluxRegridder is known to be incorrect at this time.  There is a branch awaiting testing by Seb (been there for a while now.)

We can add a somewhat better error message, but it will still be rather vague, as there is no way to blame any particular regridder for failing to work.   All that we can do is state more clearly with:

_FAIL('No regridder prototypes support the requested spec')

(Should go just before the _RETURN(...) which will then be redundant and could be removed.

The Flux regridder should have satisfied the use case if I understand correctly.    The only requirement is that the output grid be coarser by an integer factor:
https://github.com/GEOS-ESM/MAPL/blob/a78c1ce521f94a33c77df67da37cd33db1b4c895/base/HorizontalFluxRegridder.F90#L56

@sdeastham, is the branch that needs testing on your radar? I wonder if I should stick to winds until the flux regridder issues are sorted.
I'll update the GCHP docs to warn users about the limitation and what error message (or traceback) to look out for.
It failed for my use cases because ran at c24 and c48, both not coarser by an integer factor of c180. Those resolutions are fine with with GEOS-FP mass fluxes which are c720, but GEOS-IT is more limiting at c180.

@lizziel - it's on my radar. I wouldn't wait, to be honest; the tests I've been performing have so far been with the "buggier" flux regridder, but it's still a vast improvement over using winds (errors in absolute surface pressure change at each time step fall by a factor of five at C30).

@lizziel The branch in question does not change the divisibility requirement.    Seb and I were unable to come up with a generalization, and you're probably better off using an ordinary regridding method for non-divisible cases.

Okay, sounds good. Strangely I am still getting the same error in a c90 run. I briefly am switching to winds just so I can diagnose and fix the other ExtData data issues (missing files on discover, etc) and then will swing back to getting mass flux regridding working.

I'll long term this until @tclune can look at the last message from @lizziel

I think this issue can be closed by https://github.com/GEOS-ESM/MAPL/pull/2056 once it is merged. @tclune mentioned in the PR that he added logic to do a better job giving a helpful message for this issue. However, I don't see the update for it there so I am not sure if it is pushed yet.

@tclune mentioned in the PR that he added logic to do a better job giving a helpful message for this issue. However, I don't see the update for it there so I am not sure if it is pushed yet.

I remember saying that.  But don't remember doing it.     If I said it in the past tense, then presumably I did ...

This and the previous branch have this:
https://github.com/GEOS-ESM/MAPL/blob/7dc923462e76a4f595f46286ab4b27ba5e6c3588/base/MAPL_RegridderManager.F90#L159-L160
It would be better as an _ASSERT but appears to capture the essence of what I was saying.   So the question becomes, what error message were you seeing @lizziel

I wonder if I put the fix in the wrong branch.   "2nd try" branch has this:
https://github.com/GEOS-ESM/MAPL/blob/144f46f199a8fa6028b08587b8cee0447de0469c/base/HorizontalFluxRegridder.F90#L62-L63
While 3rd try just returns at that point.   I'll copy the line over.

@lizziel I'm hoping to test #2056 tomorrow. It should be (trivally) zero-diff since I don't even know how to trigger this :)


Update handling of invalid values for non-compulsary fields

Fix hidden exception throwing for invalid dateTime
Change the handling of invalid values in by Parser

Other than this nit, everything else LGTM

LGTM, this addresses the issue of the DateTime not raising an error yeah?

Yes this fixes the issue where an invalid date time does not throw an error appropriately to the user.


Fix GitHub Actions

We should fix the GHA so that we can automatically build images and deploy changes using that.

This would help me not be distressed every time I see the ❌ on master haha


CAMEL-19006: parse templatedRoutes without XML namespace

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I formatted the code using mvn -Pformat,fastinstall install && mvn -Psourcecheck

There is a merge conflict, can you try to resolve this.
After these 2 PRs we need to backport to 3.x and 3.20.x


Document best practices when dealing with backend connection

E.g. connections to a database.

My current idea/prototype is using a single thread-safe/sync actor to handle the connection to the backend/database and relay requests to it using an ActorRef.


lines filter not working

Trying to filter lines and direction and it doesn't seem to work. I get all lines from site/location and all directions.

Can confirm this; due to holiday I cannot fix until mid august but will prioritize if no-one else have the time. =)

I'm guessing I'll have to wait, no programmer.
looked in sensor.py, but it's way over my "GOTO 10" knowledge.
Made a quick unclutering fix in lsapi/const.py by appending '&bus=false' to the ri4 api call.

Is the filtering done locally on data arrival, or in the query? Would make sense to filter locally cached results, e.g. in status-card.js
RP3 has lines and not lineNumber.
Only SI2 has lineNumber in the query. All the other endpoints must filter on results.
https://github.com/hasl-sensor/integration/blob/3c2ef451a1aae75fea6c3605c3a0b527f3339a5a/custom_components/hasl3/slapi/const.py#L1-L19

Another point: I cannot actually delete the only line from the lines field when only one is there.

I ran into the same issues and looked into a solution, I have not tested this in the integration but rather mocked out the minimal amount of data needed to add filtering. The solution is based on the assumption that the departures attribute in HASLDepartureSensor returned here (line 465) is a list of dictionaries on the form:
{'departure': '13 min',
  'destination': 'Fruängen',
  'direction': 1,
  'expected': '2021-09-05T12:18:02',
  'groupofline': '',
  'icon': 'mdi:bus',
  'line': '704',
  'time': 13,
  'type': 'Buses'}

The solution I've made adds two filter functions which use CONF_DIRECTION (assumed to be one of 0, 1, 2) and CONF_LINES (assumed to be a list of strings like ['704', ...]).
The filter functions to add are very simple:
def direction_filter(departure):
    if direction == 0:
        return True  # Include, we don't filter on direction
    return departure["direction"] == direction

def line_filter(departure):
    if lines == []:
        return True # Include, we don't filter on lines
    return departure["line"] in lines

All that remains is then to apply the filters to the data which can be done around here (lines 459-462) like this:
departures = self._sensordata["data"]
direction_filtered = departures if direction == 0 else list(filter(direction_filter, departures]))
lines_filtered = direction_filtered if lines == [] else list(filter(line_filter, direction_filtered))

val['departures'] = lines_filtered # Replace current assignment with this one


SeedCracker not working on a realm

Hi, I tried using SeedCracker on a realm, but it does not seem to be working. Is there a possible bypass for this? I collected over 8000 bits and went in the end, tried this twice but it never finds a seed, saying "finished search with no results".

Where you have the 1.17 version from?

Where you have the 1.17 version from?

I compiled it from this repository.

I tried that but i cant work out how to do that, could you send me that version?

I tried that but i cant work out how to do that, could you send me that version?

seedcracker-0.2.3-beta.zip

On a normal Multiplayer Server it seems to work fine

On a normal Multiplayer Server it seems to work fine
Edit: Trying it with the pillar seed doesnt give me a result, collection bits by walking through the overworld does work for me.

I collected over 9000 bits, but the search doesn't start unless I enter the end.

On a normal Multiplayer Server it seems to work fine
Edit: Trying it with the pillar seed doesnt give me a result, collection bits by walking through the overworld does work for me.

I collected over 9000 bits, but the search doesn't start unless I enter the end.

I have the same problem. I collected 47000 bits until mc was crushed.


Instructions on how to build the xcframework?

Appreciate your work on this. Would be great if you could include the instructions or project you used to generate the xcframework in the first place. This would help mitigate any security concerns.
Thanks!

Hi, there's nothing hidden here - the whole workflow is in this file: https://github.com/sjavora/swift-syntax-xcframeworks/blob/main/.github/bootstrap.sh

Hi, there's nothing hidden here - the whole workflow is in this file: https://github.com/sjavora/swift-syntax-xcframeworks/blob/main/.github/bootstrap.sh

Thanks, didn't see that file while looking around!


[FLINK-8258] [table] Enable query configuration for batch queries

What is the purpose of the change
This PR enables the query configuration for queries in batch table environment.
Brief change log

Adds a BatchQueryConfig parameter to DataSetRel.translateToPlan() and adjusts the corresponding subclasses.
Adds new toDataset() methods with BatchQueryConfig to BatchTableEnvironment.
Updates the TableConversions.scala.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Hi @twalthr, I wonder if you could help review this PR when you are convenient.
Thanks, Xingcan


fix(logo-grid): align to non-gutter grid

Related Ticket(s)
#4970
Description
Aligning the Web Components Logo Grid In Storybook to non-gutter grid.
Changelog
New

{{new thing}}

Changed

changed Web Component Logo Grid Storybook to align with CSS grid

Hey @IgnacioBecerra ! I'm seeing the images and the text slightly off the non-gutter column

LGTM! Thanks @IgnacioBecerra

oops sorry andy is right! I was looking at the wrong link

@IgnacioBecerra Thank you for working on this; And @andysherman2121 is right, the component code needs to be updated, to use bx--content-layout CSS class similar to <dds-content-block-simple>.

Thanks for the comments everyone, using a CSS class similar to bx--content-layout, LogoGrid is now within the non-gutter columns.

Code-wise it looks good to me, unless logo grid uses
. Wanted to have @ariellalgilmore and @andysherman2121 chime in on the final styles. Thanks @IgnacioBecerra!

Code-wise it looks good to me, unless logo grid uses
. Wanted to have @ariellalgilmore and @andysherman2121 chime in on the final styles. Thanks @IgnacioBecerra!

Looks like the cta is suppose to overhang in the gutters so I think we should add
. Also, wondering if a new issue needs to be made for the react storybook as it looks off:

After confirming with @ariellalgilmore, seems like the CTA is properly aligned with the current changes.
Will be opening another PR to address the React misalignment specifically.


FIX verification http request contains enum name

fixes #57

@SebastianKlaiber, please point your PR to dev branch.


sites with model, test, doco, and additions to classic_api.py

I have taken some care.and checked it all. I hope the additions to classic_api.py are correct.

OK, that typo was fixed.

This PR needs to be updated with the latest changes from main.


RQ: Send type-hinted query parameters for raw queries (Postgres)

Overview
(internal notion doc) https://www.notion.so/prismaio/Query-Raw-issues-dfffba5865e94b23adc02a8a4e478526#1b397921587e412e873414f849834f1d

Closed by https://github.com/prisma/prisma-engines/pull/2864


minSDK version changed to 16?

My application's minSDK version is 15. Your library was working perfectly until yesterday. After last commit I cannot build my application because of the minSDK issue.
At Your library's manifest file it says minSdkVersion="9" but your gradle, it says minSdkVersion="16".
Please fix this. I cannot use minSdkVersion="16" in my app. If you not, I will use another library.

Solved it by using this :
dependencies { compile 'it.sephiroth.android.library.imagezoom:imagezoom:2.2.3-SNAPSHOT' }

Use version 2.2.4. It's compatible with a api >= 14


Render output expression between $$ $$ as TeX

Dear developers,
The output delivered by the standard Jupyter interface and VS code is different when the output expression is between $$ $$. Please see image attached. I think the behaviour should be the same. BTW, the kernel is Wolfram.

VS Code core handles rendering of latex in output.

But… is it solvable in the VS Code side?

I'm closing this as by-design. Two reasons:
The output mimetype in this case seems to be text/html. We don't render math markup inside html (which maybe other notebook editors do, but that seems like a very strange thing to do to me)
Furthermore, the output is then encoded in a form that we would not recognize even if you were to write it in markdown (again it seems very weird to me that you'd want to run a math pass after decoding the output but 🤷 )
If someone can explain why these design decisions make sense or if there's enough feedback on this, we can revisit it in the future

Ok, thanks for taking my concern into account. Anything I could tell the Wolfram Jupyter team so that their output is more VS code compatible? Could you please tell me what should I tell them specifically? Thanks in advance.

Again I don't know if there's a standard for this but my suggestion from the outside are:

Don't encode the output unnecessarily (and specifically don't encode characters that have meaning in the markup that is to be rendered)

Use text/markdown as the output mime type if the output contains math markup. Markdown also allows embedded html if you need to go beyond standard markdown+math syntax


Move delete-button from admin view of patch

The delete button is placed in such a way that it could be mistaken for a save button.
UE-stuff, should be an easy fix. Move the button to the top-left-/right of the page.

It has a confirm question when clicked