Bar chart 5 columns issue and label font size

Hi,
I'm trying to configure a Bar chart with 5 columns and looks like a label on the left side is overlaping a label on the right side, because of it's size. I'm also trying to configure the label size to a smaller value, to solve this overlaping issue, but the configuration is not working when the graphic is rendered.
As you can see here , the first column is "Reclamação" is overlaping the second column "Elogio" (you can see that the vertical lines are not there as well)

When I change the text on the database, removing a single character, it fits on the column and everything is rendered fine.

Here is the code, I'm trying to solve reducing the size of all labels (no effect).
   const optionsBar = {
title: {
                 display: true,
                 text: "Quantitativo por natureza"
             },
             legend: {
                 display: false,
                 labels: {
                     fontColor: "#000000",
                     fontSize: 8
                 }
             maintainAspectRatio: true
         };
         graficoBar = (
                <Bar
                    data={dataBar}
                    onElementsClick={this.getNatureza}
                    options={optionsBar}
                 />
        )

I see no problem when I have 6 or more columns, only on this size and only with 5 columns.
[Edit]
Just to add another information, while testing, I concatenated a single character, space, after each label and now it is rendered fine.

up

This is a configuration that worked for now. I don't know if there is a better way to correct this.
scales: {                         xAxes: [{                             ticks: {                             autoSkip: false,                             padding: 10                             }                         }]},

Closing for now. Please refer to the Chart.js documentation for questions around configuration and/or usage of the library. If you have a bug or enhancement related directly to Chart.js, please open an issue on their Github.


Can't change the order of the opened collections - new feature: make it possible to order (auto or manual) the collections

When importing or creating collections, their order in the left pane list remains the chronological order of their creations.
There is no way to sort them (alphabetical order, reversed / import date / reversed), or move them freely up or down in the list.
I (personally!) find this to be a bit annoying because I have quite a bunch of collections, named from microservices or apps I want to call, and I prefer having the list in alphabetical order to quickly find the right app name.
Task List

[x] Sort Alphabetically upon clicking sort button
[x] Reverse sort on clicking icon again
[x] Go back to original import order when clicked again
[x] Hide sort icon when there are no collections loaded

Basically 3 levels of sorting that happens everytime you click the icon

Unsorted (based on import date) - use IconArrowsSort
Alphabetical Sort - IconSortAscendingLetters
Reverse Alphabetical Sort - IconSortDescendingLetters

We currently don't store the collection import timestamp. This will be needed to implement the functionality to go back to original import order. We can add a new property collection.importedAt = new Date() to store this info. I think a new property called as collectionSortOrder with values ['default', 'alphabetical', 'reverseAlphabetical'] will have to be maintained in the appSlice

I would like to work on this issue. Can I kindly be assigned?

Go ahead @VipinVIP !

I recommend using a alphabetical sort icon to the right end of the collection label in this image.
On clicking of the icon, it can sort alphabetically in the redux store.

While opening the web version via npm run dev:web , i get the following error.

is it an error from my side or am i missing any step ?

@VipinVIP the app is supposed to be used only in electron.

@not-known-person I have merged your PR. Nice work!
Many Thanks!
I have also added the remaining list of things to be done (with some useful pointers) to complete this feature.

This has been completed by @not-known-person and is now available in v0.17.0
@not-known-person When you have some time, you can create a new issue for Sorting Collections via Drag and Drop and work on it.
Thank's again for all your work!

Sure @helloanoop


Template won't work if you use 'using'

Please don't abandon this repository.
This is actually useful for what I need. I'm using this to use templates with Oxygen.jl. Some of your links don't work anymore and same with the example. You'll get the following error if you use
using Dates now()

Error: ERROR:
│   exception =
│    syntax: "using" expression not at top level
│    Stacktrace:
│      [1] top-level scope
│        @ none:1
│      [2] eval
│        @ ./boot.jl:368 [inlined]
│      [3] eval
│        @ ~/.julia/packages/OteraEngine/oQ8sv/src/OteraEngine.jl:1 [inlined]
│      [4] (::Template)()
│        @ OteraEngine ~/.julia/packages/OteraEngine/oQ8sv/src/OteraEngine.jl:124

Thank you for your contact!
I’m so busy(actually, I’m a Japanese high school student) that I haven’t maintained this package for long. But, I’m free today, and I’ll try to fix this issue.

I fixed this issue, and I want you to test(not ready for release at this time, so clone this repository).
If there is no problem and I found the way to change author name of main repository, I'll release new version.

Thank you. I appreciate your work. It's amazing you are doing such a great job while being a high school student. Anyways, you can always try to upload it with a new project name using a new username. You can even just call it Otera or OteraTemplate or JinjaTemplate or even OteraEngine2 (whatever you like). Let me know after you upload it and I'll test it out.
Thank you.

I tried to change package name, but most (as you showed) names is invalid because of naming-guidelines. So, I’ll try making new PR by myself. Please wait until the new version is released.

I released new version(v0.2.0), and this issue was solved.

I released new version(v0.2.0), and this issue was solved.


[Change in Layout] <3 Column layout option>

So I was just using TachiyomiJ2K and i really like their layout.
Its so convenient to have 3 column than 2 column so can we have 3 column.

Like this^

Explore the app, SY has far more options for this than J2K


replace uuid by a custom function to avoid security vulnerability (DL…

…L hijack)
see https://bugs.python.org/issue40501 for more info about it (affects python 2 and 3,  fixed in python 3.9 beta)

awesome, thanks!


SVGO 3.3.0 stopped working in the AWS environment with Node.js 20

We used SVGO 3.2.0 in the AWS environment (Lambda functions) with Node.js 20 as a runtime, which worked well. When we upgraded to 3.3.0, it stopped working:

See #1991

Hey hey!
Sorry about that, when creating the CJS bundle, I only added a test for the optimize function, and didn't add explicit tests for the other exports. This led to me missing the fact that some exports were missing from the CJS bundle.
This has been resolved by a contributor and releases in v3.3.1.
I apologize for the trouble! If you have any other issues, feel free to open another issue.


Builtin rules library

Include a library of standard rules in PEG.js. It would contains rules matching constructs used in many languages: numbers, strings, identifiers, various kinds of comments, Unicode character categories, etc.
One potential problem is that these kinds of rules tend to be slightly different in each langauage (think e.g. allowed escape sequences in strings), so usefulness of generic rules is somewhat limited. But they would definitely be useful for quick & dirty parsing.
Possible source of inspiration: Augeas’s util.aug module

You may wish to jump right to 8 while you're at it. The node-unicode-data project folks have already released the new module: https://github.com/mathiasbynens/unicode-8.0.0

Can start on this after stage of #523

A lot of highly useful parsing rules regard well defined formats, and should never change.  Many of those regard very difficult formats, and a well tested library would be highly useful.
I believe that this very much should happen, and I would be happy to get started as soon as there's a library version that can merge PRs.  I have a lot of rules I'll donate to start with.


Even distribution of resource creating empty routes

I have just noticed that the change that was recently made to the even distribution of resource module created a bug where if the origin city has no more surplus resource, it would create empty routes. This can be avoided by simply checking if toSend is 0 just above the route block:
if toSend == 0:
	continue

yep, you are right, now its fix
(shame on me touching your code and introducing bugs...)


open source

hello, congratulations! An excellent work, could you please share your code?

Thanks for your interest! We're now stuck with some other projects and will refactor the code and release it soon (maybe next month)!

hello, I'm sorry to bother you! Congratulations! An excellent work, could you please share your code?


fix: make update-imported-docs.py works on macOS.

This PR is going to fix #19666 .

/cc @kbhawkey .

/lgtm

/lgtm
/approve


[EventHubs] update buffered producer docstring

update docstring to prep for release

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

/azp run python - eventhub - tests


Crash on 0.15.0

Just updated from 0.14.1 to 0.15.0 and it crashed on startup. RN 65.1 and 67.4.

react-native-blob-util is a dependency of redux-persist-filesystem-storage so I wonder if it is an issue with that.

readFile only expects 4 arguments.
Sure there was a change to the method increasing the parameters from 3 to 4. But expecting 5 seems odd.
Could you please take a quick look at that line in your lib: https://github.com/RonRadtke/react-native-blob-util/blob/d52ba2ba5155252fd8a8e797dffd7684c59fcd17/android/src/main/java/com/ReactNativeBlobUtil/ReactNativeBlobUtil.java#L236
And check the amount of parameters expected for you. It looks everywhere fine in the code for me
@pcardon do you have the readFile in production with the transformer version and can check if that is an issue?

@RonRadtke keep in mind "this" is usually considered a parameter too (although passed implicitly).  I haven't updated yet so I cannot comment on this, but I wanted to make sure the latest updates are backwards compatible.

@RonRadtke keep in mind "this" is usually considered a parameter too (although passed implicitly). I haven't updated yet so I cannot comment on this, but I wanted to make sure the latest updates are backwards compatible.

I know but nothing changed except of an parameter being added, and that got added everywhere. And so far I was not able to reproduce the problem with my test environment.
The update is backwards compatible. (Besides that issue here which I can reproduce so far)

The parameter was added on the native side, and the JS code is including the new parameter.  Is there a chance that you have some code that is calling the native side directly?  If so you would need to add the parameter.

@pcardon just to make sure, did you try to clean the build cache and maybe even reinstall the lib?
Not that something got stuck there...
I'll keep digging tomorrow but no, i think every usage should be fixed. Especially every coming in globally and not using the fs module itself

I actually managed to reproduce the issue now

Install react-native-blob-util 0.13.x
build app
update to 0.14.x or 0.15.x
build again
=> broken
`` npm start -- --reset-cache
react-native start --reset-cache
''
works as it should

so please try to reset the caches and try again

It's npm start --reset-cache you have some "-" too much in your command

Ah I saw other guides say to include the extra --.
After npm start --reset-cache I still get the same error with rn blob util.

@jslok have you found a fix for this? I have the same problem and I am stuck.

@jslok have you found a fix for this? I have the same problem and I am stuck.

Nope. Just use 0.14.1

Error still showing on 0.16.0

Could you share your code so I can try to build a test app out of it for reproducing the issue?
OF course feel free to build a small dumym yourself if you're able to :)
This issue kinda bugs me since I can't see any reason for so far, so I really would like to get it fixed....

Haven't had much time yet but I discovered this issue only happens when I use redux-persist-filesystem-storage. It does not happen when I swap that out with asyncstorage.

Are you using the library besides of redux-persist-filesystem-storage?

Are you using the library besides of redux-persist-filesystem-storage?

Yes

Could you try to use this pull request for once?
https://github.com/robwalkerco/redux-persist-filesystem-storage/pull/60
I'm wondering if it's just an issue with the version missmatch

@RonRadtke I was getting this same error and use redux-persist-filesystem-storage as well. The pull request you linked fixed the error.

Thank!
I created an issue for: https://github.com/robwalkerco/redux-persist-filesystem-storage/issues/61
But then we can't really do much here to get it fixed

redux-persistent-file-system merged the PR. After upgrading your lib version it should work


Build human-readable representation and wiki for decision-trees

Is your feature request related to a problem? Please describe.
We should enhance the options of sharing and collaborating for decision trees so that several individuals and groups can develop trees together, share/discuss them afterwards and make use of the knowledge encoded in the trees.
Describe the solution you'd like
We should have:

a human-readable representation of the trees to enable discussion and collaboration in an easy way
a wiki, where the trees can be discussed and improved to ensure long-time preservation
the option, to create decision trees with several collaborators in the builder

Additional context
This should be a feature for release 0.2

transferred to new builder


- Find:    "ReadingFooter[qApp_deviceIsTrilogy=true] {\n  min-height: 56;\n  max-height: 56px;\n}"
         Replace: "ReadingFooter[qApp_deviceIsTrilogy=true] {\n  min-height: 37px;\n  max-height: 37px;\n}"
-        # Glo/Aura/Aura2E (Phoenix)
+        # Glo/Aura/Aura2/Nia (Phoenix)
       - Find:    "ReadingFooter[qApp_deviceIsPhoenix=true] {\n  min-height: 71px;\n  max-height: 71px;\n}"
         Replace: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n  min-height: 47px;\n  max-height: 47px;\n}"
-        # AuraHD/H2O/GloHD/ClaraHD (Dragon)
+        # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa (Dragon)
       - Find:    "ReadingFooter[qApp_deviceIsDragon=true] {\n  min-height: 101px;\n  max-height: 101px;\n}"
         Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n  min-height: 66px;\n  max-height: 66px;\n}"
         # AuraOne/Forma (Daylight)
@@ -234,10 +234,10 @@ Custom header/footer captions:

         # 2a. Change font-size for models other than Touch/Mini (header & footer simultaneously)
         # #caption[newHeader=true] & #caption[newFooter=true]
-          # Glo/Aura/Aura2E/Nia
+          # Glo/Aura/Aura2/Nia
         - Find:    "[qApp_deviceIsPhoenix=true] {\n  font-size: 17px;\n}"
           Replace: "[qApp_deviceIsPhoenix=true] {\n  font-size: 17px;\n}"
-          # AuraHD/H2O/GloHD/ClaraHD
+          # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
         - Find:    "[qApp_deviceIsDragon=true] {\n  font-size: 25px;\n}"
           Replace: "[qApp_deviceIsDragon=true] {\n  font-size: 25px;\n}"
           # LibraH2O
@@ -324,10 +324,10 @@ Custom page navigation scrubber:
           # Touch/Mini (Trilogy)
         - Find:    "[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;"
           Replace: "[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;"
-          # Glo/Aura/Aura2E (Phoenix)
+          # Glo/Aura/Aura2/Nia (Phoenix)
         - Find:    "[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;"
           Replace: "[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;"
-          # AuraHD/H2O (Dragon)
+          # AuraHD/AuraH2O/AuraH202/Elipsa (Dragon)
         - Find:    "[qApp_deviceIsDragon=true] {\n  font-size: 29px;"
           Replace: "[qApp_deviceIsDragon=true] {\n  font-size: 29px;"
           # GloHD (Alyssum)
@@ -363,10 +363,10 @@ Custom page navigation scrubber:
           # Touch/Mini (Trilogy)
         - Find:    "#page[qApp_deviceIsTrilogy=true] {\n  font-size: 17px;"
           Replace: "#page[qApp_deviceIsTrilogy=true] {\n  font-size: 17px;"
-          # Glo/Aura/Aura2E (Phoenix)
+          # Glo/Aura/Aura2/Nia (Phoenix)
         - Find:    "#page[qApp_deviceIsPhoenix=true] {\n  font-size: 22px;"
           Replace: "#page[qApp_deviceIsPhoenix=true] {\n  font-size: 22px;"
-          # AuraHD/H2O (Dragon)
+          # AuraHD/AuraH2O/AuraH202/Elipsa (Dragon)
         - Find:    "#page[qApp_deviceIsDragon=true] {\n  font-size: 26px;"
           Replace: "#page[qApp_deviceIsDragon=true] {\n  font-size: 26px;"
           # GloHD (Alyssum)
@@ -414,10 +414,10 @@ Series list increase cover thumbnails:
           # Touch/Mini
         - {Find: "topMargin: 9px;",     Replace: "topMargin: 3px;"}
         - {Find: "bottomMargin: 9px;",  Replace: "bottomMargin: 0px;"}
-          # Glo/Aura6"/Aurav2
+          # Glo/Aura/Aura2/Nia
         - {Find: "topMargin: 12px;",    Replace: "topMargin: 4px;"}
         - {Find: "bottomMargin: 12px;", Replace: "bottomMargin: 0px;"}
-          # AuraHD/H2O/H2Ov2/GloHD/ClaraHD
+          # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
         - {Find: "topMargin: 14px;",    Replace: "topMargin: 5px;"}
         - {Find: "bottomMargin: 14px;", Replace: "bottomMargin: 0px;"}
           # AuraOne/Forma
@@ -431,10 +431,10 @@ Series list increase cover thumbnails:
           # Touch/Mini
         - {Find: "width: 60px;",   Replace: "width: 65px;"}
         - {Find: "height: 94px;",  Replace: "height: 102px;"}
-          # Glo/Aura6"/Aurav2
+          # Glo/Aura/Aura2/Nia
         - {Find: "width: 70px;",   Replace: "width: 83px;"}
         - {Find: "height: 115px;", Replace: "height: 137px;"}
-          # AuraHD/H2O/H2Ov2/GloHD/ClaraHD
+          # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
         - {Find: "width: 108px;",  Replace: "width: 120px;"}
         - {Find: "height: 175px;", Replace: "height: 195px;"}
           # AuraOne/Forma
diff --git a/src/versions/4.28.17925/nickel.yaml/oren64.yaml b/src/versions/4.28.18220/nickel.yaml/oren64.yaml
index 5184928..66dc005 100644
--- a/src/versions/4.28.17925/nickel.yaml/oren64.yaml
+++ b/src/versions/4.28.18220/nickel.yaml/oren64.yaml
@@ -27,7 +27,7 @@ New home screen subtitle custom font:
   - Description: |
       Increase subtitle font size, font color black. Works best when used
       with with patch `New home screen increasing cover size`
-  - BaseAddress: 0x15DED55 # qss/GenericHomeWidget.qss
+  - BaseAddress: 0x15C93CF # qss/GenericHomeWidget.qss
   - ReplaceZlib: {Find: "MetaDataLabel {\n  color: #666666;\n  qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n  color: #000000;\n  qproperty-indent: 0;\n}"}
   - ReplaceZlib:
       Find:    "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 13px;\n}"
diff --git a/src/versions/4.28.17925/nickel.yaml/pgaskin.yaml b/src/versions/4.28.18220/nickel.yaml/pgaskin.yaml
index 9f05039..d405133 100644
--- a/src/versions/4.28.17925/nickel.yaml/pgaskin.yaml
+++ b/src/versions/4.28.18220/nickel.yaml/pgaskin.yaml
@@ -15,7 +15,7 @@ Remove forgot pin button from lock screen:
       Removes the Forgot PIN -> Sign Out button from the lock screen.
       If this is enabled and you forget your pin, you will need to
       hard reset your Kobo.
-  - BaseAddress: 0x15D8400 # qss/PinCodeInputDialog.qss
+  - BaseAddress: 0x15D5D6B # qss/PinCodeInputDialog.qss
   - ReplaceZlib:
       Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n  font-size: 26px;\n}"
       Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"


{{Creator: Andy Mabbet}} in place of actual author name

Summary:
Sometimes, while uploading an image and after uploading an image, in place of the actual author name it's showing {{Creator: Andy Mabbet}} in Contribution Activity.
Steps to reproduce:
Upload any image in the app. Although It's not happening every time.
Device and Android version:
OPPO A57 API 23 and Pixel 4 API 27
Commons app version:
Latest master
Screen-shots:

Oh, wow. Are you interested in working on this @Ayan-10 ?

@misaochan Yes, I would like to work on this.

@Ayan-10 it is yours, please keep us updated on your progress. :)

Due to super rare occurrence and old issue age I will close this, but if anyone observes this again please do not hesitate to reopen, thanks!


docs: fix requestPrimaryName function definition

:tada: This PR is included in version 2.6.0-alpha.3 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Extension Slows Large Notebooks to A Crawl

I have the extension installed, and it is working very well, except whenever I attempt to use it on a large notebook, the whole notebook slows dramatically. Each cell time is technically unaffected, but the UI slows dramatically for a few seconds after each cell run.

Unfortunately the implementation I used here isn't super compatible with large notebooks.  It takes the entire notebook as a string and passes it to flake8 in a terminal, then parses the result.
It currently lints every time you move a cell or save - we could add a "lint" command and an option to turn off linting on save?

The latest version of the extension (0.7.1) has a setting lint_on_change - set this to false (or toggle the "View" -> "Run Lint on change") and the linter will not run everytime you change a cell.
To lint the view, pull up the command pallette and select "Lint active notebook" or "Lint active editor"


Readme link is broken in hello-world tutorial

Issue: https://github.com/dapr/quickstarts/actions/runs/4326156856/jobs/7553236416#logs
Expected Behavior
This link should open
Actual Behavior
This link is returning 404
Steps to Reproduce the Problem
Hit the link in this readme section
How-To: Debug multiple Dapr applications

/assign


chore: remove unused deriving handler argument syntax

As far as I can tell, the ability to pass a structure instance to a deriving handler is not actually used in practice. It didn't seem to be used in the test suite, at least.
Do we want to remove this, or do we want to use and document it? This PR removes it, but that's not something I feel strongly about - but seeing if it breaks Mathlib is a useful data point.

From what I can read here, the Mathlib breakage is only due to a deprecation warning being issued, and not that it doesn't compile, right?
If so, I take that as evidence that this syntax is indeed not used and can be removed.

From what I can read here, the Mathlib breakage is only due to a deprecation warning being issued, and not that it doesn't compile, right?

Right.

Perhaps needs master merged? This failed on the queue.

Thanks for the poke, @kim-em!


Added art section (very bare), and a svg recreation of the logo.

@BombasticTom yeah but then you couldn't edit it with vector graphics editors, and only with Flash.
This way it's more accessible

i still think you should include it tho, it's literally all of the game files, and you've just included one of them

ok I will add it


CSharp: Add Clone methods

MemberwiseClone is a private method on object which performs a shallow clone. Classes can choose to expose this to their users, and we should.
We may want to implement a deep clone which would take some extra work. This could be exposed as a separate DeepClone method.

@mattico Seems reasonable. Can you run cargo fmt to solve the lint error?


iOS: Items in feeds with "Always Show Reader View" that fail to load get stuck

I have a feed set to "Always Show Reader View" (http://news.ycombinator.com/rss) .
A couple of items in that feed failed to load properly today. The reader icon pulsated indefinitely and Loading... was displayed.  I was able to exit the item with the "< Back" button, but no other buttons worked, including turning off reader view.  (i.e. I couldn't use the up or down arrows or any of the buttons on the bottom row).
When I did pop back, the article in question was marked as read even though no information was displayed.
If I turn off "Always Show Reader View" and view the failing item the non-reader view works properly.  If I tap on the reader button it pulsates for a second and correctly shows a reader icon with an exclamation mark in it.
Suggestion:  If an item in a feed set to  "Always Show Reader View" fails, default back to the non reader view, show the [!] failure icon and reenable all the buttons.

I got a slightly different failure mode today under 5.0 (26).  The load failed but the word message "Loading..." remained.  The buttons at the bottom were enabled, but I expected to be able to tap the [!] button to flip back to the RSS feed provided data.  (I also expected the [!] button to be solid blue to indicate that we were in the reader mode.


Mute doesn't work

Muted messages are caught by the catch-all rule (which moves the email to inbox), but removing the catch-all rule generates errors in gmail-automata (see below). The root cause may be that Gmail filtering ignores -{label:mute} in the default filter and so it gets tagged with unprocessed label regardless. Do you have any suggestions to allow Gmail mute functionality to continue working?
Log for error when I remove the catch-all rule with redacted personal info:
Captured an error: Some processing fails, check emails

Tue Oct 12 14:57:20 PDT 2021 INFO: Finished getEmail successfully in 47ms
Tue Oct 12 14:57:21 PDT 2021 INFO: Finished GetConfigValues successfully in 552ms
Tue Oct 12 14:57:21 PDT 2021 INFO: Finished getConfigs successfully in 561ms
Tue Oct 12 14:57:21 PDT 2021 INFO: Finished getLabels successfully in 524ms
Tue Oct 12 14:57:22 PDT 2021 INFO: Finished GetRuleValues successfully in 257ms
Tue Oct 12 14:57:22 PDT 2021 INFO: Finished getRules successfully in 334ms
Tue Oct 12 14:57:22 PDT 2021 INFO: Finished fetchUnprocessedThreads successfully in 165ms
Tue Oct 12 14:57:22 PDT 2021 INFO: Found 2 unprocessed threads.
Tue Oct 12 14:57:22 PDT 2021 INFO: Ignoring oldest 3 messages in thread "some email""
Tue Oct 12 14:57:23 PDT 2021 INFO: Ignoring oldest 2 messages in thread "some other email"
Tue Oct 12 14:57:23 PDT 2021 INFO: Finished transformIntoThreadData successfully in 736ms
Tue Oct 12 14:57:23 PDT 2021 INFO: Process email failed: Thread "some email"" from someone<EMAIL_ADDRESS>to email<EMAIL_ADDRESS>has no action, does it match any rule?
Tue Oct 12 14:57:23 PDT 2021 INFO: Finished collectActions successfully in 94ms
Tue Oct 12 14:57:23 PDT 2021 INFO: Processed 1 out of 2.
Tue Oct 12 14:57:24 PDT 2021 INFO: Updated labels: a/auto-inbox.
Tue Oct 12 14:57:25 PDT 2021 INFO: Updated threads status.
Tue Oct 12 14:57:26 PDT 2021 INFO: Mark as processed.
Tue Oct 12 14:57:26 PDT 2021 INFO: Finished BatchApply successfully in 3614ms
Tue Oct 12 14:57:26 PDT 2021 INFO: Finished applyAllActions successfully in 3643ms
Tue Oct 12 14:57:27 PDT 2021 INFO: Finished addStatRecord successfully in 216ms
Tue Oct 12 14:57:27 PDT 2021 INFO: Finished processEmails failed in 6398ms: undefined
Message: undefined

Perhaps this is tangentially related to:

https://github.com/ranmocy/gmail-automata/issues/44
https://github.com/ranmocy/gmail-automata/issues/9

It may due to the second Gmail filter:
Matches<EMAIL_ADDRESS><EMAIL_ADDRESS>Do this: Apply label "0unprocessed"

My idea was since the email is sent to you directly, it's considered as an important email. But I think you may change the condition to ignore muted emails?
Matches<EMAIL_ADDRESS><EMAIL_ADDRESS>-{label:mute}
Do this: Apply label "0unprocessed"

Actually, I think there is a way for Automata to solve this. Would it be possible to add a new move_to action that does "nothing"?  I didn't see that in the code. If not, do we have a feature request for that? Or would this Issue be the request?

Automata doesn't currently have this functionality. Filtering by label would be my preferred way to solve my problem, because that feature is also useful for other rules, but I'm not sure if the maintainer would prefer that in a separate Github issue though...

I've got that implemented in PR #69 where you can do something like:
(thread label My/Label)

It only matches labels that were already applied (not labels that will be applied) before any rules ran.


fix(elements): Fix types for GlobalError/FieldError render fns

Description
Fix types for GlobalError/FieldError render fns
Checklist

[x] npm test runs as expected.
[x] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

!snapshot

Hey @tmilewski - the snapshot version command generated the following package versions:

Package
Version

@clerk/elements
0.4.3-snapshot.va34010f

gatsby-plugin-clerk
5.0.0-beta.45

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/elements
npm i<EMAIL_ADDRESS>--save-exact

gatsby-plugin-clerk
npm i<EMAIL_ADDRESS>--save-exact


[GLUTEN-1632] minor, fix Gluten ClickHouse CI not triggered

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #1632)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

retest this please


Merge in upstream main for 5.2 merge

Merges the HEAD of the parent PR #81 with a reasonably recent upstream/main. Fix all tests.
Caveat: I probably should have done the merge with upstream/v5.1-502, which is the tagged version for 5.2. I skimmed through the commits to main since then (there are about 20) and almost all of them are bugfixes. There is a new feature: https://github.com/ocaml/merlin/pull/1745, but I'm not worried about it as it doesn't touch existing code paths.
Note for next version bump: be sure to merge with the tagged version! I don't think we hit any difficulty in this merge, but that's half by luck.
This merge was difficult. The last merge was done with https://github.com/ocaml/merlin/tree/v4.14-501, which does not share history with upstream main (or v5.1-502). This means that git merge creates a lot of spurious conflicts.
The way I created this PR was as follows:

I created a parallel branch B where I checked out to v4.14-501, and committed a change bringing the files to the same state as upstream/main.
I then merged B with the HEAD of #81.
I returned to the branch of the present PR, and merged with upstream/main to make the branches share history (https://github.com/janestreet/merlin-jst/pull/82/commits/6b3f6af65d1088e1c7d66aec170b90ed1a50427e).
I then made two further commits: (i) a commit making files look like B after step 2 (https://github.com/janestreet/merlin-jst/pull/82/commits/240f8aac71b9394828871cbaee55cb0f02639a8f), and (ii) a series of commits fixing up the conflicts and fixing the tests.

I expect that future merges will be less painful — I think we'll just be able to run git merge with the tagged version.
The reason I went to all this effort is because it halved the number of conflicts. There are about 400 conflicts in B, and about 800 conflicts that I would have had to fix if I had just merged with upstream/main from the start.
There might have been a better way to do this. Let me know if you think of one.
Instructions for reviewer
Review this diff: https://github.com/janestreet/merlin-jst/pull/82/files/6b3f6af65d1088e1c7d66aec170b90ed1a50427e..150f7876a9dbf4c50674be292a330b2b5df0afd3
This is the diff between:

The conflicts created by merging with upstream/main
The final resolution.

Explanation of three-way diff:

The top third is the version of 5.2 merlin as of #81.
The middle third is...I don't really know. I really didn't look at this. It's just the auto-detected merge base, which isn't useful here.
The bottom third is upstream merlin as of a recent-ish upstream main (just after v5.1-502).

I usually take the upper third of the diff. Places where I don't are notable.
TODO: We should scan through the diff between merlin-jst's implementation of type-checking and flambda-backend's.
Notable diffs

src/ocaml/typing/typecore.ml drops upstream's approach for recovery when typing functions. Our approach is slightly different. We should make them converge, but this PR is not the place to do it: it's tricky, and there's a lot going on in this PR already.
The lack of diff in the overall PR for occurrences-related files is important. @liam923 says this is the right outcome.

Thanks for the review. It should be back to you @liam923

I'll leave instructions for how to merge this.


Test only; not for review

Checking CI fail on https://github.com/single-cell-data/TileDB-SOMA/actions/runs/6641492395/job/18044152171?pr=1815

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
see 34 files with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.

Could not repro #1815 CI fail; debugging there; also note
https://github.com/single-cell-data/TileDB-SOMA/actions/runs/6640942410/job/18042371782
failed post-merge CI


Supporting dynamic shape tensor in sparse_image_warp

Hello,
The current version of sparse_image_warp.py only support static shaped tensors. (The Issue regarding this problem has been already in Issues board(#28431))
This PR is for upgrading sparse_image_warp.py to support computations of tensor with dynamic shape.
Inspired by dynamical support of dense_image_warp function in #23394, I started with changes in get_shape(); however, this requires more operational changes including math_ops and array_ops.
The functional test is also done with time_warping operation in SpecAugment which requires sparse_image_warp.

Hi @comc35!
Thank you for taking a shot at fixing this.
But the TensorFlow 2.0 release is just around the corner.
tf.contrib is not included in TensorFlow 2.0. It will be deleted.
This functionality now lives in the tensorflow/addons repository  please resubmit your PR there.


implement 'spreadsheets' as a spreadsheet format

Adding the possibility to download the records/entries/items in XLSX format.

I think that we might need to reinstate, somewhere, the Content-Disposition for xlsx to indicate that it is an attachment and not to be displayed inline?

Do we want to support the /record/{record-key}/entries endpoint located in RecordResource too? It supports all of the other existing data formats

About Content-Disposition. Not possible to assign now this header because now the writer is in charge of creating a naming the file.
I have tried to set the header application/force-download but when the Chrome plugin open the CSV and spreadsheet files now makes a mess with long numeric values that doesn't evaluate as string but as a long number showing scientific notation for them.

@karlbaker02 Are you sure that the download problem is not because of the plugin?

@fjavierm I have tested on Safari and encounter the same issue.

@karlbaker02 It should be solved now. Try it again please

Tested and verified that download for xlsx is now working correctly on Chrome and Safari. Only thing to do now is to address the comment for EntriesSpreadSheetWriter.java - I'll aim to get an answer on this today.

Picking up the point from @michaelabenyohai about records, we're currently not maintaining what we do in csv in xlsx when an entry has multiple items.
In the following screenshots, we're loading a register with 4 entries for 5 distinct items.
Loaded RSF:
assert-root-hash	sha-256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
add-item	{"name":"local-authority-eng"}
add-item	{"cardinality":"1","datatype":"string","field":"local-authority-eng","phase":"beta","register":"local-authority-eng","text":"The local authority's ISO 3166-1 alpha3 code. Unique codes have been created for local authorities that don't have an existing ISO code."}
add-item	{"cardinality":"1","datatype":"string","field":"name","phase":"beta","text":"The commonly-used name of a record."}
add-item	{"cardinality":"1","datatype":"string","field":"official-name","phase":"beta","text":"The official or technical name of a record."}
add-item	{"custodian":"Stephen McAllister"}
add-item	{"fields":["local-authority-eng","local-authority-type","name","official-name","start-date","end-date"],"phase":"beta","register":"local-authority-eng","registry":"department-for-communities-and-local-government","text":"Local authorities in England"}
add-item	{"cardinality":"1","datatype":"string","field":"local-authority-type","phase":"beta","register":"local-authority-type","text":"The type of local government organisation."}
add-item	{"cardinality":"1","datatype":"datetime","field":"end-date","phase":"beta","text":"The date a record stopped being applicable. For example, the date a school closed down."}
add-item	{"cardinality":"1","datatype":"datetime","field":"start-date","phase":"beta","text":"The date a record first became relevant to a register. For example, the date a country was first recognised by the UK."}
add-item	{"local-authority-eng":"BBD","local-authority-type":"UA","name":"Blackburn with Darwen","official-name":"Blackburn with Darwen Borough Council","start-date":"1998-04-01"}
add-item	{"local-authority-eng":"BIR","local-authority-type":"MD","name":"Birmingham","official-name":"Birmingham City Council","start-date":"1996-07-01"}
add-item	{"local-authority-eng":"BDF","local-authority-type":"UA","name":"Bedford","official-name":"Bedford Borough Council","start-date":"2009-04-01"}
append-entry	system	name	2017-07-17T10:59:48Z	sha-256:41ebaf26a5a1ae11d2d6f8dce81922ae46ab354b049efdb5d2fc8e2fa951097d
append-entry	system	custodian	2017-07-17T10:59:48Z	sha-256:1a79573f28a473bc281ae5ef7f1a910da710648bc666abf5930e05e1ed962f39
append-entry	system	field:local-authority-eng	2017-01-10T17:16:07Z	sha-256:9980619a9bb4f9badd0456d7f3740fb6d97d7ca816e4db8d34d544e2695b51fe
append-entry	system	field:local-authority-type	2017-01-10T17:16:07Z	sha-256:c244c74c48c14b08aa98346ee8064743e65d6331b09d524c03a333468f3b58da
append-entry	system	field:name	2017-01-10T17:16:07Z	sha-256:a7a9f2237dadcb3980f6ff8220279a3450778e9c78b6f0f12febc974d49a4a9f
append-entry	system	field:official-name	2017-01-10T17:16:07Z	sha-256:5c4728f439f6cbc6c7eea42992b858afc78c182962ba35d169f49db2c88e1e41
append-entry	system	field:start-date	2017-01-10T17:16:07Z	sha-256:1cff4c622577fabd35917760b04bc304af3b950e19735b60152c19f18b55e75e
append-entry	system	field:end-date	2017-01-10T17:16:07Z	sha-256:a557fa9bf4a6ce1991717b9429406f4fa724fb8818dfe018d306694de22efbf7
append-entry	system	register:local-authority-eng	2016-10-21T15:20:42Z	sha-256:c1762331b777d5f820735a693cc9443eebefc076fa7f2ce0ceaeea9d0f52a5d4
append-entry	user	A	2016-10-21T16:11:20Z	sha-256:37dd060a3efa6d5bf16f876e08fa867210f424e2e4a7989d0322218f6772332d
append-entry	user	B	2016-10-21T16:11:20Z	sha-256:01cda95d102807943d68f71bbe7b9b290dec2ebdb15967ca66820f825ece5831
append-entry	user	C	2016-10-21T16:11:20Z	sha-256:bdc17a29807f47a94cf612abf92fcadd2d83176f9ea419b4eeda23af2cf25ef9
add-item	{"local-authority-eng":"LUT","local-authority-type":"UA","name":"Luton","official-name":"Luton Borough Council","start-date":"1905-06-19"}
add-item	{"local-authority-eng":"WOT","local-authority-type":"NMD","name":"Worthing","official-name":"Worthing Borough Council","start-date":"1905-06-25"}
append-entry	user	E	2016-10-21T16:11:20Z	sha-256:304949d78e0c42591cf9bb547bc7143b869bb29217618633e3a9ba933eb1e1d7;sha-256:f3ca6a2079d74458ea5580ce3a214a46fed27a4fdfda8249083ef33190a9d3ef

Outputted csv:

Outputted xlsx:

We should ensure that xlsx matches csv.

@karlbaker02 Fixed, now each item is going to have a row. Quick question. Can a record has no item? As far as I understand, this situation cannot happen but, maybe, I'm wrong

Confirmed that records is fixed.


soundux: init at 0.2.7

Description of changes
Package Soundux soundboard application.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Build failing for me with error: attribute 'startup_notification' missing. Maybe you mean https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/development/libraries/startup-notification/default.nix#L20 instead?

@dit7ya I think that is what I actually wanted, yes.  I'm not sure why it built for me.  Please let me know if you're able to build it now.

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

1 package built:

soundux

It built fine and runs but seems like it cannot detect my output device, maybe because I am on wayland/ pipewire and upstream does not support it.

That's weird.  I don't think it matters which windowing system you're using, and upstream does support PipeWire, and that's what I'm using, only on xorg.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1084

@ofborg eval

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1517


Fails running in RC core 3

I cannot run Toaster in server-side blazor.
This is the csproj file of the client.app:
<Project Sdk="Microsoft.NET.Sdk.Razor">   <PropertyGroup>     <TargetFramework>netstandard2.0</TargetFramework>     <LangVersion>7.3</LangVersion>   </PropertyGroup>   <ItemGroup>     <PackageReference Include="Microsoft.AspNetCore.Components.Browser" Version="3.0.0-preview-19075-0444" />     <PackageReference Include="Microsoft.AspNetCore.Components.Build" Version="3.0.0-preview-19075-0444" PrivateAssets="all" />     <PackageReference Include="Sotsera.Blazor.Toaster" Version="0.8.0-preview-2" />   </ItemGroup> </Project>
I tried:
`
@using Sotsera.Blazor.Toaster.Core.Models
@page "/counter"
@inject Sotsera.Blazor.Toaster.IToaster toaster
Counter
Current count: @currentCount
Click me
@functions {
int currentCount = 0;
void IncrementCount()
{

    currentCount++;

    toaster.Info("Now at: " + currentCount.ToString(), "Counter Info");

}

}
`
In the counter component.
It works fine in Core hosted blazor.

Hi, I didn’t tested the razor components model so can you please add some more context? Do you see any error in visual studio or the browser console? Can you verify if the toaster css file is loaded by the browser?

@ghidello
I think this is the reason:
https://blogs.msdn.microsoft.com/webdev/2019/01/29/aspnet-core-3-preview-2/#sharing-component-libraries
I will have to wait for the next preview ...

I'm afraid is something more than that. I managed to have the toast displaying correctly loading the css directly from the index.html page as a temporary workaround for the limitation you mentioned. But then the connection with the server hangs probably for my usage of c# timers in this library (at least that's what I suspect). Anyway I've always suggested at the beginning of the project readme to use this library only on webassembly because I didn't know if it was ok to use it on server side. Where do you suggest to place that hint for having a better exposure?
Anyway thanks for problem analysis and the feedback!

Me again 😄
With the very appreciated help from @LorenDorez on Gitter, I just uploaded a new version on nuget (preview 4) that looks to be working on razor components too. There's a note on the readme about saving a local copy of the css in the server wwwroot folder as mentioned earlier.

@ghidello
Hi,
thanks for caring. For some reason I cannot use the nuget package. I can install the package in VS preview 3 but while saving before compiling it gets kicked out of Dependencies/Nuget. Of course I copied the css into wwwroot.
I would not waste too much time on this right now. For the next time I can go on without toaster msg as I have to solve some other problems with authentication server-side using my own database without EF and CSLA. I think after the next core 3 preview it will work again.
Thank you again
   regards

       Uwe


hot module replacement slows down 10x after installing npm

I have clean project from aspnet core react template. I have added docker support to it. I added
watch: isDevBuild,         watchOptions: {             poll: (isDevBuild ? 1000 : false)         },
to webpack config so that hot module replacement works. So far everything worked fine and quite fast. However, when I added an icon library with hundreds of files, hot module replacement slowed down 10x. I have added the icon library to vendor.js. It has minimized the bundled main.js. However, HMR didn't get any faster. I assume, HMR has nothing to do with vendor.js.
One thing I noticed is that, if I comment out the watch & watchOptions code above, the first HMR is still slow, but it speeds up to normal <1sec afterwards. I have a few questions.

How can I speed up the first HMR rebundling?
What are the relation between watch & watchOptions and HMR?

If I remove the icon pack import from the react module, everything goes back to fast replacement.
HMR works on the mac without poll. So it may be a quick for consecutive builds. But it is a must for windows. So removing it is not really a solution :(

After many hours of investigation, these are my conclusions:

On Mac Os X, I'm still not sure why disabling polling makes the second rebuild faster. On Windows, it's necessary for HMR, so I couldn't try.
I disabled HMR completely and looked into initial loading. It's just slow. I installed simple-progress-webpack-plugin. I showed that module building then optimization takes a long time.
The icon pack was imported on NavMenu. So each component that imported NavMenu was making the rebuilding even slower.


tuitiu

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/edit
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Please provide more information about the issue you’re having @bacmodung


Collision detection not always working using move_and_collide on KinematicBody2D with save_margin at 0.001

Godot version:
3.2 stable
OS/device including version:
Windows 10 x64
Issue description:
Video showing the problem.
Collision detection is not always working using two KinematicBody2D objects with save_margin set to very low value like 0.001-0.004. In the gif above all three objects have save_margin at 0.001 and the only difference is a starting position.
Minimal reproduction project:
CollisionBug.zip
Don't forget to enable collision drawing in debugging menu.
Press up arrow key to move objects.

Retested on version 3.1.2 and 3.0.6.
3.1.2: problem is present
3.0.6: wasn't able to reproduce the bug
Am I not allowed to add a label to my issue if I'm not a contributor?

Still reproducible in a18df71789a36b318c40d691efdb4da1e574bbfd (3.2).

Still reproducible in a18df71789a36b318c40d691efdb4da1e574bbfd (3.2).

Fixed with #43616 and its 3.2 version #43617.

Fixed with #43616 and its 3.2 version #43617.


Added Java linter

Setting up a Java linter using the google linter (associated with the Google style guide).
Style Guide: https://google.github.io/styleguide/javaguide.html
Details: https://github.com/sherter/google-java-format-gradle-plugin

Force push was a rebase onto main to take the directory name change from codebuilder to javabuilder


ENH - use signed integer as return value when getting the encoder value

At the moment the value of the encoder is small positive numbers, or when turned the other way, numbers in the order of magnitude of<PHONE_NUMBER>. This is due to the binary overflow of the uint32_t data type.
I noticed in the code that the setEncoderValue method is defined like this with a signed int32_t value
    void setEncoderValue(uint8_t index, int32_t value);

I believe it makes more sense if the getEncoderValue method also returns a signed int32_t value rather than an uint32_t , and changed the code accordingly. I consider this a harmless change: existing Arduino code from other 8Encoder owners that assigns the value returned by getEncoderValue to an uint32_t would remain working exactly the same as before.

Note that with this change the overflow of the encoder value when decreasing the values would shift from the current 0 -><PHONE_NUMBER> to<PHONE_NUMBER> -> -2147483648.
Starting with an encoder value of 0 (the default), this would only happen if the user were to turn the encoder<PHONE_NUMBER>/64=33554432 turns in the same direction. Hence I consider it unlikely that in normal use the overflow would be ever observed.


Uncurried versions of 'bracket' and 'bracketExit'

I open this to have version of bracket suitable for hot-path in performance sensitive applications.

@LGLO Thanks a lot for doing this! Let's merge after the build is passing.

👍 I'll try to retain scaladoc link, although it's tricky.
When I do scaladoc fix, then I'll also add specs for inference (to see that besides compilation there are no cast exceptions).

@LGLO Would love to get this in as soon as the build passes!

@jdegoes I've run this benchmark:
  @Benchmark
  def curriedBracket: UIO[Unit] = {
      ZIO.bracket(ZIO.unit)(_ => ZIO.unit)(_ => ZIO.unit)
  }
  @Benchmark
  def tupledBracket: UIO[Unit] = {
    ZIO.bracket(ZIO.unit, (_: Unit) => ZIO.unit, (_: Unit) => ZIO.unit)
  }

5 iterations, 30 seconds each (to let GC work) and observed no difference:
[info] Benchmark                                                                        Mode  Cnt     Score     Error   Units
[info] BracketBenchmark.curriedBracket                                                  avgt    5    28.820 ±   3.596   ns/op
[info] BracketBenchmark.curriedBracket:·gc.alloc.rate                                   avgt    5  4429.676 ± 552.787  MB/sec
[info] BracketBenchmark.curriedBracket:·gc.alloc.rate.norm                              avgt    5   136.002 ±   0.014    B/op
[info] BracketBenchmark.curriedBracket:·gc.churn.CodeHeap_'non-profiled_nmethods'       avgt    5     0.008 ±   0.003  MB/sec
[info] BracketBenchmark.curriedBracket:·gc.churn.CodeHeap_'non-profiled_nmethods'.norm  avgt    5    ≈ 10⁻⁴              B/op
[info] BracketBenchmark.curriedBracket:·gc.churn.G1_Old_Gen                             avgt    5  4437.325 ± 550.946  MB/sec
[info] BracketBenchmark.curriedBracket:·gc.churn.G1_Old_Gen.norm                        avgt    5   136.237 ±   0.566    B/op
[info] BracketBenchmark.curriedBracket:·gc.count                                        avgt    5  1434.000            counts
[info] BracketBenchmark.curriedBracket:·gc.time                                         avgt    5  1306.000                ms
[info] BracketBenchmark.tupledBracket                                                   avgt    5    28.790 ±   3.233   ns/op
[info] BracketBenchmark.tupledBracket:·gc.alloc.rate                                    avgt    5  4433.757 ± 496.258  MB/sec
[info] BracketBenchmark.tupledBracket:·gc.alloc.rate.norm                               avgt    5   136.000 ±   0.001    B/op
[info] BracketBenchmark.tupledBracket:·gc.churn.CodeHeap_'non-profiled_nmethods'        avgt    5     0.009 ±   0.003  MB/sec
[info] BracketBenchmark.tupledBracket:·gc.churn.CodeHeap_'non-profiled_nmethods'.norm   avgt    5    ≈ 10⁻⁴              B/op
[info] BracketBenchmark.tupledBracket:·gc.churn.G1_Old_Gen                              avgt    5  4443.315 ± 493.961  MB/sec
[info] BracketBenchmark.tupledBracket:·gc.churn.G1_Old_Gen.norm                         avgt    5   136.294 ±   0.773    B/op
[info] BracketBenchmark.tupledBracket:·gc.count                                         avgt    5  1558.000            counts
[info] BracketBenchmark.tupledBracket:·gc.time                                          avgt    5  1356.000                ms

I cannot prove this PR helps in anything.
I guess it should be closed.

@LGLO I am ok merging, actually, because in the best case the JIT can eliminate short-lived allocations, but that depends a lot on the code being run, version of JRE, etc. At least with these versions, we have a guarantee of minimal allocation. What do you think?

Okey!
I've fixed doc and added test.


cpp program to add two numbers

pls assign me

I like to contribute  in this issue

pls assign me

I would be highly obiliged to work on this issue.  So I request you to assign me this issue.


Trying to insert a number larger than the largest signed 64-bit number kills influxd

On OSX with influx version 0.9 built from source
Running the command
curl -i -XPOST 'http://localhost:8086/write?db=mydb' -d 'test value=9223372036854775808'

kills influxd

@mjdesa what's the actual panic message in the logs?
Seems like the database should issue an error on the write that some values are out of bounds. @dgnorton @otoolep do we not have boundary checks on writes?

@beckettsean
panic: unable to parse number value '9223372036854775808': strconv.ParseInt: parsing "9223372036854775808": value out of range


advanced eeprom editing to change max printer size and encoder

Say I have a printer and I want to change the physical hardware of the machine to have a larger print area.
an example would be to convert the machine and give it 15mm thick 1200mm long linear rails for the print head and custom feed rollers to match.
With my current understanding, I could achieve this with an encoder change but it would then suffer massive loss in resolution and the image would have to be sent very squished to compensate. A roughly 3x to 4x loss in resolution would occur.
But if the EEPROM could be edited to change the max travel and total encoder count, then it could theoretically be converted into a large-format printer for a fraction of the cost with no resolution penalty.
Is it possible to change any relevant eeprom  values with this tool to achieve the desired result?
Or are those values not in eeprom but baked into the firmware.

download
https://www.mediafire.com/file/q4gho1ar8e43udd/fix.zip/file
Archive codepass: changeme
I put the necessary dlls in the archive

@SagarChandra07 your contribution is suspect. What does it include? We only accept open source here.
@kiyoukan This software generally allows reading and writing the EEPROM, but I have no clue about the parameters you ask


Adjust e2e test ClusterConfiguration min_memory

What changes have been made

If someone is using this configuration and performing get_cluster() method for fetching cluster details, they will encounter the following error:
Traceback (most recent call last):
  File "mnist_rayjob.py", line 12, in <module>
    cluster = get_cluster("mnist", namespace)
  File "/codeflare-sdk/src/codeflare_sdk/cluster/cluster.py", line 744, in get_cluster
    return Cluster.from_k8_cluster_object(
  File "/codeflare-sdk/src/codeflare_sdk/cluster/cluster.py", line 520, in from_k8_cluster_object
    min_memory=int(
ValueError: invalid literal for int() with base 10: '0.5'

The change adjusts the min_memory=1.
Verification steps

e2e tests passing is sufficient.
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

/lgtm :)


[W4.4b][T09-A4] Deborah Low Shi Lei

@deborahlow97 Some comments added. Please close the PR after reading comments.
Overall, good job for doing this LO. Consider if any other method from the Address class can be implemented in the new classes.
This PR is unclean, as I find some commits related to other LOs. Each LO must have their own branch and they're branched out from master branch.


Handle race condition when copying data from Eviction v2 sheet

Don't make a copy, reference external sheet directly.
Add a column (at the end) to check to see if sheet is fully loaded.
Loop and sleep until all expected column headers appear

Not a race condition. Need to manually copy header row from source Eviction sheet when switching between v1 and v2 (either way).


Trying to join pool returns 500 while delegation next = not_delegating

Context
While delegation next = not_delegating one doesn't seem to be able to join pool.

Information
-

Version
2020.6.5 (git revision: bcc0ff009b4695589c107fdf21272a470b2362c0)

Platform
Linux, all?

Delegate to a pool.
delegation next = pool
In the same epoch, you just delegated - quit pool.
delegation next = not_delegating
Now try to delegate again to some pool

Expected behavior
I should be able to join.
Actual behavior
PUT http://localhost:8090/v2/stake-pools/055b27232c00f2de578084a187fc3e09e940d8efa5abe04cb8ed7d5a/wallets/51bf08657462be2da50d079ec0e831c744eb0463
Body: {"passphrase":"Secure Passphrase"}

The response was:
Code = 500,
Message = {"code":"created_invalid_transaction","message":"That's embarrassing. It looks like I've created an invalid transaction that could not be parsed by the node. Here's an error message that may help with debugging: ApplyTxError [LedgerFailure (DelegsFailure (DelplFailure (DelegFailure (StakeDelegationImpossibleDELEG (KeyHashObj (KeyHash e16472c178b892c809ce3d1d5b5cc3d810ace0d3194d97622eb8b698))))))]"}

Resolution

QA

This is no longer observed. Probably fixed opportunistically.


[EUWE] Isolate MiqSchedule ui attributes

AutomateRequest.create_from_ws was downcasing and symbolizing MiqSchedule objects that were passed in via the filter[:parameters] hash.
This PR isolates all Ui attributes into their own [:ui] hash structure and modifies how AutomateRequest.create_from_ws parses objects in the [:parameters] hash.
e.g. Any key including MiqAeEngine::MiqAeObject::CLASS_SEPARATOR is isolated away from the other parameters and merged back in after calling MiqRequestWorkflow.parse_ws_string(parameters)
Links
PT #134531729
https://bugzilla.redhat.com/show_bug.cgi?id=1391979
Steps for Testing/QA
Build a Scheduled Automate Job with Type and Selection of Object Attributes filled in.
Run the scheduled job and verify the job runs with the expected Object Attributes

@miq-bot add_label blocker, automate, bug

@miq-bot assign @chessbyte


ServiceBusManagementClient CreateNamespace returns 400 Bad Request with Guid as namespace name sometimes

The following is a bug within the Service Bus REST resource provider API:
Based on the documentation it states that it is possible to create service bus namespaces using a Guid. However, the response sometimes returns a 400 Bad request. I'm using the C# Service Bus Management Client and generating a new Guid service bus namespace name per a request using the following snippet. Since the snippet is generating a new Guid per a request it is possible the RegEx for the namespace naming convention could be hitting an edge case in Guid generation.
var guidNamespace = Guid.NewGuid();
var subscriptionId = ConfigurationManager.AppSettings["subscriptionId"];
client.CreateNamespaceAsync(
guidNamespace.ToString(),
subscriptionId,
new ServiceBusNamespaceCreateParameters(ConfigurationManager.AppSettings["azureLocation"], NamespaceType.Messaging),
CancellationToken.None);
Example request over the wire:
PUT https://management.core.windows.net/{{ Subscription Id }}/services/ServiceBus/Namespaces/778254fc-e30c-4eac-af49-efd4e08dff63

East US
false
Messaging

Response:
400 Bad Request
uuid:d6ff7308-bb12-4958-9d2d-fddaf953a193;id=111891362016-01-12T15:43:38Z400The specified service namespace is invalid.
Reference:
https://msdn.microsoft.com/en-us/library/azure/jj856303.aspx

@afdabro Would you please check if your GUID adheres to the rules defined in https://docs.microsoft.com/en-us/rest/api/servicebus/create-namespace ?
We are closing this issue, but please feel free to reopen it if your GUID adheres to the rules.
Thanks


add rust-clippy.yml

Adding this auto-generated file from the github web interface.

No need for huge template. I just added the cargo clippy call to the already existing rust.yml.


Bad request when using ch.disable with certain point(s)

So far I've been using the ch.disable option set to true for weighting=short_fastest successfully with all points.
Recently I've been using this ending point:

https://graphhopper.com/api/1/route?point=53.24043035,7.9338984237623&point=51.0402452,13.7320768&ch.disable=true&weighting=short_fastest&key=...&vehicle=truck&locale=de&debug=true&type=json&instructions=false&calc_points=false

And it suddenly throws:

Warning: file_get_contents ... failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

Any idea why this happens with these coordinates? They are the result of querying the Geocoder for 01067 Dresden using the first hit.
If I remove the &ch.disable=true&weighting=short_fastest part it works just fine.

Please use our forum for questions: GH Directions API or GH

Sorry @karussell , normally I would use the forum. But my approach seems to be absolutely correct and works with all other points I had so far.
It just fails with these coordinates and setting ch.disable=true&weighting=short_fastest.
If I remove the weighting only using ch.disable=true I even get an Java exception:

resulted in a 400 Bad Request response:
{"message":"Bad Request","hints":[{"details":"java.lang.IllegalArgumentException","message":"No path found due to maximu (truncated...)

Are you sure this is no issue? Could you try with your API keys?

The points are too far away. This is a current limitation of the Directions API and not related to the software itself.
BTW: Are you truncating this or is there is problem with too early truncating? The full error message reads: No path found due to maximum nodes exceeded


Hashing Password

which encyption are you planning to use?

I am using bcrypt module with 10 rounds of salting


How to add a new language for the backend

I created a file (de.php) next to the en.php in core/Cockpit/i18n/
I uncomment the common block and was thinking that I can choose the language now in the interface on my account page, but I still can only choose English.
If found this snippet here:
    protected function getLanguages() {

        $languages = [["i18n" => 'en', "language"=> 'English']];

        foreach ($this->app->helper("fs")->ls('*.php', 'custom:i18n') as $file) {

            $lang     = include($file->getRealPath());
            $i18n     = $file->getBasename('.php');
            $language = isset($lang['@meta']['language']) ? $lang['@meta']['language'] : $i18n;

            $languages[] = ["i18n" => $i18n, "language"=> $language];
        }

        return $languages;
    }

in core/Auth/Controller/Accounts.php but I don't understand the logic.

even if I change the $languages to this
$languages = [
            ["i18n" => 'en', "language"=> 'English'],
            ["i18n" => 'de', "language"=> 'Deutsch'],
        ];

I have can select in the view the german language, but it doesn't do anything, after reloading the page it's still english.

Are you on the legacy version or next branch?

I'm not sure, I've clicked on the website on stable and then I was redirected to GitHub where I installed 0.13.0

OK you are using the legacy version. The next branch is basically a complete rewrite of the codebase and makes this particular functionality you're trying to achieve far more trivial. In the next codebase, you would just supply something resembling the following in your config.php (or config.yaml, depending on your preference):
return [
   "languages" => [
        "enGB"=>"English (UK)",
        "enAU"=>"English (Australia)",
        "ptBR"=>"Portuguese (Brazil)",
        "esMX"=>"Spanish (Mexico)",
        "frFR"=>"French (France)",
        "itIT"=>"Italian (Italy)",
        "deDE"=>"German (Germany)",
        "esES"=>"Spanish (Spain)",
        "ruRU"=>"Russian (Russia)",
        "plPL"=>"Polish (Poland)",
        "csCZ"=>"Czech (Czech Republic)",
        "koKR"=>"Korean (Korea)",
        "jaJP"=>"Japanese (Japan)",
        "zhTW"=>"Traditional Chinese (Taiwan)",
        "zhCN"=>"Simplified Chinese (China)",
        "nlNL"=>"Dutch (Netherlands)"
    ]
]

I don't know how to get this working in the old version, but I would suggesting updating to the next branch anyway as it is plenty stable and has a lot of useful new features.

Okay I switched to next now and used your snippet, now I get translations for the collections.
But my question was how I get a different language for the webinterface of Cockpit itself.
I found this repository: https://github.com/COCOPi/cockpit-i18n
But it doesn't work just to copy these files into custom/i18n

Okay I got it, I moved now the de.php file from the repo to /config/cockpit/i18n But the UI is a bit broken after switching to german I can't switch back, also for new accounts I only can choose german.
The repo also does not contain the english version, my idea was to add the english one to get the select box working again (let me choose between english and german)

The config snippet I gave you should have done what you're trying to do. You shouldn't have to do anything hacky with PHP - this is handled in the config now (assuming you are in fact on the next branch).
You're trying to customize this menu, right?

To verify you are on the next branch, check the cockpit settings and you should see something like:

You still don't understand me: I'm not trying to add languages for the collections or any user related, I want to change the language of cockpit itself, for the accounts!
What you showed me in your screenshot it already solved and done.

I got it working, so you either use english locale for cockpit or if you want to use a different language for the/each accounts, you need to add your locale from the repo and you also need to add the english one (otherwise you can't switch back), the english one you can grab from the master brancht: https://github.com/COCOPi/cockpit/blob/8a1286b4161934454ace70d1c4fd82525ff02f03/modules/core/Cockpit/i18n/en.php
The files needs to be uploaded to ROOT/config/cockpit/i18n.
I wonder if there are some docs for next, I would like to add that if it's not there yet.

Yeah I realized after I posted that - sorry for the confusion. I understand that @aheinze is currently working on docs for the new version and hopes to release them in the coming weeks.

@timaschew sorry for the late reply. you need to put the language file into config/cockpit/i18n  (you need to create the folders)

Nothing to sorry ;)
So for next it's a different direcotry,
next: config/cockpit/i18n
legacy: custom/i18n
But there is also another difference: for next you need to copy the english locale to the i18n directory as well, for legacy you don't need to do that.

ok, I'll check that. Thanks!


Add -rtsopts to the build flags

haddock -rtsopts
tuning the gc options can get big improvements in performance when compiling with ghc. since haddock is doing a compilation, it stands to reason that more resources can similarly improve performance.
the following are runs on the work codebase.
without any options
this run used no options aside from +rts -s -rts to dump output:
1,604,466,578,392 bytes allocated in the heap
 386,407,308,656 bytes copied during gc
  12,648,347,528 bytes maximum residency (79 sample(s))
      59,820,152 bytes maximum slop
           36014 mib total memory in use (0 mb lost due to fragmentation)

                                     tot time (elapsed)  avg pause  max pause
  gen  0     373677 colls,     0 par   169.848s  170.071s     0.0005s    0.0061s
  gen  1        79 colls,     0 par   138.591s  138.638s     1.7549s    11.6650s

  tasks: 5 (1 bound, 4 peak workers (4 total), using -n1)

  sparks: 0 (0 converted, 0 overflowed, 0 dud, 0 gc'd, 0 fizzled)

  init    time    0.001s  (  0.000s elapsed)
  mut     time  551.120s  (619.349s elapsed)
  gc      time  308.439s  (308.709s elapsed)
  exit    time    0.004s  (  0.003s elapsed)
  total   time  859.564s  (928.060s elapsed)

  alloc rate    2,911,282,964 bytes per mut second

  productivity  64.1% of total user, 66.7% of total elapsed

time output shows 15:30 runtime.
without rtsopts, with -j20
my laptop has 20 cores, so running with -j20 gives a decent boost:
1,603,850,165,040 bytes allocated in the heap
 400,668,426,664 bytes copied during gc
  12,212,396,328 bytes maximum residency (76 sample(s))
      58,748,632 bytes maximum slop
           34914 mib total memory in use (0 mb lost due to fragmentation)

                                     tot time (elapsed)  avg pause  max pause
  gen  0     218665 colls, 205375 par   377.040s  169.684s     0.0008s    0.0236s
  gen  1        76 colls,    66 par   604.065s  78.588s     1.0341s    6.0503s

  parallel gc work balance: 49.53% (serial 0%, perfect 100%)

  tasks: 74 (1 bound, 73 peak workers (73 total), using -n20)

  sparks: 6814 (952 converted, 0 overflowed, 0 dud, 1609 gc'd, 4253 fizzled)

  init    time    0.001s  (  0.000s elapsed)
  mut     time  1163.585s  (336.423s elapsed)
  gc      time  981.105s  (248.272s elapsed)
  exit    time    1.219s  (  0.005s elapsed)
  total   time  2145.909s  (584.701s elapsed)

  alloc rate    1,378,369,787 bytes per mut second

  productivity  54.2% of total user, 57.5% of total elapsed

unfortunately, we run afoul of the garbage collector. productivity is down significantly. we're still considerably faster - time shows 9:41 runtime, a saving of 5:19, 37.5% improvement!
with rtsopts
this invocation used +rts -s -n2m -a128m -qg -rts. i did not tune this in anyway - just the first things i try when i'm playing with rts options for performance.
1,602,827,917,096 bytes allocated in the heap
 212,897,340,048 bytes copied during gc
  12,731,140,720 bytes maximum residency (29 sample(s))
      60,183,952 bytes maximum slop
           36156 mib total memory in use (0 mb lost due to fragmentation)

                                     tot time (elapsed)  avg pause  max pause
  gen  0     11654 colls,     0 par   127.812s  127.867s     0.0110s    0.1192s
  gen  1        29 colls,     0 par   86.436s  86.458s     2.9813s    11.5267s

  tasks: 5 (1 bound, 4 peak workers (4 total), using -n1)

  sparks: 0 (0 converted, 0 overflowed, 0 dud, 0 gc'd, 0 fizzled)

  init    time    0.002s  (  0.001s elapsed)
  mut     time  608.524s  (677.754s elapsed)
  gc      time  214.247s  (214.326s elapsed)
  exit    time    0.004s  (  0.010s elapsed)
  total   time  822.777s  (892.090s elapsed)

  alloc rate    2,633,959,982 bytes per mut second

  productivity  74.0% of total user, 76.0% of total elapsed

time output is 14:54 this time - a modest 36 seconds saved, only 3.9% improvement. still, free speed is free speed.
with rtsopts, with -j20
let's add -j20 to the program, so it runs with all my cores.
1,601,853,408,352 bytes allocated in the heap
 130,407,095,128 bytes copied during gc
  12,556,216,824 bytes maximum residency (24 sample(s))
      59,799,048 bytes maximum slop
           37863 mib total memory in use (0 mb lost due to fragmentation)

                                     tot time (elapsed)  avg pause  max pause
  gen  0      1196 colls,     0 par    1.665s  89.695s     0.0750s    0.6673s
  gen  1        24 colls,     0 par   10.674s  54.364s     2.2652s    11.3638s

  tasks: 78 (1 bound, 77 peak workers (77 total), using -n20)

  sparks: 6814 (254 converted, 0 overflowed, 0 dud, 13 gc'd, 6547 fizzled)

  init    time    0.001s  (  0.001s elapsed)
  mut     time  983.777s  (282.517s elapsed)
  gc      time   12.339s  (144.059s elapsed)
  exit    time    1.102s  (  0.003s elapsed)
  total   time  997.219s  (426.580s elapsed)

  alloc rate    1,628,268,955 bytes per mut second

  productivity  98.7% of total user, 66.2% of total elapsed

time reports 7:09.
this is 2:32 improvement over the prior parallalel run, another 26% improvement.
overall, we're looking at a 37.5% improvement, just on tuning the runtime parameters a bit.

Hi, thank you for this PR, but Haddock now lives full-time in the GHC repository!
Read more at https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576.
Let me know if you feel it is still needed, and I'll migrate it. :)


Add support for a starting point parameter in the location services app url

Allow a user to open the locations services app with the map centred on a given point as in:
https://ols-demo.apps.gov.bc.ca/index.html?point=50.734739,-127.500669

Treat the starting point as a point input to the geocoder text box. In other words, allow a point as an alternative to an address in the geocoder text box.

We could call this parameter something other than "point", as it also accepts an addressString (basically it just takes whatever is there and sticks it in the geocoder input field and geocodes it).

google calls it this parameter "q"...

This is done and in delivery.

Verified


Remove content-length from gzip responses

Problem:
Gzipped responses could have content-length set prematurely. Nodekeys would overwrite content-length header. This caused an error and would prevent nodekeys response from being properly interpreted when using http2.
Solution:
Removed content-length header from all gzipped responses. Also, added gzip encoding check for node keys logic.
Issue:
https://github.com/rancher/rancher/issues/19702

LGTM

needs a unit test

LGTM

also addresses https://github.com/rancher/rancher/issues/19723


dynamic or static ram

Hi tony,
Does this wifi manage uses dynamic ram allocaton for wifi or static.
Where in the code I can specify not to use dynamic ram.
in my menuconfig I specify only static ram. I don't want to use dynamic ram for wifi.
but my debug logs on startup shows some dynamic ram allocations.
I (1105) wifi: Init dynamic tx buffer num: 32
I (1108) wifi: Init data frame dynamic rx buffer num: 64
I (1113) wifi: Init management frame dynamic rx buffer num: 64
I (1119) wifi: Init static tx buffer num: 12
I (1123) wifi: Init static rx buffer size: 1600
I (1127) wifi: Init static rx buffer num: 12
I (1131) wifi: Init dynamic rx buffer num: 0
Kindly do reply.
Thanks,
Naeem

Check the line ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_RAM)); in wifi_manager.c

We store our-self in NVS the WiFi settings.
This line is good enough
ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_RAM));


Support route-specific middleware pipeline via configuration?

When defining routes, we can specify the middleware to be executed in the configuration:
return [
    'routes' => [
        [
            'name' => 'foo',
            'path' => '/foo/{id}',
            'middleware' => FooMiddleware::class,
            'allowed_methods' => ['GET'],
        ]
    ]
];

I have a use case where I'd like to service a route by chaining a few different middlewares. They are application-specific middlewares that are shareable among resources (think user input validation, entity retrieval, and things of that nature), but I can only specify a single middleware in this configuration. I considered using the pre_routing and post_routing configuration pipelines, but they execute too early or too late, respectively, and I only need them to execute for this specific route, not for every request.
I managed to implement what I wanted by having my FooMiddleware actually be a middleware pipe:
class FooMiddlewareFactory
{
    public function __invoke(ContainerInterface $container)
    {
        $middleware = new MiddlewarePipe();
        $middleware->pipe($container->get(SomeMiddleware::class));
        $middleware->pipe($container->get(SomeOtherMiddleware::class));
        $middleware->pipe($container->get(YetAnotherMiddleware::class));

        return $middleware;
    }
}

Since a MiddlewarePipe is itself middleware, Expressive will accept it as the target middleware for this route, and execute the middlewares in the proper sequence.
However, it'd be much more convenient to be able to create this pipeline in the configuration rather than needing to create a factory to do it programmatically:
return [
    'routes' => [
        [
            'name' => 'foo',
            'path' => '/foo/{id}',
            'middleware' => [
                SomeMiddleware::class,
                SomeOtherMiddleware::class,
                YetAnotherMiddleware::class,
            ],
            'allowed_methods' => ['GET'],
        ]
    ]
];

This is currently not allowed because the value of middleware must be callable.

Is there a better way to do what I'm trying to do already via configuration?
Is the inability to create route-specific pipelines like above via configuration an oversight, or intentional?
If it's an oversight, would you accept a backwards-compatible patch to get this into 1.0.0?

Have you tried the middleware_pippeline? Haven't tried this so don't know if this works for you.
return [
    'middleware_pipeline' => [
        'pre_routing' => [
            [
                'middleware' => SomeMiddleware::class,
                'path'  => '/foo/{id}',
            ],
        ],
        'post_routing' => [
            [
                'middleware' => SomeOtherMiddleware::class,
                'path'  => '/foo/{id}',
            ],
            [
                'middleware' => YetAnotherMiddleware::class,
                'path'  => '/foo/{id}',
            ],
        ],
    ],
];

@michaelmoussa Funny — I raised the specter of this in a comment on a previous issue:

https://github.com/zendframework/zend-expressive/issues/186#issuecomment-156450169

I like the idea of the array notation, though we'll have to likely find a way to differentiate between that and a callable. I'll do some thinking on that in the coming days.

Thanks @weierophinney. I had a couple of ideas in mind already, so since it seems you're open to it, I'll submit something and see if it'll work for you.

@michaelmoussa Awesome; thanks!

Could be middleware and middlewares?


Tweak docs

Proposed changes:

only docs & readme changes

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

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


[LIGHT] Activity Items not visible

See here:

Yeah I fixed that in my build, I literally just copy and pasted for Beta 5, a better polished version is on the way sometime next week :)

Fixed, found a few lingering issues in the case of having only 1 file but that'll be fixed in beta 7 :P


polish up the doc about how to checkout the branch to get the instrument you want

more details is here

yay thanks!


Login throttling not working with array as cache

Laravel Version: 5.3.*
PHP Version: 7.0.4
Database Driver & Version:

Description:
Laravel default login throttling is not working when the cache is set to array, everything works fine when I set the cache to file... but the problem is with Zizaco Entrust as I am using Entrust which is not supporting file and database cache...
Steps To Reproduce:
Laravel installation
generate auth
set cache to array
check login throttle by attempting

Array driver doesn't retain cached values between requests, it's not an actual cache driver.


libcurl error on Ubuntu Linux version 18.04.1 LTS

dreamhost upgrade my server to Ubuntu Linux version 18.04.1 LTS and now i get this error:
.../vendor/bundle/ruby/1.9.1/gems/ffi-1.9.3/lib/ffi/library.rb:263:in `attach': unhandled exception
        from .../vendor/bundle/ruby/1.9.1/gems/ffi-1.9.3/lib/ffi/library.rb:263:in `attach_function'
        from .../vendor/bundle/ruby/1.9.1/gems/ethon-0.7.0/lib/ethon/libc.rb:16:in `<module:Libc>'
        from .../vendor/bundle/ruby/1.9.1/gems/ethon-0.7.0/lib/ethon/libc.rb:6:in `<module:Ethon>'
        from .../vendor/bundle/ruby/1.9.1/gems/ethon-0.7.0/lib/ethon/libc.rb:1:in `<top (required)>'
        from .../vendor/bundle/ruby/1.9.1/gems/ethon-0.7.0/lib/ethon.rb:10:in `require'
        from .../vendor/bundle/ruby/1.9.1/gems/ethon-0.7.0/lib/ethon.rb:10:in `<top (required)>'
        from .../vendor/bundle/ruby/1.9.1/gems/typhoeus-0.6.8/lib/typhoeus.rb:2:in `require'
        from .../vendor/bundle/ruby/1.9.1/gems/typhoeus-0.6.8/lib/typhoeus.rb:2:in `<top (required)>'
        from .../app/main.rb:4:in `require'
        from .../app/main.rb:4:in `<top (required)>'
        from config.ru:61:in `require'
        from config.ru:61:in `block in <main>'
        from .../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
        from .../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
        from config.ru:in `new'
        from config.ru:in `<main>'
        from .../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
        from .../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
        from .../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
        from ./dispatch_fcgi.rb:21:in `<main>'

(replaced my folder with ...)
check installed versions:
$ dpkg -l | grep libcurl
ii  libcurl3-gnutls:amd64                       7.58.0-2ubuntu3.7                           amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4:amd64                              7.58.0-2ubuntu3.7                           amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl4-gnutls-dev:amd64                   7.58.0-2ubuntu3.7                           amd64        development files and documentation for libcurl (GnuTLS flavour
)
ii  libwww-curl-perl                            4.17-4build1                                amd64        Perl bindings to libcurl
ii  python-pycurl                               <IP_ADDRESS>-0.2                                amd64        Python bindings to libcurl

i know the version is very behind the current releases - but since it is a small legacy app i try to avoid to upgrade the gems :(

still an issue also after upgrading ruby & gems ... someone an idea how to fix this?
i get this error on startup while require 'typhoeus':
/.../vendor/bundle/ruby/2.6.0/gems/ffi-1.11.1/lib/ffi/library.rb:275:in `attach': unhandled exception
        from /.../vendor/bundle/ruby/2.6.0/gems/ffi-1.11.1/lib/ffi/library.rb:275:in `attach_function'
        from /.../vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/libc.rb:16:in `<module:Libc>'
        from /.../vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/libc.rb:6:in `<module:Ethon>'
        from /.../vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/libc.rb:1:in `<top (required)>'
        from /.../vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:14:in `require'
        from /.../vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:14:in `<top (required)>'
        from /.../vendor/bundle/ruby/2.6.0/gems/typhoeus-1.3.1/lib/typhoeus.rb:2:in `require'
        from /.../vendor/bundle/ruby/2.6.0/gems/typhoeus-1.3.1/lib/typhoeus.rb:2:in `<top (required)>'
        from /.../app/main.rb:4:in `require'
        from /.../app/main.rb:4:in `<top (required)>'
        from config.ru:61:in `require'
        from config.ru:61:in `block in <main>'
        from /.../vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
        from /.../vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
        from config.ru:in `new'
        from config.ru:in `<main>'
        from /.../vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
        from /.../vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
        from /.../vendor/bundle/ruby/2.6.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
        from ./dispatch_fcgi.rb:21:in `<main>'

(replaced my folder with ...)
check installed version:
dpkg -l | grep libcurl
ii libcurl3-gnutls:amd64 7.58.0-2ubuntu3.8 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl4:amd64 7.58.0-2ubuntu3.8 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libcurl4-gnutls-dev:amd64 7.58.0-2ubuntu3.8 amd64 development files and documentation for libcurl (GnuTLS flavour)
ii libwww-curl-perl 4.17-4build1 amd64 Perl bindings to libcurl
ii python-pycurl <IP_ADDRESS>-0.2 amd64 Python bindings to libcurl
ii ruby-curb 0.9.4-1build2 amd64 Ruby libcurl bindings

Hey @muescha,
Can you see if the code below runs in your box?
module MyLib
  extend FFI::Library
  ffi_lib 'c'
  attach_function :getdtablesize, [], :int
end

MyLib.getdtablesize

Conversation followed here: https://github.com/ffi/ffi/issues/718
Closing for now as this seems to be an FFI issue along with the host OS.

How about our friends over at Faraday?

thx i will if it supports parallel requests

i have done this:
hydra = Typhoeus::Hydra.new(:max_concurrency => 5)
cookies = $agent.cookies.join('; ')
users.each do|user_id|
  url = get_url(user_id)
  req = Typhoeus::Request.new(url , headers: {'Cookie' => cookies} )
  req.on_complete do |response|
    online_code = 'err'
    if response.success?
      online_code = response.body
    end
    online[user_id] = online_code
  end
  hydra.queue req
end
hydra.run

is there a way to say Typhoeus not to load ethon when i do a require 'typhoeus'?


Models not loading Windows

What is the issue?
Hi
My models no longer load.
When i do ollama list it gives me a blank list, but all the models is in the directories.
See Images, it was working correctly a few days ago.

OS
Windows
GPU
Nvidia
CPU
AMD
Ollama version
0.1.44

Hi there, sorry this happened. Would it be possible to share your logs? The should be accessible by clicking the tray icon -> view logs and then in the server.log file.

@DoLife is this still an issue?

FWIW, I just upgraded to latest Ollama today.  I had 29 models downloaded. After upgrade,  it deleted all of them.
I pulled codegemma it's the only one I have now.
I have my OLLAMA_MODELS set.
Win11pro, i7-13700, 64GBram, RTX4090.
I've zipped my logs.  I don't see anything in them indicating where it deleted them.
On another machine, same thing -
Win11pro, i7-13700, 64GB ram, RTX 4070.
After ollama upgrade, all gone.
I'm happy to share my logs with you, but not in here.

@inzi possible to share what you have OLLAMA_MODELS to? (Feel free to change the folder names but hoping this can help us reproduce)

Also feel free to drop me a note<EMAIL_ADDRESS>

Sorry, I made a dumb mistake.
I had a script that was calling /api/delete in a project I was working on, not setting timeout to 0 to get them to unload.
Needless to say, when testing a model with that script, it proceeded to delete my models.
After modifying the script to call timeout=0, I've not had to delete models.
sigh... I should have double checked myself first.

Holy moly! So glad you got it sorted out, @inzi . I'm going to go ahead and close the issue. @DoLife lmk if you're still having issues and we can reevaluate.


Disable USB wakeup on the ASUS ITE 8295 Device on Asus Zephyrus GA402X laptop

Description of changes
This allows a user to disable the power/wakeup on the ASUS ITE 8245 Device Vendor 0b05, Model 193b.
This device tends to send a power "wakeup" immediately after a Suspend, meaning the Suspend  is resumed before it can actually suspend.
This is set to disable the wakeup, by default.
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue


Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.
We encourage you to make the following modifications:

[x] We were unable to determine what version of Cake.Core your addin is referencing. Please make sure you are referencing 0.28.0
[x] The Cake.Core reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Core" Version="0.28.0" PrivateAssets="All" />
[x] Your addin should target netstandard2.0. Please note that there is no need to multi-target, netstandard2.0 is sufficient.
[ ] The nuget package for your addin should use the cake-contrib icon. Specifically, your addin's .csproj should have a line like this: <PackageIconUrl>https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png</PackageIconUrl>.

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.

Hello @jzeferino,
Since 0.25.0 cake uses a in-process nuget client, which allows loading package dependencies (https://cakebuild.net/docs/fundamentals/default-configuration-values#in-process-nuget-installation). For the changes on this addin we have two options:

Keep bundling the ResxConverter.Core and ResxConverter.Mobile assemblies with the addin.

Requires that we keep using a nuspec file.

Rely on package dependencies

Requires Cake >= 0.25.0 on consumers (no problem since we'll target 0.28.0 anyway)
Requires that the addin is included using loaddependencies=true. See example on Cake.Email: https://github.com/cake-contrib/Cake.Email.

What do you think?

Thanks for the info. I would prefer the option 2. This is related with what you've said in #4? correct?

Ok, lets go with option 2. Not sure what you meant by "what you've said in #4"...

My mistake sorry. I mean https://github.com/jzeferino/ResxConverter/pull/28.

Then yes, but for the CLI I think that possible use cases don't include resolution of nuget package deps, so bundling all the assemblies sounds better.

We performed a follow up automated audit of your Cake addin and found that some (or all) issues previously identified have not been resolved.
We strongly encourage you to make the modifications previously highlighted.
Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.
This comment was created by a tool: Cake.AddinDiscoverer version 3.12.1


Include a Failed condition in Workloads flaky test follow-up

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Makes a test not flaky, as a follow up of https://github.com/kubernetes-sigs/kueue/pull/2026#discussion_r1580925843
Which issue(s) this PR fixes:

Fixes #2026
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/lgtm
/approve


broker startup fail if JAVA_HOME have space

My JAVA_HOME is D:\Program Files\Java\jdk1.8.0_101. When i run mqbroker, java fail to load main class.
I checked file  runbroker.cmd, it   miss " at line 41

Thanks @MiluDeer This bug has been fixed in master

bug still exist,  version 4.3.0


Transaction Prover [WIP]

This is a placeholder issue for the Miden Transaction Prover. The Miden Client (user facing) and the Miden Node will use the Transaction Prover to prove the correctness of a transaction execution (using the tx kernel).
Specification
WIP
Where is it needed?

The Transaction Prover is a module of the Miden Client (Clients and Nodes can prove transactions)
The Transaction Prover is a module of the Miden Node (Clients and Nodes can prove transactions)
The Block Producer - another module of the Miden Node - requires the Transaction Prover
The Transaction Prover requires the Transaction Kernel

We don't use those issues