plot_period_transactions failed for BetaGeoBetaBinomFitter

Dear Sir,
While testing BG/BB models, I came across the following error when calling plot_period_transactions to verify the fitting results
TypeError: unsupported operand type(s) for +: 'int' and 'list'

Traceback below:
TypeError                                 Traceback (most recent call last)
<ipython-input-30-4d245b7ff070> in <module>()
      2 bbf.fit(summary_monthly['frequency'], summary_monthly['recency'], summary_monthly['n_periods'])
      3 print(bbf)
----> 4 plot_period_transactions(bbf)
      5
      6 for period in summary_monthly['n_periods'].unique():

~/anaconda3/lib/python3.6/site-packages/lifetimes/plotting.py in plot_period_transactions(model, max_frequency, title, xlabel, ylabel, **kwargs)
     59
     60     n = model.data.shape[0]
---> 61     simulated_data = model.generate_new_data(size=n)
     62
     63     model_counts = pd.DataFrame(model.data["frequency"].value_counts().sort_index().iloc[:max_frequency])

~/anaconda3/lib/python3.6/site-packages/lifetimes/fitters/beta_geo_beta_binom_fitter.py in <lambda>(size)
    167         self.generate_new_data = lambda size=1: beta_geometric_beta_binom_model(
    168             # Making a large array replicating n by n_custs having n.
--> 169             np.array(sum([n_] * n_cust for (n_, n_cust) in zip(n_periods, weights))),
    170             *self._unload_params("alpha", "beta", "gamma", "delta"),
    171             size=size

TypeError: unsupported operand type(s) for +: 'int' and 'list'

BetaGeoBetaBinomFitter.fit went ok
I am attaching the screenshot of the notebook below

code with error :  self.generate_new_data = lambda size=1: beta_geometric_beta_binom_model(             # Making a large array replicating n by n_custs having n.             np.array(sum([n_] * n_cust for (n_, n_cust) in zip(n_periods, weights))),             *self._unload_params("alpha", "beta", "gamma", "delta"),             size=size         )
i think the following changes may solve  your problem .
try doing this :
you get that error because one is integer value and other is list.
try this :
 self.generate_new_data = lambda size=1: beta_geometric_beta_binom_model(             # Making a large array replicating n by n_custs having n.             np.array(sum([n_] * sum(n_cust) for (n_, n_cust) in zip(n_periods, weights))),             *self._unload_params("alpha", "beta", "gamma", "delta"),             size=size         )

@SUBHAMILA, please use three backticks (`) for code blocks, otherwise this is illegible.

code with error :  self.generate_new_data = lambda size=1: beta_geometric_beta_binom_model( # Making a large array replicating n by n_custs having n. np.array(sum([n_] * n_cust for (n_, n_cust) in zip(n_periods, weights))), *self._unload_params("alpha", "beta", "gamma", "delta"), size=size )
i think the following changes may solve your problem .
try doing this :
you get that error because one is integer value and other is list.
try this :
 self.generate_new_data = lambda size=1: beta_geometric_beta_binom_model( # Making a large array replicating n by n_custs having n. np.array(sum([n_] * sum(n_cust) for (n_, n_cust) in zip(n_periods, weights))), *self._unload_params("alpha", "beta", "gamma", "delta"), size=size )

This did not work.
This did though:

The solution that worked was to modify row 169 in beta_geo_beta_binom_fitter.py from  np.array(sum([n_] * n_cust for (n_, n_cust) in zip(n_periods, weights))) to np.array(sum([[n_] * >n_cust for (n_, n_cust) in zip(n_periods, weights)], []))

Credits to @cereusperuv  (https://github.com/CamDavidsonPilon/lifetimes/issues/259#issuecomment-480820040)


Random vs Current time

Whenever I open the picker, the time it displays seems to be randomly chosen. Is there a way to make sure it always opens to the current time?

It does not display a random date. It always uses the date you pass to it or else it uses the today's date.


Typos

In Ch02-statlearn-lab.ipynb, should the circled text say ax.contour? instead? It does not look like plt has been defined at this point in the notebook. Also, all previous occurrences of displaying documentation have the question mark after the function, so maybe add a note that both ?fun and fun? will cause Python to display documentation associated with the function fun.

In Ch03-linreg-lab.ipynb, the text underlined below can be removed.

In Ch03-linreg-lab.ipynb, should the underlined text say **kwargs rathern than *kwargs?

In Ch03-linreg-lab.ipynb, the text underlined below can be removed.


Help!

Hey Blank! So After i log someones steam account i was wondering on how to login. I think its something with the files it gives you but im not the smartest. i was wondering if you would be able to tell me how? Its no problem if you dont have time!

Paste the grabbed files as well as the ssfn files into your own steam installation folder (usually in C:/Program Files(x86)/Steam.
Then run steam, it will ask you to login. Simply login to your own account Then go to your account and click on 'change account', steam will restart and show you 2 (or more) accounts. One will be yours and the other will be of the victim. You can then select their account. If he hasn't changed the password, you will get inside their account.

Originally posted by @Blank-c in https://github.com/Blank-c/Blank-Grabber/issues/266#issuecomment-1616681976


Trying to run_policy.py while also run_sac.py

Hey Vitchyr,
Is there a problem to run the run_policy.py while I'm also training an model with the run_sac.py?
Should it be a problem?
Because after almost loading and starting the env I'm getting the message:
Traceback (most recent call last):   File "run_policy.py", line 44, in <module>     simulate_policy(args)   File "run_policy.py", line 28, in simulate_policy     render=True,   File "~/rlkit/rlkit/samplers/rollout_functions.py", line 105, in rollout     o = env.reset()   File "~/rlkit/rlkit/envs/wrappers.py", line 21, in reset     return self._wrapped_env.reset(**kwargs)   File "Env.py", line 134, in reset     with open(join(self.log_dir,"reward.csv"), "a") as csvfile:   File "/usr/lib/python3.6/posixpath.py", line 80, in join     a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType QObject::~QObject: Timers cannot be stopped from another thread QMutex: destroying locked mutex

I already got it, it was my own stupidity...
It is totally my fault, I was trying to get the path of the file with logger.get_snapshot_dir(), it works when I am doing the training, once the setup_logger creates it.
I use it to get the path of the training data, so I may fill a .csv on the same place, and later I can plot individually each reward influence on the total reward, for each step.
However, as I want to access the data already trained, it wont work the same for the run_policy, instead now I am using the args.file provided by myself when I run the script run_policy.py.
Sorry for my mistake!


Support Caused by

Now we've handled textual errors pretty well, but there's another non-textual case, like runtime errors, #50, #72.
I think it can be solved by adding Caused by.
For example, IO Error should be
[E001] Error: File Not Found

Caused by:
      path/of/files

Other runtime errors can be:
[E002] Error: Runtime error, reasons...

Caused by:
      path/of/call_site1(line:col)
      path/of/call_site2(line:col)
      path/of/call_site3(line:col)

Are there any other suggestions?
This is not about compatibility, can I submit a PR for this feature?

As I kind of eluded to in my longer comment on #78, I don't feel that ariadne should cover this case. The crate is intended to convert errors with an existing structure defined by the crate user and turn them into a pretty output. You can think of ariadne like a markdown-to-PDF converter, or a browser layout engine that ingests HTML and spits out the image you see on the screen. Interpreting information that is neither textual nor structural (std::io::Error is neither) falls outside the scope of the crate.

In this case, we need a mechanism to append information to the report.


[Discussion] Processing generated waveforms in python

I am using spleeter inside a python project and I want to work with the seperated waveforms.
When I, for example, have this code:
separator = Separator("spleeter:2")

audio_loader = get_default_audio_adapter()
sample_rate = 44100
waveform, _ = audio_loader.load(file, sample_rate=sample_rate)

prediction = separator.separate(waveform)

I am able to get the seperated waveforms as a dict of arrays. However, I want to treat the seperated waveforms as files (without saving them to the filesystem). Specificly, I want to send them over a HTTP connection, but idealy not as arrays but as base64 encoded mp3s.
Is it possible to convert these waveforms to an usable format without writing them to the filesystem? I cannot find a way to convert them into mp3/base64.
I know audio_loader.load returns the waveforms as well but even after looking into the code I cannot to find a way to deal with these files.
Sorry if this is obvious and I overlook something. Best regards!

Why not saving waveform to temporary file that would act as buffer ?
Otherwise you need anyway to convert the waveform represented as a NumPy array into the target audio codec bytes to send it as in-memory audio file. You need to check dedicated Python library to do so which is out of the Spleeter scope.


Update Jenkinsfile libraries, minor fix to junit execution

ptal @AbletonDevTools/gotham-city, thanks!

@ablbot rebase

LGTM :+1:


[Integration] Error in console if to rename chat folder; after browser refresh chat folder name is returned to initial one.

Create chat; folder
Mover the chat to the folder
rename the folder -> error in console appears -> bug
Refresh the browser -> folder name is returned to initial one -> bug

Note: It's ok in Prompts

The issue is not reproduced on staging now. Seems it was fix with another ticket


Should "NONE" and "NOASSERTION" be valid licenses?

I just added this issue over at npm : https://github.com/npm/npm/issues/8557 , but it isn't clear to me if the logic for "NONE" and "NOASSERTION" should be handled by spdx clients (like npm) or if it should be treated as valid when calling spdx.valid("NONE") and spex.valid("NOASSERTION").
See http://spdx.org/sites/spdx/files/SPDX-2.0.pdf section Section 3.12-3.14. "NONE" and "NOASSERTION" are valid values for Concluded Licenses (3.12), All Licenses Information From Files (3.13), and Declared Licenses (3.14).  However, they are not described as " is a valid SPDX License Expression as defined in Appendix IV."
Which means it isn't quite clear if valid() should treat "NONE" and "NOASSERTION" as valid SPDX License Expressions and return true.
However, it seems clear from the spec that "NONE" and "NOASSERTION" are valid fields wherever a valid SPDX License Expression is allowed.
So... is this a feature request/bug in SPDX? Where we should update it here to return true for spdx.valid("NONE") and spex.valid("NOASSERTION") or if users of the SPDX module should be aware that "NONE" and "NOASSERTION" are allowed in the spec, but not "valid" per Appendix IV, and therefore should be handled as special cases.
In the latter case, my issue at npm would be the right place to fix it. Otherwise it would be here.
Any suggestions about the right place to work on this use case?

FWIW, I added an issue at spdx.org asking for clarification about the validity of "NONE" and "NOASSERTION": https://bugs.linuxfoundation.org/show_bug.cgi?id=1289

Thank your for this issue! I was traveling today, but will make time to get back to you this weekend.

A license expression is a type that represents the licensing terms of a piece of software (e.g., source file, binary). An SPDX document is a simple database of licensing information. The SPDX fields are analogous to database fields. Database fields could accept different types (Integer, Float, Date, XML, …) or they could have special field values like NULL (= missing or unknown data). NONE and NOASSERTION do not represent licensing terms but instead describes a state of analysis. NONE and NOASSERTION are valid SPDX field values but they are not valid license expressions (they do not represent the licensing terms of a piece of software). Similarly, NULL does not represent a valid Date value in an SQL data base, but instead is a valid field value that describes the state of assignment (Just as much as NULL is not a valid integer).
It would be more semantically correct to discuss what are valid values for a for a given SPDX field. In the case of “LicenseConcluded” that would be:
 | “NONE” | “NOASSERTION”

@mburtoniii, thank you for your comment! Might you be so kind as to have a look at my comment on the npm issue, https://github.com/npm/npm/issues/8557#issuecomment-111783659, and comment there if our views on NONE and NOASSERTION differ?

Closing, but please feel free to reach out with additional questions or comments.


Insertion of stop codon is annotated as simple Insertion and not PrematureStop

Testcase, using genome GRCm38, over transcript ENSMUST00000086738
##fileformat=VCFv4.1
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT

# The coding sequence at chr1/99772765 looks like:
# ATG GAT TCT GTA CCA AGA CTG ACC AGC ATT TTGx
#                       ^ 99772782
# The protein is ENSMUSP00000083944 and looks like:
#  M   D   S   V   P   R   L   T   S   I   L
# The variant causes a stop codon to be introduced at position 21 in the
# nucleotide sequence, codon number 7 (with zero based indexing), so the protein
# sequence will look like MDSVPRL.

# Synonymous Substitution + PrematureStop insertion: CTG/TTA both encode L
chr1	99772782	.	ACTG	ATTATGA	5000	.	.	.

This is annotated as
Silent(variant=chr1 g.99772783CTG>TTATGA, transcript_name=Cntnap5b-001, transcript_id=ENSMUST00000086738, effect_description=silent)
* aa_ref = "*"
* aa_alt = ""

If instead I use a non synonymous insertion
# Non-Synonymous Substitution + PrematureStop insertion
chr1	99772782	.	ACTG	AACCTGA	5000	.	.	.

This is annotated as
Substitution(variant=chr1 g.99772783CTG>ACCTGA, transcript_name=Cntnap5b-001, transcript_id=ENSMUST00000086738, effect_description=p.L7T) L T
* aa_ref = "L"
* aa_alt = "T"

Both of them should be PrematureStop.

Suggested fix
--- a/varcode/in_frame_coding_effect.py	2016-08-25 00:27:48.959775110 +0200
+++ b/varcode/in_frame_coding_effect.py	2016-08-27 17:21:36.250069010 +0200
@@ -294,7 +298,7 @@
             original_protein_subsequence[n_shared_amino_acids:]
         mutant_protein_subsequence = \
             mutant_protein_subsequence[n_shared_amino_acids:]
-        if len(mutant_protein_subsequence) < len(original_protein_subsequence):
+        if mutation_aa_pos < len(transcript.protein_sequence):
             # only call this mutation a premature stop if it decreases
             # the length of the protein
             return PrematureStop(

Fixed by https://github.com/hammerlab/varcode/pull/173


OurWaitFor class has 0 sec timeout by default

Please consider refactoring class OurWaitFor to make timeout configurable (now it doesn't wait more than 0 seconds)

fixed in 1.0.8-beta


[bug] Dependant change does not trigger targets for main app

Describe the bug
Change in dependant does not trigger target with --affected run in the main app.
I have one app and one library in JS moon workspace. Both have test task and app depends on package (both explicitly <moon.yml> and implicitly <through package.json and workspace:^ dependency>).
apps/webApp/moon.yml
language: 'javascript'
type: 'application'
dependsOn:
  - 'simplePackage'
tasks:
  test:
   command: "yarn test"

packlages/simple/moon.yml
language: 'javascript'
type: 'library'
tasks:
  test:
   command: 'yarn test'

Steps to reproduce

Set up 1 application and 1 library, both with test task.
Import library as dependency to the application AKA make application depends on library
Introduce some changes to the library
Run moon :test --affected
Only library's tests are run, even though this change affects the app

Expected behavior
Once shared library has any change also apps/other packages using this one should be triggered in affected way.
Usually introducing changes to shared code requires rebuild of the main app
Screenshots

Environment

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M1 Pro
    Memory: 36.83 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    Yarn: 3.6.1 - ~/.nvm/versions/node/v20.11.1/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    Homebrew: 4.3.9 - /opt/homebrew/bin/brew
    pip3: 24.0 - /opt/homebrew/bin/pip3
    RubyGems: <IP_ADDRESS> - /Users/michalciesliczka/.rbenv/shims/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 15.0.0 - /usr/bin/gcc
    Git: 2.39.3 - /usr/bin/git
    Clang: 15.0.0 - /usr/bin/clang
    Curl: 8.6.0 - /usr/bin/curl
    OpenSSL: 3.3.1 - /opt/homebrew/bin/openssl
  Servers:
    Apache: 2.4.58 - /usr/sbin/apachectl
  Virtualization:
    Docker: 25.0.3 - /usr/local/bin/docker
    Docker Compose: 2.24.6 - /usr/local/bin/docker-compose
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
    Android SDK:
      API Levels: 33, 34
      Build Tools: 33.0.0, 34.0.0
      System Images: android-30 | Google Play ARM 64 v8a, android-34 | Google APIs ARM 64 v8a
  IDEs:
    Android Studio: 2022.3 AI-223.8836.35.2231.10811636
    VSCode: 1.91.1 - /usr/local/bin/code
    Vim: 9.0 - /usr/bin/vim
    Xcode: 15.4/15F31d - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.21.2 - /usr/local/go/bin/go
    Java: 17.0.11 - /Users/michalciesliczka/.jenv/shims/javac
    Perl: 5.34.1 - /usr/bin/perl
    Python3: 3.12.4 - /opt/homebrew/bin/python3
    Ruby: 2.6.10 - /Users/michalciesliczka/.rbenv/shims/ruby
  Databases:
    SQLite: 3.39.2 - /Users/michalciesliczka/Library/Android/sdk/platform-tools/sqlite3
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 126.0.6478.183
    Safari: 17.5
  Monorepos:
    Yarn Workspaces: 3.6.1

Additional context

Yeah right now --affected is purely a match against touched files and doesn't take project relations into account. We can look into that for the next release.


How to train own datasets?

I have own datasets with labeled. How to train it?

That is high on the to-do list but haven't gotten around to making that easy yet.  For now, I would recommend extending pytorch's dataset class so that it follows the functionality of our current VOC dataset class. Finishing up school next week and then I should be able to add that pretty quickly!

Thank you for your reply. I have made my dataset format like VOC datasets. My dataset only has one class, is a hand in a image. I believe i made my dataset correctly. So I edited the num_classes = 2,net = build_ssd('train', 300, 2). When I trained it, I got the answer

Maybe I would modify the multiboxloss. But i don't know how or how to fix it. Could you help me?

I've actually tried to implement my own dataset according to the VOC dataloader. However at training time, I got NaN values at loss

I'm also very interested in this.  @andfoy @amdegroot @zhanghan328  have working code or places to start?

@alexiskattan I've actually successfully loaded Visual Genome dataset: https://github.com/andfoy/textobjdetection/blob/master/visual_genome_loader.py#L482

here is our VOC Detection dataset: https://github.com/amdegroot/ssd.pytorch/blob/master/data/voc0712.py#L84
I would give it a look over, we have it extensively commented.  I largely based the dataset off of the datasets found here in pytorch's torchvision dataset repo: https://github.com/pytorch/vision/tree/master/torchvision/datasets
Sorry for the late responses -- Max and I are both currently travelling post graduation, but should be able to pick back up our slack here in a couple of weeks!

Thank you you @ellisbrown and @andfoy.  I'm looking at it now.  I'm kinda new to this but will see how far I can get! <3

Can confirm VGG gives NaN's with 2 class detection problem. Sometimes gives illegal memory access, which seems to be related to pytorch bug.
My MobileNet implementation achieved ~50% mAP on VOC2007 (160x160 input size).
Can PR it here after sorting out issues with HollywoodHeads dataset.
Seems like with smaller object priors are completely off and network doesn't train.

@ellisbrown one thing that made training really easy for another library was to be able to input a text file that was like:
filepath,x1,y1,x2,y2,class_name
filepath,x1,y1,x2,y2,class_name
filepath,x1,y1,x2,y2,class_name

@igrekun I'd be great to see how you did it.  Would you mind pointing to link where it is?

Until we get back from our summer vacations, I would recommend reading the issues people have posted on the original Caffè SSD repo regarding training custom datasets as I think I remember them being helpful.

Just returned from my mountain trip and have to sort out work-related issues, so here is dirty and hacky gist to train mobilenet + SSD.
https://gist.github.com/igrekun/35129c5a1d4f7ef2ffecdf0560adfc1f
You can download pretrained on ImageNet MobileNet head here:
https://s3.us-east-2.amazonaws.com/ig-models/mobilenet/mbnethead.pth
The trained model with 50.22 mAP on pascal is stored here:
https://s3.us-east-2.amazonaws.com/ig-models/mobilenet/mbnet_iter_59800.pth
I'm busy for the next few days, but if you are interested, I will file a proper pull request.
There is some redundancy with not using cfg values to initialize SSD prior boxes but we can sort that out.
Otherwise the codebase is clean and a pleasure to work with. Thanks, Max! (:

@andfoy thanks for sharing your training implementation. What is the link for the article "Human-related Object Detection based on Natural Language Parsing of Image Query Expressions article"? is it this? http://ieeexplore.ieee.org/document/5363983/ cant seem to find it.

@jtoy I'm actually on process of writing it, so is not published yet!

@igrekun do you know what PyTorch bug this is? I've been getting strange errors while training to detect a single class of objects. But it occurs all the time from the start so could be an entirely different problem (or indeed some bug in my own code).

Can confirm VGG gives NaN's with 2 class detection problem. Sometimes gives illegal memory access, which seems to be related to pytorch bug.

@igrekun I apologize for my tardy response.  Feel free to submit a PR!  I'm just getting back from a long summer break myself.

Check out my solution here - https://github.com/amdegroot/ssd.pytorch/issues/72

Hi,
@alexiskattan how can I install visual genome?
thanks :)

@zhanghan328 hi,could you please tell me how's your work going on,I have the same problem as yours. My wechat(微信)：lijingx-    thank you in advance!

any advance?

Hey guys, interested to know if there was any progress on this??

any progress?

I trained 12 categories dataset on this repo, firstly, I transformed my data to like coco format. And, I run the demo.py and can get normal results. however, when I want to use the coco api to eval my model for getting the mAP like coco dataset, I failed. But, I got all 0 result or nearly 0, which is likely the @banxia1994 and @Hliang1994
I got
Running per image evaluation...
Evaluate annotation type bbox
DONE (t=0.36s).
Accumulating evaluation results...
DONE (t=0.10s).
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
The following code as my reference:
I used the @lpd2csx code to record the ouput https://github.com/amdegroot/ssd.pytorch/issues/253
There are anyone eval the likely coco's format dataset' mAP results?
looking forward to any reply.

I trained 12 categories dataset on this repo, firstly, I transformed my data to like coco format. And, I run the demo.py and can get normal results. however, when I want to use the coco api to eval my model for getting the mAP like coco dataset, I failed. But, I got all 0 result or nearly 0, which is likely the @banxia1994 and @Hliang1994
I got
Running per image evaluation...
Evaluate annotation type bbox
DONE (t=0.36s).
Accumulating evaluation results...
DONE (t=0.10s).
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
The following code as my reference:
I used the @lpd2csx code to record the ouput #253
There are anyone eval the likely coco's format dataset' mAP results?
looking forward to any reply.

Happy new year!Have you solved this problem?

I've actually tried to implement my own dataset according to the VOC dataloader. However at training time, I got NaN values at loss

How may I train my custom coco dataset? @andfoy

@ellisbrown one thing that made training really easy for another library was to be able to input a text file that was like:
filepath,x1,y1,x2,y2,class_name
filepath,x1,y1,x2,y2,class_name
filepath,x1,y1,x2,y2,class_name

My thoughts are the same as yours.Do you realize the loading of this data format？

I trained 12 categories dataset on this repo, firstly, I transformed my data to like coco format. And, I run the demo.py and can get normal results. however, when I want to use the coco api to eval my model for getting the mAP like coco dataset, I failed. But, I got all 0 result or nearly 0, which is likely the @banxia1994 and @Hliang1994
I got
Running per image evaluation...
Evaluate annotation type bbox
DONE (t=0.36s).
Accumulating evaluation results...
DONE (t=0.10s).
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.000
The following code as my reference:
I used the @lpd2csx code to record the ouput #253
There are anyone eval the likely coco's format dataset' mAP results?
looking forward to any reply.

Happy new year!Have you solved this problem?

hello，Have you solved this problem?

Have anyone come up with a method for choosing the values for the default boxes in config.py - see below
    'min_sizes': [30, 60, 111, 162, 213, 264],
    'max_sizes': [60, 111, 162, 213, 264, 315],
    'aspect_ratios': [[2], [2, 3], [2, 3], [2, 3], [2], [2]],


Bug: Class information on output is missing during migrate:rollback command

Describe the bug
MigrationRunner.php removeHistory results differs from addHistory in CLI command migrate:rollback
Class information on output is missing during migrate:rollback command
CodeIgniter 4 version
CodeIgniter v4.1.1 Command Line Tool
Affected module(s)
CodeIgniter\Database\MigrationRunner::removeHistory
Expected behavior, and steps to reproduce if appropriate
When I execute a migration:
`codeigniter> php spark migrate
CodeIgniter v4.1.1 Command Line Tool - Server Time: 2021-04-17 19:30:03 UTC-03:00
Running all new migrations...
Running: (App)<PHONE_NUMBER>4700_App\Database\Migrations\UserTable
Running: (App)<PHONE_NUMBER>0000_App\Database\Migrations\UserEventsTable
Running: (App)<PHONE_NUMBER>0000_App\Database\Migrations\CustomerTable
Running: (App)<PHONE_NUMBER>0000_App\Database\Migrations\CustomerUsersTable
Running: (App) 2021-04-17-213225_App\Database\Migrations\Test
`
When I execute a rollback:
`codeigniter> php spark migrate:rollback
CodeIgniter v4.1.1 Command Line Tool - Server Time: 2021-04-17 19:27:31 UTC-03:00
Rolling back migrations to batch:  1
Rolling back: (App) 2021-04-17-213225_
Rolling back: (App)<PHONE_NUMBER>0000_
Rolling back: (App)<PHONE_NUMBER>0000_
Rolling back: (App)<PHONE_NUMBER>0000_
Rolling back: (App)<PHONE_NUMBER>4700_
Done rolling back migrations.`
As you can see, all classes information are missing

Context

OS: [Windows 10]
Web server [Apache 2.4.41]
PHP version [7.4.0]

I've noticed this as well! Hopefully a quick fix. Thanks for reporting!

No problem!  Glad to help!
Thanks for the great work at CodeIgniter
I will try to help more at free time...


train and evaluate on the nuscenes

Very nice job! Table4 in your paper reports the results on the nuscenes validation set, and I also saw your submission on the nuscenes test.
Can you provide the code for training and evaluation using nuscenes, thank you very much!

We are in the process of developing BEVHeight++, a method that achieves better performance on the nuScenes dataset. The article and code will be released together at a future time.


Android: make RichTextEditorState.messageMarkdown store pure markdown

At the moment it contains some pseudo MD-HTML hybrid we could use to display mention pills, but we're not actually using at the moment.
It's causing https://github.com/element-hq/element-x-android/issues/2214.

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

Project coverage is 87.99%. Comparing base (610d671) to head (9bb5c35).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #970      +/-   ##
============================================
- Coverage     88.48%   87.99%   -0.49%
============================================
  Files           227       18     -209
  Lines         23990     2408   -21582
  Branches        750      301     -449
============================================
- Hits          21228     2119   -19109
+ Misses         2457      285    -2172
+ Partials        305        4     -301

Flag
Coverage Δ

uitests
?

uitests-android
?

uitests-ios
?

unittests
87.99% <ø> (+1.07%)
:arrow_up:

unittests-android
?

unittests-ios
?

unittests-react
87.99% <ø> (ø)

unittests-rust
?

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

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


Present an error when a test is not found via ?test_filter

Currently if you specify a test that does not exist or just ?test_filter the Webrtc troubleshooter title header is only present.
We should have some sort of error.

Not a priority... that feature is very power user like. Lets focus on other stuff instead. (E.g. make the tests available without filters).


python311Packages.python-lsp-ruff: 1.6.0 -> 2.0.0

Description of changes
Changelog: https://github.com/python-lsp/python-lsp-ruff/releases/tag/v2.0.0
cc @linsui

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 270201 run on x86_64-linux 1

4 packages built:

python310Packages.python-lsp-ruff
python310Packages.python-lsp-ruff.dist
python311Packages.python-lsp-ruff
python311Packages.python-lsp-ruff.dist

So, the tests fail.
I looked into it and discovered that the called ruff command was not returning any output.
It works when I try to run the tests from a virtual env based setting.
The used ruff binary is not the problem as if I force the tests to use it, the tests keep working in the venv.

Venv setup (after force-setting the ruff check command to be the same as in the nix derivation)
galepage in 🌐 alya in python-lsp-ruff (a4fac02) [!?] is 📦 v2.0.0  3.11.6  took 4s
✦ ❮ ./venv/bin/pytest -s tests/test_code_actions.py::test_ruff_code_actions
================================================================================ test session starts =================================================================================
platform linux -- Python 3.10.12, pytest-7.4.3, pluggy-1.3.0
rootdir: /local_scratch/galepage/temp/python-lsp-ruff
configfile: pyproject.toml
collected 1 item

tests/test_code_actions.py --------------------
RUFF COMMAND: /nix/store/gqywxi5nkfl31ag1832v1nbghmy7ccrj-ruff-0.1.6/bin/ruff --quiet --exit-zero --output-format=json --extension=ipynb:python --no-fix --force-exclude --stdin-filename=/tmp/pytest-of-galepage/pytest-29/test_ruff_code_actions0/tmp3f41yj9n --unsafe-fixes --select=F -- -
STDOUT: b'[\n  {\n    "cell": null,\n    "code": "F401",\n    "end_location": {\n      "column": 10,\n      "row": 2\n    },\n    "filename": "/tmp/pytest-of-galepage/pytest-29/test_ruff_code_actions0/tmp3f41yj9n",\n    "fix": {\n      "applicability": "safe",\n      "edits": [\n        {\n          "content": "",\n          "end_location": {\n            "column": 1,\n            "row": 3\n          },\n          "location": {\n            "column": 1,\n            "row": 2\n          }\n        }\n      ],\n      "message": "Remove unused import: `os`"\n    },\n    "location": {\n      "column": 8,\n      "row": 2\n    },\n    "message": "`os` imported but unused",\n    "noqa_row": 2,\n    "url": "https://docs.astral.sh/ruff/rules/unused-import"\n  },\n  {\n    "cell": null,\n    "code": "F841",\n    "end_location": {\n      "column": 6,\n      "row": 4\n    },\n    "filename": "/tmp/pytest-of-galepage/pytest-29/test_ruff_code_actions0/tmp3f41yj9n",\n    "fix": {\n      "applicability": "unsafe",\n      "edits": [\n        {\n          "content": "pass",\n          "end_location": {\n            "column": 10,\n            "row": 4\n          },\n          "location": {\n            "column": 5,\n            "row": 4\n          }\n        }\n      ],\n      "message": "Remove assignment to unused variable `a`"\n    },\n    "location": {\n      "column": 5,\n      "row": 4\n    },\n    "message": "Local variable `a` is assigned to but never used",\n    "noqa_row": 4,\n    "url": "https://docs.astral.sh/ruff/rules/unused-variable"\n  }\n]'
--------------------

Nix derivation
Executing pytestCheckPhase
============================= test session starts ==============================
platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
rootdir: /build/python-lsp-ruff
configfile: pyproject.toml
collecting ... ^Mcollected 1 item

tests/test_code_actions.py --------------------
RUFF COMMAND: /nix/store/gqywxi5nkfl31ag1832v1nbghmy7ccrj-ruff-0.1.6/bin/ruff --quiet --exit-zero --output-format=json --extension=ipynb:python --no-fix --force-exclude --stdin-filename=/build/pytest-of-nixbld/pytest-0/test_ruff_code_actions0/tmp3g2nbh47 --unsafe-fixes --select=F -- -
STDOUT: b'[]'
--------------------

Thanks @linsui everything works now !

Result of nixpkgs-review pr 270201 run on aarch64-linux 1

4 packages built:

python310Packages.python-lsp-ruff
python310Packages.python-lsp-ruff.dist
python311Packages.python-lsp-ruff
python311Packages.python-lsp-ruff.dist

Another choice is removing --force-exclude in preCheck. Not sure which fix is better.


linkPaths doesn't accept arrays as paths

Most (if not all) functions seem to allow arrays instead of paths (which is absolutely wonderful, as it looks a million times better), however this seems not to be the case for linkPaths.

Agreed that this is a small issue.  This seems like low-hanging fruit– would a PR be considered?

@devinivy Sure thing!  It can just call _get similar to other public path API's to create a string path from an array/string with array indices converted to keys:
        var info = {};
        var array = this._get(path, this, info);
        // ... link using `info.path`

Finally got around to this– PR posted at #3558.

This was implemented in Polymer 2: https://www.polymer-project.org/2.0/docs/api/mixins/Polymer.PropertyEffects#method-linkPaths Sorry for not notifying you sooner :cry:


DRM leasing

I'm working on implementing DRM leasing (and with it, VR support) and wanted to start the discussion here on how it should shake out. For those unaware, DRM leasing allows us to "lease" some DRM resources (connector, crtc, encoder) to another process, allowing us to share the DRM master. This is used by VR applications to have exclusive and low-latency control over the HMD (head mounted display). I think a comprehensive solution for VR on Wayland (and wlroots) involves the following broad steps, in no particular order:

Expose the "non-desktop" flag to downstream compositors, so they can decide how to use non-desktop outputs (HMDs generally have this flag set, and are generally unsuitable for inclusion in the desktop layout). A typical compositor will not use this output at all, and will make it available for leasing. A VR compositor might seek out this output specifically to run its VR interface on. etc.
Clean up and get merged the DRM leasing Wayland protocol extension. I have a cleaned up draft here for your consideration.
Implement wlr_drm_lease_manager_v1. We could do this at a low-level or a high-level. The low-level API would involve expanding the public DRM backend API so that its users can enumerate our DRM resources and offer fine-grained leases of connectors, crtcs, and encoders separately. Until someone comes up with a use-case that demands this, I'd prefer a high-level approach: the downstream compositor just tells wlr_drm_lease_manager_v1 which wlr_outputs it would like to offer for leasing. This will still require some changes to the DRM backend to allow the lease manager to ask the backend to stop using certain resources, but it could just use the existing DRM backend headers to dig into DRM internals and since it all lives inside of wlroots (rather than downstream compositors), it simplifies the maintenance burden significantly.

In the high-level model, when a client takes you up on the lease offer, the backend will emit an output_remove event for that wlr_output, so you stop using it. It'll reappear if you revoke the lease, and you can still access it (though it'll be a programming error to mutate it) by browsing the list of leases.

At that point, we can write our own Wayland clients which take advantage of DRM leasing to provide a VR experience. I'll write some basic demo as part of this workstream. However, to be useful, we'll probably want it to work with OpenVR (which is a misnomer, because it's closed source) - this is what Steam uses. It only supports X11, so my plan is to extend Xwayland with support for the DRM leasing protocol. DRM leasing via X11 was added to xrandr 1.6.
In the long term, I want to expand wlroots to support VR compositors better. This will involve at least:

Wayland protocols for rendering 3D content (hard)
Wayland protocols for VR-specific HIDs - plus libinput/eudev support? Today these use libusb and bypass the input subsystem entirely

Clean up and get merged the DRM leasing Wayland protocol extension. I have a cleaned up draft here for your consideration.

It may be worth making the protocol multi-GPU aware. DRM object IDs are guaranteed to be unique across different devices, but I don't think we can create leases involving multiple devices (although I can't say I've tried). It could also help a client choose which device it wants to render with. I don't know if I client actually has a way to determine what device it has a lease for otherwise.
I'm don't think zwp_drm_lease_connector_v1 is flexible enough. "name" alone isn't enough information to identify most things properly. Relying on compositor-specific information from other wayland protocol objects doesn't seem like the best thing. It needs to be something more rigid.
Ideally, we could just give them the DRM object ID and they can query whatever they want themselves, but I don't think that'll work, because the client can't necessarily open /dev/dri/cardX.
Looking at the DRM API, it doesn't seem that there is a way to actually modify existing leases. We have to destroy and create them again.

I'd prefer a high-level approach: the downstream compositor just tells wlr_drm_lease_manager_v1 which wlr_outputs it would like to offer for leasing

Agreed. The DRM object matching logic is already stupidly complicated enough, and I'm sure that users don't really want to deal with that or have much they can add.

However, to be useful, we'll probably want it to work with OpenVR (which is a misnomer, because it's closed source) - this is what Steam uses

I'm just going to bring up
https://www.khronos.org/openxr
https://gitlab.freedesktop.org/monado/monado
XR is not something I know a lot about or how it works, as well as these aren't complete technologies yet, but surely this is relevant.

In the long term, I want to expand wlroots to support VR compositors better. This will involve at least:

Another potential (non-VR) use-case is running multiple Wayland/X11 servers on the same GPU, independent of each other. Kind of like how logind multiseat works.

It may be worth making the protocol multi-GPU aware

Hm, good point. I'll ponder this a bit.

Ideally, we could just give them the DRM object ID and they can query whatever they want themselves, but I don't think that'll work, because the client can't necessarily open /dev/dri/cardX

Yeah, I don't think that this is ideal, either, but I also don't know of a good way to expand on it elegantly. I think this is good enough for v1 because the usual case is not going to be affected - most compositors will only offer VR headsets for lease, and there'll probably only be one of them. And if not - the name is probably Good Enough to disambiguate them until we figure out something better.

Looking at the DRM API, it doesn't seem that there is a way to actually modify existing leases. We have to destroy and create them again.

Hm, drmModeChangeLease was proposed, but I guess it didn't make it. It looks like it almost did, I found a kernel with the ioctl implemented. I'll dig and see why this didn't land and update the protocol accordingly. Bleh.

OpenXR

See also: OpenHMD. I'd like to support these as well, but they'll almost certainly rely on DRM leasing as well so I think the work here translates quite directly to that. This stuff hasn't materialized in an entirely practical way yet, so I'm thinking of Steam only in terms of something useful to test with. Of course, I would like to dive into OpenHMD and get it working on Wayland as well.

Another potential (non-VR) use-case is running multiple Wayland/X11 servers on the same GPU, independent of each other. Kind of like how logind multiseat works.

Aye. I plan on adding support for this to the Wayland backend, where Wayland bootstraps a DRM lease and hands it over to the DRM backend, for this very purpose. It should be a pretty cut-and-dry change.

I'd prefer a high-level approach

Works for me.

when a client takes you up on the lease offer, the backend will emit an output_remove event for that wlr_output, so you stop using it.

We don't have output_remove, we only have wlr_output.destroy. I suppose that could work, too.

Today these use libusb and bypass the input subsystem entirely

They'll probably want to keep doing so, to minimize latency. However some VR Wayland clients would need such a protocol to benefit from compositor multiplexing.

Multi-GPU

Indeed, that needs to be considered. But see below, maybe not in this end.

I don't know if I client actually has a way to determine what device it has a lease for otherwise.

drmGetDevice should work.

I'm don't think zwp_drm_lease_connector_v1 is flexible enough. "name" alone isn't enough information to identify most things properly. Relying on compositor-specific information from other wayland protocol objects doesn't seem like the best thing. It needs to be something more rigid.
Ideally, we could just give them the DRM object ID and they can query whatever they want themselves, but I don't think that'll work, because the client can't necessarily open /dev/dri/cardX.

I wonder if the client should choose at all.
I'm starting to think that maybe the client should indicate why it needs a lease. For instance a VR client could say "I want non-desktop outputs", instead of saying "I want this particular output". In case multiple DRM nodes or non-desktop outputs are available compositors could provide configuration options to choose what to lease.

Also, another note: surely this protocol should be privileged, all clients shouldn't be able to randomly create leases. As such the protocol might be rejected from wayland-protocols (or at least the current wayland-protocols).

They'll probably want to keep doing so, to minimize latency

This makes more sense for e.g. head tracking than e.g. controller input, imo

I'm starting to think that maybe the client should indicate why it needs a lease. For instance a VR client could say "I want non-desktop outputs", instead of saying "I want this particular output". In case multiple DRM nodes or non-desktop outputs are available compositors could provide configuration options to choose what to lease.

With some rejiggering (a lot, rather), we could allow the client to become a DRM master with no leased resources, scan connectors themselves for the outputs they want, then ask for those in particular.

They can see everything, but only mutate the leased things. If I understand it correctly.

Update on drmModeChangeLease: I reached out to Keith to ask about why it didn't make the cut, if it wasn't a fundamental issue I'll adopt the effort and try to get it merged. I updated the protocol regardless, to make it more vague and support both the case where drmModeChangeLease exists and the case where it doesn't in a reasonably backwards-compatible way.

Regarding the question of multiple GPUs, a reasonably clean answer (for the time being) occurred to me as I was working on the protocol implementation: a different drm_lease_manager_v1 global for each DRM master offering leases.

@ddevault asked for a description of the DRM object matching, so I'll post it here. It should probably be transferred over to a comment in the source code itself.
For a basic intro to the DRM object types, see https://github.com/ascent12/drm_doc. However, I never did get around to talking about planes or the atomic API.
Since planes are relevant here, I'll quickly describe them. A plane is attached to a CRTC, and there are 3 kinds.

Primary: The main surface, has the lowest z-order, there is always exactly 1 plane per CRTC
Cursor: Intended for hardware cursors, has the highest z-order, in practice there is exactly 1 or 0 of these per CRTC
Overlay: The most general, z-order is undefined respective to each other (unless zpos property exists), basically any amount per CRTC is possible (including 0), may work with multiple CRTCs.  In practice, they are tied to a single CRTC, at least on the hardware I've used. But to write properly general code, this assumption shouldn't be made. wlroots does not support these yet, but there are some remnants of these in the code.

The drmModePlane.possible_crtcs value says which CRTCs this plane works with. It's a bitmask for the entries in the drmModeRes.crtcs array. So possible_crtcs & (1 << 2) means that it works with res->crtcs[2].
Requirements:
We want to configure each pipeline like
                      ↙ [cursor]?
[connector]+ ← [crtc] ← [primary]
                      ↖ [overlay]*

+, *, and ? have the same meaning as regex.
Technically there an an encoder between the connector and crtc, but due to the way encoders work in the DRM API, you may as well pretend they don't exist here.
We don't actually support multiple connectors for CRTC yet, but I eventually want this.

We want to successfully match and configure as many pipelines like this as possible.
When we configure a connector with a new CRTC, this is a modeset, and causes the monitor to blank for the user, which is slow and looks bad. Ideally, when mapping all of these pipelines, we should pick one that is as close as possible to the current mapping to prevent unnecessary modesets.
When a user hotplugs a new monitor and we can't map them all with CRTCs, we should prefer to fail the new monitor and leave existing mappings in place. I think this is just what most people would prefer.

Current implementation
I can definitely think of a few bits of unnecessary bits of complexity with our current solution. It would probably make your life significantly easier to address these before moving on to changing anything else.
There is half-assed and incomplete overlay plane handling in the code. The way I've done it is shit, and will definitely be changed when we get proper support. We should remove any code currently mentioning overlays.
We run the match_obj algorithm on primary planes and cursors, but this is massively overkill and not taking advantage of any of the guarantees the kernel gives us.  This basically means nuking the entire realloc_planes function.
The DRM Atomic API allows us to very cheaply test if a mapping should work (TEST_ONLY), which honestly could just let us take a more brute force approach. Unfortunately the legacy API doesn't have this, but I'm not going to let any legacy issues hold any atomic code back. I'd be fine with giving the legacy code a suboptimal solution if it's reduce a bunch of complexity. This is quite a rework, and may not be something you'd want to do right now.
match_obj
The current core of the algorithm found in backend/drm/util.c.
This is a recursive backtracking algorithm trying to solve the above constraints.
This function is too complicated for its own good, which is why I eventually want to take the atomic brute-force approach.

objs is an array of possible_crtcs that we are trying to satisfy. E.g. you can think of this as an array of connectors.
res (terrible name; short for resource, not result) is the current mapping and is an index into objs.
res[0] == 1 means that we've mapped crtc 0 to obj[1]. There is also the special values UNMATCHED, which means there is no mapping, and  SKIP, which means that this resource/crtc should not be taken into consideration.
out is the result, and is the same formal as res.

I don't know if it's really worth going into too much detail about the code itself. If you're somewhat familiar with backtracking algorithms, and keep the above requirements in mind, you should be able to work it out. There are a few small comments peppered in there that explain a few of the steps, but there definitely could be more.


[Constraint system] Improve SE-0110 exception by allowing optional in…

…jection.
There was an oversight in the exception that was added to SE-0110 to
maintain compatibility for closure arguments. We were not allowing
optional injection to happen for the closure being passed in, so things
like:
  func test(_ fn: ((Int, Int))->()) {}
  test { x, y in }

worked, but
  func test(_ fn: (((Int, Int))->())?) {}
  test { x, y in }

did not.
Fixes SR-5433 (rdar://problem/33239714).

@swift-ci Please smoke test

@swift-ci Please test source compatibility


added: pathMethods to username client plugin

thanks for the PR. But first I don't why we're including username related pathnames in email-otp. It should be in the username plugin but even then if the endpoint accepts a body the fetch client defaults to body by default. It's only necessary if it's ambiguous because It doesn't accept body while requiring a post request.

Oh my goodness, I meant to add this to the username client plugin.... not email otp...

Since it isn't necessary, I'll just close this.


Probably a bug in "Multiple Rate Limits"

Laravel Version: 8.21.0
PHP Version: 8.0.0
Database Driver & Version: tested cache driver set to Database and Redis (on Homestead)

Description:
When using multiple rate limits, the remaining limit is decreasing by 2. Should decrease by 1 with every page refresh.
Steps To Reproduce:
Try using an example from the documentation: https://laravel.com/docs/8.x/routing#multiple-rate-limits

No code is included in this issue.

No code is included in this issue.

Added code.
How to reproduce?
Open the main page.
What is expected?
At least 3 requests per minute are expected to be allowed.
Actual result
After 2 page loads, 429 error is shown.
https://github.com/mantas-done/laravel-bug/commit/63c31e4f85c28bf0f14fb9654dda9566c30cdf78

Added code.
How to reproduce?
Open the main page.
What is expected?
At least 3 requests per minute are expected to be allowed.
Actual result
After 2 page loads, 429 error is shown.
https://github.com/mantas-done/laravel-bug/commit/63c31e4f85c28bf0f14fb9654dda9566c30cdf78

@mantas-done I think it's best that you provide a PR with a failing test to prove that this is broken.

@mantas-done I think it's best that you provide a PR with a failing test to prove that this is broken.

@driesvints Not quite sure how to do it. Asked on discord, but no answers yet.

@driesvints Not quite sure how to do it. Asked on discord, but no answers yet.

https://github.com/laravel/framework/pull/35848 added one test. If you have any questions I will be glad to help.

https://github.com/laravel/framework/pull/35848 added one test. If you have any questions I will be glad to help.


gazebo_ros2_control: 0.6.6-1 in 'iron/distribution.yaml' [bloom]

Increasing version of package(s) in repository gazebo_ros2_control to 0.6.6-1:

upstream repository: https://github.com/ros-simulation/gazebo_ros2_control.git
release repository: https://github.com/ros2-gbp/gazebo_ros2_control-release.git
distro file: iron/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.6.5-1

gazebo_ros2_control
* Add PID controller to control joint using effort (#294 <https://github.com/ros-controls/gazebo_ros2_control//issues/294>) (#311 <https://github.com/ros-controls/gazebo_ros2_control//issues/311>)
  Co-authored-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>  Co-authored-by: Christoph Fröhlich<EMAIL_ADDRESS>  (cherry picked from commit f769c6c1684eb2ccb3e4988ad4611b32b4beabf6)
  Co-authored-by: chameau5050<EMAIL_ADDRESS>* Update precommit config (#298 <https://github.com/ros-controls/gazebo_ros2_control//issues/298>) (#302 <https://github.com/ros-controls/gazebo_ros2_control//issues/302>)
  Co-authored-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>  (cherry picked from commit 105c0ba5b786a43e1e9266399ab027a12011c643)
  Co-authored-by: Christoph Fröhlich<EMAIL_ADDRESS>* Fix incorrect force-torque sensor vec population (#296 <https://github.com/ros-controls/gazebo_ros2_control//issues/296>) (#300 <https://github.com/ros-controls/gazebo_ros2_control//issues/300>)
  (cherry picked from commit fdcd7aa8c67ea57f44bbf2f8fba90a28d7f04b5d)
  Co-authored-by: Mateus Menezes<EMAIL_ADDRESS>* Contributors: mergify[bot]

gazebo_ros2_control_demos
* Change initial pose of pendulum (#313 <https://github.com/ros-controls/gazebo_ros2_control//issues/313>) (#316 <https://github.com/ros-controls/gazebo_ros2_control//issues/316>)
  (cherry picked from commit 40ee42da16af9f1bc78886dbaec8082fd3fdea26)
  Co-authored-by: Christoph Fröhlich<EMAIL_ADDRESS>* Add PID controller to control joint using effort (#294 <https://github.com/ros-controls/gazebo_ros2_control//issues/294>) (#311 <https://github.com/ros-controls/gazebo_ros2_control//issues/311>)
  Co-authored-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>  Co-authored-by: Christoph Fröhlich<EMAIL_ADDRESS>  (cherry picked from commit f769c6c1684eb2ccb3e4988ad4611b32b4beabf6)
  Co-authored-by: chameau5050<EMAIL_ADDRESS>* Add an example with a passive joint (backport #172 <https://github.com/ros-controls/gazebo_ros2_control//issues/172>) (#307 <https://github.com/ros-controls/gazebo_ros2_control//issues/307>)
  * Add an example with a passive joint (#172 <https://github.com/ros-controls/gazebo_ros2_control//issues/172>)
  Co-authored-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>  (cherry picked from commit 7d5ec5dbad710d628bc14a82195c196f088621b8)
  # Conflicts:
  #     doc/index.rst
  * Fixed docs
  ---------
  Co-authored-by: Christoph Fröhlich<EMAIL_ADDRESS>  Co-authored-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>* Contributors: mergify[bot]

Holding for Iron sync


Rogue Bleed Bug on Assassination

Adding a Bleed Debuff to the WotLK Rogue Sim substantially increases dps output for Assassination Rogues even though the Assassination Rogues deal no bleed damage.
To Reproduce
Steps to reproduce the behavior:

Go to (https://wowsims.github.io/wotlk/rogue/)
Click on Talents
Scroll down and select Assassination
Click on Gear
Scroll down and select P1 Assassination
Click on Settings
Scroll down and Uncheck both Open with Garrote and Rupture for Bleed
Scroll down and turn on a Bleed option under Debuffs Section
Run Sim
Click 'Use as reference' Pin under the simmed dps output
Turn off the Bleed option under the Debuffs Section
Run Sim

Expected behavior
There should be no difference in dps output because Assassination Rogues don't use bleed damage.
Desktop (please complete the following information):

OS: Windows 10
Browser: Opera GX
Version: LVL 4 (core: 91.0.4516.106)

If no Bleed Debuff is present, the sim assumes there's no external bleeding sources, and only uses Hunger for Blood if "Rupture for Bleed" (and optionally "Open with Garrote") are checked.

As @vigo2 mentioned, this behavior is intended. I can see how it may be confusing though so I'll consider adding a warning in this case (Hunger for Blood talented but no bleed source).


Support NFT base64 uri and properties

PR-Codex overview
The focus of this PR is to enhance NFT handling by adding support for downloading NFT metadata from a base64-encoded URI.
Detailed summary

Added Properties field to NFT metadata
Implemented downloading NFT metadata from a base64-encoded URI in Thirdweb.Storage
Added test for downloading NFT metadata from a base64-encoded URI

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

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

Project coverage is 83.64%. Comparing base (2047ec5) to head (95c5540).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
+ Coverage   83.62%   83.64%   +0.01%
==========================================
  Files          26       26
  Lines        3676     3680       +4
  Branches      505      506       +1
==========================================
+ Hits         3074     3078       +4
  Misses        467      467
  Partials      135      135

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


Enable HoloLens 2/HoloLens/VR Headset spectator experience

This is done in spectator view repo

Link to spectator view repo: https://github.com/Microsoft/MixedReality-spectatorview


Export is broken again

No download possible since a few weeks.
Any chance of a fix?

See here: https://github.com/lesander/netflix-viewing-activity/pull/12

Could You please send me a video of the error?


Add Forward Code Restriction

Add Forward Code Restriction

Add the forward code restriction and update stack validation to
reflect that change.
Add some verbiage to the motivation about JITs and AOT
Add some test cases

This seems to be a working solution, and the new restriction for forward referenced jump destinations is required only if we want to do everything in one pass together with instruction validation.
The main downside seems to be the additional burden for compilers to order the code in a certain way, and this only for the sake of getting rid of additional code pass at validation.

as an example of the new restriction, this code would be invalid:
RJUMP tag2
tag1:
RJUMP tag3
tag2:
RJUMP tag1
tag3:
STOP

But this could be reorderd as such and preserve the semantics:
RJUMP tag2
tag2:
RJUMP tag1
tag1:
RJUMP tag3
tag3:
STOP

My assertion being any code can be made forward jumpable.  If the compiler already has dead code removal the forward code references should naturally fall out of that analysis.


Mark path argument as required

Mark path as required, since it's required for the configuration check to pass

Q
A

Bug fix?
no

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets

License
Apache 2.0

What's in this PR?

Documentation change marking path in the buffer section required
Why?

It's required, and the config check will fail to execute without it
Additional context

Checklist

[ ] Implementation tested (with at least one cloud provider)
[ ] Error handling code meets the guideline
[ ] Logging code meets the guideline (TODO)
[ ] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

Docs are fully generated and the reason it's not required is because the json tag on the field is marked as omitempty.
But I beleive we have a plan to set this automatically to a sane value and just let the user configure it if they need it to be custom. cc @tarokkk
Does it make sense?

Ah, my bad, sorry! I didn't realize these docs were auto-generated.
What you're proposing sounds like a great solution.

The first version will only contain a random value. Later I would like to introduce some plugin specific default: https://github.com/banzaicloud/logging-operator/pull/146/commits/f833b627a15bbf96bc4eabd487af792a2c9a7e37


Add borobudur university jakarta to swot list

Request of adding Borobudur University

Additional description =
Official page: https://www.borobudur.ac.id/
URL of a page where a long-term (>1 year) IT related course is offered: https://fik.borobudur.ac.id/
Email proof: You can browse the official website above as there is a direct link at the top for "official email address"

@FauzanRepos Pull request merged. Thank you!


Redundant resolveStyles on nested Radium components

Hello. I have an issue when I wrap Radium component inside another Radium component.
Here is an example: http://codepen.io/anon/pen/zGmyLd?editors=101
I think whats going on is that both of the components resolve styles on the blocks in following manner: flex: 1 -> WebkitFlex: 1 -> WebkitFlex: 1px, which obviously break things.
This is probably due to Radium resolving styles on this.props.children, is there a way to workaround this?

This is a bug, nice catch! Yes, Radium is processing the rendered elements twice, and it was only visible because the prefixer didn't recognize WebkitFlex as a unitless number, and added px to it.


feat(chart): bump Chart version to support proxy-protocol

The chart version v16.2.0 supports proxy protocol
Until now it was possible to do it with CLI
The version of the application stay unchanged
This was tested on a scaleway simplify DEVOPS.
A middlewareTCP with whitelist IP's can be instantiated and attached to a route.

Do not forget to add the comment Release-As: v1.0.0-alpha.2 otherwise release please will bump the release to v1.0.0 automatically. Just something to keep in mind before merging.


translation german

@ksuess Volto master is currently in alpha phase. Therefore I try to avoid merges. Did you merge this PR by accident? The changelog "Translation" is also something we should improve. :)


improve Julia notebooks

I still dont have write permissions
@ifenty @andrewdelman @owang01 , please merge soon if possible


multi language enhancement

Preliminary stages for development effort to add multi language capabilities using resource bundles.

a multi-lingual version has been released with 6.0....closing.


Add operator runbooks

This replaces https://github.com/open-telemetry/opentelemetry-operator/pull/3240.
The initial purpose was to fix the wrong runbook_url in the PrometheusRule in the operator chart. This provides a correct url.

/fix:all

We might want to add "runbooks" and "runbook" to the general cSpell exceptions.

/fix:all

/fix:dict

/fix:all


vector_to_gif color by group

I just came across the vector_to_gif function today and it is very helpful! Is it possible to add the capability to color the features within a shp file by group?

There is a plot_args that supports custom color options.
https://geemap.org/timelapse/?h=vector_to#geemap.timelapse.vector_to_gif
ax = yrdf.plot(facecolor=facecolor, figsize=figsize, **plot_args)

Thanks for the help, sorry about that.


Replace http(s) prefix in URIs to play with x-rincon-mp3radio://. Fixes #434.

This is a fix for #434. It replaces 'https://' and 'http://' in the beginning of the uri that is requested to play with Sonos® own prefix 'x-rincon-mp3radio://'. This should not affect people using this method for playing other types of uris e.g. 'x-file-cifs://'.
Also the unittests are updated.
Comments/questions?

Coverage increased (+0.04%) to 60.156% when pulling 671813e46f6b45300d970a41ab36dfefb3984ae7 on KennethNielsen:x-rincon-mp3radio-prefix-iss434 into e17ef887dd4a93c193be2a5410a6926ec217352b on SoCo:master.

Coverage increased (+0.04%) to 60.156% when pulling 04fc380772c1f7dfcd7f7c967a26bc30daadd3a6 on KennethNielsen:x-rincon-mp3radio-prefix-iss434 into e17ef887dd4a93c193be2a5410a6926ec217352b on SoCo:master.

@DPH Will you review this?

Will do - may take 24 hours!
On 2 November 2016 at 18:13, Kenneth Nielsen<EMAIL_ADDRESS>wrote:

@DPH https://github.com/DPH Will you review this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SoCo/SoCo/pull/443#issuecomment-257952261, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASBqdVoj8jHsPyE-KLenA9J3e7wVNLQks5q6NLdgaJpZM4KnJV_
.

Works great thanks @KennethNielsen.
Tested with a variety of streams and files, plus tested it with the snapshot function in SoCo.
All works as expected.
Good to go.
Cheers David

Thanks @DPH. Merged.


Enable source link

Windows is still having infra problems, merging this and will keep an eye on it.


(wip): test base token

Purpose

Provide better commands and integrate the current cli implementation with base token
The changes proposed are meant to solve problems(or provide tools) regarding the era-fee-withdrawer

Issue #4

Withdraws aren't working with zksync-ethersv5.9.2 and basetoken.


preparation of the release

We should start to think about new release.

[ ] We should do it like @danp2 is in habbit to do it.
Example:
https://github.com/Danp2/au3WebDriver/compare/1.1.1...1.2.0
https://github.com/Danp2/au3WebDriver/commit/0ade2bbd52fdc9ebda4fe9e42c69ff63d9494813

[ ] We should move https://github.com/mlipok/Au3LibreOffice/blob/main/Changes.log to CHANGELOG.md
Example:
https://github.com/Danp2/au3WebDriver/blob/master/CHANGELOG.md

[ ] We should add templates: bug_report.md
Example:
https://github.com/Danp2/au3WebDriver/blob/master/.github/ISSUE_TEMPLATE/bug_report.md

[ ] We should add templates: feature_request.md
Example:
https://github.com/Danp2/au3WebDriver/blob/master/.github/ISSUE_TEMPLATE/feature_request.md

[ ] We should add : PULL_REQUEST_TEMPLATE.md
Example:
https://github.com/Danp2/au3WebDriver/blob/master/PULL_REQUEST_TEMPLATE.md

[ ] We should add : CODE_OF_CONDUCT.md
Example:
https://github.com/Danp2/au3WebDriver/blob/master/CODE_OF_CONDUCT.md

[ ] We should add : CONTRIBUTING.md
Example:
https://github.com/Danp2/au3WebDriver/blob/master/docs/CONTRIBUTING.md

In your eyes, are we ready to release a version 1.0.0 by now? or should we stay in 0.x.x  for a version?

We are close to 1.0.0

Okay. Will work on creating the documentation.

I would like to suggest we also add sections/headers in the Changelog per component (Writer,Calc, etc)

See what you think: #56


How to make fastlane use http proxy?

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I'm seeing ssl errors:

SSL_connect returned=1 errno=0 state=error: certificate verify failed

I've read others ssl issues and also https://docs.fastlane.tools/faqs/#im-getting-an-ssl-error.
I'm behind an enterprise firewall and need to setup http proxy environment variables ALL_PROXY and http_proxy for other cli tools(like brew) to work. However fastlane doesn't work. Does it use different proxy envs?
Complete output when running fastlane, including the stack trace and command used

### Captured Output
Command Used: init swift
Output/Log

DEBUG [2018-07-19 16:47:59.50]: Checking if there are any plugins that should be loaded...
INFO [2018-07-19 16:47:59.60]: Detected iOS/Mac project in current directory...
INFO [2018-07-19 16:47:59.60]: This setup will help you get up and running in no time.
INFO [2018-07-19 16:47:59.60]: fastlane will check what tools you're already using and set up
INFO [2018-07-19 16:47:59.60]: the tool automatically for you. Have fun!
INFO [2018-07-19 16:47:59.60]: $ xcodebuild -list -workspace ./App.xcworkspace
INFO [2018-07-19 16:48:00.68]: $ xcodebuild -showBuildSettings -workspace ./App.xcworkspace -scheme Alamofire
WARN [2018-07-19 16:48:01.89]: Your Apple ID (e.g. fastlane@krausefx.com):

Looking for related GitHub issues on fastlane/fastlane...
Search query: Could not retrieve response as fastlane runs in non-interactive mode

URL: https://api.github.com/search/issues?q=Could%20not%20retrieve%20response%20as%20fastlane%20runs%20in%20non-interactive%20mode+repo:fastlane/fastlane
ERROR [2018-07-19 16:48:02.11]: Error finding relevant GitHub issues: SSL_connect returned=1 errno=0 state=error: certificate verify failed

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.3

Ruby
2.2.4

Bundler?
false

Git
git version 2.18.0

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.13.3 (17D47)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.4.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.28.3
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.28

json
1.8.1

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

generated on: 2018-07-19

Hey @an0, are you seeing the error anywhere else besides the Github error search?
Can you run the same command with --verbose please?
Did you try upgrading openssl as the FAQ indicate?

This might be an issue with https://github.com/orta/gh_inspector.

Hi @an0 have you found a way to how to make fastlane use proxy envs? I am facing the same SSL issue now, when using sigh on corporate network

@pajapro no, I'm still tolerating it.


Cache failed builds

This PR begins pulling in the changes Lix made in regards to the build scheduler. The hope is to make this work, refactor and then do the failed build caching (if this code doesn't do it already, I honestly cannot tell).
The code from Lix will undergo a lot of changes as it is very untyped and in my humble opinion somewhat hard to read and comprehend.  The Lix folk are of course free to pull any changes we make back into the Lix fork. Though long term my hope would be that we can once again merge the two forks...

Update, it works :tada: it needs a lot of cleanup, typing and general refactoring. And I probably broke combined builds, but hey, it works.

Todays progress is good, it type checks now, omits errored evals and skips the already cached ones. Further refactoring will allow to show failed build steps for failed evals. And then a failed build cache will achieve failed build caching.

@MagicRB Do we still need the combined build if the success status for the buildbot/nix-eval could be used as well?

Thats a separate PR after this one imo, but yea that could be done

I found a bug in the original lix code, seems that job failures weren't properly propagated to dependents,
    failed_checks: list[NixEvalJob] = []
    failed_paths: list[str] = []

need to be initialized to the job that failed or the function will never "recurse" (it's an iterative graph walk which is expressed way more naturally with recursion, but python is pythonic). It appears that I missed this commit when doing the initial cherry pick

Now it properly reports failed dependents and failed evaluations.
and the log has been moved into buildbot's UI

Nice.

I think this is ready for review, it works I've tested it thoroughly and it seems to behave well.

@puckipedia the code is different from how you had it, very different, but still in the spirit of cooperation if you want the changes feel free to pull them in. My changes don't actually change any behavior IIRC they just make the code imho better.
If you do want to pull it in, even partially, and something is unclear feel free to contact me on Matrix and I'll help out.

Couple of build retries remnants:
diff --git a/buildbot_nix/models.py b/buildbot_nix/models.py
index eea11d8..9de66ad 100644
--- a/buildbot_nix/models.py
+++ b/buildbot_nix/models.py
@@ -174,7 +174,6 @@ class PostBuildStep(BaseModel):
 class BuildbotNixConfig(BaseModel):
     db_url: str
     auth_backend: AuthBackendConfig
-    build_retries: int
     cachix: CachixConfig | None
     gitea: GiteaConfig | None
     github: GitHubConfig | None
diff --git a/nix/master.nix b/nix/master.nix
index 3bbd0d6..f72bdf7 100644
--- a/nix/master.nix
+++ b/nix/master.nix
@@ -110,12 +110,6 @@ in
         '';
       };

-      buildRetries = lib.mkOption {
-        type = lib.types.int;
-        default = 1;
-        description = "Number of times a build is retried";
-      };
-
       postBuildSteps = lib.mkOption {
         default = [ ];
         description = ''
@@ -606,7 +600,6 @@ in
                 (pkgs.formats.json { }).generate "buildbot-nix-config.json" {
                   db_url = cfg.dbUrl;
                   auth_backend = cfg.authBackend;
-                  build_retries = cfg.buildRetries;
                   cachix =
                     if !cfg.cachix.enable then
                       null

@zowoq good catch, ill rip those out too. Might be a good idea to enable strict deserialization for pydantic so it wouldnt ignore unknown fields.

@mergify rebase

@Mic92 I cherry picked your changes and forced pushed what I had locally, (which was a lot, apologies about that).

Fully functional, tested on both Forgejo and GitHub, utilizes the new code in nix-eval-jobs which speeds up the build significantly.

I test again.

 :)

It's a rebase + https://github.com/nix-community/buildbot-nix/pull/255/commits/54961b30696670e7b973c4270b2b46c85b8ec987

Just noticed that buildbot UI is missing the project details that was there previously:

Ah good catch, probably just the props being wrong, ill fix today

I think this also have been wrong on gitea as it is also show github.

   if repo_name is not None:
        name = f"github:{repo_name}#checks.{name}"
    else:
        name = f"checks.{name}"

ah we're missing this bit of code, which was wrong anyway. I'll devise a fix

@Mic92 can we open issues for follow ups? Cause it is almost impossible to track with all the flake update PRs. They create way too much noise.


.luacheck std doesn't override cli --std

As reported in AtomLinter/linter-luacheck#32 the .luacheckrc file std config should override the --std argument passed in the CLI, or be added together, but currently the CLI takes presedence and the .luacheckrc std option is totally ignored.
I always thought that Luacheck had the following hierarchy:

CLI
.luacheckrc
Inline

So inline is more important than the .luacheclrc file, and the CLI. And the .luacheckrc files is more important than the CLI. This is not actually specified anywhere, but could be deduced from the structure of the docs... is this supposition wrong or is the issue described valid?

Current behaviour is intended, somehow I missed documenting it, I'm sorry about that. The idea is that CLI options allow one to tweak configuration without having to go and edit .luacheckrc. It also allows tools to ensure value of some options regardless of what is specified in the config. E.g. a lot of editor plugins  use --formatter <formatter> and then rely on the formatter passed through CLI being used.
It would be more convenient for your usecase if config overwrote CLI, but I think that once default config is implemented (#102) there will be no point in editor-specific configuration and this will not be an issue.

I understand and that seems fine, documenting this behaviour and implementing the global config should definitely fix the issue.
Other possible fix would be for tools to be able to specify a default config (separate from that of the CLI) and that could be overwritten by .luacheckrc


SizeFragmenter

[This page] (http://www.open-search-server.com/confluence/display/EN/Snippets) of the documentation lists a "SizeFragmenter" among the list of supported fragmenters.
However, this fragmenter doesn't appear under the drop-down fragmenters list: only "NoFragmenter" and "SentenceFragmenter" are listed. Also, searching for "SizeFragmenter" in this Git repository [returns no code results] (https://github.com/jaeksoft/opensearchserver/search?utf8=✓&q=sizefragmenter).

Hello Davide,
Actually the documentation you refer to is for a previous version of OpenSearchServer. In the last versions we only kept two Fragmenters for snippets (NoFragmenter and SentenceFragmenter).
Regards,
Alexandre


3.25

Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result,
these questions will not appear in the review screen.
Your company plans to migrate all its data and resources to Azure.
The company's migration plan states that only platform as a service (PaaS) solutions must be
used in Azure.
You need to deploy an Azure environment that supports the planned migration.
Solution: You create an Azure App Service and Azure Storage accounts.
Does this meet the goal?
A. Yes
B. No

A


strange character in languages

when using numbro with webpack, i have this strange character (utf: \ufeff) in the numbro js source.
seems its in ko-kr.js or ja-jp.js
my code fails because of this, with the error:
Uncaught SyntaxError: Invalid or unexpected token
both packages handsontable and numbro were imported with npm

Can you provide a full example of your code?
I also use numbro in a webpack project and everything works fine.

I am also seeing this but only in the ko-kr language. It seems that the ko-kr.js file has a bom wheras other files do not.
Removing the bom from the file solved the problem I was encountering.

yes, thats it. can somebody commit that fix?

@bebor doing it now

@thisispaul did you? i still get the same issue

@bebor I am about to release v2.0.0 with a complete rewrite of language files. Let's hope it will fix this issue

@bebor I submitted a pull request #311 which does fix this issue but it hasn't been merged in.
If @BenjaminVanRyseghem has fixed it with 2.0 then I guess that pull request can be deleted when that goes live.

I plan to release it early next year. I'll do a pass over the PR then :smile:


WellKnownTemplateIds and AddPowerAppsPersistence refactoring

WellKnownTemplateIds constants for id's used in the persistence assembly. Updated ServiceCollectionExtensions to use these.
AddPowerAppsPersistence modified:

accepts additional parameter for configuring template store. This allows callers unrestricted ability to build the template store removing need to add code in product implementation for testing setup logic.
removed parameter useDefaultTemplates in preference for tests to make explicit call to utility method or to do other custom logic.
Renamed AddDefaultTemplates to TESTING_ONLY_AddDefaultTemplates to be clear about intention of usage. Made it public so it can be called by DocServer test code directly.

Revert "Update ControlTemplate to indicate whether it's a Component or Pcf control template (#631)"
Fixed AppGenerator to use ProjectReference to Persistence.csproj to ensure correct nuget dependency validation etc.

abandoning this PR due to andrew's rejections


[Bug]: Error When Running gguf with vllm for Ultra-Long Context

Your current environment

The output of `python collect_env.py`
PyTorch version: 2.5.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.12.7 (main, Oct  1 2024, 08:52:12) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 2080 Ti
GPU 1: NVIDIA GeForce RTX 2080 Ti

Nvidia driver version: 560.94
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        39 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               16
On-line CPU(s) list:                  0-15
Vendor ID:                            GenuineIntel
Model name:                           Genuine Intel(R) CPU 0000 @ 2.60GHz
CPU family:                           6
Model:                                158
Thread(s) per core:                   2
Core(s) per socket:                   8
Socket(s):                            1
Stepping:                             12
BogoMIPS:                             5184.01
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves md_clear flush_l1d arch_capabilities
Hypervisor vendor:                    Microsoft
Virtualization type:                  full
L1d cache:                            256 KiB (8 instances)
L1i cache:                            256 KiB (8 instances)
L2 cache:                             2 MiB (8 instances)
L3 cache:                             16 MiB (1 instance)
Vulnerability Gather data sampling:   Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:          KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Mitigation; IBRS
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; IBRS; IBPB conditional; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI SW loop, KVM SW loop
Vulnerability Srbds:                  Unknown: Dependent on hypervisor status
Vulnerability Tsx async abort:        Mitigation; Clear CPU buffers; SMT Host state unknown

Versions of relevant libraries:
[pip3] flashinfer==0.1.6+cu121torch2.4
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.4.127
[pip3] nvidia-cuda-nvrtc-cu12==12.4.127
[pip3] nvidia-cuda-runtime-cu12==12.4.127
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.21.5
[pip3] nvidia-nvjitlink-cu12==12.4.127
[pip3] nvidia-nvtx-cu12==12.4.127
[pip3] pyzmq==26.2.0
[pip3] torch==2.5.1
[pip3] torchvision==0.20.1
[pip3] transformers==4.46.2
[pip3] triton==3.1.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.4.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      SYS                             N/A
GPU1    SYS      X                              N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

LD_LIBRARY_PATH=/usr/local/lib/python3.12/dist-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
CUDA_VERSION=12.4.1
NVIDIA_REQUIRE_CUDA=cuda>=12.4 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526 brand=tesla,driver>=535,driver<536 brand=unknown,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=geforce,driver>=535,driver<536 brand=geforcertx,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=titan,driver>=535,driver<536 brand=titanrtx,driver>=535,driver<536
NVIDIA_DRIVER_CAPABILITIES=compute,utility
VLLM_USAGE_SOURCE=production-docker-image
NVIDIA_VISIBLE_DEVICES=all
CUDA_MODULE_LOADING=LAZY

Model Input Dumps
error-log.txt
🐛 Describe the bug
I want to run gguf with vllm for ultra-long context, setting --kv-cache-dtype=fp8 and --tensor-parallel-size=2. The model supports 512k context, but when I set --max-model-len=280000, it throws an error. The log is attached above, and the error message is ERROR 12-03 03:28:37 engine.py:135]     assert builder.options.allow_fp8e4nv, "fp8e4nv data type is not supported on CUDA arch < 89". It runs fine when the context is set to 20000.
docker run --rm `
    --gpus all `
    -v /d/workspace/text-generation-webui/models:/opt/models `
    -e "HF_ENDPOINT=https://hf-mirror.com" `
    -p 5000:8000 `
    --ipc=host `
    vllm/vllm-openai:v0.6.4.post1 `
    --gpu-memory-utilization=0.99 `
    --tensor-parallel-size=2 `
    --served-model=gpt-4 `
    --max-model-len=280000 `
    --host=<IP_ADDRESS> `
    --port=8000 `
    --kv-cache-dtype=fp8 `
    --quantization=gguf `
    --tokenizer=princeton-nlp/Llama-3-8B-ProLong-512k-Instruct `
    --model=/opt/models/princeton-nlp.Llama-3-8B-ProLong-512k-Instruct.Q8_0.gguf

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

RTX2080Ti doesn't support fp8, you might need a GPU like 30s or 40s with higher compute capacity.

wow, thank you


Directx9 Render failed

Directx9 Render failed error message

SageTV errors.zip

not sure its related but i am seeing this on one of my windows server 2012r2 test vm's.  I have not had time to chase it down yet but the logs fill fast with the error and then java dumps.

I have been able to recreate this issue and narrow it down.  I believe this is related to using Java 8 with SageTV 9 in windows.  I have a VM where I rolled back to prior to upgrading to java 8 and this failure does not occur.  Once Java 8 is upgraded, then this error occurs again.
I am not sure how to narrow the issue down to determine what is causing it so would approeciate any guidance on trapping the real issue.
I included a crash log that I think is related and it does mention some failures in jni.cpp but I am not sure how to interpret any of this.
hs_err_pid5660.txt

Sagetv appears to be missing scheduled recording,  could this error be the cause of the problem?

49Studebaker is having this problem: D3DERR_NOTAVAILABLE when calling CreateDevice, so this is just an overall failure loading the 3D system. At one point it just starts working again...maybe its some kind of power management issue with the graphics card...or a driver issue...but I don't think there's anything that can be changed in SageTV to help it.

@jusjoken Can you get me a log file (not just the hs_err_pid file) from this with Java 8?  I'm also suspicious of this running inside a VM...that could definitely impact the way it accesses the 3D system (but the Java dependency is very interesting...maybe they changed something when running in a VM with how it gives access to native window handles).

Zip of sage log attached.  I will try to setup a windows laptop and repeat the test to see if the same occurs.  The VM works fine with Java 7 and the same release of Sage so something specific to Java 8 is causing this.
sagetv_0_fail.zip

You're having the same error where all of a sudden the Direct3D device reports that it is 'lost' (which can happen during things like standby or resolution changes), and SageTV tries to rebuild it when that occurs. But it keeps failing when it tries to rebuild it....then it succeeds again finally...fails...then succeeds again.
It's interesting that this is linked to a version of Java. First thing to try is setting this environment variable for when you run SageTV:
J2D_D3D=false
That should turn of Java's use of Direct3D itself. This shouldn't affect SageTV's usage of it though because it uses its own native code and doesn't need any 3D acceleration help from Java at all. If this does fix the problem, then we can just force this in the EXE when it creates the JVM so then it won't hit other people.

Ok...I have now also recreated the issue with Java 7 so it is not Java related.  Your explanation above makes sense as I remote desktop to my VM's and I assume when I minimize the RDP session then the Direct3D device is likely reporting lost.
Odd I have never noticed this in the past as I do all/most of my development and testing using an RDP session and have never seen the logs fill up like this.
I am still in the middle of getting a laptop setup to test but that is likely no longer needed given your explanation above.
I will also try the environment variable "J2D_D3D=false" and see if that changes anything.
Thanks

I did more testing.  On the laptop this never occurred.  On the RDP session to either of the test VM's I use it happens always when I minimize the RDP session and then return after a few minutes.  If I leave it for hours then I get MANY log files filled with these log entries.  Perhaps it always did this and I never noticed.
Anyway....not an issue for me as I only use the VM's for testing and development and the log entries do not seem to cause an issue other than the 1 crash which may be unrelated.
As info, the "J2D_D3D=false" environment variable did not change this.
Thanks

Ok, thanks for the info, nothing else to do about this one. :-)
On Nov 3, 2016 5:18 PM, "Ken Birch"<EMAIL_ADDRESS>wrote:

I did more testing. On the laptop this never occurred. On the RDP session
to either of the test VM's I use it happens always when I minimize the RDP
session and then return after a few minutes. If I leave it for hours then I
get MANY log files filled with these log entries. Perhaps it always did
this and I never noticed.
Anyway....not an issue for me as I only use the VM's for testing and
development and the log entries do not seem to cause an issue other than
the 1 crash which may be unrelated.
As info, the "J2D_D3D=false" environment variable did not change this.
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/206#issuecomment-258312580, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDMSKF0tvMAvSbm4nXyjQkGPOHIaPks5q6nm8gaJpZM4KmtSf
.

I did a clean install of Windows 10 and this problem  no longer occurs.


view.activePage is not updated

This is a bug.

Framework7 Version: master
Platform and Target: any

I'm using domCache.
I have a menu in left panel that let me display pages without animation nor history. Here's one of the links:
[...]
The first time pages are displayed it works.
But when going back to a same page as before, nothing happens and app eventually breaks.
This is because view.activePage is not updated in that case.
view.activePage seems to be updated when:

a new page has just been initialized: see app.pageInitCallback
before a page animation: see app.pageAnimCallback()
But not when
an already initialized page is loaded from cache without any animation.

The faulty part seems to be:
            if (pageContainer.f7PageInitialized && ((view && view.params.domCache) || (!view && $(pageContainer).parents('.popup, .popover, .login-screen, .modal, .actions-modal, .picker-modal').length > 0))) {
                // Reinit Page
                app.reinitPage(pageContainer);

                // Callbacks
                app.pluginHook('pageReinit', pageData);
                if (app.params.onPageReinit) app.params.onPageReinit(app, pageData);
                app.triggerPageCallbacks('reinit', pageData.name, pageData);
                $(pageData.container).trigger('pageReinit page:reinit', {page: pageData});
                return;
            }
            pageContainer.f7PageInitialized = true;

            // Store pagedata in page
            pageContainer.f7PageData = pageData;

            // Update View's activePage
            if (view && !params.preloadOnly && !params.reloadPrevious) {
                // Add data-page on view
                $(view.container).attr('data-page', pageData.name);
                // Update View active page data
                view.activePage = pageData;
            }

view's active page is not updated before the return.
A quick fix is to duplicate the "Update View's activePage" part after "app.reinitPage(pageContainer);"

Issue is closed because of outdated, irrelevant or not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue