[WFLY-20058]: "netty-common" should depend on "org.apache.logging.log4j.api".

Updating the netty-common module.
removing the infinispan workaround.
removing the messaging workaround.

Jira: https://issues.redhat.com/browse/WFLY-20058

@rhusar I was a bit too enthusiastic in my removal :)

Changes are needed as this removes the fix for the SM that again results in
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "getClassLoader")" in code source "(vfs:/content/rx-messaging-ported.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.rx-messaging-ported.war" from Service Module Loader")

I don't see this failure. Am I missing something?

Changes are needed as this removes the fix for the SM that again results in
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "getClassLoader")" in code source "(vfs:/content/rx-messaging-ported.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.rx-messaging-ported.war" from Service Module Loader")

@rhusar I don't see this failure. Am I missing something?

Here - https://ci.wildfly.org/buildConfiguration/WF_PullRequest_LinuxSmJdk17/472439?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildTestsSection=true&expandBuildDeploymentsSection=false&expandBuildChangesSection=true - in reactive messaging.

Ah, I see. Thank you @rhusar

@jamezp I removed the hold label you'd added, now that you've approved this.

Thank you. That was my bad, I forgot I added it :facepalm:

/retest

Thanks @ehsavoie @rhusar @jamezp @jasondlee


Fix bad retry configuration

This configuration was originally made under the mistaken belief that
UNAVAILABLE indicated that no data had been transmitted to the server.
In fact, this is not necessarily true, so it is unsafe to retry on
that code for non-idempotent RPCs.

I find this change a bit odd. Even back in the ndb days we have always retried UNAVAILABLE with an exponential backoff. Will this reference be changing as well?
https://cloud.google.com/datastore/docs/concepts/errors
Timeouts are different than DEADLINE_EXCEEDED. Should we still be assuming that approximately 1 in 3,000 ordinary datastore operations will result in a timeout? If so, aren't those coming back as UNAVAILABLE?
https://cloud.google.com/appengine/articles/handling_datastore_errors

@bmclean This change is based specifically on @apolcyn's finding that if the gRPC server stub's process terminates at any point before the response message is sent, the client will receive UNAVAILABLE. (So it's possible the request message makes it to the backend, but the client still receives UNAVAILABLE if something goes wrong at the wrong time.)
This affects only the gRPC clients. You should continue following the per-API documentation for any of the REST-style, HTTP/JSON clients.

@quartzmo Is this change OK with you?

@quartzmo Acknowledged. I think this still makes sense as a precaution against the gRPC issue I noted above. I will check if it is safe to be more liberal with Datastore in particular.

@geigerj Thanks for the info. I am referring to the datastore gRPC client though. I think I confused the issue because we use both clients (ndb datastore on our older stuff, the ruby gRPC datastore on our newer). With the gRPC datastore client we see higher than 1 in 3000 operations return UNAVAILABLE. We simply retry those errors.

@geigerj Thanks for looking into the particular situation with Datastore.
@bmclean As usual, your feedback is very much appreciated!

Update: from internal discussion, I haven't received confirmation that it is safe to retry non-idempotent Datastore gRPC calls on after receiving UNAVAILABLE. We'll leave this as-is. (The docs should be correct for HTTP/JSON, and I'm asking for an update to the docs for the gRPC case.)


Size Goals

I'd like to keep JMVC as small as possible.  Here are some size-ish goals:
$.Class
currently: .985 KB
wanted: < .900 KB
$.Controller
currently: 1.74 KB
wanted : < 1.7 KB
$.Model
currently: 2.82 KB > 2.74KB
wanted: 2.5 KB
$.View
currenty: 1.62 KB
wanted: 1.5 KB
$.EJS
current: 1.5 KB
I think this is ok :-)
$.String
current: .666 KB > .650 KB
wanted: .5 KB
Summary
Combined, this would bring JMVC to 8.6 KB (which is back to inline with my 7kb goal for everything w/o EJS).
Oh, also steal ...
Steal
current: 4.97 KB
wanted: 4 KB
join and such needs to be cleaned up  for this

Not an urgent question at all, but how does JMVC compare size-wise to other MVC-like JS frameworks? I remember Brian LeRoux making a comparison chart against frameworks for TodoMVC but this wasn't really reflective of the framework components alone :)

IMO, this is not a good question.  It's the one simple, tangible value that people can easily compare so its importance gets far overblown.  Size is important, but only when standing along-side an understanding of features.
With that being said, I think BB is 5 KB with it's underscore dependency.  I'm not sure about other frameworks.
But also with that being said .. BB has nothing like $.Class, $.Controller's templated event handlers and rebinding.  Model getter/setters, deferred support, converters, etc, etc, etc.  Though, it has underscore.
I think a size comparison should ONLY be coupled alongside an explanation of features, etc.
JMVC is smaller than Dojo, but it doesn't have widgets and a whole host of other things.

Oh, and the fact that you can just use $.Controller or $.Class ...

In a branch, I am able to get:

Class: .627
Controller: 1.3
Observe: 1.8

I did this by removing unessential features.  For example, this._super, this.proxy, $.fn.controller, controller's plugin helper.  And a very thin layer on $.Observe to do ajax requests the way model does (a model with no validations, getter / setters, defaults / serialization, etc)
This would make the total about: 5.5k.  This would be the same size as backbone+underscore, but include things like automatic unbinding, $.View (which would be $.template), etc.  You'd create controllers like:
new Tabs($('#foo'),{})

Another iteration:
Model 3.04KB (Δ +0.22 KB)
Break Down:

Model Core -> 1.12KB
Observe -> 1.92KB

Plus

Based on $.Observe
$.Observe.List

Minus

setters
serialize (attributes)
elements
basic validation (needs tests) (attributes)

Class 0.66KB ( Δ -0.32 KB )
Minus

proxy
_super

Controller ( Δ -0.4 KB )
minus:

jQuery helper, controller()

Thoughts
I cut about .5KB.  But, I haven't spent time on $.Observe

So BB (4.6KB) and it's Underscore dependency (3.74KB) are 8.33KB.
Currently, the MVC parts are 6.92.  This does not include route ( 1.16KB ) and hashchange ( .5kb ).
So, MVC + R+H = 8.58.
$.View and $.route will have to come up with the remaining 0.25.

I have the small mvc parts down to 5.79KB.  Awesome.

So now, with hashchange, deparam, $.route, and controller/route, JMVC comes to:
7.33 KB!
controller/route lets you bind to specific routes like:
$.Controller('Routes',{
  "foo/:bar route" : function(data){
    data.bar
  },
  "route" : function(){
   // fires when hash is empty
  }
})

We could use an html5 converter ...

Great job, Justin! :)

Wow, that's tiny!

Here's the breakdown ...

Total is now 8.8k.
String	560
Construct	674
Control	1280
Observe	1690
Deparam	384
Route	1140
View	1150
EJS	2020
Model	1370

You an see that EJS+View has blown (3.3k) up b/c of live templating.  However, this is largely equivalent to Knockout now.

@justinbmeyer really great work on this. Are there plans on making the improvements more visibly documented somewhere?


Error while loading plugin in Domoticz (Raspberry Pi)

Hi, thanks for this plugin, I;m struggling to get it working in my situation. I followed all the steps in your guide.
Now when I go to the hardware page in Domoticz I don't see the plugin. After visiting the hardware page I see the following error in my log:
 2023-06-14 17:16:53.993 Error: PluginList: Parsing '/home/pi/domoticz/plugins/Domoticz-Brel-Plugin/', 'Error reading end tag.' at line 18 column 9 in XML '<plugin key="Brel-Home-Hub" name="Brel Home Hub" author="Superjunky" version="1.0.0" wikilink="https://github.com/superjunky/Domoticz-Brel-Plugin" externallink="https://www.brel-motors.nl/brel-app.html">
Any suggestions would be appreciated.

Same issue for myself, looked at the plugins but don't see anything strange in the plugins on line 18:
plugin.py:        Features
brel.py line 18: 			self.s.settimeout(5)
The error also refers to an .xml, i'm not able to find any .xml as part of the plugin. Maybe the error refers to the url https://www.brel-motors.nl/brel-app.html which isn't working when I directly call it but I'm not sure that's the cause as it's an .html and not an .xml

Hi Robbie,
I have the same issue and I'm using domoticz 2023.2. I understood you are not using the Brel-hub anymore and maybe this is stopping you from maintaining this plugin. This is a pity because it's used by many to great satisfaction. If you are willing to fix this error I'm more than willing to test it! ;)
Cheers,
Hans

Hi,
Same issue but this can be easily fixed by adding a missing  as indicated by the error in Domoticz in plugin.py on line 28.
Note that the comment is not included to the offset :)
diff --git a/plugin.py b/plugin.py
index 8466be7..9b435f3 100644
--- a/plugin.py
+++ b/plugin.py
@@ -28,7 +28,7 @@

Enter the KEY of your Brel Home Hub. Get the KEY by quickly tapping 5 times on "Version 1.x.x(x)" in your Brel SmartPhone app. You'll get the 16-byte KEY in a popup, which you can then copy/paste. On Android tap next to the profile picture instead of the version-number.

Don't forget to let Domoticz allow new devices before you activate this plugin!

Optionally you can specify default positions and/or angle's for your blinds' Open and Close buttons. Similar to a Favorite position. Read on for learning more about this.

-
If you have trouble loading your pycrypto module, you can manually add an accessToken in your settings. Get it by generating it at https://www.devglan.com/online-tools/aes-encryption-decryption
+
If you have trouble loading your pycrypto module, you can manually add an accessToken in your settings. Get it by generating it at https://www.devglan.com/online-tools/aes-encryption-decryption

The "Defaults array" explained

                Let's start with an example array:

BR Cas

Great, the fix is added!


Update fpp-to-json with state machine analysis

Add the state machine analysis to the fpp-to-json analysis output.

@jwest115 #527 is closed, so this issue can proceed. You can branch off of this branch:
https://github.com/nasa/fpp/tree/feature/state-machine-phase-2


ETS tables in Kino broken?

I think that Kino ETS tables may be broken. They store both the key and the value in the same column now, when it used to store each in a different column.
I suspect this is on Kino's side, but I want to do some digging to ensure we don't bother them unnecessarily.

Kino will fix the spacing of the "row" column and the issue where empty tables flash instead of rendering properly. 🤩


Failing to rake build:android

Hello again!
I'm pretty sure I've gotten the Android setup working as I can use the 1.1 release to deploy my game to my Android device. However, when I try to build motion-game myself, after rake build:setup I run rake build:android and then see a ton of output ending with:
install -c /Users/Glenn/RubymineProjects/motion-game/ext/cocos2d-x/external/tiff/prebuilt/android/x86/libtiff.a /Users/Glenn/RubymineProjects/motion-game/build/android/x86/libtiff.a
mkdir -p /Users/Glenn/RubymineProjects/motion-game/build/android/x86
install -c /Users/Glenn/RubymineProjects/motion-game/ext/cocos2d-x/external/webp/prebuilt/android/x86/libwebp.a /Users/Glenn/RubymineProjects/motion-game/build/android/x86/libwebp.a
mkdir -p /Users/Glenn/RubymineProjects/motion-game/build/android/x86
install -c /Users/Glenn/RubymineProjects/motion-game/ext/cocos2d-x/external/zlib/prebuilt/android/x86/libz.a /Users/Glenn/RubymineProjects/motion-game/build/android/x86/libz.a
/Users/Glenn/.rubymotion-android/sdk/build-tools/22.0.1/aidl src/com/enhance/gameservice/IGameTuningService.aidl src/com/enhance/gameservice/IGameTuningService.java
/usr/bin/javac -cp "libs/android-async-http-1.4.8.jar" -d "/Users/Glenn/RubymineProjects/motion-game/build/android/classes" -bootclasspath "/Users/Glenn/.rubymotion-android/sdk/platforms/android-16/android.jar" src/com/chukong/cocosplay/client/CocosPlayClient.java src/com/enhance/gameservice/IGameTuningService.java src/org/cocos2dx/lib/Cocos2dxAccelerometer.java src/org/cocos2dx/lib/Cocos2dxActivity.java src/org/cocos2dx/lib/Cocos2dxBitmap.java src/org/cocos2dx/lib/Cocos2dxDownloader.java src/org/cocos2dx/lib/Cocos2dxEditBox.java src/org/cocos2dx/lib/Cocos2dxEditBoxHelper.java src/org/cocos2dx/lib/Cocos2dxGLSurfaceView.java src/org/cocos2dx/lib/Cocos2dxHandler.java src/org/cocos2dx/lib/Cocos2dxHelper.java src/org/cocos2dx/lib/Cocos2dxHttpURLConnection.java src/org/cocos2dx/lib/Cocos2dxJavascriptJavaBridge.java src/org/cocos2dx/lib/Cocos2dxLocalStorage.java src/org/cocos2dx/lib/Cocos2dxLuaJavaBridge.java src/org/cocos2dx/lib/Cocos2dxMusic.java src/org/cocos2dx/lib/Cocos2dxRenderer.java src/org/cocos2dx/lib/Cocos2dxSound.java src/org/cocos2dx/lib/Cocos2dxTextInputWraper.java src/org/cocos2dx/lib/Cocos2dxTypefaces.java src/org/cocos2dx/lib/Cocos2dxVideoHelper.java src/org/cocos2dx/lib/Cocos2dxVideoView.java src/org/cocos2dx/lib/Cocos2dxWebView.java src/org/cocos2dx/lib/Cocos2dxWebViewHelper.java src/org/cocos2dx/lib/GameControllerAdapter.java src/org/cocos2dx/lib/GameControllerDelegate.java src/org/cocos2dx/lib/GameControllerUtils.java src/org/cocos2dx/lib/ResizeLayout.java
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
rake aborted!
Command failed with status (3): [/usr/bin/javac -cp "libs/android-async-htt...]
/Users/Glenn/RubymineProjects/motion-game/Rakefile:219:in `block in build_project'
/Users/Glenn/RubymineProjects/motion-game/Rakefile:207:in `chdir'
/Users/Glenn/RubymineProjects/motion-game/Rakefile:207:in `build_project'
/Users/Glenn/RubymineProjects/motion-game/Rakefile:236:in `block (2 levels) in <top (required)>'
/Users/Glenn/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
/Users/Glenn/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => build:android
(See full trace by running task with --trace)

Googling hasn't helped me with this error. Is there something you can suggest I try to get this to build?

Hi Glenn :)
What's your version of javac? In my environment I have the following:
$ javac -version
javac 1.7.0_71

You may want to try to install a recent Java (maybe this link will work: https://support.apple.com/kb/DL1572?locale=en_US)

javac 1.8.0_65

Maybe it's the opposite problem, you are using a version too recent? Either way it looks like the problem could be fixed by replacing the -bootclasspath "/Users/Glenn/.rubymotion-android/sdk/platforms/android-16/android.jar" line with -classpath <same-path> and add a proper -bootclasspath <path-to-jdk> argument.

It was a lot less boring than that. motion android-setup installed various versions of the SDK, but not Android 16. I had to manually install that one via the Android SDK Manager to get the version needed. Perhaps clarify in the Getting Started that this version is needed?

OK, now rake build:android succeeds. Back in my game, I run rake android:device and get:
    Create build/android/Development-22/lib/x86/libpayload.so
    Create build/android/Development-22/lib/x86/gdbserver
    Create build/android/Development-22/lib/x86/gdb.setup
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
3 warnings
3 warnings
    Create build/android/Development-22/classes.dex

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
	at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)
	at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
	at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
	at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
	at com.android.dx.command.dexer.Main.processClass(Main.java:704)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
	at com.android.dx.command.dexer.Main.access$300(Main.java:83)
	at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
	at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:632)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
	at com.android.dx.command.dexer.Main.run(Main.java:246)
	at com.android.dx.command.dexer.Main.main(Main.java:215)
	at com.android.dx.command.Main.main(Main.java:106)
...while parsing com/chukong/cocosplay/client/CocosPlayClient.class

1 error; aborting
rake aborted!
Command failed with status (1): ["/Users/Glenn/.rubymotion-android/sdk/buil...]
/Library/RubyMotion/lib/motion/project/template/android.rb:546:in `block in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/android.rb:779:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/android.rb:779:in `each'
/Library/RubyMotion/lib/motion/project/template/android.rb:779:in `block in <top (required)>'
Tasks: TOP => build
(See full trace by running task with --trace)

We added a patch of Java JDK 8 supporting and it will be shipped with next release.


[10.x] Add option to ignore case on string helper method before and after

Added the option to ignore case on the before and after string helper. Set defaults to use the existing case sensitive functionality for backwards compatibility.

Sorry for the mess of commits.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@taylorotwell I agree with the sentiment behind not bloating the framework. I would ask you to reconsider on this with the following scenario and if you still disagree, I can work around it, but it's too small a change to make into a package. Either way, grateful for you and the team.
See example below:
$string = "LOOK FOR THIS! Additional text here...";
$search = "Look for this!";

// Note: ::contains allows ignoreCase as 3rd parameter
if(Str::contains($string, $search, true)) {

    // Currently, this does not find it and returns "LOOK FOR THIS! Additional text here..."
    $text = Str::after($string, $search);

    // Updates would allow this to return " Additional text here..."
    $text = Str::after($string, $search, true);
}


How can we help?
I would like help so I can submit the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.rarewares.org/mp3-lame-bundle.php
Publisher: RareWares
Package Name: LAME
Description: High quality MPEG Audio Layer III (MP3) encoder.
Package Version: 3.100.1
Installer URL:

http://www.rarewares.org/files/mp3/lame3.100.1-x64.zip
https://www.rarewares.org/files/mp3/lame3.100.1-win32.zip

https://github.com/microsoft/winget-pkgs/pull/153518

[!NOTE]
This issue should be closed as "completed", as pull request #153518 has successfully merged.

[!NOTE]

This issue should be closed as "completed", as pull request #153518 has successfully merged.

Agreed, thanks for the merge 😊


installer wipes OpenJRE 11 and installs nothing

Did the manual install of the OpenJRE 11 on a fresh Linux installation (2018-11-13 Snapshot) according to the tutorial http://ev3dev-lang-java.github.io/docs/support/getting_started/brick.html:
wget obtained the file jri-ev3.tar.gz.
The command: sudo tar -zxvf jri-ev3.tar.gz -C /opt extracted the content to: /opt/jri
Then I renamed that: sudo mv /opt/jri/ /opt/jri-11
Then I did sudo update-alternatives --install /usr/bin/java java /opt/jri-11/bin/java 11
And finally java -Xshare:dump
Then JRE 11 was installed.
However, after installing the installer.sh and running sudo ./installer.sh java the following happened:
##############################
# EV3Dev-lang-java Installer #
##############################
# Last update: 2018/11/10    #
##############################

Init installer

#########################################
# PLATFORM SECTION                      #
#########################################

Platform detected: ev3

#########################################
# JAVA SECTION                          #
#########################################

/usr/bin/java
Found java executable in PATH
Installed Java version: '11.0.1', latest '11', installing anyway.
Detected a previous installation in path: /opt/jri-11
Deleting and reinstalling.

Downloading Java...
--2018-11-23 10:59:43--  https://ci.adoptopenjdk.net/view/ev3dev/job/openjdk11_build_ev3_linux/40/artifact/build/jri-ev3.tar.gz
Resolving ci.adoptopenjdk.net (ci.adoptopenjdk.net)... <IP_ADDRESS>
Connecting to ci.adoptopenjdk.net (ci.adoptopenjdk.net)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-23 10:59:45 ERROR 404: Not Found.

Java package acquired, installing...
tar: /home/robot/installer/jri-ev3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: cannot stat '/opt/jri': No such file or directory
update-alternatives: error: alternative path /opt/jri-11/bin/java doesn't exist
update-alternatives: warning: alternative /opt/jri-11/bin/java (part of link group java) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/java is dangling; it will be updated with best choice
update-alternatives: error: alternative /opt/jri-11/bin/java for java not registered; not setting
Output of 'java -version':
/home/robot/installer/module/java.sh: line 105: /opt/jri-11/bin/java: No such file or directory
Dumping class cache...
/home/robot/installer/module/java.sh: line 108: /opt/jri-11/bin/java: No such file or directory

and the JRE was gone..

Hmmm, I shouldn't have added a download link to a jenkins job (it got too old and it was wiped). However, we have added our java in ev3dev repositories. You can actually now just do:
sudo apt install jri-11-ev3

and you should be OK.
If you want to use OpenCV or something using the USB port, you can install the libraries with this command:
sudo apt install libopencv2.4-java librxtx-java

Wow super, that is the WAY to do it!!
Could you somehow mention that in the tutorial?

I have created an issue for the future solution here: https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/589


test: Add tests to Create Event Module

Fixes #643.
Changes: Added tests to CreateEventPresenterTest and slightly modified current ones.
@iamareebjamal Are there any more tests that I should add?

@iamareebjamal Oh is there a reason why Codacy is unable to analyse this pull request?

No, it happens sometimes. Not an issue


helm3 regression in helm dependency build

In Jenkins X we've been putting things in place so users can use a feature flag to use helm 2.x or 3.x. We've got things working fine for doing releases with helm3; but it seems composite charts with dependencies have issues.
I seem to have found a regression where for the exact same project, using the helm 2.x binary I get:
$ helm dependency build
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "releases" chart repository
...Successfully got an update from the "jenkins-x" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 3 charts
Downloading exposecontroller from repo https://chartmuseum.build.cd.jenkins-x.io
Downloading exposecontroller from repo https://chartmuseum.build.cd.jenkins-x.io
Downloading demo93 from repo http://jenkins-x-chartmuseum:8080
Deleting outdated charts

but if I try the same folder + chart immediately after with helm3 I get:
$ helm3 dependency build
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "releases" chart repository
...Successfully got an update from the "jenkins-x" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 3 charts
Downloading exposecontroller from repo https://chartmuseum.build.cd.jenkins-x.io
Save error occurred:  could not download https://chartmuseum.build.cd.jenkins-x.io/charts/exposecontroller-2.3.58.tgz: could not find a repo containing the given URL
Deleting newly downloaded charts, restoring pre-update state
Error: could not download https://chartmuseum.build.cd.jenkins-x.io/charts/exposecontroller-2.3.58.tgz: could not find a repo containing the given URL

The chart was created with helm2 and it is downloadable at that URL (its the same URL in both cases) so am guessing there's some other error that happens in helm3 that causes the error?
If it helps here's the requirements.yaml file for this test: https://github.com/jstrachan/environment-jstrachan-test1-staging/blob/master/env/requirements.yaml

@jstrachan I'm going to close this because we decided last dev call that we are not going to be tracking issues for Helm 3 at this point since it's still very much in-flux and things are expected to change.
If you have any further discussion points/issues/questions regarding Helm 3, if you wouldn't mind discussing in #helm-dev in Slack that would be most appreciated. Thanks!

This still seems to be an issue with this in Helm 3 Alpha using ChartMuseum. Any chance to have this opened again?


Fixed Bugs

Kawasaki arm pose callback speed up
Joint State Listener Added
Joint State and Joint Pose publisher added
Fixed publisher added to start

Well done


[Event Change Request] report 790 "Calculate Inventory" - OnAddZeroQtySKUOnBeforeInsertZeroQtySKU #20014

I'm still missing the var Item paramter. The Item passed by reference. Could that event please be updated?
https://github.com/microsoft/ALAppExtensions/issues/20014
[IntegrationEvent(true, false)]
//+Change
//-local procedure OnAddZeroQtySKUOnBeforeInsertZeroQtySKU(Item: Record Item; var SKU: Record "Stockkeeping Unit"; var TempInventoryBuffer: Record "Inventory Buffer" temporary; var IsHandled: Boolean)
local procedure OnAddZeroQtySKUOnBeforeInsertZeroQtySKU(var Item: Record Item; var SKU: Record "Stockkeeping Unit"; var TempInventoryBuffer: Record "Inventory Buffer" temporary; var IsHandled: Boolean)
//-Change
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53649.


Document and REST-ify API

While a basic API description is in the README and we already use the API for interesting things like chatbots, the support is currently very basic. Integration with tools like Flask API and Swagger (via Flask RESTplus or Flask Restless) would help make the platform more interesting for other developers. Ideally we would also make the API bi-directional (fully RESTful) through this effort.

What also always helps are bootstraps and samples. Here is, for one, a Vue.js-based app made for a hackathon in November:

https://codesandbox.io/s/cool-cloud-ozl5k

What also always helps are bootstraps and samples. Here is, for one, a Vue.js-based app made for a hackathon in November:

https://codesandbox.io/s/cool-cloud-ozl5k

Not that Flask-REST has been superceded by Flask-RESTX and there are compelling alternatives like Flask-smorest out there which make me rethink some of the base patterns of the project, I think this should be the foundation of a wholesome rewrite of dribdat.


Can not publish with win-x86 runtime

When I try to publish the HelloWorld project with the win-x86 runtime, I get this error:

C:\Users\Cyrille Lagarigue.nuget\packages\microsoft.dotnet.ilcompiler\1.0.0-alpha-27024-03\build\Microsoft.NETCore.Native.Publish.targets(61,5): error : The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative [C:\Projects\Test Net Core RT\HelloWorld\HelloWorld.csproj]

It builds in x-64.
Here is the sample project, just run publish.bat
HellowWorld.zip
Thanks

CoreRT supports x64 only so far. https://github.com/dotnet/corert/issues/4589 is tracking issue for x86.

Maybe the error message could be clearer (win-x86 runtime not supported).

Make sense


Websocket error

I made quite a version jump, and followed the recommendation of the configuration.yaml entries, but now I get a websocket error. (The REST API calls work fine.)
I removed and reinstalled everything using HACS - it did not help.
Any hint?
Home assistant log extract filtered for Casambi:
2022-12-11 17:19:13.216 DEBUG (MainThread) [custom_components.casambi.casambi.CasambiLightEntity] available is returning True for unit=<Unit Casambi Mito volo:unit_id=1 fixture_id=19531 oem=Occhio fixture_model=Mito volo address=690988496679 type=Luminaire value=0 distribution=0 state=off online=True network_id=nViByCjmOIEZU5oTCLdXfVZG6Gkts3iV wire_id=31 firmware_version=36.30 is_light=True supports_brightness=True supports_distribution=True supports_color_temperature=True supports_rgb=False supports_rgbw=False controls={'Dimmer': {'name': 'dimmer0', 'type': 'Dimmer', 'value': 0.0}, 'Vertical': {'name': 'vertical', 'type': 'Vertical', 'value': 0.49019607843137253}, 'CCT': {'min': 2700, 'max': 4000, 'level': 0.5, 'name': 'temperature', 'type': 'CCT', 'value': 3350.0}} >_
2022-12-11 17:19:13.341 ERROR (MainThread) [aiocasambi.websocket] websocket: Unexpected Exception: < 429, message='Invalid response status', url=URL('wss://door.casambi.com/v1/bridge/') type="<class 'aiohttp.client_exceptions.WSServerHandshakeError'>">
2022-12-11 17:19:13.345 ERROR (MainThread) [aiocasambi.websocket] An unknown exception was thrown!
File "/usr/local/lib/python3.10/site-packages/aiocasambi/websocket.py", line 214, in running
File "/usr/local/lib/python3.10/site-packages/aiocasambi/websocket.py", line 156, in ws_loop
aiohttp.client_exceptions.WSServerHandshakeError: 429, message='Invalid response status', url=URL('wss://door.casambi.com/v1/bridge/')
2022-12-11 17:19:13.348 DEBUG (MainThread) [aiocasambi.websocket] websocket.state disconnected
2022-12-11 17:19:13.349 DEBUG (MainThread) [aiocasambi.controller] session_handler: websockets {'nViByCjmOIEZU5oTCLdXfVZG6Gkts3iV': }

The API is throwing  status: 429 Quota limits exceeded. You have to ask Casambi why, I don't have server log access, I my case I think its because I have two instances, but it because of another reason.
Please continue the discussion in https://github.com/hellqvio86/home_assistant_casambi/issues/91 , since this a duplicate

@hellqvio86 Thanks for the fast reply and sorry for the duplicate.
I'm not happy with Casambi, and will never buy another lamp of theirs.


Saving new project to GitHub results in GH Action fail

From the Arcade editor, I saved my project to a new GitHub repo:
https://github.com/eanders-MS/arcade-sim-input
Shortly afterward, I received a "run failed" notification from GitHub Actions.
https://github.com/eanders-MS/arcade-sim-input/runs/1844216043?check_suite_focus=true

Could this be related to the recent move away from travis-ci?

Not related to travis, this one's a typo I made in the gh action template / it's fixed in /stable for patch release: https://github.com/microsoft/pxt/pull/7843/files#diff-f7cad9d8ff3009d11cc5dad9f10e418789b7de6914cf37eacbee5f4cfd228bffR161-R163 -- if you patch the workflow like this it will work again https://github.com/jwunderl/pxt-test-test-test-test/blob/master/.github/workflows/cfg-check.yml#L19-L21


Could you compile the jar using Java 8?

It seems aedile-score-1.1.2.jar is compiled by Java 11 (version 55).
https://s01.oss.sonatype.org/#nexus-search;quick~aedile
Ref: "java.lang.UnsupportedClassVersionError: com/sksamuel/aedile/core/Cache has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
Could you compile it using Java 8 (version 52) for the sake of compatibility?
Reasons we cannot use Java version higher than 8 include: (1) the kotlin-maven-plugin 1.6.x we use targets java 8, (2) we use maven-jar-plugin to build java 8 jars for other legacy systems to use, and (3) other practical reasons...

Caffeine itself is Java11 from 3.x so we can't release a 8 version of it.

How about compiling aedile-core-jdk8 for caffeine-2.9.x ...

This library is aimed at caffeine 3.0+


Make Path Configurable and add Support for GZIP PCAP files

Added a path parameter to allow saving to an arbitrary location. The default parameter will preserve the current behavior.

If the PCAP file ends in .gz decompress on the fly. This simplifies single pass through use cases such as storing all the trades in a DB. Current behavior is to read the entire file and then error.

I haven't personally tested these changes but they look good to me. I can upload a new version to PyPI later this week.


[stdlib] Prevent coercion from Bool to numerical types when decoding JSON and plist

JSONEncoder and PropertyListEncoder both use NSNumber to box Bool values.  An encoded Bool can be coerced to any numerical type during decoding because (false as NSNumber).intValue == 0.  As a remedy, all of the unbox(_:as:) methods of _JSONDecoder and _PlistDecoder for numerical types include a check that the value is not identical to either kCFBooleanTrue or kCFBooleanFalse, and throw a DecodingError._typeMismatch(at:expectation:) if this check fails.
Right now, Swift can dangerously decode Bool data as a numeric type as in the following examples:
let arrayData = try! JSONEncoder().encode([false, true])
try! JSONDecoder().decode([Int].self, from: arrayData) // == [0,1]

let dictData = try! PropertyListEncoder().encode(["foo":false])
try! PropertyListDecoder().decode([String:Double].self, from: dictData) // == ["foo": 0.0]

struct Foo: Codable {
    let bar: Int
}
try! JSONDecoder().decode(Foo.self, from: JSONEncoder().encode(["bar":true])) // == Foo(bar: 1)

This issue has the potential to affect the correctness of many programs, and in particular programs that depend on the decoding system to validate the application-specific correctness of JSON.  It could also be more troublesome for programs when unkeyed containers are used.
Note that currently the opposite is not an issue.  Encoded numerical types cannot decode to Bool.

(Drive-by CI pass, don't mind me)
@swift-ci please test


runtime(doc): improve 'winfixbuf' docs

Make it not sound like a buffer option.
"!" is called a modifier, not an option.

thanks!


coredump on quitting baresip while audio file plays

HI Alfred,
While testing https://github.com/alfredh/baresip/issues/185, I quit baresip while it was playing busy.wav, which resulted in a coredump:
$ baresip
/play busy.wav
playing audio file "busy.wav" ..
oss: init: 8000 Hz 1 ch, blocksize=128
Quit
ua: stop all (forced=0)
Stopping 1 useragent..
zsh: segmentation fault (core dumped)  baresip

here's the backtrace. Do you need bt full, too?
(gdb) bt
#0  0x28cd9190 in ?? ()
#1  0x280f1a3a in mem_deref () from /usr/local/lib/libre.so
#2  0x08065eba in destructor (arg=0x28a2c100) at src/play.c:133
#3  0x280f1a3a in mem_deref () from /usr/local/lib/libre.so
#4  0x280e8d39 in list_flush () from /usr/local/lib/libre.so
#5  0x080667bc in player_destructor (data=0x28a6ea20) at src/play.c:326
#6  0x280f1a3a in mem_deref () from /usr/local/lib/libre.so
#7  0x08057036 in baresip_close () at src/baresip.c:58
#8  0x080769c8 in main (argc=1, argv=0xbfbfec00) at src/main.c:250

This is with baresip from master and this has happened on freebsd 11-release along with Ubtuntu/Debian system, also on baresip from master.

many thanks for the bug report :)
I think what is happening here is that the module is unloaded before it's destructor
is called.
I will have a look and see if I can fix this properly.
A workaround can be to compile modules statically linked into the baresip core.
$ make clean
$ make STATIC=1

@jungle-boogie I made a fix, could you please test latest version?

@alfredh, yes, this is much better and it doesn't coredump/segfault!


out of date graphics as Azure evolves faster than a virus

[Enter feedback here]
This page seems out of date, as what I'm seeing does not match the graphics. You have no idea how frustrating that makes the documentation

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

ID: 67314add-afed-bd07-a432-1cdf9303f2cb
Version Independent ID: 742a7c8c-7e72-c340-f900-6fd5c19ae6d9
Content: How to send email - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/how-to-send-email.md
Service: data-factory
Sub-service: tutorials
GitHub Login: @ssabat
Microsoft Alias: susabat

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

@napbarnes thanks for helping improve the docs!  I created this article very recently and the screenshots should all be up to date.  Can you confirm which screenshot(s) you are seeing that are not correct?  I will ensure the article is updated asap to fix any issues we have in it.
Thank you!

Hi
First, apologies if I sounded a bit ‘off’ In my email. It was late, I struggle with everything Azure, and I wish sometimes I could be somewhere else.
I tried to follow your instructions, and for the most part, where they differ I can work out where Microsoft have updated the layout of the screen. Little things like is it important that my screen shows ‘Logic app’ under the little icon top left, not ‘Workflow’. However, when I click the Overview button, I get most of what your screen shot shows, but I don’t get a workflow URL to copy. I eventually found it when I was in the Designer, and I highlighted the HTTP request box to edit the JSON.
I suspect my setup is different from yours. I use a single tenant instance and have seen other users with different logic app design environments. Maybe it’s the difference between Consumption and Standard type?
Regards
Nick
Nick Barnes
Senior Consultant
change++
Tel: 01635 889 222
DD: 01635 889 223
From: Jon Burchel @.>
Sent: 21 December 2021 19:23
To: MicrosoftDocs/azure-docs @.>
Cc: Nick Barnes @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] out of date graphics as Azure evolves faster than a virus (Issue #85582)
@napbarneshttps://github.com/napbarnes thanks for helping improve the docs! I created this article very recently and the screenshots should all be up to date. Can you confirm which screenshot(s) you are seeing that are not correct? I will ensure the article is updated asap to fix any issues we have in it.
Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/85582#issuecomment-999034103, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUR6ERSJKKXBL7EWOND357TUSDHZPANCNFSM5KQQMIVA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Thanks @napbarnes for the clarification, and for helping us improve this doc!  I do think the wording was a little vague when describing how to find the workflow URL.  I added a clarification note now that explicitly calls out how to navigate to it instead of just assuming the user is already there.  I hope this will improve the article to make it easier to follow!  I will close this issue out for now but if there are other issues on the page that we need to address, you can reply here and continue the conversation even after the issue is closed, too.
#please-close


Nuget references without Yeoman

Have a problem with ionide. I want to create a project without F# Yeoman, I want a more "clean" approach. So, I created this sample app with PAKET and FAKE only and after:
1 - paket update
2 - build
I can run my program and it works great!!
But my problem, is that Atom does not recognize nuget references such as RabbitMQ.Client

Is there something I can do to fix it?
My platform settings are:

OSX 10.11.5
ATOM 1.7.4
Mono JIT compiler version 4.2.2
IONIDE 1.9.1

Thanks
Christian
rabbit.zip

Short version: you need an .fsproj file so that the autocomplete, type tooltips, and other nice features will work. If you don't want to make one from scratch (I wouldn't blame you), you should be able to copy an .fsproj file from just about any other project and adjust it to your needs. Try borrowing one from Project Scaffold and see if that works for you:
https://github.com/fsprojects/ProjectScaffold/
Longer version will have to wait until later when I have a lot more time.

I understand, thanks for your time.


fix typo in build gha

Description of the change
fixes a small typo in .github/workflows/build-and-publish.yaml that stops the tox install from working.
Related issue number
Closes https://github.ibm.com/ai-foundation/watson-fm-stack-tracker/issues/774
How to verify the PR
I did the following

I pushed this PR to my local fork's main branch so that I could publish a new release to PyPI and test
Then from there I created a new release and it succeeded with this new change: https://github.com/jbusche/fms-hf-tuning/actions/runs/8824603436/job/24227364778
I then used this new release to try to build a local image:

docker build --build-arg WHEEL_VERSION=0.0.1rc7 --progress=plain -t fms-hf-tuning:0.0.1rc7 . -f build/Dockerfile

Then I pushed it to my local openshift repo:

podman login -u kubeadmin -p $(oc whoami -t) $(oc registry info) --tls-verify=false
podman tag localhost/fms-hf-tuning:0.0.1rc7 $(oc registry info)/opendatahub/fms-hf-tuning:0.0.1rc7
podman push  --tls-verify=false $(oc registry info)/opendatahub/fms-hf-tuning:0.0.1rc7

Then I ran Ted's test to see that it worked... it looked good:
Every 2.0s: oc get pods,pytorchjobs                                                           api.ted414.cp.fyre.ibm.com: Wed Apr 24 17:39:46 2024

NAME                        READY   STATUS      RESTARTS   AGE
pod/ted-kfto-sft-master-0   0/1     Completed   0          3m34s

NAME                                   STATE       AGE
pytorchjob.kubeflow.org/ted-kfto-sft   Succeeded   3m34s

Was the PR tested
Yes, see above

[ ] I have added >=1 unit test(s) for every new method I have added.
[ ] I have ensured all unit tests pass

FYI @tedhtchang, it looked good in testing:
docker build --build-arg WHEEL_VERSION=0.0.1rc7 --progress=plain -t fms-hf-tuning:0.0.1rc7 . -f build/Dockerfile
....
Successfully tagged localhost/fms-hf-tuning:0.0.1rc7
a2a1d2faf0dff79ca6ba6c128915c4b55b8fa15c1f640fd3c6accb99235c3c3b

and then a run with this image looked good:
oc get pytorchjobs,pods
NAME                                   STATE       AGE
pytorchjob.kubeflow.org/ted-kfto-sft   Succeeded   13m

NAME                        READY   STATUS      RESTARTS   AGE
pod/ted-kfto-sft-master-0   0/1     Completed   0          13m


Prevent log spam from the IP forwarding daemon.

Forwarded IPs are returned with a local prefix. The agent splits on the
space and tries to add a route for the IP "local" which generates log
spam. We should strip out the local prefix to prevent this issue.

Fixes #602.


Example is not working

I'm working on this Example
When i run the consumer it is working
java -Dedc.fs.config=./example/configurations/consumer.properties -jar ./example/build/libs/dataspace-connector.jar
but when i run the provider
java -Dedc.fs.config=./example/configurations/provider.properties -jar ./example/build/libs/dataspace-connector.jar
i'm getting this problem

PS
I tested both localy and using docker and got the same problem
My idea
I thing the problem has somethiong to do with the last  merge request  from  @carlos-schmidt
web.http.management.port = 8182
web.http.protocol.port = 8282
when i change the protocol port to 8585 for example it works, i think the port 8282 is called in the Dataspace-connector.jar file

Hello DevBadi,
I was not able to reproduce your errors using the commands
java -Dedc.fs.config=./example/configurations/consumer.properties -jar ./example/build/libs/dataspace-connector.jar
and
java -Dedc.fs.config=./example/configurations/provider.properties -jar ./example/build/libs/dataspace-connector.jar.
Maybe the port 8282 was already in use by another service? The docker provider also binds to port 8282 on your system, so this would be the same error. You could check the port availability by running Get-Process -Id (Get-NetTCPConnection -LocalPort 8282).OwningProcess in PowerShell for example.
Nonetheless I have found some errors and outdated requests in the example and have pushed an update (https://github.com/FraunhoferIOSB/EDC-Extension-for-AAS/pull/22), so if you'd like, you can try the example again with the newest commit.

Hi Carlos,
yes, itnow the provider now is running.


Optimized Dockerfile & fix issues with Dockerfile.

Fixes # .
Changes proposed in this PR:

After resize:

NOTE: I could not build the image because of updating and cleaning the cache in the same time. The apt has different configurations on standard images (I encountered on python3.8-slim, but with python3.8-slim-buster it worked).


Missing license

I’m not seeing a license; can one be added to make this open source? (preferably MIT)

done! https://github.com/YoungiiJC/go-rod-aws-lambda/blob/main/LICENSE
lmk if you need anything else here.


fix: set http2 connection windows size to unlimited

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
The default setting of connection windows size is equal to stream windows size. Assume a MergeExecutor had 3 upstream s1, s2, and s3. When s1 and s2 received barriers, they will stop polling upstream to align barriers. But the upstream will keep sending messages until their stream windows are full. Thus the connection buffer might be overwhelmed by the messages from s1 and s2 before the barrier from s3 is sent to downstream. At this time, MergeExecutor will never receive a barrier from s3 and the barrier will not be aligned. This is a deadlock.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#4270

Good work! I'd like to verify it locally tomorrow. 🥰

Will this cause OOM?

Will this cause OOM?

I don't think so. Seems the window will not be allocated at once, and it's also bounded by stream count * stream window size, and we keep the stream window size to default (64kB). Considering that a chunk could be larger than 64kB, these changes can be treated as increasing the channel bound from 16 to 17. I think it's acceptable.
https://github.com/singularity-data/risingwave/blob/626a4c5e3308e546055cce9d7a4b18fa3df0be18/src/stream/src/task/mod.rs#L35-L36
BTW, we add a extra capacity of 1024 for every pair of remote channel before #4495. 😄

But the upstream will keep sending messages until their stream windows are full.

We don't limit this with application buffers? I don't think this phenomenon will happen as that means that we do not configure any back pressure into the merge executor?

we did not previously configure any back pressure into the merge executor?
In remote case, we previously hoped the stream window size would do the back pressure and it worked. But such backpressure caused a deadlock because we set an inappropriate connection window size.

We don't limit this with application buffers?
If you mean to do something like downstream give credits to upstream, we didn't implement that. I personally think the HTTP2 flow control can do the same job here


can't get config.json to be identified

hi, I very much appreciate you implementing what I think are missing features, such as a static config, so all of my lan users can connect without each setting up settings in their browser.
I can't get it to work though. on v1.2.6
I saved the settings, exported the file, renamed it to config.json and put in the root directory, next to the index.html file, but it's not getting recognized - the default settings (with dracula theme) are there.
is there something else I need to do?

Hi, sorry for the late response. I wonder if notifications were turned off.
If you change something and you reload the current tab changes get ignored due to the fact that i found no better solution than fetching the config an reload the page once a value in session storage is not present . You can clear the session storage or open the page in an other tap every time you change something.

@ntzb please let me know if this issue still exists. Otherwise this issue will be closed soon due to inactivity.

@ntzb you did everything right with adding config.json to root. I think i could reproduce your issue. My browser keeps deleting page data opening a new tab shows me the config every time. Onced i changed the browser the config was not loaded.
Could you try version 1.3.1 it includes a fix for it ?
After a config change open the page in a new tab and your changes should be visible.

@ntzb i think i got your point. You don't use any http server right? This is not supported the browser blocks file acces via javascript.  But you can use one of these tools to run it localy:
https://formulae.brew.sh/formula/darkhttpd -> open the terminal in your folder and run darkhttpd ./ --port 8080
https://github.com/vercel/serve#readme -> open the terminal in your folder and run serve ./
https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer -> open the folder with vscode on click on go live

@free-bots sorry, I wasn't aware that the browser doesn't pick up the config.json file (cors stuff?).
I do have an nginx server running the mayswind/AriaNg version, but I just wanted to try yours with a regular browser before I replaced it.
it works as expected, so I'm closing this.
thanks for your help!


VerneMQ with TLS 1.2 sends Encrypted Alert 21 then disconnects

Environment

VerneMQ Version: vernemq_1.0.1-1_amd64.deb
OS: Ubuntu 16.04 64 bit
Erlang/OTP version (if building from source): Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]
Client: Python PAHO MQTT on Windows 10 64 bit

Expected behavior

I'm developing a test application with Python PAHO MQTT client, which connects with VerneMQ server, port 8883 using TLS1.2.
I created a certificate authority and issued a server certificate, which I installed in this way:

listener.ssl.cafile = /etc/ssl/certs/mqtt_ca.crt
listener.ssl.certfile = /etc/ssl/certs/mqtt.crt
listener.ssl.keyfile = /etc/vernemq/mqtt.key

On the client side, I'm setting the CA certificate in PAHO MQTT client like this:
self.client.tls_set(ca_certs="mqtt_ca.crt", tls_version=ssl.PROTOCOL_TLSv1_2)

I expect that the connection should be made, then be able to publish.
Actual behaviour

The connection sometimes is made, and I can publish.
But quite often VerneMQ sends me an "Encrypted alert 21", then disconnects the client. Please see the Wireshark trace below:

If I restart VerneMQ service, it may work for some time, then start sending Encrypted Alerts again.
In VerneMQ log, I only find records like this:
2017-05-26 09:20:28.950 [error] <0.5506.0>@vmq_mqtt_fsm:auth_on_publish:659 can't auth publish [<<"test-user">>,{[],<<"test-client">>},1,[<<"box">>,<<"test-client">>,<<"log">>],<<"test message">>,false] due to error

Never mind, I mistakenly had two separate instances of the same client trying to connect. When I stopped the second instance, the server didn't send Encrypted Alert 21 any more

Good to hear, thanks for letting us know & thanks for using VerneMQ :)


List projects first in collections

Toyed around with what you've got going on in collections.php and post-collections.php and couldn't quickly see how the 'bios' and 'projects' order is being specified, but based on the design, should be 'projects' first, then 'bios':

@natebeaty  also just trying this out — if this is stupid and you'd prefer an email, slack message, or messages message, let me know.

ORDER BY cp.post_type, cp.position ASC here: https://github.com/firebelly/scb/blob/master/web/app/themes/scb/lib/post-collections.php#L118
Can just change that to DESC to do project, bio


Pod count evaluation

Support arithmetic evaluation for PodCount in RegisterObj
e.g.,

"{{.parallelism}} * 2"
"{{.parallelism}} * {{.replicas}}"

I was wondering if the use of FuncMap would be more intuitive for users.
For example, we define math functions"
func add(a, b int) int {return a + b}
func subtract(a, b int) int {return a - b}
func multiply(a, b int) int {return a * b}
func divide(a, b int) int {
   if b == 0 {
        return 0
    }
    return a / b
}

Then we use them in templates:
funcMap := template.FuncMap{
    "add":      add,
    "sub": subtract,
    "mul": multiply,
    "div":   divide,
}

template.New("arithmetic").Funcs(funcMap).Parse(tmpl)

And the template will look like
{{ mul .A .B }}

I was wondering if the use of FuncMap would be more intuitive for users.
For example, we define math functions:
func add(a, b int) int {return a + b}
func subtract(a, b int) int {return a - b}
func multiply(a, b int) int {return a * b}
func divide(a, b int) int {
   if b == 0 {
        return 0
    }
    return a / b
}

Then we use them in templates:
funcMap := template.FuncMap{
    "add":      add,
    "sub": subtract,
    "mul": multiply,
    "div":   divide,
}

template.New("submit").Funcs(funcMap).Parse(tmpl)

And the template will look like
{{ mul .A .B }}

We don't have to implement this, there already exists a library that provides what you have suggested -- https://github.com/Masterminds/sprig. It's the templating library that's used by helm and I believe some of our internal tools as well. Another advantage of using this library is that users get much more than the basic mathematical operations and not to mention the library is battle tested.
With that said, both approaches (the one in implemented in this PR and the one suggest in this comment) achieve the same end result for this use case but take different approaches.
My question is do we have use cases where users need to use more than just mathematical expressions? Because, if we don't then IMO we can stick to simple mathematical expression evaluation as used in the current approach.

Multiple templates, such as Helm or Hugo, are implemented for mathematical evaluations. The reason that I picked the current implementation was that

The only requirement, so far, is supporting PodCount and simple mathematical evaluation
Users don't need to learn a new syntax
Minimal code footprint

If we have other requirements beyond the current implementation, we can discuss them further, so please let me know if we have any. However, in such case, I would pick one existing implementation rather than introduce and implement our own template.


Fix example code, remove rails method

String#strip_heredoc is not a ruby method, it's a Rails method.

Coverage remained the same at 97.186% when pulling ff069ecd2e9f2658a8c01a368dc8c9a09c549d0b on xiejiangzhi:master into 0549edf8987da8d2b9948597a1e6b2d9c090d7aa on igrigorik:master.

LGTM, modulo the build failures. Can you take a look at the formatting complaints it's raising?

Done, but the CI still got a error of jruby.
The master branch have some problem.


Delete project, but the labels of project still exist.

we need to clean the project meta data of the project.

This should be OK as the project is soft-deleted.  And there won't be large number of labels in normal usage.


Inconsistent index access type for this type

Sorry it's me again....
it seems this type is resolved too eagerly in parent class.
TypeScript Version:  nightly
Code
class A {
  prop: {}
  propCopy: this['prop']
}

class B extends A {
  prop: {field: number}
  propCopy2: this['prop']
}

var b = new B
b.propCopy.field // error here
b.propCopy2.field

Expected behavior:
Code should compile. both propCopy and propCopy2 have the same type.
Actual behavior:
Error on b.propCopy.field, b.propCopy is typed as {}

This behavior seems to make sense. prop doesn't have a field property in the base class where propCopy is defined. If you redefine the field on the subclass the error goes away.

I believe this is the same issue with https://github.com/Microsoft/TypeScript/pull/11929#issuecomment-261744874
It is not a bug report but a feature request.

@HerringtonDarkholme I see. I was thinking about it as a bug report, sorry.


MINOR: Clean leaking resource in ShareConsumerTest

We currently do not clean up resources (e.g., producer and consumer) when tests fail. This PR aims to address this issue.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@frankvicky Could you please point out where we might have forgotten to close the consumer or producer?

Hi @chia7712
https://github.com/apache/kafka/blob/9f27d997c3ef2f353e2fea3735006b1c1b677cac/core/src/test/java/kafka/test/api/ShareConsumerTest.java#L1258
Before #18053 , this assertion might fail and lead to leaking producer and consumer.

It appears that the issue is not only related to the consumer but also requires us to close the thread pool. Could you please refactor that test case to ensure all resources get closed?

To ensure that all resources are closed properly during this refactoring, adjustments to the helper method are necessary. The original logic for creating resources was encapsulated within the helper method, so I extracted the resource creation process into the test case. This ensures that the test case uses try-with-resources first before passing the resources into the helper method.

@frankvicky The latest build had some test failures which could be related. Please investigate.

This issue is invalid after #18105


libsolv: enable zstd support to match createrepo_c

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

In 3.0, createrepo_c's default behavior is to create repodata files compressed using zstd; prior to this change, libsolv didn't support zstd, though, so tdnf/dnf/et al. couldn't actually handle those repos. As a workaround, the toolkit and manual invocations of createrepo_c for 3.0 have needed to use the --compatibility flag. Standard OSS tooling doesn't know to do this (nor should it have to), though; the right thing to do is to add support for zstd to libsolv, as other distros have done.
Change Log

Enable zstd support in libsolv at compile time.
Does this affect the toolchain?

Yes.
Test Methodology

Local build + pipeline build through and including toolchain (phase 1).

@PawelWMS -- I forgot to explicitly mention, but I just wanted to confirm that the phase 1 Dev-BuildToolchain pipeline succeeds with the latest changes: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=648440&view=results (with Force re-building raw toolchain not selected).


Network meta

Explanation
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/1005
Fixes: #1560

References

Changelog

@metamask/network-controller

BREAKING: NetworkStatus is moved into networkMetadata.
BREAKING: Network status and details are no longer on the NetworkController state root. The same values are retrieved by networkClientId via networkController.state.networksMetadata[<networkClientId>]. Most cases can update to use
networkController.state.networksMetadata[networkController.state.selectedNetworkClientId] to get at the status and details in the following shape:

{
  status: NetworkStatus,
  EIPS: {
      ...
  }
}

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@metamaskbot publish-preview

@BelfordZ Would you mind updating the changelog in the PR description to match the final changes that we ended up using?

@metamaskbot publish-preview

@metamaskbot publish-preview


Change camel-website checkout directory path

Makes the checkout directory for the camel-website.git:asf-site branch
be /www/camel.apache.org/content/staging as the current site has a
/content which is matched by rewrite rules. As suggested by Daniel
Gruno[1]
[1] https://issues.apache.org/jira/browse/INFRA-15969?focusedCommentId=16668569#comment-16668569

Thanks!


Sum not clearing cell

When using a sum formula on export of data the cell that is being calculated is overwriting the value not clearing it and then writing to it. I'm just using a basic SUM function when writing out the cell.
sample.xlsx
Here is the code that generates the cell with the sum:
$sheet->setCellValue('G' . $currentRow, '=SUM(G' . ($firstTableRow + 1) . ':G' . ($currentRow - 1) . ')')->getStyle('G' . $currentRow)->getNumberFormat()->setFormatCode('(* #,##0.00);(* (#,##0.00);(* "-"??);(@_)');
The formatting is an accounting format with no $, I tried removing that but that had no affect and the rows are all set correctly as can be seen in the example. I save the spreadsheet as an xls file this does not happen at all and sometimes if I save the spreadsheet it goes back to normal or if I save it and then open and shut it. It's almost like some kind of caching issue on the cells with the SUM formula.
Best way to describe it is to give you the steps to recreate it. If you open the sample I attached and then change one of the values in the EOB1 column you will see the cell at the bottom of the column which is the SUM act like it's just overwriting the current value instead of erasing it first.
Have you ever seen anything like this?
Thank you for any help!

Please report this at the parent package PHPExcel

How do I specify sorting when exporting?


please update export-director-metadata to work with cred hub

Hello,
we have an issue where export-director-metadata is not working with ERT where credhub is enabled.
error below
bosh director unreachable or unhealthy: Fetching info: Performing request GET 'https://<redacted_ip>:25555/info': Performing GET request: Retry: Get https://<redacted_ip>:25555/info: Forbidden

What version of PCF are you using?
We are running the tasks against a PCF 2.1 environment in our pipeline successfully.
Can you please provide more details on the issue so we can reproduce it?
cc @jamesjoshuahill

We tried to reproduce the error by testing against PCF 1.12, which comes with credhub enabled on the director. Both ert-backup and director-backup have succeeded. We will close this issue now since we can't reproduce the same failure.
Cheers,
Chunyi && @alamages


Added big example to top of CommentThread class — with nesting

Ticket: #1971
Issue
As noted, the only example of how to do nested comments is buried in the tests
Solution
Put an example in!
Impact
Expands the example in Timber\Post::comments showing a nested example. The same example appears in the a new docblock for Timber\CommentThread.
Considerations
Is this the right place? Originally I had it just in CommentThread — but since that's not really intended to be a public class, it felt wrong. This solution provides where I think people are most likely to discover it: with {{ post.comments }} which they interface with, and CommentThread.php in case someone is looking through the files

Coverage remained the same at 94.262% when pulling 4062baed80e1088fa26390acacc4eb27b006a80a on 1971_comment_thread_example into 299d00ab14106c45c910a84397405f60d77c755c on master.

@palmiak can I get a follow-up review on this? I added info on using comment-reply.js in this update so we should be totally covered now

@palmiak yes. My hope is that this can finally be put to 🛏 — thanks!


Feature/estimate

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Tests performed by the developer:
Tips for QA testing:

@hirotadashi you merged unit-tests again with your changes. I will merge it, but it might cause conflicts that should be fixed.


Invalid use of free in zlib_codec_init

On error, zlib_codec_init frees the first argument, but that's in various cases not something meant to be freed:
In function 'zlib_codec_init',
    inlined from 'cdfl_codec_init' at libchdr_chd.c:794:8:
libchdr_chd.c:2604:17: warning: 'free' called on pointer 'codec' with nonzero offset 184 [-Wfree-nonheap-object]
 2604 |                 free(data);
      |                 ^~~~~~~~~~
libchdr_chd.c:2604:17: warning: 'free' called on pointer 'codec' with nonzero offset 184 [-Wfree-nonheap-object]
In function 'zlib_codec_init',
    inlined from 'cdzl_codec_init' at libchdr_chd.c:689:8,
    inlined from 'cdzl_codec_init' at libchdr_chd.c:671:18:
libchdr_chd.c:2604:17: warning: 'free' called on pointer 'codec' with nonzero offset 1136 [-Wfree-nonheap-object]
 2604 |                 free(data);
      |                 ^~~~~~~~~~
In function 'zlib_codec_init',
    inlined from 'cdlz_codec_init' at libchdr_chd.c:603:8:
libchdr_chd.c:2604:17: warning: 'free' called on pointer 'codec' with nonzero offset 1176 [-Wfree-nonheap-object]
 2604 |                 free(data);
      |                 ^~~~~~~~~~
libchdr_chd.c:2604:17: warning: 'free' called on pointer 'codec' with nonzero offset 1176 [-Wfree-nonheap-object]

When will it be fixed?


Add a command to create a repository on GitHub

As there is a command to Git: Clone, it would be great to have a command to Git: Create that would leverage GitHub CLI gh repo create

The command is Publish to Github.

It does not leverage the whole GitHub CLI gh repo create prompts (template, etc.)


Fleet wide data comparison

What would you like to be added:  Optional fleet wide data comparison of certain metrics like degradation or wh/mi.  Similar to teslafi.
Why is this needed:  Sometimes things like degradation or wh/mi are helpful to know in contextual comparison to others with the same car.  For instance, is 10% degradation after 20k miles normal?  Is 245 wh/mi for a M3 LR AWD normal?
Additional context:  Other locally hosted tools like teslalogger are adding this type of data.  Perhaps it would be easy enough to add the ability to feed data into their existing implementation?  It would also be super cool to be able to pull this data locally into our teslamate implementations to display natively on our existing dashboards.
https://github.com/bassmaster187/TeslaLogger
https://teslalogger.de/degradation.php

+1

This feature will never happen, as it would require a central server infrastructure. Those who wish to compare their data with others are better off with cloud services.


Tactics implementation for system from #3

System introduced by #3 is lacking an implementation.

See #7 for that.


chore(deps): update dependency postcss to v8.1.2

This PR contains the following updates:

Package
Type
Update
Change

postcss (source)
devDependencies
patch
8.1.1 -> 8.1.2

Release Notes

postcss/postcss
v8.1.2
Compare Source

Fix API docs (by Arthur Petrie).
Improve plugin guide (by Yunus Gaziev).
Prepare code base for Deno support (by Oscar Otero).

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 6.1.12 :tada:
The release is available on:

v6.1.12
GitHub release

Your semantic-release bot :package::rocket:


Tooling to help migrate data from RavenDb to Marten

We're gonna want it at work before too long, and most of our early adopters are moving over from Raven anyway.

I'm particularly interested in this one- I'm hoping to be able to convince my new employer to migrate from mongodb to marten. Mongo is pervasively used in .net shops in my part of the world & postgresql is highly popular as well. This could be a huge win for the project.
Anyway- keep this in mind when you do the raven work if possible. I'd be happy to add mongodb support for this.

We could keep the code for writing to Marten itself in a shared place I suppose. I'll have work time to do this for a project that's converting from RavenDb to Marten.

That'll be awesome, yeah.

I'm shutting this one down. It's worth a blog post or some documentation, but I'm unilaterally saying this isn't necessary right now.

Was there a blog post or documentation made for how to migrate data between Raven and Postgres?

Was there a blog post or documentation on moving data between Ravendb and Postgres?

We just migrated a big project from RavenDb to Marten.  I will see if I can find some time to get a blog up on it.


Bug: REST Driver FormatVarsSlow deletes $ from variables not in vars dictionary

Describe the bug
When using the REST Driver, any variables in the query that arent in the vars dictionary have their $ symbol removed.
However, this only happens when the vars dictionary is not empty, resulting in a call to FormatVarsSlow.
EX:
LET $x = 5;

With the vars dictionary { ["y"] = 6 }
Would become:
LET x = 5;

This causes the query to fail.
This bug appears to be caused by this line. Adding result.Append('$'); before this line might be the solution to this issue.
Steps to reproduce

Create an instance of the REST database driver
Call FormatVarsSlow, the method responsible for replacing variables in the query.

string? result = typeof(DatabaseRest).GetMethod(
	"FormatVarsSlow",
	System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic)
	// "db" is the driver instance
	?.Invoke(db, new object[]
	{
		@"LET $x = 5",
		new Dictionary<string, object?>()
		{
			["y"] = 6
		}
	}) as string;

The value of result will be "LET x = 5"

Expected behaviour
IDatabase.Query should not do anything to any variables that are not in the vars dictionary parameter.
Surreal.NET driver version
1.0.8
SurrealDB version
v1.0.0-beta.8
Is there an existing issue for this?

[X] I have searched the existing issues

Thanks a lot for the PR!

oops forgot to close this
fixed with #115


ansible node is taking too long to ping and the playbook is failing

ansible-playbook -i hosts lamp.yml
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [<IP_ADDRESS>]
ok: [<IP_ADDRESS>]
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! Timeout (12s) waiting for privilege escalation prompt: "}
TASK [install apache and restart] **********************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 9, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n    tasks:\n      - name: install apache and restart\n        ^ here\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 9, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n    tasks:\n      - name: install apache and restart\n        ^ here\n"}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
<IP_ADDRESS>              : ok=1    changed=0    unreachable=0    failed=1
<IP_ADDRESS>              : ok=0    changed=0    unreachable=0    failed=1
<IP_ADDRESS>               : ok=1    changed=0    unreachable=0    failed=1

share playbook

hosts: all
become: yes
tasks:

name: install apache and restart
package:
name: "{{package_name}}"
state: present
notify:

restart and enable apache
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"

name: install php modules
package:
name: "{{item}}"
state: present
notify:

restart and enable apache
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"
loop: "{{php_module}}"
handlers:

name: restart and enable apache
service:
name: "{{package_name}}"
enabled: yes
state: restarted
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"

hosts: webservers
become: yes
tasks:

name: install apache and restart
package:
name: "{{ package_name }}"
state: present
notify:

restart and enable apache
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"

name: install php modules
package:
name: "{{ item }}"
state: present
loop: "{{ php_module }}"
notify:

restart and enable apache
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"
handlers

name: restart and enable apache
service:
name: "{{ package_name }}"
enabled: yes
state: restarted
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"

This is the output
login as: ansadmin
┌────────────────────────────────────────────────────────────────────┐
│                        • MobaXterm 11.1 •                          │
│            (SSH client, X-server and networking tools)             │
│                                                                    │
│ ➤ SSH session to<EMAIL_ADDRESS>                          │
│   • SSH compression : ✔                                            │
│   • SSH-browser     : ✔                                            │
│   • X11-forwarding  : ✘  (disabled or not supported by server)     │
│   • DISPLAY         : <IP_ADDRESS>:0.0                            │
│                                                                    │
│ ➤ For more info, ctrl+click on help or visit our website           │
└────────────────────────────────────────────────────────────────────┘
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-142-generic x86_64)

Documentation:  https://help.ubuntu.com
Management:     https://landscape.canonical.com
Support:        https://ubuntu.com/advantage

157 packages can be updated.
102 updates are security updates.
New release '18.04.3 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
 The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: install apache and restart\n      ^ here\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: install apache and restart\n      ^ here\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: install apache and restart\n      ^ here\n"}
PLAY RECAP *********************************************************************
<IP_ADDRESS>              : ok=1    changed=0    unreachable=0    failed=1
<IP_ADDRESS>              : ok=1    changed=0    unreachable=0    failed=1
<IP_ADDRESS>               : ok=1    changed=0    unreachable=0    failed=1
ansadmin@ansible-server:~/playbook$ vi lamp.yml
ansadmin@ansible-server:~/playbook$

hosts: webservers
become: yes
tasks:

name: install apache and restart
package:
name: "{{ package_name }}"
state: present
notify:

restart and enable apache
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"

name: install php modules
package:
name: "{{ item }}"
state: present
loop: "{{ php_module }}"
notify:

restart and enable apache
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"
handlers:

name: restart and enable apache
service:
name: "{{ package_name }}"
enabled: yes
state: restarted
when: ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"

PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [<IP_ADDRESS>]
ok: [<IP_ADDRESS>]
ok: [<IP_ADDRESS>]
TASK [install apache and restart] **********************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: install apache and restart\n      ^ here\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: install apache and restart\n      ^ here\n"}
fatal: [<IP_ADDRESS>]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"' failed. The error was: ERROR! error while evaluating conditional (ansible_facts['os_family'] == "Debian" or ansible_facts['os_family'] == "RedHat"): ERROR! 'ansible_facts' is undefined\n\nThe error appears to have been in '/home/ansadmin/playbook/lamp.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: install apache and restart\n      ^ here\n"}
PLAY RECAP *********************************************************************
<IP_ADDRESS>              : ok=1    changed=0    unreachable=0    failed=1
<IP_ADDRESS>              : ok=1    changed=0    unreachable=0    failed=1
<IP_ADDRESS>               : ok=1    changed=0    unreachable=0    failed=1


feat(clustertest): add basic MiniCluster module for distributed system

Purpose of the PR
subtask of https://github.com/apache/incubator-hugegraph/issues/2593
Refer doc to get the design/details

Main Changes

Verifying these changes

[ ] Trivial rework / code cleanup without any test coverage. (No Need)
[ ] Already covered by existing tests, such as (please modify tests here).
[x] Need tests and can be verified as follows:

xxx

Does this PR potentially affect the following parts?

[ ]  Dependencies (add/update license info & regenerate_dependencies)
[ ]  Modify configurations
[ ]  The public API
[ ]  Other affects (typed here)
[x]  Nope

Documentation Status

[x]  Doc - TODO
[ ]  Doc - Done
[ ]  Doc - No Need

doc reference url is herehttps://hugegraph.feishu.cn/wiki/CLCTwePORiPZo5keyJUcVSymnzc?from=from_copylink

Cluster-Test CI is blocked by PR, which will fix the edgelabel_type in hugegraph-client

Cluster-Test CI is blocked by PR, which will fix the edgelabel_type in hugegraph-client

Hi @HJ-Young , this PR is ready, and will be merged soon.

Cluster-Test CI is blocked by PR, which will fix the edgelabel_type in hugegraph-client

Hi @HJ-Young , this PR is ready, and will be merged soon.

Hi, @Thespica . It seems that release jar package has not been updated?

Cluster-Test CI is blocked by PR, which will fix the edgelabel_type in hugegraph-client

Hi @HJ-Young , this PR is ready, and will be merged soon.

Hi, @Thespica . It seems that release jar package has not been updated?

Yes, it hasn't been released yet.
For testing purpose, you can modify the ci temporarily to  install the hugegraph-client that supports father-sub-edge from source(or only do it on your local), then have a test.


Update decoder dependencies

This deduplicates object and gimli, once probe-run has been
updated after this

bors r+


[Feature] One Feat Per Level Compatibility/Integration

Hi there, love the mod!
I was wondering if it would be possible to merge this mod with the One Feat Per Level mod or add compatibility for it. I know that what that mod offers isn't necessarily within the scope of this one, but it seems that due to how they both change the default character table they are incompatible currently.
Thanks!

I don't have access to the source of that mod directly but it looks like they are overwriting the feat progression rather than just adding to it.
Try this version and let me know if it works; if so I'll include this in the next release.
AutomaticBonusProgression.zip

Didn't seem to do anything sadly. With only the .zip you gave me, TTCore, ModMenu, and Toybox installed I booted it up and tried making new character but nothing seems to have changed.

This worked for me locally, try it.
AutomaticBonusProgression.zip

Hmm, still didn't do anything for me.

Okay I think I may have possibly misunderstood what you did. I had thought you had added the One Feat Per Level mod's functionality into AutoBonusProgression as a standalone feature so I was testing the zip you gave me without One Feat installed. On a whim I decided to reinstall the One Feat mod with the zip you gave me and that made everything work just fine. So I'm guessing you'd just added a compatibility feature?

Yes I added compatibility.

Ahhh okay awesome, in that case it works perfectly. Sorry for the earlier confusion!
Thanks a bunch for taking the time to help me out!

Glad it works!


Changes in URL branching

when both a custom policy and tenant name are present, handle the branching for assigning the token URL and authorize URL.

I have updated the code to support B2C login.
You can refer to the related documentation here: Request a Token.
While the existing README includes examples and references related to the custom_policy environment variable,
the implementation in the code was not fully accurate.
To support the URL change, the tenant_name environment variable is now also required.
It seems that the README may need to be updated accordingly. If you would like, I can make additional modifications to the documentation.

@Jureamer
Sorry for the delay here. Just as I was getting around to this (a month late, sigh) some very valid points came up in #33 and I was thinking that this might all get folded into a V3.
OTOH, you might not want to take that leap, and might prefer this to go into V2 ASAP.
Any preference?

This will go into V3 under the rename omniauth-entra-id - to be released soon, I hope

Thanks, merged. I think I see an error where if custom provider is given but tenant name isn't, it used to build an appropriate URL but your updated logic does not. Changed to:
        base_url = if options.custom_policy && options.tenant_name
          "https://#{options.tenant_name}.b2clogin.com/#{options.tenant_name}.onmicrosoft.com/#{options.custom_policy}"
        elsif options.custom_policy
          "#{options.base_azure_url}/#{options.tenant_id}/#{options.custom_policy}/#{oauth2}/token"
        else
          "#{options.base_url}/#{options.tenant_id}"
        end

...in the hope that the middle option there does still work for both /authorize and /token; in the old code, that specific case only changed the token URL, but not the auth URL. IDK if that's going to work yet.

@pond
Sorry for the delayed response. First, thank you for reviewing and merging my work. If I have any further questions while using it, I'll raise them in the issue tracker. Thank you again.


Add selenized themes

I've just switched to the excellent Selenized color palette and made a theme for it. Both files define the exact same theme, but with color palettes for the dark, light, black and white variants.
Dark:

Black:

Light:

White:

thanks


strings.Trim has unexpected behavior sometimes

Hey I get unexpected behaviours when I'm using strings trim
strings.Trim("VariableManage", "Manage")
strings.Trim("VariableAManage", "Manage")
strings.Trim("VariablManage", "Manage")

I get Variabl  for the above three lines as a result, which is unexpected.
but for
strings.Trim("VariabldManage", "Manage")

I get Variabld, is this a bug?

I think you are looking for strings.TrimSuffix.  strings.Trim takes a set of characters to remove, not a string.


postgresql: add info on logical replication restrictions

https://aiven.atlassian.net/browse/DOC-438

LGTM, just it might be better to use current instead of 15 for the version in the url, so we don't need to change in the future.

Thanks @gordonca , it's done :-)


Updating Atelier Heath from Highlight.js

Is there any plan to update Atelier Heath from here?
https://highlightjs.org/static/demo/styles/atelier-heath-light.css
This demo site is very good, especially for Python: https://highlightjs.org/static/demo/ but I am not seeing any update to convert to CodeMirror
@idleberg Since you are named for both Highlight.js and CodeMirror, let me know if you have something in mind.
Thanks.

I don't know whether the theme has been created using base16-builder, that's up to the author. If not, there's a chance that these themes have slight differences. All the templates I have created have used either existing Base16, Tomorrow or Monokai as a „rosetta stone”.

I think Highlight.js website modified the CSS manually for their own use (either that or not sharing the Base16.
Regardless, I found out the CodeMirror template is out of date in general
https://github.com/chriskempson/base16-builder/blob/master/templates/codemirror/-light.css.erb
For example, cm-meta and cm-function are missing completely.

I will take a look at the CodeMirror templates, but I'm not sure how committed @chriskempson still is about updating Base16. Elsewhere, I have suggested handing over the project to an organization, since I see a lot of potential to improve the project.

@quanghoc Thanks for the heads up.
@idleberg Will see if I can update the Highlight.js template soon.

@quanghoc updated the hightlight.js templates on my syntax-highlighting repo
@idleberg will do a pull request for the updated highlight.js templates over here, a few things though. Although the new templates confirm with the official highlight.js repo, and will generate the exact same output, which look like improvements to me (as far as I can see) and/or reductions, they did took out the few styles which were mapped to the "yellow" and "aqua" variables. For what it is worth, it makes sense to me considering putting those colors back in later for variation (when finding the time for this).

Should I create another issue for CodeMirror template? This now looks very different
https://codemirror.net/mode/python/index.html


Is there any Task status listener for Completion and Failure of system task?

Discussed in https://github.com/Netflix/conductor/discussions/2322

Originally posted by User-Nikita June 18, 2021
Is there any Task status listener in Conductor just like a workflowStatusListener?
If yes, please guide me how to use it.
Details about my question-
In my workflow definition, all tasks are System tasks.
I am using Java program for handling the workflow.
I want to give notification to Java program about status of each System task in workflow.
How can I solve this problem?
Thank you in advance..

Continued in #2322


SAP HANA XS Advanced, Access a classic schema from an HDI container

Hi,
I got the exact same issue as Endersk, wrong default HDI container.
Tutorial URL: https://developers.sap.com/tutorials/xsa-create-user-provided-anonymous-service.html
Step 6: Grant privileges to the schema
Build failed using "cfg/plain.hdbgrants":
I understand the recomendatation that he gives, but don't know how to apply it. From what I understand the build complains about granting access to schema to user "DB_1#OO" that does not exist in HXE DB. But how do I remap the schema PLAIN to HXE DB instead of default SYSTEM DB?
Thanks for the hint
Davy
Originally posted by @Endersk in https://github.com/SAPDocuments/Tutorials/issues/3888#issuecomment-530767823

You need to change the port number in the User Provided Service. This controls which tenant you connect to in order to apply the grant.

Ok, so in my Cockpit under Services and User-Provided Services, I already use "port": "39013", which should point to my HXE.  How do I confirm on which port my HXE is mapped compared to SYSTEMDB.

Thanks Thomas
Davy

You can run this query in the SYSTEMDB and it will report the ports for all services in your system.
SELECT DATABASE_NAME,
SERVICE_NAME,
PORT,
SQL_PORT
FROM SYS_DATABASES.M_SERVICES;

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Add support for orthographic cameras

Pretty simple, allow for orthographic cameras to give back the correct value. This should fix 2D representations of tags

Sorry but I can't understand what you're trying to do. Do you have an orthographic camera in the real world? Or are you trying to feed orthographically rendered frames to Apriltag?

im trying to feed a image that has a 2D apriltag on it, and getting screenspace coordinates from it. I actually eventually figured it out, but I need a dummy camera to do it and its quite jank. there is also currently no way to get the actual width of the tag itself, making getting anything but the center of the tag difficult

For more context, something like this is difficult to get information from
im trying to get the "box" that these two apriltags create, but at most im currently only able to get the horizontal line between their centers, and have to hardcode a height
to add on to that, the only way im able to get screenspace coordinates of this is by having a non rendering camera so I can convert the worldspace coordinates to screenspace ones


Remove code deprecated for 2.2

2.2 will be out soon. This removes the single deprecation we had for 2.2

Current coverage is 95.91% (diff: 100%)

Merging #202 into master will decrease coverage by 0.34%

@@             master       #202   diff @@
==========================================
  Files            14         14
  Lines           641        636     -5
  Methods           0          0
  Messages          0          0
  Branches         72         72
==========================================
- Hits            617        610     -7
- Misses           11         13     +2
  Partials         13         13

Powered by Codecov. Last update 433096d...c94ab1b

lgtm