Untracked uvar

module NoUvars

open FStar.List.Tot
open FStar.Tactics
open FStar.Calc

open FStar.FunctionalExtensionality

val w0 (a : Type u#a) : Type u#(max 1 a)
let w0 a = (a -> Type0) -> Type0

let monotonic (w:w0 'a) =
  forall p1 p2. (forall x. p1 x ==> p2 x) ==> w p1 ==> w p2

val w (a : Type u#a) : Type u#(max 1 a)
let w a = w:(w0 a)//{monotonic w}

val w_ord (#a : Type) : w a -> w a -> Type0
let w_ord wp1 wp2 = forall p. wp1 p ==> wp2 p

val interp (#a : Type) : list a -> w a
let interp #a (l:list a) = fun p -> forall x. memP x l ==> p x

let dm (a : Type) (wp : w a) : Type =
  ( pre:Type & (squash pre -> c:(list a){wp `w_ord` interp c}) )

let irepr (a : Type) (wp: w a) =
  dm a wp

let rec pmap #a #b #pre (#post:b->Type0)
  (f : (x:a -> Pure b (requires (pre x)) (ensures post)))
  (l : list a)
  : Pure (list (v:b{post v}))
         (requires (forall x. memP x l ==> pre x))
         (ensures (fun _ -> True))
  = match l with
    | [] -> []
    | x::xs -> f x :: pmap #_ #_ #pre #post f xs

let rec conjmapl #a
    (p : a -> Type0)
    (l : list a)
  : Pure Type0 (requires True)
               (ensures (fun pp -> pp ==> (forall x. memP x l ==> p x)))
  = match l with
    | [] -> True
    | x::xs -> p x /\ conjmapl p xs

let rec myflatten #a #wp (xss : list (m:(list a){wp `w_ord` interp m})) : m:(list a){wp `w_ord` interp m} =
  match xss with
  | [] -> []
  | xs::xss -> admit (); xs @ myflatten xss

let ibind
  (a : Type) (b : Type)
  (wp_v : w a) (wp_f: a -> w b)
  (v : irepr a wp_v) (f : (x:a -> irepr b (wp_f x)))
: irepr b (fun _ -> False)
= let pre : Type0 = dfst v /\ conjmapl (fun x -> dfst (f x)) (dsnd v ()) in
  (| pre, (fun _ ->
             let vs = dsnd v () in
             let xss = pmap #a #(list b) #(fun x -> dfst (f x)) (fun x -> dsnd (f x) ()) vs in
             //magic ()) |)
             myflatten #_ #_ xss) |)

Gives
ASSERTION FAILURE: (<input>(65,27-65,28)) CheckNoUvars: Unexpected unification variable remains: (*?u360*) _

Using the magic instead also gives an error
ASSERTION FAILURE: ensure_no_uvar_subst: expected a uvar at the head

Minimized, it's something about the refinement nested within the list.
assume
val intro (#a:_) (#p:_) (l : list (list a))
  : Pure (list (m:list a{p}))
         (requires p)
         (ensures (fun _ -> True))

assume
val outro (#a:_) (#p:_) (l : list (m:list a{p}))
  : list (list a)

let test () =
  outro (intro [[]])

Failure("(NoUvars.fst(28,9-28,14)) CheckNoUvars: Unexpected unification variable remains: (*?u20*) _")

The assumes could be implemented too.


The HammingWeight of CalculateDctHash() is always an even number

I'm not sure if this is a bug, or expected behavior, but when I created a 64 entry histogram of the "onesInHash" of a large number (> 1.5 million) of CompareHashes() results, I noticed that all the odd-numbered entries were zero. Investigating further, I discovered  the HammingWeight of all 1779 results returned from CalculateDctHash(0 were also even numbers. I don't understand the DctHash algorithm well enough to judge, but this feels like a bug to me. Instead of 65 possible comparison results, we only have 33.
I wrote the attached test program to convince myself that I hadn't introduced a subtle bug into your code.  I downloaded a fresh copy of your latest code, added a new console project to it, and replaced the auto-generated Program.cs with my test app.  To run it, replace the first line of Main() with a path to a folder containing a bunch of image files.
Program.zip

I went throught the DCT hash generation and it seems to be correct. I also tested the DCT calculation part against another implementation and it gave identical results to my implementation. Thus it seems that this somewhat strange behaviour is just how DCT hash calculation functions.
In future versions I will probably extend the DCT hash generation to also produce 128-bit hashes to take care of this loss of precision.

It's almost certainly not as easy as replacing 64 with 128. The code relies on the fact that a C# ulong is 64 bits long. .NET 7 will have a UINT128 datatype, but it's only available in (bleeding edge) .NET 7 Preview 5. Testing I did several years ago on a Java pHash package indicated that 64-bit DCT hashes were only marginally worse than 256-bit DCT hashes and much faster to create YMMV.
FWIW, I read somewhere that odd-numbered  "onesInHash" being zero is expected behavior for DCT algorithms. It's apparently caused by the fact that the algorithm uses cosine and cosine(pi/2) = 0.

It's almost certainly not as easy as replacing 64 with 128. The code relies on the fact that a C# ulong is 64 bits long. .NET 7 will have a UINT128 datatype, but it's only available in (bleeding edge) .NET 7 Preview 5. Testing I did several years ago on a Java pHash package indicated that 64-bit DCT hashes were only marginally worse than 256-bit DCT hashes and much faster to create. YMMV. FWIW, I read somewhere that odd-numbered "onesInHash" being zero is expected behavior for DCT algorithms. It's apparently caused by the fact that the algorithm uses cosine and cosine(pi/2) = 0.

That's extremely interesting!  Thank you for replying so fast, this is very helpful.
Yea, I figured that it was not as simple as simply changing the bytesize for 64 to 128, but I figured that I do not know much about low-level of hash generation so I might as well ask and see.
It sounds like PHash is optimized for 64 bit hashes, and that the value add based on your research is not worth it.  Perhaps when the new net7.0 is stable (probably best not to touch bleeding edge imo) maybe the case will be different.
But I suspect that your research is 1000% correct, and based on  cosine and cosine(pi/2) = 0 has a large reason of why this is the case.
Perhaps we'll have to wait until PHash2 comes out, like Blake2 and Blake3 eventually were published.
Big thank you again on the response! I write code all day, every day, mainly infrastructure microservice type code, and reading your response makes me realize I have much to learn in the areas of hashing and byte hashing!
Again, big thank you for this amazing library!

Off topic Questions (I can open up separate issues if needed

In the past did you work with the other C# PHash Implementation called FindSimilar? I am curious about the performance differences (if any) because the implementation is different (perhaps its the same, but the code is much different).

At some point in the future I want to create a 'benchmark comparison' for this library and  FindSimilar just for curiosities sake

Do you consider DupImageLib to be complete? Or is there a roadmap / Feature wishlist? I'd love to make some pull requests.

Thanks again!

I’ve never worked with FindSimilar. I think DupImageLib is pretty good. I like the fact that it has 4 different pHash algorithms and pluggable transformers to greyscale and shrink the images. The other 3 algorithms are significantly faster than DctHash. My limited testing indicates that they all perform pretty well, with DctHash usually at or near the top in match quality.
I suspect that the most important difference between pHash implementations will come down to the algorithm used to shrink the image.  I see that the author of DupImageLib has switched form Magick.Net to ImageSharp. I’ll be curious to see how they compare.
The DctHash generation code itself is not very long or complex. My suspicion is that everybody has copied each other’s hashing code and there aren’t significant differences between them (except performance. DupImageLib uses Math.Consine(); I have a Java implementation that uses a table-lookup for its discrete cosine values, which should be a lot faster).
Note that DupImageLib’s DctHash generates a 64-bit hash code, as does its other 3 pHash algorithms.  The cosine thing just means that it classifies a comparison of two images into 1 of 32 ‘slots’ (from identical to not-at-all-similar), rather than 64 slots. Based on my testing, DctHash is most often the best classifier of the 4. AvgHash does pretty well, too. My testing is on-going, and harder to do than you’d think, so this conclusion is somewhat provisional.
I’d like to see an implementation that hashes all three RGB channels, rather than grayscaling the image.
Best regards,
David Ei
Email:     @.> @.
Home:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
From: Jeff Ward @.***
Sent: Friday, October 28, 2022 12:23 AM
To: Quickshot/DupImageLib @.>
Cc: dei @.>; Author @.***>
Subject: Re: [Quickshot/DupImageLib] The HammingWeight of CalculateDctHash() is always an even number (#7)
It's almost certainly not as easy as replacing 64 with 128. The code relies on the fact that a C# ulong is 64 bits long. .NET 7 will have a UINT128 datatype, but it's only available in (bleeding edge) .NET 7 Preview 5. Testing I did several years ago on a Java pHash package indicated that 64-bit DCT hashes were only marginally worse than 256-bit DCT hashes and much faster to create. YMMV. FWIW, I read somewhere that odd-numbered "onesInHash" being zero is expected behavior for DCT algorithms. It's apparently caused by the fact that the algorithm uses cosine and cosine(pi/2) = 0.
That's extremely interesting! Thank you for replying so fast, this is very helpful.
Yea, I figured that it was not as simple as simply changing the bytesize for 64 to 128, but I figured that I do not know much about low-level of hash generation so I might as well ask and see.
It sounds like PHash is optimized for 64 bit hashes, and that the value add based on your research is not worth it. Perhaps when the new net7.0 is stable (probably best not to touch bleeding edge imo) maybe the case will be different.
But I suspect that your research is 1000% correct, and based on cosine and cosine(pi/2) = 0 has a large reason of why this is the case.
Perhaps we'll have to wait until PHash2 comes out, like Blake2 and Blake3 eventually were published.
Big thank you again on the response! I write code all day, every day, mainly infrastructure microservice type code, and reading your response makes me realize I have much to learn in the areas of hashing and byte hashing!
Again, big thank you for this amazing library!

Off topic Questions (I can open up separate issues if needed

 In the past did you work with the other C# PHash Implementation called FindSimilar <https://github.com/dlaperriere/Find_Similar_Images/blob/master/Library/Image/ImageHash/ImagePHash.cs> ? I am curious about the performance differences (if any) because the implementation is different (perhaps its the same, but the code is much different).

At some point in the future I want to create a 'benchmark comparison' for this library and FindSimilar https://github.com/dlaperriere/Find_Similar_Images/blob/master/Library/Image/ImageHash/ImagePHash.cs  just for curiosities sake

 Do you consider DupImageLib to be complete? Or is there a roadmap / Feature wishlist? I'd love to make some pull requests.

Thanks again!
—
Reply to this email directly, view it on GitHub https://github.com/Quickshot/DupImageLib/issues/7#issuecomment-1294435404 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAE4EBA5SN4RDVMX6TEXQLWFNILZANCNFSM4WBPQOIA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AGAE4ECQXQIWEHSB7YJZHELWFNILZA5CNFSM4WBPQOIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJUTYITA.gif Message ID: @.*** @.***> >


Allow for more rich variable names

It would be nice to have variable names that go beyond numbers.

Is implemented but documentation is missing.

The literal rule does not work well with arbitrary variable names as the order of literal axioms is no longer clear. Currently it is the order as variables occur in the formula/ proof but this is not very user friendly.


ISPN-15241 fix property name to connection-pooling

https://issues.redhat.com/browse/ISPN-15241
Fix property name in the schema
@pruivo fixing an old bug. Could you elaborate about its implications?

@domiborges I'm not aware of any implication. It looks like a type to me.

Merged, thanks


[keyvault] keyvault-certificates: depend on keyvault-common

Packages impacted by this PR

@azure/keyvault-certificates

Issues associated with this PR

#22705

Describe the problem that is addressed by this PR
Migrates keyvault-certificates to use the keyvault-common common package.

API change check
API changes are not detected in this pull request.


ZEPPELIN-437 Improvement Autoscroll

https://issues.apache.org/jira/browse/ZEPPELIN-437
This PR changes

Autoscroll to cursor on paragraph status change, only when cursor is on the last paragraph (to tail the notebook)
When tail the notebook, waits for sometime to output is rendered and then fire autoscroll event.

Ready to merge

I will test that out

Good to Go!

Thanks for review. i'm merging.


Instance of Isolateruntimeerror

This happens when starting a client. Sometimes it works, sometimes it shows this error. Any idea why this is happening?

I assume this is a problem with isohttpd however before you report it there I'll do some investigation of my own...

@Robert3141 any updates?. This happens when disposing a server and then starting it again.

sorry, I've got no clue I'm afraid

@vinayaksankeet99 Sorry, but I think I need a bigger logcat in order to understand what's happening. What device does this error occur on?

Good day. Any update on this issue ?

Hello @Robert3141, I got the same problem. On debug mode it is working  just fine. Any idea about how we can solve it?
Regards


⚠ Fortnite has degraded performance

In 2a8deda, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1576 ms

Resolved: Fortnite performance has improved in c2a391f.


Hovering over some links don't change any styles

When hovering over the discussions panels links (and probably other places in the app), there is no underline or any change in link color.  It is harder for a user to know this is a link without also adding another form of feedback other than a pointer cursor.
Look through the app and find any buttons or links that are clickable but don't change styles and fix.

Please check request #298

I'll close this for now, but there are still a lot of links that don't show any hover feedback.  I think we need to make a shared component or a common BEM class for links and use that.

#306 closes this issue !
Now all the links have a underline decoration 👍🏼


Updated README.md

Updated the screenshot of the website.

@Anusri2107  add before and after screenshot

Old screenshots:

New Screenshots:

@Anusri2107 feel free to create more  issues , also starred our repo :)


BLOCK_CACHE must be a user specified thing.

Dup of https://github.com/Great-Hill-Corporation/ethslurp/issues/147


Implemented WarmStorage consumer as WorkerRole

Collected metrics uses for performance testing.
Implemented WarmStorage consumer as a worker role.

LGTM, @francischeung can you take a quick peek?


Request payload size exceeds the limit: 4194304 bytes.

private fun imageConvertText(uri: Uri) {
        loadingDialog.show()
        try {
            Log.d("result", "bitmap start")
            val bitmap =
                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
                    val source = ImageDecoder.createSource(this.contentResolver, uri)
                    ImageDecoder.decodeBitmap(source)
                } else {
                    MediaStore.Images.Media.getBitmap(this.contentResolver, uri)
                }
            val baos = ByteArrayOutputStream()
            bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos)
            val size = baos.toByteArray()
            Log.d("result", size.size.toString())
            Log.d("result", "bitmap completed")
            val inputContent = content {
                image(bitmap)
                text("Read text from image")
            }
            Log.d("result", "api start")

            try {
                var mainResult = ""
                CoroutineScope(Dispatchers.IO).launch {
                    generativeModel.generateContentStream(inputContent)
                        .collect { response ->
                            val result = response.text.toString().trim()
                            Log.d("result", "api end")
                            runOnUiThread {
                                loadingDialog.dismiss()
                                if (result.isNotEmpty()) {
                                    mainResult += result
                                    Log.d("result", "set Text")

                                    menuBinding.outputImg.setImageBitmap(null)
                                    menuBinding.outputImg.setImageBitmap(bitmap)
                                    menuBinding.outputImg.visible()
                                    menuBinding.edNumber.setText(mainResult)
                                } else {
                                    Log.d("result", "No text found in the photo")
                                    menuBinding.outputImg.gone()
                                    menuBinding.outputImg.setImageBitmap(null)
                                    showToast("No text found in the photo")
                                }
                            }
                        }
                }
            } catch (e: Exception) {
                e.printStackTrace()
                loadingDialog.dismiss()
                showToast(e.message.toString())
            }

        } catch (e: Exception) {
            e.printStackTrace()
            loadingDialog.dismiss()
            showToast(e.message.toString())
        }

This may be caused by the size of your image. Actually the limit size of images supported by gemini-pro-vision is 4MB.

I'm running into this as well when inputting images that are less than 4Mb. I'm using the gemini-pro-vision model, which always throws the stacktrace:
com.google.ai.client.generativeai.type.ServerException: Request payload size exceeds the limit: 4194304 bytes.
Even though the image content input is less than 4Mb.
I noticed the sample app uses images of 768x768, which does work.

I'm running into this as well when inputting images that are less than 4Mb. I'm using the gemini-pro-vision model, which throws the stacktrace on inputs less than 4Mb: com.google.ai.client.generativeai.type.ServerException: Request payload size exceeds the limit: 4194304 bytes.
I noticed the sample app uses images of 768x768, which does work.

Hmm that's interesting. Would you be able to provide an example image that causes this?

So all I'm doing is capturing an image using MediaStore's ACTION_IMAGE_CAPTURE intent. This creates a ~6Mb picture for my test device. I'm also focusing on popular 4:3 aspect ratios, so I scale the image down to meet the 4Mb limit, while keeping the ratio.
2048x1536 does not work, even though it is 2.5Mb in the file system
The largest image I have got to work is 1152x864, which is 1.8Mb.
This is all with only one image in the content builder, no text prompting. I have tested with .jpg and .bmp, jpeg compression was:
bmp.compress(Bitmap.CompressFormat.JPEG, 80, stream)

The ImagePart is provided as a convenience to make sending images easier, it automatically converts the images to a PNG formatting of max quality. If you are custom-compressing the image to fit a size limit, it may be better for you to use BlobPart so you can manually specify and control the encoding and compression.
Also of note, is that images get converted to Base64 while being sent to the server, increasing their size by a further 35%
However, your example of a file that is 2.5mb on the file system should work if sent as a BlobPart (since this would be approximately 3.4MB).
Your code example can be changed like this
val baos = ByteArrayOutputStream()
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos)
val inputContent = content {
  blob("image/jpeg", boas.toByteArray())
  text("Read text from image")
}

Thanks for the response, that does answer some questions. I think in that case the Android documentation is a bit deceptive:
https://ai.google.dev/docs/gemini_api_overview#image_requirements

"Maximum of 4MB for the entire prompt, including images and text" should be maximum of 4MB post-encoding

"Images must be in one of the following image data MIME types:
PNG - image/png
JPEG - image/jpeg
WEBP - image/webp
HEIC - image/heic
HEIF - image/heif"

From what I can find, the documentation doesn't describe the BlobPart, and the code documentation doesn't differentiate between BlobPart and ImagePart, it says 'represents binary' or 'represents image' data. Is there more documentation on this?


About security with FreeRTOS and FreeRTOS+TCP

Hi,
I couldn't easily find anything that referred to encryption or security in general for the communication between the agent and a board (client?). I'd like to know if there's any plan for it, or maybe already some feature available? I know DDS offers the security component, is it already available on micro XRCE?
I'm currently working FreeRTOS and FreeRTOS+TCP

Hello, there no active line of investigation or development related to micro-ROS and security.
As you say you can configure security in the DDS by using the custom refs. This way the XRCE communication will be plain.
Also, there is the possibility of creating custom transports for XRCE. Currently, we have an undocumented approach for creating them but we are preparing a standard way of implementing XRCE transports. With these custom external transports, you should be able to use TCP+TLS or any secured approach for communicating between XRCE client and agent.
I hope that this answers, let us know and reopen if you have any other question.

Hello, there no active line of investigation or development related to micro-ROS and security.
As you say you can configure security in the DDS by using the custom refs. This way the XRCE communication will be plain.
Also, there is the possibility of creating custom transports for XRCE. Currently, we have an undocumented approach for creating them but we are preparing a standard way of implementing XRCE transports. With these custom external transports, you should be able to use TCP+TLS or any secured approach for communicating between XRCE client and agent.
I hope that this answers, let us know and reopen if you have any other question.

It does answer, thanks. Looking forward to trying out the custom transport

It does answer, thanks. Looking forward to trying out the custom transport


Added gitattributes file

Yesterday we discussed that in some cases files are committed with wrong line endings in to the repo. This PR aims to improve on that.

Are you planning to add .editorconfig as well? It is supported by many editors and can enforce end of line char(s).

Are you planning to add .editorconfig as well? It is supported by many editors and can enforce end of line char(s).

Let's add that too then.


output declaration files

Since the project is written in typescript, we might as well output the typings file.
To output declaration files, I had to disable "allowJs" which is fine because there are no js files. I also had to upgrade to typescript 2.9.

Thanks, @jsphweid !


closeOnScroll not working

https://codeshare.io/2jPMRM
However when the code above renders, none of those values seem to work

Hey @Messi10AP typically when those props aren't working it's an issue with the unique keys for your data. I see you're using a keyExtractor prop. Can you try giving each piece of individual data a unique key and seeing if that fixes it?
If you could show me an example of what's in this.state.notes I might be able to help further, thanks!

Yep, i forgot to close this issue, but using ’math.random()’ as my keyExtractor fixed it, thanks!

https://codeshare.io/2jPMRM

...
  keyExtractor={(item, index) => {
        index.toString();
    }}
...

You forgot to return the value of the extracted key

For anyone using this with useSectionList, the index is reset in each section.
You'll need to make the returned key unique.
Here's what I did for example:
 keyExtractor={
    (item, index) => `${index}-${item?.ID}`;
}

Depends on which available values you have in each of your items


[ROCKETMQ-28] Encrypt transmission layer.

JIRA issue is here

Coverage increased (+0.3%) to 38.702% when pulling 2df67e3c7d2fa8dba31d7f8cce8041a9a2fcbdab on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.3%) to 38.702% when pulling 2df67e3c7d2fa8dba31d7f8cce8041a9a2fcbdab on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.3%) to 38.702% when pulling 2df67e3c7d2fa8dba31d7f8cce8041a9a2fcbdab on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.7%) to 39.117% when pulling cb20e1fed398f3e2f76ea8366b78e8a5b305f42a on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.7%) to 39.117% when pulling cb20e1fed398f3e2f76ea8366b78e8a5b305f42a on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.7%) to 39.117% when pulling cb20e1fed398f3e2f76ea8366b78e8a5b305f42a on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.7%) to 39.11% when pulling 3cda63447fc5b03d84f9bdb0afa100de92cfa9e2 on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.7%) to 39.11% when pulling 3cda63447fc5b03d84f9bdb0afa100de92cfa9e2 on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.02%) to 38.461% when pulling 3b9780c1aa39452eebc511a6557e008d11febff8 on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.02%) to 38.461% when pulling 3b9780c1aa39452eebc511a6557e008d11febff8 on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

Coverage increased (+0.3%) to 38.725% when pulling 0ca60db50aec2abc3ad3c3ea4a92e838a7579734 on lizhanhui:tls into c4a3e0c1325e67aec76aa94e9ade3a6ea1b682d2 on apache:develop.

@lindzh It seems lack IT tests for TLS.  IMO,  it needs two IT Test at least.  one for old client which dose not support TLS, one for new.

Coverage increased (+0.5%) to 39.174% when pulling 0f98b9e7ab63a362aca9ecd4d652269983a017d1 on lizhanhui:tls into 118bdec96005ce695295bcf0d9082e0230e69bf7 on apache:develop.

OK. IT tests have been added.

Coverage increased (+0.02%) to 38.744% when pulling 3cc04e2efd4005bb3ae26c9db6c3ebefb8787eba on lizhanhui:tls into 118bdec96005ce695295bcf0d9082e0230e69bf7 on apache:develop.

Coverage increased (+0.02%) to 38.744% when pulling 3cc04e2efd4005bb3ae26c9db6c3ebefb8787eba on lizhanhui:tls into 118bdec96005ce695295bcf0d9082e0230e69bf7 on apache:develop.

Coverage increased (+0.02%) to 38.744% when pulling 3cc04e2efd4005bb3ae26c9db6c3ebefb8787eba on lizhanhui:tls into 118bdec96005ce695295bcf0d9082e0230e69bf7 on apache:develop.

LGTM

@lizhanhui I want to merge this PR and release it in 4.2. please help to resolve the conflicts

This PR has been merged


Changing post parameters before send

Hello everyone I am having an issue with x-editable's default post parameters namely name, pk and value.
Here is the thing, on the server I am getting the value of name for the form via $_POST["name"] but name in my context doesnt mean a field name but a name representing something. I don't want to get its value via $_POST["value"] within that script for several reasons. Is there a way to rename the values before sending them to the server?
In other words all I need to do is give the name field the new value before send. I don't care about the value and pk fields.
Thanks.

I tried data-params={}. And, it works good for single word. If you add more than one word or has space, it will doesn't work. any suggestion?

I'm using X-Editable and I want to pass a simple value to other page using the _post method and I receive this error:
Notice: Undefined index: first_name in ...
Here my code:
this is a simple html page that have this code:

BILL GATES

Here my javascript code:
$(document).ready(function() {
//toggle popup / inline mode
$.fn.editable.defaults.mode = 'popup';
//--------------------------------------------------------------------------------------------
//First Name
$('#first_name').editable({
validate: function(value) {
//Not Empty
if($.trim(value) == '') return 'The First Name is required';
   //More than 3 and less than 20
   if($.trim(value.length) <4) return 'The First Name must be more than 3 and less than 20 characters';
   //Less than 20
   if($.trim(value.length) >20) return 'The First Name must be more than 3 and less than 20 characters';
}

});
And here I want to capture the value in the php code:
$first_name = $_POST['first_name'];
echo $first_name."";
and I receive this:
Notice: Undefined index: first_name in ...
Please any advice or suggestion?
Regards...


Language Translator API R&D

Creating this issue to document Language Translator API research & development.
Currently researching Google Translate API:
Google Translate API Documentation (googlecloud) | RapidAPI
@romanjamess please use this issue to document your progress

@romanjamess successfully implement Translator API


Cursor scroll with screen in IOS device

I am working in Ionic 1 .I have a form with 6-7 fields.When i tried to fill the form the cursor scroll with the screen and cursor move out of screen.
It is working fine in android and in browser.The problem is only with IOS device.
I tried to test on
Xcode2 - iPhone7 (iOS 10.1)
in iphone 6
Please help as soon as possible!
Thanks in advance.

For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1

Thanks

Hello! Thank you for opening an issue with us! As @aks0020 pointed out, Ionic v1 has its own repo. I would move this issue over there for you, but it does not have the template properly filled out so it would likely just be closed and you would be asked to create a new one using the template
I will also urge that you ask this question on our forum or on our slack channel. Those forums get a lot more traffic than the Ionic v1 issues list gets.
Thanks for using Ionic!


iOS. Implement WeakHashMap.native.kt

WeakHashMap.native.kt:

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


crash when trying to create new mail (marshmallow)

Expected behaviour
I would expect to see the "new mail" dialogue.
Actual behaviour
The app crashes.
Steps to reproduce

start k-9 mail
select new mail icon
crash

Environment
K-9 Mail version: 5.109
Android version: Android 6.0 marshmallow, huawei style (EMUI)
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Thoughts on this:
Could this result from a permission problem? K-9 requests access rights for "contacts" and "storage", which are granted. Four additional permissions show up in a subfolder (read email attachments, read emails, delete emails, k-9 remote control). Everytime I manually grant those, the slider is back to "off" when I revisit this tab...
Does k-9 fail in requesting those rights at installation time?
logcat: generated as described in HOWTO:
int logctl_get(): open '/dev/hwlog_switch' fail -1, 13. Permission denied

Note: log switch off, only log_main and log_events will have logs!
--------- beginning of main
06-05 11:30:42.296 I/k9      ( 3371): Committing preference changes
06-05 11:30:42.358 I/k9      ( 3371): Preferences commit took 62ms
06-05 11:30:46.704 I/k9      ( 4596): Loading preferences from DB into Storage
06-05 11:30:46.723 I/k9      ( 4596): Preferences load took 19ms
06-05 11:30:46.768 I/k9      ( 4596): Registered: unmount receiver
06-05 11:30:46.771 I/k9      ( 4596): Registered: shutdown receiver
06-05 11:31:05.784 I/k9      ( 4596): Committing preference changes
06-05 11:31:05.794 I/k9      ( 4596): Preferences commit took 10ms
06-05 11:31:08.781 I/k9      ( 4690): Loading preferences from DB into Storage
06-05 11:31:08.798 I/k9      ( 4690): Preferences load took 17ms
06-05 11:31:08.837 I/k9      ( 4690): Registered: unmount receiver
06-05 11:31:08.839 I/k9      ( 4690): Registered: shutdown receiver
06-05 11:31:16.667 I/k9      ( 4690): Committing preference changes
06-05 11:31:16.710 I/k9      ( 4690): Preferences commit took 43ms

Seems to be similar problem as reported here: issue #1112 and #1627

The log you provided shows the preference changes but not the actual crash.
Are you running a rooted version of Android which modifies the UI (as cketti asks in #1112 ).
What phone is this - ideally it'd be nice to be able to emulate this version of Android...

Unfortunately this is not a rooted device, but a Huawei P8 lite (model number ALE-L21) running the EMUI 4.0 Android 6 (build ALE-L21C432B574). Any chance to get a useful logcat out of this phone?

I finally got an exception out of this huawei device.

k9-crash_new_message.log

Bug is still present in version 5.208

A couple of app components are disabled by default. That's so K-9 Mail e.g. doesn't show up in the Share dialog when no accounts have been set up.
It looks like the mechanism to enable those components doesn't properly work on your device. Given that it works for almost everyone I'd say it's likely this is a bug in the Android version on your device.

You are right. I updated to latest Andriod EMUI, removed and reinstalled k9 and it works now.


Create rotation of array.c

added c program for rotation of array
What the program do ?

In what programming language it is written?

Thank you so much! I am very happy that you have accepted my pull request. I am beginner in this field. I have faced various problems before starting pull request because i didn't know that how made pull request.you can understand this thing. Hope!you will help me in future because i want to do work with open source project of different communities for solving different different issues.thank you😄

Thank you so much! I am very happy that you have accepted my pull request. I am beginner in this field. I have faced various problems before starting pull request because i didn't know that how made pull request.you can understand this thing. Hope!you will help me in future because i want to do work with open source project of different communities for solving different different issues.thank you,😀


Can't able to retrieve the body and title values while tapping on Notification

🐛 Bug Report

Expected behavior
Reproduction steps
Configuration
Version: 1.x
Platform:

[ ] :iphone: iOS
[ ] :robot: Android
[ ] :checkered_flag: WPF
[ ] :earth_americas: UWP
[ ] :apple: MacOS
[ ] :tv: tvOS
[x] :monkey: Xamarin.Forms

I have tried to retrieve the body and title values while tapping on Notification when app in background or closed state. But there can't able to get those values. If I tried when app in foreground I can able to access those values.

I too facing this issue

Same here. I can get the p.Data values when the app is opened but when the app is closed.. .. nothing

Same here. I can get the p.Data values when the app is opened but when the app is closed.. .. nothing

same here


|is<T> accepts anything on the left side

Because of this constructor:
template< class ValueType >
std::any( ValueType&& value );

the expression x |is<T> compiles even if x is not one of std::optional, std::variant, std::any. As opposed to std::holds_alternative<T>(x) which is an error if x is not a std::variant.
I'm not sure if this is by design but it's also error prone since, for example, we mean x.variantField |is<T> but by mistake we write x |is<T> and it's a good thing if the compiler catches it.
Proposed fix:
template<typename Any, typename Type>
requires std::is_same_v<Any, std::any>
constexpr bool operator|(Any const& a, compare<Type>) { ...

Thanks for this finding! Yes, I agree, this behaviour is error-prone and should be fixed.

A belated fix done)


Have we considered making this gem more SEO friendly?

Hi,
Her is a terrific gem that we use with multiple repos at our company. One of the constant complaints from people who join our org is that its really hard to search for issues or get support using tools like Google/SO cause the keywords are extremely generic... e.g. "her model" "her ruby model", "ruby her". In fact, we have seen that the wiki/readme that contains a link to this repo is visited ~18 times a month solely for the purpose of getting to this repo since its so hard to reach it from google if you dont remember the keyword "remiprev".
Is there any possibility at all of changing the name from her to something more specific? like maybe "HerORM" or "HerRubyORM" or even just "rubygem-her" ?
More examples of searches that return nothing relevant in the first page:
"her model doesnt connect to endpoint"
"her model doesnt load"

Adding "ORM" to the search term directs to this repo, but still no useful SO/blogs etc:
her orm doesnt connect to endpoint
her orm model doesnt load

It is difficult to search and also just strikes me as an odd name to use for this type of project.

@TDA @stevensona - @zacharywelch and I agree and have discussed a name change. Haven't got around to it, though. Wouldn't be a small job if we changed the namespaces; we could also do with some help on updating the docs. PRs (and name suggestions) welcome.

@stevensona @TDA I'm very conscious we haven't done anything about this. If it's still something you'd like to tackle, we would love to receive a PR with a suggested name change implemented.

@edtjones Apologies for not having responded earlier on this. I no longer work with my old org and haven't worked on RoR in a while. I have reached out to my old team to see if someone can pick this up. I will work with them to get a PR ready for this. Thank you so much!


fix(template-list): ignore formatting in 2nd column

Test URLs:

Before: https://main--express-website--adobe.hlx.page/drafts/rofe/template-list
After: https://template-list-resilience--express-website--adobe.hlx.page/drafts/rofe/template-list?lighthouse=on

@davidnuescheler I tested the homepage, all "create" pages linked from the nav as well as the blog post where the issue originally occurred. So far I couldn't spot any regressions
@m-cao @timliu-adobe do you have more crucial pages with template lists on them I should look at before merging?

Thanks for checking @rofe . Yeah I'd say any page listed in the Create tab of the nav would be a good place to do some regression tests on:

That said, what was the issue here again that was fixed? Not sure I have the full context here, but was it that this first template in the template list had a very large bolded "Edit this template" CTA?

@m-cao yes, that's the issue someone ran into on a blog post: there was extra formatting added to the "edit template" link (not always visible in word online, unfortunately, the font looked like it was normal text), so I added resilience around that.

Thanks for the tag @rofe and for the support on this fix! No additional crucial pages that I can think of beyond the ones Michael called out under "Create."

Thanks @m-cao and @timliu-adobe. I think we're all set!
cc @davidnuescheler


Uploading a DApp causes errors invoking contract functions

Overview
Using this branch: https://github.com/status-im/snt-voting/tree/multiple-options  if you execute: embark run livenet_devcoin   The app will run correctly and will not display errors on the dev tools console
However, after executing embark upload livenet_devcoin (https://ipfs.infura.io/ipfs/QmSZq8xaq5U5w91RmghZXuaEajCAKZjny5BvmbnkqwYepW/), a weird error appears:
dapp.js:87 Uncaught (in promise) TypeError: e.match is not a function
    at a.isType (dapp.js:87)
    at dapp.js:58
    at Array.filter (<anonymous>)
    at b._requireType (dapp.js:58)
    at dapp.js:58
    at Array.map (<anonymous>)
    at b._getSolidityTypes (dapp.js:58)
    at b.encodeParameters (dapp.js:58)
    at dapp.js:87
    at Array.map (<anonymous>)

Context (Environment)

OS: Linux Ubuntu
Embark Version: 3.2.1
Node Version: 8.1..3
NPM Version: 5.6.0

@richard-ramos is this issue still relevant or has this been fixed in the meantime?

Closing this due to inactivity.
Feel free to reopen in case this is still needed @richard-ramos ! :)


Updated Likelihood Interface

This is a WIP PR which adds a suite of estimation tools for SSJ. While this doesn't implement anything on the block level (as of writing), this does introduce a number of conventions which may be useful for likelihood evaluation regardless of how it's structured. These features are listed below:

Probability distributions, each with a sampling method rand, a log likelihood method logpdf, and a method to check whether a given draw lies within the existing support in_support. This design may change, any feedback is appreciated (especially for the Prior class).
Shock objects (limited to AR, MA, and ARMA for now) and containers to build off of the dictionary design paradigm used throughout the module.

Lastly, I added a notebook which demonstrates these methods in action. Some of these methods are rather clunky ~(particularly when it comes to parameterization)~ but are completely generalizable and will at least get the ball rolling on future iterations.

Credit to @bbardoczy for suggesting optimagic instead of scipy.optimize. This saved a ton of time allowing me to pass a dictionary as an argument to the objective function.
I still need to figure out whether it should be allowed to pass a numpy array in this nested dictionary. For ARMA(p,q) shocks, their parameters phi and theta are arrays, so I'm not particularly sure how I want to handle this case. Any suggestions are welcome.

I cleaned up the estimation notebook considerably. Right now, I limit the estimation to shock parameters to eliminate the need to recompute the Jacobian (this is a much bigger issue).
I also added a random walk MH algorithm at the bottom of the notebook. It seems finicky since the current log likelihood function references globals. This is definitely something I plan on addressing later this week.

PyMC Integration
I added another notebook to try interfacing with pymc. It's not a very intuitive process, but can be disguised under the hood. There is also a ton of room for improvement in terms of optimization, but that requires integrating existing code with pytensor, so I'm not convinced this is the best path forward.
In my demo here the sampler takes about 8 minutes, and is significantly slower than the simple/stupid sampler in my other notebook. This is likely because of the "black box" inference of the modeling language.
Why Use a PPL?
The advantage to using a PPL (probablistic programming language) like pymc is clear when applying the same model to a number of different solvers. This also paves the way for using more robust and efficient algorithms for inference such as HMC.
I'm not too familiar with the Bayesian landscape in Python, so definitely let me know if there is anything more robust.

I see. My guess is that we could safely extend all the scalar operations of the AccumulatedDerivative class to also work with zero dimensional numpy arrays. You could try that and see if it breaks any of tests. There are some direct test of AccumulatedDerivatce in test_displacement_handlers.py. You should also check that the notebooks still run properly. They all use SimpleBlocks and SolvedBlocks.


Language extension is replaced everywhere in the generated filename

Hi,
whatever.jsonschema.js filename will generate an html file named whateveronschema.html. It looks like languages extensions are replaced everywhere in the filename. I had the version from pip.
Regards.

Thanks for reporting the issue.
@t3h the version installed by pip is out of date.  Please try installing the version found on GitHub and see if it resolves your issue.
@fitzgen I need instructions on releasing a new version to PyPI.  Please PM me details on this when you get a chance.  Thanks.

Hi Trey. Same issue with the github version.
Regards, Antoine

Should now be fixed by b3ff884430244f317b018c947ce308a3a98cad6e.  Let me know if you still have problems with it.

It runs fine now. Thank you.


[Up In Arms] Halberdier and Artillerist items are broken in journal entry

Open "Up In Arms/Soldiers of All Stripe" journal window
Select either Artillerist or Halberdier
"Error: An error ocurred while rendering JournalSheet 97..."
The of the items also become broken, even though if you access them directly before the error happens they load correctly.
If the window is closed and reopened the journal window works correctly for the rest of the items on the journalFrom: @mklfoundry: 12.324wfrp4e: 7.1.6wfrp4e-core: 5.0.4wfrp4e-middenheim: 5.0.1wfrp4e-up-in-arms: 5.0.0wfrp4e-wom: 5.0.2Active Modules: chat-commander-wfrp4e, dice-so-nice, fvtt-token-targeting, nations-of-mankind-wfrp4e, playlist_import, socketlib, token-action-hud-core, token-action-hud-wfrp4e, vtta-tokenizer, wfrp4e-character-details, wfrp4e-random-treasure, _chatcommands

This is a foundry bug: https://github.com/foundryvtt/foundryvtt/issues/10988


Merge refactoring of 8.16

Nix CI for pull_request_target will fail and can be ignored (the last commit is updating the coq-nix-toolbox version to fix this issue)


Index out of range running locally on OSX

I have a hugo site, generated with a fairly old hugo version. It's my personal blog, public on GitHub. I'd like to run a non-tls caddy locally for development, and watch my files with the hugo plugin to tweak the design, etc.
I keep different caddy builds in a folder called caddies. On both linux and osx builds I get an error on something like this command:
./caddies/osx/caddy -conf `pwd`/Caddyfile                                             [19:14:47]
Activating privacy features... done.
panic: runtime error: index out of range

goroutine 1 [running]:
panic(0x62d260, 0x420ff8100)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/hacdias/caddy-hugo.checkVersion(0x4211a8400, 0x13, 0x4211a8400)
        /home/caddy/go/src/github.com/hacdias/caddy-hugo/installer.go:95 +0x15b
github.com/hacdias/caddy-hugo.getPath(0x696ba0, 0x4211b20e0)
        /home/caddy/go/src/github.com/hacdias/caddy-hugo/installer.go:34 +0x6c4
github.com/hacdias/caddy-hugo.parse(0x4211d2240, 0x4211a4270, 0x6, 0x0, 0x4210d3738, 0x1003e)
        /home/caddy/go/src/github.com/hacdias/caddy-hugo/setup.go:144 +0x13a
github.com/hacdias/caddy-hugo.setup(0x4211d2240, 0x4, 0x6d3b47)
        /home/caddy/go/src/github.com/hacdias/caddy-hugo/setup.go:36 +0xb7
github.com/mholt/caddy.executeDirectives(0x4211b0680, 0x7fff5fbff3da, 0x52, 0xecc260, 0x26, 0x26, 0x4211a8280, 0x1, 0x1, 0x0, ...)
        /tmp/custombuild_2725_265827211/src/github.com/mholt/caddy/caddy.go:557 +0x597
github.com/mholt/caddy.startWithListenerFds(0xe79620, 0x4211aa440, 0x4211b0680, 0x0, 0x64, 0x0)
        /tmp/custombuild_2725_265827211/src/github.com/mholt/caddy/caddy.go:455 +0x39a
github.com/mholt/caddy.Start(0xe79620, 0x4211aa440, 0xe79620, 0x4211aa440, 0x0)
        /tmp/custombuild_2725_265827211/src/github.com/mholt/caddy/caddy.go:423 +0xff
github.com/mholt/caddy/caddy/caddymain.Run()
        /tmp/custombuild_2725_265827211/src/github.com/mholt/caddy/caddy/caddymain/run.go:105 +0x26b
main.main()
        /tmp/custombuild_2725_265827211/src/github.com/mholt/caddy/caddy/main.go:13 +0x1b

A panic in setup(...). Interestingly, I do not see the file installer.go in this repo at all, but it appears in the stacktrace. My caddy build was generated from https://caddyserver.com/download today (Sat August 27, 2016) with filemanager, git, hugo, and prometheus plugins.
Is there a typical cause for this error?

Hey @anxiousmodernman! Sorry, I've fixed this bug some weeks ago, but the new version is not still available for download at caddyserver.com.
Just pinging @mholt

I will try with a new build once the new code is on the build server. :)

Should be updated now.

@mholt I just did a test from the build server, and it worked. Thank you!

Hello I have the same crash but on Linux.
I recently downloaded the binary form url
https://caddyserver.com/download/build?os=linux&arch=amd64&features=cors%2Cfilemanager%2Chugo
I run binary under docker.

@mikeifomin   How recently? It seems the build server was updated 10 minutes ago :)

@mikeifomin How recently? I updated it only about 12 minutes ago.

Not so fast. about 1 hour ago! I'll try right now)

Yes the crash is done. Now i have logs like this
It seems that you don't have 'hugo' on your PATH.
2016/08/29 16:41:06 It seems that you don't have 'hugo' on your PATH.

I think my case issue is solved

Cool. Yeah, hugo now requires installation yourself. (It's better this way.)

Awesome :smile:

@mholt sure.
P.S. big respect for such a fancy server like Caddy!


[BUG] Can't switch to Brazilian Portuguese or Spanish localization

The editor doesn't provide a way to change to these languages. It only provides English, French and Russian.

Fixed in 122039bbc8d3f5863d94c2cfcbbeafaef4a213bc and will be included in the next release.


Simplify min and max

No need to compute the type separately - just use auto and compute it incrementally.

The type determination logic is not identical. The below static asserts currently pass but this PR will make them fail:
void main()
{
    static struct Box(T) if (__traits(isArithmetic, T))
    {
        import std.traits : mostNegative;
        enum T max = T.max, min = mostNegative!T;
        T value;
        alias value this;
    }

    import std.algorithm.comparison : max;

    auto a = Box!int(10);
    auto b = Box!long(5);
    static assert(is(typeof(max(a, b)) == Box!long));
    static assert(is(typeof(max(b, a)) == Box!long));
}

@n8sh correct, and the change in behavior intentional. It was never in the charter of min or max to establish an ad-hoc contract for types that define min and max. It's not in the documentation and the entire logic is predicated on the semantics of built-in numerics. Consider:
struct Interval {
    double min, max; // interval bounds
    ...
}

Now if Interval defines some functions for conversion, comparison etc., it's liable to have trouble with min and max.
So the charter of min and max is to work well for numeric types, and to defer to the default implementation for other types.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration

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


Not null by default, maybe do that via @ValidPojo?

that someone would add @Nullable to say that a field is optional.

Yes, we could make Non Null the default and have an attribute like @ValidPojo(nullableByDefault=true) to allow someone to change the default on a per type basis?
We could also detect the avaje-lang @NonNullApi on package or class?

We could also detect the avaje-lang @NonNullApi on package or class?

Idk, sounds like a hassle, if we make the default non-null, we don't need to do any detection.

ok cool, so we'll look to go not null by default ... and ignore @NonNullApi for now and see how we go.
I'll close this issue. I might create some new issues on tasks I have in mind like:

Review how the message is actually formatted in hibernate validator - like {jakarta.validator.NotBlank.message} etc
Add a placeholder for validation using the groups / classes (maybe we support this, maybe not)
Add the missing constraint annotations to avaje-constraints
Add some more tests

I think we can start code generation work too.

Review how the message is actually formatted in hibernate validator - like {jakarta.validator.NotBlank.message} etc

I figured I would use Avaje config to interpolate it (would prepend a $ and eval it)

Add a placeholder for validation using the groups / classes (maybe we support this, maybe not)

I never used that feature, so I have no opinion.

I think we can start code generation work too.

neat

I think we can close this one now right?

I'll close this one I think.


Adding files using + notation doesn't work on version 0.22.27

Hi!
Not sure if this feature was added after the version I'm using 0.22.27. But adding a file using update with + notation doesn't add the file. Although removing files using - notation works. First function returns 204, but no files are added.
        async addBrfNewsAttachments(id: string, attachments: File[]): Promise<boolean> {
            console.log(attachments)
            return pb.collection(BRF_NEWS).update(id, { 'attachments+': attachments }).then(res => {
                return true
            }).catch(e => {
                console.error(e)
                return false
            })
        },
        async removeBrfNewsAttachments(id: string, attachments: string[]): Promise<boolean> {
            return pb.collection(BRF_NEWS).update(id, { 'attachments-': attachments }).then(res => {
                return true
            }).catch(e => {
                console.error(e)
                return false
            })
        }

The + prepend/append file modified was added with v0.23.0.
For <= v0.22.x appending a file is done with using the file name, aka. attachments.
For the old available modifiers, please refer to the https://pocketbase.io/old/docs/collections/#overview table.
For v0.23+ available modifies, please refer to https://pocketbase.io/docs/collections/#fields.
For other questions, please use the Q&A discussions.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 628260b, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 6925 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 17c0f46 after 18 minutes.


[Feature] Reduce S3 API calls

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Overall Apache Paimon offers low TCO, but in terms of S3 API calls it makes way more compared to Iceberg.
Using version 0.7 you can see the following in the screenshot
On the left it's the S3 API calls Apache Iceberg makes and on the right its Apache Paimon (~3k/hour I believe)

I believe @JingsongLi mentioned some improvements were made in the upcoming 08 version, but as this is important for many companies we need to keep it as low as iceberg if possible.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

More context on this: turns out it was the effect of not having compaction running in the background., which wasn't clear in the first place.
This means that although partition/snapshot/manifest file expiration happens automatically
https://paimon.apache.org/docs/master/maintenance/manage-snapshots/#expire-snapshots
it results in more files being generated, but not physically deleted because compaction is disabled.
This means that although the generated files keep increasing, they are also never removed, but Paimon will still have to access/list more metadata files (more and more over time), in order to find out what's still relevant and what's not.
Turning compaction, in the long run will keep the requests stable.
At the same time it is also recommended to use version 0.8+ that brings many improvements as well


Convert and fix The Queen of Thorns (Core)

Convert to use target API and only allow printed cost 6 or lower characters to be put into play.

Fixes #1224.

Can one of the admins verify this patch?

Add to whitelist


Close _SESSION.session in clear_session

Thanks to nostalgebraist for pointing out this bug:
https://nostalgebraist.tumblr.com/post/641628845811908608
clear_session sets _SESSION.session to None. But since that may have circular references, that's not sufficient to get it garbage collected immediately. The documentation for Session notes that this is important:
https://www.tensorflow.org/api_docs/python/tf/compat/v1/Session

A session may own resources, such as tf.Variable, tf.queue.QueueBase, and tf.compat.v1.ReaderBase. It is important to release these resources when they are no longer required. To do this, either invoke the tf.Session.close method on the session, or use the session as a context manager.

@sfreilich, we moved the tensorflow specific implementation tf.Keras to this repository. If you think this PR is still relevant, please rebased and re-run the tests.

I merged from head. I think it's still relevant, can you merge the change?

Saw CI failures, updated the PR. Not sure if I overlooked that bug in my initial testing or if something changed under me.


Invalid command to change file permissions

I think we want to limit access to config file only to owner so chown probably is not the command we want to use.
I think chmod is the right one.
Am I right?

master ....


librewolf-unwrapped: 129.0.1 -> 129.0.1-1

Description of changes

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.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

[x] Fits CONTRIBUTING.md.

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

build failed during routine nixos-rebuild, on x86_64-linux, with commit ac2df85f4d5c580786c7b4db031c199554152681
applying LibreWolf patch: patches/nvidia-wayland-backported-fixes-0001-Bug-1898476-Wayland-Move-MozContainerSurfaceLock-fro.patch
The next patch would create the file widget/gtk/MozContainerSurfaceLock.cpp,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file widget/gtk/MozContainerSurfaceLock.h,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file widget/gtk/MozContainerWayland.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file widget/gtk/MozContainerWayland.cpp.rej
patching file widget/gtk/MozContainerWayland.h
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file widget/gtk/MozContainerWayland.h.rej
patching file widget/gtk/moz.build
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file widget/gtk/moz.build.rej

I think this is broken on nixos-unstable:
librewolf-unwrapped> building '/nix/store/phkbrpwii0qb8x86nl765h0csw7f3na2-librewolf-unwrapped-129.0.1-1.drv'
librewolf-unwrapped> Running phase: unpackPhase
librewolf-unwrapped> unpacking source archive /nix/store/yvfbccqmlyz22aygk7pg6s83lpx5nx4n-firefox-129.0.1.source.tar.xz
librewolf-unwrapped> source root is firefox-129.0.1
librewolf-unwrapped> setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file firefox-129.0.1/sourcestamp.txt
librewolf-unwrapped> Running phase: patchPhase
librewolf-unwrapped> applying patch /nix/store/9lx1746yy56pn3dpc35l1xr6l3lykbin-env_var_for_system_dir-ff111.patch
librewolf-unwrapped> patching file toolkit/xre/nsXREDirProvider.cpp
librewolf-unwrapped> Hunk #2 succeeded at 313 (offset 3 lines).
librewolf-unwrapped> applying patch /nix/store/6wsdh6246xbmlv3jr5q7qpl9ay3acq04-no-buildconfig-ffx121.patch
librewolf-unwrapped> patching file docshell/base/nsAboutRedirector.cpp
librewolf-unwrapped> patching file toolkit/content/jar.mn
librewolf-unwrapped> Hunk #1 succeeded at 44 (offset 3 lines).
librewolf-unwrapped> applying patch /nix/store/14gmmaq28hb5892lvwap2yblww7afgpz-cbindgen-0.27.0-compat.patch
librewolf-unwrapped> patching file servo/components/style_traits/values.rs
librewolf-unwrapped> Hunk #1 succeeded at 383 (offset -1 lines).
librewolf-unwrapped> Hunk #2 succeeded at 408 (offset -1 lines).
librewolf-unwrapped> patching file servo/ports/geckolib/cbindgen.toml
librewolf-unwrapped> Hunk #1 succeeded at 355 (offset -2 lines).
librewolf-unwrapped> applying patch /nix/store/idkwbyzx5hv6cjbmq6aplxpkxyji0n4x-mozbz-1898476-1.patch
librewolf-unwrapped> patching file widget/gtk/MozContainerWayland.cpp
librewolf-unwrapped> patching file widget/gtk/MozContainerWayland.h
librewolf-unwrapped> patching file widget/gtk/moz.build
librewolf-unwrapped> patching file widget/gtk/MozContainerSurfaceLock.cpp
librewolf-unwrapped> patching file widget/gtk/MozContainerSurfaceLock.h
librewolf-unwrapped> applying patch /nix/store/n6drjva08mkxwrx0ikz9xkzby4zsfail-mozbz-1898476-2.patch
librewolf-unwrapped> patching file widget/gtk/GtkCompositorWidget.cpp
librewolf-unwrapped> patching file widget/gtk/GtkCompositorWidget.h
librewolf-unwrapped> patching file widget/gtk/nsWindow.cpp
librewolf-unwrapped> patching file widget/gtk/nsWindow.h
librewolf-unwrapped> applying patch /nix/store/7f249yx91fri3wb2nwgy1k8l8ms4sqm9-mozbz-1898476-3.patch
librewolf-unwrapped> patching file gfx/webrender_bindings/RenderCompositorEGL.cpp
librewolf-unwrapped> patching script interpreter paths in mach build
librewolf-unwrapped> mach: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
librewolf-unwrapped> build/cargo-linker: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
librewolf-unwrapped> build/vs/generate_yaml.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
librewolf-unwrapped> build/checksums.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python"
librewolf-unwrapped> build/macosx/xcrun: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> build/cargo-host-linker: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> build/build-clang/build-clang.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
librewolf-unwrapped> build/clang-plugin/import_mozilla_checks.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
librewolf-unwrapped> build/unix/print-non-newline.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> build/unix/build-hfsplus/build-hfsplus.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
librewolf-unwrapped> build/unix/build-binutils/build-binutils.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
librewolf-unwrapped> build/unix/build-gcc/build-gcc.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
librewolf-unwrapped> build/pgo/profileserver.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python"
librewolf-unwrapped> build/package/mac_osx/unpack-diskimage: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
librewolf-unwrapped> build/package/mac_osx/make-diskimage: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> build/qemu-wrap: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
librewolf-unwrapped> build/autoconf/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> build/autoconf/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> build/autoconf/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
librewolf-unwrapped> applying LibreWolf patch: patches/allow-JXL-in-non-nightly-browser.patch
librewolf-unwrapped> patching file toolkit/moz.configure
librewolf-unwrapped> Hunk #1 succeeded at 905 (offset 202 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/allow-ubo-private-mode.patch
librewolf-unwrapped> patching file toolkit/components/extensions/Extension.sys.mjs
librewolf-unwrapped> Hunk #1 succeeded at 3717 (offset 431 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/bootstrap.patch
librewolf-unwrapped> patching file python/mozversioncontrol/mozversioncontrol/__init__.py
librewolf-unwrapped> Hunk #1 succeeded at 1137 (offset 118 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/context-menu.patch
librewolf-unwrapped> patching file browser/base/content/browser-context.inc
librewolf-unwrapped> applying LibreWolf patch: patches/custom-ubo-assets-bootstrap-location.patch
librewolf-unwrapped> patching file toolkit/components/extensions/parent/ext-storage.js
librewolf-unwrapped> Hunk #1 succeeded at 344 (offset 167 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/dbus_name.patch
librewolf-unwrapped> patching file toolkit/components/remote/nsDBusRemoteClient.cpp
librewolf-unwrapped> Hunk #3 succeeded at 114 (offset -1 lines).
librewolf-unwrapped> Hunk #4 succeeded at 125 (offset -1 lines).
librewolf-unwrapped> patching file toolkit/components/remote/nsDBusRemoteServer.cpp
librewolf-unwrapped> Hunk #1 succeeded at 29 (offset 1 line).
librewolf-unwrapped> Hunk #2 succeeded at 39 (offset 1 line).
librewolf-unwrapped> Hunk #3 succeeded at 130 (offset 1 line).
librewolf-unwrapped> Hunk #4 succeeded at 204 (offset 2 lines).
librewolf-unwrapped> Hunk #5 succeeded at 218 (offset 2 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/devtools-bypass.patch
librewolf-unwrapped> patching file devtools/server/actors/thread.js
librewolf-unwrapped> patching file devtools/server/actors/webconsole/listeners/console-api.js
librewolf-unwrapped> applying LibreWolf patch: patches/disable-data-reporting-at-compile-time.patch
librewolf-unwrapped> patching file browser/moz.configure
librewolf-unwrapped> patching file python/mach/mach/telemetry.py
librewolf-unwrapped> applying LibreWolf patch: patches/flatpak-autoconf.patch
librewolf-unwrapped> patching file extensions/pref/autoconfig/src/nsReadConfig.cpp
librewolf-unwrapped> applying LibreWolf patch: patches/fullpage-translations-customization.patch
librewolf-unwrapped> patching file browser/base/content/main-popupset.inc.xhtml
librewolf-unwrapped> patching file browser/base/content/main-popupset.js
librewolf-unwrapped> patching file browser/components/preferences/main.inc.xhtml
librewolf-unwrapped> patching file browser/components/preferences/main.js
librewolf-unwrapped> patching file browser/components/translations/content/fullPageTranslationsPanel.js
librewolf-unwrapped> patching file browser/locales/en-US/browser/translations.ftl
librewolf-unwrapped> applying LibreWolf patch: patches/fullpage-translations.patch
librewolf-unwrapped> patching file services/settings/Attachments.sys.mjs
librewolf-unwrapped> Hunk #1 succeeded at 146 (offset 2 lines).
librewolf-unwrapped> Hunk #2 succeeded at 206 (offset 2 lines).
librewolf-unwrapped> Hunk #3 succeeded at 267 (offset 11 lines).
librewolf-unwrapped> Hunk #4 succeeded at 438 (offset 11 lines).
librewolf-unwrapped> Hunk #5 succeeded at 447 (offset 11 lines).
librewolf-unwrapped> Hunk #6 succeeded at 500 (offset 11 lines).
librewolf-unwrapped> Hunk #7 succeeded at 516 (offset 11 lines).
librewolf-unwrapped> patching file services/settings/RemoteSettingsClient.sys.mjs
librewolf-unwrapped> Hunk #4 succeeded at 610 (offset 1 line).
librewolf-unwrapped> patching file toolkit/components/translations/actors/TranslationsParent.sys.mjs
librewolf-unwrapped> Hunk #1 succeeded at 1217 (offset 183 lines).
librewolf-unwrapped> Hunk #2 succeeded at 1605 (offset 183 lines).
librewolf-unwrapped> Hunk #3 succeeded at 1685 (offset 209 lines).
librewolf-unwrapped> Hunk #4 succeeded at 1711 (offset 209 lines).
librewolf-unwrapped> Hunk #5 succeeded at 2006 (offset 337 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/hide-passwordmgr.patch
librewolf-unwrapped> patching file browser/base/content/browser-init.js
librewolf-unwrapped> patching file browser/components/preferences/privacy.js
librewolf-unwrapped> Hunk #1 succeeded at 1274 (offset 60 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/librewolf-prefs.patch
librewolf-unwrapped> patching file browser/app/profile/firefox.js
librewolf-unwrapped> applying LibreWolf patch: patches/mozilla_dirs.patch
librewolf-unwrapped> patching file toolkit/xre/nsXREDirProvider.cpp
librewolf-unwrapped> Hunk #1 succeeded at 301 with fuzz 1 (offset 1 line).
librewolf-unwrapped> Hunk #2 succeeded at 383 (offset 12 lines).
librewolf-unwrapped> Hunk #3 succeeded at 415 (offset 4 lines).
librewolf-unwrapped> Hunk #4 succeeded at 1134 (offset 20 lines).
librewolf-unwrapped> Hunk #5 succeeded at 1400 (offset 37 lines).
librewolf-unwrapped> Hunk #6 succeeded at 1410 (offset 37 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/msix.patch
librewolf-unwrapped> patching file browser/installer/windows/msix/AppxManifest.xml.in
librewolf-unwrapped> Hunk #1 succeeded at 30 (offset 1 line).
librewolf-unwrapped> Hunk #2 succeeded at 120 (offset 11 lines).
librewolf-unwrapped> patching file python/mozbuild/mozbuild/mach_commands.py
librewolf-unwrapped> Hunk #1 succeeded at 2620 (offset 109 lines).
librewolf-unwrapped> Hunk #2 succeeded at 2779 (offset 131 lines).
librewolf-unwrapped> patching file python/mozbuild/mozbuild/repackaging/msix.py
librewolf-unwrapped> Hunk #2 succeeded at 354 (offset -1 lines).
librewolf-unwrapped> Hunk #3 succeeded at 480 (offset -29 lines).
librewolf-unwrapped> applying LibreWolf patch: patches/nvidia-wayland-backported-fixes-0001-Bug-1898476-Wayland-Move-MozContainerSurfaceLock-fro.patch
librewolf-unwrapped> The next patch would create the file widget/gtk/MozContainerSurfaceLock.cpp,
librewolf-unwrapped> which already exists!  Assume -R? [n]
librewolf-unwrapped> Apply anyway? [n]
librewolf-unwrapped> Skipping patch.
librewolf-unwrapped> 1 out of 1 hunk ignored
librewolf-unwrapped> The next patch would create the file widget/gtk/MozContainerSurfaceLock.h,
librewolf-unwrapped> which already exists!  Assume -R? [n]
librewolf-unwrapped> Apply anyway? [n]
librewolf-unwrapped> Skipping patch.
librewolf-unwrapped> 1 out of 1 hunk ignored
librewolf-unwrapped> patching file widget/gtk/MozContainerWayland.cpp
librewolf-unwrapped> Reversed (or previously applied) patch detected!  Assume -R? [n]
librewolf-unwrapped> Apply anyway? [n]
librewolf-unwrapped> Skipping patch.
librewolf-unwrapped> 1 out of 1 hunk ignored -- saving rejects to file widget/gtk/MozContainerWayland.cpp.rej
librewolf-unwrapped> patching file widget/gtk/MozContainerWayland.h
librewolf-unwrapped> Reversed (or previously applied) patch detected!  Assume -R? [n]
librewolf-unwrapped> Apply anyway? [n]
librewolf-unwrapped> Skipping patch.
librewolf-unwrapped> 2 out of 2 hunks ignored -- saving rejects to file widget/gtk/MozContainerWayland.h.rej
librewolf-unwrapped> patching file widget/gtk/moz.build
librewolf-unwrapped> Reversed (or previously applied) patch detected!  Assume -R? [n]
librewolf-unwrapped> Apply anyway? [n]
librewolf-unwrapped> Skipping patch.
librewolf-unwrapped> 3 out of 3 hunks ignored -- saving rejects to file widget/gtk/moz.build.rej
error: builder for '/nix/store/phkbrpwii0qb8x86nl765h0csw7f3na2-librewolf-unwrapped-129.0.1-1.drv' failed with exit code 1;
       last 50 log lines:
       > applying LibreWolf patch: patches/hide-passwordmgr.patch
       > patching file browser/base/content/browser-init.js
       > patching file browser/components/preferences/privacy.js
       > Hunk #1 succeeded at 1274 (offset 60 lines).
       > applying LibreWolf patch: patches/librewolf-prefs.patch
       > patching file browser/app/profile/firefox.js
       > applying LibreWolf patch: patches/mozilla_dirs.patch
       > patching file toolkit/xre/nsXREDirProvider.cpp
       > Hunk #1 succeeded at 301 with fuzz 1 (offset 1 line).
       > Hunk #2 succeeded at 383 (offset 12 lines).
       > Hunk #3 succeeded at 415 (offset 4 lines).
       > Hunk #4 succeeded at 1134 (offset 20 lines).
       > Hunk #5 succeeded at 1400 (offset 37 lines).
       > Hunk #6 succeeded at 1410 (offset 37 lines).
       > applying LibreWolf patch: patches/msix.patch
       > patching file browser/installer/windows/msix/AppxManifest.xml.in
       > Hunk #1 succeeded at 30 (offset 1 line).
       > Hunk #2 succeeded at 120 (offset 11 lines).
       > patching file python/mozbuild/mozbuild/mach_commands.py
       > Hunk #1 succeeded at 2620 (offset 109 lines).
       > Hunk #2 succeeded at 2779 (offset 131 lines).
       > patching file python/mozbuild/mozbuild/repackaging/msix.py
       > Hunk #2 succeeded at 354 (offset -1 lines).
       > Hunk #3 succeeded at 480 (offset -29 lines).
       > applying LibreWolf patch: patches/nvidia-wayland-backported-fixes-0001-Bug-1898476-Wayland-Move-MozContainerSurfaceLock-fro.patch
       > The next patch would create the file widget/gtk/MozContainerSurfaceLock.cpp,
       > which already exists!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored
       > The next patch would create the file widget/gtk/MozContainerSurfaceLock.h,
       > which already exists!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored
       > patching file widget/gtk/MozContainerWayland.cpp
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 1 out of 1 hunk ignored -- saving rejects to file widget/gtk/MozContainerWayland.cpp.rej
       > patching file widget/gtk/MozContainerWayland.h
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 2 out of 2 hunks ignored -- saving rejects to file widget/gtk/MozContainerWayland.h.rej
       > patching file widget/gtk/moz.build
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 3 out of 3 hunks ignored -- saving rejects to file widget/gtk/moz.build.rej
       For full logs, run 'nix log /nix/store/phkbrpwii0qb8x86nl765h0csw7f3na2-librewolf-unwrapped-129.0.1-1.drv'.
error: 1 dependencies of derivation '/nix/store/m5jczdsczn4wkk2slf7x4w1srf0p5fh5-librewolf-129.0.1-1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0064vy05prxrk56x1v1dy7w9f83j1rqr-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sdcgxxlwyci9xanr7s78kqb80vbr943r-librewolf-129.0.1-1-fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fam40cscdrrjn9k46giag82h2g67a2ln-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l6fs3xydsj83p85yc6qjhzxvz1f38kpp-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/33q272lwd1cd9bpv6hbzbnraqgifhig0-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ivr5y63bhs0dii4axy2qpr5ymvapspf0-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iingnvakaz8q8a699a6rwr0xn0a4n343-nixos-system-x13-24.11.20240821.c374d94.drv' failed to build

Issue on CI: https://hydra.nixos.org/build/270110612

@drupol yes, but not because of this PR (I also thought that initially, but I deleted my comment)
see https://github.com/NixOS/nixpkgs/pull/336204 and https://github.com/NixOS/nixpkgs/pull/336304

Fair enough, thanks for the clarification.


Support Cachito environment variables that are not paths

Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

I'm not happy to see that atomic-reactor has to guess something

I'm not happy to see that atomic-reactor has to guess something

I agree, but it's a temporary solution until we teach Cachito to specify the environment variable type. This temporary workaround relieves the pressure to get that done in a tight time frame. I expect it'll be done in the next month though, but can't say for sure due to other higher priority work.

/packit copr-build

ACK then (workarounds everywhere)

@athos-ribeiro I updated the commit message to include the JIRA ticket this resolves.

/packit copr-build

@MartinBasti and @athos-ribeiro I updated the commit message to be more descriptive as requested. Thanks for the reviews!

/packit copr-build

Waiving docs and feature toggle requirements. This is an internal fix for how OSBS handles cachito provided data.

Release notes added:

Add support for non-path Cachito environment variables


Installation failed.  The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

brew doctor output
Installation failed.

The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
Installation failed.

The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

What were you trying to do (and why)?
Installation failed.
The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
What happened (include all command output)?
Installation failed.
The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
What did you expect to happen?
Installation failed.
The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Step-by-step reproduction instructions (by running brew commands)
Installation failed.

The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

mac os sequoia

Will sponsor just need talk to someone first

We'll need the relevant parts from /var/log/install.log in order to figure anything out here. The installer works fine for us so further information is required.


Halp

Very cool and useful concept. Excuse my noobiness, though, but how do I get it working? Is there some kind of set up I must perform after installing?the language you are using, a screenshot, and copy/pastable example.

It should work automatically, provided its a language supported by VSCode. Which language did you try it with.


NavigationView / ItemsRepeater Crash with FluentAvalonia 2.1.0-preview4

Describe the bug
The preview NavigationView crashes in the ItemsRepeater ItemsRepeater.OnElementPrepared / ViewportManager.OnElementPrepared code. This was previously working in preview2 and earlier versions of FluentAvalonia 2.0+.
Screenshots

Desktop/Platform (please complete the following information):

OS: Windows 10 Pro
FluentAvalonia Version 2.1.0-preview4
Avalonia Version 11.1.0-beta1

Additional context
System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=FluentAvalonia
  StackTrace:

 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.ViewportManager.OnElementPrepared(Avalonia.Controls.Control element, FluentAvalonia.UI.Controls.VirtualizationInfo vInfo)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.ItemsRepeater.OnElementPrepared(Avalonia.Controls.Control element, int index, FluentAvalonia.UI.Controls.VirtualizationInfo vInfo)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.ViewManager.GetElementFromElementFactory(int index)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.ViewManager.GetElement(int index, bool forceCreate, bool suppressAutoRecycle)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.ItemsRepeater.GetElementImpl(int index, bool forceCreate, bool suppressAutoRecycle)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.RepeaterLayoutContext.GetOrCreateElementAtCore(int index, FluentAvalonia.UI.Controls.ElementRealizationOptions options)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.VirtualizingLayoutContext.GetOrCreateElementAt(int index, FluentAvalonia.UI.Controls.ElementRealizationOptions options)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.FlowLayoutAlgorithm.GetAnchorIndex(Avalonia.Size availableSize, bool isWrapping, double minItemSpacing, bool disableVirtualization, string layoutId)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.FlowLayoutAlgorithm.Measure(Avalonia.Size availableSize, FluentAvalonia.UI.Controls.VirtualizingLayoutContext context, bool isWrapping, double minItemSpacing, double lineSpacing, int maxItemsPerLine, FluentAvalonia.UI.Controls.ScrollOrientation orientation, bool disableVirtualization, string layoutId)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.StackLayout.MeasureOverride(FluentAvalonia.UI.Controls.VirtualizingLayoutContext context, Avalonia.Size availableSize)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.Layout.Measure(FluentAvalonia.UI.Controls.LayoutContext context, Avalonia.Size availableSize)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.ItemsRepeater.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Grid.MeasureCell(int cell, bool forceInfinityV)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Grid.MeasureCellsGroup(int cellsHead, Avalonia.Size referenceSize, bool ignoreDesiredSizeU, bool forceInfinityV, out bool hasDesiredSizeUChanged)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Grid.MeasureCellsGroup(int cellsHead, Avalonia.Size referenceSize, bool ignoreDesiredSizeU, bool forceInfinityV)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Grid.MeasureOverride(Avalonia.Size constraint)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.LayoutHelper.MeasureChild(Avalonia.Layout.Layoutable control, Avalonia.Size availableSize, Avalonia.Thickness padding)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.NavigationView.MeasureTopNavigationViewDesiredWidth(Avalonia.Size availableSize)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.NavigationView.HandleTopNavigationMeasureOverrideNormal(Avalonia.Size availableSize)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.NavigationView.HandleTopNavigationMeasureOverride(Avalonia.Size availableSize)	Unknown
 	FluentAvalonia.dll!FluentAvalonia.UI.Controls.NavigationView.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Grid.MeasureOverride(Avalonia.Size constraint)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.LayoutHelper.MeasureChild(Avalonia.Layout.Layoutable control, Avalonia.Size availableSize, Avalonia.Thickness padding, Avalonia.Thickness borderThickness)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Presenters.ContentPresenter.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.LayoutHelper.MeasureChild(Avalonia.Layout.Layoutable control, Avalonia.Size availableSize, Avalonia.Thickness padding)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Decorator.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Primitives.VisualLayerManager.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Window.MeasureOverride(Avalonia.Size availableSize)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.WindowBase.MeasureCore(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.Layoutable.Measure(Avalonia.Size availableSize)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.LayoutManager.Measure(Avalonia.Layout.Layoutable control)	Unknown
 	Avalonia.Base.dll!Avalonia.Layout.LayoutManager.ExecuteInitialLayoutPass()	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Window.ShowCore(Avalonia.Controls.Window owner)	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.Window.Show()	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.ShowMainWindow()	Unknown
 	Avalonia.Controls.dll!Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(string[] args)	Unknown
 	Avalonia.Controls.dll!Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(Avalonia.AppBuilder builder, string[] args, System.Action<Avalonia.Controls.ApplicationLifetimes.IClassicDesktopStyleApplicationLifetime> lifetimeBuilder)	Unknown

Do you have a repro, or if not an actual project at least a description of how the NavView is set up so I can repro this?

I was afraid you were going to say that. Reducing down to a repro in a full app is always tricky. Might be faster to debug with a local build of FluentAvalonia itself. Will spend more time on this later in the week.

If you can't get a repro, does the error message have the line number - I didn't see it above.
Also, populating the NavView, are you binding or using raw NavigationViewItems? If binding, what does your data template look like and what is the source collection type? Is SelectedItem bound? Is it hierarchical? PaneDisplayMode? Basically anything you can tell me about how its set up and I can try to repro it myself. Does it crash upon load or do you have to do anything?
All I know is just from a quick look at the code and stepping back from how that final method is called, nothing should be null at that point. The only thing I can think of is maybe GetElement is being called too early from a binding (like SelectedItem being set) and layout hasn't run so the ScrollViewer isn't available yet, but that should repro in more cases if that's the case.

@amwx I'm running with FluentAvalonia source directly now so can step into the code.

Also, populating the NavView, are you binding or using raw NavigationViewItems?

@amwx The below does work around the issue. App starts up and runs normally after this change adding the null checks. Somehow the code path is getting run before EnsureScroller() or something. Will look further.
    public void OnElementPrepared(Control element, VirtualizationInfo vInfo)
    {
        // If we have an anchor element, we do not want the
        // scroll anchor provider to start anchoring some other element.
        vInfo.CanBeScrollAnchor = true;
-       _scroller.RegisterAnchorCandidate(element);
+       _scroller?.RegisterAnchorCandidate(element);
    }

    public void OnElementCleared(Control element)
    {
        // Unlike OnElementPrepared, we can't make the change and add the virt info
        // as the caller of this (ItemsRepeater.ClearElementImpl) doesn't have a ref
        // and that method has multiple refs which don't have a the virt info either
        ItemsRepeater.GetVirtualizationInfo(element).CanBeScrollAnchor = false;
-       _scroller.UnregisterAnchorCandidate(element);
+       _scroller?.UnregisterAnchorCandidate(element);
    }

Ok I've added in the null checks and stopped this crash. Everything is actually running ok, but in Top pane mode there isn't a ScrollViewer in the tree and so it was never set. This code is slightly different from WinUI because Avalonia handles scroll anchor candidates slightly differently. So adding the null check won't hurt anything since if there's no ScrollViewer, there's no need to register anchor candidates.
2.1 branch has been updated with this fix along with a couple other crashes I found.


⚠ Minecraft has degraded performance

In 83dfb9e, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1397 ms

Resolved: Minecraft performance has improved in 9ea92c9.


add test reader

I add new tests

Hi @agoalofalife, can you explain a little about your motivation for these tests? What's the benefit of them?

Hi @duncan3dc , I can't remember, probably to increase the coverage test

Thanks for coming back to me @agoalofalife
Unfortunately at the moment I can't merge these without an explanation, once I'm more familiar with these classes I'll take another look at this, thanks


Hush hangs when trying to run on macOS

Installed hush via source build using cargo but running hush from zsh just hangs unless I pass --help or --version.
OS Version: macOS Monterey 12.3.1
Hush Version: Hush 0.1.2
Cargo Version: cargo 1.60.0

When you run hush from the terminal it will open up an interpreter for you to enter hush commands. But it will not run them until you end the file, which you can do with ctrl + d. It's basically opening an inline file for you, the ctrl + d command inputs the EOF (end of file) character to end the inline file which triggers hush to process it.
Alternatively you can create a file on your hd and execute it with the hush interpreter.
e.g.  make an example.hsh file with the following content:
#!/usr/bin/env hush

std.print("Hello World!")

Make the file executable (chmod +x example.hsh)
Then you should be able to execute it in your shell and see "Hello World!"

@Jackman3005 thanks for the great answer, that is absolutely correct. @chriskinzel let us know if it works for you, I didn't get to test Hush on a Mac, so I'm curious to know what you make of it.

@Jackman3005 @gahag ah yes that does it, thank you! I would add that it might be worth mentioning that the interpreter is non-interactive in the docs. I can make a PR for this if you like. So far  like the potential I see in hush, can't wait to use it more :)

@chriskinzel please, feel welcome to make that PR. All help is deeply appreciated.


Stella token displays  3.703703671 in the web wallet and displays 3,703,703,671.00 in the Explorer

There seems to be decimal issues with the Stella token it displays as 3.703703671 in the web wallet and displays 3,703,703,671.00 in the Explorer.
Please see the address  here https://explorer.stacks.co/address/ST297VG59W96DPGBT13SGD542QE1XS954X4ZSWW2J?chain=testnet

This is expected behavior, this is a sip 10 compliant token with 9 decimal places


Deprecate top factors

Reasoning
Top factors comes from a linear model, which likely has nothing to do with the prediction model.
Alternatives

limone?
lime?
skatr?
fairml?

Benefits

speed of training will increase
increased scientific rigor

TODO

[ ] remove top factors from code
[ ] remove tests
[ ] remove docs

Close #294 when complete


PlayerGrab - A better version to support moving objects.

Hi everyone.
I've worked on a subclass of the PlayerGrab script that I believe would be of interest to others and probably the core team.
This subclass supports objects that are moving and rotating, as well as keeping track of the precise snap point through world space. I needed this because I have a) moving objects that I want to climb and b) this script does not need the creating of multiple colliders all over the anchor object. Using it, one can simply add the InterractableObject to any big structure, add this script to the player (like you'd do with PLayerGrab) and set the objects to be Climbable with a precision snap.
That's it. You can now hold on and grab to gigantic objects.
I had to cheat however, and make a couple members of PlayerClimb public. I figured you'd want to use the algorithm in the core class anyways, so I didn't bother refactoring it into a pull request. I'll let you guys implement this the way you want it, plus there's some of my own code which I'm snipping clumsily in this message, so I'm sure I broke it.
But the essential is there. Thanks for a good VR toolkit. Some stuff works better than others, but overall it helped me a lot. Cheers!
namespace VRTK
{
    using UnityEngine;

    public class ShipPlayerClimb : VRTK_PlayerClimb
    {
        private Vector3 MyStartPosition = Vector3.zero;
        private Vector3 AnchorStartPosition = Vector3.zero;
        private Quaternion AnchorStartRotation = Quaternion.identity;

        void Start()
        {
            base.PlayerClimbStarted += new PlayerClimbEventHandler(MyPlayerClimbStarted);
        }

        new public void Update()
        {
            if (isClimbing)
            {
                Vector3 AnchorNewPosition = climbingObject.transform.position;
                Vector3 AnchorDelta = AnchorNewPosition - AnchorStartPosition;
                startPosition = MyStartPosition + AnchorDelta;

                base.Update();

                Quaternion AnchorNewRotation = climbingObject.transform.rotation;
                Quaternion RotationDelta = AnchorNewRotation * Quaternion.Inverse(AnchorStartRotation);

                Vector3 DeltaNewAnchorToMyNewPosition = transform.position - AnchorNewPosition;
                Vector3 RotatedVector = RotationDelta * DeltaNewAnchorToMyNewPosition;

                Vector3 Target = AnchorNewPosition + RotatedVector;

                transform.position = Vector3.Slerp(transform.position, Target, Time.deltaTime * 100f);
            }

        }

        void MyPlayerClimbStarted(object sender, PlayerClimbEventArgs e)
        {
            MyStartPosition = transform.position;
            AnchorStartPosition = e.target.transform.position;
            AnchorStartRotation = e.target.transform.rotation;
        }
    }
}

Maybe @mattboy64 can look at this and see if it's something he can weave into the standard player climb stuff?

This has been merged with another issue


Updated on-premises SQL Server scan page

Missing a step to enable both SQL Server and Windows Authentication

@akdataai : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@akdataai - Thank you for these changes, and the screenshot!
I will be updating this document with these changes, but I have pulled the changes into the private repository to edit the screenshot and make sure it goes through the correct validation processes.
I will submit your changes at this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/189520

#please-close


build: adjust the paths for the runtime MSI packaging rules

This is the build rules update to match
apple/swift-installer-scripts#224.

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/224
@swift-ci please smoke test


Portfolio view. Search improvements

Description
For the portfolio view it would be better to add full match search, in other words, when user enter dot the app should show only dot assets in all networks, if user enter polkadot it should also show all assets in only polkadot network

Status verification: ⏳
What has been verified:

Search for token-centric view
Search for chain-centric view ❌
When enter exact chain name - it shows many others:
https://github.com/user-attachments/assets/e3177292-2ef6-481d-a48b-6f6c800ac2d6

Status verification: ✅