A workaround for q2-dada2 and a local R installation with dada2

This has come up before and we've finally figured out a "workaround". This probably needs to be solved in a deeper way, but to record what works:
R loads it's libraries from .libPaths(). On mac OS X installations with an R Studio installation, the R Studio path ends up in .libPaths() as the highest priority, so if a user has dada2 installed locally, it will use that which is linked against a different R binary, so you'll get a segfault (if you're lucky).
What you can do is create an .Rprofile file and place:
.libPaths(.libPaths()[2])

This is gross, but it's a start for a better solution.

x-ref: was used to solve this forum post.

I am getting the same -11 error.
I created an .Rprofile file in my home directory (please see screenshot of the file) but I am still having the same issue:
Plugin error from dada2:
An error was encountered while running DADA2 in R (return code -11),
please inspect stdout and stderr to learn more.
My configuration is OS X 10.10.5 and I am using Rstudio.
Looking forward to your advice

.
Kind regards
George

Hey @gtsiamis, that looks right, but your file name needs to start with a dot (.) So it should be .Rprofile not Rprofile.

When I tried to upload the file .Rprofile in my previous comment I got the
message that it cannot upload invisible files (with the dot in the
begining) so I remove the dot for this reason. In the directory the file is
invisible (with the dot)
This is how my .Rprofile looks like in the home directory
[image: Inline images 1]
Any suggestions
George
George Tsiamis, Ph.D.
Assistant Professor in Environmental Microbiology
Department of Environmental and Natural Resources Management
University of Patras
2 Seferi str., Agrinio
30100, Greece
e-mail: gtsiamis<EMAIL_ADDRESS><EMAIL_ADDRESS>tel. +302641074149, fax. +302641074171
Assistant Specialty Chief Editor Systems Microbiology
On 2 October 2017 at 20:13, Evan Bolyen<EMAIL_ADDRESS>wrote:

Hey @gtsiamis https://github.com/gtsiamis, that looks right, but your
file name needs to start with a dot (.) So it should be .Rprofile not
Rprofile.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/qiime2/q2-dada2/issues/68#issuecomment-333600485, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACgiLDONpy4HzczwrAwdHYWYP8zCpTAKks5soRnRgaJpZM4OFy_p
.

Hey @gtsiamis, I think this is starting to turn into more of a support discussion, which is best handled on our QIIME 2 forum.
We try and keep GitHub issues related strictly to development efforts and use-cases. Please feel free to create a topic on the forum however!

Thanks Evan.
I posted my inquiry to the qiime2 forum.
Thanks
George
George Tsiamis, Ph.D.
Assistant Professor in Environmental Microbiology
Department of Environmental and Natural Resources Management
University of Patras
2 Seferi str., Agrinio
30100, Greece
e-mail: gtsiamis<EMAIL_ADDRESS><EMAIL_ADDRESS>tel. +302641074149, fax. +302641074171
Assistant Specialty Chief Editor Systems Microbiology
On 2 October 2017 at 20:32, Evan Bolyen<EMAIL_ADDRESS>wrote:

Hey @gtsiamis https://github.com/gtsiamis, I think this is starting to
turn into more of a support discussion, which is best handled on our QIIME
2 forum https://forum.qiime2.org.
We try and keep GitHub issues related strictly to development efforts and
use-cases. Please feel free to create a topic on the forum however!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/qiime2/q2-dada2/issues/68#issuecomment-333605751, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACgiLLbkEL3Yp7ktR2quAPn50mP2rAslks5soR4ggaJpZM4OFy_p
.

I think I have a new way to fix this, but we'd need to test it to be sure.
There are a couple of environment variables that impact libPaths:
R_LIBS
R_LIBS_SITE
R_LIBS_USER

If these do what they look like they do, it would be possible to create pre-activation and post-activation scripts in the conda package which would set the variables to look exclusively in the conda environment instead of adding R Studio's user-based R and packages.

More progress:
In ~/.conda/envs/<whatever>/lib/R/etc/Renviron there is a line that will look something like:
R_LIBS_USER=${R_LIBS_USER-'~/R/x86_64-pc-linux-gnu-library/3.4'}

Commenting it out prevents RStudio's packages from interferring with the conda environment.
Some permanent options to fix this:

Create a bunch of patch files for different OS configurations (this sounds annoying and probably belongs in R-Base if anywhere), conda has an entire directive for this, so it's not an odd thing to do.
Just set R_LIBS_USER to a file/directory that doesn't exist /DONT/LOOK/HERE or /dev/null

Option 2 is easy, but kind of gross. Option 1 is harder, but probably the "right way" to go about this.

This command will edit the Renviron in your currently active environment.
It's not pretty, but it's trying to keep you from nuking your system R on accident.
_renv=$(which qiime | sed 's/bin\/qiime/lib\/R\/etc\/Renviron/'); [[ -f $_renv ]] && sed -i '/R_LIBS_USER/d' $_renv


Not all streets are covered in Google Street View!

Is there a way to exclude them from the target being crowdsourced? E.g. osgb4000000030500549, osgb4000000030524828 and osgb4000000030568826 .

Solved by https://github.com/Digital-Contraptions-Imaginarium/OLAF-yr2_lab/commit/7cd6bfc424d33eb630792b18d351862ae9e9b0fe .


Expose flat vectors in "user space"

Description
There are use cases where we want to store medium-dimensional vectors (ie embedding space vectors from ML models), retrieve them, compute distances among them, and perform KNN search, but we don't want to HNSW or any other special index-time support. If we search, we'll do it using an index scan. For example this could happen if we partition the index by some key and then rank the resulting documents by their vector distance. Currently if you make a KnnFloatVectorField or a KnnByteVectorField you get an HNSW graph even if you don't want it. We have all the tools to support this use case, but the API doesn't allow it.
My question is how should the API look? I started to familiarize myself with the flat vectors support we now have and I see it was done so we now KnnVectorsFormat and FlatVectorsFormat as separate formats that do not share anny common ancestor. I wonder what you all would think about folding FlatVectorsFormat in to KnnVectorsFormat? The only difference today is the search() method, which I would like to support over flat vectors. Otherwise I guess we could add search to FlatVectorsFormat?? But in that case how would we select this format for a field? I'd rather avoid plumbing a whole new format through IndexWriter when it is effectively a flavor of a format we already have. But I may be missing the rationale behind this format forking ... was there some discussion about it you could point me to - I might have been sleeping, sorry!

FlatVectorsFormat is an internal abstraction layer for vectors formats that helps configure the way vectors are stored (e.g. quantized or not) independently from how they're indexed.
I'm not a fan of reusing KnnVectorsFormat for flat (unindexed) vectors. To draw a parallel with other data types, if you want to index a number, it should go to points, but if you only want to only store them, it should go to doc values or stored fields. I'd like vectors to be no different: KnnVectorsFormat is for indexing them, if you only want to store them you can still use stored fields or binary doc values?
E.g. maybe we could have FloatVectorDocValuesField that indexes vectors as binary doc values the same way as FloatField indexes floats as numeric doc values. And then query factories, e.g. newSlowSimilarityQuery(String field, float[] queryVector) similarly to SortedNumericDocValuesField#newSlowRangeQuery(String field, long min, long max).

What I want to do is index float vectors, have them quantized and scored using the quantized form.

https://github.com/apache/lucene/pull/13469 is just plumbing things through showing a possible way forward

Thanks, I had missed the quantization requirement and that you were ok with configuring a codec on the IndexWriter.

I was thinking this could be used by PerFieldKnnVectorFormat since with this change a FlatVectorFormat is a KnnVectorFormat

Currently if you make a KnnFloatVectorField or a KnnByteVectorField you get an HNSW graph even if you don't want it. We have all the tools to support this use case, but the API doesn't allow it.

+1 on this. Currently the way I was thinking to achieve this was by creating my own KNNVectorsformat on top of FlatVectorsFormat and plumbing that vectors format for a field via Codec. Having this support in Lucene will go long way.
Personally I think there should also be search api on the flat vectors format, which does nothing but just do a brute force/exact search on top of all the vectors.

See https://github.com/apache/lucene/pull/13469. This still leaves search() as throwing UnsupportedOperationException but enables scoring using quantized vectors. I think typical use case will be to drive the retrieval using some other search mechanism and then score/rank using vector score. Users that want to rank all documents by vector score can easily implement on top of this?

Maybe this is done?

Yes, thanks - I'll resolve


Camera glitches on pointer lock exit sometimes

Sometimes the camera will jolt when escaping out of pointer lock. It feels really janky when it happens, and interferes with capture.
Could be a camera timing issue.
┆Issue is synchronized with this Jira Task by Unito

This one has been a problem forever, and it still a constant annoyance. Can someone look into it? It's a Chrome bug on Windows.

I will check this issue


Persistent plugin with http/1

Hi, thanks so much for this gem - I really love the ergonomics and seems to work great - however, we're running into issues using plugin(:persistent) connecting to http1 endpoints - the initial requests work fine, but after the keep_alive_timeout has elapsed since your last request, the next request just hangs indefinitely and blocks the entire thread. I'll show the steps to reproduce below, but I've experienced this on multiple http1 servers on the internet (http2 servers seem to work fine).
Steps to reproduce
I'm running httpx version 1.2.3 and nginx in a separate docker container.
root@427edf6f28e0:/app# bundle show httpx
/app/vendor/bundle/ruby/3.3.0/gems/httpx-1.2.3
root@427edf6f28e0:/app# bin/rails c
Loading development environment (Rails <IP_ADDRESS>)
irb(main):001> ENV['HTTPX_DEBUG'] = '2'
=> "2"
irb(main):002> httpx = HTTPX.with(timeout: { keep_alive_timeout: 5 }) # happens on default timeout too, just setting here so we dont have to wait so long
=>
#<HTTPX::Session:0x00007f7d75603908
...
irb(main):003> httpx = httpx.plugin(:persistent)
=>
#<#<Class:0x00007f7d755ce9d8>:0x00007f7d754b6d20
...
irb(main):004> httpx.get('http://nginx')
resolver: query A for nginx
resolver: server: udp://<IP_ADDRESS>:53...
WRITE: 23 bytes...
READ: 44 bytes...
resolver: answer A nginx: [#<IPAddr: IPv4:<IP_ADDRESS>/<IP_ADDRESS>>]
 idle -> idle
Connected to <IP_ADDRESS> (#12)
<- HEADLINE: "GET / HTTP/1.1"
<- HEADER: User-Agent: httpx.rb/1.2.3
<- HEADER: Accept: */*
<- HEADER: Accept-Encoding: gzip, deflate
<- HEADER: Connection: keep-alive
<- HEADER: Host: nginx
<-
WRITE: 128 bytes...
READ: 853 bytes...
parsing begins
headers received
-> HEADLINE: 200 HTTP/1.1
-> HEADER: server: nginx/1.21.4
-> HEADER: date: Thu, 14 Mar 2024 16:34:02 GMT
-> HEADER: content-type: text/html
-> HEADER: content-length: 615
-> HEADER: last-modified: Tue, 02 Nov 2021 14:49:22 GMT
-> HEADER: connection: keep-alive
-> HEADER: etag: "61814ff2-267"
-> HEADER: accept-ranges: bytes
-> DATA: 615 bytes...
-> "<!DOCTYPE html>\n\n\n<title>Welcome to nginx!</title>\n\n\n\n
Welcome to nginx!
\n
If you see this page, the nginx web server is successfully installed and\nworking. Further configuration is required.
\n\n
For online documentation and support please refer to\nnginx.org.
\nCommercial support is available at\nnginx.com.
\n\n
Thank you for using nginx.
\n\n\n"
parsing complete
=> #<Response:120740 HTTP/1.1 @status=200 @headers={"server"=>["nginx/1.21.4"], "date"=>["Thu, 14 Mar 2024 16:34:02 GMT"], "content-type"=>["text/html"], "content-length"=>["615"], "last-modified"=>["Tue, 02 Nov 2021 14:49:22 GMT"], "connection"=>["keep-alive"], "etag"=>["\"61814ff2-267\""], "accept-ranges"=>["bytes"]} @body=615>
irb(main):005> sleep 5
=> 5
irb(main):006> httpx.get('http://nginx')
<IP_ADDRESS> connected -> closed

# ... hangs indefinitely

Am I doing something wrong? Is this perhaps not supported for http/1 servers? Persistent seems to work correctly for http/2 servers (such as https://<IP_ADDRESS>). Thank you so much for this gem!

Well I should say that I first experienced this with an AWS Application Load Balancer which is supposed to be http/2 :shrug in any case, for https://<IP_ADDRESS> this seems to not happen but does for AWS ALBs (and multiple other internet endpoints, not from AWS).

thx for the report @kennon . I was able to reproduce it, and opened this MR to fix it, feel free to test the branch.

Thanks for responding quickly! 👍

merged.


Face Detection Not working on xiaomi redmi note 11 pro

we tried using a real device brand oppo and a real device brand samsung using the face detection package the results were successful, but we tried a real device brand xiaomi redmi note 11 pro, this package doesn't work, is there a solution?

i get an empty list from the detector as well for barcodes and faces on the xioami M2010J19CG and vivo V2135.

I can run the official mlkit example app and it works though.
@dimas96maulana can you try that too?
https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart

Try my example here please: https://github.com/flutter/flutter/issues/118350

Use NV21 for Android.
In this comment: https://github.com/flutter-ml/google_ml_kit_flutter/issues/287#issuecomment-1549828057
Someone reported that the native apps are using that for MLKit and when doing the same in Flutter solved the issue for Android. That was merged in this PR https://github.com/flutter-ml/google_ml_kit_flutter/pull/454


Update README with exact artifacthub repository URL

Updated the artifacthub URL in README with exact repository URL

Can you add hacktoberfest-accepted label to this PR?


DeprecationWarning not raised when expected

It seems like duplicate DeprecationWarnings are swallowed (which is fine since CPython does the same). However they should still be catchable in catch_warnings.
import warnings

warnings.warn("deprecated", DeprecationWarning)

with warnings.catch_warnings(record=True) as w:
    warnings.simplefilter("always")
    warnings.warn("deprecated", DeprecationWarning)
    assert len(w) == 1

The issue here is that since the text ("deprecated") and the exception type are the same, the _warnings module thinks the warning has already been shown. In CPython, the line number is also used as part of the key for determining if they warning has been shown. In IronPython the line number is not correct (TraceBackFrame.f_lineno always returns 1 unless tracing is occurring). So, the key is the same even though it shouldn't be. We would have to track the line number in the AST or something to make it available in the context, which would be a huge change.


Ignore modal styles "swal2" when purging unused CSS #20

The CSS for the modal window was missing as it gets added dynamically to the HTML. Ignoring anything prefixed with swal2- when purging unused styles seems to solve the issue.

Codecov Report

Merging #27 (5ed3464) into 2.5 (b797f36) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.5      #27      +/-   ##
============================================
+ Coverage     55.88%   55.92%   +0.04%
  Complexity     1264     1264
============================================
  Files           275      275
  Lines          4803     4803
============================================
+ Hits           2684     2686       +2
+ Misses         2119     2117       -2

Impacted Files
Coverage Δ
Complexity Δ

app/Integrations/Core/System.php
87.17% <0.00%> (+2.56%)
13.00% <0.00%> (ø%)

app/Presenters/ComponentPresenter.php
100.00% <0.00%> (+5.26%)
10.00% <0.00%> (ø%)

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 b797f36...5ed3464. Read the comment docs.


Must tab off table cell to get it to change

When updating values in the settings table, you have to hit  after the update otherwise the value doesn't change and get saved. Can the table detect whether or not the value has changed and then safe the difference if so?

https://stackoverflow.com/questions/20982624/how-to-detect-enter-pressed-while-jtable-cell-is-being-edited


MM snaps says installed but only EVMs are showing in wallet

Overview
When connecting to MM, it says that snaps is installed but the wallet only shows EVMs.
To access UTXOs you again you need to uninstall mm and reinstall the extension and then re-add snaps.
References and additional details
Open an incognito browser, making sure MM wallet is locked, then enter password and connect to see only evms and errors in console.

https://jam.dev/c/5c5505c6-e220-41bf-bd9e-5fe6c41adc0e
Acceptance Criteria
UTXOs should appear in wallet when MM snaps is installed
Need By Date
No response
Screenshots/Mockups
No response
Ownership

[X] If my bounty needs engineering or needs product I have added the respective labels on the right
[X] As the sponsor of this bounty I will review the changes in a preview environment (ops/product) or review the PR (engineering)

Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters

Join our discord
Include an expected timeline for you to complete work in the work plan when you apply for this bounty!
Please refer to this link for some basic info
Please do not start work on this issue until you are approved in Gitcoin.

@MBMaria I'm unable to repro after a full cache clear - can you still repro after fully quitting your Chrome app and restarting?
https://jam.dev/c/bd12b75f-8a8c-4f84-b7c5-618c1a048119
Locked state shouldn't really be an issue here - the moment MM is unlocked is when we actually connect in the app, deriving both EVM and non-EVM accounts

@purelycrickets - any chance you are able to repro with @MBMaria out this week?
Hoping to repro or close

I was unable to reproduce the this issue with many attempts to shuffle up the connectivity flow with regards to wallet being locked and priority of connecting first vs unlocking first with both a hardware wallet and software wallet connected through MM.
I was able to get UTXO account balances each time:

Errors in logs look to be related to our proxy endpoint and have nothing to do with MM or snaps.

Thanks @purelycrickets - we are gonna close this for now then. Appreciate the assistance.

gm - still finding this happens (doesn't seem to happen every time but it happens fairly often). Usually if i uninstall mm extension and reinstall it then snaps will work and utxos will show in wallet. This time (and i repeated it twice) i uninstalled mm extension, reinstalled and added snaps - however utxos are not showing
https://jam.dev/c/52307ca8-c642-4d9d-9cc9-a22c1c8e99dd


Change Meetup Share location.

Same address, but the event will be in another room.

thx @marttosc :+1:


Plugin documentation lacks explanation for hooks

Documentation is:

[x] Missing or needed
[x] Confusing
[ ] Not Sure?

Please Explain in Detail...
The documentation for plugins only lists the available hooks but does not explain how to use them or give examples of how to use them.

Your Proposal for Changes
The documentation should include:

an explanation of each hook
when the method runs
any other useful details

This will be fixed in 3.0 by https://github.com/chartjs/Chart.js/pull/5824. Until 3.0 is released, you'll have to build the API documentation manually though


Allow long ambient animations for 'prefers reduced motion`

make a toggle in the menu for zero motion?

ios safari doesn't seem to want to cooperate here. Might have to do with webkit or could be Tailwind. either way not worth my time


Display warning when user try to rename default branch

Follow #24380
It's better to warn users when they try to rename the default branch.

https://docs.gitea.io/en-us/contributing/guidelines-frontend/#showhide-elements

https://docs.gitea.io/en-us/contributing/guidelines-frontend/#showhide-elements

done


feat: Add implementation and tests for binary search algorithm

Because of the comment on top, I would suggest closing this PR. Let me know if you agree. Also, if there is something that you want to implement and it is not included on the To-Do list, please add it.

Hi. Yes, you can close this PR. I will take a look on the issues, and add something of the ToDo list that it is not in there.


Read each row of CSV into LLM, write each response back out

I noticed some similar questions from Nov 2023 about reading a CSV in, but those pertained to analyzing the entire file at once.
I have a CSV with values in the first column, going down 10 rows. Each cell contains a question I want the LLM (local, using Ollama) to answer. I will give it few shot examples in the prompt.
I want it to process each question separately, with the instructions and few shot examples above each question. Almost like shutting it down each time, starting it back up, asking a question, then shutting it down and starting it back up, asking another...
Then for the output generated for each question, I want to write them each in an individual row of a new CSV.
It feels conceptually simple but I'm new to this and looking for as close an example that exists so I can follow along. Thanks in advance!

I tried something similar in R (with rollama package) and tested with Keggle's data (https://www.kaggle.com/datasets/nicapotato/womens-ecommerce-clothing-reviews)
long story short, I pass two column (index and review text) in batches, (batch size=5) and provide the json format example as below in prompt, and also tell the model, expecting 5 reviews and need to output 5 sentiment scores and reasoning.
In my case,  it works better with Mistral instruct and occasionally, the loop may missed a review text, output 4 instead of 5.
################################################################################
Use For Loop to fit each Batch to LLM
for (i in 1 : num_batch ) {
Subset Data for Testing Purpose
batch_data<-source_data[source_data$batch == i, ]
set up the task + content for LLM
task="Conduct analysis on 5 text reivews, one by one, each review need to have one independent output.
there are always five reviews, do not miss any one.
Output must be in JASON Format only. nothing more. follow below example:
      [
        {\"sentiment_score\": -0.60, \"reasoning\": \"Reasoning for giving Sentiment Score\"},
        {\"sentiment_score\": -0.80, \"reasoning\": \"Reasoning for giving Sentiment Score\"},
        {\"sentiment_score\":  0.70, \"reasoning\": \"Reasoning for giving Sentiment Score\"},
        {\"sentiment_score\": -0.60, \"reasoning\": \"Reasoning for giving Sentiment Score\"},
        {\"sentiment_score\": -0.60, \"reasoning\": \"Reasoning for giving Sentiment Score\"}
      ]

      response start with \"[\" and no words after \"]\"
      the output must always contain 5 jason objects, no more and no less.
      The output must include: Sentiment Score, Reasoning for giving Sentiment Score.
      sentiment_score need to be a score between -1.00 and 1.00.

      reasoning, explaining why assigining this score to the review, in plain text only, can not have any smybal
      can not quote from review text.

      Here are the review"

content<- batch_data[ ,c("index","Review Text")]
Merge the task and content for LLM
q=paste(task, content, sep = ":")
print(paste("Batch:",i))
LLM_output<-query(q,screen=TRUE, model_params = list(temperature = 0.0, seed=47))
output_df <- fromJSON(LLM_output$message$content,simplifyDataFrame=FALSE)
output_df <- data.frame(t(sapply(output_df,c)))
output_df$sentiment_score <- as.numeric(output_df$sentiment_score)
Append the output
batch_output<-cbind(batch_data,output_df[ ,c("sentiment_score","reasoning")])
final_output<-rbind(batch_output,final_output)
}

Thank you for sharing that. I haven't used R in almost 10 years and need to relearn it. Did you consider implementing this using Python? Or was R the only/ most feasible way?

I was inspired by this example (in Python): https://www.youtube.com/watch?v=h_GTxRFYETY&t=727s
hope this helps.


Check task sync case sensitivity

In strategies.php, one of the valid bundled 'deploy' strategies can be 'Sync'.
In the Check task, however, a strict comparison is made against the string 'sync'.  This means that a SCM check is made regardless of preference, resulting in the Check task failing if there is no need for an SCM on the hosting server.
A valid user case for this would be a public web-server with an inaccessible SCM tucked behind a company firewall.
This pull request addresses the case sensitivity issue.
Updating the original test should be sufficient, however feel free to request additional if you feel they are necessary.

Good catch, can you add a quick test for this? Also seems to be conflicts, can you rebase this with develop

I've opened a new PR for this - #528


M3-2048 Style StackScript details drawer

Description
Updated the StackScript details drawer padding and text color for the deployments details on both the drawer and details page (was failing accessibility contrast).
Type of Change

Non breaking change ('update', 'change')

Note to Reviewers
Content is shared between the drawer and the details page for StackScripts, there shouldn't be any padding changes to the details from this update.

Coverage remained the same at 33.463% when pulling<PHONE_NUMBER>aa1f89366ef85688929a3a5e7783b3 on WilkinsKa1:M3-2048 into 4ffafff1f54186227bbc8478efc8baffadbfa2fd on linode:develop.


add test for VickreyAuction.sol

close with this commit: https://github.com/tnkshuuhei/fhe-vickrey/commit/078281985d981f25a60f477471f86726fdcfee92
will add test if needed


image-rs: add image block device dm-verity and mount

Implement image block device integrity check using dm-verity and mount the verity device in image-rs.
Notes: the kernel should be upgrade to >=6.4 for mounting the verity device with erofs tarfs.

 the kernel should be upgrade to >=6.4 for mounting the verity device with erofs. This is not accurate, only erofs tarfs support was landed in Linux 6.4. Otherwise, if you just mount exist erofs images much like ext4 with dm-verity, there is no such requirement (5.4, 5.10, 5.15, 6.1 LTS are all supported. )

Thanks, I have updated.


DRAFT: Chromatic noise

This PR adds support for injecting chromatic (in radio frequency) noise — including dm noise — into a pulsar’s residuals.

I think this looks great @jeremy-baier !
Have you tested this for consistency with either 1) comparing the injected residuals between this and libstempo.toasim.add_dm or 2) via injecting stuff with this and recovering with usual enterprise analysis?
I think it would be good to see either of those before merging this

I have not had a chance to test it yet @bencebecsy .
I will try the enterprise recovery and get back to you !


OverlayFS broken on NixOS Kernel 4.19 and 4.20

Issue description
When using overlayfs with NixOS and Kernel 4.19 it is not possible to overwrite a file that already exists in the lower directory with new content. Instead if attempted the file appears empty. (See how to reproduce for details).
It seems like the revert of an upstream commit in 4.19 https://github.com/NixOS/nixpkgs/pull/52942 breaks something fundamentally in overlayfs.
EDIT: Reverting https://github.com/NixOS/nixpkgs/pull/52942 fixes the behavior. But I'm unable to run the tests as the VM kernel pancis :(
This also affects docker if used with one of the overlay drivers.
Steps to reproduce
Via the test in https://github.com/NixOS/nixpkgs/pull/54508
or
Manually:
mkdir -p /tmp/mnt/upper /tmp/mnt/lower /tmp/mnt/work /tmp/mnt/merged

# Create an existing file in the lower directory
echo 'Existing' > /tmp/mnt/lower/existing.txt

# Mount overlayfs
mount -t overlay overlay -o lowerdir=/tmp/mnt/lower,upperdir=/tmp/mnt/upper,workdir=/tmp/mnt/work /tmp/mnt/merged

# Prints "Existing" - OK
cat /tmp/mnt/merged/existing.txt

# Write some new content
"echo 'New' > /tmp/mnt/merged/existing.txt",

# Prints "" (empty) but it should be New - FAIL
cat /tmp/mnt/merged/existing.txt

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.16, NixOS, 19.03.git.5d42db2 (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2`
 - channels(root): `"nixos-17.03pre95306.a24728f"`
 - channels(pascal): `"nixos-19.03pre167251.20343f0ab47"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I agree with the suggestion to revert #52942 and go back to 4.14. Then we can see about alternative solutions to the test failures with 4.19.

Hm, it seems my mail (Message-ID: <20190129194114.GA7785@dnyarri>) never reached the list for some reason, even though the MTA has accepted it:
DD42F980DD95A<EMAIL_ADDRESS>relay=vger.kernel.org[<IP_ADDRESS>]:25, delay=687, delays=621/0.01/0.63/65, dsn=2.7.0, status=sent (250 2.7.0 nothing apparently wrong in the message. BF:<H 0>; S1728330AbfA2Tww)
@szmi: Is the linux-unionfs mailing list moderated?

Okay, worked without attachments: https://www.spinics.net/lists/linux-unionfs/msg06627.html

Rebase the test PR on top of master, the issue is fixed in the latest kernel bumps.
I just ran the test from #54508 against 4.14.98 and it passes

There are a bunch of overlay fixes in 4.20.7, can you try the latest kernels?

Same fixes with 4.19 (which is desired), looking this evening.

machine# Probing EDD (edd=off to disable)... ok
machine# c[    0.000000] Linux version 4.19.20 (nixbld@localhost) (gcc version 7.4.0 (GCC)) #1-NixOS SMP Wed Feb 6 16:30:16 UTC 2019
machine# [    0.000000] Command line: loglevel=7 console=ttyS0 panic=1 boot.panic_on_fail init=/nix/store/xsimkh58w0k6jmn6jfxf5arsk9xkdhk0-nixos-system-machine
-19.03.git.47aad6e/init regInfo=/nix/store/a6vn3r6600p5z216iwbjh81vxkhbz3cw-closure-info/registration console=ttyS0
...
machine# mounting overlay filesystem on /nix/store...
machine# switch_root: can't execute '/nix/store/xsimkh58w0k6jmn6jfxf5arsk9xkdhk0-nixos-system-machine-19.03.git.47aad6e/init': Operation not permitted
machine# [    1.508713] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
machine# [    1.508713]
machine# [    1.510084] CPU: 0 PID: 1 Comm: switch_root Not tainted 4.19.20 #1-NixOS
machine# [    1.511062] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org 04/01/2014
machine# [    1.512691] Call Trace:
machine# [    1.513078]  dump_stack+0x5c/0x7b
machine# [    1.513568]  panic+0xe4/0x242
machine# [    1.514020]  do_exit+0xb52/0xb60
machine# [    1.514499]  ? handle_mm_fault+0xdc/0x210
machine# [    1.515097]  do_group_exit+0x3a/0xa0
machine# [    1.515622]  __x64_sys_exit_group+0x14/0x20
machine# [    1.516248]  do_syscall_64+0x4e/0x100
machine# [    1.516782]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
machine# [    1.517526] RIP: 0033:0x7f5827cd9646
machine# [    1.518048] Code: Bad RIP value.
machine# [    1.518549] RSP: 002b:00007ffc3718aa98 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>0000e7
machine# [    1.519685] RAX: ffffffffffffffda RBX: 00007f5827fc25a0 RCX: 00007f5827cd9646
machine# [    1.520726] RDX:<PHONE_NUMBER>000001 RSI:<PHONE_NUMBER>00003c RDI:<PHONE_NUMBER>000001
machine# [    1.521771] RBP:<PHONE_NUMBER>000001 R08:<PHONE_NUMBER>0000e7 R09: ffffffffffffff80
machine# [    1.522807] R10:<PHONE_NUMBER>000073 R11:<PHONE_NUMBER>000246 R12: 00007f5827fc25a0
machine# [    1.523845] R13:<PHONE_NUMBER>000001 R14: 00007f5827fcb488 R15:<PHONE_NUMBER>000000
machine# [    1.525021] Kernel Offset: 0xbe00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
machine# [    1.526585] Rebooting in 1 seconds..

:(

WTF

In case you didn't realise, this is the same initial issue which caused us to add a patch reverting part of the changes to make the tests pass. This is the subject of the thread. So it looks like there were other changes in passing, unrelated to our problem.

Is somebody able to create the setup as it is in during the startup of the nixos test VM in a simplifies version. One that would allow to have access to the shell right befor the switch_root get's executed?

For a new nixos-install of 18.09 I’m seeing something similar, with the main difference that except after switch_root it says “No such file or directory”...is this the same issue?

@tbenst this particular issue shouldn't affect 18.09, and what you are experiencing shouldn't be an issue considering (1) the faulty revert patch was reverted (2) the current issue affects the testing infra. (To be fair, your comment could be about the testing infra, it's unspecified if it's your system boot or a VM.)
Though, I'm not downplaying whatever issue you're facing! In fact, let's try and figure out what's going on. Ideally, open an issue with the following information (and mention me and this issue in the body).

Do previous generations boot fine?
This was after a fresh update of 18.09, right?
Which kernel is your system configured to use? (nix eval --raw '(import <nixos/nixos> {}).options.boot.kernelPackages.value.kernel')
What's the output of nix-info?

Thanks, @samueldr for the very kind comment! I figured out the issue thankfully--as soon as I enabled systemd-boot everything worked.

Just to keep everyone outside of #nixos-dev up to date, we do have a fix for this. Here is the upstream post and patch: https://www.spinics.net/lists/linux-unionfs/msg06733.html


Allow to compile and run tests with different java versions

Motivation:
As we now need to compile with java8 we should still allow to run the tests with a different java version to ensure everythin also works with java 7 and 6.
Modifications:
Allow to pass "-DtestJavaHome" to the build and so use a different java version during running the tests.
Result:
Be able to run tests with different java versions.

Cherry-picked into 4.1 (c12908d608114856900d0f1a37dafd4cdcd6eacf) and 4.0 (adf0da3)


corrected name for composer.

current name is not working with compose, this "habil" is working properly.

Thank you @rahulchordiya


Preload does not use NetworkingEngine configuration

Have you read the FAQ and checked for duplicate open issues? Yes
If the problem is related to FairPlay, have you read the tutorial? Not related

What version of Shaka Player are you using? 4.8.4

Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from main? Yes
Are you using the demo app or your own custom app? Custom app
If custom app, can you reproduce the issue using our demo app? No
What browser and OS are you using? Chrome & Linux
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?

What configuration are you using?  What is the output of player.getConfiguration()?

{
  "drm": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "servers": {},
    "clearKeys": {},
    "advanced": {},
    "delayLicenseRequestUntilPlayed": false,
    "persistentSessionOnlinePlayback": false,
    "persistentSessionsMetadata": [],
    "logLicenseExchange": false,
    "updateExpirationTime": 1,
    "preferredKeySystems": [],
    "keySystemsMapping": {},
    "parseInbandPsshEnabled": false,
    "minHdcpVersion": "",
    "ignoreDuplicateInitData": true
  },
  "manifest": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "availabilityWindowOverride": null,
    "disableAudio": false,
    "disableVideo": false,
    "disableText": false,
    "disableThumbnails": false,
    "defaultPresentationDelay": 0,
    "segmentRelativeVttTiming": false,
    "raiseFatalErrorOnManifestUpdateRequestFailure": false,
    "dash": {
      "clockSyncUri": "",
      "ignoreDrmInfo": false,
      "disableXlinkProcessing": false,
      "xlinkFailGracefully": false,
      "ignoreMinBufferTime": false,
      "autoCorrectDrift": true,
      "initialSegmentLimit": 1000,
      "ignoreSuggestedPresentationDelay": false,
      "ignoreEmptyAdaptationSet": false,
      "ignoreMaxSegmentDuration": false,
      "keySystemsByURI": {
        "urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b": "org.w3.clearkey",
        "urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e": "org.w3.clearkey",
        "urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed": "com.widevine.alpha",
        "urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
        "urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready"
      },
      "sequenceMode": false,
      "enableAudioGroups": false,
      "multiTypeVariantsAllowed": true,
      "useStreamOnceInPeriodFlattening": false,
      "updatePeriod": -1
    },
    "hls": {
      "ignoreTextStreamFailures": false,
      "ignoreImageStreamFailures": false,
      "defaultAudioCodec": "mp4a.40.2",
      "defaultVideoCodec": "avc1.42E01E",
      "ignoreManifestProgramDateTime": false,
      "ignoreManifestProgramDateTimeForTypes": [],
      "mediaPlaylistFullMimeType": "video/mp2t; codecs=\"avc1.42E01E, mp4a.40.2\"",
      "useSafariBehaviorForLive": true,
      "liveSegmentsDelay": 3,
      "sequenceMode": true,
      "ignoreManifestTimestampsInSegmentsMode": false,
      "disableCodecGuessing": false,
      "allowLowLatencyByteRangeOptimization": true
    },
    "mss": {
      "sequenceMode": false,
      "keySystemsBySystemId": {
        "9a04f079-9840-4286-ab92-e65be0885f95": "com.microsoft.playready",
        "79f0049a-4098-8642-ab92-e65be0885f95": "com.microsoft.playready"
      }
    }
  },
  "streaming": {
    "retryParameters": {
      "maxAttempts": 2,
      "baseDelay": 1000,
      "backoffFactor": 2,
      "fuzzFactor": 0.5,
      "timeout": 30000,
      "stallTimeout": 5000,
      "connectionTimeout": 10000
    },
    "rebufferingGoal": 2,
    "bufferingGoal": 10,
    "bufferBehind": 30,
    "evictionGoal": 1,
    "ignoreTextStreamFailures": false,
    "alwaysStreamText": false,
    "startAtSegmentBoundary": false,
    "gapDetectionThreshold": 0.5,
    "gapJumpTimerTime": 0.25,
    "durationBackoff": 1,
    "safeSeekOffset": 5,
    "stallEnabled": true,
    "stallThreshold": 1,
    "stallSkip": 0.1,
    "useNativeHlsOnSafari": true,
    "useNativeHlsForFairPlay": true,
    "inaccurateManifestTolerance": 2,
    "lowLatencyMode": false,
    "autoLowLatencyMode": false,
    "forceHTTPS": false,
    "preferNativeHls": false,
    "updateIntervalSeconds": 1,
    "dispatchAllEmsgBoxes": false,
    "observeQualityChanges": false,
    "maxDisabledTime": 30,
    "parsePrftBox": false,
    "segmentPrefetchLimit": 0,
    "prefetchAudioLanguages": [],
    "disableAudioPrefetch": false,
    "disableTextPrefetch": false,
    "disableVideoPrefetch": false,
    "liveSync": false,
    "liveSyncMaxLatency": 1,
    "liveSyncPlaybackRate": 1.1,
    "liveSyncMinLatency": 0,
    "liveSyncMinPlaybackRate": 1,
    "liveSyncPanicMode": false,
    "liveSyncPanicThreshold": 60,
    "allowMediaSourceRecoveries": true,
    "minTimeBetweenRecoveries": 5,
    "vodDynamicPlaybackRate": false,
    "vodDynamicPlaybackRateLowBufferRate": 0.95,
    "vodDynamicPlaybackRateBufferRatio": 0.5,
    "infiniteLiveStreamDuration": false
  },
  "mediaSource": {
    "codecSwitchingStrategy": "smooth",
    "forceTransmux": false,
    "insertFakeEncryptionInInit": true
  },
  "offline": {
    "usePersistentLicense": true,
    "numberOfParallelDownloads": 5
  },
  "abr": {
    "enabled": true,
    "useNetworkInformation": true,
    "defaultBandwidthEstimate": 1000000,
    "switchInterval": 8,
    "bandwidthUpgradeTarget": 0.85,
    "bandwidthDowngradeTarget": 0.95,
    "restrictions": {
      "minWidth": 0,
      "maxWidth": null,
      "minHeight": 0,
      "maxHeight": null,
      "minPixels": 0,
      "maxPixels": null,
      "minFrameRate": 0,
      "maxFrameRate": null,
      "minBandwidth": 0,
      "maxBandwidth": null
    },
    "advanced": {
      "minTotalBytes": 128000,
      "minBytes": 16000,
      "fastHalfLife": 2,
      "slowHalfLife": 5
    },
    "restrictToElementSize": false,
    "restrictToScreenSize": false,
    "ignoreDevicePixelRatio": false,
    "clearBufferSwitch": false,
    "safeMarginSwitch": 0
  },
  "autoShowText": 3,
  "preferredAudioLanguage": "",
  "preferredAudioLabel": "",
  "preferredTextLanguage": "",
  "preferredVariantRole": "",
  "preferredTextRole": "",
  "preferredAudioChannelCount": 2,
  "preferredVideoHdrLevel": "AUTO",
  "preferredVideoLayout": "",
  "preferredVideoLabel": "",
  "preferredVideoCodecs": [
    "vp09",
    "avc1"
  ],
  "preferredAudioCodecs": [],
  "preferForcedSubs": false,
  "preferSpatialAudio": false,
  "preferredDecodingAttributes": [],
  "restrictions": {
    "minWidth": 0,
    "maxWidth": null,
    "minHeight": 0,
    "maxHeight": null,
    "minPixels": 0,
    "maxPixels": null,
    "minFrameRate": 0,
    "maxFrameRate": null,
    "minBandwidth": 0,
    "maxBandwidth": null
  },
  "playRangeStart": 0,
  "playRangeEnd": null,
  "textDisplayer": {
    "captionsUpdatePeriod": 0.25
  },
  "cmcd": {
    "enabled": false,
    "sessionId": "",
    "contentId": "",
    "rtpSafetyFactor": 5,
    "useHeaders": false,
    "includeKeys": []
  },
  "cmsd": {
    "enabled": true,
    "applyMaximumSuggestedBitrate": true,
    "estimatedThroughputWeightRatio": 0.5
  },
  "lcevc": {
    "enabled": false,
    "dynamicPerformanceScaling": true,
    "logLevel": 0,
    "drawLogo": false
  },
  "ads": {
    "customPlayheadTracker": false,
    "skipPlayDetection": false
  }
}

What did you do?

// Hardcoded for demo purposes
const bestMomentTimecode = 55 // Best moment of the video is at 55s
const isAppleShit = false
const videoUrl = 'https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths-hls/hls.m3u8'

const player = new shaka.Player()

await player.attach(document.getElementById('video'))

player.getNetworkingEngine().registerRequestFilter(function (_type, request) {
  if (isAppleShit) request.allowCrossSiteCredentials = true
  else request.headers.Authorization = 'Some Access Token'
})

player.configure('preferredVideoCodecs', ['vp09', 'avc1'])

if (bestMomentTimecode) {
  try {
    // I know this is not correctly implemented to actually preload the video
    // but preload requests should still be passing the Authorization header which they are not
    await player.preload(videoUrl, bestMomentTimecode)
  } catch (error) {
    console.error('Failed to preload', error)
  }
}

await player.load(videoUrl)

What did you expect to happen?
Preload requests should have the Authorization header (just like usual requests).
What actually happened?

Preload requests didn't had the Authorization header.
Are you planning send a PR to fix it?
No, sorry.

I tried running your code segment in the demo app, and the network requests for the manifest had an Authorization header of "Some Access Token".
This happened both with the v4.8.4 demo, and the nightly demo.
I tested on a MacOS and a Windows computer, so perhaps this might be a Linux specific issue somehow.
From a code standpoint, I'm not really sure what would cause this. The preload manager uses the networking engine of the player instance, and thus would use the request filters defined on the player.

@mathix420 did you get to the bottom of this?

@shaka-bot reopen
This is in reference to @jimmymic's comment above.
We've been having trouble with shaka.media.PreloadManager not sending cookies with preload requests despite the player's networking engine having a request filter to set request.allowCrossSiteCredentials = true.
I believe that this is due to the shaka.Player.makePreloadManager_ creating a networking engine for the preload manager. https://github.com/shaka-project/shaka-player/blob/c541515995f630573fa545f8478e65fb15585019.
const networkingEngine = this.createNetworkingEngine(getPreloadManager);
This new networking engine has empty sets for requestFilters_ and responseFilters_ for the preload manager.
I think a PreloadManager should expose a getNetworkingEngine(), and/or copy the sets from the player's networking engine, or use the same networking engine.
Using the Shaka demo website with uncompiled v4.8.7, I can use in the JS console:
const player = new shaka.Player();
await player.attach(document.getElementById('video'));

player.getNetworkingEngine().registerRequestFilter(function (_type, request) {
  request.uris = request.uris.map(uri => uri + (uri.includes('?') ? '&' : '?') + '__viaRequestFilter=true');
});

const manager = await player.preload(shakaAssets.testAssets[1].manifestUri);
manager.networkingEngine_.registerRequestFilter(function (_type, request) {
  request.uris = request.uris.map(uri => uri + (uri.includes('?') ? '&' : '?') + '__preload=true');
});

const manager2 = await player.preload(shakaAssets.testAssets[1].manifestUri);

@jimmymic Sorry I did not had the time to look into this yet!
I'm reopening the issue since @jason-s13r seems to have additional context
@shaka-bot reopen

@shaka-bot reopen


Implement simple function drawing

plot.php should be able to draw a very simple graph, scaling atleast on the x-axis.
drawing one point per pixel in the x axis is okay, no line between them is required for this issue.

This now works, for very simple graphs. Not every case is handled well(partly due to other problems).


ROS 2 Humble  - Troubles with configuration of A0509

I'm reaching out for some assistance with configuring the A0509 model in ROS 2 Humble. I've cloned the doosan-robotics/doosan-robot2 repository from GitHub, specifically the humble-devel branch, and I'm running it on an x86 system with Ubuntu. While ROS 2 Humble itself runs perfectly on my system, I'm encountering issues when working with the A0509 model.
Initially, when I launched the launch file, I faced the following error: [rviz2-6] Error: Semantic description is not specified for the same robot as the URDF [rviz2-6] at line 681 in ./src/model.cpp
I found a mismatch in the robot names; the SRDF file used 'dsr' while the URDF file named the robot 'a0509'. After correcting this inconsistency, I am still facing persistent errors both in the terminal and RViz.
Could you possibly provide me with a working example or any guidance on setting up the A0509 model using ROS 2 Humble? I've also attached screenshots of the terminal and the RViz.
Any assistance you can provide would be greatly appreciated as I work through these configuration challenges.

We are even facing the same issue . Currently I don't think the doosan is giving support for using moveit on ros 2 . They harcoded the robot name to m1013 . Moveit functionality is not working with ROS2

Dear @DRAJesse and @SakethTecholution,
We are currently investigating the issue you're facing with MoveIt. The bug appears to occur during the MoveIt launch process. Our team is actively working on resolving the problem, and we will provide an update as soon as possible.
Thank you for your patience, and we will notify you once the issue has been addressed.

Dear @DRAJesse @SakethTecholution
The related feature has been fixed in this PR. Could you please try it again? Feel free to reach out if you encounter any issues.


Fix genesis response type

Closes #269
Do we need to do something specific with genutil.gentxs? Right now it's shoved in appState along
with everything else.

I'd leave it as is in appState.
If anyone wants to inspect it, (like any of the other module stuff), they should know what they are doing. There is no clear format for it.


DB related resources are missing in carina based project generated from archetype

At the same time those resources present in carina-demo project:
https://github.com/zebrunner/carina-demo/tree/master/src/main/resources/mappers
https://github.com/zebrunner/carina-demo/blob/master/src/main/resources/mybatis-config.xml

assigned to @dmtgrinevich


代码执行npm install出错

This does not seem to be releated to ipfs-webui, the issue is NPM not working in your network/country.


Incorrect altitude reference in RIDv2

The DSS currently has a bug where it incorrectly uses the constant WGS84 for F3411-22a rather than the correct constant W84.  There is a DSS PR to fix this issue, but the presubmit tests will not pass because this repository uses the same incorrect constant.
To solve this problem, we can:

Add a behavior switch to prober in this repository to select either W84 or WGS84 behavior

Selecting WGS84 will allow CI tests to pass on this repository, which means we can merge that change

Publish a release of this repository
Update the DSS PR to target the new release

Selecting the correct (default) W84 behavior will allow CI tests to pass, which means we can merge that change

Publish a release of the DSS repository
Create a new PR in this repository to target the new DSS release, which will also allow the removal of the W84/WGS84 behavior switch

For future reference, the issue was identified through these steps:

Original behavioral bug raised in dss repo because the DSS behavior was not correct
PR 941 added drafted in the DSS repo, but automated tests did not pass (because prober in this monitoring repo required the incorrect behavior in order to pass tests)
This issue raised here (monitoring repository) because prober behavior was not correct

Then, the steps in this issue were executed as follows:

Executed in #18
a. ...to improve monitoring to allow prober to behave either the correct way or incorrect way based on a flag
b. monitoring CI tests needed flag configured to have prober behave incorrectly in order to pass with dss v0.6.0
c. Flag configured such that default is correct behavior (rather than old, incorrect behavior)
Released monitoring v0.2.0
a. ...to make correct-behavior prober available to the dss repository (when flag is set appropriately)
Executed in PR 941 of the DSS repo
a. ...to fix the dss issue -- automated tests could pass because monitoring v0.2.0 could be configured to behave correctly at the same time as fixing the dss bug
Released dss v0.7.0
a. ...to make correct-behavior dss available to the monitoring repository
Executed in #19
a. ...to remove the flag enabling selection of correct or incorrect behavior by prober (possible because correct-behavior dss at v0.7.0 can now be used in the monitoring repository)


Question: How does this package read the package.json?

Is there a specific line someone can point to where this plugin reads the package.json file to validate dependencies? Thanks. I need this kind of functionality of a plugin i'm working on.

We use read-pkg-up (here. You also have pkg-up if you need to know the location of it rather than straight out read it.
Be warned that this may not work well in "monorepo" projects that have multiple package.json files.


fix support for paths containing spaces

fixes an issue caused by #722
since the 'ref' folder might contain other folders such as a 'job' folder which might contain job names with spaces in them

Hello, sorry for the lag, but could you please add a test in install-plugins.bats exposing the issue? Thanks!

I understand, been pretty busy myself :)
I'll try to add a test ASAP, but in case the issue isn't clear, any file containing a space under the 'ref' folder will cause an error in the 'copy_reference_file' helper which might prevent files being copied from the 'ref' folder.
Keep in mind that although it isn't a common scenario, this used to be possible but due to the mentioned PR isn't possible now

I also just filed https://github.com/jenkinsci/docker/pull/746 which I think should fix this, and we will catch such issues before they reach "production" in the future.

Great, much appreciated :)

Going to merge this here to move forward since the change is small anyway. If you can still file a test case PR, that would be awesome. Thanks!


feat: allow ?worker&url to only get the worker url

Description
This PR allows you to import a worker with import worker from './foo?worker&url', but instead of returning a worker constructor it returns the url directly.
This is needed for using a Service Worker or a custom wrapper like Workbox.
Using import worker from './foo?url' works, but it does not transform (minify) the code or applies vite's define macros.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks for the PR. Closing as it is implemented by #7914.


Default coloring

Is there a way to make the default coloring ggplot2-like, i.e. the gray background with white gridlines which are used in the example in the readme.md?

Sorry for the late answer. You can set the Figure attribute theme='gg' in order to get what you want:

Thanks Martin. Is it possible to set themes as default, to avoid having to specify for every figure?

Apparently yes :)
You can try doing:
from bqplot import Figure
Figure.theme.default_value = 'gg'


Add Empty RecycleBin in inner toolbar

Resolved / Related Issues
On the Recycle Bin page, there is no button to empty the Recycle Bin.
However, there is a New button which is never used. #6686
Details of Changes
On the Recycle Bin page, replace the button "New" by "Empty".
This button is only active if the Recycle Bin is not empty.
We can easily do the same for other pages.
@winston-de, can you give your opinion on my way of doing things?
Validation
How did you test these changes?

[X] Built and ran the app
[X] Tested the changes for accessibility

@yaichenbaum I applied the changes except showing the New button. I don't think showing it is a good idea. What does the community think?

@yaichenbaum I applied the changes except showing the New button. I don't think showing it is a good idea. What does the community think?

I think it's best to avoid shifting the toolbar buttons.

@yaichenbaum What are we doing concretely?

@yaichenbaum What are we doing concretely?

I think it's best to add the icons to the right of the toolbar for now and to add back the "new" button.

@yaichenbaum Ok for me. I would do that tomorrow.

@yaichenbaum It is commited.
I added a separator, hidden when there is no additional button. This code should make it easy to add more.
I put Visibility back instead of x: load. This caused an unpleasant visual effect, the button being active for a second before going gray when we reached an already empty Recycle Bin.


Generator asset fix

Summary
Add newly created assets to a pending state so that they aren't used until the next round.
Test Plan
run_generator.sh no longer fails

Codecov Report

Merging #630 (5d806bf) into develop (124cc2e) will increase coverage by 0.12%.
The diff coverage is 76.08%.

@@             Coverage Diff             @@
##           develop     #630      +/-   ##
===========================================
+ Coverage    53.04%   53.17%   +0.12%
===========================================
  Files           22       22
  Lines         3199     3216      +17
===========================================
+ Hits          1697     1710      +13
- Misses        1285     1287       +2
- Partials       217      219       +2

Impacted Files
Coverage Δ

cmd/block-generator/generator/generate.go
70.87% <71.05%> (-0.50%)
:arrow_down:

cmd/block-generator/generator/make_transactions.go
100.00% <100.00%> (ø)

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 124cc2e...5d806bf. Read the comment docs.

This is working now and I've tested it with all scenarios.


Update requirements.txt to pin EmPy version

Reflects changes here: https://github.com/colcon/colcon-core/pull/603/
Otherwise building colcon for the first time per https://colcon.readthedocs.io/en/released/developer/bootstrap.html fails due to
ImportError: cannot import name 'OVERRIDE_OPT' from 'em' (/$USER_DIR/colcon-venv/lib/python3.11/site-packages/em.py) The Python package 'empy' must be installed and 'em' must not be installed since both packages share the same namespace

This change was actually already proposed as #95, which I've merged.
Thanks for contributing!


Allows SkeletonViewer to render skeleton without mesh

Allows SkeletonViewer to render skeleton without mesh, handling null mesh.
Tested in the following playgrounds:
Broke in Master:
https://playground.babylonjs.com/#HJEBQF#5
Works with the PR:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14538/merge/index.html#HJEBQF#5
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14538/merge/index.html#HJEBQF#6

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14538/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14538/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14538/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14538/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14538/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14538/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14538/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14538/merge#BCU1XR#0

There is a merge conflict. Please merge from master and run npm run format:fix to fix the formatting issue

Nice!
You should update the constructor, though, so that it takes a Nullable<AbstractMesh> for mesh.

Done!

There is a merge conflict. Please merge from master and run npm run format:fix to fix the formatting issue

Fixed!

@RaananW when I ran the command it changed a bunch of files, I didn't commit them because they are totally out of scope here, but I can submit a new PR with all the files.

@RaananW when I ran the command it changed a bunch of files, I didn't commit them because they are totally out of scope here, but I can submit a new PR with all the files.

make sure you are using the latest versions of our dependencies. run npm install. format:fix should not change anything in master


Status of Accessories

Hi,
Really like the project, but I sometimes have an issue, where siri states that it cannot perform the action at the moment. However, when I say to turn off the accessory before turning it on then it seems to work.
My question is does it know the state of the device hence it has to be turned off?
Thanks

Siri should keep tracking the status of accessories but that's not why you encountered the issue. Siri will say "cannot perform the action" when:

Connection to accessory timed out
Accessory is not reachable
Internal error (rarely)

For the issue you encountered, I guess it's either caused by (1) or (2).


Transparent window on wayland and glutin

Hi,
I tried to follow this tutorial. However, every time I try to create a window with glutin I get a dark rectangle (probably the window frame) but the inside should be filled I guess.

And this is how the cube example looks like:

I am on Wayland 1.13.0 with and intel/nvidia hybrid. I tried to run everything with "primusrun". But it didn't change anything.
This is the code I am using:
#[macro_use]
extern crate gfx;
extern crate gfx_window_glutin;
extern crate glutin;

use gfx::Device;

pub type ColorFormat = gfx::format::Rgba8;
pub type DepthFormat = gfx::format::DepthStencil;

pub fn main() {
    let builder = glutin::WindowBuilder::new()
        .with_title("Triangle example".to_string())
        .with_dimensions(1024, 768)
        .with_vsync();
    let (window, mut device, mut factory, main_color, mut main_depth) =
        gfx_window_glutin::init::<ColorFormat, DepthFormat>(builder);
    'main: loop {
        for event in window.poll_events() {
            match event {
                glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) |
                glutin::Event::Closed => break 'main,
                _ => {}
            }
        }
        window.swap_buffers().unwrap();
        device.cleanup();
    }
}

And this is the Cargo.toml:
name = "gfx_sdl_test"
version = "0.1.0"
authors = ["Siebencorgie"]

[dependencies]
gfx = "0.14"
glutin = "0.7"
gfx_window_glutin = "0.14"

Any idea what the problem could be? If you need more information about hard- or software, let me know.

Interesting! Seems like the compositor takes the alpha values of our framebuffers into account.
In our cube example, the alpha values are incorrect (0.0f), resulting into a blending with the background.
Not sure if it should be transparent by default, this might be a glutin issue.
I can reproduce it on windows by enabling transparency in the WindowBuilder.

Interesting indeed. I tested the shadow example. Its working as it should. However, the window is still incomplete. It got missing close/minimize/maximize buttons, and not the correct, themed window frame.

I have this issue too on Wayland, but not Xorg. (Both Mutter)

I've also run into this on wayland+mutter, but via glium instead. This is probably either a glutin, winit, wayland-window or mutter issue. @vberger any ideas what might be going on?

Not sure if it should be transparent by default, this might be a glutin issue.

I'm pretty sure it is a perfectly normal wayland behavior, given there doesn't exist any way to specify to the compositor that your window should not be transparent.

It got missing close/minimize/maximize buttons, and not the correct, themed window frame.

Wayland (or at least mutter) require client-side decorations to be drawn. Currently, winit draws them using wayland-window which is a very basic decorations implementation, which is still WIP. Hence the missing buttons and ugly borders.
However, matching the compositor style would basically require either creating the window using GTK or parsing the GTK theme configuration and mimicking the rendering of it in wayland-window, which is way out of scope for this small crate.

However, matching the compositor style would basically require either creating the window using GTK or parsing the GTK theme configuration and mimicking the rendering of it in wayland-window, which is way out of scope for this small crate.

As well as many of us prefer Qt as well.

What I get on Wayland looks a lot worse:

(cube example of pre-ll)


Using ordered list reversed to instead dict reserved.

python3.6 doest not support dict reserved

Please check if there's any backport wheels for 3.6

the gfx94x is passed on ubuntu22


vspinfo endpoint ideas

Some ideas from looking at vspinfo API response.
Add fields:

statusmessage: server operator's custom message with a sane character limit (must fit important messages + 1-2 links)
votingwalletsonline and votingwalletstotal could be used by automated health check crawlers
ticketsmissed (dcrstakepool reported this)

Change fields:

vspclosed

first, the code often looks a bit cleaner if booleans have positive boolean names (...up, ...enabled)
second, a string-based enum would capture more possible statuses than just up and down. I would call it just status

Group ticket stats in a namespace:

rename voting to ticketslive
rename revoked to ticketsrevoked
rename voted to ticketsvoted

Related: https://github.com/decred/dcrstakepool/issues/628#issuecomment-628155661

Cannot add missed tickets, see comment in #268

Your renaming suggestions do make sense, but the existing names will be kept as they are because changing them will break existing API consumers for minimal benefit.
vspclosed is a boolean because it has exactly two states - either the VSP is currently accepting new tickets or it is not. Perhaps acceptingtickets would be a better name, but I refer back to the previous point.
There is already an endpoint for checking voting wallet status, but it requires authenticating with the admin credentials. We could explore opening this up for public consumption, but please open a new dedicated issue for that discussion because its a slightly wider topic than just updating the /vspinfo endpoint.

Agreed re keeping the names to not break consumers. iirc I had this idea earlier but didn't submit it with good advance time before v1.0 final. Do you think it could be batched with other breaking changes, e.g. in v2.0, or will it still not worth it?

Will definitely consider it if/when a new API version is introduced. Some possible scenarios which may make a new API version necessary:

Improving the UX for staking on Trezor (see conversation starting here)
LN/multi-owner ticket purchasing as described by matheus here
Rumoured PQ-crypto changes in a future dcrd/dcrwallet release

Closing this issue now - #272 is opened and all of the other points have been addressed. Thanks for the suggestions.


x/vulndb: support CVE schema v5.0 in cmd/cvetriage

Add support for collectionUrl and packageName in cmd/cvetriage. This is introduced in CVE schema v5.0.
https://github.com/CVEProject/cve-schema/commit/3208d6d88de9132a559afad976d151275104da5e
https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/docs/versions.md

v5.0 is a radical change from v4.0. Even the basic object keys are in a different format: dataVersion vs. data_version. I think we'll need a completely new set of Go structs for v5.
Currently, no CVEs use v5.


Validation of Activity Definition @context

com.yetanalytics.pan.objects.concepts.activities

Addressed in #24


feat(emoji-picker): DP-113112 add shift key info on selected-emoji event

add(emoji-picker): DP-113112 add shift key info on selected-emoji event

Obligatory GIF (super important!)

:hammer_and_wrench: Type Of Change

These types will increment the version number on release:

[x] Feature

:book: Jira Ticket
https://dialpad.atlassian.net/browse/DP-113112

:book: Description
This pull request enhances the selected-emoji event by including information about key events. With this update, we can now identify whether an emoji was selected using the Shift + Enter keys.
:bulb: Context
For going into GA with the new message input component, we need to allow users to add an emoji to the input field with Shift + Enter without closing the emoji picker. To enable this functionality on the product side, it's essential to detect when an emoji is selected using the Shift + Enter key combination.

Firespotter changes: https://github.com/dialpad/firespotter/pull/48999

Looks good! Do you also need it to add the shiftKey info on click? You would have to add it also to the click event in that case

Looks good! Do you also need it to add the shiftKey info on click? You would have to add it also to the click event in that case

Yes I think we would also need this.

Looks good! Do you also need it to add the shiftKey info on click? You would have to add it also to the click event in that case

good catch, should be working now. thank you!


[FEATURE REQUEST] Filtering on source?

Is it possible to filter in source?, say you enable all sources, but you don't need to see all the pip packages for one session?

Duplicate of #584


Remove deprecated @inject and FQCNs in SearchController

Hi Sebastian,
just removed the deprecated @inject and also the FQCNs in SearchController.
As my IDE tells me that the initial assignment of null to the two properties in the code can be safely ignored I also removed them.
See here more info about the deprecated @inject annotation from the official TYPO3 changelog:
Deprecation 82975

Hello Chris,
thank you for your contribution!
As we saw it to late we did fix the issue by using the new Typo3-Inject annotation: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Feature-82869-ReplaceInjectWithTYPO3CMSExtbaseAnnotationInject.html .


AdvancementsScreenOptimizer

CurseForge link
https://www.curseforge.com/minecraft/mc-mods/advancementsscreenoptimizer
CurseForge Mod Distribution
Allowed
Modrinth link
https://modrinth.com/mod/advancementsscreenoptimizer
Source/other link
https://github.com/JustAlittleWolf/AdvancementsScreenOptimizer
Mod file size
13.83 KB
License
(any other license)
What it does
Author's description
Optimizes how the advancements screen is rendered
Minecraft has to render a lot of textures when drawing the advancements screen. These include
the background
the icons
the lines
For each one it draws all the textures individually, requiring communication with the GPU each time.
The mod improves performance by batching most draw calls, so only a single one is made. Furthermore, it avoids drawing textures which are outside the advancements screen.
Why should it be in the modpack
Boosts advancements screen performance up to 200%-800%
Tested on Ryzen 5500, GTX 1660 Super, 16GB Allocated RAM.
Fabulously Optimized 6.1.0-beta.5 for 1.21.1 with default settings in void world

Fabulously Optimized + Vanilla Advancements
Without AdvancementScreen Optimizer: 89 fps
With: 120 fps (1.3x boost)

Fabulously Optimized + BlazeandCaves Advancements Pack
Without ASO: 48 fps
With: 97 fps (2.0x boost)

Fabulously Optimized but with AdvancementInfo instead of Paginated Advancements
Vanilla Advancements
Without ASO: 108 fps
With: 702 fps (6.5x boost)

BlazeandCaves Advancements
Without ASO: 53 fps
With: 423 fps (8.0x boost)

Why shouldn't it be in the modpack
Might be incompatible with some mods that modify the advancements screen
Removes lines between advancements
Additional details
No response

Do we really need 800 fps on the advancement screen?

Do we really need 800 fps on the advancement screen?

Is there something bad in free optimization?
With this mod we can either get fps closer to our refresh rate and make this screen feel not that sluggish or reduce gpu utilization if fps arleady reaches monitor refresh rate
Test with advancementinfo was only for comparison, it's just strange that this mod reaches its full potential only with advancementinfo or advancementsfullscreen

Is there something bad in free optimization? With this mod we can either get fps closer to our refresh rate and make this screen feel not that sluggish or reduce gpu utilization if fps arleady reaches monitor refresh rate Test with advancementinfo was only for comparison, it's just strange that this mod reaches its full potential only with advancementinfo or advancementsfullscreen (and doesn't remove lines with these 2)

Free optimizations would be fantastic if they were available. But this isn't free. Why?
It implies adding a mod, and doing so —with any mod— might not be as beneficial as it seems
Incompatibilities: Adding a mod increases the risk of conflicts with other mods, leading to a higher volume of bug reports and troubleshooting.
Additional File: Each mod adds another file, resulting in a slightly larger download size and longer load times.
Maintenance: The most significant issue is the ongoing maintenance. Keeping up with updates for newer Minecraft versions, ensuring compatibility, and managing any bugs can be time-consuming.
In my opinion, the benefits of this particular mod don’t outweigh the potential drawbacks. While it may offer some improvements, it may not provide enough enhancement to justify the extra hassle. Of course, everyone is free to use it if they want.

If this mod is beneficial with those other mods you mentioned, maybe it can be implemented inside them...


Add Intergrated Container Image Building

This is pull request adds automatic container building for v2ray.
The container is build after a prerelease is generated.
It comes with two favor:

std: Just a binary.
extra: std with geoip, site, and extra.

Important paths:

/opt/v2ray/bin/v2ray : the v2ray binary
/opt/v2ray/share/ : the data files (if exists)
/opt/v2ray/etc/config.json : the config file (if exists)

It is BTW:

reproducible: Anyone can generate the same container image, with the same input.
cross build ready: The builder machine does not need to execute anything.
fully automated: No manual intervention needed to produce the build.
distroless: image does not come with a distro, thus produce a small image.

Hi there, shout out for the incredible work in advance.
Would you like to share your opinion here about having the latest, latest-xxx, or v5.x tags for the images published on the ghcr.io?
I am actively testing whether the pre-release breaks something or not. Having those tags would save a lot of time for bumping the version of v2ray instances.
@xiaokangwang If you are open to this proposal, I would gladly send a PR for it.


azure-mgmt-costmanagement CostManagementClient Query ignores pagination

azure-mgmt-costmanagement:
4.0.1:
Linux:
3.8.17:

Describe the bug
When I invoke CostManagementClient.query.usage() for a query with a lot of results, such as all billing costs for a whole month, I get an incomplete result. It only returns the first 5000 rows, and the response is a QueryResult object with a method called next_link which returns the link for a paginated result. The SDK does not have any way to pass this next_link and continue the pagination.
The issue: It is not possible to get all the results from the API because the API returns a paginated response, but the SDK ignores this pagination and only returns the first result set of the pagination.
To Reproduce
Steps to reproduce the behavior:
The code below shows the costs for a given subscription. Please test this with a subscription that has a lot of billing costs for the month specific in the time_period, so you will be able to get a paginated response and see the issue.
import datetime
from azure.identity import ClientSecretCredential
from azure.mgmt.costmanagement import CostManagementClient
from azure.mgmt.costmanagement.models  import QueryDefinition, ExportType, QueryTimePeriod, QueryGrouping, QueryDataset, QueryAggregation

COSTS_DIMENSIONS = {
  "ResourceId": "resource_id",
  "ServiceName": "service_name",
  "MeterSubCategory": "meter_sub_categoty",
  "ResourceLocation": "resource_location",
  "Product": "product",
  "Meter": "meter",
  "ChargeType": "charge_type",
  "PublisherType": "publisher_type",
  "PartnerEarnedCreditApplied": "partner_earned_credit_applied",
  "ServiceFamily": "service_family",
  "PricingModel": "pricing_model",
  "UnitOfMeasure": "unit_of_measure"
}

client = CostManagementClient(credential=ClientSecretCredential(
  tenant_id='foo',
  client_id='bar',
  client_secret='baz',
))
scope = f"/subscriptions/{'subscription-id'}/"
parameters = QueryDefinition(
  type=ExportType("ActualCost"),
  timeframe="Custom",
  time_period=QueryTimePeriod(
    from_property=datetime.datetime(2023, 11, 1),
    to=datetime.datetime(2023, 11, 30)
    ),
  dataset=QueryDataset(
    granularity='Daily',
    grouping=[QueryGrouping(type="Dimension", name=x) for x in COSTS_DIMENSIONS],
    aggregation={ "totalCostUSD": QueryAggregation(name="CostUSD", function="sum") }
  )
)
response = client.query.usage(scope=scope, parameters=parameters)
response.rows # only returns the first 5000 results

response.next_link
# the response object has the next link for pagination, but there's no way to use it
# the format will be: https://management.azure.com/subscriptions/id/providers/Microsoft.CostManagement/query?api-version=2022-10-01&$skiptoken=AQAAAA%3D%3D

Expected behavior
The SDK should work and get the paginated results(not only the first 5000 rows).
** For Reference **
https://learn.microsoft.com/en-gb/rest/api/cost-management/query/usage?view=rest-cost-management-2023-03-01&tabs=HTTP
** Related Issues **
https://github.com/Azure/azure-sdk-for-python/issues/18927

Thanks for the feedback, we’ll investigate asap.

It seems the structure of QueryResult does not meet the expected structure (like this example shows) to use the pageable extension.
Would turn to service team for further support.

For now, this private package might be able to use as a temporary solution.
azure-mgmt-costmanagement-1.0.0b1.zip

Since this is a service issue, closing the one in SDK repo and please use https://github.com/Azure/azure-rest-api-specs/issues/27044 to track.


Crash Reporter suggestion

Have an option for the crash reporter to upload all the necessary files to an archive because I'm sure there are a lot of bugs that go unreported because it's a pain to gather the files. I know i don't report every crash I get.
Something like this, http://i.imgur.com/GTxANAu.png

a little advice:
you can drag and drop images directly to your post and they are automatically will be downloaded on github hosting and will be displayed in your post

I know that. I have sharex setup to upload it to Imgur because not every chat program I use supports embeds like that. and some servers on discord my main chat have image uploading disabled so I have to use Imgur.

But where would they be uploaded with that button?
What could be done however, is creating a zip automatically, containing the 3 files automatically, so that they can be uploaded to the github issue more conveniently at once. And having a button on the crash window to open the file explorer to that file.

That's what I meant by upload.
What could be done however, is creating a zip automatically, containing
the 3 files automatically, so that they can be uploaded to the github issue
more conveniently at once. And having a button on the crash window to open
the file explorer to that file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Bionus/imgbrd-grabber/issues/693#issuecomment-263978996,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS2t8GTm6rPdHXIo9ipRrBYsC95OWitCks5rDdYYgaJpZM4LAdUT
.


Move model_config to common

Creating new PR because @deadeyegoodwin is out for a bit and we want it to get it into 22.05.
Old PR
Addresses https://github.com/triton-inference-server/server/issues/2759:
many of the functions in model_config.h are generically useful even on the client side and only
depend on the generated protobuf headers. Therefore, it is useful to have them more broadly
accessible via the common repo.
A few functions that have non-trivial dependence on the server API or on constants.h are kept in
the core repo, moved to model_config_utils. One definition from constants.h is moved to the common repo.
The associated changes in the model_config.h header location and the namespace are propagated
throughout the core repo.
This PR goes with https://github.com/triton-inference-server/common/pull/48.

@GuanLuo all files touched in this PR should now have copyright year 2022.


android : not redirect to card page

Hi , how are everybody i work on this plugins in iOS it work after add sdk_token redirect me to card screen
but in android not redirect me to card page and throw exception technical problem

@MustafaSaad45 did you solve this issue?

@MAdnan-ST yes bro, but it does not work on all devices. but the error in device Id generation

the same issue

@mariamalbarghouti can you take screenShot of your code to look if i can help you?


[Flutter Web] The a11y placeholder is preventing the interaction with the host app in embedded mode.

Steps to reproduce
Perform the following steps using a Android or iOS device.

Go to http://tugorez.com/flutter_focus_web (or create any other embedded app with content above the flutter view).
Try to focus on any of the input elements at the top of the page. You'll see it is not possible.

The reason it is not possible to focus in those input elements is because the a11y plaholder1, in mobile, covers the whole page and processes the taps.  Cuplrit seems to be https://github.com/flutter/engine/pull/50608
Expected results
The accessibility placeholder should not interfere with the host app.
Actual results
The accessibility placeholder is interefering with the host app.
Code sample
N/A
Screenshots or Video
N/A
Logs
No response
Flutter Doctor output
N/A

@yjbanov @ditman and I were discussing moving the accesibily placeholder back to inside each flutter view.

Update: I'm waiting for the view focus functionality to stabilize before making changes to the placeholder.

Hey, coming here from #159083. I just want to note what a bad bug this is for someone trying to get started with web embedding. There's no error message, and no indication of what one has to do to fix the problem. I spent hours debugging, figuring the problem was somewhere in my own code.
It really feels like a blocker for web embedding.
If there's no ETA on a fix, can the workaround here at least be added to the web embedding docs?

Actually, the suggested workaround from above doesn't seem to work - I went back to the one I noted in the bug I filed.


Release indexes on the different feeds have different values

See
https://dotnetcli.azureedge.net/dotnet/release-metadata/releases-index.json
https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json
Latest SDK on the first one is 8.0.200
Latest SDK on the second one is 8.0.201

Looks like it was a cache issue. It should be resolved now. I see both jsons reflecting latest 8.0.201 sdk


New useRawSerial feature to fix #3 and #4

This feature allows the transmission of RAW (unintelligible to most humans) MIDI data over Serial. This is for direct compatibility with off-the-shell MIDI <-> Serial bridge applications such as Hairless MIDI.
Simply add the block "useRawSerial" into "on start" instead of "useSerial".
It's possible to write a Python client to parse the output of "useSerial" and inject it directly into the MIDI subsystem on Linux at least, but since Hairless MIDI is cross-platform and free it seems sensible to support it directly.

 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.:x: Gadgetoid sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Get Profile error

E/MethodChannel#tc_method_channel( 8514): 	at com.truecallersdk.TruecallerSdkPlugin.onMethodCall(TruecallerSdkPlugin.kt:131)
E/MethodChannel#tc_method_channel( 8514): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
TruecallerSdk.getProfile (package:truecaller_sdk/src/truecaller.dart:116:7)

Hi @mouryaavadhesh
Thanks for writing in and apologies for the delayed response!
It would be really helpful if you could share some more insights on the issue, like :
-Steps to reproduce the issue
-Device details(model, OS)
-Complete error logs/error message
Once you help us with the details mentioned, we will be able to assist you the best.
In case if you face any queries in the future, please feel free to reach us via our support channel https://developer.truecaller.com/support for a faster and dedicated response.
Regards,
Parth


[Bug] Demo showing code incorrectly on Chrome

Hello, tested your demo on https://hunter-freeman-dev.azurewebsites.net/csharp in Chrome
And the code is showing wrongly indented into the wall:

This happens on all the language demoes

I have seen weird behavior from the gutter. The image you show has the text almost having a higher z-index as it is above the gutter. I haven't seen this yet thanks for making an issue.
Going to look into this.

This happens on both my pc's :s

I have updated the Demo to v6.0.0 and in this update I made a massive effort to fix bugs relating to the gutter (line numbers).
If you have the time please let me know if this issue is still occurring for you.
Demo website: (Clear your cache if you see an older version as the site uses WebAssembly)
https://hunter-freeman-dev.azurewebsites.net/

Today v6.1.0 was published. All gutter css styling bugs were looked at and should be fixed now. If this is not the case please open another issue.


Godot is being hindered on Windows by up to 500ms

There is currently a shader disk cache lock bug that affects NVIDIA drivers on Windows 7 and 10. This creates a delay of  around 200-500ms (sometimes more), when pressing F5/scene previewing.
A solution to this is modifying
https://github.com/godotengine/godot/blob/942855a9ee376ce6ee30a25674856ba64316b548/editor/editor_run.cpp#L178
and using a custom hard coded path that runs another executable. This removes the  delay and the game developer experiences instant scene previews like Linux users.
I feel like this has been normalized and people have forgot about it or just got "so used to it" it's a non-issue. But IMO, this really undermines the engine. And there are still a lot game developers that use Windows
A temporary solution is to change the exec path to a separate executable. A better solution would be to add a option so users can set their own custom executable path. This way,  no compilation is needed.

A better solution would be to add a option so users can set their own custom executable path.

Ideally, this should work without requiring any configuration from the user.
Would copying the executable to a temporary location before running the project work? To make this more efficient, the executable would only be copied if there is no executable in the temporary location, or if the executable already present has a different MD5 hash.

A better solution would be to add a option so users can set their own custom executable path.

Ideally, this should work without requiring any configuration from the user.
Would it work if the executable is copied to a temporary location before running the project? To make this more efficient, the executable would only be copied if there is not one already present in the temporary location, or if the current executable has a different MD5 hash.

Yeah it should!    What I do after compiling is I duplicate the executable and name it godot2.exe, and use that path for exec.  I just figured an option in the editor  would be less intrusive cause this is only specific to Windows 7, 10 and users who have NVIDIA cards.  I've tried it on AMD cards, and Linux, it's instant

can't reproduce the latest NVIDIA driver update 419.17. i'm on Windows 10, GTX 950. also related #11939
they finally fixed it! wow, the previews are instant now. feelsgoodman.

@Aaron-Fleisher Can you confirm if it's fixed for you too with latest Nvidia drivers?

@akien-mga Seems like it, the delay is gone.

Awesome, thanks!


docs(datepicker): add dayjs date adapter documentation

What I Did

First pass at adding documentation for MatDayjsDateAdapter in response to https://github.com/angular/components/issues/18337
Note: I am more than happy to have this absorbed if that is in any way appealing.

Why
Moment adds a lot of overhead in regards to Locales, Day.js allows users to pick and choose that locales they want to include. There is still some improvement to be made on the package around configuring what locales are included, but the approach offered by Jan van Rossum in [this PR](https://github.com/tabuckner/material-dayjs-adapter/pull/1 works just fine).

any progress on this one?

I will get it taken care of on Monday. Thanks for the reminder!

Closing out this PR in favor of an angular.io PR


Get tags (releases) and changelogs up to date

The last one is over one year old.

I'm sorry? Not sure I follow what you are referring to

I'm using a plugin manager for vim called vim-plug and I don't always want to grab from master to track the changes a plugin takes.

Okay I see. I'm still pleading ignorance though because I am still not understanding. What is this ticket for exactly? Thanks

To make you up to create a tag which I can take for my plugin manager so that I know which version I'm using.

thanks. ah okay I see what you mean now. Sorry.
I am behind on the release versioning and tags
the latest one is 24 Nov 2014 v0.1.3
it's not over one year old but it is from last calendar year. there have been a few releases since then obviously I just haven't gotten around to bumping, updating changeset and pushing new tags. I plan to do this however and I will make sure to update this ticket :smile:

Juhu :+1:

tags have been pushed and changelog updated

Juhu!


Delete submission 6421b7472ee8f000019d6203

This submission is currently in validation, but the submitter has realised the sumstats files are incorrect, and would like to reset and reupload different files.

@ala-ebi The author has now created a new submission to replace this one. Could you please delete submission 6421b7472ee8f000019d6203?

@eks-ebi the submission has been deleted


Add suport for rel="manifest" icons (site.webmanifest)

https://developer.mozilla.org/en-US/docs/Web/Manifest/icons

If you set
{"rel": "manifest", "static-file": "favicon/site.webmanifest"},

it's already working right ?
At least from my side I get the expected html:
<link rel="manifest" href="_static/favicon/site.webmanifest">

as most of the favicon generator are generating the file for you, I don't think you need to go any further than that


Building binaries for LocalStack

I'm having an issue with building binaries for developing in LocalStack on Mac with Apple Silicon (M1).
I build a binary using the following command:
cargo lambda build --release --output-format zip

Assuming it would produce a binary for linux/amd64.
But when I deploy it to LocalStack, I get a timeout, which means the binary can't be executed on the target platform.
When I build the same binary with the docker using this setup* and deploy it to LocalStack - it works.
* The linked repo was pushed to reproduce the issue, but I fixed it and the provided setup works.
Any idea why binaries built with cargo lambda don't work in the LocalStack environment?

Interesting. This is the output of lscpu in a LocalStack container.
Architecture:            aarch64
  CPU op-mode(s):        64-bit
  Byte Order:            Little Endian

This is a binary built in Docker (setup I linked in the issue), which works.
target/lambda/hello-world-fn/bootstrap: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=b313c4f7b01768b6d330912ae9f8d9619032ad27, not stripped

This is a binary built with cargo-lambda with the default arch:
target/lambda/hello-world-fn/bootstrap: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.0.0, stripped

And this is a binary built with cargo-lambda with the --arm64 flag.
target/lambda/hello-world-fn/bootstrap: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 2.0.0, stripped

Neither of the binaries built with cargo-lambda work.

Still doesn't work, unfortunately.

I fixed it by:

Running LocalStack with LAMBDA_IGNORE_ARCHITECTURE=1 (so it uses host's arch).
Compiling binaries against GLIBC v2.27:

cargo lambda build --bin $BIN --release --target "aarch64-unknown-linux-gnu.2.27" --output-format zip

P.S. Compiling against GLIBC higher than 2.27 doesn't work on both - LocalStack and AWS.


SSO from DataBricks

Hi Team,
I need to build a Shiny app where the user will be authenticated from DataBricks before they fetch the data. I read that the authentication is not yet supported by this repo. Do you guys are planning it Or is there any alternative to implement this in R. Please any feedback is appreciated.

@vikram-rawat we'd be happy to accept your contribution. The way to implement it would to be to add a credential provider that you can pass through DatabricksClient argument
https://github.com/databrickslabs/databricks-sdk-r/blob/main/R/api_client.R#L136-L143


The direction of the slider is sometimes out of whack

Check that this is really a bug

[x] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/swiper-react-autoplay-forked-ns4qqk?file=%2Fsrc%2FApp.jsx%3A1%2C1
Bug description
I have swiper with infinity loop and autoplay, at first, It's completely normal.
However, after a while, when I clicked on the pagination button, a problem occurred.
I am currently on the 2nd page,  I click on the pagination button to navigate to the 4th page. I hope slide out from the right. However, I found that it slide out from the left. Furthermore, I noticed that the order of the left and right sliding is very chaotic when I click on the pagination buttons.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
^10.0.4
Platform/Target and Browser Versions
chrome in mac os
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

This is how loop mode works, as slides rearranged in DOM


chore: Migrate .less styles to Emotion

SUMMARY
This PR migrates all .less files that target Dashboard, Explore and SqlLab. Generic stylesheets (for example with antd overrides or global LESS variables) are out of scope
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Test all flows related to Dashboard and SqlLab. Compare with current master - there shouldn't be any meaningful changes, except for small spacing changes here and there (so that the spacings use grid unit from Superset's theme).
Explore shouldn't really be affected by this PR - I removed explore/main.less stylesheet, but it seems that it wasn't even used at all. However, check the Explore page just to be safe.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

/testenv up FEATURE_HORIZONTAL_FILTER_BAR=true

CC @ AnushaErrabelli for review

LGTM.

@kgabryje any reason not to merge this before the inevitable conflicts arise?

Good call @rusackas! I'll do a sweep through your comments in a followup PR


Make Source pub

Currently Source is not usable from outside the library but gets returned by both from_fileas well as from_buffer.
For my use case its preferable to use Source instead of already converting it to Vec<u8> or similar.
Therefore public access to Source is necessary.
Maybe it would make sense to make Client public as well since its also available over the public interface via the get_client function. Tell me if I should include this as well

I was thinking of doing something like it with Source and Client in a future version. If you want, make the changes.


Issue 14

Add socket connection parameters config
refactor DatabricksServiceFactory.Builder

overall thanks a bunch for cleaning up the builder and interfaces! Looks a lot better