Feign issue in combination with Data REST

I am using DATA Rest for some of my Controller. Now I include FeignClient and afterwards the DATA Rest Controller doesn’t work anymore.
This happens only under specific condition. The id must be specified in a superclass (DomainObject) of the domain class (Product) and one variable field from domain class must represent another class (Address).  I create an example to reproduce the problem: https://github.com/sebastian-sch/Demo
When the system starts to refresh the application context with the method AnnotationConfigEmbeddedWebApplicationContext.refresh() the beans for DATA Rest are processed during the registerBeanPostProcessors(beanFactory); while when Feign is not used, the beans are processed during finishBeanFactoryInitialization(beanFactory);
AbstractApplicationContext
...
                try {
    // Allows post-processing of the bean factory in context subclasses.
    postProcessBeanFactory(beanFactory);

    // Invoke factory processors registered as beans in the context.
    invokeBeanFactoryPostProcessors(beanFactory);

    // Register bean processors that intercept bean creation.
    registerBeanPostProcessors(beanFactory);

    // Initialize message source for this context.
    initMessageSource();

    // Initialize event multicaster for this context.
    initApplicationEventMulticaster();

    // Initialize other special beans in specific context subclasses.
    onRefresh();

    // Check for listener beans and register them.
    registerListeners();

    // Instantiate all remaining (non-lazy-init) singletons.
    finishBeanFactoryInitialization(beanFactory);

    // Last step: publish corresponding event.
    finishRefresh();
  }

The MongoMappingContext require the ApplicationEventMulticaster which is not available during registerBeanPostProcessors and the creation of the bean productRepository fails. If the id is directly in the domain object or no field use a class as variable the bean creation for productRepository fails also but the system find the id and it is working.
MongoMappingContext
    protected E addPersistentEntity(TypeInformation<?> typeInformation) {
 {
 ...
       ReflectionUtils.doWithFields(type, persistentPropertyCreator, PersistentPropertyFilter.INSTANCE);
    ...
        applicationEventPublisher.publishEvent(new MappingContextEvent<E, P>(this, entity));
    ...
   }

ApplicationEventMulticaster getApplicationEventMulticaster() throws IllegalStateException {
if (this.applicationEventMulticaster == null) {
  throw new IllegalStateException("ApplicationEventMulticaster not initialized - " +
      "call 'refresh' before multicasting events via the context: " + this);
    }
    return this.applicationEventMulticaster;
  }

I think this is the important line from the stack trace:
WARN 34253 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restClient': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: feign.codec.Decoder org.springframework.cloud.netflix.feign.FeignConfiguration.decoder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'feignDecoder': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.springframework.boot.autoconfigure.web.HttpMessageConverters org.springframework.cloud.netflix.feign.SpringDecoder.messageConverters; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private final java.util.List org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration.converters; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mappingJackson2HttpMessageConverter' defined in class path resource [org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfiguration$MappingJackson2HttpMessageConverterConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.fasterxml.jackson.databind.ObjectMapper]: : Error creating bean with name 'objectMapper' defined in class path resource [org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration$RepositoryRestMvcBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fasterxml.jackson.databind.ObjectMapper]: Factory method 'objectMapper' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceMappings' defined in class path resource [org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration$RepositoryRestMvcBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.core.mapping.ResourceMappings]: Factory method 'resourceMappings' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositories' defined in class path resource [org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration$RepositoryRestMvcBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.repository.support.Repositories]: Factory method 'repositories' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productRepository': Invocation of init method failed; nested exception is java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@49bd54f7: startup date [Fri Jan 02 14:09:46 CET 2015]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@645aa696; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'objectMapper' defined in class path resource [org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration$RepositoryRestMvcBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fasterxml.jackson.databind.ObjectMapper]: Factory method 'objectMapper' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceMappings' defined in class path resource [org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration$RepositoryRestMvcBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.core.mapping.ResourceMappings]: Factory method 'resourceMappings' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositories' defined in class path resource [org/springframework/boot/autoconfigure/data/rest/RepositoryRestMvcAutoConfiguration$RepositoryRestMvcBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.repository.support.Repositories]: Factory method 'repositories' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productRepository': Invocation of init method failed; nested exception is java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@49bd54f7: startup date [Fri Jan 02 14:09:46 CET 2015]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@645aa696

Sebastian

Thanks for posting and fixing this issue.
Changing from RC1 to the current build snapshot fixed it for me.

Thanks for the fix, work fine now.


Is it possible to draw text within a path?

I would like to draw text withing shapes, think of speech bubbles in a comic. Not only would I like to clip on the path but I would also like to know if all text fits, otherwise I would like to iterate with a smaller font size until things match. Is that doable with pdf-lib.

Hello @softwarerero!
pdf-lib does not have any high level APIs designed for this purpose. But it provides all the APIs you need to implement this yourself:

PDFPage.drawText
PDFFont.widthOfTextAtSize
PDFFont.heightAtSize

You would need to implement an algorithm that, given a path and a string of text, figures out how to break the text into lines that fit within the path. And if the text simply won't fit, the algorithm should try again with a smaller font size. The layoutMultilineText and computeFontSize functions do something roughly like this, but only for rectangle bounding boxes. You would need to adapt them to work for arbitrary path/shape bounds.
I hope this helps! Please let me know if you have any additional questions.


Add props to set elevation and border for all surface element

Ref: https://material-ui.com/api/paper/
Like material-ui paper component we can have it for cards, table etc...

Components with elevation Props

[ ] Card
[ ] Table
[ ] Transfer
[ ] Calendar
[ ] Collapse, List
[ ] Drawer
[ ] Side Panel
[ ] Modal
[ ] Popover

cc @EverWinter23

Fixed in #11


Watcher sends wrong Kyma object key to the listener after recent remote changes

Description
Currently, The runtime-watcher component sends the remote object key of the watched resource to the listener to be re-queued. Which doesn't work when the remote object key is not the same as the object key of the KCP resource. This is especially true in the case of synchronized Kyma CRs.
Expected result
kcp-system/kyma-sample should be enqueued
Actual result
kyma-system/default is enqueued instead

Fixed with https://github.com/kyma-project/runtime-watcher/pull/104


Dev

Merging new almitey with separate module for running on all clusters, plus a new summary table which is stored in the top level of the input directory specified by the user. One can navigate to the results from all clusters from this summary table. Could use some additional features like sorting and still needs some metrics to be calculated, but the structure and navigation functionality is there.

This merge closes #7 and #10


Enforce 24 hour formatting during date encoding

Hi @yonaskolb,
thanks a lot for bringing this project to life and maintaining it 🙌 It's a breeze to use!
I recently encountered an issue where the backend failed to parse timestamps generated using our generated code. For example:
2020-03-24T9:56:03Z

The problematic part here is the hour component of the timestamp: 9
According to the format specified by the generated code HH (as well as the format expected by our backend), the hour component should be padded, i.e two digits: 09
After a bit of investigation, it turned out that the affected users in question had set their phones to use 12-hour time instead of 24-hour time. This has two consequences:

Between 1 and 9 am/pm, the hour component of the timestamp has a single digit, going against the expected format
Generally, even if the timestamp has the expected length (between 10 and 12 am/pm), the hour component doesn't differentiate between e.g. 11am and 11pm (whereas the former should appear as 11 and the latter should appear as 23)

It appears that Apple also officially recommends  using the en_US_POSIX locale in these situations - as the formatters for decoding in Coding.swift already do.
The necessary changes to fix this I added in the first commit, e7e9563.
Additionally, while at it, I noticed the formatters don't have the Gregorian calendar set, although specified according to RFC3339, so I took the liberty to also add this in the second commit, bfa0acc. While doing this I noticed DateDay.dateFormatter has set the calendar to current purposefully, so I didn't touch it but wanted to bring it up here instead.

Thanks @floschliep! Could you add a changelog entry, and also run the tests which will generate the fixtures that will need to be committed for CI

@yonaskolb Sorry for the delay.
I rebased the branch and added the changes you mentioned.


Introduce Vector#replace method

This change will add new method to Vector.
replace(specifier, replacer) => vector

Accepts Scalar, Range  of Integer, Vector, Array, Arrow::Array as a specifier
Accepts Scalar, Vector, Array and Arrow::Array as a replacer.
Boolean specifiers specify the position of replacer in true.
Index specifiers specify the position of replacer in indices.
replacer specifies the values to be replaced.

The number of true in booleans must be equal to the length of replacer

vector = RedAmber::Vector.new([1, 2, 3])
booleans = [true, false, true]
replacer = [4, 5]
vector.replace(booleans, replacer)
# =>
#<RedAmber::Vector(:uint8, size=3):0x000000000001ee10>
[4, 2, 5]

specifier in indices.
indices = [2, 0]
replacer = [4, 5]
vector.replace(indices, replacer)
# =>
#<RedAmber::Vector(:uint8, size=3):0x000000000000f244>
[4, 2, 5]

indices are used after sort.
vector[0, 2] = [4, 5] is desirable but I can't because vector#[]=(x, y) always return y.


do not mark bug label as stale

Signed-off-by: Xiang Dai<EMAIL_ADDRESS>

@thanos-io/thanos-maintainers
Need to discuss which label should be ignored, while i think "bug" should not be marked as stale.

Maybe pinned as well? https://github.com/thanos-io/thanos/issues?q=is%3Aopen+is%3Aissue+label%3Apinned

Good find, wait for another input, then update.

Pinned and bug label sounds perfect for now (:
On Mon, 13 Jan 2020, 12:00 Xiang Dai<EMAIL_ADDRESS>wrote:

Good find, wait for another input, then update.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thanos-io/thanos/pull/1991?email_source=notifications&email_token=ABVA3O7OMCUDLAQQZJRVT4LQ5RCVXA5CNFSM4KF3ODS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIYJHEQ#issuecomment-573608850,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVA3OY2UOVOL7QVDAHWY73Q5RCVXANCNFSM4KF3ODSQ
.

@bwplotka done.


Task to install a new theme: mix contento.install.theme

There should exist a task to easily install a new theme into a current project, given the theme Git repo or local location.
The task should take as parameters a Git repo or local directory where the theme is. The flags it accepts are:

local — Required when not specifying a Git repo, which is the default behaviour. Boolean

Themes are installed to [project_dir]/priv/themes and registered on database.
Example
The command bellow will install the Simplo theme into the project.
$ mix contento.install.theme https://github.com/contentocms/simplo.git

TODO: try to use tabler as another Contento theme
https://github.com/tabler/tabler


OpenSource :  1. History of free and open-source software (1980 & 1990’s)

Description :

Explain the History of free and open-source software (1980 & 1990’s)

Note :

Changes should be made inside the Open_Source/ directory & Opensource branch.
Issue only for GWOC'21 contributors.
Issue will be assigned on a first come first serve basis, 1 Issue  ==  1 PR.

Must Follow : Contributing Guidelines & Code of Conduct before start Contributing.
Reference : https://opensource.org/history#:~:text=The Open Source Definition was,Debian developer community in 1997.
Happy Contributing 🙌

I would like to be assigned this issue

I would like to be assigned this issue

Sure @Adi7171
Happy Documenting 🙌😉

so how do I contribute do I do it through github readme for documentation

so how do I contribute do I do it through github readme for documentation

Hey, You can contribute through documentation, audio & video. See: https://github.com/girlscript/winter-of-contributing/blob/main/.github/CONTRIBUTING.md
For documentation, It should be markdown format
Create new directory History of free and open-source software
Inside made your contribution

so I am supposed to write it on google collab and not on readme?

so I am supposed to write it on google collab and not on readme?

@Adi7171  You can use markdown as well

PR merge #160, Closing this now


Domain name change hetkasteelpark.be -> vibo.be

hetkasteelpark.be -> vibo.be

@risjanssen First stage of verification passed, official domain is vibo.be as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@risjanssen Thank you for your patience while waiting for a review and processing your request. Pull request merged.


WIP: add repoman sync for github action

fix #2520
WIP:
testing repoman
auto run npm build in gha

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
No changes detected.


Betternether

BETTERNETHER COMPAT YES

No worries Steve, I have defaulted to squash and merge for PR's now

Awesome work man :star:

Awesome! Good to hear squash is default now.


DOC: Add composition example to internals.rst

Follow-up of #9802. Added an example of composition to internal.rst.
Also, fixed broken section name for subclass document.

I made a few grammar/language suggestions.
But actually, I'm not sure this example makes the best case for why composition is usually a better idea than subclassing. Using __getattr__ makes this ComposedSeries example a sort of limited version of subclassing.
So many we should show an example of how subclassing can lead to unexpected behavior or a more realistic version of composition that simply makes use of a series or frame to hold internal state.

status?

@sinhrks going to move this to next version.

@sinhrks can you update

closing, but if you'd like to update, pls reopen


Hyperparameter Tuning

Hi, I am new to this project and was wondering if anyone could help me with how to tune hyper parameters?  Perhaps something like gridsearch or other auto tuning method example?
Thanks for any help

Hi @jmrichardson
Currently, there are no built-in methods available for this. You could try some external tools such as ParameterGrid to create the hyper-parameter configurations to loop over.

Thanks,  will have a look.


Odd behaviour on CentOS (and RHEL)

I just had to find out, that CentOS (and obviously RHEL) have PHP installed without the 'posix' module. This leads to an odd behaviour in 'is_writable'. See the console capture that shows the problem:
$ cat composer.json
{
    "require": {
        "mikey179/vfsStream": "*"
    }
}
$ php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing mikey179/vfsstream (v1.2.0)
    Downloading: 100%

Writing lock file
Generating autoload files
$ cat posix_module_test.php
<?php

require_once "vendor/autoload.php";

use org\bovigo\vfs\vfsStream;

vfsStream::setup("base", 0755);

$stat = stat(vfsStream::url("base"));

$expected_uid = trim(`id -u`);

$actual_uid = trim($stat["uid"]);

if ($expected_uid != $actual_uid)
{
    echo "Failed asserting that " . $actual_uid . " is " . $expected_uid . "\n";
}

if (!is_writable(vfsStream::url("base")))
{
    echo "This wrongly means that the directory is said to not be writable!\n";
}
$ php -m | grep posix
$ php posix_module_test.php
Failed asserting that 0 is 500
This wrongly means that the directory is said to not be writable!
$ sudo yum install php-process
$ php -m | grep posix
posix
$ php posix_module_test.php
$

The problem - as far as I understand it - lies in the fact, that the virtual 'base' driectory is created as root (0) because it get's the UID through vfsStream#getCurrentUser(). The PHP function 'is_writable' is using the correct current user, which is 500 in my case and therefore is not allowed to write to the virtual 'base'.
I cannot really say what my expectations are: Is it simply a 'Known issue' or is there a possibility in the code to overcome this odd behaviour?

I decided to not look into any further possibilities. Instead, I added a note in the requirements that Posix must be enabled. As on Windows no Posix is available I can't add it to the requirements in the composer.json file.


No database folder when decompressing CAT_prepare_20210107.tar.gz

Hi,
When decompressing CAT_prepare_20210107.tar.gz the log files say that a database folder is produced but it is not. Log is below. Taxonomy folder is produced. What to do?
Thanks,
Viola
CAT v5.2.1.
CAT prepare is running, constructing a fresh database.
Rawr!
WARNING: preparing the database files may take a couple of hours.
Supplied command: ../../CAT_pack_latest_code/CAT_pack/CAT prepare --fresh --path_to_diamond ./Diamond_2.0.6/diamond
Taxonomy folder: ./2021-01-07_taxonomy/
Database folder: ./2021-01-07_CAT_database/
Log file: ./2021-01-07.CAT_prepare.fresh.log

[2021-01-07 21:01:49] DIAMOND found: diamond version 2.0.6.
[2021-01-07 21:01:49] Taxonomy folder ./2021-01-07_taxonomy/ is created.
[2021-01-07 21:01:49] Database folder ./2021-01-07_CAT_database/ is created.
[2021-01-07 21:01:49] Downloading and extracting taxonomy files from ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/ to t$
[2021-01-07 21:01:54] Download complete.
[2021-01-07 21:01:54] Checking file integrity via MD5 checksum.
[2021-01-07 21:01:54] MD5 of ./2021-01-07_taxonomy/2021-01-07.taxdump.tar.gz checks out.
[2021-01-07 21:01:56] Extracting complete.
[2021-01-07 21:01:56] Downloading mapping file from ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/accession2taxid/ to ta$
[2021-01-07 21:07:44] Download complete.
[2021-01-07 21:07:44] Checking file integrity via MD5 checksum.
[2021-01-07 21:07:44] WARNING: no MD5 found in ./2021-01-07_taxonomy/2021-01-07.prot.accession2taxid.FULL.gz.md5. $
[2021-01-07 21:07:44] Downloading nr database from ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/ to database folder.
[2021-01-07 22:13:57] Download complete.
[2021-01-07 22:13:57] Checking file integrity via MD5 checksum.
[2021-01-07 22:20:40] MD5 of ./2021-01-07_CAT_database/2021-01-07.nr.gz checks out.
[2021-01-07 22:20:40] Constructing DIAMOND database ./2021-01-07_CAT_database/2021-01-07.nr.dmnd from ./2021-01-07$
[2021-01-07 22:51:13] DIAMOND database constructed.
[2021-01-07 22:51:13] Loading file ./2021-01-07_taxonomy/nodes.dmp.
[2021-01-07 22:51:15] Loading file ./2021-01-07_CAT_database/2021-01-07.nr.gz.
[2021-01-08 00:18:00] Loading file ./2021-01-07_taxonomy/2021-01-07.prot.accession2taxid.FULL.gz.
[2021-01-08 02:05:36] Finding LCA of all protein accession numbers in fasta headers.
[2021-01-08 03:16:29] Done! File ./2021-01-07_CAT_database/2021-01-07.nr.fastaid2LCAtaxid is created. 12,997,882 o$
[2021-01-08 04:53:37] Searching nr database for taxids with multiple offspring.
[2021-01-08 05:25:25] Writing ./2021-01-07_CAT_database/2021-01-07.nr.taxids_with_multiple_offspring.

[2021-01-08 05:25:25] CAT prepare is done!
You may remove ./2021-01-07_CAT_database/2021-01-07.nr.gz now.
Supply the following arguments to CAT or BAT if you want to use this database:
-d / --database_folder ./2021-01-07_CAT_database/
-t / --taxonomy_folder ./2021-01-07_taxonomy/

I will try again and request more memory.

I will try again and request more memory.

Hi Viola,
The unpacking should give you the db folder as well. If you keep having this problem it would be a good idea to check the md5sum of CAT_prepare_20210107.tar.gz and compare it with https://tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20210107.tar.gz.md5, to see whether everything went OK with the download.
Keep me posted!
Bastiaan

Hi Viola,
The unpacking should give you the db folder as well. If you keep having this problem it would be a good idea to check the md5sum of CAT_prepare_20210107.tar.gz and compare it with https://tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20210107.tar.gz.md5, to see whether everything went OK with the download.
Keep me posted!
Bastiaan

Hi Bastiaan,
I checked the md5sum and it did not match, so something must have gone wrong with the download. I will try again. I will also check my SGE_Batch logs to see if I can see where things went wrong. I had a weird binary file appear during download,  CAT_prepare_20210107.tar.gz.1. Any idea?
Thanks! Viola

Hi Bastiaan,
I checked the md5sum and it did not match, so something must have gone wrong with the download. I will try again. I will also check my SGE_Batch logs to see if I can see where things went wrong. I had a weird binary file appear during download,  CAT_prepare_20210107.tar.gz.1. Any idea?
Thanks! Viola

CAT_prepare_20210107.tar.gz.1 is likely a temporary download file.. Could you try to redownload again? If the problem persists let me know!

CAT_prepare_20210107.tar.gz.1 is likely a temporary download file.. Could you try to redownload again? If the problem persists let me know!

Awesome, I'm glad it worked!

Awesome, I'm glad it worked!


Simultaneous support for both CyAPI and libusb

This is more of a thought at the moment and note for the future: The current ConnectionSTREAM has a a dual implementation for both libusb and CyAPI separated by a lot of #ifdef __unix__.

However it should be the case that any platform could be built for either api regardless. The ifdefs should reflect the API or rather we should have two separate ConnectionSTREAM implementations for each rather than all of the ifdefs in one single implementation.
And further, the way connection registry is handled, both ConnectionSTREAMLibUSB and ConnectionSTREAMCyAPI could be compiled at the same time -- Bladerf actually does this support for both as a redundancy when one usb library is causing a problem.

Closing old issue. There are no plans to implement simultaneous CyAPI and libusb support for FX3.


Create fob_sync customized command to sync betwen File System and IBM Cloud Object Storage

./cron1 fob_sync --max-get NNN --max-put MMM
Maximum number of gets from IBM Cloud Object Storage, and maximum number of puts, will avoid unnecessary costs, and ensure the option to make sync process uni-directional if desired.

new commands:   /cfc_app/management/commands/fob_sync,py and fob_stats.py
Needs review and testing.

Tests complete.


@statoscope/webpack-plugin does not work without statsOptions.context

Describe the bug
if not specify statsOptions.context, webpack build fails with error:

TypeError: Cannot read property 'context' of undefined

Expected behavior
no error
Versions:

Webpack: 4
Statoscope: 5.9.0

@statoscope/webpack-plugin v5.8.0 works without error.

@ValeraS can't reproduce :(
Can you provide Statosope plugin config example?

@ValeraS fixes in 5.9.1
Thanks for the issue 🙏

@smelukov issue was fixed in<EMAIL_ADDRESS>but from what i investigated, it should be fixed in @statoscope/webpack-stats-extension-package-info package. Because of that previous versions of @statoscope/webpack-plugin still doesn't work, for example issue still exists in<EMAIL_ADDRESS>TypeError: Cannot read property 'context' of undefined
    at WebpackCompressedExtension.handleCompiler (/node_modules/@statoscope/webpack-stats-extension-package-info/dist/index.js:22:100)
    at StatoscopeWebpackPlugin.apply (/node_modules/@statoscope/webpack-plugin/dist/index.js:42:30)

@KubaZ thank 🙏  Fixed in 5.10.2

Thanks @smelukov for lighting fast fix<EMAIL_ADDRESS>is working again ;)

@KubaZ btw, you could update all of statoscope packages that you use to latest versions 😁
There are some cool features (e.g. new stats validators and ability to pass any custom reports to the UI)


setText() error

ss

@endroid I finally moved from 3.9 to 5.0, is there a replacement since setText() seems to have been removed?


Converts the max_size argument in Storage::entries to an Option<u64>

Closes #98

Thanks for this PR, @pwoolcoc :) Really great to see your name around here.

@Hoverbear no problem!

@Hoverbear do you think it would be worth changing .entries to
fn entries<I: Into<Option<u64>>>(&self, idx: u64, max_size: I) -> Result<Vec<Entry>>

so that the API can remain compatible? As it is, code that calls raft_log.entries(1, 2) is broken by this PR

@pwoolcoc it's public API, so yes I think that's a great idea! :) If it were private this wouldn't be a concern.

@Hoverbear this changes the signature of the Storage trait, but I assume it is less common for external code to implement that trait than it is for code to call the methods. But if I'm wrong, I'm happy to change it back :)

@pwoolcoc Generally it is implemented (MemStorage is not useful in production!), But I think changing one signature in a function is easier than changing call sites.
@siddontang Do you have an opinion?

I didn't get to this today but it's at the top of my queue for tomorrow. Thanks @pwoolcoc !

Pausing merge on this PR until #182 . This will be part of 0.5.0 :)

This all looks great to me, except that I don't know the reason for the discrepancies in function signatures.
All three public functions, entries, slice, and limit_size accept either impl Option or Option. Seems like they should be consistent, with impl Option seemingly being the preference for preserving compatibility.
@pwoolcoc You may have already addressed this, but could you say a bit about why they should be different? Or if they should be the same, just change them all to impl Option.
I imagine that impl Option won't provide complete backwards compatibility since there is more type inference required to determine the argument type. But in practice it probably won't affect many.
👍

We might not need to worry about backwards compatibility since we're bumping version numbers rapidly, and as @pwoolcoc mentioned, the more backwards-compatible impl Into<Option still breaks compatibility with the trait. So there's no way to do this and maintain backwards compatibility.
I'm not clear yet on whether impl Into<Option> arguments are considered a best practice or not. It's clever, makes the function slightly easier to call, slightly harder to read, mostly preserves backwards compatibility, potentially generates duplicate versions of the function.
I don't have enough info to make an opinion about Option vs impl Into, just want the signatures to be consistent.

@brson I, personally, like impl Into<Option> better when I'm using a library, but I'm willing to change this to what yall would like the API to be. I will change slice to match the others, in the meantime, and just let me know if you decide it should be different :)

PTAL @brson

I still see slice taking plain Option, not impl Into<Option> as a public function, which seems like it should change to me for consistency. But I'm also willing to accept that either I'm wrong, or we can merge it and fix it later. So LGTM.

@pwoolcoc What do you think about this suggestion from @brson ?

Thanks @pwoolcoc !

@brson @Hoverbear thanks, sorry I've been slow to respond!

@pwoolcoc Thanks so much for the contribution!


Unable to open link to download IEMOCAP preprocessed dataset

Hello, David
I've filled out the form to request a dataset, and I've also gotten permission from the IEMOCAP team. But I can not open the download URL. Can you check to see if there's a problem with the URL? I will be grateful for your help!

@Jimmy66641 Sorry for the inconvenience. The link has broken. Let me know how to contact you (via email). Or you may drop an email to me. I'll provide a new link to you.

@Jimmy66641 Sorry for the inconvenience. The link has broken. Let me know how to contact you (via email). Or you may drop an email to me. I'll provide a new link to you.

I have contacted you via email and obtained the new download link. Thank you very much!

@Jimmy66641 Sorry for the inconvenience. The link has broken. Let me know how to contact you (via email). Or you may drop an email to me. I'll provide a new link to you.

Hello, I have the same problem, I also got the license for the dataset, I don't know how to download the processed dataset? Here is my email<EMAIL_ADDRESS> 3q！


BUG: The fonts are not match in team page also hovering effect not good

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?

The fonts are not match in team page also hovering effect not good
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@RamakrushnaBiswal assigned

solved #473


Do not manage ipv6 for host mode containers

Related to docker/docker/issues/32433

LGTM

@aboch @mavenugo can you please make sure it goes into master before we cut 17.05-rc1 ?

@vieux yes. @aboch is working on it as we speak


registerPlugin not found

After reading the docs, the plugin looked very promising, but cannot get it to work as of yet, likely due to unclear instructions. registerPlugin cannot be found (using capacitor V3).
Steps to reproduce the behavior:

Start new project using capacitor V3 (Angular + Ionic)
Run npm install @capacitor-community/background-geolocation, npx cap update
Attempt build

Please include the error output.

<EMAIL_ADDRESS>Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>"export 'registerPlugin' was not found in '@capacitor/core'

Your build system is misconfigured, and is resolving the "@capacitor/core" dependency to a non-existant file.

I don't understand as everything else works properly. Seems the plugin instructions are unclear to me!


Warn about dependency resolve timeout

When some api call fails with non-json object, dependenced design will fault to render => no DeferCascade/DeferRender callbacks is invoked.

Moved to future, cause cause huge refactor, required A promises.


[Docs] Update gtp5g version and add iptables troubleshooting steps

Documentation request
GTP-U module version was outdated and docs lacked a way to help resetting iptables rules
Suggestion
Update the version and add an new troubleshooting entry
Additional context
I've tested both suggested modifications on latest v3.3.0 stable release and they work.
PRs already made on the docs repository

As the PR was already merged, I had to open another one to edit the content of the file. I've written the phrase in another way to avoid confusion and made a new PR https://github.com/free5gc/free5gc.github.io/pull/73.


Salary: Rethink the categories

Need to be able to calculate average while being able to compare with HESA

solved

While fixing the translation or rather conversion of the salary answer list I've seen that the scales for the countries or currencies are handled differently. So what's the purpose of this question? Is it to get a country specific insight or do you plan to compare it across countries? Here are the respective files:
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/uk/salary.csv
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/aus/salary.csv
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/nzl/salary.csv
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/zaf/salary.csv
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/us/salary.csv
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/de/salary.csv
https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/nl/salary.csv
Is it required to harmonise the scales / answers?


Warnings when using Unity Package Manager

Hi,
I was testing the new Unity Package Manager (2018.1) by moving Entitas to a different folder and importing it in the manifest.json file.
Steps:

Import Entitas from Asset Store
Test some basic component + system (everything works fine)
move Entitas folder outside of the project
create package.json file in the new Entitas folder
update manifest.json file in Unity project to import custom Entitas package

manifest.json
{
  "dependencies": {
    "com.unity.progrids": "3.0.2-preview",
    "com.desperatedevs.entitas": "file:../../../UnityCustomPackages/Entitas"
  }
}

package.json  (in UnityCustomPackages/Entitas)
{
    "name": "com.desperatedevs.entitas",
    "displayName": "Custom Unity Package for Entitas",
    "version": "1.5.2",
    "unity": "2018.1",
    "description": "This package provides ...",
    "keywords": ["entitas"],
    "category": "Systems",
    "dependencies": {
    }
}

But using it that way generates a bunch of warnings in the console when running the game:
null texture passed to GUI.DrawTexture
UnityEngine.GUI:DrawTexture(Rect, Texture)
Entitas.VisualDebugging.Unity.Editor.EntitasHierarchyIcon:onHierarchyWindowItemOnGUI(Int32, Rect)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

@mchamplain looks like the icons in the images folder are not found, or rather the meta files which contain the labels for those icons. VisualDebugging initially searches for those icons based on labels.
Are they missing?

Any news?

@sschmid I didn't really investigate more at the time and moved Entitas back to Unity directly. But yesterday I tried to share the project with a colleague (via Git), and he got the exact same issue. When we deleted the Entitas folder from his side and re-downloaded the files from github, everything worked.
So I investigated a bit more and found that I was ignoring .meta files in my repo from the .gitignore in a parent folder. So yeah, the labels were gone when Unity regenerated the files.
Closed. Solution: make sure the .meta files are versioned controlled

Ok, great.
Btw, meta files should always be in version control, too. They may contain important information


reimplement eliminate_limit

Which issue does this PR close?

Close #4264.
Part of #4267
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

This rule must after #4276. Because I need add some test for cooperate with it.


Ark Analysis can't install through PYPI

Please refer to our FAQ and look at our known issues before opening a bug report.
Describe the bug
Currently Ark cannot be installed via PYPI. It is due to the requirements.txt file not being found.
Collecting ark-analysis
  Using cached ark-analysis-0.4.1.tar.gz (296 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/srivarra/.pyenv/versions/3.8.13/envs/ark-3.8/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/Users/srivarra/.pyenv/versions/3.8.13/envs/ark-3.8/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/srivarra/.pyenv/versions/3.8.13/envs/ark-3.8/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/fy/q2szypn9325d_0g0nq049k300000gq/T/pip-build-env-ro_zvi_n/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/fy/q2szypn9325d_0g0nq049k300000gq/T/pip-build-env-ro_zvi_n/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/fy/q2szypn9325d_0g0nq049k300000gq/T/pip-build-env-ro_zvi_n/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 482, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/fy/q2szypn9325d_0g0nq049k300000gq/T/pip-build-env-ro_zvi_n/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 21, in <module>
      FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/fy/q2szypn9325d_0g0nq049k300000gq/T/pip-install-__yl7pxm/ark-analysis_442d8caf3e654a1482fb20edd3df73f3/requirements.txt'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Expected behavior
It should gather the requirements properly and install them, alongside Ark directly.
To Reproduce
Run pip install ark-analysis in a fresh python environment.

Ideally the same email address used to register the main PyPI account. I can set a dummy username and password for the computational team to use.

We should switch them both to the angelolab gmail account so you guys have access


run in browser

Hi there! is it possible to port this project to browser?
thanks in advance.

Hey @pouyamiralayi!
You can run most of the features of Alva (except local library connect) also in the browser. Just run in the folder of your repository:
First terminal window: yarn tsc -b -w
Second terminal window: yarn webpack -w
Third terminal window yarn alva --host=node
Then you should be able to open the URL shown in the third terminal window in your browser.
Does that work for you?
Cheers
Tilman

Hello @tilmx  great thanks for your kind answer and support. it works like a charm. this project seems very promising. thanks in advance.


Update TackleTestapp binary tests

Updating test for Tackle Testapp Public Binary analysis and related test data.
Related to https://github.com/konveyor/go-konveyor-tests/pull/161, https://github.com/konveyor/go-konveyor-tests/pull/169
Replaces https://github.com/konveyor/go-konveyor-tests/pull/168
Fixes https://issues.redhat.com/browse/MTA-3654

TIER0 and TIER1 are green, merging.
The fix needed for tackle-testapp binary from maven repo analysis to succeed was just within the maven repo that had incosistent built of the binary (public referenced internally to some component within private tackle-testapp). Thanks @jmle for binary rebuilt and related maven packages updates.


fix(package): update webpack to version 4.36.1

Closes #640

Codecov Report

Merging #647 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #647   +/-   ##
======================================
  Coverage    8.16%   8.16%
======================================
  Files          38      38
  Lines         245     245
  Branches       26      26
======================================
  Hits           20      20
  Misses        208     208
  Partials       17      17

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 f4dab5d...4610f3a. Read the comment docs.


_history isn't accurate with the current state of shown list

This might not directly be an issue, but would definitely be an awesome functionality enhancement in my opinion. I am failing because the "_history" value always is one click in delay, so I need to trigger the click 1 more time anywhere in the drilldown container to have the "_history" data updated. Is this intended? Or differently asked, could the "_history" part be modified in a way, so that one could use it as iterable data for breadcrumbs?
This is what I have so far.
$('div.drilldown').drilldown().on('click.drilldown', function(){
// Empty breadcrumb list
$('#drill-crumbs').empty();
$.each($drillSelector.data('drilldown')._history, function(index, value){
$drillCrumbs.append('> ' + value.context.firstChild.data + '');
}).on('mouseenter', function(){
// This will re trigger and make the history update.. (example, shouldn't be done this way)
$(this).trigger('click');
});
})
Do you know what I mean or am I doing something thats "not intended"? ;-)
Anyway, very nice plugin!! cheers

Sorry for late reply.
History is updated after drilling animation finishes. That's where the delay you've described is coming from. And _history is not intended for direct access as it's marked as private. This could be improved, but is out of scope right now.


Colorpicker inside bootstrap modal bug - cannot manually edit value

Hello,
I have a problem that when I put the colorpicker in the bootstrap modal box, you cannot enter your own value anymore in the text field. This is annoying because now you cannot paste the hexadecimal value in it.
Please see attached image. I've also added an example project in the compressed file below so you can test it.

colorpickertest.zip
I want to implement the colorpicker inside the  CMS concrete5, however concrete5 uses modal boxes for editing content. It would be really nice if this can be fixed as designers wish to paste their value in it.

Closing it as it's solved by using the appendTo function as said in the documentation. My bad!


Php error on customize page

It should not be bug, but i installed the vccw perfectly, and every thing its ok, but i'm getting this php error in the customize page.

Can you help me ?

Please deactivate plugin Dynamic Hostname.

Sorry @miya0001, i just removed the vm, and installed again and the error stopped, can't reproduce the error again

Happened to me as well. When I deactivate Dynamic Hostname, I loose my admin interface as follow:

Btw, I am unable to connect to vccw.dev even with the plugin activated.

Please visit http://vccw.dev/ .
http://vccw.cc/#h2-2


added token expiration time and software for API testing

Postman has really made the lives of developers very easier. Every developer must have idea of this software

Thanks @ab-anand for your contribution , appreciated. But I disagree with the changes.
1- there is no rules for token expiration , it depends on business logic of your web application 1 hour acceptable in one project and not acceptable in another.
2- I agree that PostMan is amazing software for api testing , but its not the only tool you can use for testing api , there is a lot of tools in the market, so it will be hard to mention exact product names in our list.

Yep @netcode thanks for correcting me.
But i added that Postman thing because I think there should be a section about some tools for API testing and Postman is a good tool to get started and also other tools can be added. Please add that section.

#84 is a subset of #85, and accepting both would be superfluous (and possibly would conflict with each other).
#85 is newer, flatter, and by the same author.

Closing #84.

#84  was not completely right.
please merge #85


Support self-defined withdrawal_pubkey in deposit-cli

Issue
Currently, the key generator generates the withdrawal key and a child key as the signing key.
It may be flexible to allow users to use an old withdrawal key to create new signing keys.

As per the discussion in #29, the trick with a feature like this is guaranteeing that the signing_key has not yet been used.


Update llvm to Release 12.0 rc5

Signed-off-by: Kevin O'Brien<EMAIL_ADDRESS>

Jenkins Linux s390x Build #558 [push] Update llvm to Release 1... started at 19:44

Jenkins Linux amd64 Build #560 [push] Update llvm to Release 1... started at 18:44

Jenkins Linux amd64 Build #560 [push] Update llvm to Release 1... passed after 1 hr 23 min

Jenkins Linux s390x Build #558 [push] Update llvm to Release 1... passed after 1 hr 25 min


Life Line locks up with latest builds

I don't have any logs because I frankly do not know how to get PCSX2 to dump a log when this is happening as the emulator is still 'running' but the game is hard locked and EE usage is spiked at 100%.  Life Line is essentially unplayable at least on my computer using the latest USBqemu-wheel versions. I see the plugin settings indicate a way to do debug logging but when enables, but I'm not seeing any logs generated unless they're going somewhere outside of the emulator directory.
I tried 0.6.1 and 0.7.3 and both work fine at first but eventually emulation freezes and the emulator resource usage spikes to 100% and requires a task manager kill on Windows. The time it takes to lock up seems to be random, I've had it take from 10 minutes to 25 minutes. Switching to 0.5.2
I was able to play the game for an hour and a half with no crash, switched back to 0.7.3 and the game proceeded to crash again after about 15 minutes.
Any assistance is appreciated, happy to provide logs if able to create them. Using the same emulation configuration I can run games that do not make use of the mic functions without the same crash that Life Line is exhibiting. The crash happens on PCSX2 1.2.1, 1.4.0, and 1.5.0 nightlies using 0.7.3, so I don't suspect it is PCSX2 itself as the game is marked as playable in wiki. Tried various renderer options and audio output options to eliminate an alternate cause, same issue occurs regardless. Dump matches known good checksums from redump.

Which 0.6.1? Try 0.6.1-4 if the hangs might be caused by newer qemu usb code.

sorry for not clarifying, I used 0.6.1-5 when testing and saw freezes, I'll try with 0.6.1-4 here in a bit

tried 0.6.1-4, same lock up. I'll work my way up from 0.5.2 and see when it starts happening

0.6.0-2 froze on the title screen when I walked away before I could even load a save, I don't see a windows binary for 0.6.0-0, 0.5.2-1 does not freeze

How's 0.7.4?


RbVmomi deserialization fails on managed object type ContentLibrary

Describe the bug
This is actually the same bug from https://github.com/vmware-archive/rbvmomi/issues/205, but it is now locked over there.
I ran into the same issue, but was looking to wait for the Content Library Sync to finish for some post-processing.
I know that it is not the correct way to fix this, so I didn't add a pull request, but for anyone looking to get around the issue until a proper fix is available, I was able to hack a ContentLibrary object in so I could view the task list and wait for the sync task. You can find it on this commit: https://github.com/mahcsig/rbvmomi2/commit/46a708daea274f5e1f0f6a24317ded543e7aeac9
It doesn't actually work as a ManagedObject (it throws errors when trying to access attributes like name), but it works enough to allow the task to load.
Sorry this isn't in the proper format, but the above mentioned ticket is, and is still applicable.

Here is the XML for a task with a ContentLibrary object:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Task">task-202176</obj><propSet><name>info</name><val xsi:type="TaskInfo"><key>task-202176</key><task type="Task">task-202176</task><descriptionId>com.vmware.content.Library.Update</descriptionId><entity type="ContentLibrary">clib-6424</entity><entityName>Tanzu_Content_Library</entityName><state>success</state><cancelled>false</cancelled><cancelable>true</cancelable><reason xsi:type="TaskReasonUser"><userName>Administrator</userName></reason><queueTime>2023-01-05T15:39:25.674049Z</queueTime><startTime>2023-01-05T15:39:25.845494Z</startTime><completeTime>2023-01-05T15:39:26.113964Z</completeTime><eventChainId>17541175</eventChainId><activationId>dd3b93d7-23f3-45f8-82a3-35e76402e516</activationId></val></propSet></returnval></RetrievePropertiesResponse>
</soapenv:Body>
</soapenv:Envelope>

For readability:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
    <RetrievePropertiesResponse xmlns="urn:vim25">
      <returnval>
        <obj type="Task">task-202176</obj>
        <propSet>
          <name>info</name>
          <val xsi:type="TaskInfo">
            <key>task-202176</key>
            <task type="Task">task-202176</task>
            <descriptionId>com.vmware.content.Library.Update</descriptionId>
            <entity type="ContentLibrary">clib-6424</entity>
            <entityName>Tanzu_Content_Library</entityName>
            <state>success</state>
            <cancelled>false</cancelled>
            <cancelable>true</cancelable>
            <reason xsi:type="TaskReasonUser">
              <userName>Administrator</userName>
            </reason>
            <queueTime>2023-01-05T15:39:25.674049Z</queueTime>
            <startTime>2023-01-05T15:39:25.845494Z</startTime>
            <completeTime>2023-01-05T15:39:26.113964Z</completeTime>
            <eventChainId>17541175</eventChainId>
            <activationId>dd3b93d7-23f3-45f8-82a3-35e76402e516</activationId>
          </val>
        </propSet>
      </returnval>
    </RetrievePropertiesResponse>
  </soapenv:Body>
</soapenv:Envelope>

Thanks for knocking this out so quick @agrare and @Fryguy !

@agrare @Fryguy Not sure if you want another ticket of if this one will work, but I just ran into the ContentLibraryItem object throwing the same error after an object gets deleted from the library
/var/people/appuser/.rvm/gems/ruby-3.1.3/gems/rbvmomi2-3.6.0/lib/rbvmomi/type_loader.rb:104:in `make_type': unknown VMODL type ContentLibraryItem (RuntimeError)

Thanks!

Hey @mahcsig !  That looks like a new data type coming in that is causing the same problem.  Since this issue is closed and tied to a release tag could you open a new issue for this so I can link a new PR to it?  Thanks!


bump up version to 2.0.0

This change drops the release candidate portion of the current version and officially bumps to 2.0.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

https://github.com/aws/aws-step-functions-data-science-sdk-python/issues/108

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 6e03395cb31b42a7770729a69a898d1239e57e3c
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 6e03395cb31b42a7770729a69a898d1239e57e3c
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

The logs say all the tests succeeded, but the CodeBuild build still failed.
Additionally: AWS CodeBuild us-east-2 (StepFunctionsPythonSDK-integtests) and AWS CodeBuild us-east-2 (StepFunctionsPythonSDK-unittests) are artifacts of the previous CI setup and shouldn't be in the checks anymore.

The logs say all the tests succeeded, but the CodeBuild build still failed.
Additionally: AWS CodeBuild us-east-2 (StepFunctionsPythonSDK-integtests) and AWS CodeBuild us-east-2 (StepFunctionsPythonSDK-unittests) are artifacts of the previous CI setup and shouldn't be in the checks anymore.

yep, the build timeouts are off (fixing those up). the teardown of the old build infrastructure will get rid of those builds.


Add the scraping script to this repo

Could you add the scraping script to this repo? This would make it possible for the community to contribute features like automatic scraping using GitHub actions.

I left it out on purpose for now, because I am not sure whether ODRS is fine with being scraped.
Fetching reviews in 6 languages for 7236 apps, took around 7 hours (1 thread).
Lets wait for the opinion of upstream https://gitlab.gnome.org/Infrastructure/odrs-web/-/issues/20

fixed by 76152db268749b7950bd3c753d42e6671f4e1507


Is there documentation for current_page?

Seems like main variables are missing on the middlemanapp page, like
current_page
not sure what the other ones are because of lack of documentation

Maybe this helps http://www.rubydoc.info/gems/middleman-core/4.2.0/Middleman/TemplateContext


Move sidekiq_job_duration_seconds from Counter to Summary

I'd love to be able to see p99, p90, p50 for Sidekiq job durations.

Looks good to me, this info totally helps


Fix extra newline being added when formatting document

Fixes #521

The use of T.lines above looks suspicious to me, btw. Afaict, T.lines interprets "newline" as purely "\n" and leaves "\r" in place. I have not considered/tested the exact consequences of this, but it seems not all unlikely to be behind this newline bug and also potentially other newline insertion problems that were reported for HIE.
@Bubba Unrelated: Under what circumstances does brittany remove trailing newlines?

@lspitzner what do we do with this PR?

I cannot reproduce the issue with readFile:
> :!hexdump -C test.txt
00000000  66 69 72 73 74 0d 0a 73  65 63 6f 6e 64           |first..second|
0000000d
> TIO.readFile "test.txt"
"first\r\nsecond"

I also point out that it is really hard to tell from

> cat test
hello world
this is a test with no newline

whether the file actually terminates with a newline. It really should look like this:
> cat test
hello world
this is a test with no newline> [cursor here]

As this might be system/locale dependent, I should add that I have tested on linux only, with "\n" and "\r\n". @Bubba what environment are you seeing this in?

Sorry, disregard what I said about T.readFile! I was naïve to think that echoing to a file wouldn't add a newline. I'm on macOS 10.13. I will try to figure out more about what is exactly causing this.

What I'm now convinced was happening is that the range of text being replaced didn't include the last newline character, which meant that it stayed around after the formatted text was inserted, adding an extra line. From the specification:

If you want to specify a range that contains a line including the line ending character(s) then use an end position denoting the start of the next line.

Although I found that the end range column needs to be past zero, contradictory to above. This was tested on VS Code.

The Position type is zero indexed(as specified by LSP), but the tuple (Int,Int) is assumed to always be one indexed in HIE(as GHC reports positions as one indexed tuples). toPos :: (Int, Int) -> Position converts between these two representations. So
toPos (1,1) == Position 0 0

The mixing of types here is unfortunate(probably my fault, and how this bug originated). It would be better to use one of these position types consistently here.
Otherwise it looks good.


Use images from GHCR instead of DockerHub

Set latest Tag when a new GitHub Release is triggered

Fixes #214


"Not found" on dynamic routes

I'm trying to make OAuth in my app, using Neutralino, Vite and Vue, but on any routes, that are not same with 'http://localhost:8080/dist' it returns 404.
I cannot even use parameters in this base route, cannot use root (http:/localhost:8080) as main url, thus it breaks Vue with relative paths.
So, if there is any way to make normal SPA with Neutralino, how can I do this?
I want to handle routes with vue-router at least, and be able to use parameters in URL.

Sorry, not neutralino problem

No, still get 404 when trying to get page with address like 'http://localhost:8080/oauth?code=...'
It applies just fixed initial routes.

Solution: make mini server with extensions and send events to main app when redirected to localhost.
My sample:
const argv = require('minimist')(process.argv.slice(2));
const WS = require('websocket').w3cwebsocket;
const { v4: uuidv4 } = require('uuid');
const express = require('express')

const app = express()
const port = 3333

const NL_PORT = argv['nl-port'];
const NL_TOKEN = argv['nl-token'];
const NL_EXTID = argv['nl-extension-id'];

let client = new WS(`ws://localhost:${NL_PORT}?extensionId=${NL_EXTID}`);

app.get('/oauth', (req, res) => {
  client.send(JSON.stringify({
    id: uuidv4(),
    method: 'app.broadcast',
    accessToken: NL_TOKEN,
    data: {
        event: 'callback',
        data: {
          // yours data
        }
    }
  }));
  res.send('Success, you can close this window now')
})

app.listen(port, () => {
  console.log(`Example app listening on port ${port}`)
})

client.onerror = function () {
    console.log('Connection error!');
};

client.onopen = function () {
    console.log('Connected');
};

client.onclose = function () {
    console.log('Connection closed');
    // Make sure to exit the extension process when WS extension is closed (when Neutralino app exits)
    process.exit();
};


[SPARK-47453][SQL][DOCKER][BUILD][TESTS] Upgrade MySQL docker image version to 8.3.0

What changes were proposed in this pull request?

Upgrade MySQL docker image version to 8.3.0
Why are the changes needed?

test dependencies upgrading
Does this PR introduce any user-facing change?

no
How was this patch tested?

passed locally with:
./build/sbt -Pdocker-integration-tests  "docker-integration-tests/testOnly *MySQLIntegrationSuite"
Was this patch authored or co-authored using generative AI tooling?

no

Merged to master for Apache Spark 4.0.0.

Thank you @dongjoon-hyun

Hi, @yaooqinn and @dongjoon-hyun, MySQL 8.3 is not an LTS version while 8.0 is, as an RDBMS, a non-LTS version is not likely adopted widely than LTS.
https://dev.mysql.com/blog-archive/introducing-mysql-innovation-and-long-term-support-lts-versions/
Also, Spark officially only supports LTS Java versions, like JDK 17 and 21, but not 22. I would recommend using MySQL 8.0 until the next LTS version is available.

It's an interesting suggestion. However, I don't think Apache Spark has such a community policy for MySQL LTS support so far, @pan3793 .
Do you have a concern that MySQL community doesn't follow Semantic Versioning and will break something between 8.0 and 8.3?

According to your request, why don't you send an email to initiate the discussion about the discussion, @pan3793 ? We can make it as a new community policy (JDBC LTS?) if needed.

Is it necessary for a test/dev dependency to be a strict LTS? Is it even comparable with policies of adopting JDKs?

The connector/j version was bumped up before this server-side change.
It's nice to pre-check if any behavior changes when upgrading to the latest. So far so good.

According to suggestions by MySQL official https://dev.mysql.com/doc/refman/8.3/en/upgrade-paths.html

It is necessary to upgrade to the latest innovation releases (for example, from MySQL 8.2 to 8.3) regularly to keep up with the latest bug fixes and security patches.

+1 for @yaooqinn ’s comment.

@dongjoon-hyun thanks for your suggestion, I sent an email to the user/dev mailing list, but limited the scope to MySQL version policy since I have less knowledge of other RDBMS.
https://lists.apache.org/thread/rqso3mf3ll1p2sfw02wzcxbjo2xno6go
@yaooqinn I would say, yes, MySQL(including the similar product provided by Cloud vendors, i.e. Amazon RDS for MySQL) is one of the most important infrastructures today.

Is it even comparable with policies of adopting JDKs?

Thank you. I replied.

https://lists.apache.org/thread/mz1ww4wsqd5sfwkokrn938l2nlyx2vqg


Search doesn't check all files

When starting a Search of a folder with subfolders that contain around 444000 images the search simply stops around 140000 scanned files and jumps to finished.
There is not error message.
Is there any way to find out at which file this fails?
I tried AntiDupl.NET v2.3.9 and complied the current source. Happens with both.

I have an assumption:
Options -> Advanced options -> Maximal count of results - this parameter controls the maximum number of results that a program can be found in one search. For example, if during the search program will be achieved this the number of results, the search will be automatically terminated. This restriction is useful to save program resources allocated to the graphical representation of the results list. By default, this value is 100000.
https://ermig1979.github.io/AntiDupl/data/help/english/index.html?page=options.html

Yes that was the problem. I changed the setting to 1.000.000 and now all is working. Totally overlooked that setting in advanced.
Thanks for the help and the useful program.


Limit Iterator

The necessary component to make mid-query limit work. Acts as a limit on Next(), a passthrough on Contains(), and a limit on NextPath()

Done in #369

Merged


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/913 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit 3ff1832:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


feature: tab closing with confirming

This is not backwards compatible.  Is this fixing a bug?

From the perspective of UI experience, I think if a user selects "Close Tab" in the menu, then he must want to close the tab, no matter whether it is currently modified or not. Therefore, I think it is more friendly to pop up a confirm dialog box at this time than to directly prompt that it cannot be closed.
I know this is an incompatible change and would like to discuss the feasibility of this change.

The user can just use set confirm.
We should have consistent behaviour for all operations, not hardcode confirm for just tabclosing.
I tend to agree that set confirm by default would be a more sane default, but indeed it would be a breaking change.

In this case being backwards compatible is more relevant than introducing behavior which can be what the user wanted, or perhaps not.
Therefore I prefer not to make this change.


rss readers whitelist

hello,
please add inoreader https://www.inoreader.com/ and bazqux https://bazqux.com/ (rss readers) to the whitelist:
https://developers.cloudflare.com/firewall/known-issues-and-faq#bots-currently-detected
thanks

@pedrosousa Would you mind investigating this recommendation for rss readers in the firewall developer documentation.

Hi @patrickdrd
The owners of the RSS Readers you mentioned must submit a bot verification request. Cloudflare will then evaluate if they should be added to the list of detected bots.
The bot verification request form is available here:
https://docs.google.com/forms/d/e/1FAIpQLSdqYNuULEypMnp4i5pROSc-uP6x65Xub9svD27mb8JChA_-XA/viewform?usp=sf_link
You can find information on the bot verification process in Developer Docs:
https://developers.cloudflare.com/bots/get-started/bm-subscription#verified-bots


Beta release compass

This PR is to update the version number of the s1-reader for beta release of COMPASS.

This is the only relevant commit?

This is the only relevant commit?

Yes. The fix on s1_annotation.py is in PR #92 and already merged.


Implement bitwise-not operator (~) in ast builder

resolved #1350
Implement ExprNode for ~ operator.
And add a test case.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

13 of 13 (100.0%)  changed or added relevant lines in 1 file are covered.
34 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 98.553%

Files with Coverage Reduction
New Missed Lines
%

core/src/executor/aggregate/mod.rs
34
82.47%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
46436

Relevant Lines:
47118

💛  - Coveralls


fix(plugin-content-docs): enable docs translations

Motivation
Hello!
First, thanks for awesome work for made i18n so easy!
In our project, we use the same documentation file for few sidebars - every library doc live in API reference, and we try to group some docs by feature (routing, state management, etc.).
Sidebar for API reference doc and for feature may have different title, so we can't use frontmatter title for this, and i spend some time to find best way for differend sidebar translations per one document file.
Fortunately, @slorber already solve this problem, and left commented code in plugin-content-docs
If it don't break something, i want to enable docs translation functionality.
Fix translations.test.ts, because createSampleDoc don't create unique unversionedId, and translateLoadedContent create only translation for last doc.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
First, docusaurus write-translations  --locale en should add new fields for every sidebar docs in i18n/en/docusaurus-plugin-content-docs/current.json
Second, docusaurus start --locale en should respect translations in current.json in sidebar and docs title
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

Hi and thanks for the feedback.
I'm not sure to understand your use-case, can you detail and maybe share live URLs of your site with API ref and feature pages? And the source code if possible?
In my opinion, adding translation for frontmatter is not a good idea. It may be a good idea for your specific use-case, but may not be good for the rest of the users because they'll try to translate the frontmatter and those translations in md would be overridden by the translations of the i18n json files. Giving 2 ways to translate things makes the system more complex and less intuitive so we'll only add this if there's a really strong use-case that we can't solve in another way. That's why I must 100% understand your use-case :)

Note, I plan to introduce a docs plugin option callback createFrontMatter() that would allow you create/modify existing docs frontmatter. This can gives you the opportunity to introduce custom frontmatter like titleAPI and titleFeature, and map one or the other to the official title frontmatter according to your use-case and own rules. This may be a more generic solution to this problem.

Yes, i have a live example)
This document (untranslated for now) - https://tramvai.dev/en/docs/references/libs/router - available at two categories in sidebar: Feature.Routing and Reference.Libs
Document source is here - https://github.com/TinkoffCreditSystems/tramvai/blob/main/packages/libs/router/README.md
And for features, we want one title, for example - Our awesome router
For reference, another, just package name - @tinkoff/router
Shor version of our dynamically created and untranslated sidebars.json:
{
  "docs": {
    "Возможности": [
      {
        "type": "category",
        "label": "Routing",
        "items": [
          {
            "type": "doc",
            "label": "Библиотека @tinkoff/router",
            "id": "references/libs/router"
          }
        ]
      }
    ],
    "Справочник": [
      {
        "type": "category",
        "label": "Библиотеки",
        "items": [
          "references/libs/router"
        ]
      }
    ]
  }
}

Without thist PR, we can translate only categories in i18n/en/docusaurus-plugin-content-docs/current.json - sidebar.docs.category.Возможности and sidebar.docs.category.Справочник
And the question is how we can prodive two different title translations for one document?

I find it a weird pattern to use the same doc twice under the same sidebar with different titles, + the doc will be highlighted under 2 distinct categories, leading to a weird UX.
I don't think this use-case is good enough to support this new translation feature, unless you prove me it's a widely used and good practice documentation pattern to do so, by providing examples of live doc sites doing this or any ref material.
I'd suggest:

Use an MDX partial for your doc: https://docusaurus.io/docs/markdown-features/react#importing-markdown
Create one entry doc for each sidebar entry
Use a different route/title/id/sidebar_label for each doc
Import the shared MDX content in both entry files
We have an issue with the TOC on MDX partials, but the trick we use on our changelog page might solve your problem: https://raw.githubusercontent.com/facebook/docusaurus/main/website/community/5-changelog.md

If you really want to use a single doc / route for this page, I'd recommend to use a ref:
https://docusaurus.io/docs/next/sidebar#sidebar-item-ref
I'd be fine to allow providing a custom label to a ref sidebar item, to support your use-case

Going to close this because I believe there are better alternatives, but still open for discussion

Thank you for interesting advices, ref looks suitable for our case!
In a future, i think we don't really need to use the same doc twice, but it will be a complete rework, so i try to find compromises)

Thanks for understanding
Does it make sense to add a label in the ref item for your use-case? That would be way easier and I'm surprised we can't do this already

Just try to use ref, have a similar behaviour to

the doc will be highlighted under 2 distinct categories, leading to a weird

But label is working)
{
    "type": "ref",
    // see this label at sidebar
    "label": "TEST @tinkoff/router",
    "id": "references/libs/router"
}

So maybe label support already implemented?

I see. Indeed it looks like the code supports it, not the doc 🤪 will add it
Is the double-highlight a problem? Should we make the ref not highlighted?

:))

Is the double-highlight a problem? Should we make the ref not highlighted?

It will be nice, but is it technically possible?
Ideally, we need to highlight only pressed sidebar, but what we need to highlight after page reloading, for example?
Or if we highlight only source document link everytime, UX will be weird to.
Maybe you have a better and simple solution?)

Ideally, we need to highlight only pressed sidebar, but what we need to highlight after page reloading, for example?

Hmm I don't think there's much we can do here, we don't really want to persist click state or whatever, and just use current URL + link target to do the highlighting.
Probably complex to solve for little value, will not work on this but if it's important you can open a dedicated issue

Thanks you for helping!
Agreed that there is no simple solution, so I think no need to open new issue, we always can restructure our sidebar)

Sorry, one more thig.
Try MDX partial - have problem with content duplicates.
What about type: ref translations? Looks like docusaurus don't have this opportunity now?
I can modify this PR, and change translateDocs to translateRefs :)

Try MDX partial - have problem with content duplicates.

I don't understand what you mean.

What about type: ref translations? Looks like docusaurus don't have this opportunity now?

I can modify this PR, and change translateDocs to translateRefs :)

refs should be translated already by translateSidebar, which translate links (refs and docs are both links)

I don't understand what you mean.

If i use one documentation file as partial in two different docs, search will find same content at both of it

refs should be translated already by translateSidebar, which translate links (refs and docs are both links)

As i can see, doc and ref are not translated in https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-plugin-content-docs/src/translations.ts#L154

If i use one documentation file as partial in two different docs, search will find same content at both of it

Yes, the same content exist on 2 separate routes

As i can see at code and when debugging, doc and ref are not translated in https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-plugin-content-docs/src/translations.ts#L154

Indeed it seems you are right: we can only translate categories and link items, not doc/ref labels.
But I don't understand why it's relevant for your use-case though: if you can add a custom label to each sidebar doc/ref, you don't really need to use the i18n support to customize the labels.

I can modify this PR, and change translateDocs to translateRefs :)

In this case, this is not what should be done. What should be done is to complete the translateSidebar implementation to handle the missing doc/ref type (only if a custom doc/ref sidebar label is provided).
My code shouldn't be uncommented, it's a different use-case.

Oh I see 😅 forgot that you had doc/ref AND en/ru.
So yes, the impl of translateSidebar should be completed to handle doc/ref (not what this PRR does).
Do you want to work on it?

Yes, be cool to implement this feature)
I'm just open a new PR later.
Do you have some advice about implementation, maybe test cases?

Thanks, waiting for your PR.
You have to complete getSidebarTranslationFileContent and translateSidebar to support doc/ref labels + add tests for this. Only items with a custom label should be in the translation file content (not all doc/ref items).
I can't really help more, otherwise it'll be faster for me to implement this myself 😅


New file api

BAM, now you can call run.files or run.file("name") and download it with .download()

This is amazing @vanpelt ... Thanks
cc: FYI @mmjb @mallamanis you can now download files from the project with the wandb dataset api, letting you know incase it is helpful

@hohsiangwu, @tifret

What's the ETA of pushing this to pypi?  Just want to use this for something I'm working on and wondering when it will be ready

:wave: I am trying to use download on the file object that I got but get 500 error. Also, if I copy the download link from the web UI and try to run wget, it also shows 500 error. While I can download directly from the web UI.
I guess there is some authentication we need to pass in? I did already set the WANDB_API_KEY env variable.
Here is the error message in case it helps.
In [59]: f.download()
---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/wandb/apis/__init__.py in wrapper(*args, **kwargs)
     46         try:
---> 47             return func(*args, **kwargs)
     48         except requests.HTTPError as err:

/usr/local/lib/python3.6/dist-packages/wandb/apis/public.py in download(self, replace)
    483         response = requests.get(self._attrs["url"], stream=True)
--> 484         response.raise_for_status()
    485         path = self._attrs["name"]

/usr/lib/python3/dist-packages/requests/models.py in raise_for_status(self)
    839         if http_error_msg:
--> 840             raise HTTPError(http_error_msg, response=self)
    841

HTTPError: 500 Server Error: Internal Server Error for url: https://api.wandb.ai/github/search/7ydg3nrs/SelfAttentionModel_application_1541734216035_0145_model_best.pkl.gz

During handling of the above exception, another exception occurred:

CommError                                 Traceback (most recent call last)
<ipython-input-59-ea0566af65aa> in <module>
----> 1 f.download()

/usr/local/lib/python3.6/dist-packages/wandb/apis/__init__.py in wrapper(*args, **kwargs)
     47             return func(*args, **kwargs)
     48         except requests.HTTPError as err:
---> 49             raise CommError(err.response, err)
     50         except RetryError as err:
     51             if "response" in dir(err.last_exception) and err.last_exception.response is not None:

CommError: <Response [500]>

Hey @hohsiangwu we think this may have been caused by a brief GCP outage, are you seeing the same error if you try now?

Yeah, still seeing the same 500 error.
If you visit the url from the error message: https://api.wandb.ai/github/search/7ydg3nrs/SelfAttentionModel_application_1541734216035_0145_model_best.pkl.gz directly, you can see the error message as
Permission denied for read on project github/search as anonymous

Ahh, I see what was going on.  If you run wandb login on the machine you're running it from we write a file to your home directory named .netrc with your API key.  The current python package reads this automatically, but doesn't use the environment variable automatically.
I'm pushing a fix until then, if you run wandb login on the machine it should work.

Awesome, sounds good, thanks a lot for looking into this!

Just to confirm, using wandb login for now works, thanks!


Fix NetworkPolicy watcher:

Description

In watcher cache, restart loop after a channel closure rather than trying to process the zero-valued event.
In networkPolicyWatcher,

only try to cast the value if it is non-nil so that error events are passed through
fix the scoping of variables to avoid leaking values from one loop to the next

Improve logs in the watcher; avoid using the work "process", which was confusing.

Fixes #669
Todos

[ ] Tests
[x] Documentation
[x] Release note

Release Note

None required

Merged under a different PR


LEAP installation Issue

Hi!
I am working for building a docker file and a docker image for LEAP.
But things got wrong on installation on LEAP on the current version.
Despite I'm using Leap very well on my local computer, and I'm testing for several environments on several server, the installation of LEAP occurs the same error on every attempts.
When executing pip install . , the error below outcame.
root@workspace-2hw8cpn8igqf-0:~/LEAP# pip install .
Processing /root/LEAP
Preparing metadata (setup.py) ... done
ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-bok50650
Earlier versions of Leap (like versions from Feb 2024 or late 2023) didn't shown this kind of error, so something might gone wrong when fixing other problem from then.
I hope this problem will go well.

Hello, would you please re-run the LEAP pip install with the -v flag and send me the screen output?  Thanks.

Hello, would you please re-run the LEAP pip install with the -v flag and send me the screen output? Thanks.

here is the screenshot.

It looks like you need to install a newer version of cmake.  LEAP requires that you use version 3.23 or higher.


Provide instructions on how to unregister service workers in Readme

Readme should include instructions on how to unregister service workers once the tutorial is over. I was attempting to use http://localhost:8080 for a different project and the Hoodie Offline Tutorial was still on it since I forgot to unregister the service workers.
I'd be happy to edit the readme and make a PR with the instructions.

yes that’d be very helpful, thanks!


autoupdate needed

An auto-update mechanism will be needed.. I assume http://sparkle.andymatuschak.org/ is the right choice... http://sparkle.andymatuschak.org/

We're using Sparkle 1.5b6 until it's limiting the functionality of the BackupMinder app

Is this done?

Nope, still need this

Ok what needs done now that the update functionality is in the app?


Two small fixes

setfnt crashed on non-XL/XE machines on the second run if no font file was specified the first time.
cpm65.inc was missing in the small SD version.

Merged --- thanks!


GenericRecord deserialization test case fails on Flink 1.10 connector

Problem description
On cherry-picking the commits into the Flink 1.10 connector, the testInputFormatWithAvroRegistryDeserializer is failing with below error
The class 'org.apache.avro.generic.GenericRecord' is not instantiable: The class is not a proper class. It is either abstract, an interface, or a primitive type.

It is the same issue described in https://issues.apache.org/jira/browse/FLINK-18223 and fixed in 1.10.2, but we are still using 1.10.0. We need to bump up the Flink version of Flink 1.10 connector to fix this
Problem location
gradle.properties
Suggestions for an improvement

Closed via #444


Read all columns if dimension element is present but invalid

Excel can open .xlsx such files so it'd be useful if ExcelDataReader could as well.
For example the file here https://sgi.sgmarkets.com/rest_en/excel?ticker=SOLEXPD has a dimension element but its value is A1 when there in fact are four columns of data.

FYI
Bug 53611 - Incorret dimension set in created workbook sheet xml file

It appears a 100% fix involves parsing the ref attribute according to its formal grammar and have additional logic reject valid parse trees refering to single columns/rows or relative cells (and dont set sheet.Dimension in those cases).
Reference for the dimension element:
https://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.sheetdimension(v=office.14).aspx
Documentation for the dimension's ref attribute:
"The row and column bounds of all cells in this worksheet. Corresponds to the range that would contain all c elements written under sheetData. Does not support whole column or whole row reference notation. The possible values for this attribute are defined by the ST_Ref simple type (§18.18.62)."
Reference for the "ST_Ref" simple type:
https://msdn.microsoft.com/en-us/library/dd952022(v=office.12).aspx
It says ST_Ref has the following grammar:
(A1-cell [":" A1-cell])  / ref-constant

And links to the full grammar here:
https://msdn.microsoft.com/en-us/library/dd906358(v=office.12).aspx
Extracting the relevant grammar rules for "A1-cell" and "ref-constant":
A1-cell = A1-column A1-row
A1-area = A1-cell ":" A1-cell
A1-column = A1-relative-column / A1-absolute-column
A1-relative-column = 1*2letter / A-to-W 2letter / "X" A-to-E letter / "XF" A-to-D
A-to-D = %x41-44 / %x61-64
A-to-E = A-to-D / "E"
A-to-W = %x41-57 / %x61-77
letter = %x41-5A / %x61-7A
A1-absolute-column = "$" A1-relative-column
A1-row = A1-relative-row / A1-absolute-row
A1-relative-row = row-digit-sequence
row-digit-sequence = nonzero-decimal-digit *5decimal-digit /  "10" %x30-33 4decimal-digit / "104" %x30-37 3decimal-digit / "1048" %x30-34 2decimal-digit / "10485" %x30-36 decimal-digit / "104857" %x30-36
A1-absolute-row = "$" A1-relative-row
...
decimal-digit=  %x30-39
nonzero-decimal-digit = %x31-39
...
ref-constant = "#REF!"

Should be fixed as part of https://github.com/ExcelDataReader/ExcelDataReader/pull/139.


Client can't find node

Hey,
I have set that with --registry=consul.
If I use "client.NewClient()", it can't work.

Error #01: {"id":"go.micro.client","code":500,"detail":"error selecting go.micro.srv.hello node: not found","status":"Internal Server Error"}

Please see the code below.
service := web.NewService(
	web.Name(name),
	web.Version("lastest"),
)

if err := service.Init(); err != nil {
	log.Fatal(err)
}

// cl := hello.NewExampleService("", client.DefaultClient) // it's work
cl := hello.NewExampleService("", client.NewClient())     // error selecting go.micro.srv.hello node: not found

apiService := handler.New(cl)
router := gin.Default()
router.Use(gin2micro.TracerWrapper)
router.GET("/user/login", apiService.Anything)

service.Handle("/", router)

if err := service.Run(); err != nil {
	log.Fatal(err)
}

Please use service.Options().Service.Client()
A new client is not initialised when you call service.Init.

Thank you very much!


AbstractConfigurationAwareModule#buildConfigObject does not consider config defaults

When using AbstractConfigurationAwareModule#buildConfigObject the config defaults are not used. That leads to two problems:

config could have incorrect configuration
validation of the config could fail

Sounds like a bug. Do you know how to fix that?

validation of the config could fail

Validation which are annotated would fail right ?

When we build a config object we specifically pass empty config default to be used


Add related works

Fixes #132

TO-DOs

[x] Break this up into 2-3 logical pieces (and add another piece to lint JS?)
[x] Tests!
[x] Review README to make sure the nested fields are being added / tested in all of the necessary places
[x] Add section to the README describing how to add a nested field (or at least pointing at the requisite example.)

@justinlittman I made all the changes but because of the collection druid issue locally, I can't 💯 verify they didn't break things. If it did, we'll eventually find it and ticket it 🤷🏻♂


Inspecting a JScallback returns an error

This requires this pr https://github.com/denosaurs/deno_python/pull/65 to work, otherwise it will segfault
import { python } from "/home/mrcool/dev/deno/others/deno_python/mod.ts";

const inspect = python.import("inspect");
inspect.signature(python.callback(() => {}));

no signature found for builtin <built-in method JSCallback:anonymous of NoneType object at 0x7f218cf558a0>
error: Uncaught (in promise) PythonError: no signature found for builtin <built-in method JSCallback:anonymous of NoneType object at 0x7f218cf558a0>  File "/usr/lib64/python3.12/inspect.py", line 3335, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/inspect.py", line 3075, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/inspect.py", line 2592, in _signature_from_callable
    return _signature_from_builtin(sigcls, obj,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/inspect.py", line 2382, in _signature_from_builtin
    raise ValueError("no signature found for builtin {!r}".format(func))

Looks like we need to setup __signature__ attribute

Its not setable,
import { PyObject } from "../others/deno_python/src/python.ts";
import { python } from "/home/mrcool/dev/deno/others/deno_python/mod.ts";

const inspect = python.import("inspect");
const c = PyObject.from(python.callback(() => {}));
c.setAttr("__text_signature__", "hello");

inspect.signature(c);

error: Uncaught (in promise) PythonError: attribute '__text_signature__' of 'builtin_function_or_method' objects is

I feel like the issue is different, the issue is somehow the callbacks are considered builtin despite  they're not

Actually maybe its normal that its called builtin, since its coming from the c api, so I guess the question is how to add signature attribute


Where can I download the dataset?

Thank you very much for contributing this dataset, but I don't know where to download it？

Hello, our papers are still in the review stage and will be published once they are officially accepted

Thank you for your interest, our paper has been officially accepted by JBHI! We have publicized the download link of our BMCD-FGCD dataset, if you need to use our dataset, please cite our paper as requested. Meanwhile, the dataset can only be used for research purposes, any commercial behavior is prohibited without permission.


chore: deps updated

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
TODO

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

Comparison is base (f610787) 67.22% compared to head (c5721d4) 67.22%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #132   +/-   ##
=======================================
  Coverage   67.22%   67.22%
=======================================
  Files          12       12
  Lines         360      360
  Branches       34       34
=======================================
  Hits          242      242
  Misses        118      118

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


The processing code of Human3.6M and 3DPW

Great Work! However, I'm confused about which file I should download for Human3.6M from https://github.com/mks0601/NeuralAnnot_RELEASE. There are three links (data, SMPL parameters, and SMPL-X parameters).
Another issue is when will you share the processing code of Human3.6M and 3DPW? It's essential to me.
Thanks a lot.

Hi, thanks, for Human3.6M data, please download https://1drv.ms/f/s!All7gdNh7XE5oRb-ZscrxlS75Ogb?e=EaFfQz.
For the preprocessing code of Human3.6M and 3DPW, as long as the data files are downloaded, you will find they share very similar format, you can directly use the same preprocessing code but only need change the folder path.

I notice that the data of H36m does not contain gender_id and framerate, what should I set them to?

Dear author, is the origin framerate of H36m data 60 fps?

Close as being inactive. Please feel free to open again, thanks.

Hey @zhangy76 , i think so the data for testing which you've provided above link seems not working, it's kind of authenticating in loop, can you please look into this


Get ApiView Status by ApiView UUID

We need a rest api to return the apiview’s status by apiview link/id. For example:
GET https://apiview.dev/AutoReview/GetReviewStatus/Review/881d013952a54321848d7e9b651f4361

This is duplicate of another issue created to track this change. https://github.com/Azure/azure-sdk-tools/issues/4695


[LCAP-3597] Capture the GACs and marcKey when possible

Ticket: https://staff.loc.gov/tasks/browse/LCAP-3597
This updates extractContextData in utils_network.js to capture the marcKey.
And updates setValueComplex in profile.js to load the values GACs and marcKey into the userValue of the profile.
Not sure if there are other madsrdf:code fields thatneed to be included in this.
There's a small update to createLiteral in utils_export.js to be able to handle the incoming uri for the GACs code. The bf2marc conversion wants rdf:about, but createLiteral was only able to create rdf:resource.
@thisismattmiller I can't check that this actually does anything to the MARC preview. But in the XML preview everything looks like it is in place

This is now producing XML that looks like:
      <bf:geographicCoverage>
            <madsrdf:Geographic xmlns:madsrdf="http://www.loc.gov/mads/rdf/v1#" rdf:about="http://id.loc.gov/authorities/names/n79053995">
                <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">Florida</rdfs:label>
                <madsrdf:code rdf:datatype="http://id.loc.gov/datatypes/codes/gac">n-us-fl</madsrdf:code>
                <bflc:marcKey xmlns:bflc="http://id.loc.gov/ontologies/bflc/">151  $aFlorida</bflc:marcKey>
            </madsrdf:Geographic>
        </bf:geographicCoverage>
        <bf:contribution>
            <bf:PrimaryContribution>
                <bf:agent>
                    <bf:Agent rdf:about="http://id.loc.gov/authorities/names/no94024260">
                        <rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#PersonalName"/>
                        <rdfs:label xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">Abbott, Katherine R. Smith (Katherine Renell Smith), 1965-</rdfs:label>
                        <bflc:marcKey xmlns:bflc="http://id.loc.gov/ontologies/bflc/">1001 $aAbbott, Katherine R. Smith$q(Katherine Renell Smith),$d1965-</bflc:marcKey>
                    </bf:Agent>
                </bf:agent>
            </bf:PrimaryContribution>
        </bf:contribution>

and creates MARCXML when using Oxygen to run the transformation:
  <marc:datafield tag="043" ind1=" " ind2=" ">
      <marc:subfield code="a">n-us-fl</marc:subfield>
      <marc:subfield code="0">http://id.loc.gov/authorities/names/n79053995</marc:subfield>
   </marc:datafield>
   <marc:datafield tag="100" ind1="1" ind2=" ">
      <marc:subfield code="a">Abbott, Katherine R. Smith</marc:subfield>
      <marc:subfield code="q">(Katherine Renell Smith),</marc:subfield>
      <marc:subfield code="d">1965-</marc:subfield>
      <marc:subfield code="0">http://id.loc.gov/authorities/names/no94024260</marc:subfield>
   </marc:datafield>


[XLG][PEP] XLG Segments Refactor for Personalization and PEP

Refactor how we load XLG segments for personalization. Also enable us using XLG segments for PEP.
The old personalization experience should not be broken.
Test URLs:

Before: https://stage--express--adobecom.hlx.page/express/experiments/ccx0167/home
After: https://pep-aep--express--adobecom.hlx.page/express/experiments/ccx0167/home

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

Comparison is base (89a8be5) 34.15% compared to head (95de33f) 33.94%.

Files
Patch %
Lines

express/scripts/utils.js
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #626      +/-   ##
==========================================
- Coverage   34.15%   33.94%   -0.22%
==========================================
  Files         132      132
  Lines       25428    25406      -22
==========================================
- Hits         8685     8624      -61
- Misses      16743    16782      +39

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