Paper App Download Experience

Description
An issue came to Barry through a prior public email, about the user not realizing they needed to select a language for the paper application. This user clicked download paper, but didn't realize they needed to click "English" to continue.
Private Zenhub Image
Design Recommendations

If the paper application is only offered in one language, the file download should automatically begin once the download application button is selected; the user should not need to make an additional language selection.
If 2+ languages are available, a modal overlay including the list of languages should appear when the download application button is selected.
Once the user selects a language, the application should open up in a new window where the user can download as a pdf file.

Design Asset

Note: Use default spacing for modal component

moved to core:
https://app.zenhub.com/workspaces/bloom-5dc32d7144bd400001315dac/issues/gh/bloom-housing/bloom/3634


Peek support for special folders

Summary of the Pull Request
In Peek, added basic support for special folders - i.e. shell items that do not have a path, such as Recycle Bin, This Computer, Control Panel, Network and network devices.
PR Checklist

[x] Closes: #26278
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments
Screenshots:

Description:

Added a new property ParsingName to IFileSystemItem, which is populated with the Shell.SIGDN.SIGDN_DESKTOPABSOLUTEPARSING of a shell item. This allows special shell items to be uniquely identified and their related resources (such as preview icons) to be fetched downstream.
Added a new previewer SpecialFolderPreviewer, modelled on the existing UnsupportedFilePreviewer (which happens to also support regular folders). The WPF user-controls for the new previewer have essentially been cloned from UnsupportedFilePreviewer. For now, this means that special folders have the following UI elements on Peek, exactly as with regular folders: iconPreview,  fileName, fileType, fileSize(currently populated only for This Computer and Recycle Bin) and dateModified(currently populated only for Recycle Bin). But more elements can easily be added.

Validation Steps Performed
On Windows 11, brought up Peek (via Ctrl-Space) on various shell items and checked that the resulting Peek window was as expected.

The special folders addressed by this PR (see above for list)
UNC path shell items
Other shell items previously supported by Peek - folders, images, HTML files, code files

FYI @SamChaps

Looks like a copy-paste with an existing format (type/size/date) but... Is 9.66 GB the maximum size of the Trash or the contents? And a computer doesn't have a size, partitions do. The empty fields might also be less-than-ideal.

the total used size of all of its drives

Does that include external (USB) drives, network drives, RAID drives..?

For the empty fields, would you prefer that I hide the field entirely?

That would be pretty :)

For the Recycle Bin we could show the size. Even if I think the number of folders and files makes more sense. (Maybe something like:
Content: X files and y folders
Content size: .....
But for all others we should not show any size as it will be confusing.

For the Recycle Bin we could show the size. Even if I think the number of folders and files makes more sense.
Maybe something like:
Content: X files and y folders
Content size: .....

But for all others we should not show any size as it will be confusing.
And also the modified date is useles for all of them.
Personally, I think the modified date has some value - for the recycle bin, I'd implemented it as the date of the last deleted item. But I agree it is open to interpretation - so I got rid of it, as well as all special handling of This PC.  So now all special folders other than the recycle bin will just show the name, icon and folder type.

I don't think there's any need to show the number of files / sub-folders for the recycle bin - we don't do that for regular folders either and I don't see why the recycle bin should be any different. The size of the recycle bin is the most important thing - it shows how much disk space the user can recover by emptying it. And it's also consistent with the treatment of regular folders.

That would be pretty :)
Done; so now, empty fields won't show at all.

@drawbyperpetual

I don't think there's any need to show the number of files / sub-folders for the recycle bin - we don't do that for regular folders either and I don't see why the recycle bin should be any different.

My idea was to show how many items currently moved to recycle bin and waiting for deletion. (Similar to your size thing.)

/azp run

/azp run

@drawbyperpetual

I don't think there's any need to show the number of files / sub-folders for the recycle bin - we don't do that for regular folders either and I don't see why the recycle bin should be any different.

My idea was to show how many items currently moved to recycle bin and waiting for deletion. (Similar to your size thing.)

Thinking this is sort of out of scope for the PR, although it would be a nice improvement to Peek 🤔


Fix typo in index.jade

Hey! Thanks for the PR. "forgo" is the intended word here! :) http://www.merriam-webster.com/dictionary/forgo

My bad, I 'didn't knew ^^


cluster: Log the reason a provider was unreachable

In the existing code, we log issues connecting to each provider
to debug (so most people won't see them) and then log a vague
message later if a provider the user tries to use couldn't be
setup correctly; e.g.:
WARNING [Mar 29 15:12:54.447] Provider Amazon is unavailable in us-west-1.
This commit saves the setup error so that we
can log it later on to help the user debug; e.g.:
WARNING [Mar 29 15:12:54.447] Provider Amazon is unavailable in us-west-1: AWS
failed to connect (No access credentials were found! Make sure your AWS
credentials are in ~/.aws/credentials.): NoCredentialProviders: no valid
providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Looking through this, I suppose I have a nagging feeling that a simpler solution exists.  Unfortunately, it's not entirely clear to me what it is.
Here's one idea.  What if, instead of initializing the providers when the cluster is created.  We instead do so lazily when they're needed?  So basically the updateCloud function would initialize the providers that haven't been initialized yet, and are actually needed by the spec.  Would that be cleaner/simpler?

We'd discussed your idea last week but thought it was too much work, but turns out it was super simple.  There's one big downside though, which is that is you start a new quilt daemon and run an empty spec (to shutdown existing machines), the provider won't be setup yet, so we won't do anything.  This still seems probably better than the current approach, and at this point it also seems straightforward to add a config for "providers we care about" as we've discussed in the past.
Let me know what you think and then I can fix up the tests accordingly.

Updated.  I can squash the commits once we've decided on the approach.

FWIW, I like the new version a lot better.  I think you should go ahead and squash.
I'd say high level notes, may be good to make a "getProvider" function that returns or initializes.  Also may be nice to unit test if it's not too much trouble.

Replaced with this PR: https://github.com/quilt/quilt/pull/846


Heroku build number

Hi there,
Thanks for creating this build pack. Really appreciate the effort and would be stuck without it.
I'm wondering if there's some way of using this to expose the Heroku deployment number to our React app? Is it held in an environment var or as part of the build artefacts?

I was facing the same issue. My solution was to create a buildpack that would translate whitelisted  HEROKU_* environment variables to REACT_APP_HEROKU_* variables. And made sure to add that buildpack before this one.
If it helps, here is my take: https://github.com/faheemmughal/react-app-heroku-environment-buildpack

Thanks for the answer @faheemmughal,
See the main buildpack docs for a REACT_APP_ name spacing technique that does not require a separate buildpack: how-to use Add-on config vars shows how to use a .profile.d/ file to alias the config vars at runtime.


Add magika to Tools directory

Details
Add magika shortcut to the Tools directory. At the moment we are only installing it with Pip.

@Ana06 I believe the function you created here creates the shortcut for magika still?
I just tested the latest `choco install magika.vm" and it seems to create a shortcut for it.

it was missing last time I installed FLARE-VM :confused:

I think we can close this issue.


fix gitignore

I just fix gitignore and change the code.

Thanks but most of the gitignore additions seem unnecessary. Also, make sure each PR only contains one specific change - don't mix refactors and chore changes in the same PR.


ockito-android"

ava.lang.NoClassDefFoundError: org/mockito/internal/configuration/plugins/Plugins
at org.mockito.internal.configuration.GlobalConfiguration.tryGetPluginAnnotationEngine(GlobalConfiguration.java:55)

Since Mockito-android is so large, I had to use LinkedIn's dexmaker.

This was an accident.


fix (chore): set port to 5000 instead of random

Why did you close the PR before merging?

Merge conflict, wanted to make a new one but today was a bit hectic.
I forgot 😒 , sorry,


Connect TaskListViewModel to in-memory database

Make sure database is populated with random data, but only once during the app's lifetime.
To achieve so, add SQLiteRepository as singleton dependency to the application.

Here are a few useful links i found:

an article explaining different dependency injection techniques: https://blog.ewers-peters.de/are-you-using-dependency-injection-in-your-net-maui-app-yet
a GitHub repository containing a bunch of examples of MAUI projects: https://github.com/VladislavAntonyuk/MauiSamples/tree/main

I was having trouble implementing a singleton dependency for ContentView (Agenda), but came across a discussion of this problem: https://github.com/dotnet/maui/discussions/8363
For now, we'll use AppServiceProvider class: https://github.com/davidortinau/WeatherTwentyOne/blob/main/src/WeatherTwentyOne/Services/ServiceExtensions.cs


[react-components] Add circle chart

https://zpl.io/amdkz4e
This component is needed for the new home page UI. Ref. #487
Note: This component should have an option for bg/color/size styling

Closed in favor of #568


Added my introductory blog post

hey I will fix this according to template please don't merge

Thank you!


[SYSTEMML-1440] Automate Release Artifact verification

Added Python script verifications based on current python code.

Build successful

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1409/


AZ VMSS singlePlacementGroup can't be disabled but has to be

azure-cli 2.9.1
Hi,
I am trying to create a VM Scale Set with --orchestration-mode VM but getting following error:
az vmss create  \
--name my_vmss \
--resource-group my_vmss_rg  \
--orchestration-mode VM   \
--location westeurope   \
--platform-fault-domain-count 3

Argument '--orchestration-mode' is in preview. It may be changed/removed in a future release.
Deployment failed. Correlation ID: 809a279d-2f7c-419a-81a2-f0a6cf3b9e65. {
  "error": {
    "code": "BadRequest",
    "message": "Virtual Machine Scale Set my_vmss with orchestrationMode as 'VirtualMachines' and singlePlacementGroup set to true can not be created as the preview feature has been retired starting with API version 2019-12-01."
   It may be changed/removed in a future release.
usage error: in VM mode, only name, resource-group, location, tags, zones, platform-fault-domain-count are allowed

So I really don't know how I can create the VMSS with --orchestration-mode VM using the Azure Client. Using an older version (2.0.70) worked.

@qwordy please take a look

2.10.0 will be released on 8/4. We have supported it in the new version.


Feature/jenkins slave mongodb

Handy slave for admin of mongodb for use as part of a pipeline. See README.md for instructions

Interesting concept. Per our convo, I think the proper home for this https://github.com/redhat-cop/containers-quickstarts/tree/master/jenkins-slaves. Can you open a PR there?

@sherl0cks  - this has been moved so closing out https://github.com/redhat-cop/containers-quickstarts/tree/master/jenkins-slaves/jenkins-slave-mongodb


Google Authenticator import misses the last three keys

I have 20 keys in total in my Google Authenticator and only the first 17 get extracted. I deleted one key in the middle and still, the last three keys are omitted. The verbose output doesn't show anything suspicious.

Same issue here. Anything I can do to help troubleshooting?

I forgot to answer, the last three were 2 Microsoft and 1 Namecheap. It is worth mentioning that the missing three were also the last three in the displayed order of the Google Authenticator.

I was able to migrate my Microsoft keys without issue. I assume it has to do with the key list position, not the 'vendor' or 'issuer'. Just my feeling :)

@jackgreyhat, @sebastianst: Could you dump the $ANDROID_DATA/data/com.google.android.apps.authenticator2/databases/databases file and see where these accounts are stored in the SQLite database? It could be some internal format change that's splitting the accounts into multiple tables. Something like this should work:
adb shell 'su -c "cat $ANDROID_DATA/data/com.google.android.apps.authenticator2/databases/databases | base64"' | base64 -D > authenticator.db
sqlite3 authenticator.db .schema > schema.sql
sqlite3 authenticator.db .dump > rows.sql  # Sanitize this by hand

Replace any secrets and sensitive account names in rows.sql and post the contents of both files here, if you could.

The database contains only 14 entries. There are no 15 entries in the database, even though I have 15 keys in my authenticator!
The 'extra' key that I received by using your python migration script, is listed in the database but not in the Google Authenticator. It makes sense that your script retrieved this extra key, it makes no sense that the Google Authenticator doesn't display this key. I believe this is a key that I deleted years ago.
So now I have two Google Authenticator keys, which are not stored in this database, and one key which is stored in the database but not displayed in the Google Authenticator...
Do you still want to see the database structure? I'm trying to figure out where my other two extra keys are stored...

I figure it out...
It must have something to do with caches or temp databases.
I used TitaniumBackup to backup the Google Authenticator just now. Somehow it 'forces' the authenticator to review/check its database. After the TitaniumBackup, I now have 15 keys in my database. There is also no old key in the database anymore.
So something that TitaniumBackup is doing, fixes the issue of the database being outdated. This, in turn, should fix your script. However, it does not. It still only detects 14 accounts. Does this script use it's own temp somewhere? Perhaps it is still using data that was generated yesterday?

My script essentially runs the first and last of those three commands I posted earlier, there's no caching. The only data stored by Google Authenticator on my phone is:
./cache
./code_cache
./shared_prefs
./shared_prefs/persistent_backup_agent_helper.xml
./shared_prefs/com.google.android.apps.authenticator2_preferences.xml
./databases
./databases/databases
./databases/databases-journal
./files

The preferences files each contain one key, leaving database as the only other place to store data.
How are you counting that you have 15 keys in your database?

@sebastianst @jackgreyhat Have either of you used Titanium Backup or a similar tool to restore Google Authenticator from a previous backup? I'm unable to get anything to act strangely after using two different backup apps.

I have indeed transported my Google Authenticator between roms and phones several times using TB.

@sebastianst if you haven't touched your Authenticator database yet with another tool, could you run those three commands I have above?
That's sounding like the issue so I'll have to give that a try on another phone. Do you know approximately what major versions of Android you used? Were they all mostly stock ROMs?

OK here's the schema
CREATE TABLE android_metadata (locale TEXT);
CREATE TABLE accounts (_id INTEGER PRIMARY KEY, email TEXT NOT NULL, secret TEXT NOT NULL,  counter INTEGER DEFAULT 0, type INTEGER, provider INTEGER DEFAULT 0, issuer TEXT DEFAULT NULL, original_name TEXT DEFAULT NULL);

I don't feel comfortable posting any content from the dump on a public github issue though ;)
What I can tell you is that I see all but the two missing Microsoft dumps (I deleted the other one already) and they are all of the form
INSERT INTO accounts VALUES(1,'my@email.address','secretkey123',0,0,0,'Company or NULL','email/company or NULL');

the secret keys are all alpha-numerical, of varying length, sometimes upper, sometimes lower-case.
btw, I didn't need to base64 the data for pipe transfer, this just worked:
adb shell 'su -c "cat $ANDROID_DATA/data/com.google.android.apps.authenticator2/databases/databases"' > authenticator.db

I've been using Titanium Backup and Authenticator since my first phone (HTC Desire), on rooted stock and heavily customized roms, and everything in between, different phones, and probably all android versions since 2011 (so probably since Android 2.2) ;)

@sebastianst I see. As a last resort, can you rename one of those unexportable accounts to something unique, exit out of Authenticator, and do a grep -ra 'unique_name' $ANDROID_DATA/data/ as root to see where in the world it's being stored?

I just discovered two more files, next to the database, in the databases folder:
walleye:/data/data/com.google.android.apps.authenticator2/databases # ls -l
total 76
-rw-rw---- 1 u0_a148 u0_a148  6144 2018-09-25 22:21 databases
-rwxrw---- 1 u0_a148 u0_a148 32768 2019-02-10 19:04 databases-shm
-rw-rw---- 1 u0_a148 u0_a148 17848 2019-01-31 21:13 databases-wal

The -shm and -wal files come form sqlite's Write-Ahead Loggging mode. Now guess what I find in the binary data of the -wal file? My missing Microsoft tokens.
So I guess now we have to find a way to either extract the tokens right from the WAL or somehow make sqlite establish the current state in the actual database file.

OK, if all three files are next to each other, sqlite3 automatically incorporates the data from the write-ahead log as well. So depending on the sqlite implementation used by python, simply pulling the -wal and -shm files as well should hopefully solve the issue.


Need a "Do Not Vary by Query String Parameters" cache setting

It would be very useful to have a negative counterpart to the VaryByQueryStringParameters property for cache settings. In many cases, it's cumbersome (and error prone) to list all the query string parameter used on the site when you only want to keep a few of parameters from varying. The example we run into all the time is the Google AdWords gclid parameter. We never want to vary the cache on this since it's only used client-side by analytics.js.
I propose that we add a new field to the cache settings where you can list the query string parameters that you don't want to vary the cache on. It would look something like this...

We are already using this modification on several sites. If folks are interested, I'd be happy to submit it as a PR.

I agree that this feature is needed, but the proposed UI is a bit confusing IMO as you would effectively always leave one of the fields empty (any other combination would be redundant).
It also doesn't address the scenario "don't vary by any query string parameters at all" which is also missing today. And btw the current UI where an empty field means unfiltered, and when you enter in a value it suddenly flips the semantic to additive, is also a bit illogical.
Instead I propose something like the following:

I like your approach much better. I'll update and submit a PR.

Look forward to reviewing it! Thanks @joshberry!

Check it out: #7509. Let me know if you have any suggestions for improvement.

Not much, wrote a couple of minor comments on the PR.


Integrate better with CSS logical properties and values

It would be great if this plugin works better with CSS Logical Properties and Values. I have two use cases.
First, I would like a mode to convert physical direction and dimension to logical ones (like converting border-left to border-inline-start).
Second, when there are logical and physical rules in the same rule, the semantics of the transformed rule could be wrong. For example:
.test1, .test2 {
    padding-right: 20px;
    padding-inline-end: 30px;
}

is transformed to:
.test1, .test2 {
    padding-inline-end: 30px;
}

[dir="ltr"] .test1, [dir="ltr"] .test2 {
    padding-right: 20px;
}

[dir="rtl"] .test1, [dir="rtl"] .test2 {
    padding-left: 20px;
}

But padding-inline-end should overwrite padding-right in LTR (or padding-left in RTL).

Hi @xfq,
This plugin depends on RTLCSS to manage the transformations, the work of this plugin is just to place in a single stylesheet the transformation that RTLCSS does. But RTLCSS doesn‘t support logical properties (because these properties are already direction-dependant), so for that reason this plugin do not take them into account.
Try to revive the previous thread and check if @MohammadYounes still thinks that there are no plans to support logical properties.
But for the second issue that you are having maybe I can use one of the features of this plugin to see if I can cover it from here. I‘ll let this issue open and I will try to experiment a bit to see if I can bring a solution for you. I‘ll update you.
Regards.

Hi @xfq,
Use version 3.6.4 of the package. In this version, logical declarations will not be overridden by physical ones because of specificity of the prefixed rules. This is the output of your example using this version of the package:
Input
.test1, .test2 {
    padding-right: 20px;
    padding-inline-end: 30px;
}

Output
[dir="ltr"] .test1, [dir="ltr"] .test2 {
    padding-right: 20px;
}

[dir="rtl"] .test1, [dir="rtl"] .test2 {
    padding-left: 20px;
}

[dir] .test1, [dir] .test2 {
    padding-inline-end: 30px;
}

Regards


[AnimationCodelab] Gesture animation  no work

may be a problem with Surface

Can't reproduce anymore - closing out.


Replication extremely slow with millions of changes pending

Description
Continuous replication of https://skimdb.npmjs.com/registry gets extremely slow over time - it worked fine for up to 400k documents, then became extremely slow. The entire dataset contains 1.6M documents.
Here is the active task
[
  {
    "node": "couchdb@localhost",
    "pid": "<0.1300.89>",
    "changes_pending": 13442245,
    "checkpoint_interval": 30000,
    "checkpointed_source_seq": 611203,
    "continuous": true,
    "database": "shards/80000000-ffffffff/_replicator.1622573219",
    "doc_id": "ad71dbf4189be812bfb41c30d6000da6",
    "doc_write_failures": 1,
    "docs_read": 533605,
    "docs_written": 533604,
    "missing_revisions_found": 533605,
    "replication_id": "a5df5f8f23b0d94f28a1ed02d4a2f103+continuous",
    "revisions_checked": 540275,
    "source": "https://skimdb.npmjs.com/registry/",
    "source_seq": 612872,
    "started_on":<PHONE_NUMBER>,
    "target": "http://localhost:5984/npm_mirror/",
    "through_seq": 612872,
    "type": "replication",
    "updated_on":<PHONE_NUMBER>,
    "user": "admin"
  },
  {
    "node": "couchdb@localhost",
    "pid": "<0.22157.91>",
    "changes_done": 6107,
    "database": "shards/00000000-7fffffff/npm_mirror.1622573154",
    "phase": "document_copy",
    "progress": 2,
    "started_on":<PHONE_NUMBER>,
    "total_changes": 268814,
    "type": "database_compaction",
    "updated_on":<PHONE_NUMBER>
  }
]

Steps to Reproduce
Using the Couchbase GUI:

Navigate to replication
Set the remote source as https://skimdb.npmjs.com/registry
Set the remote as a new local database

Expected Behaviour
For the replication to run more quickly than it does (3+ hours to get through ~30% of the replication).
Your Environment
We're running 1 central instance locally for now.
{
  "couchdb": "Welcome",
  "version": "3.1.1",
  "git_sha": "ce596c65d",
  "uuid": "5e70eea19ba38ca970bd9a8020677dbf",
  "features": [
    "access-ready",
    "partitioned",
    "pluggable-storage-engines",
    "reshard",
    "scheduler"
  ],
  "vendor": {
    "name": "The Apache Software Foundation"
  }
}

CouchDB version used:
Browser name and version:
Operating system and version:

Additional Context
We have no attachments, just JSON documents.

Issue resolved when I set retries_per_request from 20 to 5


Request: select=["AUTOFIXABLE"] 🚀

I think ruff has some excellent opt-in rules enabled by select=["ALL"].  However, for large new projects, I either have to:

Fix all the non-autofix errors (hundreds to thousands)
Use the --add-noqa flag

I would like to request a halfway select=["ALL"] called select=["AUTOFIXABLE"], where basically one can turn on all rules that have autofixes implemented.
To accomplish this right now, one can either:

Use select=["ALL"], writing out a blocklist ignore = [...] for non-autofix rules
Use select=["I001", ...], writing out an allowlist of autofixable rules

What I did here and it took hours: https://github.com/jerryjliu/llama_index/pull/7889

Also, there can be other wordings besides "AUTOFIXABLE", maybe "FIXABLE" or "AUTOFIX"

Whether or not a rule violation can be fixed is not constant — some rules can only be fixed in certain contexts.
I'm not quite sure I understand why you want to be able to select all the fixable rules and ignore the others. It sounds like perhaps you're just looking for ruff check --select ALL --fix-only?

Would your use-case also be solved with a ruff fix command that fixes all fixable, selected lint rules and doesn't report additional violations?

Yeah you're understanding my request, thanks!

some rules can only be fixed in certain contexts.

Yeah, this is the reason I didn't include certain autofixable rules (e.g. ISC001, SIM102) in that linked PR, I only included autofixable rules that universally fixed all errors.

ruff check --select ALL --fix-only works for the initial invocation, wow that is nice!
However, --fix-only won't work for a pre-commit integration for all time.  Let's say someone decides to add a rule that doesn't have autofixes. I believe --fix-only would filter out errors that didn't have autofixes going forwards
What do you think?

However, --fix-only won't work for a pre-commit integration for all time. Let's say someone decides to add a rule that doesn't have autofixes. I believe --fix-only would filter out errors that didn't have autofixes going forwards

Can you say a bit more about this?

Ha it's funny, re-reading my comment that you're asking for clarification, it took me a minute to re-process what I meant. It was a bit vague, and I don't think the pre-commit part mattered.
Let's say we start with this:
fix-only = true
select = [
    "B009",  # Has autofix
]

Then we move to this:
fix-only = true
select = [
    "B008",  # Has no autofix
    "B009",  # Has autofix
]

The added B008 will effectively be silenced by fix-only. I guess my thoughts were:

Yes --fix-only is what this request was asking for, so I will close this out
But it creates a possibility for unexpectedly silenced rules

Given though users opt-in to fix-only, I think unexpectedly silencing rules would be the fault of the user. Maybe ruff could log a warning if fix-only is silencing a rule without autofixes, but I think that is quite tricky, especially since ruff can inherit configs using extend. Writing this out made me realize I should just close this out 😅


Replace archived pages with redirects

What
Replace archived pages with redirects. This might be achievable through a Netlify configuration file.
Why
Our archived pages require a user to click a link to visit another page, but implementing proper HTTP redirects will allow non-human users, e.g. search engines, to propagate the correct content.
Who needs to work on this
Anyone who feels comfortable doing it
Who needs to review this
Developer
Done when

[ ] Archived pages return a 3XX response and redirect to new locations
[ ] Archived pages have been deleted

It might be worth talking about this before continuing, as there could be instances when we choose to archive a page rather than redirect. More details on https://github.com/alphagov/govuk-design-system/pull/3416. We should discuss those possible scenarios.


nixos/grafana: Fix and adjust config options

Description of changes

Fixed errors introduced with #238472 where I expected null values to turn into the empty string
Made some optional settings accept null and list-like settings accept lists
Added a few more settings

@timothyklim Does this fix your error?
Also pinging @drupol from the linked PR.
This PR should be backported as well.
Things done

Built on platform(s)

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

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

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

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

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

[X] Fits CONTRIBUTING.md.

Now problem is gone.
I'm using release-23.05 but switched to this commit just to test it. Can it backported to 23.05, please?
Thanks!


[Container scalability] Support for taking multiple MySql end points

Add config to take list of mysql url end points along with their information (writeable, location, username, password).
Add Factory class for getting MySqlAccountStore instances.

Codecov Report

Merging #1651 into master will decrease coverage by 0.01%.
The diff coverage is 65.15%.

@@             Coverage Diff              @@
##             master    #1651      +/-   ##
============================================
- Coverage     73.64%   73.63%   -0.02%
- Complexity     8697     8699       +2
============================================
  Files           615      617       +2
  Lines         47711    47749      +38
  Branches       6031     6035       +4
============================================
+ Hits          35135    35158      +23
- Misses        10737    10751      +14
- Partials       1839     1840       +1

Impacted Files
Coverage Δ
Complexity Δ

...thub/ambry/account/MySqlAccountServiceFactory.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...in/java/com/github/ambry/account/DatabaseTest.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../com/github/ambry/account/MySqlAccountsDBTool.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../com/github/ambry/account/MySqlAccountService.java
80.79% <30.00%> (-2.77%)
32.00 <3.00> (-1.00)

.../ambry/account/mysql/MySqlAccountStoreFactory.java
40.00% <40.00%> (ø)
3.00 <3.00> (?)

...ava/com/github/ambry/account/mysql/MySqlUtils.java
92.00% <92.00%> (ø)
3.00 <3.00> (?)

.../github/ambry/account/mysql/MySqlAccountStore.java
96.00% <100.00%> (ø)
12.00 <1.00> (?)

.../github/ambry/account/mysql/MySqlDataAccessor.java
67.39% <100.00%> (ø)
7.00 <0.00> (ø)

...github/ambry/config/MySqlAccountServiceConfig.java
100.00% <100.00%> (ø)
1.00 <0.00> (ø)

...java/com/github/ambry/store/CompactionManager.java
89.94% <0.00%> (-2.37%)
27.00% <0.00%> (ø%)

... and 13 more

Continue to review full report at Codecov.

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


Revert "Use MLIR op lowering of FusedBatchNormV3 and FusedBatchNormGradV3 for tf2xla"

Reverts commit https://github.com/tensorflow/tensorflow/commit/676af55749f95c486c6fce5b8b550c5412e28a5b
We found via git bisect that this commit breaks convergence (loss goes to NaN) for a TF Keras Resnet50 model with XLA enabled.

Hi @jpienaar , Can you please review this PR? Thank you .

Hi @jpienaar , Can you please review this PR? Thank you .

Hi @jpienaar , Can you please review this PR? Thank you .

Hi @jpienaar , Can you please review this PR? Thank you !

Hi @jpienaar , Can you please review this PR? Thank you !

Hi @jpienaar , Can you please review this PR? Thank you !

Hi @jpienaar , Can you please review this PR? Thank you !

Hi @jpienaar , Can you please review this PR? Thank you !

Hi @jpienaar , Can you please review this PR? Thank you !

Hi @MichaelHudgins  , Can you please review this PR? Thank you !


Test Sets are missing some images

In your paper, you said the test set of FS Lost & Found has 275 images and FS Static has 1000 images, but you only uploaded  some images in your processed datasets. Could you please upload the complete test set?

Hi! Please see issue #13. These are the images in the fishyscapes.com hidden test sets. You have to submit your method there such that it gets tested on these images.


Feature/ally

Merging the ally stuff in to replace the connect components

Sorry, wrong project. Should be fork.


Authentication failed with Google drive

Hi Daniel,
Thank you for your good product.
my problem:
I have updated Keeanywhere from 1.3 to 1.4 and my authentication to Google drive does not work.
message:
A fatal Error has occured!
An extended report has been copied to the clipboard.
Authentication failed!
in the clipboard:
Authentication failed!
some info:
Keepass: v2.35
Keeanywhere: 1.4
authentication to dropbox works
proxy system used
Windows7
same problem when default browser is internet explorer or chrome.
any idea ?
Christophe

it appears when I try to add a new google drive account.
to be complete:

Tools / Keyannywhere setting
click on Add, select google Drive
on authorize to google drive screen, I see myslef and can enter my google password
on authorize to google drive 2nd screen, I click on blue button 'Autoriser' (french)
then appears popup message:
A fatal Error has occured!
An extended report has been copied to the clipboard.
Authentication failed!

Hope I'm complete
Christophe

Is your proxy configured corretly in KeePass? Please see #74. In the first half of this issue a similar problem could be solved.

Another question: was Versionb 1.3.1 working for you (when adding a Google Drive account)?

I think proxy is configured properly

the authentication works with dropbox.
keepass / options / Advances / proxy... / server = Use system proxy settings, authentication = default credentials

yes, it worked with keeanywhere 1.3.1
BR/CC

Ok, I now have an idea of a possible problem. Let me dig deeper into it.

Bug #74 is not completely fixed.
The root case is, that Google deprecated "WebView Authentication" in the end of 2016 and starts removing it's functionality by the end of April 2017.
Sources:

https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html
https://developers.google.com/identity/protocols/OAuth2InstalledApp (Option 4, Programmatic Extraction)

I will implement a workaround for this problem in next (Hotfix) release 1.4.1 and re-implement authentication in a later version (see #89).

Hi @chauffch ,
could you please try this development snapshot and report back your result:
KeeAnywhere-1.4.1-unstable.plgx.zip

Daniel
you are the best.
works like a charm
thanks. I keep the unstable 1.4.1 version until you release it
BR/CC


How to automatically close the Source UI after the scan is complete？

When I use the DTWAIN_AcquireFile function for acquisition with bShowUI set to true, the Source UI needs to be closed manually after the acquisition is complete. How can I make it close automatically?
I didn't use the DTWAIN_SetTwainMode function to set of modal / modeless dialogs.

You can try these two things:

Call DTWAIN_CloseSource after the processing has been done.  The processing is done when the DTWAIN_TN_ACQUIREDONE notification is sent (you will need to set the callback, using DTWAIN_SetCallback or DTWAIN_SetCallback64).

or

You can set the max pages parameter to 1 in the DTWAIN_AcquireFile call.  This is how the TwainSave utility accomplishes this, but granted, I don't think it's as straightforward as it should be.

I think the best bet is to use method 1).
There is no direct way right now to close the source after an acquisition.  What if the acquisition fails and the user wants to retry, or the UI just doesn't give up until the user retries?  Note that closing the UI automatically is not guaranteed to work, as there could be TWAIN UI's that require user interaction, i.e the "Cancel" or "Done" button must be pressed.

You can try DTWAIN_SetMaxAcquisitions.

The suggestion of using DTWAIN_SetMaxAcquisitions should solve the issue.  Since this issue has been opened for a month, this will be closed.


Close dropdown when ESC is pressed

Hello and thank you for your effort.
Would be nice to allow closing the dropdown when pressing the ESC button.
Thank you in advance

Thanks. I'll get to it.


Ability to create and restore DB containers

Is there a feature, or planned feature to be able to create and restore backups for database containers?
So for myself I'd run a script like so to create a backup dump of a MySQL DB.
docker exec ${CONTAINER} mysqldump -h ${MYSQL_HOST} \
  -P ${MYSQL_PORT} \
  -u ${MYSQL_USER} \
  -p ${MYSQL_PASSWORD} \
  ${DATABASE_NAME} > /path/to/my.backups/dump.sql

Maybe something like so could be helpful!
takeout dump ${CONTAINER} /path/to/file

Hi @mattstauffer or @josecanhelp I feel like this might specific to my own use case, but I use takeout for my database instances. I run a native Linux OS, so for DB management I typically use just plain CLI (Postgres or MySQL) or I use DBeaver. In the case I created this issue for is sometimes my OS does not have either Postgres or MySQL installed so when I try to do backups or restore from backups I have to do it through docker exec, using a script like I mentioned above.
If I were to create additional commands like dump & restore would this be worth myself creating a PR? It would make my use case much easier but don't know if its worth the time/trouble of building this.


Socket filepath should come from the config yaml file by default

The socket path should come from the config yaml file. However we leave the ability to specify this on the command line and override whatever socket path is defined in the config yaml file.

https://github.com/input-output-hk/cardano-node/commit/d4b17ee1370a4c53940c87bfa25139a412d19c5b


Incorrect suggestion for SIM208

The SIM208 rule should be updated to only emit errors for not not x in boolean contexts, since changing not not x to just x can cause different results. When used in a non-boolean context, bool(x) should be used instead to ensure it results in a boolean type.
Example
x = 123
y = not not x

In the above example, y is True, but changing it to y = x make it 123 instead.
Solution
Only suggest x when in a boolean context, and bool(x) everywhere else:
y = not not x  # bool(x)

if not not x:  # x
    ...
elif not not x:  # x
    ...
elif f(not not x):  # f(bool(x))
    ...

I opened a similar issue on the flake8-simplify repo as well.

Oh interesting, thanks, I think we do this already (or something like it) for SIM210.

x=!!x
Y=123

I'm getting flagged for SIM208 in the exact example listed in the description. It does not suggest I use bool(x) and instead suggests to use x.
Python version: 3.11.9
Ruff version: 0.5.6


Fixed KW issue with absent _impl init in vertex_similarity_result constructor

Description
Please include a summary of the change. For large or complex changes please include enough information to introduce your change and explain motivation for it.
Changes proposed in this pull request:
-Fixed KW issue with absent _impl init in vertex_similarity_result constructor

/intelci: run


Fix for: Cannot read property 'classes' of undefined

This fix allow to handle different xml structures
In my case, the cobertura-coverage.xml had a different structure that made the lib crash:
<?xml version="1.0" ?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage lines-valid="33" lines-covered="29" line-rate="0.8787999999999999" branches-valid="10" branches-covered="8" branch-rate="0.8" timestamp="1523546158798" complexity="0" version="0.1">
  <sources>
    <source>/Users/xxx/xxx/app</source>
  </sources>
  <packages>
    <class name="app.js" filename="dist/app.js" line-rate="0.9" branch-rate="0.8">
    ...
    </class>
  </packages>

Using
"istanbul": "v1.1.0-alpha.1"
"remap-istanbul": "^0.9.5"
"mocha": "^3.5.3"

Coverage decreased (-3.6%) to 88.618% when pulling 1d05ef896591ff0e485f406faa2fcf2feb49960e on AlexBeauchemin:master into f0621f0e30a504819a0e25e86586181a2aae4c00 on intuit:master.

Coverage decreased (-3.6%) to 88.618% when pulling 1d05ef896591ff0e485f406faa2fcf2feb49960e on AlexBeauchemin:master into f0621f0e30a504819a0e25e86586181a2aae4c00 on intuit:master.

Still this issue exists. Waiting for the PR to be merged.
Issue regarding generating different format by Istanbul was logged here: https://github.com/istanbuljs/istanbuljs/issues/66

This is ready to be merged but I think the maintainers are gone 😞


[Bug] :

Device information
App version: <IP_ADDRESS> (standard, 67c506d, 72, 2022-01-06T02:47Z)
Android version: 10 (SDK 29)
Android build ID: VOG-L29 <IP_ADDRESS>(C431E19R2P5)
Device brand: HUAWEI
Device manufacturer: HUAWEI
Device name: HWVOG
Device model: VOG-L29
Device product name: VOG-L29EEA
Source information

Name: 9anime
Extension version: 12.4

Steps to reproduce

I search for any anime, find them and click on play.
The video player appears to be loading and then I get an 404 error every time.

I have tried restarting the app, clear the app's cache and even reinstalling the app as well as all my extensions including the 9anime extension. I have also tried restarting my device and formating the cache partition. Other extensions work fine. I live in Greece and the 9anime website isn't banned in my country so it's not a VPN issue I guess. Normally I have waited before posting this, I actually found out about Aniyomi from a friend a month ago and installed the 9anime extension as well as others then but the 9anime extension never worked.

Closing as this not reproducible on latest versions of app and extension


Fix automated publication of versions on npmjs

Describe the bug
The Travis CI automated process triggered when generating a new release of the library is not able to publish successfully the new library to npmjs.org. Thus, it needs to be manually deployed in a later stage.
To Reproduce
Steps to reproduce the behavior:

Generate a new GitHub release for this repository
Check logs of Travis CI build for the just generated release
Logs display an error during the publication of the release:

npm ERR! code E403 npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/systelab-components-wdio-test - You cannot publish over the previously published versions: 1.1.0. npm ERR! 403 In most cases, you or one of your dependencies are requesting npm ERR! 403 a package version that is forbidden by your security policy.
Expected behavior
The release is automatically published to npmjs.org when generating a new GitHub release

The problemed seemed something internal or related with the configuration of the project in npmjs.
The 2 last versions generated (1.2,0 and 1.3.0) have been uploaded successfully by Travis CI, so this issue can be closed


params: avoid a core dump with a null pointer and a get string call

Rather than seg faulting, set the param size and return a failure.

[ ] documentation is added or updated
[ ] tests are added or updated

Is @slontis hit this while coding something a reasonable excuse? :)
I'll amend the commit message with a note about avoiding a NULL dereference.

I might sound like Andy :D but in case this is a 'cannot happen' situation sometimes the segfault on NULL poiner dereference (with a proper backtrace) can provide more information to the developer that made a mistake than error return that can be silently ignored and causing weird behavior much later.
So I wanted to see the rationale in form of "yes, we need this because this could be a legitimate situation that we can hit and so we need to handle it gracefully".

This is definitely a can happen situation, as I discovered earlier today.  Returning the desired size is consistent with what the other OSSL_PARAM helper functions do with NULL.

OK, thank you for the updated commit message. Still approved.

I might sound like Andy :D but in case this is a 'cannot happen' situation sometimes the segfault on NULL poiner dereference...

I was thinking the same, but figured that these are public functions, and the NULL pointer may come all the way from the user, so...

Travis is a time out and not relevant.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master, thanks for the comments.


Windows installation

There is a small install.sh script to copy data to ~/.minizinc
For windows this has to point to the "Application Data" directory, someone with a Windows System has to check how this works and write a install.bat file.

https://groups.google.com/g/minizinc/c/ExzDVEZtvjQ/m/02pOTco7BAAJ


requirments

as you see in the photo  the requirements .txt is not working correctly   so to install i installed every library independently

I found a solution, tried it and it worked!
Just try to download Windows Subsystem for Linux  (wsl). Then you can run the Linux commands inside your windows environment.


TNO-780, 785, 782, 787

Includes:

npm package upgrade -> 0.0.202
new content form toolbar
new content form
styling updates
copy to clipboard for source url
new navigate link

To note:
There are future tickets for toning, tags, time log. The layout has been updated to match these tickets but the styling will still need to be completed with those tickets.
Also Alessia's work will be added once merged.

Zoomed out view to capture most of the visuals:

Putting to draft while I fix some bugs I found


Update README.md

Hi,
This small PR adds a button to get your app on F-Droid 👍
Thanks for your support :)

Thanks!


how the pixel-wise segmentation maps are converted to object-wise instances?

Where can I find the code for converting the pixel-wise segmentation maps to object-wise instances? I've checked the 'create_annotations' in utils.py, it seems that you generate instances of the same category all together using 'rle_from_binary' function. I'd like to know how the instances of the same category are separated? Thank you!

Hi @lixiang-ucas
Object instances are created by the step labeler:
https://github.com/neptune-ml/open-solution-mapping-challenge/blob/865f37571a844d698ac9ac898eb02249c9d6c796/src/pipelines.py#L277
Because the segmentation maps are of such a high quality we can simply use ndi.label for this without any additional tricks. In this case it was possible to solve instance segmentation problem with extremely accurate semantic segmentation thanks to loss weighting.
I hope this answers you questions.

thanks for your help, nice coding!


Which attributes are available by default and for which we need custom attributes

A helpful info will be when do we need to define extension attribute.
For example City is available by default and we don't need extension attribute for that. Just defining City claim in building blocks will work.
Is there any exclusive list for the built-in claims?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 29fb9816-df6a-6f60-35d0-c2a04732f295
Version Independent ID: ffc8b13a-b2c9-a502-1580-abea596194ab
Content: Add your own attributes to custom policies in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-create-custom-attributes-profile-edit-custom.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@agrabhi
Thanks for your feedback! We will investigate and update as appropriate.

@agrabhi Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@agrabhi: I don't think we will be documenting the built-in attribute claims in this article, but you can easily find them by looking in the Azure portal. In your B2C tenant,  select User attributes. The page includes all of the built-in attributes (as defined in the ATTRIBUTE TYPE column) that are used in B2C. This same list appears when you create a user flow and select attributes for application claims.
#please-close


Curl returned error code 28

Describe the bug
One of my programs keeps PUT files to S3, and another keep GET files from S3. I found that in an environment the PUT and GET operations are very slow due to the error "Curl returned error code 28". When the error happens, the SDK do waiting and maybe backoff if another error happen again.
And the issue does not happen if I deploy the program directly on EC2 nodes. Only happen in the PODs with EKS managed. I'm not sure EKS is relative to this issue or not.
"ping http://s3.us-west-2.amazonaws.com" seems very normal.
ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 30446
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1048576
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
conntrack -C
0
cat /proc/sys/net/nf_conntrack_max
cat: /proc/sys/net/nf_conntrack_max: No such file or directory
cat /proc/sys/fs/file-nr
2368	0	6432139
Any ideas?
Expected Behavior
No errors
Current Behavior
[2023/03/29 02:14:32.276 +00:00] [DEBUG] [S3Common.cpp:478] ["uploadFile local_fname=/data0/tiflash/data/ks_3490_t_1506/stable/dmf_21696/29.dat, key=s1072925372/data/ks_3490_t_1506/dmf_21696/29.dat, write_bytes=267346 cost=0.07s"] [source="bucket=prod-us-west-2-f01-tiflash root=tiflash_prod/"] [thread_id=149]
2023-03-29 10:14:32
[2023/03/29 02:15:02.832 +00:00] [ERROR] [S3Common.cpp:126] ["tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:02
[2023/03/29 02:15:02.832 +00:00] [ERROR] [S3Common.cpp:126] ["tag=AWSXmlClient message=HTTP response code: -1\nResolved remote host IP address: \nRequest ID: \nException name: \nError message: curlCode: 28, Timeout was reached\n0 response headers:"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:02
[2023/03/29 02:15:02.832 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=If the signature check failed. This could be because of a time skew. Attempting to adjust the signer."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:02
[2023/03/29 02:15:02.832 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=Request failed, now waiting 0 ms before attempting again."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:02
[2023/03/29 02:15:02.832 +00:00] [ERROR] [S3Common.cpp:126] ["tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:03
[2023/03/29 02:15:02.832 +00:00] [ERROR] [S3Common.cpp:126] ["tag=AWSXmlClient message=HTTP response code: -1\nResolved remote host IP address: \nRequest ID: \nException name: \nError message: curlCode: 28, Timeout was reached\n0 response headers:"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:03
[2023/03/29 02:15:02.832 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=If the signature check failed. This could be because of a time skew. Attempting to adjust the signer."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:03
[2023/03/29 02:15:02.832 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=Request failed, now waiting 0 ms before attempting again."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:03
[2023/03/29 02:15:07.849 +00:00] [ERROR] [S3Common.cpp:126] ["tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:07
[2023/03/29 02:15:07.849 +00:00] [ERROR] [S3Common.cpp:126] ["tag=AWSXmlClient message=HTTP response code: -1\nResolved remote host IP address: \nRequest ID: \nException name: \nError message: curlCode: 28, Timeout was reached\n0 response headers:"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:07
[2023/03/29 02:15:07.849 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=If the signature check failed. This could be because of a time skew. Attempting to adjust the signer."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:07
[2023/03/29 02:15:07.849 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=Request failed, now waiting 50 ms before attempting again."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:07
[2023/03/29 02:15:07.849 +00:00] [ERROR] [S3Common.cpp:126] ["tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:08
[2023/03/29 02:15:07.849 +00:00] [ERROR] [S3Common.cpp:126] ["tag=AWSXmlClient message=HTTP response code: -1\nResolved remote host IP address: \nRequest ID: \nException name: \nError message: curlCode: 28, Timeout was reached\n0 response headers:"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:08
[2023/03/29 02:15:07.849 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=If the signature check failed. This could be because of a time skew. Attempting to adjust the signer."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:08
[2023/03/29 02:15:07.849 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=Request failed, now waiting 50 ms before attempting again."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:08
[2023/03/29 02:15:12.952 +00:00] [ERROR] [S3Common.cpp:126] ["tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.953 +00:00] [ERROR] [S3Common.cpp:126] ["tag=AWSXmlClient message=HTTP response code: -1\nResolved remote host IP address: \nRequest ID: \nException name: \nError message: curlCode: 28, Timeout was reached\n0 response headers:"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.953 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=If the signature check failed. This could be because of a time skew. Attempting to adjust the signer."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.953 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=Request failed, now waiting 100 ms before attempting again."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.952 +00:00] [ERROR] [S3Common.cpp:126] ["tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.953 +00:00] [ERROR] [S3Common.cpp:126] ["tag=AWSXmlClient message=HTTP response code: -1\nResolved remote host IP address: \nRequest ID: \nException name: \nError message: curlCode: 28, Timeout was reached\n0 response headers:"] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.953 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=If the signature check failed. This could be because of a time skew. Attempting to adjust the signer."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:12.953 +00:00] [WARN] [S3Common.cpp:126] ["tag=AWSClient message=Request failed, now waiting 100 ms before attempting again."] [source=AWSClient] [thread_id=149]
2023-03-29 10:15:13
[2023/03/29 02:15:13.211 +00:00] [DEBUG] [S3Common.cpp:478] ["uploadFile local_fname=/data0/tiflash/data/ks_3490_t_1506/stable/dmf_21704/4.dat, key=s1072925372/data/ks_3490_t_1506/dmf_21704/4.dat, write_bytes=2004567 cost=15.39s"] [source="bucket=prod-us-west-2-f01-tiflash root=tiflash_prod/"] [thread_id=149]
2023-03-29 10:15:13

Reproduction Steps
Here is how I use the SDK: https://github.com/pingcap/tiflash/blob/master/dbms/src/Storages/S3/S3Common.cpp
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
https://github.com/aws/aws-sdk-cpp/tree/af7d416009980d268235c2fccb5eb1bd9526980e
Compiler and Version used
clang version 15.0.7
Operating System and version
CentOS Linux 7

Can you reproduce this with a smaller code snippet?

Looks like something went wrong between Curl and the linux docker image we used. We use Poco::Http to replace Curl to work around it.

The performance of curl client embed on AWS SDK is awful, especially when deployed with STSAssumeRoleWebIdentityCredentials. It happens with tag=CurlHttpClient message=Curl returned error code 28 - Timeout was reached times to times every 2 ~ 4 minutes. Sometimes it need to retry more than 3 ~ 5 times and finally get timeout totally.
-- commit: https://github.com/pingcap/tiflash/pull/7209/commits/fdcdcacac6ed472709bec20323834298f56cd686
-- running with 1 threads put, 1 threads get, 256 files per thread
-- the program is deployed on a pod managed by EKS and fetching credentials with `STSAssumeRoleWebIdentityCredentials`
S3_CLIENT_TYPE=1 LD_LIBRARY_PATH=. ./tiflash dtworkload --testing_type=s3_bench --s3_bucket="xxx" --s3_endpoint="http://s3.us-east-1.amazonaws.com" --s3_root=s3bench  --s3_put_concurrency=1 --s3_get_concurrency=1 --s3_put_count_per_thread=256 --s3_get_count_per_thread=256 --log_level=debug > run.13.poco.log 2>&1 &
S3_CLIENT_TYPE=0 LD_LIBRARY_PATH=. ./tiflash dtworkload --testing_type=s3_bench --s3_bucket="xxx" --s3_endpoint="http://s3.us-east-1.amazonaws.com" --s3_root=s3bench  --s3_put_concurrency=1 --s3_get_concurrency=1 --s3_put_count_per_thread=256 --s3_get_count_per_thread=256 --log_level=debug > run.13.curl.log 2>&1 &

# Results
# Using curl client
max put time:<PHONE_NUMBER>49392/0 => 10.89600276
max get time:<PHONE_NUMBER>49392/87 => 33.438151635

# Using poco cilent
max put time:<PHONE_NUMBER>80400/164 => 2.830369764
max get time:<PHONE_NUMBER>80400/34 => 2.726492226


Code for quarkus upgrade 3.2

@mluypaert we need better checking than github.event.action != 'edited' these actions need to get rerun but now they can't be.

@mluypaert we need better checking than github.event.action != 'edited' these actions need to get rerun but now they can't be.

@oblodgett Why did the actions needed to be rerun? If you need a specific workflow to be rerun then you can always manually trigger a rerun by going to the workflow page (in Github) and hitting the "Re-run all jobs" button. Not getting rerun on title changes is exactly the intended behavior of github.event.action != 'edited'

The reruns were not triggering.


Write tutorial for creating Docker Meltano images

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/624
Originally created by @bencodezen on 2019-04-30 19:52:11

Problem to solve
Users need to know how to create their own Docker images with their Meltano project bundled with it.
Target audience
Anyone who wants to deploy their Meltano project with Docker (includes AWS)
Further details
Makes it easier for people to use industry leading tools in conjunction with Meltano
Proposal

[ ] Verify that we can successfully build Docker images with Meltano projects
[ ] Create documentation that walks the user through

What does success look like, and how can we measure that?

A user can walk through the guide from start to finish and successfully use Meltano from a Docker image.

Regression test
(Ensure the feature doesn't cause any regressions)

[ ] Write adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

Links / references
Please note that this was taken from GitLab, to be changed accordingly

View 5 previous comments from the original issue on GitLab


Cannot Find Pane and commands not running

I know this issue has been posted a thousand times, but I've tried as many things as I saw I could.  Please let it be something dumb :/
Here's my tmuxinator yml file
# ~/.tmuxinator/stat.yml

name: stat
root: ~/

windows:
  - stat:
      layout: 79dd,210x47,0,0{105x47,0,0,55,104x47,106,0[104x23,106,0,56,104x23,106,24{52x23,106,24,57,51x23,159,24,58}]}
      panes:
        - echo 'test1'
        - echo 'test2'
        - echo 'test3'
        - echo 'test4'

Here's the output after I exit all tmux windows (which by the way, are formatted properly, it's just that no commands are being run)
brandon@brandon-VirtualBox:~$ tmuxinator start stat
can't find pane 1
can't find pane 2
can't find pane 3
can't find pane 4

My echo commands are not being run in the panes, but the panes are being opened properly.
Here's my tmux show-options -g
brandon@brandon-VirtualBox:~$ tmux show-options -g
assume-paste-time 1
base-index 1
bell-action any
bell-on-alert off
default-command ""
default-shell "/bin/bash"
destroy-unattached off
detach-on-destroy on
display-panes-active-colour red
display-panes-colour blue
display-panes-time 1000
display-time 750
history-limit 10000
lock-after-time 0
lock-command "lock -np"
message-command-style fg=yellow,bg=black
message-style fg=black,bg=yellow
mouse on
mouse-utf8 on
prefix C-a
prefix2 <NONE>
renumber-windows off
repeat-time 500
set-remain-on-exit off
set-titles on
set-titles-string "#S:#I:#W - "#T" #{session_alerts}"
status on
status-interval 60
status-justify left
status-keys vi
status-left "#[fg=green](#S) #(whoami)"
status-left-length 30
status-left-style default
status-position bottom
status-right "#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]"
status-right-length 40
status-right-style default
status-style fg=white,bg=black
status-utf8 on
update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
visual-activity on
visual-bell off
visual-silence off
word-separators " -_@"

You'll notice that pane-base-index 1 isn't present, but here's an excerpt from my .tmux.conf
 set-option -g base-index 1
 set-option -g pane-base-index 1
 set -g pane-base-index 1
 set-window-option -g pane-base-index 1

So I'm not sure what's going on with that.
And here's my debug:
brandon@brandon-VirtualBox:~$ tmuxinator debug stat
#!/bin/bash

# Clear rbenv variables before starting tmux
unset RBENV_VERSION
unset RBENV_DIR

tmux start-server;

  cd /home/brandon

  # Run pre command.

  # Create the session and the first window. Manually switch to root
  # directory if required to support tmux < 1.9
  TMUX= tmux new-session -d -s stat -n stat
  tmux send-keys -t stat:1 cd\ /home/brandon C-m

  # Create other windows.

  # Window "stat"
  tmux send-keys -t stat:1.1 echo\ \'test1\' C-m

  tmux splitw -c /home/brandon -t stat:1
  tmux select-layout -t stat:1 tiled
  tmux send-keys -t stat:1.2 echo\ \'test2\' C-m

  tmux splitw -c /home/brandon -t stat:1
  tmux select-layout -t stat:1 tiled
  tmux send-keys -t stat:1.3 echo\ \'test3\' C-m

  tmux splitw -c /home/brandon -t stat:1
  tmux select-layout -t stat:1 tiled
  tmux send-keys -t stat:1.4 echo\ \'test4\' C-m

  tmux select-layout -t stat:1 tiled

  tmux select-layout -t stat:1 79dd,210x47,0,0\{105x47,0,0,55,104x47,106,0\[104x23,106,0,56,104x23,106,24\{52x23,106,24,57,51x23,159,24,58\}\]\}
  tmux select-pane -t stat:1.1

  tmux select-window -t 1
  tmux select-pane -t 0

  if [ -z "$TMUX" ]; then
    tmux -u attach-session -t stat
  else
    tmux -u switch-client -t stat
  fi

Some other notes

I've tried messing with indentation. A lot.
I've tried all different spellings and variations of pane-base-index option and all of that.
I've tried putting the commands in strings, tried other commands with no strings, etc.

Is there anything else I can provide? Is there an easy solution?

Hey @brandonsturgeon,
Your config works for me. The only difference in my setup is that I'm using base-index 0.

Is there anything else I can provide?

Which version of the gem are you using? Which version of Tmux? (We should really add this to the issue template...)

Hi @ethagnawl ,
Thanks for the response.
Here are my versions
brandon@brandon-VirtualBox:~$ tmuxinator -v
tmuxinator 0.9.0
brandon@brandon-VirtualBox:~$ tmux -V
tmux 2.1

I get the same output when I try base-index 0
can't find pane 1
can't find pane 2
can't find pane 3
can't find pane 4
[exited]

I restarted my machine and it appears to work now?
I have base-index 0 so, maybe that was the trick.

This is driving me crazy. I have the same issue.  Haven't tried restarting the machine but did toy with base-index 0 and 1.


Rename RouteHandlerFilter to EndpointFilter

See https://github.com/dotnet/aspnetcore/pull/42678/files
@fiyazbinhasan  can you update your code in https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/fundamentals/minimal-apis/min-api-filters/7samples then I'll update the topic.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a109e339-bce8-9580-12f8-dab879a3dcfc
Version Independent ID: a109e339-bce8-9580-12f8-dab879a3dcfc
Content: Filters in Minimal API applications
Content Source: aspnetcore/fundamentals/minimal-apis/min-api-filters.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hi @Rick-Anderson, sure I'll take a look at it asap :)

@Rick-Anderson we can close this


Add search bar to the dashboard's market list

Description
Add a search bar to the market similar to what has been added for the markets drop-down selector.
Related issue
#2090
Motivation and Context

How Has This Been Tested?

Open the Dashboard page
Type the market in the search bar
Show the correct market in the table

Screenshots (if appropriate):

[ ] Can we add the search bar to the /dashboard/markets page, too?

[ ] Would it be possible to also include the full perp label into the search?

In the example, to find the Bitcoin market I have to type "BTC", but it would be great to be able to search for "Bitcoin" and find the bitcoin market, too

[x]  Can we add the search bar to the /dashboard/markets page, too?
[x]  Would it be possible to also include the full perp label into the search? In the example below, to find the Bitcoin market I have to search "BTC", but it would be great to be able to search for "Bitcoin" and find the bitcoin market, too

@platschi  All the requested changes have been made. Thanks.


Example for Multipart upload

Where could I find the multipart upload example?
thank you!~

There are lots of examples linked in the readme - https://github.com/minio/minio-go#full-examples--file-object-operations
The library handles multipart and singlepart uploads uniformly with the same API.

Thank you for you help.
All of examples were used in my learning environment, But I can't find a complete example about "multipart upload",  likes initiateMultipartUpload ... uploadPart ... completeMultipartUpload.
I working for a storage  wrapper service for our team, I provide a http service to serve object storage service for ceph object storage.  Clients need using "Multipart upload" feature to upload large files.

Thank you very much~

@lth2015 With this library, you do not need to use separate initiate, uploadpart and completemultipart requests. The library takes care of this for you. You can just use the FPutObject function. See the link for documentation and example.

It's helpful, thanks~


fix issue #1866 -> pause consumer.

fix issue #1866 : call pausePartition on all partitions when pausing the consumer so partitions are not restarted by resumePartitionsIfNecessary.

@theogoria Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@theogoria Thank you for signing the Contributor License Agreement!

@theogoria Thanks for the contribution.
However, I think this needs more sophistication - the two functions (pausing the consumer for all partitions)and pausing individual partitions for @RetryableTopic) need to be kept separate - a partition paused by one function should not be resumed by the other, and vice-versa.
It also needs test cases.
cc/ @tomazfernandes

Thanks again; replaced by https://github.com/spring-projects/spring-kafka/pull/1868


Add z-index to movile nav

Before
The sitewide nav is open but it's hidden behind the title of an article.

After

https://app.shortcut.com/larder/story/19795


Delay before sending "Search" request after typing text in "search field"

First of all, you made an amazing plugin! This is much better than NuGetForUnity!
I just want to request a single feature that may improve usage. In my case, I have a slow internet connection, and when I type text into the search field it takes 5 seconds after each letter to search packages and doesn't allow me to continue typing.
My proposition
Add a delay after each typed letter, before sending a network request. If a new letter was typed in the delay period - cancel the previous delay and create a new one. That is all.
Just in case how to do that ease. In UniRx library for Unity exists a cool reactive method "Throttle", it does the job.
onSearchFieldUpdated
  .Throttle(TimeSpan.FromSeconds(1))
  .Subscribe(x =>
  {
    // Make a request here
  });

Sorry for the very late reply...
I have implemented the search asynchronously, so I should be able to type continuously, but I may have made a mistake in the implementation...
I will add the following options for those with unstable networks.

Option to reduce the amount of data. (limit the retrieval of images; reduce the number of searches as you suggested.)
Option to set the number of communication retries
Option to set a timeout period

I know UniRx has great features, but I don't plan to use this package because I want to avoid dependence on other packages.


Force Travis CI as a branch policy

Force gated check ins via Travis CI.
Don't run dep ensure in Travis CI - just build directly against whatever's committed in /vendor.
Commit the /vendor folder.
Add the Travis CI badge to the README.

This should make issues like #20 easier.

We have this now.


Netcdf file is of zero size

the new netcdf file is differet. Used to be able to open it with
with fsspec.open(zarr_path, mode="rb") as file:
   file_bytes = file.read()

with io.BytesIO(file_bytes) as file:
    nwp = xr.load_dataset(file, engine="h5netcdf")

Would be great to know now how to open the file from s3
Ive switched over to using the zarr file in the nowcasting forecast. We could just permantely switch over to this
@simlmx I'll tag you as you made the changes.

Solved, must have been something i did, also im svaing using h5netcdf now


Login after each test with -t/--test pameter

This commit implements login after each test for
execute plugins.
Closes https://github.com/teemtee/tmt/issues/519

Original issue requested to change into appropriate directory (where tests' path points to)
While at it it would be nice to export same environment as tests is using (requested in #1262)

Original issue requested to change into appropriate directory (where tests' path points to) While at it it would be nice to export same environment as tests is using (requested in #1262)

The appropriate env and directory after login should be implemented. Should I also try to implement --exit-first from #1262 ?

Should I also try to implement --exit-first from https://github.com/teemtee/tmt/issues/1262 ?

I'd say let's handle that one in a separate pull request. Unless @lukaszachy thinks otherwise.

Please, squash existing commits and rebase on the latest main to incorporate recent typing updates in base.py. Thanks.

The branch is rebased onto the main. Let's see and fix the tests if necessary.
There are two different attempts for refactoring the list of expected_results evaluation. Which one do you think is more suitable for the tmt project? It is located in the Login._enabled_by_results method.

Thanks for the improvements, looks good. Just one question regarding an unused property. Added a few minor adjustments in 7e507e5. Please, have a look if the changes are ok. Thanks.

The changes seem to be OK.

The changes seem to be OK.

Thanks for checking, rebased and squashed.


Don't remove DATABASE_URL from ENV if it existed previously.

verify_no_db_access_loading_rails_environment was blindly removing
it at the end.
Re-use existing with_dummy_database_url_configuration and promote it
to a module in lib/tasks.
Followup to #5340

Please review with whitespace changes ignored, it makes the change more obvious:
https://github.com/ManageIQ/manageiq/pull/5342/files?w=1


update readme docs links

fixes #121

Could you possibly change the URLs to use the new docs: http://googlechrome.github.io/sw-toolbox/docs/master/

Can do, except for the "expressive approach" link (there's also a few broken anchors in the usage/api doc pages).
Do you prefer squashed commits for PRs or I can just keep stacking them on?

Squashed please :)

updated and force pushed - https://googlechrome.github.io/sw-toolbox/docs/master/tutorial-api#toolboxrouterheadurlpattern-handler-options anchor is still broken - can try updating docs titles to be linkable if wanted


Comments on documentation

Final issue of the day!

The auto-generated side of the docs on readthedocs are not that useful in places, e.g., https://pygetpapers.readthedocs.io/en/latest/crossref.html. It might just be that the docstring format needs to be tweaked.
It also seems that the docs for the rxiv submodule are missing from readthedocs, presumably because of an issue with the sphinx build.
The "hand-written" documentation (based on your README, I think?) looks great! You might consider turning some sections into subsections, e.g. Installation -> Way one/way 2 to make it easier to navigate.
For the JOSS paper itself, the reviewers are asked to run through the tutorials, so it's probably worth checking that these work with the latest code (maybe even added as test cases, if possible). Again, it might be worth reorganizing this slightly to make it easier to navigate. For example, I can't find the "Tutorials" section on readthedocs, but I see that it is present in your README -- in fact I now see that they are two separate files (and also a second rst version of the README). You might consider unifying this into one file, or as is commonly done, importing the README in your docs build.

Great job! The docs look much better -- really like the addition of "Developer docs" too (I don't remember seeing them before).
From the above, I think my point 3. still stands as the sidebar is a bit messy. Perhaps just demoting some of your section headings in the README/index would work? e.g.
# What is pygetpapers
## History
## Supported Formats
## Repository Structure
## ...
# Installation
# Usage
## What is CProject?
# Tutorials

It also looks like the API docs appear twice in the sidebar. I think all you have to do is move them to a subfolder and then adjust your links from index.rst.

Some minor comments I'd like to add on top of Matthew's:

I like to keep the README file minimal and then provide examples/more details in dedicated documentation sections. I feel that putting all the information into one file can be overwhelming (and a nice sphinx site can be easier to search)
you can consider making some of the examples easier to run without installation - e.g. providing a Colab or Binder link

But, overall, the documentation looks good and useful!

Thanks,
I was thinking that other parts of the paper (history and some of the
output) might also go onto the site rather than in the paper.
On Sun, Jun 5, 2022 at 9:03 PM Kevin Jablonka @.***>
wrote:

Some minor comments I'd like to add on top of Matthew's:

I like to keep the README file minimal and then provide
examples/more details in dedicated documentation sections. I feel that
putting all the information into one file can be overwhelming (and a nice
sphinx site can be easier to search)
you can consider making some of the examples easier to run without
installation - e.g. providing a Colab or Binder link

But, overall, the documentation looks good and useful!
—
Reply to this email directly, view it on GitHub
https://github.com/petermr/pygetpapers/issues/36#issuecomment-1146874731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTCSYLV6HIPDCTJGUDBXTVNUBYDANCNFSM5O7FRNPA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK

Something I noted in the README:
"A CProject is a directory structure that the AMI toolset uses to gather and process data. Each paper gets its folder. "
What is "the AMI toolset"? Are there other tools than pygetpapers that work with the same directory structure? If so, links to those tools would be more than welcome.

Done sir

Some minor comments I'd like to add on top of Matthew's:

I like to keep the README file minimal and then provide examples/more details in dedicated documentation sections. I feel that putting all the information into one file can be overwhelming (and a nice sphinx site can be easier to search)
you can consider making some of the examples easier to run without installation - e.g. providing a Colab or Binder link
I would consider putting the contribution guidelines into their own file

But, overall, the documentation looks good and useful!

Thanks a lot for the recommendations. I have added contributions file separately and have added the link to the file in the readme.


Add BDD test framework

What are you building with SQLPage ?
A small point of sales proof of concept.
What is your problem ? A description of the problem, not the solution you are proposing.
I want to test my web-app frequently.
Describe the solution you'd like
I would like to describe the behavior of the website in Gherkin syntax (Given ..., When ..., Then ...). For webapps based on databases that mostly consist of workflows through forms that is quite a natural way to test. The Ruby community was quite bold on Behavior Driven Development as well.
Describe alternatives you've considered
Test vectors sequences could also be a viable approach to test UI interaction sequences

Hi !
I'm not sure about bundling testing tools inside SQLPage. There is a large number of testing solutions that already work much better than anything we could implement ourselves in a reasonable time.
To test the official site, we use playwright, which I think results in fairly readable end-to-end tests: https://github.com/lovasoa/SQLpage/blob/main/tests/end-to-end/official-site.spec.ts


👽 expose log streaming endpoint

What do these changes do?

Update openapi.json
Enable logstreaming test in e2e.

Related issue/s

resolves #143

How to test

For internal developers

Great, thx.
Just a general question. Should we commit these auto-generated json files in the repo? Can't the be compiled when deployed, or do i misunderstand the use of these?

Great, thx.
Just a general question. Should we commit these auto-generated json files in the repo? Can't they be compiled when deployed, or do i misunderstand the use of these?

These are generated in https://github.com/ITISFoundation/osparc-simcore and then copied over here. This is not completely civilized. I agree that we should probably improve this


Can’t turn on/off Dyson Pure

The issue I had here has returned:
https://github.com/libdyson-wg/ha-dyson/issues/161
Fan is showing on my network so I am not sure what is wrong as I can control it from the Dyson App:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:241
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 1:37:43 PM (4 occurrences)
Last logged: 8:30:13 PM

[140347034914960] Unexpected exception
[140347043360064] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 328, in async_handle_turn_on_service
    await self.async_turn_on(percentage, preset_mode, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 337, in async_turn_on
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/dyson_local/fan.py", line 166, in turn_on
    self._device.turn_on()
  File "/config/custom_components/dyson_local/vendor/libdyson/dyson_pure_cool_link.py", line 52, in turn_on
    self._set_configuration(fmod="FAN")
  File "/config/custom_components/dyson_local/vendor/libdyson/dyson_device.py", line 324, in _set_configuration
    raise DysonNotConnected
custom_components.dyson_local.vendor.libdyson.exceptions.DysonNotConnected

Same issue for me. Stopped working yesterday morning. Works OK from MyDyson android app and Google Home integration but ha has stopped. All toggles are greyed out

The error code is libdyson.exceptions.DysonNotConnected here. This is one of those errors that can happen for a number of reasons. Have you tried the troubleshooting steps on the readme?
If the troubleshooting steps don't work, are you able to confirm your model numbers and firmware values?

Power cycling the HP09 has resolved.

Worked for me too :)
good to know!

Cool deal! Glad to hear it worked :smile:


June endgame

Endgame Schedule

June 26, Code freeze for the endgame
July 7, Endgame done

Monday, June 26

[x] Code freeze at 5pm PT
[x] Ensure we have a green build on all platforms
[x] All test items contain sufficiently comprehensive test descriptions by 6pm PT

Tuesday, June 27

[x] Test plan items assigned
[x] All closed feature-requests either have a verification-needed or on-testplan tag
[x] Testing
[x] Verification needed

Wednesday, June 28

[x] Testing
[x] Remind team members to assign issues that they intend to fix to the June milestone
[x] Fixing (self-assigned, milestone assigned)
[x] Verification

Thursday, June 29

[x] Fixing last issues
[x] Verification
[x] Run OSS tool after merging shrink-wrap findings endgame master

The LCA review of the ThirdPartyNotices.txt files is not needed anymore

[x] Check new OSS usage is entered into the OSS registry endgame master

Friday, June 30

Satellite modules/npm packages ready, version updated, smoke tested

[x] vscode @bpasero
[x] yo generator @dbaeumer
[x] vsce @joaomoreno
[x] node debug @weinand
[x] node debug2 @roblourens

[x] Check translations (build locally and see the amount of untranslated strings) @michelkaporin
[ ] All issues verified
[x] Fixing (only critical bugs - no string changes)
Smoketest

[x] Windows - @egamma
[x] OS X - @sandy081
[x] Linux - @joaomoreno

[x] All release notes updated - release notes are collected in a file named Month_Year.md in this repo directory. This includes new features and notable fixes.

[x] @alexandrudima
[x] @weinand
[x] @chrmarti
[x] @tyriar
[x] @dbaeumer
[x] @bpasero
[x] @egamma
[x] @isidorn
[x] @joaomoreno
[x] @jrieken
[x] @kieferrm
[ ] @aeschli
[x] @rebornix
[x] @ramya-rao-a
[x] @roblourens
[x] @sandy081
[x] @mjbvz
[x] @michelkaporin

[ ] Acknowledge pull requests in release notes. We acknowledge PRs from outside the team. Use the thankyou tool to generate the initial contents of the section. owner

[x] vscode endgame master
[x] vscode-node-debug @weinand
[x] vscode-node-debug2 @roblourens
[x] vscode-filewatcher-windows @bpasero
[x] vscode-languageserver-node @dbaeumer
[ ] language-server-protocol @dbaeumer
[ ] vscode-textmate @alexandrudima
[ ] vscode-loader @alexandrudima
[ ] vscode-generator-code @aeschli
[x] vscode-vsce @joaomoreno
[ ] vscode-docs @gregvanl
[ ] vscode-css-languageservice @aeschli
[ ] vscode-json-languageservice @aeschli
[ ] vscode-html-languageservice @aeschli
[ ] jsonc-parser @aeschli
[ ] vscode-jscs @cdias
[x] vscode-tslint @egamma
[x] vscode-eslint @dbaeumer
[ ] vscode-jshint @kieferrm
[x] localization @danyeh @michelkaporin

When done fixing/verifying and there are changes since last build at the end of day PT

[x] Trigger new insider build and publish it manually @owner

Friday/Monday

[x] Disable continuous insider builds - endgame master
[x] Branch code to release/<x.y> and release master - endgame master
[x] Bump up the version in package.json - endgame master
[x] Announce master is open for business endgame master
[x] Polish release notes @redmond

Tuesday, July 4 - Redmond holiday

[x] Fireworks
[x] Grill stuff

Monday - Wednesday

[x] Polish release notes @redmond
[x] Cherry-pick hand-picked and reviewed changes to release/<x.y> @owner
[x] Build Insider from release/<x.y> endgame master
[x] Manually release Insider endgame master
[ ] Documentation updated

[ ] @alexandrudima
[ ] @weinand
[ ] @chrmarti
[ ] @tyriar
[ ] @dbaeumer
[ ] @bpasero
[ ] @egamma
[x] @isidorn
[ ] @joaomoreno
[x] @jrieken
[x] @kieferrm
[ ] @aeschli
[ ] @rebornix
[ ] @ramya-rao-a
[x] @roblourens
[x] @sandy081
[ ] @mjbvz

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame.

Thursday/Friday

[x] Merge translations @zurich
[x] Build stable for all platforms endgame master
[x] Make rpm signing request @Tyriar
[x] Sanity check of installable bits

[x] Windows

[x] signed installer @owner
[x] zip @owner

[x] OS X - @owner
[x] Linux

[x] deb package 32-bit @owner
[x] deb package 64-bit @owner
[x] rpm package 64-bit @owner
[x] rpm package 32-bit @owner
[x] archives @owner

[x] Publish website @gregvanl
[x] Publish to stable @owner
[x] Publish deb and rpms to repositories manually @Tyriar
[x] Add version with symbols to HockeyApp @bpasero
[x] Add a git tag to HEAD of release/<x.y> in format x.y.z endgame master
[x] Enable scheduled insider builds endgame master
[x] Twitter announcement @seanmcbreen

Releasing 1.14.2

[ ] Wed pm Redmond: build, validate issues are resolved, smoke test
[ ] Redmond: Publish insiders with new TS
[ ] Thu am Zurich: pick up latest bits, validate, smoke test
[ ] Thu am Redmond: Sync with Zurich, see if any new issue arise
[ ] Thu pm Redmond: ship 1.14.2

@roblourens Should this be closed?


Adding Read/Write Methods for Block Pixel Manipulation

Overview
Read/Write methods should be added to this library to allow faster operations when working with raw data. This was first proposed on pull request #5, but I believe this will take quite a bit of time and code to implement properly. I've created a new branch called readwrite to expedite pull requests into that branch.
Implementation
I've done some experiments and concluded that the Read and Write methods should act as they do in Stream's, but also include a position argument to dictate where in the bitmap the pixel data should be read or written.
Both Read and Write methods should return an int to communicate how much of the buffer was used, because both read and write can't change the size of the bitmap or buffer.

Any contributions and discussion are welcome, and I hope this will improve the usability of this library greatly.

Implemented the Read method here. No overloads for it yet.

Split the class between multiple files to organize the code better. Any more methods pertaining to reading or writing should be put in the FastBitmap.ReadWrite.cs file.

This was implemented with pull request #8.


plan/apply of a module fetches state files for indirect dependencies (json rendering enabled)

Describe the bug
When executing run-all plan (or apply) even with --terragrunt-ignore-external-dependencies, both package and state file of indirect dependencies is also being fetched. This causes execution time to increase vastly.
Consider a module my-app/terragrunt.hcl has dependencies for my-cluster/ and my-defs/, and my-cluster/terragrunt.hcl has dependency for my-vpc/.
Executing a run-all plan on my-app/ should not need to install modules nor fetch state files of my-vpc/.
Expected behavior
Only fetch state of the direct dependencies.
Versions

Terragrunt version: v0.68.4
OpenTofu/Terraform version: v1.9.8
Environment details (Ubuntu 20.04, Windows 10, etc.): Debian 11

Hello,
try setting env variable TERRAGRUNT_STRICT_CONTROL="skip-dependencies-inputs", it will improve performance at cost of skipping dependency inputs

Thanks. I was reading the docs and I am not sure if I am able to interpret correctly what this does.

Option 1: state files of direct dependency statements are not fetched (relying on local cache)
Option 2: state files of indirect dependency statements are not fetched
Other
Thanks

Hey @joaocc ,
We had a chat about this, and while the strict control that @denis256 mentioned does provide some optimizations for recursive fetching of dependencies it doesn't fully resolve the issue you're mentioning.
Terragrunt still inits in an ancestor dependency when it doesn't have to because of how it parses Terragrunt configurations (the relevant relatively inefficient code block is probably this one). While parsing the terragrunt.hcl file for a direct dependency to determine how to fetch outputs, Terragrunt ends up recursively traversing through ancestors to parse their configurations.
Preventing this behavior is going to take some adjustment in how we parse HCL configurations to do so safely, so please have patience as we look to resolve this issue. Of course, if you have your own thoughts on how to resolve this, you're welcome to submit a pull request!


Introduced Tech Stack in Readme.md

closes #81

sir i have made the required changes

Conflict occur try to resolve that condition pass

sir i want to resolve this confict but the code has already been updated  in the main README.md file from 25 to 30.
i this still an issue open or closed?


Conflict between formly and  awsome-bootsrap-checkbox

Hi,
When formly is used with awsome-bootsrap-checkbox(https://github.com/flatlogic/awesome-bootstrap-checkbox), the checkboxes and radioboxes look empty. I have reproduced the issue on this jsbin : http://jsbin.com/fiseredavi/7/edit?css,output (click on the checkboxes/radiobuttons in the output view to see that the ticks are not displayed). The first section shows the issue with formly and the second how it should look like.
I think it is a formly issue since the awsome-bootsrap-checkbox is working fine on its own.
Thanks and keep up the good work !

Sorry @najai, I have no idea what's going on here. I made a copy of your example and bound the two forms to the same model and still nothing's working. I'll see if I can find time to debug this later, but you might try stack overflow...

This is because awesome-bootstrap-checkbox requires you to have slightly different markup than you would typically have with bootstrap.  You need to modify the template that angular-formly-templates-bootstrap uses to reflect the required changes.

Thank for your answers!
As ckniffen said, the solution was to slighlty modify the template. Indeed for awsome-bootsrap-checkbox to work, the  tag should not be nested inside the  tag, as it is in the original template.
So my template for the checkbox is now :
 <div class="checkbox">
	<input type="checkbox" class="formly-field-checkbox" ng-model="model[options.key]">
	<label>
		{{to.label}}
		{{to.required ? '*' : ''}}
	</label>
</div>

thanks again  :)

I see the issue with radio-group. The option gets selected but it doesn't look selected.
How do I fix it as a user?


Validate Context.User.Identity before accessing it

The Context.User.Identity can be null, if there is custom implementation. We should validate it to prevent NullReferenceException.

I'm assuming you were getting a null reference exception here?

Yes, since I'm using custom User Identity.
Date: Mon, 12 Jan 2015 19:55:26 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [Glimpse] Validate Context.User.Identity before accessing it (#872)
I'm assuming you were getting a null reference exception here?
—
Reply to this email directly or view it on GitHub.
	 	   		  =

@grzmiel What type do you inherit from for your custom Identity? Wondering if there is a better type we can cast to...

I'm inheriting from IPrincipal interface (http://msdn.microsoft.com/en-us/library/system.security.principal.iprincipal(v=vs.110).aspx). To be honest, I was wondering if I could extract getting client identity behind the interface (e.g. IClientIdentityProvider, with method GetClientIdentity(HttpRequestBase) ), and inject it through Service Provider. This would allow me and other to easily override the way the client identity is provided. What do you think of this solution?
Date: Thu, 15 Jan 2015 16:49:33 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [Glimpse] Validate Context.User.Identity before accessing it (#872)
@grzmiel What type do you inherit from for your custom Identity? Wondering if there is a better type we can cast to...
—
Reply to this email directly or view it on GitHub.
	 	   		  =

That should work, only thing is that we aren't really investing that much more into v1.x at the moment. With v2 it will have this style of extension out of the box, but obviously its missing form v1. That said, v2 is still a little bit away and if you are interested in doing the work for the extension, we would happy help out and bring it in for release. Let me know what you think. At the very least this PR can be merged in.


experiment: run curated benchmarks on regex 1.0.0

Requested on Hacker News: https://news.ycombinator.com/item?id=36602261
I probably won't merge this into master, but it's nice to have.

Because the result is never going to change. I guess I see it more as a historical thing? My plan was always to remove regexold (pinned to 1.7) some day as well. It's only here because it was a useful reference point during development of regex 1.8 and regex 1.9.
I guess I don't feel strongly. I just don't see a ton of value in keeping it around I suppose.