New package: InternalFluidFlow v0.1.0

Registering package: InternalFluidFlow
Repository: https://github.com/aumpierre-unb/InternalFluidFlow.jl
Created by: @aumpierre-unb
Version: v0.1.0
Commit: b7298cab12fa97f07e2e54deff09f23066a3d71b
Git reference: HEAD
Description: A toolbox for internal fluid flow for Julia
Release notes:

First version, package under construction

@JuliaRegistrator register()
I am a newbie here... trying to register this package. following instructions but not quite sure if I am doing it right

Error while trying to register: Register Failed
@aumpierre-unb, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

I am not quite sure if this package has been registered. I understand that all checks have passed but I don't know if the package is yet to be available for download from juliahub... Am I missing something?

If you edit all of your comments to include the text [noblock], then this PR will be auto-merged.
https://github.com/JuliaRegistries/General/blob/master/README.md#automerge-is-blocked-by-one-of-my-comments-how-do-i-unblock-it
[noblock]

Error while trying to register: Register Failed
@aumpierre-unb, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

@JuliaRegistrator register()
[noblock]

Error while trying to register: Register Failed
@aumpierre-unb, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

@aumpierre-unb To update a registration, you don't comment @JuliaRegistrator on this PR.

Error while trying to register: Action not recognized: on

Error while trying to register: Action not recognized: on


Fix MySQL 5.5 PATH environment in /etc/profile

Fixes #10. As far as I can tell, this is only necessary for the 5.5 base image since that contains an explicit PATH environment variable in the Dockerfile.

Thanks!


How to get information from EncryptedData?

I found the struct in the protobuf file:
https://github.com/teslamotors/vehicle-command/blob/05bc5dd8d0649b4ccb45a765b9127d06f1050a6f/pkg/protocol/protobuf/car_server.proto#L101-L108
I don't find how to decrypt the ciphertext. Anybody can help me?

I believe this is currently used by Sentry Cam Clips and some vehicle data. The former requires push notifications and the latter is in the process of being rearchitected in a way that will break reverse compatibility, so we don't plan to implement the soon-to-be-removed method in the SDK.

the latter is in the process of being rearchitected in a way that will break reverse compatibility, so we don't plan to implement the soon-to-be-removed method in the SDK.

It said: you are rewrite the get vehicle data API, and it will be release soon, right?


Validate state of the test node to help adapters to give always expected information to the extensions/data consumers

Ref https://github.com/microsoft/testfx/issues/3478#issuecomment-2329659440
At the moment "the platform" is nothing more than a IPlatformOutputDevice that collects an print in console or in server mode sent states outside. We don't have validation on what adapters are sending. We could think to add a "strict" verification of the state of every test node at least from the perspective of the lifecycle expected by the platform "at minimum"(you can push what you want if other extensions understand your shared model, like trx), like "discovered(non mandatory) -> in-progress(not mandatory) -> executionstate(mandatory)" rejecting with an exception if you push out of this expected state. cc: @Evangelink

Just so that it's documented here, I raised the question of whether it's "illegal" (or, more specifically, troublesome) to the platform whether xUnit.net sent an "in-progress" message and then never got around to sending a result message, which in part inspired this issue.
Our generalized use case is: test framework (which is extensible) says "I'm starting to run this test", and then says "I've decided not to run this test" (aka, its result state is "NotRun"). This is contractually one of the result states that we support, in addition to the more traditional "Passed", "Failed", and "Skipped".
As the runner (which is separate from the test framework), we receive these messages at independent times: an ITestStarting, followed later by one of our result messages, and lastly by ITestFinished.  We map ITestStarting to the in progress test node, and then we map the more traditional results (ITestPassed, ITestFailed, ITestSkipped) into the appropriate "execution state" nodes. There is nothing to map ITestNotRun onto in the Microsoft Testing Platform model. (The finished message is not used in this scenario.)
In practical terms, the "in-the-box test framework" (XunitTestFramework) designates when this situation will happen: if a test is marked as Explicit = true and we're running in ExplicitMode = off (the default), or if a test is marked as Explicit = false (the default) and we're running in ExplicitMode = only. But the runner cannot make these assumptions, because the test framework is a user extensibility point, and in fact it's only the test framework that knows anything about what defines a test at all. Our runner is, by design, as much in the dark about the inner workings of the test framework as Microsoft Testing Platform is in the dark about the inner workings of us.
So my original concern was: Is it an error condition to send Microsoft Testing Platform an "in progress" node for a test, and then never send the "execution state" node for that test?
The additional data point that made me ask that is this: Microsoft Testing Platform does not have a "not run" execution state, but the Test Explorer UI most definitely has a "not run" execution state (it's the state all tests are in before they've been run once). Using TPv2 today, we preserve this "not run" execution state successfully; using Microsoft Testing Platform, the only way for us to preserve the "not run" execution state is to simply not send Microsoft Testing Platform an "execution state" node. Sending any of the three legal "execution state" nodes would mark the test visually as either passed, failed, or skipped; none of those is technically correct. So we just don't send anything, in an attempt to preserve the proper Test Explorer UX.
Anyway, that's the background from the xUnit.net perspective.

Here is our command line experience vs. the MTP command line experience w/rt not run tests:
$ .\src\xunit.v3.assert.tests\bin\Debug\net472\xunit.v3.assert.tests.exe -explicit only
xUnit.net v3 In-Process Runner v0.3.0-pre.25-dev+759dee5cf8 (64-bit .NET Framework 4.8.9261.0)
  Discovering: xunit.v3.assert.tests (method display = ClassAndMethod, method display options = None)
  Discovered:  xunit.v3.assert.tests (912 test cases to be run)
  Starting:    xunit.v3.assert.tests (parallel test collections = on [24 threads], stop on fail = off, explicit = only, seed =<PHONE_NUMBER>, culture = invariant)
  Finished:    xunit.v3.assert.tests
=== TEST EXECUTION SUMMARY ===
   xunit.v3.assert.tests  Total: 1056, Errors: 0, Failed: 0, Skipped: 0, Not Run: 1056, Time: 0.135s

$ .\src\xunit.v3.assert.tests\bin\Debug\net472\xunit.v3.assert.tests.exe --explicit only
xUnit.net v3 Microsoft.Testing.Platform Runner v0.3.0-pre.25-dev+759dee5cf8 (64-bit .NET Framework 4.8.9261.0)

Test run summary: Zero tests ran - src\xunit.v3.assert.tests\bin\Debug\net472\xunit.v3.assert.tests.exe (net472|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 371ms

Thanks @bradwilson for the sample

I can come up with many arguments for and against this approach. So I am undecided. :)
Having a "strict" mode where we can account for the amount of tests is nice, but as you describe we don't know about how tests are being executed. We can only assume the most basic things like: a failed test means a failed run, but even that falls apart when we introduce test re-runs.
Similarly for tests bound to dynamic data (like query from a db), there can be different count per run. So this all only works if we would send list of tests to run, and expected getting all of them back, but that still has downsides (as we can see in VS Test Explorer that adopted this approach some time ago), you have to serialize and send all the test cases, account for the dynamic data tests that might not be the same as before, and account for tests that were added in the meantime.

Similarly for tests bound to dynamic data (like query from a db), there can be different count per run.

Unstable data sets are especially problematic for pre-enumerated data, so frequently commented on that I wrote a FAQ page about it. 😂 https://xunit.net/faq/theory-data-stability-in-vs

(as we can see in VS Test Explorer that adopted this approach some time ago)

Does this mean my page is no longer necessary? I haven't had anybody complain about unstable data sets in quite a while, so maybe the problem disappeared and I never noticed. 😂 Until TestDriven.NET decided to stop shipping versions, that was my preferred test runner, so my personal use of Test Explorer is fairly recent.

We believe there are two potential fixes for this. In our mind, the better choice would be for Visual Studio to use the "run just these tests" API when the user asks to "Run All", passing the list of previously discovered tests back to the test framework. This API already exists, and frameworks already have to implement it, so there should be no realistic downside to make this fix.

Yes that is how it currently works in VS with vstest, you send a full list of previously discovered tests to the runner to run them. In your case you serialize the parameters and recieve them back so tests run "as before", and re-running the tests will be deterministic, even though it will be outdated if the underlying source of data is dynamic.
Testing platform imho does not do this, and will re-run all with a filter. Preferring the data being up to date, rather than tests that TE already knows about being re-runnable.

Yes that is how it currently works in VS with vstest, you send a full list of previously discovered tests to the runner to run them. In your case you serialize the parameters and receive them back so tests run "as before", and re-running the tests will be deterministic, even though it will be outdated if the underlying source of data is dynamic.

At the moment we don't do it, we decided to rely only on the concept of test id and avoid all the roundtrip of serialized stuff in favor of "hash id" handled by the adapter for performance(network but more storage) and simplicity reason.
The adapter should provide unique id for what it decides is "a test". I also think that have "deterministic"(in the sense of freeze the parameters) run is not ideal, I change my tests and I do run all, I'd like to see all my tests to run also the new one, so that run all should really run all and update the ux accordingly. Rebuild should re-discover the new ids. It's on the adapter decide if fold unstable tests with common id or different id(hash based on args) and in case of run a no more available id the run will result in 0 run with the ux that should take it as "there's no test with this id anymore".
In our internal prototype we codegen the [ids,test] dictionary to be quick to find out single test. Let's see if it will be enough this model or we can think to something different.

I also think that have "deterministic"(in the sense of freeze the parameters) run is not ideal

That's an opinion, and not one that's shared by everybody. There are people who believe (and I am one of them) that if we discover 5 tests and then say "run all" with no changes to the source, then those 5 tests should run. In the past, that was not true, because Test Explorer would say "Run All" without context, and if the data set isn't stable, it's impossible to get those 5 tests again.
The only way to rationalize this was to tell people to turn off pre-enumeration of unstable datasets.

I change my tests and I do run all, I'd like to see all my tests to run also the new one, so that run all should really run all and update the ux accordingly

There is a UX difference between "I wrote a new test" or "I changed a test" vs. "I just built my source, I see all the tests, now run them". What you're describing is the former, and what my post was written about was the latter.
For your scenario, this is really up to Test Explorer to do the right thing here with "run all" by making tests that no longer exist disappear, and showing the results for new tests that it wasn't informed about ahead of time. As previously noted, simply doing a build + discover + run all isn't going to be sufficient when datasets aren't stable (not to mention the re-discover pass, aside from being ineffective, would also be a waste of time).
I will say that even now with TPv2, trying to use TestExplorer.RunAllTestsInContext to run a test I just wrote, or a theory where I changed/added/removed data, to be something that's very hit or miss: sometimes it's runs it correctly, sometimes it runs it partially, and sometimes it doesn't run it at all.
This is behavior we can't control. Test Explorer is the one that needs to behave better here.

Rebuild should re-discover the new ids.

It does.  This part does at least work with TPv2, and I'm concerned that with MTP this is going to be a regression for people: they won't be able to look at a single data row test in Test Explorer and know for certain that they'll be able to run it unless they know the dataset is stable.

It's on the adapter decide if fold unstable tests with common id or different id(hash based on args)

xUnit.net does not (and cannot) know that data is unstable. Only the developer who writes the data source can know this. That's why we tell people to turn off pre-enumeration with unstable data because of the way Test Explorer has been broken with this in the past. It sounds like we will continue to have to make this recommendation because the design of MTP makes it impossible for us to present an unstable data row to Test Explorer and allow the user to run it.

That's an opinion, and not one that's shared by everybody. There are people who believe (and I am one of them) that if we discover 5 tests and then say "run all" with no changes to the source, then those 5 tests should run. In the past, that was not true, because Test Explorer would say "Run All" without context, and if the data set isn't stable, it's impossible to get those 5 tests again.

This is true, but is it correct? Suppose I have a database/csv I discover and I get 5 tests, I go to the source and I remove 2 and I run all and 5 will run. Is it correct to say that I'm running the correct set of expected tests?

For your scenario, this is really up to Test Explorer to do the right thing here with "run all" by making tests that no longer exist disappear, and showing the results for new tests that it wasn't informed about ahead of time. As previously noted, simply doing a build + discover + run all isn't going to be sufficient when datasets aren't stable (not to mention the re-discover pass, aside from being ineffective, would also be a waste of time).
...
This is behavior we can't control. Test Explorer is the one that needs to behave better here.

I think that the UX should behave better in this case, with different icons to notify that something changed. But run a "temporary" snapshot looks to me is not running what will run when I'll open the PR or in CI.

It does.  This part does at least work with TPv2, and I'm concerned that with MTP this is going to be a regression for people: they won't be able to look at a single data row test in Test Explorer and know for certain that they'll be able to run it unless they know the dataset is stable.

I need to understand the "real gestures" that cause unstable datasets. Because if we're talking about  a sample where I have a non static source like a csv or a database that I need to expand on the fly and I cannot know using simply reflection(or sources elements) ho many cases I have, my feeling is that the case when we're "unstable" is during the "development" of that specific test, until I've added all my tests I iterate on the discovery and run(and here like above the ux should be better). Or if the input is not stable when "committed" it's not clear to me what user expect to assert, should we assert deterministic case or?

xUnit.net does not (and cannot) know that data is unstable. Only the developer who writes the data source can know this. That's why we tell people to turn off pre-enumeration with unstable data because of the way Test Explorer has been broken with this in the past. It sounds like we will continue to have to make this recommendation because the design of MTP makes it impossible for us to present an unstable data row to Test Explorer and allow the user to run it.

Why the adapter cannot expand and generate the id from the hash(testcase+input)(send back the serialization of the input and deserialize back mimic the same behavior)? In this case the id will be always different or constant if the "input" is not changed. And in the same way during execution the id will be used to filter after expansion, or am I wrong? After it's fine it's a decision of the "adapter" how to do it, if fold everything in 1 test or not and both choices are legit imo.

my feeling is that the case when we're "unstable" is during the "development" of that specific test, until I've added all my tests I iterate on the discovery and run

I think you're conflating two things:

You manipulate the data source (in source code or the database) in order to introduce or modify test data during the development process.

You acquire data from a source which is inherently unpredictable (randomized, based on current date & time, based on the current state of the file system, based on a database which is changing outside the scope of the development process, etc.).

I have no argument that the first is something that should be expected and embraced. What I want is for Test Explorer to be improved to handle it better so that it doesn't require a manual build & discovery stage just to ensure that all the data rows will be correctly reported.
For the 2nd case, we already tell developers to disable theory pre-enumeration when they know the data is not reliably stable. This will be even more important with MTP than TPv2, because at least with TPv2 users could reliably run individual rows that were discovered; without test case serialization, that capability is no longer available.
I can verify that with MTP and 17.12 Preview 2, Test Explorer still behaves poorly in the face of unstable data sets. If the source code changes, it appears to re-run discovery before "Run All", but if the source does not change, it does not re-perform the discovery, and therefore leaves the outdated data row in place and does not report the new data row at all. That includes data that is random/unpredictable, and I also verified that if I read the data from a data file (marked as "copy if newer", and thus part of the compilation process).
So this goes back to why we tell people to stop pre-enumeration when they know the dataset may be unstable. If Test Explorer can be improved to handle this situation better, then it would certainly be better for users with unstable datasets (and we would be able to soften the language of the documentation page).

Why the adapter cannot expand and generate the id from the hash(testcase+input)(send back the serialization of the input and deserialize back mimic the same behavior)?

We do that. I'm not sure why you think we don't.

In this case the id will be always different or constant if the "input" is not changed.

This is already how it works today (with both TPv2 and MTP).

And in the same way during execution the id will be used to filter after expansion, or am I wrong?

This filtering does work when the data has not changed, because the ID is stable. The problem is fundamentally one that has to be fixed in Test Explorer; we can't fix how it handles unexpected situations (like a test being removed and/or a test being added between discovery and execution).

it's a decision of the "adapter" how to do it, if fold everything in 1 test or not and both choices are legit imo

We let the user make that decision, because they're the only ones who can. Otherwise, the only thing we could do would be to disable pre-enumeration entirely, and our users would be very unhappy with this decision. 99%+ of users have stable datasets and we'd be punishing the vast majority of users for the sake of a few.

We do that. I'm not sure why you think we don't.

I need to do another check, I recall when I was running xunit tests suite that for one dataset tests I was running one test and the result were more than one with the same id, I thought was this case of folding, but maybe I've misread.

You acquire data from a source which is inherently unpredictable (randomized, based on current date & time, based on the current state of the file system, based on a database which is changing outside the scope of the development process, etc.).

Ok got it now what you mean, I never saw case like that in our codebases or in my past, I see it a bit antipattern and I've usually discouraged it, I would expect deterministic dataset values or it's hard not have flakiness or make assertions, but for now I think it's fine I don't see these cases as so frequent and if it will be a problem we can add the concept of a custom "metadata" property that an adapter can set and we send back in an opaque way like today.

What I want is for Test Explorer to be improved

I agree on this, I'd like too.

I need to do another check, I recall when I was running xunit tests suite that for one dataset tests I was running one test and the result were more than one with the same id, I thought was this case of folding, but maybe I've misread.

Ah, you're talking about the case where we have multiple test results for a single test case. Yes, this most commonly happens when users disable theory pre-enumeration (or the data is not serializable). Because of our need to support TPv2, the serializability requirement still exists in v3, and as previously mentioned, we recommend users disable pre-enumeration for unstable datasets.
Even if we threw away TPv2 compatibility and removed the serializability requirement, we're still stuck (worse now, IMO) with the unstable dataset problem that mandates that we return a single test case that ends up with multiple test results.

I see it a bit antipattern and I've usually discouraged it

Personally, I agree, but we don't prevent our users from doing it. 😂


FEATURE: improved emoji selection

This pull request includes the following changes:

a fully revamped emoji picker: fast, accessible and clean
the ability to use an emoji picker when composing a message (accessible from the dropdown actions at the left of the composer)
various fixes to msgactions which were sometimes not showing when mouse hovering
the picker is now correctly showing at the right position when opening it from the reactions list of a message
emoji picker and msg actions are now all out of the live and can only have one instance at a time
fixes the dreaded blank screen on iOS

Chat composer emoji picker:

Message actions emoji picker:

Mobile:


[Question] No instructions for multi-server support?

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Description
There is one previous issue about this but following the instructions on it causes my servers to crash.
I updated multiServer.host to be my public IP on both servers but it did not work.
I have two servers hosted on different machines using the same public IP (different ports).
How do I get cross-server communication enabled?

Put the multi server part of the config of the two servers here, hide the ip.

And what crash is that? Any log?

  "multiServer": {
    "enable": true,
    "host": "<IP_ADDRESS>",
    "port": 5000,
    "name": "Creative",
    "botIds": [
      "752667599162310657"
    ]
  },

and
  "multiServer": {
    "enable": true,
    "host": "<IP_ADDRESS>",
    "port": 5000,
    "name": "SMP",
    "botIds": [
      "752667599162310657"
    ]
  },

are the initial setup. My modified setup is that same config sequence, but my public IP.
My main question is how do I make it work? I have a single bot (I can make more if I need too) but when I replace my hope IP with my public IP and do a /reload in chat, it crashes both servers.

You need to create Discord bot for each of the two servers.
So the multiServer config of the two servers should be the same, only the multiServer.name is different. Order of multiServer.botIds does not matter.
Also, command start times between different servers should differ by at least 15 seconds.
  "multiServer": {
    "enable": true,
    "host": "PUBLIC_IP",
    "port": 5000,
    "name": "NAME",
    "botIds": [
      "BOT_1",
      "BOT_2"
    ]
  },

Why are there multiple botIds in your example?
Also, do I need forward port 5000? If so, which physical machine do I forward it to? My servers are all behind the same IP, but on different physical machines.

Something else I have noticed is that performing a command in chat only sends that command to the last server that started. Is there no way to define which server we want to get stats for or run a console command?

I think you misunderstood what I meant. You need to create bots for each of the two servers on the Discord Application website, which means their tokens will be different. When it is a different bot, you can choose which bot to execute when inputting a command. The port is up to you, and the host is usually filled in whichever server is opened first.

I think you misunderstood what I meant. You need to create bots for each of the two servers on the Discord Application website, which means their tokens and IDs will be different. When it is a different bot, you can choose which bot to execute when inputting a command. The port is up to you, and the host is usually filled in whichever server is opened first.

Okay, so I did that and changed the PUBLIC_IP to my IP, set up new bots, etc. Set my SMP server to port 5000 and my Creative Sserver to 5001 and forwarded the ports accordingly.
I get this message any time someone sends a message from chat:
Jul 19 04:36:46 dekocraft java[6038]: [04:36:46] [JDA MainWS-ReadThread/ERROR]: One of the EventListeners had an uncaught exception
Jul 19 04:36:46 dekocraft java[6038]: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.method_3760()" because "top.xujiayao.mcdiscordchat.Main.SERVER" is null
Jul 19 04:36:46 dekocraft java[6038]:         at top.xujiayao.mcdiscordchat.discord.DiscordEventListener.onMessageReceived(DiscordEventListener.java:547) ~[mcdiscordchat-1_19_x-2.0.0-alpha.6-77da3d48f7deec29.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:382) ~[net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:169) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:127) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:954) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:841) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:819) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:993) [net_dv8tion_jda-5.0.0-alpha.13-dcdc6c1b3c4cb393.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]
Jul 19 04:36:46 dekocraft java[6038]:         at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) [com_neovisionaries_nv-websocket-client-2.14-a79c76b77052a4ef.jar:?]

This ultimately led to the server crashing: https://mclo.gs/teoxSKk

I will clarify that if I set them both back to using localhost instead of my public ip and set the ports back to 5000 on both, then it no longer crashes.
However, while both servers send chat to Discord, only my SMP server receives messages from my Creative server. My Creative server cannot see chats from my SMP server. Despite the configs being identical except for botToken and multiServer.name being different.

All servers should set multiServer.port to exact same.

 Known issue.

However, while both servers send chat to Discord, only my SMP server receives messages from my Creative server. My Creative server cannot see chats from my SMP server. Despite the configs being identical except for botToken and multiServer.name being different.

Try stop all servers. Then start SMP. After 15 seconds start CMP. If still cant, use /reload on discord for both servers.

That's a negative. Setting the IP to use my public facing IP causes that crash. It doesn't matter how long we wait before sending a message.
Once I change my IP in the config to 127.0.01 it doesn't crash, but the servers won't communicate with eachother.

How about treat SMP as main server, set host in SMP as <IP_ADDRESS>, and CMP as the IP to the SMP machine? This is my current case.

Let's say my internal IPs are <IP_ADDRESS> for SMP and <IP_ADDRESS> for CMP. You are saying I should set my config IP for SMP to <IP_ADDRESS> and my config IP to <IP_ADDRESS> CMP (which would point it to SMP) and leave both ports as 5000?

SMP config:
  "multiServer": {
    "enable": true,
    "host": "<IP_ADDRESS>",
    "port": 5000,
    "name": "SMP",
    "botIds": [
      "998807552441721023",
      "998801988781346867"
    ]
  },

CMP config:
  "multiServer": {
    "enable": true,
    "host": "<IP_ADDRESS>",
    "port": 5000,
    "name": "Creative",
    "botIds": [
      "998807552441721023",
      "998801988781346867"
    ]
  },

As SMP was already running with that configuration, I changed the host IP for the CMP config and restarted the server.
The result is that messages sent from SMP show up in CMP, but messages from CMP do not show up in SMP.

Is there any exception logged?

There is nothing logged in the console of either server.

Can you try to execute any command for each bot? See if both servers have the "xx execute /xx command!" message.

I just tested my own server. There seems to be a similar problem, but my problem is the opposite of yours, SMP can receive CMP messages, but CMP cannot receive SMP messages. Will look into it tomorrow.

Further investigation: If I perform /info and select my SMPBot, I get the /info from both servers. If I perform /info and select my CreativeBot, I get only the info from the Creative server.

I test again several times with public ip used (port mapping) today. The is no problem with the multi server feature at all.
I added some logging related to multi server. Can you try the latest build and see if there is any problem?
My config:
SMP (main)
"multiServer": {
  "enable": true,
  "host": "<IP_ADDRESS>",
  "port": 5000,
  "name": "SMP",
  "botIds": [
    "hidden",
    "hidden"
  ]
},

CMP
"multiServer": {
  "enable": true,
  "host": "hidden.hidden.cloud",
  "port": 17645,
  "name": "CMP",
  "botIds": [
    "hidden",
    "hidden"
  ]
},

Do you have port 5000 forwarded to your SMP server and port 17645 forwarded to your CMP server?

The public address hidden.hidden.cloud:17645 = smp_machine:5000 in my port forwarding case.
Need to start (/reload) SMP first, then start (/reload) CMP. Emmm if your machine is fast enough I think you just need to wait for around 2 seconds before starting CMP.
In my case, when CMP is started first, multi server will fail to create to create the server socket: (CMP)
...
[16:03:42] [main/INFO]: -----------------------------------------
[16:03:42] [main/INFO]: MCDiscordChat (MCDC) 2.0.0-alpha.6
[16:03:42] [main/INFO]: By Xujiayao
[16:03:42] [main/INFO]:
[16:03:42] [main/INFO]: More information + Docs:
[16:03:42] [main/INFO]: https://blog.xujiayao.top/posts/4ba0a17a/
[16:03:42] [main/INFO]: -----------------------------------------
...
[16:01:38] [Thread-9/INFO]: [MultiServer] Connected to the server
...
[16:01:41] [Thread-10/INFO]: [MultiServer] Disconnected from the server
...
[15:42:22] [Worker-Main-14/INFO]: Preparing spawn area: 0%
...

This is a normal success case: (SMP)
...
[15:41:37] [main/INFO]: -----------------------------------------
[15:41:37] [main/INFO]: MCDiscordChat (MCDC) 2.0.0-alpha.6
[15:41:37] [main/INFO]: By Xujiayao
[15:41:37] [main/INFO]:
[15:41:37] [main/INFO]: More information + Docs:
[15:41:37] [main/INFO]: https://blog.xujiayao.top/posts/4ba0a17a/
[15:41:37] [main/INFO]: -----------------------------------------
...
[15:41:39] [Thread-9/INFO]: [MultiServer] Server has been created and is listening on port 5000
...
[15:41:40] [Thread-9/INFO]: [MultiServer] Connected to the server
[15:41:40] [Thread-11/INFO]: [MultiServer] A client is connected to the server
...
[15:41:48] [Server thread/INFO]: Time elapsed: 4121 ms
[15:41:48] [Server thread/INFO]: Done (4.720s)! For help, type "help"
[15:42:15] [Thread-19/INFO]: [MultiServer] A client is connected to the server
[15:42:23] [Thread-12/INFO]: [CMP] **Server started!**
...
[15:43:12] [Thread-12/INFO]: [CMP] **Xujiayao joined the game**
[15:43:25] [Thread-12/INFO]: [CMP] <Xujiayao> /log tps
[15:44:16] [Thread-12/INFO]: [CMP] **Xujiayao has made the advancement [Sweet Dreams]**
[15:45:09] [Thread-12/INFO]: [CMP] **Xujiayao left the game**
...
[15:54:40] [Thread-19/INFO]: [MultiServer] A client has disconnected from the server
[15:54:40] [Thread-12/INFO]: [CMP] **Server stopped!**
...
[15:54:50] [Server thread/INFO]: Stopping the server
[15:54:50] [Thread-11/INFO]: [MultiServer] A client has disconnected from the server
[15:54:50] [Thread-12/INFO]: [MultiServer] Disconnected from the server
[15:54:50] [Thread-10/INFO]: [MultiServer] Server has stopped
[15:54:50] [Server thread/INFO]: Stopping server
[15:54:50] [Server thread/INFO]: Saving players
[15:54:50] [Server thread/INFO]: Saving worlds
[15:54:51] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[15:54:51] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[15:54:51] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[15:54:51] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[15:54:51] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[15:54:51] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[15:54:51] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved

This does not work for me and I cannot for the life of me see what I'm doing differently than you. For reference, I am using MCDiscordChat-2.0.0-alpha.6.jar
SMP:
 "multiServer": {
    "enable": true,
    "host": "<IP_ADDRESS>",
    "port": 5000,
    "name": "SMP",
    "botIds": [
      "BOT_1",
      "BOT_2"
    ]
  },

CMP:
  "multiServer": {
    "enable": true,
    "host": "PUBLIC_IP",
    "port": 5001,
    "name": "Creative",
    "botIds": [
      "BOT_1",
      "BOT_2"
    ]
  },

I also have PUBLIC_IP:5001 forwarded to SMP:5000
I restart (or /reload) SMP and wait until it fully loads. Then I restart (or /reload) CMP and wait until it fully loads. The result is that Chat from SMP shows up in CMP, but chat from CMP does not show up in SMP.
Now, when I reload SMP I get the following in the console:
Jul 20 15:36:51 dekocraft java[10942]: [15:36:51] [Thread-706/INFO]: [MultiServer] Server has been created and is listening on port 5000
Jul 20 15:36:52 dekocraft java[10942]: [15:36:52] [Thread-706/INFO]: [MultiServer] Connected to the server
Jul 20 15:36:55 dekocraft java[10942]: [15:36:55] [Timer-14/ERROR]: Uncaught exception in thread "Timer-14"
Jul 20 15:36:55 dekocraft java[10942]: java.util.NoSuchElementException: null
Jul 20 15:36:55 dekocraft java[10942]:         at java.util.HashMap$HashIterator.nextNode(HashMap.java:1599) ~[?:?]
Jul 20 15:36:55 dekocraft java[10942]:         at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?]
Jul 20 15:36:55 dekocraft java[10942]:         at java.util.Collections.min(Collections.java:601) ~[?:?]
Jul 20 15:36:55 dekocraft java[10942]:         at top.xujiayao.mcdiscordchat.multiServer.MultiServer$1.run(MultiServer.java:113) ~[mcdiscordchat-1_19_x-2.0.0-alpha.6-77da3d48f7deec29.jar:?]
Jul 20 15:36:55 dekocraft java[10942]:         at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:?]
Jul 20 15:36:55 dekocraft java[10942]:         at java.util.TimerThread.run(Timer.java:516) ~[?:?]

When I /reload CMP, I get the following in the console:
Jul 20 15:37:03 dekocraft2 java[20876]: [15:37:03] [Thread-43/INFO]: [MultiServer] Connected to the server

Again, messages from SMP show up in CMP, but messages from CMP do not show up in SMP.

You can download the current latest build here, file name and version is the same but code inside is different from the latest release version.
My full config: (To see if there is any difference from yours)
smp.txt
cmp.txt
You may upload your config (hide sensitive data) of both servers here for me to test.
I still cannot reproduce 'messages from SMP show up in CMP, but messages from CMP do not show up in SMP', but I did encounter similar problem when I was writing multi server code a long time ago.
That NoSuchElement exception is really weird, seems even smp itself did not react to the broadcast request of information for updating channel topic. If the same problem occurs again, please upload the full log file, thx.

My SMP server won't start with the latest version. It crashes on startup with the following error:
Jul 20 20:39:04 dekocraft java[20797]: [20:39:04] [JDA MainWS-WriteThread/ERROR]: WebSocket connection was closed and cannot be recovered due to identification issues
Jul 20 20:39:04 dekocraft java[20797]: CloseCode(4014 / Disallowed intents. Your bot might not be eligible to request a privileged intent such as GUILD_PRESENCES, MESSAGE_CONTENT, or GUILD_MEMBERS.)
Jul 20 20:39:04 dekocraft java[20797]: [20:39:04] [main/ERROR]: java.lang.IllegalStateException: Was shutdown trying to await status
Jul 20 20:39:04 dekocraft java[20797]:         at net.dv8tion.jda.internal.JDAImpl.awaitStatus(JDAImpl.java:493)
Jul 20 20:39:04 dekocraft java[20797]:         at net.dv8tion.jda.api.JDA.awaitStatus(JDA.java:320)
Jul 20 20:39:04 dekocraft java[20797]:         at net.dv8tion.jda.api.JDA.awaitReady(JDA.java:370)
Jul 20 20:39:04 dekocraft java[20797]:         at top.xujiayao.mcdiscordchat.Main.onInitializeServer(Main.java:83)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:63)
Jul 20 20:39:04 dekocraft java[20797]:         at net.minecraft.server.Main.main(Main.java:101)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69)
Jul 20 20:39:04 dekocraft java[20797]:         at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69)```

I've reverted back to the .jar available on Curseforge and will just live with the fact that multiserver doesn't work

The latest version requires you to MUST enable the following MESSAGE_CONTENT intent on Discord Developer Portal. This has always been written in the docs. You probably did not set up discord bots according to the docs.


[OTEL-2047] Fix flaky APM stats bucket test

What does this PR do?
Fix flaky APM stats bucket test TestTraceAgent
Motivation
Stats in test can be in one or multiple buckets. Cannot assume there is exactly one bucket

/merge


recipe file contents yaml formatting correction

Recipe file contents yaml formatting correction

What's changed?
Corrected yaml formatting in the example provided
What's your motivation?

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?
@timtebeek
Have you considered any alternatives or workarounds?

Any additional context

Checklist

[ ] I've added unit tests to cover both positive and negative cases
[ ] I've read and applied the recipe conventions and best practices
[ ] I've used the IntelliJ IDEA auto-formatter on affected files

Thanks @ashutoshk2206 ! I've also pushed up a matching change to openrewrite/rewrite, as the docs are generated from the examples listed there:

https://github.com/openrewrite/rewrite/commit/f9d71bc0b29404da5ac0cff2455b733de57a2433


Server not starting / unavailable

Hi, working on an m1 MAC with --platform linux/amd64 specified on docker run.
docker run -d --platform linux/amd64 --name ark1 -it --rm -p 27020:27020/tcp -p 27015:27015/udp -p 7778:7778/udp -p 7779:7779/udp -v "${HOME}/steam:/home/steam/.steam" -v "${HOME}/ark/srv1:/home/steam/server" -v "${HOME}/ark/arkdata:/home/steam/arkdata" -e PORTGAME=7779 -e PORTRAW=7778 -e PORTQUERY=27015 -e PORTRCON=27020 -e SERVERNAME=ASERVER -e MAP=TheIsland -e ADMINPW=APASAS -e CLUSTERID=ACLUSTER -e SERVERPW=APWD -e CPU_MHZ=2500 dockrbyter/arksurvivalevolved
It all updates installs etc just fine and i end up with this:
`WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
Success! App '376030' already up to date.
Shutdown handler: initalize.
Using binned.
4.5.1-0+UE4 7038 3077 404 10
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110`
I am never able to find the server, doing netstat -a | grep  only shows 27020 & 27015. 7778 & 7779 Do not snow

Hey Friend, sry, currently on a long trip, so I'm a litte off these days....
It looks to me, that you just should give the container a litte more time. The first start could take up to 20 minutes... And ignore the steam errors, they are commen and don't break the server. The Ports 7778 and 7779 are for RCON or stuff like that, 27015 is the important one ;) Reopen this issu if you want to but first you shoud start your container and go away for a while. Have a cofe or somethin like that... Have fun and good luck :D


Duplicacy Admin Auth Page

When using organizr-dark.css and setting authentication with Duplicacy my eye cells die

Where is the menu, I dunt use it.

If you enable the administration password on it under Settings when you visit duplicacy.domain.com you'll get the page


[NEW] Display a view in a chat room in case it has no chats

@RocketChat/android
Closes https://github.com/RocketChat/Rocket.Chat.Android/issues/896
Screenshots:

@leonardoaramaki can you provide a drawable and information regarding its size and color of the text for this?

@filipedelimabrito I have made the requested changes

@leonardoaramaki is the drawable ready?

@leonardoaramaki @rafaelks @filipedelimabrito I have resolved some fresh conflicts, I can add the drawable if its ready.


changed Init to only watch top level folder

Init function can only watch for one level deep inside a directory. Since Load will only load templates from first level, there is no need to watch for nested directories.

Thanks, I honestly don't have time to Go though this but I just have a couple of questions then I will use best judgement to merge the code.
Have you verified, that updating content of already created file in the watched directory triggers the reload?

Yes I did verify it on my end. for example watch a directory like blow:

top
-sub
-bar.tpl
foo.tpl
if you watch "top" folder and you change any file in sub folder, it then triggers the reload. I used in one of my projects, thanks for creating this. cheers

Awesome


[MI-2968]: Add inverted and destructive button styles with size variants

Ticket ID
https://brightscout.atlassian.net/browse/MI-2968
Description

Add inverted and destructive styles
Add size variants for Button
Add prop for fixed width

Screenshot

Please check on focus for destructive button, There's a jump
https://user-images.githubusercontent.com/54993680/231222616-0358e67f-0dae-4557-942b-9a322fb39607.mp4

Please check for all buttons on different sizes, on focus there's a jump https://user-images.githubusercontent.com/54993680/231222616-0358e67f-0dae-4557-942b-9a322fb39607.mp4

Fixed


Migrate evaluation_service from motoor to odmantic

Is your feature request related to a problem? Please describe.
We have decided to use mongodb together with odmantic (https://art049.github.io/odmantic/) for our backend. This provides seamless integration with fastapi and pydantic.
Describe the solution you'd like
we want to migrate evaluation_service from motoor to odmantic

Hello @mmabrouk. Is this task still in backlog or are there any immediate plans of moving it to the current sprint?

Hello @seun-beta . The current sprint just has the high priority tasks, we are not limited by it :)
So, if you'd like to take this over, I'd be happy to assign it to you!


Installation fails: cannot download snapshot

Hello
I'm trying to follow the setup process for the hello world sample.
I installed the last version of Intellij idea CE, downloaded and installed kotlin-plugin-1.1-M01.zip.
Importing the gradle hello world sample fails with a "resolve error" message.

Please try again with the latest version.

It might have been a hiccup in the server hosting our distributions, please try again against the latest version of the repository.
Remember NOT to accept IDEA's suggestion of using a different distribution.

it works now. Thx.


Add maintainers

@jaimergp and @simonbray have graciously maintained this package feedstock for several years, but we'd like to make a push to train up a primary maintainer inside the AMBER community. This PR adds @dacase so that he has merge access and can add other members of the AMBER community, as well as other folks from the simulation community who can hopefully help out with the transition and and take weight off @jaimergp's shoulders!

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Ensured the license file is being packaged.

👍

This is pulled into #102 - consent there and this PR can probably be closed.

Superseded by #102


test(projectrc): add more tests

Current dependencies on/for this PR:

main

PR #30

PR #31

PR #32   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 10, 1:58 AM: @@luxass merged this pull request with Graphite.


Guidance on using FieldReflector

Looking for some guidance on how to use the FieldReflector directory.
I've got a list of three strings that comes from a third part web service (dynamically). I want to present those strings to my user in the form of a choice list, i.e.

string A
string B
string C

The user should be able to reply with "1" and then "String A" should be set as the value of that particular field (which is a string field). I've been fiddling around with FieldReflector to get this to work, but haven't found the solution yet. What I'm doing at the moment:
foreach (var recentAccount in recentAccounts)
{
    fieldReflector.AddDescription(recentAccount.AccountId, recentAccount.AccountName);
    fieldReflector.AddTerms(recentAccount.AccountName);
}

But this doesn't seem to work, nothing really happens. A simple example of how it should be done would be nice! :)

Never mind, going to answer my own question. This does what I need it to do:
private FieldReflector<TimeRegistrationModel> BuildCustomerField(ExactOnlineConnector connector)
{
	TimeRegistrationConnector timeConnector = new TimeRegistrationConnector();
	var recentAccounts = timeConnector.GetRecentAccounts(connector);

	var reflector = new FieldReflector<TimeRegistrationModel>(nameof(TimeRegistrationModel.Customer));
	reflector.SetType(null);
	reflector.SetDefine((state, field) =>
					{
						foreach (var recentAccount in recentAccounts)
						{
							field
							.AddDescription(recentAccount.AccountName, recentAccount.AccountName)
							.AddTerms(recentAccount.AccountName, recentAccount.AccountName);
						}
						return Task.FromResult(true);
					});

	return reflector;
}


LogsActivity and CausesActivity collisions?

Just tried to use both on my User model and I got this error:
Trait method activity has not been applied, because there are collisions with other trait methods on App\User

Duplicate of #224


travis: add cache configuration for $GOPATH/{src,pkg}

Should speed up tests by about 40 seconds.

Happy for you to merge this.


@slack/bolt - how to implement  cursor in method conversation History?

[ ] questionhi ,

Hi,
I'm trying to get all the conversations from a channel.
I'm using this code from your documentation:
https://api.slack.com/methods/conversations.history/code
// Require the Bolt for JavaScript package (github.com/slackapi/bolt-js)
const { App, LogLevel } = require("@slack/bolt");

const app = new App({
token: "xoxb-your-token",
signingSecret: "your-signing-secret",
// LogLevel can be imported and used to make debugging simpler
logLevel: LogLevel.DEBUG
});
// Store conversation history
let conversationHistory;

// Fetch conversation history using ID from last example
async function fetchHistory(id) {
try {
// Call the conversations.history method using the built-in WebClient
const result = await app.client.conversations.history({
// The token you used to initialize your app
token: "xoxb-your-token",
channel: id
});

conversationHistory = result.messages;

// Print results
console.log(conversationHistory.length + " messages found in " + id);
}
catch (error) {
console.error(error);
}
}

fetchHistory("C24601");
Hide code to run app
(async () => {
// Start your app
await app.start(process.env.PORT || 3000);

console.log("⚡ Bolt app is running!");
})();

how can I use the next_cursor to get all the pages/data?
is there a method that I can add to this code?
Thanks,

Hello @avichaigrunseid
you can get next cursor by accessing result.response_metadata.next_cursor and pass the value as cursor in the next API call.

@avichaigrunseid Let me know if you need more help here 👋 I will be closing this issue after waiting for your response for a few more days.


Unable to use Studio after upgrading to 3.0.14

OrientDB Version: <3.0.14>
Java Version: <8>
OS: <Linux Ubuntu 16.04>
Expected behavior
OrientDb Studio connects to an existing database
Actual behavior
OrientDb server response with an internal server error 500 due to the following exception:
com.orientechnologies.orient.core.exception.OStorageException: Database is locked by another process, please shutdown process and try again"
Steps to reproduce
We are in the process of upgrading from 2.2.37 (where this worked as expected) to 3.0.14, OrientDb is embedded in our application and using plocal.

Start the application
Try to connect to the database via OrientDB Studio.

Hi @helgiv
did you upgrade to the new version of Studio?
Thanks
Luigi

Hi @luigidellaquila,
Yes, we did upgrade to the newest version of the Studio. And, by the way, we're getting the same error when using the console.sh.
Thanks,
Helgi.

Hi, @helgiv are you sure that you do not have another process which uses the same database? If you move files to another location do you still experience this error?

Hi if that is still an issue we can work on the solution. Otherwise, it will be closed.


Update "node" engine version

This fixes CI for perf-monitor. yarn checks for this and refuses to install a package if it's not compatible with the current Node.js version.

I know about --ignore-engines, but I just feel ignoring engines is a bad idea. It could cause runtime issues that go undetected at build time. Packages specify their engines for a reason and it's nice that yarn checks the engines.


Typo in feature.yml section

typos I found after reading the Feaure.yml section:-

Originally :- id: whats-your-idea
Correction:- id: what's-your-idea

Originally :- id: whats-your-solution
Correction :- id: what's-your-solution

@jfmartinz Please let me fix these issues.

Please assign it to me

Assigned it to you! 👍

@jfmartinz Thank you for assigning the task to me!


[GITHUB-18] State absent will remove users

Currently implemenation is missing remove and force parameters
from the user module, these are required for acually removing
and account.

LGTM :+1:

Pure Awesomeness!

LGTM 👍


No directories at home

0E186-12.2
It looks like the user directories haven't been created

...and it seems the style of the menu went haywire.

It is installed system, I don't remember how it was in Live ISO, because I installed it immediately.
I opened another issue (in Filer) about the menu bar - there are two of them - one underneath another, in the Live ISO as well as in the installed system.

It's on the live iso too. Also, ~/Desktop is a hidden folder, is this by design?

~/Desktop is a hidden folder, is this by design?

Yes, because as per the spatial design philosophy, the desktop is, well, on the desktop, and not in a folder.

the user directories

Can you elaborate what you mean by "the user directory"? As per your screenshot, it looks like the $HOME directory for your user was created and correctly populated with files like .Xauthority and so on.

the user directories

Can you elaborate what you mean by "the user directories"?
I meant ~/Downloads, ~/Documents etc...

Now I understand. Thanks.

Should be fixed in the next experimental builds. Thank you very much.


Device orientation bug

Hi there,
I've noticed that there is bug when device orientation comes into place. To reproduce the error select an image from the main view, it takes you to destination controller, then change device orientation and go back, the collection view stays in the previous orientation and do not updates. Could you advice a solution for this problem ?

I'm seeing this problem as well.

Not sure how good the solution is, but I fixed this for myself by changing ZoomTransitioning.swift
In animateTransitionForPop under the line that sets containerView:
let containerView: UIView = transitionContext.containerView // under this line
sourceView.frame = containerView.frame
The issue seems to be that sourceView still has its old frame. Setting its frame to be equal to containerView fixed the issue for me.
I also had to update my ZoomTransitionSourceDelegate for the pop case:
I needed to add something like:
func transitionSourceImageViewFrame(forward: Bool) -> CGRect {
if !forward {
UIView.performWithoutAnimation {
view.setNeedsLayout()
view.layoutIfNeeded()
}
}
return transitionView.convert(transitionView.bounds, to view)
}
The key was that the view needed to be laid out again to get things in the correct position for animating back to (in the case that the device had been rotated).


Ensure logo colour matches our actual logos

The logo showing in the upper left (and on the login page) somehow got the lighter grey colour. Both the light and dark themes should use our actual logo colours.

For sure. Can you send me final logos and color values please? I thought I had used what you sent in telegram, but it may have been a screenshot or something lost in file format change or something

I think I'd prefer all of the font colours to just be the darker / black one like it was originally rather than the lighter grey.

So the color value of those logos above is #231f20, which is what I currently have for the text and throughout. It's basically just a tiny bit lighter than pure black...Can change it to whatever, but not sure what black you're referring to

The site's font colour is overriding it so for me it's a much lighter grey

Oh weird, any specific spots? Like are the menu items all light grey?

Hmm... it seem to be fine in master now...
I'll re-open this if it comes up again.

This happens on my laptop but not my desktop...

hmmm thats a weird one. What OS and browser? Anything you can see in the dev console that may be causing it? maybe a different css variable value somehow getting used? Although that wouldnt explain the logo image looking different...what happens if you open the image in a new tab?

Windows 11, Brave.

What about if you open the logo in a new tab? Does it still looked washed out?

Hmmm... yeah it does... I wasn't expecting that.

Hmmm yeah thats a bit weird. Maybe isolated to your screen then? idk I havent seen it happen on my end. If you inspect the menu items css, are they assigned #231f20 (in light mode) for their color?

I'm getting it on all browsers I've tried (Brave, Chrome, and FF)... don't think it's a Windows setting but I'll keep looking.

I'm removing this from the v1 MVP milestone as I can only reproduce this on my laptop for now.

This also happens on my desktop but I have a feeling that it's a Windows 11 theme issue.


Automate the reboot of nodes

The Metal nodes were previously set to automatically reboot. That automation was broken by later changes.
Trigger the reboots through automation.

The reboot provision block could be moved to the create_cluster.sh script as a background task:
https://github.com/equinix-labs/terraform-equinix-metal-eks-anywhere/blob/f5fef49a026fdf88620d25bad6ba5b32f4c9831f/main.tf#L191-L218
# cluster create script
(sleep 300 && reboot_nodes.sh ) &
# more of the cluster create script
# eksctl waits for the nodes here

We should get a message that the nodes will be rebooted from the script change above.
If not, we'll want to inform the user when this message appears. (we may need to update the README.md to do this)
null_resource.create_cluster (remote-exec): Creating new workload cluster


Fix a link to TensorBoard's profiler in Profiling JAX Programs

The link to TensorBoard's profiler how-to in the Profiling JAX Programs guide had an extra >. This PR fixes it.

Thanks!


[FancyZone] Save with FSLogix generate error

When i save custom fanyzones layout with fslogix i get an error indicating that the File C:\Users[username]_local[User AppDataLocal Dir]\Temp\FancyZones\AppliedZoneSets.json could not be found (Could not found part of the path)

Can show some screenshots?

@enricogior, what process actually does the saving here?  Editor or the FZ main app?

cause i'd imagine we're just using the default env vars

@markusg80 what version of Windows / PowerToys are you on?

I use Windows 10 1809 LTSC and Powertoys 0.25

Maybe the env point could be possible problem because Fslogix exclude the temp dir to the usernam_local directory. But insteed you should write to the %Temp% durectory

@crutkas
it's the FZ Editor.
We call a system API to get the user's %Temp% dir path https://github.com/microsoft/PowerToys/blob/0350a3e2dc8daa906d3d7a7d3ada3ece685e6059/src/modules/fancyzones/editor/FancyZonesEditor/Models/Settings.cs#L138
This has to be the user temp folder, not a system temp folder. If FSLogix  doesn't support it, it seems to me it's a bug in FSLogix.

So the function getTempPath mentioned by @enricogior calls getTempPath from kernel32.dll. Doc stats:
The GetTempPath function checks for the existence of environment variables in the following order and uses the first path found:
The path specified by the TMP environment variable.
The path specified by the TEMP environment variable.
The path specified by the USERPROFILE environment variable.
The Windows directory.
So maybe you can read directly a good env var

Or docs from Fslogix stated this registry tweak:
SetTempToLocalPath
Type DWORD
Default Value 3
Data values and use A value of '0' means, "Take no action". A value of '1' means, "Redirect TEMP and TMP to the local drive". A value of '2' means, "Redirect INetCache to the local drive". A value of '3'means, "Redirect TEMP, TMP, and INetCache to the local drive."
I have to check this tomorrow

https://docs.microsoft.com/en-us/dotnet/api/system.io.path.gettemppath?view=net-5.0&tabs=windows is what we are using,  This is a standard call so this is outside PowerToys


Clearing House Communication broken links

I'm looking at the ClearingHouse documentation, but the links to the different message types lead to 404 pages.

For those with access to IDS-G-pre: https://github.com/International-Data-Spaces-Association/IDS-G-pre/blob/main/Components/ClearingHouse/IDSA-White-Paper-Specification-IDS-Clearing-House-DOI.pdf

Ah I see I don't have permissions there (anymore), hence the 404.

Seems this broken when moving this from IDS-G-Pre to IDS-G. But the links are pointing to the wrong place anyway. They should directly point to the respective message type, not the structure document. @ssteinbuss @kragall


nocamlp4

any plan to remove the camlp4 dependency? There's a new version of sexplib which just uses ppx.

I believe so, x509 is already being ported over: https://github.com/mirleft/ocaml-x509/pull/75

It's in master, rel pending.
I still wish we had a solution for for findlib warning that is DDOSing the build:
findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib/ocaml/compiler-libs, /usr/lib/ocaml
+ /home/self/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '--std=c99' -ccopt -Wall -ccopt -Wextra -ccopt -Werror -ccopt -O3 -ccopt -DACCELERATE -ccopt -msse2 -ccopt -maes -w A-4-29-33-40-41-42-43-34-44 -package zarith -package sexplib -package ppx_sexp_conv -package cstruct -I src -o src/nocrypto.cmi src/nocrypto.mli

`make 2>&1 | grep -v '[WARNING] Interface topdirs'  :D
Out of curiousity, what is the real cause for the warnings? I'd also like to fix them.

I think @samoht was looking into this, it seems the toplevel directives (topdirs) are apparently part of the compiler and the compiler libs and the file is duplicated.
@pqwy: Thanks for merding; I agree, this should get fixed soon to avoid this useless noise.

I still wish we had a solution for for findlib warning that is DDOSing the build:

There is an environment variable responsible for this: OCAMLFIND_IGNORE_DUPS_IN. If you set it
     export OCAMLFIND_IGNORE_DUPS_IN=`opam config var lib`/compiler-libs

The boring messages will disappear.
You can also put this into your build system. For example, if you're using oasis, then setup.ml is a good place to put Unix.putenv.

Out of curiousity, what is the real cause for the warnings? I'd also like to fix them

One of the ppx libraries is using compiler-libs library (if I recall it correctly it is ppx-driver). It just happens, that this library duplicates topdir module. I suspect that it is already fixed in the trunk.

and thank you for the merge!


Running az webapp create-remote-connection for an Application Service Environment (ASE) hosted app service

When I run az webapp create-remote-connection for an Application Service Environment (ASE) hosted app service I get the following response:
The command failed with an unexpected error. Here is the traceback:

HTTPSConnectionPool(host='myappservice.scm.onmydomain.com', port=443): Max retries exceeded with url: /api/settings (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fea6b21aa20>: Failed to establish a new connection: [Errno -2] Name or service not known',))

Is there support for ASE hosted app services?

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

ID: ba71e4a3-6788-f299-779c-0f4bf64bf4c4
Version Independent ID: f798b0a5-26ed-1e9c-afcd-a864b9e5e4e1
Content: SSH access for Linux containers - Azure App Service
Content Source: articles/app-service/configure-linux-open-ssh-session.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@cveld Thanks for the feedback! We are currently investigating and will update you shortly.

@cveld Thanks again for the feedback!  SSH command establishes a ssh session to the web container and developer would get a shell terminal remotely.
This has been moved to core as preview please use that https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-ssh
You may refer this link:  https://github.com/Azure/azure-cli-extensions/issues/550
Let me know if issue persists.

@cveld Since We didn't here back from you. We will now proceed to close this thread. If there are further questions regarding this matter, let us know. We will gladly continue the discussion.


Include actor scheduling in "Watch the asynchrony"

As it can also impact perfomance negatively, it should be included in the cheatsheet when talking about 'too many actors'.

I'm not sure I agree this should be added.
I am sure that I don't think it should be added as a small note. I think at best, this is likely to generate FUD.
There's nothing "performance negative" about having more actors than cores. If you throw in a bunch of other factors, then "more actors than cores" could be a contributing factor to a performance issue but unto itself, it isn't. In fact, having more actors and doing things concurrently will improve throughput up to a certain point depending on a variety of factors.
I think what you are getting at with this Eric shouldn't be part of a cheatsheet but could be a deep an in-depth article unto itself.


Babbage Formal Spec PV2 TxInfo Construction Incorrect for Signatories field

The Babbage formal spec states that the Signatories field of the TxInfo construction uses the key hashes from the transaction witnesses, but I think this should actually say reqSignerHashes from the transaction body.

Good find! There is the same issue in the Alonzo spec, so it was probably just copied from there.


Latitude is incorrect when adding a point [DEPENDS ON #10881]

Context
re: https://github.com/CartoDB/cartodb/issues/10881
Steps to Reproduce

create a map
add a point out of latitude bounds
point is added inside bounds
drag point outside bounds

Current Result
there is no validation of latitude in lnglat feature form
Expected result
there should be validation of latitude in lnglat feature form "Latitude is out of bounds"
Additional info

Duplicated https://github.com/CartoDB/cartodb/issues/10881 ❤

PR: https://github.com/CartoDB/cartodb/pull/11060

Hey #10881 is already merged :).

Thanks!


Composition of regular slices

I believe rewrite composition is still broken on alpha. See #705 and #713. This is really problematic as it means the wellformedness checks may give false negatives (which could explain some of the malformed panics we've been seeing).
The issue with composition is computing the regular slices. It's proving impossible to get right, I've had three attempts at fixing it.

Let's discuss in detail on Monday I'm sure we can sort this.

I think I might have already sorted it. I realised now we only use composition for the wellformedness checks (which discard labels) so we can just compute the regular slices like we would in an unlabelled rewrite.

Yes certainly, you can just ignore the regular slice data for the original rewrites for this purpose.

Fixed by 11e0d73978a686079fb5649585d33544435b63be

Fantastic!!


Padding depending on screen size

Hi everyone,
I'm quite new on vuesax, and I would like to know if there is any helpers to add some padding to an html element depending on the device screen size.
I can do it using some workaround, but I'm pretty sure there is something on the vuesax side to do it, but can't find it :(.
For example, something like that would only apply a right right of 3 if the devise screen is large.
vs-col.pr-3-lg

Thanks by advance 👍

@luisDanielRoviraContreras any advice ?

Hi everyone, I would appreciate if anyone can help me on this :+1:
Or if there is no solution, that we close the issue, so I can move forward


filter by created_on for results resource

Added support in API for results resource to allow filtering by created_on.

@camd is @vaidik's work still relevant to the project and if yes, can we merge this?

I think this actually should still be fine, yeah.  Though I think there may be merge conflicts.  I'll do so into a local branch and push it up to master.


Compiling with xcodebuild?

Is anyone able to compile a react-native app with xcodebuild? I can compile regular Swift apps normally, but not React:
$ xcodebuild clean build -scheme MyApp
2015-03-27 14:10:33.203 xcodebuild[2284:52159] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6728/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/RuntimeSupport/SDKs/XCSDKPackage.m:202
Details:  Assertion failed: [basePath isAbsolutePath]
Object:   <XCSDKPackage>
Method:   +sdkPackageForNameOrPath:withBasePath:forceCreate:
Thread:   <NSThread: 0x7fde03c2e4c0>{number = 1, name = main}
Hints: None
Backtrace:
  0  0x000000010c95673a -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010c95618f _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010c95647e _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010c9563e0 _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x000000010e3a49f7 +[XCSDKPackage sdkPackageForNameOrPath:withBasePath:forceCreate:] (in DevToolsCore)
  5  0x000000010e261f2d -[PBXTarget createMacroExpansionScopeWithBuildParameters:] (in DevToolsCore)
  6  0x000000010e263807 -[PBXTarget cachedMacroExpansionScopeForBuildParameters:] (in DevToolsCore)
...

Not experienced with iOS dev so wasn't able to make much progress with this. fwiw trying to list build targets with xcodebuild -list -project yields the same error. Running Xcode 6.2, build 6C131e.

@pedro The fix for this is #344

sweet, works now! thanks


Is it possible to post the latest code to Github? This will be very helpful to us.

Hi. I found that your components are very good, because the RC official website does not have the corresponding component packaging, and you have it. This will be very helpful for users who use RC RN, but I found that your components are a bit old compared to the applications on the Apple Store. Is it possible to post the latest code to Github so that we can refer to it if it can't be? the reason?
@ezhilar @kkumaresan  @VISWANTHELIX  @elarasu

We are actively developing the next revision of roverz with additional capabilities, but it would take some more time before we push the code out.
Meanwhile, we are also open for any pull requests and maintainers.

oh, i see.waiting for the next release.

@alleniver the reason is obvious. They've started motetizing their work (which is a good thing and I'm happy for them) so it's doubtful that they'll post any public updates to this project.

@Phr33d0m You're right


Typo "@keep_partition_changes"→"@keep_partition_changes"

Italic with escape characters
https://docs.microsoft.com/en-us/sql/relational-databases/system-tables/sysmergearticles-transact-sql?view=sql-server-2017

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Corrections confirmed. Thanks.


Experience what is the best way to test a component

Try those:

[x] Test component with vue-test-utils
[x] Extract logic in the component to TS files and test those files

And look at these metrics:

[ ] Which one is easier?
[ ] Which one provides more isolation?
[ ] Which one provides more coverage?

I implemented and tested the sort functionality here.
I extracted the logic to TS files as serverless functions here and tested them here.
Which one is easier?
Testing stateless functions is easier WRT testing components since input and output is more transparent.
Which one provides more isolation?
As soon as they are stateless, isolation will be similar for them.
Which one provides more coverage?
With component tests
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files          |     100 |    98.03 |     100 |     100 |
 GridComp          |     100 |    93.75 |     100 |     100 |
  GridComp.vue     |     100 |    93.75 |     100 |     100 | 1
 GridComp/features |     100 |      100 |     100 |     100 |
  features.ts      |     100 |      100 |     100 |     100 |
-------------------|---------|----------|---------|---------|-------------------

With function tests
-------------------|---------|----------|---------|---------|-------------------
File               | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files          |     100 |       98 |   92.85 |     100 |
 GridComp          |     100 |    93.33 |      50 |     100 |
  GridComp.vue     |     100 |    93.33 |      50 |     100 | 1
 GridComp/features |     100 |      100 |     100 |     100 |
  features.ts      |     100 |      100 |     100 |     100 |
-------------------|---------|----------|---------|---------|-------------------

So we can say that they are similar except function tests cover less function.


Submission time shown in UTC

Enhancement idea:
I think it would be better if the submission date showed the time in local time and not in UTC, primarily on "My submissions" and "Results" tab.

Indeed all times should be in local timezone of the users seeing them

You mean that is the current expected behavior?

no, right now we only use UTC time, but changing it will be useful


TASK: Adjust to Neos 4.1

Switching between versions in the package details doesn't work yet, might be that https://github.com/ttreeagency/OutOfBandRendering/pull/1 wasn't enough or something needs to be fixed here.

See https://github.com/ttreeagency/OutOfBandRendering/pull/2 for the needed changes.


Captioning Process

Community calls need captioning! This could be for the real-time calls and/or the recordings. At the very least, I would like a transcript for recordings.

February 2021 is the first community call (that I'm aware of) with captioning for the recording. I definitely have some questions around this process and how it might be streamlined, but I wanted to note the beginning. Recording on youtube here.


[editor]: Support zip in preview

Please add support for .zip files to the editor preview.
Generated by adamraichu.zip-viewer

Closing as duplicate (of #46 and several others).

Sorry, but I don't plan to support previewing zip files inside of zip files. Instead, use the selective extraction feature to extract the zip you want to preview, then open it normally.


docs: correct TLV-TYPE numbers to match code

Hey @JonnyKong can you review and merge?

@yoursunny thanks for the contribution.


 The look of
Dialogue: 0,0:00:02.71,0:00:02.71,Default,,0,0,0,,betrayal on her snow covered face has haunted my dreams for years

        e1 = SSAEvent()
        e1.start = pysubs2.make_time(s=secs_float)
        e1.end = pysubs2.make_time(s=total_length)
        # e1.style=style
        e1.text = scene
        subs.append(e1)
    subs.save(postvideodir+post_id+'-1.ass')

am i missing something?

Hi @wanghaisheng, in your example ASS file you have zero duration of both subtitles (equal start and end times):
Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,My son threw a snowball at me and I instinctively blocked it with my daughter.  The look of
Dialogue: 0,0:00:02.71,0:00:05.00,Default,,0,0,0,,betrayal on her snow covered face has haunted my dreams for years

Here is how you could create such a file from scratch:
import pysubs2
subs = pysubs2.SSAFile()
subs.append(pysubs2.SSAEvent(start=pysubs2.make_time(s=0.00), end=pysubs2.make_time(s=2.71), text="My son threw a snowball at me and I instinctively blocked it with my daughter. The look of"))
subs.append(pysubs2.SSAEvent(start=pysubs2.make_time(s=2.71), end=pysubs2.make_time(s=5.00), text="betrayal on her snow covered face has haunted my dreams for years"))
subs.to_file("test.ass")

thanks i notice that


JSHINT issues encountered in file restWorker.js

Environment

Declarative Onboarding Version: 1.13
BIG-IP Version: <IP_ADDRESS>

Summary
Checking logs and saw the following:
[azureuser@localhost:Active:Standalone] restnoded # cat restnoded.log | grep declar
Thu, 04 Jun 2020 05:38:55 GMT - finest: [LoaderWorker] triggered at path:  /var/config/rest/iapps/f5-declarative-onboarding/nodejs/restWorker.js
Thu, 04 Jun 2020 05:38:55 GMT - severe: [LoaderWorker] JSHINT issues encountered in file /var/config/rest/iapps/f5-declarative-onboarding/nodejs/restWorker.js, 1 error
Thu, 04 Jun 2020 05:38:55 GMT - severe: [LoaderWorker] /var/config/rest/iapps/f5-declarative-onboarding/nodejs/restWorker.js: line 1199, col 41, If a strict mode function is executed using function invocation, its 'this' value will be undefined.
Thu, 04 Jun 2020 05:38:56 GMT - info: [f5-declarative-onboarding: restWorker.js] Created Declarative onboarding worker
Thu, 04 Jun 2020 05:38:56 GMT - info: starting /shared/declarative-onboarding
Thu, 04 Jun 2020 05:38:56 GMT - info: [WorkerStateManager] Storage worker reports no key for: /shared/declarative-onboarding
Thu, 04 Jun 2020 05:38:56 GMT - info: [f5-declarative-onboarding: doUtil.js] Platform: BIG-IP
Thu, 04 Jun 2020 05:38:56 GMT - info: [f5-declarative-onboarding: restWorker.js] Initial startup
Thu, 04 Jun 2020 05:38:56 GMT - config: [RestWorker] /shared/declarative-onboarding has started. Name:RestWorker
Thu, 04 Jun 2020 05:38:56 GMT - finest: [restnodedOdataAdapter] Forwarder notify callback: {"external":"/mgmt/shared/declarative-onboarding","internal":"/shared/declarative-onboarding","port":8105,"apiStatus":"NO_STATUS"}

Steps To Reproduce
Steps to reproduce the behavior:

deploy new VE, install DO RPM
check logs

Repo for testing = https://github.com/JeffGiroux/f5_terraform/tree/master/Azure/HA_via_api
Did not push DO declaration yet.
Expected Behavior
n/a
Actual Behavior
I'm not sure if this is causing issues or not. Currently not seeing anything with POSTing the DO declaration when it actually takes. However, i have had multiple deployment attempts where terraform sends CURL to POST DO and I don't get a response back...as if DO isn't ready yet or endpoint doesn't exist. If that was the case, I would assume the restnoded would have a related log saying endpoint doesn't exist. Normal behavior is to get a 202:running response from DO when I POST. Not sure if the issue with restWorker.js JSHINT error and my DO issue are related.

The JSHINT errors do not prevent Declarative Onboarding from starting or functioning normally. However, we are cleaning them up to avoid any further confusion.


fix: Added stricter validation for Mongo pipeline

Description
Fixes #5326, by making JSON string validation more strict.
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Test case is added testAggregateCommandWithInvalidQuery

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=9d8d980

Merging in since tests have passed successfully.


new vector asset for 404 page

suggesting a new vector for the 404 page and tagging it hacktober fest accepted if you like it please.

assign me this issue, I would like to work on it


(addons/aws-loadbalancer-controller): AWS Load Balancer Controller does not support Helm configuration option values

Describe the bug
According to the docs, the AWS Load Balancer Controller supports the standard helm configuration options.
However, the source code does not use the values option at all, and does not pass it to the created helm chart.
Expected Behavior
Setting the values option on AwsLoadBalancerControllerAddOn passes values to the HelmChart construct (unless they are overridden by the AddOn itself).
Current Behavior
Setting the values option on AwsLoadBalancerControllerAddOn has no effect.
Reproduction Steps
Pass values to the AddOn:
const addOn = new blueprints.addons.AwsLoadBalancerControllerAddOn({
  values: {
    tolerations: [{ key: "node-role.kubernetes.io/master", effect: "NoSchedule"}],
  },
});

The values will not get added to the Helm Chart in the Cloudformation template.
Possible Solution
To fix the issue, options.values should be injected here:
https://github.com/aws-quickstart/cdk-eks-blueprints/blob/main/lib/addons/aws-loadbalancer-controller/index.ts#L105
From a wider perspective, it might be a good idea to add injection of options.values in the addHelmChart of the Helm AddOn itself, that way, all Helm AddOns will automatically have the functionality that their props claim to support (adding the values argument to the Helm chart), whether or not they remember to inject options.values themselves. See the workaround below for a sense of how this would be implemented.
Additional Information/Context
No response
CDK CLI Version
2.115.0
EKS Blueprints Version
1.13.1
Node.js Version
20.11.1
Environment details (OS name and version, etc.)
Windows 10 Enterprise
Other information
For anyone stumbling upon this issue, here is workaround AddOn we have been using to get it working. You can use this class in place of blueprints.addons.AwsLoadBalancerControllerAddOn:
import {
  AwsLoadBalancerControllerAddOn,
  ClusterInfo,
  Values,
} from "@aws-quickstart/eks-blueprints";
import { Duration } from "aws-cdk-lib";
import { Construct } from "constructs";

/**
 * This class is a workaround/override until this Blueprints issue is fixed: https://github.com/aws-quickstart/cdk-eks-blueprints/issues/968
 */
export class AwsLoadBalancerControllerAddOnWithValues extends AwsLoadBalancerControllerAddOn {
  protected addHelmChart(
    clusterInfo: ClusterInfo,
    values?: Values | undefined,
    createNamespace?: boolean | undefined,
    wait?: boolean | undefined,
    timeout?: Duration | undefined,
  ): Construct {
    return super.addHelmChart(
      clusterInfo,
      { ...this.options.values, ...values },
      createNamespace,
      wait,
      timeout,
    );
  }
}

Defect, will be fixed in the next patch.

I'm look forward to see a fix. Would be very much appreciated to help me have defaultTags
which can help me to cleanup the LB and sg after stack destroy.
Thank you !


feat: add PusherAnimate and RollerAnimate component

Owner

[x] Nickname(Tuya): 庄子

Description
Please provide a brief summary of the changes. If it is related to an issue, please bring the issue number, like fixes #${number}.
Package

[ ] tuya-panel-animation-sdk
[ ] tuya-panel-api
[ ] tuya-panel-electrician-sdk
[ ] tuya-panel-ipc-sdk
[ ] tuya-panel-lamp-sdk
[ ] tuya-panel-lock-sdk
[ ] tuya-panel-robot-sdk
[ ] tuya-panel-outdoor-sdk
[x] tuya-panel-remote-sdk

Type of change
Please select the relevant option.

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

Review CheckList
Don't edit this section.

[ ] Intra-group review
[ ] ESLint lint
[ ] Example Run
[ ] Jest Run
[ ] No Grammer Error
[ ] No Spell Error

Codecov Report

Merging #98 (4a3aeb2) into main (f4054e9) will increase coverage by 0.41%.
The diff coverage is 76.04%.

@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   61.58%   61.99%   +0.41%
==========================================
  Files         169      171       +2
  Lines        6416     6609     +193
  Branches     1492     1533      +41
==========================================
+ Hits         3951     4097     +146
- Misses       2451     2498      +47
  Partials       14       14

Impacted Files
Coverage Δ

...remote-sdk/src/components/roller-animate/index.tsx
67.20% <67.20%> (ø)

...remote-sdk/src/components/pusher-animate/index.tsx
92.53% <92.53%> (ø)

...-remote-sdk/src/components/circle-handle/index.tsx
46.53% <0.00%> (-0.47%)
:arrow_down:

Continue to review full report at Codecov.

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


Remove (potential) previously declared snapshots Groovy script for Nexus FAILED

Trying to deploy stuff from branch ocp-4.2 on a OCP 4.3 cluster as described delivers
TASK [ocp4-workload-homeroomlab-starter-guides : Remove (potential) previously declared snapshots Groovy script for Nexus] ******************
Thursday 26 March 2020  11:17:47 +0000 (0:00:00.031)       0:02:20.983 ********
fatal: [localhost]: FAILED! => {
  "changed": false,
  "connection": "close",
  "content": "",
  "date": "Thu, 26 Mar 2020 11:17:47 GMT",
  "elapsed": 0,
  "msg": "Status code was 401 and not [204, 404]: HTTP Error 401: Unauthorized",
  "redirected": false,
  "server": "Nexus/3.21.2-03 (OSS)",
  "set_cookie": "9fc5b03fb642738ed4f7e29b3ec79e4c=7c39e898f10084491ba5527fa6e8c924; path=/; HttpOnly",
  "status": 401,
  "url": "http://nexus-lab.apps.REDACTED/service/rest/v1/script/snapshots",
  "www_authenticate": "BASIC realm=\"Sonatype Nexus Repository Manager\"",
  "x_content_type_options": "nosniff"
}

Closing due new version available


Add kodama theme

Hello,
this is my theme kodama (in reference of the Japanese divinity).
The theme is greatly inspired from the hugo academic theme.
Let me know if anything is wrong, or needs improvement.
Thanks.

Thanks!


[#11418] set lidar_timestamp in velodyne32_parser

The lidar_timestamp of outgoing point cloud msg was not set.
Also fixes consistent warning msgs in GetTimestamp() for vlp32c packets.
Verified with our in-house vlp 32c
Fixes #11418

@jilinzhou thanks for the pull request. It's related to driver and I would suggest that you provide the supporting results after the fix. Thank you!

@jilinzhou thanks for the pull request. It's related to driver and I would suggest that you provide the supporting results after the fix. Thank you!


feat: add Typescript support

Summary | Résumé

Adds dotenv package to load local .env file
Replaces Yarn with PNPM (let's see if we like it or not)
Adds Typescript support
Removes openapi package (integration with Typescript is not straightforward and the library Github page feels like it may not really be maintained anymore)
Reworks project structure

I'm just testing this locally - could you add .pnpm-store to the .gitignore

Gonna add it. Not sure how it got generated on your side because I did not have one for the whole time I was testing PNPM.


Button loading state design overhaul?

As was mentioned in the eds slack channel, our design on eds.equinor.com for a "loading" button is a normal non-disabled button with a loader with neutral color.

But usually, you want a button in a loading state to be disabled, which then looks like this:

This article has a good point that the button should be visually disabled but have a high contrast color for the indicator, which in our case would be this:

will be solved as a part of #2820


Support assigning Results to List properties via KVC

Fixes #2634.
Ideally we'd support this via RealmCollectionType as well, but I couldn't really get that to work. /cc @tgoyne @bdash

Would be good to have an obj-c test as well since the change looks like it should cover that, but otherwise :+1:.

objc test added.

Thoughts on this @bdash?

:+1:
The Swift test changes here are another place where more detail in the commit message would have been appreciated.

Good points on providing more details, I'll make an effort to improve that in the future.

CI failure unrelated (#2119).


spark_apply() of spaklyr does not work with tm library

Hello,
I am trying to use 'tm' library functionalities with spark_apply() function of sparklyr.
I have created a sparkdataframe named as train from a text file:
train details:
Source:   table<sparklyr_tmp_53c4b4abfe> [?? x 1]
Database: spark_connection
line
1 Thank you. To Mama Gra�a Machel,
2 "On Tuesday, xyz abc "
Then I have defined my customised function as:
myfunction<-function(data){
test<-tm::Corpus(VectorSource(data))
test<-Corpus(VectorSource(test))
test<-tm_map(test,content_transformer(stripWhitespace))
dtm<-DocumentTermMatrix(test)
dtm<-as.matrix(dtm)
dtm<-as.data.frame(dtm)
return(dtm)
}
But when I am running the spark_apply function as follows:
spark_apply(train,myfunction) , it is throwing the below error ,
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'C:\Users\hp\AppData\Local\Temp\RtmpIzVe9J\file53c76462a6c_spark.log': Permission denied
I have verified the cmd files in spark bin ,and I have all the required permissions as it is my own local machine.
Just to cross  verify I ran the below code and it works fine:
myfunction1<-function(data){
test<-tm::MC_tokenizer(data)
}
spark_apply(train,myfunction1)
Result:
Source:   table<sparklyr_tmp_53c119568d> [?? x 1]
Database: spark_connection
line
1 Thank
2 you
3 To
4 Mama
5 Gra
6 a
7 Machel
Note:
spark_version(spark_conn)
[1] ‘2.3.0’
packageVersion('sparklyr')
[1] ‘0.8.4’
Attached the sample text file as well. Would be great if anyone can look into this issue .
test.txt

you are expanding the original data frame to a long-format, which might occur some memory error at  some spark executors.

Thank you for the suggestion.But I am running it in my local machine.
And the data set has only 2 rows,so I do not think memory issue is happening here.
Can you please suggest if you have any other solution for this issue.

Tried this:
library(sparklyr)
sc <- spark_connect(master = "local")

train <- sdf_copy_to(sc, data.frame(lines = c(
  "Thank you. To Mama Graa Machel",
  "On Tuesday, xyz abc"
)))

myfunction<-function(data){
test<-tm::Corpus(VectorSource(data))
test<-Corpus(VectorSource(test))
test<-tm_map(test,content_transformer(stripWhitespace))
dtm<-DocumentTermMatrix(test)
dtm<-as.matrix(dtm)
dtm<-as.data.frame(dtm)
return(dtm)
}

spark_apply(train, myfunction)

but get in the logs:
18/07/25 09:56:47 INFO sparklyr: RScript (3534) computing closure
18/07/25 09:56:47 ERROR sparklyr: RScript (3534) terminated unexpectedly: could not find function "VectorSource"

Which I replaced with:
myfunction<-function(data){
    library(tm)
    test<-Corpus(VectorSource(data))
    test<-Corpus(VectorSource(test))
    test<-tm_map(test,content_transformer(stripWhitespace))
    dtm<-DocumentTermMatrix(test)
    dtm<-as.matrix(dtm)
    dtm<-as.data.frame(dtm)
    return(dtm)
}

and correctly then successfully ran:
spark_apply(lines_tbl, myfunction)

# Source:   table<sparklyr_tmp_4dac32893afb> [?? x 10]
# Database: spark_connection
    abc  graa machel  mama thank tuesday   xyz   you language  list
  <dbl> <dbl>  <dbl> <dbl> <dbl>   <dbl> <dbl> <dbl>    <dbl> <dbl>
1     1     1      1     1     1       1     1     1        0     0
2     0     0      0     0     0       0     0     0        1     1
3     0     0      0     0     0       0     0     0        0     1

Does this help?

Thanks a lot !!I can see you have got the output I am looking for.
But when I run the below code in my laptop
myfunction<-function(data){
library(tm)
test<-Corpus(VectorSource(data))
test<-tm_map(test,content_transformer(stripWhitespace))
dtm<-DocumentTermMatrix(test)
dtm<-as.matrix(dtm)
dtm<-as.data.frame(dtm)
return(dtm)
}

spark_apply(train,myfunction)

The below error is thrown:
Error: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 35.0 failed 1 times, most recent failure: Lost task 0.0 in stage 35.0 (TID 36, localhost, executor driver): java.lang.RuntimeException: Error while encoding: java.lang.ArrayIndexOutOfBoundsException: 5
Could you please tell me what is the issue here.

Thanks a lot for the help!! :)
When I run the below code,
myfunction<-function(data){

library(tm)

test<-Corpus(VectorSource(data))

test<-tm_map(test,content_transformer(stripWhitespace))

dtm<-DocumentTermMatrix(test)

dtm<-as.matrix(dtm)

dtm<-as.data.frame(dtm)

return(dtm)

}

spark_apply(train,myfunction)
Result is :
line    X2    X3    X4    X5    X6    X7    X8    X9

1     1     1     1     1     1     1     1     1     1
But I am not getting the words as columns ,rather X1,X2,.... What could possibly be wrong here.Can you please help?

The current version of sparklyr requires you to specify each column manually, you can run the latest version of sparklyr using:
devtools::install_github("rstudio/sparklyr")

One note... spark_apply() requires each partition to return a data frame with the same columns, in this case, seems like it could be possible that each partition would generate a different document term matrix; if that's the case, you want to return tidy data, something like:
entry name value
1     abc  1
1     graa 1
2     abc  0
2     abc  0

Instead of,
abc graa
1   1
0   0

You can perform this transformation in R inside spark_apply(), in this case, the column would be constant so you can run spark_apply() with:
spark_apply(lines_tbl, myfunction, columns = c("entry", "name", "value"))

This last approach would be much more recommended.


Shebang support

I wanted to run golang using shebang and noticed it basically refused to work. With that I stumbled on a great gist relating to this issue. It goes to the ins and outs and shows workarounds. It would be nice to allow shebang support natively so we can both compile and run a main function.
Simply put, the following should be possible:

new go executable (similar to the gorun in the aforementioned gist) that can be put in the shebang. This should handle exit codes correctly.
go compiler should ignore shebang lines.

In the end, if we have the following script (this is from the gist mentioned earlier):
#!/usr/bin/env goexec

package main

import (
  "fmt"
  "os"
)

func main() {
  fmt.Println("Hello", os.Args[1])
  os.Exit(42)
}

And running it as:
$ ./example.go world
Hello world
exit status 42
$ echo $?
42

This has been proposed and rejected a number of times in the past.
Here is one of the earlier threads on the topic: https://groups.google.com/forum/#!topic/golang-nuts/iGHWoUQFHjg/discussion
Here are search results for shebang on the golang-nuts mailing list and the bug tracker:
https://groups.google.com/forum/#!searchin/golang-nuts/shebang|sort:date
https://github.com/golang/go/issues?utf8=✓&q=is%3Aissue+shebang


Dark mode

Would be cool to support dark mode. Examples of sites with dark mode automatically in Safari:

https://atp.fm
https://twitter.com

https://css-tricks.com/dark-modes-with-css/

Sure!

It is also supported by Firefox. And I found another site using it: https://man.openbsd.org/