Using H2 persistence example

Hello,
I need to move away from MapDB because the file grows out of control.  I would like to try using H2 instead.  Would love to see how to initialize and configure the broker to use H2.
thanks

Which version of Moquette are you using? 0.9 and 0.10 should ship with H2 predefined, I remember correctly.
Take a a loot ak https://github.com/andsel/moquette/blob/master/distribution/src/main/resources/moquette.conf
as example you simply have to uncomment storage_class for H2 and comment the one for MapDB. It's not provided any migration tool to import in H2 the data stored in your MapDB file

Thanks so much for your response.  I am using 0.9
I did do what you suggested and set the persistence to h2.  Unfortunately i am having the same problem again.  the file just grows exponentially, eventually filling up the hard drive.  what i do now is run a process and when the file grows above a certain value i have to stop the broker, remove the file and start the broker again.
I really would like to not have to do that.  What am I doing wrong? Is there a way for this not to happen?  i set the QoS to 1 and i do have retention because i want the new clients to get the last message.  But that is it.I dont need to search for all messages.
How can i configure moquette so I can have QoS =1, with last message retention but not fill up the hard drive?
Thanks

Which is your use case, because this consumption sounds like you have clients with clean session =false that subscribed to a topic where other clients are pushing a lot of stuff.
How works your publishers and subscribers? Have you got some log? There is a way I can reproduce it ?

here is my set up:
everything runs on a raspberry pi.  I have one application that produces a json string, which can be as big as 1mb every minute or so.
The subscribers are web clients using Paho over websockets.  Note that the every expanding file happens even if there is no client subscribed.  I have done that test as well.
Here are two pieces of code, the first one show the publishing of the json string, the second one is the paho client.  I am not including the Publisherlistener because is pretty long and all it does it parse the message received, but if you want to see it, let me know and I will paste it or share the file.
this is published using the following code:
`public synchronized void publishToHeart(String topic, String messageText) {
	byte[] messageBytes = messageText.getBytes();
	MqttMessage message = new MqttMessage(messageBytes);
	 message.setQos(1);
        message.setRetained(true);
        try {
		do {
			if(!anMqttClient.isConnected()) {
				logger.warn("Reconnecting to heart");
				anMqttClient.reconnect();
				try {
					Thread.sleep(10000);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		}while(!anMqttClient.isConnected());
		anMqttClient.publish(topic, message);
	} catch (MqttException e) {
		logger.warn("Exception publishing to heart:" + Utils.getStringException(e);
	}
}`

here is my javascript code for the Paho Client:
`function HeartConnect() {
//
// before we actually connect ask the server for the visualizer
//
$.ajax({
type: "GET",
url: "/TeleonomeServlet",
data: {formName:"GetVisualizer"},
success: function (data) {
console.log("data=" + data);
visualizer=data;
	},
	error: function(data){
		console.log("error getting visualizer:" + JSON.stringify(data));
		alert("Hubo un errors al procesar la forma:" + JSON.stringify(data));
		return false;
	}
});

console.log('invoking mqttconnect');
host="DamnWatcher.local";
port=9999;
mqtt = new Paho.MQTT.Client( host, port, "web_" + parseInt(Math.random() * 100));
mqtt.onConnect = onConnect;
mqtt.onMessageArrived = onMessageArrived;
mqtt.onConnectionLost = onConnectionLost;
mqtt.connect({onSuccess: onConnect, onFailure: onFailure});
console.log("Host="+ host + ", port=" + port );
console.log("connected...");

}
function onConnect() {
console.log('in onconnect');
// $('#pulse').html('Connected to ' + host + ':' + port + path);
// Connection succeeded; subscribe to our topic
mqtt.subscribe("Hello", {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
console.log('after firstsub');
mqtt.subscribe(HEART_TOPIC_PULSE_STATUS_INFO, {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_PULSE_STATUS_INFO_SECUNDARY, {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_ORGANISM_STATUS, {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_UPDATE_FORM_STATUS, {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_STATUS, {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_ASYNC_CYCLE_UPDATE, {"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
}
`
Does anything look wrong?
Thanks for the help :)

The retained flag set to true in publishing phase could be the reason if
every message is published on different topic. As specs state, the broker
has to save the last retained message (if the publish happens with retained
true) for the topics. How are yours topics are formed, which strings?
Andrea
Il sab 17 mar 2018, 23:31 arifainchtein<EMAIL_ADDRESS>ha
scritto:

here is my set up:
everything runs on a raspberry pi. I have one application that produces a
json string, which can be as big as 1mb every minute or so.
The subscribers are web clients using Paho over websockets. Note that the
every expanding file happens even if there is no client subscribed. I have
done that test as well.
Here are two pieces of code, the first one show the publishing of the json
string, the second one is the paho client. I am not including the
Publisherlistener because is pretty long and all it does it parse the
message received, but if you want to see it, let me know and I will paste
it or share the file.
this is published using the following code:
`public synchronized void publishToHeart(String topic, String messageText)
{
byte[] messageBytes = messageText.getBytes();
MqttMessage message = new MqttMessage(messageBytes);
message.setQos(1);
message.setRetained(true);
try {
do {
if(!anMqttClient.isConnected()) {
logger.warn("Reconnecting to heart");
anMqttClient.reconnect();
try {
Thread.sleep(10000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}while(!anMqttClient.isConnected());
anMqttClient.publish(topic, message);
} catch (MqttException e) {
logger.warn("Exception publishing to heart:" + Utils.getStringException(e);
}
}`
here is my javascript code for the Paho Client:
`function HeartConnect() {
//
// before we actually connect ask the server for the visualizer
//
$.ajax({
type: "GET",
url: "/TeleonomeServlet",
data: {formName:"GetVisualizer"},
success: function (data) {
console.log("data=" + data);
visualizer=data;
},
error: function(data){
console.log("error getting visualizer:" + JSON.stringify(data));
alert("Hubo un errors al procesar la forma:" + JSON.stringify(data));
return false;
}
});
console.log('invoking mqttconnect');
host="DamnWatcher.local";
port=9999;
mqtt = new Paho.MQTT.Client( host, port, "web_" + parseInt(Math.random() * 100));
mqtt.onConnect = onConnect;
mqtt.onMessageArrived = onMessageArrived;
mqtt.onConnectionLost = onConnectionLost;
mqtt.connect({onSuccess: onConnect, onFailure: onFailure});
console.log("Host="+ host + ", port=" + port );
console.log("connected...");
}
function onConnect() {
console.log('in onconnect');
// $('#pulse').html('Connected to ' + host + ':' + port + path);
// Connection succeeded; subscribe to our topic
mqtt.subscribe("Hello",
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
console.log('after firstsub');
mqtt.subscribe(HEART_TOPIC_PULSE_STATUS_INFO,
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_PULSE_STATUS_INFO_SECUNDARY,
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_ORGANISM_STATUS,
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_UPDATE_FORM_STATUS,
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_STATUS,
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
mqtt.subscribe(HEART_TOPIC_ASYNC_CYCLE_UPDATE,
{"onSuccess":subscribeSucessFcn,"onFailure":subscribeFailureFcn,qos:2});
}
`
Does anything look wrong?
Thanks for the help :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/andsel/moquette/issues/393#issuecomment-373957663,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_Y0X9MK9Dvq8QkVMWQm93MlrIRJSnHks5tfY6qgaJpZM4StG_z
.

All my topics are fixed, ie i dont have any random characters.  I have the main topic which is when i publish the big json string, t he definition is;
public static String HEART_TOPIC_STATUS="Status";
the other topics are progress status on the creation of the json string and also have fixed values:
public static String HEART_TOPIC_PULSE_STATUS_INFO="PulseStatusInfo"; 	public static String HEART_TOPIC_PULSE_STATUS_INFO_SECUNDARY="PulseStatusInfoSecundary"; 	public static String HEART_TOPIC_UPDATE_FORM_STATUS="UpdateFormStatus"; 	public static String HEART_TOPIC_UPDATE_FORM_REQUEST="UpdateFormRequest"; 	public static String HEART_TOPIC_ASYNC_CYCLE_UPDATE="AsyncCycleUpdate";

Could you try to write a publisher application to make it reproducible? Or
can I do it, but in this period I'm little busy
Andrea
On Tue, Mar 20, 2018 at 7:40 AM, arifainchtein<EMAIL_ADDRESS>wrote:

All my topics are fixed, ie i dont have any random characters. I have the
main topic which is when i publish the big json string, t he definition is;
public static String HEART_TOPIC_STATUS="Status";
the other topics are progress status on the creation of the json string
and also have fixed values:
public static String HEART_TOPIC_PULSE_STATUS_INFO="PulseStatusInfo";
public static String HEART_TOPIC_PULSE_STATUS_INFO_SECUNDARY="PulseStatusInfoSecundary";
public static String HEART_TOPIC_UPDATE_FORM_STATUS="UpdateFormStatus";
public static String HEART_TOPIC_UPDATE_FORM_REQUEST="UpdateFormRequest";
public static String HEART_TOPIC_ASYNC_CYCLE_UPDATE="AsyncCycleUpdate";
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/andsel/moquette/issues/393#issuecomment-374492128,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_Y0fTPKb4F1SxecrrUrR1hq38ANcvVks5tgKRmgaJpZM4StG_z
.

absolutely.  Let me put something together and I will share it in the next few days.  Thanks for the help.

Hello,
Sorry about the long delay.  Here is a zip a file with a publisher and a broker. if you run them in the same machine you will see the mapdb.p file just keeps on growing.
Thanks for the help.
DemoMQTTBrokerBug.zip

Thanks @arifainchtein in next free time slot I'll take care of this, and examine the bug. I'll report on this issue any findings or doubts, thank's a lot for your effort in create a reproducible test bed.
Andrea

Hi @arifainchtein I've tried your Publisher project against your Broker project (which use Moquette 0.9) and it happened what you described, the storage file keep growing on every publish, seems like the retained management append the  messages instead of replace the last one on the topic
Then I've tried your Publisher against a freshly broker dist build (0.11-SNAPSHOT) with both MapDB and H2 persistence, but the file keeps a constant size.
I've rework a lot the Moquette code from 0.9 to 0.11, probably I fixed this bug, so I close it because not reproducibile with current master.


Add Box-Box distance for Nearest query

This adds Box-Box distance and add a test to check that it works: the implementation of boost_rtree_nearest_predicate has been moved to a function templated on the geometry (ArborX::Point or Arborx::Box).

I think it would be much clearer, and precise, to simply test exactly the distance() call in tstDetailsAlgorithms.cpp by adding few distance(Box,Box) calculations (including default constructed boxes).

I can but I just wanted to make sure that we had a test for Nearest where we don't assume that we are using Point. Since we have never tested this traversal with anything but Point, I thought it be worth to test it at least once.

@Rombur Is there a reason why the testing introduced by @dalg24 in tstDetailsAlgorithms.cpp was reduced in the latest force-push?

I forgot that Damien had pushed on my branch :disappointed:

commit c4476f5f534eecf58884112b05530867ae7c8af8 (HEAD -> box_box, Rombur/box_box)
Author: Damien L-G<EMAIL_ADDRESS>Date:   Tue Mar 23 21:45:43 2021 -0400

    Add distance(Box, Box) unit test

diff --git a/test/tstDetailsAlgorithms.cpp b/test/tstDetailsAlgorithms.cpp
index 715afdb..fbfec00 100644
--- a/test/tstDetailsAlgorithms.cpp
+++ b/test/tstDetailsAlgorithms.cpp
@@ -8,7 +8,9 @@
  *                                                                          *
  * SPDX-License-Identifier: BSD-3-Clause                                    *
  ****************************************************************************/
+
 #include <ArborX_DetailsAlgorithms.hpp>
+#include <ArborX_DetailsKokkosExtArithmeticTraits.hpp>

 #define BOOST_TEST_MODULE Geometry
 #include <boost/test/unit_test.hpp>
@@ -55,6 +57,40 @@ BOOST_AUTO_TEST_CASE(distance)
   BOOST_TEST(distance({{1., 1., 1.}}, sphere) == std::sqrt(3.f) - 1.f);
 }

+BOOST_AUTO_TEST_CASE(distance_box_box)
+{
+  using ArborX::Details::distance;
+
+  constexpr Box unit_box{{{0.0, 0.0, 0.0}}, {{1.0, 1.0, 1.0}}};
+
+  // distance to self
+  BOOST_TEST(distance(unit_box, unit_box) == 0);
+  // distance to another unit box translated along one axis
+  BOOST_TEST(distance(unit_box, Box{{{2, 0, 0}}, {{3, 1, 1}}}) == 1);
+  BOOST_TEST(distance(unit_box, Box{{{0, -3, 0}}, {{1, -2, 1}}}) == 2);
+  BOOST_TEST(distance(unit_box, Box{{{0, 0, 4}}, {{1, 1, 5}}}) == 3);
+  // distance to another unit box translated along a plane
+  BOOST_TEST(distance(unit_box, Box{{{-4, -4, 0}}, {{-3, -3, 1}}}) ==
+             3 * std::sqrt(2.f));
+  BOOST_TEST(distance(unit_box, Box{{{0, -2, 3}}, {{1, -1, 4}}}) ==
+             std::sqrt(5.f));
+  BOOST_TEST(distance(unit_box, Box{{{5, 0, 7}}, {{6, 1, 8}}}) ==
+             2 * std::sqrt(13.f));
+
+  // distance to another box that contains the box
+  BOOST_TEST(distance(unit_box, Box{{{-1, -2, -3}}, {{4, 5, 6}}}) == 0);
+  // distance to another box within the unit box
+  BOOST_TEST(distance(unit_box, Box{{{.1, .2, .3}}, {{.4, .5, .6}}}) == 0);
+  // distance to another box that overlaps with the unit box
+  BOOST_TEST(distance(unit_box, Box{{{.1, .2, .3}}, {{4, 5, 6}}}) == 0);
+
+  // distance to empty boxes
+  auto infinity = KokkosExt::ArithmeticTraits::infinity<float>::value;
+  BOOST_TEST(distance(unit_box, Box{}) == infinity);
+  BOOST_TEST(distance(Box{}, unit_box) == infinity);
+  BOOST_TEST(distance(Box{}, Box{}) == infinity);
+}
+
 BOOST_AUTO_TEST_CASE(intersects)
 {
   using ArborX::Details::intersects;

Fixed. I've removed my Box-Box tests since they were covered by Damien's.

Retest this please


Full-Service<PHONE_NUMBER> Call Girls Near Me in Burjuman By Verified Call Girls Dubai UAE

Full-Service<PHONE_NUMBER> Call Girls Near Me in Burjuman By Verified Call Girls Dubai UAE
Full-Service<PHONE_NUMBER> Call Girls Near Me in Burjuman By Verified Call Girls Dubai UAE
Full-Service<PHONE_NUMBER> Call Girls Near Me in Burjuman By Verified Call Girls Dubai UAE
Full-Service<PHONE_NUMBER> Call Girls Near Me in Burjuman By Verified Call Girls Dubai UAE

Don't Spam


Tests: e2e tests for KeyManagementProvider refresh logic

Description
End to end tests that validate the KMP refresh feature.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Validate the refresher is enabled by counting reconcile events in the Ratify logs
[x] Validate certificate versions update with no version specified
[x] Validate certificate versions do not update when a version is specified

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

Successful build: https://github.com/duffney/ratify/actions/runs/10528215388

Just noticed a few comments aren't verified so I'll squash them into one and push those changes up after the open comments have been resolved. :)

Hi @duffney, looks like this PR is also blocked due to unsigned commit. Could you take a look? thanks!


Syntax error when using sql_macro_clause in package body

Here's an example taken from https://trivadis.github.io/plsql-and-sql-coding-guidelines/v4.4/4-language-usage/7-stored-objects/9-sql-macros/g-7910/
create or replace package body my_package is
   function row_generator(in_num_rows in number) -- NOSONAR: non-deterministic
      return varchar2 sql_macro as
   begin
      return 'select level as row_sequence -- NOSONAR: G-1050
             from dual
          connect by level <= in_num_rows';
   end row_generator;
end my_package;
/

need to add sqlMacroClause in https://github.com/IslandSQL/IslandSQL/blob/v0.11.0/src/main/antlr4/ch/islandsql/grammar/IslandSqlParser.g4#L2919-L2926
It's another thing that is not documented in https://docs.oracle.com/en/database/oracle/oracle-database/23/lnpls/function-declaration-and-definition.html


The client does not work with bun

A user has reported that libsql fails with bun:
$ bunx drizzle-kit push:sqlite
[2.70ms] ".env"
No config path provided, using default path
Reading config file '/mnt/d/htmlcss/the-beth-stack/drizzle.config.ts'
drizzle-kit: v0.19.13
drizzle-orm: v0.28.6

43324 |       code;
43325 |       constructor(message, code, cause) {
43326 |         if (code !== void 0) {
43327 |           message = `${code}: ${message}`;
43328 |         }
43329 |         super(message, { cause });
           ^
LibsqlError: HRANA_WEBSOCKET_ERROR: Unexpected server response: 404
code: "HRANA_WEBSOCKET_ERROR"

     at new LibsqlError (/mnt/d/htmlcss/the-beth-stack/node_modules/drizzle-kit/index.cjs:43329:8)
     at mapHranaError (/mnt/d/htmlcss/the-beth-stack/node_modules/drizzle-kit/index.cjs:48441:11)
     at /mnt/d/htmlcss/the-beth-stack/node_modules/drizzle-kit/index.cjs:48575:16
     at processTicksAndRejections (:1:2602)
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: script "db:push" exited with code 1 (SIGHUP)

Another issue mentioned in the same thread about fetch

disucssion on discord

Thank you for opening this issue here as well ✨

Closing as 0.3.3 fixed it


Portuguese translations

Loved the project and had to contribute by adding a new language!

Thanks @davichaves !

Released in version 3.10.0!


Build 16184 - Unsupported console settings

Unsupported console settings. In order to use this feature the legacy console must be disabled.
Press any key to continue...

Fixed:
right-click on the "Bash on Ubuntu on Windows" shortcut and click Properties. In the Options tab, disable the checkbox for Use legacy console (requires relaunch)

Solution:
Right-click on the "Bash on Ubuntu on Windows" shortcut and click Properties. In the Options tab, disable the checkbox for Use legacy console (requires relaunch)

Thanks for reporting the issue, the failure is linked off of the troubleshooting page https://msdn.microsoft.com/en-us/commandline/wsl/troubleshooting.  Closing this out since it is a known issue.


Schedule task hidden from standard users

Adds note that the scheduled task that triggers GPO enrollment isn't visible to standard users so to confirm the task was created, admin creds should be used

I may have gotten this wrong - I need to test a bit further. Either the task didn't appear because it's not visible to Standard users, or because it only creates the task in the session signed in when the gpo applies. If someone could validate either way that'd be great but otherwise I'll update this once I confirmed the outcome I saw wasn't caused by another mechanism

The note annotation looks good so far, although I do not know the topic in question well enough to comment on the content.

Thank you! I'll test a few more variants to make sure I've got it right then update here with my results to validate

BTW, is this PR a response to any existing open issue ticket for this page?

It's not, no - should I have made an issue first?

No, it is just fine as it is. It would simply be useful to refer to any existing issue tickets if they had been present already.

So part of the reason I hesitated was that I noticed it had created a new folder with the standard user's SID at the root of Task Scheduler that contained an EnterpriseManagement folder, so I suspected that account could see the task there. Nope. It's still invisible. Re-ran gpupdate from standard user, closed and reopened task scheduler, the EnterpriseManagment folders both look empty as a standard user. I can see other tasks just fine as standard user, so it's not that Task Scheduler isn't working right, it looks like from a standard user perspective the tasks simply aren't available. Revalidated, admin can see them just fine. It seems it really is just hidden from standard users.

Glad to hear it. Looks like solid research to me. I will go ahead and approve this PR (even though I'm not part of the MS Docs team), just to note that it is ready for final review.

@e0i : Will you notice the author(s) and manager of this document that it is ready for final review?

@manikadhiman Would you be able to review this PR that provides a clarifying note regarding scheduled tasks? Thanks.

@ManikaDhiman Following up for updates.


Namespace file queries based on directory

Right now we read in the files and drop them right on the root namespace. Would be better to have namespacing by directory. We currently have glob installed but not sure how to handle this best.

This works...I think. Could stand additional exercising + tests. I'll get to that after work tomorrow.

There was something wrong in the load up - it was throwing and wouldn’t start. I’ll take another shot at this in a bit - had an idea last night at 2am :(
On March 5, 2015 at 7:44:44 AM, John Atten<EMAIL_ADDRESS>wrote:
This works...I think. Could stand additional exercising + tests. I'll get to that after work tomorrow.
—
Reply to this email directly or view it on GitHub.

Couldn't help myself...

Lol love it.

Did you struggle with the choice between "luke_file_walker" and "file_walk_with_me"?

Lol... Btw I screwed up; the function assignment needs to happen in the walker file. Try and execute the deep query, it won't work. Wanna fix?
Just move the function bind from index into Luke

On Mar 5, 2015, at 14:35, John Atten<EMAIL_ADDRESS>wrote:
Did you struggle with the choice between "luke_file_walker" and "file_walk_with_me"?
—
Reply to this email directly or view it on GitHub.

I can after work. Grrr. :-(

I blew it... fixing again

OK fixed it... too late!

I figured that would happen :)
Is it Friday yet?


Ender IO Tank Derpness

Issue description:
Buckets and other fluid containers both empty and full get inserted into Ender IO Tanks on External Storage and are visible but may not be accessible via the grid.
What happens:
http://imgur.com/a/2egts
What you expected to happen:
None of the above.
Steps to reproduce:

...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: 2119
Refined Storage: 1.2.3

Does this issue occur on a server? [yes/no]
Unknown.
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

More info please, e.g. how are your external storages on the tank configured..?

Okay. So it would appear to involve a third party as in a fresh install of just RS and EIO I can not reproduce it but in the Spilled Juice https://www.atlauncher.com/pack/SpilledJuice you just need a controller, grid, external storage -> tank. Any buckets thrown in the grid go into the tank and yes the external storage is set to fluid mode.
You probably have a better idea of the likely offenders but I'll try and narrow down the interaction as I have time.
The new disk drive model is great btw.

Are you sure your external storage is in fluid mode?

Mod interaction wasn't a thing just a coincidence.
If the priority of external storage (in fluid mode :p) is higher, then the fluid containers get stored there.
If the priority is the same, then where they get stored seems based on another factor (distance from controller maybe?) hence my initial failure to reproduce in a test world,

Same issue with a Forestry Bottler which also filled with water (I was importing) while the External Storage was still in item mode. It's almost a feature though it unfortunately disregards fluid filters.

So what is the issue here now? I have no idea what the problem is / you are suggesting?

To reiterate.
Ender IO Fluid Tanks are treated as item storage for any fluid containers (buckets, tanks, bottles etc.), either empty or full, when connected with an External Storage set to fluid mode.
For example. If I have a EIO Fluid Tank of water connected with an External Storage set to fluid mode and whitelisted for water only and I then put a bucket of lava into the RS system it will store the bucket of lava in the input slot of the EIO Fluid Tank. I can see it in the grid but cannot get it out and after I remove it from the tank it still remains visible in the grid.


Resolve version convergence issue with jboss-threads dependency

@ronsigal , this is what I was discussing with you earlier today, please review.


Add support for queue overflow hook methods

When a port is set to 'drop' on overflow, there can be a memory leak should the port contain a resource that needed dedicated deallocation (e.g. Fw.Buffer).  To fix this, we add a hook overflow option, which passes the port arguments to a function for handling (e.g. call to deallocate).
This PR contains the following items:

[x] Spec updated
[x] fpp-to-xml outputs 'hook' option
[x] fpp-to-cpp component test updated (active, queued)
[x] fpp-to-cpp templated test updated (active, queued)
[x] fpp-to-cpp component generation

[x] Internal ports (async)
[x] Serial ports  (async)
[x] Data product special ports  (async)
[x] Typed ports (async)
[x] Commands (async)

[x] fpp-to-cpp template generation

[x] Internal ports (async)
[x] Serial ports  (async)
[x] Data product special ports  (async)
[x] Typed ports (async)
[x] Commands (async)

F Prime integration work (to go):

[ ] FppTest examples
[x] XML spec placeholder for 'hook'. Note: downgraded to 'drop' XML specification is deprecated.

Looks good! Since we are no longer actively developing the XML model, I suggest we convert hook to drop before generating XML. We do something similar with data product special ports, converting them to ordinary ports before generating XML.

@bocchino did the downgrade from 'hook' to 'drop' in XML generation, along with a test that proves the feature.

@bocchino I have fixed all review comments, please let me know if anything else is needed.

@thomas-bc This looks good to me. Once you review and approve, I will merge!


Ionic - Cannot find module '@ionic-native/firebase'

This happens only with this native plugin for Ionic.
Shows me this error: Cannot find module '@ ionic-native/firebase' after installing this way:
$ ionic cordova plugin add cordova-plugin-firebase
$ npm install --save @ ionic-native/firebase
import { Firebase } from '@ ionic-native/firebase';
import { Component } from '@ angular/core';
import { NavController } from 'ionic-angular';

@ Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {

  constructor(public navCtrl: NavController,
    private firebase: Firebase) {

  }

}

My ionic cordova plugin --list:
cordova-plugin-device 2.0.1 “Device”
cordova-plugin-firebase 0.1.25 “Google Firebase Plugin”
cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 1.2.0 “cordova-plugin-ionic-webview”
cordova-plugin-splashscreen 5.0.2 “Splashscreen”
cordova-plugin-whitelist 1.3.3 “Whitelist”

To solve the problem, I needed to put this line in package.json:
"@ ionic-native/firebase": "4.7.0",
Maybe the install script needs to put this, right?

As @DanielAccorsi  said, You need to install the Ionic Native Wrapper for this plugin.
Checkout the Ionic Documentation here:

https://ionicframework.com/docs/native/firebase/

closing an non-actionable


make fatal error: ilcplex/ilocplex.h: No such file or directory

Hi,
Thanks for updating
I am getting new error while doing make:
anaghavsd@rise:~/Desktop/work/tools/TritonCTS$ make
g++ -m64 -O3 -std=c++11 -fPIC -fno-strict-aliasing -fexceptions -DNDEBUG -DIL_STD -Wno-ctor-dtor-privacy -fopenmp  -I/home/tool/ilog/CPLEX_Studio1251/cplex/include -I/home/tool/ilog/CPLEX_Studio1251/concert/include  -g  -o bin/argument.o
-c src/ghtree/argument.cpp
g++ -m64 -O3 -std=c++11 -fPIC -fno-strict-aliasing -fexceptions -DNDEBUG -DIL_STD -Wno-ctor-dtor-privacy -fopenmp  -I/home/tool/ilog/CPLEX_Studio1251/cplex/include -I/home/tool/ilog/CPLEX_Studio1251/concert/include  -g  -o bin/tree.o
-c src/ghtree/tree.cpp
g++ -m64 -O3 -std=c++11 -fPIC -fno-strict-aliasing -fexceptions -DNDEBUG -DIL_STD -Wno-ctor-dtor-privacy -fopenmp  -I/home/tool/ilog/CPLEX_Studio1251/cplex/include -I/home/tool/ilog/CPLEX_Studio1251/concert/include  -g  -o bin/design.o
-c src/ghtree/design.cpp
src/ghtree/design.cpp:59:30: fatal error: ilcplex/ilocplex.h: No such file or directory
compilation terminated.
Makefile:81: recipe for target 'bin/design.o' failed
make: *** [bin/design.o] Error 1

Hi, @kunalg123.
Do you have CPLEX installed in your system? In the affirmative case, can you try to update the paths CPLEXLIBDIR and CONCERTLIBDIR in the makefile?
Thanks,
-- Mateus

Hi
No, I haven't installed it
Looks like it's only for institutes. Can it be uploaded on Triton CTS
installation page? Any other way for companies to download it?
On Fri, Dec 14, 2018, 7:31 PM Mateus Fogaça<EMAIL_ADDRESS>wrote:

Hi, @kunalg123 https://github.com/kunalg123.
Do you have CPLEX installed in your system? In the affirmative case, can
you try to update the paths CPLEXLIBDIR and CONCERTLIBDIR in the makefile?
Thanks,
-- Mateus
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abk-openroad/TritonCTS/issues/5#issuecomment-447333822,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcSRfcrnajEaq-WfLw0p_BxbI_SxAW7Yks5u468ggaJpZM4ZThtO
.

Hi, @kunalg123.
At this moment we have this dependency which is IBM proprietary (i.e. we cannot distribute by ourselves).
-- Mateus


Document graph name/description use

Document methods DirectedGraph.getGraphName, setGraphName, getGraphDescription, setGraphDescription. Also update the JSON import/export docs with these properties.

Included in v0.7.0 release https://github.com/Encapsule/jsgraph/releases/tag/v0.7.0


Train model for MS lesion segmentation on MP2RAGE data

Context
Researchers from University of Basel shared MP2RAGE data from 30 subjects with MS. Data include manual segmentation of MS lesions.
Data are under: data.neuro.polymtl.ca:basel-mp2rage
Goal
Train a deep learning model to segment MS lesions in the spinal cord
Make that model available in SCT.

For reproducibility and tracking progress purposes, below is the ivadomed config file I am running for this dataset. The model I'm using is Modified3DUNet.
{
    "command": "train",
    "gpu_ids": [0],
    "path_output": "basel_lesionseg_output",
    "model_name": "basel_lesionseg_model",
    "debugging": true,
    "object_detection_params": {
        "object_detection_path": null,
        "safety_factor": [1.0, 1.0, 1.0]
    },
    "loader_parameters": {
        "path_data": ["basel-mp2rage"],
        "subject_selection": {
            "n": [],
            "metadata": [],
            "value": []
        },
        "target_suffix": ["_lesion-manual"],
        "extensions": [],
        "roi_params": {
            "suffix": null,
            "slice_filter_roi": null
        },
        "contrast_params": {
            "training_validation": ["UNIT1"],
            "testing": ["UNIT1"],
            "balance": {}
        },
        "slice_filter_params": {
            "filter_empty_mask": true,
            "filter_empty_input": true
        },
        "slice_axis": "axial",
        "multichannel": false,
        "soft_gt": false
    },
    "split_dataset": {
        "fname_split": null,
        "random_seed": 5,
        "center_test": [],
        "method": "per_patient",
        "balance": null,
        "train_fraction": 0.75,
        "test_fraction": 0.15
    },
    "training_parameters": {
        "batch_size": 4,
        "loss": {
            "name": "DiceLoss"
        },
        "training_time": {
            "num_epochs": 500,
            "early_stopping_patience": 50,
            "early_stopping_epsilon": 0.001
        },
        "scheduler": {
            "initial_lr": 1e-4,
            "lr_scheduler": {
                "name": "CosineAnnealingLR",
                "base_lr": 1e-5,
                "max_lr": 1e-4
            }
        },
        "balance_samples": {
            "applied": false,
            "type": "gt"
        },
        "mixup_alpha": null,
        "transfer_learning": {
            "retrain_model": null,
            "retrain_fraction": 1.0,
            "reset": true
        }
    },
    "default_model": {
        "name": "Unet",
        "dropout_rate": 0.3,
        "bn_momentum": 0.9,
        "depth": 3,
        "is_2d": true,
        "final_activation": "sigmoid"
    },
    "uncertainty": {
        "epistemic": false,
        "aleatoric": false,
        "n_it": 0
    },
    "postprocessing": {"binarize_prediction": {"thr": 0.5}},
    "evaluation_parameters": {},
    "transformation": {
        "Resample": {
            "wspace": 1.0,
            "hspace": 1.0,
            "dspace": 1.0
        },
        "CenterCrop": {
            "size": [128, 128, 128]
        },
        "RandomAffine": {
            "degrees": 10,
            "scale": [0.1, 0.1, 0.1],
            "translate": [0.1, 0.1, 0.1],
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
        "ElasticTransform": {
            "alpha_range": [25.0, 35.0],
            "sigma_range": [3.5, 5.5],
            "p": 0.3,
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
        "NumpyToTensor": {},
        "NormalizeInstance": {
            "applied_to": ["im"]
        }
    },
    "Modified3DUNet": {
        "applied": true,
        "length_3D": [128, 128, 128],
        "stride_3D": [64, 64, 64],
        "attention": false,
        "n_filters": 8
    }
}

Currently, the best validation score I reach with this config is 0.2032. Next steps include:

Playing around with batch size and learning rate scheduler.
Playing around with different transformations (we could add gamma contrast to ivadomed, which was helpful in the MSSEG-2 challenge).

Based on previous discussions, I used the following preprocessing script with SCT which (i) extracts the spinal-cord and (ii) crops the VOI using the bounding box given by the spinal-cord mask for each of the 30 patients:
#!/bin/bash
#
# Preprocess data.
#
# Dependencies:
# - FSL <TODO: VERSION>
# - SCT <TODO: VERSION>
#
# Usage:
#   ./preprocess_data.sh <SUBJECT>
#
#
# Manual segmentations or labels should be located under:
# PATH_DATA/derivatives/labels/SUBJECT/<CONTRAST>/

# The following global variables are retrieved from the caller sct_run_batch
# but could be overwritten by uncommenting the lines below:
# PATH_DATA_PROCESSED="~/data_processed"
# PATH_RESULTS="~/results"
# PATH_LOG="~/log"
# PATH_QC="~/qc"

# Uncomment for full verbose
set -x

# Immediately exit if error
set -e -o pipefail

# Exit if user presses CTRL+C (Linux) or CMD+C (OSX)
trap "echo Caught Keyboard Interrupt within script. Exiting now.; exit" INT

# Retrieve input params and other params
SUBJECT=$1

# get starting time:
start=`date +%s`

# SCRIPT STARTS HERE
# ==============================================================================
# Display useful info for the log, such as SCT version, RAM and CPU cores available
sct_check_dependencies -short

# Go to folder where data will be copied and processed
cd $PATH_DATA_PROCESSED

# Copy BIDS-required files to processed data folder (e.g. list of participants)
if [[ ! -f "participants.tsv" ]]; then
  rsync -avzh $PATH_DATA/participants.tsv .
fi
if [[ ! -f "participants.json" ]]; then
  rsync -avzh $PATH_DATA/participants.json .
fi
if [[ ! -f "dataset_description.json" ]]; then
  rsync -avzh $PATH_DATA/dataset_description.json .
fi
if [[ ! -f "README" ]]; then
  rsync -avzh $PATH_DATA/README .
fi

# Copy source images
rsync -avzh $PATH_DATA/$SUBJECT .

# Copy segmentation GTs
mkdir -p derivatives/labels
rsync -avzh $PATH_DATA/derivatives/labels/$SUBJECT derivatives/labels/.

# (1) Go to subject folder for source images
cd ${SUBJECT}

# TODO: re-think how file variable is defined-- not clean to have folders in there
file_onlyfile="${SUBJECT}_UNIT1"
file="anat/${SUBJECT}_UNIT1"

# Spinal cord extraction
sct_deepseg_sc -i ${file}.nii.gz -c t1 -o ${file_onlyfile}_seg.nii.gz

# Dilate spinal cord mask
sct_maths -i ${file_onlyfile}_seg.nii.gz -dilate 5 -shape ball -o ${file_onlyfile}_seg_dilate.nii.gz

# Compute the bounding box coordinates of SC mask for cropping the VOI
# NOTE: `fslstats -w returns the smallest ROI <xmin> <xsize> <ymin> <ysize> <zmin> <zsize> <tmin> <tsize> containing nonzero voxels
bbox_coords=$(fslstats "${file_onlyfile}"_seg_dilate.nii.gz -w)

# Apply the SC mask to the final forms of both sessions
fslmaths ${file}.nii.gz -mas ${file_onlyfile}_seg_dilate.nii.gz ${file_onlyfile}_masked.nii.gz

# Crop the VOI based on SC mask to minimize the input image size
fslroi ${file_onlyfile}_masked.nii.gz ${file_onlyfile}_masked.nii.gz $bbox_coords

# (2) Go to subject folder for segmentation GTs
cd $PATH_DATA_PROCESSED/derivatives/labels/$SUBJECT

file_gt_onlyfile="${SUBJECT}_UNIT1_lesion-manual"
file_gt="anat/${SUBJECT}_UNIT1_lesion-manual"

# Apply the SC mask to the final forms of all segmentation GTs
fslmaths ${file_gt}.nii.gz -mas $PATH_DATA_PROCESSED/$SUBJECT/${file_onlyfile}_seg_dilate.nii.gz ${file_gt_onlyfile}_masked.nii.gz

# Crop the VOI based on SC mask to minimize the GT image size
fslroi ${file_gt_onlyfile}_masked.nii.gz ${file_gt_onlyfile}_masked.nii.gz $bbox_coords

# Go back to parent folder (i.e. get ready for next subject call!)
cd $PATH_DATA_PROCESSED

# Display useful info for the log
end=`date +%s`
runtime=$((end-start))
echo
echo "~~~"
echo "SCT version: `sct_version`"
echo "Ran on:      `uname -nsr`"
echo "Duration:    $(($runtime / 3600))hrs $((($runtime / 60) % 60))min $(($runtime % 60))sec"
echo "~~~"

As a result, we were left with far smaller volumes which will hopefully make training the model simpler. As a result of the preprocessing, for basel-mp2rage we now have 30 volumes each with a resolution of 1mm x 1mm x 1mm and with the following sizes:
SIZES:  Counter({(22, 95, 23): 1, (26, 99, 25): 1, (24, 98, 25): 1, (30, 88, 27): 1, (42, 108, 29): 1, (34, 102, 25): 1, (34, 111, 22): 1, (33, 115, 25): 1, (28, 101, 29): 1, (29, 94, 27): 1, (30, 100, 23): 1, (33, 92, 26): 1, (28, 103, 22): 1, (23, 100, 22): 1, (28, 78, 26): 1, (38, 96, 28): 1, (28, 86, 23): 1, (30, 99, 26): 1, (23, 109, 31): 1, (28, 101, 25): 1, (32, 101, 28): 1, (24, 106, 27): 1, (26, 104, 24): 1, (31, 86, 28): 1, (38, 90, 25): 1, (25, 90, 23): 1, (25, 80, 26): 1, (23, 98, 25): 1, (21, 102, 23): 1, (23, 96, 23): 1})

Based on these sizes, I am using a center-crop size of (64, 128, 32). I have the updated the config file in my first message with the current parameters I'm using.

Just to update this issue, we are developing the models in a new ivadomed repository: https://github.com/ivadomed/model_seg_ms_mp2rage.

completed


Already voted closure

I'm thinking we could have 1 closure like this that can handle all error states?
Error state cases like: loadingFailure & alreadyVoted

@AvdLee I'm a bit worried to use that endpoint, because if for some reason the value has not been loaded properly it will be set to 0, and then a user could accidentally reset the entire vote count for a feature.

because if for some reason the value has not been loaded properly

You've contacted the Count API owner before, right? Can we ask him for a decrement API endpoint?

if for some reason the value has not been loaded properly it will be set to 0

Could you expand on your understanding here please @jordibruin?
Looking at the API, it doesn't set the count but rather increments it by a given value (so -1 would simply reduce the count by 1 on the server - irrespective of the local store).
The only way this would set to 0 is if the user was able to remove their vote multiple times without adding a vote (and did this many times), which should be impossible with the current pattern where we wait for a successful vote claim before updating the 'alreadyVoted' state.

Looking at the API, it doesn't set the count but rather increments it by a given value (so -1 would simply reduce the count by 1 on the server - irrespective of the local store).

You're completely right! We should indeed be able to implement this using that API endpoint 🙏

Closing this PR since we implemented removing votes


[PDI-18089] - MDI cannot inject Report Definition File to Pentaho Reporting Output

@pentaho-lmartins
@ssamora
@ppatricio
@smmribeiro

:warning: Build finished in 34m 2s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 3 test(s) failed:
org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutputLoadSaveTest.testSerialization (click to expand)
${result.errorDetails}

org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutputMetaLoadSaveTest.testSerialization (click to expand)
${result.errorDetails}

org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutputTest.testProcessRowWithoutUsingValuesFromFields (click to expand)
${result.errorDetails}

Tests run: 3684, Failures: 3, Skipped: 7    Test Results

:information_source:  This is an automatic message

:warning: Build finished in 33m 31s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 1 test(s) failed:
org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutputMetaLoadSaveTest.testSerialization (click to expand)
${result.errorDetails}

Tests run: 3684, Failures: 1, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 30m 38s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 3684, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 3h 46m 28s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 3684, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 32m 55s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 3684, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 33m 2s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 3684, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 31m 44s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 3684, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:x: Build failed in 18m 13s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 2472, Failures: 0, Skipped: 6    Test Results

Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:white_check_mark: Build finished in 33m 32s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine,ui

:ok_hand: All tests passed!
Tests run: 3684, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


[SDP-1177] Refactor balance validation to use distribution account service

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]
Checklist
PR Structure

[ ] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR title and description are clear enough for anyone to review it.
[ ] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[ ] This PR adds tests for the new functionality or fixes.
[ ] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[ ] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[ ] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[ ] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[ ] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[ ] This is not a breaking change.
[ ] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr288.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr288.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr288.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr288.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr288.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr288.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr288.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr288.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr288.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr288.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr288.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr288.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr288.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr288.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr288.previews.kube001.services.stellar-ops.com


Tailwind- dark mode- Table.

I made a table with Tailwind, customized with colors for dark and light mode. The big problem I have is that when I change the mode (light-dark), these changes are not applied to my table, it stays in a single color and nothing is modified. Someone could help me?
 <Layout title={W`}>

              Team
              PTS
              PJ
              PG
              PP
              SF
              SC
              DFS

            {PrimeraDamasTeams.map((team, index) => (

                <th scope="row" class={`${index === 0 ? 'text-center' : ''} text-lg px-5 py-3 font-normal border-b-4  dark:border-t-blue-400 text-gray-500 whitespace-normal dark:text-white dark:bg-slate-400`}>
                  {team.name}

                  {team.points}

                  {team.pj}

                  {team.pg}

                  {team.pp}

                  {team.sf}

                  {team.sc}

                  {team.dfs}

            ))}

`

I actually ran into the same issue and have a fix!


Issue loading VRX environment

Hi, we are having some issues with some parts of the environment not loading properly. Some trees and other landscapes are not loading correctly.
Also, when visualizing the camera images, we noticed that the horizon becomes dark (sea, shore, buildings) and makes things difficult to recognize at a certain distance.
Is anyone else facing these problems?
Thank you

@FrancisGoncalves Could you post your hardware configuration? It looks like there is a problem with the rendering, but we have not yet been able to reproduce it.

@M1chaelM We are running Ubuntu 20.04 dual booted with windows.
We are using a Precision 7820 Tower with an Intel Xeon Platinum 8160 CPU.
We have NVIDIA Quadro P4000 graphics card and 192 GB of RAM.
We allocated only 40 GB of storage for Ubuntu.
Let me know if you need any other information.
Thank you

Do you have the Nvidia drivers running?

@caguero Thank you! We were using Nouveau display driver.
We have now changed to one of the eight NVIDIA drivers options. The environment now loads with no issues. However, we are getting a very low frame rate (around 3 fps), while previously we were getting 30 fps.
Is there a specific NVIDIA driver we should select?

We have turned off UEFI secure boot option and the environment is now loading properly and running at 60 fps.
Thank you for your help.

Good to know!


Only compute sprite paths and widths once.

Each computation will produce an 'unchanged sprite ' message in your shell.

@incuna/js please.

This is awesome! :D

Interesting!


mercurial is packaged only as a application

Describe the bug
Mercurial is currently only packaged using buildPythonApplication, not buildPythonPackage. This prevents loading mercurial as a module inside python
To Reproduce
Steps to reproduce the behavior:

Create a python derivation:

pkgs.python2.withPackages (ps : [ pkgs.mercurial ])

Run python and try to import mercurial:

python -c "import mercurial"

Expected behavior
No error message because mercurial is imported successfully.

related: https://github.com/NixOS/nixpkgs/issues/84249


fix: Explicitly assume with condition matching role arn

Signed-off-by: Fernando Miguel<EMAIL_ADDRESS>Description
Fix the self assume role using a condition
Motivation and Context
The policy can not use the role arn in the principal field until the role already exists.
And since we can't create a role without a trust policy, we have chicken-egg problem.
Using a condition to match the role arn instead of using it in the principal, we are able to work around the problem.
Breaking Changes

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

tested this against one of our cluster, using my own fork branch
fixes: #282

if I understand the issue linked - this is still not valid, no? If a user uses role_name_prefix, even the changes in this PR do not address that scenario, correct?

@bryantbiggs there is no way to use role_name_prefix cause that is only known after role being created.
in this PR i am only addressing the fact that the policy was not valid, which is now, making this module usable in our use-case with argocd.
I still think we should default role_path to "/" which is the entirely most common scenario.
and for role_name_prefix maybe a condition in the var if allow_self_assume_role is present

this is a sample of the plan output
  # module.base_system.module.argocd[0].module.argocd_iam_role_sa_cross_cluster.data.aws_iam_policy_document.this[0] will be read during apply
  # (config refers to values not yet known)
 <= data "aws_iam_policy_document" "this" {
      + id   = (known after apply)
      + json = (known after apply)

      + statement {
          + actions = [
              + "sts:AssumeRole",
            ]
          + effect  = "Allow"
          + sid     = "ExplicitSelfRoleAssumption"

          + condition {
              + test     = "ArnLike"
              + values   = [
                  + (known after apply),
                ]
              + variable = "aws:PrincipalArn"
            }

          + principals {
              + identifiers = [
                  + "*",
                ]
              + type        = "AWS"
            }
        }
      + statement {
          + actions = [
              + "sts:AssumeRoleWithWebIdentity",
            ]
          + effect  = "Allow"

          + condition {
              + test     = "StringEquals"
              + values   = [
                  + "sts.amazonaws.com",
                ]
              + variable = "oidc.eks.us-east-1.amazonaws.com/id/XXXX:aud"
            }
          + condition {
              + test     = "StringEquals"
              + values   = [
                  + "system:serviceaccount:argocd-system:argocd-application-controller",
                  + "system:serviceaccount:argocd-system:argocd-server",
                ]
              + variable = "oidc.eks.us-east-1.amazonaws.com/id/XXXX:sub"
            }

          + principals {
              + identifiers = [
                  + "arn:aws:iam::XXXX:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/XXXX",
                ]
              + type        = "Federated"
            }
        }
    }

so a few things here:

The whole premise for using the manually constructed ARN of "arn:${data.aws_partition.current.partition}:iam::${data.aws_caller_identity.current.account_id}:role${var.role_path}${var.role_name}" is because of this chicken vs the egg scenario. We can't reference the IAM role ARN in the assume role policy because the role needs the policy but the policy needs the role. So we "cheat" in these scenarios and re-construct what the result will be so this should be valid today for users who use just role_name because its all static data known at plan/apply time
The role path most likely needs to be updated. The provider allows for null which is interpreted as "/" but with our re-construction of the ARN we have to be explicit and set the default as "/" and can't use the null trick
We can, and should, address the role_name_prefix here. Simply doing something like a coalesce(var.role_name, var.role_name_prefix) would suffice in the ArnLike changes here (I think). Or we can have two values, one for var.role_name and one for var.role_name_prefix which might need to end with * to match correctly

Using a wildcard in the case of prefix might work, did not test that.
I can try to code the changes Friday, as I'm mostly offline tomorrow.
I entirely agree with #2

@bryantbiggs I've tried to address your concerns

HI team,
Can this be reviewed?
Thanks in advance.

I've added some code to handle 3 roles.
but can't really support name_prefix on those, without it being a breaking change.

Team, pls review.
Thanks

still have some pre-commit checks to fix but overall I think it looks good - @antonbabenko thoughts?

@bryantbiggs pre-commit ran, and docs updated

Hello folks,
Can this PR be review?
Thanks in advance.

@FernandoMiguel Thank you very much for this PR!

This PR is included in version 5.5.2 :tada:


[joss review] issues with examples

related to https://github.com/openjournals/joss-reviews/issues/5873

Examples in documentation should show outputs of the executed code, e.g. plots, could also use more description to guide users
Examples require data which is available in the repository (not clearly stated)
Example 1: Wrong code? No grouping in line 80
Example 3: wrong path mnist_class.h5
Example 4: the rainbow colour palette is not a good option for visualising feature importance
Example 5: error in imports import perturbation as ptn
Example 6: missing model load_model('data/0_526_model_(80;79).h5')
Example 7: wrong path mnist_class.h5
Running examples requires new package dependencies -- Installing them could be added as an option, e.g. with pip install pudu[examples]

@hbaniecki Thank you for pointing out all these issues.

We have improved this section by adding the output images and more context to each example.
We now explicitly state at the beginning of the section that data has to be downloaded.
The example was fixed.
The path is fixed.
We have changed the jet palette.
Import fixed.
The model is now included in the repository.
Path fixed.
We now include an examples_requierments.txt in the examples folder, indicating that these additional libraries can be installed from there. We can change this approach if you suggest otherwise.

lgtm


Updated tests for storage

Description of change
Updated tests for taral on chain file operations

Pull-Request Checklist

[X] Code is up-to-date with the main branch
[X] yarn lint passes with this change
[X] yarn clarinet:check passes with this change
[X] yarn clarinet:tests passes with this
[X] yarn unit-tests passes with this
[X] Run yarn eol
[ ] Run yarn format
[ ] Run yarn cleanup
[ ] This pull request links relevant issues as Fixes #0000
[X] There are new or updated unit tests validating the change
[ ] Documentation has been updated to reflect this change
[X] The new commits follow conventions outlined in the conventional commit spec

@dorucioclea running format and cleanup does a 180 file change so i haven't pushed those changes to the branch,


Git branching & Composer

Do you think we can get separate branches for each of the major versions? Instead of developing on master?
Theres some docs on how Composer reads these versions: https://getcomposer.org/doc/articles/versions.md#branches
Tldr: Currently, you would have two branches: '2.1', and '3.0'

Going to add two branches called 2.x and 3.x, master and the latest code in 3.x will still be synchronized though.

Also, what would be the benefit in having a 3.x branch? I can see a use for it once version 4 is released, but now it would just be the same as master.

So we can set a dependency on dev-3.x, instead of dev-master. If master changes to be the equivalent of 4.x, then it will break older dependency declarations.


Captcha

Hello, are you going to do autimatic solve for captcha?

I was planning to do pull-request for it. Arleady done some coding for it on my side. Idk if author will be interested.

I was planning to do pull-request for it. Arleady done some coding for it on my side. Idk if author will be interested.

I was also planning to code and test it this weekend, but I can wait for your pull request and thanks.

What api you were about to use for it?

What api you were about to use for it?

https://2captcha.com/

Whether the bot is useful if they introduced it:
Limitations: There is an opportunity for each user to join up to 10 giveaways in one day.

Whether the bot is useful if they introduced it: Limitations: There is an opportunity for each user to join up to 10 giveaways in one day.

It's still 10 giveaways 🤷♂ I'd rather to have a bot for it than spend time everyday to do this manually.

Any news on this? 🤔 @Mesharsky

Any news on this? 🤔 @Mesharsky

I gave up on it using C#, i am writing my own version using python. But i have issues with some of the mechanisms as i want to avoid getting blocked. It will take some time because i am doing it off-working-hours.


search can't be used, to many results, virtual * are inserted between all characters of the search string.

The search is the main functionality for me to use KeePass databases. But I get too much results.
example In other keepass client I can search my database for

softwareone
eone

and I get only results containing the string "softwareone"
In kpassnotes I get results containing something like the result of
eon*e
This resultset is useless for me. It prevents me to use kpassnotes in a practical way.
The default should be to use the search string as it is, not using each letter of the search string individual. This would be much more intuitive.

Hi,
Thank you for feedback! By default app uses "Fuzzy" search, the alghorithm is simmilar to fzf. It can be turned off in "Search screen" -> "Menu button" -> "Sort  View" -> "Search type".
Probably this option could be moved to global settings or at least could be more visible to an eye.

OK, not so easy to find 😉
search default settings in Application settings would be fine and more intuitive (I was looking in settings) , which could be individually adapted per sort if required.


About the attacking code

Could you provide some Code implementing the T5 span attack mentioned in your paper?
(for beginners)

We suggest using the GPT based paraphrase attack detailed in our second paper over the T5 span replacement attack as this is much stronger and more realistic for present day attackers as well as benign users of API models for text writing and rewriting tasks.
If you are particularly interested in T5 based attacks though, I can suggest a repository from a contemporary work from friends of ours also at UMD who also studied watermark reliability. They implement a T5 based attack, and their setup was designed to be run against our watermarking code, so this could be useful to you!
https://github.com/vinusankars/Reliability-of-AI-text-detectors


Progress bar stays at 0% or counts backwards

Godot version
v4.0.1.stable.official [cacf49999]
System information
Windows 10
Issue description
Almost any time a progress bar shows up in the editor, it either just sits at 0% or else it will count backwards several times before possibly jumping to near full and then going away.
Here it is in the Compatibility renderer when renaming a file:

Here it is in the Forward+ renderer when renaming a file:

I see similar behavior when importing a lot of files, or doing almost anything with files in the FileSystem, such as creating files/folders or moving them around.
Steps to reproduce

Import something from the AssetLib, such as Kenney Prototype Tools, to quickly get plenty of files in your project.
Add or rename or move a file/folder from the FileSystem dock.
Observe the progress bar in the FileSystem dock.

Minimal reproduction project
N/A

I'm not sure when this got fixed but I can't reproduce it in v4.3.stable.official [77dcf97d8].
In all my tests on 4.3 all progress bars progress without counting backwards.


VALID_HTML_ATTRIBUTE_NAME is declared using const

I'm using webpack 2.6.1, and unfortunately my application stopped working in IE 10 after import sanitize-html.
After a few hours of debugging, I found an error on the 44th line of the index.exe file, a variable VALID_HTML_ATTRIBUTE_NAME is declared using the word const.
I tried to fix it in the source code in node_modules. I replaced the const on var  and started the application without errors.
Is this a mistake? If so, when users can expect patches
Thank you in advance

IE 10 is not supported by the vendor (Microsoft). Not even security patches
are available. We could change this, I guess, but I wouldn't call it a
mistake. Why are you using unsupported software that puts your users at
risk?
On Wed, Dec 6, 2017 at 12:02 PM, egorovk<EMAIL_ADDRESS>wrote:

I'm using webpack 2.6.1, and unfortunately my application stopped working
in IE 10 after import sanitize-html.
After a few hours of debugging, I found an error on the 44th line of the
index.exe file
https://github.com/punkave/sanitize-html/blob/master/index.js#L44, a
variable VALID_HTML_ATTRIBUTE_NAME is declared using the word const.
I tried to fix it in the source code in node_modules. I replaced the const
on var and started the application without errors.
Is this a mistake? If so, when users can expect patches
Thank you in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/sanitize-html/issues/188, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9ffA79CgccPTH3Z-8bkOwAKmCX4RAks5s9si0gaJpZM4Q4Qqw
.

--
THOMAS BOUTELL, CHIEF SOFTWARE ARCHITECT
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

(You can, of course, run sanitize-html through babel if you want to. But
also ask yourself: why are you sanitizing HTML on the browser side? You
can't trust a browser to sanitize anything. There are some use cases that
sort of make sense, but often running it on the browser side involves not
being clear on the fact that anyone could just go into the network panel
and submit something else, bypassing your javascript completely and
inserting XSS attacks in your database.)
On Wed, Dec 6, 2017 at 12:05 PM, Tom Boutell<EMAIL_ADDRESS>wrote:

IE 10 is not supported by the vendor (Microsoft). Not even security
patches are available. We could change this, I guess, but I wouldn't call
it a mistake. Why are you using unsupported software that puts your users
at risk?
On Wed, Dec 6, 2017 at 12:02 PM, egorovk<EMAIL_ADDRESS>wrote:

I'm using webpack 2.6.1, and unfortunately my application stopped working
in IE 10 after import sanitize-html.
After a few hours of debugging, I found an error on the 44th line of the
index.exe file
https://github.com/punkave/sanitize-html/blob/master/index.js#L44, a
variable VALID_HTML_ATTRIBUTE_NAME is declared using the word const.
I tried to fix it in the source code in node_modules. I replaced the
const on var and started the application without errors.
Is this a mistake? If so, when users can expect patches
Thank you in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/sanitize-html/issues/188, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9ffA79CgccPTH3Z-8bkOwAKmCX4RAks5s9si0gaJpZM4Q4Qqw
.

--
THOMAS BOUTELL, CHIEF SOFTWARE ARCHITECT
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
THOMAS BOUTELL, CHIEF SOFTWARE ARCHITECT
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

I think many software developers like me are forced to support IE 10

That's reasonable, and this isn't the only issue impacting IE10 (and even
11) in this release. As I've told others, I'd take a PR for a pre-publish
hook that correctly builds a babelized ES5 version for the browser, but it
is not something we use in-house.
On Wed, Dec 6, 2017 at 12:12 PM, egorovk<EMAIL_ADDRESS>wrote:

I think many software developers like me are forced to support IE 10
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/punkave/sanitize-html/issues/188#issuecomment-349708922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fVztCWVHD6Jo45O7PlPnnccFJpO2ks5s9ssAgaJpZM4Q4Qqw
.

--
THOMAS BOUTELL, CHIEF SOFTWARE ARCHITECT
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

A duplicate of #189 (PR welcome).


Consolidated 6 layers

Reduced image size by consolidating ENV layers and RUN layers

https://github.com/docker-library/php/pull/230#issuecomment-230912262 and same response as https://github.com/docker-library/php/pull/300. In summary, the env var combining is unnecessary, and the ordering of the file is on purpose to maximize docker cache where possible. For example, prevent downloading libapr1, libaprutil1, and friends for a httpd bump when the base image has not changed.
￼

@yosifkit Thanks for the feedback. I thought I found something there. :/ but glad for the learning experience


feat: add headers to DisplayRecords output

What
Prints output printed by DisplayRecords as a table with headers
Why
closes #23
References
Makes use of https://github.com/jedib0t/go-pretty, which seems to be quite active and maintained.
Output looks like this for dnsee google.com:

@bschaatsbergen Can you review please?

Hello @kvanzuijlen, appreciate you submitting this pull request. I'm curious about your opinion on the headers. To be frank, I'm not entirely certain if they align with dnsee's vision of being a CLI that generates minimalistic output.

For minimalistic output this isn't great indeed. Maybe we can add a flag --pretty?


Added math.Sqrt (and docs for math.Log)

I wanted to use math.Sqrt for working with areas and aspect ratios of images, so here it is.
I noticed that math.Log was already there, so I added it to the documentation.

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

This looks good. Can you press the CLA button?


BarcodeScanner and QRScanner Conflict android manifest

Reference issue: https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/498
I have the same issue using both QRscanner and barcodescanner and after removed the 2 line of code:
<uses-permission android:name="android.permission.CAMERA" android:required="false" /> <uses-feature android:name="android.hardware.camera" android:required="false" />
I get this error
error: cannot find symbol intentScan.putExtra(Intents.Scan.SHOW_FLIP_CAMERA_BUTTON, obj.optBoolean(SHOW_FLIP_CAMERA_BUTTON, false));

There is a conflict between both plugins as they both import zxing in different ways


Resources generated from other sources are not included in the native image

The Management GraalVM test application uses a gradle plugin that generates a git.properties file that then is exposed automatically by Micronaut /info endpoint.
When running the app on the JVM you can send a curl localhost:8080/info request and you get that information.
To make this work in a native-image I have the following resource-config.json in the src/main/resources/META-INF/native-image/..... directory:
{
  "resources": [
    {"pattern":"\\Qgit.properties\\E"}
  ]
}

This has been working for a long time.
Now I've switched the application to use the Gradle plugin and the curl request returns an empty response because the git.properties file seems not to be included in the final native-image.
To reproduce the issue:

git clone https://github.com/micronaut-graal-tests/micronaut-management-graal
cd micronaut-management-graal
git checkout issue-plugin-resources
sdk use java 21.0.0.r8-grl
./gradlew nativeImage
Start the native image
curl localhost:8080/info returns an empty response.

I've tried a locally built snapshot with the change and it still doesn't work for me. You have done the changes in MicronautDockerPlugin but maybe you need to do the same in MicronautGraalPlugin?

I've tried a locally built snapshot with the change and it still doesn't work for me. You have done the changes in MicronautDockerPlugin but maybe you need to do the same in MicronautGraalPlugin?

Good catch

Good catch

Yeah, it works now! :100:

Yeah, it works now! :100:


[GitLab] "Create Issue" does not work

Extension
https://www.raycast.com/tonka3000/gitlab
Description
Error:
Error: Rendering failed:
The data couldn’t be read because it isn’t in the correct format.

Steps To Reproduce

Open Raycast
Trigger "Create Issue Command"

Current Behaviour
No Input Mask is visible.
Instead shows "Something went wrong"
Expected Behaviour
Showing the input mask and have autocomplete available for "Projects" Dropdown

nvm resolved the Bug and started a Pull Request which resolves the issue.
Turns out it's related to using Emoji as first Character in Gitlab for Project Name


Add missing constant

Addresses https://github.com/rancher/dashboard/issues/8299
This PR was added in 2.6.11 to add the warning banner: https://github.com/rancher/ui/pull/4962/files
If references the constant AZURE_AD.ANNOTATION_MIGRATED - but that is not defined in constants.js, so the banner is always shown when azuerad is enabled.
This PR fixes this by adding the missing constant:
ANNOTATION_MIGRATED: 'auth.cattle.io/azuread-endpoint-migrated'

Validated with a test AzureAD auth provider.

FYI @mantis-toboggan-md - I don't see this in master - so assume its not needed for 2.7?

Correct @nwmac  - the dashboard has this banner in 2.7, and unlike 2.6, it's not possible to bypass the dash and go directly to the ember ui, missing the warning in the process


Refactor container prune and rename command flagging process

Refactor container prune and rename command flagging process
Signed-off-by: rkonfj<EMAIL_ADDRESS>

Part of #1680

Please split this into 2 PRs. One PR for one thing.

Please split this into 2 PRs. One PR for one thing.

Thank you very much for your guidance. This is a simple and minor change. Of course, if it does not conform to the community rules, I will split it later.

Please squash your commits before merging.

@suyanhanx @djdongjin  can we merge this ?

LGTM.


Improved the frontend of extension

🛠 Fixes Issue
Closes #460
👨💻 Changes proposed

Changed the color scheme of the container
aligned all the elements
Customized the button and the input box
Improved overall Frontend
Made sure it matches the color scheme of other Converters for eg. BMI converter.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
📷 Screenshots

thank you @dhruvbhatia1 for contributing. You did a great job ! :)


Image not being captured in Android Emulator API 28

Any ideas on what could be causing this? I am having issues aswell.

I had an issue with the Emulator but that is at least also version 27. The problem for me was that the virtual scene camera does not have autofocus so when it waits for focus it will never happen.
I fixed this by adding || afState == CaptureResult.CONTROL_AF_STATE_INACTIVE in the mCaptureCallback under the case STATE_WAITING_LOCK: in the if statement which looks like if (afState == null) in the original version. It should look like this:
 if (afState == null || afState == CaptureResult.CONTROL_AF_STATE_INACTIVE)

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Could you document use of Nested Groups with Maintenance Windows?

I have been trying to nest 2 collections, with Different maintenance windows under a collection which has 2 maintenance windows. This is for patching, with the intention that:

I only need to deploy patches to the top level collection;
I therefore reduce the number of deployments needed each month for patching.
However, this doesn't seem to work as patches wait until the deadline before they install.
Reading the above, I suspect that this is not how maintenance windows work.

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

ID: 54a69524-75f1-5c55-5091-66b7c3326a7b
Version Independent ID: 48b982d2-1ee9-7d2a-a1f9-14cdf0dadb6a
Content: Use maintenance windows - Configuration Manager
Content Source: sccm/core/clients/manage/collections/use-maintenance-windows.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @philc52 for the feedback. I need to investigate this with engineering

Same here, the idea of nesting collection for a single deployment of patches on a server was a good idea but with different maintenance window for Dev, QA and Prod is having the behavior that in the end, all servers will have several maintenance window and will be harder to manage restart.

Hi Mathieu,
Having researched a bit more, I think that it is possible, but only have
Maintenance Windows in the lower groups, not in the top collection.
I will test with next month's patches.
Cheers,
Phil Crawford
+61423824189
On Thu, 28 Feb. 2019, 2:29 pm mathieudesjardins<EMAIL_ADDRESS>wrote:

Same here, the idea of nesting collection for a single deployment of
patches on a server was a good idea but with different maintenance window
for Dev, QA and Prod is having the behavior that in the end, all servers
will have several maintenance window and will be harder to manage restart.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/SCCMdocs/issues/1206#issuecomment-468123291,
or mute the thread
https://github.com/notifications/unsubscribe-auth/As8dHj6U35Expt70P_j5ga8zNMJfM1EUks5vR0z7gaJpZM4aXD8-
.

For now I removed the inclusion of all other collection and I will deploy the same update group 5 time, one on each collection.
Get Outlook for iOShttps://aka.ms/o0ukef

From: philc52<EMAIL_ADDRESS>Sent: Thursday, February 28, 2019 02:21
To: MicrosoftDocs/SCCMdocs
Cc: mathieudesjardins; Comment
Subject: Re: [MicrosoftDocs/SCCMdocs] Could you document use of Nested Groups with Maintenance Windows? (#1206)
Hi Mathieu,
Having researched a bit more, I think that it is possible, but only have
Maintenance Windows in the lower groups, not in the top collection.
I will test with next month's patches.
Cheers,
Phil Crawford
+61423824189
On Thu, 28 Feb. 2019, 2:29 pm mathieudesjardins<EMAIL_ADDRESS>wrote:

Same here, the idea of nesting collection for a single deployment of
patches on a server was a good idea but with different maintenance window
for Dev, QA and Prod is having the behavior that in the end, all servers
will have several maintenance window and will be harder to manage restart.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/SCCMdocs/issues/1206#issuecomment-468123291,
or mute the thread
https://github.com/notifications/unsubscribe-auth/As8dHj6U35Expt70P_j5ga8zNMJfM1EUks5vR0z7gaJpZM4aXD8-
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FSCCMdocs%2Fissues%2F1206%23issuecomment-468165560&data=02|01||6d750a9f315d41e86fd908d69d4d5bd2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636869352905889571&sdata=wb0FZf3WP4%2FyVvuDRywTGhXTC1boARHmqcIt6JT3HL4%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAnkJQar9a4iNIGFlzXcziXCbXt1z1wSpks5vR4N5gaJpZM4aXD8-&data=02|01||6d750a9f315d41e86fd908d69d4d5bd2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636869352905909599&sdata=zXm00QS646bxKch%2FD0eE5vTQMI5LxbcIbaPjim4FwRA%3D&reserved=0.

That's what I have done for this month's patches.
I will experiment with Test domain next cycle.
Cheers,
Phil Crawford
+61423824189
On Fri, 1 Mar. 2019, 9:51 am mathieudesjardins<EMAIL_ADDRESS>wrote:

For now I removed the inclusion of all other collection and I will deploy
the same update group 5 time, one on each collection.
Get Outlook for iOShttps://aka.ms/o0ukef

From: philc52<EMAIL_ADDRESS>Sent: Thursday, February 28, 2019 02:21
To: MicrosoftDocs/SCCMdocs
Cc: mathieudesjardins; Comment
Subject: Re: [MicrosoftDocs/SCCMdocs] Could you document use of Nested
Groups with Maintenance Windows? (#1206)
Hi Mathieu,
Having researched a bit more, I think that it is possible, but only have
Maintenance Windows in the lower groups, not in the top collection.
I will test with next month's patches.
Cheers,
Phil Crawford
+61423824189
On Thu, 28 Feb. 2019, 2:29 pm mathieudesjardins<EMAIL_ADDRESS>
wrote:

Same here, the idea of nesting collection for a single deployment of
patches on a server was a good idea but with different maintenance window
for Dev, QA and Prod is having the behavior that in the end, all servers
will have several maintenance window and will be harder to manage
restart.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/MicrosoftDocs/SCCMdocs/issues/1206#issuecomment-468123291
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/As8dHj6U35Expt70P_j5ga8zNMJfM1EUks5vR0z7gaJpZM4aXD8-
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FSCCMdocs%2Fissues%2F1206%23issuecomment-468165560&data=02|01||6d750a9f315d41e86fd908d69d4d5bd2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636869352905889571&sdata=wb0FZf3WP4%2FyVvuDRywTGhXTC1boARHmqcIt6JT3HL4%3D&reserved=0>,
or mute the thread<
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAnkJQar9a4iNIGFlzXcziXCbXt1z1wSpks5vR4N5gaJpZM4aXD8-&data=02|01||6d750a9f315d41e86fd908d69d4d5bd2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636869352905909599&sdata=zXm00QS646bxKch%2FD0eE5vTQMI5LxbcIbaPjim4FwRA%3D&reserved=0

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/SCCMdocs/issues/1206#issuecomment-468471379,
or mute the thread
https://github.com/notifications/unsubscribe-auth/As8dHk5bQaLYo8zGhNAqhctFPgsTO1Wmks5vSF2MgaJpZM4aXD8-
.

@philc52
You can have Collection A with a software update group deployment to. (assuming the deployment is NOT overriding maintenance windows)
Then add an include rule to Collection B & C. Both of those collections with different maintenance windows.
Once the deadline hits the software updates will be installed in the next available maintenance window.
What I hear you saying is that you have a machine that is in a maintenance window, with updates deployed but not past the deadline and you expect it to be installed.  This is controlled by client settings and not maintenance windows: https://docs.microsoft.com/en-us/sccm/core/clients/deploy/about-client-settings#period-of-time-for-which-all-pending-deployments-with-deadline-in-this-time-will-also-be-installed
IE if this setting is configured to 5 days, and there's a pending software update that's has deadline of 6 days away and the system goes into maintenance mode it will not install. But if a system enters maintenance mode and it's within 5 days of the deadline it will install it ahead of the deadline.

Thanks a lot for this clarification.
Cheers,
Phil Crawford
+61423824189
On Tue, 2 Apr. 2019, 10:34 pm torontojc<EMAIL_ADDRESS>wrote:

@philc52 https://github.com/philc52
You can have Collection A with a software update group deployment to.
(assuming the deployment is NOT overriding maintenance windows)
Then add an include rule to Collection B & C. Both of those collections
with different maintenance windows.
Once the deadline hits the software updates will be installed in the next
available maintenance window.
What I hear you saying is that you have a machine that is in a maintenance
window, with updates deployed but not past the deadline and you expect it
to be installed. This is controlled by client settings and not maintenance
windows:
https://docs.microsoft.com/en-us/sccm/core/clients/deploy/about-client-settings#period-of-time-for-which-all-pending-deployments-with-deadline-in-this-time-will-also-be-installed
IE if this setting is configured to 5 days, and there's a pending software
update that's has deadline of 6 days away and the system goes into
maintenance mode it will not install. But if a system enters maintenance
mode and it's within 5 days of the deadline it will install it ahead of the
deadline.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/SCCMdocs/issues/1206#issuecomment-478956626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/As8dHt0Uy3d8sRI7QKlKAh9wx_w0Iuhfks5vc0AwgaJpZM4aXD8-
.

Thanks again for the feedback. We recently moved this content to a new GitHub repository, so this issue is no longer tracked with the original article. As part of that process, we reviewed our backlog of feedback, and made some tough decisions on items that we don't think we'll realistically ever address. If you're passionate about this specific feedback, please refile it on the current article, now under docs.microsoft.com/mem/configmgr.


re-mux2 script issue on <IP_ADDRESS>

Hey Stax,
Tried the new re-mux2 script of <IP_ADDRESS> version and now it correctly switches to the container selected, but follow those steps :

Open the program and set container to default "command line" container
Open the re-mux2 script and select MKV for container, it will switch correctly on the gui
Then click on container options in the GUI
It will be the options for the batch command line container still, it does not switch to mkv container, nor to mp4 one apparently.

Thanks a lot for all.

Thanks for reporting. This will work:
# if you need help with scripting visit the forums

$msg = @"
This script does the following:

- Sets DSS2 as source filter to avoid indexing
- Sets video to mux from source or previous encoding
- Sets audio to mux
- Sets MP4Box or mkvmerge as muxer

With MKV output you can cut/trim in the preview dialog.

Edit the script if you want this message to disappear.
"@

$td = new-object "TaskDialog[string]"
$td.MainInstruction = "Re-mux"
$td.Content = $msg
$td.AddButton("Continue", "c")
$td.AddButton("Abort" , "")
$result = $td.Show()
$td.Dispose()

if ($result -ne "c") {exit}

# active project
$p = [ShortcutModule]::p

#global object with miscelenius stuff
$g = [ShortcutModule]::g

$td = new-object "TaskDialog[string]"
$td.MainInstruction = "Select a muxer."
$td.AddCommandLink("MKV using mkvmerge", "mkv")
$td.AddCommandLink("MP4 using MP4Box" , "mp4")
$result = $td.Show()
$td.Dispose()

if ($result -eq "mkv") {
    $muxer = new-object "MkvMuxer"
} elseif ($result -eq "mp4") {
    $muxer = new-object "MP4Muxer"
} else {exit}

$p.Script.SetFilter("Source", "DSS2", 'DSS2("%source_file%")')

$nullVideoEncoder = New-Object "NullEncoder"
$g.LoadVideoEncoder($nullVideoEncoder)
**$p.VideoEncoder.LoadMuxer($muxer)**

$muxAudio0 = new-object "MuxAudioProfile"
$g.LoadAudioProfile0($muxAudio0)

$muxAudio1 = new-object "MuxAudioProfile"
$g.LoadAudioProfile1($muxAudio1)

Yup, tested and it works nicely now,
Thanks a lot Stax.


46 get user geography id before fetching questions

LGTM theres a console.log but can be removed later


i can't find srl formatedataset process

when I process the data, only find the DP formate, can't find SRL format.  does the code not published?

Yes, as our final semantic graph is constructed based on DP, so the SRL one isn't provided here.


win, fs: mkdir really return UV_EINVAL for invalid names

Makes uv_fs_mkdir return UV_EINVAL for invalid directory names instead
of UV_ENOENT.
Ref: https://github.com/nodejs/node/issues/31177
I'm not happy about locally overriding uv_translate_sys_error but I can't think of a better approach.

@bzoz

FWIW, this was already changed on master (https://github.com/libuv/libuv/pull/1088) a couple years ago, and is a known_issue in nodejs (https://github.com/nodejs/node/pull/28569) but seems like @saghul said it would break compatibility to change on v1.x series?

That's for ERROR_INVALID_NAME, this is for ERROR_DIRECTORY.

Ah, right—I read that backwards. So maybe on master/v2 we want to alter the mapping (like #1088) and on v1.x we do this (like #2375)?

Mapping ERROR_DIRECTORY to UV_EINVAL would be consistent with _mkdir and _rmdir. Unfortunately CreateProcess sets ERROR_DIRECTORY if lpCurrentDirectory is set to a non-existent directory (see 9f07a3673b301da99bd31f2d793983caad6e3428, it seems @bnoordhuis misunderstood the cause of the breakage). I think the proper solution would be to add a case for UV_EINVAL here.

Does nodejs still want this? Just needs a rebase in that case.

Sorry, I'm not interested in working on this anymore. Feel free to take over.

CI: https://ci.nodejs.org/job/libuv-test-commit/2010/
CI+Nodejs: waiting on https://github.com/nodejs/node/pull/34751
Okay, it looked good, I was just hoping a nodejs dev would chime in a lgtm, since it'll fix their issue.

I can confirm this patch fix the mentionned issues on Node.js.

Landed in https://github.com/libuv/libuv/commit/dd8662b6d28236b60bb419390ea083695bbb2173. Thanks and really sorry for the long delay.


test: re-enable test on Windows (SR-14457)

The underlying IRGen issue has been fixed (#36803), re-enable the test.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @hborla

@swift-ci please smoke test

Thank you!
@swift-ci please smoke test Linux platform


BF: Improvements to viz.get_3d_backend()

What does this implement/fix?
This builds upon #7688.
On master, I observed the following behavior on a machine without a working 3D backend:
MWE:
import mne

print(mne.viz.get_3d_backend())
print(mne.viz.get_3d_backend())

master:
None
pyvista

Reason is that when probing for usable backends, MNE_3D_BACKEND is being set before the probing is carried out, so when it fails, the variable has already been changed, and is not reset to its previous state. df2e395 fixes the behavior and only changes MNE_3D_BACKEND is probing the 3D backend was successful:
None
None

I also realized that viz.get_3d_backend() can be simplified much more: since MNE_3D_BACKEND should always contain the currently used backend, get_3d_backend() can simply return this value. There's no need to invoke _get_3d_backend(). These changes are implemented in 2729896

@larsoner I removed most of the test in 787c7d9 in favor of an already-existing test:
https://github.com/mne-tools/mne-python/blob/30646229f23cee554884fe144726baf7947ff0a1/mne/viz/backends/tests/test_renderer.py#L26-L41

Also thank you @hoechenberger for taking care of this :)

The failing test seems to be unrelated…

Indeed, I'll open a PR to fix that

@GuillaumeFavelier feel free to merge if you're happy

Thanks @hoechenberger !


feat/32 Remove WebSocket usage from checking when Tx gets applied

What does this PR do

uses polling instead of WebSocket to check whether a Tx got applied after broadcasting it
Increased the timeout for the polling functionality to 40sec, this is as the time to get a response increases when the chain contains more blocks

This was also done in https://github.com/anoma/namada-interface/pull/166.