APP_DATA_PATH should not default to directory next to executable file

As of now, the lack of GITEA_CUSTOM variable results in Gitea attempting to create its data directory next to executable file.
This is both counter intuitive and defective, because in most (I guess) cases, the executable will be placed in read-only directory. This may lead to issues like #3052, where developer uses right variable, but user still ends up with broken install.
I think the APP_DATA_PATH should default to ${HOME}/gitea on Linux and similar directories on other supported operating systems. These directories are writable by default and when there's no home directory, it was likely due to conscious admin decision.

If no environment variable is set it defaults to current working directory I think

Looks like it was the case until #3052, nevertheless the documentation says

If you install Gitea from binary, after the installation process ends, you can find the custom folder next to the binary.

All in all, both relative-to-executable and PWD dependent values seem rather unusual choices for this kind of software.

CWD is for ease of use when developing and also has been so historically.
It has been relative to executable from the start of the development but we have tried to move away from that and with 1.3.0 I hoped we have done that but probably there is still some error somewhere :(


How do I only activate when my chat participant is called?

Testing #205609
I don't want my extension to activate until my chat participant is called. I load some big JSON files into my chat participant and don't want to do that every time. There should be an activationEvent like onChatParticipant:thethingimention

We are still discussing how to do this, but we will be adding some activation event

It exists now (and is autogenerated when your package.json contributes a participant)


Fix getArtifactPath crash when arguments are null

Fixes https://github.com/flutter-tizen/flutter-tizen/issues/309.

Hmm, I'm not sure what was causing the issue #309, what triggered "Null check operator used on a null value"?

@HakkyuKim mode! causes the error here.
https://github.com/flutter-tizen/flutter-tizen/blob/ff8141bf44539d6df799cc0302c4a9b502b07a8f/lib/tizen_artifacts.dart#L52
Both platform and mode are null when getArtifactPath is called by https://github.com/flutter/flutter/blob/2.8.1/packages/flutter_tools/lib/src/doctor.dart#L465.

I'll merge this now because the issue is urgent. I'll create another PR for further related work.


Converting Filed

I'm trying to download 1080, 60 fps video. The error "Converting Filed" appears.
Here's that video:
https://www.youtube.com/watch?v=LXb3EKWsInQ

Hello, for me it worked.
Please try again, disable your VPN or refresh the page. Also check if you have set up your tampermonkey permissions correctly.

That's weird. Didn't do anything, just tried it again and it worked.... Thanks! Nice extension!


crate project failed

Version
3.7.0
Reproduction link
https://github.com/
Environment info
node version 10.15.3.

Steps to reproduce
failed reason is node-releases is not found
What is expected?
create success
What is actually happening?
not found  node-releases

I have the same problem.And the project created cannot npm run serve run.

cnpm & taobao registry are unstable right now.

As a workaround:
vue config -s useTaobaoRegistry false

已修复


Run Workerman in daemon mode with Windows

Running the Testman functional tests in GH actions with Win OS, stop indefinitely after run it.
Like if it was without daemon mode, and awaiting to finish.
If we use Symfony/Proccess work without problems.
Is it Workerman working in daemon mode in Windows?
Or we do anything bad ?
Windows
https://github.com/joanhey/TestMan/actions/runs/8039629986/job/21956826330#step:6:12

Ubuntu
https://github.com/joanhey/TestMan/actions/runs/8039629986/job/21956826073#step:6:12

Also work OK with Mac OS.
Workflow: https://github.com/joanhey/TestMan/actions/runs/8039629986/workflow
~Another curios fact, is that in windows install Workerman v4.0.0 and not v4.1.15 !!!
Edit: It seems that is for the constrains in the composer.json. We'll need to think a solution for win.~

Edit: It seems than in windows is not working correctly the Caret Version Range (^), but work OK with Tilde Version Range (~). But still fail the daemon mode with windows, with workerman v4.1.15.
PD: It'll be good to show at start in the info panel, in which OS is running.
Now we show Workerman version, PHP version and event lib using.

Workerman does not support daemon mode on Windows. Due to the lack of support for the posix pcntl module in PHP on Windows, many features cannot be implemented. I suggest temporarily not running unit tests on Windows, and only running them on Linux and Mac OS.

I'll use a php process.
Thank you!


Time taken for processing missing UI element - you can change default timeout 10s

Just a query. I am using the python package and created a function where I am looping through search terms and reading an xpath text (if available) with a try-except statement.
I noticed that if the intended xpath is available, TagUI quickly executes and moves on to the next command. However, it tends to get stuck for a few seconds processing and returning the error when the xpath cannot be found, before moving on to the next line of code.
While it is not an issue (other than time taken), I am just curious if this is something that is normal, or if I should be doing something else other than a try-except statement.
Thank you!

Hi @NS-27 for RPA for Python, it's a personal project, normally you can raise the issue at below URL -
https://github.com/tebelorg/RPA-Python/issues
But your question is actually common to TagUI. It is a feature by design. There is a default timeout of 10 seconds. This is to let your RPA auto-wait for some UI element to appear before throwing error. If error is immediately shown when something is not found, then you will get a lot of errors from a UI element have not be loaded on the screen yet.
To cut down this timing less than 10 seconds, you can use timeout step in TagUI or r.timeout() in RPA for Python.

Thank you Ken.


Add links to http headers.

Places in the spec require link headers matching links in content for responses.  The server is currently not architected to do this.
Update content interfaces in wfs3/ to somehow return links intended for headers.
Update handlers to make use of the header link info to set the appropriate headers.

Closing this per discussion on https://gitter.im/opengeospatial/WFS_FES.  They may still be appropriate for http responses, but if so can be considered part of that implementation.


Show only tabs for current window

The extension would suit me better if it only showed the tabs for the current window, instead of across windows. I use Window's multiple desktop feature a lot for context switching, but that means that when I'm in another browser instance it shows tabs I'm not interested in.
Possibly make it a setting since it seems others don't mind how it is right now (don't see any other issue/request). And is possibly quite easy by adding the correct option to browser.tabs.query.

@mikkel1156 Interesting point. Should be a trivial addition once we have a proper settings section with the default option being search all windows.


Cu 862hy9vqk get endpoint   auth0 users pawel badysiak

Description
Added new endpoint that will get all Auth0Users from current User,
Type of change
Please delete options that are not relevant.

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

How has this been tested?
This change has been covered with integration test.

[X] Integration tests
[X] Tested manually

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I have checked my code and corrected any misspellings
[ ] I have added frontend code and checked it for mobile & desktop

Task linked: CU-862hy9vqk GET endpoint - Auth0 users


Add default set of elements

Create a limited set of default elements, for now:

Button with text
Button with icon and text
Textinput
Scrollbar
Scrollcontainer
Dropdown/combo box
Checkbox
Radio box

I'll come up with a mock-up in figma and post it later.


fixed issue on initial npm start after npm install

Ran into an issue when creating a new website from cookiecutter that it was missing gulp concat after an npm install.

gulp-concat was removed in https://github.com/istrategylabs/mo-static/commit/0b54bed6a4c783de6980ccde1d95980a95694973. It's only use was so concatenate the banner.txt and the output js file. Instead we use the preamble option of UglifyJS2.
Do you have the latest version of this cookiecutter pulled down?

Looked like it; it recloned it before creating into ~/.cookiecutters

Ah! Can you delete this line instead? https://github.com/istrategylabs/mo-static/blob/master/{{ cookiecutter.repo_name }}/gulpfile.js#L7
It should have been removed in that commit I mentioned, sorry! Good catch!

Will do :)


Wrong scroll width calculation with Lua addon

I am using code mirror to edit Lua source code.
When both horizontal scroll bar and vertical scroll bar are present, sometimes the width calculation seems to be miscalculated.
The result is, sometimes, a small part of the longest line is covered by the vertical scroll bar so I can't see the last few characters. It happens when I right scroll to the end until i can't scroll any more, the last few characters are still covered.
It is strange that if I put several more spaces to the end of the line, after exactly 3 characters, I see the scroll width is re-calculated again and I can see the whole line, including the last 3 spaces all of a sudden.

Can you reproduce this in any of the demos on the website? Are you resizing the editor without calling its refresh method, by any chance?
(In any case, the Lua mode is probably not related to this, since there is very little a mode can do to break scrolling.)

Please see the attached screenshots.
First picture shows scrolling to the rightmost. Note the word "list" got covered by scroll bar. There is no way to see the last 3 characters.
I need to add at least 3 tailing spaces in order to make the word "list" show up. Adding two spaces the word still doesn't show up. Once the third space is added the line magically shifted and the word showed up.

I don't know. Since I can't reproduce this on, for example, the Lua demo, I'll need an example HTML file (simplified as much as possible) to be able to debug the issue.

Sorry I should attach the options earlier.
See options below.
It was created from CodeMirrow.fromTextArea()
{
tabMode: "indent",
matchBrackets: true,
theme: "neat",
indentUnit: 4,
indentWithTabs: true,
lineWrapping: false,
lineNumbers: true,
gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"],
highlightSelectionMatches: {showToken: /\w/}
}

Just the options don't help. I need a full, self-contained demo page.

    var textarea = $wnd.document.getElementById(editorid);
    var editor = $wnd.CodeMirror.fromTextArea(textarea, {
        tabMode: "indent",
        matchBrackets: true,
        theme: "neat",
        indentUnit: 4,
        indentWithTabs: true,
        lineWrapping: false,
        lineNumbers: true,
        gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"],
        highlightSelectionMatches: {showToken: /\w/}
    });
    editor.setSize(320, 200);
    editor.refresh();


Review logging output

Is your feature request related to a problem? Please describe.
Once we've got vr_run working with all of the core models, we should review the logging in a successful run to see:

What information is missing from the log?
Are the different levels (INFO, DEBUG  and maybe WARNING) in a successful run log being used consistently?

Definitely think that would be a good idea, it's probably worth trying to address the other logging level related issues at the same time as well (see #113, #160 and #190)

Hah. I'm going to call this a meta-issue and pretend I hadn't forgotten about those.


how to preserve id when sorting through a relation from another table

Hello, I have a datatable where I obtain certain columns from other tables, for example the column "customer" is obtained through a relation from another table

But when I press the sort by customer button, the IDs change to the ID of the table where the relation belongs

This generates errors in the buttons that I have on the right since these IDs do not exist in the "meos" table, only in the "locations" table that is in the relation
How can I make it sort while keeping the same ID it had?
I want to always keep as order criteria the ID of the table I am with, which is the "meos" table belonging to the "meo" class
This is my query
    public function query()
    {
        $languageId = Auth::user()->language_id;
        return Meo::with(['businessType' => function ($query) use ($languageId) {
            $query->with(['businessTypeDescriptions' => function ($subQuery) use ($languageId) {
                $subQuery->where('language_id', '=', $languageId);
            }]);
        }])->with('location');
    }

this is my function getcolumns
    protected function getColumns()
    {
        return [
            Column::make('id')->addClass('text-center')->title(__('digestReport.columns.id')),
            Column::make('location.location_name')->addClass('text-center')->title(__('digestReport.columns.customer')),
            Column::make('businessType')->addClass('text-center')->title(__('digestReport.columns.business_type'))->searchable(false),
            Column::computed('action')->exportable(false)->printable(false)->width(160)->addClass('text-center')->title(__('digestReport.columns.actions')),

        ];

    }

please, I need help.
Thanks :)

You need to include a select on your query to preserve the id. See the old demo for ref: https://datatables.yajrabox.com/eloquent/relationships
Meo::select('meos.*')


Vaccination certificate validation country list: there is country called "UP" in the list

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[ ] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Technical details

Device name: iPhone 6s
iOS version: 14.4.2
App version: 2.7.2 (0)

Describe the bug
While validating the vaccination certificate I see there is country called UP in the country list. Just a heads-up whether this is intentional or not.

Steps to reproduce the issue

Go to 'Certificate'
Click on the already added 'vaccination certificate QR code'
Click on 'Check Validity'
Scroll down throw the list of 'country' under 'Check for'
See error - A country called 'UP'

Expected behaviour
I am not sure if such a country exists.

Possible Fix

Additional context

Internal Tracking ID: EXPOSUREAPP-9054

"UP" is a country code, that's shown if there is no localized name for the country available. However, I'm also unsere for which country "UP" stands.

UP Stands for Ukraine

The issue is fixed

@ahsanemon Thanks for reporting, see comment https://github.com/corona-warn-app/cwa-app-ios/issues/3383#issuecomment-901971903.
Please, close this issue.

Corona-Warn-App Open Source Team

You people are doing a great job. Thanks a lot. :clap:


GUI does not allow graceful-master-takeover when in PGTID

Servers are in PGTID mode, as indicated by the icon.

When placing GUI into 'Pseudo-Gtid Mode', attempt to drag mysql2 over to mysql1 says 'cannot drop here'.

Changing to Classic Mode, GTID Mode, both say same cannot drop here. But placing GUI into 'Smart Mode', PROMOTE AS MASTER:

Using API graceful-master-takeover also works.

I'm also interested about why it works like that.
I've GTID activated an all MySQL Instances but I can do a graceful-master-takeover only in smart mode. All others modes displays the "Cannot drop here" sign.

Thank you. I think this restriction can be fixed. I don't recall there was an intent to have this restriction and don't see why we wouldn't lift it.

addressed by https://github.com/github/orchestrator/pull/895


Az CLI resource graph Bug in PowerShell console host

Describe the bug
Issue in the below query
az graph query -q "where type =~ 'Microsoft.Compute/virtualMachines'" --include displayNames --first 5 --query "[?contains(subscriptionDisplayName,'STRING')]"

Works fine in cmd prompt but not in PowerShell console host
Command Name
``
Errors:
] was unexpected at this time.
C:\Solutions>  "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\..\python.exe" -IBm azure.cli graph query -q "where type =~ 'Microsoft.Compute/virtualMachines'" --include displayNames --first 5 --query [?contains(subscriptionDisplayName,'STRING')]
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
``

Expected Behavior
Should work like in AZ CLI host
Environment Summary
Windows-10-10.0.16299-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.74 *

Extensions:
log-analytics 0.1.3
resource-graph 1.0.0

Additional Context

@jiasli Please take a look.

Hi @ChendrayanV , this is an issue in PowerShell, you can fix this issue by adding a space between ] and ", here is the correct command: az graph query -q "where type =~ 'Microsoft.Compute/virtualMachines'" --include displayNames --first 5 --query "[?contains(subscriptionDisplayName,'STRING')] "

I didn't get error running this command, and CLI receives the argument correctly.
> az graph query -q "where type =~ 'Microsoft.Compute/virtualMachines'" --include displayNames --first 5 --query "[?contains(subscriptionDisplayName,'STRING')]" --debug
Command arguments: ['graph', 'query', '-q', "where type =~ 'Microsoft.Compute/virtualMachines'",
'--include', 'displayNames', '--first', '5', '--query', "[?contains(subscriptionDisplayName,'STRING')]",
'--debug']

Could you share the real command? I doubt there may be special characters in STRING.
We have a doc talking about quoting issues in PowerShell terminal: https://github.com/Azure/azure-cli/blob/dev/doc/use_cli_effectively.md#quoting-issues

My Windows 10 is 1909 and has PowerShell Core installed:
> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.18362.628
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.628
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.2.4
PSEdition                      Core
GitCommitId                    6.2.4
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.0-rc.3
PSEdition                      Core
GitCommitId                    7.0.0-rc.3
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This issue doesn't occur on any of these versions. CLI receives the arguments correctly:
> az graph query -q "where type =~ 'Microsoft.Compute/virtualMachines'" --include displayNames --first 5 --query "[?contains(subscriptionDisplayName,'STRING')]" --debug
Command arguments: ['graph', 'query', '-q', "where type =~ 'Microsoft.Compute/virtualMachines'",
'--include', 'displayNames', '--first', '5', '--query', "[?contains(subscriptionDisplayName,'STRING')]",
'--debug']

While @qianwens's solution is correct for old versions of PowerShell, you may also update the Windows or PowerShell version to solve this.
In addition, we have a doc talking about quoting issues in PowerShell terminal: https://github.com/Azure/azure-cli/blob/dev/doc/use_cli_effectively.md#quoting-issues


padreati's first try

I have used virtual threads to process in parallel chunks of the input file, some SIMD Vector API to check for new lines and commas, actually nothing too fancy.
On my laptop Ubuntu i7 4 cores, 8 threads I get something around 45 seconds, the original benchmark being 2min51sec.
I have also added some configuration for using vector api and enable preview in the maven pom file.

Woot, woot, first implementation using the Vector API!

Nice one! Clocking in at 0:50:547 in the official evaluation environment (i.e. interestingly, the relative improvement there is quite a bit bigger than in the numbers you shared). Perhaps wider AVX lanes (it's some AMD EPYC chip)?


cron service cannot see volume..?

this service:
        "mycron": {
            "type": "cron",
            "schedule": "*/1 * * * *",
            "command": "./cron.sh",
            "volumes": [{
                "name": "data",
                "destinationPath": "/data"
            }]
        }

does not seem to be able to access files in /data ..?

I may be wrong about this.... sorry! to be confirmed


[Verify] Inefficient email checking on startup

Describe the bug
The following message is printed to the console upon bot startup:
user with id (USER_ID,) not found in GUILD_NAME
This bug/ current implementation also takes a long time to run by checking each email against each server where applicable. Instead only users within a server should be checked for if a verified email exists. Not the other way around (Checking for the user within a server for each valid email)
To Reproduce
Numbered steps to reproduce the behavior:

Create 2 guilds
Have one user in one guild but not the other
Have that user verify with an email that matches both guild's verification settings
See error

Expected behaviour
No errors should be posted to the console. Any errors should use 'logging' library instead
Screenshots
N/A due to privacy
Contact Information (optional):

Version: 0.4.2 (latest)

Additional context
N/A

that particular bit to reproduce it isn't on startup, it's for adding verifications to a user. since we don't have a local way of checking if a user is in a specific server its probably better to just catch the error silently and move on rather than logging it though, you're right. I've reworked the one on startup to only attempt it on guild members though.

Just make sure it is as efficient as possible as we are frequently rate limited, and need to decrease the amount of requests sent to discord


add my company

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[x] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

add my company


Feature/make it async

Hello,
Recently I had to transform a codebase, that had a dependency on this library, to use asyncio. Therefore, I transformed the stream_unzip.py to accept an asynchronous generator as data source, and run the entire unzipping process asynchronously. I would like to contribute the modification back to this original library, so here is my modified code.
Note, that there has not been any modification that concerns the core unzipping/decrypting etc. functionality, only the generators and data passing has become asynchronous. To prove this I have rewritten the tests in test.py to check the new async behavior, the result can be seen here, all of them are passing.

Wow! Thanks for this
I am unsure about the duplication I have to admit. Instead, should there be a layer that allows calling all the existing sync code in stream_zip from the async world? Something like the following: (only briefly tested)
import asyncio
from stream_unzip import stream_unzip

async def async_stream_unzip(chunks, *args, **kwargs):

    def to_sync_iterable(async_iterable):
        async_it = aiter(async_iterable)
        while True:
            try:
                yield asyncio.run_coroutine_threadsafe(anext(async_it), loop).result()
            except StopAsyncIteration:
                break

    async def to_async_iterable(sync_iterable):
        # to_thread raises an error if StopIteration raised in it, so we avoid that by using
        # a "done" sential object at the and of the iterable
        done = object()

        def to_thread_safe_next(it):
            try:
                return next(it)
            except StopIteration:
                return done

        it = iter(sync_iterable)
        while (value := await asyncio.to_thread(to_thread_safe_next, it)) is not done:
            yield value

    loop = asyncio.get_event_loop()
    unzipped_chunks = stream_unzip(to_sync_iterable(chunks), *args, **kwargs)

    async for name, size, chunks in to_async_iterable(unzipped_chunks):
        yield name, size, to_async_iterable(chunks)

Also, I would probably lean to this being in the same module, stream_zip.py, so from the point of view of client code, the imports are always from stream_zip
And finally, running the tests it looks like they don't pass on Python 3.6 and 3.7: looks like since they use IsolatedAsyncioTestCase which I think was only introduced in Python 3.8. I think I'm a fan of continuing to support older versions of Python unless we really can't for some reason.

Ah just realised that to_thread I think is Python 3.9 onwards. But... looks like its code is simple https://stackoverflow.com/a/65319037/1319998 and we can have a version in stream-unzip?

Turning in a stream of consciousness a bit, but I think I am more and more a fan of not having the duplication, and instead having a thread-based layer in front of the existing sync code to avoid blocking the event loop. Unless the performance implications of such a layer are really tremendous, then I suspect that for the vast majority of cases this will be good enough.
The main reason is maintainability I think: already this is a lot of quite specific knowledge required to make changes in this library. If this were to go in, to make almost any change a maintainer would need all of:

Good knowledge of the ZIP format
Good knowledge of sync iterables/generators
Good knowledge of async iterables/generators
To keep two almost identical versions of code in-sync, which is usually seen as painful and error-prone.

Of the above, 1. and 2. I suspect are inescapable really, but with a thread-based layer 3 and 4 are avoided for a large classes of changes. And on 3: as much as I do like async in general, I can't escape the fact that, at least anecdotally, many Python developers are not able to reason about it as well as sync code. (Maybe I am being condescending here... not sure. But I wouldn't want my fear of being condescending to make me unrealistic)

Hello, there, yes I think you are right, normally duplicated code is not ideal, I just did it because originally I looked into your code and I identified quite quickly what needs changing for it to be async so I changed it. I have not really tried to optimize, just quickly rewrote the parts that enable async iterations.
All in all, your proposed solution is much better, I agree with all the points that you have mentioned, and very much welcome the interest in incorporating async functionality.

Recently I had to transform a codebase

I'm curious - can I ask what this transformation was in more detail? And why it was decided to be done? Essentially this is to have a bit of knowledge of how stream-unzip is used in order to inform future changes.

Sure, we have a task where we run anomaly detection on a lot of files, and for that we have to fetch them. Some files were in zip archives therefore these needed to be unzipped (your lib was/is being used to do this) . Recently, as there was a lot of IO involved, and since Python is knowingly bad at multithreading but for IO bound tasks async execution is fitting, we have decided to switch to asyncio for both log fetching and local file management.
Also we implemented a “semi-multiservice” architecture where services can also be horizontally scaled, but at the heart, this async transformation was. By using this arch. we achieved a non-indispensable speed up compared to full sync processing.

Ah good to know - thanks!

Inspired a bit by this PR and discussion, have just added async support (via threads) to stream-zip: https://github.com/uktrade/stream-zip/pull/114

@marcell-szabo To check, would you be ok with converting this PR to use a threads-based layer like in this message, and like the threads-based layer that's now in stream-zip
No is of course all good, but just if it is no, I/we might do it ourselves

As discussed, a threads-powered async interface has now been released in v0.0.91


some buffering fix attempts

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1252  👈
#1235
#1251
#1239
#1238
#1237
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rohinb2 and the rest of your teammates on  Graphite


No log out

Android, v1.1.5-beta.1
When I press back arrow at the bottom left of the Android screen, the wallet asks me "Do you want to exit the App?"
If I press OK, it redirects me to the phone's main screen. But when I press the square at the bottom right of the Android screen, Polkawallet is still in the list of the open apps and I can reenter it without password.
I couldn't find any other way to log out.

There is no log out.
This wallet was designed to be accessible without password. Password is only required when signing and sending a Tx.
If you have several different accounts in the wallet, you will have several different passwords for each account. Just behaving like the Polkadot official wallet: polkadot-js chrome extension.
We will consider to make the wallet become accessible only with a password. Thanks for your feedback.

Thank you for the answer, I understand.
Still, notwithstanding, when it's in the list of open apps after I've exited it, it looks like a bug.

If you press the square menu button of Android, it will show you a list of apps that you have opened, not open apps. Exited apps will not disappear from this list automatically.

Sorry, but it's just not true. All exited apps do disappear from the least, except for the wallet

Probably, you mean that they don't disappear when you log out. Which is true, but in case of Polkawallet it's not a log out, because, as you've said, there's not log out in Polkawallet.


Bump juttle-viewer to 0.1

One more time: @demmer @mstemm

You need to also remove the old entry. Then +1

whoops #rebaseFail


[Music] 'Add to Playlist' command not working

Extension
https://www.raycast.com/fedevitaledev/music
Description
Running the "Add to Playlist" command while the song is running results in an error and the song is not added to the requested playlist. This happens regardless of whether the command is manually initiated on Raycast or through keyboard shortcut. This error also happens regardless of which playlist is selected as the destination.
Steps To Reproduce

Have song playing in Apple Music

Run 'Add to Playlist' Command through Raycast (either through keyboard shortcut or command line)

Run into error

Current Behaviour
Results in Error:
Error: Command failed with exit code 1: osascript -e tell application "Music" to duplicate current track to playlist "Music"
28:71: execution error: Music got an error: Can only duplicate subscription tracks to library source. (-10006)
at O0 (/Users/Shrek/.config/raycast/extensions/2bfe94cd-50ab-4e48-a6cd-f1ff47a72706/add-to-playlist.js:5:59)
at /Users/Shrek/.config/raycast/extensions/2bfe94cd-50ab-4e48-a6cd-f1ff47a72706/add-to-playlist.js:5:10477
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Mc (/Users/Shrek/.config/raycast/extensions/2bfe94cd-50ab-4e48-a6cd-f1ff47a72706/add-to-playlist.js:5:38103)
Expected Behaviour
Add song to playlist

Thanks for reporting! Can you please post the song you were trying to add?

It didn't work for any songs I tried to add. I've tried this command with ~ 10 different tracks from different artists over the past two days.
I've copied some songs that I tried this command with:

Snooze - Sza
LOVE. - Kendrick Lamar
Ballad of the Basement - WILLIS
Ruby Fields - Sarah and the Sundays

However, of note I can add songs to my library through the extension command.

I might have to remove this command. Unfortunately, Music doesn't allow adding a track to a playlist if the track is not present inside the user library.
This has been my fault, while testing I only tried songs from my library.
https://www.macscripter.net/t/add-current-track-from-apple-music-to-playlist/72058/6

On my Mac the command "Add to playlist" have worked always good. Was one of the most used commands for me (for adding songs from a playlist to another). Can you restore the command, maybe adding in the readme file all the informations about the limitations with the songs that are not present in the user's library? Thanks! 🙏

@Rawnly Seems this feature was short-lived. Just wanted to add that I've been able to add songs that weren't in my library, so I think there's something else going on with this. Currently I can't add anything to playlists at all, doesn't matter if they're in my library or not.

25:29: syntax error: A end of line can’t go after this “to”. (-2740)
    at S0 (/Users/federicovitale/.config/raycast/extensions/2bfe94cd-50ab-4e48-a6cd-f1ff47a72706/add-to-playlist.js:5:59)
    at /Users/federicovitale/.config/raycast/extensions/2bfe94cd-50ab-4e48-a6cd-f1ff47a72706/add-to-playlist.js:5:10477
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async qc (/Users/federicovitale/.config/raycast/extensions/2bfe94cd-50ab-4e48-a6cd-f1ff47a72706/add-to-playlist.js:5:38131)

I see, there's a typo at the end of the script! I'm sorry maybe prettier broke something just before pushing, @gukj can you  paste here the stack trace, so I can figure out if it's the same problem as mine.

@gukj I see, there's a typo in the script, thanks for reporting, something weird must be happened when merging

https://github.com/raycast/extensions/blob/6a5f1b00828ca7171b8c7e77efa78d951e7c37d5/extensions/music/src/util/scripts/current-track.ts#L36 here should be using runScript utility over the tell

Fixing here https://github.com/raycast/extensions/pull/4719

@gukj can you provide some feedback after the #4719 fixes? So I can close this issue

Works great 🎉
Testing

Successfully added 5/5 song that we're already in my library
Successfully added 5/5 songs that weren't in my library
Issues
Doesn't respect the "Add song to Library when adding to playlist" setting. Instead adds song to library.
Adding songs to playlist that aren't in the library takes a couple of seconds, but the Raycast UI doesn't show any indicator that something is going on, so I accidentally added a song three times by simple hitting return three times.

All-in-all I'm very happy with using it despite these issues. Thanks a ton for taking the time!


fix: DIA-989: LSF hotkeys being stuck when LSF is destroyed

Whenever you enter Labeling Interface (Quick View, Label Stream, Labeling Settings), hotkeys assigned to labels and choices are not being unbound when you leave the given page. This sometimes causes an inability to input certain characters in other places of the app.
PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[x] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[ ] Backend (API)
[x] Frontend

What is the new behavior?
Auto-assigned hotkeys are now correctly unbound when leaving a page (LSF destroyed)
Does this change affect performance?
No
Does this change affect security?
No
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[x] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
Frontend, Global

/git merge develop

/git merge develop


example-movies openCRUD API

I tried to update every feature that used the backwards compatible, so that it uses the new API. I also updated the docs

Nice! Thanks so much :)


PLTCONN-3079: add nil check to validate command flags

Description
What is the intent of this change and why is it being made?
add nil check to validate command flags config-json and config-path
How Has This Been Tested?
What testing have you done to verify this change?
Unit testing

This is a fix for issue #81


Add table-driven policy rule merge & resolve tests

This the beginnings of a table-driven approach for ensuring that high-level policy api.Rule lists generate the correct underlying datapath keys for applying the policy.
The first few commits can likely be split out into a separate PR and merged for general use.
The final commit has the main test functionality like this:
  //  Rule 0                   | Rule 1         | Rule 2         | Rule 3         | Rule 4         | Desired BPF map state
  {0, api.Rules{rule____NoAllow, rule____NoAllow, rule____NoAllow, rule____NoAllow, rule____NoAllow}, MapState{}},
...
  {5, api.Rules{rule____NoAllow, rule____NoAllow, ruleL3L4__Allow, rule____NoAllow, ruleL3____Allow}, MapState{mapKeyAllowFooL4: mapEntryL7None_, mapKeyAllowFoo__: mapEntryL7None_}},
...

This starts with a definiton of some rules, then follows with the desired BPF map state for the endpoint "foo". These test numbers correlate to the first column in a Google doc. This doc summarises the set of tests that are important to validate merging of overlapping rules. There are currently some minor divergences between the doc and the testsuite code here, however these should be addressed when #7439 and #7438 are resolved/merged.
Example test failure for debugging:
$ git diff
diff --git a/pkg/policy/distillery_test.go b/pkg/policy/distillery_test.go
index 3123e8e8b0c5..a5de6460b183 100644
--- a/pkg/policy/distillery_test.go
+++ b/pkg/policy/distillery_test.go
@@ -252,7 +252,7 @@ func Test_MergeRules(t *testing.T) {
        }{
                //  Rule 0                   | Rule 1         | Rule 2         | Rule 3         | Rule 4         | Desired BPF map state
                {0, api.Rules{rule____NoAllow, rule____NoAllow, rule____NoAllow, rule____NoAllow, rule____NoAllow}, MapState{}},
-               {1, api.Rules{rule____NoAllow, rule____NoAllow, rule____NoAllow, rule____NoAllow, ruleL3____Allow}, MapState{mapKeyAllowFoo__: mapEntryL7None_}},
+               {1, api.Rules{rule____NoAllow, rule____NoAllow, rule____NoAllow, rule____NoAllow, ruleL3____Allow}, MapState{}},
                {2, api.Rules{rule____NoAllow, rule____NoAllow, rule____NoAllow, rule__L4__Allow, rule____NoAllow}, MapState{mapKeyAllowFooL4: mapEntryL7None_}},                                    // Differs from spreadsheet(!)
                {3, api.Rules{rule____NoAllow, rule____NoAllow, rule____NoAllow, rule__L4__Allow, ruleL3____Allow}, MapState{mapKeyAllowFooL4: mapEntryL7None_, mapKeyAllowFoo__: mapEntryL7None_}}, // Differs from spreadsheet(!)
                {4, api.Rules{rule____NoAllow, rule____NoAllow, ruleL3L4__Allow, rule____NoAllow, rule____NoAllow}, MapState{mapKeyAllowFooL4: mapEntryL7None_}},
$ make unit-tests TESTPKGS=pkg/policy
...
--- FAIL: Test_MergeRules (0.02s)
    --- PASS: Test_MergeRules/permutation_0 (0.00s)
    --- FAIL: Test_MergeRules/permutation_1 (0.00s)
        distillery_test.go:305: Rules:
            [&{EndpointSelector:{"matchLabels":{"any:foo":""}} Ingress:[{FromEndpoints:[] FromRequires:[] ToPorts:[] FromCIDR:[] FromCIDRSet:[] FromEntities:[] aggregatedSelectors:[]}] Egress:[] Labels:[] Description:},
            &{EndpointSelector:{"matchLabels":{"any:foo":""}} Ingress:[{FromEndpoints:[] FromRequires:[] ToPorts:[] FromCIDR:[] FromCIDRSet:[] FromEntities:[] aggregatedSelectors:[]}] Egress:[] Labels:[] Description:},
            &{EndpointSelector:{"matchLabels":{"any:foo":""}} Ingress:[{FromEndpoints:[] FromRequires:[] ToPorts:[] FromCIDR:[] FromCIDRSet:[] FromEntities:[] aggregatedSelectors:[]}] Egress:[] Labels:[] Description:},
            &{EndpointSelector:{"matchLabels":{"any:foo":""}} Ingress:[{FromEndpoints:[] FromRequires:[] ToPorts:[] FromCIDR:[] FromCIDRSet:[] FromEntities:[] aggregatedSelectors:[]}] Egress:[] Labels:[] Description:},
            &{EndpointSelector:{"matchLabels":{"any:foo":""}} Ingress:[{FromEndpoints:[{"matchLabels":{"any:foo":""}}] FromRequires:[] ToPorts:[] FromCIDR:[] FromCIDRSet:[] FromEntities:[] aggregatedSelectors:[]}] Egress:[] Labels:[] Description:}]

        distillery_test.go:306: Policy Trace:
            [distill] Endpoint selected by policy: true
            [distill] Evaluating L4 -> [any:foo any:red]
            Resolving ingress port policy for [any:foo any:red]
            * Rule {"matchLabels":{"any:foo":""}}: selected
                No L4 Ingress rules
            * Rule {"matchLabels":{"any:foo":""}}: selected
                No L4 Ingress rules
            * Rule {"matchLabels":{"any:foo":""}}: selected
                No L4 Ingress rules
            * Rule {"matchLabels":{"any:foo":""}}: selected
                No L4 Ingress rules
            * Rule {"matchLabels":{"any:foo":""}}: selected
                No L4 Ingress rules
            5/5 rules selected
            Found no allow rule
            [distill] Evaluating [any:foo any:red] -> [any:foo any:red]
            * Rule {"matchLabels":{"any:foo":""}}: selected
            * Rule {"matchLabels":{"any:foo":""}}: selected
            * Rule {"matchLabels":{"any:foo":""}}: selected
            * Rule {"matchLabels":{"any:foo":""}}: selected
            * Rule {"matchLabels":{"any:foo":""}}: selected
                Allows from labels {"matchLabels":{"any:foo":""}}
                  Found all required labels
            +       No L4 restrictions
            5/5 rules selected
            Found allow rule
            [distill] L3 ingress allow
            [distill] Producing L4 filter keys

        distillery_test.go:307: Policy obtained didn't match expected for endpoint [any:foo any:red]:
            Unified diff:
            --- obtained
            +++ expected
            @@ -1,3 +1,2 @@
             policy.MapState{
            -    {Identity:0x64, DestPort:0x0, Nexthdr:0x0, TrafficDirection:0x0}: {},
             }
...

This change is

test-me-please

Hit CI flake #7443. Ready for review.

test-me-please

Coverage increased (+0.03%) to 42.357% when pulling 3f52b64950a6c66a8ffe7625838b9666cb0b6176 on joestringer:submit/policy-test-preview into 80912fc6cb2b2dd6ef92cec3080c66d33d36a925 on cilium:master.

Rebased against #7349.

test-me-please

test-me-please

@aanm As nice as that would be, there are only 32 combinations and given that I've already translated all them across I don't see any benefit to spending the effort writing such a tool at this point.

test-me-please


Added demo for intrinsic size

@ebidel PTAL thanks

Done. PTAL.

One question I have about the feature is how it plays with https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit. object-fit is intended to maintain aspect ratio.
Maybe you could add 1-2 sentence in the demo description that address that for readers?

Updated description. Ready to merge.


temporarily remove collapse/expand button for header

Describe the improvement
Currently, it is confusing as to what the collapse/expand button does. Some users think this button expands/collapses the metadata sections, while it actually expands/collapse the summary header. This could be caused by the placement of the button next to the metadata tabs.
Short term action is to remove this button.
Longer term action is to rethink the design of the header to save space (less information in header) and/or to automatically collapse it when scrolling down. Less information could be only the title, status, biblio id.

ok

The expand/collapse button has been removed and the header only contains the title as intended.

However, after editing the dataset details, the complete header appears again.

ok


Refactoring InterfaceStatusType

Decision on the 5G-xhaul call on 23rd of March 2022:

The 'ADMIN_DOWN' and the 'LOWER_LAYER_DOWN' value shall be deleted from the list.

The comments of the remaining values shall be complemented by the following statements:

UP: 'It is expected that the LogicalTerminationPoint::operationalState attribute is expressing this logical layer being available for use (means: ENABLED), while this value occurs.'

DOWN: 'It is expected that the LogicalTerminationPoint::operationalState attribute is expressing this logical layer being NOT available for use (means: DISABLED), while this value occurs.'

TESTING: 'It is expected that the LogicalTerminationPoint::operationalState attribute is expressing this logical layer being NOT available for use (means: DISABLED), while this value occurs.'

UNKNOWN: 'While this value occurs, the LogicalTerminationPoint::operationalState attribute, which is expressing the availability of the logical layer for being used, might have either ENABLED or DISABLED as value.'

DORMANT: 'It is expected that the LogicalTerminationPoint::operationalState attribute is expressing this logical layer being available for use (means: ENABLED), while this value occurs.'

NOT_PRESENT: 'It is expected that the LogicalTerminationPoint::operationalState attribute is expressing this logical layer being NOT available for use (means: DISABLED), while this value occurs.'

NOT_YET_DEFINED: 'While this value occurs, the LogicalTerminationPoint::operationalState attribute, which is expressing the availability of the logical layer for being used, might have either ENABLED or DISABLED as value.'

Solved with IpInterface_1.0.0-tsp.220330.1845.


event_set is a deprecated function

event_set is used in server.cpp, but it is deprecated

closed by #332


Allow disable metadata operation async retry and fail fast on unrecoverable DB error

Why are the changes needed?

The key changes are

allow disabling metadata operation retry
always fail fast on "duplicated key on unique index" error

Currently, when metadata operations failed, we always do async retry, to tolerate long-time metadata store outages w/o blocking the submission request, but it can not guarantee metadata consistency eventually, e.g. when inserting data violates the unique key restriction, it will never succeed, and block any following update request for the batch job, in such cases, the client gets succeed response but the metadata can not be updated correctly.
We should distinguish between recoverable and unrecoverable errors, for unrecoverable errors, we should fail fast, but the fact is it's hard to enumerate all recoverable nor unrecoverable errors, in this PR, we just enumerate the "duplicated key" as unrecoverable errors, and provide a switch to disable async retry so that the error can propagate to client correctly.
Some configurations are renamed w/ the async. prefix(the original key still takes effect) because we may introduce the sync retry logic in the future.
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #4418 (6d3e142) into master (59c1875) will decrease coverage by 0.61%.
The diff coverage is 71.96%.

@@             Coverage Diff              @@
##             master    #4418      +/-   ##
============================================
- Coverage     53.75%   53.15%   -0.61%
  Complexity       13       13
============================================
  Files           564      569       +5
  Lines         30978    31103     +125
  Branches       4170     4205      +35
============================================
- Hits          16653    16533     -120
- Misses        12767    12997     +230
- Partials       1558     1573      +15

Impacted Files
Coverage Δ

...pache/kyuubi/server/metadata/MetadataRequest.scala
0.00% <ø> (ø)

...ommon/src/main/scala/org/apache/kyuubi/Utils.scala
72.25% <60.00%> (-0.76%)
:arrow_down:

...pache/kyuubi/server/metadata/MetadataManager.scala
77.22% <67.01%> (-7.06%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.33% <96.00%> (-0.22%)
:arrow_down:

.../kyuubi/engine/spark/operation/ExecutePython.scala
0.00% <0.00%> (-81.47%)
:arrow_down:

...e/spark/api/python/KyuubiPythonGatewayServer.scala
0.00% <0.00%> (-73.92%)
:arrow_down:

...ache/kyuubi/plugin/spark/authz/serde/package.scala
65.62% <0.00%> (-18.75%)
:arrow_down:

.../authentication/EngineSecuritySecretProvider.scala
84.61% <0.00%> (-15.39%)
:arrow_down:

...ine/spark/operation/SparkSQLOperationManager.scala
79.79% <0.00%> (-6.07%)
:arrow_down:

...rg/apache/kyuubi/engine/spark/SparkSQLEngine.scala
68.65% <0.00%> (-1.50%)
:arrow_down:

... and 23 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

retry synchronously may introduce state consistent issue. say, the first action udates state to running and second action (different thread) upadates state to cancel, and the first action fails but retry successfully.

can you update the outdate pr description ?

can you update the outdate pr description ?

updated

Thanks, merged to master/1.7


Error in Cryptobox.class.php

Source Downloaded.
Public and Private key Editeds.
Database configured.
PHP Parse error:  syntax error, unexpected '[' in /var/www/Payment-Gateway/cryptobox.class.php on line 1087
Any idea ?

Update php to 5.6+
This is line -
https://github.com/cryptoapi/Payment-Gateway/blob/master/cryptobox.class.php#L1087


Add another group Experiment

Right now only one survey can exist per MTH5 file.  It might be useful to add an extra layer so that multiple surveys can be in one file, and that would be Experiment, like how the metadata is setup.
Experiment
    |-> Survey
        |-> Station
            |-> Run
                |-> Channel

This seems to be working


Add Jansson type with dump() and dumps()

>>> import pyjose
>>> jwk = pyjose.demo()
>>> jwk
<pyjose.Jansson object at 0x7f64935a80b0>
>>> jwk.dump()
{u'alg': u'A128GCM', u'use': u'enc', u'key_ops': [u'encrypt',
u'decrypt'], u'kty': u'oct', u'k': u'hiT7wXvtoWyMwd46zW1tQA'}
>>> jwk.dump()['alg']
u'A128GCM'

Signed-off-by: Christian Heimes<EMAIL_ADDRESS>

I'm sorry you spent a lot of work on this. I absolutely do not want to expose the jansson type.

pyjose will only ever accept/return dicts and strings. This is the strength of the pyjose API.

We aren't going to use the json module either. It's just a bad idea to pull another JSON library into this library. We have jansson and it works perfectly fine and fast.
We don't have to expose the jansson but we should use it internally.

Not mixing json implementations isn't a requirement. Here are our requirements:

Convert a dict/string to/from a json_t type internally.
Generate an exception when the input can't be converted to valid JSON.
The exceptions should be the same as what the Python standard json module throws.
Performance.
Don't add dependencies beyond Python stdlib.

Using my method of marshalling to JSON using the built-in json module solves all requirements except possibly 4 in a single line of code. It is thus far more maintainable. Now, your method might be required in the future to satisfy 4. But this will require great care in order to satisfy 3. It is also fragile and will be prone to breakage.
Hence, I'm strongly against this method until 4 can be shown to be a concern. Doing it before then is unnecessary optimization at great cost.

As I said on IRC, I think that this patch is roughly the size of the complete code base using my method. That means we double the size of the code base.


Feature/small changes

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix memory leaks in C kernels for CCSD(T)

Fixes #1513. There were a bunch of malloc statements without corresponding free statements. I've done some simple testing of both CCSD(T) and UCCSD(T) calculations, and I'm not observing any more leaked memory.

Hi Jonathan, just want to say thanks for your diligence in documenting, diagnosing, and fixing this bug. Much appreciated!

No problem. I'm happy to contribute to the health of open-source software in chemistry. Also, I'm trying to generate some data on a deadline, and I decided that fixing problems in PySCF was likely to be faster than migrating my workflow to some other code that might very well have its own distinct set of problems waiting for me.


Some questions about the code

Hi, I found this tool on 1point3acres and I'm interested in improving it.
Since leetcode change their URL for problem list, your PROBLEM_URL is not working now. I figured out the new API URL and made some change.
Besides, I have two questions about your implementation:

Why do you need to store the password as plain text in local file? Since we have the session id and other information which can keep login, it that still necessary?
I notice that you cache all the problems in local file including the status of each problem. Once you store it, it will never be updated, include the status.

oh I see when you update the cache

Thanks again man! Now the 'list' is fixed to support this new leetcode api. Later will release it out.
As the password thing, in the very beginning I was thinking of supporting auto re-login when the session expired, thus the password is needed. You see leetcode will expire the previous session if new one is created. For example when you login on web page, the cli session will get expired immediately. That's why re-login is needed otherwise 403 forbidden will occur as #2 issue said.
While now I'm more preferring another option that to NOT save password in file for the sake of security, instead we can prompt login again in case of session expired. Please let me your idea about this.


Performance bottleneck after add and connect relay

Describe the enhancement
I've got in strange stiuation which my query very slow after add and connect other relay (not in bootstrap relay). I initially thought some bug in my code, but I've checked all functions, only things visible is after try add/remove connect more relay.
You can check the record video here:
https://files.catbox.moe/ux22s7.mov

I'll working on reproceduce repo later today.

Oh sorry, I just find out the relay wss://inbox.nostr.wine very slow when query kind 0 event 😅


Allow imports in declare module

Q
A

Bug fix?
no

Breaking change?
no

New feature?
yes

Deprecations?
no

Spec compliancy?
yes

Tests added/pass?
yes

Fixed tickets

License
MIT

This allows import type or import typeof inside declare module.
This was done in flow in this commit: https://github.com/facebook/flow/commit/843389f89c69516506213e298096a14867a45061
//cc @jeffmo

Current coverage is 97.27% (diff: 100%)

Merging #315 into master will increase coverage by <.01%

@@             master       #315   diff @@
==========================================
  Files            21         21
  Lines          4001       4007     +6
  Methods         481        484     +3
  Messages          0          0
  Branches       1183       1182     -1
==========================================
+ Hits           3892       3898     +6
  Misses           49         49
  Partials         60         60

Powered by Codecov. Last update a1bfa02...a734422


geos  undefined: coordSeq

when i try to install the package i get the following message
OS: ubuntu
go get  github.com/paulsmith/gogeos/geos
/go/pkg/mod/github.com/paulsmith/gogeos@v0.1.2/geos/coord.go:23:21: undefined: coordSeq
/go/pkg/mod/github.com/paulsmith/gogeos@v0.1.2/geos/helper.go:5:14: undefined: Geometry
exit status 2

I had the same issue, but after setting CGO_ENABLED to 1 it worked for me.
export CGO_ENABLED=1


Feature Request: Adjustable Padding

It'd be great to remove or lower the padding you added in chat card text. It hides up to 1 small chat card, which is a lot considering how few the chat already shows. Either a slider, toggle, or change to the default would be much appreciated.
Two more things:

Fantastic module. Love the look.
It is I, the person who pushed for 2e module name unification, resulting in more of the chaos I sought to reduce (both Pf2E and pf2e were first used as pushback). My cruisading days are over, and I come not with a sword, but a plea: please consider using the PF2e naming scheme that 26/34 (~75%) use, or at least the more common PF2E that 5/34 (~15%) use. If it goes against your wishes, I will mention it no further.

I love the evidence-based approach. I will conform to the PF2e naming convention. Any stats on whether it should be "PF2e Dorako UI" or "PF2e - Dorako UI" or similar?
I will be providing options for changing all of the offsets in a user-friendly way. I've posted a pic on the discord thread of a version with much less empty space, check if you prefer that.

Thanks for considering! The stats for dashes are 3/34 (9%) with, and 31/34 (91%) without. Or if you look at it from a different angle, 2/2 (100%) of the modules where the next word is the creator's name/tag. Frankly my goal isn't to standardize every aspect of the module name, so I don't want to put any pressure on this issue.
I looked at the thread, and there are a lot of cool ideas, but I couldn't find the condensed image. Look forward to the options, and thanks for your time making this module!

@Bolt7 I'm continually tweaking padding and margins, if you see anywhere you'd like to shrink in a "dense mode", please include a picture so I can have a look

Sure. This is what I my personal change would be. It lets you see more, and still looks far from cluttered imo.
Before (padding: .5em)

After (padding: .1em)

Noticed the changes. They're fantastic! It looks much better, and I have no doubt it'll improve even more. If it had to say one thing it's that the Token Action HUD spell buttons could use 1-2 more pixels of room on the right. As it stands the letters scrape the edge. But really, stellar work.
Because the padding has been reduced, I'm going to close this issue, since an adjustable value isn't really necessary now imo. The default is great.


Channel Alignment release 0.8.4 feedback

Since this RTL has not been fully verified, so I just provide as feedback:

The above RTL code has already added dynamic deskew feature.  When align_fly is high, CA should always try to align correctly. No matter which state it getting wrong.  From the code, in the RX_ERR and RX_DONE state, if alignment error happens at some point, it can not come out and correct itself. Also at state RX_MON, only during align_err_intv condition, it will go to RX_ERR, otherwise, it will be hanged.
In addition, align_fly give user a way out of dead state. User should switch from non-dynamic state to dynamic state by programming align_fly high.  For the detail information, please see issue 7 here:
https://github.com/chipsalliance/aib-protocols/issues/7

DV input: switch align_fly back and forth to stress test it


Add item ID to chat cards to aid Automated Animations integration

I made a request to Otigon to see if AA would work in DCC, but it looks like there is a hurdle with no determining to hit in the system atm. I thought I would forward Otigon’s reasoning. I know the feature is on your to-do.
https://github.com/otigon/automated-jb2a-animations/issues/298#issuecomment-1002697338

We should check this works with Maestro also.

Their comments also suggest that they only tried the default chat cards mode, they will also need to detect the individual to hit, damage, crit/fumble cards that can be enabled, and will likely become more common if we implement a way to separate these out into separately triggered rolls.


Fix for pig in HDP2.3.4

Fix for pig in HDP2.3.4 to set number of attempted connections to yan timeline service to 0.
To test:
run pig and see if the grunt shell comes up without 30 attempts to hit the timeline service, which is not installed by default on the cluster.

LGTM

LGTM


README improvements

Some improvements based on trying to follow the README to get started.

Oh, this is very helpful! I like that we don't assume people don't what the heck pip / pipenv are and how to use them. 👍
One quick suggestion: I like how you explicitly tell people how to install using pip, can we do the same for pipenv? Like:
To install GDELT Tools using pipenv:
    pipenv install Pipfile

(I assume? This seemed to do something for me, anyway. :D)
And then just a question: is pip3 / python3 the proper way to do things, even on modern machines? It feels so clunky. ;( I ended up following the instructions here https://opensource.com/article/19/5/python-3-default-mac to make it just regular "python" and "pip."

I like how you explicitly tell people how to install using pip, can we do the same for pipenv?

This is already in the README under "Install requirements using Pipenv (recommended)". You first need to install pipenv, and can then run pipenv install(which defaults to usingPipfile, if found in the current directory.

is pip3 / python3 the proper way to do things, even on modern machines?

Unfortunately, yes. The main challenge is that macOS prior to Monterey still ships with Python 2.7 as the system default Python. If you install Python 3 but do not have it as the default in your path, python will be Python 2.7. PEP 394 ensures that python3 and pip3 are referring to Python 3.
We could add more info here, like checking the output of python --version and which python, but the simplest fix that I've learned from maintaining other Python tools is to recommend python3 and pip3.
If your default Python is indeed Python 3, python and pip will do the right thing. However, python3 and pip3 should always have the expected outcome.

Oh, nice! In that case, LGTM. 👍

The right answer is to build a proper python package. I will do that next
week.
On Sat 16 Apr 2022, 1:56 AM Angie Byron, @.***> wrote:

Oh, nice! In that case, LGTM. 👍
—
Reply to this email directly, view it on GitHub
https://github.com/jdrumgoole/gdelttools/pull/2#issuecomment-1100491082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAXYDTMZGU34DBWMGCIPCLVFIF4DANCNFSM5TPPBKWQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I think most of these issues are fixed with the latest release Stennie. Can you give it a spin?
https://pypi.org/project/gdelttools/


Discussion: Use stripe IDs as primary keys

I've been trying to think through the implications of using stripe IDs as primary keys for all models that could bear it. I'm not sure it's a correct approach, but I want to consider it at least.
Pros:

Simpler handling of foreign keys for most models.
Syncing data becomes a lot simpler as well, as it is no longer necessary to perform a db lookup when only the ID is needed.

 They're larger and take more space to index.
Plan and Coupon have user-input IDs which are not account-unique. They would either need a special exemption, a composite foreign key (unsupported by the Django ORM) or we would need to separate test and live mode data more diligently (eg. mandate separate dbs?).
The InvoiceItem situation needs to be figured out first. (#511)

It's a common usage to have the same stripe id for plans in test and live mode. So this won't work here.

I agree, if we do this it probably doesn't involve the Plan or Coupon models, at least immediately (cf what I said in the OP)

Sorry, I read your post but... I don't know. Sorry for that.
By the way, for me it's not a good idea to have some models working this way, and some others the other way.
It will complicate the code as we'd have different ways of managing things. In addition to all your "cons".

Yep.
Ideally I'd want to figure out a way that ensures Coupon and Plan can be fkey'd like that. I am currently trying to figure out if it's a good idea to mandate separate databases for live and test mode -- I think it would simplify things, and it might not be a terrible idea to recommend a separate billing db in general either.

Having separate DBs sounds like a great idea, but could have some implications (I "hack" dj-stripe to use the test stripe mode as the source of truth for plans and then sync them to live mode... but it could easily be done with two DBs. In fact I cannot really see strong cons)
Another way I just thought of for ids: each object have a method to compose a "composite key", then the real key could be a hash of this composite.

I'd be all for this if the stripe id was consistent and unique for all objects. Maybe one day stripe will decide to expose stripe ids for everything

Coming back to this with a clearer head: I implemented a custom StripeForeignKey class which replaces models.ForeignKey for everything except the Coupon and Plan special-cases.
I subsequently am able to create a setting which lets me swap out the to_field on StripeForeignKey for "id" instead of "djstripe_id". However, this breaks during the migrations because of the renames, and I frankly did not have the courage to figure out how to fix that (I spent ~20 mins on it), so in that light I removed the rename step from the migrations, and we could land this once we stop supporting an upgrade path from djstripe versions that are too old.

@therefromhere I have a set of commits which implements Stripe IDs as foreign keys as a setting, similar to how we handled USE_NATIVE_JSONFIELD. This kind of sidesteps implementing a migration, expecting the user to take care of that part of it themselves should they change the setting.
One thing I realized while working on this is that generic foreign keys cannot consistently reference other models if their primary keys are not of a consistent type; so you can't have a GFK reference both an int ID model and a string ID model (and a UUID model…). This is especially a problem because in my current version of the code, if turned on, a GFK cannot reference both for example a plan (which still has an int ID) and a product (which consistently has a string ID).
I'm thinking: Plans and coupons nowadays have auto-generated IDs. Although they can still be user-input, we could just forbid having the same ID in live+test mode by simply not supporting it and recommending people … not do that. This "fixes" plans and coupons at least.

Yeah a setting to enable stripe ids makes sense to avoid migration pain. Downside is of course it's another dimension of configuration to test, but seems like the less painful option.
Are you thinking we'd default it off, or force people to choose like I was suggesting for USE_NATIVE_JSONFIELD, and recommend that new installs use it?
As for not supporting the same id in live + test mode, yeah, doesn't seem too bad.  Alternatively would altering the id according to the mode work?  eg append "-test" to the id in test mode or something?
It would be interesting to know how widely people use "manual" plan/coupon ids, and how widely people use test/live data in the same database - and how much crossover there.  FWIW I've not used either feature.

Coupons and plans used to be manual-only, it's only somewhat recently they started giving them (still-optional) autogenerated IDs.
OTOH we haven't had dual live+test mode support for particularly long.

It looks like stripe is actively trying to move away from custom object ids. The new pricing plans ui only lets you add a description.
I'm sure the coupon ui will change soon too.
As long as we're assured that object ids are globally unique, this should be a good move forward. Having it behind a setting is probably a good idea; not sure which way to go on that (default true/false) yet though.


calculating pixels and percentages throws err

skeleton-sass/skeleton/themes/fresh/_skeleton.scss  - line 34,
$tablet-width returns a value in pixels while $base-width returns a percentage value... when compiled it throws CSS errors:
"Expecting RtPAREN" & "Unexpected token '99%'", plus 3 other "Unexpected token" errors.
When I manually change the outputted file to say ".99" the errors all clear.
BTW, I am a noob and trying to learn... thanks for the tutorials and such

@clp3777 I don't think this should matter when creating a media query? Are you using default values? If you're not can you provide some steps on how to reproduce the issue?

I haven't made any changes to any of the installed files.  I have used the directory tree that you have assumed in the tuts... the only change I have made whilst following the tutorial is to the lines of code you use in _loader.scss which have a folder-name typo in them.  (You have "skeleton-sass" instead of skeleton-sass-official", as they are named in npm)...
I think that the issue may lie with Dreamweaver's linters.  I have noticed that many scripts written by accomplished coders throw errors.  For example, Dreamweaver is very strict with wanting defined vars, using proper {} with for loops, conditionals and while statements, and now it is giving me issues with the math results from the processed css files derived from the sass files you provided...
To recreate it I could possibly screenshot or capture a youtube vid if that would help you help me... like I said, I am new to a lot of this... I haven't created a website or coded in quite some time and a lot of what I learned I've forgotten.  I used to be proficient enough in php, as3 for flash, and CSS and basic HTML.  I'm more of a designer/artist than I am a developer, but, as they say, every designer should have basic developer skills... so I am eagerly trying to relearn.   I am trying to develop a responsive portfolio website... I have decided the skeleton framework is the most simple to implement for my purposes as I have used it before in a previous website... but everything in the old site breaks when I update jquery to latest version.

@clp3777 Skeleton Sass isn't causing any compile warnings/errors with libsass or sass 3.4.x (the official gem). This seems like an inspection error with DW. I'd recommend any of these free, cross-platform alternative text editors in lieu of DW:

Visual Studio Code (what Skeleton Sass is developed with)
Atom (what Skeleton Sass used to be developed with)
Sublime Text 3 (what Skeleton Sass was originally developed with)

If you want a full-featured IDE then Webstorm is the way to go if you're willing to shell out the cash (if you have a student email address you can get this for free).
At the end of the day, as long as you're able to transcompile Sass into CSS, then you should be fine despite any text editors/IDEs bemoaning. Also, you might want to check out jQuery Migration Tools to help you out with that. Also, I'd recommend you to bookmark caniuse.com for searching browser compatibility with CSS stuff and JavaScript APIs alike. Lastly, another bookmark-worthy reference is youmightnotneedjquery.com. If you look at the gh-pages branch you'll see that I don't use jQuery since the site is simple (may not apply to your project).
As for those typos, feel free to contribute to the docs and fix any clerical errors I made!  👍
At any rate, feel free to reach out to me at any time: atomicpages [at] gmail [dot] com

Many thanks for the advice, I will look into these resources you suggested right now.  I'm not quite comfortable yet with using github and making contribs... I don't want to step on people's work and muck things up when I am unsure of my own skills... even for minor typos that may or may not be redirected url's that I wouldn't be able to know the difference :)
Again, thank you for your contributions and sharing with the community, your tutorials are helpful to me :)


Assignment two

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
pass second assesment
What did you learn from the changes you have made?
I repeated sql, diagrams, db architecture
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
I think yes
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No
How were these changes tested?
Manually, prepared queries
A reference to a related issue in your repository (if applicable)
N/a
Checklist

[ x ] I can confirm that my changes are working as intended

I added all the information and content in forlder assignments>SCD_Assignmet. I added diagrams, databases with test data and README files as well.


SCAN command returns keys of expired data structures

Describe the bug
Thank you @TedHartMs for fixing #151 for strings, now I'm seeing the same behavior for data structures where expired keys are showing in a SCAN. Apologies that I should have tried testing the data structures in addition to strings.

Steps to reproduce the bug
Add any data structure type with an expiry (Hash, List, Set, Sorted Set) and wait until it expires.
Run the SCAN command (i.e. SCAN *)
Expected behavior
The expired data structures should not appear in the list when SCAN is run.
Screenshots
No response
Release version
v1.0.6
IDE
No response
OS version
Windows 11
Additional context
No response

I should have tried testing the data structures in addition to strings.

That makes two of us :) Thanks for the catch!

Thank you @TedHartMS! Verified working with the latest version of main. I can finally use RedisInsight properly now!


Unable to resolve dependencies with hive and hive_generator from git

Steps to Reproduce
Flutter pub is giving me this error:
Because every version of hive_generator from git depends on hive from hosted and my_project depends on hive from git, hive_generator from git is forbidden.

So, because my_project depends on hive_generator from git, version solving failed.

after running flutter pub get on this pubspec.yaml:
dependencies:
  hive:
    git:
      url: https://github.com/hivedb/hive.git
      path: hive

dev_dependencies:
  hive_generator:
    git:
      url: git://github.com/hivedb/hive.git
      path: hive_generator

Code sample
N/A
Version

Platform: macOS 10.15.6
Flutter version: 1.20.0-7.2.pre (beta channel)
Dart version: 2.9.0 (build 2.9.0-21.2.beta)
Hive version: haven't installed yet

This is the intended behavior. The hive_generator is also published to pub, so most people that download it will expect to also have to rely on hive from pub instead from some GitHub repository.

So is there any way to use hive from git while using hive_generator? @marcelgarus

Yes, you can use dependency_overrides:
dependency_overrides:
  hive_generator:
    git:
      url: git://github.com/hivedb/hive.git
      path: hive_generator

@marcelgarus That gave me the same error. This worked:
dependencies:
  hive:
    git:
      url: https://github.com/hivedb/hive.git
      path: hive

dev_dependencies:
  hive_generator:
    git:
      url: git://github.com/hivedb/hive.git
      path: hive_generator

dependency_overrides:
  hive:
    git:
      url: git://github.com/hivedb/hive.git
      path: hive

not really sure why but everything seems to be working now

My problem is solved, but I'm not sure if this issue should be closed. I'll leave it up to you guys. Thanks!

We are working on pub.dev update. I hope it will be ready soon.

Awesome! Thanks! @TheMisir

Now you can use hive from pub.dev


"geometry clipping" of data sources

Would it be possible to allow datasources to be "clipped" by a shape or boundary? Eg: to allow a user to use one datasource inside a given boundary and another datasource outside of it.
I imagine this would most commonly look like: custom/proprietary data inside a boundary, and our OSM-derived vector tiles outside of it.

I think a simple version of what you are describing is implemented in this branch:
https://github.com/tangrams/tangram/compare/fallback-source
The idea here was that a given data source might only have partial tile coverage, and when it hit a 404, it would fallback to another data source (probably the canonical Mapzen one).
We had an inquiry from a potential user about this, so I tried that out as an experiment. It's viable and the logic is simple, but was waiting for further discussion around use cases before adding to a release. My inclination would be do something simple/coarse like this (one could apply a source bounds to clip, for instance) rather than supporting something like an arbitrary polygon clip (which would add considerable complexity vs. piggybacking on something we have).


Update Gradle Enterprise Gradle plugin to 3.8.1

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

Pre-tested commit build failed.

@bot-gradle test and merge

@bot-gradle test

OK, I've already triggered the following builds for you:

OK, I've already triggered a build for you.

Pre-tested commit build failed.

There are some flaky tests blocking us. gradle/gradle-private#3503
I marked them as @Flaky.
@bot-gradle test and merge

OK, I've already triggered a build for you.


Support laravel scout v9

Support Laravel Scout V9
V9 need to support lazy collection, should fix #121 and #120

nice! hopeful we can get release soon.
Thank you!


Use globally unique name for top level resources

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Provisioning


Support React 16

Hi guys,
Is Dazzle already supports React 16? I saw a closed issue about this, but I can't figure out if it is already in React 16.

It now support react 16. Dazzle Version 1.4+


When creating a shared service it must be possible to put an invitee email to invite them

The current error is "outlet should exist"

This issue has been fixed with #5818 and #5828


iPhone auto-translate issues

Apparently using Chrome on iPhone the Google translate, translates the web by default besides being already on that language messing the translations. This probably could be because 2 possible issues:

Sveltekit starting as EN and then switching to other lang when It detects the browser lang (but too late once the translate sees the Page)
Translate is messing with the dialect versions (example: es not equal to es-ES so Google translate gets in action)

Fixed at https://github.com/MarckFp/ppoc-gen/commit/155780ca2bc0869317ff65b036009f1096e51d26


Shortened project page title and changed button color to primary

I need to talk to someone about the ruby side of this to fully fix the wrapping issues. There are three col effecting the project page/badge header and only 1.5 of them are apparent to me in the show.html.erb adn _form.html.erb. I'll be in touch next week.

I'm someone, and so is Jason. Monday?

I spoke with David W. about the Ruby side of the house and was able to find what I needed.


Fix  claim collection create

Fix  claim collection create

@Zach-ixo Would be great if we can remove the console logs

@Zach-ixo Would be great if we can remove the console logs

Yes


Migrate to GitHub Actions

Fixes #29

Changes look good but it doesn't seem to trigger the action?

Are Actions enabled for this repo?
Maybe Actions don't get triggered when they're first enabled by a PR from a fork?

@musalbas can you make sure github actions is enabled for this repo?

looking good:


https://github.com/jenkinsci/docker/issues/1415

This PR should NOT be merged. It's only there to report and show the required content in order to correct #1415 .
Please note that https://github.com/jenkinsci/docker/blob/gh-1415/install-plugins.sh is present.
With the current change, a dry run show the following result:
./.ci/publish.sh -n
Docker repository in Use:
* JENKINS_REPO: jenkins/jenkins
Dry run, will not publish images
latest_weekly_version=2.357
latest_lts_version=2.346.1
Version 2.329 higher than 1.0: publishing 2.329 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.330 higher than 1.0: publishing 2.330 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.331 higher than 1.0: publishing 2.331 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.332 higher than 1.0: publishing 2.332 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.332.1 higher than 1.0: publishing 2.332.1 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.332.2 higher than 1.0: publishing 2.332.2 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.332.3 higher than 1.0: publishing 2.332.3 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.332.4 higher than 1.0: publishing 2.332.4 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.333 higher than 1.0: publishing 2.333 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.334 higher than 1.0: publishing 2.334 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.335 higher than 1.0: publishing 2.335 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.336 higher than 1.0: publishing 2.336 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.337 higher than 1.0: publishing 2.337 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.338 higher than 1.0: publishing 2.338 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.339 higher than 1.0: publishing 2.339 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.340 higher than 1.0: publishing 2.340 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.341 higher than 1.0: publishing 2.341 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.342 higher than 1.0: publishing 2.342 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.343 higher than 1.0: publishing 2.343 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.344 higher than 1.0: publishing 2.344 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.345 higher than 1.0: publishing 2.345 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.346 higher than 1.0: publishing 2.346 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.346.1 higher than 1.0: publishing 2.346.1 latest_weekly:false latest_lts:true
docker buildx bake --file docker-bake.hcl linux
Version 2.347 higher than 1.0: publishing 2.347 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.348 higher than 1.0: publishing 2.348 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.349 higher than 1.0: publishing 2.349 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.350 higher than 1.0: publishing 2.350 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.354 higher than 1.0: publishing 2.354 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.355 higher than 1.0: publishing 2.355 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux
Version 2.356 higher than 1.0: publishing 2.356 latest_weekly:false latest_lts:false
docker buildx bake --file docker-bake.hcl linux

Ping @timja @MarkEWaite I'm waiting for a approval of this PR.
Once approved, I won't merge it, but I'll setup trusted.ci.jenkins.io to run a build of the source branch.

Test on my machine *before the rebuild:

➜  ~ docker pull jenkins/jenkins:2.332.1 && docker run --rm --entrypoint=cat jenkins/jenkins:2.332.1 /usr/local/bin/install-plugins.sh
2.332.1: Pulling from jenkins/jenkins
Digest: sha256:fc86feafd14d8b6e0342c776d59b3ad43537fde2fd020a4bbaa3eb68d4d151ae
Status: Image is up to date for jenkins/jenkins:2.332.1
docker.io/jenkins/jenkins:2.332.1
#!/bin/bash -eu

echo "WARN: install-plugins.sh has been removed, please switch to jenkins-plugin-cli"
exit 1

Branch gh-1415 added to trusted.ci + build triggered

Build is currently running as expected and already re-deployed some versions.
I got the command docker pull jenkins/jenkins:2.332.1 && docker run --rm --entrypoint=cat jenkins/jenkins:2.332.1 /usr/local/bin/install-plugins.sh which now show the install-plugins.sh script content with full old script.

Build finished with success
All images were re-published until 2.356 included.

Closing the PR, tagging and deleting the branch


Is it necessary to flash the bios motherboard?

I have
2680v4
huananzhi bd4
Radeon rx580
Ddr4 32gb.
need flash bios before installing macos?
Undervolting not work for v4 version processor.

Not necessary, just optimization settings


Replace SVAL with a function

This is roughly how the spec would look like if SVAL was replaced with a function. Regarding errors, the only issue the way it is with this patch is that we can't return an error message telling us which script failed, if we would raise an error. We probably want that functionality, but it could be done by returning the script that failed from evalScripts, as a Maybe ScriptHash, or maybe a list of all the scripts that didn't succeed in a List ScriptHash instead of the Bool, so this isn't a big issue.

Reviewed this on a call, looked good.


wrapper.html does not display v-bind elements

Version
1.0.0-beta.20
Reproduction link
https://codesandbox.io/s/x3p3725mm4
Steps to reproduce
Could you see Todo.spec.js file, and run the test.
In the console, checked is not displayed in wrapper.html() .
What is expected?

  <input type="checkbox" checked>
  Hello from data

What is actually happening?

  <input type="checkbox">
  Hello from data

I want to show checked in the html.

I'm so sorry this is a wrong account only use my company.
close it


Integrate new events API from tabris-decorators project

Problem description
The current events API is not very TypeScript friendly.
Expected behavior
Integrate Listeners class from here:
https://github.com/eclipsesource/tabris-decorators/blob/master/src/api/Listeners.ts
Provide listeners objects for all built-in events.
The typescript declarations for "on" may be simplified to not be type-safe.

Done


Better error messages for bad/unauthorized API endpoints

A user was recently targeting the wrong API endpoint , and getting the error back as seen in #368. We should have more descriptive error messages when either

a user is targeting the wrong URL endpoint, or
a user's pyquil_config does not have the proper authentication.

In the latter case, the error for an incorrect pyquil_config key is:
UnknownApiError                           Traceback (most recent call last)
<ipython-input-7-8248281b16eb> in <module>()
----> 1 qvm.run(Program(X(0)), classical_addresses=[0], trials=1)

~/miniconda3/envs/pyquil/lib/python3.6/site-packages/pyquil/api/qvm.py in run(self, quil_program, classical_addresses, trials)
    101         else:
    102             payload = self._run_payload(quil_program, classical_addresses, trials)
--> 103             response = post_json(self.session, self.sync_endpoint + "/qvm", payload)
    104             return response.json()
    105

~/miniconda3/envs/pyquil/lib/python3.6/site-packages/pyquil/api/_base_connection.py in post_json(session, url, json)
     79     res = session.post(url, json=json)
     80     if res.status_code >= 400:
---> 81         raise parse_error(res)
     82     return res
     83

~/miniconda3/envs/pyquil/lib/python3.6/site-packages/pyquil/api/_base_connection.py in parse_error(res)
     96
     97     if 'error_type' not in body:
---> 98         raise UnknownApiError(body)
     99
    100     error_type = body['error_type']

<class 'str'>: (<class 'TypeError'>, TypeError("unsupported operand type(s) for +: 'dict' and 'str'",))

👍 great idea. The problem is that these errors are returned by API gateway so we don't have control over the format (ie. we can't switch to the standard error format used by everything else). Instead, we will have to do an exact match on the body and response code to raise the right error. It's definitely worth the effort though.

Yes we definitely need a better error message.
While I know this is an access permissions error, I got a puzzling "missing or invalid device" error:
qpu = QPUConnection("19Q-Acorn")

qpu.run_and_measure(program, qubits=[0], trials=10)

---------------------------------------------------------------------------
InvalidInputError                         Traceback (most recent call last)
<ipython-input-11-a7edbe162e0e> in <module>()
----> 1 qpu.run_and_measure(program, qubits=[0], trials=10)

/srv/conda/lib/python3.6/site-packages/pyquil/api/qpu.py in run_and_measure(self, quil_program, qubits, trials, needs_compilation, isa)
    225         :rtype: list
    226         """
--> 227         job = self.wait_for_job(self.run_and_measure_async(quil_program, qubits, trials, needs_compilation, isa))
    228         return job.result()
    229

/srv/conda/lib/python3.6/site-packages/pyquil/api/qpu.py in run_and_measure_async(self, quil_program, qubits, trials, needs_compilation, isa)
    235         full_program = append_measures_to_program(quil_program, qubits)
    236         payload = self._run_and_measure_payload(full_program, qubits, trials, needs_compilation=needs_compilation, isa=isa)
--> 237         response = post_json(self.session, self.async_endpoint + "/job", self._wrap_program(payload))
    238         return get_job_id(response)
    239

/srv/conda/lib/python3.6/site-packages/pyquil/api/_base_connection.py in post_json(session, url, json)
     86     res = session.post(url, json=json)
     87     if res.status_code >= 400:
---> 88         raise parse_error(res)
     89     return res
     90

InvalidInputError: Error: missing or invalid device.

The server returned the above error because something was wrong with the HTTP
request sent to it. This could be due to a bug in the server or a bug in your
code. If you suspect this to be a bug in pyQuil or Rigetti Forest, then please
describe the problem in a GitHub issue at:
    https://github.com/rigetticomputing/pyquil/issues

@cbosborn @guenp  is this issue still open?


Rust devtunnels client can no longer parse TunnelEndpoints

@jfullerton44 in this change, the ID for the tunnel endpoint became mandatory
https://github.com/microsoft/dev-tunnels/blame/c85e0671d98dd25331149959af6e4adf67dfb2b8/cs/src/Contracts/TunnelEndpoint.cs#L31
However, it seems like the Dev Tunnels service does not actually return that as a non-nullable string. For example, this is my tunnel in production
  "endpoints": [
    {
      "hostRelayUri": "wss://usw2-data.rel.tunnels.api.visualstudio.com/api/v1/Host/Connect/29034sjz",
      "clientRelayUri": "wss://usw2-data.rel.tunnels.api.visualstudio.com/api/v1/Client/Connect/29034sjz",
      "id": null,
      "connectionMode": "TunnelRelay",
      "hostId": "706f244f-a4d3-422c-a8a4-f8dc272cb7e5",
      "portUriFormat": "https://29034sjz-{port}.usw2.devtunnels.ms/",
      "tunnelUri": "https://29034sjz.usw2.devtunnels.ms/",
      "portSshCommandFormat": "ssh<EMAIL_ADDRESS>      "tunnelSshCommand": "ssh<EMAIL_ADDRESS>    }
  ],

So, trying to parse that in Rust gives invalid type: null.
The generator uses the presence of the [JsonIgnore(...)] attribute to determine if a field should be nullable. Should that be applied to the ID?

In future api-versions the id should always be set, but for now I get your point. I created a PR to make this property nullable which should make the changes more backwards compatible https://github.com/microsoft/dev-tunnels/pull/319

Thanks!


Cannot pick a video saved from WhatsApp on iOS [🐛]

Description
When I pick a video that is saved form WhatsApp on iOS, I get this response from the library:
{
  "assets": [
    {
      "fileName": "7D5FA781-F83D-4F5F-BB2A-403311FED2BD.jpg",
      "height": 0,
      "type": "image/jpg",
      "uri": "file:///var/mobile/Containers/Data/Application/E5378B34-2BBC-4E5C-A99A-7196447ACC06/tmp/7D5FA781-F83D-4F5F-BB2A-403311FED2BD.jpg",
      "width": 0
    }
  ]
}

Type is wrong (I am selecting a video, but type looks like an image) and file dimensions are all zero.
How to repeat issue and example

Make sure your WhatsApp is configured to save media to camera roll (Settings -> Chats -> Save to Camera Roll)
Tell your friend to send a video to you via WhatsApp
Launch image picker like this:

const file = await launchImageLibrary({
  mediaType: 'video',
});

Select the video your friend sent to you via WhatsApp
See the file object sent back by image picker

Solution
Image picker should send a valid file back after selecting a WhatsApp video.
Additional Information

Image Picker version: 7.1.0
React Native version: 0.67.5
Platform: iOS
Development Operating System: MacOS
Dev tools: Xcode Version 15.0.1, tested on iPhone 11 physical device

I have the same issue

I've the same issue

The provided URI, "file:///var/mobile/Containers/Data/Application/E5378B34-2BBC-4E5C-A99A-7196447ACC06/tmp/7D5FA781-F83D-4F5F-BB2A-403311FED2BD.jpg," may encounter iOS security restrictions. To address this, it is recommended to copy the file to a directory where the app has appropriate permissions, such as the Document Directory, using the react-native-fs library.

Description
When I pick a video that is saved form WhatsApp on iOS, I get this response from the library:
{
  "assets": [
    {
      "fileName": "7D5FA781-F83D-4F5F-BB2A-403311FED2BD.jpg",
      "height": 0,
      "type": "image/jpg",
      "uri": "file:///var/mobile/Containers/Data/Application/E5378B34-2BBC-4E5C-A99A-7196447ACC06/tmp/7D5FA781-F83D-4F5F-BB2A-403311FED2BD.jpg",
      "width": 0
    }
  ]
}

Type is wrong (I am selecting a video, but type looks like an image) and file dimensions are all zero.
How to repeat issue and example

Make sure your WhatsApp is configured to save media to camera roll (Settings -> Chats -> Save to Camera Roll)
Tell your friend to send a video to you via WhatsApp
Launch image picker like this:

const file = await launchImageLibrary({
  mediaType: 'video',
});

Select the video your friend sent to you via WhatsApp
See the file object sent back by image picker

Solution
Image picker should send a valid file back after selecting a WhatsApp video.
Additional Information

Image Picker version: 7.1.0
React Native version: 0.67.5
Platform: iOS
Development Operating System: MacOS
Dev tools: Xcode Version 15.0.1, tested on iPhone 11 physical device

Does anybody know why WhatsApp videos are stored as image/jpg on iOS? This is not only messing up the image picker but apps as well...

I have the same issue

I fix this issue.
Use react-native-image-crop-picker in place of react-native-image-picker.

Has this been fixed? I am facing the same issue.

Same issue here.