No Collection is appearing on the JDA site.

The collection page is not loading any collections.  No collection is appearing the top page.

@corinnecurcie @horak
can you guys take a quick look to see what the problem is?

@meeshmon, @corinnecurcie I'm 500 on network requests and getting :
"Solr HTTP error: HTTP request failed"
Unfortunately restarting solr doesn't fix the problem. Still investigating.

Getting this guy

This is odd. Collections were working fine on Friday! Normally we fixed this by simply restarting/reindexing Solr. That is usually pretty easy. Is the problem here that we cannot even restart Solr?

Oh, okay, I see. Somehow the SolrCores are not being recognized. So either you would need to create the cores, or change the  part of the solr.xml file located at the root of where your Solr index is running, so that Solr can recognize the cores.
Some more info is here: http://wiki.apache.org/solr/CoreAdmin

Thanks @nickkapur, so using that resource I tried creating the cores using
http://localhost:8080/solr/admin/cores?action=CREATE&name=zeega&instanceDir=zeega

but that just gives me the same problem:
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
</lst>
<str name="defaultCoreName">zeega</str>
<lst name="initFailures">
<str name="zeega">
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error Instantiating Update Handler, solr.DirectUpdateHandler2 failed to instantiate org.apache.solr.update.UpdateHandler
</str>
</lst>
<lst name="status"/>
</response>

I don't know where else I'd point instanceDir towards, it seems to be pointing to the right place. I think the problem rests with the updateHandler. I think the solr instance just crashed somewhere in executing this update and is unable to restart because of the same problem. I removed the entire updateHandler class="solr.DirectUpdateHandler2" and the solr core is back up and running but that certainly isn't a permanent fix. What makes this strange is that the updateHandler is implemented in the most vanila way possible which to me points to some more insidious problem. Any ideas?

Yikes. This seems a bit crazier than anything we had to deal with before. That said, Solr was always crapping out on us and needing to be reindexed at random times, even when we hadn't pushed any updates in weeks or months, so I have a very poor and very lasting impressing of Solr and its instability.

Hey all,
Sorry for my lack of responses. I will take a look at this tonight after work!

On Sep 2, 2015, at 9:23 AM, nickkapur<EMAIL_ADDRESS>wrote:
Yikes. This seems a bit crazier than anything we had to deal with before. That said, Solr was always crapping out on us and needing to be reindexed at random times, even when we hadn't pushed any updates in weeks or months, so I have a very poor and very lasting impressing of Solr and its instability.
―
Reply to this email directly or view it on GitHub.

Just for the record:
Dear Alex,
Thank you for working to fix the problem.
It seems the JDA site was working a little while ago (9.2.15 around 11:00 am), but the total search item number was missing about 18,689 items.
Recently made collections were not appearing on the collection page.
The Headline (user 426) and RIJS (user 1) items were missing about 18,677 items from the JDA search.  I could not search for all of the missing items because things are not loading again.
If you could look into the problem again, I'd appreciate it very much.
Best,
Koko

Ok got it back up but definitely needs to be re-indexed, which i'm doing now.

@jdaKoko can you tell me where you are getting that total count? I re-indexed a few times but it keeps breaking :/

Right now, the total count of published items on the admin page is 1,479,775.

@horak
FYI
It seems > id1971038 are not appearing on the search.

Still unable to re-index ugh

@corinnecurcie did you have a chance to take a look?

I finally got a re-index to succeed.

Thank you very much!

Unfortunately I'm still seeing lots of errors @jdaKoko, have you checked the total item count? I don't think they're accurate :/

I took a look last night, and it's definitely a more extreme problem than most things we've dealt with before... I wasn't able to figure out much, but I can look again tonight. Have you updated any apache or solr stuff Alex? The last time the database broke this badly was because I was prompted to update one of them upon logging into the production server, and I was naive and thought updating was a good thing, but it broke everything, and I had to go make sure all my schema/config files were in line with the new version before anything would work again, so that might be something to investigate.

On Sep 3, 2015, at 1:06 PM, Alex Horak<EMAIL_ADDRESS>wrote:
Unfortunately I'm still seeing lots of errors @jdaKoko, have you checked the total item count? I don't think they're accurate :/
―
Reply to this email directly or view it on GitHub.

Ok good to know that this is an extreme problem. I mean not good but at least we know this needs a serious attention. Do let us know if you find more about this, and what you think the issue might be. Any input would be helpful to think about where to go from here.

@horak
Total account results in 3 items missing.  Right now (9.4.15 @ 12:06 am) it should be 1480312, but it is 1,480,309.  I cannot trace which ones are missing. The total number changes very frequently because people sumit items every day.

Sorry, the site is down again.

brought it back up earlier today @jdaKoko. @corinnecurcie, I didn't, in fact I hadn't touched a thing in quite a while. Just got @spacemansteve looped in, feel free to ask for any clarification, the above should give you an idea of what's going on though.

As noted at https://github.com/Japan-Digital-Archives/Japan-Digital-Archive, Alex and SpacemanSteve increased Solr's ram from 128mb to 256mb on Sept 18th.  SpacemanSteve had to restart Solr again on Sept 19th.  There has been no incident or problem with it in over two weeks.  If there are no problems soon, I will suggest closing this issue.

Yeah I think we should go ahead and close it. We can reopen if problems arise. I'm really glad that seemed to have done the trick (and very surprised).

Glad to know this is working! :)


Missing dimension properties on create parcel

Please add length, width and height property on create parcel.

Added length, width, height and some other properties for a parcel


[otbn] Condense memory addresses

As discussed in #4285. The first commit is just a tidy-up as we go past. The interesting patch is the second. Here's its commit message:

This should make it a bit easier to fit all the peripherals together
in the memory map. There's still a 64KiB address space for each
memory (they're currently 4KiB in size), so we can grow by a factor of
16 without running out of addresses. If we're slapping down more SRAM
than that, our address map will be the least of our worries!

Force-push updates some verilator waivers for the smoke test (I hadn't deleted it and rebuilt after regenerating the address map)


CMake configure failure with netCDF

Something broke cmake with netCDF
-- NetCDF: looking for required package: HDF5, COMPONENTS: C;HL
CMake Warning (dev) at config/cmake/modules/MfemCmakeUtilities.cmake:450 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable HDF5_ROOT is set to:

    /Users/andrej1/local/hdf5-1.8.21

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  config/cmake/modules/FindNetCDF.cmake:27 (mfem_find_package)
  CMakeLists.txt:301 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found HDF5: hdf5::hdf5-shared (found version "1.8.21") found components: C HL
CMake Error at config/cmake/modules/MfemCmakeUtilities.cmake:525 (message):
   *** HDF5: unknown target. Please set HDF5_TARGET_NAMES.
Call Stack (most recent call first):
  config/cmake/modules/FindNetCDF.cmake:27 (mfem_find_package)
  CMakeLists.txt:301 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/andrej1/repos/mfem/build-debug/CMakeFiles/CMakeOutput.log".
See also "/Users/andrej1/repos/mfem/build-debug/CMakeFiles/CMakeError.log".

I believe @bslazarov may have run into this too.
Could it be due to https://github.com/mfem/mfem/pull/2141?

Can you check the log if the error is related to pthread library?

@tzanio I built https://github.com/mfem/mfem/pull/2141 and netcdf is in my standard configure line so I think that worked.
@bslazarov It is not because of phtread.
It looks like the custom logic in mfem tries to find a "hdf5" target because of the package name but I haven't looked into it carefully.
ping @v-dobrev

On my Mac with homebrew, HDF5 is found as a <list of files>:
-- Found HDF5: <list of files> (found version "1.12.0") found components: C HL

In your case HDF5 is found as a target: hdf5::hdf5-shared -- I guess this comes from a cmake config file from the HDF5 installation you have. You can try to follow the suggestion:
   *** HDF5: unknown target. Please set HDF5_TARGET_NAMES.

Try setting HDF5_TARGET_NAMES to hdf5 or hdf5::hdf5-shared or both.
We can try to make mfem_find_package smarter, so it does not require manual specification of the target name through HDF5_TARGET_NAMES but that will depend on what variables are defined by the cmake config file from your HDF5 installation.

Setting HDF5_TARGET_NAMES results in
-- Imported HDF5[RELEASE]: /Users/andrej1/local/hdf5-1.8.21/lib/libhdf<IP_ADDRESS>.dylib
-- Found NetCDF: /Users/andrej1/local/netcdf-c-4.7.4/lib/libnetcdf.dylib;/Users/andrej1/local/hdf5-1.8.21/lib/libhdf<IP_ADDRESS>.dylib
-- NETCDF_INCLUDE_DIRS=/Users/andrej1/local/netcdf-c-4.7.4/include
CMake Error at config/cmake/modules/FindNetCDF.cmake:34 (list):
  list sub-command INSERT requires at least three arguments.
Call Stack (most recent call first):

The line config/cmake/modules/FindNetCDF.cmake:34 was introduced in #2141 -- it assumes the variable HDF5_C_LIBRARY_hdf5_hl is defined, which is true when using the FindHDF5 module that comes with cmake, I suspect. I'm not sure if there is an equivalent variable when using the HDF5 defined cmake config files. If the imported target is properly defined, this list(INSERT ...) may actually be unnecessary even with static builds.
Can you try just commenting out that line in your case?

Tried that, doesn't work.

The culprit is a cmake build of HDF5 which doesn't correctly export targets, or cmakes own FindHDF5.cmake which is not communicating targets correctly.

We can leave this issue open for now -- as a reminder to add support for HDF5's cmake config files, sometime in the future.
@bslazarov, are you also using hdf5 built with cmake? Or you see a different issue?

No, I am using HDF5 build with petsc. After the recent updates I cannot
compile mfem with netcdf/hdf5 libraries compiled with petsc. However, I
think  that my issue is different from this one.
On Fri, May 14, 2021 at 5:04 PM Veselin Dobrev @.***>
wrote:

We can leave this issue open for now -- as a reminder to add support for
HDF5's cmake config files, sometime in the future.
@bslazarov https://github.com/bslazarov, are you also using hdf5 built
with cmake? Or you see a different issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mfem/mfem/issues/2243#issuecomment-841561952, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVIU3PS3YFVDHYRKUCCAOLTNW3ANANCNFSM443MKX4A
.

Is this issues still outstanding or can we close it now?

Is this issues still outstanding or can we close it now?

See https://github.com/mfem/mfem/issues/2243#issuecomment-841561952 above.

I will check it later today and I will let you know.
On Mon, Aug 2, 2021 at 10:02 AM Veselin Dobrev @.***>
wrote:

Is this issues still outstanding or can we close it now?
See #2243 (comment)
https://github.com/mfem/mfem/issues/2243#issuecomment-841561952 above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mfem/mfem/issues/2243#issuecomment-891183511, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVIU3L3FK64BP35MR75F3TT23FS5ANCNFSM443MKX4A
.

Yes it is still a problematic on my end.
CMake Error at config/cmake/modules/FindNetCDF.cmake:34 (list):
list sub-command INSERT requires at least three arguments.
Call Stack (most recent call first):
CMakeLists.txt:314 (find_package)
It seems that  FindNetCDF utilize paths for HDF5 specified from somewhere outside than the MFEM configuration. I guess that if one provides an example in default.cmake  for these settings, a general user should be able to run the configuration.

@bslazarov, I assume you are specifying explicitly the path to an HDF5 installation which then loads the HDF5 installed cmake files (like hdf5-config.cmake). These are the files that do not work correctly right now.
Can you try setting the option -DHDF5_NO_FIND_PACKAGE_CONFIG_FILE=ON (see https://cmake.org/cmake/help/latest/module/FindHDF5.html)?


Hope to add support for spring cloud starter loadbalancer

希望对nacos-discovery增加loadbalancer的支持。
spring-cloud-starter-alibaba-nacos-discovery - > Hope to add support for spring cloud starter loadbalancer！
3q！

refer #1620


getting NumericMenuItem value in callback

The menu is working nicely, but I can't seem to get the value that has been edited in NumericMenuItem in the callback. get_value() isn't available. If I change the parameter in the callback from MenuItem to NumericMenuItem it actually works, but I don't think this is correct.
Looking at the forums, I see others asking the same question but no answers.

You'll need to cast the value passed in to the callback:
void on_item_selected(MenuItem* p_menu_item)
{
    NumericMenuItem* p_nmi = dynamic_cast<NumericMenuItem*>(p_menu_item);
    Serial.println(p_nmi->get_value());
}

Make sure that the callback really is for a NumericMenuItem, otherwise you'll get a runtime error.

Thank you for the information. However I get a compile error: 'dynamic_cast' not permitted with -fno-rtti
I have searched, but I can't find how you can change this option.

Ah sorry, there's no runtime-type information on the Arduino, so you can't use dynamic_cast. You'll have to do a c-style cast instead:
NumericMenuItem* p_nmi = (NumericMenuItem*) p_menu_item;

That compiles ok. Thank you. I also realised that I know the objects in the callback and can access the objects directly which works as well as they are global on the arduino.
Thank you - you can close the issue.


[<IP_ADDRESS>] DROP SERIES with a regex for the measurement matches every measurement

DROP SERIES FROM /regex/ doesn't throw a parser error, but it also doesn't process the regex correctly, and appears to match every series regardless of the actual regex:
First set up some trivial points:
> select * from /.*/
name: a
-------
time				value
2015-09-29T23:38:05.053831883Z	1

name: aa
--------
time				value
2015-09-29T23:38:16.5497425Z	1

name: b
-------
time				value
2015-09-29T23:38:10.365167564Z	1

name: bb
--------
time				value
2015-09-29T23:38:20.158076911Z	1

name: c
-------
time				value
2015-09-29T23:38:23.318307Z	1

name: cc
--------
time				value
2015-09-29T23:38:24.766492625Z	1

Now drop a particular series:
> drop series from aa
> select * from /aa/
> select * from /.*/
name: a
-------
time				value
2015-09-29T23:38:05.053831883Z	1

name: b
-------
time				value
2015-09-29T23:38:10.365167564Z	1

name: bb
--------
time				value
2015-09-29T23:38:20.158076911Z	1

name: c
-------
time				value
2015-09-29T23:38:23.318307Z	1

name: cc
--------
time				value
2015-09-29T23:38:24.766492625Z	1

So far so good. Now let's drop a regex set of series:
> drop series from /a/
> select * from /.*/
> show series
>

Suddenly every point for every series is gone, even the ones that cannot match /a/.

The DROP SERIES below should not have dropped every point in measurement, but it did.
> SELECT * FROM h2o_feet WHERE location =~ /[xz_]/ AND water_level > 0 LIMIT 4
name: h2o_feet
--------------
time				location	status!				water_level
1970-01-01T00:00:01.439856Z	coyote_creek	between six and nine feet	8.12
1970-01-01T00:00:01.439856Z	santa_monica	below three feet		2.064
1970-01-01T00:00:01.43985636Z	coyote_creek	between six and nine feet	8.005
1970-01-01T00:00:01.43985636Z	santa_monica	below three feet		2.116

> drop series from h2o_feet where "status!" = 'below three feet'
> SELECT * FROM h2o_feet WHERE location =~ /[xz_]/ AND water_level > 0 LIMIT 4
> SELECT * FROM h2o_feet
>

Should be addressed at the same time as https://github.com/influxdb/influxdb/issues/4280

Looked at #4280 and it's unrelated.


The logos of the connections created in a sub organization are missing in the UI

Describe the issue:

The logos of the connections created in a sub-organization are missing  in UI , when trying to set the created connection as sign-in method into an application of a sub-organization

How to reproduce:

1.Login in to the console
2.Create a sub orgnanization
3.Create a application and share it to the sub organization
3. Navigate into the sub organization
4. Create a connection
5. Go to the shared application in the sub org  , and try to set a created a connection as a sign in method
Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Closing this issue as its no longer reproducing


Should "exclude-paths" allow excluding specific files.

What you're trying to do

I am converting a repository that uses release-please into a monorepo. This repository has a root package and I would not like for root configuration to version the package.
https://github.com/launchdarkly/go-server-sdk
{
  "separate-pull-requests": true,
  "include-component-in-tag" : true,
  "packages" : {
    "." : {
      "release-type" : "go",
      "bump-minor-pre-major" : true,
      "versioning" : "default",
      "include-component-in-tag" : false,
      "bootstrap-sha" : "25fcfa1ba34928c6dc6d1ee29f4504b7614fa55c",
      "extra-files" : [
        "internal/version.go"
      ],
      "exclude-paths": ["ldotel"]
    },
    "ldotel" : {
      "release-type" : "go",
      "tag-separator": "/",
      "versioning" : "default",
      "extra-files" : [
        "package_info.go"
      ]
    }
  }
}

What I would like to do is include things like "Makefile" in the "exclude-paths" for the root package.

What code you've already tried

I did try it, and it doesn't work. Paths here specifically effectively means directory.
The reason this doesn't work is because in commit-exclude.ts there is this function:
  private isRelevant(file: string, path: string) {
    return path === ROOT_PROJECT_PATH || file.indexOf(`${path}/`) === 0;
  }

It requires that path appear in the file's path with a /.
Something like:
  private isRelevant(file: string, path: string) {
    return path === ROOT_PROJECT_PATH || file.indexOf(`${path}/`) === 0 || file === path;
  }

Makes it function as expected and I can omit root files from a root package.
The question is, what is the desired behavior here? If it is to allow files, then I can make a PR for it. If not I will work around it by being careful to omit root files from releasable changes.
Thank you,
Ryan

Maybe the best solution should have a new key "excluded-files".
But I think your suggestion offers a good cost-benefit for this to be resolved.
I also have the same problem you reported.

I had the same issue and I'd like to understand why excluded-path is limited to dir only ?
Same as why extra-files is scoped to the current component, it could be useful to update a file in a sibling component.
Finally about the root package, maybe having something like "include-only" could be a good alternative to exclude all I don't want.


Update ci.yml

Add security scans.
https://trello.com/c/cngUG1UA/3572-add-security-scans-to-repos-that-currently-lack-them-3

The commit title provides zero information about the change (because Git already knows which files are involved). If we allow generic commit titles like this, the usefulness of the commit history degrades over time. Could you please change it to, say, "Add security scans" like you've written in the description?
Same for the other PRs.


Changed Enrollment to Enrolment

Changed Enrollment to Enrolment as per Microsoft Style Guide
Before selecting the "Create pull request" button:

Enter a meaningful title above^, using a prefix if necessary and keywords "New" or "Update" indicating the nature of changes.

Describe the summary, scope, and intent of this PR:
Changed Enrollment to Enrolment as per Microsoft Style Guide

Insert links(s) to any related work item(s) or supporting detail:
When the spelling of English words varies by locale, use the US spelling. For example, use license, not licence.
From https://learn.microsoft.com/en-us/style-guide/word-choice/use-us-spelling-avoid-non-english-words

AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Cloud Architecture Content Team (CACT). Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site at least once per (business) day, usually around 10am Pacific.

Additional resources
Learn.Microsoft.Com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/Contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the CACT. Following CACT review, you may receive questions or requests for additional changes. You should have initial feedback from CACT review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers in your PR and someone will get back to you. After CACT review is complete, a CACT #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
Learn.Microsoft.Com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the CACT use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers

Microsoft's writing style prefers "enrollment," so we'll close this PR as correct-as-is.
Thanks for contributing!


Possible to use custom SSL certificate?

Regarding the provisioning of SSL certificates for Amplify apps. I can see the SSL certificate is usually provisioned by AWS Certificate Manager (ACM). ACM allows you to import external certs, but I can't see an option anywhere to choose the cert that is used by the Amplify app.

Currently not supported. We can take this as a feature request.

Custom SSL certificates are definitely a must have. We run an e-commerce app and having a proper certificate is very important, can't use in production without it :(

Would love custom SSL certs in Amplify!

Adjusting settings of the SSL/TLS (like versions) would be great and using AWS Certificate Manager  even better

Hi,
Custom certificates from Certificate Manager (similar to API Gateway) is a must to have, definitively.
Are you working on it? When it will be integrated?

This is on our 2020 roadmap. We'll notify you when we are close to ready.

Is the other way around possible?  Can I use a certificate which AWS Amplify generated for my Application Load Balancer?

Neither can I. Why have ACM if certificates created in Amplify are not visible in it?

Is this still being considered?

You can use s3 bucket website hosting point cloudfront on it that has attached custom certificate.

@swaminator We have a similar (but not directly related issue) where we would like to replace an email-validated ACM certificate with a DNS-validated certificate, however our Amplify Console applications are connected to the email-validated cert with no way to swap out for the newer one.
We want to delete (or let expire, delete preferable) the old email-validated cert but we can't do so until we've migrated our Amplify Console applications to the new cert. It's not clear what exactly would happen if we let the old cert expire - would Amplify Console pick up our other certificate or would it just start failing?

@swaminator - any update on this? we will have to eject from Amplify because we can't pass security requirements without being able to make adjustments to the TLS/SSL versions/cipher suites utilized

+1 - this is starting to be a deal breaker for us. Shame there's been no update from the team. 2020's running out!

👍
Around +25 production sites we could consider migrating to Amplify this year once the custom SSL are delivered.
And at least 30 new ones next year that could be implemented directly on Amplify as well.
@swaminator : Kindly provide some high level visibility if possible on your end, as Amplify could become one of our key pillars for our digital platform next year :)

Same here, just good for quick proof of concept demo apps. Can't go to production without Custom certs support

+100 I have a non-amplify app in the same account that I need to be able to use on a subdomain of the domain managed by amplify . Being unable to access the certificate from cloudfront prevents this, afaict.

Is it common for AWS teams to leave comments with no updates for 1+ years?  What's everyone up to?  People rely on these services and all we get is ridiculous response times

Some brief update would be great as it will help making a migration decision.

@ubaySG / @jnapprogs / @econtentmaps / @winston-dhanraj see https://github.com/aws-amplify/amplify-console/issues/833 - its a duplicate issue where AWS has stated: https://github.com/aws-amplify/amplify-console/issues/833#issuecomment-719079156

This request is about being able to 'see' the Amplify certs created by Amplify from other AWS services, I thought?

no, for example we had 18 amplify apps that we sent AWS and they set the min TLS version to 1.2 for us. it sounds like we should be able to control this through the console in the very near future but at least that helped out a lot until then

+1 on this. I've heard from several developers that they need to support EV certificate for enterprise customers and apparently this is the blocker to adopt Amplify. Let me cc @swaminator to share the use case.

+1

We need to move our apps back to s3 & cdn as well, any updates on this topic, where could we push it?

Any updates in 2021 from your 2020 roadmap?

Anything? Would be nice to see some options on TLS policies or options on SSL certs etc.

+1 .. need to find/download the cert that was created in Amplify when adding custom domain.

Has there been any more updates on this?

look at the number of issues - don't use Amplify

@bryantbiggs "look at the number of issues - don't use Amplify"
I couldn't agree more. Use Pulumi instead and that allows you to just migrate away from AWS products that don't work rather than sit around for years while they get round to things.

Also bumping the issue for our AWS overlords to add this functionality to Amplify.

I am moving away from Amplify. In my case this is a strong deal braker.

I am moving away from Amplify. In my case this is a strong deal braker.

Check out Cloudflare Pages + Workers, unreal performance, no cold painfully slow cold starts

Also considering moving away from Amplify if we don't have an option to use a custom certificate in ACM (or in general). Hoping this is being resolved.

+1

Hello, does aws amplify supports custom ssl or not?

This is on our 2020 roadmap. We'll notify you when we are close to ready.

2022 is coming to end. Any updates? It is very disappointing not able to configure custom SSL certificates in Amplify.

2022 coming to end , any update about this feature

@swaminator any updates on this topic?

any updates on this feature?

anyone looking for this feature in 2023?

Any update on this ?

my team needs this feature also

+10000000000000 and im going to remove my projects from aws amplify to another hosting plan

@hloriana perhaps you can assist us here telling us if (and when) this feature is coming to amplify?.

@hloriana perhaps you can assist us here telling us if (and when) this feature is coming to amplify?.

no one will answer you because aws amplify is dead it didn't have any support or feature updates so convert your project to aws ec2

I have read this thread from starting and hope that this issue has been here for so long that I would definitely get some solution. Any update?

This is a must

+1

+1

+1

darn.. I just got it working only to find I can't use it... it was going so well.

+1

Any updates? :T

+1

+1

Please implement quickly, our company has now mandated 3rd party certificates for wildcard domains!

+1

+1 Still waiting for custom SSL in amplify after Years

Is there some progress for custom SSL?

Hello all, custom ssl feature is now available on AWS Amplify Hosting when using a custom domain. Please see:

documentation: https://docs.aws.amazon.com/amplify/latest/userguide/using-certificates.html
blog post: https://aws.amazon.com/blogs/mobile/custom-ssl-amplify-hosting/

to get started. Thank you!

@ieddu @bgragavendiran @apravato @fyrkantis @dgalor

For those who land here: Amplify now supports SSL certs: https://aws.amazon.com/blogs/mobile/custom-ssl-amplify-hosting/

@d-felton-dewynters @mwarkentin @wbroek @roliverio @spik3s @glynjackson @ClaudioAleksitchKVMT @electronicalias


Feature request: User Column & Container Names on Delete

2 small Ideas:
Show the User you can enter for each Container in the Containers-List (like Published Ports/Ownership)
When deleting a/multiple Container, show the Name of the Container in the Dialog.
Best regards

@tamaskan Thanks for the suggestions. Can you please explain what you mean by the first one in more detail? Thank you!

When creating or editing a container, there is a "user"-field with a "nginx"-placeholder. Having the value of that input in the container-overview-list would be useful for users with many containers ( i think )

Hi @tamaskan - The input for "user", with the "nginx" placeholder does not relate user accounts in Portainer. It's for specifying which user to "be" when executing RUN, CMD, and/or ENTRYPOINT in a Dockerfile. It is the USER command in a Dockerfile: https://docs.docker.com/engine/reference/builder/#user
Your second suggestion about seeing the names of containers that one is deleting in the confirmation dialog is a good idea.

Thanks for the reply. Yes, i know that the user-input is not related to the useraccounts in portainer. It would just be convenient to see it in the overview. If nobody is interested in that, thats fine too :-)


Add brew cask installation instructions

devRantron has just got a cask and is installable with a brew cask install devrantron on macOS machines.
You might want to update installation instructions to reflect that. I wasn't sure which part of the readme file to update as it's a crossplatform app.

@sepehr Thank you! can you please confirm that auto launch during startup works when installed via brew cask?

Yes, it does. In fact, it has nothing to do with the way brew installs casks.
That cask formula there just mimics the user installation by moving the app to the corresponding application directory. However, upon uninstallation, it quits the app, drops the login item and trashes the leftover directories.

@sepehr I had some issues with auto-start when I tried to upload the .deb version in Ubuntu's launchpad. But great to know it works! I will add it on the website https://devrantron.firebaseapp.com soon.


checked in UCWA samples from 2014

This sample code continues to live in either Source Depot or VSTS.  I obtained this code by downloading the zipped samples folder from http://download.microsoft.com/download/3/8/F/38FD50D5-6A12-47D2-A876-A86CD47473D4/UCWA March 2014 Samples.zip.
To update the zip at the download URL, create zip from the skype-docs\skype\ucwa\samples folder, create a new bug and assign to person responsible for putting content in download.microsoft.com.  See bug 1159367 in SBS VSO for details about required bug fixes in the code of this sample.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/UCWA/samples/CHANGELOG.TXT
:white_check_mark:Succeeded

Skype/UCWA/samples/Index.html
:white_check_mark:Succeeded

Skype/UCWA/samples/License Terms.rtf
:white_check_mark:Succeeded

Skype/UCWA/samples/README.txt
:white_check_mark:Succeeded

Skype/UCWA/samples/Styles.css
:white_check_mark:Succeeded

Skype/UCWA/samples/content-template.html
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ajax-loader.gif
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_flat_0_aaaaaa_40x100.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_flat_75_ffffff_40x100.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_glass_55_fbf9ee_1x400.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_glass_65_ffffff_1x400.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_glass_75_dadada_1x400.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_glass_75_e6e6e6_1x400.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_glass_95_fef1ec_1x400.png
:white_check_mark:Succeeded

Skype/UCWA/samples/images/ui-bg_highlight-soft_75_cccccc_1x100.png
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/AnonMeeting.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Authentication.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/AutoDiscovery.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Batch.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Cache.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/CallViaWork.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/ContactSearch.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Contacts.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Events.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/IM.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/MeDashboard.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Meeting.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Mime.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/OperationResource.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/PresenceSub.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/html/Transport.html
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/AdHocSubscription.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/AnonMeeting.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/AuthenticationAddUsage.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/AuthenticationUsage.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/AutoDiscoveryUsage.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/BatchUsage.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/CacheUsage.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/CallViaWork.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/ContactSearch.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/DeleteAdHocSubscription.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/DeleteGroupSubscription.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/EventsUsage.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/ExtendAdHocSubscription.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/ExtendGroupSubscription.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/GetContacts.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/GetNote.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/GetPhoto.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/GetPresence.js
:white_check_mark:Succeeded

Skype/UCWA/samples/samples/javascript/GetSingleContact.js
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


I would like to manage docker outside of this role

As an Admin I would like to be able to manage Docker outside of this role. This will give me the independence with regards to what versions I install and what configurations I place on the Docker Engine.

Best way to do this is setting a simple variable for example install_docker instead of checking manully, for the reasons you brought up, which having 3 different names docker, docker-egine, docker-io will result into a noisy role.


Android video uploading going to waiting state

Hi, every body.
I face an issue but not on all devices. Android Note-3 with 5.0 version having some problem. If I upload a image or video to S3 bucket using Congnito credentails then app goes to waiting state not throw any exception. Please give tips why not upload file to S3. Thanks

Could you provide more details for us?
What is the SDK version? Can you provide a code snippet?
What is the size of the video you're uploading?

Hi,
This is my libs:
compile files('libs/aws-android-sdk-cognito-2.4.5.jar')
compile files('libs/aws-android-sdk-core-2.4.5.jar')
compile files('libs/aws-android-sdk-s3-2.4.5.jar')
and I use the same  UploadActivity,Util from  S3TransferUtilitySample.But when I upload an img,the file goes to waiting state not throw any exception. I click the resume button,not work.The img is 113.60 KB. I have change my COGNITO_POOL_ID,BUCKET_NAME. The COGNITO_POOL_REGION
is "ap-northeast-1".
How to show the log? Not throw any exception...

Thank you for reporting to us. Can you share the logs that are produced in the Android Studio console since the transfer started to the WAITING state? This would help us diagnose the issue. Does this happen with all files or occasionally?

Closing this issue as we don't have the adequate information.


Run helm init -c in release.sh

What this PR does / why we need it:
This fixes an issue with the release script on environments that haven't run helm init before.
Release note:
NONE

/retest


⚠ Roblox has degraded performance

In ee8df7b, Roblox (https://www.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2714 ms

Resolved: Roblox performance has improved in ed0d1b5.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 10557 ms

Resolved: Bofrost.de performance has improved in e34c00e after 27 minutes.


Missing <unordered_map> header; caught by gcc12

Not a bug with our current compiler versions; however, when evaluating gcc 12.2 MRC failed to compile.

@gpucibot merge


Force handler to unmount the diplayed component

Hi,
When calling the same url with only the parameter that changed, my component did update and I can track the new prop in componentWillReceiveProps(): that's ok.
I need to force the component to unmount, then mount when using this same url. Is there anyway to force this behavior?
My use case:
<Router history={ history } onUpdate={ onUpdate }>
      <Route path='desktop/*' components={ Filter } />
</Router>

I want  to be dismounted then mounted when going from /desktop/view1 from /desktop/view2.
PS:
I need to declare 'desktop/*' because my uses of  component is used to link urls I cannot predict ( I only know it begins with "desktop")
Filter read the path location to know what must be displayed and how.
I need my component  to be entirely dismounted then mounted because I triggered actions in the componentDidMount() function from sub components that updates Stores and call ajax request... Using componentWillReceiveProps() beside componentDidMount() in those sub components doesn't assure the component was just mounted from a location path change. It force me to have this kind of implementation inside  sub components:
constructor(props){
    super(props);
    this.componentAlreadyDisplayed = false;
}

callAjax() {
    if (!this.componentAlreadyDisplayed) {
      //Here my ajax call with $.Ajax
    }
    this.componentAlreadyDisplayed=true;
  }

  componentWillReceiveProps(nextProps){
    //if a new Filter is to display
    if(this.hasLocationChanged-)){
      this.componentAlreadyDisplayed=false;
    }
    //I cannot call callAjax() here because sub components are not yet mounted and those sub components initialize data in external Store that impacts the ajax call here.
  }

  componentDidUpdate() {
    //I am sure here sub components did update and have the Store consistent
    this.callAjax();
  }

  componentDidMount() {
    //I am sure here sub components did mount and have the Store consistent
    this.callAjax();
  }

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.

Thank your for the advice. I found out what I need there : http://stackoverflow.com/questions/32961014/how-to-unmount-a-component-on-route-change


Create Zip file for DwCA export option

To test:

Go to somewhere you can do an observation list export (e.g., go to a species list page then click 'Downloads, Reports, Print Labels')
Select 'Darwin Core' and click Download

Expect result: A zip archive that can be successfully loaded into the GBIF data validator (https://www.gbif.org/tools/data-validator) without any modification.
Previous result: A CSV file that had to be combined with a meta.xml file and then bundled into a zip archive.
Changes: Added rubyzip gem.  Refactored ObservationReport:Base to separate out the table export specific stuff (BaseTable) from file export stuff (Base).  BaseTable inherits from Base and CSV now inherits from BaseTable.  Created DarwinCsv which is essentially the same as the old Darwin class.  Introduced ZipReport class which inherits from Base for creating Zip Archives.  Changed the Darwin class to inherit from ZipReport and uses DarwinCsv to build a real DwCA file.  Added a static meta.xml file.  Added a test and fixed up the existing tests.

Very nice! It validates with Issues. zip file attached if it's any use.
dwca.zip
As far as I can see, all the Issues make sense:

Validator detects missing minus side for longitude ("Presumed negated longitude"). Very cool. (And makes me wonder about the possibility of using a DWC export and the validator as a tool for detecting issues in MO Observations/Names.)
Validator is matching at a higher rank ("Taxon match higherrank") when the scientific name isn't (yet) in the GBIF db. It's doing this for prov names; Groups; newer scientific names.
Validator says "Taxon match none" when dwc:specificEpithet is populated with an infrageneric rank. (That's an issue that we've already flagged, and is probably in another ticket.)

Question: I can see only a limited number of records for each Issue. Is there a way to see all of them?)

I looked at the code and it's almost all beyond me without spending a lot more time.
My only question is whether it's possible and would make sense to have a consolidated dictionary that includes:
index, term, label, format_row

Sorry, might not be able to get to this tonight.  Please don't hold
anything up for me.
On Fri, Nov 27, 2020 at 4:51 PM Joseph D. Cohen<EMAIL_ADDRESS>wrote:

I looked at the code and it's almost all beyond me without spending a lot
more time.
My only question is whether it's possible and would make sense to have a
consolidated dictionary that includes:
index, term, label, format_row
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/716#issuecomment-734997260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNKW4NYT4M5XLI46F33SSANNJANCNFSM4UFIFXEA
.

Thanks for the thoughts on this.  I'm going to merge this and my other PR in the morning unless anyone raises a concern between now and then.  Tomorrow I'm hoping to go after the author and taxon files.  Maybe even the media file.  If I'm feeling even more ambitious I might even go after Joe's suggested changes.
I'm not sure what Joe is suggesting with "a consolidated dictionary that includes: index, term, label, format_row".
Once all that is squared away, the next challenge will be creating a dynamic list of observations for export which may require a background job as previously suggested.  I'm debating explicitly marking observations as "appropriate for export" to avoid doing too much thinking about  which observations we want to export.  Then we could go through all the historical observations over time and fine tune the export in various ways.

I meant a constant that defines (i.e. a lookup table), by column:

Dawc column index
Dawc term
csv column label
value of the column [now defined in format_row]

(I thought that by collecting all that info in one place, it would be
easier to keep things in sync and add new columns.)
On Fri, Nov 27, 2020 at 4:55 PM Nathan Wilson<EMAIL_ADDRESS>wrote:

Thanks for the thoughts on this. I'm going to merge this and my other PR
in the morning unless anyone raises a concern between now and then.
Tomorrow I'm hoping to go after the author and taxon files. Maybe even the
media file. If I'm feeling even more ambitious I might even go after Joe's
suggested changes.
I'm not sure what Joe is suggesting with "a consolidated dictionary that
includes: index, term, label, format_row".
Once all that is squared away, the next challenge will be creating a
dynamic list of observations for export which may require a background job
as previously suggested. I'm debating explicitly marking observations as
"appropriate for export" to avoid doing too much thinking about which
observations we want to export. Then we could go through all the historical
observations over time and fine tune the export in various ways.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/716#issuecomment-735021139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFGPMFKILPOT3GKKAFLSSBDBLANCNFSM4UFIFXEA
.

Cleverly done.  Looks good.  I did not test it myself.


Automated cherry pick of #6658: fix: byte size fix

Cherry pick of #6658 on release/3.1.
#6658: fix: byte size fix

Codecov Report

Merging #6660 into release/3.1 will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           release/3.1   #6660   +/-   ##
===========================================
  Coverage         7.48%   7.49%
===========================================
  Files              585     585
  Lines            98953   98946    -7
===========================================
+ Hits              7411    7420    +9
+ Misses           90970   90953   -17
- Partials           572     573    +1

Flag
Coverage Δ

#aFlag
7.49% <0.00%> (+<0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/policy/resources.go
0.00% <ø> (ø)

pkg/cloudprovider/objectstore.go
2.51% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/compute/models/buckets.go
1.24% <0.00%> (ø)

pkg/compute/models/guestdisks.go
0.58% <ø> (+0.01%)
:arrow_up:

pkg/util/rbacutils/policyset.go
75.00% <0.00%> (+9.78%)
:arrow_up:

pkg/util/rbacutils/rbac.go
55.04% <0.00%> (-0.70%)
:arrow_down:

pkg/cloudcommon/cronman/cronman.go
54.85% <0.00%> (+5.33%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d968caa...99eb111. Read the comment docs.


Support ngrok

As a user, I would like to be able to publicly share my development app. It would be nice to run devspace share that would create a ngrok tunnel for the kube proxy forwarding. This is a similar flow to other services such as valet share and lando share.
/kind feature

Are you working with a localhost cluster such as Docker Kubernetes or minikube?

I have a mix. Some clients are dead set on using minikube and sticking with local development, while others prefer the flexibility of using a remote cluster. Clients that use a remote cluster we can jump through some hoops and setup an ingress for them, but this also makes it more of a permanent setup. Keeping development not public by default is preferred.

Makes sense. For the ones using remote clusters, you can suggest the command devspace open which creates ingresses on the fly. For local clusters, we could think about adding a command like you are suggesting. Thanks for suggesting this feature, @chasebolt.
Inlets might be a project that we could integrate for this purpose: https://github.com/inlets/inlets
@FabianKramm: What's your take on this?

Honestly, I forgot about devspace open as I am used to just using devspace dev when developing. Bringing inlets to devspace open would be rad @LukasGentele :+1:

Yes sounds good, but I would rather make this an option in devspace open than a complete new command

Hey folks, if you need help with inlets, feel free to ask

Thanks, @alexellis! Appreciate you reaching out. inlets is a great project and I think it is a nice addition to devspace open (which only creates an ingress on-demand). Integrating inlets directly into devspace is probably not a top priority right now because I think users can leverage commands and hooks in devspace.yaml to run inlets commands as part of their devspace workflows. However, we should definitely add a docs page or a tutorial with ways to use inlets+devspace.

No worries @LukasGentele
If devspace has a built-in terminal, feel free to try it out, it should just work.


[BUG] Pinecone java uses Apache 2.0 license

Please provide as much details as possible, this will help us to deliver a fix as soon as possible.
Thank you!
Describe the bug
Pinecone-java has updated license to Apache 2.0 recently, so please update the pom.xml's description for pinecone integration repo.
Pom.xml: https://github.com/langchain4j/langchain4j/blob/main/langchain4j-pinecone/pom.xml#L18
Pinecone-java license: https://github.com/pinecone-io/pinecone-java-client/blob/main/LICENSE
Log and Stack trace
NA
To Reproduce
NA
Expected behavior
Should say Apache 2.0 license
Please complete the following information:
NA
Additional context
NA

@rohanshah18 thanks for reporting! fixed in https://github.com/langchain4j/langchain4j/pull/409


add keep_alive to generate/chat/embedding api endpoints

This change adds a new keep_alive parameter to /api/generate which can control the duration for how long a model is loaded and left in memory. There are three cases:

if keep_alive is not set, the model will stay loaded for the default value (5 minutes);
if keep_alive is set to a positive duration (e.g. "20m"), it will stay loaded for the duration;
if keep_alive is set to a negative duration (e.g. "-1m"), it will stay loaded indefinitely

If you wish the model to be loaded immediately after generation, you can set it to "0m", or even just 0. Also, maybe most importantly, subsequent calls to the /api/generate will change the load duration, so even if you called it once with a negative value and the next caller omits it, it will still only stay in memory for 5 minutes after the second call.
Note that this change only applies to the /api/generate. We can either layer on the changes for /api/chat on top of this change, or push it as a separate PR.
resolves #1339

This is amazing, very excited for this. My HDD is the main bottleneck when using ollama. (my ssd broke rip)

Very excited with this work. Looking forward to reduce time to first token in my applications.

I should also mention that you can either send a duration like "5s", or also a float value in seconds. Keep in mind that subsequent requests that do not have the keep_alive parameter will revert back to 5 minutes, so you should always pass in the parameter if you want to keep it loaded or unload it immediately.

@pdevine It may be not convenient that any generate request will control / update session duration as it's administrative (write) action, rather than consumption (read) action. This may be a problem from future-proof security standpoint.
Would be nice to have ability to update default session duration in model or server settings.

@dmitrykozlov absolutely, however there are a number of considerations here:

who has access to tell the server to keep the model in memory?
how long should they be able to leave it in memory for?
if it was set by the server instead, what models should be loaded for different durations? what if a user pulls a new model?
what if there are conflicting settings for keeping models loaded?

This change is more of a short term solution. You could imagine a much richer solution w/ role based access control and also control over how/when things are loaded into memory.

@pdevine It looks likes, there is some misunderstanding. Let me describe real use case better:

Ollama server is used to host single model on machine in production environment.
Access to the ollama server is limited by firewall and only another (server) application running (in the same isolated environment) can access it.
Users don't have access to ollama server API directly, only the application have access.

By server settings, I mean ollama service settings. With this solution the application have to send "keep_alive" on each request.

@dmitrykozlov yep, but if the application just sets keep_alive to -1, it will always stay in memory. It's not ideal, but it should work.

i have 0.1.22
I want to use the new keep_alive feature, so I run this in terminal:
curl http://localhost:11434/api/generate -d '{ "model": "tinyllama", "prompt": "Why is the sky blue??", "keep_alive": 0 }'
and I expect it to drop it out of memory as soon as the generation completes. However, it doesnt matter how long I wait, it just stays using the memory. Does anyone know why this might be?
It has been 10 minutes and still this single request is using 1430MiB way after it instantly produced the text
0   N/A  N/A      2260      C   /usr/local/bin/ollama                      1430MiB

This PR doesn't seem to work as outlined on a mac m2 ultra, I see the model get dumped the moment is done in all cases.

This doesn't work. I'm using Dify, which calls Ollama endpoint, and does not provide the keep_alive field.
I want to set it as parameter. Even if I add keep_alive: -1, it will be unloaded when Dify starts making calls. Which is completely broken behaviour. How do I keep it loaded without that ? It's a server I should be able to have a parameter in a config file and have it be kept.
Running a curl command every minute doesn't work either as it doesn't recognize it as being the same mode being used (Dify probably adds some parameter, which I don't know, nor should know about, and hence it thinks they are different).
Any solutions ?

This doesn't work. I'm using Dify, which calls Ollama endpoint, and does not provide the keep_alive field. I want to set it as parameter. Even if I add keep_alive: -1, it will be unloaded when Dify starts making calls. Which is completely broken behaviour. How do I keep it loaded without that ? It's a server I should be able to have a parameter in a config file and have it be kept. Running a curl command every minute doesn't work either as it doesn't recognize it as being the same mode being used (Dify probably adds some parameter, which I don't know, nor should know about, and hence it thinks they are different). Any solutions ?

Same situation.

We generally don't have control over whether a 3rd party application calling the API will pass this parameter or not...
+1 that this should be configurable as an environment variable, or at least as a parameter in the Modelfile.

Hello! Is there a plan to add this for /api/chat? I just figured I am using it, and I am getting messages | time=2024-08-11T20:01:52.188Z level=WARN source=types.go:507 msg="invalid option provided" option=keep_alive

@tsdaemon keep_alive should work with /api/chat too, it's a top-level parameter rather than an option.
Here is an example:
curl -X POST http://<IP_ADDRESS>:11434/api/chat \
-H "Content-Type: application/json" \
-d '{
  "model": "llama3.1",
  "messages": [
    {
      "role": "user",
      "content": "Hello, how are you?"
    }
  ],
  "stream": false,
  "keep_alive": "5m"
}'


Toastr in Symfony with Encore

Hello,
After adding Toastr with yarn, i added the library in my main "app.js"
require('toastr');
In my third script file, i simply add :
toastr.info('Are you the 6 fingered man?');
I have an error in console : Uncaught ReferenceError: toastr is not defined
Does anyone have some issue to implement Toastr in Symfony ?

Fixed with a dirty :
import * as toastr from "toastr";
import "../../../node_modules/toastr/build/toastr.min.css";

Unfortunetaly, there are some CSS issue with Bootstrap 4.4
I think this is the end of Toastr... It was a great library !


minimal extxyz

The minimal example for extxyz with exact .extxyz and .yaml files as described in docs/howto/dataset.rst fails in colab:
https://colab.research.google.com/drive/1GLdSM5FPOgZz3LAkkH1nIEujCf08F32z?usp=sharing
Error is ''RuntimeError: Failed to build object with prefix dataset using builder ASEDataset"

I have a similar issue when I try to run the minimal.yaml example and I get "RuntimeError Failed to build object with prefix dataset using builder NPZDataset."  Does your error also say it was caused by a permission denied error?  I've spending an entire workday trying to set up different environments to get this code working and I can't avoid it lol.

Hi @euhruska ,
Thank you for your interest in NequIP. I tried to patch up your colab to make it work, but it's too far away from a complete config file for nequip-train to work. I would advise using minimal.yaml and the other example config files for learning how to set up config files, especially full.yaml.
@tft225 , RuntimeError Failed to build object with prefix dataset using builder NPZDataset. just means nequip error'ed out while trying to process the dataset - it could be for a whole lot of different reasons. This case and your case are likely unrelated.


worker: support prefetch multiplier and pool type config

Codecov Report

Merging #41 (21ecd79) into main (b2698c5) will decrease coverage by 4.26%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   86.66%   82.40%   -4.27%
==========================================
  Files          19       19
  Lines         690      699       +9
  Branches       95       97       +2
==========================================
- Hits          598      576      -22
- Misses         72       94      +22
- Partials       20       29       +9

Impacted Files
Coverage Δ

src/dvc_task/worker/temporary.py
78.43% <66.66%> (-6.02%)
:arrow_down:

tests/worker/test_temporary.py
93.93% <100.00%> (+0.60%)
:arrow_up:

tests/test_utils.py
71.42% <0.00%> (-28.58%)
:arrow_down:

tests/proc/test_manager.py
88.88% <0.00%> (-11.12%)
:arrow_down:

src/dvc_task/proc/manager.py
68.10% <0.00%> (-8.63%)
:arrow_down:

src/dvc_task/utils.py
38.09% <0.00%> (-7.94%)
:arrow_down:

src/dvc_task/proc/exceptions.py
86.66% <0.00%> (-6.67%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2698c5...21ecd79. Read the comment docs.


"Widened" related models

Hi, Steven. I'm interested in sharing a use case of mine, and contributing to this project as a way to solve it.
I'm looking to export records to CSV, but including related models by widening them in the same row. (I've been told "widen" is the technical term for this.)
For example, if the Project model has many Team Members, my goal is to export a CSV that looks like this:
name,team_member_1_name,team_member_1_handle,team_member_2_name,team_member_2_handle
Julia Builder,Steven,stevenbarragan,Bryan,bry
Matt's Project,Matt,beechnut,,

Is this something you'd be open to seeing Julia Builder support? And if so, how can I get started on this enhancement? Thanks.

I've been thinking about what the syntax might look like.
class ProjectCsv < Julia::Builder
  column :name
  # Looks for a Julia::Builder class named TeamMember or TeamMemberCsv
  # and serializes the object/collection using that class when nesting
  has_many :team_members
  #=> team_member_names,team_member_handles
  #=> Steven;Bryan,stevenbarragan;bry

  has_one :creator # Looks for CreatorCsv, uses when serializing

  has_many :team_members, separator: '|' # can override default separator
  #=> team_member_names,team_member_handles
  #=> Steven|Bryan,stevenbarragan|bry

  # Widens the attributes as columns, and starts counting at 1 instead of 0 (default).
  has_many :team_members, widen: true, index: 1
  #=> team_member_1_name,team_member_1_handle
  #=> Steven,stevenbarragan

  # Can pass a proc or lambda to index widening on anything else.
  has_many :team_members, widen: true, index: -> { "#{id}_of_#{TeamMember.count}" }
  #=> team_member_112_of_9000_name,team_member_112_of_9000_handle
  #=> Steven,stevenbarragan

  # If the Julia::Builder class is named something different, pass it explicitly
  has_many :team_members, class_name: 'ProjectTeamMemberCsv'
end

class TeamMemberCsv < Julia::Builder
  columns :name, handle: :username
end

Hi,
Yes, PR are welcome, and I'm more than happy to help.
First of all I would like to do a quick list of all the features you're listing of, and tackle one by one.

I think the first one would be the has_one, and we can iterate form here.

has one: it'd be like a csv-inception
class CsvBuilder::Project
  has_one :creator
  # sends `project.creator` to CsvBuilder::Creator's csv and concatenates
  # the result to main csv
  # it uses CsvBuilder::Creator's columns names
end

We could add support to specify class_name

has_one :creator, class_name: 'User'
# sends `project.creator` to CsvBuilder::User's csv and concatenates
# the result to main csv

@beechnut What do you think?

This looks great -- definitely more manageable than starting with has_many. Should I get us started by writing some tests?
(While I'm decently experienced writing Ruby, esp. in web frameworks, this is my first time contributing to a gem in a non-trivial way.)

Yes, writing some test for the has_one method and then make the test pass. If you want to I cant take a look at your branch and help with it.

closing due inactivity, feel free to contact me if you need more help.


AttributeError: 'WindowsPath' object has no attribute 'expanduser'

Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 15, in
from ipykernel import kernelapp as app
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\kernelapp.py", line 18, in
from IPython.core.application import (
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython_init_.py", line 56, in
from .terminal.embed import embed
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\terminal\embed.py", line 16, in
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\terminal\interactiveshell.py", line 35, in
from .debugger import TerminalPdb, Pdb
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\terminal\debugger.py", line 6, in
from IPython.core.completer import IPCompleter
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\completer.py", line 146, in
import jedi
File "C:\ProgramData\Anaconda3\lib\site-packages\jedi_init_.py", line 32, in
from jedi.api import Script, Interpreter, set_debug_function, preload_module
File "C:\ProgramData\Anaconda3\lib\site-packages\jedi\api_init_.py", line 13, in
import parso
File "C:\ProgramData\Anaconda3\lib\site-packages\parso_init_.py", line 42, in
from parso.grammar import Grammar, load_grammar
File "C:\ProgramData\Anaconda3\lib\site-packages\parso\grammar.py", line 13, in
from parso.cache import parser_cache, load_module, try_to_save_module
File "C:\ProgramData\Anaconda3\lib\site-packages\parso\cache.py", line 76, in
_default_cache_path = _get_default_cache_path()
File "C:\ProgramData\Anaconda3\lib\site-packages\parso\cache.py", line 73, in get_default_cache_path
return dir.expanduser()
AttributeError: 'WindowsPath' object has no attribute 'expanduser'

I am not sure if pipenv is compatible with Anaconda.

I am not sure if pipenv is compatible with Anaconda.

@matteius Many thinks! I can run it with Spyder.

Sorry @oklsw -- I didn't quite understand -- but in your original stack trace the error is happening in a package outside of pipenv:
File "C:\ProgramData\Anaconda3\lib\site-packages\parso\cache.py", line 73, in get_default_cache_path
return dir.expanduser()
AttributeError: 'WindowsPath' object has no attribute 'expanduser'

@oklsw Did you ever get anywhere with this?

I reworked pythonfinder in a major way and would like if you could recheck this issue with pipenv==2023.5.19 @oklsw


TVP GO:0071562 nucleus-vacuole junction assembly

Hi,
@pgaudet  has parent
GO:0071562 nucleus-vacuole junction assembly
but that is not always true?
Maybe need to ask the autophagy group?
v

@ValWood
GO:0071562 nucleus-vacuole junction assembly has been a child of
GO:0034727 piecemeal microautophagy of nucleus for a while.
@marcfeuermann can you please comment - should this link be removed ?
Thanks, Pascale

If the use of the junctions is broader, as it seems to be, it should be has_part?

I would indeed follow Val's suggestion and make a has_part. @ukemi what do you think ?

If the junction assembly is not always part of the autophagic process, but always happens when the autophagic process happens, then yes.

actually, as it only appears during stationary phase? is that correct? Maybe it is confined to autophagy?
ignore.


docs: interactive debugging

Use ipywidgets to make the debugging chart sorting configuration selection interactive via a dropdown.
Follow-up of #377.

Hey, @domoritz, I kept the static VConcatChart in the notebook to grant an instant overview of the output of all sorting configurations. The interactive section renders only the default selection on the web page.


feat: add feature package_json_raw_json_api for returning package's raw json

#104  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite


Trying to understand when to disconnect from the a store like Redis?

I can't seem to understand how to disconnect from stores like Redis on app shutdown. What I'm seeing is we are just opening connections via the KeyvRedis and nothing about closing the connection.
Is the expectation that we would need to store a separate reference to the redis store and close the connection? Not sure this is mentioned in the docs anywhere.
Taken from the Quick Start examples, if we followed the example, how would we close this redis store connection on app shutdown?
import { Keyv } from 'keyv';
import KeyvRedis from '@keyv/redis';
import { CacheableMemory } from 'cacheable';
import { createCache } from 'cache-manager';

// Multiple stores
const cache = createCache({
  stores: [
    //  High performance in-memory cache with LRU and TTL
    new Keyv({
      store: new CacheableMemory({ ttl: 60000, lruSize: 5000 }),
    }),

    //  Redis Store
    new Keyv({
      store: new KeyvRedis('redis://user:pass@localhost:6379'),
    }),
  ],
})

@TimothyIp - you are correct that the current way to do this is to disconnect by going to the stores property primary or secondary like so:
import { Keyv } from 'keyv';
import KeyvRedis from '@keyv/redis';
import { CacheableMemory } from 'cacheable';
import { createCache } from 'cache-manager';

// Multiple stores
const cache = createCache({
  stores: [
    //  High performance in-memory cache with LRU and TTL
    new Keyv({
      store: new CacheableMemory({ ttl: 60000, lruSize: 5000 }),
    }),

    //  Redis Store
    new Keyv({
      store: new KeyvRedis('redis://user:pass@localhost:6379'),
    }),
  ],
})

await cache.disconnect();

You can see the method in the documentation https://www.npmjs.com/package/cacheable?activeTab=readme#cacheable---api
Let me know if you have any other questions!

@TimothyIp - so sorry as I didnt realize you were using cache-manager and not cacheable! You are correct that in cache-manager there is not an easy way to do this other than storing the Keyv modules and doing it individually.
import { Keyv } from 'keyv';
import KeyvRedis from '@keyv/redis';
import { KeyvCacheableMemory } from 'cacheable';
import { createCache } from 'cache-manager';

// Multiple stores
const memoryStore = new Keyv({ store: new KeyvCacheableMemory({ ttl: 60000, lruSize: 5000 }) });
const redisStore = new Keyv({ store: new KeyvRedis('redis://user:pass@localhost:6379') });
const cache = createCache({
  stores: [ memoryStore, redisStore ],
});

// to disconnect you would need to do:
await redisStore.disconnect();

You could use cacheable which is the more modern caching system that has disconnect built in. Here is an example of that:
import KeyvRedis from '@keyv/redis';
import { Cacheable, KeyvCacheableMemory } from 'cacheable';

const primary = new KeyvCacheableMemory({ ttl: 60000, lruSize: 5000 });
const secondary = new KeyvRedis('redis://user:pass@localhost:6379');
const cache = new Cacheable({ primary, secondary });

// to disconnect which will handle both primary and secondary stores
await cache.disconnect();

Hope this helps!

@jaredwray Thanks for taking the time for answering this. I appreciate it a lot!
Would it be a welcome addition to add a disconnect() method to cache-manager? It would just run disconnect across the set stores inside of it.

@TimothyIp - I will add it to the list but might not happen for a bit.

@jaredwray  No worries, I can rip a PR for it. Just let me know if it looks good.

@TimothyIp - this should be released today once npm is finished with their maintenance.


Update fails due to 'Hash mismatch' on windows

Update fails due to Hash mismatch on windows
VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17134
Steps to Reproduce:

Check for updates
Error message saying "hash mismatch" pops up.

The freshly downloaded installer VSCodeUserSetup-x64-1.31.1.exe also fails.

@pedrogarcia where are you located? It could be a regional issue.
@chrmarti can you check this out?

I have flushed the CDN for the reported downloads. @pedrogarcia and @juanmcutrera Could you retry?
(TIL: Go to portal, open az764295 CDN endpoint and 'purge' either all or just the affected paths as found in our internal download links. @joaomoreno to confirm.)

I tried to download the installer again from Brazil and it installs without errors.

@chrmarti I'll file an issue to the CDN.

the same problem exists in germany since 3 or 4 month
it happens only when you press "search for updates" in "help" menue.
installing the editor with a normal downloaded installation program works without problems


Add auto merge

Additional comment:
@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/skipatom-feedstock#2.


Response for config.yml was not yaml

/admin apparently looks for config.yml at the wrong place, or it gets rewritten with HTML.

steps to reproduce
clone the repo at main, run yarn and  yarn start, then navigate to http://localhost:3000/admin
expected behavior
a working CMS should appear
versions
node v18.16.0
npm 9.5.1
yarn 1.22.19
MacOS 13.5

I have the same problem.   I can work around it by using the link http://localhost:3000/admin/#/


resize save current state

The plugin works nicely with datatables 1.10.12, however I can't save the current state after resizing some columns. Do you have any tips how can I achieve saving state?
Thanks

Hello, sorry for the delayed reply. Take a look at this article https://datatables.net/forums/discussion/9695/problem-with-fnsavestate-and-fnloadstate
I believe you need to define the fnSaveState and FnLoadState methods.

Thanks for the follow up. That didn't work, as Datatables doesn't save/restore the column widths. I had to listen for resize and store into the localStorage the latest column sizes, which I was able to restore each time after the table initilization.


Fix bugs and error message

Codecov Report

Merging #240 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #240      +/-   ##
============================================
- Coverage     29.58%   29.56%   -0.02%
  Complexity      572      572
============================================
  Files           127      127
  Lines          5996     6000       +4
  Branches        711      709       -2
============================================
  Hits           1774     1774
- Misses         4103     4107       +4
  Partials        119      119

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/owlmoney/model/goals/GoalsList.java
70.66% <0%> (+0.62%)
49 <0> (ø)
:arrow_down:

...va/owlmoney/logic/parser/goals/ParseEditGoals.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

src/main/java/owlmoney/Main.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

src/main/java/owlmoney/model/profile/Profile.java
24.49% <0%> (ø)
28 <0> (ø)
:arrow_down:

src/main/java/owlmoney/MainImport.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f52b94...3eb1de1. Read the comment docs.


OSPF: implement redistribution of bgp routes in ospf

Change Summary

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes)
[x] Documentation content changes
[ ] Other (please describe):

Related Issue(s)
Fixes #1081
Component(s) name
arista.avd.<role-name>
Proposed changes
Extend Yaml definition to allow redistribution of bgp routes in ospf.
router_ospf:
  process_ids:
    < process_id >:
      redistribute:
        static:
          route_map: < route_map_name >
        connected:
          route_map: < route_map_name >
        bgp:
          route_map: < route_map_name >

How to test

Checklist:

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have updated molecule CI testing accordingly
[ ] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

Would it make more sense to have a general redistribute command and not a specific bgp one, if in the future we would add other options?
Afaik in the end we have the route-map option for all of them?

Not a bad idea Onur, like we do on BGP. But for now, I think we can implement this one, and then submit an issue to create the more maintenance-free version.

Looking good so far. We are missing updates to the documentation template.
The currently table for "Router OSPF Router Redistribution" has a column per knob. This will not scale well, so I suggest that we change the table to have columns like "Source Protocol" and "Route Map" and then add lines per protocol instead.
Let me know if you want me to add this directly to your branch.

I guess my last commit should fix this and add the proposed table for multiple source protocols.

Thanks for your PR @SomaliRaven. Please, could you fix conflicts, and then we will be happy to merge it.

Rebased and conflicts resolved.


services/horizon/ingest: new metric label for bytes-downloaded on history archive metrics

What problem does your feature solve?
bytes downloaded per HA server is not captured in metrics, just count of download attempts
What would you like to see?
bytes_downloaded label added tohistory_archive_stats_total , grouped per source label, i.e an individual HA server
What alternatives are there?

Great call to captive this in an issue, and bytes_cached would be really useful as a comparison.

@Shaptic , i think this ticket can be closed, looks like implemented on https://github.com/stellar/go/pull/5197, want to add retro points?

Nice catch @sreuland! Done - I think 2 points is reasonable to cover code + test + grafana work?


PartsUnlimited.MRP.sln vs PartsUnlimited.sln

What is the difference between PartsUnlimited.sln and PartsUnlimited.MRP.sln solutions?

PartsUnlimited.sln is the solution with just the website.  PartsUnlimitied.MRP.sln has some extra projects that contain WebJobs and are used by https://github.com/Microsoft/PartsUnlimitedMRP.


[API] Transactions have no GUID until they enter a block, making exchange integration very difficult

When you send a transaction, you are not immediately presented with a GUID which can then be used to later identify and look up the transaction. The use of a callback (on block inclusion) to achieve this goal is insufficient for reliability reasons, between sending and block inclusion there could be:
a power cut
witness crash
cli_wallet crash
In addition, exchanges which currently have a single threaded wallet design would be left blocking for 3 seconds waiting for the callback to occur.
IMO there needs to be a TXID or other GUID identifier available immediately, which can then be used in all later queries to refer to the transaction.

I work around this by storing the nonce (signed_transaction.operations.memo.nonce) from the transfer then searching through history until I find a match then i store the id (1.11.*).

Use transfer2 it returns a txid and the signed transaction.

my cli wallet doesn't have that method

Grab and build from the latest :)

will do

If transfer2 API call solves your problem, I'm going to close this.


🐛 Fix semantic coloring

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can not compile firmware with provided patch.

I tried to compile CC2530 firmware with patch from dev branch and this is what I get:
Error[e16]: Segment XDATA_I (size: 0xa5 align: 0) is too long for segment definition. At least 0x56 more bytes needed. The problem occurred while processing the
segment placement command "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA_START-_XDATA_END", where at the moment of placement the available memory ranges
were "XDATA:1eb1-1eff"
   Reserved ranges relevant to this placement:
   XDATA:1-4d0          XSTACK
   XDATA:4d1-1eff       XDATA_Z
   BIT:0-7              BREG
   BIT:80-87            SFR_AN
   BIT:90-97            SFR_AN
   BIT:a0-af            SFR_AN
   BIT:b8-c7            SFR_AN
   BIT:e8-ef            SFR_AN
Error while running Linker

What defines did you use?

FIRMWARE_CC2530
FIRMWARE_DEFAULT

And those were already there
FEATURE_SYSTEM_STATS
ASSERT_RESET
POWER_SAVING
FAKE_CRC_SHDW
xTC_LINKKEY_JOIN

You should remove the ones that were already there.

It worked, thanks!

Out of interest, why do you want to compile it?

As my CC2530 constantly hangs, I wanted  to test 57600 baud rate. It is either that, or  non-stop spamming from aqara wall switches by data requests (which coordinator doesn't answer,  attached capture log in #943) drives it crazy.

Can you test if this has been fixed with the new firmwares (I just published them) https://github.com/Koenkk/Z-Stack-firmware/tree/dev/coordinator/Z-Stack_Home_1.2/bin

What exactly? Hanging or non-answered data requests?

Assuming you are now using the default cc2530 firmware, this one has far to less stack memory. This has been fixed in the above firmware.

I will try!
Found easy way to hang it :)
light.toggle for all 6 lights simultaneously hang it  for sure (

Great, let me know!

This firmware seems to be stable and non-crashing. Works for 2 days already and I tried stuff which were giving me crash for granted, it passes now.
Thanks!

Awesome!

Hi, any chance to have a solution for the compilation problem below?
Fatal Error[e72]: Segment CRC_SHDW must be defined in a segment definition option (-Z, -b or -P)
Error while running Linker

Workbench: 10.20.1
Linker: C:\Texas Instruments\Z-Stack Home 1.2.2a.44539\Projects\zstack\Tools\CC2530DB\f8w2530.xcl
Preprocessor macros defined: FIRMWARE_CC2530 && FIRMWARE_DEFAULT
firmware.patch applied to Z-Stack Home 1.2.2a.44539
"Depending if you want to compile the .hex or SBL firmware select - ProdHex or - ProdSBL" I have no idea where to chose from these

Thank you!

Hi I have used the HA 1.2 Source routing firmware in CC2531 and CC2530+CC2591 in 2 different hardware, initially i could able to add 30+ lighting modules (Zigbee 3.0), but later on I am unable to add any other modules, even after unpairing some modules I am unable to add further devices. Do you have any suggestion for this?

Hi I have used the HA 1.2 Source routing firmware in CC2531 and CC2530+CC2591 in 2 different hardware, initially i could able to add 30+ lighting modules (Zigbee 3.0), but later on I am unable to add any other modules, even after unpairing some modules I am unable to add further devices. Do you have any suggestion for this?


[BUG] When output to a PDF, the colored line of title is much much longer than expected.

The following markdown renders well in Typora.
# h1

## h2

### h3

However, if you output it to a PDF, it will look like the following picture.

Hi @LetianYuan , I've fixed this issue with the version 1.0.1 please check.

Hi @LetianYuan, closing this issue as I've already fixed this with version 1.0.1 upwards. You can download the latest version and test it here.

Your fix does not work well.
I've commited an PR #7.


In macOS fullscreen, 'New Window' instead opens new tab

VSCode Version: 1.6.0
OS Version: macOS Sierra 10.12

Steps to Reproduce:

Take a VS Code window full-screen
From the File menu, select New Window

This is possibly related to the new behavior in Sierra that gives applications using NSDocument Safari-style tabs for free.

You should report this against Electron where we depend on for a fix it seems.

actually being able to open new window as new tab is a nice feature. i would like to be able to open a project in a new tab not only in the full-screen mode.
it would look like the Maps application in macOS. If you go to menu File -> you have options New Window and New Tab

"New Window" now literally opens new window in fullscreen mode using latest version. Is there a way to revert this and make "New Window" open new tab again? Haven't found any option in settings that does it.

No, not until Electron supports native tabs properly.

It's a shame this changed, I preferred the tabbed window behaviour we had prior to the last release, made it much easier to manage the 4 or 5 instances I often have running.

miss it too...

To be clear: I was never against there being a 'New Tab' option at all, just pointing out that it was explicitly incorrect platform behavior to open a new tab when a Mac user invokes a 'New Window' menu item or keyboard shortcut. Look at your Safari menu; 'New Window' and 'New Tab' happily coexist. Just have them each do what they say they do.

This is the kind of OCD "bug/feature" fixes are not out of necessity, but of (definition) correctness. I bet there are enough mac users who enjoyed this option and it would have been possible to keep it alive along a new new window menu option.
I use VSCode on both mac an Linux and I had come to terms with having tabs in mac and the lack of it in Linux. Now I guess I could be glad to have the same behavior on both operating systems(?).

Really like this feature, hope it can back in other style


feat: Analytics to log source data limit exceed

Description
Analytics to log source data limit exceed.
Fixes #13220
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

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

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: feat/jsonform-limit-analytics

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
56.46 (0)
37.92 (0.01)
36.15 (0)
56.69 (0.01)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

:green_circle:
app/client/src/widgets/JSONFormWidget/widget/helper.ts
98.95 (0.03)
90.91 (0)
100 (0)
98.85 (0.03)

@dilippitchika Yes, it should.
I think we can verify that in the DP

/ok-to-test sha=6b58688

Tested, working as expected.

@dilippitchika We don't need to track the cases limitExceeded: false right?

No we don't need to track those @ashit-rath


Use explain analyzer API

The two remaining shortcomings could be addressed by setting explain: true when calling the Analyze API (available since ES 2.2)

Only works for custom analyzers right now (as it accesses the settings for your index)
Attributes besides the token text and position would be handy

@consulthys I'm unfamiliar with the explainations of analuze. Which attributes do you think are useful?
Also, it seems shows step by step analysis.. maybe this tool is redundant ?


Typechecking breaks on class method with generic args

Hi :)
I believe I have found a very specifig bug in the JSR typechecker. If you define a class with a generic, then use the generic as the spread of arguments in a method and in an overload for the method, JSR will fail to understand the types and generate a type error.
Minimal reproduction
Create a Deno project with two files:
main.ts
export class argsToArray<ARGS extends unknown[]> {
  argsToArray(..._args: ARGS): void;
  argsToArray(..._args: ARGS): void {}
}

deno.json
{
  "name": "@test/test",
  "version": "0.0.1",
  "exports": {
    ".": "./main.ts"
  }
}

Then run:
deno publish --dry-run

You will see the following error:
error: Failed ensuring public API type output is valid.

TS2394 [ERROR]: This overload signature is not compatible with its implementation signature.
  argsToArray(..._args: ARGS): void;
  ~~~~~~~~~~~
    at file:///[...]/main.ts:2:3

TS2750 [ERROR]:     The implementation signature is declared here.
      argsToArray(param0?: any): any {
      ~~~~~~~~~~~
        at file:///[...]/main.ts:3:3

Notice that the implementation signature shown in the error is completely wrong. We do not have only a single parameter and it is not of type any.
This is on Deno 1.42.1 (latest) and JSR 0.12.1 (latest). This code runs perfectly fine on Deno and deno lint does not produce errors, so I am guessing that this is a bug in JSR.
This is currently blocking me from publishing my library to JSR.

Whoops, that is indeed a bug!

This seems to be caused by the interaction of spread + overload, not the generics. We'll fix this.

It is caused by all of these things. If you remove the generics, there is no type error. Also if you move the generic from the class definition to the function definition, there is no type error.

Will go out in a canary release later today hopefully.


issue running AppScript using my local code.

Hi please suggest me on the issue I am trying to run the given code below, where "myApp" is function Name in the Script which I am trying to run.
 ExecutionRequest request = new ExecutionRequest().setFunction("myApp").setDevMode(true);
       try {
            Operation op = service.scripts().run("1sdEPN6es8E3sXTiPJWlhAZkPwRjsnLzW_dPyP6EC3BWjmu65jhkUfbUa", request).execute();
            // Print results of request.
            if (op.getError() != null) {
                // The API executed, but the script returned an error.
                System.out.println("Error");
            } else {
                System.out.println("Success");
            }
        } catch (GoogleJsonResponseException e) {
            e.printStackTrace(System.out);
        }

Its giveing error like:

{
"code" : 404,
"errors" : [ {
"domain" : "global",
"message" : "Requested entity was not found.",
"reason" : "notFound"
} ],
"message" : "Requested entity was not found.",
"status" : "NOT_FOUND"
}

or if I am deploying this as the web app it's giving this type of error:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"message" : "The caller does not have permission",
"reason" : "forbidden"
} ],
"message" : "The caller does not have permission",
"status" : "PERMISSION_DENIED"
}

What i have to do run the code perfectly????
Specifications

Java version (1.8)
OS (Linux)

The NOT_FOUND indicates that the script was not published as an API executable. The PERMISSION_DENIED error indicates that the OAuth client of the calling application is not in the same Cloud Console project as the target Apps Script. This guide has more information:
https://developers.google.com/apps-script/api/how-tos/execute


[Question] Release plan

Hi there,
first of all I want to say that this is my favorite theme out there. It is elegant and simple.
The customization of the 3.0 release makes it perfect.
I just wanted to know what your release plans are and if there are any problems that are currently blocking a 3.0 release? I am using Arch Linux and can't wait to see a 3.0 on my machine.

Hi ! Thanks a lot for your compliment first,
I wanted to add some more customizations to the theme, and close issues related to the pre-release before releasing it.
Thing is, the fact that lightdm-webkit2-greeter uses a very old version of webkit, makes both of these things kinda hard.
And recently, Antergos has been discontinued, and lightdm-webkit2-greeter too as it was a part of it. I'm looking for forking it / creating a new one, but for now i should maybe create a lightdm-webkit-theme-litarvan-git on AUR.

I'm looking for forking it / creating a new one
A new greeter? Or a new theme?

for now i should maybe create a lightdm-webkit-theme-litarvan-git on AUR.
That would be seriously amazing.

Exactly, create a git PKGBUILD

I've decided to finally release the 3.0 as fast as i can, i've nearly finished the last feature i wanted (theming screen), i just need to finish my little "hacks" to customize svg and other things

Finally released it for real, sorry for the very long delay (a bit of explanations here : #68 )


How to enable Guest Os Diagnostic using java sdk

When I enable bootDiagnostic while creating virtual machine then by default boot diagnostic is enabled and guest os diagnostic is not enabled.
virtualMachineCreatable.withBootDiagnostics(vmInfo.diagnosticsStorageAccount());
How can I enable both boot and guest os diagnostic?

For "OS Diagnostics" refer this https://github.com/Azure/azure-sdk-for-java/blob/952c1da90c98116d62b902b87f13ece224d728cf/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineExtensionOperationsTests.java#L36

@rishi-anand also refer this discussion https://github.com/Azure/azure-sdk-for-java/issues/1836, there is an extensive discussion on enabling OS diagnostics..

Thanks a lot @anuchandy 👍

@rishi-anand seems you are unblocked.. closing this issue.


SINCOS

I've just opened this new issue to discuss the point of how to handle the SINCOS operation in the most generic to handle all the Scalar types.
    template<typename Scalar>
    struct SINCOSAlgo
    {
      static void run(const Scalar & a, Scalar * sa, Scalar * ca)
      {
        (*sa) = std::sin(a); (*ca) = std::cos(a);
      }
    };

It would be more appropriate to just do sin(a), cos(a) and let argument-dependent lookup do the job. For casadi::SX argument type, the calls would resolve to casadi::sin() and casadi::cos(). Notice that if we rely on ADL, the following code fragment becomes unnecessary:
    #ifdef PINOCCHIO_WITH_CPPAD_SUPPORT

    /// Implementation for CppAD scalar types.
    template<typename Scalar>
    struct SINCOSAlgo< CppAD::AD<Scalar> >
    {
      static void run(const CppAD::AD<Scalar> & a, CppAD::AD<Scalar> * sa, CppAD::AD<Scalar> * ca)
      {
        (*sa) = CppAD::sin(a); (*ca) = CppAD::cos(a);
      }
    };

    #endif

Originally posted by @mkatliar in https://github.com/stack-of-tasks/pinocchio/issues/809#issuecomment-499509614

To really take care of both classic scalar types (double, float, ...) as well as overloaded types (CppAD::AD or casadi::SX).
Originally, we were using the sincos instruction to compute sin and cos at the same time, which is much more efficient than computing the two separated.
Of course, some recent compilers are able to guess it.
So, maybe it would be worth to just allows ADL to work for each types correctly, by checking if the types are standard or not.

There is a function is_fundamental in boost. Maybe the solution is to add a second template argument, which is boolean and computed through is_fundamental

@gabrielebndn why would we need is_fundamental()? SINCOSAlgo is already specialized for float, double and long double. For other types (like casadi::SX of CppAD::AD<Scalar>) we can assume that the sin() and cos() are defined in corresponding namespaces.

@mkatliar, I wanted to be generic with respect to any primitive type, but in effect float, double and long double cover all possible types of real numbers in C++ and it would not make sense at all to use integers, so that's probably useless, you are right

Solved by #812.


toggle (2)fofc and average maps

Add buttons to interface that allow to turn on/ off crystallographic (2)fofc maps and average maps.

implemented


Update golang installation to fit newer golang versions

On the newer golang versions go get isn't allowed outside modules anymore, I edited the installation command to work with the newer golang versions

go install github.com/tomnomnom/assetfinder@latest


Bump sbt-slamdata to 0.5.1 and SBT to 1.0.0

Pending slamdata/sbt-slamdata#31

@jedesah Ready for another look

@drostron version:revision?

@jedesah Agreed and added