Form listviewitem null reference

I have no clue why this is happening, but i installed 50 clients on a VM, and tried updating them all at once.  The first time my server crashed and stopped responding.  I tried debugging it but it wasn't throwing any exceptions when debugging.  The only lead I have is from trying to disconnect an item that is still in the listview and it is claiming "object reference not set to an instance of an object."
any ideas?

Hm, tested it on Windows 7 and working fine. What settings did you use for the 50 clients? And what for the update?

Normal settings, no installation, different mutex for each, keylogger disabled.
Selected all 50, update from file, server stopped responding after it got down to ~25
The second time, it went down to ~15 clients.  This time, the clients were still in the listview and the server did not crash, however when trying to execute a command on the client I would get a null reference exception dialog claiming the object had already been disposed

Just got an exception in debugger

What's null, the ListViewitem, the Tag or client??

@MaxXor, ListViewItem

Would placing a lock be appropriate in a case like this?  I think it's caused by clients disconnecting asynchronously while the delegate method has a reference to a listviewitem that is no longer created

Can you check if it's working with a lock? Could be the reason.

Sure, will try now

I'm sorry, I've no idea where to place the lock or what object to lock.

I'm assuming lstClients would be the object to lock!

place the lock (lstClients) right before the foreach-loop.

Hmmm nope, still happening :(
Placed a lock on lstClients around the loop and still getting null reference

I can't reproduce this still, do you use Upload Update or Update via Download from website?

Update from file, I'm looking there now in the code and wondering if the threading has something to do with it.

The thread is just there so the upload process doesn't freeze the form, this shouldn't be the problem..
I can't reproduce this with 40 test clients. :(

Hmmmm, well it doesn't happen every time, it's happened 3 times out of 6 tests.  It is really weird that the listviewitem is nulled... I will keep trying to see what might be happening

One thing that I've noticed, is after highlighting the all of the ListViewItems and updating, some of the listview items de-select (aren't highlighted) when the clients start to update and disconnect

@d3agle that's no problem as the selected clients will be copied into a list. :)
https://github.com/MaxXor/xRAT/blob/master/Server/Forms/FrmMain.cs#L358

I noticed that :) I'm stepping through to see what might be happening lower into it the code

What about using LINQ to select the client from the list view with the specified tag?

 The lock is violated whenever lstClients changes. Consider creating a const or readonly object for locking. Ensure the object used to lock will not change.

I am actually going to re-do this quite a bit (similar to the RemoteShell changes I just made). Though invoking on the form works, we really need to separate the logic that should be kept in the form (GUI-modifying) with the things that really should be kept separated entirely.

I will try that.  Just wanted to point this out, not sure if its placebo or perhaps the cause, but I get the null reference exception when I use my middle mouse wheel to scroll through the list while the clients are disconnecting/updating.  Scrolling through the list (with mouse wheel) while the clients are selected I notice that one of them/some of them de-select.  When I update them all, and quickly un-select them all, I don't get any reference thrown.  If I leave them all selected and don't scroll through the list, I get no exception.

To also answer your question above, yes, this is a threading issue. :)

After removing this line: https://github.com/MaxXor/xRAT/blob/master/Server/Forms/FrmMain.cs#L193
I no longer have this issue.  Is this event used for anything in particular?

Would you mind checking the issue after the latest commit?

It it still happening.  I do believe this is a threading issue, due to the inconsistency of being able to reproduce this bug.  It happens quite a bit when I highlight 50 clients -> update from file -> de-select them all, and then select some of them as they are disconnecting.

Another strange thing I've noticed that is probably related to this is when I disconnected 100 clients at once, this was the result.  Notice the text is drawn differently in one listviewitem

Working on a fix for this.

Unfortunately, the problem persists :( The behavior is worse after the update.

@d3agle Why?

This is what it is like closing the server: http://i.gyazo.com/63622aefcab03cfeb09e9b43e451097d.mp4
http://gyazo.com/abfa94f451e178aa046d5c42ee1a31e6.mp4
"Cross-thread operation not valid: Control 'lstClients' accessed from a thread other than the thread it was created on."
The problem I was referring to is the behavior when updating/disconnecting clients.  sometimes the listviewitem will stay in the listview even though the client is disconnected

The closing server behaviour was the same before, lol. Well, yea I'm still working on a final fix for this disconnection bug.

Oh ok, I hadn't really tested closing the server prior to this update.  I'm stumped on why this is happening, but I hope you can fix it!  It's so annoying lol

Yes, sure. The server just tries to make a clean disconnect from the client. x)

@d3agle Please try it out now. As I have said before, locking on _clients is actually useless in a spot that messes with the object.

Example:
1. Acquire a lock on _clients.
2. Disconnecting user, so remove entry 0 from _clients.
3. Another thread tries to enter. The previous entering thread acquired a lock on _clients, but _clients has been changed, so it may enter (when it shouldn't be able to).

With that example, that is why I lock on objects that I know don't change, and why it is important to prevent changes to them.

I tried your branch and I think we are closer to the culprit.
I installed 100 clients, and tried reconnecting them all at once.  5 of them stayed in the listview and I was given an exception here: System.NullReferenceException: Object reference not set to an instance of an object at 'xServer.Core.Misc.ListViewColumnSorter.Compare(Object x, Object y) at line 51.

I forgot to implement a lock for GetSelectedClients. Couldn't sort correctly because of multiple access to lstClients. x)
Try again. :)
If needed, add to my pull request.

Got deadlock somewhere :O

Strangely enough, this happens when 6 clients are selected.  When 5 clients are selected, it will leave one unhighlighted.  Anything <= 4 will function fine :|

@d3agle Please try it again and see if this is better.

@yankejustin, My previous comments were towards the most recent commit, https://github.com/yankejustin/xRAT/commit/cdfe93f69a6fa89da522a40717040c44117d0d60
Prior to locking in the GetSelectedClients method it worked fine (didn't get deadlock after sending commands to less than 4 clients, 5 had weird behavior, 6 or more would cause a deadlock)

@d3agle Right, I forgot to clarify that I just changed it 16 minutes ago. Try withthe newest change and see if it still deadlocks.

If it still does not work then I think I have a strong idea what will. :)

I don't see any changes from the last commit :X

@d3agle Sorry, forgot to press sync! x)

:D no problem, testing now

Mind if I ask your exact methods of testing?

Well, since I was too lazy to generate random mutex in the code for the builder, I spend about 5 minutes creating 100 clients name 1.exe - 100.exe.  Put them in a folder -> Copied to VM -> executed them all.  Then I test them without debugger first, to see what runtime errors might occur trying various different things (Mainly habitual things).  Then if any errors occur, I test the same situations with debugger to see what line of code is breaking.

Mainly looking for behavior consistency/inconsistency

Ew... I see a cross-thread exception in GetSelectedClients() that is in the MaxXor/master branch. I am going to fix that very quick.

Ok, the deadlock is still occuring, however it doesn't happen as often.  It appears to happen when about ~60 clients have disconnected

What are you doing before it locks?

I'm selecting all the clients, and sending reconnect/disconnect commands.  It's locking at random times

I don't touch anything after I send the commands

I have a fix ready, please don't work on this now. :)

Sounds good :+1:

Oh, okay...

That is funny because I just fixed the eventhandlers and I believe the rest, @d3agle xD

I made a lot more changes.

Looks delicious. Nice work. :)

Thanks, I this should also fix other cross-threading problems which may occur too.

I cannot break it.  Good stuff.
http://i.gyazo.com/e1e73e57e3a30b78d5f82d5287832d1b.mp4

Gorgeous. :)
I do eventually want to use a bit of SuspendLayout() and ResumeLayout() so it doesn't flicker so much like that.

@yankejustin, take a look at this as well http://www.virtualdub.org/blog/pivot/entry.php?id=273
Perhaps this could be useful :D

LOL... "ListViewWithLessSuck"
That made my day. :)

Eventually I do want to give some of the controls some love where it is needed, but that could be a bit of a pain.

That's true :( but it would definitely be an appealing touch.  I haven't looked into theming extensively, but it might be a fun little side-project.  It would be really cool if we had features to have different themes/color schemes.  But the flickering is pretty annoying, just looks unclean lol.

Yes, I agree. It is something I feel is important for the next version. I want to make it look much better, but that will certainly take some effort.

Just add your new Listview code to this file: https://github.com/MaxXor/xRAT/blob/master/Server/Controls/ListViewEx.cs
And see if the flickering is gone. :D

:+1:  :hankey:  :+1:

Is this what you guys mean by flicker?  I'm still noticing some weird behavior
http://i.gyazo.com/6fed8b019d8d2f20c9e639206a67aff6.mp4

This is the GUI (listview in this case) which updates when each client gets removed from the list, not the real flickering like it was before.


fix: add min count to autoscaler

Changes

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

#827
#826  👈
#825
#824
#820
#819
#818
#817
#815
#813
#812
#811
#810
#807
#806
#804
#803
#802
#801
#805
main

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

Join @MasterPtato and the rest of your teammates on  Graphite


[Antrea 2.0] Drop support for Docker for Antrea on Windows

Describe what you are trying to solve
The K8s documentation lists 2 supported container runtimes on Windows:

Containerd
Mirantis Container Runtime (MCR) - a commercial product

Antrea on Windows supports containerd, and we do not claim any support for MCR.
We also have a dedicated installation method for Docker (implying Docker CE / Moby, but should work for Docker Desktop as well), leveraging rancher/wins to manage Antrea as a Pod, but should we keep it?
Describe the solution you have in mind
I would like to propose dropping support for Docker on Windows in Antrea v2.0, for the following reasons:

the industry seems to have overwhelmingly adopted containerd as the container runtime on both Linux & Windows (I imagine that some enterprises that require commercial support may be using MCR)
rancher/wins doesn't seem to be an active project any more; all commits in the last year or so relate to dependency updates
the rancher/wins method of managing system components as Pods has been rendered largely obsolete by hostProcess Pods support on Windows. The fact that Docker (AFAIK) does not support hostProcess Pods may be why it is no listed as a supported container runtime in the K8s documentation. Maybe @jayunit100 has some perspective here.

In addition, we have these Antrea-specific reasons:

we no longer run CI jobs on Windows using Docker as the container runtime, according to @XinShuYang
we have 3 / 4 supported installation methods for the Antrea Agent on Windows, which can be confusing for users, and dropping one if it's no longer actively used would be beneficial

Describe how your solution impacts user flows
Antrea would no longer officially support Docker on Windows. We would remove instructions specific to Docker from the documentation.
Additional context
The Microsoft documentation lists the following container runtimes as supported on Windows:

Docker CE / Moby
Mirantis Container Runtime (MCR)
Containerd

The script for installing Docker CE still seems to be maintained: https://github.com/microsoft/Windows-Containers/tree/Main/helpful_tools
Docker Desktop is listed as the container runtime for Windows desktop, but:

Docker Desktop is not free, except for individual and small businesses
One would expect Windows servers to be used when building K8s clusters

Anthos clusters on VMware uses Antrea as the CNI for Windows Nodes (dataplane v2). The documentation states:

Containerd and Windows Dataplane V2 are now general availability as of version 1.11.

Docker and Flannel for Windows nodes will be deprecated in a subsequent release. We recommend that you update your configuration now, if applicable, to use containerd and Windows Dataplane V2 instead. See Update Windows Server configuration.

We are currently at version 1.16 of Anthos.

Even with the removal of dockershim in K8s v1.24, Docker can still be used as the container runtime thanks to https://github.com/Mirantis/cri-dockerd.

Yeah this is the right path forward.  Host Process containers are better in all ways. Hope we can get ovs to install in a windows pod someday also! Or at least to bootstrap windows components however is needed.
But yeah. I think you'll not find much docker windows antrea need in the windows k8s community.

Now that https://github.com/antrea-io/antrea/pull/6019 has been merged, we just need to update the documentation, which I will take care of.


Resolve UTF-8, UTF-16, ASCII inconsistencies

PS> ls > test
BASH> ls >> test
BASH> cat test  # Content looks correct
PS> cat test # Content is wrong at the end

The issue is related to binary pipelines.
After you call a native utility (e.g., ls) in PowerShell, the output is converted to a string -- it's no longer a byte stream. You cannot expect anything good now.
The best you can do is to use PowerShell utilities since they don't produce byte streams, but objects. And the expected binary pipeline will solve these problems.
Q: Why guessing the encoding is a bad idea?
A: Guessing encoding can be wrong. And it can be NOT EVEN WRONG. Imagine a utility that produces binary stream that cannot be interpreted as a string, e.g., it contains what will be interpreted as 0, or it is a bitmap.
See #1908 and #1975.

to handle simple redirection, the following would be possible:
$PSDefaultParameterValues['out-file:encoding'] = "ascii"

then the following works just fine (on linux)
gci > test
bash -c 'ls >> test'
bash -c "cat test"
gci test

having different settings on Linux and Windows would solve the problem, since most linux apps are just going to output ascii. I don't believe there's any hope for combinations of apps which emit unicode ascii when attempting to do redirection
85 gc test

I think we probably need an RFC of some kind for this behavior that answer some of my open questions (although I think they're worth discussion today because the answer to a few of them may determine the level of abstraction at which that RFC should be written):

Given the scarcity of BOM usage w/ UTF-8 text files on Linux, should we have different behavior for *-Content cmdlets?
Related: are there any scenarios where reading an ASCII file as a UTF-8 file without a BOM is incorrect?
What are some cross-platform scenarios/demos that demonstrate success in this space?
Can we break existing Windows behavior here?
Do we need some sort of $EncodingPreference (or something like that)?
Do redirection operators need to do something special here based on said $EncodingPreference
Should we pull in Invoke-WebRequest/Invoke-RestMethod as part of this work?
Do we have an uber-level of platform-specific design behavior that we need to abstract behind some global setting (potentially w/ different platform-specific defaults)?

Other:

$OutputEncoding is only used for pipes of native commands currently. It also requires that you do $outputencoding = [System.Text.Encoding]::UTF8 in order to change it. That's not an awesome UX.
On Windows, Set-Content uses ASCII by default, Out-File uses UTF-16 by default.

Open still:

Do we use a cmdlet or a preference variable?

Closed on:

Okay to have different default behaviors on different systems.
Right default behavior on Linux is UTF-8 with no BOM.
Okay to change the all encoding behavior on a single machine (like $OutputEncoding)
No change to current default Windows behavior.
Need some way to change back to the "WindowsDefault" Encoding value that mixes default behavior for Set-Content and Out-File.

Came here looking for issue related to this because > producing UTF-16 by default is maddening.

Do we need some sort of $EncodingPreference (or something like that)?

Please!

Can we break existing Windows behavior here?

Less necessary if there's a preference, IMO, though I have never seen a developer respond positively to a file being encoded with UTF-16. If PowerShell 6+ can lead the charge on moving Windows toward UTF-8-without-BOM everywhere that would be amazing.

Do redirection operators need to do something special here based on said $EncodingPreference

This seems to me to be the primary purpose of $EncodingPreference in the first place: changing the encoding used by >. Changing the default encoding for Out-File, Set-Content, etc. is a bonus, but at least those support a parameter (unlike >).
Not sure if >> already delegates to Add-Content, but it should behave the same: preserve encoding for an existing file, otherwise create a file with the specified (or default) encoding.

We have an RFC open for this work (please add your comments in the issue dicussion @dahlbyk) but it will likely not land in beta1.

My humble opinion shares some other opinions above. Default for Out-File should be UTF8 without BOM in every system.

For 6.0.0 release we'll be doing a reduced scope version of this https://github.com/PowerShell/PowerShell/issues/4878

@JamesWTruher could you clarify here what wasn't achieved by the implementation that we're shipping in 6.0?


Update storage-account-overview.md with workload config table

Update storage-account-overview.md with a workload config table for consumption prior to the full public release of workload presets. Mentions of the portal were removed from this version but will be added again when the feature is available to the general public. Table updated with superscripts and details for superscripts

@akashdubey-ms
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Add support for installing using Nix (zero maintenance)

This is an improved version of #73 (and resolves #70) wherein the need to change the version and hash every time the Cargo files change is avoided. Now you can just forget about the .nix files (unless a new C dependency is being introduced).

@soywod This PR fails for 0.2.4; I believe that's because Cargo.lock wasn't updated along with the commit that changed Cargo.toml.
Error message,
++ crate2nix generate -f ./Cargo.toml -o Cargo-generated.nix -h /nix/store/i11yfpm336cwlzl3idsxiq6dm067v3cs-himalaya-crate2nix/crate-hashes.json
Error: while retrieving metadata about ./Cargo.toml: Error during execution of `cargo metadata`: error: the lock file /build/vv6c95617dy8c6hxl0qvh32crl7jqpyj-source/Cargo.lock needs to be updated but --locked was passed to prevent this

Ah yes indeed, I bumped the version without launching back cargo build, I will update tomorrow

@soywod Since I don't know enough about Nix, I plan to dive in this weekend to understand at least the concept. This way I will understand better what you did and I will be able to merge your work.

By the way, Nix is also useful for non-development purposes, such as wrapping himalaya in conjunction with other tools (pandoc, bat, fzf, etc.) to provide extra workflows, like this one for reading email in CLI:
https://github.com/srid/nixos-config/commit/6362b4d9b4c63dab8e156e918969e1da9aedbb3d

@balsoft General nix flakes question: is there a way to configure the himalaya flake.nix so that it can be made to accept home-manager style config params? That is, to specify the values in ~/.config/himalaya/config.toml (but without having to create this file manually)?

Well, you can export a NixOS module that uses home-manager, or a home-manager module (though that's not as standardized).

I've created a template repo based on this work: https://github.com/srid/rust-nix-template

@balsoft Do you know what the idiomatic way is to add dev-shell Rust dependencies in Nix?
For eg., to make cargo watch available in nix-shell: https://github.com/passcod/cargo-watch
Or certain crate tools available in nix-shell, eg: trunk from https://yew.rs/docs/en/next/getting-started/project-setup/using-trunk

@balsoft Do you know of an idiomatic way to override a crate to point to a git fork?
I noticed that Cargo.toml supports this, but we can't use it because the fetch will fail during nix build (due to blocked network access):
# Cargo.toml
postgrest = { git = "https://github.com/srid/postgrest-rs", branch = "notokio" }

I also tried adding something like this to defaultCrateOverrides, but that doesn't work for some reason (build is still using the crate registry's package stored in nix store),
                postgrest = oldAttrs: with pkgs; {
                  src = inputs.postgrest-rs;
                };

Ah. Looks like you have to specifying the source in both places (Cargo.toml and flake input+override); then it works ... mysteriously.

the fetch will fail during nix build (due to blocked network access):

I thought I fixed this here: https://github.com/kolloch/crate2nix/pull/154 (but only on Nix 2.4)

@soywod I believe this PR is ready to be merged anytime.
(I keep merging it with master only because I use this branch directly in my nixos configuration).

Thanks a lot for your giant contribution! Feel free to write an entry in the wiki about Nix (if you judge it necessary, ofc).

In fact, maybe it makes sense to move the Nix section from the README to the wiki, in the Installation section?


Login Failed

When i try to add this integration i have to fill in the ip-address of the converter. I know for sure the ip is the right one.
i type <IP_ADDRESS> and wait for about 30 seconds and then failed to connect.
What iam doing wrong.
What is the goal for me. To see all the information from the inverter like temperature, voltage and many more in my home assistant application.

I got the same with a GW3000-NS

GW3000-NS inverters are known to contain older ARM firmware version, so it is likely that is the reason you cannot connect to it.
See note in https://www.home-assistant.io/integrations/goodwe/
Safest way to check if the inverter is supported is to try the official mobile app (PvMaster or SolarGo). If that work, this integration should as well. If not, then you need firmware upgrade.

Thanks for your kind reply.
I had a call with Godwe support, unfortunately this inverter could not be updated.
They told me the ARM  processor of this conveter is not capable of handling PvMaster oid.
So I'll return the convetre and buy a newer one.


Explore usage of fabric8-arquillian for integration testing

Utilize the fabric8-arquillian to facilitate integration testing

Configure project to support Arquillian
Migrate existing IT tests to Arquillian framework

Ongoing discussion w/ @sabre1041 to determine the project needs vs. what fabric8-arquillian provides.  TBD :)

Also sent message to continuous-dev detailing the steps we might take.  fabric8-arquillian isn't a requirement but a possible implementation choice IMO.

@ALRubinger I updated the title to clarify this issue as a discovery task

Moving towards arquillian-cube when we have testing strategy available; out of date


Error Message

Hi
I'm getting this error message:
*C:\MSFS2020-Google-Map>.\Python39\python.exe src\app.py
Restoring hosts
Restoring hosts
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\MSFS2020-Google-Map\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(args)
File "C:\MSFS2020-Google-Map\src\app.py", line 241, in run
self.stop()
File "C:\MSFS2020-Google-Map\src\app.py", line 313, in stop
restore_hosts()
File "C:\MSFS2020-Google-Map\src\runner.py", line 35, in restore_hosts
with open(host_path, "r+") as f:
PermissionError: [Errno 13] Permission denied: 'C:\Windows\System32\drivers\etc\hosts'
Is there any way to resolve this ?

Please refer to: https://github.com/derekhe/msfs2020-google-map/wiki/FAQ


[master] Automated Bump DC/OS UI v2.140.0

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)
DCOS-57482 DCOS-57423 DCOS-48222 DCOS-50935 DCOS-53347 DCOS-57467 DCOS-20150 DCOS-57466
Related tickets (optional)

DCOS-57482 DCOS-57423 DCOS-48222 DCOS-50935 DCOS-53347 DCOS-57467 DCOS-20150 DCOS-57466
Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Please update CHANGES.md file (Add or update DC/OS UI line in Notable Changes section of newest version).
* Updated DC/OS UI to [master+v2.140.0](https://github.com/dcos/dcos-ui/releases/tag/master+v2.140.0).

You can edit CHANGES.md directly here: https://github.com/mesosphere/dcos/edit/dcos-ui/bump/2019-08-13-05-09-08/master+v2.140.0/CHANGES.md?pr=%2Fdcos%2Fdcos%2Fpull%2F6061

@mesosphere-mergebot label [Ready for Review]


Hex Colors error with TS2590: Expression produces a union type that is too complex to represent

🔎 Search Terms
ts(2590), Expression produces a union type that is too complex to represent., HexTypes
🕗 Version & Regression Information
This is an error that typescript throws when I try to build it, as well as the LSP complains. It raises the error ts(2590), Expression produces a union type that is too complex to represent
⏯ Playground Link
https://www.typescriptlang.org/play/?#code/C4TwDgpgBAEhAeBhAFgQwE5QLxQEQAZcoAfPARiNNwCZK8BmO3AFiYFYmA2JgdiYA4mATiYBBJgCEmiJgBEmAUSYAxXAG4AUKEiwE9RAHsANgcw4ABgGIAJAG84SNOgC+dhygyv7CDy-ObtaAdOQxMzKCs3Hycvdxiox08E31jopO9EvwDwIIR+UNNsCJsMlOT40oq49OqXcpq0usrPfw0NBDBTYChA3SRjQpwHfQHMUmCCsb780bUgA
💻 Code
type HexChar = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "A" | "B" | "C" | "D" | "E" | "F";
type Hex3Color = `#${HexChar}${HexChar}${HexChar}`;
type Hex6Color = `#${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}`;
type Hex8Color = `#${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}`;

export type HexColor = Hex3Color | Hex6Color | Hex8Color;

🙁 Actual behavior
The type of HexColor should be well defined and accessible. As well as there shouldn't be any errors.
🙂 Expected behavior
The type of HexColor is any, and there are errors.
Additional information about the issue
It seems that also Deno is affected (I first discovered it using Deno). I tried switching to plain TS, still raises errors.

It seems that the maximum states that union can represent is 2^32, but Hex6Color and Hex8Color are more than that. The simple fix would be to change the max number of union states from a 32-bit integer to a 64-bit integer. I am just not quite sure where that error actually gets raised

Duplicate of #43388.

It seems that the maximum states that union can represent is 2^32

The limit is 25, and that's intentional.

It seems that the maximum states that union can represent is 2^32

The limit is 25, and that's intentional.

I searched for 25, and can't seem to find where this limitation actually is. Is it possible to submit a PR to increase that value ?

25 is from #30779 but that doesn't seem to be related to this. The limit here is on the order of 10^5, and if you are trying to write a union bigger than that then you're doing something TS doesn't want you to do. The limit is there for performance so I'm sure they're not going to increase it to some large number just because the number can be represented easily.

The limit is in place to stop your typechecking from taking six hours, not because we don't have access to 32 bits worth of integer 😉

I see, thank you. In my case the only thing I can really do then is to perform some analysis during compile time, and/or hope for #43335 to be accepted


NIFI-6524 MergeContent properties should accept expression language variables

Description of PR
The following MergeContent properties support expression language:

Minimum Number of Entries: Accepts from Variable Registry
Maximum Number of Entries: Accepts from Variable Registry
Minimum Group Size: Accepts from Variable Registry
Maximum Group Size: Accepts from Variable Registry
Max Bin Age: Accepts from Variable Registry
Maximum number of Bins: Accepts from Variable Registry

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

cc @mgaido91
cc @ijokarumawak
Could you please review this PR? Thanks


Button Group breaks inheritance if the scene is opened in the editor (without changing anything)

Tested versions
v4.2.1.stable.official [b09f793f5]
System information
Godot v4.2.1.stable - macOS 14.2.1 - GLES3 (Compatibility) - Apple M1 - Apple M1 (8 Threads)
Issue description
I assigned certain buttons to a button group. It works great until the moment I open the scene where the buttons are placed, after which a setting gets reset and inheritance gets broken.
Steps to reproduce
Open the attached project in Godot (don't click on any scenes!).
Start it (click the launch button in the upper right corner) and watch the console.
The printout will tell you which 3 buttons belong to a button group.
Close the project (press Esc) and back in the IDE, and open the "level 01" scene.
Don't change anything in the scene!
Launch the project again.
Now the console log will show that no buttons belong to the group despite nothing actually changing from the first time the project was launched.
I tried everything I can think of, resaving the button group, making it unique, removing the "menu" from the base scene and readding it, remaking the whole setup from scratch, experimenting by making the button group local or not… It just loses the buttons from the group no matter what.
Minimal reproduction project (MRP)
engage button group changes settings.zip

The way to make it work again is to reset the button group of the menu (in the Level 01" scene, click on the Menu and then in the inspector click on the circular arow next to the "bGroup" property on top). Which is very impractical.

I just arrived here because I was having a similar issue, trying to group instances of my custom Button scene (basically a button with animations). I tested your example and took note of the various cases.
There might be some repeated text, but it was a sanity check of sorts.

"Menu" scene with one Control (script prints ButtonGroup list on ready) and 3 Buttons, all 4 of them referencing the "bGroup" ButtonGroup resource. Running "Menu" in isolation always works fine, that is, Control prints a list with 3 buttons and only one of the buttons can be selected at a time.

Created a new scene "NewTest" with a Control node and an instance of "Menu". In "NewTest", the Menu instance appears to have a reference to a local instance of ButtonGroup (instead of "bGroup") and reset icon appears next to it. Ran "NewTest" and it worked fine.
Pressing the reset button on the Menu instance makes the reference "bGroup" appear back. Switched, in the scenes bar, to the "Menu" scene tab, and then back again to "NewTest" tab. The Menu instance shows again the local ButtonGroup instance with the reset icon. Running "NewTest" still works fine.

Created an inherited scene version of "Menu", "Menu_INH". The Control and the 3 buttons all reference the local instance with reset icon, instead of "bGroup". Running "Menu_INH" works fine.
Similar to case 2, reseting the 4 references back to "bGroup" and switching tabs to "Menu" and back to "Menu_INH" makes the references in "Menu_INH" appear as local instances with the reset icon. Running "Menu_INH" still works fine.

Now, I tried only resetting the reference in Control back to "bGroup". Running "Menu_INH", the Control prints an empty array, but only one button can stay selected, so the buttons still seem to be grouped. Switching tabs keeps the same result, even tho Control is back to having a local reference. Probably "bGroup" was replaced by a new instance, while the 3 buttons kept the one generated in case 3.

Reset all 4 references as in case 3. Now similar to case 4, I reset the reference in the Control, but also Button1. Running "Menu_INH", the Control prints an array containing only Button1. Button1 is no longer grouped with the other two buttons, as it can stay selected at the same time as either of them. The other two buttons are still grouped together. Switching tabs keeps the same result, so it seems Control and Button1 share the new instance.

Reset all 4 references as in case 3. Now I reset the reference in Control and Button1 separately. This is, reset Control and switch tabs, then reset Button1 and switch tabs. Running "Menu_INH", the printed array is empty, and Button1 isn't grouped with the other two buttons. Seems that as the resets were done separately, they have each a different instance.

In the original "Menu" scene, turn all 4 references to null. Then in "Menu_INH" set the references to "bGroup". Now, if I switch to the "Menu" tab and back to "Menu_INH", the references are still "bGroup", and runs totally fine.
In the "Menu" scene, I set the Control reference to "bGroup", switch back to "Menu_INH" and "bGroup" is still there, but this time running gives an empty array... I switch tabs again and now the Control has the local instance. If I reset the Control reference back to "bGroup", while the other buttons are still grouped also in "bGroup", running gives an empty array (?????).

Finally, going back to case 1. Now I created a separate scene containing only a button, "New_Button", added it to Menu, and set it's reference also to "bGroup". Running "Menu" outputs only the same 3 buttons, and New_Button is not grouped with them.

Seems like for any scene containing references to a ButtonGroup resource, when they are instantiated by any parent scene, the parent replaces the references by a new instance?
I don't know much about the core of the engine to have a clue about why this could be happening, but maybe this might help someone with experience.

What made this particular file work as expected is that I made sure the button group is not set to "local to scene" and saving the button group after that.
So in the file from the first post, this means opening the Button Group (double click on it in the File System), making sure it's not set to local and saving it. The setting should look like this after the adjustment:

I'm 100 % sure I tried this yesterday too (a few times!, along with a few other things) but it didn't produce the desired result (maybe I forgot to save?). In any case here is the version of the same scene that works:
engage button group changes settings.zip

Great! Thank you very much! Never noticed that property "Local to Scene". After reading its description, now the previous behavior makes sense.
The only thing I would like to understand is why this resource's default value is True, which might indicate that the planned use-cases for these resources were a bit different. Maybe I am structuring my menu in the wrong way, but to me, it seems normal to sometimes create a reusable button scene with some added effects and animations, since Themes are limited in this case.
Maybe it would be a good idea to add this as a note in the ButtonGroup docs? Something along the lines of "In case you need Nodes in different scenes to interact using the same ButtonGroup (e.g.: you are instancing your custom Button scene), make sure to set 'Local to Scene' to False, so each instance of that Button doesn't create a duplicate of this ButtonGroup".

I think (from messing around with the MRP) there is a bug with inherited scenes:

say a scene X has an exported bGroup: ButtonGroup with "local to scene" set to false
let a few buttons reference this group in the editor;
let another scene Y instantiate X as a child scene;
let scene Y' inherit from Y;
run Y, you can see that its group does contain the buttons, but now run Y', its group does not contain the buttons!

My guess for what is happening is:

If "local to scene" is set to false, then Y has its own copy of the button group and buttons (buttons are copied regardless of "local to scene"). But these buttons still refer to Y's button group.
Pressing the circular arrow button works temporarily because it temporarily changes the button group of Y' to that of Y

Oops my bad, I meant to say with "local to scene" set to true. Anyhow, someone looking to reproduce can try with the attached project:
ngp.zip


add flake support

CI

nix develop ./example/flake --command echo OK

Thanks for that, can you rebase it on the current master? Maybe that will fix the tests.

Setting the cachix of jupyterwtih to nixconf.extra in flakes.nix

@guaraqe Any question about flake?


mobile support?

would it be possible to detect if you're on mobile and then have some controls overplayed?

That should be pretty easy to do, but I'll also need to add emscripten touch/pointer support in the rwebinput driver in order to make it work. Mobile support is something that I've wanted to do for a while, so I'll see what I can do.

Actually, I’d recommend doing what the original emulatorjs did, they have a simulate input function that sends the button presses to the emulator, so all of the listeners are actually in JavaScript. The control mapping is all JavaScript too, and all virtual game pad does in the original emulatorjs version is that it calls this simulate input function with specific button presses, this’d be pretty difficult to do though, I’ve tried to rewrite the input driver to support it so control mapping and virtual game pad would work on my new versions but I’ve never been able to figure out how it worked

Here's a preview:
Show

The controls will also move to the side of the screen if the screen is horizontal, just like mobile RetroArch.

oh wow you did a lot more than I thought lol :)
looks great!

very expect


remove unused upstream

this removes the registry upstream in nginx configuration (it is unused since 785298e6b).

Coverage decreased (-0.02%) to 64.497% when pulling 6a631d0fb44b0ff3c363c89a33160d4e2bc93f5c on jouve:reg_upstream into b537ea96f3bcc5b9fc7d485e797613efa699e45b on vmware:master.


No way to set a false boolean value with bundle config

For example, to enable deployment mode you can use:
bundle config frozen 1
... to enable the "frozen" boolean setting in the .bundle/config file.
However, there's no way to clear this setting without deleting/editing the config file manually, since
bundle config frozen false
and: bundle config frozen 0
both continue to leave the boolean value as "true" because of the logic on line 11 of settings.rb:
def [](key)
  key = key_for(key)
  @local_config[key] || ENV[key] || @global_config[key]
end

"0" and "false" both evaluate to boolean true.

does --no-deployment set it to "false" or delete it?

No... it doesn't.


setting up the power flow excersise for pandapower

Added the example for pandapower

Hi @claytonpbarrows , @kdheepak ,
here is my contribution to the example.
Best regards,
Roman

Hi @kdheepak ,
can you please check the .gitignore files again?

there are no conflichts @claytonpbarrows


Quick fix: Yes, MvcSandbox is a web project

add a web.config file so VS recognizes this

FYI only; merging immediately

aa1afc0


Backport 2.1: wait_server_start: warn if lsof is not available

In ssl-opt.sh and compat.sh, emit a warning if lsof is not available, so that we know about the potential race condition from the test logs.
Follow-up to #1216 which fixes the race condition, but only if lsof is available.
Backport of #1260

@gilles-peskine-arm - Could you please rebase this to remove the conflicts? Thanks

The commit from this PR actually got in through #1288, so this PR is moot.


fix: Allow injection plugins to apply to files with query parameters and fragments in their name

Fixes #596
The previous regex excluded entry points that have query parameters. The common use case for this is content hashes, e.g.:
  output: {
    filename: "[name].js?contenthash=[contenthash]",
  },

The new regex will match the same things as before, but additionally allows those filenames to end with a ? followed by any number of characters. I think this should be fairly safe? The only edge case I can think of is a spacebar heating situation where someone was using the previous behavior to opt out of sentry injection for specific entry points, but that seems unlikely.

Thanks for the contribution, I'd like for this to work consistently across bundlers (esbuild, vite, rollup) before going through with the change so we need to cook a bit more here.
Do you feel like also adjusting the logic for the other bundlers? Otherwise I can take over.

spacebar heating situation

also: lol

😮   this definitely seems related to https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/441 – not sure if it resolves it though. (Personally I went with a workaround to #441 so it's not a big deal for me anymore)


Support for sass alias needed

Expected Behaviour
Imports like
import '@common/common';

should be supported and configurable in .febuild.
Actual Behaviour
An error on the build is thrown if an import like the one below is found:
import '@common/common';

Platform and Version
version 3.0.2

What is sass alias?
Do you mean a plugin: https://www.npmjs.com/package/sass-alias?
We currently support sass include paths, you can use short path in import, relative to defined include paths.
import 'common';

configuring .febuild:
  sass: {
      includePaths: [
        '/path/to/any/dir/'
      ]
  },


[JAVA] Added read locks for hub connection states

As mentioned in Issue #3329, reads of the connection state weren't synchronized. This PR adds a ReentrantReadWriteLock to HubConnection.java

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

Hi @ncthbrt. Thanks again for the PR. I think we found the source of the issue. It isn't a lack of locking on reads but rather not checking the connection state on invokes. We have a new PR here https://github.com/aspnet/AspNetCore/pull/4400. I'm going to go ahead and close this Pr but thanks again for your contribution! We were able to find this bug because of you 👍


[ONNX] Fix Gemm operator by adding reshape

Please add a corresponding PR to ngraph-onnx to show which tests are passing thanks to this fix.

https://github.com/NervanaSystems/ngraph-onnx/pull/339


validRange.disabledDates string options

Let us use standard options, like disabling weekends.

Please provide a more thorough proposal


Fix Fixed the issue where uncompletedMpuPendingUploads did not remove objects correctly.

Proposed changes
Backport #36905.

run buildall


Extended Features (Technical - Visual)

Clear and concise description of the problem
Hi there,
I hope you are doing well.
I have been reading your website and I really enjoy your work, have a few questions about adding some new features to your website:
Mermaid diagrams
I know that there is a Mermaid package that can be added to Vitepress, but this site is not built with Vitepress.
I have not seen any diagrams in your articles that have been written with Mermaid, but I would like to know if it has been implemented. If not, how can we implement it?
Code block features
In VitePress and other websites like nextjs.org, code blocks have the following features:

Language type in the top right corner, e.g : py-ts-js-cpp-sh-perl- ...
A nav bar or a status bar above the code block for information such as the file address and name etc ...
Code focus and highlight features etc ... (which some of are implemented in vitepress doc)

How can these features be added to this site?
I notice that when I read the code examples in your articles, there is no copy button, information bar, or language icon for the code snippet.
Using VitePress features
How can I use Vitepress and vitepress doc features on this site, especially the Markdown writing features?
Thank you for your time and consideration.
Best regards,
Suggested solution
I can add MathJax with the markdown-it MathJax package, but what about Mermaid? What if we can utilize VitePress Doc's MathJax and Mermaid native features in your website and incorporate them into .md posts?
As for Code Focus and Code block features, aside from CSS workarounds, are there any other logical ways to achieve what we want?
Antfu's website is great, but it lacks the awesome features found in your other works.
Of course, if we consider the blog page and its posts as personal articles, then they don't necessarily need code block features like Next.js Doc or VitePress Doc provide. However, if we intend to create more technical articles and style them as documentation, it would be great to have code block features such as code focus and code highlighting etc ...
Alternative
No response
Additional context
Markdown feature
https://vitepress.dev/guide/markdown
Nextjs code block style
https://nextjs.org/docs/getting-started/installation
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Thank you for considering the suggestions and for sharing your perspective. It's completely understandable that simplicity is a priority for your website, especially if it's not intended to be a technical documentation platform.
That said, I respect your decision to prioritize simplicity, and I'm here to support whatever direction you choose for your website. If there comes a time when you feel these features would enhance your content, I'd be more than happy to assist with their implementation.
Best regards

Hi there, I've looked at the vitepress source and referenced most of the code to implement the custom-block and code-group functionality, you can take a look at my project leet.me


Tests client scene 5

Tests and updating error messages
tests should pass once https://github.com/vis2k/Mirror/pull/1805 is merged

that's very cool!


Retire app-updater app

We created https://github.com/giantswarm/app-updater for our own purposes, but have replaced it by Flux.
Since Flux is the recommended way to do these things, I suggest we stop maintaining the app and remove it from the playground catalog.
I checked and according to https://giantswarm.grafana.net/d/s5jQpdyMz/managed-apps-usage?orgId=1&var-catalog=giantswarm-playground the app is not in use.
There is a TODO list (work in progress) regarding how to retire an app in Slack.

Docs for retiring an app are now in https://intranet.giantswarm.io/docs/dev-and-releng/app-developer-processes/retire-app/


fix: simplify logic of update env file, and fix bug

since updateContainerEnv logic is too complicated,
content in /etc/profile.d/pouchenv.sh should same with config env,
cover env file with merged env.
fix check same value error:
'msg="env exists and the value is not same, key=spas_accessKey, old
value="4f032bc4b0db47db9baa95fcd4c7b3ad", new value=4f032bc4b0db47db9baa95fcd4c7b3ad"'
Signed-off-by: Ace-Tang<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
fix failed to update env file with old logic.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
add rich container update env ci test.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

lgtm


pandas: RuntimeError when passing pandas objects to compute in 2020.2 release

The updated daal 2020.2 release a few days ago resulted in a pandas objects no longer being accepted by the compute method. The following code worked on 2020.1, this is a simplified example taken from: https://github.com/intel/dffml/blob/63b490a5b6402dcb770072f75b3b665e433525f3/model/daal4py/dffml_model_daal4py/daal4pylr.py#L44-L78
CI logs: https://github.com/intel/dffml/runs/896438744?check_suite_focus=true
import daal4py, pandas

lm = daal4py.linear_regression_training(
    interceptFlag=True, streaming=True
)

for x, y in [
    (0.0, 0),
    (0.1, 0),
    (0.2, 0),
    (0.3, 0),
    (0.4, 0),
    (0.5, 0),
    (0.6, 1),
    (0.7, 1),
    (0.8, 1),
    (0.9, 1),
]:
    feature_data = {"x": x, "y": y}
    print(feature_data)
    print()
    df = pandas.DataFrame(feature_data, index=[0])
    print(df)
    print()
    xdata = df.drop(["y"], 1)
    ydata = df["y"]
    print("xdata", type(xdata), repr(xdata))
    print()
    print("ydata", type(ydata), repr(ydata))
    print()
    print()
    lm.compute(xdata, ydata)

lm.finalize()

Output (this had been run within one of our TestCases, I've pulled it out of that method into the above code):
{'x': 0.0, 'y': 0}

     x  y
0  0.0  0

xdata <class 'pandas.core.frame.DataFrame'>      x
0  0.0

ydata <class 'pandas.core.series.Series'> 0    0
Name: y, dtype: int64

ERROR
test_run (tests.test_lr_integration.TestDAAL4PyLRModel) ... ok
test_00_train (tests.test_lr.TestDAAL4PyLRModel) ... ERROR
test_01_accuracy (tests.test_lr.TestDAAL4PyLRModel) ... ERROR
test_02_predict (tests.test_lr.TestDAAL4PyLRModel) ... ERROR

======================================================================
ERROR: test_daal4py_2020_02_issue (tests.test_lr_integration.TestDAAL4PyLRModel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/dffml/dffml/util/asynctestcase.py", line 69, in run_it
    result = self.loop.run_until_complete(coro(*args, **kwargs))
  File "/home/johnsa1/.cache/pip/minicondapy37/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete
    return future.result()
  File "/usr/src/dffml/model/daal4py/tests/test_lr_integration.py", line 43, in test_daal4py_2020_02_issue
    lm.compute(xdata, ydata)
  File "build/daal4py_cy.pyx", line 16947, in _daal4py.linear_regression_training.compute
  File "build/daal4py_cy.pyx", line 16929, in _daal4py.linear_regression_training._compute
RuntimeError: Number of rows in numeric table is incorrect

Hi @pdxjohnny
According to our input validation check for linear regression, the number of rows in the batch should be greater or equal number of columns + (int)(parameter->interceptFlag == true). In your case training by two objects per batch should work.
This code works in my case for daal4py 2020.1
import daal4py, pandas
import numpy as np

lm = daal4py.linear_regression_training(
interceptFlag=True, streaming=True
)

for x, y in [
([0.0, 0.0], [0, 0]),
([0.1, 0.1], [0, 0]),
]:
    feature_data = {"x": x, "y": y}
    print(feature_data)
    print()
    df = pandas.DataFrame(feature_data, index=[0, 1])
    print(df)
    print()
    xdata = df.drop(["y"], 1)
    ydata = df["y"]
    print("xdata", type(xdata), repr(xdata))
    print()
    print("ydata", type(ydata), repr(ydata))
    print()
    print()
    lm.compute(xdata, ydata)

lm.finalize()

What happens if our dataset has an uneven number of records? Do we have to feed it through twice? Can we have the old behavior back please? or is there some reason why we can't have a batch size of 1

Update on this. I think the issue is really with the daal conda package version 2020.2, rather than daal4py

@pdxjohnny
Thanks so much for pointing out this issue. I created a Pull request with a fix: https://github.com/oneapi-src/oneDAL/pull/764

Hi @pdxjohnny
PR was merged successfully. All changes will be available in oneDAL 2021.2

@pdxjohnny Is there still a problem with latest version daal4py?

If will be new problems, reopen the issue


Gray line above bottomBar Android 4

I tried to apply:
 app:bb_showShadow="false"
But this method did not help to solve my problem. What to do?

What version are you using?

my gradle file:
compile 'com.roughike:bottom-bar:2.3.0'

@SergeyAppDroid @roughike i found the issue, i'm not using the flag for api21 and above, let me send a quick PR for that :)

@SergeyAppDroid wait, you said for android 4? like API 19~ or is this on API 21+
cause the issue i had was on API 21+, but, on API 20- it should work as expected

#749 this is the PR

I want to solve this problem more quickly. Should I wait for the updated version of the project? ((

Code is in. This is going out in the next release


Basic bazel example

For all of the packages just illustrating use with drake.
Pick something very core that isn't likely to change and build an app around that.

Done in PR #8


Archivematica API fails when large videos are processed.

Archivematica API fails when large videos are being processed.
Throttle frequency of repo API import status checks when "ESOCKETTIMEDOUT" is detected to help alleviate some of the server load.

"Throttle frequency of repo API import status checks when "ESOCKETTIMEDOUT" is detected to help alleviate some of the server load."  Unable to do this because it's not possible to determine how long the API will be offline.  Time varies depending on the size of the object.  Timeout error is logged until API is back online.


Include Media library images in resizing logic

Since Kentico.Xperience.MiniProfiler includes a reference to Kentico.Xperience.ImageProcessing, I initially thought that resizing was included out-of-the-box during the testing for the previous pull request (https://github.com/liamgold/xperience-community-image-processing/pull/3). It turns out it is not. Therefore, this pull request adds direct support for Media Library image resizing. Please, test on your end.

@MilanLund - I've just published v1.1.1 to include this fix


Assignment #3 completed

Your radius of exoplanet calculated from the Transit method seems to be incorrect. Make the necessary changes and commit them once again.
Rest all seems good


Add zh_cn.json

Hi,
Thanks for this awesome PR !
I'm waiting a bit before merging it because I'm working on a big update that will require a few changes to the lang file

Hey,
Soory for the delay
I finished the first beta for 4.0.0
I tried to made the config file more clear in this version so i rewrote a part of the comments : https://github.com/DenisD3D/Mc2Discord/blob/main/mc2discord-core/src/main/resources/assets/mc2discord/m2d-lang/core/en_us.json
To make lang file more maintable, I'm thinking of translating only values and not comment so it's easier for me to keep them up-to-date with new versions (that means translation only keys ending with .value). What do you think ?
If a key is missing in a lang file, it fallback to english so just removing the .comment keys should work
Thanks
Denis

HEY Denis!
I'm so glad to hear you that you successfully completed version 4.0! Congrats!
If I understand you correctly, I only need to translate the key at the end of .value and leave the key of .comment alone right?

Yeah, like that i can keep myself translation somewhat uptodate after a contribution
Sorry for the part you already translated ;(

Hahahaha that's not a problem! Glad i can help with your project!


fix typo: anchor windoes should be anchor windows

Happen to see the typo in https://tvm.apache.org/docs/api/python/relay/vision.html#tvm.relay.vision.proposal.

Thanks @randxie @cchung100m @siju-samuel !


Windows: Reading works but saving to k:  fails

I am able to read files from k: but writing to it fails on Windows.
Log Id: c7455163e50b86bd11ef271c
Keybase GUI Version: 1.0.16-20160527075338+7c9e507
Update:
Logs: f872b5911df53e71edf7d81c
Can write again after restart,  but the same problem is reproduced again(cannot write)

Resolving this as I no longer see this issue


Fix promote workflow

Description
Changes proposed in this pull request:

Add missing envs
Fix target repo

Related issue(s)

/kind enhancement


Knex calling the global console (use of console.log internally)

While a very useful library, I see several uses of console.log, console.error etc internally, which I cannot catch without overriding the global object. Is there any way to specify my own logging mechanism within knex (for example: winston loggers)?
Please see specific examples here and here.

Hm. So the two things you're pointing to are the query logger (enabled with debug()) and the 'exit' function which is called when you haven't installed the correct SQL library for your dialect. (I'm guessing you don't really need that second event.)
If you want to forwrad your query traces to a custom logger you could you could set environment variable DEBUG and then filter stdout for lines starting with knex:.
What are you trying to achieve?

@nixgadget has also asked after this feature in #1495. Sounds like a worthwhile feature.
Please use this thread to enumerate the kind of events you'd like to log. I don't expect this to be a big change.

Im mostly interested in the critical ones such as connection errors.

Or even better if you can implement a mechanism to inject a logger

Yeah, the most reasonable thing to do would be to inject an alternative logger when building a knex instance
eg:
const logger = require('bunyan').createLogger({}) const knex = Knex({client: 'x', connection: {}, logger: logger)
where logger defaults to console, if a logger is assigned I think the default behavior should be to log all events and let the logger figure out the log level. it'll be quite messy if it'll requires passing .debug(true) to every query. I can write a patch for that if you'd like.

Stumbled upon the same issue that connection/pool errors are printed to the console at https://github.com/tgriesser/knex/blob/751ab2a4231bf4390ed128b314dc120589c34b7c/src/client.js#L161.
I personally don't think Knex should bother itself with logging at all, so I'd vote against any logger interface, and instead document where and how one should get to the errors if one wishes to send them to their own exception notifier, logger or do something different.

As an workaround until the logging is removed:
var knex = Knex({...})
knex.client.pool.removeAllListeners("error")
knex.client.pool.removeAllListeners("warn")

-Pool/connection error, e.g the entire DB goes down
-All debugging to my logger function, so that I can do what I want with it.

Yep, this is definitely something we should have configurable. I'm looking at adding some features in the coming weeks and I'll keep this in mind as I go through the priority list.

Sorry for making a duplicate issue. In case anyone is interested in a (partial?) workaround, I ended up doing this, which works for me:
knex.on('query', (query) => myCustomLogger(knex.raw(query.sql, query.bindings).toString()))

I'm not sure what else debug:true does, but I really just wanted to catch all queries that were being sent, and this allows me to do that.

@msikma I'm also doing all query duration / transaction duration logging in these events. Also you can get even more detailed debug info to console by using environment variable DEBUG=knex:*

Any news on when Knex.setLogger will be released?

@tgriesser I see you made a commit which adds setLogger, will it be merged soon or is there something blocking it?

Was this ever released and if not is it ever projected to be?
Thanks!

setting own loggers has been supported already maybe a year or so.

https://knexjs.org/#Installation-log


How to get the visualized lane prediction.

@XingangPan matlab -nodisplay -r "main;exit"  # or you may simply run main.m from matlab interface, the line coordinates are generated.But How can I get a visualized lane prediction curve in the source  image, can you give me some advice and help?

@zhangguangyuan0001 At tools/lane_evaluate/run.sh, add a '-s' option, then run the script. You should be able to see the visualization.

@XingangPan where do I add the '-s' option? In the script or in terminal when running run.sh?

@YilmazOrkun In the script.

@XingangPan where do I add the '-s' option? In the script or in terminal when running run.sh?
root=../../
data_dir=${root}data/CULane/
exp=vgg_SCNN_DULR_w9
detect_dir=${root}tools/prob2lines/output/${exp}/
w_lane=30;
iou=0.5;  # Set iou to 0.3 or 0.5
im_w=1640
im_h=590
frame=1
list=${data_dir}list/test.txt
out=./output/${exp}_iou${iou}.txt
./evaluate -a $data_dir -d $detect_dir -i $data_dir -l $list -w $w_lane -t $iou -c $im_w -r $im_h -f $frame -o $out###  -s
Is it like this? Which file is the visualization effect save path in? thx a lot~

@YilmazOrkun In the script.

./evaluate -a $data_dir -d $detect_dir -i $data_dir -l $list -w $w_lane -t $iou -c $im_w -r $im_h -f $frame -o $out### -s
Seniors, is this the case? Will the effect display output images or MATLAB display?


adding last.fm

Can now specify lastfm_username in _config.yml

Good idea. I will also add the option in the config file. Thanks for the contribution! @rkmallik


Grafana Dashboard Angular deprecated

hi there,
I was wondaring if there is any chance to update the Grafana dashboard, as we get the following alering from grafana.
"""
Legacy alert rules are deprecated
You have legacy alert rules in this dashboard that were deprecated in Grafana 11 and are no longer supported.
"""
Angular plugin
This plugin uses a deprecated, legacy platform based on AngularJS and will stop working in future releases of Grafana.
"""
as it turns out grafana no longer support Angular any more and they have move to React.
we are wondering if there will be an update for the dashboard?

Angular support deprecation
Thank you for your hard and amazing work.
Regards,
Hawbir

Hello,
Have you started working on it? I would be happy to contribute and migrate the existing dashboard if you haven't started yet.
Let me know :)

Hello,
No worries :)
I've migrated the dashboard (without adding new metrics) but it's a good starting point for another iteration if someone wants to delve into it.
A few points to note:

I've added an instance variable to handle multiple Routinator metrics from different RPKI instances.
I've removed the Rsync statistics in "Update Duration" and "Connection Status" as I can't correlate them to the repository variable.
I've removed the alert dashboard, as Routinator doesn't provide any Prometheus rules in its documentation. This could lead to confusion, as currently, it reports every alert from alertmanager without filtering.

Dashboard :
Routinator 0.9.0 and newer-1713777953543.json
I didn't create a PR because I only see the dashboard on the Grafana website, but I could do it if you tell me where.
I let you tell me if it's look good for you and if so, you can update the dashboard on grafana website :)
Regards,
PS : Thanks to NLnetLabs for the amazing open source work :)
Screenshots :

Hi @M0NsTeRRR! I just spun up a Grafana box point at a local Routinator and the one running at the RIPE NCC to test out your dashboard. It's great, thanks so much!

You made excellent calls on the instance variable, rsync stats and alerts dashboard. It's much better this way. I'm happy to replace the Routinator dashoard on Grafana.com with your version and credit you. Please send me a message via<EMAIL_ADDRESS>with your address details if you would like some awesome stickers.
All the best! 💚

Awesome, thank you! 🚀

Not with the metrics exposed by routinator. Check on /metrics you will see all routinator metrics.
To achieve that you could create an external exporter to retrieve this data based on routinator API

To monitor specific ASNs and prefixes I recommend running BGPAlerter.

I think the issue can be closed ? @AlexanderBand


Broken 8021x auth with iwd (eduroam)

Describe the bug
Unable to connect to eduroam after a recent upgrade. Errors out with key addition failed, no other useful information, even with IWD_TLS_DEBUG.
Sadly I probably will be very slow to respond to any testing, simply don't have the time to worry about this, I'm sticking with the generation that works.
Steps To Reproduce
iwctl
> station ... connect eduroam
>> username
>> password
Operation failed

Expected behavior
To connect.
Additional context
Use to work on 177c0befbce07b4a7d7471628f4c6d2f3a2f4262, broke on the next upgrade (I don't have exact commit anymore but it should have been somewhere near the 1000 commits pushed to master.
This is not due to a iwd upgrade (1.17), since I had it working with that so at least that variable is gone.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Resolved last night it seems.


New 'mobileBreakpoint' property is not listed in typescript definition file

Issue Report
The new 'mobileBreakpoint' property is not listed in typescript definition file and thus displays as an error when used in combination with typescript checking.
Expected Behavior
The 'mobileBreakpoint' property will not show as an error when typescript checking is applied.
Actual Behavior
The 'mobileBreakpoint' property shows as an error when typescript checking is applied.
Steps to Reproduce the Issue
Use the 'mobileBreakpoint' property in a tsx React project and try using the 'mobileBreakpoint' property.  Typescript will complain that the property is not valid.

Thank you for your time filling this Issue and creating the PR!
It will be reviewed soon.

Hi, the fix was released on v1.4.0

Hi, the fix was released on v1.4.0


Simplify the code & optimized firefox detection

It should work with all browsers (including mobile) and solved #109

It is important to note that the Firefox Extension utilizes Manifest V2, which Chrome no longer supports. This means that V2-specific codes such as chrome.webRequest.onBeforeSendHeaders.addListener cannot be executed on Chrome. This code only runs on Firefox, albeit the confusing name.

Firefox detection at runtime seems "useless" and can be done while transpiling ts (this will remote firefox specific code for chrome), e.g. :
Define a environment variable in webpack (chrome & fiorefox):
    new webpack.DefinePlugin({
      firefox: JSON.stringify(false),
    }),

And in background.ts :
declare var firefox : boolean | undefined;

  if (firefox) {
    console.log("Firefox !");
  } else {
    console.log("Chrome !");
  }

The transpiled js for firefox extension wil only contains :
console.log("Firefox !");

same for chrome :
console.log("Chrome !");

That optimization idea is fantastic!
Would it be possible for you to handle the Webpack implementation? I'm not very experienced with defining custom configurations.

Done (sorry for the delay) :-)


PSQL command seems unable to manage database privileges

Running role-altering commands does not seem to work properly, and fails silently.
macrostrat db psql sgp -c "GRANT ALL ON ALL TABLES IN SCHEMA public TO macrostrat"

psql appears to run the GRANT statement, but the roles do not seem to have been applied to the database.

We should test this, potentially as part of moving the core functionality to shared Python libraries.


getUserMedia example on iOS

Hi Sam,
On iOS, even is I select the rear camera, the front camera is always chosen.
TIA
Cheers
Davide

Thanks for the heads-up.
This commit fixes this.
There were two problems:
• I'd forgotten to add playsinline to <video> for this demo.
• AFAICT Safari only gets default devices until after gUM is called.
(Demo is at simpl.info/sources.)
Let me know if you're still experiencing glitches.

Unfortunately, Sam, the behaviour is the same. Selecting camera 1 or camera 2 always shows the front camera, sorry.

Sorry to hear it's not working.
What version of iOS are you using?
I'm on iOS 12.3.1 on an iPhone 7 and the demo is working as expected. (I'll check 12.4.)
(Sounds obvious, I know, but make sure you've got the updated version. It should say mediaDevices.enumerateDevices() in the title and Front/Back Camera in the selector.

iPhone xr, iOs 12.3.1


Temporarily hard code the number of validators

Because it is embarrasingly wrong

Didn't work so closing the PR and deleting the branch


Add tag-arrow-* and delete-forward icons

These also cover the debug-stackframe* codicons.

Note that these had to be renamed, as they were conflicting with arrow-*-square icons, since #994 was merged…

I'm not sure about these names as well. What are other libraries naming these icons?

I'm not sure about these names as well. What are other libraries naming these icons?

Well other libraries have different naming schemes… whereas this one tries to be more literal (which I think is better). As mentioned above, these are called debug-stackframe* in codicons, so no help there…
@ericfennis What about arrow-pantagon-*?

Or maybe tag-arrow-top,tag-arrow-right, tag-arrow-bottom, tag-arrow-left` etc ?

Do we want to generally have the same icon in different orientations?

Do we want to generally have the same icon in different orientations?

I’m only interested in the ones pointing right, personally. I just figured they should probably be a set…
But no problem with dropping the others…? @ericfennis @jguddas @karsa-mistmere

If we drop the others maybe we can think of better name.
Maybe just. tag-2?
What is the use case with the dot?

Maybe just. tag-2?

@ericfennis What about just tag-right[-dot]?

What is the use case with the dot?

As mentioned these cover debug-stackframe codicons… So the one with the dot is debug-stackframe-active.

@danielbayley Is it not more convenient to fill the icon for the active state?

@danielbayley Is it not more convenient to fill the icon for the active state?

Definitely not more convenient. Not sure even possible, with how VS Code icon themes work…


nixos/doc: Add Developing the Test Driver

Description of changes
Describe how to work on the NixOS Test Driver.
Main reason to write this was the test process.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg eval


Update timestamps.pyi

https://github.com/pandas-dev/pandas/commit/f3c46cd0899d5e11e0602798d9390c90e51e9ba7
https://github.com/pandas-dev/pandas/pull/48819
https://github.com/pandas-dev/pandas-stubs/issues/797

[x] Closes #797 (Replace xxxx with the Github issue number)
[ ] Tests added: Please use assert_type() to assert the type of any return value

Closing in favor of #864


Loading the game between versions causes block layout issues

Uninstalling the game doesn't delete the save data and when re-installing, the game loads with all the blocks clustered in the corner.

Clearing app storage doesn't delete the save file.

ISSUE: The game gets shipped with save data in the data directory. Issue was it was being shipped with my PC version save data which had the wrong coordinates.


Implicit Conversions for Scene Tree Branches

I'd love to open a PR to add an implicit conversion for scene tree branches. I just don't like having to manually call .Get(). I was thinking of doing something like this:
{{NSIndent}}{{indent}}            public static implicit operator {{node.Value.Type}}(__{{depth}}_{{node.Value.Name}} ___{{depth}}_{{node.Value.Name}}) => ___{{depth}}_{{node.Value.Name}}.Get();

Which would generate into something like:
public static implicit operator Godot.Area2D(__0_Area ___0_Area) => ___0_Area.Get();

I tried to get this working locally but, I've been running into issues trying to confirm the functionality is working. For whatever reason the nuget package from this repo seems to work just fine, but pulling it into my csproj locally doesn't work. I'm likely doing something wrong.
I just added it to my csproj like so:
<ProjectReference Include="..\GodotSharp.SourceGenerators\SourceGenerators\SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" />

Hey wc :)
Nice idea!  I wasn't too keen on .Get() either, but couldn't think of any other way to access a non-leaf node.  I initially toyed with the idea of a Node property, but that could have too easily conflicted with the naming of a node.  These days I just assign unique names to anything I want in script so I can access them directly (the package generates a property for anything marked with a unique name in the editor).
History aside, I think the implicit conversion will work well in most cases, so I'll do up a branch for your changes and some tests.
Cheers :)

PS:  I add the attached nuget config to my projects so I can make use of local package changes
nuget.config.zip

New pre-release package with requested changes uploaded to nuget.  Will formalise into 2.1 release in a few days to give early adopters time to provide feedback (just in case).


Add Contribution and Security Policies

@shahar4 - your PR only changes one file and doesn't add anything.


[FEAT] Add host uptime to observed host object

Right now, the event processor uses the timestamp of the first host heartbeat to record the first_seen value of a host. This can differ wildly depending on when the host started and when the lattice observer discovered it. In addition to tracking these values, it would be valuable to know the absolute uptime for the host.
This will also require adding the uptime to the host heartbeat in the wasmcloud-otp repo.
References

Using timestamp: https://github.com/wasmCloud/lattice-observer/blob/723fb0dfb57ba5aa831d8663ebd8df43cffd4e08/lib/lattice_observer/observed/lattice.ex#L132
control interface uptime: https://github.com/wasmCloud/wasmcloud-otp/blob/main/host_core/lib/host_core/control_interface/server.ex#L31-L37

(cc @autodidaddict for thoughts)

Resolved by https://github.com/wasmCloud/lattice-observer/pull/29


Fix -Wreturn-type warnings

When calling assert(0) instead of returning a value, -Wreturn-type
warnings are triggered because assertions can be disabled. Replace these
assertions with abort().

Thanks!


Cordova app in iOS Simulator doesn't attach to remote debugger

I followed the instructions specified in the wiki, and used a slightly modified version of the config file supplied by you guys here: ios-hybrid-appium.config.json. My config file looks like this:
{
  "selenium": "http://localhost:4723/wd/hub",
  "browsers": [
    {
      "platformName": "iOS",
      "platformVersion": "8.1",
      "deviceName": "iPhone 6",
      "app": "/Users/matiassingers/projects/testApp/cordova/platforms/ios/build/emulator/testApp.app",
      "bundleId": "com.test.testApp",
      "autoWebview": true,
      "loggingPrefs": {
        "performance": "ALL"
      }
    }
  ]
}

Initially I was having problems with the remote debugger not being able to find a webview in Appium, but I was specifying the wrong bundleId.

This is the output/log from browser-perf and appium:
$ browser-perf --config-file appium.json --verbose
index: Selenium is on %s localhost
Metrics: Initializing Metrics
Probes: Registering probe RafBenchmarkingProbe
Probes: Registering probe NavTimingProbe
Probes: Registering probe ChromeTimelineProbe
Probes: Registering probe SafariTimelineProbe
Probes: Registering probe ChromeTracingProbe
AndroidTracingProbe: Initialize
Probes: Registering probe AndroidTracingProbe
Probes: Registering probe ChromeTimelineProbe
Probes: Registering probe SafariTimelineProbe
Probes: setup
Probes: ChromeTimelineProbe setup called
Probes: SafariTimelineProbe setup called
Probes: ChromeTracingProbe setup called
Probes: AndroidTracingProbe setup called
index:  >  CALL init({"platformName":"iOS","platformVersion":"8.1","deviceName":"iPhon
index:  >  CALL quit()

$ appium
info: [debug] Setting auto webview
info: [debug] Navigating to most recently opened webview
info: [debug] [REMOTE] Debugger socket connected to ::1:27753
info: [debug] [REMOTE] Sending connection key
info: [debug] [REMOTE] Sending _rpc_reportIdentifier: message to remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"e02a0b38-439c-435f-9f67-e402681af203"},"__selector":"_rpc_reportIdentifier:"}
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRSimulatorBuildKey":"12B411","WIRSimulatorProductVersionKey":"8.1","WIRSimulatorNameKey":"iPhone Simulator"},"__selector":"_rpc_reportSetup:"}
info: [debug] [REMOTE] Sim name: iPhone Simulator
info: [debug] [REMOTE] Sim build: 12B411
info: [debug] [REMOTE] {"__argument":{"WIRApplicationDictionaryKey":{"PID:12966":{"WIRApplicationIdentifierKey":"PID:12966","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Astro View Mobile","WIRApplicationBundleIdentifierKey":"com.astro.astroview","WIRIsApplicationActiveKey":1}}},"__selector":"_rpc_reportConnectedApplicationList:"}
info: [debug] Using remote debugger app key: PID:12966
info: [debug] [REMOTE] Selecting app PID:12966
info: [debug] [REMOTE] function () { [native code] }
info: [debug] [REMOTE] Sending _rpc_forwardGetListing: message to remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"e02a0b38-439c-435f-9f67-e402681af203","WIRApplicationIdentifierKey":"PID:12966"},"__selector":"_rpc_forwardGetListing:"}
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"PID:12966","WIRListingKey":{"1":{"WIRTypeKey":"WIRTypeWeb","WIRTitleKey":"","WIRURLKey":"","WIRPageIdentifierKey":1},"2":{"WIRTypeKey":"WIRTypeWeb","WIRTitleKey":"","WIRURLKey":"","WIRPageIdentifierKey":2}}},"__selector":"_rpc_applicationSentListing:"}
info: [debug] Picking webview WEBVIEW_2
info: [debug] Attempting to set context to 'WEBVIEW_2'
info: [debug] [REMOTE] Selecting page 2 and forwarding socket setup
info: [debug] [REMOTE] Sending _rpc_forwardSocketSetup: message to remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"PID:12966","WIRConnectionIdentifierKey":"e02a0b38-439c-435f-9f67-e402681af203","WIRSenderKey":"5ab3e9fc-e922-49cc-97aa-5331155eff3b","WIRPageIdentifierKey":2},"__selector":"_rpc_forwardSocketSetup:"}
info: [debug] [REMOTE] Set sender key
info: [debug] [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"PID:12966","WIRListingKey":{"1":{"WIRTypeKey":"WIRTypeWeb","WIRTitleKey":"","WIRURLKey":"","WIRPageIdentifierKey":1},"2":{"WIRTypeKey":"WIRTypeWeb","WIRTitleKey":"","WIRURLKey":"","WIRConnectionIdentifierKey":"e02a0b38-439c-435f-9f67-e402681af203","WIRPageIdentifierKey":2}}},"__selector":"_rpc_applicationSentListing:"}
info: [debug] Remote debugger notified us of a new page listing
info: [debug] We don't appear to have window set yet, ignoring
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"PID:12966","WIRListingKey":{"1":{"WIRTypeKey":"WIRTypeWeb","WIRTitleKey":"","WIRURLKey":"file:///Users/matiassingers/Library/Developer/CoreSimulator/Devices/9538A1EE-7E92-475D-A47E-15C3C4BBDA44/data/Containers/Bundle/Application/4EF121E1-34FE-496E-BF20-A7FDB43674F5/testApp.app/www/index.html","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}

With the last part repeating again and again:
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] Receiving data from remote debugger
info: [debug] [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"PID:12966","WIRListingKey":{"1":{"WIRTypeKey":"WIRTypeWeb","WIRTitleKey":"","WIRURLKey":"file:///Users/matiassingers/Library/Developer/CoreSimulator/Devices/9538A1EE-7E92-475D-A47E-15C3C4BBDA44/data/Containers/Bundle/Application/4EF121E1-34FE-496E-BF20-A7FDB43674F5/testApp.app/www/index.html","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}
info: [debug] Remote debugger notified us of a new page listing
info: [debug] We don't appear to have window set yet, ignoring

Is it possible that the wrong WEBVIEW is selected in Appium?
Please let me know if you need any further information.

Version info:
$ node -v
v0.10.33

# This is wrong, I installed the latest version from npm:
#<EMAIL_ADDRESS>$ browser-perf --version
0.0.1

$ appium --version
1.3.4

OS X: Version 10.10.1 (14B25)
Xcode: Version 6.1.1 (6A2008a)
iOS Simulator: Version 8.1 (550.3)

Any ideas @axemclion?

@matiassingers I did look at this again, and I was not able to repro is. I am guessing that this could be due to "autowebview"=true ?
In the script above, are you able to use the webview ?

@axemclion I don't know why I didn't consider removing the autoWebview - seemed to help a little bit.
Now I encounter the following error:
browser-perf:
$ browser-perf --config-file appium.json --verbose
index: Selenium is on %s localhost
Metrics: Initializing Metrics
Probes: Registering probe RafBenchmarkingProbe
Probes: Registering probe NavTimingProbe
Probes: Registering probe ChromeTimelineProbe
Probes: Registering probe SafariTimelineProbe
Probes: Registering probe ChromeTracingProbe
AndroidTracingProbe: Initialize
Probes: Registering probe AndroidTracingProbe
Probes: Registering probe ChromeTimelineProbe
Probes: Registering probe SafariTimelineProbe
Probes: setup
Probes: ChromeTimelineProbe setup called
Probes: SafariTimelineProbe setup called
Probes: ChromeTracingProbe setup called
Probes: AndroidTracingProbe setup called
index:  >  CALL init({"platformName":"iOS","platformVersion":"8.1","deviceName":"iPhon
	index:  >  RESPONSE init({"platformName":"iOS","platformVersion":"8.1","deviceName":"iPhon "9fd6b793-431a-483c-999d-b13597d0ed99",null
index: Session is 9fd6b793-431a-483c-999d-b13597d0ed99
index: Running Prescript
Probes: start
Probes: RafBenchmarkingProbe start called
index:  >  CALL execute("(function(){var getTimeMs=(function(){if(window.performance)\
index:  >  CALL quit()
index:  >  RESPONSE quit()
[ {"message":"[execute(\"(function(){var getTimeMs=(function(){if(window.performance)\\nreturn(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else\\nreturn function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback)... ]

appium:
info: --> POST /wd/hub/session/f0bff199-3e9a-4a5c-a16c-f710df1b85ff/execute {"script":"(function(){var getTimeMs=(function(){if(window.performance)\nreturn(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else\nreturn function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60);};})().bind(window);window.__RafRecorder={frames:[],flush:true,record:function(timeStamp){if(__RafRecorder.flush){__RafRecorder.frames=[];__RafRecorder.flush=false;}\n__RafRecorder.frames.push(timeStamp);requestAnimationFrame(__RafRecorder.record);},get:function(){__RafRecorder.flush=true;return __RafRecorder.frames;}};requestAnimationFrame(window.__RafRecorder.record);}());","args":[]}
info: [debug] Pushing command to appium work queue: "(function(){var getTimeMs=(function(){if(window.performance)\nreturn(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else\nreturn function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60);};})().bind(window);window.__RafRecorder={frames:[],flush:true,record:function(timeStamp){if(__RafRecorder.flush){__RafRecorder.frames=[];__RafRecorder.flush=false;}\n__RafRecorder.frames.push(timeStamp);requestAnimationFrame(__RafRecorder.record);},get:function(){__RafRecorder.flush=true;return __RafRecorder.frames;}};requestAnimationFrame(window.__RafRecorder.record);}());"
info: [debug] Sending command to instruments: (function(){var getTimeMs=(function(){if(window.performance)
return(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else
return function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60);};})().bind(window);window.__RafRecorder={frames:[],flush:true,record:function(timeStamp){if(__RafRecorder.flush){__RafRecorder.frames=[];__RafRecorder.flush=false;}
__RafRecorder.frames.push(timeStamp);requestAnimationFrame(__RafRecorder.record);},get:function(){__RafRecorder.flush=true;return __RafRecorder.frames;}};requestAnimationFrame(window.__RafRecorder.record);}());
info: [debug] [INST] 2015-01-05 19:23:14 +0000 Debug: Got new command 3 from instruments: (function(){var getTimeMs=(function(){if(window.performance)
       return(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else
return function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60);};})().bind(window);window.__RafRecorder={frames:[],flush:true,record:function(timeStamp){if(__RafRecorder.flush){__RafRecorder.frames=[];__RafRecorder.flush=false;}
__RafRecorder.frames.push(timeStamp);requestAnimationFrame(__RafRecorder.record);},get:function(){__RafRecorder.flush=true;return __RafRecorder.frames;}};requestAnimationFrame(window.__RafRecorder.record);}());
info: [debug] [INST] 2015-01-05 19:23:14 +0000 Debug: evaluating (function(){var getTimeMs=(function(){if(window.performance)
       return(performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow).bind(window.performance);else
return function(){return new Date().getTime();};})();var requestAnimationFrame=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback){window.setTimeout(callback,1000/60);};})().bind(window);window.__RafRecorder={frames:[],flush:true,record:function(timeStamp){if(__RafRecorder.flush){__RafRecorder.frames=[];__RafRecorder.flush=false;}
__RafRecorder.frames.push(timeStamp);requestAnimationFrame(__RafRecorder.record);},get:function(){__RafRecorder.flush=true;return __RafRecorder.frames;}};requestAnimationFrame(window.__RafRecorder.record);}());
info: [debug] Socket data received (53 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":17,"value":"Can't find variable: window"}
info: [debug] Responding to client with error: {"status":17,"value":{"message":"An error occurred while executing user supplied JavaScript.","origValue":"Can't find variable: window"},"sessionId":"f0bff199-3e9a-4a5c-a16c-f710df1b85ff"}
info: <-- POST /wd/hub/session/f0bff199-3e9a-4a5c-a16c-f710df1b85ff/execute 500 325.735 ms - 188
info: --> DELETE /wd/hub/session/f0bff199-3e9a-4a5c-a16c-f710df1b85ff {}
info: Shutting down appium session

Have you encountered a similar error with no reference to window?
Perhaps it's now selecting a wrong WebView or something.

@matiassingers I have never had to remove autoWebView, it does seem to work without it. I have seen this error sporadically, but running the tests again seems to fix it.
I think the best way to debug it would be to see if we could directly drive appium using wd. Are you able to do thinks like execute() in your cordova app?

Actually, it can hook into any existing web drvier session, if you give it the ID. Looking at protractor-perf should give you an idea. It basically does the following
You need to look at creating a bpRunner = new browserPerf.runner(config)

Modify the selenium config before your web driver starts the session. This is needed as it injects additional chrome flags. In case on an iOS app, you need to set loggingPrefs:{performance:'ALL'} in the capabilities. This is done using the bpRunner.config() method. Your driver and browser-perf would share the selenium/appium capabilities object.

Then you just need to call start and stop with the sessionId that you can get from your web driver. Stop has a callback with the performance data.

Did this fix the issue for you? Closing the issue since this was a question now. If this issue is still not fixed, please reply here and I can re-open the issue.


⚠ Bofrost.lu has degraded performance

In bf16b23, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1237 ms

Resolved: Bofrost.lu performance has improved in c34efe1 after 1 hour, 40 minutes.


Portuguese translation correction

Changed "cento" to "centro", which is the correct translation of "center".

Thanks for the fix @ferreira42!


Update CHANGELOG.md to mention covariant method overrides

A lot of people reported bugs in this area so it's worth
mentioning that Swift now allows subclasses to override
methods in a base class with a more general type.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

Awesome! Does variance with existential arguments and returns also work? Might be worth an example in the changelog too.


Add seperate font size for icon font

I have already added a seperate font used for icons, but now the icons are too small compared to the text. Is it possible to specify a seperate font size for another font (in my case the icon font)?

@fritzrehde how did you use a separate font for icons?

@ArtemSmaznov, you should use span where you want to separate font for icons
See format section in config
    "battery": {
        "bat": "BAT0",
        "states": {
        // "good": 95,
                "warning": 30,
                "critical": 15
                },
        "format": "{icon} {capacity}%",
        "format-full": "{icon}",
        "format-alt": "{icon} {time}",
        // "format-good": "", // An empty format will hide the module
        "format-icons": {
                        "plugged": "",
                        "full": "",
                        "charging": ["","","","","","",""],
                        "default": ["","","","",""]
                        },
        "tooltip": true
    },

I used the following, but won't necessarily work depending on scaling.

{icon}

Use the nerdfont variant Propo, i.e.: "JetBrainsMono Nerd Font Propo", which isn't strictly monospaced, and works well in this scenario

Wait, shouldn't this be valid?
"format": "{icon} {temperatureC}°C",
doesn't seem to work for with widget just not displaying anything. Is class specifically that isn't supported?

Wait, shouldn't this be valid? "format": "{icon} {temperatureC}°C", doesn't seem to work for with widget just not displaying anything. Is class specifically that isn't supported?

it's not supported, I want to find a way to reference a span inside, but without luck yet
<markup>  333  </markup>'
from markup due to error parsing markup: Attribute 'class' is not allowed on the  tag on line 1 char 55


DNS support for kube-vip

This PR fixes #79 and enables DNS support through an address flag/env/config. vip_address should is deprecated but will continue to work.
address accepts a DNS name or an IP, kube-vip will now run an IP updater that resolves the DNS Name and update the IP, this one will have a validity time, so that we don't have to care about cleanup whenever there is a DNS record update.
One thing small thing that is left to do is to cache the latest response in the ipUpdater struct so that we're able to update the IP in case of lookup failures.
Lastly, I will raise an issue to start refactoring our code base, so that we're able to introduce unit and integration tests

Are you aiming to merge directly to Master (this needs renaming too) or to the 0.1.9 branch?

@thebsdbox - Is there a difference between master and 0.1.9 ?

Should be good to move this to 0.1.9 branch now. :-)


Add optional phone number to customers

Currently, there's no way to bring phone numbers saved added to the Firebase users into Stripe when creating a checkout session for a subscription.
This PR adds support for that by retrieving the Firebase auth user and if there is a phoneNumber present, it will save it on the stripe customer record. Also added support when using the syncUsersOnCreate flag and Firebase users created with phone number authentication.

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

@lemuel-stripe Any news on whether this can/will be merged or not? I can fix the merge conflicts if yes

Hi @laander
This update looks fine, if you can solve the conflicts then i'll be able to give it a review. Thanks!

@dackers86 Thank you. Solved conflicts now, please have a look again

Fixed linting issues now, build should pass if you trigger it again


Gentoo ebuild

Hello
I published some ebuild here
Consider it experimental. Also consider these are my first ebuilds.
I'd like to move the repo to this github org, if it makes any sense.
Thanks
castix

[!NOTE]
When skia is built with clang as suggested, you can only see a blank screen on ladybird

Unlikely that your repo will be moved here, as packaging in the pre-alpha stage is discouraged

packaging in the pre-alpha stage is discouraged

That's just fine :)

patches usually not required

can you be more specific?

My point is not to get a binary release

It's to allow gentoo users willing to contibute to ladybird easier:

dependencies already identified and added where missing (simdutf (fastbase64), skia)
grab the repo, change the git url with your fork
launch ebuild /path/...ebuild compile  until done
it gets patched just locally so once the feature is ready can be shared back (if you had to patch everything by hand instead you would need to cherry pick hunks each time)

the patches are mainly to avoid vcpkgs or due to skia polluting the environment not being namespaced best example