Taking time indefinetly during first login

The app is still in a loading state during the first login, upon hot restart it becomes normal again.
The logs show it is getting struck at negotiating features.

Upon hot restart, these are the logs

@tatanka987 please look into this.

Is there any update on this?
I am also experiencing similar issue while login ( I think )
Sometimes, login takes too much time. I have to hot restart the app.
I am worried if this will happen in production.

it looks like you started the login chat flow from a few different places or started one more without waiting for the finishing of the previous login

it looks like you started the login chat flow from a few different places or started one more without waiting for the finishing of the previous login

Yeah figured it out. Thanks


No Australia in the countries list ?  05 Feb 2019.

Creating a tenant ...Aruba, Austria....  No Australia ?

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

ID: 588fc4d6-0c4d-297d-cfe1-8562728fdc4d
Version Independent ID: cf117c91-90fa-036b-9763-a3c16b398a33
Content: Tutorial - Create an Azure Active Directory B2C tenant
Content Source: articles/active-directory-b2c/tutorial-create-tenant.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

I gathered there might not be many data centres in some of these Countries. I am in fact, from Australia. Odd that there would be ~200 countries but not mine.  I can of course arbitrarily choose any of them, and Chose St Kitts and Nevis.

@mckenzm
Suggest you to post on our Azure Feedback Portal on the same.
We would be closing this thread now. Kindly re-open if you need further help.


very strange result with lamb optimizers

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): linux 20.04
TensorFlow version and how it was installed (source or binary): 2.8 pip install
TensorFlow-Addons version and how it was installed (source or binary): 1.6.1 pip install
Python version: 3.8.10
Is GPU used? (yes/no):yes

Describe the bug
I ran vit transformer implementations of google, and I tried to optimize it, with lamb and adam. and I get very strange results with lamb.
It seems this is a bug.

LAMB in orange, and ADAM in purple
see? the lamb on the first epoch set the distributions on 2 hills, while adam did not do such thing.
Another shape that appears  a lot is this:

it seems the algorithm re-init the weight with some kind of Xavier init and keep it for some reason
Code to reproduce the issue
Optimize vit transformer of tensorflow/models.
Other info / logs
tensorboard logs are  attached:
tensorboard.zip

actually it's quite surprising, though the first step might be buggy-some, it seems that the optimizer "understands" it and try to shift the weights:

The "twins" are destroyed.
Also the "bump" seems to be soften :

It seems a bit strange, as adam was able on the first steps to get those shapes.

@junjiek Are you still active as the LAMB codeowner?


[KeyboardAccent] Rename PowerAccent to Keyboard Accent

Summary of the Pull Request
Renames Power Accent to Keyboard Accent, changing the user facing strings.

PR Checklist

[x] Closes: #2668
[ ] 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
Renames Power Accent to Keyboard Accent, changing the user facing strings. (executable names not included)

Validation Steps Performed
Built and verified Settings, OOBE and logs changed.

After merging this and https://github.com/microsoft/PowerToys/pull/20178, menu order for Settings and OOBE needs to be changed in a further PR, to keep alphabetical order.

created https://aka.ms/PowerToysOverview_KeyboardAccent which points to https://docs.microsoft.com/windows/powertoys/keyboard-accent.md

I love "Quick Accent" as name.

The new name is to be "Quick Accent".
@crutkas , the new link is https://aka.ms/PowerToysOverview_QuickAccent

https://aka.ms/PowerToysOverview_QuickAccent which will point to https://docs.microsoft.com/windows/powertoys/quick-accent.md


Influxdb the expired data to sample the statement is

Directions
GitHub Issues are reserved for actionable bug reports and feature requests.
General questions should be sent to the InfluxDB mailing list.
Before opening an issue, search for similar bug reports or feature requests on GitHub Issues.
_If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below.
Erase the other section and everything on and above this line.
Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]
Steps to reproduce:

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Additional info: [Include gist of relevant config, logs, etc.]
Also, if this is an issue of for performance, locking, etc the following commands are useful to create debug information for the team.
curl -o block.txt "http://localhost:8086/debug/pprof/block?debug=1"
curl -o goroutine.txt "http://localhost:8086/debug/pprof/goroutine?debug=1"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt

Please run those if possible and link them from a gist.
Please note, the quickest way to fix a bug is to open a Pull Request.
Feature Request
Opening a feature request kicks off a discussion.
Requests may be closed if we're not actively planning to work on them.
Proposal: [Description of the feature]
Current behavior: [What currently happens]
Desired behavior: [What you would like to happen]
Use case: [Why is this important (helps with prioritizing requests)]

CREATE CONTINUOUS QUERY myquery ON mydb BEGIN SELECT mean(value) AS mean_val INTO mydb."one_hours_retention".:MEASUREMENT FROM mydb."default"././ GROUP BY time(10m),  . END

Sorry, but this looks like you just submitted the default template for an issue and I don't see anything actionable we can do here. If you have a question about using InfluxDB, you can send a message to the mailing list. I'm going to close this. If this is a feature request or a bug, please edit the first post with the appropriate fields, make another comment saying you updated the initial request, and I'll reopen this issue.
Thanks.


Lan control

About this selfApiKey, where can it be generated? Could you make a complete example?
`// eWeLink Lan Control
import eWeLink from "ewelink-api-next";
const lanClient = new eWeLink.Lan({
selfApikey: "xxx",
logObj: eWeLink.createLogger("lan")
});
lanClient.discovery((server) => {
console.log("server:", server);
}); // Start Discovery Service
// Save device information to local cache
// When controlling, it is necessary to pass in deviceId, secretKey, encryption, iv
try {
const res = await lanClient.zeroconf.switch({
ip: "xxx",
port: 80,
data: {
switch: "on"
},
deviceId: "xxx",
secretKey: "xxx",
encrypt: true,
iv: "xxx"
});
console.info("Request result:：", res);
const res2 = await lanClient.zeroconf.switches({
ip: "xxx",
port: 80,
data: {
switches: [
{ switch: "on", outlet: 0 },
{ switch: "on", outlet: 1 },
{ switch: "on", outlet: 2 },
{ switch: "on", outlet: 3 }
]
},
deviceId: "xxx",
secretKey: "xxx",
encrypt: true,
iv: "xxx"
});
console.info("Request result:：", res2);
} catch (error: any) {
console.info(error.message);
}`

selfApiKey='user.apikey' obtained after login

selfApiKey='user.apikey' obtained after login

I tried to login but I can't with my APIID. Do we need to pay for using lan api?

You can indirectly obtain your apikey by accessing your device information, home, and other related interfaces


I like this code

jquery-confirm version:
v3.3.4
So long no update..... I hope this wonderful preject will continue to be updated!!!

jquery-confirm version: v3.3.4
So long no update..... I hope this wonderful preject will continue to be updated!!!

I do to, however, i have been using it for awhile now and have yet to run into any issues. so no real reason to "update" just for the sake of updating. have you had any issues?


IPv6Address.setBit() has a bug

Test code:

    public static void main(String[] args) {
        IPv6Address ipv6 = IPv6Address.fromString("::");
        System.out.println(Long.toBinaryString(ipv6.getHighBits()) + '.' + Long.toBinaryString(ipv6.getLowBits()));
        ipv6 =  ipv6.setBit(127);
        System.out.println(Long.toBinaryString(ipv6.getHighBits()) + '.' + Long.toBinaryString(ipv6.getLowBits()));
    }

Expected output:
0.0
1000000000000000000000000000000000000000000000000000000000000000.0

Real output:
0.0
1111111111111111111111111111111110000000000000000000000000000000.0

today's trunk + java 1.7

There is a bug in IPv6Address.setBit(final int bit):
You are trying to shift 32-bit integer up to 64 positions.
Use long.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 4 Aug 2014 at 4:17

Released as part of 0.16


It is recommended to increase the ability to record GIFs

There is a mouse for recording gif on the computer using the screen recording software. If you can record gif automatically, it will be welcome.

use OBS on windows, you can hide cursor there

o simulador de fluidos pode ser instalado em windows ?


docs: deprecate Cilium ConfigMap options no longer used

With the introduction of the config-dir option, which allows all options
to be read from the Cilium ConfigMap, we can now deprecate some options
used in that ConfigMap as well to be able to specify the
prometheus-serve-addr option directly in cilium ConfigMap which
deprecates the cilium-metrics-config ConfigMap.
Fixes: d7695a438bd3 ("examples/kubernetes: adjust DaemonSet with new read from dir feature")
Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-me-please

Coverage decreased (-0.02%) to 42.943% when pulling 0a41ad817eb9390574520219d81d4a86285309ec on pr/move-to-new-config-map into 492fc34f3ab3875b67cbc388ee6239255e64b44a on master.

test-me-please


To provide a Chinese translation for the document.

Hello everyone,
The automatic translation to Chinese provided by the browser while viewing the document is not satisfactory. Therefore, I would like to contribute to the project by translating the document into Chinese to the best of my ability, but I'm unsure how to proceed. I would like to ask for some guidance. Should I first fork and clone the repository and then submit my changes? However, I want the Chinese translation to have its own separate page.

There is a pinned issue covering this: #131
And there are also two existing pull requests for a Chinese version: #19 (I assume Traditional Chinese) and #67 (Simplified Chinese).
The short version is that we lack the technical setup for multiple languages, and as well as proofreaders. To my knowledge, we do not have a single Chinese-speaking version on the team. While we do appreciate your interest in this, we cannot currently provide it.
All that being said, you can of course fork the repository and host the Chinese docs yourself. Please understand that due to technical and lack-of-proofreading reasons, we currently cannot have translated docs of any kind.


Feature Request: Add more options to bin/gpm update command

Currently, bin/gpm update updates all packages, which have changed during the last update. Updating certain package classes like "only update all plugins" or "only update all themes" is not possible. What I'd like to see is to have options --plugins and --themes for the update command to do something like this
bin/gpm update --plugins
bin/gpm update --themes

A --quiet command may also be useful, which installs the plugin/theme without the need of any user interaction.

Good options 👍
PR would be lovely! :)


clean code

Implement the existing functionality with fewer code.

Coverage decreased (-0.01%) to 95.249% when pulling 0580fe794d27bfaccb0bd0159b2e633a9fc32384 on JiangYongKang:master into 415eb9ebb755cea4753d6191b166b88192de5b41 on apache:master.

@stokito thinks

@JiangYongKang, thanks for your contribution.
Even though the behaviour is the same, in my opinion, the other code is easier to read, and fewer code doesn't necessarily mean better or more clean code.
Checking if a number if even or odd, for example, can be done with bit operation, or with a if/else. While the former is shorter, not all developers immediately understand it, nor know how to maintain/change it.


support registry mirror config reload

Signed-off-by: allencloud<EMAIL_ADDRESS>fixes https://github.com/docker/docker/issues/29594
this PR makes docker daemon support reload config registry mirror.
- What I did

add registry-mirror enable reload
fix a bug that duplicated mirrors will appear in the daemon and docker info
add a test case for that

- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Feature-wise, I'm ok with adding this. I do think that the whole configuration (re)load functionality needs a massive overhaul / refactor though; I think the code is getting quite messy, and a lot of duplication

Design-wise we're okay with this
@aaronlehmann do you see any possible issues with live-reloading this list?

Thanks a lot. Really helpful comments. I updated this PR. PTAL

Code LGTM


Adding a simple Multi-Node Pingpong PyTorch Workload

Multi-Node Pingpong PyTorch program
DockerFile
SLURM deployment scripts
GKE deployment scripts

@parambole, please take a look at my comments when you can. Relative to the litgpt workload, do we want users to run this beforehand since it is a simpler workload? How does this workload fit into the user onboarding journey?

@gkroiz I have responded to your comments PTAL.
Relative to the litgpt workload, do we want users to run this beforehand since it is a simpler workload

Yes, the goal of this workload is for users to get familiar with

Multinode pytorch workload
Containerizing a workload
Deploying it on a SLURM cluster
Deploying it on a GKE cluster
Also act as a reference for SLURM->GKE and vice versa.

It can be treated as a warm up example which is easy to understand and debug

Approving w/ nit comments

Thanks for reviewing.

Overall LGTM, please resolve remaining comments that make sense to adjust in this PR before merging.

Thanks for reviewing.


Test Creation

We need to create a template form for quiz creation, as well as a model for quizzes.

Any updates on this ticket?
@danieldekerlegand


Header (in tab) of map is wrong

The map still has the 'holder' header in the tab right at the top which was taken from the Wao map which this was copied from (Our Rainforest is not for sale).
Is there somewhere in the CMS where this can be set - or how is it changed?
For now can it be changed to "Nuestro Territorio es Nuestra Vida" so that it makes more sense when we consult on it?

This can be changed in static/index.html, happy to change it to anything -- we can also make this editable from the CMS but that might take more work than it's worth at this particular moment.


deploy images to daemonsets

Currently flux does not deploy images to daemonsets. It should.

The difficulty is that there is no "rolling upgrade" equivalent for daemon sets (either as kubectl command, as for replication controllers, or as a setting as in deployments), which makes it less safe to apply a new configuration.
On the other hand, people clearly do need to upgrade daemon sets with new images, which falls in flux's remit.

On the other hand, people clearly do need to upgrade daemon sets with new images, which falls in flux's remit.

Exactly. Right now daemonsets are the only thing in Weave Cloud for which we need to resort to kubectl for deployment, which is unfortunate.

Right now daemonsets are the only thing in Weave Cloud for which we need to resort to kubectl for deployment, which is unfortunate.

We also use ConfigMaps, secrets, and other auxiliary resources, which are not supported in flux but might be.
Daemonsets are a special case, because applying a daemonset config does not trigger any update; i.e., it will succeed without anything actually happening.
How to roll out a daemonset depends a lot on the particular image -- sometimes it is OK to kill all the pods at once, sometimes it's better to do one at a time, sometimes one at a time but waiting for a ready signal from the last, etc...

1.6 includes rolling upgrades for DaemonSets.
https://github.com/kubernetes/kubernetes/issues/22543

And after the move to git-sync, we'd just rely on whatever kubectl does.

Fixed by #747.


Batch training algorithm. New flags: umxout, output

This commit provides an implementation of batch training algorithm which
should be faster and more scalable than the sequential algorithm
implemented earlier. On top od this two new flags have been introduced:

umxout - allows to pass in a path to save umatrix in some format
output - allows to serialize SOM model into a file in some format

Umatrix output functionality has yet to be implemented whilst the output
flag already provides a default implementation of model serialization.
As of now only the native gonum binary format is supported.

Current coverage is 89.34% (diff: 87.32%)

Merging #14 into master will decrease coverage by 0.35%

@@             master        #14   diff @@
==========================================
  Files            11         11
  Lines           612        676    +64
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            549        604    +55
- Misses           40         48     +8
- Partials         23         24     +1

Powered by Codecov. Last update 7e5b074...2249bd7

My apologies, I have dirtied the branch with some local testing stuff.  Opened a new PR (https://github.com/milosgajdos83/gosom/pull/17) to have this finally merged into master


Check if it is possible to remove the pbkdf2 tool

Check if it is possible to remove the pbkdf2 tool, seems that new versions of openssl has support for pbkdf2.

cf. openssl password page


pytube fails silently on certain videos

This just blocks. It doesn't download anything.
YouTube("https://www.youtube.com/watch?v=PKfR6bAXr-c").streams.first().download()
Other videos work fine. Also other streams on the same video work fine.
I came across this problem while trying to download a playlist. The download just stops when it hits this video

For me all the links I have tried are blocking. Including the links in the readme.


Ability to change wall paper source based on notification

It would be nice to be able to send a notification from another module for MMM-Wallpaper to change its source of images and reload

That was super quick. Thanks. cant wait to try it


model not loading in GPU

Hi, great project congrats!
I noticed that event if ollama (in docker) logs say it offloaded layers to GPU

nvdia-smi report no actual usage

Is this an expected beahviour?
A similar setup with localai has similar logs but with better performances, denoting  it is actually using the gpu

Dumb me, actually ollama was logging it could not load the model in GPU.
This already happened to me when linux comes back from hibernation.
This may help or a full reboot as last resort
sudo rmmod nvidia_uvm || true
sudo modprobe nvidia_uvm  || true

ollama is running at full speed now, great!
Self closing :1st_place_medal:


TypeError: text.trimEnd is not a function

I get the error "TypeError: text.trimEnd is not a function" when converting my jmx to k6
My jmx is very simple :

Hey,
String.prototype.trimEnd() is not part of the ES5 specification. If it works for your usecase, String.prototype.trim() should work.
Best,
Simme

Hey,
String.prototype.trimEnd() is not part of the ES5 specification. If it works for your usecase, String.prototype.trim() should work.
Best,
Simme


Revert main branch dependencies

Currently the main branch is using temporary branch dependencies (branch = frisitano-next-dev) from miden-vm and crytpo.  Once this crytpo PR is merged we should revert back to the next branch.

done.


Can't use custom items while mod is enabled.

When the mod is enabled on thunderstore, I am unable to use custom items via the item spawner. When it is disabled, custom items work perfectly fine.

I couldn't recreate Your issue, I managed to spawn custom FG 42 while the mod was enabled. Could You try again and send the logs? Logs should be in this directory:
C:\Users<YourName>\AppData\Roaming\r2modmanPlus-local\H3VR\profiles\Default\BepInEx\LogOutput.log

Also Your R2Modman profile might help so I can check with the exact same mods
https://www.youtube.com/watch?v=YU6TZuteaVg

LogOutput.log
PF CODE: I6PVeuGTdS

shit i accidentally closed it

Turns out if I load into Proving Ground before hand, custom items work fine. If I go into any special game modes like TnH and Nacht Der Untoten, they just don't load for some reason.

I was able to reproduce this bug, thank you. But it's really bizarre.

Cod zombies + Doom weapons mod - weapons NOT working.
Cod zombies + Doom weapons + FG42 - weapons working.
Doom weapons - weapons NOT working
Doom weapons + FG42 - weapons working

At this point I'm starting to think that there is problem with something else, and my mod just happened to be one of those breaking stuff. Unless there is some junk left even after uninstalling my own mod.
This is my profile with only doom weapons and no zombies: TiIWlclesx
If it breaks for You, that must mean it's not zombies fault (probably?)

It appears that mods are generally broken now because of the alpha update. I should catch that earlier, but it's my first time dealing with h3vr alpha's.


[stable/opencart] Fix Readme upgrade instructions

Signed-off-by: Javier J. Salmeron Garcia<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/ok-to-test
/lgtm


[Request]: Use org.freedesktop.portal.NetworkMonitor on Linux

Plugin
connectivity_plus
Use case
I want to distribute my app in a Flatpak sandbox.
The plugin is not allowed to connect to the D-Bus system bus:
flutter: SocketException: Connection failed (OS Error: No such file or directory, errno = 2), address = /var/run/dbus/system_bus_socket, port = 0

Proposal
Flatpak portals are a network daemon agnostic way to fetch network information. It works both inside and outside sandboxes.
https://docs.flatpak.org/en/latest/portal-api-reference.html#gdbus-org.freedesktop.portal.NetworkMonitor
It shjould be used instead of trying to talk directly to NetworkManager.

enum ConnectivityResult { bluetooth, wifi, ethernet, mobile, none, vpn }

vs.
typedef enum {
  G_NETWORK_CONNECTIVITY_LOCAL       = 1,
  G_NETWORK_CONNECTIVITY_LIMITED     = 2,
  G_NETWORK_CONNECTIVITY_PORTAL      = 3,
  G_NETWORK_CONNECTIVITY_FULL        = 4
} GNetworkConnectivity;

I'm on flatpak too.  connectivity_plus doesn't work.  What is the work around?

https://pub.dev/documentation/xdg_desktop_portal/latest/xdg_desktop_portal/XdgNetworkMonitorPortal-class.html

Thanks!! I didn't know this existed.

For anyone else that needs this:
   import 'package:xdg_desktop_portal/xdg_desktop_portal.dart';

   final XdgDesktopPortalClient portal = XdgDesktopPortalClient();
    portal.networkMonitor.status.listen((event) {
      _hasNetwork = event.available;
    });


Add 2019 versions to build ref

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[X] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Adding the 2019 builds - discussed in #6059

Need to update the date at the top of the file.

The only ones to be added will be the release candidates. You can just match how the ones for 2017 are structured.
The CTPs can be removed as we don't support or need to worry about those.

@wsmelton is it formatted correctly now? I think the test failures would be expected since we don't have an RTM yet? Should I try and change those?

We must not have added the RCs for SQL Server 2017 until the RTM was released. I would rather not change the test because they are there to ensure we have the proper structure and we just have not built in dealing with RC releases.
We can likely just hold off adding them for now.

I'd like to get the RC's in and want to help Jess get her demo to look good 💅 . Can @niphlod help modify the tests?

RCs are added and included in the build index. But we do not add them until there is an RTM, unless we want to make up what the RTM version may or may not be and have it published as that.

Could we exclude 2019 versions from the tests until RTM comes out? Then when that's added we could remove that exclusion? If we opened an issue to track it?
https://github.com/sqlcollaborative/dbatools/blob/8c28ffd8d98f3bb0b59393a7b6423083a659a336/tests/Get-DbaBuildReference.Tests.ps1#L97

I'm working on the test now. The way RCs are released changed a bit with 2019 and to be accurate with the information we put out publicly requires the test validate the information a bit.

Sounds good! Thank you, I appreciate it!

Done. PR #6071 submitted.


Add ini file configuration support

This adds support for ~/.aws/credentials file used by most other AWS SDK libraries including the official CLI
Where I work we switched to temporary keys generated as and when we need them and store them in that file - found out today ex_aws does not read them :)
This also helped me run the tests, as by default, 17 failed for me, I believe due to the default configuration pointing at US AWS (I'm located in London).
I'm new to Elixir so I'd appreciate feedback and comments for the PR! I'd like to add support to determining profile that should be loaded, but wanted your thoughts first on if I'm on the right path.

Hey there, thanks for the PR!
We did have another PR before on this issue here https://github.com/CargoSense/ex_aws/pull/139 although they were using another external library https://github.com/easco/configparser_ex
I sort of thing we want to use that library for parsing the INI files because it's likely to handle all the possibilities better, plus I don't want to have to maintain a custom INI parser.
The only other issue is that this makes the INI parsing mandatory. I would prefer a solution like we have with stuff like :instance_role where if you want :awscli you can stick it on the list IE
access_key_id: [{:system, "AWS_ACCESS_KEY_ID"}, :awscli, :instance_role],

This way there's a clear ordering to what's chosen. It'd also be nice if the ini config parser library was not actually necessary unless you were choosing to use :awscli.
Lastly we'll also need caching, because reading and parsing the file on every request is definitely not optimal. We've already got an auth_cache mechanism in place for handling instance roles and we could probably just integrate into that.

Hey,
Thanks for the feedback! I've started implementing the suggestions from you as I can't see any outcome of the other PR you've linked. I'll ping you once I'm ready for round 2 of feedback if that's cool :)

[x] Replace ini parsing library with configparser_ex
[ ] Make the ini file parsing optional (ideally including loading the library, if possible)
[ ] Push config file lookup to a cache service

@benwilson512 I've made some progress! Would appreciate further feedback. :)
I've added the cache layer, but worried it might be too much of a replication of AuthCache? They do have different responsibilities, but a lot of it could be DRY'd up.
I'm also not sure about the expiration setting; that setting isn't available in the files, so we can either make it an option passed in the config (my preferred solution) or have an arbitrary value. Happy to add that in if you agree.
Not entirely sure if I've done optional loading of library correctly.. Let me know if that's all I needed!
Also, have a look at the comment I've made above regarding another test I had to edit to make it pass. I hope you agree that it's out of scope of this PR and we can tackle it separately if needed.
Thanks!

The more I think about it, the less I like replicating the entire Cache bit - let me try and integrate it into the existing AuthCache!

Ok, i've addressed both the DRY aspect of cache layer and configurability of expiration time. How does that look?

@benwilson512 is there anything else I can do? Thanks for your help again :)

Apologies on the delay, this looks good to go, thanks!

Hey, so a bit of post-merge feedback:

Tabs instead of spaces: Please always use spaces and not tabs
:awscli added to the default config, but the required dependency was optional. This broke default configuration.
Alarmingly small default expiration. Maybe you meant to multiply it by 1000 to get seconds, but the default expiration is 30 milliseconds. I should have caught that one, but I was also unclear (and am still unclear) about whether expiration actually makes a lot of sense for this.

Thanks @benwilson512 sorry this caused you some headache in the end! In hindsight, not sure what I was thinking with the 30ms, brain fart. Thanks for your help with this.

FWIW, tabs came from #292 :)

Noted, thanks again for your help!


IIIF Drag & Drop

e.g., create a drag-and-drop icon:

https://zimeon.github.io/iiif-dragndrop/
logo: https://drive.google.com/drive/u/0/folders/0B8APFBow4sHvY044Sm10SFdNWG8

Moved from https://github.com/pulibrary/plum/issues/177

Current Stanford implementation:

Maybe the icon should be grayscale, less prominent (on show page, not search results).


Use a generic QA error object

This basically introduces a new qaError object to replace the krError and iOsmError objects.
This object require a service property to be initialised so that it can be interacted with generally (if we define the same generic functions in each service).
Additionally if error_type is initialised data can be read from data/qa_errors.json where I'm currently specifying an icon and category (only for ImproveOSM at the moment). Category is currently unused, but I'd like to convert error colouring to be based on this for some cross-service consistency.

I'll push a fix for that error and then I'm happy for this to be merged (if you think this is the right way to go, I'm not super experienced with this kind of framework design so there may be a better way).
There's more to do, but can be separately done once this is in place.

Thanks @SilentSpike, I just merged this 👍


feat(relay): add support for analytics/instantResult/open

https://coveord.atlassian.net/browse/KIT-2899
https://github.com/coveo/analytics-migration-project/issues/50

94a9c66b7d58728755b39883b5c138d1ce1b632c for inspiration for Unit Tests

Missing tests aside, this looks good to me.
Are you going to add the tests in the same PR?

Yes, I added them. Please review again @louis-bompart @fbeaudoincoveo


I pushed card using eventBus method.  while pushing the card again It's getting overwritten with the previous card. ?

@thisisrajkumar please use the appropriate issue template when reporting issues.
Please also provide more information on the problem that you've having, ideally including a minimal code example, and details on what you're trying to accomplish, what you've already tried, and why you think what's happening is a bug or a feature covered by this package.

// Declaring eventbus state value
this.state = {
eventBus: undefined
}
// set the eventbus method using state value
setEventBus = eventBus => {
this.setState({ eventBus })
}
if (this.props.learningjourney.pushtheme != null) {

//pushtheme is one card object. like {type: 'ADD_CARD', laneId: 'COMPLETED', card: {id: "M1", title: "Buy Milk", label: "15 mins", description: "Also set reminder"}}
eventBus.publish(pushtheme);
}

Add Card}
                  newCardTemplate={} />

I am using API call for insert card data. After API call success I trigger this   eventBus.publish(pushtheme);  method.  After that I try to push the another card again It's getting write with the previous card.  My existing card is gone . I can't push card in dynamically.

I can't really provide much help on this since I don't know anything about your application, and this is very much an implementation problem on your side, vs a bug on our side.
You should provide a small repository or application example containing a complete working application to work off, as the code you've provided doesn't have any context; those code snippets could be completely separate from each other.
A key thing to keep in mind is that if you cause a re-renderer of the Board component, that'll cause it to 'reset' to whatever the value of data is; this means that if you add a card using the eventBus, you should make sure that that learningjourney.data gets that card at somepoint too.
My advice is to try and stay away from using the eventBus - it's mainly for very advance use-cases, as in using it you have to ensure you keep your data in sync with whatever changes you push using eventBus.
Instead, just apply whatever changes you want to make to learningjourney.data.
If things are still unclear to you, I can provide you with a very basic minimal component showing off how you should implement the Board, but can't make any promises due to my workload.


Fix uses of path_field from bad merge

Description of Changes
A bad merge left the tags on FilePathField to be just path_field still. Also fixes a reference left in the daemonset config.
Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

Log Files
Logs / Second
CPU Average (%)
Memory Average (MB)

1
1000
2.206921
28.786503

1
5000
5.7242217
35.28448

1
10000
9.810653
42.860855

1
50000
33.897568
100.94289

1
100000
64.62118
202.5272

10
100
3.862159
26.117592

10
500
7.2932405
33.95016

10
1000
11.224381
43.250538

10
5000
42.31126
100.04068

10
10000
73.10536
185.69922


Fix keyspace infos parsing

We were wondering why, after running dbsize scan properly, our Grafana dashboard were still showing nothing for the estimated keys.
parseDBKeyspaceString receives two arguments:

inputKey which should be the database/namespace
inputVal which should be the keyspace numbers as string

Right now, the split length condition returns nothing if there are not four elements after the split on inputVal. But the inputVal data doesn't contain the database name, it is in inputKey, therefore we should look for three elements, not four.
As the code says, a valid example is:

db0:keys=1,expires=0,avg_ttl=0

inputKey is db0
inputVal is keys=1,expires=0,avg_ttl=0 (three elements, not four when splitted by comma)

@kinoute Thank you!


Delete build script flag to enable NonEscapableTypes in the standard library

NonEscapableTypes are enabled on the standard library, so we don't need  SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES build flag anymore

@swift-ci smoke test

@swift-ci smoke test


Introduce helper type for evm cfg and env tuple

Describe the feature
we need to change how we deal with the evm setup.
first we only need to operate on one cfg type.
currently this is equivalent to this tuple:
https://github.com/paradigmxyz/reth/blob/328d4937f2bf11e8c9580758e64d4ce9c8251286/crates/evm/src/provider.rs#L21-L21
but we want a single type if we want to use this is some for of trait abstraction where this would be an associated type.
TODO

add helper container type for this tuple
add useful helper functions

Additional context
No response

Took a quick look at this.
wdyt?
use revm::primitives::{BlockEnv, CfgEnvWithHandlerCfg};

/// Container type that holds both the configuration and block environment for EVM execution.
#[derive(Debug, Clone)]
pub struct EvmEnv(CfgEnvWithHandlerCfg, BlockEnv);

impl EvmEnv {
    /// Create a new `EvmEnv`
    ///
    /// # Arguments
    ///
    /// * `cfg` - The configuration environment with handler settings
    /// * `block` - The block environment containing block-specific data
    pub const fn new(cfg: CfgEnvWithHandlerCfg, block: BlockEnv) -> Self {
        Self(cfg, block)
    }

    /// Returns a reference to the block environment.
    pub const fn block_env(&self) -> &BlockEnv {
        &self.1
    }

    /// Returns a reference to the configuration environment.
    pub const fn cfg_env_with_handler_cfg(&self) -> &CfgEnvWithHandlerCfg {
        &self.0
    }

    ///.....other stuff goes here
    ///...
    pub const fn chain_id(&self) -> u64 {
        self.0.cfg_env.chain_id
    }
}

impl From<(CfgEnvWithHandlerCfg, BlockEnv)> for EvmEnv {
    fn from((cfg, block): (CfgEnvWithHandlerCfg, BlockEnv)) -> Self {
        Self(cfg, block)
    }
}

impl From<EvmEnv> for (CfgEnvWithHandlerCfg, BlockEnv) {
    fn from(env: EvmEnv) -> Self {
        (env.0, env.1)
    }
}

cool, lg!
the only suggestion I have is using named fields so that this type can easily be deconstructed into named vars like let EvmEnv {} = env;
will likely bikeshed on the name on the pr, but still thinking


type fixes

Description
Type fixes

Processing this pull request

Pull request rejected by merge tool. The tests for this branch did not succeed.

Processing this pull request

Merged into branches master in 3d5128f95b36236137857c437ab87333d52b71d4


Support request: deletion of several projects

Details

Read the Docs project URLs:
https://readthedocs.org/projects/dockpanelsuite/
https://readthedocs.org/projects/jexus/
https://readthedocs.org/projects/jexuswebserver/
https://readthedocs.org/projects/linpeiman/
https://readthedocs.org/projects/obfuscar/
https://readthedocs.org/projects/restructuredtext.net/
https://readthedocs.org/projects/sharpsnmp/
https://readthedocs.org/projects/sharpsnmppro/

Read the Docs username (if applicable): lextm

Expected Result
As the creators of such projects I should be able to delete them.
Actual Result
Instead all I got is "Fail.  Check back in a bit!" from the delete link. Similar to #4042
Please help.

Thanks for reporting this @lextm! I found some interesting logs that could point us in the right direction to solve this issue.
There is a problem with how we delete the SSL via Cloudflare for the custom domain. We will be working on this and hopefully, we will have a fix for this soon.
Sentry: https://sentry.io/read-the-docs/readthedocs-org/issues/630965612/
Error at: https://github.com/readthedocs/readthedocs-ext/blob/36e27c05199bc16660d54df66c6d239f097786ad/readthedocsext/cdn/providers/cloudflare.py#L136

Thanks for reporting these. You should be able to delete these projects now. For some reason, Cloudflare failed to get an SSL certificate for these, they got into a weird state, and then the API to remove them was throwing a 500. A fix to handle this more gracefully on the RTD side is in review.

Thank you, guys! It works now.


Cloudant database bulk operation does not overwrite document for List based members

Please include the following information in your ticket.

CloudantClient (java-cloudant) version(s) that are affected by this issue.
Tried both 2.7.0 and 2.9.0 here are the gradle dependencies I used
compile group: 'com.cloudant', name: 'cloudant-client', version: '2.9.0'
compile group: 'com.cloudant', name: 'cloudant-http', version: '2.9.0'

Java version (including vendor and platform).

java version "1.8.0"
Java(TM) SE Runtime Environment (build pxa6480sr3fp21-20161117_02(SR3 FP21))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20161114_325917 (JIT enabled, AOT enabled)
J9VM - R28_20161114_0146_B325917
JIT  - tr.r14.java.green_20161111_127476
GC   - R28_20161114_0146_B325917_CMPRSS
J9CL - 20161114_325917)
JCL - 20161116_01 based on Oracle jdk8u111-b14
on Redhat 6.9

A small code sample that demonstrates the issue.

I have the following code structure:
Entity.java:
public class Entity extends CloudantObject {
   @ApiModelProperty(value = "entityItems", required=true)
   List<EntityItem> entityItems;

   @JsonCreator
   public Entity(@JsonProperty("name") String name,
                       @JsonProperty("entityItems") List<EntityItem> entityItems) {
	super();
	this.name = name;
	this.entityItems = entityItems;
	this.set_id(name);
}

}
EntityItem.java:
public class EntityItem {
    @NotNull
    @ApiModelProperty(value = "synonyms", required = true)
    private String[] synonyms;

    @JsonCreator
    public EntityItem(@JsonProperty("value") String value,
                           @JsonProperty("synonyms") String[] synonyms) {
	     this.synonyms = synonyms;
	     this.value = value;
        }
    }

What I am seeing is that the com.cloudant.client.api.Database.bulk call does not reflect the values in the synonyms class member, during an update. Cloudant is retaining the old synonyms so if I start with the following cloudant entry:
[{      "name": "Level",
"entityItems": [{
"value": "latest",
"synonyms": ["newest","new","recent","current"]
}]  }]
The synonyms part cannot be overwritten using the bulk method

Can you give us a snippet of the java-cloudant call you are using? Is it db.bulk() with a List<Entity>?
Were all the repsonses returned in the List<Response> OK or did the server complain?
Have you attempted to update a single document using db.update(), does that work?

Sure, so the call we are making into bulk is wrapped in the following method:
public static  List bulk(java.lang.Class classType, List cloudantObjects) {
Database db = getDatabase(classType);
return db.bulk(cloudantObjects);
} ... part of DatabaseUtil
So effectively we have a database for a particular class type.  The call into that method looks like
public boolean bulk(Entity[] entities) {
LOG.info("[ConversationDataStore.createEntities] START");
DatabaseUtil.bulk(Entity.class, Arrays.asList(entities));
LOG.info("[ConversationDataStore.createEntities] END");
return true;
}
I'll need to check the response. But that is probably an oversight on our part and we should check it.
The individual db.update works fine its just the bulk update.

Hi so added the output of Response in the following way:
public boolean bulk(Entity[] entities) {
LOG.info("[ConversationDataStore.createEntities] START");
List responses = DatabaseUtil.bulk(Entity.class, Arrays.asList(entities));
	for (Response response: responses) {
		LOG.info("Got bulk entity responseError: {}",response.getError());
		LOG.info("Got bulk entity responseReason: {}",response.getReason());
		LOG.info("Got bulk entity responseId: {}",response.getId());
	}
	LOG.info("[ConversationDataStore.createEntities] END");
	return true;
}

and got as output
INFO  [2017-07-27 16:26:32,638] com.ibm.cloud.wms.conversation.data.ConversationDataStore: [ConversationDataStore.createEntities] START
INFO  [2017-07-27 16:26:32,904] com.ibm.cloud.wms.conversation.data.ConversationDataStore: Got bulk entity responseError: conflict
INFO  [2017-07-27 16:26:32,905] com.ibm.cloud.wms.conversation.data.ConversationDataStore: Got bulk entity responseReason: Created
INFO  [2017-07-27 16:26:32,905] com.ibm.cloud.wms.conversation.data.ConversationDataStore: Got bulk entity responseId: UsageRanking
so i guess the bulk thinks there is a conflict, but wondering if this should act as a PUT statement and hence just overwrite rather then a conflict

act as a PUT statement and hence just overwrite rather then a conflict

A PUT in CouchDB/Cloudant doesn’t "overwrite", it generates a new revision in the tree branching from the _rev supplied. If you don’t supply a _rev it will try to create a new doc (i.e. a 1-… generation revision). So for example if you don’t supply any _rev information in the objects in the List you are passing to the bulk() method the server will try to create new 1-… revs for all those documents, which if they are existing documents would be a conflict.
Basically if you’re getting a conflict it is because the revision of the document that you are trying to update is not the latest (i.e. has already been updated). This could be either because you are supplying the wrong or outdated _rev information or the document has been simultaneously updated from another source.
A few things to check:

Are you sure that your serialization is including a _rev ID (or the correct _rev ID)?
Are you updating the _rev IDs in your Java objects after create or previous updates? (Consider this documentation point)
Are there other updates happening at the same time that could cause a conflict?

Thanks, that was indeed the problem. I had to get hold of the _rev values based on the _id. Once I populated that back into the individual object it works. Thanks again.


Dynamic Prompts is not installed correctly. Please reinstall the dynamic prompts library by running the following command: xxxxxxx\python.exe -m pip install 'dynamicprompts[attentiongrabber,magicprompt]==0.25.2'

Please do what the error message says. Duplicate of #441.


Capitalize 'inland empire' in the Overview section

Inside the paragraph for the Overview section, 'inland empire' needs to be 'Inland Empire'

Great work Kelly 👍


chore: temporarily disable Windows Rust flow

Which issue does this PR close?

Related to #13726 .
Rationale for this change
Presumably there is an issue in Github runners starting from last year and causing the Window Rust flow to run for 1.5h without any particular reason. Commenting out the flow for now and waiting for a new GH Windows runner

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thanks for the review

While we're at it the intel mac tests are not all that useful.

While we're at it the intel mac tests are not all that useful.

I agree though maybe it is useful. I wrote up a larger story about testing improvements here:

https://github.com/apache/datafusion/issues/13845


Break words if longer than allowed length

If a word is longer than the allowed length in an option's description, the program crashes when formatting it with the following exception (c.f. issue #95):
libc++abi.dylib: terminating with uncaught exception of type std::length_error: basic_string
Abort trap: 6

The algorithm insert words until the maximum allowed length is reached; then we insert a new line \n character and start again from the previous space character (i.e. the word that could not fit on the previous line). We therefore keep a pointer to the first character of the current line and the previous space.
If a word is longer than the allowed length, it will break the previous line, but cannot fit on the next one. The algorithm will try to insert the first part (with exactly the maximum allowed length), but the previous space is still on the previous line.
Setting the last space character to the first character of the new line prevents that bug.
Solve #95.

This change is

Hi, what's the status of this PR? I would love to see this PR merged, if possible, since I have the same problem of setting long strings as default values.
Thanks in advance!

On my side it is working, I don't see why it shouldn't be merged…

Sorry I've been a bit busy, I'll take a look at this in the morning.

Sorry this PR dropped off my radar, but it appears that the original issue was already fixed in 943cdcfbbaa2.
If you're happy with that you can close it.

I did two tests: With<EMAIL_ADDRESS>(which uses<EMAIL_ADDRESS>the problem exists. When using cxxopts@master nothing breaks. So I can confirm that the master seems to be fixed for my use case (I will patch my vcpkg s.t. it uses a more recent version of cxxopts).
Is it possible that you publish a new release of cxxopts containing the fix s.t. we can update vcpkg with the new release upstream?

vcpkg testing example
main.cpp
#include <cxxopts.hpp>
#include <iostream>
#include <string>

int main(int argc, char *argv[]) {
  cxxopts::Options options{"test", "Testing long strings"};

  options.add_option("", "h", "help", "Print help", cxxopts::value<bool>(), "");

  std::string test{"abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefg"
                   "hijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"};
  options.add_option("", "", "test", "Test flag with long default value",
                     cxxopts::value<decltype(test)>(test)->default_value(test),
                     "test");

  const auto result = options.parse(argc, argv);

  if (result.count("help") != 0) {
    std::cout << options.help() << std::endl;
    return 0;
  }

  return 0;
}

CMakeLists.txt
cmake_minimum_required(VERSION 3.10)

project(dataset LANGUAGES CXX)

find_package(cxxopts CONFIG REQUIRED)

add_executable(test
  "${CMAKE_CURRENT_SOURCE_DIR}/main.cpp"
)

target_link_libraries(test PRIVATE
  cxxopts::cxxopts
)

setup.sh
Execute this script to install vcpkg, cxxopts and compile a simple program. You can trigger the bug with running build/test --help.
#!/bin/bash

git clone -b 2020.06 git@github.com:microsoft/vcpkg.git
vcpkg/bootstrap-vcpkg.sh -disableMetrics
vcpkg/vcpkg install cxxopts

mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake ..
make

Closing, then.


Quake window doesn't know it was minimized

Windows Terminal version (or Windows build number)
Microsoft Windows 10 Pro for Workstations 10.0.19042.1110 (2009, 20H2) WindowsTerminal: 1.10.1933.0
Other Software
TCC.EXE
Steps to reproduce
From TCC.EXE (JPSoft) running in the Quake terminal, issue activate "%_wintitle" min (_wintitle would be the console's caption if I were in a console; WindowsTerminal uses it as the tab caption).
Expected Behavior
I expect the quake window to be minimized and the taskbar icon to disappear.
Actual Behavior
Either of these give the expected behavior:

SendMessage, WM_SYSCOMMAND, SC_MINIMIZE
ShowWindow, SW_MINIMIZE

But in response to TCC's ACTIVATE command, the quake window is minimized but the taskbar icon doesn't disappear.
I don't know exactly how TCC's ACTIVATE command works but I've attached a log (plain text) from Spy++ showing what the CASCADIA_HOSTING_WINDOW_CLASS class window sees after that command is issued.
messages.txt

the quake window is minimized but the taskbar icon doesn't disappear.

This is by design. The _quake window doesn't show up in the taskbar, so it needs to have the tray icon be visible when it's minimized, so that it's still accessible. This was added in #10179, and is going to get some additional flexibility in #10368.

This is by design. The _quake window doesn't show up in the taskbar, so it needs to have the tray icon be visible when it's minimized, so that it's still accessible.

Yes, I know that's how it should work, but when minimized with TCC's ACTIVATE command , the window itself disappears, GetWindowPlacement says it's minimized, but the TASKBAR icon is still there (in addition to the tray icon).

@zadjii-msft we probably need to detect when weird software tries to minimize the quake window and trigger a disappear instead of a minimize.


4388 - CourtOrderPoa - New prop to make courtOrderNumber required regardless PoA

Issue #: /bcgov/entity#4388
Description of changes:

Added new prop to make courtOrderNumber required regardless PoA
Update tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).

Looks good to me!
You might need to do a quick rebase and rebuild of the Shared Components to resolve the conflict.
Another small pr was just merged which most likely caused that, sorry about that :(

No problem, sir. Thanks!


added name

Your pull request seems good, but must be checked by a human maintainer for the following reason(s):

Modifications to contributors.md must be checked manually, thanks for your submission.

Please be patient until a maintainer has time to look over your contribution.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

1b0e2eb817f50b470d114c32bbf324012c3f45b8


Actually declare no_std

This crate declares in its Cargo.toml that it is no_std, but doesn't declare it in the code. If I understand correctly, no_std crates need this declaration, or they will fail to compile in actual no_std environments.

Thanks for catching this oversight and submitting a PR!


Unable to build an image, cannot read property url of undefined

The agent is used when running portainer on the server, as follows:
"docker run -d -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent"
Also, Swarm is not used on the server.
Now, when we try to make an image, it is not created and we face the error "cannot read property url of undefined " or "n.config is undefined".
This image is created on the main server without any problems.
Another problem is crashing the agent without any obvious reason.
I appreciate your guidance.

Hi there @marziehmahmoodi , can you please provide:

Reproduction steps of your issue with the Portainer agent
OS of the host machine
Portainer Agent version
Portainer version
Docker version

If you are also having issues building an image, can you please open a separate bug report here and include all the information in the template including reproduction steps for that.

I've also recently come across the issue. I'll provide what I can here. Below is my message posted on the portainer forums:

I’m running Portainer 1.24.0 in Docker 19.03.5 remotely on a WD My Cloud PR2100. I’ve successfully pulled an image from the DockerHub and deployed a container with it, so I know I have something working.

However, I have issues when trying to build an image with a file. In the build image from upload section, after I add my tar.gz, a name and hit build image, it errors out with the following: “Cannot read property ‘url’ of undefined”
When I use the import button for this file, it appears to complete without error, but I see no change after this has completed.
Can anyone point me to the right place to find logs so I can get some more detail on what is going wrong with this process? I’m not very technical so I know I don’t even know the right questions to ask without getting more information from my system yet.
Appreciate any help!
Repro:
From the images panel, I click build image:

In the upload section, I add my tar.gz file, a name, and then click build image:

Within 2-3 seconds, it fails out with this error in red:

Failed Network Request:

http://192.168.xx.xx:9000/api/endpoints/2/docker/build?dockerfile=Dockerfile&t=IDS

Console Logs:

vendor.d1359a0211f4f67c952f.js:47 TypeError: Cannot read property 'replace' of null
at i (main.d1359a0211f4f67c952f.js:1)
at transformResponse (main.d1359a0211f4f67c952f.js:1)
at Dn (vendor.d1359a0211f4f67c952f.js:47)
at w (vendor.d1359a0211f4f67c952f.js:47)
at vendor.d1359a0211f4f67c952f.js:47
at vendor.d1359a0211f4f67c952f.js:47
at c.$eval (vendor.d1359a0211f4f67c952f.js:47)
at c.$digest (vendor.d1359a0211f4f67c952f.js:47)
at c.$apply (vendor.d1359a0211f4f67c952f.js:47)
at vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
_ @ vendor.d1359a0211f4f67c952f.js:47
b @ vendor.d1359a0211f4f67c952f.js:47
error (async)
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
dispatch @ vendor.d1359a0211f4f67c952f.js:25
m.handle @ vendor.d1359a0211f4f67c952f.js:25
vendor.d1359a0211f4f67c952f.js:47 TypeError: Cannot read property 'url' of undefined
at n.responseError (main.d1359a0211f4f67c952f.js:1)
at vendor.d1359a0211f4f67c952f.js:47
at vendor.d1359a0211f4f67c952f.js:47
at c.$eval (vendor.d1359a0211f4f67c952f.js:47)
at c.$digest (vendor.d1359a0211f4f67c952f.js:47)
at c.$apply (vendor.d1359a0211f4f67c952f.js:47)
at vendor.d1359a0211f4f67c952f.js:47
at _ (vendor.d1359a0211f4f67c952f.js:47)
at XMLHttpRequest.b (vendor.d1359a0211f4f67c952f.js:47)
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
_ @ vendor.d1359a0211f4f67c952f.js:47
b @ vendor.d1359a0211f4f67c952f.js:47
error (async)
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
dispatch @ vendor.d1359a0211f4f67c952f.js:25
m.handle @ vendor.d1359a0211f4f67c952f.js:25
vendor.d1359a0211f4f67c952f.js:47 Broken interceptor detected: Config object not supplied in rejection:
https://github.com/chieffancypants/angular-loading-bar/pull/50
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
responseError @ vendor.d1359a0211f4f67c952f.js:146
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
_ @ vendor.d1359a0211f4f67c952f.js:47
b @ vendor.d1359a0211f4f67c952f.js:47
error (async)
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
dispatch @ vendor.d1359a0211f4f67c952f.js:25
m.handle @ vendor.d1359a0211f4f67c952f.js:25
vendor.d1359a0211f4f67c952f.js:47 POST http://<IP_ADDRESS>:9000/api/endpoints/2/docker/build?dockerfile=Dockerfile&t=IDS net::ERR_CONNECTION_RESET
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
$eval @ vendor.d1359a0211f4f67c952f.js:47
$digest @ vendor.d1359a0211f4f67c952f.js:47
$apply @ vendor.d1359a0211f4f67c952f.js:47
(anonymous) @ vendor.d1359a0211f4f67c952f.js:47
dispatch @ vendor.d1359a0211f4f67c952f.js:25
m.handle @ vendor.d1359a0211f4f67c952f.js:25

Host OS Info: Linux version 4.1.13 (kman@kmachine) (gcc version 4.8.2 (crosstool-NG hg+unknown-20140401.133847 - Build-wd-00.01c) ) #1 SMP Mon Nov 11 22:59:32 PST 2019 Build-git1d288ca

From Portainer:

Host Details
Hostname | MyCloudPR2100
OS Information | linux x86_64
Kernel Version | 4.1.13
Total CPU | 4
Total memory | 4 GB
Engine Details
Version | 19.03.5 (API: 1.40)
Root directory | /mnt/HD/HD_a2/Nas_Prog/_docker
Storage Driver | vfs
Logging Driver | json-file
Volume Plugins | local
Network Plugins | bridge, host, ipvlan, macvlan, null, overlay

Logs: I first encountered this issue June 26, attempting several times to build and import the image as described above.

2020/05/31 15:11:08 Warning: the --template-file flag is deprecated and will likely be removed in a future version of Portainer.
2020/05/31 15:11:09 server: Reverse tunnelling enabled
2020/05/31 15:11:09 server: Fingerprint 99:ee:26:31:59:c1:36:f5:8a:3e:84:85:09:62:9f:35
2020/05/31 15:11:09 server: Listening on <IP_ADDRESS>:8000...
2020/05/31 15:11:09 Starting Portainer 1.24.0 on :9000
2020/05/31 15:11:09 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2020/05/31 15:12:52 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/05/31 15:12:52 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)
2020/05/31 15:15:09 http error: Unable to ping Docker environment (err=Get http://192.168xx.xx:2375/_ping: dial tcp 192.168.xx.xx:2375: connect: connection refused) (code=500)
2020/05/31 15:15:31 http error: Unable to initiate communications with endpoint (err=Error response from daemon:

404 Not Found

Not Found
The requested URL /_ping was not found on this server.
body>) (code=500)
2020/06/01 01:01:28 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/01 14:07:49 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/10 00:32:37 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/12 23:22:55 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/18 01:58:51 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/18 02:03:00 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:03:57 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:04:27 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:08:39 http error: A resource control is already associated to this resource (err=A resource control is already applied on this resource) (code=409)
2020/06/18 02:34:38 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:34:38 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:34:54 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:34:54 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:35:15 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:35:15 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 02:35:34 http error: Unable to proxy the request via the Docker socket (err=context canceled) (code=500)
2020/06/18 12:16:32 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/18 12:16:32 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/18 12:16:32 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/18 12:16:32 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/18 12:16:32 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/19 03:04:40 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/21 18:04:14 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/23 20:26:02 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/26 18:15:00 http error: Invalid credentials (err=Unauthorized) (code=422)
2020/06/26 18:15:00 http error: Invalid credentials (err=Unauthorized) (code=422)
2020/06/26 18:15:12 http error: Invalid credentials (err=Unauthorized) (code=422)
2020/06/26 18:15:13 http error: Invalid credentials (err=Unauthorized) (code=422)
2020/06/27 00:56:46 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/27 02:12:30 http error: Unable to ping Docker environment (err=Get http://192.168.xx.xx:2375/_ping: dial tcp 192.168.xx.xx:2375: connect: connection refused) (code=500)
2020/06/27 02:12:45 http error: Unable to ping Docker environment (err=Get http://:2375/_ping: dial tcp :2375: connect: connection refused) (code=500)
2020/06/27 02:13:12 http error: Unable to ping Docker environment (err=Get http://<IP_ADDRESS>:2375/_ping: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)) (code=500)
2020/06/27 14:14:27 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/27 14:15:35 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/27 14:15:39 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/27 14:15:44 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/27 14:15:47 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/27 14:15:51 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/27 14:15:55 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/27 14:15:58 http error: Invalid request payload (err=Invalid stack name) (code=400)
2020/06/30 12:25:47 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/06/30 12:41:07 http error: Unauthorized (err=Unauthorized) (code=401)
2020/06/30 12:41:07 http error: Unauthorized (err=Unauthorized) (code=401)
2020/06/30 12:41:07 http error: Unauthorized (err=Unauthorized) (code=401)
2020/06/30 12:41:07 http error: Unauthorized (err=Unauthorized) (code=401)
2020/06/30 12:41:07 http error: Unauthorized (err=Unauthorized) (code=401)

As far as I can tell, I've only been using Docker Standalone and no Portainer agent. I installed using the attached binary.
MyCloudPR2100_docker_19.03.5.zip

Hi @kbouto02 , Are you still facing this issue? I cannot reproduce that Issue using portainer 2.0, image can be build successfully using my dockerfile.tar.gz
This is example Dockerfile I'm using Dockerfile.tar.gz.
If you still facing this issue, can you show me your Dockerfile?

Hi @ametdoohan sorry for the delay. When I go to Build Image>Upload and use the example file you shared, I receive the same error as before. Currently running on 2.0.0

@kbouto02 can you show me your dockerfile?

Confirmed, using Portainer 2.0 with standalone Portainer agent endpoint enable. When creating image using web editor or upload dockerfile and image have a large size ( > 900MB ) this issue can be reproduce.

vendor.df5487ae7f62fcda715d.js:75 Broken interceptor detected: Config object not supplied in rejection:
 https://github.com/chieffancypants/angular-loading-bar/pull/50
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
responseError @ vendor.df5487ae7f62fcda715d.js:137
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
$digest @ vendor.df5487ae7f62fcda715d.js:75
$apply @ vendor.df5487ae7f62fcda715d.js:75
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
_ @ vendor.df5487ae7f62fcda715d.js:75
y.onerror @ vendor.df5487ae7f62fcda715d.js:75
vendor.df5487ae7f62fcda715d.js:75 TypeError: Cannot read property 'url' of undefined
    at n.responseError (main.df5487ae7f62fcda715d.js:1)
    at vendor.df5487ae7f62fcda715d.js:75
    at vendor.df5487ae7f62fcda715d.js:75
    at u.$digest (vendor.df5487ae7f62fcda715d.js:75)
    at u.$apply (vendor.df5487ae7f62fcda715d.js:75)
    at vendor.df5487ae7f62fcda715d.js:75
    at _ (vendor.df5487ae7f62fcda715d.js:75)
    at XMLHttpRequest.y.onerror (vendor.df5487ae7f62fcda715d.js:75) "Possibly unhandled rejection: {}"
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
(anonymous) @ vendor.df5487ae7f62fcda715d.js:156
c @ vendor.df5487ae7f62fcda715d.js:75
$digest @ vendor.df5487ae7f62fcda715d.js:75
$apply @ vendor.df5487ae7f62fcda715d.js:75
(anonymous) @ vendor.df5487ae7f62fcda715d.js:75
_ @ vendor.df5487ae7f62fcda715d.js:75
y.onerror @ vendor.df5487ae7f62fcda715d.js:75
/api/endpoints/2/docker/build?dockerfile=Dockerfile&t=ubuntu-docker:1 Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

using Portainer 2.0 with standalone Portainer agent endpoint enable. When creating image using web editor or upload dockerfile and image have a large size ( > 900MB ) this issue can be reproduce.

I am facing the same issue with image having a size of ~500MB also

Yes this is a known issue, the agent has an aggressive timeout on push/pull of images. Its pending a fix.

just to validate, I checked the web editor and got the same error, so it's not related to uploading a tar vs other options.

This problem occurs with an agent when trying to create a big image. increasing docker/client.go defaultDockerRequestTimeout didn't help.
The following generates this error:
Dockerfile.tar.gz

I reproduced both #3878 and #3910, they're related - in what the server reports, not how the user sees it.
Both fail in the reverse proxy when trying to copy the body of the request (internal go code), they report the same errors. It can be one of those, I think it's random failures with the buffer:

httputil: ReverseProxy read error during body copy: unexpected EOF
httputil: ReverseProxy read error during body copy: http: unexpected EOF reading trailer

@deviantony I think one of these can be closed and linked. We should of course continue the investigation.
I also open a small PR that fixes something in the client-side HTTP interceptors, that will show the user a better error for these failures

I don't want to close this issue in favor of https://github.com/portainer/portainer/issues/3910 as the symptoms are different.
I'll keep it open but we're gonna investigate if the potential fix via #4654 actually solves this one and #3910.

I don't want to close this issue in favor of https://github.com/portainer/portainer/issues/3910 as the symptoms are different.
I'll keep it open but we're gonna investigate if the potential fix via #4654 actually solves this one and #3910.

#4654 just solves the symptoms and reveals the real problem. once #4654 is merged the problem will be the same

#4654 just solves the symptoms and reveals the real problem. once #4654 is merged the problem will be the same

I changed WriteTimeout to 5000 seconds at the agent side (https://github.com/portainer/agent/blob/develop/http/server.go#L127) and can’t reproduce this bug anymore.
Regarding #3910, I also tried to reproduce the failure by pulling codait/max-object-detector:arm-arm32v7-latest, but it always successes to pull in about 80seconds. I changed the WriteTImeout to 60 seconds(the default value is 120) and it failed to pull the image in about 60 seconds.
I also tried the above test cases with Portainer 1.24.0 and got the same results.
IMO, there are several solutions:

Changing WriteTimeout to a large number for all connections is not proper, but it can be a temporary simple fix.
Changing WriteTimeout to a large number for pull and build connections only.
Make the pull/build processes work in an async way: the agent response to pull/build requests immediately, then the client fetches the results via polling or WebSocket.

I changed WriteTimeout to 5000 seconds at the agent side (https://github.com/portainer/agent/blob/develop/http/server.go#L127) and can’t reproduce this bug anymore.
Regarding #3910, I also tried to reproduce the failure by pulling codait/max-object-detector:arm-arm32v7-latest, but it always successes to pull in about 80seconds. I changed the WriteTImeout to 60 seconds(the default value is 120) and it failed to pull the image in about 60 seconds.
I also tried the above test cases with Portainer 1.24.0 and got the same results.
IMO, there are several solutions:

Changing WriteTimeout to a large number for all connections is not proper, but it can be a temporary simple fix.
Changing WriteTimeout to a large number for pull and build connections only.
Make the pull/build processes work in an async way: the agent response to pull/build requests immediately, then the client fetches the results via polling or WebSocket.


Update Composer dependencies (2021-12-07-00-04)

Visual regression test passed!
View the visual regression test report


./gradlew buildSrcLibs

Closes #235
WIP for https://github.com/jmfayard/refreshVersions/issues/235
Roadmap:

[x] Brings back the task ./gradle buildSrcVersions but use the version placehoder _  instead of using Versions.kt
[x] Create an alias buildSrcLibs
[x] Add missing keys in versions.properties, like in branch https://github.com/jmfayard/refreshVersions/tree/poc-all-versions
[x] Delete the file buildSrc/src/main/kotlin/Versions.kt if it exists
[ ] Write the documentation for the website
[ ] Do a release and finish https://github.com/http4k/http4k/pull/499

@jmfayard Shouldn't this target the develop branch instead of the master branch?

Indeed, facepalm!

I think you can just re-target the branch.


Materialize slim layout

I think there is a typo in slim layout for materialize as UL renders LI elements rounded by quotes (" ") what gives flat text layout.
I used this:
rails generate kaminari:views materialize // my project layout is slim
Another generator works fine (i.e. erb / haml layouts gives what I need)
rails generate kaminari:views materialize -e haml
I will have a look into source, but am I dosing something wrong?

@erudinsky Thank you for reporting! I'm not a slim export so I can't really say anything, but could you send a pull request to amatsuda/kaminari_themes if there's something that should be fixed? Any contribution is appreciated.


Openbsd make and a few BSD-related fixes

@homu r+

:pushpin: Commit 87211f7 has been approved by fiveop

:zap: Test exempted - status


Loss for training KL-VAE

Hello! May I ask if you used VQ-16 similar perceptual loss or just reconstruction loss and KL divergence when training KL-VAE?

Hi! Please see the configuration here https://github.com/CompVis/latent-diffusion/blob/main/models/first_stage_models/kl-f16/config.yaml#L7-L12. Just the same as LDM's KL-VAE, we use reconstruction loss, perceptual loss, KL divergence, and GAN loss.


Serve "Frontend" Application Module locally.

As a developer
I want to start a local application server serving the frontend assets
Such that ???

Avoids CORS issues.
Makes usage of ES6 JavaScript modules easier.
More closely to the final deployment.

Containerize module? Later on: of course...why not now? Whether to add a short JavaScript Express module serving the assets or an nginx reverse proxy should not make a difference.

Maybe not: https://dev.to/massivebrains/use-same-dockerfile-for-dev-production-1l7f


Support STL File types (client-side viz)

ShapeWorks Studio has a built-in .stl loader so that projects like this work from the box without conversion to .vtk

The client side reader functions should account for STL files, too. VTK.js is equipped to handle these files, we just need to add a case in our reader functions which will use this class:
https://kitware.github.io/vtk-js/api/IO_Geometry_STLReader.html

Resolved by #343


[Inline Class] VM debugging support

Please note that this feature has been renamed: It is now the 'inline class' feature.

Looks like we some work on expression evaluation is required.
Consider this example
extension type V0(int id) {
  num foo() => 42;
}
extension type V1(int id) implements V0 {}
extension type V2(int id) implements V0 {}
extension type V(int id) implements V1, V2 {}
main() {
  V v = V(1);
  V1 v1 = V1(1);
  V2 v2 = V2(1);
  print(v.foo());
  print(v1.foo());
  print(v2.foo());
}

Inside devtools if we evaluate
v.foo()
we get the following error
evaluateInFrame: (113) Expression compilation error org-dartlang-debug:synthetic_debug_expression:1:3:
Error: The method 'foo' isn't defined for the class '_Smi'.
 '_Smi' is from 'dart:core'.

When we hover the cursor on V/V1/V2 it shows the type as int, maybe it needs to indicate it is an extension type V/V1/V2 wrapping int``

//cc @derekxu16 @bkonyi

@bkonyi the feature is now called extension-types and hence the title.

Oh, I didn't realized we changed the name again from 'inline class'. I'll change it back.

Removing milestone 3.3 per discussion in the Dart scrum meeting this morning

With https://github.com/dart-lang/sdk/commit/f5743b9f44d401501ba5b6f59770892e1e06ed04 and https://github.com/dart-lang/sdk/commit/c959173b4c3699683ef3163f53242dc727f45b7c landed evaluation should work.
E.g. with the example code above
> v.foo()
42

Can this issue be closed?


PS controllers stuck to face.

When I set up the controllers and calibrate them, the controllers refuse to move from my face and stay there. Has anyone else had this issue?

Me too, I have the old ones and have had them for about a year I need help


[New chain]: PLAYA3ULL GAMES Mainnet

Chain Name
PLAYA3ULL GAMES Mainnet
RPC URL
https://api.mainnet.playa3ull.games
The chain must be added to https://chainlist.org/

[X] I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

[ ] I sent the pre-fund in accordance with Github Action's comment

Relevant information
Chainlist
https://chainlist.org/chain/3011
Explorer
https://3011.playa3ull.games/

Funded 10 3ULL
https://3011.routescan.io/address/0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37


[docs] Improve API reference copy

"place its parts the following way" struck me as awkward phrasing—how about "assemble it as shown below"?

Ah that's interesting @vladmoroz. Maybe something like "After importing the component, you can render the following DOM nodes:"? This would convey the idea that you have options rather than a strict prescription of what must be included.

Hmm I think we need to keep it a bit ambiguous so it works regardless whether there is some or absolutely no flexibility to the anatomy. "You can render the following DOM nodes..." sounds like there always are options.
How about Import the component and assemble its parts? (To your question, those pieces are called "parts")

Makes sense, I'll run with that 🫡


shader from old scene still visible

In 2D, edit a shader's code.  With the code window still open, open a new scene.  Sometimes (but not always?), the shader window remains visible.  Changes to this code then have no effect.  When the scene with the shader is reloaded, all changes that were made in the out-of-place code window are lost.

Can you still reproduce this issue in the current master branch / nightly builds?

Ping.

Tried this and the shader code window is kept open even when changing scenes and closing the original scene. The code changes are kept too but not save, so if you close the project and open again without saving the original scene those changes are lost.

I did some changes to shader editor, but didn't see this issue, can you conform this is still happening?

As per the above comment, assuming it has been fixed with the various changes @MarianoGnu did to the shader editor. Please comment if it's not the case, so that the issue can be reopened.


Update ServiceNameService.java

resolve the Integer overflow,convert the value to Long type
Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

Related issues

Bug fix

Bug description.
when minuteMetricDataTTL is changed to a Big Value,the minuteMetricDataTTL601000 will cause to Integer overflow
How to fix?
convert the value to Long type

New feature or improvement

Describe the details and related test reports.

Coverage increased (+0.004%) to 24.589% when pulling 0e719016f9946be852c6ef34ff4618012580493f on terranhu:patch-1 into c10fc67838545195b0df4f3a03a01ade0855b223 on apache:master.


Review docs under category "configure"

Thanks for the comments, PR updated and PTAL!

Thanks for the comments, PR updated and PTAL!

Thanks for the comments, PR updated and PTAL again!


Rewrite Alert component from stratch to work with both GTK4 and Adwaita

This PR needs to be merged after #648, as it builds on top of changes from that one.
Summary
Resolves #645. I did some tests to make sure everything looks correct:
GTK4:

Adwaita:

When writing the original Adwaita-based version that would've resulted in two separate Alert components, I had added some extra features (such as adding in an extra widget). I haven't added such functionality here yet to keep the changes minimal, but if it feels appropriate to do so I'm fine adding that in (or in a separate PR, either is fine by me).
Checklist

[x] cargo fmt
[x] cargo clippy
[x] cargo test
[x] updated CHANGES.md

Also of note - GTK4's MessageDialog doesn't have the text center-aligned:

However, I made it to where the text is center aligned (which is how Adwaita does it):

I'm not sure if this is desired, but it was at least by me where the left-aligned text felt off with everything else being center-aligned.


Fixed Tamed FF towards Player

Added check if the attacker is tamed and the target is player.

Nice find! I never thought about testing tamed creatures.


JS Binary Shim

Write JavaScript shim to detect the current runner's OS & architecture and download the correct binary from the GitHub Releases

Unnecessary now that the GitHub Action is built using Go runtime rather than executing a binary.


Note about LDC

That it is required.
ldmd2 should be used with DUB, not ldc2

Yes, thank you. I was gonna make a whole FAQ page on the site to refer to such matters. That may take some time, so until that I should probably add it to the README.


Routes with uppercase letters

Hi,
I don't really know if it is an issue or a real implementation choice...
In my application, I've go an "EventType" class model... and an "EventTypeController" controller.
Due to regexp in Module::createControllerByID ('%^[a-z][a-z0-9\\-_]*$%') my route r=eventType is not valid because route has to be in lowercase.
Thanks for your help.

r=event-type


Dashboard Menu and card Names are mismatching

Other Diksha Metrcis Datasource name has to be change according to terminology
Actual Button Name - Other Diksha Metrcis
Expected Button Name - Other Digital Learning Metrics

The dasboard name and tab names are same it has to change according to given terminologies
Actaul result: Composite Report
Expected result: Composite Dashboard

Retested not fixed

working as expected


How to ensure page fault?

The buffer and its heap is released soon after creation, so the descriptor points to an incorrect address, which triggers the page fault.

Couldn't some subsequent allocation get or overlap that address?
Have you tried passing a root uav and just using some unlikely address (e.g., -1)?

Unfortunately you are right, there is no guarantee that the address won't be reused by some other resource and valid, so the crash will not happen.
I tried accessing the resource with various offsets, even gigabytes above its beginning, and it was even worse - it didn't crash at all. Accessing resources out of bounds is not an error in D3D12, maybe that is why. (Tested on RTX 3080, driver 537.13)
So, this solution is hacky and unreliable, as I said in README, but I don't know anything better. If you do, please provide a description or a pull request.

Yeah, fair enough.
I did a quick test and the gpu addresses seem to be recycled pretty quickly (not sure if this is implementation specific, but tested on an intel arc fwiw):
    ID3D12Resource* upload = nullptr;
    ID3D12Resource* readback = nullptr;
    ID3D12Resource* uav1 = nullptr;
    {
        D3D12_HEAP_PROPERTIES props{ D3D12_HEAP_TYPE_UPLOAD };

        D3D12_RESOURCE_DESC desc{};
        desc.Dimension        = D3D12_RESOURCE_DIMENSION_BUFFER;
        desc.Width            = 4096;
        desc.Height           = 1;
        desc.DepthOrArraySize = 1;
        desc.MipLevels        = 1;
        desc.SampleDesc.Count = 1;
        desc.Layout           = D3D12_TEXTURE_LAYOUT_ROW_MAJOR;

        CHECK_HR(device->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, D3D12_RESOURCE_STATE_COMMON, nullptr, IID_PPV_ARGS(&upload)));

        props.Type = D3D12_HEAP_TYPE_DEFAULT;
        desc.Flags = D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS;

        ID3D12Resource* uav0 = nullptr;
        CHECK_HR(device->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, D3D12_RESOURCE_STATE_COPY_DEST, nullptr, IID_PPV_ARGS(&uav0)));
        CHECK_HR(device->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, D3D12_RESOURCE_STATE_COPY_DEST, nullptr, IID_PPV_ARGS(&uav1)));

        printf("upload:   0x%llx\n", upload->GetGPUVirtualAddress());
        printf("uav0:     0x%llx\n", uav0->GetGPUVirtualAddress());
        printf("uav1:     0x%llx\n", uav1->GetGPUVirtualAddress());

        if (uav0->Release() != 0) {
            printf("error: uav0 refcount unexpected.\n");
            return 1;
        }

        props.Type = D3D12_HEAP_TYPE_READBACK;
        desc.Flags = D3D12_RESOURCE_FLAG_NONE;
        CHECK_HR(device->CreateCommittedResource(&props, D3D12_HEAP_FLAG_NONE, &desc, D3D12_RESOURCE_STATE_COMMON, nullptr, IID_PPV_ARGS(&readback)));

        printf("readback: 0x%llx\n", readback->GetGPUVirtualAddress());
    }

upload:   0xffffb80200000000
uav0:     0xffffb80200010000
uav1:     0xffffb80200020000
readback: 0xffffb80200010000

Anyway, my idea was to use a root uav parameter instead of a descriptor table, to give more flexibility in passing bad addresses e.g.:
        cmdList->SetComputeRootSignature(rootSignature);
        cmdList->SetComputeRootUnorderedAccessView(0, (D3D12_GPU_VIRTUAL_ADDRESS) 0xfffffffffffffff0ull);
        cmdList->Dispatch(1, 1, 1);

But so far everything I pass seems to be happily ignored, no seg faults.

Unlike descriptors, an address passed like this is known to the CPU, so it can be validated and reported as incorrect by D3D Debug Layer, possibly also rejected by D3D12 runtime. This may be the reason it doesn't crash.


Add support for odd-sized (3, 5, 6, 7 bytes) integer types for attributes

Fixes https://github.com/project-chip/connectedhomeip/issues/8202
Problem
No read/write support for int24/40/48/56 types.
Change overview
Add Accessors and to/from TLV support.
Testing
Manual testing using int24u values.  This could really use YAML tests.

fast track: domain owner change, has unit tests for new code.


Claim copyrights on MacAppStore to re-branded iHex fork

Sorry to raise that, but it is really a pity to see iHex app on MacAppStore which is obvious shameless fork of HexFiend that doesn't keep the attribution and copyrights in its binaries as required by the 2-clause BSD license, eg: © hewbo.com on the page and inside the app itself, see below.
So it would be cool if the original author could contact Apple at https://www.apple.com/legal/internet-services/itunes/appstorenotices/#/contacts and ask them to tear down this app from Mac App Store.

+1 ... it's sadly still available on the Mac Appstore

I actually use this app from time to time, and from what I can tell they load iHex as an external framework, and the interface is similar, but they do provide more options.
Wether that nullifies the copyright claim or not, I have no clue.

The app in the AppStore is just the latest code built and with rebranding. As far as I can tell, the only different features between the "official" download of HexFiend and iHex are already checked into the code here. Byte coloring and the additional data inspector types work if you clone this repo and build the app yourself.
This is a violation of the 2 clause BSD license as there is no credit given to the original.
https://github.com/ridiculousfish/HexFiend/blob/master/License.txt
"Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution."

@ridiculousfish I tried contacting Apple on your behalf, but that's not how it works.
You can file an IP claim against the developer of iHex, Li Jianyu aka hewbo.com here: http://www.apple.com/legal/internet-services/itunes/appstorenotices/#/contacts?lang=en

Closing, nothing can be done here by anyone except for @ridiculousfish - anyone else wishing to contact him may use the email listed at http://ridiculousfish.com/hexfiend/


add support for writing to ISO records

Lets merge and do this in the next update round, where we will also add self ref to the STAC Items with absolute urls.


Unable to log in without a social media account

There doesn't seem to be a skip option for social media accounts. I am unable to use this client as this seems to be required. Social media accounts should not be required as not everyone wants to eliminate their privacy.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Please join us at https://v2.soundbounce.org - browser based version that does not require social media account!


Allow to supply custom matcher to any class with TypeParameterMatcher

Motivation:
When you implementing subclass of MessageToByteEncoder<I> it's usefull to define your own matcher. Because when your subclass allow generic 'union' like <OutputMessage extends BaseMessage & Encodable> where BaseMessage are an astract class representing message without encoding or decoding and Encodable are an interface require implementation of some method like 'encode', isn't possible to allow that without create an abstract class to have single abstract class or interface to supply to MessageToByteEncoder.
Purpose of this commit and PR it's allow that.
Modifications:
Addition of constructors allow to provide custom TypeParameterMatcher inside :

ByteToMessageCodec
MessageToByteEncoder
MessageToMessageCodec
MessageToMessageDecoder
MessageToMessageEncoder
AbstractAddressResolver
SimpleChannelInboundHandler
SimpleUserEventChannelHandler

Result:
Now you can provide custom TypeParameterMatcher to allow union type

There are part of the internal package so I am not sure we should do this

These handlers also have acceptInbound/OutboundMessage methods that you can override, in case that's easier.
I agree with Norman that this is not an API we should expose.
What might be more interesting, is if our matcher could directly support union types. I haven't investigated what that would entail, but that's perhaps a more interesting PR to see.

Closing.


Change some sidecar memory settings

in particular those maven localhost connection refused errors

/test jvm-build-service-in-repo-apicurio-e2e

This will also need an infra deployments update, otherwise the sidecar there might have memory issues so
/hold

/test jvm-build-service-in-repo-apicurio-e2e

This will also need an infra deployments update, otherwise the sidecar there might have memory issues so
/hold

I will see if I can find cycles for ^^ today

I would not update infra deployments until we know for sure what is going on. Something very weird is happening, and most of the actual exceptions that are displayed are after the build has finished (when the sidecar is shutting down).

Let's just close this, and work on removing the sidecar altogether.


How to upgrade openvpn

apt-get update && apt-get upgrade

I installed yesterday openvpn server on ubuntu 22.04 with this script and the openvpn server version installed was 2.5.5. The latest version is 2.6.6. So I ran sudo apt-get update && sudo apt-get upgrade but the version is still 2.5.5.
Am I missing here something?

It is using the Ubuntu repos. This is normal.
https://packages.ubuntu.com/jammy/openvpn
Do you have any good reason to run v2 6.6 or just want the higher number?

I am assuming that a newer version means a lot of bug fixes, improved performance, security fixes and enhanced features.
Am I wrong?

The linked package is not available for Ubuntu 22.04.
New versions of course mean new features, but Linux distributions usually lag behind in their repositories and this is normal/expected. My installer currently does not make use of any feature newer than OpenVPN 2.4.0, so I see no reason to install a newer package from a different source than the distro repos.
If you insist, you can probably set up the OpenVPN repos for Ubuntu:
https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos#DebianUbuntu:UsingOpenVPNaptrepositories
But I see no reason for the average user of my installer to do that.


Faster MultiZarrToZarr performance

Implements @martindurant's fix from #145

I'm pretty sure it can be better than this - because each of the "filesystems" in the loop is probably running on the same implementation (s3, http...) - but it will do for now!

Looks like the doctest run environment has gone stale


Fix doc typos (issue 3455)

Category

[x] Content fix
[ ] New article
Related issues:

fixes #3455

What's in this Pull Request?

title typo
few typos in doc

thx @andrewconnell, appreciated.


[type:fixbug] fix warning error in console about fontWeight

fix warning error in console about fontWeight

good


[Bug]: cannot use RelationManagerConfiguration

What happened?
Cannot use RelationManagerConfiguration
\Njxqlus\Filament\Components\Forms\RelationManager::make()->manager(XYZRelationManager::make([]))->lazy(false);

How to reproduce the bug
Please add RelationManagerConfiguration
<?php

namespace Njxqlus\Filament\Components\Forms;

use Closure;
use Filament\Forms\Components\Component;
use Filament\Resources\RelationManagers\RelationManagerConfiguration;

class RelationManager extends Component
{
    protected string $view = 'filament-relation-manager-component::forms.relation-manager';

    protected string | Closure | RelationManagerConfiguration $relationManager;

    protected bool | Closure $isLazy = false;

    public static function make(): static
    {
        return app(static::class);
    }

    public function manager(string | Closure | RelationManagerConfiguration $relationManager): static
    {
        $this->relationManager = $relationManager;

        return $this;
    }

    public function getRelationManager(): string | RelationManagerConfiguration
    {
        return $this->evaluate($this->relationManager);
    }

    public function lazy(bool | Closure $condition = true): static
    {
        $this->isLazy = $condition;

        return $this;
    }

    public function isLazy(): bool
    {
        return (bool) $this->evaluate($this->isLazy);
    }
}

inside both view use getProperties() instead protected properties
<div>
    @livewire($normalizedManagerClass, [...$managerLivewireProperties, ...$manager instanceof \Filament\Resources\RelationManagers\RelationManagerConfiguration ? $manager->getProperties() : []], key($normalizedManagerClass))
</div>

Package Version
1.0.2
PHP Version
8.3
Laravel Version
11
Filament Version
3.2.92
Notes
No response

Not really sure what is going on here and what do you want to achieve, but you are using package wrong. You should pass a class to ->manager() method, not XYZRelationManager::make([])

Are you sure?
I see your code, you put RelationManagerConfiguration in view
 $normalizeRelationManagerClass = function (string | Filament\Resources\RelationManagers\RelationManagerConfiguration $manager): string {
        if ($manager instanceof \Filament\Resources\RelationManagers\RelationManagerConfiguration) {
            return $manager->relationManager;
        }

        return $manager;
    };

However in this way you can pass property to RelationManager

Yes. This part is inherit from filament source code.
Method manager() accept string or Closure which must return string that must be equal relation manager class.
https://github.com/njxqlus/filament-relation-manager-component/blob/main/src/Forms/RelationManager.php#L21
public function manager(string | Closure $relationManager): static
    {
        $this->relationManager = $relationManager;

        return $this;
    }


fix: [Postgre] updateBatch() breaks char type data

Description
Follow-up #8439
From https://forum.codeigniter.com/showthread.php?tid=89336
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

You could change to CHARACTER | CHAR TO VARCHAR in the cast() method. This should cover the other DBMS too.

@sclubricants Thank you for the review!
If character (or char) lacks a specifier, it is equivalent to character(1).
So on PostgreSQL, character(n) seems to be correct type.
And it does not seem to be pure to change CHAR to VARCHAR, too.
Anyway, the method is only for Postgre, and it will override even if the parent class has the method.
So I think there is no problem. Go with this for now.

CHAR = CHARACTER
VARCHAR = CHARACTER VARYING
VARCHAR = CHAR of unspecified length
Anyways, looks good

SELECT CAST('STRING' AS VARCHAR) AS TEST;

This runs on postgre but not on mysql


How do I restore backup via AppData?

I copied the AppData folder on w10, performed a factory reset and then updated to w11
Now I moved the AppData folder to it's place but it's not recognised anymore by w11 (my guess)
So how should I do it?
I have lots of data I don't want to be lost

As documented here user data should be located in appdata, make sure your installation points to the correct directory