Downloading stalls indefinitivelly when connexion is lost

Describe the bug
When connexion to the data provider is lost, downloading stalls and no progress is observed. The system seems to be blocked in an infinite loop.
Steps To Reproduce
I start (parallel) download, then remove my computer from the grid (I shut down wifi connexion), I wait some time (I've only tried with 20-50 minutes), connect back the computer and... nothing happen (for hours).
I use eodag with the following code.
def _download_and_extract_one_product(dag, raw_directory, product):
    logging.info("Starting download of %s...", product)
    ok_msg = "Successful download (and extraction) of %s" % (product, )  # because eodag'll clear product
    file = os.path.join(raw_directory, product.as_dict()['id']) + '.zip'
    try:
        path = dag.download(
                product,       # EODAG will clear this variable
                extract=True,  # Let's eodag do the job
                wait=1,
                timeout=2
                )
        logging.debug(ok_msg)
        if os.path.exists(file) :
            try:
                logger.debug('Removing downloaded ZIP: %s', file)
                os.remove(file)
            except OSError:
                pass
    except BaseException as e:
        logging.error('Failed to download (and extract) %s', product)
        path = None

    return path

def _parallel_download_and_extraction_of_products(dag, raw_directory, products, nb_procs, tile_name):
    paths = []
    log_queue = multiprocessing.Queue()
    log_queue_listener = logging.handlers.QueueListener(log_queue)
    dl_work = partial(_download_and_extract_one_product, dag, raw_directory)
    with multiprocessing.Pool(nb_procs, mp_worker_config, [log_queue]) as pool:
        log_queue_listener.start()
        try:
            for count, result in enumerate(pool.imap_unordered(dl_work, products), 1):
                logger.info("%s correctly downloaded", result)
                logger.info(' --> Downloading products for %s... %s%%', tile_name, count * 100. / len(products))
                paths.append(result)
        finally:
            pool.close()
            pool.join()
            log_queue_listener.stop()  # no context manager for QueueListener unfortunately

Output
Compete output obtained with maximal verbosity.
Environment:

Python version:  3.6.9
EODAG version: 2.3.3

Additional context
IIRC, it also happens with sequential download.
And the data provider is PEPS.

Hello @LucHermitte , thanks for pointing this out. We'll look at it and give you a feedback as soon as possible


[operator] Integrate oneDNN eltwise_tanh into _npi_tanh operator

Description
Integrate oneDNN eltwise_tanh into _npi_tanh operator to improve its performance.
Performance
Without dnnl:

With dnnl:

As it is visible from the screen shots, performance has improved over 10 times.


Make heap stronger

Add follow functions to heap:

find (check if element is in heap)
remove (remove specified item)
updateSubHeap (Updates the top part of the heap with the element at the specified position as a sub-heap)

It can be used for cytoscape and @google-cloud/pubsub.


Global filter doesn't filter tracked entites

Global filters work correct for including/loading navigation collections if elements from collection aren't tracked. We get filtered record and filtered collection for it.
But please take a look on case when these elements were gotten before without filters (and are tracked now). In this situation when we are trying to get record with global filters and include/load its navigation collection then we also get collection elements which should be filtered.
Please let me know if I'm missing something or is it a bug which will be resolved?
Configuration:

modelBuilder.Entity<PresentationRecord>((
                entityTypeBuilder) =>
            {
//for better readability other required parts of configuration are skipped (entityTypeBuilder.ToTable/HasKey etc.)

                entityTypeBuilder
                    .HasQueryFilter(x => !x.Deleted);
            });
modelBuilder.Entity<CompanyRecord>((
                entityTypeBuilder) =>
            {
//for better readability other required parts of configuration are skipped (entityTypeBuilder.ToTable/HasKey etc.)

                entityTypeBuilder
                    .HasQueryFilter(x => !x.Deleted);

                entityTypeBuilder
                    .HasMany(x => x.PresentationRecords)
                    .WithOne(x => x.CompanyRecord)
                    .HasForeignKey(x => x.CompanyId);
            })

Problematic case:
//IF below line is uncommented then all presentations are loaded for notDeletedCompanies (also these with Deleted == true)
                var all = ctx.Presentations.IgnoreQueryFilters().ToList();

                var notDeletedCompanies = ctx.Companies
                    .Include(x => x.PresentationRecords)
                    .ToList();

@mailopoland We will discuss this, but as of now this behavior is as designed. The filters are query filters. That is, they filter what comes from the database in a query. Once an entity is being tracked it behaves just like any other entity that is tracked. This includes automatic fixup to other tracked entities. In the code above, any PresentationRecord entities that are tracked by the first query will end up fixed up to any companies tracked by the second query.
It would be useful to have some more details on what you are trying to achieve here. At first glance it looks like either you could be using a single context instance for more than one unit of work, or you could need a no-tracking query if this is intended to be for query only.


[Proactive][Fix][Performance] Winograd applicability for WrW direction

WrW direction is only supported by grouped Winograd kernels (ConvBinWinogradRxSf2x3 solver) and must be disabled for ConvBinWinogradRxSf2x3g1 solver.
Perf/Find DB are not affected, but they will be affected once the full blown fix for #1681 is implemented.

@atamazov pls review

@Slimakanzer

WrW direction is only supported by grouped Winograd

What are the side effects of the issue? This is important to know to categorize the patch.

@Slimakanzer Actually this is not a bug fix right now. This is a fix of #1682 that proactively resolves the future issue when WORKAROUND_ISSUE_1681 will be disabled.
Actual problem existed in our code even before #1533. What happens: Non-grouped kernels is unable to handle WrW by design, but G1 solver is not disabled. For non-grouped WrW convolution the G1 solver selects proper (grouped) kernel, but tuning is not engaged (because G1 solver is not tunable).
The possible side effects of the issue is: the performance of Winograd 2x3 for non-grouped WrW convolutions may suffer.

@junliume This PR is currently NFC, but it blocks bull-blown fix for #1681. Please merge this ASAP, if you can (or I will be forced to merge this into my PR and close this one -- this is acceptable scenario, but requires some more work). Thanks!

@junliume This PR is currently NFC, but it blocks bull-blown fix for #1681. Please merge this ASAP, if you can (or I will be forced to merge this into my PR and close this one -- this is acceptable scenario, but requires some more work). Thanks!

I am mostly concerned about perf impacts, but since it is a functional fix, I think we just need it earlier then.

@junliume This PR is No Functional Changes (until WORKAROUND_ISSUE_1681 is removed). Thanks!


Epic - Recreate PASS projects written in Go in Java

In order to harmonize the language requirements in the PASS project, this task is to create a Java equivalent of each project component currently written in Go that will replace the Go version. To the extent that the rewrite also allows the Java version to be simpler and/or more efficient, that is encouraged.
Current PASS repos utilizing Go:

pass-dupe-checker

26 go files
7633 lines of code

pass-download-service

15 go files
2782 lines of code

pass-metadata-schemas

31 go files
1324 lines of code

pass-policy-service

30 go files
3666 lines of code

pass-tools

17 go files
1433 lines of code

An independent issue should be created and linked here for each repo in the list above.

Links for individual project issues
#202
#203
#204
#205
#206


Directive scopeTypes like react's propTypes

One of my favorite parts of React is PropTypes. I would really really love to be able to utilize this kind of api in Angular.
For those not familiar, PropTypes essentially allows you to validate the api to your component so the developer is warned in the console when providing properties that are incorrect, of the wrong type, or are required and not specified.
I love this so much that I created apiCheck.js to bring this to the VanillaJS world. And I even started a little prototype (WIP) for adding scopeTypes to Angular 1.x directives.
I would happily work on adding this functionality to angular if there's enough interest. Even something as simple as a function that would be called to validate the scope properties would be nice... Just keeping validation out of my controller logic is what I'm looking for.
Note: I'm more interested in getting this concept accepted and implemented than I am in actually using apiCheck... I don't care what's used. I just want it to be easy.

I like this idea but I am concerned about the performance implications and how it could actually be implemented. Each of the directive "bindings", i.e. the scope or bindToController properties, are updated independently triggered by various watches that are set up a linking time. So I would expect that this validation hook would need to be triggered for individual bindings as their watch handler is triggered.
What do others think?

Yeah, I'll give more input later (parked now to respond quickly). But I've
been using angular-scope-types to hear success for about two months out so.
Performance is not an issue because the checking logic is returned from a
function that is not called in production. So the price I pay is the bytes
which I believe is outweighed by the benefit of a defined api.
https://github.com/alianza-dev/angular-scope-types

Kent C. Dodds

(Sent from my mobile device, please forgive typos or brevity)
On Jul 15, 2015 7:57 AM, "Pete Bacon Darwin"<EMAIL_ADDRESS>wrote:

I like this idea but I am concerned about the performance implications and
how it could actually be implemented. Each of the directive "bindings",
i.e. the scope or bindToController properties, are updated independently
triggered by various watches that are set up a linking time. So I would
expect that this validation hook would need to be triggered for individual
bindings as their watch handler is triggered.
What do others think?
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11657#issuecomment-121623545
.

Also, the tests could probably be written a little more clearly so you
could glean the api by looking at the test. And docs are non-existent, but
the demo should reveal the basic idea pretty well:
https://github.com/alianza-dev/angular-scope-types/blob/master/demo/script.js

Kent C. Dodds

(Sent from my mobile device, please forgive typos or brevity)
On Jul 15, 2015 8:09 AM, "Kent C. Dodds"<EMAIL_ADDRESS>wrote:

Yeah, I'll give more input later (parked now to respond quickly). But I've
been using angular-scope-types to hear success for about two months out so.
Performance is not an issue because the checking logic is returned from a
function that is not called in production. So the price I pay is the bytes
which I believe is outweighed by the benefit of a defined api.
https://github.com/alianza-dev/angular-scope-types

Kent C. Dodds

(Sent from my mobile device, please forgive typos or brevity)
On Jul 15, 2015 7:57 AM, "Pete Bacon Darwin"<EMAIL_ADDRESS>wrote:

I like this idea but I am concerned about the performance implications
and how it could actually be implemented. Each of the directive "bindings",
i.e. the scope or bindToController properties, are updated independently
triggered by various watches that are set up a linking time. So I would
expect that this validation hook would need to be triggered for individual
bindings as their watch handler is triggered.
What do others think?
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/11657#issuecomment-121623545
.

I've updated the documentation to describe how to use my library. But if this were implemented directly into angular the API would be much better (wouldn't have to do most of the stuff... It's just the getScopeTypes function that we'd still have to do).
https://github.com/alianza-dev/angular-scope-types
Also updated the demo so you can play with it: https://jsbin.com/kuqeye/edit?html,js,output

@kentcdodds if you could put together a very basic PR with a Proof of Concept for what the API would look like and how it would not impact production performance then I would be happy to discuss including it.

Fantastic! Would love to get something like this supported in core. Do you mind giving me a tip as to a good place to start? As well as where my tests should go?

The unit tests go in the test folder :-) If you are modifying the $compile service, which I guess you would need to do, then you look inside the test/ng/$compileSpec.js file. Warning it is big.

@petebacondarwin, I've finally made my first commit for this feature. Looking for feedback. I'm certain this isn't exactly how you want it implemented, but it shows the general idea of what I'm going after and what I'd expect.
Also, I'm not sure why, but doing this breaks other (seemingly unrelated) tests. They fail with something like:
DUMP: 'LEAK', '$scope', '"$SCOPE"'

Not sure what's going on there, but if you ddescribe my tests, they pass fine.
Looking for feedback and direction so I can iterate on this.

+1

since we're getting a Schema (https://github.com/angular/angular/issues/2014) feature  in Angular 2 perhaps we can do something similar for Angular 1

@kentcdodds I left some feedback on your commit.

Great effort !

Thanks @fabm22. I'd love to work on this more, but I don't think that I'll actually be able to make this happen. I hope it does get implemented eventually, but I don't think that I'll be the one developing it :-(

I take @kentcdodds idea and a bit rewrite it.  https://github.com/cawabunga/angular.js/compare/g3_v1_5...cawabunga:feature-directive-scope-validation
Disclaimer: i'm still working on it; commits are not formed by guide; needs more tests and docs update
When it be ready I will send a PR.

This is great to see!

I have few conceptual questions.
When checking should be called, only for initial values or when values change, and what about =-binding?
What to do with failed ones?
How it should be configured?
By now, the checking is calling every time the binding changes the value. Failed checking warn the logger. And now, there is no any configuration.
Thanks for your comments!

When checking should be called, only for initial values or when values change, and what about =-binding?

I would expect validation to happen every time a = binding is updated.

What to do with failed ones?

Just log a warning to the console.

How it should be configured?

Doesn't your implementation show how to configure it? You have some tests that seem reasonable to me ¯\_(ツ)_/¯ Or are you talking about app-level configuration? I don't see any reason to have app-level config.
Full disclosure: I don't work in angular codebases anymore, so my opinions should not really be considered for much :-)


forever -c option problem on window os

Hello,
I try to run with nodemon and forever using -c option.
but, it occur ENOENT error to 'nodemon' using -c option.
So, I found a problem like below.
child-process module use win-bash script on window os.
it should use full file name to bash script like 'nodemon.cmd' if run some command.
So, I try to run with full command like 'forever start -c nodemon.cmd ./main.js'.
But It occur same error like below.
Error: spawn nodemon ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
Finally I found a additional problem to monitor.js

monitor.js
=======================================
//
// ### @private {Object} safetyChecks
// Define default safety checks for commands
// with spaces in Windows & Linux
//
var safetyChecks = {
windows: /(?:"(.[^/])"|(\w+))(?:\s(.))?/,      //<-- Regular expressions truncate characters below '.' char.
linux:   /(.?[^\])(?: (.)|$)/
};
====================================

So, I will fix regex and pull request.
Please review my request.
** Refer Window path:  node_modules/.bin **
node_modules.bin\nodemon
node_modules.bin\nodemon.cmd
@romandev

This is caused by https://github.com/nodejs/node-v0.x-archive/issues/2318
As a workaround, add spawnWith: {shell: true} to your config.


README

User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN the prework project repository,
WHEN I view the README for the repository,
THEN I can see a professional README that provides information on the project and how to use it

Completed README.md to a good standard.


fix:新增json格式校验

json内的Valid方法没有引入，补上

@897bz 这个 Valid 引入以后没看到使用呢？

Codecov Report
Base: 51.31% // Head: 42.15% // Decreases project coverage by -9.16% :warning:

Coverage data is based on head (e06cd01) compared to base (4910ba5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1458      +/-   ##
==========================================
- Coverage   51.31%   42.15%   -9.17%
==========================================
  Files          90       55      -35
  Lines       12849     9340    -3509
==========================================
- Hits         6594     3937    -2657
+ Misses       5924     5074     -850
+ Partials      331      329       -2

Flag
Coverage Δ

unittests
42.15% <ø> (-9.17%)
:arrow_down:

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

Impacted Files
Coverage Δ

httprunner/models.py

httprunner/compat.py

httprunner/step_sql_request.py

httprunner/builtin/functions.py

httprunner/parser.py

httprunner/ext/uploader/__init__.py

httprunner/compat_test.py

httprunner/step_testcase.py

httprunner/loader.py

httprunner/response_test.py

... and 25 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Is the main.py will be the payload at the end?

No you will get an exe

same question

once I built the payload it show me this https://gyazo.com/50a22a5efca10a39e8b83bb5087800b7

I think it's a fake stealer

once i built the payload it show me this https://gyazo.com/50a22a5efca10a39e8b83bb5087800b7

Did the folder open automatically? After you press the build button, a command prompt will open and will then build the file. You will get a single exe named "Blank Grabber.exe"

@bakrodeh Don't just go on with assumptions

to make sure everything going clear
here is the full video during creating it:
https://streamable.com/wfgr1a

I Just saw the video and there is a problem with your python installation. To recheck, open cmd in an empty folder and run the command python -m venv env and then go to a newly created folder .../env/Scripts. Check if there is a file named activate.bat (which is not there in your video). Try to reinstall python to see if this issue is fixed or not.

@bakrodeh Don't just go on with assumptions

Okay brother ^_^

Reopen if issue is still there.


Tab order on password reset page is wrong

The first tab after the text box is the 'back to stroom' button, not the submit button.

Right now this only happens if the submit button is disabled. I.e. if there's no text in the email field.


Increment version for storage releases

Increment package version after release of azure-storage-blob

will do manually

API change check
API changes are not detected in this pull request.


UNIQUE_HASH_INDEX uses SBTREE engine?

After creating a UNIQUE_HASH_INDEX, the expected engine type was HASHINDEX, however the engine type listed is SBTREE.  Is this just a labeling issue/bug, or is the actual engine used SBTREE?
Thanks!

hi @matt-dyer
it is just a labeling issue
The engine is HASHINDEX
https://github.com/orientechnologies/orientdb/issues/5297


Generating data table but killed: 9

Hi velocyto-team,
velocyto.py is a excellent method to analyze scRNA-seq data. I want to analyze 10x scRNA-seq data by using velocyto. But I cannot get .loom file because of killed at the end of velocyto run.
I doubt this cause may be my PC RAM. Therefore, I set 128GB RAM but this killed problem is happened again. I do not know how to solve this problem. Could you tell me how to solve this problem?
Here is my code to run velocyto and I also prepare for cellsorted_possorted_genome_bam.bam file at my_path/outs/cellsorted_possorted_genome_bam.bam.
velocyto run -b ~/Downloads/my_path/outs/filtered_feature_bc_matrix/barcodes.tsv -o ~/Downloads/my_path/velocyto ~/Downloads/my_path/outs/possorted_genome_bam.bam ~/Downloads/my_path//Mus_musculus.GRCm38.78.gtf
tail log is here.
2020-03-12 18:47:31,516 - DEBUG - Read first 230 million reads
2020-03-12 18:47:36,778 - DEBUG - Counting for batch 436439, containing 27 cells and 53 reads
2020-03-12 18:47:36,779 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions
2020-03-12 18:47:36,781 - DEBUG - 2949133 reads were skipped because no apropiate cell or umi barcode was found
2020-03-12 18:47:36,782 - DEBUG - Counting done!
2020-03-12 18:47:50,670 - DEBUG - Generating output file ~/Downloads/my_path/velocyto/possorted_genome_bam_FUFR3.loom
2020-03-12 18:47:50,670 - DEBUG - Collecting row attributes
2020-03-12 18:47:50,783 - DEBUG - Generating data table
Killed: 9
Thanks.

Hi
I have same issue with my data. Did you find a solution to this?

Hi shaaaarpy
I found a solution to this. This main cause is the number of threads and memories when I perform samtools.
At first, I performed this to reduce run time.
samtools sort -@ 16 -m 2G -O BAM possorted_genome_bam.bam -o cellsorted_possorted_genome_bam.bam
But, when I performed this,  though  I can get cellsorted_possorted_genome_bam.bam file, The Killed: 9 problem was happened during velocyto run.
At Second,  I performed default parameters regarding threads and memories during samtools performing as below.
samtools sort -t CB -O BAM -o cellsorted_possorted_genome_bam.bam possorted_genome_bam.bam ;
In this run, it takes about an hour and I can also get cellsorted_possorted_genome_bam.bam file.
Then, I left this file in the my_path/outs and ran velocyto internal using this cellsorted_possorted_genome_bam.bam file.
As a result, I can get .loom file not to be killed.
If you have same conditions, please try above. I hope it will go well.
Thanks you.

Hi iaki-dev,
Thanks for the fast reply. I sorted my bam file with the samtools command, but after sorting my bam file, i get an error
OSError: The bam file does not contain cell and umi barcodes appropriatelly formatted. If you are runnin UMI-less data you should use the -U flag.
Thank you

Hi shaaaarpy,
I am sorry that I don't know how to fix that problem so that I don't  face that. But I faced  another problem because of samtools version. So, if you need to install up to date samtools version, it may go well.
Thank you.

Hi iaki-dev
I solved that umi less error problem. But after sorting, again my process
got killed. Are there any other options?
Thank you
On Tue, Mar 17, 2020 at 8:21 AM iaki-dev<EMAIL_ADDRESS>wrote:

Hi shaaaarpy,
I am sorry that I don't know how to fix that problem so that I don't face
that. But I faced another problem because of samtools version. So, if you
need to install up to date samtools version, it may go well.
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/velocyto-team/velocyto.py/issues/249#issuecomment-599850360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRT7HWT4TX3BSSTS47EBALRH3QRRANCNFSM4LGKLJAA
.

Hi shaaaarpy,
I am relieved to hear that solving bam problem.
Did you try to set default threads and memory during performing samtools as above?
Thank you.

Hi iaki-dev,
Yes everything was default. My name file is 20gb and I am working on a 72gb
ram machine.
Thank you
On Tue, Mar 17, 2020, 09:25 iaki-dev<EMAIL_ADDRESS>wrote:

Hi shaaaarpy,
I am relieved to hear that solving bam problem.
Did you try to set default threads and memory during performing samtools
as above?
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/velocyto-team/velocyto.py/issues/249#issuecomment-599864806,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRT7HXZDO2L6G7H5OKVHO3RH3YBJANCNFSM4LGKLJAA
.

Hi shaaaarpy,
In that case,  I don't know how to cost memory during run, but I guess 72 gb RAM is enough.
If I run velocyto run again, I will check how to cost memory during writing .loom file and if you allow to show your code velocyto running, I will check the code is as same as mine.
Thank you.

Hi iaki-dev
Thank a lot for your reply.
I am using
velociyo run nash3_possorted_genome_bam.bam.1 Mus_musculus.GRCm38.93.gtf to
be exact. I have sorted the bam file using samtools and tried running on
both sorted and original file with both the files in the same directory.
Alsi i iknow that i dont have barcodes file for which velocyto has already
given a warning in the tutorial. How can i get my barcode file for my
public dataset. Thank a lot
https://www.ncbi.nlm.nih.gov/sra/SRX5656138[accn] this is the link to the
dataset
On Thu, Mar 19, 2020 at 8:06 AM iaki-dev<EMAIL_ADDRESS>wrote:

Hi shaaaarpy,
In that case, I don't know how to cost memory during run, but I guess 72
gb RAM is enough.
If I run velocyto run again, I will check how to cost memory during
writing .loom file and if you allow to show your code velocyto running, I
will check the code is as same as mine.
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/velocyto-team/velocyto.py/issues/249#issuecomment-600956095,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRT7HXEDUHHO6DKXFZDK3LRIGALBANCNFSM4LGKLJAA
.

Hi Shaaaaarpy,
Thank for your code.
My running code is here.
velocyto run -b ~/Downloads/my_path/outs/filtered_feature_bc_matrix/barcodes.tsv -o ~/Downloads/my_path/velocyto ~/Downloads/my_path/outs/possorted_genome_bam.bam ~/Downloads/my_path//Mus_musculus.GRCm38.78.gtf
Therefore, the difference between you and me is whether there are to set output path and to set -b option.
The location of possorted_genome_bam.bam and cellsorted_possorted_genome_bam.bam coincide with mine, namely out directory.
So as you mentioned, it may be barcode.tsv problem. According velocyto tutorial,  a filtered barcode set (-b/--bcfile option) relates with memory problem.  That is why I recommend to get barcode.tsv files.
I jump to your link and  get GEO Accession: GSM3714752. then, I move to GSM3714752 (link is here)
https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE129516
and get GSE129516_RAW.tar file. This GSM3714747_chow1_filtered_gene_bc_matrices includes barcode fit to each raws. So How about you to get first column from the filtered_gene_bc_matrices and to use for velocyto -b option.
Thank you.

Hi laki-dev
Thanks a lot for all your help. With the help of barcode file as you
suggested, i was able to successfully create a loom file finally. I really
appreciate your efforts.
Thanks a lot :D
On Thu, Mar 19, 2020 at 1:53 PM iaki-dev<EMAIL_ADDRESS>wrote:

Hi Shaaaaarpy,
Thank for your code.
My running code is here.
velocyto run -b
~/Downloads/my_path/outs/filtered_feature_bc_matrix/barcodes.tsv -o
~/Downloads/my_path/velocyto
~/Downloads/my_path/outs/possorted_genome_bam.bam
~/Downloads/my_path//Mus_musculus.GRCm38.78.gtf
Therefore, the difference between you and me is whether there are to set
output path and to set -b option.
The location of possorted_genome_bam.bam and
cellsorted_possorted_genome_bam.bam coincide with mine, namely out
directory.
So as you mentioned, it may be barcode.tsv problem. According velocyto
tutorial, a filtered barcode set (-b/--bcfile option) relates with memory
problem. That is why I recommend to get barcode.tsv files.
I jump to your link and get GEO Accession: GSM3714752. then, I move to
GSM3714752 (link is here)
https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE129516
and get GSE129516_RAW.tar file. This
GSM3714747_chow1_filtered_gene_bc_matrices includes barcode fit to each
raws. So How about you to get first column from the
filtered_gene_bc_matrices and to use for velocyto -b option.
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/velocyto-team/velocyto.py/issues/249#issuecomment-601048381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRT7HVLLT22RLTV4L7SC73RIHI7BANCNFSM4LGKLJAA
.


TF to TF Lite Int 8 resulting in error: "Quantization not yet supported for op: %"

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes (a mix)
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 2.3
Python version: 3

Describe the current behavior
Conversion to TF Lite Float 16 works and model runs well
Conversion to TF Lite Int 8 does NOT convert
Describe the expected behavior
Conversion to TF Lite Int 8 works
Standalone code to reproduce the issue
`
TFLite model export
try:
    print('\nStarting TFLite export with TensorFlow %s...' % tf.__version__)
    if opt.no_tfl_detect:
        print("Don't export Detect module")
        m.training = True
        keras_model = keras.Model(inputs=inputs, outputs=tf_model.predict(inputs))

    # fp16 TFLite model export
    converter = tf.lite.TFLiteConverter.from_keras_model(keras_model)
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.target_spec.supported_types = [tf.float16]
    converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS]
    converter.allow_custom_ops = False
    converter.experimental_new_converter = True
    tflite_model = converter.convert()
    f = opt.weights.replace('.pt', '.tflite')  # filename
    open(f, "wb").write(tflite_model)
    print('\nTFLite export success, saved as %s' % f)

    # int8 TFLite model export
    if opt.tfl_int8:

        dataset = LoadImages(opt.source, img_size=opt.img_size, auto=False)

        def representative_data_gen():
            n = 0
            for path, img, im0s, vid_cap in dataset:
                # Get sample input data as a numpy array in a method of your choosing.
                n += 1
                input = np.transpose(img, [1, 2, 0])
                input = np.expand_dims(input, axis=0).astype(np.float32)
                input /= 255.0
                yield [input]
                if n >= opt.ncalib:
                    break

        converter = tf.lite.TFLiteConverter.from_keras_model(keras_model)
        # This enables quantization
        converter.optimizations = [tf.lite.Optimize.DEFAULT]
        # This sets the representative dataset for quantization
        converter.representative_dataset = representative_data_gen
        # This ensures that if any ops can't be quantized, the converter throws an error
        converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
        # For full integer quantization, though supported types defaults to int8 only, we explicitly declare it for clarity.
        converter.target_spec.supported_types = [tf.int8]
        # These set the input and output tensors to uint8 (added in r2.3)
        converter.inference_input_type = tf.uint8
        converter.inference_output_type = tf.uint8
        tflite_model = converter.convert()

        with open('mobilenet_v2_1.0_224_quant.tflite', 'wb') as f:
          f.write(tflite_model)

`
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
logs.pdf

@amahendrakar Hey Abhilash, let me know if you need any more info! Thanks!

The error looks strange. Could you try it again with tf-nightly?
TFLite export failure: Quantization not yet supported for op: %
Traceback (most recent call last):
 File "yolov5/models/tf.py", line 568, in <module>
 tflite_model = converter.convert()
 File "/opt/conda/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 831, in convert
 self).convert(graph_def, input_tensors, output_tensors)
 File "/opt/conda/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 638, in convert
 result = self._calibrate_quantize_model(result, **flags)
 File "/opt/conda/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 452, in
_calibrate_quantize_model
 inference_output_type, allow_float, activations_type)
 File "/opt/conda/lib/python3.7/site-packages/tensorflow/lite/python/optimize/calibrator.py", line
98, in calibrate_and_quantize
 np.dtype(activations_type.as_numpy_dtype()).num)
RuntimeError: Quantization not yet supported for op: %

@patcombe,
On running the code, I am facing an error stating NameError: name 'opt' is not defined. Please find the gist of it here.
In order to reproduce the issue reported, could you please provide the complete code and the dataset you are using.
Also, as @terryheo suggested please try running the code with the latest TF-nightly and check if it works. Thanks!

@terryheo @amahendrakar using tf-nightly seemed to solve it! Thanks!

@patcombe,
Thank you for the update. Marking the issue as closed.


Fix for SUREFIRE-1588

Latest version of Java 1.8.0_191 enforces that Manifest classpath entries be relative.
https://issues.apache.org/jira/browse/SUREFIRE-1588

LGTM @kemitix and Jenkins is happy, thanks 👍


pdk kong.plugin.get_id()

Description
We added a PDK function to get the plugin's ID: FTI-4019
Testing instructions
Netlify link:
Checklist

[x] Review label added
[ ] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

Based on the comments in this PR, looks like this didn't make it into 3.2 and is going into 3.3. Can you please point your PR to the release/gateway-3.3 branch?

@lena-larionova As the comment in the file suggests, and the GitHub bot notices with a tag, should we close this and wait for auto-generating scripts to do the job?

@StarlightIbuki yeah - apologize, I didn't see which file you had edited. You're right, that page will get autogenerated.
Do you think that this new module fits anywhere in the plugin development guide (anything under https://docs.konghq.com/gateway/latest/plugin-development/) ? How would you expect someone to use this module?

@StarlightIbuki yeah - apologize, I didn't see which file you had edited. You're right, that page will get autogenerated.
Do you think that this new module fits anywhere in the plugin development guide (anything under https://docs.konghq.com/gateway/latest/plugin-development/) ? How would you expect someone to use this module?

Sorry, I was not available last week.
Yes, it should be mentioned in plugin-development. The function is used to identify an instance of a plugin, so we can for example create a memory cache for instance-level status (like what we did with __key__).
Closing this PR as it's not needed.


Examples for testing page

As an idea, I'd suggest adding the possibility for seeing some examples and how the page works, like by clicking in a box copies the text of that on the main box so we can see complex results to see what's the page is really capable of, can be great addition.
Such as (imagine you click this in a box in the page and show this:
https://cdecl.plus/?q=_Atomic int (*(*awoo)[])(int%5B*%5D),%20chan

Good idea, it's been on the back of my mind already.


it does not work when I refresh

when I click the home icon , it does not work, in windows.

it is my fault , ctrl + r can work.


migrated to django

Related Issue
migrated to django
Closes: #229
Describe the changes you've made
Give a clear description what modifications you have made
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Mention any unusual behaviour of your code (Write NA if not)
Any unusual behaviour of your code
Additional Info (optional)
Any additional information you want to give
Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly whereever it was hard to understand.
[x] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.

https://drive.google.com/file/d/1RO0oTLWwBvo4aN6tlipMEkb2SDamelGj/view?usp=sharing
@adarshvulli @ankitapuri kindly review this PR.
currently i had not written backend for login / sign up but you can login as admin as i did in this video
And login required for website is also implemented  as suggested by @adarshvulli
please check if all the core features are working properly or not meanwhile i am working on login/signup

Great job ✔


Central cleanup job for Shoot clusters on KCP DEV

Description
We use currently two cleanup mechanisms for removing shoot-clusters on KCP DEV.
One is executed by KEB and removes Shoot-clusters which were created by KEB. Another job was running decoupled from KEB and removed shoot-clusters created by Provisioner.
To simplify the cleanup approach, a single cleanup job should be preferred. This job retrieves all Shoots from Gardener cluster and verifies whether they are known by KEB.  If they are unknown, the cleanup mechanism will delete this cluster, independent who created it:

Created by
Shoot deleted by cleanup job via

KEB
KEB executes its deletion logic

KIM
Removing the RuntimeCR

Gardener-UI
Removing the Shoot-CR on Gardener cluster

The deletion has to consider the case, that a Shoot-CR can be marked with the label owner.do-not-delete: '<bool>'. Before a cluster is deleted, the cleanup job has to check the existence respectively the value of the label on the Shoot CR.
AC:

[ ] A job is implemented which retrieves all Shoot-CR on KCP DEV
[ ] The job verifies if the Shoot-cluster is known by KEB, if the cluster is unknown or marked for deletion, the cluster-deletion logic will be trigger
[ ] the deletion of a Shoot-cluster is only allowed if the be Shoot-CR does not contain the  owner.do-not-delete label or if the value of the label is false.
[ ] the deletion of the cluster happens independent to the creator, means the deletion logic tries to;

delete the cluster in the provisioner
delete the Runtime CR
delete the Shoot-CR

Reasons
Simplify KCP DEV housekeeping by centralising the shoot-cluster deletion job.
Attachments

@kyma-project/gopher / @PK85   - will you take it over?

@PK85 : thanks for referencing your issue. From Framefrog side, we won't work on this issue as it will be covered by https://github.com/kyma-project/kyma-environment-broker/issues/1417.
Thanks a lot!

Closing as it's covered by @kyma-project/gopher


Missed one situation for Indexed Properties where we need index access

… instead of member access.
Found a small situation when investigating Shared-Type Entities where I had missed using index access instead of member access. But it's really part of issue #13610 rather than Shared-Type Entities so sending it as a separate PR.

Thanks, @smitpatel.


issue-21 Simplify API

Codecov Report

Merging #24 into master will increase coverage by 2.97%.
The diff coverage is 31.57%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   22.95%   25.92%   +2.97%
==========================================
  Files           2        1       -1
  Lines          61       54       -7
  Branches        6        6
==========================================
  Hits           14       14
+ Misses         41       34       -7
  Partials        6        6

Impacted Files
Coverage Δ

src/index.js
25.92% <31.57%> (+9.85%)
:arrow_up:

Continue to review full report at Codecov.

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


preparations for js-ipfs 0.41

👋 hey, a new js-ipfs release is coming soon \o/
It's a big release with breaking API changes, please check the release issue for all the info you need. There's also a migration guide to help you to migrate your code to the new API and a blog post explaining the changes and motivations behind them.
Unfortunately, the tests for your application failed when they were run with the latest release candidate (0.41.0-rc.0). Do not worry, this was very likely considering the magnitude of the changes! Please consult the release info, it should have everything you need to be able to upgrade, and if you're still having problems then please reply to this issue and we'll get you sorted ASAP!
Aside from that, have fun with this release, we're really excited about this one and the possibilities it brings to our users! ❤

0.41.0-rc.2 is now available and looks like it may be the final candidate 🤞 If you have production infrastructure/applications, please consider rolling it out either partially or fully and shout if you experience any issues!

Fixed by #794


[WFCORE-4720] Clarify that SetupActions.dependencies() cannot return …

…null; also some other javadoc tweaks
https://issues.jboss.org/browse/WFCORE-4720
Note that with https://github.com/wildfly/wildfly/pull/12727 the only impl in WildFly that returned null will no longer do so. There are a couple callers of this method in WildFly that assume it will not return null. So I figure the best thing to do is enhance the contract to require the best behavior.

@bstansberry thanks


[maintenance] Merge changes from main into 3.2.0

This PR is mainly for the 3.1.2 fix code.

There are merge conflicts.


Update Learn-es2015 to es2016, es2017

Add some short examples and then link to other resources (mdn, books like Exploring ES6, etc)

es2016

[ ] Array.protortype.includes
[ ] **

es2017

[ ] async/await
[ ] Object.values/Object.entries
[ ] String padding
[ ] Object.getOwnPropertyDescriptors()
[ ] Trailing commas in function parameter lists and calls

I was thinking of providing the common use cases for each relevant feature/syntax and then linking to the relevant plugin/polyfill, linking to other sites for more info, and providing a repl example
@rauschma thoughts on how we can link to your stuff better? Your books/blog posts are really great (and https://leanpub.com/setting-up-es6 which should just be some of our docs) and I feel like much of the es6 info would just be copying bits and pieces from other stuff when we can link to it.

Sure, I’d be delighted! It’s best to link to the websites of my books, because I keep those continually updated. All URLs should be quite stable. And the content will remain free to read online forever.
The websites are:

http://exploringjs.com/es6/
http://exploringjs.com/es2016-es2017/

Is there anything else you need? Let me know if you need a reviewer (I’m not sure how time I’ll have, but I’d love to take a look).

Is this still needed?

Yeah I think it would be useful still


-n parameter and relevancy

I've noticed that if -n parameter is big, and the answer is short, it starts to 'elaborate' on the topic just to predict the requested number of tokens. Even if relevancy of generated text drops with every next word. Is it possible to stop the generation on the completed sentence if the token's relevancy is under some threshold?
And in case when it generates quite a good text, it just stops in the middle of the sentence when it reaches -n limit. Why not let it finish the sentence?

This parameter is provided by the original llama.cpp, check this section for details. https://github.com/ggerganov/llama.cpp/tree/master/examples/main#number-of-tokens-to-predict


⚠ Entire page /sso deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /sso

Describe the Bug
umami behaving like a static app, maybe prisma schema related problem
⚠ Entire page /sso deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /sso
Database
PostgreSQL
Relevant log output
[10:05:41] Running build in Washington, D.C., USA (East) – iad1
[10:05:42] Cloning github.com/shailendrakashyap/umami (Branch: main, Commit: 532fea4)
[10:05:42] Skipping build cache, deployment was triggered without cache.
[10:05:43] Cloning completed: 532.461ms
[10:05:43] Running "vercel build"
[10:05:44] Vercel CLI 32.6.1
[10:05:45] Installing dependencies...
[10:05:45] yarn install v1.22.17
[10:05:45] [1/4] Resolving packages...
[10:05:46] [2/4] Fetching packages...
[10:06:39] warning<EMAIL_ADDRESS>The engine "pnpm" appears to be invalid.
[10:06:39] [3/4] Linking dependencies...
[10:06:39] warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>[10:06:39] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| 17.x".
[10:06:39] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| 17.x".
[10:06:39] warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[10:06:39] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[10:06:39] warning " ><EMAIL_ADDRESS>has incorrect peer dependency "stylelint@>= 11.x < 15".
[10:06:39] warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[10:06:39] warning Workspaces can only be enabled in private projects.
[10:07:00] [4/4] Building fresh packages...
[10:07:04] $ node -e "if (process.env.NODE_ENV !== 'production'){process.exit(1)} " || husky install
[10:07:04] husky - Git hooks installed
[10:07:04] Done in 79.18s.
[10:07:04] Detected Next.js version: 13.5.6
[10:07:04] Running "prisma generate && yarn run build-app"
[10:07:05] prisma:warn We could not find your Prisma schema at `prisma/schema.prisma`.
[10:07:05] If you have a Prisma schema file in a custom path, you will need to run
[10:07:05] `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
[10:07:05] If you do not have a Prisma schema file yet, you can ignore this message.
[10:07:05]
[10:07:05] yarn run v1.22.17
[10:07:05] $ next build
[10:07:06]  ⚠ Invalid next.config.js options detected:
[10:07:06]  ⚠     Expected string, received boolean at "env.cloudMode"
[10:07:06]  ⚠     "env.cloudUrl" is missing, expected string
[10:07:06]  ⚠     "env.defaultLocale" is missing, expected string
[10:07:06]  ⚠     "env.disableLogin" is missing, expected string
[10:07:06]  ⚠     "env.disableUI" is missing, expected string
[10:07:06]  ⚠     Expected string, received boolean at "env.isProduction"
[10:07:06]  ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
[10:07:06] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[10:07:06] This information is used to shape Next.js' roadmap and prioritize features.
[10:07:06] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[10:07:06] https://nextjs.org/telemetry
[10:07:06]
[10:07:06]    Creating an optimized production build ...
[10:07:45]  ✓ Compiled successfully
[10:07:45]    Skipping validation of types
[10:07:45]    Skipping linting
[10:07:45]    Collecting page data ...
[10:07:48]    Generating static pages (0/18) ...
[10:07:49]
   Generating static pages (4/18)
[10:07:50]
   Generating static pages (8/18)
[10:07:50]
   Generating static pages (13/18)
[10:07:50]  ⚠ Entire page /sso deopted into client-side rendering. https://nextjs.org/docs/messages/deopted-into-client-rendering /sso
[10:07:50]
 ✓ Generating static pages (18/18)
[10:07:52]    Finalizing page optimization ...
[10:07:52]    Collecting build traces ...
[10:08:25]
[10:08:25] Route (app)                                Size     First Load JS
[10:08:25] ┌ ○ /                                      270 B          81.3 kB
[10:08:25] ├ ○ /_not-found                            0 B                0 B
[10:08:25] ├ λ /console/[[...id]]                     5.13 kB         585 kB
[10:08:25] ├ ○ /dashboard                             35.8 kB         648 kB
[10:08:25] ├ ○ /login                                 5.42 kB         333 kB
[10:08:25] ├ ○ /logout                                3.71 kB         265 kB
[10:08:25] ├ ○ /reports                               2.87 kB         509 kB
[10:08:25] ├ λ /reports/[id]                          3.33 kB         616 kB
[10:08:25] ├ ○ /reports/create                        3.65 kB         510 kB
[10:08:25] ├ ○ /reports/funnel                        239 B           609 kB
[10:08:25] ├ ○ /reports/insights                      1.7 kB          516 kB
[10:08:25] ├ ○ /reports/retention                     2.79 kB         513 kB
[10:08:25] ├ ○ /settings/profile                      4.01 kB         546 kB
[10:08:25] ├ ○ /settings/teams                        4.08 kB         519 kB
[10:08:25] ├ λ /settings/teams/[id]                   4.18 kB         511 kB
[10:08:25] ├ ○ /settings/users                        3.9 kB          510 kB
[10:08:25] ├ λ /settings/users/[id]                   5.83 kB         340 kB
[10:08:25] ├ ○ /settings/websites                     2.75 kB         509 kB
[10:08:25] ├ λ /settings/websites/[id]                6.29 kB         341 kB
[10:08:25] ├ λ /share/[...id]                         1.96 kB         696 kB
[10:08:25] ├ ○ /sso                                   3.79 kB         296 kB
[10:08:25] ├ ○ /websites                              2.95 kB         509 kB
[10:08:25] ├ λ /websites/[id]                         246 B           660 kB
[10:08:25] ├ λ /websites/[id]/event-data              1.72 kB         539 kB
[10:08:25] ├ λ /websites/[id]/realtime                8.72 kB         653 kB
[10:08:25] └ λ /websites/[id]/reports                 4.56 kB         519 kB
[10:08:25] + First Load JS shared by all              81 kB
[10:08:25]   ├ chunks/2472-9011068b83989e2d.js        27.6 kB
[10:08:25]   ├ chunks/fd9d1056-675f2158ca8987c1.js    50.9 kB
[10:08:25]   ├ chunks/main-app-8ed6d57d180fb331.js    238 B
[10:08:25]   └ chunks/webpack-6ff67e71f49d4ef3.js     2.24 kB
[10:08:25]
[10:08:25] Route (pages)                              Size     First Load JS
[10:08:25] ┌ λ /api/auth/login                        0 B            85.5 kB
[10:08:25] ├ λ /api/auth/logout                       0 B            85.5 kB
[10:08:25] ├ λ /api/auth/sso                          0 B            85.5 kB
[10:08:25] ├ λ /api/auth/verify                       0 B            85.5 kB
[10:08:25] ├ λ /api/config                            0 B            85.5 kB
[10:08:25] ├ λ /api/event-data/events                 0 B            85.5 kB
[10:08:25] ├ λ /api/event-data/fields                 0 B            85.5 kB
[10:08:25] ├ λ /api/event-data/stats                  0 B            85.5 kB
[10:08:25] ├ λ /api/heartbeat                         0 B            85.5 kB
[10:08:25] ├ λ /api/me                                0 B            85.5 kB
[10:08:25] ├ λ /api/me/password                       0 B            85.5 kB
[10:08:25] ├ λ /api/me/teams                          0 B            85.5 kB
[10:08:25] ├ λ /api/me/websites                       0 B            85.5 kB
[10:08:25] ├ λ /api/realtime/[id]                     0 B            85.5 kB
[10:08:25] ├ λ /api/reports                           0 B            85.5 kB
[10:08:25] ├ λ /api/reports/[id]                      0 B            85.5 kB
[10:08:25] ├ λ /api/reports/funnel                    0 B            85.5 kB
[10:08:25] ├ λ /api/reports/insights                  0 B            85.5 kB
[10:08:25] ├ λ /api/reports/retention                 0 B            85.5 kB
[10:08:25] ├ λ /api/scripts/telemetry                 0 B            85.5 kB
[10:08:25] ├ λ /api/send                              0 B            85.5 kB
[10:08:25] ├ λ /api/share/[id]                        0 B            85.5 kB
[10:08:25] ├ λ /api/teams                             0 B            85.5 kB
[10:08:25] ├ λ /api/teams/[id]                        0 B            85.5 kB
[10:08:25] ├ λ /api/teams/[id]/users                  0 B            85.5 kB
[10:08:25] ├ λ /api/teams/[id]/users/[userId]         0 B            85.5 kB
[10:08:25] ├ λ /api/teams/[id]/websites               0 B            85.5 kB
[10:08:25] ├ λ /api/teams/[id]/websites/[websiteId]   0 B            85.5 kB
[10:08:25] ├ λ /api/teams/join                        0 B            85.5 kB
[10:08:25] ├ λ /api/users                             0 B            85.5 kB
[10:08:25] ├ λ /api/users/[id]                        0 B            85.5 kB
[10:08:25] ├ λ /api/users/[id]/teams                  0 B            85.5 kB
[10:08:25] ├ λ /api/users/[id]/usage                  0 B            85.5 kB
[10:08:25] ├ λ /api/users/[id]/websites               0 B            85.5 kB
[10:08:25] ├ λ /api/version                           0 B            85.5 kB
[10:08:25] ├ λ /api/websites                          0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]                     0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/active              0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/daterange           0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/events              0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/metrics             0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/pageviews           0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/reports             0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/reset               0 B            85.5 kB
[10:08:25] ├ λ /api/websites/[id]/stats               0 B            85.5 kB
[10:08:25] └ λ /api/websites/[id]/values              0 B            85.5 kB
[10:08:25] + First Load JS shared by all              85.5 kB
[10:08:25]   ├ chunks/framework-4498e84bb0ba1830.js   45.2 kB
[10:08:25]   ├ chunks/main-ba4b3d7e8e7eda4b.js        37.9 kB
[10:08:25]   ├ chunks/pages/_app-0a6f9986ee298e67.js  210 B
[10:08:25]   └ chunks/webpack-6ff67e71f49d4ef3.js     2.24 kB
[10:08:25]
[10:08:25] λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
[10:08:25] ○  (Static)  automatically rendered as static HTML (uses no initial props)
[10:08:25]
[10:08:25] Done in 79.58s.
[10:08:26] Traced Next.js server files in: 1.226s
[10:08:33] Created all serverless functions in: 7.163s
[10:08:33] Collected static files (public/, static/, .next/static): 53.048ms
[10:08:35] Build Completed in /vercel/output [3m]
[10:08:36] Deploying outputs...
[10:08:48]
[10:08:48] Deployment completed
[10:09:01] Uploading build cache [164.42 MB]...
[10:09:06] Build cache uploaded: 4.346s

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Vercel

The /sso URL is only used by Umami Cloud. It won't cause any issues with your install.

Skyask.vercel.app
user- admin
Pass- umami
After resolving the errors, I had it installed but was not able to login even once.
The vercel error was gone when:
I manually put
“ yarn run build-app “ in build commands, other commands no longer work.


”Pojejena” is listed in the drop-down menu

Description:
"Pojejena" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Pojejena" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Pojejena, CARAȘ-SEVERIN".


Question about When this will be Ready for Industry

When will this be ready for industry use, specifically the ability to build a .NET Core library as a .so (linux) and a .dylib (mac)?

CoreRT is an experimental project. It doesn't have an official shipping timeline per README.md at the root of the repo.
Industry has been using CoreRT to ship products using it for a while now.

SoundFlow uses it https://twitter.com/SoundFlow_org/status/1200155734585094156
Streets of Rage 4 uses it https://github.com/dotnet/corert/issues/7200#issuecomment-624990602
Carrion Halloween Demo uses it https://twitter.com/kroskiewicz/status/1200126309856350209

Probably more but those are off the top of my head.

Thank you


lifx and wake_on_lan Incorrect Status Reporting

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.63.0
Python release (python3 --version):
3.5.3
Component/platform:
lifx and wake_on_lan / VM running Debian 9.3
Description of problem:
After upgrading to 0.63.0 from a working 0.62 installation and without making any updates to my configuration files the wake_on_lan and LIFX component have started to incorrectly detect the status of both my computers and lights causing them change state from on to off every couple of minutes.
Expected:
Report the correct status of the device/s in question.
Additional info:
If anything else is required, please let me know.

Issue resolved by reinstalling Home Assistant.


Basic Python Implementation

While the Python implementation is far from complete, we think the functionality already present may be of use to others and also hopefully generate feedback from the community.
What works in this PR:

[x] Sending and receiving Connections Requests
[x] Accepting Connection Requests and sending Response
[x] Proper did, vk, and pairwise creation for the above steps
[x] Basic web UI

Changes we plan to make that also provide noteworthy information about this PR:

[ ] Use nonces for request/response and use that as the correlating information to retrieve did and vk to decrypt received messages. Currently, dids are being sent in plain text to provide this correlation.
[ ] Use one endpoint for all front-end/back-end interaction and use Sovrin messages for communication. (Front end becomes a sort of agent with admin privileges on the main agent.)
[ ] The web framework we're using is also a point of debate and we are potentially seeking replacements. Large changes may be coming to the front-end.

RE-RESUBMIT: Fixed a missing sign-off and more missing sign-offs in merge artefacts.

@saholman If you and Matthew could review this for us, that would be great!


Dependencies fix

This fixes the broken 1.0 release. Mainly due to the way packaging was done.
Several other changes in this pull request include:

Pilot now emulates Next's resolvedUrl field in getProps
query and params can never be null in getProps
Minor README updates (badges)
Minor changes to comply with linter

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


don't depend on the whole AWS sdk

This has been a problem for me, why should this library depend on all AWS services' SDK? I managed to reduce the dependencies to the sole S3 service. That's a lot less jars.

@IvonaTTS do you consider merging this pull request?


Command doesn't seem to work

🧐 Have you fully read the README and viewed similar issues?

[X] I have read the README
[X] I have read the FAQ
[X] I have checked previous issues, open and closed
[X] I have completed all troubleshooting steps and the issue is not present on stock but returns after re-applying SpotX-Bash

Сountry of your account
Switzerland
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify version: <IP_ADDRESS>4.gf06e5cee
- OS: Arch
- Shell: fish, version 3.7.1

📝 Description

Run bash <(curl -sSL https://spotx-official.github.io/run.sh) in terminal

🖥 Terminal Input/Output
empty
📸 Screenshots

Didn't read previous issues. Dupe issue. https://github.com/SpotX-Official/SpotX-Bash/issues/8

I have the same issue using bash:

No, this is now a new issue. And this issue is covered in previous closed issues as well as the FAQ -- https://github.com/SpotX-Official/SpotX-Bash/issues/60


Fix typo, explictly -> explicitly

Summary

Found via codespell -L crate,ser,astroid,borken,connexion,uptodate,formattings,hass,incomfort,nam
Test Plan

Yeah I'd rather we whitelist these files, but I don't feel strongly.

I think that we shouldn't apply this then.
Thanks for taking the time to contribute though!


Speedtest GUI: Add version 1.10.163

Added Speedtest GUI.
Homepage is https://speedtest.net/
This can be done online only but some people prefer the app.
I have not added the autoupdate part as the url remains same even after new version is released.
The checkver contains html elements as the regex part was not detecting things properly.

Closes #7136

[X] I have read the Contributing Guide.

/verify

URL should be added to autoupdate even if it stays the same - this is so that hashes can be updated

URL should be added to autoupdate even if it stays the same - this is so that hashes can be updated

Ok I will do it.
This app is built using Unity so it makes a folder in appdata\LocalLow. Is it necessary to add a script that deletes that folder when uninstalling?

I think we can leave it. What's there in that folder btw?

I think we can leave it. What's there in that folder btw?

The speedtest.db stores records of the speedtest made and its results, output_log.txt has some normal loading and unloading logs. config & values has things about analytics like sending user usage data and other things to the app devs.

The uninstaller does not remove that file so I think it can be left alone.


Leave Room

Hi, may i know for command if bot want to Leave Group / Room ???

Please read: https://devdocs.line.me/en/#leave


switch to other web page on tab on chrome, idle event is trigger

My project is ASP.NET with C# Web Form. My web page will open another web page by window.open. But I switch the new page on Google Chrome, the original web page with countdown will be trigger idle event. The idle event will run my logout mechanism and redirect to login page. How can I prevent switching web page to trigger idle event?

fvisible.js prevent blur to trigger idle event  as below
http://blog.xuite.net/akira32/home/569372678


Fix link to forbidden Rails demo

Unless there's some really subtle intentional reason that the link actually goes to https://www.youtube.com/watch?v=1jHfY0dDZxA

hahah


Windows tools compiling is tricky and made me go into the weeds

Hi! I am in the early build-and-investigate stages of checking out BGFX. I am quite excited by the prospects. It is clear you worked hard on this and it looks awesome. I went into the weeds trying to build the tools (shaderc, etc.).  Some things I ran into:

This documentation doesn't mention building the tools: https://bkaradzic.github.io/bgfx/build.html I figured this out by grepping the project and finding shaderc in the makefile.

Even though the main lib and examples can be built with VS via GENie, the tools seem to be built exclusively with mingw.

I had to figure out which mingw distribution to get (I ended up with winbuilds) and then set a MINGW env var with forward slashes. (set MINGW=j:/winbuilds/)

Perhaps a doc tweak is in order, or stashing compiled exes for the tools somewhere so people don't need to install a mingw distro would be the big time saver.
This is behind me, so I am looking forward to checking this out.
-Mike

I restarted Visual Studio 2015 and now I can see a tools folder in Solution Explorer with shaderc in it.  This is a non-issue.

Yeah, my plan is to add all tools binaries to tools/bin/* directory.
I'll update docs to mention --with-tools option.


Support Istiod metrics

Add additional features to Istio 1.5 support such as:

Mesh metrics are available from istio-proxy containers. Added auto_conf.yaml to collect standard Istio metrics OOTB.

Add default list of labels to exclude, the following are known to cause context explosion: "connectionID", "destination_service", "source_workload"

Added e2e tests for 1.5

Previously implemented:

Mixer, Galley, Pilot, and Citadel metrics are now available from a single istiod deployment. The new integration provides another endpoint istiod_endpoint that is cleaner config option OOTB.
The previous implementation did not work OOTB for v1.5 with all four endpoints enabled within one instance because the self.config_map dict cached by endpoint. In Istio v1.5 those metrics are all emitted from the same endpoint, therefore only the first endpoint metrics were collected.
https://github.com/DataDog/integrations-core/blob/459b641a962e15445944c13bf0c82d60d13b6144/istio/datadog_checks/istio/istio.py#L56 These changes are addressed in https://github.com/DataDog/integrations-core/pull/6426

Added metric fixtures for tests https://github.com/DataDog/integrations-core/pull/6426

Allow additional metric mapping in metrics config option. https://github.com/DataDog/integrations-core/pull/6426

Refactor metrics and constants from check.py https://github.com/DataDog/integrations-core/pull/6360

Added standard config with template https://github.com/DataDog/integrations-core/pull/6320

Is there a way to split this PR into smaller ones?

In an effort to reduce PR diff, core istiod_endpoint implementation details have been moved to https://github.com/DataDog/integrations-core/pull/6426


New version: yt-dlp.yt-dlp.nightly version 2<IP_ADDRESS>703

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-02-19 17:46:21.185 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.204 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.219 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.367 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.526 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.688 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.824 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.987 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:21.989 [CLI ] Terminating context: 0x8a150010 at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:b8 2024-02-19 17:46:27.740 [CLI ] Installer [X64,portable,Unknown,en-US] not applicable: Machine is not compatible with X64 2024-02-19 17:46:29.064 [CLI ] Installer [X64,portable,Unknown,] not applicable: Machine is not compatible with X64 2024-02-19 17:46:29.065 [CLI ] No suitable installer found for manifest Gyan.FFmpeg with version 6.1.1 2024-02-19 17:46:29.066 [CLI ] Terminating context: 0x8a150104 at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DependenciesFlow.cpp:11a

(Automated response - build 763.)

This appears to be a dependency mismatch.

2024-02-19 17:46:29.065 [CLI ] No suitable installer found for manifest Gyan.FFmpeg with version 6.1.1

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

@wingetbot waivers Add Validation-Installation-Error


How to get user details after login?

Checklist

[X] I have looked into the Readme and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
I've followed the tutorial at https://github.com/auth0/symfony and I can successfully authenticate with Auth0... on one page.
When I try $this->getUser() on any other page, I don't receive the user's details.
At the moment, as per the tutorial, the route /private is in the firewall. When I access it, i get the Auth0 login prompt. After a successful login, I see the user's name, nickname, etc. Once the user is logged in, how do I get their details on pages which aren't in the firewall?
I'm not sure if this is me not understanding Symfony's firewall or Auth0's model - but I would be grateful for some pointers.
Reproduction

Follow the instructions in the repo
Authenticate against /private
Try to get the user details on a different page.

Additional context
I was asked to add this via https://community.auth0.com/t/symfony-how-to-get-user-details-after-login/106332/1
jwt-auth-bundle version
I used composer as per the instructions
Symfony version
6.3
PHP version
8.1.2

Hi @adent,
Symfony only invokes guard logic (and therefore establishes user authentication state) on requests that are routed through the guard, as defined by the firewall. If you are trying to access user information on routes that aren't served through the guard, the authentication state won't reflect anything.
As an alternative, you can access the SDK service directly. Symfony is built around auto-wiring, allowing you to retrieve any service instance within your application by defining what you need in your constructors. The SDK is accessible through the same means.
Presumably, this is about using the authenticator rather than the authorizer, yes? If so, here's an example of that:
<?php

namespace Auth0\Symfony\Controllers;

use Auth0\Symfony\Service as Auth0Service;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\{Request, Response};

final class AuthenticationController extends AbstractController
{
    public function __construct(
        private Auth0Service $auth0,
    )
    {
    }

	public function login(
		Request $request
	): Response {
		$sdk = $this->auth0->getSdk();

		var_dump($sdk->getCredentials());
	}
}

This queries the underlying PHP SDK directly. The getCredentials() method returns an object, which includes user profile information, ID and Access tokens, and so forth. You can learn more about using the PHP SDK here.

All I get when I try that is
Invalid service "Auth0\Symfony\Controllers\AuthenticationController": method "__construct()" has no argument named "$authenticator". Check your service definition.
I'm sorry if I'm asking something obvious here. It's just frustrating that the documentation stops at the simplest use-case.

@evansims but there is not Auth0 service in autowiring:
bin/console debug:autowiring | grep uth0
 Psr\Cache\CacheItemPoolInterface $auth0ManagementTokenCache (auth0_management_token_cache)
 Psr\Cache\CacheItemPoolInterface $auth0TokenCache (auth0_token_cache)
 Symfony\Contracts\Cache\CacheInterface $auth0ManagementTokenCache (auth0_management_token_cache)
 Symfony\Contracts\Cache\CacheInterface $auth0TokenCache (auth0_token_cache)
 Symfony\Contracts\Cache\TagAwareCacheInterface $auth0ManagementTokenCache (.auth0_management_token_cache.taggable)
 Symfony\Contracts\Cache\TagAwareCacheInterface $auth0TokenCache (.auth0_token_cache.taggable)


Offloading apps

Constant offloading of any apps that are enabled through bootstrap, sometimes to the point the apps are unusable.

Are you sure they're offloaded (they'll get a cloud icon next to them), or just disappearing from the homescreen completely due to icon cache?
I can say, this did result in my keyboard app being offloaded. Not entirely sure why lol

The only apps I've had completely disappear were Facebook and messenger, but the other apps I that I have enabled with bootstrap just offload at random times

Can confirm the offloading. For Facebook and Messenger, try to rebuild apps in the Bootstrap application.

If this issue persists with the latest commits, please make a new issue.
Personally, the offloading died down.


Dynamically adding attributes to dataclass instance

Description
I'm currently working on a project using psygnal where there is heavy utilization of dataclasses. Specifically, I'm using pydantic dataclasses (mostly because I want something simple to be able to load JSON/yaml files in my application and the dataclasses natively do not have type checking functionalities as pydantic does).
As I'm currently in the design stage, I noticed the possibility of usign evented dataclasses and it would be pretty useful to have them. The catch is that I would also like the dataclasses to be dynamically changed during the application startup. It would provide some benefit in what I want to achieve to have more flexibility for users that want to enrich their customization.
What I Did
I attempted the following
from psygnal import evented
from pydantic.dataclasses import dataclass

@evented
@dataclass
class Example:
    name: str
    age: int

example = Example(name="Alice", age=30)
setattr(example, "profession", "Software Engineer")

@example.events.profession.connect
def on_profession_changed(prof: str):
    print(f"Alice's profession changed to {prof}.")

example.profession = "Medic"

But, unsurprisingly, I got the following exception:
Traceback (most recent call last):
  File "C:\sandbox\python\sandbox.py", line 16, in <module>
    @example.events.profession.connect
     ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jacop\miniforge3\envs\mamba-sandbox\Lib\site-packages\psygnal\_group.py", line 394, in __getattr__
    raise AttributeError(  # pragma: no cover
AttributeError: 'ExampleSignalGroup' object has no attribute 'profession'

Now the question is: how hard would it be to have this kind of feature? Or is there an alternative strategy I could deploy?
EDIT: from the documentation the suggested approach would be to explicitly set SignalGroupDescriptor. I'm also ok with that approach, but I got the same error anyway.

oof... yeah.  The key problem here is that that's just not how dataclasses were designed (be they from pydantic or standard lib).  Specifically: all dataclasses have some sort of mechanism to query the fields of the dataclass (such as the ]dataclasses.fields function or the pydantic model_fields() class method.  Because both pydantic and dataclasses are concerned with type-annotated fields, they specifically don't pay any attention to dynamically added instance attributes like the one you're adding here:
In [1]: from pydantic.dataclasses import dataclass

In [2]: from dataclasses import fields

In [3]: @dataclass
   ...: class Example:
   ...:     name: str
   ...:     age: int
   ...:

In [4]: fields(Example)
Out[4]:

(
    Field(name='name',type=<class 'str'>,default=<dataclasses._MISSING_TYPE object at 0x103408bd0>,default_factory=<dataclasses._MISSING_TYPE object at 0x103408bd0>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD),
    Field(name='age',type=<class 'int'>,default=<dataclasses._MISSING_TYPE object at 0x103408bd0>,default_factory=<dataclasses._MISSING_TYPE object at 0x103408bd0>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD)
)

In [5]: example = Example(name="Alice", age=30)
   ...: setattr(example, "profession", "Software Engineer")

# doesn't change anything
In [6]: fields(example)
Out[6]:

(
    Field(name='name',type=<class 'str'>,default=<dataclasses._MISSING_TYPE object at 0x103408bd0>,default_factory=<dataclasses._MISSING_TYPE object at 0x103408bd0>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD),
    Field(name='age',type=<class 'int'>,default=<dataclasses._MISSING_TYPE object at 0x103408bd0>,default_factory=<dataclasses._MISSING_TYPE object at 0x103408bd0>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD)
)

If you must dynamically add attributes, but you also want them to be proper fields on a dataclass or pydantic model, then your best bet is probably to instantiate a dynamically constructed class, rather than dynamically adding attributes to a pre-existing instance:
from psygnal import evented
from pydantic.dataclasses import dataclass

@dataclass
class Example:
    name: str
    age: int

# dynamically creating a subclass with a new field
DynamicExample = type(
    "DynamicExample",
    (Example,),
    {"__annotations__": {"profession": str}, "profession": ""},
)

DynamicExample = evented(dataclass(DynamicExample))
example = DynamicExample(name="Alice", age=30)

@example.events.profession.connect
def on_profession_changed(prof: str):
    print(f"Alice's profession changed to {prof}.")

example.profession = "Medic"

if the dynamic subclass option is still unsuitable for some reason, then I think your only option is some super deep magic (which I would definitely not encourage), that would inevitably dig pretty deep into the mechanics of the specific dataclass-like solution you're using (so, it would be different for pydantic vs stdlib dataclasses).  I started to create an example for you, but it got so gross that I stopped :). basically, don't do it: fields on dataclasses and pydantic models are pretty strictly defined on the class, not on the instance

EDIT: from the documentation the suggested approach would be to explicitly set SignalGroupDescriptor. I'm also ok with that approach, but I got the same error anyway.

this really wouldn't get you what you're after.  if you're using pydantic because you like serialization and/or validation mechanisms, then those still won't work for your dynamically added fields.  All of these tools just aren't designed for this sort of dynamic instance modification

I started to create an example for you, but it got so gross that I stopped :)

Ahah, I feel you!
Thank you for the quick response anyway. Actually the approach of using a dynamically typed class might be what I need to make it work, so I will test that approach. Closing, thanks again!


Test for transactions chaining

We have an output [O1], and want to create a transaction [TX1] using [O1] as an input, and create new output [O2]. Then, when [TX1] is not yet confirmed on the network, create [TX2] using [O2] as an input and create new output [O3].

Fixed by https://github.com/input-output-hk/cardano-node-tests/pull/1218


IDF v5.0 build errors from fresh template project in Windows 10 - could not find http in embedded_svc

I set up a fresh project from esp-idf-template and am getting errors on the first attempt. I'm not sure what I'm doing wrong here.
I've tried reinstalling the esp rust toolchain (nuking the directory and reinstalling).
Windows 10
stable-x86_64-pc-windows-msvc unchanged - rustc 1.69.0 (84c898d65 2023-04-16)
nightly-x86_64-pc-windows-msvc unchanged - rustc 1.71.0-nightly (cba14074b 2023-05-10)
Ignored package cargo-generate v0.18.2 is already installed, use --force to override
Ignored package ldproxy v0.3.3 is already installed, use --force to override
Ignored package espup v0.4.0 is already installed, use --force to override
Ignored package espflash v1.7.0 is already installed, use --force to override
Ignored package cargo-espflash v1.7.0 is already installed, use --force to override

espup update
[2023-05-11T09:20:53Z INFO ]  Updating Espressif Rust ecosystem
[2023-05-11T09:20:53Z INFO ]  Querying GitHub API: 'https://api.github.com/repos/esp-rs/rust-build/releases/latest'
[2023-05-11T09:20:53Z INFO ]  Querying GitHub API: 'https://api.github.com/repos/esp-rs/rust-build/releases'
[2023-05-11T09:20:54Z WARN ]  Previous installation of Xtensa Rust 1.69.0 exists in: 'C:\Users\xxx.rustup\toolchains\esp'. Reusing this installation.
[2023-05-11T09:20:54Z INFO ]  Update successfully completed!

cargo generate --git https://github.com/esp-rs/esp-idf-template cargo
Project Name: esp32cantbuild
Destination: C:\Users\xxx\esp32cantbuild ...
project-name: esp32cantbuild ...
Generating template ...
✔  Use the default template values? · false
✔  Which MCU to target? · esp32s2
✔  Configure project to use Dev Containers (VS Code and GitHub Codespaces)? · false
✔  Enable STD support? · true
✔  Configure project to support Wokwi simulation with Wokwi VS Code extension? · false
✔  ESP-IDF version (master = UNSTABLE) · v5.0
✔  Include esp-idf-hal/esp-idf-svc? · Yes (default features)
Done! New project created

Cargo.toml deps:
[dependencies]
esp-idf-sys = { version = "0.32.1", features = ["binstart"] }
esp-idf-hal = { version = "0.40.1"}
esp-idf-svc = { version = "0.45.0"}

[build-dependencies]
embuild = "0.31.1"

# v5.0 and master require patches due to https://github.com/esp-rs/esp-idf-template/issues/91#issuecomment-1508241327
[patch.crates-io]
esp-idf-hal = { git="https://github.com/esp-rs/esp-idf-hal"}
esp-idf-svc = { git="https://github.com/esp-rs/esp-idf-svc"}

cargo run errors: https://gist.github.com/gak/9e25d2ed74d3dd7391503f9c28a44418
I've de-duplicated some of the errors:
error[E0433]: failed to resolve: could not find `asyncify` in `utils`
   --> C:\Users\msn\.cargo\git\checkouts\esp-idf-svc-a28457b0e32c6283\3a53106\src\eventloop.rs:881:30
    |
881 |     use embedded_svc::utils::asyncify::event_bus::AsyncEventBus;
    |                              ^^^^^^^^ could not find `asyncify` in `utils`

error[E0433]: failed to resolve: could not find `http` in `embedded_svc`
  --> C:\Users\msn\.cargo\git\checkouts\esp-idf-svc-a28457b0e32c6283\3a53106\src\http\client.rs:18:19
   |
18 | use embedded_svc::http::client::*;
   |                   ^^^^ could not find `http` in `embedded_svc`

error[E0432]: unresolved import `embedded_svc::ota`
  --> C:\Users\msn\.cargo\git\checkouts\esp-idf-svc-a28457b0e32c6283\3a53106\src\ota.rs:16:5
   |
16 | use embedded_svc::ota;
   |     ^^^^^^^^^^^^^^^^^ no `ota` in the root
   |
help: consider importing this module instead
   |
16 | use crate::ota;
   |     ~~~~~~~~~~

error[E0433]: failed to resolve: use of undeclared type `Method`
  --> C:\Users\msn\.cargo\git\checkouts\esp-idf-svc-a28457b0e32c6283\3a53106\src\http\client.rs:36:17
   |
36 |                 Method::Get => esp_http_client_method_t_HTTP_METHOD_GET,
   |                 ^^^^^^ use of undeclared type `Method`

Can you please move this bug report to esp-idf-template? The bug is there. Basically, you need to explicitly depende on embedded-svc and put a patch of embedded-svc in the [patch-crates.io] section.

Or wait until we release new versions of all esp-idf-* crates (should be this weekend)
Or use ESP IDF v4.4


Single client accessing multiple resources

I've been using Spring OAuth2 for some time now.  It works great. Recently there has been a need to add an additional service and one of the existing clients needs to access that new service.
My setup is as follows
service1 (Spring Boot micro-service)
service2 (Spring Boot micro-service)
Authorization Service (a separate Spring Boot micro-service)
Currently, in the oauth_client_details db table the client is configured as follows
client_id      |    resource_ids   | ...
myClient     |    service1
Adding the resource id as below doesn't work
myClient     |    service1, service2
What is the proper way to configure a single client for accessing multiple resources?
Thanks!

This is a non-issue.  The current token value needs to be deleted.  And a new token value (with the new resources added) has to be obtained and used.


Specs with the same suite + spec name get mis-reported in Eclipse

May not be Eclipse-specific, but specs with the same JUnit description spec name(suite name) get coalesced by Eclipse. This is probably a limitation of JUnit's Description and Eclipse's runner that Spectrum will need to work around. Related to #3 .
For example:
@RunWith(Spectrum.class)
public class WeirdSpecs {{

    describe("a thing", () -> {
        it("should do something", () -> {
            assertThat("failing", false);
        });
    });

    describe("a thing", () -> {
        it("should do something", () -> {
            assertThat("passing", true);
        });
    });

}}

The above gets reported as simultaneously passing, failing, and being incomplete:

Resolved by #65

Still running into this issue (v1.2.0) when another layer is added:
cribe("wrapper 1", () -> {
	describe("a thing", () -> {
		it("should do something", () -> {
			Assert.fail();
		});
	});
});
describe("wrapper 2", () -> {
	describe("a thing", () -> {
		it("should do something", () -> {
			//
		});
	});
});


Doc nits: callback function typedefs

Enhance find-doc-nits to be better about finding typedefs for
callback functions.  Fix all nits it now finds.  Added some new
typedef names to ssl.h some of which were documented but did not
exist.
Once this is merged, I'd like to see it as part of one of our travis builds.

thanks!


Add Laravel 9 support

In general tests look good for L9 + PHP8+ but changes are not backward compatible.
Waiting for dependent packages

https://github.com/dingo/blueprint/pull/90
https://github.com/thephpleague/fractal/issues/526

Tests overview

❌  Laravel 8 + PHP 7.4.15 (fail due to php incompatible function calls)
❌  Laravel 8 + PHP 8.0.15 (2 tests break because of mismatching type - symfonys repsonse getContent() changed return behavior)
❌ Laravel 8 + PHP 8.1.2 (fail due to php incompatible function calls)
✅ Laravel 9 + PHP 8.0.15
✅ Laravel 9 + PHP 8.1.2

I have never worked with travis - so here are my local test results. In general test look good for L9 + PHP8+ but changes are not backward compatible.

❌  Laravel 8 + PHP 7.4.15 (fail due to php incompatible function calls)
❌  Laravel 8 + PHP 8.0.15 (2 tests break because of mismatching type - symfonys repsonse getContent() changed return behavior)
❌ Laravel 8 + PHP 8.1.2 (fail due to php incompatible function calls)
✅ Laravel 9 + PHP 8.0.15
✅ Laravel 9 + PHP 8.1.2

This addresses #15 #16 #17

now  laravel9 illuminate/routing version is 9.0 but dingo-api just require ^7.0|^8.0
how can i fix it

@suguer without further details it's hard to tell. My first quess: You're using the wrong version and/or fork.
Did you add my fork as repository to your composer.json?
https://getcomposer.org/doc/05-repositories.md

@christoph-kluge
Did you add my fork as repository to your composer.json?    no , I do not change my composer.json  anything
this is my full command output
Using version ^3.1 for api-ecosystem-for-laravel/dingo-api
./composer.json has been updated
Running composer update api-ecosystem-for-laravel/dingo-api
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires api-ecosystem-for-laravel/dingo-api ^3.1 -> satisfiable by api-ecosystem-for-laravel/dingo-api[v3.1.0, v3.1.1].
- api-ecosystem-for-laravel/dingo-api[v3.1.0, ..., v3.1.1] require illuminate/routing ^7.0|^8.0 -> found illuminate/routing[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.0).
You can also try re-running composer require with an explicit version constraint, e.g. "composer require api-ecosystem-for-laravel/dingo-api:*" to figure out if any version is installable, or "composer require api-ecosystem-for-laravel/dingo-api:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

I see. So without changing your composer you'll be not able to test my fork. This pull-request is just a proposal to this library and does not necessarily mean that the maintainers will merge it.
If you want to test my non-official fork then you should to explicitly define this in your composer.json.
https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository

ok. take the liberty to ask .what parameters should I write to composer.json .
I don't know how to write composer.json very well
thx very much

@christoph-kluge
excuse me , can you teach me how to write to composer.json .
I try it, but failure

@suguer please check out the last link to the composer documentation how to load a package from vcs. You need my fork's github-url and the branch name. You can find this information on top of this page right below the title of the PR and replace the values in these examples.
If you click on my source branch you'll get redirected to my fork's URL and the branch. https://github.com/christoph-kluge/dingo-api and laravel-9-support. It's important to prefix dev-{branchname} as mentioned in the documentation.

okk, my composer.json is right , but still failed
when i run  "composer update"
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires api-ecosystem-for-laravel/dingo-api dev-laravel-9-support -> satisfiable by api-ecosystem-for-laravel/dingo-api[dev-laravel-9-support].
- api-ecosystem-for-laravel/dingo-api dev-laravel-9-support requires dingo/blueprint dev-patch-1 -> found dingo/blueprint[dev-chore/laravel-7-compat, dev-master, v0.1.0, ..., v0.4.3] but it does not match the constraint.

When could this pull request be merged?

For anyone trying to get @christoph-kluge's PR working locally before it being merged, you need to add these to your composer.json:
    "repositories": [
        {
            "type": "vcs",
            "url":  "git@github.com:christoph-kluge/dingo-api.git"
        },
        {
            "type": "vcs",
            "url":  "git@github.com:dmason30/blueprint.git"
        },
        {
            "type": "vcs",
            "url": "https://github.com/annuh/fractal.git"
        }
    ],

Then require the package like so:
composer require api-ecosystem-for-laravel/dingo-api dev-laravel-9-support

For anyone trying to get @christoph-kluge's PR working locally before it being merged, you need to add these to your composer.json:
    "repositories": [
        {
            "type": "vcs",
            "url":  "git@github.com:christoph-kluge/dingo-api.git"
        },
        {
            "type": "vcs",
            "url":  "git@github.com:dmason30/blueprint.git"
        },
        {
            "type": "vcs",
            "url": "https://github.com/annuh/fractal.git"
        }
    ],

Then require the package like so:
composer require api-ecosystem-for-laravel/dingo-api dev-laravel-9-support

solved!
extremely grateful!

@tobias-kuendig thank you for adding this here.
I did change the repository-urls from git@ to https:// and added your install instructions to the MR description.

composer update passed without errors for me with this guide. Nice! :tada: The downside that on my project all requests I have gives me 500 Internal Server Error without any backtrace message now. So gonna debug it.

Not working with Fractal

When are we merging this PR?

Waiting this as well

Hey all, sorry for the wait - I've been absent due to first holiday in 3.5 years, you know how it is :cry:
Now that this is in a group though, I am able to and would be happy to give access to people who are committed and able to help maintain this package - please let me know if you are interested!

Just some updates for versions, https://github.com/api-ecosystem-for-laravel/dingo-api/pull/22
Please use tag v4.0.0 to get all the latest changes for laravel 9

@specialtactics I would be interested. Would you be up for a chat regarding short/mid/long-term plans for this lib? Can I reach you in some slack/discord channel?
Back in the days laravel was missing a lot of api-related features. Since then a lot changed and we might reduce a bit of boilerplate within this package.

Yes @christoph-kluge I agree, are you on the main laravel slack by any chance?


Possible Deprecation of Constraint Bone Solver

Just wanted to thank you for this useful plugin. It makes life easier for control rig & custom anim bp implementations by adding weightless bones directly in editor.
I realized in 5.4, Epic added "Post Settings" section for IK Retargeter, and it has lots of cool post-process settings. One of them is "Pin Bone", which is basically providing same functionality with this tool's "Constraint Bone" ik solver. You might want to take a look at it and possibly deprecate that functionality in next release.

@dyanikoglu
Thank you so much for your feedback! Oh this looks very interesting, do you know if we can use this solver during retargeting as well?

Oh yes it can be replaced by the post operation during retargeting.


docs: fix integration-with-bun.mdx TypeScript issue

Fix a TypeScript issue resulting from a breaking change in Bun or GraphQL Yoga. (Unforuntately, it seems somebody didn't play nice with SemVer conventions)
The error occurs with the following versions:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
The error as well as discussions about solutions are detailed here:

https://github.com/dotansimha/graphql-yoga/issues/3003#issuecomment-2255533003
https://github.com/dotansimha/graphql-yoga/discussions/2644#discussioncomment-10273630
https://github.com/dotansimha/graphql-yoga/discussions/2644#discussioncomment-10360551

This PR uses the discussed solution to fix the error.

Thanks for the PR 🙏
But for now closing due to the inactivity!
We can reopen the issue if it still persists!


Use LAS codes

Adds a use_las_codes keyword argument to mcc and mcc_rgb.
With use_las_codes=True, 2 is used for ground points and 4 for (medium) vegetation points in the labels output array consistent with LAS 1.4 standard.
Closes #28

Build error is unrelated (unresolved packaging issue)


craftassist folder refactor

Type of Issue
Select the type of issue:

[ ] Bug report (to report a bug)
[ ] Feature request (to request an additional feature)
[x] Tracker (I am just using this as a tracker)
[x] Refactor request
[ ] Documentation Ask

Checklist
Just did a quick pass over the current folder structure and following things stick out and we should discuss :

[ ] craftassist/sentry folder can be deleted
[ ] craftassist/render_vision_dataset/ can be deleted
[ ] schematic_convert -> low_level
[ ]  logging -> low_level
[ ] bin -> low_level
[ ] client-> low_level
[ ] minecraft_render -> delete
[ ] server -> low_level
[ ] servermgr -> tools/craftassist
[ ] render_one_block_change.py ? can delete ?
[ ] Lots of cuberite files can be combined / in one folder under low_level ?
[ ] schematic_convert.py delete ?
[ ] visual_segmentation.py delete ?
[ ] crowdsourcing folder can go in tools
[ ] we can separate out tools folder from scripts folder in root

Using this branch : kavya/refactor_modular

render_one_block_change.py ? can delete ?

Yes
schematic_convert.py delete ?
We aren't using it rn. If delete this, then schematic_convert folder can probably be deleted also and removed from make targets.

more deletes the merrier!!!

Updating this issue as I make progress.

Moved craftassist/servermgr to droidlet/tools/servermgr
Moved crowdsourcing to droidlet/tools/crowdsourcing

Moved craftassist/requirement.txt to agent/craftassist/requirement.txt


[BUG] Documentation broken links and code snippets formatting

Describe the bug
Documentation still contains some page with broken links and badly formatted snippets like 4 indentations instead of 2.

@AdamPawlinski, please assign me :)

It's yours. You are damn fast :)

Just testing GitHub mobile app. I'll take care of it tomorrow :D

Ok that's great. Thanks for your contribution :)


Confirmation that generated image is compliant with "How to Capture a Linux Virtual Machine to Use as a Template"?

Hello,
I am sorry to use the issue tracker for a question but I did not find a forum.
Can you confirm that packer-azure follow the recommendations of Azure > How to Capture a Linux Virtual Machine to Use as a Template and thus are aligned with the expectations of the Certification Test Tool for Azure Certified ?
I saw in driver_restapi/builder.go that waagent -deprovision is properly called so I guess it is ok.
Cyrille

From what I read on the first link, I think packer-azure indeed follows that recipe, only using service management API calls instead of mouse and keyboard.
You may be able to run packer with -debug and some extra logging. The extra logs will tell you the location of the private key file and the debug flag will make packer wait after each step. That way you could run the tool just before or after os generalization (I'm not sure when it should run?).

Thanks @paulmey I have the same feeling that packer-azure follows that recipe and my Azure image passes the certification tool so things seem to be ok for me.
I'll look more in details at the logs when i'll have time.
Cyrille


enhencement add UPDATE & DELETE tests for MOW partial update

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall