Reporting exceptions in response in case of failure in slice

No Vert.x server leaves response unfinished in case of failure of handling request by slice. In this PR exceptions with stack trace are send in response with status code 500

@g4s8 Please assign me

This pull request #9 is assigned to @hdouss/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

@HDouss added response content checks in tests, please review

@g4s8 Please review and merge.

I believe we don't need these changes and the changes made in #8 should be reverted. Any slice implementations should ensure any publisher exceptions are recovered and response is produced any way.

@Sammers21 First of all, #8 was required just to support updated HTTP module. Second, I believe that error handling should be done for all slices once, otherwise it needs to be implemented everywhere. Please explain why you would prefer to implement the same error handling in every Slice?

@rultor release, tag=0.2.1

@rultor release, tag=0.2.1

@g4s8 OK, I will release it now. Please check the progress here

@rultor release, tag=0.2.1

@g4s8 Done! FYI, the full log is here (took me 13min)

Job audit: performer @hdouss/z/z didn't make CR comments

Job was finished in 47 hours, bonus for fast delivery is possible (see §36)


Symmetry induced hamiltonian generates incorrect band structure.

In wannierization I keep num_iter=0, dis_num_iter=100. The hamiltonian, wannierization give can reproduce dft bands upto 1e-5 accuracy. But with symmetry hamiltonian the band structure degrades significantly. With no symmetry, fitted bands lie in the range -6 to 3.5eV. But with symmtery bands lie in the range -8 to 4.5. I have done dft & wannierization in QE using SOC. No symmetry hamiltonian wasn't well converged. DFT found two symmtery. Wannsymm found 4 as it takes the translational symmetry into consideration. Dft ignored translational symm because calculations were for 2d structre.  Guide me how I can symmetrized hamiltonian & reproduce dft bands accurately all well.

Please at least show some input/band structure results. Without more specific information, we cannot what is possibly going to wrong direction.


Doc error

3 errors:

under "4 - Create a primary gateway" it mentions "Location	The location where your primary managed instance and primary virtual network are." but that does not exist on the "Create virual network gateway" screen

under "4 - Create a primary gateway" for "Virtual network	Select the virtual network that was created in section 2, such as vnet-sql-mi-primary." it should be "Select the virtual network that was created in section 1"

under "5 - Create secondary gateway" it mentions "Location	The location where your primary managed instance and primary virtual network are." but that does not exist on the "Create virual network gateway" screen

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

ID: 03a0dc36-e3d5-3a28-c9f9-9e514150d7a4
Version Independent ID: 5b19f443-599f-e367-3566-f43be87dcf78
Content: Tutorial: Add SQL Managed Instance to a failover group - Azure SQL Managed Instance
Content Source: articles/azure-sql/managed-instance/failover-group-add-instance-tutorial.md
Service: sql-managed-instance
Sub-service: high-availability
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@jamserra Thank you for catching this. We will engage the content authors and have this reviewed and updated as needed.

Hi @jamserra , thanks for bringing this to our attention!I have created an internal work item (1744245) to track this work and hope to have this fixed for you this month.
I'm going to close out this Git Issue for the time being but please feel free to comment should you need anything further.
Thanks again and hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close

Hi @jamserra, thanks again for helping improve our documentation! I have processed a change to address this and it will be live later this week :)
Thanks!
Masha from the SQL Docs team


More detailed answer for exercise 14.52

I've written a more detailed answer for exercise 14.52 to make sure I truly understand section 14.9.
Hope to get some comments. Thanks.
Just for convenience, I list class SmallInt and LongDouble below,
class SmallInt {
    friend
    SmallInt operator+(const SmallInt&, const SmallInt&);
public:
    SmallInt(int = 0); // conversion from int
    operator int() const { return val; } // conversion to int
private:
    std::size_t val;
};

struct LongDouble {
    LongDouble(double = 0.0);
    operator double();
    operator float();
    LongDouble operator+(const SmallInt&);
};
LongDouble operator+(LongDouble&, double);

SmallInt si;
LongDouble ld;
ld = si + ld;
ld = ld + si;

All candidate functions:

built-in +
LongDouble operator+(LongDouble&, double)
LongDouble operator+(const SmallInt&)
SmallInt operator+(const SmallInt&, const SmallInt&)

Viable functions for ld = si + ld: only 1

si to int, ld to double/float which is an ambiguous conversion.

Best match function: ambiguous, due to an ambiguous conversion.
Viable functions for ld =ld + si: 1,2,3

ld to double/float which is an ambiguous conversion, si to int.
si to int
no conversion at all

Best match function: 3

I think you are right:)


bug: TPC-H Q2 OOM

Describe the bug
TPC-H Q2 (without filter condition, scale factor = 50) will OOM for several times during test.

Full query and plan here: tpch_q2.txt
Error message/log
OOM. No error log.
To Reproduce
Running TPC-H Q2 in our tpch-benchmark pipeline .

TPC-H Q2 (without filter condition, scale factor = 50)

When this setting is used for Flink, the query does not OOM.
But taking a checkpoint will spend more than 10 minutes, and thus the job fails by exceeding its default checkpoint timeout, i.e. 10 minutes.
Although not OOM, the job never really makes any progress as each checkpoint fails.
During the 10 minutes, the throughput peaks at 800 rows/s when it just starts and then quickly drops to double-digits rows/s.

An interesting observation is that when I ran this locally, the memory curve is much more stable i.e. less spikes

Now I suspect that something caused severe but quick memory fluctuation in storage. Still investigating.

Updates: I have successfully reproduced the problem on my EC2 machine and got some accurate heap profiling results. 🎉
Tested on branch eric/test_disable_operator_cache, which has

disabled streaming operator cache
disabled cache refilling on write

See that link for details.
Results
I captured 2 dumps at 10:50:41 and 10:43:24 respectively, which are 2 obvious spike in memory statistics.
flamegraph.zip

Tips: When reading the flamegraph, keep in mind:

A heap profiler records the stack trace of the allocation of each live object, so it’s possible that function A allocates something and then hand over it to struct B, in this case, the allocation will still be counted on A.

Analysis
It turns out that most memory are consumed by streaming module.
Take the dump at 10:43:24 as an example:

StreamChunks use ~3.7 GB memory
State table use ~1.67 GB memory

Considering that Q2 (w/o filtering condition) has many Join executors inside, I suspect some join have bad selectivity and produced large amount of data. This is a known issue but previously we didn't realize that this will cause lots of StreamChunk in a single epoch.
Misc.
Another interesting observation is that, previously I cannot reproduce the problem because I used parallelism = 4 in my environment. In that case, the job runs smoothly with stable memory consumption. This also inspires me that a mass of data heaped in the streaming graph is probably another cause of the problem.

After limiting the exchange channel capacity, the memory usage looks much more somooth.
[streaming.developer]
stream_chunk_size = 20
stream_exchange_initial_permits = 100
stream_exchange_batched_permits = 20
stream_exchange_concurrent_barriers = 2

Meanwhile, the performance become worse (9min30s -> 14min44s)

Tried to run with less exchange buffer size:
[streaming.developer]
stream_chunk_size = 256     // default: 1024
stream_exchange_initial_permits = 2048   // default: 8192
stream_exchange_batched_permits = 256    // default: 1024
stream_exchange_concurrent_barriers = 1  // default: 2

And it succeeded: https://buildkite.com/risingwave-test/tpch-benchmark/builds/858
For the next step, I will try to find a better set of parameters to balance between stability and performance.


[proposal] Implementing K.rnn(reverse_sequence=True)

Hi,
I am a Tensorflow.js user and I made a proposed change to enable RNNs to return their output sequence in the reversed order, which is especially useful if you use go_backwards.

https://github.com/tensorflow/tfjs-layers/pull/517

It was mentioned there that compatibility with the Python version of Tensorflow was something they cared about, and therefore it was suggested to also create a pull request on the Python side to gather feedback, and see if this implementation is something your team would support.
I'm not a Python developer but could make the necessary changes I believe, though I'd rather get an approval before going deeper because this might take a fair chunk of my time since this change has to be propagated to the layers etc. Now if in addition to approving the idea someone else also wanted to help me out and advance this pull request, I'd appreciate it of course :)

Hi @FremyCompany, sorry for the late reply.
The proposed API can easily be achieved by processing the output tensor with keras.backend.reverse(). I think the currently rnn() API is already having too much knob on it, and adding the "reverse_sequence" will further complicate it, especially with the combination of existing go_backwards.

@qlzh727 Thanks for the reply. No problem with the delay.
I would agree with you, but doing that has significant performance implications however, while doing the work at the rnn level would be free of cost, because it happens before the concat which is why I was considering this.

I see, it does have some performance implication, but I am not sure how significant it is. Adding @fchollet for this since it also affect the keras-team/keras.

The impact might possibly be larger in tf.js than on the other implementation because there is no built-in reverse layer, and custom functions might be slower there than there are in Python (and they don't serialize) but this could be fixed at the tf.js level by introducing a built-in reverse layer I guess. If this group believes this is a better avenue to fix this, that's probably fine as well, but it would be slower.

I checked with Francois about this, and we think the proposed API change will be quite confusing, and we prefer the readability over slight performance issue.
The issue here is because of the combination of "reverse_sequence" and "go_backwards". We can't easily set default reverse_sequence to False, since it will modify the existing behavior when go_backwards is True. We could set default to None, and then choose the value based on go_backwards. However, at that stage, the API is bit complicated, and require user to read detailed API docstring to understand the combinations of the params, whereas usually params should be self contained and not affecting each other. Ideally, user should be able to just read the method signature, and understand the behavior of each parameter.
Performance wise, we are already doing reverse input and mask when go_backwards is True, we don't foresee any big issue if user has to reverse the output sequence by themselves. If tf.js is implementing same API surface as keras does, it should have the coverage of keras.backend.reverse(), which is also just a simple wrapper around array_ops.reverse().

Okay, thanks for investigating!


main.js.map not found in prod build

hi i have posted this issue there, any idea ?
https://github.com/driftyco/ionic-app-scripts/issues/805

Hello, thanks for using Ionic! We do not generate source maps in a prod build as they would add to the size of the app and therefore have a negative impact on performance. I am going to close this one as a duplicate of driftyco/ionic-app-scripts#805.

This is the issue!, that on my prod build the app do not initialize and when debugging on console it says
file:///var/containers/Bundle/Application/39C211E1-ACD2-4798-96FF-8909F63DB55A/TestApp.app/www/build/main.js.map Failed to load resource: The requested URL was not found on this server.
i know prod builds should not produce map sources and thats why im reporting this case !
Thanks

workaround:
package.json:
"ionic_uglifyjs": "./...../uglifyjs.config.js"
add "sourceMapUrl: false" to your uglifyjs.config.js
in<EMAIL_ADDRESS>line 58
add "sourceMapUrl: uglifyJsConfig.sourceMapUrl"


use between '2021-01-01 00:00:00' and '2021-10-10 00:00:00' for a external table return 400

use ES external table, need to replace T for space like '2021-01-01T00:00:00'

Please give me your email，my wechat is cwx369123 @stdpain

Thank you for your contribute @cGitHub123


solved redirect problem + history navigation problem

Seems ok, can you rebase so I can merge :) ?

just readded the action?+dataToWrite push to history so you can see the search results in the history. It disappeared after the rebase


Mid0012 Needs one more constructor

I believe
https://github.com/Rickedb/OpenProtocolInterpreter/blob/master/src/OpenProtocolInterpreter/ParameterSet/Mid0012.cs
needs more constructors that default to use LAST_REVISION. This probably goes through the whole code base, but I'm not sure. LAST_REVISION is a private variable, so I think the user is probably not supposed to think about that too much. The user WILL be thinking about the psetId though.
I want to say new  Mid0012(psetID), but this constructor does not exist - constructor with one int input assumes the parameter is the revision.

okay nevermind, I see that there are multiple revs of Mid0012 and they have different sizes. Now I understand. Sorry sorry.


Toggle Screen Cast Bug

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

VS Code Version: all
OS Version:  Window, Mac

Steps to Reproduce:
#165248 Bug

Window Bug
ime update event
backspace, enter, space during ime input event
See Video

가 Space Bug

https://user-images.githubusercontent.com/16170776/222916643-29b6e4e0-8713-41e4-a0e7-14cd2d325913.mp4

아 Backsapce Bug

https://user-images.githubusercontent.com/16170776/222916646-f3c0b9b1-1ae9-445e-9a08-6de77131f97a.mp4

테 Enter Bug

https://user-images.githubusercontent.com/16170776/222916647-d94ea625-c5ae-4db2-95da-5cffa38ae6ab.mp4

Mac bug

https://user-images.githubusercontent.com/16170776/222917531-fd336b47-2eb0-45ef-90dc-4e68e75e6ee3.mov

I'll fix it in a few days and send you a pull request.


SplitActionBar doesn't unsplit in landscape mode...

On ICS, the split action bar (on bottom of screen) combines with the top part of the action bar in landscape mode. This is not occurring with ABS 4.0-wip.

Did you try beta 4?

Jake Wharton
http://about.me/jakewharton
On Tue, Jan 3, 2012 at 5:11 PM, Neal Sanche <
<EMAIL_ADDRESS>
wrote:

On ICS, the split action bar (on bottom of screen) combines with the top
part of the action bar in landscape mode. This is not occurring with ABS
4.0-wip.

Reply to this email directly or view it on GitHub:
https://github.com/JakeWharton/ActionBarSherlock/issues/158

I must riding in the 4.0-wip branch today. I'll check for the beta.

Fixed by 77bab795581a119e914cbb7b52ce76407bbfeec4. Will be in beta 5.

I've pulled from your 4.0-wip branch and have confirmed that the action bar unsplits now. Thanks.


A behavior tree node should always terminate its threads when destroyed

To make this in the base TreeNode would require for the classes to be significantly rewritten, see here

This is instead related to #3


Add missing error callback

Pass the error to the callback in getTypes when statusCode !== 200.

thanks good catch


[R] Add write_*_arrow() family of functions

Describe the enhancement requested
As described in #36436, add write_tsv_arrow() and write_delim_arrow() functions and mirror the readr::write_*() function options, when they map nicely to the Arrow csv::WriteOptions
Component(s)
R

Thanks @dgreiss for opening this.  I've also opened #36864 to detail the changes we would need to make to write_csv_arrow() - which would then feed into this.


AUC metric optionally move concat to compute step instead of update through flag

Summary:
Previously unlanded D51399384 due to issues with some models. Introducing it again but through an experimental flag as this optimization can benefit many models. This should not conflict with any models running AUC metric. The feature flag is akin to fusing task computation in RecMetrics as that feature as well does not work across all families of models.
The change in this diff is:
We don't need to concatenate the tensor on every update step, since it is an expensive operation (creates a new tensor and allocates new memory every call, as tensors are contiguous) we can call tensor.concat on the compute step instead. Which happens every compute_interval_step batches. This optimization should boost performance of models using AUC with no regression in metric quality.
Differential Revision: D53027097

Looks sick

Looking forward to the performance boost!


Add hover nav bar project

Project is made using HTML and CSS.
It has multiple features including hover animations and color changing animations.
It also describes how to make a drop down menu on hovering above an element using simplest code.
It also has the color changing boxes which activates on hovering.

Hello I wanted to work on this issue #758
Could u please assign this issue to me?


How to Validate AvForm's validity outside Form ?

components: name
reactstrap version #x.x.x
import method umd/csj/es
react version #x.x.x
bootstrap version #x.x.x

What is happening?

What should be happening?

Steps to reproduce issue

...
...

Error message in console
paste error message with stacktrack here

Code

Wouldn't this be a better question open in https://github.com/Availity/availity-reactstrap-validation ?


Cannot unmap dll with thread_local variables.

To reproduce:
Create a new dll project, I use x86, msvc2015 and debug build with /MTd on Windows 10 x64 Version 1703 (Build 15063.540).
Insert the following code in the main.cpp
#include <iostream>
#include <string>
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpReserved) {
    if (fdwReason == DLL_PROCESS_ATTACH) {
        thread_local std::string test = "Hello from dll";
        std::cout << test << std::endl;
    } else if (fdwReason == DLL_PROCESS_DETACH) {
    }
    return TRUE;
}

Load the dll with the MMapTest.cpp:TestMMapFromMem like so:
auto image = thisProc.mmap().MapImage( size, buf, false, CreateLdrRef | RebaseProcess | NoDelayLoad );
//...
thisProc.mmap().UnmapAllModules();

It injects fine, prints the text. While unmapping the last tls callback crashes with a stackoverflow exception.

Isn't the TLS stuff in Blackbone a big hack anyway?

@quiret to clarify: i'm not talking about the driver manual mapping, I'm talking about the normal usermode manual mapping.

Thread static string destructor crashes because internal lock is corrupted. Probably because it wasn't properly initialized in the first place because of makeshift static TLS init.
Not sure I'm going to dig deeper to fix this.

This is still not properly fixed. It still crashes but sometime later. In the TestApp you can only see the crash if you add some sleep in the main thread.

Also notice: The dll will print
tls init
process attach
tls init
tls exit
process detach

with LoadLibrary/FreeLibrary
and print
tls init
process attach
tls exit
process detach

with blackbone

update: the crash even occurs without thread_local after unmapping.

Try to create a new thread,then do your mmap operation.I don't know what did you do in your DLLMAIN,some opreate will lock the main thread.

@luciouskami read the comments, i'm not doing anything in DllMain, even an empty dllmain will crash on unmap right now.

I couldn't reproduce your case. Maybe some combination of dlls with static TLS on your machine leads to this behavior.

@DarthTon Have you tried the dll's I uploaded above (the sample project, pdb supplied if you want to check the contents)
Else I can give you remote access if you want to check out the issue on my machine.

Your binary did the the trick.
It crashes because module isn't properly removed from TLS module list and loader OS tries to copy TLS data from released module memory
RtlCopyMemory(TlsVector[TlsData->TlsDirectory.Characteristics],
                       (PVOID)TlsData->TlsDirectory.StartAddressOfRawData,
                       TlsDataSize);

I can't seem to find a way to properly uninitialize it. And I don't think it's worth all the effort.

Well, as is, I'm not able to compile a dll with /MT /MTd with vs2015 that won't crash after unmap. I would really appreciate if this could be fixed.


Clarify instructions for Cafe Menu Step 87

Describe the Issue
There may be some possible confusion over what "address" is referring to. It wouldn't hurt to make this a little clearer.
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-87
Your code
N/A
Expected behavior
Suggested improvement to instructions:

Now apply the address class to the p element containing the street address 123 Free Code Camp Drive.

Screenshots
No response
System
N/A
Additional context
No response

I can't see any downside to making this clarification and it seems like a good first-time issue.

This looks like something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix:
List of files:
https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f46e7a4750dd05b5a673920.md
Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.
Sometimes we may get more than one pull-requests. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.


ModuleNotFoundError: No module named 'tensorflow.models'

Hi,
I’m new to Tensorflow and am trying to test this package. but i keep getting this error.
File "image_recognition.py", line 9, in
from tensorflow.models.image.imagenet import classify_image
ModuleNotFoundError: No module named 'tensorflow.models'
Id appreciate any help.
thanks
RS

Hi, thank you for feedback!
What is the version of ternsorflow?
This is created for v0.9, i guess that it is too old.
If you can install v0.9, how about trying it first?
If you can fix the library path for newest tensorflow, PR is welcome!

im using version 1.2.1.
I tried fixing that but i get this issue now :
raghavendra_sriram@mav:~/indigo_ws/src/rostensorflow$ python image_recognition.py image:=/cv_camera/image_raw
Traceback (most recent call last):
  File "image_recognition.py", line 54, in <module>
    tensor = RosTensorFlow()
  File "image_recognition.py", line 19, in __init__
    classify_image.maybe_download_and_extract()
  File "/home/raghavendra_sriram/indigo_ws/src/models/tutorials/image/imagenet/classify_image.py", line 172, in maybe_download_and_extract
    dest_directory = FLAGS.model_dir
AttributeError: 'NoneType' object has no attribute 'model_dir'

Are there any other necessary requirements to run this package ?

Hi, newest classify_image.py seems that it needs some modification. So I copied it in my repo, and
modified to use from my program.
And I push the new version, which supports kinetic and latest tensorflow for you!!!
Please update, and try it again!

Hello,
Thanks a lot. Sorry i couldnt get back to you earlier. I managed to get the previous version working with tensorflow 0.9. Il try this with tensorflow 1.0 and get back.
Cheers.

don't mind, and you don't need to be harry.
2017/08/09 8:07 "Raghavendra Sriram"<EMAIL_ADDRESS>Hello,
Thanks a lot. Sorry i couldnt get back to you earlier. I managed to get the
previous version working with tensorflow 0.9. Il try this with tensorflow
1.0 and get back.
Cheers.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/OTL/rostensorflow/issues/2#issuecomment-321106337, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMpJkmLDETvvuPpk94qPok6d1qYBXxfks5sWOo2gaJpZM4OmM-t
.


Fix for #1565: pass userAssignedIdentityResourceGroup to deployment

Overview/Summary
Add userAssignedIdentityResourceGroup as output for the Portal UI
This PR fixes/adds/changes/removes

#1565

Breaking Changes
N/A
Testing Evidence
N/A
Testing URLs
Azure Public

Azure US Gov (Fairfax)

As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[x] Ensured contribution guidance is followed.
[x] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

Thanks @SvenAelterman, for the issue and PR to fix. Asking @arjenhuitema to take a look and review this ASAP


NPM warning about core-js

➜ npm ci
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

I don't know if it could be fixed easily

This is a transitive dependency of babel.
Maybe we should just wait for Babel 8 (currently in alpha) that will use core-js 3.

Yes, but I created this ticket because it's a warning I saw since months
Unless I'm wrong it's related to pug-lint, which seems not to be maintained anymore

thanks @pascalgrimaud :) https://opencollective.com/generator-jhipster/expenses/198215

@qmonmert : approved


/metrics/find is not compliant with what graphite-web expects

I've been trying to integrate carbonserver + carbonzipper with graphite-web, and it seems that the response by carbonserver for the /metrics/find query made towards CLUSTER_SERVERS by graphite-web is incompatible with the equivalent response graphite-web issues:
In the example below, the receiver on port 8080 is graphite-web and 8081 is carbonserver. The same happens when both queries are issued in 'format=pickle' instead of json
$ curl "bcarbon00:8080/metrics/find/?local=1&format=treejson&query=%2A"
[{"text": "carbon", "expandable": 1, "leaf": 0, "id": "carbon", "allowChildren": 1}, {"text": "mlt3", "expandable": 1, "leaf": 0, "id": "mlt3", "allowChildren": 1}, {"text": "mlt3-ppc1", "expandable": 1, "leaf": 0, "id": "mlt3-ppc1", "allowChildren": 1}, {"text": "mlt3-ppc2", "expandable": 1, "leaf": 0, "id": "mlt3-ppc2", "allowChildren": 1}, {"text": "mlt3-ppc3", "expandable": 1, "leaf": 0, "id": "mlt3-ppc3", "allowChildren": 1}]

$ curl "bcarbon00:8081/metrics/find/?local=1&format=json&query=%2A"
{"name":"*","matches":[{"path":"carbon","isLeaf":false},{"path":"graphite.db","isLeaf":false},{"path":"mlt3","isLeaf":false},{"path":"mlt3-ppc1","isLeaf":false},{"path":"mlt3-ppc2","isLeaf":false},{"path":"mlt3-ppc3","isLeaf":false}]}

The request issued by graphite-web is in pickle format, but I've shown the output in json here for readability. The actual request is made in pickle, and the response by carbonserver causes graphite-web to complain and fail to parse.
I know there's carbonapi, but there are some other separate issues there which are currently impeding me from switching to it fully.
Am I doing this wrong? I If so please advise, I'd really like to migrate to carbonserver/zipper!

Hmmm, as far as I remember carbonserver doesn't talk pickle, it only talks json and a protobuf protocol that only carbonserver, carbonzipper and carbonapi talk.

It does speak pickle protocol, from line 284. Also it does return seemingly valid data when asked for format=pickle
Which is in line with it to be "a drop-in replacement" for the graphite-web on the stores.

oh, I see, thanks for clarifying my code ;)  So what does graphite-web complain about? IIRC treejson is different from json, it may be that a recent release of graphite-web changed something here.

No worries :) I used treejson for illustration purposes only. The flow usually is like this:
Webclient (web-based graphite metric browser) issues:
GET /metrics/find/?_dc=1479381707026&query=*&format=treejson&path=&node=GraphiteTree
or
Grafana issues:
GET /metrics/find/?query=*
This request is processed by graphite-web acting as cluster-head, and the latter issues a request to all members in CLUSTER_SERVERS with this:
GET /metrics/find/?local=1&format=pickle&query=%2A
I get a 500 with the following trace when debug is enabled on graphite-web:
Traceback:

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  149.                     response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  147.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/graphite/webapp/graphite/metrics/views.py" in find_view
  116.     matches = list( STORE.find(query, fromTime, untilTime, local=local_only) )

File "/opt/graphite/webapp/graphite/storage.py" in find
  54.         for node in request.get_results():

File "/opt/graphite/webapp/graphite/remote_storage.py" in get_results
  115.         node = BranchNode(node_info['path'])

Exception Type: KeyError at /metrics/find/
Exception Value: 'path'

If you want I can also supply you with individual packet captures and full stack traces from graphite-web

If I'm correct graphite-web 0.9.x and graphite-web@master have different format to answer those questions.
There is an effort to make carbonserver compatibility layer (basically carbonserver with some fixes, cache support and converted to be a module for go-carbon) in go-carbon: https://github.com/lomik/go-carbon/ (it also works as drop-in replacement for carbon-cache). We have this thing in testing since approx. November and in production since end of December.
You can try to switch to it and to see if your problem is fixed there.
@grobian if you want you also get grab the commits that was done by lomik to fix pickle support and import them here.

or better: deprecate this project as soon as go-carbon is ok enough for you?

Well, it's your project so it's up to you. I can backport changes if you think there is a need for that, but right now go-carbon implements the same functionality + have cache support.

yup, and go-carbon seems to me the way to go ;)

I think it's really better to deprecate carbonserver in favor to go-carbon as at this moment we are moving to protobuf3 and carbonzipper will no longer be compatible with carbonserver.
Even though I can port all the changes here (most of them are straightforward) but I don't know if it's worth it. You can still use only carbonserver from go-carbon for example.


Consider renaming Core "Mixin" docs to "Mixins"

The singular name always struck me as odd:
https://aframe.io/docs/core/mixin.html

apply to other core pages also

Handled at https://github.com/aframevr/aframe/issues/949


Added support for replacing html and body in selectors

Selectors equal to and containing html and body should be replaced and not be prefixed in the normal manner.  Also, I removed the need for the trailing space in options.

Had to add a HACK to this fork for a production release due to lack of CLI options support


Core/70 kitchen status

Fix some error with fridge vector.

Enqueue and Dequeue the fridge on "status" command to be display.

Codecov Report

Merging #129 (1dd7167) into main (55cd254) will decrease coverage by 6.99%.
The diff coverage is 0.71%.

@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
- Coverage   33.23%   26.24%   -7.00%
==========================================
  Files          24       24
  Lines        1038      964      -74
  Branches      549      525      -24
==========================================
- Hits          345      253      -92
- Misses        358      464     +106
+ Partials      335      247      -88

Impacted Files
Coverage Δ

src/Core/Cook/Cook.cpp
0.00% <0.00%> (ø)

src/Core/Kitchen/Kitchen.cpp
0.00% <0.00%> (ø)

src/Core/Kitchen/Kitchen.hpp
0.00% <0.00%> (ø)

src/Core/Pizza/Pizza.cpp
28.12% <0.00%> (-37.50%)
:arrow_down:

src/Core/Plazza.cpp
0.00% <0.00%> (ø)

src/Core/Plazza.hpp
0.00% <ø> (ø)

tests/unit_tests/Pizza/Pizza_test.cpp
25.00% <ø> (-16.50%)
:arrow_down:

src/MessageQueue/MessageQueue.cpp
69.44% <100.00%> (ø)

src/Logger/Exception.hpp
18.18% <0.00%> (+3.89%)
: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 55cd254...1dd7167. Read the comment docs.


Guided Experience Item entry still exist after unpublishing our app

We have an assisted setup page, which is works fine, but when we have uninstall and unpublish our app, a guided experience item is still exist.
Should I remove this entry somehow? How can I do this? Is there an event for this somewhere?
It's a bit annoying, because when we have reinstall our app, the assisted setup seems to be completed.

There is no best practice to remove this entry or I'm asking on a wrong place?

As I see, there is no option to subscribe on uninstalling apps. Please vote on this if you also need this option.
https://experience.dynamics.com/ideas/idea/?ideaid=2ee9e0ed-6cc5-e911-b083-0003ff68ac6b

Hi @HegedusZsolt
As you say, there is no OnUninstall trigger where you could place such code.
Your only option for now is to handle potentially existing Guided Experience Items at install, removing the old ones before adding new.
Thanks.


Strange drift while the camera was sitting on the table - What might be the reason?

Hi Raffaello, First, thanks for making this tutorial available, it's really helpful.
I have a question about the performance of Elbrus. I managed to build the dockerfile, and run it.
terminal_output_of_running_realsense_image.txt
I don't currently have a host machine where I can run rviz2 to visualize the camera but I am able to print odometry data on the terminal. I ssh'd into my Jetson and attached another terminal to the docker image with docker exec -it <docker name> /bin/bash
Then, I accessed the odometry data by ros2 topic echo /camera/visual_odometry/tf_stamped command.
header:
  stamp:
    sec:<PHONE_NUMBER>
    nanosec: 805066752
  frame_id: camera_infra1_optical_frame
child_frame_id: camera_infra1_optical_frame
rectified_transform:
  translation:
    x: 5.067627429962158
    y: 0.5380121469497681
    z: 0.25905224680900574
  rotation:
    x: 0.08346484038717318
    y: 0.09155384207216172
    z: 0.9584881184149462
    w: 0.25681127235414314
smooth_transform:
  translation:
    x: 5.067627429962158
    y: 0.5380121469497681
    z: 0.25905224680900574
  rotation:
    x: 0.08346484038717318
    y: 0.09155384207216172
    z: 0.9584881184149462
    w: 0.25681127235414314
vo_state: 1
integrator_state: 3

Please notice x: 5.06. The algorithm has been running for about 10-20 minutes and the camera has been sitting on the table this entire time. The D435i camera is in a well-lit room, facing to the ceiling, and the IMU hasn't been exposed to any vibrations.
What might be reason of this drift? Do I need to do anything (calibration, etc.) to maximize the performance of Elbrus? I will use this setup to benchmark the performance of Elbrus against some other open-source VIO/VISLAM algorithms, therefore I must make sure that I'm doing everything I can to get the best performance that I can.

Hi,
The Isaac ROS visual Odometry (now Isaac ROS visual slam) is updated with the latest update.
Let me know if is improved the localization


Test Devices

I'm thinking that test ads should be shown on test devices regardless of whether 'isDevelop' is true or false. That way I can run a release build on my test device with isDevelop==false and still safely show test ads.

@ozzy1873
Set it to true if you want to test, and set it to false in production.  I think it is a very easy to understand and simple specification.

Maybe there is a problem with naming.  For example, if named isTestDevice, you will set it without misunderstanding.

I understand, but that is not the problem. Consider this use case: I have an app deployed in the app store and that app has isDevelop set to false (of course). Now I want to install that app from the app store onto my test device. In this case, I still want my device to display test ads.

@ozzy1873 Both the Admob SDK and the Google Ad Manager SDK need to have an ad unit ID for testing in order to display Test ads.
I think that changing the value of isDevelop  and changing the ad unit id is the same thing.
Regardless of this plugin, it is a specification of the Native SDK.
The same problem will occur even if implemented with native SDK.
If you want to switch the settings of the app downloaded from the app store, it is recommended to control with Firebase Remote Config.

There is a difference between using test unit IDs and adding your device as a test device.
With test units - you see the simple test ad. You also need to refactor your code before release.
With test devices - you see actual ads from your unit, but they're in "test mode"

@ozzy1873
Do you think that if you just register a test device, test ads will be displayed without specifying a test unit id?
My understanding of google ad manager SDK is as follows.

If do not specify a unit id for test ads, the test ads will not be displayed.
If a test device is not registered, a test advertisement will not be displayed on the actual device even if a test unit id is specified.

My understanding is that if you register a test device, test ads will always be displayed on that device, even without specifying a test unit ID. Perhaps you can run an experiment to know for sure?

@ozzy1873 I experimented. You are right.
I will fix to display a test ad if TestDevices is implemented.

@ozzy1873 v0.8.0 has been released. Please try using it.
Thank you very much for your advice!!

I think there is still a small problem. This is working now when compiled for debugging; however, when compiled for release, the test ads are not being served when the app is running on a test device. When running on a test device, test ads should always be served in both debug and release modes.


JavaScript Error JSON

I'm on mac osx, would love some help on anything I can do to prevent this bug
I'm getting a:
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at /Applications/Video Hub App 3.app/Contents/Resources/app.asar/main.js:215:36
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)
https://ibb.co/MRyL59M

Sorry about this bug - I really should have had this fixed by now ... I thought I did 😓
Just to be sure, when you click OK does the app resume normal operations, or is it frozen?
There are two possible reasons:

the settings.json file got corrupt, and now the app doesn't remember your settings.

I don't think that's what happened here - looks like the app remembers your "recently-opened" history

the .vha2 file (hub) you are trying to open is corrupt and the app will not be able to open it.

This can be fixed, *please back up the.vha2 and .vha2.bak file just in case (copy to another location) and then rename the .vha2.bak file to .vha2 and the last-successfully-saved version of the hub should be there.

Please let me know how it goes, and whether you're on version 3.1.0 (latest release -- click on settings, scroll to very bottom, see on the right).

I am on version 3.1.
The app did not resume normal operations, I couldn't keep going it was frozen.
I was able to use the backup. My follow up question is, does it create another backup after I use that one?
Thanks!

Sorry I've been busy with work and life stuff and forgot to reply 😅
The backup is created, IIRC (if I recall correctly), whenever a new .vha2 is saved. The new .vha2 file is saved every time there is an update (e.g. a tag is added/removed, new video added, or a file is played -- because the "number of times played" goes up by 1).

is there at least some way to decrease the frequency that this error occurs? without having to completely empty the thumbnail cache? like i've been doing the above workaround for a while but it used be required like once a week and now it gives me the error like every other time I open the app

Thank you for sharing that you too have this bug. Could you clarify what exactly is happening? It's not clear to me what you mean by "empty the thumbnail cache" - are you deleting the .jpg files? Unsure why that would be useful.
Is there any pattern about when / why the bug happens? Is it after using the app and closing the computer in some different way (standby mode / sleep / shutdown) while having the app open? If there's any pattern you notice, or a hypothesis you have - all will be welcome - I don't know what's causing the issue (I never run into it on my machine) 😅
Thank you for any feedback 🙇

sorry just saw this, by emptying the cache I mean just going into AppData/Roaming and clearing everything out and then doing a reinstall (worst case scenario for me, although this didn't totally fix the problem it just made it so whenever I constructed a new library, it worked for a longer stretch of time before starting up with the .json error.
It takes forever to reload my thumbnails (I use the animated ones) after starting from scratch and even then the progress bar in the upper right will go to 100% after however many hours, but then every time I open the app after it will be at the same random percentage (80% for example) and just stay with that in the upper right corner even though it had previously "completed" building the thumbnails back. I think this might have something to do with why I'm getting the error (just a hunch), because I noticed the "stuck percentage" issue and the .json error started happening around the same time. I don't think it likes that I close the app while it's "loading", which I have to because like I said, it just stays at some percentage and goes back to the same number the next time I successfully open the library.
This is what I get when I try to open the "corrupted" library until I do your "rename the .bak file" trick.

@lolDayus -- I'm unsure, but it seems like you might have "watch folder" enabled - so the hub, as soon as it opens, triggers a full re-scan of the input directory and then tries to add any videos.
There's likely a bug (my fault) where something weird happens (unsure what) and in the process of rescanning, it gets tripped up. I think I've seen some unexpected behavior on my end when rescanning a directory where I deleted a single video file - and the progress bar showed up and got stuck.
I wonder if there's also some bug that closing the app while the extraction is running, something unexpected happens. I'm pretty sure I put in a "stop import process first" before starting the close procedure, but just in case, please press "Stop" if it's visible - before closing. Though I think the "Stop" might not disappear even if you press it - I think I saw that bug once.
The takeaway: if you have "watch folder" enabled, consider disabling it -- perhaps this file-corruption bug will go away 🤞 😅 🤞
I do hope to have a bugfix release in the coming months, but now it looks like it would be in July at the earliest 😓 If you are able to compile the app from code - give it a try: the current main branch already has FFmpeg version 5 which might help with extraction 🤷♂


Issue running installation script on Linux

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When trying to install the CLI, I'm getting the following:
Get:1 file:/var/nccl-repo-2.2.13-ga-cuda9.2  InRelease
Ign:1 file:/var/nccl-repo-2.2.13-ga-cuda9.2  InRelease
Get:2 file:/var/nccl-repo-2.2.13-ga-cuda9.2  Release [574 B]
Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:2 file:/var/nccl-repo-2.2.13-ga-cuda9.2  Release [574 B]
Hit:5 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:6 http://packages.microsoft.com/repos/code stable InRelease
Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:8 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  InRelease [1484 B]
Get:9 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64  InRelease [1481 B]
Hit:10 https://packages.microsoft.com/repos/azure-cli bionic InRelease
Hit:11 https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease
Hit:12 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease
Hit:13 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
Ign:14 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
Hit:15 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease
Ign:16 http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  InRelease
Hit:17 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release
Hit:18 http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release
Hit:19 http://ppa.launchpad.net/webupd8team/atom/ubuntu bionic InRelease
Hit:20 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease
Hit:22 http://ppa.launchpad.net/x2go/stable/ubuntu bionic InRelease
Err:23 https://dl.bintray.com/sbt/debian  InRelease
403  Forbidden [IP: <IP_ADDRESS> 443]
Reading package lists... Done
E: Failed to fetch https://dl.bintray.com/sbt/debian/InRelease  403  Forbidden [IP: <IP_ADDRESS> 443]
E: The repository 'https://dl.bintray.com/sbt/debian  InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
To Reproduce
Running : curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Expected behavior
Successful completion of the execution
Environment summary
Ubuntu 18.04
Additional context
Just started happening today, must be a new release

@jiasli for awareness

Duplicate of #17666
Please see https://github.com/Azure/azure-cli/issues/17666#issuecomment-899953711 for the solution.


docs: add deployment section to the intro guide

I will merge this one first, the guides can go separately.


fix(go.mod): bumped go version 1.22.3 to 1.18 as dnscontrol supports 1.18

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


Describe available $SYSTree topics and value for

in https://vernemq.com/docs/monitoring/systree.html it doesn't list what topics are available, from https://vernemq.com/docs/monitoring/ and playing with wildcards in the CLI I could find out that the format is $SYS/<NodeName>/ followed by the topics listed in monitoring.
it would be useful if a link to the list in monitoring was added in the systree section and also some sample topics, also showing an example of what NodeName is (like<EMAIL_ADDRESS>and where it can be found (in the console prompt and in the config file "grep nodename vernemq.conf")
finally maybe an example on how to discover them via the cli like:
mosquitto_sub -t \$SYS/<node-name>/\# -u <username> -P <password> -d

which will print received messages with the topic they come from (-d is for debug)

Thanks so much for identifying this kind of "friction"! very valuable.
I started updating the doc and will add examples.

Hi @marianoguerra
We've extended the $SYS docs a bit. Of course we heavily appreciate your feedback on this. https://vernemq.com/docs/monitoring/systree.html
Let me close this issue for the moment.
Cheers,
Andre


Support implementations that do not require authorization for the get_object endpoint

For objects that require authorization...
Many DRS implementations do not require authorization for get_object. Authorization is only needed when obtained the url at which to download bytes.
This applies to all the gen3 DRS implementations (crdc, topmed, etc.) and to the NCBI implementation.
The compliance suite appears to apply authentication to the get_objects request i.e. the get /objects/ end point.
The first result set (drs_compliance_report2.txt) shows the test report for the NCBI DRS with "auth_type": "passport"
This fails the "drs object info" phase because authentication is being applied to the request. The server does not expect auth to be passed for this request.
The second result run (drs_compliance_report2.txt) used the same drs ids with with "auth_type": "none"
The responses for the ids pass most tests
(the issue with the NCBI implementation providing self_uri as self_url is a separate issue and will be dealt with by the implementation)
It of course fails the "drs object access" phase with a 401 when it attempts to get the url for the object.
The compliance suite should support applying auth only to the object access phase in such a scenario.
Note that some implementations require auth for both phases. The compliance suite will need to handle both scenarios.
The attached .txt files are json, but the json extension was not supported during file upload to GitHub.
drs_compliance_report2.txt
drs_compliance_report3.txt

Also adding the config files used for the two reports above.
Note that the tokens have been disabled by editing them.
ncbi_config2.txt
ncbi_config3.txt

Reran with the latest update.
Required significant modification of the config file to specify that auth was not needed for get_object.
The test ran OK with a suitably configured config file.
However, the config file is now more cumbersome to edit - with a lot of duplication.
The following config would be more compact.
In fact, the simpler default would be that if auth_get_object was not present in the config file that it would be assumed to be false. This is the more common scenario.
If auth is required on get_object then it would have to be present in the config_file.
 "drs_objects" : [
   {
      "drs_id" : "47065fa87f3ac9f58426d4157ab281de",
      "auth_type": "passport",
      "auth_token": ["token-xyz"],
      "auth_get_object": false,
      "is_bundle": false
   },
   {
      "drs_id" : "0000cc2f56847afb9a238a05c6c7747c",
      "auth_type": "passport",
      "auth_token": ["token-xyz"],
      "auth_get_object": false,
      "is_bundle": true
   }
 ]

The following might also be considered which provides auth which would be used for all the objects in the test. This would be a practical simplification and would work for most of the common existing DRS services. If necessary, auth details could be provided at an object level. If absent the auth_config would be used. In most cases only auth_config would be needed.
"auth_config"  :  {
      "auth_type": "passport",
      "auth_token": ["token-xyz"],
      "auth_get_object": false
},
"drs_objects" : [
   {
      "drs_id" : "47065fa87f3ac9f58426d4157ab281de",
      "is_bundle": false
   },
   {
      "drs_id" : "0000cc2f56847afb9a238a05c6c7747c",
      "is_bundle": true
   }
 ]


Mixer Authorization Template missing in Istio 1.4

Bug description
With Istio 1.4 ( tried 1.4.0 and 1.4.6 ) , I am unable to deploy any authorization mixer adapter. The Mixer log gives the following error :
"instance='auth-instance.instance.istio-system'.template: template 'authorization' not found"
The key is that the authorization template seems to be missing from Mixer.
I googled and found that the disablePolicyChecks flag needs to be set to false in order for Mixer authorization to work, so I installed istio with the following flags to make sure it was set to false (referencing #19067 and and #19139 ):
'istioctl manifest apply --set values.pilot.policy.enabled=true --set values.global.policyCheckFailOpen=true  --set values.global.disablePolicyChecks=false '
But even with disablePolicyChecks set to false, I get the same 'authorization template not found' error.
Expected behavior
I should be able to deploy a mixer authorization adapter.
Steps to reproduce the bug
Install Istio 1.4.0 or 1.4.6 , and try to deploy a Mixer Adapter based on Authorization template.
The Rule/Handler/Instance definition fails with the error 'Authorization template not found'
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.4.0 and 1.4.6 . I haven't tested with other versions.
How was Istio installed?
istioctl manifest apply --set values.pilot.policy.enabled=true --set values.global.policyCheckFailOpen=true  --set values.global.disablePolicyChecks=false
Environment where bug was observed (cloud vendor, OS, etc)
Oracle Cloud , Kubernetes Engine.

istio-dump.tar.gz

Never mind, I figured out the issue. I'll be documenting the right  way to build an adapter in a blog.
I'll close the bug for now.


Forcing "chr" prefix on chromosomes causes reference-MAF mismatches

Hi,
While trying to run the latest commit and the latest PIP version, I kept getting missing key errors:
signatureanalyzer -t maf -n 4 --hg_build /aztlan/refs/Homo_sapiens_assembly19.2bit --cosmic cosmic3_ID rebc356_thca48.16MAR2020.maf
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(signatureanalyzer:24793): Gdk-CRITICAL **: 10:34:16.643: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
/home/eric/.local/lib/python3.6/site-packages/sklearn/utils/deprecation.py:144: FutureWarning: The sklearn.neighbors.base module is  deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.neighbors. Anything that cannot be imported from sklearn.neighbors is now part of the private API.
  warnings.warn(message, FutureWarning)
---------------------------------------------------------
---------- S I G N A T U R E  A N A L Y Z E R  ----------
---------------------------------------------------------
   * Using Homo_sapiens_assembly19 build
   * Using cosmic3_ID signatures
   * Loading spectra from rebc356_thca48.16MAR2020.maf
sys:1: DtypeWarning: Columns (78,79,83,87,88,92,93,94,100,102,103,108,110,114,115,116,118,120,135,136,137,138,139,140,141,142,143,144,149,160,161,162,163,168,177) have mixed types.Specify dtype option on import or set low_memory=False.
      * Mapping contexts: 0 / 23933Traceback (most recent call last):
  File "/home/eric/.local/bin/signatureanalyzer", line 11, in <module>
    load_entry_point('signatureanalyzer', 'console_scripts', 'signatureanalyzer')()
  File "/home/eric/getzlab-SignatureAnalyzer/signatureanalyzer/__main__.py", line 181, in main
    **vars(args)
  File "/home/eric/getzlab-SignatureAnalyzer/signatureanalyzer/signatureanalyzer.py", line 87, in run_maf
    cosmic=cosmic
  File "/home/eric/getzlab-SignatureAnalyzer/signatureanalyzer/spectra.py", line 194, in get_spectra_from_maf
    _context = hg[chromosome][pos - 1 + del_len:pos - 1 + del_len * 6].upper()
KeyError: 'chr1'

(please excuse the X server errors - I don't know why it's complaining about not having X forwarding but it doesn't seem to impact anything.)
I traced it down to this line:
https://github.com/broadinstitute/getzlab-SignatureAnalyzer/blob/bdab04164fa27b6bd9fbf3b344e8b3772b7fe2ef/signatureanalyzer/spectra.py#L98
It looks like the "chr" prefix gets appended to the MAF but not the reference 2bit chromosome names. I was able to successfully run by removing this line and an identical one later in the file.
I'm happy to make a PR to remove these lines, but I assume they were put there for a purpose. Maybe because they need to be coerced to strings and numpy is trying to interpret them as ints?
Generally I try to avoid enforcing prefixes with references/VCFs/MAFs because it's easy to get mismatches like this. Every center has their own way of resolving them, and in enforcing one way or the other I have usually created more problems than I started with.
I assume this would also lead to the MAF or spectra output having the "chr" prefix, or are they chomped off before final output?

Hello,
get_spectra_from_maf should now check the hg build file for the "chr" prefix and only attach it if necessary.


Debug assertion in HttpSM

When trying to debug another issue, with a debug build I'm getting these assertions:
Fatal: HttpSM.cc:6294: failed assertion `t_state.internal_msg_buffer_size > 0`
Fatal: HttpSM.cc:6294: failed assertion `t_state.internal_msg_buffer_size > 0`
Fatal: HttpSM.cc:6294: failed assertion `t_state.internal_msg_buffer_size > 0`

That is with current 7.1.x branch.

Could you please print the HttpSM::history !

Hmmm, this might be an issue with how we use a plugin API, we need to debug some more.

The current theory is that you can't call this API with a zero-length body:
TSHttpTxnErrorBodySet(TSHttpTxn txnp, char *buf, size_t buflength, char *mimetype)

The API allows this, but the core might not? Begs the question though, should we assert in the API? But then, what if I really want to set an empty error body? THat's not allowed? :-). It seems to work ok in non-debug releases...

What should we do with this API? I think, but not 100% sure, that setting the body to zero length is what caused the assertion in the HttpSM. But, this is confusing, to say the least. I think we have to do one of

Make the API (TSHttpTxnErrorBodySet) do a sanity check on buflength / buf, basically making zero length bodies invalid.
Fix the HttpSM such that it doesn't assert like this.

Regardless, we should probably update the docs here too.


installing deno on alpine leads to deno: not found

Hi all, i want to create a frontend service in a custom docker container but after installing deno, it is not found on cmd but the binary is there. maybe the binary is not compatible with alpine linux?
I use following Docker file
ARG ALPINE_VERSION=${ALPINE_VERSION:-latest}
FROM alpine:$ALPINE_VERSION

RUN apk -U upgrade
RUN apk add --no-cache \
    curl

RUN export DENO_INSTALL=/usr/local && curl -fsSL https://deno.land/install.sh |  sh

CMD ["tail","-f","/dev/null"]

the output of the installation is following
######################################################################## 100.0%
Archive:  /usr/local/bin/deno.zip
  inflating: deno
Deno was installed successfully to /usr/local/bin/deno
sh: /usr/local/bin/deno: not found
Run 'deno --help' to get started

Stuck? Join our Discord https://discord.gg/deno

you can already see here the not found error.
so i checked /usr/local/bin
total 138384
drwxr-xr-x    1 root     root          4096 Nov  9 21:22 .
drwxr-xr-x    1 root     root          4096 Sep  6 11:34 ..
-rwxr-xr-x    1 root     root     141686664 Nov  9 21:22 deno

the file is there and is executable
echo $PATH shows following
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

so executable is there but is for some reason it is not found. i cannot use alpines apk add deno because it is in version 1.4 and i would like to use the latest one.
maybe someone has an idea?

I'm running into the same issue, and I think it's something to do with this section of the install.sh basically skipping run_shell_setup which is where the PATH is updated with the location of deno
# If stdout is a terminal, see if we can run shell setup script (which includes interactive prompts)
if [ -z "$CI" ] && [ -t 1 ] && $exe eval 'const [major, minor] = Deno.version.deno.split("."); if (major < 2 && minor < 42) Deno.exit(1)'; then
	if [ -t 0 ]; then
		run_shell_setup "$@"
	else
		# This script is probably running piped into sh, so we don't have direct access to stdin.
		# Instead, explicitly connect /dev/tty to stdin
		run_shell_setup "$@" </dev/tty
	fi
fi

this should be fixed now by passing -y to the install script
for example
FROM debian:stable-slim

RUN apt-get update && \
  apt-get install -y \
  bash \
  curl \
  unzip

ENV SHELL="/bin/bash"

RUN curl -fsSL https://deno.land/install.sh | sh -s -- -y

CMD ["/bin/bash"]

Actually, sorry that does not completely fix your issue. You're right, it seems like that alpine base image just doesn't have some dependencies that the deno binary needs.
ldd /usr/local/bin/deno returns
Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37
Error relocating /usr/local/bin/deno: __isnan: symbol not found
Error relocating /usr/local/bin/deno: __memcpy_chk: symbol not found
Error relocating /usr/local/bin/deno: __vfprintf_chk: symbol not found
Error relocating /usr/local/bin/deno: __vsnprintf_chk: symbol not found
Error relocating /usr/local/bin/deno: __sysconf: symbol not found
Error relocating /usr/local/bin/deno: backtrace: symbol not found
Error relocating /usr/local/bin/deno: backtrace_symbols: symbol not found
Error relocating /usr/local/bin/deno: __mbrlen: symbol not found
Error relocating /usr/local/bin/deno: strtoll_l: symbol not found
Error relocating /usr/local/bin/deno: strtoull_l: symbol not found
Error relocating /usr/local/bin/deno: __register_atfork: symbol not found
Error relocating /usr/local/bin/deno: gnu_get_libc_version: symbol not found
Error relocating /usr/local/bin/deno: __res_init: symbol not found

Otherwise, there is an official Deno Alpine image denoland/deno:alpine


Remove references to AB3 from developer guide

Key Summary

Remove references to AB3 in the developer guide
Diagrams still refer to AB3, to be replaced in future milestone

Additional updates. No issues attached.


Register

@JuliaRegistrator register
[noblock]

Registration pull request created: JuliaRegistries/General/115287
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" 8eb6fe866a61f0ba2d5108de8fa08687da660950
git push origin v0.1.1

@JuliaRegistrator register
[noblock]

Registration pull request updated: JuliaRegistries/General/115287
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" a45e0bf6a5f4618d5b9d310831cc23ce78f6da4b
git push origin v0.1.1

@JuliaRegistrator register
[noblock]
Release notes:
WaveSpec v0.1.1
Changes:

Current interpolation using PCHIP (Piecewise Cubic Hermite Interpolating Polynomial) spline interpolation, instead of piecewise-linear interpolation
PCHIP provided by PCHIPInterpolation.jl
Removed the Interpolations.jl package.

Registration pull request updated: JuliaRegistries/General/115287
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" a45e0bf6a5f4618d5b9d310831cc23ce78f6da4b
git push origin v0.1.1

@JuliaRegistrator register
[noblock]
Release notes:
WaveSpec v0.1.1
Changes:

Current interpolation using PCHIP (Piecewise Cubic Hermite Interpolating Polynomial) spline interpolation, instead of piecewise-linear interpolation
PCHIP provided by PCHIPInterpolation.jl
Removed the Interpolations.jl package.

Registration pull request updated: JuliaRegistries/General/115287
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" 52d749a1f1b12afcd087a7d224ac97493e50d8a0
git push origin v0.1.1


Add Promise.allSettled

This is #112 with minor changes to satisfy linting, plus adding tests.

Thank you so much for doing this @Jamie5! I really appreciate it. I will release this today.


gumbo: update project link

Description of changes
Updated URLs to match new project.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

This change is not cricitcal, since old link https://codeberg.org/grisha/gumbo-parser still works, but it's good to have anyway.


CMake error for EXPAT when compiling MAJA

Hi everyone,
I tried to compile MAJA from source several times, I installed all the dependencies however always got the following error :
root@d4c5801f4c33:~/software/MAJA/build# make
[  3%] Built target SQLITE
[  6%] Built target PATCHELF
[  9%] Built target ZLIB
[  9%] Performing download step (download, verify and extract) for 'EXPAT'
CMake Error at stamp/EXPAT-download-Release.cmake:49 (message):
Command failed: 1
'/usr/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/root/software/MAJA/build/EXPAT/stamp/EXPAT-download-Release-impl.cmake'
See also
/root/software/MAJA/build/EXPAT/stamp/EXPAT-download-*.log

make[2]: *** [CMakeFiles/EXPAT.dir/build.make:91: EXPAT/stamp/EXPAT-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:662: CMakeFiles/EXPAT.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
Anyone has an idea about how to fix this error?
Many thanks,
Aafaf

Hi,
Here is the content of the file  '/root/software/MAJA/build/EXPAT/stamp/EXPAT-download-err.log'  :
root@d4c5801f4c33:~/software/MAJA/build/EXPAT/stamp# cat EXPAT-download-err.log
CMake Error at stamp/download-EXPAT.cmake:159 (message):
Each download failed!
error: downloading 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying <IP_ADDRESS>:80...

TCP_NODELAY set
Connected to downloads.sourceforge.net (<IP_ADDRESS>) port 80 (#0)
GET /project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1
Host: downloads.sourceforge.net
User-Agent: curl/7.66.0
Accept: /
Mark bundle as not supporting multiuse
The requested URL returned error: 404 Not Found
Closing connection 0
     --- LOG END ---
     error: downloading 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying <IP_ADDRESS>:80...

TCP_NODELAY set
Connected to downloads.sourceforge.net (<IP_ADDRESS>) port 80 (#0)
GET /project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1
Host: downloads.sourceforge.net
User-Agent: curl/7.66.0
Accept: /
Mark bundle as not supporting multiuse
The requested URL returned error: 404 Not Found
Closing connection 0
     --- LOG END ---
     error: downloading 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying <IP_ADDRESS>:80...

TCP_NODELAY set
Connected to downloads.sourceforge.net (<IP_ADDRESS>) port 80 (#0)
GET /project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1
Host: downloads.sourceforge.net
User-Agent: curl/7.66.0
Accept: /
Mark bundle as not supporting multiuse
The requested URL returned error: 404 Not Found
Closing connection 0
     --- LOG END ---
     error: downloading 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying <IP_ADDRESS>:80...

TCP_NODELAY set
Connected to downloads.sourceforge.net (<IP_ADDRESS>) port 80 (#0)
GET /project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1
Host: downloads.sourceforge.net
User-Agent: curl/7.66.0
Accept: /
Mark bundle as not supporting multiuse
The requested URL returned error: 404 Not Found
Closing connection 0
     --- LOG END ---
     error: downloading 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying <IP_ADDRESS>:80...

TCP_NODELAY set
Connected to downloads.sourceforge.net (<IP_ADDRESS>) port 80 (#0)
GET /project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1
Host: downloads.sourceforge.net
User-Agent: curl/7.66.0
Accept: /
Mark bundle as not supporting multiuse
The requested URL returned error: 404 Not Found
Closing connection 0
     --- LOG END ---
     error: downloading 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz' failed
     status_code: 22
     status_string: "HTTP response code said error"
     log:
     --- LOG BEGIN ---
       Trying <IP_ADDRESS>:80...

TCP_NODELAY set
Connected to downloads.sourceforge.net (<IP_ADDRESS>) port 80 (#0)
GET /project/expat/expat/2.1.0/expat-2.1.0.tar.gz HTTP/1.1
Host: downloads.sourceforge.net
User-Agent: curl/7.66.0
Accept: /
Mark bundle as not supporting multiuse
The requested URL returned error: 404 Not Found
Closing connection 0
     --- LOG END ---

CMake Error at stamp/EXPAT-download-Release-impl.cmake:9 (message):
Command failed (1):
'/usr/bin/cmake' '-P' '/root/software/MAJA/build/EXPAT/stamp/download-EXPAT.cmake'
root@d4c5801f4c33:~/software/MAJA/build/EXPAT/stamp#

Ok, the link to the package is broken. Indeed expat-2.1.0 is deprecated, though you can still get it from the following link:
https://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0-RENAMED-VULNERABLE-PLEASE-USE-2.3.0-INSTEAD.tar.gz/download
A simple workaround is to download it to a given directory you point to with the 'DOWNLOAD_DIR' you'll set when invoking ccmake. If it strictly looks for 'expat-2.1.0.tar.gz', you may just rename/symlink the package you downloaded. Another option could be to get the devel package of expat right from your distribution repo, but I've never tested this.
Hope this helps, let me know,
Jerome

Hi,
It worked, it fixed the EXPAT problem. But now, I get another error :
`running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
copying gdal.py -> build/lib.linux-x86_64-3.7
copying ogr.py -> build/lib.linux-x86_64-3.7
copying osr.py -> build/lib.linux-x86_64-3.7
copying gdalconst.py -> build/lib.linux-x86_64-3.7
copying gdalnumeric.py -> build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/osgeo
copying osgeo/gnm.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/gdal.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/init.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/osr.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/ogr.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/gdal_array.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/gdalnumeric.py -> build/lib.linux-x86_64-3.7/osgeo
copying osgeo/gdalconst.py -> build/lib.linux-x86_64-3.7/osgeo
Fixing build/lib.linux-x86_64-3.7/gdal.py build/lib.linux-x86_64-3.7/ogr.py build/lib.linux-x86_64-3.7/osr.py build/lib.linux-x86_64-3.7/gdalconst.py build/lib.linux-x86_64-3.7/gdalnumeric.py build/lib.linux-x86_64-3.7/osgeo/gnm.py build/lib.linux-x86_64-3.7/osgeo/gdal.py build/lib.linux-x86_64-3.7/osgeo/init.py build/lib.linux-x86_64-3.7/osgeo/osr.py build/lib.linux-x86_64-3.7/osgeo/ogr.py build/lib.linux-x86_64-3.7/osgeo/gdal_array.py build/lib.linux-x86_64-3.7/osgeo/gdalnumeric.py build/lib.linux-x86_64-3.7/osgeo/gdalconst.py
Skipping optional fixer: ws_comma
Fixing build/lib.linux-x86_64-3.7/gdal.py build/lib.linux-x86_64-3.7/ogr.py build/lib.linux-x86_64-3.7/osr.py build/lib.linux-x86_64-3.7/gdalconst.py build/lib.linux-x86_64-3.7/gdalnumeric.py build/lib.linux-x86_64-3.7/osgeo/gnm.py build/lib.linux-x86_64-3.7/osgeo/gdal.py build/lib.linux-x86_64-3.7/osgeo/init.py build/lib.linux-x86_64-3.7/osgeo/osr.py build/lib.linux-x86_64-3.7/osgeo/ogr.py build/lib.linux-x86_64-3.7/osgeo/gdal_array.py build/lib.linux-x86_64-3.7/osgeo/gdalnumeric.py build/lib.linux-x86_64-3.7/osgeo/gdalconst.py
Skipping optional fixer: ws_comma
running build_ext
Traceback (most recent call last):
File "setup.py", line 430, in
setup(**setup_kwargs)
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/dist.py", line 984, in run_command
cmd_obj.ensure_finalized()
File "/home/planetobserver/Téléchargements/artifacts/MAJA/install/maja/4.2.1/lib/python3.7/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "setup.py", line 287, in finalize_options
self.gdaldir = self.get_gdal_config('prefix')
File "setup.py", line 237, in get_gdal_config
return fetch_config(option, gdal_config=self.gdal_config)
File "setup.py", line 155, in fetch_config
r = p.stdout.readline().decode('ascii').strip()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 22: ordinal not in range(128)
make[5]: *** [GNUmakefile:73 : build] Erreur 1
make[4]: *** [GNUmakefile:29 : build] Erreur 2
make[3]: *** [GNUmakefile:122 : swig-modules] Erreur 2
make[2]: *** [CMakeFiles/GDAL.dir/build.make:130 : GDAL/stamp/GDAL-build] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:268 : CMakeFiles/GDAL.dir/all] Erreur 2
make: *** [Makefile:95 : all] Erreur 2
planetobserver@planetlinux:~/Téléchargements/artifacts/MAJA/build$
`
I'll be gratefull if you have any suggestions to fix that ^^
Thank you,
Aafaf

Here is the Gdal files :
[GDAL-configure-err.log](https://github.com/CNES/MAJA/files/7475228/GDAL-configure-err.log
GDAL-configure-out.log
GDAL-download-out.log
)

Hi,
Seems like it crashed at build step. Can you provide any GDAL-build-out.log ?
Thanks,
Jerome

Just in case you keep having troubles compiling, you can get build artifacts of the latest 4.2.7 from here (linux only):
https://gitlab.orfeo-toolbox.org/maja/maja/-/jobs/45122/artifacts/download?file_type=archive

Hi Jerome,
I can't find the file GDAL-build-out.log or GDAL-build-err.log in the stamp folder. I worked with the latest version and still get the same error while compiling :(
Aafaf


Add square-root

Getting back into adding Erlang exercises

I ran the gh api command for the list of OTP versions. In the list, there's a h-ba version before 22.3 so naively splitting on the period between major and minor won't work.

A possible fix is adding a select before the sort that filters out items that aren't a number dot number.
gh api graphql -f query='query { repository(owner: "erlang", name: "otp") { releases(last: 100, orderBy: {field: CREATED_AT, direction: ASC}) { nodes { tagName } } } }' --jq '.data.repository.releases.nodes[].tagName | select(. | contains("rc") | not) | .[4:8] | select(test("^[0-9]+\\.[0-9]+$"))' | sort -u -n.
exports the following list of versions
22.3
23.2
23.3
24.1
24.2
24.3
25.0
25.1
25.2
25.3
26.0
26.1
26.2
27.0


assert torch.cuda.is_available()  AssertionError

Traceback (most recent call last):
File "D:\soft\2 osas\open-oasis-master\open-oasis-master\generate.py", line 19, in
assert torch.cuda.is_available()
^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
I tried downloading from https://developer.nvidia.com/cuda-downloads to resolve the error, but it didn't help. please tell me who knows how to fix this.  I use windows 10
(sorry for errors in the text, I used Google translator)

CUDA only works with NVIDIA graphics cards
https://developer.nvidia.com/cuda-downloads

CUDA only works with NVIDIA graphics cards
https://developer.nvidia.com/cuda-downloads

This is probably a problem with my computer as I downloaded this and it didn't help me.

What video card do you have?

You must be using an NVIDIA graphics card, however you may likely be able to use this with OpenCL allowing you to use a different GPU architecture other than NVIDIA.
Or maybe you may not have the NVIDIA drivers properly set up. What graphics card shows up for you on Device Manager (if on windows) or PCIe device listing (lspci on UNIX-like systems)?

What video card do you have?

NVIDIA GeForce GTX 1650 Ti

@xxoh111 I had the same problem as you, but I solved it
Try these

Make sure you have the driver for your NVIDIA graphics card, then download the CUDA Toolkit
Run nvcc --version from the command line to verify that CUDA is installed correctly
Uninstall the current PyTorch version pip uninstall torch torchvision torchaudio
Reinstall pytorch pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
check again


[SDK] Fix tsdocs for isERC20

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR modifies the implementation of the isERC20 function to first resolve the contract's ABI and extract function selectors before calling isERC20. This change enhances the function's ability to determine if a contract adheres to the ERC20 standard.
Detailed summary

Replaced the direct call to isERC20({ contract }) with:

Resolving the contract's ABI using resolveContractAbi<Abi>(contract).
Filtering the ABI to get only functions.
Mapping the filtered functions to their selectors.

Updated the call to isERC20 to use the extracted selectors.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5609  👈 (View in Graphite)
main

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


Uncap 1 character from frame limit

One character per frame is simply too slow for anything heavy on dialogue.
Sorry if this has been addressed already. I don't understand the majority of the other tickets.

Thanks for the issue! You are right that it should be possible to be faster than one character per frame.
There are few options for you to customize the printing speed, but none will let you print faster than one per frame due to the nature of the code.
You can pass in printing speed into the TypeText method (which is probably why you initially closed this issue).
But you may want the default delay to be faster / slower for your project. If you want to do that, so that you don't have to supply a delay to every TypeText call, you can technically change the default delay at https://github.com/redbluegames/unity-text-typer/blob/4c0b0165e41808ee7cc9072ec3beb7597ef204aa/Assets/RedBlueGames/TextTyper/TextTyper.cs#L19, but that's janky cause you shouldn't need to change the code for your project. (tasked here: https://github.com/redbluegames/unity-text-typer/issues/4).
Gonna re-open this as an issue to allow characters to print faster than one per frame.


Problem with sliding carousel

If you turn the carousel too fast, then at some point you get an error
TypeError: element is undefined
addClass http://localhost:3000/main.js:165:7
Carousel/this.slideTo http://localhost:3000/main.js:611:9
Carousel/this.cycle/timer< http://localhost:3000/main.js:576:47

In normal mode, autosliding, such an error also occurs. But not often
Carousel initialization:
document.addEventListener("DOMContentLoaded", () => {
    new Carousel(document.getElementById('gamesCarousel'));
});

bootstrap.native: 2.0.22

Never heard of it. Are you on a MAC?

ubuntu 16.04.04

I would assume Firefox was used.

yes and chromium, vivaldi too. And on windows7 too

The master version has some changes to how transitionend is handled, would you care for a test and confirm the result?

what I need to do? rollback to 2.0.21?

sometimes the slider enters an incomprehensible mode. it can be seen that he is hungry to resources.
For example, sometimes the picture disappears altogether and it collapses. Or vice versa, two pictures are shown at once, one under one.
Yes, it's probably event management problem.
Twice:

Collapse:

Having the same problem. Did a bit of debugging and it seems like at some point the active class on the carousel-items seems to disappear thus collapsing the whole slider. I think the automatic state transitions seem to conflict with the manual transition.

Both of you didn't answer my question: does it happen with the latest MASTER version?

@thednp  , thanks
ok, I will try. Before I dont properly understand you and suggest that last tag is equal your master.

So... interaction with slider now is more smooth. Cases of collapse occur much less often
But I still got the same error, but with bit another stacktrace
TypeError: element is undefined
addClass http://localhost:3000/main.js:156:7
Carousel/this.slideTo http://localhost:3000/main.js:450:9
controlsHandler http://localhost:3000/main.js:383:9

I forgot to merge the recent PR by someone fixing the transitionend handler, so can you please take a minute to test the latest master now?

I tried. Any changes

I tested with latest Ubuntu 17.10 and Mozilla (probably the latest Linux version) and I tested the left-right arrows for a few minutes and had no issue at all, at this point I believe this is an user issue so I must close this for now.

@mishelen I fixed some issues with the code regarding the above, please make sure to give the latest master a try and report back any problem.
If the problem persist, it's somewhere in your code, try to eliminate them one by one.
Good luck.

@mishelen there have been some more commits to address some of the issues probably related to yours, please take a minute to test.


Fails to switch kube config if no ~/.kube/config exists

Environment: Linux/Cloud Shell
If there's no ~/.kube/config on first run, the attempt to merge configs fails.
Repro
$rm -rf ~/.kube
$ ./kubelift switch
⠸ Switching to remote kubeconfigthread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/clouds/azure.rs:214:72
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Fixed in https://github.com/polverio/kubelift-cli/commit/be20e580deb9d6e2f9900cd235a7596ffeb44e00


fix: error when deinit CustomerIO class

Complete each step to get your pull request merged in. Learn more about the workflow this project uses.

[ ] Assign members of your team to review the pull request.
[ ] Wait for pull request status checks to complete. If there are problems, fix them until you see that all status checks are passing.
[ ] Wait until the pull request has been reviewed and approved by a teammate
[ ] After code reviews are approved and you determine this PR is ready to merge, select Squash and Merge button on this screen, leave the title and description to the default values, then merge the PR.

@levibostian looks like duplicate of https://github.com/customerio/customerio-ios/pull/342#pullrequestreview-1501071915


False Negative for Hibernate Core

False negative on library hibernate-core-5.0.12.Final.jar - reported as<EMAIL_ADDRESS>Should be reported as CVE-2020-25638 and CVE-2019-14900.
This is the cpe used in NVD: cpe:2.3: a:hibernate:hibernate_orm::::::::
We discovered this because OSSINDEX now lists one of these CVEs with a different cpe:
cpe:2.3: a:org.hibernate:hibernate-core:5.0.12.Final:::::::*

@jeremylong I am running Dependency-Check 6.0.5 via Brew on a vulnerable version of the hibernate jar (3.6.3) and it is still not flagging CVE-2019-14900.

@jeremylong I am running Dependency-Check 6.0.5 via Brew on a vulnerable version of the hibernate jar (3.6.3) and it is still not flagging CVE-2019-14900.

@AbdullahMunawar added another hint to resolve issues with older versions of hibernate.

@AbdullahMunawar added another hint to resolve issues with older versions of hibernate.


unify UI text

View on IoTexscan

fixed in https://github.com/puncsky/extension-beancount-wallet/commits/master

fixed in https://github.com/puncsky/extension-beancount-wallet/commits/master


Analytics page deep linking

Re-add deep links on the analytics page (ex. https://app.bean.money/#/analytics?field=sowers)

Resolved in #281


Update CONTRIBUTING.md

Fixed some typos.

Thank you very much for contributing corrections. I have just been cleared to merge them.


staggered  jobs -- 30 minute clock

I was wondering if there was a simple way to do this with schedule:
An irrigation system needs to be active for say 20% of the time within 30 minute time periods. If there were a 30-minute clock, there would be an ON job at 00:00 and and OFF job at 06:00.
One way would be with three scheduled jobs:
schedule.every(30).minutes.at("00:00").do(ON)
schedule.every(1).hour.at("06:00").do(OFF)
schedule.every(1).hour.at("36:00").do(OFF)

Is there a way to do this with one OFF job? As in something like...
schedule.every(30).minutes.at("00:00").do(ON)
schedule.every(30).minutes.at("06:00").do(OFF)

I know that the second line produces an error (ScheduleValueError: Invalid time format for a minutely job), but maybe there is another way to collapse the three line solution into two liner with schedule.

Would something like this work?
def on():
  # turn it on
  schedule.every(6).minutes.do(off)

def off():
   # turn it off
  return schedule.CancelJob

schedule.every(30).minutes.do(on)

That would do it for sure.
I was wondering if there was a way to do it with just the function calls. This is a nice solution though.

On Mar 3, 2021, at 09:24, Sijmen<EMAIL_ADDRESS>wrote:

Would something like this work?
def on():
turn it on
schedule.every(6).minutes.do(off)
def off():
turn it off
return schedule.CancelJob
schedule.every(30).minutes.do(on)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The simplest solution I can think of using only scheduling commands is:
schedule.every().hour.at(":00").do(ON)
schedule.every().hour.at(":06").do(OFF)
schedule.every().hour.at(":30").do(ON)
schedule.every().hour.at(":36").do(OFF)

Downside of this solution is that if the program starts at 12:01, ON will only be triggered at 12:30. So in the 30-minute period between 12:01 and 12:31 there would be no pump power. In the earlier solution using schedule.CancelJob you could call on() at startup to ensure something like that doesn't happen.


add synced flag to the scen table.

The puzzle 45-abfeb6fc from #45 has to be resolved:
https://github.com/ammaratef45/Attendance/blob/820c42da11108754c8e553a91a829d24faa191b8/attendance/lib/backend/scan.dart#L101-L101
The puzzle was created by Ammar Atef on 07-May-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@ammaratef45/z please, pay attention to this issue


feat: moved navbar components to UI and integrated with Gitness

Moved the latest updates for the new Navigation panel to UI components and integrated them into Gitness.
Updated styles and added variables for the new design system.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Youtube-DL downloading a creator's linked channels and favorites after updating.

[ ] I'm reporting a broken site support issue
[X ] I've verified that I'm running youtube-dl version 2020.11.24
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ X] I've searched the bugtracker for similar bug reports including closed ones
[ X] I've read bugs section in FAQ

[download] Downloading playlist: Household Hacker - Home
[youtube:tab] playlist Household Hacker - Home: Downloading 6 videos
[download] Downloading video 1 of 6
[youtube:tab] HouseholdhackerTv: Downloading webpage
[download] Downloading playlist: Household Hacker - Videos
[youtube:tab] Downloading page 1
[youtube:tab] Downloading page 2
[youtube:tab] Downloading page 3
[youtube:tab] Downloading page 4
[youtube:tab] Downloading page 5
[youtube:tab] Downloading page 6
[youtube:tab] Downloading page 7
[youtube:tab] Downloading page 8
[youtube:tab] Downloading page 9
[youtube:tab] Downloading page 10
[youtube:tab] Downloading page 11
[youtube:tab] Downloading page 12
[youtube:tab] Downloading page 13
[youtube:tab] Downloading page 14
[youtube:tab] Downloading page 15
[youtube:tab] Downloading page 16
[youtube:tab] playlist Household Hacker - Videos: Downloading 503 videos
[download] Downloading video 1 of 503
So, I noticed a whole crapload of random channels that I didn't recognize being downloaded, and turned out that it was downloading a favorites playlist, I removed that channel from being scanned since it's no longer active and deleted the over 1200 different new folders however I noticed another issue.

Youtube-dl is now downloading channels from the "channels" tab on a specific youtube creator's page. Basically if they added channels they like in that section on youtube, it's now scraping all those other channel's content. How do I stop this?
The output seems to indicate that youtube is treating the channels tab as it's own playlist which is why it's getting picked up, so perhaps there's a setting to blacklist a playlist with the names of "Channels" or "Favorites"?
Can't get my settings to post as code, adding a picture.

How do I stop this?

use the Videos Tab URL.

What if we want to download the other playlists a creator made, just not their favorites or suggested channels? Is the only way to manually add all of those, and also update it every time they add one?

What if we want to download the other playlists a creator made, just not their favorites or suggested channels?

use the Created playlists Tab URL.

This is highly unexpected behaviour and will break existing scripts. Could this behaviour be undone in youtube-dl's code by default?

I don't think so, it is expected that websites might make breaking changes and that youtube-dl and its users would need to adapt to those changes.

There is no indication of this in the changelog or anything else. The only way users would find this out is through something breaking in a large way.

There is no indication of this in the changelog or anything else. The only way users would find this out is through something breaking in a large way.

Exactly, I only noticed this after 350+gb of extra stuff downloaded from over 1200 different videos in a playlist, with no mention of any change that I could find. Thankfully I don't have a data cap, but I have a feeling this is going to affect a pretty large number of people.

This is also what happened to me. And we are not the only ones. Please reopen this issue.

This has been fixed in version 2020.12.02. The commit of the fix is 132aece1ed824aafd849ef63dcb44c835eab6ee9.


Tuxedo v<IP_ADDRESS>.0 - Added bankapp sample application for SALT

Signed-off-by: Diwakar Shetty<EMAIL_ADDRESS>

Ok, so it's taken me a while to work out how this all fits together and I think you're doing way too much customisation for a sample container-based app. Keep in mind that you control all the paths inside the container, so you don't need to use variables for $APPDIR. Just hardcode it to the path you know the application already exists because that's where you put it when you build the image.
You also don't need to create copies of the configuration files. Just bake the right configuration into the build and start the application. Each container created from that image will start afresh, and re-using containers is an anti-pattern, so you could (and should) remove all the unnecessary customisation.

Ok, so it's taken me a while to work out how this all fits together and I think you're doing way too much customisation for a sample container-based app. Keep in mind that you control all the paths inside the container, so you don't need to use variables for $APPDIR. Just hardcode it to the path you know the application already exists because that's where you put it when you build the image.
You also don't need to create copies of the configuration files. Just bake the right configuration into the build and start the application. Each container created from that image will start afresh, and re-using containers is an anti-pattern, so you could (and should) remove all the unnecessary customisation.

I agree, its a bit convoluted. However, most of the files (around 95%) used for this docker image creation are being copied from elsewhere (the non-container version) in the spirit of avoid file/code duplication. For example, the env file "bankvar". Over there in the non-container version, the APPDIR can be specified by the end user to be any directory of his or her choice.

Oh, I'm all for reusing existing code. I just don't see any value in changing that existing code the container use case; especially not for a sample app. Just use the defaults provided in the sample files. One of the quality of life benefits of containerising an application is that you know precisely where everything exists inside the container.


Viewing entities at a version, without reverting in the database

Hi and thanks for the useful library!
I would like to allow my users to preview the entity before a specific version. It seems that currently one would have to use the revert/2 function on the Repo, but this would actually rollback the changes in the database as well.
Would you be open to accepting a PR that essentially breaks Queryable.revert/3 in half, extracting the first half in to a function like entity_at_version/3 (happy to discuss better names, maybe preview/3?). This function would simply return the result of  Enum.reduce(versions, struct, &_revert/2), which is currently in Queryable.revert/3, without changing anything in the database. We could then expose this function as well, on the Repo.
Thoughts?

This information should be available in the history function, but yes, it should also be possible to preview a specific version id.