Van Emde Boas Tree

The Van Emde Boas tree, named after its inventors Peter van Emde Boas and Richard C. Heun, is a specialized tree data structure that provides efficient operations on a universe of integers. It is designed to support searching, insertion, deletion, finding the minimum and maximum elements, and other operations in a time complexity of O(log log N), where N represents the maximum element in the universe.
The Van Emde Boas (VEB) tree is a recursive data structure that represents a universe of integers of size 2^k, where k is a positive integer. The structure consists of two main parts: a summary structure and a cluster structure.
The summary structure is a VEB tree of size 2^(k/2). It contains information about the presence or absence of elements in the lower and upper halves of the universe. The summary structure allows for fast searches and insertions, as it stores the presence of at least one element in each half.
The cluster structure is an array of VEB trees, each of size 2^(k/2). It stores information about the presence or absence of elements within a particular range of the universe. The cluster structure enables efficient operations on a subset of the universe, effectively reducing the problem size.
The VEB tree recursively applies the summary and cluster structures, with each level representing a different range of the universe. The tree structure is balanced, ensuring that the operations have a logarithmic time complexity.
The key feature of the VEB tree is its ability to efficiently handle large universes of integers while maintaining a relatively low time complexity for operations. It achieves this by utilizing the recursive structure and taking advantage of the binary representations of the integers.
However, it's important to note that the VEB tree has high space requirements, especially for larger universes, and its implementation can be complex. It is commonly used in scenarios where efficient operations on a universe of integers are required, such as in computational geometry, graph algorithms, and certain database applications.
Overall, the Van Emde Boas tree is a specialized data structure that provides efficient operations on a universe of integers, making it a valuable tool in certain algorithmic applications.

@Kumar-laxmi assign this to me please !!

Assigned!
@Abhinavcode13 : C, C++, Python and Java


Update ZIO to 2.0.0-RC4

Update ZIO to 2.0.0-RC4

Blocked by zio-interop-cats, which is required by the zio-json-yaml module.

This is done now.

Thanks, @adamgfraser


[feat] : The search icon color should be black for better UI experience

the icon is not visible because of white background so i want to change the icon color to black for better ui experience.
screenshot

i have fixed this issue in #162


Close all orders if one fails

If I am going to request a group of orders and an error occurs in one of them, I want it to stop and delete any previous order that was executed.
I'm wondering if there is an official way on Binance to do this
Instead of using try and except then delete one by one, an error may also occur due to deletion

You can make a wrapper function which records the order id of each order placed if it was successful or not, then if it wasn't, break and start cancelling them all.


CIV-14774 - accessibility

JIRA link
https://tools.hmcts.net/jira/browse/CIV-14759
https://tools.hmcts.net/jira/browse/CIV-14774
Change description
Accessibility issue
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Changes of this branch is not required as it is covered in https://github.com/hmcts/civil-citizen-ui/pull/4409


[EM] Support ExtMemQdm in the GPU predictor.

Remove the unused entry_start parameter.
Support batch-local row index in ellpack.

Tried to reproduce it using docker, but got a driver initialization error instead, whereas the CI shows illegal CUDA memory access.

cc @rongou .


Google authentication login

Google authentication login might be nice to have for client when logging into Decap to create blog posts. Thus we investigate the possibilities and if we should prioritize implementing it. Remember to document the research!
Reseach:

[ ] JS research
[ ] Any html and css required?
[ ] Research critera
[ ] Overall implementation, backend?
[ ] What did the past class figure out

Diana -
First research i did was to ask ChatGpt what we need, to do a Google authentication login. What I understand so far is that we need some Javascript and need to configurate OAuth 2.0. and add Google API client library
When I Google it I found that we need Javascript to make the sign in and out button interact and need some html and css to implement where the sign in element and buttons should be and style them.
To get profile information we need a function in Javascript
We need to send the IDtokens to backend what i understand.
I got updated informationen from Marte on: https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow
So now we're trying to figure out how to implement it.

https://noroff-my.sharepoint.com/personal/tarbjo01657_stud_noroff_no/_layouts/OneNote.aspx?id=%2Fpersonal%2Ftarbjo01657_stud_noroff_no%2FDocuments%2FNotatblokker%2FMusikk Forandrer Liv&wd=target(Project Documentation.one|CB16F8C6-9AC2-4B83-B7EB-D0CEDC245FA1%2FGoogle authentication login|B8EADFC9-69BE-4A4C-91AE-DC294B8BF01E%2F)

Waiting for answers from previous class


Comment at end of value are not considered as comments

Config
<main>
    key value # comment1
    # comment2
</main>

With python parser
{
    "main": {
        "key": "value # comment1"
    }
}

with perl parser
$VAR1 = {
          'main' => {
                      'key' => 'value'
                    }
        };

Can you please check?
P.S.: You are awesome.

Commit 913dbafcbc7d3c57105c9c57042e608e5f2f33bc (in master) should have fixed that. Though hash escape (\#) is not yet supported.

Thanks for the quick fix. Will you be providing support for escaping hash "#"?

Will you be providing support for escaping hash "#"?


Update kube-deployment.yml

This doesn't work, the formatting is incorrect. I've created #15 to fix this.


Use Coroutines in detekt-core

Decided to try coroutines in detekt as they are now final to replace the Executors/Futures we're currently using.
I'm by no means an expert in coroutines, so if someone has suggestions for improvements I'm happy to hear about them
Upsides:
It's more Kotlin-y
Downsides:
I ran some benchmarks and it seems like the existing solution is ~5-10% faster than this new implementation using coroutines. Not sure if this is because of my local environment, the new implementation or for other reasons.

This is actually very interesting.
@Mauin did you benchmark the memory usage as well? What is the plus in execution time?
I don't think coroutines will replace futures. They are just a different concept in async programming.
If this performance overhead persists, I don't think we should move to coroutines.

Ok, also did some benchmarks with cli on detekt with:
time jrun detekt-cli/build/libs/detekt-cli-1.0.0-RC11-all.jar --input /home/artur/Repos/detekt --report xml:report.xml --filters ".*/resources/.*"

Coroutines: ~4.17 seconds (unpatched)
Coroutines: ~3.11 seconds (patched async(Dispatchers.Default))
CompletableFutures: ~2.96 seconds
To me both versions do the same:

runBlocking -> awaitAll
processFileAsync -> runAsync
Dispatchers.Default -> ForkJoinPool.common()

I would not change to coroutines just to be more kotlin and introduce a new dependency. We just use aync processing once (ok twice when parsing KtFile's in parallel with stream().parallel() with an extra flag).
But I would like to have the style changes in this PR into master :)


Move examples/wip/moco to separate repository

The examples/wip/moco directory has been "WIP" for quite a while. Since this was an intern work, it's not likely that it will ever be finished.
Still, it contains interesting code and should be preserved!
Thus, the plan is to:

[ ] Add tests, fix code if necessary.
[ ] Restructure to split apart library code from main.
[ ] Move to https://github.com/google-research/google-research repository.

#231

This was closed with #518


Small Note

Well done @AhmedNasser1601
Great job but I have a small note:
There is an overfitting case between accuracy and loss curves for both the training data and the test data, in both proposed models when categorizing 5 or 2 classes.
So I have some suggestions:

At first, reduce the learning rate to a small value and increase the number of epochs.
Increase the number of neurons for the Dense layer, and simultaneously use the Dropout layer with a high percentage.
Use tf.keras.callbacks.ReduceLROnPlateau to lower the learning rate values during the training process.

Hi @kaledhoshme123 ,
Thank you for your positive feedback and your fantastic notes
It 'll be considered


Uncaught TypeError: Class constructor Connector cannot be invoked without 'new'

Unfortunately this doesn't throw a error that lets me instantly create an issue but when trying to connect to a site in Atom 1.16 beta, the plugin says connecting and then just "does nothing".  When looking at console the error is thrown at this line - https://github.com/mgrenier/remote-ftp/blob/master/lib/connectors/sftp.js#L15
Atom: 1.16.0-beta0
Electron: 1.3.13
Chrome: 52.0.2743.82
Node: 6.5.0

To note: this works fine in Atom 1.15, it is only 1.16 that it seems to fail.  At a guess it could be linked to https://github.com/atom/atom/pull/13823?

+1

@icetee Tried the fix this morning and seems to be working fine! 👌

Still broken for me on Atom Beta 1.16.0-beta0. This bug doesn't exist on
Atom stable so I have been using Remote-FTP with that without problem. So I
don't think it is a Remote-FTP bug so will wait until the next Atom beta.
On Tue, Mar 14, 2017 at 5:13 AM, Dean Vizer<EMAIL_ADDRESS>wrote:

@icetee https://github.com/icetee Tried the fix this morning and seems
to be working fine! 👌
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mgrenier/remote-ftp/issues/729#issuecomment-286363139,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF-5H0R-I_uF9R9mHeqe0gius8t2XVzks5rllo1gaJpZM4MbFIU
.


why zod doesn't make no empty string by default for required fields?

I am using react hook form and zod as a validator resolver.
export const SignInValidator = z.object( {
    email: z.string().email( "Invalid email address" ),
    password: z.string(),
} )

const form = useForm( {
    resolver: zodResolver( SignInValidator ),
    defaultValues: {
        email: "",
        password: "",
    },
} )

SignInValidator is passes even if the password is an empty string. the default value is empty string, if I don't create an empty string at the default value, a Warning will occur: A component changed an uncontrolled input to a controlled one. This is likely caused by changing a value from undefined to a defined value, which should not happen. Decide between using controlled or uncontrolled input elements during the lifetime of the component.
why zod doesn't make noEmptystring by default for required fields?

Can someone assign this issue plz?

A required field just means that the value must exist and must not be undefined. An empty string '' does in fact exist and it is not undefined, so it is valid. I think what you are looking for is z.string().min( 1 ). This will require that the string is at least 1 character long.
If you found my answer satisfactory, please consider supporting me. Even a small amount is greatly appreciated. Thanks friend! 🙏
https://github.com/sponsors/JacobWeisenburger

Actually I know I can use min(1, "Required") to validate it. it's just that I'm confused why it's not made by default because in case the default value of an input is an empty string and the required validation in zod allows it to pass.
if we don't set the default value of an input as an empty string, this warning will occur: A component changed an uncontrolled input to a controlled one. This is likely caused by changing a value from undefined to a defined value, which should not happen. Decide between using controlled or uncontrolled input elements during the lifetime of the component.

Actually, this applies not only to react-hook forms but also to controlled inputs (inputs with values set via state).
Yes, I understand your explanation. And I also already know the solution by using min(1, "Required"). I just felt that it would be more effective if done by default.
It's fine if you want to keep this as an open issue or move it to the discussion. i am fine with either one.


Release 2.17.0

package.json bump and CHANGELOG entries for 2.17 with response middleware.
I'd love to merge #1081 too, so letting this sit for :eyes:.

Removing #1081 from scope; we'll give it a burn-in internally before merging. This is ready.


Problems with new DLC update

Hi
I have a problem with my savegame. I recently updated the game and then downloaded update for your mod. But it always crash during loading save.
Mod loader log shows me this:
[2022-12-10 14:49:18.845] [error] Failed to get original game file data\modgraphics\advanced_sausages\sausages_2.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\advanced_sausages\sausages_2.xml
[2022-12-10 14:49:22.114] [error] Failed to get original game file data\modgraphics\advanced_meat_butcher\meat_fine_tune.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Cattle needs to be butchered\data\modgraphics\advanced_meat_butcher\meat_fine_tune.xml
[2022-12-10 14:49:22.237] [error] Failed to get original game file data\modgraphics\small_quay\ornament\loading_ship_02_45_degree.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Diagonal Harbor\data\modgraphics\small_quay\ornament\loading_ship_02_45_degree.xml
[2022-12-10 14:49:22.295] [error] Failed to get original game file data\modgraphics\large_sawmill\sawmill.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\large_sawmill\sawmill.xml
[2022-12-10 14:49:22.295] [error] Failed to get original game file data\modgraphics\large_steelworks\large_steelworks.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\large_steelworks\large_steelworks.xml
[2022-12-10 14:49:22.295] [error] Failed to get original game file data\modgraphics\pig_farm\cattle_field_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\cattle_field_02.xml
[2022-12-10 14:49:22.295] [error] Failed to get original game file data\modgraphics\large_steel_furnace\large_furnace.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\large_steel_furnace\large_furnace.xml
[2022-12-10 14:49:22.295] [error] Failed to get original game file data\config\export\main\asset\assets_without_unlock_conditions.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods\Docklands more import product\data\config\export\main\asset\assets_without_unlock_conditions.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\advanced_meat_butcher\advanced_meat_butcher.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Cattle needs to be butchered\data\modgraphics\advanced_meat_butcher\advanced_meat_butcher.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\small_quay\ornament\loading_ship.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Diagonal Harbor\data\modgraphics\small_quay\ornament\loading_ship.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\small_quay\ornament\loading_ship_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Diagonal Harbor\data\modgraphics\small_quay\ornament\loading_ship_02.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\small_quay\ornament\loading_ship_03.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Diagonal Harbor\data\modgraphics\small_quay\ornament\loading_ship_03.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\pig_farm\industrial_pig_farm.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\industrial_pig_farm.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\pig_farm\cattle_milk.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\cattle_milk.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\large_tallow_factory\large_tallow_factory.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\large_tallow_factory\large_tallow_factory.xml
[2022-12-10 14:49:22.337] [error] Failed to get original game file data\modgraphics\large_bakery\large_bakery.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\large_bakery\large_bakery.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\electrical_flour_mill\flour_mill.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\electrical_flour_mill\flour_mill.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\pig_farm\cattle_field_01.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\cattle_field_01.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\large_sawmill\sawmill_nw.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\large_sawmill\sawmill_nw.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\pig_farm\cattle_field_00.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\cattle_field_00.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\pig_farm\pig_field_00.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\pig_field_00.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\pig_farm\pig_field_01.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\pig_field_01.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\pig_farm\pig_field_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Industrialized Low Tier Production\data\modgraphics\pig_farm\pig_field_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\industrial_fishery\industrial_fishery.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Large Fishery\data\modgraphics\industrial_fishery\industrial_fishery.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\small_quay_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\small_quay_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\small_quay_45_degree.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\small_quay_45_degree.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\nw\small_quay_45_degree.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\nw\small_quay_45_degree.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\af\small_quay.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\af\small_quay.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\af\small_quay_45_degree.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\af\small_quay_45_degree.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\af\small_quay_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\af\small_quay_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\small_quay.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\small_quay.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\af\small_quay_45_degree_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\af\small_quay_45_degree_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\arctic\small_quay.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\arctic\small_quay.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\nw\small_quay.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\nw\small_quay.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\nw\small_quay_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\nw\small_quay_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\nw\small_quay_45_degree_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\nw\small_quay_45_degree_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\modgraphics\small_quay\small_quay_45_degree_02.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods[Gameplay] Small Pier\data\modgraphics\small_quay\small_quay_45_degree_02.xml
[2022-12-10 14:49:22.338] [error] Failed to get original game file data\config\export\main\asset\assets_with_unlock_conditions.xml C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 1800\mods\Docklands more import product\data\config\export\main\asset\assets_with_unlock_conditions.xml
[2022-12-10 14:49:22.338] [info] Finished applying xml operations
Perhaps you will know how to solve this :)
Thank you for your great work :)

The errors caused by my mod are harmless (the modloader is just confused because it finds some extra xml files). They do not cause your game to crash, that's the fault of another mod.


Firebase Dynamic Links not working when open from facebook SwiftUI

I'm using firebase dynamic links for creating links and share it from my app to social media platforms, I tried to share on WhatsApp and messenger and it's working great no problems.
The only exception when trying to open a link from Facebook, it opens the InAppBrowser first after that it's working perfectly some time and show popup to leave the Browser and open app but some time show preview page in case the app already installed. Some time show direct web page which backend team set in the redirection.
Here's the code for sharing and initiate:
func createLinkShare1(dynamicLinksDomainURIPrefix:String,link:URL) {

let appBundleID = AppInformation.AppBundleId

if let linkBuilder = DynamicLinkComponents(link: link, domainURIPrefix: dynamicLinksDomainURIPrefix) {

    linkBuilder.navigationInfoParameters = DynamicLinkNavigationInfoParameters()

    linkBuilder.navigationInfoParameters?.isForcedRedirectEnabled = true

    linkBuilder.iOSParameters = DynamicLinkIOSParameters(bundleID: appBundleID)

    linkBuilder.iOSParameters?.appStoreID = AppInformation.AppStoreId

    linkBuilder.iOSParameters?.minimumAppVersion = AppInformation.AppMinimumVersion

    linkBuilder.androidParameters = DynamicLinkAndroidParameters(packageName: appBundleID)

    linkBuilder.androidParameters?.minimumVersion = 0

    linkBuilder.socialMetaTagParameters = DynamicLinkSocialMetaTagParameters()

    linkBuilder.socialMetaTagParameters!.title = "Testing "

    linkBuilder.socialMetaTagParameters!.descriptionText = "Invite You"

    guard let longDynamicLink = linkBuilder.url else {

        print("ERROR in linkBuilder")

        return

    }

    DynamicLinkComponents.shortenURL(longDynamicLink, options: nil) { url, warnings, error in

        if let error = error {

            print("error shortening link: \(error.localizedDescription)")

            return

        }

        if let url = url {

            print("Share Url = ",url)

            return

          }

       }

    }
 }

Output:-
iOS 14.5
Screenshot
iPhone X (iOS 15.0.1)
ScreenShot
In Second case already app installed, i don't know why the preview page open instead of popup
iPhone XR (iOS 15.1)
ScreenShot
Sorry For hidden details.
I have tested with multiple devices and different version. Only the Deep linking working in below iOS15.
Can someone please explain to me how to show popup or deep working as expected in the Facebook case, I've tried to with above code but no results yet.
Any help would be greatly appreciated.
Thanks in advance.

Hi @dhimansham, per checking, there are known issues with FDL involving the Facebook app. Unfortunately, we don't have a workaround for this issue, as it's up to Facebook to determine how URLs are handled inside their app. See also this related issue #3699.
I'll be closing this as there isn't much we can do about Facebook's in-app browser behavior. If you have other related questions, you may file a ticket via our Firebase support channel. Thanks.


Convert/extract ASDF-in-FITS files to pure ASDF

It should be possible to extract an ASDF file that is embedded in FITS into a pure ASDF file. It's possible that a mechanism for this already exists, but in either case documentation would be useful.

I think this is better for the 2.0.0 milestone.


feat(GroupTheory/Perm/Centralizer): study the centralizer of a permutation

This is the core of the work on the centralizer of a permutation.
It is the sequel of several PR which lay out basic useful results.
Let α : Type with Fintype α (and DecidableEq α).
The main goal of this file is to compute the cardinality of
conjugacy classes in Equiv.Perm α.
Every g : Equiv.Perm α has a cycleType α : Multiset ℕ.
By Equiv.Perm.isConj_iff_cycleType_eq,
two permutations are conjugate in Equiv.Perm α iff
their cycle types are equal.
To compute the cardinality of the conjugacy classes, we could use
a purely combinatorial approach and compute the number of permutations
with given cycle type but we resorted to a more algebraic approach.
A subsequent PR #17047 treats the case of the alternating group.

[x] depends on: #9359
[x] depends on: #17046

bot fix style


DatePicker improvements & implement DateRangePicker and FinalFormDateRangePicker

Don't close the date-picker immediately after selecting a date

Are you really sure about that? Usually pickers close on selecting a date (except range pickers) I think.

Don't close the date-picker immediately after selecting a date

Are you really sure about that? Usually pickers close on selecting a date (except range pickers) I think.

Not 100% sure... But the range-picker needs this because of multiple clicks and also the color-picker, because every slide is a separate onChange event. So I thought it would be good to keep this consistent, for all pickers 🤔

Don't close the date-picker immediately after selecting a date

Are you really sure about that? Usually pickers close on selecting a date (except range pickers) I think.

In my opinion the date picker should close upon selection. Also, the date range picker should close once the end date has been selected. For the color picker we may add a confirmation button, or don't close the picker upon selection. You could discuss this with the UX team.

You could discuss this with the UX team.

Will do 👍🏼

@johnnyomair @nsams as discussed with the UX team, the date- & date-range-picker now close as soon as the selection is complete.


Fix missing permitted methods

django.http.HttpResponseNotAllowed constructor requires permitted methods argument as described in docs: https://docs.djangoproject.com/en/1.11/ref/request-response/#django.http.HttpResponseNotAllowed

Coverage remained the same at 58.924% when pulling 5dd64be832ab429f0577e723c292312ab9d4737d on SupraSummus:master into 86753d769ae35512070e6ee2b695822b289d4591 on cypreess:master.

Coverage remained the same at 58.924% when pulling 5dd64be832ab429f0577e723c292312ab9d4737d on SupraSummus:master into 86753d769ae35512070e6ee2b695822b289d4591 on cypreess:master.

Coverage remained the same at 58.924% when pulling 5dd64be832ab429f0577e723c292312ab9d4737d on SupraSummus:master into 86753d769ae35512070e6ee2b695822b289d4591 on cypreess:master.


cast string to date

I've got a form that is updated dynamically, and when the value is populated from the database it is a string.
My efforts at casting it from outside are fruitless at the moment.
I was wondering if you would be open to casting strings passed to the component as dates.
This would make things simpler on my side.
let me know if anything of course, I'm open.

I won't merge this, sorry. I think it can make issues harder to debug if an unexpected string value is converted implicitly

no worries, thanks for having taken a look!


[fix] Fix CurrentRoaringBitSet concurrency issue.

Motivation
Fix CurrentRoaringBitSet concurrency issue.
see:
RoaringBitmap#add
RoaringBitmap#get
It will throw NPE if use StampLock, the situation is a little similar with https://github.com/apache/pulsar/issues/18388
Modifications

Replace StampLock with ReadWriteLock.

Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

I think that we need to find another solution. ReadWriteLock adds a lot more overhead than StampedLock.

Yes, but RoaringBitmap is not designed for Concurrency at all, and the PR is a quick fix, we can make further improvements in the future.

I wonder if it would be a viable option to catch exceptions and retry with a read lock if that happens?

Then we may catch a lot of exceptions when a broker is in a large throughput, I'm not sure if the cost is less than RWLock or not.

That's a valid concern, we should investigate the different choices and experiment.

I think that we should revert the migration to RoaringBitSet in branch-3.0, branch-3.2 and branch-3.3 so that we don't need to rush with the solution.

I reverted the changes in branch-3.0, branch-3.2 and branch-3.3. Here's the PR to revert the change in master branch: #22968 . It's better to have a fresh start with a proper fix that is validated so that it doesn't cause performance regressions and also addresses the concurrency issues. The concern about switching to ReadWriteLock is about it causing a performance regression. It's possible that it's not a valid concern, but let's validate that before applying the solution.

I did a less rigorous test:
    @Test
    public void test() {
        long start = System.currentTimeMillis();
        CountDownLatch latch = new CountDownLatch(2);
        ConcurrentRoaringBitSet bitSet = new ConcurrentRoaringBitSet();
        new Thread(() -> {
            for (int i = 0; i < 100000000; i++) {
                bitSet.set(1);
            }
            latch.countDown();
        }).start();
        new Thread(() -> {
            for (int i = 0; i < 100000000; i++) {
                bitSet.get(1);
            }
            latch.countDown();
        }).start();

        try {
            latch.await();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("Time: " + (System.currentTimeMillis() - start));
    }

I started 2 threads to call get/set methods on ReadWriteLock/StampLock based ConcurrentRoaringBitSet, each thread looping 100 million times.
For ReadWriteLock based ConcurrentRoaringBitSet, the total durations are around 9.5s
For StampLock base ConcurrentRoaringBitSet, the total durations are around 8.5s.
Maybe we don't need to worry about the performance regression?

When we do Readonly operations on StampLock based ConcurrentRoaringBitSet, it does faster than ReadWriteLock(about 5 times faster), but in the case we use ConcurrentRoaringBitSet is Read and Write(about 1:1).

When we do Readonly operations on StampLock based ConcurrentRoaringBitSet, it does faster than ReadWriteLock(about 5 times faster), but in the case we use ConcurrentRoaringBitSet is Read and Write(about 1:1).

In Pulsar we have https://github.com/apache/pulsar/tree/master/microbench module with JMH. I think JMH is better for comparisons. For Pulsar, the efficiency also matters so the comparison might not be that simple.
btw. In Pulsar ConcurrentOpenLongPairRangeSet is only used in RangeSetWrapper and the only usage of that is in ManagedCursorImpl for individualDeletedMessages. In many cases, the operations on individualDeletedMessages are already protected by the ReadWriteLock field lock in ManagedCursorImpl.
It might be better to make the lock usage consistent. We wouldn't need ConcurrentRoaringBitSet in the Pulsar code base in that case as long as we document that ConcurrentOpenLongPairRangeSet isn't really thread safe. The thread safe solution could use the old solution.

btw. In Pulsar ConcurrentOpenLongPairRangeSet is only used in RangeSetWrapper and the only usage of that is in ManagedCursorImpl for individualDeletedMessages. In many cases, the operations on individualDeletedMessages are already protected by the ReadWriteLock field lock in ManagedCursorImpl.
It might be better to make the lock usage consistent. We wouldn't need ConcurrentRoaringBitSet in the Pulsar code base in that case as long as we document that ConcurrentOpenLongPairRangeSet isn't really thread safe. The thread safe solution could use the old solution.

It makes sense, I addressed this, PTAL

It makes sense, I addressed this, PTAL

@dao-jun Looks good, I'll soon review in more detail. Please update the PR title and description so that it describes the motivation and modifications of this PR more accurately.

Since the previous change #22908 was rollbacked by #22968, please rebase the changes.

Please use write lock for individualDeletedMessages.resetDirtyKeys(); call in buildIndividualDeletedMessageRanges method.

This is actually a real bug in the current implementation and needs to be fixed even if we wouldn't switch to use RoaringBitMap's RoaringBitSet.

Rename ConcurrentOpenLongPairRangeSet to OpenLongPairRangeSet and mark it as NotThreadSafe.

I guess this change and the switch to use RoaringBitSet (in version 1.1.0) was lost in rebasing?

One possibility would be to complete this PR by switching to the non-thread version of ConcurrentOpenLongPairRangeSet which using ordinary BitSet in this PR and then switch to use RoaringBitSet in a follow up PR.

将 ConcurrentOpenLongPairRangeSet 重命名为 OpenLongPairRangeSet 并将其标记为 NotThreadSafe。

我猜测这个改变和使用 RoaringBitSet（在版本 1.1.0 中）的切换在重新定基时丢失了？

Yes, after the PR merged, I'll switch BitSet to RoaringBitSet again.

Please use write lock for individualDeletedMessages.resetDirtyKeys(); call in buildIndividualDeletedMessageRanges method.

This is actually a real bug in the current implementation and needs to be fixed even if we wouldn't switch to use RoaringBitMap's RoaringBitSet.

Yes, individualDeletedMessages.resetDirtyKeys() is a WRITE operation, but it just requires a READ lock.

Codecov Report
Attention: Patch coverage is 91.48936% with 4 lines in your changes missing coverage. Please review.

Project coverage is 73.43%. Comparing base (bbc6224) to head (66b228c).
Report is 424 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #22966      +/-   ##
============================================
- Coverage     73.57%   73.43%   -0.15%
- Complexity    32624    33219     +595
============================================
  Files          1877     1903      +26
  Lines        139502   142680    +3178
  Branches      15299    15574     +275
============================================
+ Hits         102638   104771    +2133
- Misses        28908    29891     +983
- Partials       7956     8018      +62

Flag
Coverage Δ

inttests
27.79% <38.29%> (+3.21%)
:arrow_up:

systests
24.76% <36.17%> (+0.44%)
:arrow_up:

unittests
72.46% <91.48%> (-0.39%)
:arrow_down:

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

Files
Coverage Δ

...apache/bookkeeper/mledger/ManagedLedgerConfig.java
96.38% <ø> (+0.08%)
:arrow_up:

.../common/util/collections/OpenLongPairRangeSet.java
90.00% <100.00%> (ø)

...pache/bookkeeper/mledger/impl/RangeSetWrapper.java
94.33% <80.00%> (ø)

...che/bookkeeper/mledger/impl/ManagedCursorImpl.java
80.00% <92.68%> (+0.70%)
:arrow_up:

... and 469 files with indirect coverage changes

LGTM, good work @dao-jun


Expose NSLayoutAttributeFirstBaseline and NSLayoutAttributeLastBaseline for OS X 10.11+

Apple has brought the following two layout attributes (previously iOS 8.0+ only) to OS X as of 10.11:

NSLayoutAttributeFirstBaseline
NSLayoutAttributeLastBaseline

PureLayout has already been making the ALAxisLastBaseline attribute available for both platforms, because it is the same as ALAxisBaseline. However, PureLayout should make the ALAxisFirstBaseline attribute available to OS X. Doing this will involve:

Adding new macros to PureLayoutDefines.h to check for the MinBaseSDK (compile-time) and MinSysVer (runtime) OS X 10.11
Updating the existing macros protecting the ALAxisFirstBaseline attribute to include OS X 10.11 or higher, instead of just iOS 8.0 or higher (make sure to perform a global search for ALAxisFirstBaseline and ALAttributeFirstBaseline to find all of the places that need to be changed)

I'd like to leave this enhancement open for someone else to submit a PR :)

I'll try to submit a PR later

It seems there's no way to align the first baseline of one view to the last baseline of another.


Allow .ci.yaml platform_properties to specify timeout, recipe, presubmit, runIf, etc. to be inherited by tasks

For example, in https://github.com/flutter/flutter/pull/119871 I added a platform_property for macOS benchmarks:
mac_benchmark:
    properties:
      dependencies: >-
        [
          {"dependency": "apple_signing", "version": "version:2022_to_2023"}
        ]
      device_type: none
      mac_model: "Macmini8,1"

Per the proto definition I was only able to add properties and dimensions, so every mac_platform task needed to specify presubmit, recipe, and timeout, which were all identical:
  - name: Mac_benchmark basic_material_app_macos__compile
    presubmit: false
    recipe: devicelab/devicelab_drone
    timeout: 60
    properties:
      task_name: basic_material_app_macos__compile

Ideally this could be pushed up to the platform_property to deduplicate this logic, and allow us to update it in one place:
mac_benchmark:
    presubmit: false
    recipe: devicelab/devicelab_drone
    timeout: 60
    properties:
      dependencies: >-
        [
          {"dependency": "apple_signing", "version": "version:2022_to_2023"}
        ]
      device_type: none
      mac_model: "Macmini8,1"
...
  - name: Mac_benchmark basic_material_app_macos__compile
    properties:
      task_name: basic_material_app_macos__compile

Related: clean up dimensions from properties to the dimensions.


tflite:experimental:micro:riscv: Fix default target bug in Makefile.

The default target (all) should appear before any target in Makefile, to let
make -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=riscv32_mcu
get to the intendend all target by default.
This patch fix the issue #33677

@googlebot I signed it!


bug: tRPC error boilerplate code deploying to vercel breaks site

Provide environment information
System:
OS: macOS 14.0
CPU: (8) arm64 Apple M2
Memory: 80.75 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.8.0 - /opt/homebrew/bin/node
npm: 10.2.0 - /opt/homebrew/bin/npm
pnpm: 8.1.1 - /opt/homebrew/bin/pnpm
Describe the bug
Used bun create t3-app@latest after upgrading to NextJS 14. I ran it locally and it all worked fine. I then created a repo and tried to deploy to Vercel but I got a build error related to tRPC and an error displayed in the window (Screenshots attached). I then tested this using pnpm and npm and same result. App without tRPC deployed fine.

Reproduction repo
https://github.com/prestonButton/bbqapp
To reproduce
This app is just the create-t3-app boilerplate code. I ran bun db:push, bun run dev, and then tried to deploy. and got the errors described above. Just wondering if this is because I am using NextJS 14.
Additional information
No response

I'm getting the same issue at build time, also noticed the following error in the runtime logs.
[97;46m << query  #3 post.hello  {
  input: { text: 'from tRPC' },
  result: TRPCClientError: Unexpected token ; in JSON at position 4
      at TRPCClientError.from (/var/task/.next/server/chunks/152.js:1:25003)
      at /var/task/.next/server/chunks/152.js:1:29521
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    meta: undefined,
    shape: undefined,
    data: undefined,
    [cause]: SyntaxError: Unexpected token ; in JSON at position 4
        at JSON.parse (<anonymous>)
        at parse (/var/task/.next/server/chunks/152.js:5:4111)
        at /var/task/.next/server/chunks/152.js:5:3218
        at onChunk (/var/task/.next/server/chunks/152.js:5:3371)
        at readStandardChunks (/var/task/.next/server/chunks/152.js:5:3698)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async readLines (/var/task/.next/server/chunks/152.js:5:3452)
        at async parseJSONStream (/var/task/.next/server/chunks/152.js:5:3058)
  },
  elapsedMs: 24
}
TRPCClientError: Unexpected token ; in JSON at position 4
    at TRPCClientError.from (/var/task/.next/server/chunks/152.js:1:25003)
    at /var/task/.next/server/chunks/152.js:1:29521
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  meta: undefined,
  shape: undefined,
  data: undefined,
  [cause]: SyntaxError: Unexpected token ; in JSON at position 4
      at JSON.parse (<anonymous>)
      at parse (/var/task/.next/server/chunks/152.js:5:4111)
      at /var/task/.next/server/chunks/152.js:5:3218
      at onChunk (/var/task/.next/server/chunks/152.js:5:3371)
      at readStandardChunks (/var/task/.next/server/chunks/152.js:5:3698)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async readLines (/var/task/.next/server/chunks/152.js:5:3452)
      at async parseJSONStream (/var/task/.next/server/chunks/152.js:5:3058)
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '1526301433'
}

could you confirm that this is still happening with a new app scaffolded with bun create t3-app@latest today? It should have been fixed two days ago with https://github.com/t3-oss/create-t3-app/pull/1644

Build and deployment on vercel is working for me currently

Just tried again using bun create t3-app@latest and got the same error.
Here is a link to the repo https://github.com/DeanJMorgan/t3-bun-test-deploy
Here is a link to the app https://t3-bun-test-deploy.vercel.app/
From the build logs:
Creating an optimized production build ...
--
14:33:24.770 | ✓ Compiled successfully
14:33:24.771 | Linting and checking validity of types ...
14:33:31.715 | Collecting page data ...
14:33:33.064 | Generating static pages (0/4) ...
14:33:33.256 | << query  #1 post.hello  {
14:33:33.256 | input: { text: 'from tRPC' },
14:33:33.256 | result: TRPCClientError: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
14:33:33.256 | at TRPCClientError.from (/vercel/path0/.next/server/chunks/152.js:1:25003)
14:33:33.256 | at /vercel/path0/.next/server/chunks/152.js:1:29521
14:33:33.256 | at processTicksAndRejections (node:internal/process/task_queues:95:5)
14:33:33.256 | at runNextTicks (node:internal/process/task_queues:64:3)
14:33:33.257 | at listOnTimeout (node:internal/timers:538:9)
14:33:33.257 | at process.processTimers (node:internal/timers:512:7) {
14:33:33.257 | meta: undefined,
14:33:33.257 | shape: undefined,
14:33:33.257 | data: undefined,
14:33:33.257 | [cause]: DynamicServerError: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
14:33:33.257 | at staticGenerationBailout (/vercel/path0/.next/server/chunks/526.js:1:4547)
14:33:33.257 | at cookies (/vercel/path0/.next/server/chunks/526.js:1:1510)
14:33:33.257 | at Object.headers (/vercel/path0/.next/server/app/page.js:1:3699)
14:33:33.257 | at Object.headers (/vercel/path0/.next/server/chunks/152.js:5:4503)
14:33:33.257 | at fetchHTTPResponse (/vercel/path0/.next/server/chunks/152.js:1:26627)
14:33:33.257 | at streamingJsonHttpRequester (/vercel/path0/.next/server/chunks/152.js:5:3818)
14:33:33.257 | at Object.fetch (/vercel/path0/.next/server/chunks/152.js:5:4372)
14:33:33.257 | at Timeout.dispatch (/vercel/path0/.next/server/chunks/152.js:1:28130)
14:33:33.257 | at listOnTimeout (node:internal/timers:569:17)
14:33:33.258 | at process.processTimers (node:internal/timers:512:7) {
14:33:33.258 | digest: 'DYNAMIC_SERVER_USAGE'
14:33:33.258 | }
14:33:33.258 | },
14:33:33.258 | elapsedMs: 14
14:33:33.258 | }
14:33:33.258 | << query  #2 post.hello  {
14:33:33.258 | input: { text: 'from tRPC' },
14:33:33.258 | result: TRPCClientError: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
14:33:33.258 | at TRPCClientError.from (/vercel/path0/.next/server/chunks/152.js:1:25003)
14:33:33.258 | at /vercel/path0/.next/server/chunks/152.js:1:29521
14:33:33.258 | at processTicksAndRejections (node:internal/process/task_queues:95:5)
14:33:33.259 | at runNextTicks (node:internal/process/task_queues:64:3)
14:33:33.259 | at listOnTimeout (node:internal/timers:538:9)
14:33:33.259 | at process.processTimers (node:internal/timers:512:7) {
14:33:33.259 | meta: undefined,
14:33:33.259 | shape: undefined,
14:33:33.259 | data: undefined,
14:33:33.259 | [cause]: DynamicServerError: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error
14:33:33.259 | at staticGenerationBailout (/vercel/path0/.next/server/chunks/526.js:1:4547)
14:33:33.259 | at cookies (/vercel/path0/.next/server/chunks/526.js:1:1510)
14:33:33.260 | at Object.headers (/vercel/path0/.next/server/app/page.js:1:3699)
14:33:33.260 | at Object.headers (/vercel/path0/.next/server/chunks/152.js:5:4503)
14:33:33.260 | at fetchHTTPResponse (/vercel/path0/.next/server/chunks/152.js:1:26627)
14:33:33.260 | at streamingJsonHttpRequester (/vercel/path0/.next/server/chunks/152.js:5:3818)
14:33:33.260 | at Object.fetch (/vercel/path0/.next/server/chunks/152.js:5:4372)
14:33:33.260 | at Timeout.dispatch (/vercel/path0/.next/server/chunks/152.js:1:28130)
14:33:33.261 | at listOnTimeout (node:internal/timers:569:17)
14:33:33.261 | at process.processTimers (node:internal/timers:512:7) {
14:33:33.261 | digest: 'DYNAMIC_SERVER_USAGE'
14:33:33.261 | }
14:33:33.261 | },
14:33:33.261 | elapsedMs: 1
14:33:33.262 | }

From the runtime logs:
NOV 05 14:57:14.54
-
t3-bun-test-deploy.vercel.app
[GET] /
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] { digest: '1526301433' }
NOV 05 14:57:14.52
-
t3-bun-test-deploy.vercel.app
[GET] /
TRPCClientError: Unexpected token ; in JSON at position 4 at TRPCClientError.from (/var/task/.next/server/chunks/152.js:1:25003) at /var/task/.next/server/chunks/152.js:1:29521 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { meta: undefined, shape: undefined, data: undefined, [cause]: SyntaxError: Unexpected token ; in JSON at position 4 at JSON.parse (<anonymous>) at parse (/var/task/.next/server/chunks/152.js:5:4111) at /var/task/.next/server/chunks/152.js:5:3218 at onChunk (/var/task/.next/server/chunks/152.js:5:3371) at readStandardChunks (/var/task/.next/server/chunks/152.js:5:3698) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async readLines (/var/task/.next/server/chunks/152.js:5:3452) at async parseJSONStream (/var/task/.next/server/chunks/152.js:5:3058) }
NOV 05 14:57:14.52
-
t3-bun-test-deploy.vercel.app
[GET] /
 << query  #2 post.hello  { input: { text: 'from tRPC' }, result: TRPCClientError: Unexpected token ; in JSON at position 4 at TRPCClientError.from (/var/task/.next/server/chunks/152.js:1:25003) at /var/task/.next/server/chunks/152.js:1:29521 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { meta: undefined, shape: undefined, data: undefined, [cause]: SyntaxError: Unexpected token ; in JSON at position 4 at JSON.parse (<anonymous>) at parse (/var/task/.next/server/chunks/152.js:5:4111) at /var/task/.next/server/chunks/152.js:5:3218 at onChunk (/var/task/.next/server/chunks/152.js:5:3371) at readStandardChunks (/var/task/.next/server/chunks/152.js:5:3698) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async readLines (/var/task/.next/server/chunks/152.js:5:3452) at async parseJSONStream (/var/task/.next/server/chunks/152.js:5:3058) }, elapsedMs: 58 }
NOV 05 14:57:14.33
500
t3-bun-test-deploy.vercel.app
[GET] /
[GET] / status=500

I'm also getting the same error in the build logs when using an earlier version (7.22.0) of create-t3-app and deploying to Vercel.
I'm not making any changes, just pushing the initial commit and then deploying. Not sure if that info helps, but thought it's worth sharing.

Same issue with tRPC + App Router.
TRPCClientError: Unexpected token ; in JSON at position 4
Works on localhost, but not on vercel.  tRPC + Pages Router works fine. no tRPC + App Router works fine. Tested with both bun create t3-app@latest and npm create t3-app@latest

Confirmed disabling Vercel Authentication fixes the issue.

I'm getting the same issue at build time, also noticed the following error in the runtime logs.
[97;46m << query �[1;97;46m #3 post.hello �[0m {
  input: { text: 'from tRPC' },
  result: TRPCClientError: Unexpected token ; in JSON at position 4
      at TRPCClientError.from (/var/task/.next/server/chunks/152.js:1:25003)
      at /var/task/.next/server/chunks/152.js:1:29521
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    meta: undefined,
    shape: undefined,
    data: undefined,
    [cause]: SyntaxError: Unexpected token ; in JSON at position 4
        at JSON.parse (<anonymous>)
        at parse (/var/task/.next/server/chunks/152.js:5:4111)
        at /var/task/.next/server/chunks/152.js:5:3218
        at onChunk (/var/task/.next/server/chunks/152.js:5:3371)
        at readStandardChunks (/var/task/.next/server/chunks/152.js:5:3698)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async readLines (/var/task/.next/server/chunks/152.js:5:3452)
        at async parseJSONStream (/var/task/.next/server/chunks/152.js:5:3058)
  },
  elapsedMs: 24
}
TRPCClientError: Unexpected token ; in JSON at position 4
    at TRPCClientError.from (/var/task/.next/server/chunks/152.js:1:25003)
    at /var/task/.next/server/chunks/152.js:1:29521
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  meta: undefined,
  shape: undefined,
  data: undefined,
  [cause]: SyntaxError: Unexpected token ; in JSON at position 4
      at JSON.parse (<anonymous>)
      at parse (/var/task/.next/server/chunks/152.js:5:4111)
      at /var/task/.next/server/chunks/152.js:5:3218
      at onChunk (/var/task/.next/server/chunks/152.js:5:3371)
      at readStandardChunks (/var/task/.next/server/chunks/152.js:5:3698)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async readLines (/var/task/.next/server/chunks/152.js:5:3452)
      at async parseJSONStream (/var/task/.next/server/chunks/152.js:5:3058)
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
  digest: '1526301433'
}

I got this error today. Is there a fix?

@FleetAdmiralJakob  The PR linked above your post will fix it. Needs one more change and then it can land :)


AARCH64 SVE eltwise support

I found the fix for Dropout, will push it (or similar) soon :)
It was a bug, that I had fixed in the past, but replaced when I removed my old performance tests.
The issue is/was that the dropout test is using it's own function to determine the vector length, and it "detects" 4 for SVE (which is ofc incorrect).

@AntonioNoack can you please re-run this branch's latest commit on A64FX ( https://github.com/libxsmm/libxsmm/blob/aarch64_eltwise/samples/eltwise/run_test_aarch64_sve.sh ) . I thought relu, dropout, gelu should work and transpose should simply fall back to the ASIMD code. It's important that we can run run_test_aarch64.sh without comments, so the best is to have all the transforms just falling back to the ASIMD generators. When this is all confirmed we are ready for prime time and can merge to master.

@AntonioNoack @breuera : I have updated https://github.com/libxsmm/libxsmm/blob/aarch64_eltwise/samples/eltwise/run_test_aarch64_sve.sh  and ran it on A64FX. However, relu and dropout show random seg faults, but I saw in some report performance numbers for those. Can you please fix such that we can merge?

right now the failing tests are commented in https://github.com/libxsmm/libxsmm/blob/aarch64_eltwise/samples/eltwise/run_test_aarch64_sve.sh

I've found one solution until now :).
It solves the backwards passes for dropout & relu (my code was writing too many bytes for the masks).
Forward still has issues.

Great, thanks for the update


Move repository

@justmoon would be open to moving this repository to your own account?
It should automatically redirect, so the links won't necessarily go dead.

Done


feat: in app swap review screen

Description
Implements an in app swap review screen using the Valora-Rest-API / 0x API.
Video
https://user-images.githubusercontent.com/26950305/184464020-87e5d2ea-d2e3-452d-b971-bf9e61cf4caa.mov
Other changes
Added swap screen and swap review screen to stack navigators.
Added maxSwapSlippagePercentage to remote config values - to allow slippage adjustments from the remote config.
Tested
Tested locally on iOS on mainnet as 0x API has no support for alfajores.
How others should test
Developers
prerequisite: set shouldShowSwapMenuInDrawerMenu used in DrawerNavigator.tsx to true.

Using a funded mainnet wallet navigate to the swap screen
Enter an amounts in to or from and selector tokens. (Testing with cREAL is a good idea as there were some issues previously.
Once amount is set within your wallet balance tap 'Review Swap'
On the review screen check amounts and estimated price modal.
Set your device text to large and ensure no text overlap occurs.

QA
Once this feature is cut and included in the a release we can enable it for select versions.
prerequisite: a funded mainnet wallet.

Navigate to the swap screen
Enter an amounts in to or from and selector tokens. (Testing with cREAL is a good idea as there were some issues previously.
Once amount is set within your wallet balance tap 'Review Swap'
On the review screen check amounts and estimated price modal.
Set your device text to large and ensure no text overlap occurs.

Related issues

Fixes #2582, RET-318

Backwards compatibility
Yes

Hey @MuckT  currently we are not able to see SWAP functionality on mainnet build , please let us know once the feature is enabled on mainnet
Thanks!


Updating lumos styles

Hi arianacabral!, I was looking for a Harry Potter design to put on a site I'm making, I loved yours, I made some modifications, if you like them I'll leave them here. Have a nice day

@freddysae0, thank you so much for your message!
I'm glad you liked the design.
I'm excited to see the modifications you've made.

https://hogwarts.cu/ 😅😂


cronutils: init at 1.10

Description of changes

cronutils is a set of tools to assist the reliable running of periodic and batch jobs.

runalarm: Limit the running time of a process.
runlock: Prevent concurrent runs of a process.
runstat: Export statistics about a process's execution.

https://github.com/google/cronutils
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Trying to figure out how to fix the build failure on darwin... I have some fixes, but I only have infrequent access to darwin hardware.

Darwin should now be build, too.


Poll table fix

Removed several colums from the poll table and changed the order. The filter now only works on the title column. The problem with sorting the table should be fixed now. The vote dialog always receives the correct item.

This should close #436


Document current format parameter syntax

Compare to https://doc.rust-lang.org/std/fmt/index.html#syntax
This is a helpful reference, and also helps determine what parts are still missing for core::fmt parity.

bors r=Lotterleben

bors r=Lotterleben


docs/HTTP/README.md

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

???

Sorry sir.

Hello
Why u lose?
On Thu, 2 Jul 2020, 00:11 Kai Chen<EMAIL_ADDRESS>wrote:

Closed #3085 https://github.com/open-mmlab/mmdetection/pull/3085.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/open-mmlab/mmdetection/pull/3085#event-3503424093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVOLR44BWUZJFXRKY77JN3RZNU5ZANCNFSM4ODNKHEQ
.

Hi @LionPhong！We are grateful for your efforts in helping improve this open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have a WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤ @LionPhong


Translate to Shapefile

At the end of last year, when running the Translate to Shapefile tool in ArcMap, we got an error about the StandardLithology table. I had posted on Gitter in hopes of a quick answer as we were running up against a deadline, but I just now got around to trying the recommended fix.  I did get the tool to work either by removing the StandardLithology table, as it is not required, or by populating it with data. I have noticed the tool still produces a shapefile for other empty feature classes and tables though. I know there are groups meeting about additional as-needed tables that can be added to GeMS for geochemistry, geophysics, engineering, land classification, etc. Can this tool be made so it skips over any empty feature class or table, even if it's optional?

Ah, I see the problem (hopefully). Try again, I just pushed another version.

A new error this time! I can provide the whole results if necessary this is just the last thing it said with the errors.
...
Processing feature data set CorrelationOfMapUnits...
7 feature classes in here
CartographicLines
Dumping COMU_CMUMapUnitPolysLabels.shp...
Finished dump
Dumping COMU_CMUMapUnitPolys.shp...
Finished dump
Dumping COMU_CMUMapUnitPoints.shp...
Finished dump
Dumping COMU_CMUGeochronPoints.shp...
Finished dump
Dumping COMU_CMUContactsAndFaults.shp...
Finished dump
Dumping COMU_CMUCartographicLines.shp...
Finished dump
Dumping COMU_CMUMapUnitLines.shp...
Finished dump
Failed script TranslateToShape...
Traceback (most recent call last):
File "D:\gems-tools-arcmap-master\Scripts\GeMS_TranslateToShape_Arc10.py", line 463, in
main(newgdb, ows, gdb)
File "D:\gems-tools-arcmap-master\Scripts\GeMS_TranslateToShape_Arc10.py", line 439, in main
if arcpy.GetCount_management(tb) > 0:
NameError: global name 'tb' is not defined
Failed to execute (TranslateToShape).
Failed at Wed Apr  5 13:11:05 2023 (Elapsed Time: 9 minutes 0 seconds)

Arg, typo. Fixed it. Try again. Sorry for the back and forth, but ArcMap is still not opening for me.

It worked, thank you!

Good to hear! I will close this issue.


Cu gcvahz create therapist card from hardcoded data

Task linked: CU-gcvahz Create therapist card from hardcoded data


Display problem on primary highway that not exist in OSM

There is some display problem on a primary highway in Saint-Ouen-Sur-Seine (France)
No problem on openstreetmap.
OSM: https://www.openstreetmap.org/?mlat=48.91273&mlon=2.33476#map=19/48.91273/2.33476
Qwant: https://www.qwant.com/maps/#map=19.01/48.9126984/2.3348600
Browser : Firefox or Chrome

Thanks for your feedback.
This is very probably caused by https://github.com/omniscale/imposm3/issues/173
In a nutshell, ways geometries are sometimes not correctly updated in our database and vector tiles, after one of their nodes has moved in OSM data.
This bug requires a good understanding of imposm3 internals to be fixed properly, and I hope we'll find the time to dig into it very soon.

The fix proposed in https://github.com/omniscale/imposm3/pull/206 is not merged upstream yet.
But Qwant Maps is now using a custom release of imposm that includes this fix. So this issue should no longer exist.
See https://github.com/QwantResearch/kartotherian_docker/pull/83 for more details.


Specify offset in request

Hey there!
Thanks for building out this extension, it's awesome. One thing that I would love the ability to do is to start from a specific page offset (what looks like the dependents_after query param in the UI) For analyzing a larger repo, the current rate limiting back off might not be enough - it seems to bust at around page 30-40 for me. I'm wondering how much effort it would be to plumb through a command line flag to set the starting dependents_after value so it can pick up from a previous cursor.
(Side note: I just noticed there's a package vs. repository filter on the Network Dependents page - would that be simple enough to wire up, too?)

I like the idea too.
Let me know some repos which I can test your scenario.

Thanks for the quick turnaround @otiai10! It seems to work as intended. I've been trying to analyze the dependents of https://github.com/eslint/eslint, which has millions of repository dependents and ~400k package dependents. The scale of this might just be too big to crawl 30 results at a time without a sorting query param which I don't think is available 😭


Concatenate 2 or more matches in template fields

I have a vendor that puts a decimal point in the middle of their invoice numbers. I'd like to be able to return the invoice number without the decimal point by matching something like
invoice_number: BelegNummer:*(\d+)\.(\d+)
and concatenating the two matches.
I was able to implement this locally with a one line change, but I don't really know python so I'm not sure this is a good change. :-)
index 7e0578b..df4aba0 100644
--- a/invoice2data/extract/invoice_template.py
+++ b/invoice2data/extract/invoice_template.py
@@ -158,7 +158,7 @@ class InvoiceTemplate(OrderedDict):
                     elif k.startswith('amount'):
                         output[k] = self.parse_number(res_find[0])
                     else:
-                        output[k] = res_find[0]
+                        output[k] = ''.join(res_find[0])
                 else:
                     logger.warning("regexp for field %s didn't match", k)

That's a very specialized case, but the change may still be useful for other situations. Let me test for issues and then merge.

You can probably solve this by changing the regex group a little bit. Like:
invoice_number: BelegNummer:*(\d+\.\d+)
This will capture both parts plus the dot.

Option 1:
Since https://github.com/invoice-x/invoice2data/pull/487
It is possible to concatenate multple capturing groups.
Option2:
rewrite the line with the replacement feature.
options:
  replace:
    - ['(?P<field_start>BelegNummer:*)(?P<first_part>\d+)\.(?P<second_part>\d+)',' \g<field_start>\g<first_part>\g<second_part>']

Option 3:
Data cleansing post processing.
If one only wants to capture digits.
A post processing could be done like:
re.sub(r'\W+', '', invoice_number)
This is not implemented in this lib yet.
But I use this in another module which calls invoice2data.
I see more use cases for this option. It would also help the use case of GfxKai.
But for now we only have the other 2 options.
Will create a separate issue for the implementation of data sanitization after a match.


Is it possible to use connection pool?

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v7 (for Elasticsearch 7.x)
Please describe the expected behavior
Please describe the actual behavior
Any steps to reproduce the behavior?
How is the api if possible

The Go standard library already comes with a HTTP connection pool.


Cannot import UTCDate with typescript 5

Hi,
I upgraded from typescript 4.9 to 5 and now we're getting this error when importing @date-fns/utc (version 1.1.0)
Type error: Could not find a declaration file for module '@date-fns/utc'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  There are types at<EMAIL_ADDRESS>but this result could not be resolved when respecting package.json "exports". The '@date-fns/utc' library may need to update its package.json or typings.

would appreciate some help if possible

Fixed and shipped with<EMAIL_ADDRESS>Thank you for reporting!


Divergence between base-type definition in the specification and .ifc produced by MSVC

The definition of base-type looks like
struct BaseType {
    TypeIndex type;
    Access access;
    bool shared;
    bool pack_expanded;
};

in the specification right now (sec:ifc:TypeSort:Base).
But shared and pack_exanded occupy exactly one bit each one in .ifc file produced by MSVC. And so it seems, that definition of BaseType should be
struct BaseType {
    TypeIndex type;
    Access access;
    bool shared : 1;
    bool pack_expanded : 1;
};

Thanks for the report.
As a general rule, bitfields are to be avoided in the IFC spec (and hopefully implementations too).  It looks like the implementation did evolve to avoid the bitfield, but the doc was not updated to reflect the correction in the implementation.  Fixed shortly.


Small changes to bluetooth RSSI tracking

Breaking Change:

Description:
Updated bluetooth RSSI tracking library and made sure to always close bluetooth sockets.
WIP - Needs testing before merge!
Related issue (if applicable): #16448 (might not fix)
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):
device_tracker:
    - platform: bluetooth_tracker
      interval_seconds: 2
      request_rssi: true

Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[ ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Can you rebase code so we get sucessful tests (3.7 was broken in dev when you branched).

Should be good to now, assuming the tests pass.
Not sure it fixes #16448 - but it's definetely better code than it was before 😆


I can install the service

Very basic initial installer
On a Windows 10 machine,
as an administrator on the machine,
I can run the "Metered Connection Scheduler.msi" file.
I will be shown a simple GUI to accept license and install.
After install the service will be installed and start.
I can see it in the Services management app, and stop and start it.
I can uninstall Metered Connection Scheduler from 'Apps & features' (aka Add & Remove Programs)

Done by cf9e0fb and d5f8e80 (with f7dbe29 thrown in for good measure)


waiting forever with multi-GPU

Hello,
I've tried to follow Using DIGITS to train an Object Detection network. When I clicked the create button for training DetectNet with DIGITS with multi-GPU (i.e. 2, or 3 or 4 GPUs), job status is "waiting" forever. When I chose only single GPU, job status is "running" but estimated time is about 20 hours. Dataset is KITTI object dataset as mentioned in the tutorial. I installed nv-deep-learning-repo-ubuntu1404-ga-cuda8.0-cudnn5.1.10_1-1_amd64.deb. DIGITS version is 4.0.0 and Caffe version 0.5.13. Any comment would be appreciated.

similar issue


ResultSet mergeability

Description
ResultSet is not mergeable.
Suggestions
Support merging ResultSet instances so that the complexity of merging multi-profile results can be encapsulated (e.g. if the results are segmented), then it would be easier to use the methods that return ResultSet in a distributed environment.

[x] I have reviewed the Guidelines for Contributing and the Code of Conduct.

Its actually fairly complex with segments, removing the good first issue label.


[Feature request] Show dimension

When I send coordinates it would be helpful if it said the dimension as well. I can't imagine it'd be too hard to set up?

i just did it you can install the latest version

i just did it you can install the latest version

I installed the latest version, it does not work. All that changed is that it says x y or z before each respective number.

I installed the latest version, it does not work. All that changed is that it says x y or z before each respective number.

oh i guess it didn't save, i'll fix it and just replace the download link file and let you know when its fixed

ok should be fixed, you can download from the same release i just replaced the file


Allow migrations to be ran automatically.

So I'm still running 6.x branch and I'm wondering whether these upgrade instructions (https://github.com/exceptionless/Exceptionless/wiki/Upgrading) are automatically applied on upgrade. If not, it would be useful that this could be added. There are quite a few containers upgrading data automatically.

@PhyxionNL yeah, I agree that ideally we would upgrade on the fly. Problem is that some upgrades require down time. So we need to figure out a way to handle that. Definitely something I want to do though.

Alright, sounds good.
I've just tried to migrate the data manually but it doesn't seem to have run correctly. None of the fixed status is migrated and all old events show this in Extended Data:
Is_deleted
False
Is_fixed
True
Is_hidden
False
Any ideas on how to address this?

The migration does do something, Completed migration Exceptionless.Core.Migrations.SetStackStatus., I can also see Updated records. But the data isn't correct. The fixed-x.y.z label is there, but the status of all stacks is Open, rather than Fixed (as it should be). Am I missing something here or is the migration job incomplete? All old data also has the above fields now shown in Extended Data. I can live with that, but I do would like to find a fix for all the broken stack statuses.

What do the migration document look like in the migration elastic index? That should say if it completed or there were errors.  Yeah the fixed label shouldn't be there unless it's regressed or fixed, that also shouldn't shown in extended data. I haven't noticed that in any of our events.

The migration code does report SetStackStatus has run (with all successful Updates).
However, I've been checking v6 data in Elastic but I do not see is_fixed there on stack level. is_fixed is only on event level. All there is at stack level (_source) is
		"disable_notifications": false, 		"is_hidden": false, 		"is_regressed": false, 		"occurrences_are_critical": false,
Furthermore, if the is_hidden etc on event level is no longer used, shouldn't these be removed? I cannot find that in the Migrations, but maybe I'm looking in the wrong place, I'm not that familiar with the code.

Something seems off, can you try removing those migration documents and run again, Maybe they didn't run if there was no existing migration docs @ejsmith? No we didn't want to update events in any migration (hundreds of millions of them for no benefit), they will fall off over time.

For items that are fixed:
	"fixed_in_version": "x.y.z", 	"date_fixed": "x-y-xxx",

Didn't mean to close it ^^

Was is_fixed set on that stack? Does anything in this logic look off to you based on the data you have for the stack: https://github.com/exceptionless/Exceptionless/blob/master/src/Exceptionless.Core/Migrations/002_SetStackStatus.cs#L34 Would you mind posting the whole stack json minus any id's or sensitive data.

No, is_fixed isn't set on any stack as far as I could find (I'll do another sweep of the data tomorrow). I have modified the SetStackStatus script to this:
const string script = "if (ctx._source.is_regressed == true) ctx._source.status = 'regressed'; else if (ctx._source.is_hidden == true) ctx._source.status = 'ignored'; else if (ctx._source.disable_notifications == true) ctx._source.status = 'ignored'; else if (ctx._source.is_fixed == true) ctx._source.status = 'fixed'; else if (ctx._source.containsKey('date_fixed')) ctx._source.status = 'fixed'; else ctx._source.status = 'open';";
The fixed status is now more reliably shown, but still not the same as v6, there are still more stacks. I will investigate some more as to the differences.
Furthermore, I'm receiving this message when viewing old data, which seems odd as I'm running locally.
Unable to view event occurrence due to plan limits. How can I increase/change this?
Why are ' Recent Occurrences' now sorted backwards? This seems counterintuitive to me, as 'Recent' kinda says it all. I also miss the Exception Dashboard a bit 😊

Some of these exception stacks are regressed + hidden, I think that's the main cause for the remainders, I'll check again tomrrow.

I have migrated everything now. The majority of the remaining issues indeed were because hidden was not prefered over regressed. This default migration behavior doesn't seem very logical to me as if you deliberately hide them then you most likely don't want to see them anymore. The resulting script for SetStackStatus is now:
"if (ctx._source.is_hidden == true) ctx._source.status = 'ignored'; else if (ctx._source.is_regressed == true) ctx._source.status = 'regressed'; else if (ctx._source.disable_notifications == true) ctx._source.status = 'ignored'; else if (ctx._source.is_fixed == true) ctx._source.status = 'fixed'; else if (ctx._source.containsKey('date_fixed')) ctx._source.status = 'fixed'; else ctx._source.status = 'open';";.
May it be of use to some 😊 Or do you want this in a PR?
The plan issue is only for events at "retention days" in the last couple of hours, so it seems to cut this off a bit too soon. Probably an existing bug but never noticed this before. Does that check even make sense if the organisation is on the unlimited plan? As long as the events exist it should show them.
The sorting itself is fixed in 7.0.3 (maybe earlier), I had it first on 7.0.0 for migration. Glad to see the stats reappear on this version as well.

Yeah, if you want to add a pr that adds this else if (ctx._source.containsKey('date_fixed')) before the last else we'd merge that in. We didn't want to update events in a migration as it's super expensive when you have hundreds of millions of events. Nice find! We'd recommend updating fast on the 7.x series if possible we are doing many small bug fixes and it seems really stable now.

Thanks for reporting this issue to us. Please let us know if we are missing anything.

Maybe this shouldn't be closed still? An automatic update would be useful.

For migrations

@PhyxionNL I'm going to close this, as it really should be up to the user when to run data migrations. We've made it a one liner to run in 7.1 from a docker container now. For us, we would kick off a k8's pod todo the migration, but an end user might want to run it in process but that could take a very long time. We try to keep our web processes light, so having a job do it is a no brainer. Any feedback would be greatly appreciated on this and we can discus it more.


could not import DistributedOptimizer after torchdrug

Version:
torch                         1.11.0+cu113
torchdrug                     0.1.2

Code:
from torchdrug import data as td
from torch.distributed.optim import DistributedOptimizer

Error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
      from torch.distributed.optim import DistributedOptimizer
  File "/opt/conda/envs/tankbind_py38/lib/python3.8/site-packages/torch/distributed/optim/__init__.py", line 28, in <module>
    from .zero_redundancy_optimizer import ZeroRedundancyOptimizer
  File "/opt/conda/envs/tankbind_py38/lib/python3.8/site-packages/torch/distributed/optim/zero_redundancy_optimizer.py", line 267, in <module>
    class ZeroRedundancyOptimizer(Optimizer, Joinable):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

I have no idea why this happened, but it can work properly by swapping the positions of two lines

Hi! This may result from the patch on the optimizer in torchdrug. An easy fix is to import this optimizer before you import torchdrug. I will try to see if I can find some better solution for that.


chore: bump vitest in templates

Fixes N/A
This PR simply bumps vitest in the C3 templates to the latest version currently supported, 2.1.6.

Tests

[ ] TODO (before merge)
[ ] Tests included
[x] Tests not necessary because: no functional changes - dependency bump

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required
[x] Not required because: no functional changes - dependency bump

Public documentation

[ ] TODO (before merge)
[x] Cloudflare docs PR(s): https://github.com/cloudflare/cloudflare-docs/pull/18474
[ ] Documentation not necessary because:

Hdb

Should this be 2.1.8 now? I understand that the issues in 2.1.6 were fixed in 2.1.7, so they should be safe

2.1.8 should be fine now if we want to bump it again. It's functionally equivalent to 2.1.5 except also allowing Node 21 in its engines.


sensor: thermistor: improve temperature calculation

Tested with STM32F303C8 and Murata NXFT15XH103FA2B060.
Would especially appreciate comments about DTS changes.
In summary: I don't think I've ever seen such a configuration where the thermistor is sandwiched between two fixed value resistors. Is there really a need to require the user to provide two resistance values? Such configuration seems really exotic and is not supported by the driver anyways.
If only the classical scenario should be supported, then it's enough to only require the one fixed resistance value and the rest can be deduced from connection-type.

Dropped DT changes since it's quite clear from the linked PRs that Linux compatibility is an important aspect and also to avoid conflicts with #57368.
Only remaining changes are bugfixes.

Rebase to pick up a fix for the failed Pull Request Assigner check


Dedicated httpbin under basic auth

Hi,
I want to have my own HttpBin instance (because don't want to DDOS public version) for many requests. But I want to close access to my instance over basic auth, but new Swagger UI doesn't work.
Steps to reproduce:

Make basic auth on your nginx
Go to httpbin site
Look at the infinity loading
Go to Developer Tools -> Network
Look at Status Code: 401 on the /spec.json request

I can't  find authorization: Basic *** in the request headers
Expected Result:
HttpBin works, or can I protect instance in the httpbin from Docker?

I'm sorry, but could someone help me, please?

Maybe incorporating aspects of https://github.com/rochacbruno/flasgger/blob/master/examples/basic_auth.py will help.

@javabrett, thanks a lot, but I’ve used the version 0.7.0 with previous design. I’ll try to do it later


fix: return missing admin fields

Description :sparkles:
HL-1306

caused some admin fields for application to go missing.
This PR makes them visible again.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:

Additional notes :spiral_notepad:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3071.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3071.dev.hel.ninja :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3071.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr3071.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-handler-pr3071.dev.hel.ninja :laughing::tada::tada::tada:


Added ability to set env vars to enable use cases such as http/https_…

Added helm chart env vars option, so users can specify proxy servers if needed.

/assign @paramsethi

Also waiting on this PR, would be great to get in a release

Hi @eperdeme this looks great, thanks for this contribution. Final thing: could you please add to the e2e tests to make sure this functionality is tested?

Hi @eperdeme this looks great, thanks for this contribution. Final thing: could you please add to the e2e tests to make sure this functionality is tested?

I'll give it a good go.
Just to clarify, is the e2e test to verify that an ENV var being defined is present on the pod (env | grep MYVAR), or that the app is able to consume a proxy server (as then we'd need a proxy server).

The issue with the tests is they spawn 2 CA's which from my understanding would incur a $800 fee, I'm not 100% sure how the "prorated" billing works, if they bill you $800 then refund you next month? Or they divide the $800/hours per month * hours of usage, but with that lack of understanding and clarify on AWS website I can't get financial signoff in my company to run the tests.
Either way, I think that's really going to put off anybody running these tests.
I'll comment out them element that spawn the PCA and just verify the ENV vars appear, but I can't run an E2E.

Further investigating shows the test pack to be dangerous. Whilst it does spawn the KinD cluster it doesn't change kubectl context to it, as such the first thing that happens is it destroys your defaulted kubectl context.
I think there's a fair amount of work needed outside of this MR to make the testing possible/functional for the community to contribute. As rewriting the test approach for the project is probably something I've not got the experience with and at current time to do.
It's up to you if you will accept the merge without the tests, for now we'll use the fork.

Thanks for your feedback and questions. The CA pricing is pro-rated, so if a CA is deleted, AWS no longer charges for it. We have passed on your additional ideas on making contributions to this repository more accessible. If you choose to re-open this PR, we will be happy to consider reviewing and merging in your changes.


PINURLSessionManager crash trying to get delegateQueue

Crash occurred here: https://github.com/pinterest/PINRemoteImage/blob/master/Pod/Classes/PINURLSessionManager.m#L89
In PINRemoteImage 1.2.2. Happened to catch it in the debugger. It got a nil delegateQueue out of the delegateQueues dictionary.

@dmauro Thanks for reporting! This was address in https://github.com/pinterest/PINRemoteImage/commit/21e69bcf809f27039d0bd28e157bedbff73fa119#diff-3a0c5e99470a5f988d8cd462abb141a2
You should update :)

Sorry, will do. Thanks!


k3s_1_28: init at 1.28.3

Description of changes
This PR initializes the k3s series with a version 1.28 branch, starting with 1.28.3. The 1.28 line will be EOL in 10/2024, making the matrix as I understand it:

version
EOL

1.24
07/2023

1.25
10/2023

1.26
02/2024

1.27
06/2024

1.28
10/2024

Update script was used to generate all the SHAs for the new 1_28 directory so my assumption is it is functioning as expected.
nixpkgs-review rev HEAD
1 package added:
k3s_1_28 (init at 1.28.3+k3s2)

1 package built:
k3s_1_28

Also ran single and multi-node tests via the commands below with no apparent failures:
nix build '.#k3s_1_28.tests.single-node'
nix build '.#k3s_1_28.tests.multi-node'

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[X] Tested, as applicable:

nix build '.#k3s_1_28.tests.single-node'
nix build '.#k3s_1_28.tests.multi-node'

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

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

[X] Fits CONTRIBUTING.md.

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

Sorry for being a bit slow to review this by the way! I appreciate the work and so on, and since the tests pass it's almost certainly solid!
Since it's a new major version, I still want to spend a small bit of extra time making sure it works for my setup, and I've had less time than usual for nixpkgs stuff recently :sweat:
I expect to give this a spin, and review, within the next few days!

Regarding the EOL matrix, I think that's totally accurate. Having 1.28 package helps, but sorting out the rest of that seems like a job for a separate PR (or PRs).
I dropped the ball on getting k3s versions properly sorted out in time for the 23.11 NixOS release unfortunately, but you know, better late than never :sweat_smile:

CC @emilytrau


Think about VS Code's "alt-enter"

When code is executed in VS Code with "ALT-Enter", it shows the full stack trace. "CTRL-Enter" which works by copying code into the REPL, abbreviates it.
Is there a way to make it work for both that doesn't also prevent full errors from being shown in non-interactive contexts?
Could just say that the VSCode REPL is always interactive. But may need to make sure any worker processes spawned by VSCode still show full errors I think?

Seems to work now.

Nope! Instead, it's eliding extra frames, presumably because they are assigned to the file being run. However, it shouldn't be considered internal.

Got it


Create Factory services

Hi,
What's the correct way to use factory services.
Usually, (in my Php projects), i'm using a service locator.
Ex:
public function createService(ServiceLocatorInterface $serviceLocator)
{
$config  = $serviceLocator->get('Config');
$om = $serviceLocator->get('om');
    $abonnementMapper = $om->getRepository('Membre\Entity\MembreAbonnement');

    $instance = new AbonnementService();
    $instance->setAbonnementMapper($abonnementMapper);

    return $instance;
}

Can you tell me how to do such a thing with TypeDi ?
David

this feature is coming in next release via #11 by @slavafomin

Thank you very much @pleerock .
You're doing a great great job.
I'm using typeorm, typedi and routing-controllers.
Awesome modules !


Develop ARP754 Reporting Prototype

Description:
Develop an ARP-4754 prototype that satisfies the following:

Project-generic over at least the Hybrid-electric and ADEPT models
Also referenced in the MBSE issue

High-level TODO:

[ ] Refactor the DO-178C reporting code

[ ] Identify reusable parts

[ ] Develop new code for ARP-4754

[ ] Develop an data model for an ARP-4754 Development Assurance Plan

[ ] Use config files instead of hardcoded classnames in the data-processor

[ ] Create new GUI that does not include tables

Task outline:

[ ] Create the ARP4754 Development Assurance Plan data model
[ ] Develop the GUI code
[ ] Develop the data processor that reads a config file
[ ] Develop the compliance logic for a set of objectives (find the easiest ones that relate to requirement analysis)

Compliance logic:
Assumptions based on the definitions in ARP4754:
Aircraft are composed of systems (e.g, engine). Systems are composed of systems (e.g, turbines) or items (eg, blisk).

Process 2.0
2.2:  Aircraft functions are allocated to systems, Output: System Requirements with Interfaces
Check that there are a set of system requirements and each system requirement is allocated to some system
Check that each system linked to a system requirement has a set of associated interfaces
2.4:  System derived requirements including assumptions and system interfaces are defined, Output: System Requirements
Check that there are a set of derived requirements

Process 4.0

Process 5.0

Plan:

Create algorithms for the data processor and compliance logic using the generic terms like System, item, system requirements, interfaces, etc
Develop a template for the config files that requires the corresponding terms from the project overlay
Add the classes to the ADEPT overlay and create the config+ queries + code


https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Cryptography_functions

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[X] New documentation
[ ] Correction or update

Details

The url
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Cryptography_functions
doesn't have any information on the functions and the MXR links for each function is broken.  It would be nice to at least get descriptions of these functions, is there a timeline this will get fixed?
Thank you!

Not open web, so MDN team is not likely to address.

I don't quite get the answer.  Will all the methods listed get documented?  Be nice to have a fully documented API.

@jpfreyen The focus of the MDN staff team is on documenting web standards, rather than Mozilla-internal projects. Updating/completing this article would be up to either the NSS engineering team, or interested volunteers.


python312Packages.publicsuffixlist: <IP_ADDRESS>41002 -> <IP_ADDRESS>41003

Changelog: https://github.com/ko-zu/psl/blob/v<IP_ADDRESS>41003-gha/CHANGES.md

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

4 packages marked as broken and skipped:

python311Packages.parsedmarc
python311Packages.parsedmarc.dist
python312Packages.parsedmarc
python312Packages.parsedmarc.dist

15 packages built:

parsedmarc
parsedmarc.dist
pretalx
pretalx.dist
pretalx.static
python311Packages.checkdmarc
python311Packages.checkdmarc.dist
python311Packages.publicsuffixlist
python311Packages.publicsuffixlist.dist
python312Packages.checkdmarc
python312Packages.checkdmarc.dist
python312Packages.publicsuffixlist
python312Packages.publicsuffixlist.dist
trustymail
trustymail.dist


MainListView::InitiateDrag should use dragIndex, not current selection

Thanks very much. That indeed fixes the issue!