pLocalPlayerController always null

as the title says

Give more details.  What game version? What did you change?

Nothing changed, injects fine. Test build v. 2000063/13868

how do i see the game version and is pEntitySystem null?

what about now is it fixed?

will close if given no input


Doesn't extract passwords from Firefox

I am using both release 0.2.8 and my build from latest source with this commands:

.\hack-browser-data.exe -b all -f json -dir results -cc
.\hack-browser-data.exe -b firefox -f json -dir results -cc
.\hack-browser-data.exe -b all

It does find Everthing on Edge (version 86.0.622.69) and chrome (version 86.0.4240.198) but no luck in finding passwords from firefox.
Desktop :

OS Name : Windows 10 2004
Browser Name : FireFox
Browser Version : 78.0.1 and 82.0.3 (latest)

Additional context :
I have tried both running command in privileged mode and while firefox processes are terminated.
Also logs aren't clear and too much go error in case it doesn't find anything. For firefox and this command .\hack-browser-data.exe -b all -f json -dir results -cc logs look like this:
decrypt_windows.go:122: error asn1: structure error: tags don't match (16 vs {class:0 tag:4 length:20 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} SequenceC @2 parse.go:523: error decrypt meta data failed asn1: structure error: tags don't match (16 vs {class:0 tag:4 length:20 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} SequenceC @2 cmd.go:77: error asn1: structure error: tags don't match (16 vs {class:0 tag:4 length:20 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} SequenceC @2 [x]:  Get 0 passwords, filename is results/firefox_password.json [x]:  Get 27 bookmarks, filename is results/firefox_bookmark.json [x]:  Get 854 cookies, filename is results/firefox_cookie.json [x]:  Get 21277 history, filename is results/firefox_history.json

Hey. I have tested the 0.3.2 version and everything is perfect (even firefox history, Cookie, and bookmarks) but the output JSON for firefox passwords is empty and it says null. I couldn't make it to work. Should those passwords be synced to the Mozilla account?
Firefox version : 84.0.2

Hey. I have tested the 0.3.2 version and everything is perfect (even firefox history, Cookie, and bookmarks) but the output JSON for firefox passwords is empty and it says null. I couldn't make it to work. Should those passwords be synced to the Mozilla account?
Firefox version : 84.0.2

Hey. I have tested the 0.3.2 version and everything is perfect (even firefox history, Cookie, and bookmarks) but the output JSON for firefox passwords is empty and it says null. I couldn't make it to work. Should those passwords be synced to the Mozilla account?
Firefox version : 84.0.2

have the same problem on Mac

Hey. I have tested the 0.3.2 version and everything is perfect (even firefox history, Cookie, and bookmarks) but the output JSON for firefox passwords is empty and it says null. I couldn't make it to work. Should those passwords be synced to the Mozilla account?
Firefox version : 84.0.2

have the same problem on Mac

What does it extract yours? Lol that's Firefox did to me

What does it extract yours? Lol that's Firefox did to me

Hi, I think I've fixed the firefox password decryption failure problem. if it's still wrong, you can reopen this issue.
commit after f8dc8bb

Thank u so much for your efforts. It is fixed now.


Add OneFuzz build pipeline

Provides file-fuzzing for DDS, WAV, and XWB file readers.

Test suite updates in
https://github.com/walbourn/directxtktest/pull/39


add example with traffic lights

@adscib @Ruishenl
I included carla integration with traffic light control in this PR as it was already open.


Whitespace allowed in open end range expression

This isn't necessarily a bug, because generally, tree sitter parsers don't have any specific responsibility to reject invalid code. However, this particular behavior is causing us some grief, so I'm hoping that it can be changed.
Swift does not allow any whitespace to appear between the start of an open-end range expression and the ..., e.g. 5... is a valid expression, but 5 ... and
5
...

are not. I would like this parser to either reject the last example (like Swift does), or parse it as two separate statements separated by an implicit semicolon, where the second is a fully_open_range.
The issue is that in Semgrep patterns, ... is used to indicate some sequence of zero or more items. For example, the pattern:
foo();
...

would match the statement foo() followed by any number of later statements. When parsing a pattern, we transform a fully_open_range node into a Semgrep ellipsis in order to achieve this. There are also some grammar extensions that, among other things, allow ... to appear in more positions.
This works great as long as there is an explicit semicolon, but if someone instead writes
foo()
...

then suddenly it is instead parsed as an open_end_range_expression. Since swift doesn't typically require explicit semicolons, this has already surprised one of the first people to start writing Swift Semgrep rules. This behavior is due to the custom scanner, which cannot be easily modified as part of our extensions.
It looks like the custom scanner consumes the newline, and considers it to be potentially a valid implicit semicolon. However, then it consumes the ... operator and discards the semicolon. I tried moving THREE_DOT_OPERATOR to the false case of is_cross_semi_token, which seemed to lead to a semicolon getting scanned, but it also led to the three dot operator getting discarded entirely, apparently because the scanner had to consume it before deciding that the implicit semicolon was valid after all (perhaps related to mark_end being set to true in eat_operators?).
I can keep digging in to the scanner, but I've done enough at this point that it seemed like it was time to write up what I've found so far and see if you are on board with this goal.
By the way, we just announced that Swift has reached experimental status in Semgrep! https://r2c.dev/blog/2022/announcing-swift-exp-support/

I'm having a little bit of trouble figuring out the logic for when mark_end is called in eat_operators. Ideally, if the operator is THREE_DOT_OPERATOR, and there is a possible preceding implicit semicolon, then mark_end would not be called. I'll have to spend more time understanding the control flow in eat_operators to be able to achieve this in a reasonable way. I'd also appreciate any suggestions you have.

This is a totally reasonable request. I actually think we should handle it in a totally different way: if we've got a possible preceding semicolon, we just lie to the eat_operators call and tell it that THREE_DOT_OPERATOR isn't in valid_symbols. I'll put that up in the same PR that fixes #225.

By the way, we just announced that Swift has reached experimental status in Semgrep!

Hooray! I appreciate all the excellent work you've done to get us here -- and the shoutout in the blog post!

Nice, that does seem like a better approach! Thank you very much for the quick fix!

I had assumed that any change here that led to the scanner emitting an implicit semicolon token would solve the issue for me. I assumed that it would then separately emit a three dot operator token and the parser could either accept or reject that.
Unfortunately, that doesn't appear to be the case. Now, the scanner seems to reject
foo()
...

without giving the parser (and therefore our grammar extensions) a chance to handle it.
At this point, since I don't know exactly what's going on, I'm not asking you for anything specific. I'll have more time to look into this next week. However, if this theory sounds right to you and you have an idea for how to address it in a palatable way, I'm all ears.

Hmm, that is too bad. Perhaps we could get away with just removing the three-dot operator from the external scanner entirely. As I recall, I added it at a time when the scanner didn’t use lookahead to decide whether an operator was done (i.e. it was required because . was being handled there).

OK, attempt 2 is forthcoming!

Awesome, that did the trick! Thanks again!

FYI @nmote, someday we might be get to deal with … as legal syntax in type position: https://forums.swift.org/t/pitch-parameter-packs/60543

I'm sure we'll manage. As long as it's not handled in the external scanner, I'm sure we can make changes as needed in the Semgrep extensions to handle this appropriately.
Also:

We propose changing the grammar so that ...> is no longer considered as a single token, and instead parses as the token ... followed by the token >.

This would make my hack here unnecessary: https://github.com/returntocorp/ocaml-tree-sitter-semgrep/blob/02917c7d689da67b4d2ee086b1a7b747fe366bc1/lang/semgrep-grammars/src/semgrep-swift/grammar.js#L33-L53


No permissions handler detected

Hello,
first: thanks for providing the plugin.
I have the following problem: I checked out the example app from you, ran npm install and pod install. So far everything is fine.
When I start the app I get the message "No Permission handler detected"
I am using iOS and all versions as specified in your example app. Which handler do I need to register?

Hi @iSaBo96 ,
Do you have the following permissions defined in your info.plist?
<key>NSLocationWhenInUseUsageDescription</key>
<string>We need your location to detect nearby beacons.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>We need your location to detect nearby beacons even when the app is in the background.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>We need your location to detect nearby beacons even when the app is not in use.</string>
<key>UIBackgroundModes</key>
<array>
    <string>location</string>
</array>

@JanSneeuw
Hi, yes, since I use your example app, the authorizations are entered in the Info.plist :)

Do I have to enter anything additional in the pod file?

As far as I know, anything used in the example project should be enough. Could you please provide your Info.plist as well as the version of react native you are using?

Sure, my Info.plist is the following:
`

CFBundleDevelopmentRegion
en
CFBundleDisplayName
BeaconRadarExample
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
$(PRODUCT_BUNDLE_IDENTIFIER)
CFBundleInfoDictionaryVersion
6.0
CFBundleName
$(PRODUCT_NAME)
CFBundlePackageType
APPL
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleSignature
????
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
LSRequiresIPhoneOS

NSAppTransportSecurity

NSExceptionDomains

localhost

NSExceptionAllowsInsecureHTTPLoads

NSLocationWhenInUseUsageDescription
We need your location to detect nearby beacons.
NSLocationAlwaysAndWhenInUseUsageDescription
We need your location to detect nearby beacons even when the app is in the background.
NSLocationAlwaysUsageDescription
We need your location to detect nearby beacons even when the app is not in use.
UIBackgroundModes

location

UILaunchStoryboardName
LaunchScreen
UIRequiredDeviceCapabilities

armv7

UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight

LSApplicationCategoryType

UIViewControllerBasedStatusBarAppearance

`
Which versions are you using? Node, NPM, react-native-cli and so on? :)

Addition: I did not use the example app, but created an APp based on react 0.71.6, added the package, installed react-native-permissions and executed a pod install. I now also get the error "No permission handler detected"

I have set the permissions (Bluetooth, Location) in the Podfile :) After run "pod install" it works.
For android i set "implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))" in the build-gradle file under dependencies :)

That's awesome! I will close this issue. If you have any more questions or problems, please make another issue.


Standardise file naming, header guards; the other way

snake_case and ifdef guards!

Thanks. I think I prefer this way :).


Some of test_ensemble_*_gof() fail

These tests in server_test.py are currently marked xfail.

Fixed by 689d9ea4


After canceling a sharing, application goes back to the search menu

Summary:
On pressing back button after clicking on sharing button, application goes back to the search activity not to the image activity.
Steps to reproduce:
->Menu
->Explore
->Search something
->Click on an image
->Click on share button
->Press back button or scroll down to cancel sharing
Device and Android version:
Pixel 2 XL emulator (Android 8.0) and Motorola G4 (Android 7.0)
Commons app version:
Latest master.
Would you like to work on the issue?
Yes

Hey , Can i work on this issue ?

@lcartel Are you still working on this? Have you made any progress? :-)

I stoped working on this, I didn’t find the time to finish it. You can reasign the task if you want.

@lcartel Understood! If you have made some modifications do not hesitate to push them to a remote branch :-)
@jashpreet It is yours! :-) Please let us know about your progress from time to time.

I am having trouble going back to the same fragment instance , Can you please guide me on the same ?

I want to solve this issue

I solved this issue can i make an PR

Currently one of the issues (#4063) is closed and the other is still valid. Since this issue is trying to solve "both" of them I don't know what to do with this PR. This is why ideally we prefer single PR for one issue.

Currently one of the issues (#4063) is closed and the other is still valid. Since this issue is trying to solve "both" of them I don't know what to do with this PR. This is why ideally we prefer single PR for one issue.

@nicolas-raoul I am able to reproduce this issue. So I want to work on this can you please assign me this issue?

@ArmanNavodia It is yours, thanks! The closed pull requests above may be useful. Please let us know about your progree every few days.


Tony branch

Added find-artist.js and updated add-listing.js, view-store-front.js, apiRoutes.js, and added ids to i
ndex.handlebars and main.handlebars.  Nadine, please note, I am using the "search" id to grab the value of the textfield in the searchbar.  Please let me know if you change the name.  I will need to update my code.

Closing due to errors.


Voyage Slider Gsap

🛠 Issue #676

Closes #676
Description
he "voyage-slider-gsap" is a lightweight and customizable slider component that allows you to create responsive and touch-enabled sliders for your website or web application. It is built using HTML, CSS, and JavaScript
Type of change

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

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] The title of my pull request is a short description of the requested changes.

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
https://Voyage-Slider-Gsap.ashadmuneer.repl.co

@Vanshiii203 Review this

Add a readme file

done


SARA-R5 Power On and Enable expected hardware connections

Hi, I have a custom board with an ESP32 driving the SARA-R5 and I would like to design the hardware so that ubxlib can control power to the modem correctly. My current connections to PWR_ON and RESET_N are based off of the XPLR-IOT-1 design.

.cfgCell = {.moduleType = U_CELL_MODULE_TYPE_SARA_R5,
            .pSimPinCode = NULL,
            .pinEnablePower = 17,
            .pinPwrOn = 18,
            .pinVInt = -1,
            .pinDtrPowerSaving = -1}

My issue is that the modem is not properly powered on with these connections.
U_CELL: initialising with enable power pin 17 (0x11) (where 1 is on), PWR_ON pin 18 (0x12) (and is toggled from 1 to 0) and VInt pin not connected.
I (1418) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
I (1428) gpio: GPIO[17]| InputEn: 1| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
AT
AT
AT
AT
AT
U_CELL_PWR: powering on.
AT
AT
AT
AT
AT
AT

Now, if I set the Enable pin to -1, then the modem will power up once, but then after a software reset it does not come back up.
Do you see any problems with my set up? Thank you!

Hi, and thanks for posting.
I'm no HW guy but, looking at the ubxlib examples repo for XPLR-IOT, the PWR_ON pin is configured as inverted; the PWR_ON pin to a cellular module needs to be pulled low for longer than some time (1 second in the SARA-R5 case) to power the module on while, in the case of the u-blox XPLR-IOT HW at least, the MCU pin needs to be driven high for longer than 1 second in order to effect this.  Inversion is invoked by ORing the pin value with U_CELL_PIN_INVERTED (which sets the top bit of the int32_t).
Could that be your issue?

Thanks for the quick response @RobMeades, I think you're on to something 🧐.
I first tried inverting pinPwrOn, but couldn't get a response. Then, I disabled pinEnablePower (= -1) and it's working much better!
.cfgCell = {.moduleType = U_CELL_MODULE_TYPE_SARA_R5,
            .pSimPinCode = NULL,
            .pinEnablePower = -1,
            .pinPwrOn = 18 | U_CELL_PIN_INVERTED,
            .pinVInt = -1,
            .pinDtrPowerSaving = -1}

It seems that there is still one issue, and I can live with it, but I'd love to fix it if possible. When the device software resets, the modem doesn't come on the first time, but when it resets again, then it comes back. Here's a log from that first reset. It looks like the modem is still on from before but then gets turned off when trying to initialize. The random bytes coming through are from the M8 chip (I'm working with a SARA-R510M8S and using both cell and GNSS). These bytes only show up after a software reset like this. It's interesting because the modem doesn't respond to the AT, but it is still reporting from the previous session.
U_CELL: initialising with enable power pin not connected, PWR_ON pin 18 (0x12) (and is toggled from 0 to 1) and VInt pin not connected.
I (1428) gpio: GPIO[18]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[f9][11][ff][c9][b5]b[01][07]\[00]@B[0f][00][df][07][12][00][10]([f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]F[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00]DW[95][f9]AT
AT
AT
AT
[f9][11][ff][c9][b5]b[01][07]\[00](F[0f][00][df][07][12][00][10])[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]F[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00]1u[95][f9]AT
[f9][11][ff][c9][b5]b[01][07]\[00][10]J[0f][00][df][07][12][00][10]*[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]F[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00][1e][93][95][f9][f9][11][ff][c9][b5]b[01][07]\[00][f8]M[0f][00][df][07][12][00][10]+[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]G[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00][0b][85][95][f9][f9][11][ff][c9][b5]b[01][07]\[00][e0]Q[0f][00][df][07][12][00][10],[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]G[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00][f8][a3][95][f9]U_CELL_PWR: powering on.
[f9][11][ff][c9][b5]b[01][07]\[00][c8]U[0f][00][df][07][12][00][10]-[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]G[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00][e5][c1][95][f9][f9][05][ff][19]
+CREG: 0
Q[f9][f9][11][ff][c9][b5]b[01][07]\[00][b0]Y[0f][00][df][07][12][00][10].[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]H[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00][d3][0e][95][f9][f9][05][ff][1b]
+CEREG: 0
[b2][f9][f9][05][ff][1b]
+CGREG: 0
[b2][f9][f9][05][ff]'
+UUMQTTC: 0,101
[9f][f9][f9][05][ff][1d]
+UUPSDD: 0
V[f9]AT
AT
AT
AT
AT
[f9][11][ff][c9][b5]b[01][07]\[00][98]][0f][00][df][07][12][00][10]/[f0][ff][ff][ff][ff][00][00][00][00][00][00][04][00][00][00][00][00][00][00][00][00][00][00][00][00][98][bd][ff][ff][ff][ff][ff][ff][00]H[85][df][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00] N[00][00][80][a8][12][01][0f]'[00][00][e0]J#[00][00][00][00][00][00][00][00][00][c0],[95][f9]AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
AT
U_CELL_PWR: powering on, module is alive.
ATE0
AT
AT
AT
AT
ATE0
I (72718) cellular: Opened device with return code -257.

Unable to bring up the device!
Done.

Excellent, definitely progress.
Does your HW have a pinEnablePower, i.e. a pin that controls the state of a switch in the VCC supply to SARA-R5?  It is relatively rare for a design to incorporate such a thing but, if you have one, it may simply be a case of getting the sense of that pin the correct way up also.  That pin is assumed to be high for "VCC is supplied to SARA-R5", low for "VCC is not supplied to SARA-R5" and the ORing with U_CELL_PIN_INVERTED has the same effect in the API there also, i.e. if the sense of our switch is low for "VCC is supplied to SARA-R5" and high for "VCC is not supplied to SARA-R5" then you should OR your pinEnablePower with U_CELL_PIN_INVERTED for it to work correctly.
You say "when the device software resets": by that I guess you mean the MCU?  It certainly looks that way from your log since the SARA-R5 module is still as it was, configured in CMUX mode by ubxlib in order to fetch data from the GNSS device, while the ubxlib code on the MCU is completely unaware of this (i.e. has been reset) and is trying to send AT commands to a SARA-R5 in the normal way, i.e. without CMUX; the two are completely out of synch.
You need to be sure, somehow, that the two are coordinated: if the MCU is to be reset then uNeworkInterfaceDown() and uDeviceClose() must be called to take the SARA-R5 down in an organised way so that the module is returned to a quiescent state.  That or, when the MCU is reset, the module must also be reset, but I would warn against resetting a module in that way: in the extreme it can lead to flash corruption; I have seen this happen only twice in four years of running constant testing of ubxlib code on many, many, SARA-R5 modules, but it can happen and hence our SARA-R5 integration manual advises against it.

Thanks for the diagnosis. I think you're spot on.
For the pinEnablePower, I had originally thought that this was meant to control the RESET_N pin on the SARA-R5. It sounds like it is supposed to be a switch controlling VCC to the modem, which I don't have.
You are correct about the "software resets". I am talking about the MCU resetting. I've now tested with the following function to attempt a more graceful reset for the modem.
void restart_system(void)
{
    uMqttClientClose(pContext);
    uNetworkInterfaceDown(devHandle, U_NETWORK_TYPE_GNSS);
    uNetworkInterfaceDown(devHandle, U_NETWORK_TYPE_CELL);
    uDeviceClose(devHandle, true);
    vTaskDelay(pdMS_TO_TICKS(100));
    esp_restart();
}

Now, tell me if there's something wrong here, but when I call this function after all networks are up and running, I get the following assertion.
Assertion

+UUMQTTC: 9,1
AT

OK
U_CELL_MQTT: trying to disconnect...
AT+UMQTTC=0

OK
U_CELL_MQTT: waiting for response for up to 120 second(s)...

+UUMQTTC: 0,1
U_CELL_MQTT: disconnected after 1 second(s).
AT+UGPS?

+UGPS: 1,15,99

OK
AT+UGPS=0

OK
U_GNSS: sent command b5 62 06 01 08 00 01 07 00 00 00 00 00 00 17 dc.
U_GNSS: sent command b5 62 06 01 08 00 01 07 00 00 00 00 00 00 17 dc.
U_GNSS: sent command b5 62 06 01 08 00 01 07 00 00 00 00 00 00 17 dc.
AT+UPSV=1,1300

OK

assert failed: 0x401eca55
0x401eca55: xTaskPriorityDisinherit at C:/Espressif/frameworks/esp-idf-v5.2.1/components/freertos/FreeRTOS-Kernel/tasks.c:5073 (discriminator 1)

So I believe it's only executing uNetworkInterfaceDown(devHandle, U_NETWORK_TYPE_GNSS);, then crashing and resetting. After the reset though, the modem powers up correctly the first time. So again, progress, but something's not quite right. I've included most of the stack trace below. From what I can tell, the assertion is originating from FreeRTOS, but I believe it's due to something in ubxlib. It's definitely possible that something else in my firmware is causing the crash, so let me know what you think.
Stack Trace

0x400812e2: panic_abort at C:/Espressif/frameworks/esp-idf-v5.2.1/components/esp_system/panic.c:472
0x40093149: esp_system_abort at C:/Espressif/frameworks/esp-idf-v5.2.1/components/esp_system/port/esp_system_chip.c:93
0x40098b8f: __assert_func at C:/Espressif/frameworks/esp-idf-v5.2.1/components/newlib/assert.c:40
0x401eca4d: xTaskPriorityDisinherit at C:/Espressif/frameworks/esp-idf-v5.2.1/components/freertos/FreeRTOS-Kernel/tasks.c:5073 (discriminator 1)
0x400937d1: prvCopyDataToQueue at C:/Espressif/frameworks/esp-idf-v5.2.1/components/freertos/FreeRTOS-Kernel/queue.c:2469
0x401eae65: xQueueGenericSend at C:/Espressif/frameworks/esp-idf-v5.2.1/components/freertos/FreeRTOS-Kernel/queue.c:964
0x4011e865: uPortMutexUnlock at C:/Users/Wyatt/Repos/ubxlib/port/platform/esp-idf/src/u_port_os.c:448
0x4011f3dc: unlockNoDataCheck at C:/Users/Wyatt/Repos/ubxlib/common/at_client/src/u_at_client.c:2506
0x40121032: uAtClientUnlock at C:/Users/Wyatt/Repos/ubxlib/common/at_client/src/u_at_client.c:3322
0x4012a9ec: uCellMuxPrivateDisable at C:/Users/Wyatt/Repos/ubxlib/cell/src/u_cell_mux.c:1903
0x4012afbf: uCellMuxDisable at C:/Users/Wyatt/Repos/ubxlib/cell/src/u_cell_mux.c:2117
0x4011defe: setGnssNetworkContext at C:/Users/Wyatt/Repos/ubxlib/common/network/src/u_network_private_gnss.c:119
0x4011e00d: uNetworkPrivateChangeStateGnss at C:/Users/Wyatt/Repos/ubxlib/common/network/src/u_network_private_gnss.c:344
0x4011a385: networkInterfaceChangeState at C:/Users/Wyatt/Repos/ubxlib/common/network/src/u_network.c:103
0x4011a598: uNetworkInterfaceDown at C:/Users/Wyatt/Repos/ubxlib/common/network/src/u_network.c:279
0x400db27a: restart_system at ...
0x400d9fcc: jsonMessageHandler at ...
0x400db0d4: mqttRxCellular_task at ...

Interesting.  The assert seems to be line 5073:
https://github.com/espressif/esp-idf/blob/a322e6bdad4b6675d4597fb2722eea2851ba88cb/components/freertos/FreeRTOS-Kernel/tasks.c#L5069-L5073
...which I believe is complaining that a mutex is being unlocked by a task that does not hold it.  From your call-tree, this seems to be occurring when uNetworkInterfaceDown(devHandle, U_NETWORK_TYPE_GNSS) is called; taking the GNSS network interface down when the GNSS device is inside a cellular module will switch out of CMUX mode, which is what we see in the call-tree.
A little earlier, when you called uNetworkInterfaceUp() for U_NETWORK_TYPE_GNSS on the cellular device, the CMUX was brought up and a new AT client was brought into existence to be run on the CMUXed AT channel.  All of the configuration of the existing AT client was copied into the new AT client and the previous AT client was left there and left locked (i.e. uAtClientLock() was left called on it) so that we notice if something decides to use it by mistake.  When CMUX is taken down the process is reversed and the old AT client is unlocked to become active again, which is what is happening in your call-trace.
So the implication is that, somehow, a different task is calling uNetworkInterfaceDown() to the one that called uNetworkInterfaceUp().  Is that a possible scenario in your application?  If so it is not necessarily a wrong thing to do, just not something we had anticipated.  Would need to think of the correct fix.

Once again, I believe you are spot on. In my case, uNetworkInterfaceUp() is called from an init function in main, which then creates a task (mqttRxCellular_task) to watch for incoming messages after the network is up. To trigger a reboot, I send a message which is received by mqttRxCellular_task where my restart_system() function is called.
I think I could probably change this to work more like the MQTT client example where the entire init function is its own task and handles the messages there. If you think that's better practice, I'll make the switch.

If you think that's better practice, I'll make the switch.

Not necessarily better practice but on the other hand, if you are able to do so, it would be a fix under your control :-).
I will have a think about the problem; thing is that, should something accidentally call the wrong AT client, I'm not sure what would happen so I quite like the idea of leaving it locked.  On the other hand there is no reason for the ubxlib code to place a restriction on where uNetworkInterfaceUp() or uNetworkInterfaceDown() are called from.  In fact, the ubxlib code hasn't, FreeRTOS has, but I guess that's because the way we are using the mutex in this particular scenario stretches FreeRTOS's expectations of how a mutex will be used to breaking point.
For now I will add a note to the descriptions of uNetworkInterfaceUp() and uNetworkInterfaceDown() pointing out the problem and I'll raise an internal ticket to see if we can't find a way of fixing it properly.

Sounds good. I should be able to get switched over, and once I test that I will close this issue. Thank you again for all your help! 😁

Just to note, we have a Cellular Tracker application written with UBXLIB here:
https://github.com/u-blox/ubxlib_evk_applications/tree/main
With this application we start multiple threads to look after the cellular connection and the MQTT messaging and the other application tasks.  All application 'tasks' use a queue to communicate to and the main() function just starts those tasks up.
It might give you some hints on how to use multiple tasks/threads for the various cellular controls you need.
You can compile this for linux or windows and it runs against an EVK.

Just to note, we have a Cellular Tracker application written with UBXLIB here: https://github.com/u-blox/ubxlib_evk_applications/tree/main
With this application we start multiple threads to look after the cellular connection and the MQTT messaging and the other application tasks. All application 'tasks' use a queue to communicate to and the main() function just starts those tasks up.
It might give you some hints on how to use multiple tasks/threads for the various cellular controls you need.
You can compile this for linux or windows and it runs against an EVK.

Thanks for the tip! Is the repo private? I'm getting a 404.

Sorry - I thought this was public, changed now to public.


define_from_scope

ppx define_from_scope to handle a pattern I've seen before.
let x = ...
let y = ...
let z = ...

module T = struct
  [%%define_from_scope x,y, z]
end

Functor (T)

Applied at one place in the code as an example.
This ppx originated in #3692, but it's not the right solution there, and will be removed once the right solution is in place.

if it’s only used instead of include T

Right, the alternative is:
module T = struct
   ...
end

include T

Functor (T)

I can live with that.


WinUI3 preview 3 - Window cannot be moved if content is moved into the titlebar when running unpackaged

Describe the bug
When running as an unpackaged app, a window with the ExtendsContentIntoTitleBar property set to true cannot be moved when dragging the element set via SetTitleBar(). Running the same app in packaged mode works fine.
Steps to reproduce the bug

Create a new packaged c# WinUI app
Set ExtendsContentIntoTitleBar to true and define a titlebar UI element with SetTitleBar()
Observe that the window can be moved by dragging the titlebar element
Transform the application into an unpackaged app
Moving the window is now no longer possible

Expected behavior
Window should be movable
Screenshots
No response
NuGet package version
No response
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
No response

not a dupe. I will try repro it as unpackaged app

Same problem.

@pratikone I am also having the same problem. Do you have any way to solve this?

The workaround from https://github.com/microsoft/WindowsAppSDK/issues/1815 also fixes this issue.

Seems to be fixed in 1.0.1


VideoPlayer css not exported correctly

Overview
Currently the CSS files are not being bundled, and there is no documentation on what additional imports you need to perform to have the correct styling
Expected behavior
Expected to be able to utilize VideoPlayer as documented, and have it correctly styled.

This should be resolved.


Header Search

Solves: https://github.com/franksparks/BookJourney/issues/10

Summary
In this PR we are implementing the header search box, currently:

Performs a search each time that you input a letter
Displays the first 5 results
Displays See all results at the end

What it has not been developed yet:

No action has been developed yet for when a user clicks in one of the options, so currently, clicking an option it will perform an extra search with the selected book, this works like this since is the default behaviour of the used component.

Implementation
To implement the search bar, it has been used the MUI autocomplete with some modifications to make it behave and look as we expect.

The built-int filtering has been disabled
The popup icon has been removed
We use the input change to perform a query to the googlebooks api
We just open the dropdown with the options when the user has at least entered one character and there are books available in the response
We have disabled all the animations

In this implementation we are using two different states:

options, where we'll store the results of the api call to be displayed
inputValue, the string/characters typed in the input (the user query)

Each time there is a change in the input, we use the entered query to execute a query to googleBooks with the enterered value and we modify it to comply with the format the component is expecting to be able to display it.
To improve
As currently we are querying the API as we write, there is a bit ugliness in the way we are displaying the results, because even when you stop typing you can see how these might change.
In order to improve it, once we have the core components ready, it will be nice to follow-up this and use debounce to fix it.

With 100% zoom, "See all results" link is not visible.

Should "Powered by Google" message be displayed?

Successive searches mixes the results

Search 1 - "Ubik" - 5 results displayed
Search 2 - "Liu" - 8 results displayed (3 of the first search and 5 from the current one)

With 100% zoom, "See all results" link is not visible.

I see that the scroll bar appears in the screenshot, did you scrolled to the bottom of the results and the See all results was not present?

Should "Powered by Google" message be displayed?

I forget to add that point on the PR, that is something I want to talk with the team since with the current design, the powered by google is not looking good/

Successive searches mixes the results
Search 1 - "Ubik" - 5 results displayed
Search 2 - "Liu" - 8 results displayed (3 of the first search and 5 from the current one)

I would love to test that with you, I entered different values during the development and I didn't find anything weird.

This error appeared on Console:

That error is the ones that appears when you delete all the the entered query, this is because as the way the component works, each input is used as query, as when deleting is an empty one, there is no result resulting on that mapping error.
I'll try to fix it :)


WIP To discuss changes

Contrail/Tungsten Fabric does not accept GitHub pull requests. All changes should be submitted via the Gerrit code review tool. If you're not familiar with Gerrit, take a look at section 4 of https://github.com/tungstenfabric/docs/blob/master/Contributor/GettingStarted/getting-started-with-opencontrail-development.md for more info.
The key points are that you need to login to https://review.opencontrail.org with an Ubuntu One account in order to establish your SSH public key. You need to clone the repos from Gerrit rather than (or in addition to) GitHub (or manually add an additional remote to an existing repo rather than cloning if you prefer). And you need to install and use the "git review" extension to Git in order to push changes to Gerrit.


HuggingFace Mixtral 8x7B response length is capped at 20 characters

HuggingFace Mixtral 8x7B response length is capped at 20 characters. The settings override within an AIConfig is not propagating through.

https://github.com/huggingface/transformers/blob/14666775a296a76c88e1aa686a9547f393d322e2/src/transformers/models/mixtral/configuration_mixtral.py#L42
Let's make sure these settings are propagated and take effect. Cc @Ankush-lastmile

Let's make sure these settings are propagated and take effect

The link you posted uses transformers. The core model parser for aiconfig python sdk uses HuggingFace Inference endpoint. They have slightly different apis and we're making a demo with the inference endpoint.
I don't have the context on this but using this This would probably entail the Transformers extension cc: @rossdanlm
also loading in that model would probably be cumbersom

User Error. Global settings don't need to have a 'settings' attribute defined


Cannot find "./vendor/autoload.php" on line 17

Sorry for the trouble, this is the 3rd time I have tried loading on 2 ubuntu and 1 CentOS.
After doing all the install steps I get this error:
PHP Fatal error: require():  Failed opening required '/root/koel/bootstrap/ ../vendor/autoload.php' in /root/koel/bootstrap/autoload.php on line 17
I have been to Laravel's and Composer's installation sites to see if I can find what I am doing wrong. I see it referenced, then just says to re-run "composer install" in the app's directory.. so i do.
I can start over with a different distro if that is what you recommend.
Ubuntu <IP_ADDRESS>
MySQL 5.7.17-0
PHP Version 7.0.15-0
Apache/2.4.18
I will pay a few bucks in bitcoin for an assist.

Looks like a file permission issue to me. Are you installing as root?

Yes, i installed as root... once changed permissions AND installed php-curl extension (missed that error message earlier) it worked! Still cannot access the web GUI because 8000 is blocked... I'll work on that later. Thanks for your help! How about $5 in bitcoin for the assist. Just paste your address below.

Glad it works! And never mind the bitcoin (I don't use it anyway). If you
really enjoy Koel, though, may I suggest becoming a patron for Vue (the
excellent framework Koel is built on) here instead?
https://www.patreon.com/evanyou. Thanks!
On Tuesday, February 28, 2017, alsundma<EMAIL_ADDRESS>wrote:

Yes, i installed as root... once changed permissions AND installed
php-curl extension (missed that error message earlier) it worked! Still
cannot access the web GUI because 8000 is blocked... I'll work on that
later. Thanks for your help! How about $5 in bitcoin for the assist. Just
paste your address below.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/phanan/koel/issues/546#issuecomment-282780766, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHrt0ke7a1IjtEoPMNBzwuSFP_muSzHgks5rgwDagaJpZM4MMMtg
.

Thanks, Phanan! Once I get it up and running I'll be happy to contribute.


feat: test issueops create rc command

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

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

/help

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc

/create-rc


Newly created conda and Poetry generated venv not found

Environment data

VS Code version: 1.42
Extension version (available under the Extensions sidebar): 2020.2.64397
OS and version: macOS Mojave 10.14.6
Python version (& distribution if applicable, e.g. Anaconda): anaconda / Python 3.7.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda and poetry virtualenv
Relevant/affected Python-related VS Code extensions and their versions: Python 3.7
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi enabled
Value of the python.languageServer setting: Microsoft

Expected behaviour
After creating a new virtual environment through Conda or Poetry I should be able to select this as the Python interpreter for the project. So VSCode should be able to find it automatically and provide it as an option:

Actual behaviour
I have been having problems selecting the Python interpreter whenever I create a new environment either using Conda or Poetry. The environment is not available to choose as an interpreter (see image above).
Sometimes this appears after restarting VSCode but not every time despite me having set my settings accordingly.

I have even  set the python.pythonPath to point manually to the venv created.
For reference:

Also other folks have been finding this rather frustrating: https://twitter.com/story645/status/1220450768383332353
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create new env using poetry install
In VSCode > Select Python interpreter
Reload Window in VS Code

I have not managed to get my Poetry venvs working at all

Notes for anyone looking into this issue, poetry env are not yet supported #8372. We need to investigate the conda env discovery.

need to investigate the conda env discovery.

Dup of existing issue, can't remember number. Basically you need to reload VSCode to refresh the list of interprets. There's an issue for that, created by @ericsnowcurrently

I suspect we may have missed adding ~/.conda/environments.txt to file system watcher. If we do add that then we should remove the task to eliminate CondaFileEnvService. There are two reasons now to preserve it (the other reason being: On mac we sometimes cant find path to conda binary and realy on environments.txt). Until we get the regular env detection to work correctly.

@DonJayamanne this: https://github.com/microsoft/vscode-python/issues/2640 ?

suspect we may have missed adding ~/.conda/environments.txt to file system watcher.

Vsc doesn't support watching files outside the workspace.
Also doing this ourselves is not advisable, as there are tonnes of issues (cross play, CPU, etc), after all vsc doesn't support it for a reason.

DonJayamanne this: #2640 ?

Yes

Closing it as duplicate of #2640 and #8372.


fix Fix blocked tasks if query is canceled before openning

Proposed changes
Issue Number: close #xxx

run buildall


getmap is trying to load nonexistence local map

If you try to load a sent map on a server which has already set the name of the map it will try to load the local version of this map insted of the server version (even if the map name is getmap_xyz).
A temporary workaround for this bug is sending  the map, starting a new map and then getting the map. This has to be done everytime someone new joins the game as he doesn't have the local version of this map and the mapname will be set to getmap_xyz after sentmap.
This most likely works because after starting a new map the name of the map is not set and so it won't look for a nonexistence local version of this map, but instead it will ask the server for the newest version. (At least that's my guess)

Confirmed.
Thanks for your support!

@SetZero Should be fixed now. Happy editing, if you run into further problems let us know please :)


Fix: Ensure route.children existence before accessing in initRouter()

In the initRouter() function, added a check to ensure the existence of route.children before accessing it. This prevents the "TypeError: Cannot read properties of undefined" error that occurred when trying to access route.children[0] without confirming its existence. The check ensures that route.children is present and not an empty array before proceeding to access its elements.

New Fix:
Ensure that serverConfig.json is fetched consistently from the root directory regardless of the nested route level. Adjusted the axios request to use an absolute path, specifically targeting the serverConfig.json file in the root directory. This resolves the issue where serverConfig.json was being requested relative to the current route, leading to inconsistencies when navigating across nested routes.


TodoMVC doesn't clear input on enter

This looks like a general problem, as it affects the quickstart as well, as pointed out here: https://groups.google.com/forum/#!topic/eve-talk/5Ve8x0vOlV0


[test] Migrate Slide to react-testing-library

[X] I have followed (at least) the PR section of the contributing guide.

#22911

@eladmotola Thanks!


Release a new version

There a some changes in main that are not released.
Could you release a new version? :pray:

@Nyholm

Ping @stloyd. You merged most of the new PRs. Do you want to take care of next release?

Just released 5.1.0: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/releases/tag/5.1.0


Split E2E test

jira: https://issues.redhat.com/browse/OSSM-6091
We need to split the E2E test in different suite to avoid dependencies between the test, with this split we will be able to expand the test coverage by not depending of previous nodes execution

Hi @fjglira. Thanks for your PR.
I'm waiting for a istio-ecosystem or istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test


Wrapper/ get

Documentation Feedback
This is the example from the docs.
expect(() => wrapper.get('.does-not-exist'))
  .to.throw()
  .with.property(
    'message',
    'Unable to find .does-not-exist within:
the actual DOM here...
'
  )

I cannot figure out what
.to.throw()
 .with.property(

bit does. Can there be an explanation or perhaps the example should be fixed?
Affected documentation page: https://vue-test-utils.vuejs.org/api/wrapper/#get

Hi! 👋  get throws an error if nothing matching the given selector is found, so the snippet you highlighted asserts that wrapper.get('.does-not-exist') throws an error with the message 'Unable to find .does-not-exist within: ...'
If you're using Jest, the syntax would be expect(() => wrapper.get('.does-not-exist')).toThrow('Unable to find .does-not-exist within ...').
Hope it helps!


Data gets lost when app closed on Android

Tutorial launched on each app startup and progress data empty on each app startup.
v1.0.3 via fdroid.

Hi @dmos62 thank you for the report. I found the issue and fixed it now for v1.0.5 :smile:


Automate updates on Tableau dashboard

The idea to have Tableau dashboard has been discontinued in favor of the streamlit app.


Test different compiler versions in CI

This PR enables testing with different compiler versions in CI.
We test from versions 5 up to 16, excluding the versions which are not supported in the running JVM for each job.
Requires https://github.com/STAMP-project/test-runner/pull/106.

This results in a lot of combinations (hence the 144 jobs), but I think it is nice that we test all compiler versions.
If we need to reduce it later on, we can focus on the most common ones/the ones that introduce the most changes.

This results in a lot of combinations (hence the 144 jobs), but I think it is nice that we test all compiler versions.

That's nice.
It seems perfect for me. Merged!


Add IES Santa Aurelia

@Jojo1542 Thank you for your patience while waiting for a review and processing your request.
Pull request merged. Thank you!


Unsupported objectType

Hello together,
I'm using the library for my Flutter app. I saved a [Double] with iOS as an plist00 in Core Data.
Now I try to receive this data in my Flutter app.
String.fromCharCodes(tableColumn) gives me the following:
bplist00Ô\^A\^B\^C\^D\^E\^F\^G X$versionY$archiverT$topX$objects\^R
As far as I can see I have a valid plist00, therefore the processing is running fine. I'm doing it with:
Uint8List columnData = Uint8List.fromList(element["ZSHOOTS"]); var bytes = ByteData.sublistView(columnData); PropertyListSerialization.propertyListWithData(bytes) as List;
At some point I'm getting the following error:
error PropertyListReadStreamException: Unsupported operation: Unsupported plist objectType 8
While debugging I noticed in the binarypropertylistreader.dart file, that there is no case for 8.
It goes until 6 and continues with A. Is there a reason for this?
The dict variable in line 126 contains 2 entries before the crash
0: "$version" -> 100000
1: "$archiver" -> "NSKeyedArchiver"
I assume the problem is the ** topX** part?
Thanks!

My binary .plist file ist the following. Its archived as a zip. Please export it first.
test.plist.zip
.

Hi, the test.plist.zip above is a textual plist. When I unzipped I have the following:

$archiver
NSKeyedArchiver
$objects

$null

$class

CF$UID
4

NS.objects

CF$UID
2

CF$UID
3

15
16

$classes

NSArray
NSObject

$classname
NSArray

$top

root

CF$UID
1

$version
100000

Ah my apologies dragging into my text editor automatically converted it into textual format. I'll take a look at the issue now.
Thanks.

It appears you're attempting to deserialize a NSKeyedArchiver, which is a superset of a property list, as property lists don't have encodings for NSSet, NSOrderedSet, NSUUID and NSURL. I don't currently have any plans to extend the dart-propertylistserialization library to support these additional NSKeyedArchiver object types.
Suggested workaround
Use the iOS native property list serialization APIs to convert from binary to XML format (e.g. this will convert the binary NSUUID data type to an XML integer stored in a dictionary under the key "CF$UID"), then pass the XML to flutter, at which point you could successfully parse the XML using the dart-propertylistserialization library.
Thanks.

Hi Alienuser.
I've taken a look at what's required to support the NSKeyedArchiver CF$UID (type 0x8), and it only turned out to be a few lines of code + unit test. I will only support reading binary plist's for now, and it would allow you to read the attached test.plist file without issues.
Is this all you need? If so I'll package it up and publish.

Hi electricbolt, that sounds nice. Thank you very much!

Hi @Alienuser. I've just published 1.2.0 to pub.dev. To enable parsing of CF$UID constructs add the keyedArchive parameter:
var graph = PropertyListSerialization.propertyListWithData(bytes, keyedArchive: true) as List;
Thanks.


Non orographic gw parameterization for GCM configurations

Purpose
This PR integrates GW parameterization with GCM configuration, and adds an example into buildkite.
Differences in its integration into single column (as described in the paper) vs gcm (as in GFDL codes) configurations:

source level identification: fixed height in single column vs fixed pressure in gcm;
source amplitude: fixed number in single column vs latitude dependency in gcm.

These differences require different cache variables and forcing computations for the two setups.
Closes #783

What's the difference between the sphere and column gravity wave parameterizations?

Would it be easier to revisit this after revisiting the existing GWP first?

This looks great, @jiahe23 ! When comparing the sponge vs GW cases in Buildkite, I guess the difference is what we would expect? A slightly less damped but stable run. So without the GW (or sponge) the same setup blows up?

The two links do not seem to work ... I added it into the short ci runs to make sure the functionality works. We will need to add a longrun experiment to see if it stables the longrun (hundreds of days at least)

This looks great, @jiahe23 ! When comparing the sponge vs GW cases in Buildkite, I guess the difference is what we would expect? A slightly less damped but stable run. So without the GW (or sponge) the same setup blows up?

The two links do not seem to work ... I added it into the short ci runs to make sure the functionality works. We will need to add a longrun experiment to see if it stables the longrun (hundreds of days at least)

Ahh, I was just linking the u plots of the sponge and GW runs on Buildkite. So if we don't have a physical validation case, it would be better to compare this run with a control run (i.e., hightop with no sponge). Otherwise it's difficult to see what difference it makes. :)

bors try

bors try

bors try-

bors try

bors r+

bors r-

bors r+


[turborepo] Unable to find Go binary - go-turbo-bin is missing

What version of Turborepo are you using?
1.10.12
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
Upgrading from 1.10.7 to 1.10.12 running git clean -Xdfq && npm i && turbo run compile --cache-dir=.turbo -- --force I get the following error:
> compile
> turbo run compile --cache-dir=.turbo --force

ERROR Unable to find Go binary. Please report this issue at https://github.com/vercel/turbo/issues and include your package manager and version along with the following information:
        os=macos
        arch=x86_64
        turbo-version=1.10.12
        turbo-bin=<path to my project>/node_modules/turbo/bin/downloaded-turbo-darwin-64-turbo
        go-turbo-bin=<path to my project>/node_modules/turbo/bin/go-turbo

I checked the files referenced for turbo-bin and go-turbo-bin. The former is a huge binary file, later (go-turbo-bin) does not exist.
I use npm v9.8.1. Removing node_modules does not help.
Expected Behavior
The go-turbo-bin file should be there. It should be possible to compile the project.
To Reproduce
See bug description.
Reproduction Repo
No response

I'm running into this in GitHub actions as well. It runs fine locally on my project.
turbo: v1.10.12
node: v20.5.0
npm: 9.8.0
npm run lint:check
  shell: /usr/bin/bash -e {0}

> lint:check
> turbo lint:check

ERROR Unable to find Go binary. Please report this issue at https://github.com/vercel/turbo/issues and include your package manager and version along with the following information:
        os=linux
        arch=x86_64
        turbo-version=1.10.12
        turbo-bin=/home/runner/work/monorepo/monorepo/node_modules/turbo/bin/downloaded-turbo-linux-64-turbo
        go-turbo-bin=/home/runner/work/monorepo/monorepo/node_modules/turbo/bin/go-turbo

Error: Failed to execute turbo (Unable to locate Go binary).
Error: Process completed with exit code 1.

@saraC15 I downgraded and version locked to 1.10.11 and it's going through now, as a temporary fix.

Hi @saraC15, @cassiecascade, thanks for the issue. When you run npm install, do you see the following message?

[turbo] Failed to find package "turbo-darwin-arm64" on the file system

This can happen if you use the "--no-optional" flag. The "optionalDependencies"
package.json feature is used by turbo to install the correct binary executable
for your current platform. This install script will now attempt to work around
this. If that fails, you need to remove the "--no-optional" flag to use turbo.

It appears that for some reason npm is not installing the correct package, so our install script is falling back to manually downloading the package. This should work, but it is less reliable than having npm install the package.

I went back through the failed action runs and tried this again locally and that message didn't appear in either (or one like it for linux). It seems to happen only on 1.10.12 still and only when using it in the docker build pipeline we have setup; using node:20-alpine. We also don't use the --no-optional flag. I -can- run everything fine on my Mac, but when I try to build the container either locally or on a remote host (GitHub or fly) it fails.
I don't know if any of that is helpful in debugging, if this is even something that's fixable (it may be a transient issue?) but I hope it is! Optional dependencies for architecture is awesome but I have experience with it being finicky at times so I understand. Thanks for responding~

Thanks Cassidy! 1.10.11 works for me as well :)
Hi Nicholas, I don't get that error message. (If it's to any help - I have gotten it for a previous version but it was fixed by fixing my package-lock.json. Was not using the no-optional flag).
For me it fails on my local machine, but succeeds in the pipeline running Ubuntu and node 16, npm 8.19.4.
Let me know if there is anything else you need :)

FWIW (not sure if further instances are helpful) I received this issue on Vercel after upgrading from 1.10.11 to 1.10.12 and it goes away after locking back at 1.10.11.
ERROR Unable to find Go binary. Please report this issue at https://github.com/vercel/turbo/issues and include your package manager and version along with the following information:
--
os=linux
arch=x86_64
turbo-version=1.10.12
turbo-bin=/vercel/path0/node_modules/turbo/bin/downloaded-turbo-linux-64-turbo
go-turbo-bin=/vercel/path0/node_modules/turbo/bin/go-turbo

Error: Failed to execute turbo (Unable to locate Go binary).
Error: Command "NODE_ENV=production turbo run build" exited with 1

Did not seem to get this error locally (macbook pro) oddly.

If anyone encountering this issue could include their package-lock.json that could be helpful.

For anyone encountering this issue it most likely stems from a bad package-lock.json that is missing the optionalDependencies.
To properly generate a new lockfile:

rm -rf node_modules && rm package-lock.json
bump the version of turbo in package.json
npm install

If the new package-lock.json is generated with an existing node_modules then npm will create a lockfile that only contains the optionalDependencies that are present in node_modules. This means that if you create a lockfile on a Mac and then try to use it on a Linux machine the Linux package won't be present and won't get installed.

FYI, I just got this error on a completely fresh create-turbo dir.
$ pnpm dlx create-turbo@latest
../Library/pnpm/store/v3/tmp/dlx-78065   | +116 ++++++++++++
../Library/pnpm/store/v3/tmp/dlx-78065   | Progress: resolved 116, reused 0, downloaded 116, added 116, done

>>> TURBOREPO

>>> Welcome to Turborepo! Let's get you set up with a new codebase.

? Where would you like to create your turborepo? mono
? Which package manager do you want to use? pnpm

Downloading files. This might take a moment.

>>> Created a new Turborepo with the following:

apps
 - apps/docs
 - apps/web
packages
 - packages/eslint-config-custom
 - packages/tsconfig
 - packages/ui

Installing packages. This might take a couple of minutes.

>>> Success! Created a new Turborepo at "mono".
Inside that directory, you can run several commands:

  pnpm run build
     Build all apps and packages

  pnpm run dev
     Develop all apps and packages

  pnpm run lint
     Lint all apps and packages

Turborepo will cache locally by default. For an additional
speed boost, enable Remote Caching with Vercel by
entering the following command:

  pnpm dlx turbo login

We suggest that you begin by typing:

  cd mono
  pnpm dlx turbo login

$ cd mono
$ pnpm run build

> mono@ build /Users/waltersmith/src/mono
> turbo run build

ERROR Unable to find Go binary. Please report this issue at https://github.com/vercel/turbo/issues and include your package manager and version along with the following information:
        os=macos
        arch=aarch64
        turbo-version=1.10.12
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Error: Failed to execute turbo (Unable to locate Go binary).
 ELIFECYCLE  Command failed with exit code 1.
$ ls<EMAIL_ADDRESS>downloaded-turbo-darwin-arm64-turbo* npm-install/                         turbo*

$ pnpm exec turbo --verbosity 9 run build
2023-08-08T19:13:33.006-0700 [DEBUG] turborepo_lib::shim: Global turbo version: 1.10.12
2023-08-08T19:13:33.007-0700 [DEBUG] turborepo_lib::shim: No local turbo binary found at: /Users/waltersmith/src/mono/node_modules/turbo-darwin-arm64/bin/turbo
2023-08-08T19:13:33.007-0700 [DEBUG] turborepo_lib::shim: No local turbo binary found at: /Users/waltersmith/src/mono/node_modules/turbo/node_modules/turbo-darwin-arm64/bin/turbo
2023-08-08T19:13:33.007-0700 [DEBUG] turborepo_lib::shim: No local turbo binary found at<EMAIL_ADDRESS>...
$ ls node_modules/turbo-darwin-arm64/bin
ls: node_modules/turbo-darwin-arm64/bin: No such file or directory
$ ls node_modules/turbo/node_modules/turbo-darwin-arm64/bin
ls: node_modules/turbo/node_modules/turbo-darwin-arm64/bin: No such file or directory
$ ls<EMAIL_ADDRESS>$

I tried going back to 1.10.1 and upgrading one minor version at a time. It started acting weird around 1.10.5. I get an install error, then if I pnpm prune and try again, it succeeds. It wasn't always able to actually run turbo, getting the "unable to locate Go binary" error again, but for no apparent reason it then started working all the way up to 1.10.10.
$ pnpm install -w<EMAIL_ADDRESS>Packages: +2 -2
++--
Progress: resolved 448, reused 435, downloaded 0, added 0, done
<EMAIL_ADDRESS>Running postinstall script, failed in 568ms
<EMAIL_ADDRESS>postinstall$ node install.js
│ [turbo] Failed to find package "turbo-darwin-arm64" on the file system
│ This can happen if you use the "--no-optional" flag. The "optionalDependencies"
│ package.json feature is used by turbo to install the correct binary executable
│ for your current platform. This install script will now attempt to work around
│ this. If that fails, you need to remove the "--no-optional" flag to use turbo.
│ [turbo] Trying to install package "turbo-darwin-arm64" using npm
│ [turbo] Failed to install package "turbo-darwin-arm64" using npm: EEXIST: file already exists, mkdir '/Users/waltersmith/src/mono/node_mo…
│ [turbo] Trying to download "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.10.5.tgz"
│ [turbo] Failed to download "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.10.5.tgz": Could not find "package/bin/t…
│ /Users/waltersmith/src/mono/node_modules/.pnpm/turbo@1.10.5/node_modules/turbo/install.js:302
│         throw new Error(`Failed to install package "${pkg}"`);
│               ^
│ Error: Failed to install package "turbo-darwin-arm64"
│     at checkAndPreparePackage (/Users/waltersmith/src/mono/node_modules/.pnpm/turbo@1.10.5/node_modules/turbo/install.js:302:15)
│     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
│ Node.js v20.3.1
└─ Failed in 568ms at<EMAIL_ADDRESS> ELIFECYCLE  Command failed with exit code 1.
~/s/mono (main|✚2) [1]$ pnpm prune
Lockfile is up to date, resolution step is skipped
Already up to date

devDependencies:
+ turbo 1.10.4
~/s/mono (main|✚2) $ pnpm install -w<EMAIL_ADDRESS>Packages: +2 -2
++--
Progress: resolved 448, reused 435, downloaded 0, added 2, done
<EMAIL_ADDRESS>Running postinstall script, done in 185ms

devDependencies:
- turbo 1.10.4
+ turbo 1.10.5 (1.10.12 is available)

Done in 1.9s
~/s/mono (main|✚2) $ pnpm exec turbo run build
[works]

I got this interesting message when I tried to go back to 1.10.12:
$ pnpm exec turbo run build
/Users/waltersmith/src/mono/node_modules/.pnpm/turbo@1.10.12/node_modules/turbo/bin/turbo:13
    throw e;
    ^

Error:
You installed turbo for another platform than the one you're currently using.
This won't work because turbo is written with native code and needs to
install a platform-specific binary executable.

Specifically the "turbo-darwin-arm64" package is present but this platform
needs the "turbo-darwin-arm64" package instead. ...

@wrs the issue you're reporting is a different issue, related to an arm/x86 thing. Can you open a new issue?

Sure thing! I opened #5692 and deleted my comments above.


fix: add request and response phases to groovy messages

see https://gravitee.atlassian.net/browse/APIM-1630

@a-cordier only master ? No need to apply on previous 4.x env ?


Two mutually-exclusive conditional resources with the same type and name will throw name validation error

Bicep version
v0.2.348-g3c12faa1d2
Describe the bug
Right now, if I have two resources that are conditionally deployed such that they will never be deployed at the same time, they will validate as if they would be deployed together. So if if these two resources have the same type and name, the name duplication validation kicks in and throws an error.
Repro:
param createMode string {
  default: 'GeoRestore'
  allowed: [
    'GeoRestore'
    'Replica'
  ]
}

resource postgres 'microsoft.dbforpostgresql/servers@2017-12-01' = if (createMode == 'GeoRestore') {
  name: 'foo'
  location: 'eastus'
  properties: {
    createMode: 'GeoRestore'
    sourceServerId: '<ID>'

  }
}

resource postgres2 'microsoft.dbforpostgresql/servers@2017-12-01' = if (createMode == 'Replica') {
  name: 'foo'
  location: 'eastus'
  properties: {
    createMode: 'Replica'
    sourceServerId: '<ID>'
  }
}

I'm not sure if this is really a bug, or more a reflection of a gap in bicep. If we had if/else (#1171), I don't think this would be an issue and actually a good thing as it would drive you towards a pit of success.
cc @miqm

Ugh, I wrote that when if's weren't yet implemented...
Question is now how to mitigate it.
My proposal is to warn (or even just notify?) and not throw error when resource have this same name and a condition is applied on the resource.

Ugh, I wrote that when if's weren't yet implemented...
Question is now how to mitigate it.
My proposal is to warn (or even just notify?) and not throw error when resource have this same name and a condition is applied on the resource.

Warning is probably the right answer as long as we only do that when a condition is present and still throw an error when there are no conditions.

ok, I'll handle this shortly, assign this to me please.

At some point in the future, perhaps when we've got more advanced constant folding support, it would be awesome to be able to perform some flow analysis - in the above case, it should be possible to understand programatically that blocks A & B are mutually exclusive.
I think we're a long way off from this currently however, and the current proposal sounds great!

On the other hand, supporting if...elseif...elseif....elseif..........else would allow the user to express their intent regardless of us detecting the expressions are mutually exclusive.

On the other hand, supporting if...elseif...elseif....elseif..........else would allow the user to express their intent regardless of us detecting the expressions are mutually exclusive.

switch perhaps?

yup!

Hmm, we've a problem...
I implemented warning but when I tried to deploy generated template:
param createMode string {
  default: 'v1'
  allowed: [
    'v1'
    'v2'
  ]
}

resource vnet1 'Microsoft.Network/virtualNetworks@2020-06-01' = if (createMode == 'v1') {
  name: 'foo'
  location: 'northeurope'
  properties: {
    addressSpace: {
      addressPrefixes: [
        '<IP_ADDRESS>/24'
      ]
    }
  }
}

resource vnet2 'microsoft.Network/virtualNetworks@2020-06-01' = if (createMode == 'v2') {
  name: 'foo'
  location: 'northeurope'
  properties: {
    addressSpace: {
      addressPrefixes: [
        '<IP_ADDRESS>/24'
      ]
    }
  }
}

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {
    "createMode": {
      "type": "string",
      "defaultValue": "v1",
      "allowedValues": [
        "v1",
        "v2"
      ]
    }
  },
  "functions": [],
  "resources": [
    {
      "condition": "[equals(parameters('createMode'), 'v1')]",
      "type": "Microsoft.Network/virtualNetworks",
      "apiVersion": "2020-06-01",
      "name": "foo",
      "location": "northeurope",
      "properties": {
        "addressSpace": {
          "addressPrefixes": [
            "<IP_ADDRESS>/24"
          ]
        }
      }
    },
    {
      "condition": "[equals(parameters('createMode'), 'v2')]",
      "type": "Microsoft.Network/virtualNetworks",
      "apiVersion": "2020-06-01",
      "name": "foo",
      "location": "northeurope",
      "properties": {
        "addressSpace": {
          "addressPrefixes": [
            "<IP_ADDRESS>/24"
          ]
        }
      }
    }
  ]
}

it failed with error: {"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The resource 'Microsoft.Network/virtualNetworks/foo' at line '16' and column '5' is defined multiple times in a template. Please see https://aka.ms/arm-template/#resources for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":16,"linePosition":5,"path":"properties.template.resources[0]"}}]}}
Seems that conditions are evaluated at deployment stage, while the name checking is on validation stage.
I recently had similar issue that validation was not passing because of missing property value - but I wanted exclude deployment entire resource if property was not set - so I needed to add in the property some dummy value for the case when condition was not met.
It seems like here would be similar case.
To solve it, first option is that developer would need to use interpolation and add some 'inactive' suffix to the name of the resources for the case that is opposite to the resource condition - resource with that name would never be deployed.
Second option is as error message says - use modules.
Either way - it's not a bug. Or more precisely - won't fix (unfortunately).

ah, of course. The deployments engine (quite frustratingly) evaluates the resource even if the condition for deployment is false. We have a work item to stop this from happening. So technically, this was not a bug -- it correctly validated. We will need to revisit this once we have done our side of the work in the Deployments Service. Thanks for doing the investigation and sorry about the goose chase.

For the record, implementation of warning on conditional is on my fork: https://github.com/miqm/bicep/tree/bugfix/duplicate-names-with-conditions-1410 for future pickup.

@alex-frankel - do you have some ETA on the Deployments Service to improve conditionals on ARM side? basically whenever I want to have several resources behind same conditional (i.e. featureEnabled) and they use each other, in each property usage I need to add conditional, and it's frustrating.

The PR is out, but we have some prerequisite work that still needs to be completed. I'd guess ~3 months.

seems like an old thread, however ... just fyi, since I don't think it was mentioned above, current workaround is giving them conditional names of the resources, so they are unique, however when it gets deployed, either way it has the name that you wanted.
resource LBalancerSS 'Microsoft.Network/loadBalancers@2020-07-01' = if ((length(NATRules) != 0)) {
  name: '${Deployment}${((length(NATRules) != 0) ? '-lb' : 'na')}${LB.LBName}'

resource LBalancer 'Microsoft.Network/loadBalancers@2020-07-01' = if (length(NATRules) == 0) {
  name: '${Deployment}${((length(NATRules) == 0) ? '-lb' : 'na')}${LB.LBName}'

Checking in on this one too. As I understand, the conditional statements are ignored until deployment. This make it not possible to use conditional logic to deploy X or Y when X and Y have common elements since both blocks of code are evaluated as if the conditional doesn't exist at all, correct?
I'm running into this with where I want to deploy a series of subnets with optional additional elements based on Booleans.
For example:
@batchSize(1)
resource vnet_subnets_rt 'Microsoft.Network/virtualNetworks/subnets@2021-02-01' = [for subnet in subnets: if (subnet.route_table) {
  name: '${vnet.name}/${subnet.name}'
  properties: {
    addressPrefix: subnet.prefix

    routeTable: {
      id: '${routetable_id_substring}/${subnet.name}-routetable'
    }
  }
}]

@batchSize(1)
resource vnet_subnets 'Microsoft.Network/virtualNetworks/subnets@2021-02-01' = [for subnet in subnets: if (!subnet.route_table) {
  name: '${vnet.name}/${subnet.name}'
  properties: {
    addressPrefix: subnet.prefix
  }
}]

will be evaluated as if the conditionals weren't there, BUT if it were to get to deployment then those same conditionals would do their job, correct?
I know there are different ways to achieve this, but I need this to be able to deal with a variable length array of elements.
Basically, trying to use logic to deploy subnets differently depending on if a route table needs to be associated.
Any updates on when this might be addressed? The workaround will force me to break up my array.

@farroar
Take a look at this.
https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/VNET.bicep
This is the input (subnets):
https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/tenants/AOA/ACU1.T5.parameters.json#L360

@brwilkinson
Thanks for the example, very useful. However, I'm running into an issue because I'd like to have a route table for each subnet. Your example has one global route table that is assigned as needed. The line:
contains(sn, 'Route') && bool(sn.Route) ? RouteTableGlobal : null
I need to find a way to make 'RouteTableGobal' variable based on the subnet. Since the actual variable you define:
var RouteTableGlobal = {
  id: resourceId(Global.HubRGName, 'Microsoft.Network/routeTables/', '${replace(Global.hubVNetName, 'vn', 'rt')}${Domain}${Global.RTName}')
}

is in a dictionary, I don't know how I'd make that variable.
Really appreciate any thoughts you may have, I'll keep on with it.

yes, that makes sense.
In the same file. I do that for the NSG's.
https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/VNET.bicep#L102

@farroar
Right, 😊
did you mean this part? In this part i always have a 1 to 1 map between NSG and subnet, so loop over the same object array, then just attach it by the id, I use a comment to allow multiline, just for formatting.
        "SubnetInfo": [
          {
            "name": "snMT01",
            "prefix": "0/27",
            "NSG": 1,

I like to be able to enable/disable attaching the NSG via the true/false or 0/1 above on each subnet.
        networkSecurityGroup: ! (contains(sn, 'NSG') && bool(sn.NSG)) ? null : /*
        */  {
              id: NSG[index].id
            }

or this part? In this part I merge user rules with default rules..   :)
var subnetInfo = contains(DeploymentInfo, 'subnetInfo') ? DeploymentInfo.subnetInfo : []

var NSGInfo = [for (subnet, index) in subnetInfo: {
  match: ((Global.CN == '.') || contains(Global.CN, subnet.name))
  subnetNSGParam: contains(subnet, 'securityRules') ? subnet.securityRules : []
  subnetNSGDefault: contains(NSGDefault, subnet.name) ? NSGDefault[subnet.name] : []
}]

var NSGDefault = {
  AzureBastionSubnet: [
...

The first part, however VS Code gave me a hard time on the comment line splitting.
I found it interesting that you used the bang (!) to negate the logic so you could place the null in front. Fun code gymnastics to make formatting work.
A lot of what you have working has to do with how you are presenting the variables. I'm finding that I need to spend a lot more time thinking about that with Bicep. I use Terraform and Python a lot and I'm used to that flexibility.
If the API could just be updated to allow additive subnets
https://github.com/Azure/azure-quickstart-templates/issues/2786

any updates on this ?
{
              "type": "Microsoft.KeyVault/vaults",
              "apiVersion": "2016-10-01",
              "condition": "[or(equals(parameters('env'), 'dev'), equals(parameters('env'), 'rec'))]",
              "name": "[variables('billingKeyVaultName')]",
              "location": "[parameters('location')]",
              "properties": {
                "accessPolicies": [
                  {...a...}
              }
}
{
              "type": "Microsoft.KeyVault/vaults",
              "apiVersion": "2016-10-01",
              "condition": "[equals(parameters('env'), 'prd')]",
              "name": "[variables('billingKeyVaultName')]",
              "location": "[parameters('location')]",
              "properties": {
                "accessPolicies": [
                  {...a...}, {...b...}
              }
}

'The resource 'Microsoft.KeyVault/vaults/energy-billing-dev-kv' at line '1' and column '36421' is defined multiple times in a template

Stumbled across this while looking into a linked issue. The ARM engine has been updated to support mutually exclusive resource declarations (the "The resource 'X' ... is defined multiple times in a template" validation error will only be returned if multiple resource declarations with a true condition target the same resource ID), so I think we just need to update the check in Bicep.
Retagging for triage.

Related to #3750


Unable to deploy on MVC

I am trying to draw using SkiaSharp, on the controller so i can return the image.
But i get the error:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
SkiaSharp.SkiaApi.sk_colortype_get_default_8888() +0
SkiaSharp.SKImageInfo..cctor() +7
I have SkiaSharp referenced. And have even tried adding SkiaSharp.Views.Forms
I have also tried setting targets explicitly to x86, or x64, or AnyCPU. But have had no luck.
Its targetting .Net 4.5.2
is MVC just not supported? Surely if its .NET it can do this server side.
    public ActionResult Index()
    {
        SKBitmap bitmap = new SKBitmap(1000, 1000);
        SKCanvas canvas = new SKCanvas(bitmap);

        canvas.Clear();

        SKPaint paint = new SKPaint
        {
            Style = SKPaintStyle.Stroke,
            Color = Color.Red.ToSKColor(),
            StrokeWidth = 25
        };

        canvas.DrawCircle(500, 500, 100, paint);
        paint.Style = SKPaintStyle.Fill;
        paint.Color = SKColors.Blue;
        canvas.DrawCircle(500, 500, 100, paint);

        //ViewBag.Bytes = bitmap.Bytes;
        return View();
    }

Turns out the default it puts in the bin folder is the wrong dll. Overwritting it with the one from the x86 folder fixes the issue.


[FR] Evaluate if the Quantum Intermediate Representation (QIR) could be an alternative to QASM

Meta issue; The Quantum Intermediate Representation (QIR) is, similar to QASM, a standard to describe Quantum Circuits.
Evaluate if there are benefits, or if its even possible to use this representation instead.

The QIR seems more suitable for direct Quantum HW related circuit representations.
There is no clear advantage of using QIR instead of existing QASM representation.


[BUG] ...  adjustable column widths feature disappeared?

i used to be able to adjust the column widths of my budget, but now the columns are fixed and the option to enable it has disappeared from the toolkit menu.

that feature is now supported by YNAB natively. if you're having issues, you should submit a help ticket to them!

If you're looking for adjustable columns in the budget, I've started work on that feature though I'm not sure when it'll be ready for release.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/851 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit 2396f1d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-06-01-02-37-16 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix infinite loop on Windows caused by checking path against "/".

Should fix #694.

I think that it depends on what you are using. Particularly with swift-foundation, it should be /[A-Z]:/, unless you do the correct thing and use withFileSystemRepresentation, in which case it would be [A-Z]:\.


update README image with new logo

Description

Removes the old version of the README image and replaces it with one donning the new Netlify logo ✨
Documentation

Tests

Visit the README file
See the change (updated Netlify logo)

Relevant links (GitHub issues, etc.) or a picture of cute animal

Superseded by v5. (I checked and it has the updated logo.)


[FEATURE] Add a Admin Feature

Problem:
The admin needs to login to the database to delete the spam campgrounds.
Solution:
A feature for the project admin to delete or edit any campground.
Alternatives:
Any other alternatives are also welcomed.
If you're going to work on this issue, create a new issue explaining your changes and mention this issue.

Hi @Vignesh025 I found your issue really interesting and would really like to contribute to it can you pls assign it to me

Hi @ARRY7686 ,
Thank you for your interest in contributing! I appreciate your enthusiasm. However, someone is already currently working on this issue.
I encourage you to check out other open issues in the repository, or feel free to suggest any ideas for new features or improvements.
Looking forward to your contributions!

Hello can I take this up if it is not assigned to anyone rn?

It is assigned
to me
will make the PR by tomorrow

You can reply with:
Hi @Alienimnida ,
Thanks for your interest! This issue is already being worked on by someone else. However, we’d love to hear any other ideas you have or contributions you'd like to make. Feel free to check out other open issues or suggest new ones!
Looking forward to your contributions!

Hi @ARRY7686 ,
As I mentioned earlier, this issue has already been assigned to someone else. Feel free to explore other issues or suggest new ideas. We’d love to see your contributions!


When adding a OneToOneField field, it is not supported during migration.

When adding a OneToOneField field, it is not supported during migration.
I got an error like "OperationalError: (8200, "unsupported add column 'x_id' constraint UNIQUE KEY when altering 'x')".
Is there any elegant solution?
use:
TiDB 7.1.1
Django 4.2.4
django-tidb 4.2

TiDB does not support multiple operations with a single DDL statement, see  MySQL Compatibility - DDL operations
, it is the reason for the error you encountered. Additionally, adding a new field in Django with unique=True will also fail.
To resolve this issue, I will try to separating the SQL into multiple DDL statements. First, add the column and then add the unique constraint and foreign key.
If you need a temporary workaround before the fix, you can do multiple migrations. First, add models.ForeignKey('x', on_delete=models.CASCADE) and create a migration. Then, change it to models.OneToOneField('x', on_delete=models.CASCADE) and create a second migration. Finally, apply both migrations.

I got it, thanks. Looking forward to your contribution.

@wangyushun This issue has been resolved in django-tidb==v4.2.1


feat: support custom lark domain

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

@xiacongling hello, I created a PR, let's discuss the implementation details here.

It works fine, thx. The only problem is that the type of "type" is not changed back to dropdown.

oops...


Initial implementation of the map, authorization and target.

This implementation prompts the user for authorization to use localization. If denied, when you open the app again, it shows the option to change the settings.
And the target that will be used to explore the map has also been implemented.

@felipebweber ignore the file openweathermap-ios/.DS_Store

How do I ignore the .DS_Store files in git?

How do I ignore the .DS_Store files in git?

https://stackoverflow.com/a/107921/1232654

@felipebweber,  consider pushing the changes before resolving the issues.

@felipebweber to help you, what I am saying with "it does not belong to ..." is:

class SceneViewController: UIViewController {
   // here put functions that override functions from UIViewController, like Life Cycle
  // or new functions created and declared by you
}

extension SceneViewController: CLLocationManagerDelegate {
   // here put ONLY functions from CLLocationManagerDelegate protocol
}

extension SceneViewController: MKMapViewDelegate {
   // here put ONLY functions from MKMapViewDelegate protocol
}


Span decorator to pass INTERNAL by default

Fix https://github.com/Azure/azure-sdk-for-python/issues/24189
Our function decorator does not pass a kind when creating a span, while it's required by the spec. This PR do not change the protocol of AbstractSpan, but pass INTERNAL if the decorator user (aka SDK writer) do not specify a more specific kind for their scenario.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core


Validate or enforce that S3 buckets and ECR repository names are lowercase prior to plan and apply

We had an issue where our GitHub repo name had uppercase letters. These got into the names of one or more S3 buckets and ECR repositories. The terraform apply failed because the bucket name and ECR repo names had to be lowercase.
https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Image.html specifies repositoryName needs to be lower case.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html specifies bucket names need to be lower case.
This was when we were trying to get this to work with Terraform Cloud, but I believe it would still be an issue.
We changed the repo name to lowercase to address it.
The fix could either be to throw some kind of error if a bucket or ECR repo would have an invalid name, validated using whatever regex is used for these names by the AWS services; or invalid names could be transformed to be valid.

@douglasnaphas We've added some variable validation rules to prevent strings that would break deployments. I'd like to get that merged in the next few business days which will close out this ticket. Thanks for your suggestion!


Please provide support for pulsar-sql in this helm chart

Currently, we cannot make use of pulsar-sql support when we deploy pulsar using this helm chart. It would be better to add pulsar-sql support in this official chart.

I am having the some troubles.
I found that kafkaesque has an image with https://helm.kafkaesque.io with pulsar SQL, I just might try that.

@DonHaul
FYI the https://helm.kafkaesque.io chart has been mostly superseded by the new version
https://datastax.github.io/pulsar-helm-chart

Closing this as outdated.


[Webportal] Support Job Priority in job-list

Support UX of Job Priority #5417

Coverage decreased (-0.2%) to 33.681% when pulling 21e86504adeba324c1af94382fc6540ee918450f on yiyi/webportal/job-list-priority into<PHONE_NUMBER>3d0e798f5fba247d8706c23f1f01eb on master.


If scrollable dropdown goes off the bottom of page it does not resize to fit

Internal reference: SURE-3350
Reported in 2.6.0
Issue description:
When performing an action like creating a role, if it's at the bottom of the page, there is no way to see the last options without resizing/rezooming
Business impact:
N/A
Troubleshooting steps:

Repro steps:
Open a window where there is a dropdown by the bottom edge (you can resize the window using Roles to reproduce) and open a dropdown. Scroll all the way down.
Workaround:
Zoom out or resize window.  This is problematic for the many users in places where it's hard to get anything more than a low-resolution laptop.
Example:

Also visible under Roles, Create from Role Template and the Inherit From dropdown when not using the Project Creator Default

Fixed in 2.6.5 - note user will have to open and close dropdown if they resize the window while it is open - but it should then appear above the control so that the options are all visible.

On 2.6.4 reproduced the issue

On 2.6.5-rc2


[webview_flutter] WebView fails to open pdf links

To reproduce, just go to any webpage and click on a pdf file
 WebView(
                initialUrl: _url,
                javascriptMode: JavascriptMode.unrestricted,
                         )

Put any url for example, https://google.com, search for any pdf file, try to open it by tapping the link

Hi @willvlad,
I see there's a similar open issue describing your case, .
I'd suggest you to follow-up there for updates.
Closing this as duplicate. If you disagree, write in comments and I'll reopen.
Thanks.

Which one?

@willvlad my bad, added the link.


ActivityStatusValue appears to be changed/updated

Required items, please complete
Change(s):

Update search from Succeeded list with both Succeeded and Success.
This proposed solution matches on both values and is case-insensitive.

Reason for Change(s):

Having issues testing this rule in an environment; found that the ActivityStatusValue from table AzureActivity regarding workspaces/computes/delete appears to be formatted as Success instead of Succeeded
screenshot example:

Version Updated:

Yes

Testing Completed:

Yes

Hi @devikamehra,
Can you please review and share your feedback.
Thanks

Does MS have a published list of the tables? Reason I ask is that in this specific example I was testing I was deleting ML Machine Learning compute and noticed it did not trigger the alert.
Deleting other Azure services that write the appended value workspaces/computes/delete would also have the success/succeeded messages. I think maybe Azure Virtual Desktops also uses "workspaces" and should trigger for example.
Is there an easy way in docs to know which Azure services I should be testing against?

Hi @treyperrone we will provide you an update on this ASAP. Thanks!

Hi @treyperrone We are working on this, will update you shortly, Thanks!

@v-vdixit  no worries. Also, i realize my prior screenshot wasnt completely clear. Here's a better version I just generated:


Add support for AWS_SESSION_TOKEN

The environment I am currently in uses temporary credentials, which makes use of a third environment variable: AWS_SESSION_TOKEN.
Is there any chance that support for that could be added in?  (I would be happy to test :-)
Thanks,
-- Doug

Thanks @evu - confirmed this works for me.


Improve throw statement

Using throw new Error(msg) instead of throw msg becomes easier to debug/investigate.

Thank you very much!


clean up imports directory

There is an /imports/ directory at the root of the repo. It looks like it's not being rebuild - presumably intentionally as it is not standard to merge imports.
The URLs no longer resolve:
http://purl.obolibrary.org/obo/cl/imports/chebi_import.owl
(perhaps they never did and they were always fetched by catalog?)
We should tidy up the repo and get rid of stale committed derived artefacts that have no PURL

@anitacaron, was something missed in https://github.com/obophenotype/cell-ontology/pull/1903 and https://github.com/obophenotype/cell-ontology/pull/1846?

As Chris noticed, the /imports/ directory at the repo's root is no longer updated after we changed the imports approach to have one merged file.
@cmungall, can I remove this directory, or is it being used?