Refactor Android BinaryMessenger

https://github.com/flutter/engine/pull/29346 introduced new methods to the BinaryMessenger interface.  They've been given default implementations to help the transition.  Once they are available, users of BinaryMessenger should migrate to using them so we can rip them out.

Remove default implementation for BinaryMessenger#makeBackgroundTaskQueue
Remove 2 parameter variant of BinaryMessenger#setMessageHandler

@gaaclarke Has this been completed already?

@gaaclarke Has this been completed already?

Nope, https://github.com/flutter/engine/blob/15cf53accf2f8756ec8a81666a4ee60fe8640bde/shell/platform/android/io/flutter/plugin/common/BinaryMessenger.java#L122:L122


Failed to load next.config.js

Describe the bug
First time running npx mailing after installing causes the following error.

I definitely have a valid next.config.js
To Reproduce
Steps to reproduce the behavior:

install dependencies
run npx mailing

EDIT:
Note that I am running Next 12.3.0

Running npx mailing preview results in the following:
mailing starting preview server
mailing scanning for previews at ./emails/previews [
  'AccountCreated.tsx',
  'NewSignIn.tsx',
  'Reservation.tsx',
  'ResetPassword.tsx'
]
mailing linting templates in ./emails...
error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
mailing preview

start the email preview server

Options:
  --version     Show version number                                    [boolean]
  --help        Show help                                              [boolean]
  --port        what port to start the preview server on         [default: 3883]
  --quiet       quiet mode (don't open browser after starting)
                                                      [boolean] [default: false]
  --emails-dir  the directory of your email templates      [default: "./emails"]

Error: Invalid value "automatic" in "--jsx=automatic"
    at /Users/ssardorf/dev/chain/marketing-site-v2/node_modules/esbuild/lib/main.js:1381:29
    at /Users/ssardorf/dev/chain/marketing-site-v2/node_modules/esbuild/lib/main.js:666:9
    at handleIncomingPacket (/Users/ssardorf/dev/chain/marketing-site-v2/node_modules/esbuild/lib/main.js:761:9)
    at Socket.readFromStdout (/Users/ssardorf/dev/chain/marketing-site-v2/node_modules/esbuild/lib/main.js:632:7)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
    ```

Doing npm install esbuild seems to have fixed this

@SSardorf thanks for making an issue.
Any idea why esbuild wouldn't have been installed by installing mailing? It's a direct dependency of mailing so I'd think it should just get installed by npm. 😕

Not entirely sure why that would happen. Looking into it as well

Closing for now, think we resolved the initial issue.


Screen reader optimzed popup should read out the text

Environment Details:
VSCode Version : 1.24.1
OS Version : Win10
Additional Details:
ScreenReader,NVDA[2018.2],[JAWS18.0.5038],MAS1.3.1
Repro Steps:

Launch VS Code.
Navigate to File->select New File->Navigate to Status Bar->Click on "Screen Reader Optimized" button.
Observe what NVDA reads.
Actual:
NVDA is not reading the content and control of the screen.
Same issue observed in JAWS also.
Expected:
NVDA should read the content and control of the screen.
Same issue observed in Jaws also.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
The user will not be able to know the reference.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Does this issue occur when all extensions are disabled?: Yes
Attachment for Reference

This feels like low hanging fruit, assigning to july so @alexandrudima can look into

After discussing with @alexandrudima pushing this out to backlog until an actual user complains.
This screen is not meant to be seen by a user needing a screen reader, since the default is screen reader friendly behavior.

@alexandrudima I think we should close this as invalid.

Fixed by using a notification instead of custom UI in https://github.com/Microsoft/vscode/commit/1433e180d1ca25fa2a33b900a17b633123120631

Clicking on the status bar item behaves somewhat inconsistently. If I previously clicked 'Yes' in the notification, clicking on the status bar item reopens the notification. If I previously just closed the notification (on X), clicking on the status bar item no longer opens the notification.


Gift Entry - If Amount Target Field is Changed in Advanced Mapping, Error Displayed in New and Existing Batches

Issue
If a User changes the target field of Amount in Advanced Mapping, while NPSP Data Import will still import and map the field properly, Gift Entry displays an error (Gift Entry also still imports the value correct, but the error is off-putting and displays every time).
Steps to Reproduce

In an org with NPSP installed
Go to Setup >> Object Manager >> Opportunity >> Fields and Relationship >> Click New >> Select "Currency" >> Name it as testcurrency
Go to NPSP Settings >> System Tools >> Advanced Mapping for Data Import & Gift Entry >> Configure Advanced mapping >> Opportunity >> Change the field mapping from "npsp__Donation_Amount__c to amount" to "npsp__Donation_Amount__c to testcurrency__c"
Go to Gift Entry >> Template >> Create a new Template >> Verify the Form fields have Opportunity: testcurrency__c
Go to Gift entry >> Click New Batch > You will see the below error:

Cannot read properties of undefined (reading 'DeveloperName')'

W-9946997

Please follow this Known Issue in the Trailblazer Community for updates.


Updated version badge styling

Updated the styling of version badge to fit better in the navigation bar. Also increased the mobile breakpoint to accommodate for the version badge.

Awesome! Could you make it so the background isn't fluid width in mobile sizes?

Ah yes, will do!

On 03 Jun 2015, at 18:59, Tyler Kellen<EMAIL_ADDRESS>wrote:
Awesome! Could you make it so the background isn't fluid width in mobile sizes?
—
Reply to this email directly or view it on GitHub.

Updated for mobile viewports.

:+1: looks fantastic, thanks @wvteijlingen!


Can't change credentials in Osmedeus V2

Osmedeus does not start after changing credentials in client.conf file. Is there some other config files which i have to change in order to make it work?
Here is the trimmed output -
sudo ./osmedeus.py -t github.com
                                   `@@`
                                  @@@@@@
                                .@@`  `@@.
                                :@      @:
                                :@  :@  @:
                                :@  :@  @:
                                :@      @:
                                `@@.  .@@`
                                  @@@@@@
                                    @@
                                 @  @@  @
                                +@@ @@ @@+
                             @@:@#@,@@,@#@:@@
                            ;@+@@`#@@@@#`@@+@;
                            @+ #@@@@@@@@@@# +@
                           @@  @+`@@@@@@`+@  @@
                           @.  @   ;@@;   @  .@
                          #@  '@          @;  @#

                       Osmedeus v2.0 by @j3ssiejjj

                                ¯\_(ツ)_/¯

[*] Loading config file from: /root/.osmedeus/client.conf

[RUN] Starting Django API
Performing system checks...
System check identified no issues (0 silenced).
September 18, 2019 - 06:19:16
Django version 2.2.5, using settings 'rest.settings'
Starting development server at http://<IP_ADDRESS>:8000/
Quit the server with CONTROL-C.
Unauthorized: /auth/api/token/
[18/Sep/2019 06:19:18] "POST /auth/api/token/ HTTP/1.1" 401 63
[-] Authentication failed
[-] Can't login to get JWT

You can create new user from by following this guide.
For the error, did you get credentials from ~/.osmedeus/client.conf file?
If you don't create new use or change the old one by running this script.
Just delete ~/.osmedeus/ folder and run python3 scripts/init.py again.
Let me know if you have any issue.

I got it working perfectly. Thanks for the help. I should've read documentation properly.


Support Multiple Auth Types

Pipeline to support multiple authentication types including OAuth2 and not only Basic Auth

Thanks for filing this. I think the basic idea for implementing OAuth2 support is to add a BearerTokenAuthInterceptor to the generic FHIR clients we create, e.g., here. We probably need to implement some extra support around refresh tokens.
@ageryck it would be helpful if you provide more details about how in your setup you fetch the initial OAuth token.

Still needs to be triaged - candidate for Beta.

@ageryck and @lincmba my understanding is that you have an implementation for this here. Is this something that you are willing to contribute to this repository too, such that everyone can benefit from it? I can work with you for the review process.

@ageryck and @lincmba my understanding is that you have an implementation for this here. Is this something that you are willing to contribute to this repository too, such that everyone can benefit from it? I can work with you for the review process.

Yes @bashir2 we will make a PR and tag this issue as soon as @lincmba as right to push a PR

PR #670 is under review and it fixes #630 which removes the dependence of the JDBC mode on FHIR API. I believe with that fix, the priority of this issue will be lower.


Fixing the example pipeline generation

Problem & Solution Description (including issue #)
The example pipeline could not be generated because cc_yaw.create_yaw_cache_alias was not automatically imported through __all__ (#20).
Code Quality

[x] My code follows the code style of this project
[x] I have written unit tests or justified all instances of #pragma: no cover; in the case of a bugfix, a new test that breaks as a result of the bug has been added
[x] My code contains relevant comments and necessary documentation for future maintainers; the change is reflected in applicable demos/tutorials (with output cleared!) and added/updated docstrings use the NumPy docstring format
[x] Any breaking changes, described above, are accompanied by backwards compatibility and deprecation warnings

Replaced the stage runtime unit-test with running the example pipeline.


freezing for 2-25 seconds on a regular basis

VSCode is freezing for 2-25 seconds on a regular basis, this is driving me nuts! This has been going on for a few months, but I feel like it's gotten worse lately. I tried disabling all extensions but it still happens.
Version: 1.33.1
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:20:22.771Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 5.0.0-13-generic
Steps to Reproduce:

happens. all. the. time.

Does this issue occur when all extensions are disabled?: Yes

It often happens when I do code completion or press some key combination. I wonder if maybe it's related to AT-SPI2 and/or DBUS somehow? Something that you call into but that is never seen on Windows?

I'm having the exact same thing happen on Windows 10, even with all extensions disabled/uninstalled. My whole system will freeze for 5-7 seconds, then be not-frozen for 2 seconds, then go back to frozen. This happens as soon as I open VS Code, even if there's no files/folders/workspaces open in it. Will continue until I close the program, then the freezing stops immediately.
I tried downgrading to the previous 2 versions but it is happening on all versions. Anecdotally, I posted a survey on social media and multiple others are experiencing the same thing, on both Windows and Linux.

@mo @thecodercoder Can you open the process explorer (F1, Developer: Open Process Explorer) and see if there is any particular process with high CPU usage?

@RMacfarlane all of the items listed in the process explorer that is built in to VSCode are showing low CPU usage but if I instead look at "top" from a linux terminal instead I see that the "/usr/share/code/code --type=renderer --no-sandbox ..." process is spinning at 100% CPU during the entire freeze.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@bpasero I installed the Insider build (1.34.0) and it works perfectly. Also, for some reason my regular VS Code is now working without freezing, even when I re-enabled all my extensions. (When it was freezing, I didn't see any process tasks using a larger-than-normal amount of CPU.)
Very mystifying!

@bpasero the freezes got a bit better using insiders (they went from 2-30 seconds to 2-3 seconds) so something was fixed for sure but the user experience for me is still very unsatisfactory using insiders


Next Greater Element

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Next Greater Element :
given an array, we have to find the next greater element for every element in that array
next greater element for an element 'a' is the first greater element on the right side of 'a'
if no greater element exist then print -1
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#3633

@HarshCasper  can you please review it again?
Thank you


Is it possible to work with an existing stack?

I have a Docker stack at /root/mystack/docker-compose.yml. I tried the following configuration, but the stack doesn't appear on Isaiah's interface. Did I make a mistake, or is this configuration not supported?
version: '3'
services:
  isaiah:
    image: myregistry/isaiah
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /root/mystack:/stacks
    environment:
      STACKS_DIRECTORY: "/stacks"

Hi,
Thanks a lot for opening the issue and for providing these details.
I understand that you're running Isaiah inside a Docker Container.
However, to work with Stacks, Isaiah needs access to the hosting system.
Why? Because it needs to run native docker compose XXX commands, to up, down, restart, etc the docker compose stacks. Also, for stacks to appear on the user interface, Isaiah needs to run "docker compose ls" (to list them, and then, fetch information for every of them), so...it definitely needs to have access to the hosting system.
I realize this is not clear in the documentation, and I will add it soon.
If you would ike to be able to manage your stacks, and perform a few other actions that are only available on system-installed Isaiah, I would recommend using the install script, because otherwise, Isaiah is bound to its Docker container, and it can't run commands on the hosting system.
Does it help? If you know of another way, please feel free to let me know.

So, by "Stacks," do you mean services controlled by docker-compose and not swarm stacks controlled by docker stack?
I will try using the install script. Thanks for the clarification.

Absolutely, you are right.
I talk about the services started using docker-compose / docker compose and docker-compose.yml files.
Extremely sorry for the misunderstanding.
Let me know if you encounter any issue.

No need to apologize. I have always been looking for a simple UI to manage my Docker Swarm stacks, so I unconsciously see "Stack" as a Swarm stack rather than a Compose stack.
It's hard to support Swarm stack so I won't bother asking for a feature request, in practice Isaiah is quite useful for homelab hosting, appreciate the good work!


Sorting tables

URL(s)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
Request type

[X] New documentation
[ ] Correction or update

Details
Explain that there are no native methods for sorting the tr of a tbody or thead or tfoot and eventually provide a kind of Vanilla solution to this issue.
For reference now I know this solution for sorting an HTMLCollection preserving event listeners.
https://jsfiddle.net/p0v9uowr/1/
I will come back if I will have a good complete solution.
Extra note: should be good if the logic of sorting is the same ad Array.sort so with an optional callback function that passes tr to be compared.
Best regards

This solution works in my local env (Chrome)
https://gist.github.com/mattiapontonio/41ba0e2ab2ab04b130aff1edbc2d0969

@mattiapontonio I'd be happy to add a sorting example into the Examples section of this page — it's a fun and often requested technique. Would you be willing to add the example into the page yourself?

I'll try.

Thanks! Feel free to ask if you need some help.

Actually mdn.mozillademos.org refused to connect.
I'm investigating.

@chrisdavidmills can i preview EmbedLiveSample or has to be published?
Here  the draft code:

Sorting

Sorting rows

There are no native methods for sorting the th of a tbody, thead or tfoot. You can sort an HTMLCollection preserving event listeners using Array.prototype.slice(), Array.sort(), Node.removeChild(), Node.appendChild().

The sorting function can be an event handler, for example, onclick on a th.

HTML

<table>
  <tbody>
    <tr>
      <td>3</td>
    </tr>
    <tr>
      <td>2</td>
    </tr>
    <tr>
      <td>1</td>
    </tr>
  </tbody>
</table>

JavaScript

HTMLTableSectionElement.prototype.sort=function(cb){
        Array
            .prototype
            .slice
            .call(this.rows)
            .sort(cb)
            .forEach((e,i,a)=>{
                this.appendChild(this.removeChild(e));
            },this);
    }
    const callback = function(a, b){
        return a.textContent.localeCompare(b.textContent);
    }
    document.querySelector('table').tHead.sort(callback);
    document.querySelector('table').tBodies[0].sort(callback);
    document.querySelector('table').tFoot.sort(callback);

Result

{{EmbedLiveSample('Sorting_rows', '100%', '700', '', 'Web/HTML/Element/table')}}

@chrisdavidmills ok I've published the text / sample.
I still can't show this Sample in a result section.
https://mdn.mozillademos.org/en-US/docs/Web/HTML/Element/table$samples/Sorting_rows
Can You please take a look?

@chrisdavidmills Ok,my contrib is Ok for now.
Thanks.
https://wiki.developer.mozilla.org/en-US/docs/Web/HTML/Element/table

Thanks @mattiapontonio — these examples are really good. I've moved the section to be a subsection of the Examples section, copy edited it a bit, and wired up the live sample embeds so they work. I'm really pleased with this; have a read through to make sure you are happy with everything I've done.

@chrisdavidmills everiting fine. Thanks for Your native editing 🙂👍👌

@mattiapontonio you're welcome! Thanks for your excellent content ;-)


Cask request: macSVG

Cask details
Please fill out as much as possible. Before you do, note we cannot support Mac App Store-only apps.
Name: macSVG
Homepage: http://macsvg.org
Download URL: http://macsvg.org/download/
Description: macSVG is a MIT-licensed open-source macOS application for designing and editing Scalable Vector Graphics (SVG) content for HTML5 web pages, mobile apps, animation design, and general graphics usage.

https://github.com/caskroom/homebrew-cask/pull/37888


Android Basics: LiveData

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-livedata
In which task and step of the codelab can this issue be found?
8. Add data binding variables
Describe the problem
The first step begins with "In game_frament.xml, inside the  tag" however the correct file name is game_fragment.xml, not game_frament.xml.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Thank you so much for reporting this issue. This is fixed and will be published soon.


AWS MTurk Survey Site Load Issue

Issue Description

May 23rd, 2022, 1500 people were sent 3 surveys. Soon after, survey respondants complained of app server downtime/unresponsive pages.
The associatedDocumentDB still logged their responses
Based on @sumants-dev 's initial analysis, it appears the problem was with DocumentDB in that it couldn’t handle so many survey results connections at once (1500*3)

Possible Solutions

Rate Management:

Establish ceilings for number of surveys sent in given stretch of time.
Force requests to occur slower than certain rate
how/where to encode (?)

DB Size: Add instances so that DocumentDB can better handle this.

Resources

DocumentDB configuration (?)
Code for deploying surveys (?)

TODO

[ ] Evaluate Rate Management solution
[ ] Evaluate DB scale solution
[ ] Document DocumentDB configuration/deployment
[ ] Document Survey Deployment code

Based on initial discussions it looks like the Rate Management might be a solution to start with. But ideally we need to space requests out across an hour or more - not just a few minutes
Question: How many requests can it currently handle?

Pasting Email from Sumant:

But I basically set up alerts for the mongo db when the db connections for to its limits of 30. So if you go to monitoring dashboard for the document db, the database connection limit is 30 for when there were server issues.
The database is the document db
The code base communicating with surveyor and the database is in surveyor. Check out databases folder for the connection in surveyor. I think the fix likely is to remove all the awaits for inserting into database and making it async (use .then syntax) Because what’s happening is the database only can do 30 connections at a time, typically the driver will keep retrying until it is submitted. This is fine. However, because the code is await, the user is waiting for the eventual submission to go through. This can be done in background asynchronously.

Here he references
a)  database connection limit
Also: There was a discussion on our slack page about adding 'instances'. Not sure how that's different from 'database connection limit'. But that's something we can explore at our meeting tomorrow.
@rivera-lanasm can you comment on this?

@rivera-lanasm — I think we are done with this, right? Can it be closed?


Force cookies to be non-secure

The api I am talking to (and using memento as caching for) uses secure cookies meaning that on requests to memento these do not get transfered because memento is HTTP only.
This seems a simpler solution than supporting both HTTP and HTTPS on the same port

Cookies has been challenging since day 1. I'm not really sure how to deal with them, do you have opinions about these?
As your API and memento do not run on the same domain, I'm not sure cookies can be forwarded. Maybe Memento could set the cookies, changing the domain, and then forward them?
What do you think?

Cookies work at least for first party because the domain is the same.
However when it comes to 3rd party domains it becomes tricky because your
browser is recognizing memento as localhost. Also something I noticed is
that an api which responds every request with an updated cookie will not
allow requests to be cached because those change the hash of future
requests.
On Thu, Aug 29, 2019, 11:53 Antoine Chalifour<EMAIL_ADDRESS>wrote:

Cookies has been challenging since day 1. I'm not really sure how to deal
with them, do you have opinions about these?
As your API and memento do not run on the same domain, I'm not sure
cookies can be forwarded. Maybe Memento could set the cookies, changing the
domain, and then forward them?
What do you think?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/antoinechalifour/memento/issues/55?email_source=notifications&email_token=ABJ657JN5B7QOIIQTO5OYADQG6MATA5CNFSM4ISAETB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5N5YYA#issuecomment-526113888,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJ657PR3UZXNGDTHB7E34TQG6MATANCNFSM4ISAETBQ
.

Hi @maritaria ! I just opened #61 which should convert secure cookies to normal ones. Could you checkout the branch locally and test it very quick?
If you need an API which sets secure cookies, you can use:
{
  "targetUrl": "https://memento-cookies-oxedhxgpmu.now.sh"
}

I'm not very sure about the implementation though.

I decided to change the implementation an a new implementation is available at #71
Would be very nice if you someone could checkout the branch locally and test it :)


@lmp_config Decorator

Quality of life improvement: declarative market and date (latest, today, historical) support for get_lmp/get_spp.
This will:

enforce args/kwargs presence of date (or start, from @support_date_range) and market
automatically raise NotSupported when parameters do not match declared config

lmp_config.supports also gives us an imperative way to check the config:
import gridstatus
from gridstatus import Markets
from gridstatus.lmp_config import lmp_config

if lmp_config.supports(
    gridstatus.CAISO.get_lmp, Markets.REAL_TIME_5_MIN, "latest"):
    print("CAISO supports REAL_TIME_5_MIN")

The make_lmp_availability_df and table method can/should probably be rewritten to provide a more granular breakdown of what's all supported.
Considerations

Could live in decorators.py
Could be named something else... market_date_config
Or, it could be specialized for get_lmp/get_spp and do other things later such as:

location_type filtering
automatic wrapping date=latest with _latest_lmp_from_today

Unknown

Don't know how it interacts with @support_date_range, other than having to add start= support.

I really like this idea. I actually had been kicking around a similar idea for not only lmp, but all methods. Especially since it would make docs a lot easier.

Now it turns out the __code__ inspection stuff gets confused when the method is also wrapped with @support_date_range, so that's the next thing to tackle.

This is looking pretty good to me. Does it make sense to up make_lmp_availability_df in this PR?

Yep, will do.

again, this might be a separate PR, but can we get rid of the @with_markets decorator that happens in the tests and use this annotation instead?

@with_markets is a test decorator that is kinda shorthand for pytest.mark.parametrize - how do you see @lmp_config being used as a replacement?

At a high-level, I am wondering if it makes sense to explicitly list the markets to test for each ISO since we should just be testing the ones the ISO says they support @lmp_config.
In terms of implementing, perhaps you redefine class with_markets to just look at lmp_config to get the markets that should be tested? you might still need the decorator, but seems like it shouldn't have to repeat the markets listed in lmp_config

@kmax12 ah yes, I think that makes sense. A separate issue/PR? May work well with a larger decorator cleanup so other methods get the same safeguards and declarative supports.

#138 captures eliminating @with_markets.
make_lmp_availability_df has been updated:
Current

Previously


Feature Request - Interface Needs a Match / Ignore Metadata Option

This is because all of your processors have the same name with the meta data being different. i.e If you set a printed basic processor in the export grid it treats all processors as the same. I would assume this would be common to all items sharing the same name but different metadata.

ummm, there is literally a side button in that GUI called "compare NBT" and "compare damage" (damage being metadata)

Compare NBT Doesn't work for the interface. it does work for the export buses though. I have a video of it.
Perhaps i should have listed this as a bug reqeust

You don't need to match NBT, but match damage. In the video you weren't matching on damage, but on NBT. And on the exporter you were matching on damage, but not NBT (thats why it was working)


Invalid checksum

Hello and thank you for this great project,
I'm using esp32 with the tiny hardware (ordered from JLCPCB).
The AC model is: MB24AH
Wiring and setup was very easy and straight forward but i couldn't bring it to the finish line. I get checksum error, below are my logs.
The esp32 controller is set to slave=true and connected in parallel with another LG wall controller.
Would appreciate your support.
[19:55:01][E][lg-controller:956]: invalid checksum <IP_ADDRESS>.06.00.A<IP_ADDRESS>.00.00.00 (13)
[19:55:01][D][lg-controller:946]: received <IP_ADDRESS>.00.A<IP_ADDRESS>.<IP_ADDRESS> (13)
[19:55:01][E][lg-controller:956]: invalid checksum <IP_ADDRESS>.00.A<IP_ADDRESS>.<IP_ADDRESS> (13)
[19:55:07][D][lg-controller:1354]: update
[19:55:07][D][lg-controller:946]: received <IP_ADDRESS>.A<IP_ADDRESS>.<IP_ADDRESS>.00 (13)
[19:55:07][E][lg-controller:956]: invalid checksum <IP_ADDRESS>.A<IP_ADDRESS>.<IP_ADDRESS>.00 (13)
[19:55:07][D][lg-controller:946]: received 25.06.00.A<IP_ADDRESS>.<IP_ADDRESS>.00.25 (13)
[19:55:07][E][lg-controller:956]: invalid checksum 25.06.00.A<IP_ADDRESS>.<IP_ADDRESS>.00.25 (13)
[19:55:07][D][lg-controller:946]: received 06.00.A<IP_ADDRESS>.<IP_ADDRESS>.00.25.06 (13)
[19:55:07][E][lg-controller:956]: invalid checksum 06.00.A<IP_ADDRESS>.<IP_ADDRESS>.00.25.06 (13)
[19:55:07][W][component:237]: Component lg_controller.climate took a long time for an operation (51 ms).
[19:55:07][W][component:238]: Components should block for at most 30 ms.
[19:55:13][D][lg-controller:1354]: update
[19:55:13][D][lg-controller:946]: received 00.A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS> (13)
[19:55:13][E][lg-controller:956]: invalid checksum 00.A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS> (13)
[19:55:13][D][lg-controller:946]: received A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.A2 (13)
[19:55:13][E][lg-controller:956]: invalid checksum A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.A2 (13)
[19:55:13][D][lg-controller:946]: received <IP_ADDRESS>.<IP_ADDRESS>.25.06.00.A2.98 (13)
[19:55:13][E][lg-controller:956]: invalid checksum <IP_ADDRESS>.<IP_ADDRESS>.25.06.00.A2.98 (13)

made another try, disconnected the LG wall controller and set slave to false.
Now logs looks promising but the AC doesn't response to any state change. all the sensors in HA are unavailable.
I hope this helps debugging this issue.
[20:09:25][D][lg-controller:1354]: update
[20:09:26][E][lg-controller:770]: unknown swing mode
[20:09:26][D][lg-controller:849]: sending A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.F5 (13)
[20:09:26][W][component:237]: Component lg_controller.climate took a long time for an operation (515 ms).
[20:09:26][W][component:238]: Components should block for at most 30 ms.
[20:09:31][D][lg-controller:1354]: update
[20:09:31][D][lg-controller:946]: received A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.F5 (13)
[20:09:31][D][lg-controller:962]: verified send
[20:09:32][E][lg-controller:872]: Unexpected missing previous CA/AA message
[20:09:32][W][component:237]: Component lg_controller.climate took a long time for an operation (514 ms).
[20:09:32][W][component:238]: Components should block for at most 30 ms.
[20:09:32][D][esp32.preferences:114]: Saving 1 preferences to flash...
[20:09:32][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[20:09:35][D][sensor:094]: 'Uptime': Sending state 166.67999 s with 0 decimals of accuracy
[20:09:37][D][lg-controller:1354]: update
[20:09:43][D][lg-controller:1354]: update
[20:09:49][D][lg-controller:1354]: update
[20:09:50][E][lg-controller:770]: unknown swing mode
[20:09:50][D][lg-controller:849]: sending A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.CA (13)
[20:09:50][W][component:237]: Component lg_controller.climate took a long time for an operation (514 ms).
[20:09:50][W][component:238]: Components should block for at most 30 ms.
[20:09:55][D][lg-controller:1354]: update
[20:09:55][D][lg-controller:946]: received A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.CA (13)
[20:09:55][D][lg-controller:962]: verified send
[20:10:01][D][lg-controller:1354]: update
[20:10:07][D][lg-controller:1354]: update
[20:10:13][D][lg-controller:1354]: update
[20:10:14][E][lg-controller:770]: unknown swing mode
[20:10:14][D][lg-controller:849]: sending A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.CA (13)
[20:10:14][W][component:237]: Component lg_controller.climate took a long time for an operation (514 ms).
[20:10:14][W][component:238]: Components should block for at most 30 ms.
[20:10:19][D][lg-controller:1354]: update
[20:10:19][D][lg-controller:946]: received A<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.CA (13)
[20:10:19][D][lg-controller:962]: verified send
[20:10:25][D][lg-controller:1354]: update

made another try, disconnected the LG wall controller and set slave to false. Now logs looks promising but the AC doesn't response to any state change. all the sensors in HA are unavailable. I hope this helps debugging this issue.

In this log file, the AC is not sending any messages and if it's also not responding to the controller, there's probably something wrong with the wiring, especially the signal one (yellow).
If the AC sends a message you'll see "received C..." instead of "received A..."

Looking at the log in the first message, I think your unit uses the older 6-byte protocol instead of the 13-byte one implemented here. There's more information on these two protocols in the README.
Unfortunately the 6-byte protocol is very different. It has an ESPHome implementation here: https://github.com/Flameeyes/esphome-lg-pqrcuds0
The hardware should be the same so you could try the code there.

Thank you so much.
Indeed, it's the other protocol. I flashed the other firmware and it worked.
Thanks again! @JanM321

Nice, I'm glad that worked and that the hardware is compatible with both firmwares.


[IOTDB-1775] CAST conversion function

Add cast function to tranform the data type in query.

@xuanronaldo Please refer to [1] for better performance.
[1] https://github.com/apache/iotdb/compare/cast?expand=1

Please add some UTs/ITs


Can we create windows phone apps with kivy??

lately I've been wanting to create windows phone apps to revive the legacy of windows phones, is there a way how we could build apps for windows phones?

I don't think it's possible.

What do you mean by a Windows Phone App

I think it's that.

Microsoft discontinued Windows Phone. This feature is not under current or any future plans.


Jobs Reborn | Placeholders in the ActionBar

Placeholders in ActionBar don't work for some reason, what should I do?
Example in the attached screenshot:

Additional information:
Server Core: Purpur
Server version: 1.17.1
Plugin Name: Jobs Reborn
Plugin version: v<IP_ADDRESS>
CMILib plugin version: v<IP_ADDRESS>

?

Because those lines only translate original variables and not all of them. And gain is batched so its not coming from a single action/job so there isint real meaningful to indicate that. For something like that we have bossbar messages


VCauthN environment setting updates

Tracking current state and todos here for VCAuthN deployments regarding enabling new features.
Presentation Request settings

Proof protocol: pres exchange protocol 1.0 or 2.0
VCAuth version: Latest release tag is 2.1.0
ACA-Py version: existing uses are 0.12.1, 1.0.0 is available now (2.0 protocol requires 1.0.0 for our uses)
Use OOB: whether to use Connectionless Invitations or Out Of Band to communicate the proof request
URL Deep Link handler: Use c_i format links with full encoded payload, or _url links with a redirect to the payload.

Env
Protocol
VCauth Version
ACA-Py
Use OOB
Deep Link format

DEV
2.0
main branch code (2.1.0+)
1.0.0rc6
True
url

TEST
1.0
2.0.3
0.12.1
False
c_i

PROD
1.0
2.0.3
0.12.1
False
c_i

TTL Index
Needs to be added to Helm charts. This would result in older mongo records being pruned
https://github.com/bcgov/vc-authn-oidc/issues/539
Back to App link support
TBD

@esune adding this to DITP repo since it's not code-based (our specific deployments) but could put in VCAuthN instead


Remove unused variables potential dangerous behavior

Delete unused variables do not take into consideration potential use of dynamically assigned variables.
Code will not analyze that scenario below (simpliest one)
DATA: lv_unused_b      TYPE string.
assign ('lv_unused_b') to field-symbol(<test>).
In my opinion it should detect potential dynamic usage of variable and instead of deletion of variable it should add TODO.
I mean - it adds TODO, but for completely different reason - assigned, but not used variable

Not sure about how the detection would reliably work? I am now also wondering how it works in ADT.
DATA: lv_unused_b TYPE string.
DATA(lv_target) = 'LV_UNUSED_' && sy-abcde+1(1).
assign (lv_target) to field-symbol(<test>).

Also includes, enhancements and probably many more.

Hi!
I think this detection mechanism should look into ASSIGN ('varname') statement or ASSIGN (directVariable), if exists and check through local coding for already existing varname somewhere else.
If it was declared in local coding - then stop it from doing fancy stuff with that particular name.
Distinction between regular ASSIGN and dynamic assign is dynamic one contains () part, where in between you have variable name.
If you assign strings you simply do `assign '' to .
I Agree - doesn't have to be perfect, but on the other hand rule of refactoring is to not break, but improve :)
And also - i know dynamic coding is more problematic thing, because of course, it's dynamic.
If this cannot be fixed, maybe it should be mentioned in some "Potential Issues" document or in the check itself?

Hi xczar0,
thanks for this finding! I agree, it's better to miss a few cases (simply keeping them as they are) than to break things, and as Fabian nicely pointed out, it would be impossible to reliably detect which variable is the target of the dynamic ASSIGN.
Therefore, I think it is best to simply deactivate the affected rules ("Report unused parameters", "Delete unused variables", "Use FINAL for immutable variables") for methods that contain such a dynamic ASSIGN. Probably (and hopefully!) this syntax is anyway not used very often… Will be fixed with the next release!
Kind regards,
Jörg-Michael

Hi xczar0,
thanks again for pointing this out – version 1.13.1, which was just released, now blocks methods for "Delete unused variables" etc. if a dynamic ASSIGN is found (see details above)!
Kind regards,
Jörg-Michael


fix: z-index of modal

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix Docs for service bus ruby

@sethmanheim Could you please review and approve?

@sarangan12,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@sarangan12 Thank you very much for the contribution! We appreciate it. This should go live sometime tomorrow -- at latest the following day. #sign-off

#sign-off

@sarangan12 : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

#sign-off


Macro expansion goes too far and/or Ecto does not understand orelse/andalso

Environment

Elixir version (elixir -v):Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.6.0-dev (0beeef8) (compiled with OTP 20)

Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.):  PostgreSQL 9.7
Ecto version (mix deps):  ecto 2.2.1
Database adapter and version (mix deps):  postgrex 0.13.3
Operating system:  Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Current behavior
Given a simple macro like:
  defmacrop status_active(var) do
    quote do
      unquote(var) != "I" or is_nil(unquote(var))
    end
  end

And trying to use it like:
          join(query, qual, [spriden],
            goremal in DB.Banner.GOREMAL,
            goremal.goremal_pidm == spriden.spriden_pidm and status_active(goremal.goremal_status_ind)
          )

Causes this error:
== Compilation error in file lib/my_server/banner.ex ==
** (Ecto.Query.CompileError) `:erlang.orelse(goremal.goremal_status_ind() <> "I", is_nil(goremal.goremal_status_ind()))` is not a valid query expression
    expanding macro: Ecto.Query.join/5
    lib/my_server/banner.ex:108: MyServer.Banner.query_fullprofile/2
    (elixir) lib/kernel/parallel_compiler.ex:121: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1

I've tried various things including building the AST manually:
  defmacrop status_active(var) do
    {:or, [],
     [{:!=, [], [var, "I"]},
      {:is_nil, [], [var]}]}
  end

Not bringing in the kernel import:
  defmacrop status_active(var) do
    import Kernel, except: [or: 2]
    quote do
      unquote(var) != "I" or is_nil(unquote(var))
    end
  end

As well as inside the macro:
  defmacrop status_active(var) do
    quote do
      import Kernel, except: [or: 2]
      unquote(var) != "I" or is_nil(unquote(var))
    end
  end

The last example of which gives a different error of:
== Compilation error in file lib/my_server/banner.ex ==
** (Ecto.Query.CompileError) `(
  import(Kernel, except: [or: 2])
  goremal.goremal_status_ind() != "I" or is_nil(goremal.goremal_status_ind())
)` is not a valid query expression.

* If you intended to call a database function, please check the documentation
  for Ecto.Query to see the supported database expressions

* If you intended to call an Elixir function or introduce a value,
  you need to explicitly interpolate it with ^

    expanding macro: Ecto.Query.join/5
    lib/my_server/banner.ex:108: MyServer.Banner.query_fullprofile/2
    (elixir) lib/kernel/parallel_compiler.ex:121: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1

Expected behavior
Would expect it to only expand the macro's once, not recursively, or to know what the :erlang.orelse and the corresponding :erlang.andalso calls are so it can do the right thing in the sql as well for those.
Current workaround is to put it in a fragment, but then I lose the ability to make sure some casts are done right in some cases without also introducing in extra arguments, thus cluttering the API (the example above is a simplified example).

@OvermindDL1 yes, we should probably call Macro.expand_once inside the ecto/query/builder. Can you please investigate?

Done, as you thought it was trivial to do, added a test as well that does not pass before but passes now.


support negative index for function split_part

Proposed changes
Issue Number: close #13712
split_part函数支持负数索引参数，方便倒着取数，兼容Mysql 类似用法

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.47 seconds
load time: 571 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221102162329_clickbench_pr_38768.html

@LOVEGISER could you please review it? thx

@Gabriel39 could you please review it? thx

oh, it's a github editor issue, which treat the content as markdown. so the underscore character is used as italic mark. I escaped this char, and it looks right now.


Paula 32 tile stitch

Paula requests large stitched dataset with data that is not easily available.
Need to obtain the data and make sure it is not too degraded, then apply current stitch pipeline even though there is no notebook for this currently.

this required a lot of manual curation but is now complete!


Feat/1202299830196893 env variable

:star: PR built and available in a preview peaqnetwork-peaq-network-ev-charging-sim-fe-pr-13 here

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: irediaes
To complete the pull request process, please assign kosswest
You can assign the PR to them by writing /assign @kosswest in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @kosswest

/assign @niazhussain


11_sorts: more tight boundary for selectionSort() and remove minValue

It is for sure a[i] == a[j], when i == j. So we could skip those cases.
And minValue could be represented by a[minIndex], so replace minValue
with a[minIndex].
Signed-off-by: Wei Yang<EMAIL_ADDRESS>

Cool!


FEATURE: Actual Pywal support

Is your feature request related to a problem? Please describe.
I'm very frustrated with using Matugen since i cant get it to look even close to the colors Pywal generates. I use PyWal to theme everything else on my Desktop and would like to also use it for HyprPanel. Matugen also lags a lot when changing Background and completely crashes ags when i try to click anything while it loads.
Describe the solution you'd like
Make a pywal16 template that works with HyprPanel and auto updates upon theme change without lagging as much as Matugen currently does
Describe alternatives you've considered
Having the colorscheme for all widgets centralized in one file which reloads ags on change, and can thus be easily used for pywal.
Additional context
none

Matugen really does need to be reworked. It's way too heavy in the way it's implemented and maybe this is a good opportunity to add Pywal and rework matugen.

Bump

when i was playing around with hyprpanel i couldn't find a way to do this. but what would be really cool is a way to set pywal colors from within the settings GUI. say element x gets color 3 ect.

we now have pywal support

we now have pywal support我们现在有 pywal 支持

can i use a existing pywal theme rather than generate it from wallpaper?

I am going to reopen this since we have the ability to generate pywal colors but not use them.


Support for partitions on Citrix ADC modules

Feature Request
Currently it is only possible to configure resources on the default partition, except for the citrix.adc.nitro_request module.  This issue is to request support for partitions in all network modules, which already work in an idempotent way and make configuration much more convenient and descriptive.
In my use case, I use different partitions on the Netscaler and the default partition is not used for load balancing services.
Data model proposal
Add attribute partition to each network module, and support for authentication token, in order to be able  to target partitions for configuration.
Example:
 - name: Set service 1
      delegate_to: localhost
      citrix_adc_service:
        nsip: "{{ nsip }}"
        nitro_token: "{{ nitro_token }}"
        validate_certs: "{{ validate_certs }}"
        partition: "{{ partition}}"
        state: present

        name: service-http-1
        servicetype: HTTP
        ipaddress: <IP_ADDRESS>
        port: 80

Where nitro_token could be obtained by performing a login operation using the nitro_request module and saving the session token as an ansible fact to be passed to the network modules.
If partition is specified,  the module would perform a "switch partition" operation before pushing the  configs. Otherwise, the configuration would be pushed to the current partition for the given authentication token. This could be useful to switch partitions with the network modules and apply configurations in a flexible way.

Thanks for reaching out and the proposal. Will review it and consider this during development.

Switching partition can be accomplished with the use of the nitro_request module.
See this example
Any module that uses the nitro_auth_token that was used for the switch partition operation will target the specific partition instead of the default one.
Please note that presently not all modules support the nitro_auth_token parameter. If you find such a module please use nitro_resource or nitro_request modules instead.


Implementation] combo box set attribute() api methods

Closing PR as a more in-depth review of this control will address these changes.


GH-1003 Reimplement code snippets in UI

Fix #1003

Hmm I see one thing that is kinda problematic. Bundle size is almost x2 bigger than it was, before:
? 987 modules transformed.
rendering chunks...
build/frontend/reposilite-frontend/index.html                  1.70 KiB
build/frontend/reposilite-frontend/assets/index.395dd189.css   51.59 KiB / gzip: 9.33 KiB
build/frontend/reposilite-frontend/assets/index.512c4994.js    629.31 KiB / gzip: 216.66 KiB

After:
> Task :reposilite-frontend:buildFrontend
? 1186 modules transformed.
rendering chunks...
build/frontend/reposilite-frontend/index.html                  1.70 KiB
build/frontend/reposilite-frontend/assets/index.310f997f.css   54.10 KiB / gzip: 9.68 KiB
build/frontend/reposilite-frontend/assets/index.df79b065.js    1632.45 KiB / gzip: 505.17 KiB

Resource-wise we should probably just get rid of any highlight library 🤔

Maybe it would be a better option to don't use an editor library at all. It should be relatively easy to implement the code snippets manually. The highlighting could be "hardcoded" because the highlighted text doesn't change.

Yeah, we've used highlighting library, because in the earlier version of 3.x we had configuration editor in Settings tab, but since we've replaced it with forms, it's no longer needed.

Main visual changes:

no line numbers
vertical scrolling instead of line wrapping


MINOR: Update to Scala 2.13.12

It offers a quickfix action for certain errors, includes a number of bug fixes and it
introduces a new warning by default (https://github.com/scala/scala/pull/10462).
In addition to the scala version bump, we also fix the new compiler warnings and
bump the scalafmt version (the previous version failed with the new scala version).
Release notes: https://github.com/scala/scala/releases/tag/v2.13.12
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

The build failures don't seem related. I restarted the build to get more signal.

Unrelated flakes again:

Build / JDK 8 and Scala 2.12 / kafka.api.DelegationTokenEndToEndAuthorizationWithOwnerTest.testCreateTokenForOtherUserFails(String).quorum=kraft
Build / JDK 8 and Scala 2.12 / org.apache.kafka.streams.integration.NamedTopologyIntegrationTest.shouldRemoveOneNamedTopologyWhileAnotherContinuesProcessing()
Build / JDK 17 and Scala 2.13 / kafka.api.TransactionsTest.testBumpTransactionalEpoch(String).quorum=kraft
Build / JDK 11 and Scala 2.13 / org.apache.kafka.clients.consumer.internals.EagerConsumerCoordinatorTest.testOutdatedCoordinatorAssignment()
Build / JDK 11 and Scala 2.13 / org.apache.kafka.clients.producer.KafkaProducerTest.shouldCloseProperlyAndThrowIfInterrupted()
Build / JDK 11 and Scala 2.13 / integration.kafka.server.FetchFromFollowerIntegrationTest.testRackAwareRangeAssignor()
Build / JDK 11 and Scala 2.13 / kafka.api.DelegationTokenEndToEndAuthorizationWithOwnerTest.testProduceConsumeTopicAutoCreateTopicCreateAcl(String).quorum=kraft
Build / JDK 20 and Scala 2.13 / kafka.api.TransactionsTest.testBumpTransactionalEpoch(String).quorum=kraft
Build / JDK 20 and Scala 2.13 / kafka.api.TransactionsTest.testBumpTransactionalEpoch(String).quorum=kraft

JDK 17 and Scala 2.13 build passed on retry.


Merge and monkey issue

I caught some problem when I tried to merge the following object with nested monkey:
tree = new Baobab({ a: 1, nested: [] })
tree.set(['nested', '0', 'dynamic'], Baobab.monkey(['a'], (a) => a + 1));
tree.merge({});

Result:
Uncaught TypeError: Cannot set property dynamic of #<Object> which has only a getter(…)
But next example works as expected:
tree = new Baobab({ a: 1, nested: {} })
tree.set(['nested', 'dynamic'], Baobab.monkey(['a'], (a) => a + 1));
tree.merge({});

Hello @ruscoder. This is a bug I need to investigate indeed. However I see that in your example you seem to create monkeys in a path nested beneath an array. I would advise not to do this for performance reasons.


Ordinal pluralization

What are you trying to accomplish?
The react-i18n data format schema defines how to store ordinal pluralization values:
{
  "cars": {
    "ordinal": {
      // The special key "ordinal" creates an ordinal pluralization context
      "one": "This is my {ordinal}st car", // Used for 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …
      "two": "This is my {ordinal}nd car", // Used for 2, 22, 32, 42, 52, 62, 72, 82, 102, 1002, …
      "few": "This is my {ordinal}rd car", // Used for 3, 23, 33, 43, 53, 63, 73, 83, 103, 1003, …
      "other": "This is my {ordinal}th car" // Used for 0, 4~18, 100, 1000, 10000, 100000, 1000000, …
    }
  }
}

But the react-i18n library doesn't have a mechanism to look them up.
This PR aims to add that mechanism.
What approach did you choose and why?
Duplicated the logic for the cardinal pluralization, and adjusted it to use ordinal pluralization.
Made the choice to define a new special ordinal replacement.
Choice of ordinal name
This could be instead made to use the same count in the interpolation, but then the replacement name wouldn't match, which I thought would be strange.
ruby-i18n doesn't have ordinal pluralization lookups, so there's nothing to copy in this choice.
CLDR calls these "lateral inheritance attributes", and calls them count and ordinal, so that's another vote for ordinal.
What should reviewers focus on?

...
The impact of these changes
Users will be able to provide translations for ordinal pluralization strings.
Testing

...

What you've got currently allows for a single key to have cardinal and ordinal translations strings (per the pluralisations test case)

Yup. Personally, I see it as a feature, not a bug (of course, I wrote the spec so I'm biased)
Aside: It's also how the Translation Platform distinguishes between cardinal and ordinal pluralization contexts. So that's at least one client that would have to change if we wanted to change it.

/shipit


Feature Request: Low power mode battery

would love a way to enable low power mode from a switch in the new mac os update thats available instead of having to go to the battery menu in settings. shortcuts wont do it.

would love a way to enable low power mode from a switch in the new mac os update thats available instead of having to go to the battery menu in settings. shortcuts wont do it.

It's easy to implement. Just it'll request password every toggling. I think it's not elegant. If you can accept it, I'd like to add it.


Application credit demo

Description

bumped shopify_app to 7.2.0
bumped shopify_api to 4.3.1
created demo page for application credits

@Shopify/finance

:+1:


wgo: 0.5.1 -> 0.5.3

Description of changes
change log: https://github.com/bokwoon95/wgo/releases/tag/0.5.3
diff: https://github.com/bokwoon95/wgo/compare/v0.5.1...0.5.3

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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

wgo


Custom Colors (using extend) are not recognized

Hi,
thank you for this nice plugin.
I have a problem using it with custom colors. My custom colors work as expected for texts, backgrounds etc. but they do not seem to be recognized by this plugin. For example:
<div class="overflow-auto scrollbar scrollbar-thumb-<my-custom-color> scrollbar-track-<my-custom-color> h-64">
Results in the default scrollbars in Firefox. If I use a built-in color like gray-900 it is working as expected. I don't have problems with custom colors with other tailwind classes like text-color-
I use NuxtJS and I added Tailwind and the plugin in the config like this:
export default {
  // Global CSS: https://go.nuxtjs.dev/config-css
  css: [
  ],

  tailwindcss: {
    config: {
      theme: {
        extend: {
          screens: {
            'only-small': {'max': '639px'},
          },
          maxHeight: {
            xs: "20rem",
            sm: "24rem",
          },
          colors: {
            custom: {
              blue: {
                DEFAULT: '#0061A7'
              },
              gray: {
                DEFAULT: '#D9DADA'
              },
              green: {
                DEFAULT: '#00963F'
              },
              red: {
                DEFAULT: '#E3000F'
              },
              yellow: {
                DEFAULT: '#FDC300'
              }
            }
          },
          backgroundImage: theme => ({
            'ds-pattern': "url('~/assets/img/ds-background.jpeg')",
          })
        }
      },
      plugins: [
        require('@tailwindcss/forms'),
        require('tailwind-scrollbar'),
      ],
      variants: {
        // ...
        scrollbar: ['rounded']
    }
    }
  },
}

Hey, it looks like you've got an extra custom key in your config. Per the docs, colours should be direct children of the colors key. E.g.
// ...
theme: {
  extend: {
    colors: {
      blue: {
        DEFAULT: '#0061A7'
      },
      // ...
    }
  }
}

The bigger mystery to me is why that's working at all for font colours and suchwhatnot.


yBound breaks Plots

evaluate the following groovy code:
new Plot(yBound: [0, 10])

and get the following error:
beakerVendor.js:63042 ReferenceError: yAxis is not defined
at Object.remapModel (http://<IP_ADDRESS>:8801/ea7e433/beaker/app/dist/beakerOutputDisplay.js:13026:44)
xBound works as expected.

https://github.com/twosigma/beaker-notebook/issues/4944


update gamecontrollerdb.txt - linux psx usb

Bus 001 Device 049: ID 6666:0667 Prototype product Vendor ID WiseGroup Smart Joy PSX, PS-PC Smart JoyPad
it's an ancient ps1 -> usb adapter

Added, thanks for the PR!


Support reactive/non-blocking requests

Currently the Nexmo Library is backed by a HttpClient using a PoolingHttpClientConnectionManager which is a blocking client.
Whilst it would represent a lot of work it would be good to get non-blocking implementation (eg usin  RxJava or Reactor) of the interfaces to allow for use in non-blocking codebases.

Thanks to the recent work on decoupling the implementation of API endpoints from the underlying HTTP client, this should be more feasible to achieve. It's on the roadmap, but no concrete timeline yet.


Testing unsupported file type

Unsupported file type

We don’t support that file type.   Try again with a PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, PDF, or ZIP.

test.zip


Calculate Number of memoryslots required  based on input schedules if not set.

What is the expected enhancement?
At qobj assembly time the number of memory_slots required should be calculated from the input schedules if it is not set.

@Matt-Stypulkoski can you take this one after #2491 please?

I have done this already in #2835 (forgot to # it). The same behavior could
be replicated for the qasm path though in a separate PR.
On Sun, Jul 21, 2019, 10:19 PM Ali Javadi-Abhari<EMAIL_ADDRESS>wrote:

@Matt-Stypulkoski https://github.com/Matt-Stypulkoski can you take this
one after #2491 https://github.com/Qiskit/qiskit-terra/issues/2491
please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Qiskit/qiskit-terra/issues/2834?email_source=notifications&email_token=AAL3LNUT2R3R4ZTJWWVZVFLQAUKMTA5CNFSM4IFPU4XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OSPPA#issuecomment-513615804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL3LNWHJ7VPI7O6BXT6J4LQAUKMTANCNFSM4IFPU4XA
.


Better support "Add Folder to Workspace" when not in workspace context

OS: Windows

When adding second folder (1 to 2 scenario), I am moving to a new workspace without initial folder preserved.

Yeah, this transition is not nice. There is a couple of things to consider:

should this action be enabled/disabled when not in workspace context
should we ask the user to migrate settings, state, etc. from the current workspace
should we avoid a window reload so that the transition is smooth

/cc @sandy081

@bpasero agree, but the key point I was raising is that I don't have my initial opened folder in a newly created workspace, which surprised me, when I tried to add folder to a to-be-created workspace.

@michelkaporin I see your point. When you are adding folder to Single Folder Workspace we redirect to new workspace case with an explicit dialog.
I think it makes sense to auto add the existing root folder to the list. And also mentioning it in the dialog.
w.r.to smooth transition, it is our eventual goal. When we overcome our technical challenge we will get into smooth transition. This will come soon.


Update release.yml

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 27.002%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
118

Relevant Lines:
437

💛  - Coveralls

What's the status of this PR?


chore: drop deprecation warnings and deprecated apis

Do these warnings mean the ProdConfig interface needs to be changed to look like this?
export interface EnvConfig {
API?: string;
BUILD_TYPE?: string;
}

No, ENV_CONFIG is the configuration for the current environment. The build type (i.e. the property BUILD_TYPE) is independent from ENV_CONFIG. We can have production build with stating environment config, for instance.

Hey Minko, do the build.* and serve.* scripts in the package.json also need an update now?
For example: https://github.com/mgechev/angular-seed/blob/master/package.json#L12 ?

Yess, these script params are useless now. I'll drop them in the next commit.

https://github.com/mgechev/angular-seed/blob/master/tools/env/dev.ts - you need update this

No, ENV is different from BUILD_TYPE.


README specifies wrong Jest package

The README says:

Make the following changes to package.json:
{
 "dependencies": {
   "babel-jest": "*",
   "jest": "*"
 },
...

However, "jest" is an unrelated package ("JavaScriptational State Transfer"). The correct package is jest-cli.

Thanks!


🐞 : Spelling of balloon is incorrect

I want to correct the spelling of balloon , right now it is ballon

@iamrahulmahato I am not able to clone this repo . Could you please help me figuring out the issue?


PhpArray-writer adds slashes to single quoted strings, making refactoring of FQCN harder

https://github.com/zendframework/zend-config/blob/4828341183abc70dd04accc97a2522c544468e2a/src/Writer/PhpArray.php#L118
This makes refactoring and finding usages somewhat harder, if you use FQCN as array-keys or-values (which is quite frequent over many packages) and the namespaces are separated by double backslash.
I think instead of replacing the addslashes with a non-native implementation it is performance-wise faster to use addslashes and then reverse the double backslashes?
Also, is readability, ability to refactor or find usage a reason enough for such a change?

With #6  this is obsolete I think.


Buggy behavior in edmf after PR877

https://github.com/CliMA/ClimaAtmos.jl/pull/877/files introduced spurious spikes above cloud top in edmf simulations (compressible and anelastic). We should debug it or revert it.

Should be fixed by https://github.com/CliMA/ClimaAtmos.jl/pull/902

Closed by #914


dot_test should check more than one pair of x and y values

https://github.com/TomographicImaging/CIL/blob/df8ff89460e415c01bba0d27550616668f20518c/Wrappers/Python/cil/optimisation/operators/Operator.py#L192-L200

The dot_test will currently check only one pair. It's the user's responsibility to check more.


Proxied requests for static content through the SWA CLI are very slow

[x] Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.

Are you accessing the CLI from the default port :4280 ?

[ ] No, I am using a different port number (--port) and accessing the CLI from that port
[x] Yes, I am accessing the CLI from port :4280

Make sure you are accessing the URL printed in the console when running swa start!

ℹ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly
Describe the bug
When I run a Vite app behind the SWA CLI, requests for static files take much longer through the SWA emulator (port 4280) than if I access the Vite app directly (5173). For example, requesting the same static file can take about 1 second through SWA, but only a couple milliseconds through the Vite dev server directly. Network tab screenshots are below.
This especially affects the startup performance of any apps using Vite with SWA, since Vite apps serve many small static files in development.
To Reproduce
I created a repo showing the issue: https://github.com/geoffrich/swa-cli-issue-repro. If you clone this repo, you can skip to step 5 on the below repro steps.
Steps to reproduce the behavior:

Init a new Vite app with npm create vite@latest (tested with both the Svelte and React presets)
cd into the created project
Install the SWA CLI with npm i -D @azure/static-web-apps-cli@latest
Init the CLI config with npx swa init. Accept default values.
Run the SWA emulator with npx swa start
Access the site at localhost:4280. Open the network tab and notice that requests for the JS files take ~1 second.
Access the Vite app directly at localhost:5173. Open the network tab and notice that requests for the JS files take only a few milliseconds.

Expected behavior
Requests for static files are not significantly slower when running behind the SWA emulator.
Screenshots
Network tab on localhost:4280 (note request times of 1 second for each static file)

Network tab on localhost:5173 (note request times of a few milliseconds)

Desktop (please complete the following information):

OS: MacOS
Version: Ventura 13.4.1

Additional context
Add any other context about the problem here.

I've also experience similar behaviour. Using version 1.1.3 seems fine for me. But using 1.1.4 dramatically slows down loading. As a complete guess, maybe due to something in this commit: f1dd587916d76b267d0d46da47d26ea0ae898a22 . Great that it can now support node 18 though due to that commit.

I'm experiencing this behavior as well. I've ended up architecting my app around anything that doesn't force me to do a full page reload (I.e. avoiding stores) because the reload time is so slow.

As much as I love that a fix to https://github.com/Azure/static-web-apps-cli/issues/663 has landed - the performance issues really impair the developer experience.  It's very slow.
@cjk7989 - you'd asked for feedback here so I wanted to give you a heads up.
As much as it pains me, I think I'm going to downgrade to 1.1.3 and reimplement my workaround here:
https://johnnyreilly.com/static-web-apps-cli-node-18-could-not-connect-to-api
Sorry to be the bearer of sad tidings 😢

@cjk7989 - you'd asked for feedback https://github.com/Azure/static-web-apps-cli/issues/663#issuecomment-1639742914 so I wanted to give you a heads up. As much as it pains me, I think I'm going to downgrade to 1.1.3 and reimplement my workaround here:

Hi all, sorry for the issue, the reason might be that swa-cli uses wait-on to test if localhost should be resolved to ipv4 or v6, which causes a lot of await.
We will further investigate it and look for a good solution to support node 18 without loss of speed. Thanks for reporting that.
By the way, if you decide to downgrade to 1.1.3, then before doing that, please make sure your apis and database connection can work (which means your function-core-tools and dataApiBuilder has been correctly installed). If you are using dev servers like Angular and React, please set hostname to [::1] instead of localhost. Feel free to let me know your issue.

FWIW, I'm using 1.1.3 with 18.17.0 without issue. App is a Vite/Vue application.

Just wanted to chime in here as well to say that this is my experience as well with 1.1.4
Here's a screenshot of my performance. I'm working with a Vue 3 + Vite 3.1.0 project. From what I've observed, it looks like the assets are being loaded in groups of 4-5 files, with about a 50-100ms delay between each group. It can take certain pages up to about 30 seconds to load in like this, depending on the number of chunks required on the specific page.
Downgrading to 1.1.3 works on Node 18.18.0 for me; the delays are completely gone.

Looking at https://github.com/jeffbski/wait-on/issues/137#issuecomment-1775289798
It's possible that the Node.js 18 issue that lead to the changes in 1.1.4 and slowness may not surface in Node.js 20. If so, then the changes in 1.1.4 could be rolled back.

Ah it turns out that the SWA CLI doesn't presently support Node.js 20 and so testing this may be an issue:
https://github.com/Azure/static-web-apps-cli/issues/756#issuecomment-1775701368

I've raised a PR to revert the changes causing the slow proxying: https://github.com/Azure/static-web-apps-cli/pull/758

In<EMAIL_ADDRESS>we have reduced some delays so that the requests to dev servers will be handled faster. Please feel free to install it, and let us know if you think further optimization is needed.

Just copying over from https://github.com/Azure/static-web-apps-cli/pull/758
Thanks for this - I did some testing on the perf differences between 1.1.3, 1.1.4 and 1.1.5 when it was in alpha state.  Things have improved, but 1.1.5 is still roughly half the speed of 1.1.3.
I took our most demanding client side app, and timed the initial startup with 1.1.3, 1.1.4 and 1.1.5-alpha for comparison.  1.1.5-alpha was half as performant as 1.1.3 - see the screenshots from devtools below:
1.1.3

1.1.4

1.1.5-alpha

In response to this @cjk7989 has said:

Hi @johnnyreilly, we can't revert to 1.1.3 to speed up because the bug of resolving localhost will occur with node 18 in some systems. But I agree with you to record the successful responder and use that to steer all subsequent requests. We will design a fallback method to resolve requests in the future update. Thanks!

I'm quite keen on seeing what effect a fallback method might have on improving performance.  In the meantime I'm glad things have improved :heart:

for anyone running into this issue, i just upgraded the swa cli to 1.1.6 and it seems to have a very positive effect on the load time.

This issue is still not fixed and the SWA CLI is practically unusable for local development beyond static testing.
This is clearly visible in a blank Nuxt app that takes around 15-30 seconds to refresh vs a few ms when opened directly.
Will this be fixed at some point @cjk7989 ?

Any updates with this? The developer experience with the static-wep-apps-cli is very poor, as a website that loads about 2 seconds in a local development scenario loads around 30-40 seconds with the cli.

I am experiencing the same problem on 1.1.7

Had similar issues 2 years ago https://github.com/Azure/static-web-apps-cli/discussions/554 and @manekinekko did some work to fix it, but do feel like it's regressed.
The PR above doesnt totally help.
Individual file request
File requested directly from Vite: 2ms
File requested via SWA to Vite: 58ms
File requested with a bunch of others (eg standard page load with a lot of resources): 1+s
full page load
Direct to vite:

Via SWA:

running 1.17 as 1.18 has other issues at present.
I could probably reduce the files requested with a bit of work, but there certainly seems to be something up with SWA. Looks like things are queuing up? about 4 files at a time with a large delay between them (4 makes sense for http1/1 I believe?)

Decided to reverse the proxy and do vite -> swa instead of swa -> vite. Bit more to config but worth it.
Curious they seem to use the same proxy tech and not have the slowdown.

Fancy sharing your reversed proxy setup / config @bzbetty? I wanna borrow!

Fancy sharing your reversed proxy setup / config @bzbetty? I wanna borrow!

oh it's very basic, but seems to work a treat atm
vite config
server: {
       proxy: {
        '/api': 'http://localhost:4280',
        '/.auth': {
          target: 'http://localhost:4280',
          hostRewrite: true,
          autoRewrite: true,
        },

      },
  },

Awesome - I'll give it a try!

It worked!  I had to tweak it a little - localhost didn't play ball for me.  Ended up writing it up here:  https://johnnyreilly.com/static-web-apps-cli-improve-performance-with-vite-server-proxy

Awesome that it worked for you! and thanks for the writeup..  I'll be sure to share it around.

having played with this a bit further I noticed that the proxy in vite is just as slow (makes sense as it's based on the same tech).  I came across a plugin based on https://www.npmjs.com/package/http2-proxy which is much faster - I would recommend the team consider moving their proxy in swa to that package.


Flushing entire cache doesn't work

Describe the bug
When using the command php artisan modelCache:clear the cache doesn't get cleared. If the command with the specific model is used php artisan modelCache:clear --model=App\\Models\\Example the cache gets cleared.
Eloquent Query
Please provide the complete eloquent query that caused the bug, for example:
Example::all();

Environment

PHP: 8.0.15
OS: Ubuntu Server 20.04.3 LTS
Laravel: Laravel 8.60.0
Model Caching: 0.11.6
Store: Redis

If someone stumbles across this issue, it was not a problem with this package but rather the redis server had the command FLUSHDB disabled in /etc/redis/redis.conf.


cmd/compile: less export data

From the "SPLASH" talk:

"[W]e measured the compilation of a large Google program written in Go to see how
the source code fanout compared to the C++ analysis done earlier. We found it was about
40X, which is fifty times better than C++ (as well as being simpler and hence faster to
process), but it's still bigger than we expected. There are two reasons for this. First,
we found a bug: the Go compiler was generating a substantial amount of data in the
export section that did not need to be there. Second, the export data uses a verbose
encoding that could be improved. We plan to address these issues."

Writing this down so it gets addresses. This was written a year ago but nothing has
happened.

I think this was addressed with the binary export format (mentioned by gri above) and later the indexed export format (e.g., ca2f85fd3f32b2a4c863a2de602876bd31e9d956). We currently use a compact binary format (rather than textual) and we're also better about only including necessary inlinable bodies<PHONE_NUMBER>b0ebbc7ee0c5bf3bc3a3c19a196621).


[DO NOT MERGE] 7.0.x release branch

The conflicts in  docker-compose.yml and stack.yaml noted above are not relevant the 7.0.x release.


Prevent webhook action buttons from shifting

Fixes: https://github.com/go-gitea/gitea/issues/15443
Signed-off-by: Steven Kriegler<EMAIL_ADDRESS>

Codecov Report

Merging #16087 (8b64ccd) into main (ee5e1c4) will increase coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #16087      +/-   ##
==========================================
+ Coverage   44.06%   44.17%   +0.10%
==========================================
  Files         683      683
  Lines       82358    82358
==========================================
+ Hits        36295    36383      +88
+ Misses      40176    40077      -99
- Partials     5887     5898      +11

Impacted Files
Coverage Δ

modules/indexer/stats/db.go
42.85% <0.00%> (-7.15%)
:arrow_down:

modules/git/repo_base_nogogit.go
82.85% <0.00%> (-2.86%)
:arrow_down:

modules/git/utils.go
62.50% <0.00%> (-2.78%)
:arrow_down:

models/error.go
39.37% <0.00%> (-0.16%)
:arrow_down:

models/notification.go
66.07% <0.00%> (+0.88%)
:arrow_up:

services/pull/pull.go
43.83% <0.00%> (+0.91%)
:arrow_up:

modules/queue/unique_queue_disk_channel.go
48.63% <0.00%> (+1.36%)
:arrow_up:

modules/queue/workerpool.go
55.34% <0.00%> (+1.52%)
:arrow_up:

modules/git/command.go
89.81% <0.00%> (+1.85%)
:arrow_up:

modules/notification/notification.go
87.60% <0.00%> (+2.47%)
:arrow_up:

... and 5 more

Continue to review full report at Codecov.

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

Thanks for PR :) Could you add somescreenshots to show the differences?

@techknowlogick Sure.
Before:

Now:

I tested different widths and think 90% fits most. 92% was too close to the action icons.

Just realized that it's is not fully fixed. If you reduce the browser window size, the buttons will be relocated. I think, @media based widths should do the trick, right?

I've just set the WIP label so people will be sure not to merge or review.

@techknowlogick Now the webhook url is properly truncated for all the supported @media sizes. I've noticed that it's duplicated style definition. Should I reduce these duplicated style definitions (I made) with a placeholder or something else?

If this duplication is OK, you can remove the wip label.

Awesome. I've removed the WIP label.

I think this can probably be solved much more elegantly using CSS truncation using text-overflow: ellipsis and no media query fiddling like that. Can you try it?

@silverwind I am using text-overflow: ellipsis. It's declared inside the css class truncate. As per MDN text-overflow: ellipsis only affects block elements or elements with specified width or max-width at itself or some parent element. Since the anchor element is no block element (and in this context not even via css) and no parent element has a width or max-width, I had to define a width for the anchor element. With that width it was not responsive without different values for different browser sizes.
Maybe I am overcomplicating this, but after testing this with a smaller browser size I was not happy with just one fixed width since it behave the same as mentioned in the issue.

You can usually force block-level via display: inline-block or similar but sometimes the changes necessary can be a bit more far-reaching depending on the surrounding structure/CSS. I think such a solution is certainly preferrable instead of introducing a dependency on the site's media query breakpoints.

Will try you suggestion.

Here's some sample CSS that should get you somewhere:
.selector {
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

Now i got it. Without the media queries. 😃 Your hint with the parent element structure was gold. I solved it by adding truncated-item-container to the .item div parent element which makes it display: flex. Combining it with the .truncate (that includes your ellipsis snippet) at the anchor element and a small inline css to align the buttons horizontally instead of underneath each others, the end result looks like that:

which is pretty much the same as the media query approach. Except for the space between text and button.

@silverwind This is ready for your feedback when you have time for it. 😉


meli: re-introduce at 0.8.1

Description of changes
This package had been dropped in ac019b9 because it required an
insecure version of openssl. This is no longer the case with this
update.
This new version also enables notmuch support by default in upstream,
detecting the presence of the binary purely at runtime. Therefore,
the matching package build switch has been removed.
CC previous package maintainers: @0x4A6F, @matthiasbeyer
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

[ ] 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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

meli


feat: add new shortcut for page-container

New shortcut for page-container. Styles moved from https://github.com/fabric-ds/css/blob/01fd80a27461cf0d593911e974853f84963d0681/src/components/page-container.css#L1. More info in the ticket linked

 Add rules for page-container


aya-obj: Make relocations less strict

Missing relocations at load time shouldn't cause an error in aya-obj but instead poison related instructions.
This makes struct flavors work.
Close #533

This PR has been tested on my side and everything works as expected.


tests in CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@901ce75). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage        ?   95.75%
=======================================
  Files           ?       10
  Lines           ?      400
  Branches        ?       73
=======================================
  Hits            ?      383
  Misses          ?        6
  Partials        ?       11

Help us with your feedback. Take ten seconds to tell us how you rate us.


Atlassian JIRA Provider - feature request

Hi everyone!
I'm building a MVC 5 Web App and I'd like to use JIRA as an authentication provider. I've been trying to accomplish it (use Owin with JIRA) for a couple days and nothing. I pretty new in Owin and OAuth patterns, so it looks a little complex to me yet.
If you guys could point some material out or any example that could help me to start, I'd be glad to contribute and develop the OwinOAuthProviders.JIRA 👍
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication
Thank you very much!!
BR,
Roger Mokarzel

Hi @rogermoka
There is no ideal pattern, and unfortunatly the security model in Owin requires a decent amount of customization for each provider.
Typically you have to copy the code from another provider, change the callback path the url endpoints then writing the appropriate http calls for the oauth endpoint, and after adding any claims that make sense. You also have to set default scopes based upon the provider.

@TerribleDev, thank you. believe it or not, you gave me a north, I'm going to try it!!

Guys, just to help anyone that need to use JIRA as OAuth provider: http://tzhwang.com/2016/10/20/jira-oauth-authentication-using-dotnetauth/  this post helped me to accomplish it, yet I didn't build a proper identity provider to be published here.
BR,
Roger Mokarzel

are you planning on making one?

not right now, @TerribleDev. but I hope to get some free time at the end of the year. 👍


Infra: Docker compose Webpack migration

Description
This PR finally fixes docker-compose.yml to work with multiple services
Running:

assuming docker is already installed:

docker-compose up
Close #72

@miltonbsn  @idmarjr  1 year later, is finally updated 😂


sp codes in full plant list?

Hi @gonzalezeb
I'm currently looking at tree cores data, which includes species codes sp. I'm still learning all the mappings from sp to scientific names,  common names, etc. I then found this very helpful full plant list of all plant species. Questions:

Would you say that this list acts as a "master" florae species list for all SCBI databases?
If so, would you be open to a pull request where I add a fifth column called sp with species code? That way other forest ecology novices could do a quick join with the above list along the key variable sp. No problem if this doesn't fit into your plans.
The rule for creating sp codes seems simple enough: take the first two letters of both the genus and specific and paste them together with no space. However I noticed that Carya ovalis is coded as caovl instead of caov. At first I thought it was because more than one species could be coded as caov using the above rule, but that doesn't seem to be the case. Out of curiosity, could you explain why?

Many thanks

Albert, here your answers:

yes, this is the master plant species for the plot but notice that it also include herbaceous/ferns plants. For now, the sp codes only applies for woody species that are part of the census (what we also call "core census").
yes, I like that idea actually, but the more plants you have on that list the chances area that a code will repeat. We don't want that to affect our sp codes that have been used for years for analysis, etc. It is better that you use this species list for everything related to the forestgeo tree data at scbi.
no answer for that, that code was already given when I started to work at scbi. I never worried to changed, it should remain as it (at least for now).

Hope this help.

Thanks for the info!


Looking for a speed up

Margipose is quite an accurate model, does some great detections! Kudos to the team!!
I am looking to speed up the model, for fast inference.
Its currently running at a speed of 2-3 FPS for inference on my 1080.
The best way to speed up I have in mind would be to reduce the res of input and use the resnet 18 model.
Resnet 18 wouldnt make a lot of difference keeping in mind the model architechture.
Is there any other way?
Thanks!

It's also possible to simply reduce the number of stacks. The pretrained models I've made available have 4 stacks, but you could try reducing that to maybe 2 and see if that reaches a better accuracy/speed trade-off.
If you do try ResNet-18 or find some other sweet spot for performance, please report back here---I'd love to hear your results.

Yup, the stacks can be reduced.
For a baseline, let me move to resnet18 and reduce stack.
Lots of performance gain strategies to try out!
Ill update the results here.

Yup, the stacks can be reduced.
For a baseline, let me move to resnet18 and reduce stack.
Lots of performance gain strategies to try out!
Ill update the results here.

@jaggernaut007  how much faster than original margipose using your resnet18?

Yup, the stacks can be reduced.
For a baseline, let me move to resnet18 and reduce stack.
Lots of performance gain strategies to try out!
Ill update the results here.

Same question as @guker :)


Add DER-encoded CRTs to library/certs.c

When building with MBEDTLS_PEM_PARSE_C and MBEDTLS_FS_IO unset, ssl_client2 and ssl_server2 fail to parse any hardcoded test CRTs because those are stored in PEM format in library/certs.c. This hardens testing of such minimal configurations.
A potential solution is to also provide DER-encodings of the certificates in library/certs.c.

I tend to think this is a bug, because in these conditions, I would expect the application to have a stub main() functions, like when other configurations are unset.


Unable to select local client when using Flatpak

Hello and many thanks for the wonderful Flatpak support!
I wanted to dump a remote MySQL database and was warned by DBeaver that I have to select the local clients home. So I've installed the package mysql-client which provides mysqldump in /usr/bin, but when I want to set this local client home from within DBeaver, the directory /usr/bin is the one from within the Flatpak container (without mysqldump).
I think the Flatpak should be (somehow)  given the permissions to read the hosts filesystem outside of the home directories to be able to select local installed tools, shouldn't it?
System information:

Operating system: Ubuntu 18.10
DBeaver version: 6.0.0
Flatpak version: 1.0.7

Oh sorry, there is already an ticket for this: https://github.com/dbeaver/dbeaver/issues/5008


(PUP-1628) Fix mount provider for AIX

The way that AIX tracks its mounted filesystems is different than other
unix or linux operatingsystems. AIX uses /etc/filesystems and has
entirely different filesystem options.
This commit takes advantage of two parsedfile hooks, post_parse and
to_line, to read & generate /etc/filesystem entries. Parsedfile was
not created with arbitrary-ordering in mind, and any /etc/filesystem
entries will have their attributes reordered by to_line
Options in AIX without related properties in Puppet's mount type are
placed under the "options" property.

Replaces #3740

CLA signed by all contributors.

Thanks for retargeting this. @melissa and I spent some time this afternoon trying to validate some of the concerns you mentioned with the remount behavior on AIX. A couple of findings of note:

As best as we can tell, 'remount' for NFS filesystems is not supported in AIX 5.3 and supported only in later releases of AIX 6.1.**

On AIX releases where remount is supported, it looks like there are some notable differences (vs Linux) in the effect of mount -o remount.

On AIX, for NFS filesystems, it looks like mount -o remount /foo removes existing mount options for the filesystem. Similarly, mount -o remount,rw /foo removes any existing mount options and remounts with 'rw' as the only mount option.
Here's a comparison of CentOS 6.5 vs AIX 7.1:
CentOS 6.5:
# mount | grep "nfs "
server:/srv/test on /mnt type nfs (rw,vers=3,wsize=65536)

# mount -o remount,ro /mnt
# mount | grep "nfs "
server:/srv/test on /mnt type nfs (ro,vers=3,wsize=65536)

# mount -o remount /mnt
# mount | grep "nfs "
server:/srv/test on /mnt type nfs (rw,vers=3,wsize=65536)

AIX 7.1:
# mount | grep nfs
server /srv/test         /mnt         nfs3   Mar 30 16:13 rw,wsize=65536

# mount -o remount,ro /srv/aix
# mount | grep nfs
server /srv/test        /mnt         nfs3   Mar 30 16:13 ro

# mount -o remount /srv/aix
# mount | grep nfs
server /srv/test         /mnt         nfs3   Mar 30 16:13

**Example output and a couple of references indicating remount is not supported for NFS filesystems on all releases of AIX:
On AIX 5.3:
# mount -o remount,rw /srv/test
nfsmnthelp: invalid option remount ignored

http://www-01.ibm.com/support/docview.wss?uid=isg1fixinfo108448
http://www-01.ibm.com/support/docview.wss?uid=isg1IZ32019

@hunner I think in terms of next steps to address the issue @geoffnichols described above would be to have the mount -o remount command pass in all options in a comma separated list (i.e, mount -o remount,ro,vers=3), except on AIX 5.3, where unmount/mount should be used.  Maybe defaulting to mount -o remount,rw might not be a bad idea unless the user specifies ro. It seemed like that's what was happening anyway on AIX. @geoffnichols was that what you were thinking in terms of what should be done?

@melissa Yes, I think that seems sane.

Updated: Does unmount/mount for both local and nfs mounts on AIX 5.3. On other AIX platforms, it does unmount/mount for nfs mounts and remounts for normal mounts.

This looks good to me in manual validation after the update. I'm :+1: on this.

@helperton I know you helped to review this pull request already, but I was wondering if you might be willing to take another pass at it? It's been updated to address some additional concerns, and I'd like to get your confirmation that it still works for you with these changes. Thanks for your help!

@melissa Hello, I've just downloaded the latest and things still seem to work as before during my testing.

Awesome, @helperton, thanks for your help! I'm hoping to merge this as soon as the 3.x pipeline goes green

This has been merged into puppet/3.x, and will be merged up into puppet/master. That means that things are going to be a little weird in that this will be available in Puppet 3.8 and Puppet 4.1, but not Puppet 4.0. If that's cause for concern, this work should have an additional pull request opened against the puppet/stable branch. Otherwise, we should be fine.


Miss

I hope this is the correct avenue to explain my problem. Ive done a small project after which i ran the cargo build command in the terminal but im unable to locate the executable file after
Finished dev profile [unoptimized + debuginfo] target(s) in 3m 21s
This is the message im getting and an empty build folder in the target location
Thanks!

By default, cargo build will put the binary in target/debug/<name/>.  You mentioned target/ is empty.  That is suspicious as there has to be something from the build.  Do you have any .cargo/config.toml set to move your target-dir?
I'd recommend running cargo run as it prints the path of the binary its running.

I think more clear reproduction steps are needed.  You say you are trying to access a built binary but cargo run says there are no bin targets to access.

I think more clear reproduction steps are needed.  You say you are trying to access a built binary but cargo run says there are no bin targets to access.

Yes
After running cargo build, i presumed an executable would be created in the target folder...which didnt happen.
After running cargo run i got the response there are no bin targets to access.
Im puzzled as i expected to find executables in the build folder

Could you provide a sample project that reproduces this problem?

Okay below is the link to project repository:
https://github.com/Thewsthews/Tasker.git

I ran
$ git clone https://github.com/Thewsthews/Tasker.git
$ cd Tasker
$ cargo build
error: unexpected closing delimiter: `}`
   --> src/main.rs:351:1
    |
154 |                         _ => {
    |                              - this delimiter might not be properly closed...
...
180 |                             }
    |                             - ...as it matches this but it has different indentation
...
351 | }
    | ^ unexpected closing delimiter

error: could not compile `todo` (bin "todo") due to 1 previous error

I even checked out that specific commit and got the same thing.
That error would prevent any binary from being created.

What would be the correct remedy for the above?
Ive spent sometime going over the issue but i seem not to get it

Perhaps you need to delete the extra closing on line 158? I am not sure. The code is not well indented and formatted. I am not the one created it, so only the author knows what it should be like.
Since this is a general Rust question, not a Cargo issue nor feature request, I am going to close this issue. Would suggest trying one of the user forums such as https://users.rust-lang.org/ to see if someone can help. Thank you :)


fix: register events when navbarpresenter owner is set

fixes https://github.com/unoplatform/uno.toolkit.ui/issues/1066

@mergifyio backport release/stable/5.1


Allow using multiple JAAS configurations and override the configuration per connection properties

We also set a different default LoginConfig for IBM JVM, so it should work well with user-provided
passwords and username for Kerberos.
Should solve https://github.com/Microsoft/mssql-jdbc/issues/66 for IBM JVM.

Codecov Report

Merging #254 into dev will increase coverage by 0.04%.
The diff coverage is 4.16%.

@@             Coverage Diff              @@
##                dev     #254      +/-   ##
============================================
+ Coverage     33.77%   33.82%   +0.04%
- Complexity     1522     1524       +2
============================================
  Files           101      102       +1
  Lines         23600    23585      -15
  Branches       3876     3868       -8
============================================
+ Hits           7972     7978       +6
+ Misses        14061    14041      -20
+ Partials       1567     1566       -1

Flag
Coverage Δ
Complexity Δ

#JDBC41
33.72% <4.16%> (+0.07%)
1519 <0> (+8)
:arrow_up:

#JDBC42
33.56% <4.16%> (-0.04%)
1509 <0> (-10)

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/JaasConfiguration.java
0% <0%> (ø)
0 <0> (?)

...m/microsoft/sqlserver/jdbc/KerbAuthentication.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java
73.71% <100%> (+0.07%)
25 <0> (ø)
:arrow_down:

src/main/java/microsoft/sql/DateTimeOffset.java
37.14% <0%> (-2.86%)
8% <0%> (-2%)

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
27.45% <0%> (-0.67%)
49% <0%> (ø)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
37.87% <0%> (-0.07%)
0% <0%> (ø)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
45.2% <0%> (+0.21%)
183% <0%> (ø)
:arrow_down:

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
25.38% <0%> (+0.29%)
182% <0%> (+4%)
:arrow_up:

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
48.31% <0%> (+2.24%)
17% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks @pierresouchay! Commits that were already in the dev branch got added to this PR when I submitted few changes. Can you rebase the code? I for some reason don't have permission.

@v-suhame DONE

Perfect! Thanks for contributing @pierresouchay!

@v-suhame cool!
Does it solves https://github.com/Microsoft/mssql-jdbc/issues/66 with IBM JVM?

Yes, it did solve #66 :)


Landing Page

Epic
#48
Description
### As a: prospective customer
I want to: see what FlowForge offers as a company
So that: I can easily decide whether FlowForge is something of interest to me or not.
Acceptance Criteria
Agree on the text belonging in:

[ ] #62
[ ] #63
[ ] #64
[ ] #65

@joepavitt Don't forget https://github.com/flowforge/website/issues/50 in the list of acceptance criteria.

@ZJvandeWeg have closed this as I'm happy with our Landing page design as things stand. We link to the blog/news in the header in the top-right, although do not offer a direct preview of the latest blog post on the home page, as things stand. I'm not sure where I would want this to live on the landing page at the moment, but will have a think about it, come up with some designs and move forward from there, with #50 as a standalone item.


TLS 1.2-only Compatible?

Bambora is moving to TLS 1.2-only. Is this compatible with that, as long as our CURL supports it?

Yes.
As you say, as long as your version of curl/libssl supports it.