exit code 127 error on Mac Mini M1

david@Davids-Mac-mini restler-fuzzer % python3 ./build-restler.py --dest_dir ./restler_bin
Generating a new RESTler binary drop...
Publishing dotnet core apps...
Publishing project /Users/david/Developer/restler-fuzzer/src/compiler/Restler.CompilerExe/Restler.CompilerExe.fsproj to output dir restler_bin/compiler
Determining projects to restore...
Restored /Users/david/Developer/restler-fuzzer/src/compiler/Restler.CompilerExe/Restler.CompilerExe.fsproj (in 3.59 sec).
Restored /Users/david/Developer/restler-fuzzer/src/compiler/Restler.Compiler/Restler.Compiler.fsproj (in 3.59 sec).
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Restler.Compiler -> /Users/david/Developer/restler-fuzzer/src/compiler/Restler.Compiler/bin/release/netcoreapp5.0/Restler.Compiler.dll
Restler.CompilerExe -> /Users/david/Developer/restler-fuzzer/src/compiler/Restler.CompilerExe/bin/release/netcoreapp5.0/Restler.CompilerExe.dll
Restler.CompilerExe -> /Users/david/Developer/restler-fuzzer/restler_bin/compiler/
Publishing project /Users/david/Developer/restler-fuzzer/src/ResultsAnalyzer/ResultsAnalyzer.fsproj to output dir restler_bin/resultsAnalyzer
Determining projects to restore...
Restored /Users/david/Developer/restler-fuzzer/src/compiler/Restler.Compiler/Restler.Compiler.fsproj (in 331 ms).
Restored /Users/david/Developer/restler-fuzzer/src/ResultsAnalyzer/ResultsAnalyzer.fsproj (in 491 ms).
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Restler.Compiler -> /Users/david/Developer/restler-fuzzer/src/compiler/Restler.Compiler/bin/release/netcoreapp5.0/Restler.Compiler.dll
ResultsAnalyzer -> /Users/david/Developer/restler-fuzzer/src/ResultsAnalyzer/bin/release/netcoreapp5.0/Restler.ResultsAnalyzer.dll
ResultsAnalyzer -> /Users/david/Developer/restler-fuzzer/restler_bin/resultsAnalyzer/
Publishing project /Users/david/Developer/restler-fuzzer/src/driver/Restler.Driver.fsproj to output dir restler_bin/restler
Determining projects to restore...
Restored /Users/david/Developer/restler-fuzzer/src/compiler/Restler.Compiler/Restler.Compiler.fsproj (in 333 ms).
Restored /Users/david/Developer/restler-fuzzer/src/driver/Restler.Driver.fsproj (in 1.54 sec).
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Restler.Compiler -> /Users/david/Developer/restler-fuzzer/src/compiler/Restler.Compiler/bin/release/netcoreapp5.0/Restler.Compiler.dll
Restler.Driver -> /Users/david/Developer/restler-fuzzer/src/driver/bin/release/netcoreapp5.0/Restler.dll
Restler.Driver -> /Users/david/Developer/restler-fuzzer/restler_bin/restler/
Testing compilation of Python files...
Copying all python files...
Build failed!
Exit code: 127
b'/bin/sh: python: command not found\n'
Removing engine compilation build directory...
I am trying to follow the instruction by running command on a M1 mac: latest Python, Git, Docker, .Net are all installed
python3  ./build-restler.py --dest_dir ./restler_bin, but got the exit code 127 error, not sure how to fix it

I have same issue on my MBP with the M1 chip

Hello @nc0135 and @sqli0189,
Do you still see this issue with the latest version of RESTler?   I am wondering if the fix in this commit has addressed it: https://github.com/microsoft/restler-fuzzer/commit/88e41f0139589bc2f7b9e99fafbed7a969a48907.
If not, could you please try specifying the full path to python with an additional --python_path argument, and let me know if this resolves the error?
Thanks,
Marina

I did test on my Mac devices with an Intel chip and Apple M1 chip, I am now able to successfully build the binaries on both of them, however when I run the restler command on the Mac with Apple M1 chip, I will get an error as below:
`
`


Support in WeChat?

After testing, does not support the  WeChat client on iphone

if div tag,add onclick=""

@yizems fu*king awesome~, just add onClick to resolve the problem!


Watchdog crash during realm write transaction

Goals
OS watchdog is killing app as realm write transaction is taking time during app launch.
Expected Results
Realm write transaction during app launch should not crash app.
Actual Results
The stack trace shows , app is performing a realm write transaction during app launch. It seems the transaction is blocking main thread causing the app to crash.
{"app_cohort":"2|date=1614024000000&sf=143441&tid=38aa64d5d1f674bb0d049eb028f44033741bfc87ef1f5246bf0596462b6879c5&ttype=i","app_name":"myApp","app_version":"4.0.992","timestamp":"2021-02-25 11:45:02.00 -0800","slice_uuid":"27d2728f-ba41-30c0-afbe-fbcb0347c6fb","adam_id":1097606585,"build_version":"4.0.992","platform":2,"bundleID":"com.myOrg.phone2","share_with_app_devs":1,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 14.4 (18D52)","incident_id":"CD40286A-7B1E-4173-9B80-00807C3544DF","name":"myApp","is_beta":1}
Incident Identifier: CD40286A-7B1E-4173-9B80-00807C3544DF
Beta Identifier:     390D9356-0692-4704-988F-242EFD58C7A6
Hardware Model:      iPhone10,4
Process:             myApp [3525]
Path:                /private/var/containers/Bundle/Application/5BF0C934-A486-4A63-8E62-5B193866FD9D/myApp.app/myApp
Identifier:          com.myOrg.phone2
Version:             4.0.992 (4.0.992)
AppStoreTools:       12D4d
AppVariant:          1:iPhone10,4:14
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.myOrg.phone2 [398]
Date/Time:           2021-02-25 11:45:02.2995 -0800
Launch Time:         2021-02-25 11:44:40.9363 -0800
OS Version:          iPhone OS 14.4 (18D52)
Release Type:        User
Baseband Version:    4.02.01
Report Version:      104
Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<com.myOrg.phone2>:3525 exhausted real (wall clock) time allowance of 10.00 seconds | ProcessVisibility: Background | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Background | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 7.030 (user 7.030, system 0.000), 12% CPU", | "Elapsed application CPU time (seconds): 0.009, 0% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread:  0
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x00000001b9319c5c 0x1b92f1000 + 167004
1   Realm                         	0x0000000102ed5ca8 realm::util::File::lock+ 3054760 (bool, bool) + 104
2   Realm                         	0x0000000102d5c39c realm::DB::do_begin_write+ 1508252 () + 88
3   Realm                         	0x000000010302d958 realm::impl::transaction::begin+ 4462936 (std::__1::shared_ptrrealm::Transaction const&, realm::BindingContext*, realm::impl::NotifierPackage&) + 356
4   Realm                         	0x0000000103023bb8 realm::impl::RealmCoordinator::promote_to_write+ 4422584 (realm::Realm&) + 268
5   Realm                         	0x0000000103080538 realm::Realm::begin_transaction+ 4801848 () + 404
6   Realm                         	0x0000000102c95914 -[RLMRealm beginWriteTransactionWithError:] + 694548 (RLMRealm.mm:0)
7   RealmSwift                    	0x00000001035f1484 Realm.write(withoutNotifying::) + 251012 (:0)
8   myApp                 	0x00000001013115d4 specialized closure #1 in UnifiedDatabase.save(item:) + 17323476 (:0)
9   myApp                 	0x000000010059c108 thunk for @callee_guaranteed () -> (@error @owned Error) + 3211528 (:0)
10  myApp                 	0x0000000100750bd8 partial apply for thunk for @callee_guaranteed () -> (@error @owned Error) + 5000152 (:0)
11  myApp                 	0x0000000100750dfc thunk for @callee_guaranteed () -> + 5000700 (@error @owned Error)partial apply + 12
12  libswiftObjectiveC.dylib      	0x00000001b1d7af40 0x1b1d79000 + 8000
13  myApp                 	0x000000010074cb98 AppLogTracesDao.setDevicePushToken(devicePushToken:) + 4983704 (:0)
14  myApp                 	0x0000000101428538 specialized PushNotificationManager.pushRegistry(:didUpdate:for:) + 18466104 (PushNotificationManager.swift:104)
15  myApp                 	0x0000000101426370 @objc PushNotificationManager.pushRegistry(:didUpdate:for:) + 18457456 (:0)
Steps for others to Reproduce
This is a random issue that happens during app lauch.
Version of Realm and Tooling

Realm framework version: 10.5.0
Realm Object Server version: N/A
Xcode version: Version 12.0.1
iOS/OSX version:  iPhone OS 14.4
Dependency manager + version: Cocoapods

@dheeraj-singh511 Thank you for submitting this issue.
Can you show us a bit more about your start up? Especially what you do with your Realm?
Is there data synchronised in the beginning? Is this happening due to a migration? Is there something else that causes a write transaction?
Maybe you can even provide a code sample / repository that reproduces this (even if it's just random)?

@DominicFrei - Here are some details I noticed during this crash based on our app logs and crash log. Hope it helps

By the time we hit this write transaction, realm was already configured and we were able to read data from it more than once
There was also a successful delete transaction
This is not a upgrade scenario so the migration script did not execute
I noticed that there was write attempt at the same time from thread 4. Attaching the entire crash log
We are not executing any data synchronization script during launch. However we are using realm compaction feature while configuring realm

@DominicFrei - Here are some details I noticed during this crash based on our app logs and crash log. Hope it helps

By the time we hit this write transaction, realm was already configured and we were able to read data from it more than once
There was also a successful delete transaction
This is not a upgrade scenario so the migration script did not execute
I noticed that there was write attempt at the same time from thread 4. Thread 4 stack trace below
We are not executing any data synchronization script during launch. However we are using realm compaction feature while configuring realm

Thanks for sharing this information. @dheeraj-singh511
I understood more about what would not be the reason.
Since you already narrowed done which parts of the code might be responsible for the problem, can you show us this part of the code as an example so that I can better understand what is going on?

@dheeraj-singh511 are you using Realm.asyncOpen? If not this can help you here.


Add Google Maps directly on Maps

A snippet that works for flyby view : https://gist.github.com/glandais/00caf3059e11254ee910
But I don't know how to retrieve the maps instances in activity view...

Do you mean the Mapbox map object?
https://github.com/thomaschampagne/stravistix/blob/develop/hook/extension/js/modifiers/ActivityBestSplitsModifier.js#L122

I took your snippet and added it to my strava map switcher bookmarklet, which now offers LOTS of additional map options directly in the map picker on activity page: https://github.com/liskin/strava-map-switcher/blob/master/fix.js
(I wouldn't mind if this was integrated into stravistix, although I don't use it myself for performance reasons.)


elasticsearch 8 support

Currently it seems not possible to run elasticsearch 8:

mkdir ddev
cd ddev
ddev config press Enter for everything
ddev get ddev/ddev-elasticsearch
Open .ddev/docker-compose.elasticsearch.yaml
Change line 6 to image: elasticsearch:8.5.3
ddev start
See error:

Failed to start ddev: container(s) failed to become healthy before their configured timeout or in 120 seconds.
This might be a problem with the healthcheck and not a functional problem.
(container /ddev-ddev-elasticsearch is unhealthy: [ ... just some datetimes ...])

Any idea?

Did you try ddev logs -s elasticsearch ?
Is it important to use elasticsearch:8?

Did you try ddev logs -s elasticsearch ?

Great idea, there is one error I can see:
"log.level":"ERROR", "message":"exception during geoip databases update"
Interestingly everything else after that is successfull:
"log.level": "INFO",  "current.health":"GREEN","message":"Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])."
"log.level": "INFO", "message":"successfully loaded geoip database file [GeoLite2-Country.mmdb]"+ ASN + City

Is it important to use elasticsearch:8?

Well, I could use 7.17 as well, but since latest stable Magento Commerce on-premises 2.4.6-p3 supports 8.5, I'd like to use that one instead.
Source: https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html
For the next major version which is currently in beta only 8.7 is supported.

Don't you have to add on geoip somehow to use it? Thanks for working on this. Maybe @cmuench has some thoughts.
One thing that's happening with various add-ons is an initiative to change the underlying version.
Note that you can do it here with a docker-compose.elasticsearch-extra.yaml that will override the version, so you don't have to edit the actual add-on files.
Also, isn't Magento actually mostly insisting on opensearch these days?

Sadly I have not personaly upgraded to ES8 in any project.
ES8 is supported in the latest Magento 2.4.6.
There are some hints here: https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/prepare/prerequisites.html?lang=en#upgrade-elasticsearch

Problem is the healthcheck. If I remove the healthcheck from .ddev/docker-compose.elasticsearch.yaml it's starting.

Makes sense:

Starting in Elasticsearch 8.0, security is enabled by default. The first time you start Elasticsearch, TLS encryption is configured automatically, a password is generated for the elastic user, and a Kibana enrollment token is created so you can connect Kibana to your secured cluster.

Therefore using curl localhost:9200 you're left with:
curl: (22) The requested URL returned error: 401 Unauthorized

@rfay Is it possible to provide different healthcheck tests by version or do we need another repository for elasticsearch 8 to be supported?

We do want a healthcheck, but the best approach would be one that works on all versions. My bet is we can make this work everywhere, or look at the instructions in https://hub.docker.com/_/elasticsearch - but looking there I don't see very helpful instructions. With most images there are ways to override the password for example. We don't really have to care about TLS, can use curl -k. But really all we want in the healthcheck is to know that the server, java and all, has come up. So we don't even have to insist on a 200. HOWEVER, the big problem is going to come later: To use this you're going to have to know and configure the password. So the healthcheck is just the first hurdle here. I think it's going to be hard if we don't figure out how to configure it more gently.

Please have a look at https://github.com/ddev/ddev-elasticsearch/pull/16


Added docs for backup validation features and restore/show backup options

Fixes DOC-5435, DOC-5293, DOC-4788, DOC-3756, DOC-3460
Added a new page for the backup validation features. This includes descriptions on the level of validation provided and examples.
Included the options on the restore and show backup SQL pages, plus short-form examples.
Mentioned on the back SQL page.

This change is

Here's the preview to the main, new Backup Validation page: https://deploy-preview-15147--cockroachdb-docs.netlify.app/docs/dev/backup-validation.html


return event type

Could the event type be returned? Sometimes, we want to distinguish among mouseup, mousedown, pointer_move...

Ah interesting! It's not an exact mirror of all web mouse events but the mouseup might be nice to distinguish.
Could you write a bit about how you are thinking of using this?

I aim to detect users' drag operations, but I'm unsure whether this plugin is the right solution for my needs.

I see! And what is the drag interaction that you want to detect?

Actually, I want to drag and reposition the elements within the background SVG image. So some API like update_background!(picker, new_svg_img) is also needed. Is that possible?
API wanted: detect users' drag event, update background image
user function I already have: generate a new background image with the the drag event (x_0, y_0, x_1, y_1)

Hey @guo-yong-zhi !
Thanks for the description! I don't think that this will be possible with PlutoImageCoordinatePicker.jl, but it should be possible with JavaScript in Pluto. Take a look at some of the docs pages on https://plutojl.org/en/docs/ like https://plutojl.org/en/docs/advanced-widgets/ .
Having input (drag events) and output (changing image) in the same cell is non-trivial in Pluto. It is possible using some tricks, e.g. take a look at how I implemented the initial interaction in https://computationalthinking.mit.edu/Fall24/climate_science/inverse_climate_model/

I'll close this for now, but someone else has a good application for including the event type, then please leave a comment!


BUG: wrong file name while loading facenet512 model

When you download facenet 512 model, you download it as facenet_weights.h5 but when you load it, you load as :
facenet512_weights.h5 which is resulting in an error (file not found, had to manually rename the file and i also lost the old facenet file (with 128 embeddings)

You are right! I fix this soon.

Fixed in 0.0.65


All Features on all Versions?

Describe the feature you'd like to have added
Hello,
It's a question and potential Feature Request Combined:
Do all features of the mod (Laser Nodes with Item, Fluid, Energy, ..) cards exist for all minecraft versions (1.18; 1.19; 1.20)?
Or do 1.18 and 1.19 only contain parts of it?
If the later I would request a backport of the features to those version.
Additional information
No response

Most features are on older versions. Newer ones have some newer features.


Fix modality_token_transform is empty

Maybe fix https://github.com/lucidrains/transfusion-pytorch/issues/6

Simply adding the default value for modality_token_transform
Skip if modality_type not in modality_token_transform

Now running README sample will pass.

thanks for the PR 👍


Suspicious markup for "Office Manager at Orange Travel LLC"

Seems like "Office Manager at Orange Travel LLC" block has a suspicious markup — "WORK" tag is thrown onto a separate line, which is kinda odd. Let's double-check that.

"Regarding"? Okay, next time choose a keyword from this list https://help.github.com/articles/closing-issues-using-keywords/

Sorry, should have mentioned I used that word deliberately. I wanted to reference the issue but wasn't sure it is entirely solved until I test it on office desktop.
Thanks for the list anyway, I was aware of less than half of it.


Better break-up fraction

I have no idea how to go about this in a general way, but currently break-up fraction isn't very smart.
For example, (2x+3)/(2x+2) simplifies to 2 x / (2 x + 2) + 3 / (2 x + 2), which is arguable more complex. Instead, it might be better if it did: (2x+3)/(2x+2) -> (2x+2 + 1)/(2x+2) -> (2x+2)/(2x+2) + 1/(2x+2) -> 1 + 1/(2x+2).
Thoughts?

agreed! that'd be sweet.
we could start with a rule that handles only this case, where the denominator can be found in the numerator
so here you'd check if an x term is in the numerator and if a constant term is in the numerator, and then split it up into 2x + 2 and the rest of the numerator.
I think we should keep the current break-up fraction functionality, but add this as a more specific check before we do the general one, so we do the better one instead if it's possible.
How's that sound?

Hi, if there's nobody working on this currently, could I take it?

Yes! I'd love to get this stuff into mathsteps.
It's definitely a more open ended problem, so starting with what I described sounds good, and I can take a look and then we can discuss from there? Happy to help if you have any questions about the code or how the new steps will work
And I'm definitely down to brainstorm further things than the case above if you want someone to bounce ideas around with
PS I noticed you're a UW student (heh) and if you're on campus and want a mathsteps sticker for getting involved, lemme know - I'm around until the 24th ^^

Hi, awesome, yes please can we brainstorm a bit?
I'm a bit stuck on the rule formulation though, how general would you like this rule to be? Like the main idea is by adding a new term we should be able to partially factor the equation into an integer right? It makes sense for linear variables, but would we want to extend that to n >=2 ? Like would this be the proper course of action: (2x^3+ 2)/(x^3+4x^2+2x+5) => 2 - (8x^2+4x+8)/(x^3+4x^2+2x+5). Would this be overcomplicating things?
Either way, I think I would go about first checking if the highest power variable in the numerator and denominator were == 1 (or n), then doing numerator - denominator to find out how many copies of the denominator can fit into the numerator. From there, we would get the integers(# of full fits) and then whatever remainder we had earlier divided by the denominator.
Anyways, what do you think? How much should this rule cover - just x^1 or for all x^n? Am I thinking about the implementation for this correctly?

Oh, yeah I'm not on campus often because I'm closer to the Laurier side (I'm a laurier student), but thanks! I'll let you know haha! -

Hi! I think that "breaking-up fraction" is not necessarily the feature that we want in mathsteps. It really doesn't serve much purpose. Instead, I agreed that we should implement the suggested change. This, however, is called "polynomial division" and is a much more useful functionality.
@eltonlaw I think this rule should cover all x^n. However, your implementation only deals with the cases when the numerator and denominator are of the same power. It is a good place to start, but you should also consider cases like (x^3 + 4) / (x^2 + 2) where the numerator and denominator are of different exponents.
You could approach this problem in the same way you would do long division by hand. Let me know what you think of my suggestion! I'd be happy to discuss it with you.

sorry I seem to have caught a bad cold and also have an exam Friday morning - but later today or tomorrow I'm hoping to reply to this, sorry for the delay!
lots of interesting things to think about :)

okay hi!
One thing to note before going forward is that we don't have the kind of factoring set up (yet!) that we might sometimes want to cancel stuff out in complicated fractions, and that could affect this
I like the idea of starting with only x^1 (just so we get some code out there and don't write all the code all at once)
...and then expand to x^n where the top and denominator have the same exponent (similar to what @eltonlaw said - that makes sense to me, though maybe something will come up along the way we'll have to deal with)
...and then add the general case where we use the long division of polynomials approach that @aliang8 was talking about (I think that would be a good approach, though it's definitely complicate for students to think about so we should spend some time thinking about good substeps to teach it well)
By doing it incrementally, we can keep each change small and not end up on a bajillion tricky things all at once.
What do you think? :)

@aliang8 Good point. Hmmmm.... Okay yeah, I agree with @evykassirer, I'll just write something for the original x^1 case so we actually have something to talk about. Uhh gimme a bit, I'll start working on this after my exam tomorrow.

sounds good! I'll take a look after my exam Friday ;D

Hi, the solution solve the above problem, but some parts are a bit hardcoded. For example, I just did:
newNumerator.push(denominator);
which doesn't account for the number of times that the denominator can be found in the numerator (i.e. (4x+4)/(2x+2)) cause I didn't know how I would approach finding that. Once we get that though, it should be easy to separate it in the same way.

That's a great start @eltonlaw ! At this point, if you have extra time, I feel like maybe you could expand this to include x^n case. However, it would be even better if you could jump ahead and take a stab at polynomial division. That would be really helpful!
If you have any suggestions as to how to implement it, feel free to chat me up and we could bounce around some ideas. :)

At this point, if you have extra time, I feel like maybe you could expand this to include x^n case.

Please keep just the first case until after it goes through code review :) that way if we decide you should do something different you don't have to update everythhhhing

which doesn't account for the number of times that the denominator can be found in the numerator (i.e. (4x+4)/(2x+2))

Can you explain a bit more what you mean? Are you having trouble finding how to split up the numerator to match the denominator?
I think it'd be approximately this

Find highest order term
Compare exponents to make sure both 1 (i.e. No exponent)
Compare coefficients for top and bottom
Add and subtract (bottom - top) * symbol from the numerator
Resolve the addition but split out the subtraction to another term

Does that seem right/make sense?
Where along there have you gotten so far, or are you going for something different?

Hi @eltonlaw and @evykassirer,
I found a really cool approach to long polynomial division that I would like to share with the two of you. It's super intuitive, pedagogical, just like how we would normally do long division.
The pseudocode is here: https://rosettacode.org/wiki/Polynomial_long_division#Python
Basically, it represents the polynomials as vectors such that the i^th element keeps the coefficient of x^i
e.g [-42 0 -12 1] => x^3 - 12 x^2 + 0x - 42
and multiplication by a monomial is a shift of the vector's element to the right
e.g [-42 0 -12 1] * x^2 => [0 0 -42 0 -12 1]
It uses a simple recursive loop to find all the coefficients of the quotient polynomial by applying the two concepts above.
Highly suggest taking a look at it since it covers most if not all of the edge cases. Let me know what yall think of it 👍

Hey, so sorry for going AWOL, I was just finalizing some stuff with school. @evykassirer this is how the process goes right now:

Check for division between 2 nodes
Check if exponents are the same (I will change this to just 1)
Finds the constant value difference [Ex. (2x+3)/(2x+2) => 1] by taking args[1] and subtracting them form each other
Appends denominator to the fractionList and the constant value difference

Yeah, so basically I kind of did what you recommended but I didn't calculate the symbol part, it only works for the case where you can find the denominator in the numerator once. Coefficients for the top and bottom x's weren't really looked at. I'll start working on this now.
@aliang8 Wowowow! Great find, that's actually superrrr cool. I don't know, how should we incorporate this? Any ideas?

@eltonlaw I'm glad you like it! I was thinking we could implement something similar to the pseudocode in the link. Theoretically, it should cover most of the edge cases in polynomial division and still be succinct and efficient. Let me know what you think and we should also confirm with @evykassirer.
Secondly, regarding your suggested approach:
Great ideas! I just have a few little suggestions. In your third step, args[1] assumes that your polynomial only has two terms (assuming you meant 3-2). Maybe generalize it to include multi term polynomials.
I don't think breakUpNumerator (step 5) is needed. The function we have right now doesn't do anything useful, so I think you can discard that step. But overall, you're making great progress and I'm glad you're back again!

@aliang8 Yeah right now it's super fragile, it only works on 2 term cases of the form (ax^1 +b)/(cx^1 +d). I figured we could focus on the easier scenarios and discuss the methods before going into the more complicated stuff. With the breakUpNumerator step, for now I think I'm going to keep it, everything still fits okay, it's not an unnecessary constraint or anything.
Oh yeah, I just made a PR, I made the checks and simplifying function a bit more robust, it's also more in tune with your specifications @evykassirer (I think).

sweet! I'll take a look


Support for multiple themes

Themes like major nyaa project

It would be possible to do. But I think we should focus on improving performance/code structure before doing it. Moreover, think of the structure for it so we do it properly from the begining?
I never did an application with different theme support, so if you have an idea on how would it be best to do it, it's more than welcome :D.

Just let me do this :)


--default-network flag is not defined

Do we have any requirement on Docker experimental version to run this plugin? I get a error of --default-network flag.
sudo docker -d --default-network=ovs:ovsbr-docker0
Warning: '-d' is deprecated, it will be removed soon. See usage.
flag provided but not defined: --default-network
See 'docker --help'.
docker version
Client:
Version:      1.9.0-dev
API version:  1.22
Go version:   go1.4.3
Git commit:   ccf5b60
Built:        Fri Oct 16 19:11:01 UTC 2015
OS/Arch:      linux/amd64
Experimental: true
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

Hi, yes the instructions were written against the experimental version of Docker. We'll update them for 1.9 stable shortly
/cc @nerdalert


Add response_type=code to Oauth.AuthorizeURL output.

This is currently the only response_type supported by the DNSimple API.
Documented in https://developer.dnsimple.com/v2/oauth/

LGTM :+1:


RedisClient should record where it was created

If you're using a program which has created multiple RedisClient instances, when one fails, you often get an error that looks like this:

Error: Ready check failed: undefined
 at RedisClient.on_info_cmd (/home/brock/sm-reboot/proto/opt/dssd.com/lib/node_modules/redis/index.js:347:35)
 at Command.callback (/home/brock/sm-reboot/proto/opt/dssd.com/lib/node_modules/redis/index.js:395:14)
 at RedisClient.flush_and_error (/home/brock/sm-reboot/proto/opt/dssd.com/lib/node_modules/redis/index.js:140:29)
 at RedisClient.connection_gone (/home/brock/sm-reboot/proto/opt/dssd.com/lib/node_modules/redis/index.js:451:10)
 at Socket.<anonymous> (/home/brock/sm-reboot/proto/opt/dssd.com/lib/node_modules/redis/index.js:94:14)
 at Socket.EventEmitter.emit (events.js:95:17)
 at TCP.close (net.js:465:12)

The problem is that this error provides no information about which client failed. Displaying information about the port and server the client was connected would help (as is shown when a connection is refused or reset), but if there are multiple clients, you're still stuck. What I've done when debugging these issues is to change the constructor so that it stores the stack when the RedisClient is created:
this.__stack = new Error().stack

Then, when an error happens, I append the stack to the error message. That at least allows me to figure out which client is having the issue.

This problem still exists and is one of several reasons I monkey patch this library before using it. Please reopen this issue. A potential fix is included in the issue filed...

@blainsmith I'll open this one as it has been reported as not fixed.
@bpytlik would you be so kind and open a pr for this?

@bpytlik Adding the stack won't work if all clients are created in the same spot. But there's a connection_id on each client that is a unique client numbers.
Would adding that number to an error solve your issue?

I think a number would definitely be helpful, but not as useful as the stack trace, and both together would be better than either in isolation.
For the number to be useful, we'd have to either have a way to preemptively print out the creation location of every client along w/ its number (so that the number would be meaningful) or we'd need the issue to be reliably reproducible, which isn't always the case.
In a testing environment, the number would be useful. In a production setting, the creation stack is far more useful.

We have quite a lot options already, otherwise I'd have suggested to add a new one to be able to print the connection_id on creation of a client. Besides the connection_id I'd also add the PID, as there might be more than one node instance running (and the PID is always useful, even without logging that information on startup).
I'll add this in one of the next minors to all regular node_redis errors.

Closing this as v.2.6 contains good error stacks in development and debug mode. Therefore it's from now on possible to receive the information you needed.


How

Closed the issue due to no description was provided. Please re-open an issue if there are additional questions.


change: not updating dev dependencies

I'm not sure if it's worth it, for some reason updating TAP isn't working, I just don't have a personal computer to test it in depth.

related: #1#5#6#7#8#9

Checklist

[X] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

@mcollina  What do you think?

Why? I think we should keep updating them. It's just tap that we can't update for now. When we ship Fastify v5 we would be able to!


RFE: create a symlink for each SAN

First, thanks for dehydrated - we use it extensively at my company.
I have a suggestion for a feature enhancement. Suppose you have a certificate with two names in it, so domains.txt looks something like this:
first.example.com other.example.com

then your apache (nginx / whatever) configuration will look something like
ServerName other.example.com
SSLCertificateFile /var/lib/dehydrated/certs/first.example.com/fullchain.pem

So this configuration snippet has to know that first is the certificate's Common Name. This is a violation of the "separation of concerns" principle, and can actually be quite a nuisance if you want to move things around at a later date.
Idea: create a symlink for every SAN. For example
/var/lib/dehydrated/certs/other.example.com -> first.example.com

I could probably find time to implement this, if a PR were likely to be accepted :)

Incidentally, one of my colleagues pointed out a potential problem if other.example.com already exists and is a directory (presumably from some earlier configuration): ln -s will create a link inside the directory, named other.example.com/first.example.com. So it's important to use ln -sT which turns off the normal magic behaviour when the last argument is a directory.

Another potential issue may be where you have a host name that appears as a SAN on more then one separate certificate. For example the certificate I use for openldap and the certificate I use for postfix/dovecot both include the servers own host name as well as their own individual names. Therefore the servers own host name as a SAN on both certs could not be symlinked to both certs.

For me it was always common practice that a virtual host in my webserver configuration mostly equals the altnames in a given certificate. I don't really see the reason behind making a big certificate to be used by multiple virtual hosts, as you said: seperation of concerns ;)
In the old times when certificates had to be registered by hand and cost a lot of money this made sense, but nowadays even for test-environments you can get a certificate with specific altnames for free in seconds.
If you really really want this I'd suggest adding a deploy_cert hook which creates the symlink. You can extract the domain names from the altnames environment variable.
Should be as easy as something like this:
deploy_cert() {
  DOMAIN="${1}"
  for altname in ${altnames}; do
    ln -sf ${CERTDIR}/${DOMAIN} ${CERTDIR}/${altname};
  done
}


Preference Window won't open

Whenever I try to open the preference window (by clicking on my profile picture -> preferences) nothing will happen.
After clicking on the button, fusion will be unresponsive and I have to kill the process.
I am using Debian 12 (stable) with wine version 9.8
Kde Plasma with xorg

It took about 30s-1m for it to open for me.
Maybe try watiting a bit.

I have also replicated this. It took 30 seconds to open, and now it's not responding. (Although the resize handles appear, so SOMETHING is clearly working.

I have some examples seen below. It's weird. Menu items don't like to open from the main menus, but if I go about it in a roundabout way, they open just fine. I am not sure what, if anything can even be done about this?
Here, I try to open the parameters window, which doesn't open (sometimes I randomly see something flash, like it's trying to open but then doesn't?). If I add the parameters item to the main menu as it's own item, though, it does open.
fusion_menu_items.webm
Another is trying to open export/open windows with similar behavior.
export_menu.webm

Update: not perfect but it fixes the open/export and other menu dialogs. Run winecfg for your fusion360 prefix, go to "Graphics" disable "Allow window manager to control window".

Update: not perfect but it fixes the open/export and other menu dialogs. Run winecfg for your fusion360 prefix, go to "Graphics" disable "Allow window manager to control windows".

I am about to try this, but I found I can get to most menus if I click and hold the mouse button, then don't release it until you get to the item you want to open. It doesn't work every time, but 80% of the time, I would say.

Update: not perfect but it fixes the open/export and other menu dialogs. Run winecfg for your fusion360 prefix, go to "Graphics" disable "Allow window manager to control windows".

Following this DOES allow the menu options to work, however pop-up windows (like the extrude dialog and 3d print dialog) cannot be clicked on; it appears that they are simply clicked through now.
Additionally, the preferences window still takes 10s of seconds to load, but it IS operable and does not hang for me any more.


kcrypt configuration should be as oem config file

Is your feature request related to a problem? Please describe.
Currently kcrypt takes config via cmdline, however, there should be a possibility to write such configs in yaml
Describe the solution you'd like
kcrypt-challenger to look over /oem and specific folder to get the config (wss_server, TLS certs, etc)
Describe alternatives you've considered

Additional context

We currently hardcoded a default location. @mudler do you think we should put it in a directory instead? e.g. /oem/kcrypt/config

here I was thinking more in the other way around, such as kcrypt to read /oem as a Config file, like kairos does currently (config.Scan...).
This is so then you can directly specify the kcrypt-challenger configuration when deploying a node in the main kairos configuration file, e.g :+1:
#cloud-config

kcrypt-challenger:
  server: ....
  tls_cert: ...

Depends on this kairos branch: https://github.com/kairos-io/kairos/tree/399-kcrypt-configuration


MQTT publish corrupted when retained message has been received

When the broker gets connected, it sends the retained messages to update the controller. This recieved data corrupts something in the memory and after that, the MQTT publish only sends corrupted data, sometimes part of a string but most of the time garbled mess.
Probably there needs to be specific code to handle retained variables as soon as the controller is online.
adding a startup delay to the publish function doesn't solve the problem. the debug shows that the retained message is propperly received and handled, and completely intact. It seems that just the publish buffer is corrupted.
after sending an message on the same topic of the retained message clears the problem and everything works as intended.

Seems to be caused by a bug in the controller (https://github.com/timherreijgers/Domotics/issues/70). Closing this issue


event not show in safari

https://ka215.github.io/jquery.timeline/index.html
can not see the event in the timeline ?...
Safari Version 10.1.1 (12603.2.4)

Thank you for the report.
In Safari, there was a problem that when a Date object had a dash, it did not return a valid datetime. Revised version 1.0.2 has been released.

ah better now ! thanks i will investigate more this nice work !

Closed because it has already been processed this issue.


BootstrapManager::readSPIFFS: missing jsonDoc initialization and configFile.close

Hello,
Instruction DynamicJsonDocument jsonDoc(1024); and configFile.close();are missing in readSPIFFS but are part of readLittleFS function.
This was mentioned in issue #12 but not identified as the root cause of this issue.
During testing of the release 1.12.6 with an ESP32, reading a SPIFFS file leads in one occasion to deserialization errors and these missing instructions might be the cause.
These missing instructions should preferably be included in a future version.
Extract of locally modified code:
// read json file from storage
#if defined(ESP32)
DynamicJsonDocument BootstrapManager::readSPIFFS(String filename)
{

  // Helpers classes
  Helpers helper;
  DynamicJsonDocument jsonDoc(1024); // added by Pronoe on 02/03/2022

and
        DeserializationError deserializeError = deserializeJson(jsonDoc, (const char *)buf.get());
        Serial.println("\nReading " + filename);
        if (filename != "setup.json")
          serializeJsonPretty(jsonDoc, Serial);

        configFile.close();   // added by Pronoe on 02/03/2022
        if (!deserializeError)
        {
          helper.smartPrintln(F("JSON parsed"));
        }

I fixed something on 1.2.7 but it still lack some of the parts you pointed out.
waiting for the pull request 👍


No Remote ID Found

Expected: All mods found in the Stellaris Steam folder should show the Mod Name, Workshop Link, etc.
Current Behavior: Only one mod (More Events Mod) shows correctly, all others show this: https://ibb.co/h7PZkg8
Perhaps I'm doing something wrong but I'm not sure what, I have manually verified Steam Workshop has my mods, and they have loaded in the game otherwise; though I've had some minor issues changing the load order since I stopped using Paradox's Launcher (I'm tired of endlessly reinstalling the game on steam, slow connection) which is why I'm switching to this and 'Not Paradox Launcher'.

If there is any debuglog.txt file generated in the PMM root folder you can send it (this file is deleted each time you start PMM, so start the app and do the actions which lead you to this window and finally check the file)
Could you also try :

delete all .mod files in your game document folder (in mod/ folder) except the manual installed (thus mean the .mod files, often named, with a folder associated)
launch the launcher (will generate brand new .mod fils)
finally start PMM


[Feature] Support to do schema change in cloud mode

Proposed changes
Issue Number: close #xxx

Refactor the codes about schema change and support to do schema change in cloud mode.


Change font size?

Whenever I print out the rosters the body text is ~2mm high, which is roughly 6pt. Is there some way to increase the font size?

Two questions.

What type of roster are you printing?  40k?
How are you printing?

Yes, a 40k roster.
First I save to pdf. A4, default margins, fit to page width, print backgrounds. If I try and scale it up it chops off the right hand side of the boxes. Then I print the PDF. I've attached the "fit to page width" pdf and a pdf where I tried to scale it up.

test2.pdf
test1.pdf

Seems reasonable to have an option for how tiny text is, that way folks can choose the size they want the printout to be.
@dairefitz1 what size would you want? To test different sizes out on Chrome, once you load a roster in prettyscribe, open Chrome Dev Tools and run one of the snippets below (instructions to open @ https://developer.chrome.com/docs/devtools/open/#console and to run snippets @ https://developer.chrome.com/docs/devtools/console/#javascript).

Array.from(document.styleSheets).filter(s => s.href && s.href.includes('prettyscribe.css'))[0].insertRule('.wh40k_unit_sheet { width: inherit !important;}')
Array.from(document.styleSheets).filter(s => s.href && s.href.includes('prettyscribe.css'))[0].insertRule('.wh40k_unit_sheet { width: 800px !important;}')

LMK if you're running a different browser and I can send you instructions for that.
Right now, each datasheet has a width of 1100px, and the browser shrinks everything to make that fit. The above snippets change the width either "let the browser decide" or 800px.

I tried out a few different widths and 800px is perfect. Font is much more readable when printed.
Thank you so much!

Fix is live with option "Print Larger Text", give it a spin

Perfect!


DropdownMenu.didUpdateWidget should re-match initialSelection when dropdownMenuEntries have changed

Use case
In my use case, the  DropdownMenu.dropdownMenuEntries are asynchronously fetched from the database and assigned after the Future has been resolved. The initialSelection, however, has already been set in the first build cycle.
The problem lays in that in DropdownMenu.didUpdateWidget(), where the initialSelection is not matched again against the updated menu entries. See https://github.com/flutter/flutter/blob/9d42f826d71b1b9beb2d8c07bcdad731ba78968d/packages/flutter/lib/src/material/dropdown_menu.dart#L552-L557
This will lead to an empty field not showing the matching initialSelection, but yet showing a correct list of items in the dropdown. Quite confusing...
Finding out the cause after debugging, I use the following, hopefully temporary, workaround:
DropdownMenu<String>(
  initialSelection: items.isEmpty ? null : _selectedItem ?? widget.item,
  ... etc
)

Proposal
I would like the initialSelection to be matched again against the new value set for dropdownMenuEntries as is done when the intialSelection has changed. See https://github.com/flutter/flutter/blob/9d42f826d71b1b9beb2d8c07bcdad731ba78968d/packages/flutter/lib/src/material/dropdown_menu.dart#L561-L569
IMHO this should be provided by Flutter directly.

Using this code sample:
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  List<DropdownMenuEntry<String>> entries = const [
    DropdownMenuEntry(value: "1", label: "one"),
    DropdownMenuEntry(value: "2", label: "two"),
    DropdownMenuEntry(value: "3", label: "three"),
    DropdownMenuEntry(value: "4", label: "four"),
  ];

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Padding(
          padding: const EdgeInsets.all(32.0),
          child: Column(
            children: [
              DropdownMenu<String>(
                label: const Text("test"),
                initialSelection: '2.5',
                dropdownMenuEntries: entries,
              ),
              const SizedBox(height: 16),
              ElevatedButton(
                onPressed: updateWithMoreEntries,
                child: const Text('Update entries with more content'),
              ),
              const SizedBox(height: 16),
              ElevatedButton(
                onPressed: updateWithDifferentEntries,
                child: const Text('Update entries with a different content'),
              ),
            ],
          ),
        ),
      ),
    );
  }

  void updateWithMoreEntries() {
    setState(() {
      entries = const [
        DropdownMenuEntry(value: "1", label: "one"),
        DropdownMenuEntry(value: "1.5", label: "one and a half"),
        DropdownMenuEntry(value: "2", label: "two"),
        DropdownMenuEntry(value: "2.5", label: "two and a half"),
        DropdownMenuEntry(value: "3", label: "three"),
        DropdownMenuEntry(value: "3.5", label: "three and a half"),
        DropdownMenuEntry(value: "4", label: "four"),
      ];
    });
  }

  void updateWithDifferentEntries() {
    setState(() {
      entries = const [
        DropdownMenuEntry(value: "1.5", label: "one and a half"),
        DropdownMenuEntry(value: "2.5", label: "two and a half"),
        DropdownMenuEntry(value: "3.5", label: "three and a half"),
        DropdownMenuEntry(value: "4.5", label: "four and a half"),
      ];
    });
  }
}

I can see that the selection is not updated when a different list is provided (after clicking the button labeled "Update entries with a different content").
But I'm not able to reproduce the problem you described

This will lead to an empty field not showing the matching initialSelection, but yet showing a correct list of items in the dropdown. Quite confusing...

I'm not using a label, so the field is empty on first build cycle. After the list has been updated, the field remains empty.
Running your code, I notice:

The field shows 'Test' as expected, because no matching item can be found ('2.5' is not in the initial list of items).
Then replacing the list with more content, the field keeps displaying 'Test', although initialSelection: '2.5' is now available as item and its label should be displayed.
Also replacing the list with different entries, the field keeps displaying 'Test', although initialSelection: '2.5' is still available as item and its label should now be displayed.

I would expect to see 'Test' on initial build (1) because the is not matching item, and I would expect to see 'two and a half` after replacing the items (2 and 3) since there is a matching item.
Clearly, DropDownMenu does not try to find a match after replacing the list of items, as shown in https://github.com/flutter/flutter/blob/9d42f826d71b1b9beb2d8c07bcdad731ba78968d/packages/flutter/lib/src/material/dropdown_menu.dart#L552-L557

@bleroux Thanks!


Is library alive?

I am planning to contribute, but see that the last commit was in 2021! Is the library alive?

If this is really inactive, some one probably should make a fork.

@dkajtoch @hoangmit hi I'm currently maintaining the pytorch-optimizer here (I built it from the scratch)! if you are interested in, feel free to check :)


Update ember-cli-frost-blueprints

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[x] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

CHANGELOG

Updated ember-cli-forst-blueprints to 1.x

Changes Unknown when pulling 4040779a2bd9fbfbd6d81601a871aeee46ca03ce on job13er:update-blueprints into ** on ciena-frost:master**.

Approved


[generate column] stream load failed when table with generate column

Steps to reproduce the behavior (Required)
CREATE TABLE `t1` (
    `k1` date,
    `k2` datetime,
    `k3` char(20),
    `k4` varchar(20),
    `k5` boolean,
    `k6` tinyint,
    `k7` smallint,
    `k8` int,
    `k9` bigint,
    `k10` largeint,
    `k11` float,
    `k12` double,
    `k13` decimal(27,9),
    `col_char` char as char(77)
    )
    DUPLICATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`)
    COMMENT "OLAP"
    PARTITION BY RANGE(`k1`)
    (
    PARTITION `p202006` VALUES LESS THAN ("2020-07-01"),
    PARTITION `p202007` VALUES LESS THAN ("2020-08-01"),
    PARTITION `p202008` VALUES LESS THAN ("2020-09-01")
    )
    DISTRIBUTED BY HASH(`k1`, `k2`, `k3`, `k4`, `k5`) BUCKETS 3
    PROPERTIES (
    "replication_num" = "3",
    "storage_format" = "v2"
    );

stream load:
curl --location-trusted -u root: -T common/data/basic_types_data -XPUT  http://xxx.xxx.xxx.xxx:xxxx/api/test_db/t1/_stream_load
Expected behavior (Required)
load success
Real behavior (Required)
Error: Value count does not match column count. Expect 14, but got 13
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
main-ccaa9d5

https://github.com/StarRocks/starrocks/pull/25236


Google Meet: "Your browser can't share your screen"[Issue report]

you can not share your screen with google meet
open a meeting with google meet, and try to share your screen. you will get a message telling you that your browser can't share your screen

seams to me a google problem, because discord web can.

seams to me a google problem, because discord web can.

you can not share your screen with google meet
open a meeting with google meet, and try to share your screen. you will get a message telling you that your browser can't share your screen

seams to me a google problem, because discord web can.

you can not share your screen with google meet
open a meeting with google meet, and try to share your screen. you will get a message telling you that your browser can't share your screen

seams to me a google problem, because discord web can.


Rename input parameter to request-user-reviews

To fix #4
request-user-reviews is the name used for the input parameter in the README file as well as src/main.ts file.
Changes

Rename request-reviews to request-user-reviews

Please run the build and check in the built js


Fix broken doc links when index is excluded [1.2.x]

Purpose

Fixes broken links in generated docs when -excludeIndex flag is used.

Related PR #23533
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #23935 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #23935   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

Continue to review full report at Codecov.

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


Change Background Color with Ripple

Bug, feature request, or proposal:
feature request
What is the expected behavior?

It's possible make this background effect using Ripple?

We have no plans to build a feature like this as it is not something that is within the Material Design spec


Add #scoreSupplier support to DocValuesRewriteMethod along with singleton doc value opto

Description (or a Jira issue link if you have one)
I'm coming back to work on LUCENE-10207, and one thing I found is that DocValuesRewriteMethod doesn't support scoreSupplier. Having support for this is necessary for LUCENE-10207 to avoid unnecessary work if a DV-rewritten query is used within an IndexOrDocValuesQuery.
This change just adds the scoreSupplier support along with a small optimization around singleton doc values. Separating that out from the rest of LUCENE-10207 will help keep PRs small, and I think this bit should be pretty straight-forward and non-controversial :)

Thanks @jpountz for the review!


USB: SET_ADDRESS logic error

Describe the bug
When enumerating USB, when HOST sends a SET_ADDRESS command to zephyr, zephyr first calls usb_dc_set_address, and then responds via usb_dc_write, and this response uses a new device address, causing enumeration to fail, because HOST is still waiting for a response at address 0.
Expected behavior
After zephyr receives the SET_ADDRESS command, it should answer first, and then call usb_dc_set_address
Impact
usb enumeration failed
Environment (please complete the following information):

OS: Linux DESKTOP-GLN7DSM 4.4.0-19041-Microsoft #488-Microsoft Mon Sep 01 13:43:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
Toolchain Zephyr SDK
fe8311843285b93951adfdb55c411dffe4bf78ca.

When enumerating USB, when HOST sends a SET_ADDRESS command to zephyr, zephyr first calls usb_dc_set_address, and then responds via usb_dc_write, and this response uses a new device address, causing enumeration to fail, because HOST is still waiting for a response at address 0.

It is up to the driver to handle this situation correctly. This is due to historical reasons and it does not work differently with some drivers. For the current implementation of the stack this will not change.


Parcel integration problem, r is not defined

Hey there, long time lurker of your project here. First and foremost, I'd like to congratulate you on Solid Js and your other related project.
I'd like to try your library on a side project of mine and for such little experiments, I like to tool around with parcel as my bundler.
For some reasons that I are too advanced for me I believe, it seems like parcel interfere with the way solid is expecting the code to look like. Declaring a node directly in a variable works, but declaring a functional component doesn't seem to work.
import { r } from 'solid-js/dom';

// work
const working =
Hello world

document.body.appenchChild(working);

// passing r as a prop, works
const Working = ({ name, r }) =>
Hello {name}

document.body.appenchChild(<Working name="world" r={r} />);

// not working
// Error throw: Uncaught ReferenceError: r is not defined
const NotWorking = ({ name }) =>
Hello {name}

document.body.appenchChild(<NotWorking name="world" />);

If I don't pass the r object imported from solid-js/dom it appears that the functional component doesn't have access to it.
If you have a few minutes and if you think it's relevant, I've also set up a git to reproduce the bug here (clone, npm install, npm run dev / build).
Feel free to close the  issue if the problem doesn't come from Solid.
Cheers

Thank you for reporting. This came up before with my other library using this renderer. I think if Parcel doesn't find the direct reference it feels like it can just rename it however it likes.
https://github.com/ryansolid/mobx-jsx/issues/2
Ultimately we had to set the moduleName in the babel plugin to match the output from Parcel. I am just unclear what the right solution is. Libraries that use JSX compilation to HyperScript like Preact must suffer similar issues since they need to import the h. I've read issue with similar issues related to TypeScript. The biggest thing here is that conventions setup to handle JSX for libraries like TypeScript don't work. Solid JSX isn't just another VDOM library that compiles down to HyperScript render trees so some of the automatic niceties found there aren't applicable.
In any case I don't know know what the Parcel output looks like so I'm not sure what the right module name is to set is. I can try looking at the output tonight, or if you can check it out that would be helpful. I'm definitely interested in reducing friction so if I can find the answer I can add it to the Documentation.

Thank you very much for getting back this fast to me.
Reading through the issue you link was very helpful. What is suggested in there worked for Solid as well.
I'd not consider myself at a very high level of comprehension but I'd love to help you out as much as I can. I found out that importing through common js syntax also fix the issue here's the comparison of the code generated by parcel for CJS import:
const { r } = require('solid-js/dom')

const NotWorkingNode = ({ name }) =>
Not working {name}
;

that translate to:
const _tmpl$ = document.createElement("template");

_tmpl$.innerHTML = "
Not working
";

var _require = require('solid-js/dom'),
    r = _require.r;

var NotWorkingNode = function NotWorkingNode(_ref) {
  var name = _ref.name;
  return function () {
    var _el$ = _tmpl$.content.firstChild.cloneNode(true),
        _el$2 = _el$.firstChild,
        _el$3 = _el$2.nextSibling;

    r.insert(_el$, name, null, _el$3);
    return _el$;
  }();
};

whereas the following ES6 import syntax:
import { r } from  'solid-js/dom';

const NotWorkingNode = ({ name }) =>
Not working {name}
;

translate to:

var _dom = require("solid-js/dom");

const _tmpl$ = document.createElement("template");

_tmpl$.innerHTML = "
Not working
";

var NotWorkingNode = function NotWorkingNode(_ref) {
  var name = _ref.name;
  return function () {
    var _el$ = _tmpl$.content.firstChild.cloneNode(true),
        _el$2 = _el$.firstChild,
        _el$3 = _el$2.nextSibling;

    r.insert(_el$, name, null, _el$3);
    return _el$;
  }();
};

I'm not sure if this can give you any clues as to why it's happening. If there's anything else I can do, let me know.

ok.. That's a little bit strange. If we set moduleName to "_dom.r" it probably works in ES6 import syntax.
I just don't understand why it would not compile down the destructuring statement. I'd expect like with the CJS version for it to have a second line something to the effect of:
var _dom = require("solid-js/dom"),
  r = _dom.r;

I suspect somewhere in its process it is deciding that r is never used if it isn't top level and not including it in the final output. The fact that CJS works might be a hint that there is some incorrect identification of dependencies and something related to Tree Shaking might be causing this.
In any case I have my answer in terms of what the alias should be. Thank you for the new insight about it working when it is top level (not in a function) and with CJS. This is likely something on the Parcel side that we're missing or there is a bug there. I will have to probably look through their docs a bit and see if I can submit an issue.

I downloaded the project to give it a try and it all worked. I got this:
var NotWorkingNode = function NotWorkingNode(_ref2) {
  var name = _ref2.name;
  return function () {
    var _el$5 = _tmpl$3.content.firstChild.cloneNode(true),
        _el$6 = _el$5.firstChild,
        _el$7 = _el$6.nextSibling;

    _dom.r.insert(_el$5, name, null, _el$7);

    return _el$5;
  }();
};

However, I do suspect it was my bug caused by https://github.com/ryansolid/babel-plugin-jsx-dom-expressions/issues/5. Can you confirm with latest version it works for you too?

Sorry it took me some time to get back to you for such an easy test. Updating solid-js to version 0.5.0and babel-plugin-jsx-dom-expressions to version 0.7.0 completely fixed the issue.
Thank you so much for your reactivity. I'm sure a lot of others that want to try it out will equally love that as well. You might consider adding a bit of this in your documentation. Parcel is awesome for prototyping stuff.

For sure. Is there anything special that needs to be done in parcel? As far as I can tell it just works. By comparison Webpack or Rollup are a bit more involved. I'm gathering the documentation you are suggesting is as an easy way to get started.
I was actually thinking on making a Create Solid App so that npm init solid could just bootstrap a repo. But I'm still looking into what is involved.


Adding white statusbar-icon

This pull request adds a new statusbar-icon in a white theme and applies it according to AppleInterfaceStyle.
By default, AppleInterfaceStyle is set to Nil. When the dark theme is applied, it is set to @"Dark".
Preview

Thank you for the pull request. Support for the dark menu bar is included in Keypad Layout 1.4 though it has been achieved by rendering the menu bar icon as a template instead of providing a separate icon for both modes.

Cool! That's definitely a cleaner way, didn't know that was a thing.


Tabular: Reduced code duplication in HPO code

Issue #, if available:
Description of changes:
Reduced code duplication in HPO code
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-347-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-347/1/index.html


Add favicons

Fixes: https://github.com/messa/pyladies-courseware/issues/7
I have prepared a simple logo from the webpage and then generated some icons from it via favicon.io. Pyladies.cz and Zpětnovazebník use the same icon but I have a feeling that this one should be different because I have to visit courseware much more frequently than the other sites.

It works!


Chat eval

What A set of test questions for chat and a tool measuring Chat performance on this set
Who For team members working on chat
Why 1. Ensuring modifications to chat do not lead to regression 2. Allow systematic iterations to improve chat performance: add a few new questions chat doesn't handle to the test set, make modifs to chat until answers are satisfactory
How (use) In OUR_REPO_PATH/front, Execute ./admin/run-ts test/chat/e2e_eval.ts
How (eng) Given the test questions, the new chat api gets the answers, then gpt-3.5-turbo checks that the answers satisfy rules we defined for the answers in the test set
More details here

@spolu FYI since you're AFK ; post-review merge will be welcome; this PR also makes a minor fix on an event returned in chat.ts/newChat without the 'type' field


Galactic to ros2

➡ Forward port
Partial forward port.
Port galactic to ros2
Branch comparison: https://github.com/ignitionrobotics/ros_gz/compare/ros2...galactic
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

CI is green, is this ready for review ?

Not quite, I'm about half way there. It's a pretty massive forward port.  Will remove draft status when it is ready

Okay, this is now ready for a review.
It's a pretty massive PR... I'm sorry, but it will bring ros2 completely up to date afaict.

DCO needs fixing :O

DCO needs fixing :O

DCO is always a bit finicky around merge commits, I'll see what I can do.

Oh yeah, I can force DCO to pass :zipper_mouth_face:


Remove deprecated things

Remove code that is marked with MBEDTLS_DEPRECATED_WARNING or \deprecated.

Hi, can I work on this issue?

Hi, can I work on this issue?

@ShobhitSamuelSingh Thank you for volunteering! It's a bit early though: we haven't yet started the 3.0 branch.

@ShobhitSamuelSingh Thank you for volunteering! It's a bit early though: we haven't yet started the 3.0 branch.

@yanesca
The changes that I made, were they correct?
Can you please guide me about what should I do, because I am new to open source and contributions?
Thank you

@yanesca
The changes that I made, were they correct?
Can you please guide me about what should I do, because I am new to open source and contributions?
Thank you

@ShobhitSamuelSingh As I mentioned above, we haven't started the 3.0 branch yet. We need to create that first, because that is where this change should go in. For now we need to wait and once the 3.0 branch is created, we can redirect your PR. At this point we will review it and leave comments on the PR if we think that it could be improved.
Meanwhile you could look at the output of the failing tests in the Travis CI and try to fix them, because that will be the first thing that the reviewers will ask you to do.

@ShobhitSamuelSingh As I mentioned above, we haven't started the 3.0 branch yet. We need to create that first, because that is where this change should go in. For now we need to wait and once the 3.0 branch is created, we can redirect your PR. At this point we will review it and leave comments on the PR if we think that it could be improved.
Meanwhile you could look at the output of the failing tests in the Travis CI and try to fix them, because that will be the first thing that the reviewers will ask you to do.

Okay, thank you for the advice.

Okay, thank you for the advice.

If you need help with locating or interpreting the logs in Travis CI, just let me know.

If you need help with locating or interpreting the logs in Travis CI, just let me know.

Okay sure.

Okay sure.

Note: this includes removing the file net.h as the whole file it deprecated.

The task description is not clear (because I think none of us clearly considered this) on one point: when there's a deprecated function xxx and a new function xxx_ext of xxx_ret, when removing the deprecated function should we also rename the new function to remove the suffix? I'm inclined to say yes, but I'd like to hear other opinions. @yanesca @gilles-peskine-arm @daverodgman I'd appreciate if (at least) one of you could share your opinion on this.

I agree, we should rename the new function to remove the suffix.

First, I think regardless of what we do, we should do it in a separate pull request. Let's get rid of the things to remove first, to minimize conflicts with other work.
Second, I'm not sure we want the same treatment for every case: _ret vs _ext, new parameter necessary for security (e.g. RNG) vs for functionality (e.g. passing 0 as the new parameter is safe and common). Please file a separate issue to discuss this.

It appears that this issue is:

not very well-defined, as it was unclear to some team members whether it included what's now #4278 for example
as it's currently defined, overlapping with several other issues, notably #4031 and #4078
probably too big for optimal scheduling and execution.

I'm going to split it into a series of smaller, well-defined, non-overlapping issues. I'm keeping it open until this is done, then I'll close it with links to the newly-created issues.

Closing as this is now covered by the following list of issues:

#4031 Remove obsolete TLS features
#4078 Remove PKCS11 module
#4278 Remove 'mode' parameter from RSA functions
#4280 Remove deprecated functions from hashing modules
#4283 Remove deprecated error codes
#4284 Remove deprecated types and constants in PSA
#4281 Remove deprecated things - misc/remainder
#4285 Final check for deprecated things


SNS Publish missing from IAM permissions

Hi All,
I've just picked up a small piece of work where they've used your module to spin up a load of AWS Config rule, everything works great with the exception of the SNS notifications that never get sent because the recorder role doesn't container the sns:Publish permission for the sns topic the module creates. I'm going to work around it myself for now using datasources, but it might be worth a module update at some point.

Added the missing permission in release 3.0.3


Status doesn't show message by default

Missing "message" field with default status response.


[chore] Update default viewport to be mobile

What needs to be done
The default view should be mobile, as the extension will be roughly that size. The site will also support a larger viewpoint once its deployed at a later time.

Don't remember what this means/needs. Focusing on chrome extension first anyways.


OCIR namespace should be delivered from the Object Storage namespace instead of tenancy name

The OCIR namespace should be delivered from the Object Storage namespace instead of tenancy name - Line 63 in https://github.com/oracle-quickstart/oci-arch-devops/blob/master/devops_function/variables.tf
I have forked and will do a pull request with a proposed fix which worked for me.

@aszynkow thanks for your commits. I have merged them into the master branch. The issue has been resolved and the benefits of your changes will be immediately visible for Terraform CLI deployments. In the case of ORM, stacks changes will be visible within the next GitHub release.


Command line args to release script for non-interactive use

Can this and the other issues related to release script be closed?

Ahh ... yes it should be. Your script was a huge help to me BTW :-)


related_configs_recursive is producing incorrect results

seems to be coming from SELECT * from get_recursive_path(config_id)

This seems to be desired behavior. we always want hard parents.


Possible [BUG] or incompatibility in RGP 0.67b3 and 0.67b4

This older script doesn't use mixin and the error isn't detailed enough (for me) to pinpoint the cause. No error in 0.66 or 0.67b1.
meter_set_numeric.lua
ERROR: Error decoding argument #2: The lua object can’t be cast to desired type

Did it report a line number? This is almost certainly an omitted parameter. LuaBridge 3 is much pickier about parameters than LuaBridge 2.

No line number. Will trace through looking for missing params.

Found it. Line 70:
str.LuaString = v
'v' is an integer so this demands tostring(). So much for Lua's much-vaunted laxity on data types!

Code updated and problem solved. Interesting to see if many other datatype incompatibilities will emerge!

The lack of file:line number is solved in the latest LuaBridge3, so I am closing this issue.


test: Generalize image format condition for all RHEL 7.x

This also applies to RHEL 7.7.

I manually triggered 7.7 and 8.1 tests to validate that this works everywhere now. Once it does, I'll enable these in Cockpit for all PRs.

Codecov Report

Merging #621 into master will decrease coverage by 0.23%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #621      +/-   ##
=========================================
- Coverage   67.13%   66.9%   -0.24%
=========================================
  Files          68      68
  Lines        3463    3463
  Branches      690     690
=========================================
- Hits         2325    2317       -8
- Misses       1138    1146       +8

Impacted Files
Coverage Δ

components/ListView/ListItemImages.js
58.73% <0%> (-3.18%)
:arrow_down:

core/sagas/inputs.js
71.42% <0%> (-3.07%)
:arrow_down:

components/ListView/ListItemComponents.js
80% <0%> (-2.23%)
:arrow_down:

core/selectors.js
92.96% <0%> (-0.79%)
:arrow_down:

core/sagas/blueprints.js
60.39% <0%> (-0.5%)
:arrow_down:

Continue to review full report at Codecov.

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


Smooth curved lines in CategoryChart

Hi. Is this supported?
I need x-axis to be Strings, thats why I use category chart,
or can XYChart (which has the smooth curved lines) have x-axis on Strings?

From BarChart09.
series2.setChartCategorySeriesRenderStyle(CategorySeriesRenderStyle.Line);

@juliusquismundo
LineChart03 series.setSmooth(true):

Only XYChart support Smooth curved line.

Thank you for clarifying

I'll reopen this as a feature request


Adding support for optional proxy server on REST invoke

support for rest activity proxy server usage. Resolves #166

thanks @torresashjian updated to reflect your suggestions


Fix marshaling of secretstore.UserPasswordPair

UserPasswordPair should be marshaled into json as
{username, password} instead of {user, password}.
Signed-off-by: Daniel Harms<EMAIL_ADDRESS>

#1981


Paket: Init command fails to download paket

VSCode version 1.20.1, Ionide-Paket versoin 1.9.1
When I run the command Paket: Init, it creates an empty packages folder and the paket.dependencies file, but then fails with this error
  C:\Users\guguer\.vscode\extensions\Ionide.ionide-paket-1.9.1\bin\paket.exe
  Paket version 3.33.4
  Saving file c:\Work\SubstrateSearch\private\Scripts\paket.dependencies
  Paket failed with:
    Error occured while downloading from https://github.com/fsprojects/Paket/releases/latest.

Replacing paket.bootstrapper.exe in C:\Users\guguer.vscode\extensions\Ionide.ionide-paket-1.9.1\bin with the latest version fixed the issue

Recently repro'ed this in two colleagues' machines, they had the same issue when first trying to use Ionide-Paket


Syntax highlighting and PHP

Hey guys!
I've a problem with Syntax highlighting an the language PHP. Their was'nt any Syntax highlighting for that, right?
Thanks guys!

Are you using Rouge?

Good question. I'am using the default highlighter from jekyll now.

It must be Rouge then. You can confirm it by the value of syntax_highlighter in your _config.yml. I could see some issues and a bugfix about PHP highlighting in Rouge Repo https://github.com/jneen/rouge/issues?utf8=✓&q=is%3Aissue php highlight . You will have to provide more details to know exactly if it's an issue with rouge or jekyll-now.

You can just looking here: https://github.com/pixelbart/pixelbart.github.io
Is live on github. I post some markdown and php after the first riple backticks.

https://pixelbart.github.io/PHP-Token/ (2016-10-12-PHP-Token.md)

Havent change anything. Just a simple fork from jekyll now.
On the link you've posted ive seen thats the bug is resolved in rouge - because the first "issue" showing an php example (is a fout, but its worked!)
Sorry for my bad english guy ;)

Oh i think is a "highlighter" theme fout. I'm looking for an other theme, check it out and gave feedback. But now i'm going to bad. My wife want sleep.
In germany is night 💃

I could see the markdown file is rendered properly.
https://github.com/pixelbart/pixelbart.github.io/blob/master/_posts/2016-10-12-PHP-Token.md
But, not the post in your site.
https://pixelbart.github.io/PHP-Token/
I don't see (through viewsource) any highlighting related markup or styling in the page. May be it could be your theme as you say. But, I don't have much clue now. Please try switching the themes. Let's see if it helps.

Hey @sanspace :) I found the solusion: I've just add an <?php tag to the code block and its worked. Its not so "nice" but its ok.
Thanks guy! ;)
Nice Github Theme: github.css


Implement command line support for importing rs-manager set list

@sandiz latest release of rs-manager provides for exporting a single set list as a JSON array. Implement a command line function to save this song list to a Rocksmith profile.
Consider the following options, supplemented with a CLI menu as needed:
--uid <steam_user_id>
--profile
--json-file <json_file_name>
--target <[1-6] | Favorites>
Target is the song list that will be written to: either a number 1 to 6, or Favorites.
For initial implementation, assume the JSON file will contain only 1 song list array. In future, this could be extended to include the uid, the profile name, a full set set of song lists, and a favorites list.

@sandiz, @justinaiken, Here is what I'm proposing to implement as a proof concept for this issue. Please let me know if you would like any changes? Assuming this looks useful and works as advertised, I can move to providing whatever functionality would be needed for rs-manager integration - I'll need some guidance on the form this should take to be most useful for rs-manager.
usage: rsmimporter.py [-h] [-a <steam_id>] [-p <profile_name>] [--no-check]
                      [--silent] [-l list_id song_file]
                      working_dir

Command line interface for loading song lists/set lists generated by rs-
manager into Rocksmith.

positional arguments:
  working_dir           Working directory for working files and arrangement
                        database (if any).

optional arguments:
  -h, --help            show this help message and exit
  -a <steam_id>, --account-id <steam_id>
                        Specify the steam account id for the Rocksmith
                        profile. This can be the the account alias/profile
                        (probably easiest to find - this is the name next to
                        the Community menu on the steam interface), the steam
                        account login name, an 8 digit account id, or a 17
                        digit steam id. If omitted, an interactive selection
                        will be triggered.
  -p <profile_name>, --profile <profile_name>
                        The name of the profile that the song list will be
                        written to. If omitted, an interactive selection will
                        be triggered.
  --no-check            If specified, the importer will not check the song
                        keys in the import file. Otherwise the importer will
                        check the song keys against either: an arrangement
                        database (if available), or against a basic character
                        pattern (currently a-zA-Z0-9). This may be useful if
                        you have CDLC that has accented characters or other
                        characters outside the character pattern (if so,
                        please raise a github issue or PR so we can update the
                        pattern).
  --silent              If specified, the importer will not ask the user to
                        confirm the updates to the Rocksmith profile.
  -l list_id song_file, -list list_id song_file
                        Specifies a song list replacement. list_id specifies
                        the song list to replace and must be either the letter
                        'F' for Favorites or a number from 1 to 6 for a
                        numbered song list. song_file is the file containing
                        the song keys for the new song list. If the file is in
                        the working directory, it should be the file name
                        without any path information. Otherwise, it should be
                        the full path to the file. This must be a text file
                        containing a single JSON form list of the song keys
                        for the song list. That is, the file contents should
                        look like ["<key 1>", "<key 2>", "<key 3>, ..., "<key
                        N>"]. This is the structure of files exported by rs-
                        manager. This argument can be repeated, so that you
                        can update all 6 song lists and Favorites in single
                        call. Note that you can repeat a list_id - if you do, the
                        corresponding song list will be overwritten again
                        without warning and order of writing cannot be
                        guaranteed.

hi @BuongiornoTexas, congrats on the beta release!  🎉 love the way you comment your code, makes it a joy to read  🤓
rsimporter command line arguments looks good to me. let me know when you release and i can start playing with the integration. i think it should work as is with what you proposed..
how are you planning on distributing rsrtools ? as a pip package, tar.gz or something else?

congrats on the beta release! 🎉 love the way you comment your code, makes it a joy to read 🤓

Thanks on both - comments/documentation are mostly down to being an old-school (and sadly these days, just old) engineer.

how are you planning on distributing rsrtools

pip package via pypi (https://pypi.org/project/rsrtools/), although I think it should also install from pip via github.
Will do on keeping you in the loop on rs-manager support - with luck it'll be a week or so.

Closed with https://github.com/BuongiornoTexas/rsrtools/releases/tag/0.2.0beta.
@sandiz - over to you! Note that I've renamed the importer to importrsm and I've modified the options slightly.
usage: importrsm [-h] [-a <steam_id>] [-p <profile_name>] [--no-check]
                 [--silent] [-sl list_id song_file]
                 working_dir

Command line interface for loading song lists/set lists generated by rs-
manager into Rocksmith.

positional arguments:
  working_dir           Working directory for working files and arrangement
                        database (if any).

optional arguments:
  -h, --help            show this help message and exit
  -a <steam_id>, --account-id <steam_id>
                        Specify the steam account id for the Rocksmith
                        profile. This can be the the account alias/profile
                        (probably easiest to find - this is the name next to
                        the Community menu on the steam interface), the steam
                        account login name, an 8 digit account id, or a 17
                        digit steam id. If omitted, an interactive selection
                        will be triggered.
  -p <profile_name>, --profile <profile_name>
                        The name of the profile that the song list will be
                        written to. If omitted, an interactive selection will
                        be triggered.
  --no-check            If specified, the importer will not check the song
                        keys in the import file. Otherwise the importer will
                        check the song keys against either: an arrangement
                        database (if available), or against a basic character
                        pattern (currently a-zA-Z0-9). This may be useful if
                        you have CDLC that has accented characters or other
                        characters outside the character pattern (if so,
                        please raise a github issue or PR so we can update the
                        pattern).
  --silent              If specified, the importer will not log progress and
                        will not ask the you to confirm the update to the
                        Rocksmith profile. Silent mode will also disable
                        interactive account and profile selection (i.e. these
                        argumentsmust be specified if silent is specified).
  -sl list_id song_file, --song-list list_id song_file
                        Specifies a song list replacement. list_id specifies
                        the song list to replace and must be either the letter
                        'F' for Favorites or a number from 1 to 6 for a
                        numbered song list. song_file is the file containing
                        the song keys for the new song list. If the file is in
                        the working directory, it should be the file name
                        without any path information. Otherwise, it should be
                        the full path to the file. This must be a text file
                        containing a single JSON form list of the song keys
                        for the song list. That is, the file contents should
                        look like ["<key 1>", "<key 2>", "<key 3>, ..., "<key
                        N>"]. This is the structure of files exported by rs-
                        manager. This argument can be repeated, so that you
                        can update all 6 song lists and Favorites in single
                        call. Note that you can repeat a list_id - if you do,
                        the corresponding song list will be overwritten again
                        without warning and order of writing cannot be
                        guaranteed. Lastly, this is an optional argument, but
                        if you don't make at least one song list
                        specification, this program will do nothing.

@BuongiornoTexas couple of questions

if there is any error/exception does it exit with a non zero exit code ?
is there a max limit to how many songs that can be added ?

@sandiz

if there is any error/exception does it exit with a non zero exit code ?

Yes - mostly because python does the right thing, rather than a reflection on my code quality. I've checked this on both windows and OS X.
There is one edge case - if you run it with an account and profile specified, but no song lists, importrsm will do nothing and return 0 (as it was asked to do nothing). This shouldn't be an issue for the integration.
If you want to provide an import log, you will probably need to capture both stdout and stderr.

is there a max limit to how many songs that can be added ?

No limit python side, and I suspect Rocksmith should be fine as well - after all you can select your entire library to add to a Favorites list or song list.
I did do a quick test by creating a list of all of the songs I own and all of the songs that I don't own in the  RS1 package and importing this. Rocksmith loaded it up happily. (Rocksmith ignores song keys for any
songs you don't own, so in in effect I created a Favorites list of everything I own).
Cheers,
Larry


Kivy Garden graph:  ZeroDivisionError: float division by zero - In case of repetitive value to plot

Versions

Python:3.6.5
OS: Windows 10 64-bit
Kivy: v1.10.0
Kivy installation method: pip as mentioned on Kivy installation guide

Description
My application picks up runtime values from command line to plot a graph and keeps updating ymax and ymin as per the runtime values .
If similar values starts appearing kivy garden graph throws an  'ZeroDivisionError: float division by zero'.
Code and Logs
[INFO   ] [Logger      ] Record log in C:\Users\ssingh.kivy\logs\kivy_18-08-14_24.txt
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [OSC         ] using  for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used
[INFO   ] [GL          ] OpenGL version <b'4.6.0 NVIDIA 391.03'>
[INFO   ] [GL          ] OpenGL vendor <b'NVIDIA Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'Quadro P1000/PCIe/SSE2'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 6
[INFO   ] [GL          ] Shading version <b'4.60 NVIDIA'>
[INFO   ] [GL          ] Texture max size <32768>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Start application main loop
YUV 422
[INFO   ] [Base        ] Leaving application in progress...
Traceback (most recent call last):
File "C:\Users\ssingh\source\repos\KivyGuiChanges\KivyGui\mvPCIeBandwidthGUI.py", line 622, in
mvPCIeBandwidthGUIApp().run()
File "C:\Users\ssingh\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\app.py", line 828, in run
runTouchApp()
File "C:\Users\ssingh\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 504, in runTouchApp
EventLoop.window.mainloop()
File "C:\Users\ssingh\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
self._mainloop()
File "C:\Users\ssingh\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
EventLoop.idle()
File "C:\Users\ssingh\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 339, in idle
Clock.tick()
File "C:\Users\ssingh\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\clock.py", line 581, in tick
self._process_events()
File "kivy_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events (kivy_clock.c:7700)
File "kivy_clock.pyx", line 397, in kivy.clock.CyClockBase.process_events (kivy_clock.c:7577)
File "kivy_clock.pyx", line 395, in kivy.clock.CyClockBase.process_events (kivy_clock.c:7498)
File "kivy_clock.pyx", line 167, in kivy.clock.ClockEvent.tick (kivy_clock.c:3490)
File "C:\Users\ssingh.kivy\garden\garden.graph_init.py", line 1164, in draw
self.plot_mesh()
File "C:\Users\ssingh.kivy\garden\garden.graph_init.py", line 1167, in plot_mesh
points = [p for p in self.iterate_points()]
File "C:\Users\ssingh.kivy\garden\garden.graph_init.py", line 1167, in
points = [p for p in self.iterate_points()]
File "C:\Users\ssingh.kivy\garden\garden.graph_init.py", line 1127, in iterate_points
y_px = self.y_px()
File "C:\Users\ssingh.kivy\garden\garden.graph_init.py", line 1049, in y_px
ratioy = (size[3] - size[1]) / float(ymax - ymin)
ZeroDivisionError: float division by zero
Press any key to continue . . .

Please open issues relating to graph in the https://github.com/kivy-garden/garden.graph/ repo because it's not a Kivy builtin widget. Also, please provide a complete and minimal example to reproduce the issue there.


README is poor

Need to rewrite the readme to make it look better, plus also provide a blog post.

README looks good, time for a blog post.


Localize pipe slow performance

When I am using localize in a long list is getting very bad performance:
{{ user.name }}

When I replace it with this is much better
{{ user.name }}

How I can use LocalizePipe without affecting the performance?

LocalizePipe is an impure pipe, meaning whenever your component updates, the pipe will update (likely multiple times). Its performance will be much worse in development mode than in production. A solution could be to make sure the change detector doesn't run over your component too frequently.


Updates to CarbonTraker NFT contract

This commit introduces major changes to the CarbonTracker contract
It also updates carbon-tracker.md describing how the CarbonTracker contract works in more detail
This includes mathmatical forumlae for how carbon intensities and emissions are calculated across tracker NFTs
and a diagram with a basic fuel supply chain example
Signed-off-by: brioux<EMAIL_ADDRESS>

Note the equations listed in the markdown (see carbonIntensity() header do not display correctly. They can be viewed  within the stackedit app until the problem is fixed


PR: Update QtAwesome version constraint to >=1.3.1,<1.4.0

Description of Changes
Update QtAwesome version constraint to >=1.3.1,<1.4.0 and get fix for font issue installation error on Windows
Issue(s) Resolved

Part of #21936
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

@dalthviz, it seems you need to include the boltons package in installers-conda/build-environment.yml to fix the error when building our Linux installer.
It seems that's a boa dependency but it's weird it's not pulled by it.

Note: The missing boltons error seems related with this commit message mentioning that for conda 23.4+ boltons will not be part of the vendored packages (https://github.com/mamba-org/boa/commit/776609b38ccf5e8fd1cd39ae38d011136cc367fc). Also, seems like there is already an issue related with the missing update of the package recipe in conda-forge (https://github.com/conda-forge/boa-feedstock/issues/81). Seems like boa version 1.7.0 from conda-forge doesn't have the updated dependency on boltons

Note: The missing boltons error seems related with this commit message mentioning that for conda 23.4+ boltons will not be part of the vendored packages (mamba-org/boa@776609b). Also, seems like there is already an issue related with the missing update of the package recipe in conda-forge (conda-forge/boa-feedstock#81). Seems like boa version 0.17.0 from conda-forge doesn't have the updated dependency on boltons

I saw that too and send them conda-forge/boa-feedstock#82 to fix that.


MLB notebook fails on permission issue until compute engine default service account granted Vertex AI User permission on project

When you run the MLB notebook (https://github.com/statmike/vertex-ai-mlops/blob/main/Applied GenAI/Vertex AI GenAI For Document Q%26A - MLB Rules For Baseball.ipynb) in Vertex Workbench, the get_embeddings statement generates a PermissionDenied error.
Here's the statement that generates the error:
embedding_model.get_embeddings([question])[0].values[0:5]

Here's the PermissionDenied error you get when you run that cell:
PermissionDenied: 403 Permission 'aiplatform.endpoints.predict' denied on resource '//aiplatform.googleapis.com/projects/genai-test-project-may28/locations/us-central1/publishers/google/models/textembedding-gecko@001' (or it may not exist). [reason: "IAM_PERMISSION_DENIED"
domain: "aiplatform.googleapis.com"
metadata {
  key: "permission"
  value: "aiplatform.endpoints.predict"
}
metadata {
  key: "resource"
  value: "projects/genai-test-project-may28/locations/us-central1/publishers/google/models/textembedding-gecko@001"
}
]

You can get around this by granting the compute engine default service account (e.g. for project with project number<PHONE_NUMBER>35, compute engine default service account is:<PHONE_NUMBER>35-compute@developer.gserviceaccount.com)) Vertex AI User role.
https://screenshot.googleplex.com/7qVMQNFxxHbs6ah
After granting the compute engine default service account this role in the console, the get_embeddings statement runs without error:
https://screenshot.googleplex.com/5F4h7oSHDk6u9EY
Suggest adding a note to the intro to this notebook to indicate that the user has to grant the Vertex AI User role to the compute engine default service account for their project. Adding code to do this automatically would be ideal, but I  was only able to get as far as getting the compute engine default service account, not the command to grant this service account Vertex AI user role programmatically.
PROJECT_NUMBER_LIST = !gcloud projects list \
--filter="$(gcloud config get-value project)" \
--format="value(PROJECT_NUMBER)"
PROJECT_NUMBER = PROJECT_NUMBER_LIST[0]
compute_engine_default_service_account =<EMAIL_ADDRESS>print(compute_engine_default_service_account)

Hi @markbpryan,
You are correct, the user or service account running the notebook will need permissions for each of the services used.  In the case of embeddings and LLM that means Vertex AI User role does include the needed permissions.
I updated the readme and each of the notebooks to have a prerequisites section with some additional clarity around the needs for role/permissions related to the services used in the notebook.  I will add it to my todo list to give prescriptive minimal permissions needed for each later on.
Did the remainder of the notebook work ok for you?
Note: I just pushed a fairly big update to this and other notebooks I now refer to as v1 notebook in the readme.  I also introduced V2 version of the notebooks that have some enhancements like multiple documents and outputs images of all pages used as source for the asked question.
Thank You,
@statmike

Closing for now, based on my answer above.  Happy to reopen based on your ongoing experience with the notebook


How to refresh/regenerate CSS file via a custom function?

Issue description:
Hi @aristath,
I am using the static file generation method for the CSS. It works fine, but I need to trigger refresh/regenerate the file linked to a certain option in my theme.
Is there a certain function to trigger this? I see currently it happens when we save/publish customizer options.
TIA,
Munir

Kirki no longer generates files for CSS so this can be closed.