Kerberos: krb5kdc and kadmin services fail to start on reboot causing super high CPU usage

Both krb5kdc and kadmin services fail to start on cluster reboot with following errors:

krb5kdc.logkrb5kdc: Cannot bind to LDAP server 'ldapi:///' as 'cn=Manager,ou=tdp,o=tosit,c=io': Can't contact LDAP server - while initializing database for realm REALM.TDP

kadmind.logApr 25 12:06:17 master-01.tdp kadmind[1010](Error): Cannot bind to LDAP server 'ldapi:///' as 'cn=Manager,ou=tdp,o=tosit,c=io': Can't contact LDAP server while initializing, aborting

Until those 2 services are started we can notice a super high CPU usage, significantly slowing down the user's computer. I suspect that all Hadoop services (that are enabled through deploy-service-start-on-boot-policies.yml) are spamming the KDC with the hope of getting a ticket.

On rebooting master-01 the kdc service is not restarted. The ansible-ldap-kerberos role in tdp-collection-extras explicitly enables the service:
- name: Start and enable KDC
  service:
    name: krb5kdc
    state: started
    enabled: yes

However as per this thread there are some conditions under which the enabling step fails (and we aren't controlling or checking for those conditions).
systemctl start krbkdc.service on master-01 quickly resolves the 'bind to LDAP' error but ensuring that the krb5kdc service is actually enabled is more convenient. Adding the krb5kdc to deploy-service-start-on-boot-policies.yml ensures expected start on boot behaviour.
Testing this now...

@DanielJohnHarty the issue should be solved with https://github.com/TOSIT-IO/tdp-collection-extras/issues/22 -> wait for slapd to be up before starting kadmin and krb5kdc


Update GUI for ModuleCard

Codecov Report

Merging #164 (7e9a010) into master (5599df0) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #164      +/-   ##
============================================
- Coverage     29.14%   28.95%   -0.20%
  Complexity      374      374
============================================
  Files           160      160
  Lines          2978     2998      +20
  Branches        380      379       -1
============================================
  Hits            868      868
- Misses         2067     2087      +20
  Partials         43       43

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/ModuleCard.java
0.00% <0.00%> (ø)

...seedu/address/model/module/DistinctModuleList.java
14.28% <0.00%> (-2.05%)
:arrow_down:

...ava/seedu/address/model/exam/DistinctExamList.java
13.55% <0.00%> (-1.83%)
:arrow_down:

src/main/java/seedu/address/model/AddressBook.java
30.69% <0.00%> (-0.94%)
:arrow_down:

...eedu/address/logic/commands/ClearTasksCommand.java
0.00% <0.00%> (ø)

...du/address/logic/commands/ClearModulesCommand.java

.../seedu/address/logic/commands/ClearAllCommand.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Secure Boot required?

@gstoner  I saw you asking people to test http://repo.radeon.com/misc/archive/beta/rocm-1.7.1.beta.4.tar.bz2 so I took the liberty of trying.
during the install of the .deb files I got:
Processing triggers for shim-signed (1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...
Secure Boot not enabled on this system.
Errors were encountered while processing:
MIOpen-OpenCL-1.2.1-cf3d051-Linux.deb

thank you

We have not been using secure boot on our servers,

Are you running the server or consumer version of Ubuntu

Ubuntu desktop version yes

Update: The secure boot message might not be the error. I was installing in batch. Attempting to do this:
sudo dpkg -i MIOpen-OpenCL-1.2.1-cf3d051-Linux.deb  On its own gives a different error:
(Reading database ... 284374 files and directories currently installed.)
Preparing to unpack MIOpen-OpenCL-1.2.1-cf3d051-Linux.deb ...
Unpacking miopen-opencl (1.2.1-cf3d051) ...
dpkg: error processing archive MIOpen-OpenCL-1.2.1-cf3d051-Linux.deb (--install):
trying to overwrite '/opt/rocm/miopen/include/miopen/config.h', which is also in package miopen-hip 1.2.1-cf3d051
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
MIOpen-OpenCL-1.2.1-cf3d051-Linux.deb

I believe this is likely just a packaging issue. MIOpen is a deep learning library by AMD which has two different backends HIP and OpenCL. Perhaps the headers for the different backends should be installed in separate locations (/opt/rocm/miopen-opencl and /opt/rocm/miopen-hip) or perhaps there are other conflicts with the backends? If there are other conflicts then the packages should explicitly mutually conflict each other.

@krrk  Thank you, this is what i am looking for.  I see if we can get a spin this week out if i can or it be Monday

Are you guys trying to install the OpenCL and HIP version of MIOpen on top of each other,

Yes, as I mentioned in #344 without any instructions or install script I decided to dpkg -i *.deb for all the deb files you provided. It did not cause any other problem for me, especially since I do not need MIOpen. The DEBIAN control files for these two packages do not mention any conflicts.

@krrk I am also running dpkg -i *.dev, get error for MIOpen mackage

The  HIP and MIOpen Package are colliding in the same directory,  we get update instruction prior to release.

Just some side notes, it doesn't require secure boot. The rocm installer at the end of install tells you whether or not secure boot is enabled, but it doesn't seem to impact functionality. As far as I can tell it is only an info message


Feature request: transitively include .flowconfig files

When your project includes a dependency that defines its own flowconfig file (for example, React Native), currently Flow doesn't import the dependency's flowconfig. This is a feature request for Flow  to automatically import the flowconfig files of dependencies.
I believe there are at least two ways dependency can be specified:

It lives in a subdirectory such as node_modules
It lives in some other directory but is included under the [include] section of .flowconfig

In either case Flow would have to smartly resolve the paths within each flow config it finds.

+1

@ide @frantic the issue with automatically doing this is that there are situations where a parent and child project will both use the child project's tree, in different ways (@frantic e.g. our situation in the in-house repo). An explicit import is a possibility though. Will update as events warrant.

@bhosmer Any updates here?

Duplicate of  #238


JIT: New calling convention

Prepending parameters/returned values to the stored environment (instead of appending), and requiring the parameters to be in the correct registers already.
@b-studios This is a breaking change in the output format of the jit backend.

LLVM install fails in CI (apparently due to missing keys)


Add swift-protobuf-plugin-example to test SwiftPM build tool plugin functionality

Add https://github.com/abertelrud/swift-protobuf-plugin-example.git to the source compatibility suite.
This is a test of SwiftPM functionality that is new in SwiftPM 5.6.  Since the compatibility versions use Swift language versions and not Swift toolchain versions, it was suggested to use an XFAIL for the release/5.5 branch.
This is a sample package that uses a modified version of swift-protobuf to which a SwiftPM build tool plugin has been added.  The sample verifies that .proto files get processed properly.
This is currently only Darwin but a future PR will extend it to Linux.
rdar://84315022

@swift-ci test with toolchain

Also, has there been any consideration of allowing packages to specify the minimum version of the Swift compiler they need (not just the language)?  For example, source code that relies on enum Codable synthesis require 5.5 even though the language didn't change, and I imagine there will soon be async-related code that requires at least 5.6.

Hmm, I see:
18:31:29 PASS: swift-protobuf-plugin-example, 5.0, 85bec0, Swift Package

in the log but then the failure at the end of the CLEAN part of the whole test run seems to be:
18:42:18 [parameterized-trigger] Properties file re_build.properties did not exist.
18:42:18 Not triggering due to missing file - did you archive it as a build artifact ?
18:42:18 Finished: FAILURE

This seems unrelated to this PR.  @shahmishal do you know if that's a known issue, or is there something in this PR that might be causing it?  Seems unlikely.

@swift-ci test

Thanks Mishal.  Now I see a FAIL for swift-protobuf-plugin-example, though, so will try to repro that locally (nothing changed since the last PASS, which seems puzzling).

Passes locally, and looks like the macOS toolchain build passes though the other one fails.  Looking at what might be different in the environment.

/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc -print-target-info
/usr/bin/xcrun vtool -show-build /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI/libPackagePlugin.dylib
/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc -L /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -lPackagePlugin -Xlinker -rpath -Xlinker /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -target x86_64-apple-macosx10.15.4 -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -swift-version 5 -package-description-version 5.6.0 -I /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -parse-as-library -Xfrontend -serialize-diagnostics-path -Xfrontend /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/plugins/cache/diagnostics.dia /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift -o /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/plugins/cache/compiled-plugin
error: plugin process ended with a non-zero exit code: 65

https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/815/artifact/swift-source-compat-suite/FAIL_swift-protobuf-plugin-example_5.0_BuildSwiftPackage.log

Looks like the toolchain one is still failing due to the post-processing.  The other one says protobuf actually failed.

The Git version reported in the log git version 2.30.1 (Apple Git-130) is an older one, suggesting that the problem is that the XFAIL isn't working (this is a test of plugins, which requires the latest toolchain and doesn't yet work in the latest released Xcode).  So it seems that when the toolchain is downloaded this indeed passed, but when not, it doesn't.  @shahmishal how can we mark this test as only applying to SwiftPM 5.6 and later?

/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc -print-target-info
/usr/bin/xcrun vtool -show-build /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI/libPackagePlugin.dylib
/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc -L /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -lPackagePlugin -Xlinker -rpath -Xlinker /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -target x86_64-apple-macosx10.15.4 -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -swift-version 5 -package-description-version 5.6.0 -I /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -parse-as-library -Xfrontend -serialize-diagnostics-path -Xfrontend /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/plugins/cache/diagnostics.dia /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift -o /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/plugins/cache/compiled-plugin
error: plugin process ended with a non-zero exit code: 65

https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/815/artifact/swift-source-compat-suite/FAIL_swift-protobuf-plugin-example_5.0_BuildSwiftPackage.log

Thanks for the reference to the log!  I don't see there what version of the toolchain is used — how can I find out?

/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc -print-target-info
/usr/bin/xcrun vtool -show-build /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI/libPackagePlugin.dylib
/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swiftc -L /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -lPackagePlugin -Xlinker -rpath -Xlinker /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -target x86_64-apple-macosx10.15.4 -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -swift-version 5 -package-description-version 5.6.0 -I /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/lib/swift/pm/PluginAPI -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -parse-as-library -Xfrontend -serialize-diagnostics-path -Xfrontend /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/plugins/cache/diagnostics.dia /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift -o /Users/buildnode/jenkins/workspace/swift-PR-source-compat-suite-test-macOS/swift-source-compat-suite/project_cache/swift-protobuf-plugin-example/.build/plugins/cache/compiled-plugin
error: plugin process ended with a non-zero exit code: 65

https://ci.swift.org/job/swift-PR-source-compat-suite-test-macOS/815/artifact/swift-source-compat-suite/FAIL_swift-protobuf-plugin-example_5.0_BuildSwiftPackage.log

Thanks for the reference to the log!  I don't see there what version of the toolchain is used — how can I find out?

More specifically, is there a way to find out the version of /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swift in the case in which it doesn't download it from a toolchain.
It seems as though mainly XFAILing the release/5.5 branch isn't enough — since this feature requires nightly toolchains, it would be useful to be able to XFAIL based on the version of SwiftPM that's being used (whether or not it came from a downloadable toolchain).

More specifically, is there a way to find out the version of /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swift in the case in which it doesn't download it from a toolchain.

This is main branch swift compiler (job built the compiler first and used to execute source compat suite).

Great, thanks for clarifying.  When you say that it built the compiler, does that include the main branch SwiftPM?  i.e. that it built the whole compiler?  I couldn't see in the logs where it built the compiler but probably just missed it.

More specifically, is there a way to find out the version of /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/install/toolchain/usr/bin/swift in the case in which it doesn't download it from a toolchain.

This is main branch swift compiler (job built the compiler first and used to execute source compat suite).

Great, thanks for clarifying. When you say that it built the compiler, does that include the main branch SwiftPM? i.e. that it built the whole compiler? I couldn't see in the logs where it built the compiler but probably just missed it.

Never mind, I see it — was looking at the wrong log.  So I'm guessing what's happening here is that the newly built PackageDescription and PackagePlugin libraries might not be getting used, meaning that whatever toolchain was already installed is getting used.  That's not an issue that can be fixed in this particular PR but obviously something that needs to be fixed before it can be merged.

So having looked closer at the logs, I think that what's happening is that neither PackageDescription nor PackagePlugin end up being part of the built root (the one being built as /Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-test-macOS/build/compat_macos/root.tar.gz in the part that says --- Creating installable package --- in the log).
I see that the newly built swift-package, swift-build, etc executables get listed, but not the libraries.  That are getting built and installed into the intermediate-install directory earlier in the build, but don't seem to make it into the actual install directory.
This is a bit surprising since they do make it into regularly built toolchains, just not the one that is being used for the compatibility testing here.  This means that using SwiftPM in the source compatibility suite seems to be falling back to the installed libraries.
I will put in some more diagnostics into SwiftPM, which would be good anyway, but I think that there might be a fix needed here to how the root is constructed so it includes the built content under toolchain/usr/lib/swift/pm as well.

No, it seems that a bunch of other content is copied by a separate cpio step, so likely they are in place.  This all seems to be in swift proper anyway so if there were a problem it would show up in official toolchains too.

Taking a step back here, I think I've been looking at this wrong.  I see that it's the running, not compiling, of the plugin that failed.  I missed that part earlier.  Still can't reproduce it locally but will see where to add more diagnostics.

Added more diagnostics here when plugins end with an exit code: https://github.com/apple/swift-package-manager/pull/3913

@swift-ci test

@swift-ci test with toolchain

Looks like this finished successfully now, so this seems to have been a temporary issue in main.

@swift-ci test with toolchain

Looks like the latest toolchain build still fails, but not for this package:
18:31:29 PASS: swift-protobuf-plugin-example, 5.0, 85bec0, Swift Package

@shahmishal since the required build passes and the non-required one seems to fail due to an error after running the tests (and this test passes), are you OK with merging this?

Rebuilding now succeeded, so it seems to have been a temporary issue on main.
The non-required workflow is still failing at the very end with:
05:31:39 [parameterized-trigger] Properties file re_build.properties did not exist.
05:31:39 Not triggering due to missing file - did you archive it as a build artifact ?
05:31:39 Finished: FAILURE

which is unrelated, but the package being added is passing using that toolchain also:
05:19:51 PASS: swift-protobuf-plugin-example, 5.0, 85bec0, Swift Package

@shahmishal Given that information, can we merge this?

Yes, this can be merged now.


#58: EO compiler and Maven Plugin

See #58
I created a simple EO-to-Java compiler and a Maven plugin for it. Seems to be working with as simple EO code example.

Anyone interested to take a look and review?

Syntax parser is rather primitive and doesn't really work with objects, because of this: http://stackoverflow.com/questions/40936000/how-to-parse-indentation-driven-code-into-ast

@lrozenblyum I fixed that already, thanks

@yegor256 Really showing my ignorance now... :) I'm basically totally new to Java (and Maven), so what do I need to build and use this? Just some quick pointers will do. I'll google the rest. Thanks!

@pa9ey
Install dependencies

maven
java (probably best to use oracle, but any jdk should do)
git

You should be able to git clone then checkout the 58 branch if you have above dependencies and then mvn clean test should work to clean build artifacts and re-compile and run tests (all passing for me).
@yegor256 I suppose a good question is when it's a good idea to invite and support newer programmers or people new to programming to eo, or to give the project some goals and a statement to explain to visitors your vision of eo (is it a hobby, will it finally kill {language_X} etc)

Thanks @Lewiscowles1986. I've got git sorted, I'm just still working out the various relationships between Maven, JDKs, and any IDE or whatever. I saw @yegor256 recommending IntelliJ I think, so I can look into that. Unless there's something lighter-weight you would recommend?
Btw, I'm not a new programmer, just new to the whole Java Ecosystem, and I like to know what I'm doing and to understand my environment. I'm getting there I think though, with a bit of youtubeing and googling.
Maybe when I've got it all sorted I'll put something in the README to help other noobs.

Wasn't meant as a put-down or assumption about you @pa9ey. The question was aimed towards @yegor256 concerning any people who had little to zero experience, were new to a language (insert level here). It's mainly that I find that is an area all programming projects can get better at, even if it's just inter-textual references.
Only the bit about installing and running was aimed at you as you'd asked. I Don't like or use IntelliJ for non-android Java (even then it's the customised Android studio edition) and prefer to use a collection of Atom or Vim depending upon need. I am a programmer, but it's not my sole responsibility so maybe others have better ideas on IDE's.

That's fine @Lewiscowles1986 . I was being a bit touchy there. Sorry! :)
I completely agree with this:

It's mainly that I find that is an area all programming projects can get better at, even if it's just inter-textual references or explicitly stating "you need to know X".

And thanks for the advice. I'm getting into VS Code at the moment. Might just stick with that for now.

@yegor256 I see you have comments in the .java files for all classes and methods etc. These often don't really add anything to the code. Are they there for generating docs?

Thanks @Lewiscowles1986. Got it working now.
But did you get this?
[WARNING] The POM for log4j:log4j:jar:1.2.16 is invalid, transitive dependencies (if any) will not be available...
Just out of interest, how long does it take for you for a clean & test?
It was 21 seconds for me, which seems a lot for such a small project. (I am doing it on a crappy laptop though. Is it just that?)

@pa9ey let me add "How to build" guide to the README

I'm going to merge this pull request, if there are no serious concerns. All issues/defects can be submitted later as new issues and we'll deal with them one by one. Agreed?

Thanks @Lewiscowles1986. Got it working now.
But did you get this?
[WARNING] The POM for log4j:log4j:jar:1.2.16 is invalid, transitive dependencies (if any) will not be available...

Just out of interest, how long does it take for you for a clean & test?
It was 21 seconds for me, which seems a lot for such a small project. (I am doing it on a crappy laptop > though. Is it just that?)

> time mvn clean test
... (build crap)
real	0m7.219s
user	0m29.044s
sys	0m0.548s

i7 laptop, SSD xenial & a fair amount of RAM
Honestly anything less than an hour isn't terrible as building doesn't stop you working or committing, just stops merging.

@Lewiscowles1986 I guess I'm thinking more of a fast feedback loop for TDD.
Also, this video has spoiled me. :)

Merged, thanks all. Please, submit bugs/ideas in new tickets.


Convert project to TypeScript

Converts the project to TypeScript, adds TypeScript configuration, and updates ESLint rules to support TypeScript.

Convert JavaScript files to TypeScript: Renames and updates syntax in multiple components, API route handlers, and utility files to TypeScript. This includes adding type annotations to function parameters, return types, and component props.
Add TypeScript configuration: Introduces a tsconfig.json file to the root of the repository, configuring the TypeScript compiler for the project.
Define TypeScript types and interfaces: Adds types and interfaces for props in React components and request/response objects in API route handlers, improving type safety and code readability.
Update ESLint configuration: Modifies .eslintrc.json to include TypeScript-specific rules and plugins, ensuring code quality and consistency in the TypeScript codebase.
Add TypeScript and type definitions for React to dependencies: Updates package.json to include typescript, @types/react, and @types/react-dom as dependencies, enabling TypeScript support and type checking for React.

Fixes the import path for countTokens in app/page.tsx to correctly resolve the module.

Updates the import statement to use the correct relative path and TypeScript file extension, changing from ./src/tokenizer.js to ../src/tokenizer.ts.

For more details, open the Copilot Workspace session.


RepositoryConfiguration: Add AnalyzerConfiguration

Make it possible to configure the analyzer in the .ort.yml file, see the commit messages for details.

@mnonnenmacher  Can you also include an update to https://github.com/oss-review-toolkit/ort#analyzer?
Happy to help write the docs for this feature but I would need an example .ort.yml, from the code I can not quickly deduct how it looks like.

@mnonnenmacher Can you also include an update to https://github.com/oss-review-toolkit/ort#analyzer? Happy to help write the docs for this feature but I would need an example .ort.yml, from the code I can not quickly deduct how it looks like.

I will make a separate PR for documentation and examples.


Use Fixed rate by default instead of Floating rate

In swap screen, we should use Fixed rate by default instead of Floating rate
https://ledgerhq.atlassian.net/browse/LL-5259

not it's floating rate by default. the inactive UI component should be floating rate by default as well.

should not merge this

@cthepot-ledger
Hi, Chris, I just checked the mobile application UI in swap page.

Since the "Fixed rate"/"Floating rate" selection is after the coin selection. So, the "Fixed rate"/"Floating rate" CTA is always active. I assume that nothing needs to be done for this ticket. Could you please confirm that? Thanks

on Jira, ticket is abandoned. closing this PR unless some mistake? we can reopen if there are.


fix(Carousel): add tab-based ARIA roles

🔗 Linked issue
Resolves #1484.
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
According to the W3C ARIA Authoring Practices Guide, specifically the page on the Carousel pattern using tab-based ARIA roles is one of the suggested uses of ARIA. This uses that ARIA pattern for the specific Carousel use-case with indicators (as that is what the APA is talking about when it refers to a "tabbed" carousel).
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks! 😊

is possible to add and autoplay fonctionnality to the carousel ?

@ramsesndame237 Have you checked https://ui.nuxt.com/components/carousel#autoplay?


Add protos to propagate information about SQL to Raksha IR

For our first cut at integrating the SQL analysis with Raksha, we will expose a limited set of Raksha features to the analysis. These will include:

The merge operation (#350)
PolicyRule IR structures (#349)
Block builder
Module builder
TagClaim builder (for claiming that particular columns are confidential or have structural characteristics).

Because the SQL analysis is not in C++, we need to expose this interface across the language barrier in some way. We think Swig might be the easiest way to do this, but protos might be easier.

We have the protos as well as the code for decoding the protos into our IR.


8.5.1

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@awvwgk OK this seems to work. I guess it's ok if we just skip 8.5.0?

As per conda-forge rules packages should not install static libraries. Can we either explicitly delete and check for the absence of the static library or make a split package to separate static and shared library packages?

Deleting it should be easy enough I think...


Multithread bam sort

Hi,
In talon.py the call to partition_reads has a parameter for threads. This function call ultimately calls pysam.sort("-@", str(n_threads), "-o", sorted_bam, sam). However, no threads are passed. Are we able to use more threads here?
read_groups, intervals, header_file = procsams.partition_reads(sam_files,
                                                                       datasets,
                                                                       use_cb_tag,
                                                                       tmp_dir=tmp_dir)

Thanks.

Also, as bam sorting is very IO intensive would it be possible to include the memory parameter when calling pysam.sort. Allowing the user to specify the RAM available and speeding up bam processing.
eg.
talon ... ... ... --memory 256
...
mem= round(memory/threads) - 1
...
pysam.sort("-@", str(n_threads), "-m", mem, "-o", sorted_bam, sam)

Hi! I would love if you could submit a pull request with these changes! Good catch.


Card: add an attribute for css classes

<md-card md-class="grey lighten-2">
The md-class value should then be used as class for the .card element of the template.

You can assign me this issue if you want. I know well the cards now.

Thank you. 👍
Somehow I can't, though. You're not in my "assignees" list.
But I guess you can take it on without an assignment, if you like to. 😃


Request for Detailed Data Release from CRB-active-3Ddet (Figure 2, Waymo Dataset)

Dear Yadan Luo,
I would like to express my gratitude once again for your work on CRB-active-3Ddet and for your previous responses. Your contributions have been invaluable. I am writing to inquire if you could release the specific data used in Figure 2, particularly the section pertaining to the Waymo dataset, in a table format. I am interested in comparing the results I have obtained through my own runs with those presented in the figure. This data would greatly assist in furthering my understanding and analysis.
Thank you for considering this request.
Best regards,
Ruiyu Mao

Hi Ruiyu,
waymo_aph_lv1_cyc.csv
waymo_aph_lv1_ped.csv
waymo_ap_lv1_cyc.csv
waymo_ap_lv1_ped.csv
waymo_ap_lv1.csv
waymo_ap_lv2_car.csv
waymo_ap_lv2_cyc.csv
waymo_ap_lv2_ped.csv
waymo_ap_lv2.csv
waymo_aph_lv1 (1).csv
Here are the Waymo results used for plotting Figure 2. Feel free to ask for help if you need any more data.
Zhuoxiao


Cache is not used, rate limits hit

For some reason win-acme is not using the certificate cache on sites with multiple bindings. I am hitting rate limits. This is for a dev website that sees multiple deploys/renewals in short periods of time. The script just runs every deploy.
To Reproduce
This is the command that fails. The IIS website had three bindings. The same command works fine on sites with one binding.
C:\win-acme.v<IP_ADDRESS>2.x64.pluggable\wacs.exe --installation iis --installationsiteid $IISWebsiteID --target iissite --siteid $IISWebsiteID
Expected behavior
The cache should be used and no rate limits should be hit
Log
Successful cache hit with one binding
Running in mode: Unattended
 Target generated using plugin IIS: www.example.com
 Cached authorization result: valid
 Requesting certificate [IIS] www.example.com, (any host)
 Store with CertificateStore...
 Installing certificate in the certificate store
 Adding certificate [IIS] www.example.com, (any host) @ 2020/3/17 11:27:53 to store WebHosting
 Installing with IIS...
 Updating existing https binding www.example.com:443 (flags: 1)
 Committing 1 https binding changes to IIS
 Scheduled task looks healthy
 Adding renewal for [IIS] www.example.com, (any host)
 Next renewal scheduled at 2020/4/1 11:28:02

No cache hit with multiple bindings
 Running in mode: Unattended
 Target generated using plugin IIS: www.example.com and 2 alternatives
 (AcmeProtocolException): Error creating new order :: too many certificates already issued for exact set of domains: www.example.com,www.example2.com,www.example3.com: see https://letsencrypt.org/docs/rate-limits/

Platform:

OS: Windows Server 2012 R2
Version: <IP_ADDRESS>2.x64.pluggable

Additional context
Was working fine in older versions. Cache works great on sites with a single binding.

settings.json
{
  "Client": {
    "ClientName": "win-acme",
    "ConfigurationPath": null,
    "LogPath": null
  },
  "UI": {
    "PageSize": 50,
    "DateFormat": "yyyy/M/d H:mm:ss",
    "TextEncoding": "utf-8"
  },
  "Acme": {
    "DefaultBaseUri": "https://acme-v02.api.letsencrypt.org/",
    "DefaultBaseUriTest": "https://acme-staging-v02.api.letsencrypt.org/",
    "DefaultBaseUriImport": "https://acme-v01.api.letsencrypt.org/",
    "PostAsGet": true,
    "RetryCount": 5,
    "RetryInterval": 5
  },
  "Proxy": {
    "Url": "[System]",
    "UserName": null,
    "Password": null
  },
  "Cache": {
    "ReuseDays": 10,
    "DeleteStaleFiles": true,
    "Path": null
  },
  "ScheduledTask": {
    "RenewalDays": 15,
    "RandomDelay": "00:03:21",
    "StartBoundary": "03:00:00",
    "ExecutionTimeLimit": "02:00:00"
  },
  "Notification": {
    "SmtpServer": null,
    "SmtpPort": 25,
    "SmtpUser": null,
    "SmtpPassword": null,
    "SmtpSecure": false,
    "SenderName": null,
    "SenderAddress": null,
    "ReceiverAddresses": [],
    "EmailOnSuccess": false
  },
  "Security": {
    "RSAKeyBits": 3072,
    "ECCurve": "secp384r1",
    "PrivateKeyExportable": false,
    "EncryptConfig": true
  },
  "Script": {
    "Timeout": 600
  },
  "Validation": {
    "CleanupFolders": true,
    "PreValidateDns": true,
    "PreValidateDnsRetryCount": 5,
    "PreValidateDnsRetryInterval": 30,
    "DnsServers": [ "<IP_ADDRESS>", "<IP_ADDRESS>", "<IP_ADDRESS>" ]
  },
  "Store": {
    "DefaultCertificateStore": null,
    "DefaultCentralSslStore": null,
    "DefaultCentralSslPfxPassword": null,
    "DefaultPemFilesPath": null
  }
}

Hi @barrar, thanks for reporting this. Your logs don't really seem to fully agree with your description of the problem. In your first case where you say that there is a cache hit, I can clearly see a new certificate getting requested and installed. I think you are mixing up the cached authorization result (which allows us to skip validation) with the certificate cache (that contains information about previously issued certificates).
So I don't think there is different behaviour between single binding and multi-binding sites, you probably just hit the rate limit in on the multi-binding one first for whatever reason.
That said, you are right that the certificate cache does not prevent people from running into rate limits. Work on adding an additional order cache has already started and will probably land in the next release though.

Ok, that makes sense. The cache was working in previous builds though. I thought this config setting enabled the cache: https://github.com/win-acme/win-acme/blob/c76a096f30c702aee7cadfd179421641f2a5fe4a/src/main.lib/Services/SettingsService.cs#L317

I also seem to remember that it used to work, but I don't think that any recent change on this client side could have caused it to break.
I rather have the feeling that Let's Encrypt have changed something on their side; perhaps before they rate limited the actually issue of certificates, whereas now they rate limit the creation of orders (which happens earlier in the process, before we hit or miss the certificate cache).

That makes since. If you're too busy, I can attempt a patch?

Improvements to the cache mechanims have been released in version 2.1.6


manager.py chokes on special characters in dn

If the distinguished name of a user contains special characters, e.g. CN=Markus Gräßer,OU=my_group,dc=example,dc=com (name changed), execution of ldap2pg fails in apply_role_rules. The following error is thrown:
[ldap2pg.script   CRITICAL] Failed to process ('CN=Markus Gr\xc3\xa4\xc3\x9fer: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)

I worked around it by changing apply_role_rules
def apply_role_rules(self, rules, entries):
    for rule in rules:
        for raw_entry in entries:
            entry = (
                raw_entry[0].decode('unicode_escape').encode('iso8859-1').decode('utf8'),
                raw_entry[1]
            )
            try:
                for role in self.process_ldap_entry(entry=entry, **rule):
                    yield role
            except ValueError as e:
                msg = "Failed to process %.32s: %s" % (entry, e,)
                raise UserError(msg)

The decoding line is a shameless copy from https://stackoverflow.com/a/6956914 (my python is limited).
This is on Centos 7.4.1708 with epel and pgdg-96-centos repository. ldap2pg was build according to https://ldap2pg.readthedocs.io/en/latest/install/ (the rpm in the pgdp-96 repo does not include all dependencies, but that is a bug report for the maintainer of the rpm).

Hi @dirks Thansk for pointing this ! I'm checking this.

@dirks, I'm missing something. Can you show me LDIF entry and ldap2pg.yml stanza to help me reproduce the bug ?

@bersace,  I changed a few values to make the entries anonymous in the example below. If you need an original entry I will send it via mail if that is fine with you. I did not notice earlier that the dn returned by ldapsearch is given as base64 string, if it contains Umlaute (ä, ß in this case).
---
color: yes
verbose: yes
dry: yes

ldap:
    uri: ldap://ad1.example.com ldap://ad2.example.com
    binddn: cn=svc.mybindusers,ou=Functional Users,ou=Users,ou=EXAMPLE,dc=example,dc=com
    password: "redacted"

postgres:
    dsn: ""
    blacklist: [postgres, pg_*, testing]

sync_map:
    __all__:
    - ldap:
        base: ou=AAI,dc=example,dc=com
        filter: "(&(objectclass=User)(sAMAccountname=abc12de))"
        attributes: sAMAccountName
      role:
        name_attribute: sAMAccountName
        options: LOGIN

# extended LDIF
#
# LDAPv3
# base <ou=AAI,dc=example,dc=com> with scope subtree
# filter: (&(objectclass=User)(sAMAccountname=abc12de))
# requesting: sAMAccountName
#

# Markus Gr\C3\A4\C3\9Fer, Admins, Employees, AAI, example.com
dn:: Q049TWFya3VzIEdyw6TDn2VyLE9VPUFkbWlucyxPVT1FbXBsb3llZXMsT1U9QUFJLERDPWV4YW1wbGUsREM9Y29tCg==
sAMAccountName: ab12cde

# search result
search: 5
result: 0 Success

# numResponses: 2
# numEntries: 1

@dirks yes, LDIF stores UTF-8 as base64 with :: as prefix like dn:: …. I'm checking this.

raw_entry[0].decode('unicode_escape').encode('iso8859-1').decode('utf8')

That looks ugly :/
Thanks for the base64. This looks easy to decode:
>>> my = base64.b64decode('Q049TWFya3VzIEdyw6TDn2VyLE9VPUFkbWlucyxPVT1FbXBsb3llZXMsT1U9QUFJLERDPWV4YW1wbGUsREM9Y29tCg==')
>>> my
b'CN=Markus Gr\xc3\xa4\xc3\x9fer,OU=Admins,OU=Employees,OU=AAI,DC=example,DC=com\n'
>>> my.decode('utf-8')
'CN=Markus Gräßer,OU=Admins,OU=Employees,OU=AAI,DC=example,DC=com\n'

(I just need one decode).
I still can't reproduce :/
Can you modify ldap2pg and reproduce with the following code in apply_role_rules:

    def apply_role_rules(self, rules, entries):
        for rule in rules:
            for entry in entries:
                try:
                    for role in self.process_ldap_entry(entry=entry, **rule):
                        yield role
                except ValueError as e:
                    # msg = "Failed to process %.32s: %s" % (entry, e,)
                    # raise UserError(msg)
                    raise

Danke schön :-)

@dirks That's strange to have a \n in dn.

The \n is an artifact from the name change. I used base64 from coreutils for the en/decoding and the input finished with a newline. Inside python I get the correct dn Q049TWFya3VzIEdyw6TDn2VyLE9VPUFkbWlucyxPVT1FbXBsb3llZXMsT1U9QUFJLERDPWV4YW1wbGUsREM9Y29t. I sent you the original LDIF via mail.
Here is the error thrown when using raw raise.
$ ldap2pg                                                                                [38/1916]
Starting ldap2pg 3.1.
Using /var/lib/pgsql/ldap2pg.yml.
[ldap2pg.ldap        DEBUG] Ignoring: [Errno 2] No such file or directory: u'/etc/ldap/ldap.conf'
[ldap2pg.ldap        DEBUG] Ignoring: [Errno 2] No such file or directory: u'/var/lib/pgsql/ldaprc'
[ldap2pg.ldap        DEBUG] Ignoring: [Errno 2] No such file or directory: u'/var/lib/pgsql/.ldaprc'
[ldap2pg.ldap        DEBUG] Ignoring: [Errno 2] No such file or directory: u'ldaprc'
[ldap2pg.ldap        DEBUG] Connecting to LDAP server ldap://ad1.example.com ldap://ad2.example.com
[ldap2pg.ldap        DEBUG] Trying simple bind.
[ldap2pg.script    WARNING] Running in dry mode. Postgres will be untouched.
[ldap2pg.manager      INFO] Inspecting Postgres...
[ldap2pg.psql        DEBUG] Connecting to Postgres dbname=postgres.
[ldap2pg.psql        DEBUG] Doing: SELECT datname FROM pg_catalog.pg_database
[ldap2pg.psql        DEBUG] WHERE datallowconn IS TRUE ORDER BY 1;
[ldap2pg.psql        DEBUG] Doing: SELECT
[ldap2pg.psql        DEBUG]     role.rolname, array_agg(members.rolname) AS members,
[ldap2pg.psql        DEBUG]     role.rolbypassrls, role.rolcanlogin, role.rolcreatedb, role.rolcreaterole, role.rolinherit, role.rolreplication, role.rolsuper
[ldap2pg.psql        DEBUG] FROM
[ldap2pg.psql        DEBUG]     pg_catalog.pg_roles AS role
[ldap2pg.psql        DEBUG] LEFT JOIN pg_catalog.pg_auth_members ON roleid = role.oid
[ldap2pg.psql        DEBUG] LEFT JOIN pg_catalog.pg_roles AS members ON members.oid = member
[ldap2pg.psql        DEBUG] GROUP BY role.rolname, role.rolbypassrls, role.rolcanlogin, role.rolcreatedb, role.rolcreaterole, role.rolinherit, role.rolreplication, role.rolsuper
[ldap2pg.psql        DEBUG] ORDER BY 1;
[ldap2pg.manager     DEBUG] Found role 'bc23defg' NOSUPERUSER NOBYPASSRLS NOCREATEDB INHERIT NOREPLICATION NOCREATEROLE LOGIN.
[ldap2pg.manager     DEBUG] Ignoring role pg_signal_backend. Matches u'pg_*'.
[ldap2pg.manager     DEBUG] Ignoring role postgres. Matches u'postgres'.
[ldap2pg.manager     DEBUG] Ignoring role testing. Matches u'testing'.
[ldap2pg.psql        DEBUG] Connecting to Postgres dbname=EIELAB.
[ldap2pg.psql        DEBUG] Doing: SELECT nspname FROM pg_catalog.pg_namespace
[ldap2pg.psql        DEBUG] WHERE nspname NOT LIKE 'pg_%' ORDER BY 1;
[ldap2pg.manager     DEBUG] Found schemas information_schema, public in EIELAB.
[ldap2pg.psql        DEBUG] Connecting to Postgres dbname=exampledb.
[ldap2pg.psql        DEBUG] Doing: SELECT nspname FROM pg_catalog.pg_namespace
[ldap2pg.psql        DEBUG] Doing: SELECT nspname FROM pg_catalog.pg_namespace
[ldap2pg.psql        DEBUG] WHERE nspname NOT LIKE 'pg_%' ORDER BY 1;
[ldap2pg.manager     DEBUG] Found schemas information_schema, public in exampledb.
[ldap2pg.psql        DEBUG] Using Postgres connection to dbname=postgres.
[ldap2pg.psql        DEBUG] Doing: SELECT nspname FROM pg_catalog.pg_namespace
[ldap2pg.psql        DEBUG] WHERE nspname NOT LIKE 'pg_%' ORDER BY 1;
[ldap2pg.manager     DEBUG] Found schemas information_schema, public in postgres.
[ldap2pg.psql        DEBUG] Connecting to Postgres dbname=template1.
[ldap2pg.psql        DEBUG] Doing: SELECT nspname FROM pg_catalog.pg_namespace
[ldap2pg.psql        DEBUG] WHERE nspname NOT LIKE 'pg_%' ORDER BY 1;
[ldap2pg.manager     DEBUG] Found schemas information_schema, public in template1.
[ldap2pg.manager     DEBUG] Postgres inspection done.
[ldap2pg.manager     DEBUG] Working on schema __all__.__any__.
[ldap2pg.manager      INFO] Querying LDAP ou=AAI,dc=example,dc=com...
[ldap2pg.ldap        DEBUG] Doing: ldapsearch -x -W -b ou=AAI,dc=example,dc=com -s sub '(&(objectclass=User)(sAMAccountname=abc12de))' sAMAccountName
[ldap2pg.manager     DEBUG] Got 1 entries from LDAP.
[ldap2pg.script      ERROR] Unhandled error:
[ldap2pg.script      ERROR] Traceback (most recent call last):
[ldap2pg.script      ERROR]   File "/opt/python-ldap2pg/lib/python2.7/site-packages/ldap2pg/script.py", line 75, in main
[ldap2pg.script      ERROR]     exit(wrapped_main(config))
[ldap2pg.script      ERROR]   File "/opt/python-ldap2pg/lib/python2.7/site-packages/ldap2pg/script.py", line 50, in wrapped_main
[ldap2pg.script      ERROR]     syncmap=config['sync_map'])
[ldap2pg.script      ERROR]   File "/opt/python-ldap2pg/lib/python2.7/site-packages/ldap2pg/manager.py", line 258, in inspect
[ldap2pg.script      ERROR]     for role in self.apply_role_rules(mapping['roles'], entries):
[ldap2pg.script      ERROR]   File "/opt/python-ldap2pg/lib/python2.7/site-packages/ldap2pg/manager.py", line 173, in apply_role_rules
[ldap2pg.script      ERROR]     for role in self.process_ldap_entry(entry=entry, **rule):
[ldap2pg.script      ERROR]   File "/opt/python-ldap2pg/lib/python2.7/site-packages/ldap2pg/manager.py", line 137, in process_ldap_entry
[ldap2pg.script      ERROR]     log_source = " from %s %s" % (entry[0], name_attribute)
[ldap2pg.script      ERROR] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)
[ldap2pg.script      ERROR] Please file an issue at https://github.com/dalibo/ldap2pg/issues with full log.
[ldap2pg.psql        DEBUG] Closing Postgres cursor to dbname=EIELAB.
[ldap2pg.psql        DEBUG] Closing Postgres connexion to dbname=EIELAB.
[ldap2pg.psql        DEBUG] Closing Postgres cursor to dbname=postgres.
[ldap2pg.psql        DEBUG] Closing Postgres connexion to dbname=postgres.
[ldap2pg.psql        DEBUG] Closing Postgres cursor to dbname=template1.
[ldap2pg.psql        DEBUG] Closing Postgres connexion to dbname=template1.
[ldap2pg.psql        DEBUG] Closing Postgres cursor to dbname=exampledb.
[ldap2pg.psql        DEBUG] Closing Postgres connexion to dbname=exampledb.

I noticed the error with users containing ä, ö, ü, ß, é in the CN part of dn.

Good news ! I reproduced it. It's related to python 2.7:
[ldap2pg.manager      INFO] Querying LDAP dc=ldap,dc=ldap2pg,dc=docker...
[ldap2pg.ldap        DEBUG] Doing: ldapsearch -x -W -b dc=ldap,dc=ldap2pg,dc=docker -s sub '(objectClass=uidObject)' uid
[ldap2pg.manager     DEBUG] Got 1 entries from LDAP.
[ldap2pg.script   CRITICAL] Failed to process ('cn=doroth\xc3\xa9e,ou=people,d: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)

@dirks i just release 3.2 with the fix from #115 Can you test it ?

@bersace, yes the dry run works as expected. I continue deployment and testing this week. Thanks a lot. :)


Stabilise state API

[ ] Minimize exposed API
[x] Make atom full proxy instead of class
[x] Make observer session less wacky
[ ] Update doc for react
[ ] First try with implementing form control

function () {
    if (arguments.length === 0) return this.value

    this.value = arguments[0]
}

Should delete dependeny by key if jo observers to enable gc

Think will merge this without trying form control first, otherwise will just hesitate forever...
Therefore will not release as v1.0 yet, just bumping minor version


Is it possible to run NeighborSampler faster?

❓ Questions & Help

Hi @rusty1s, I'm using NeighborSampler to get a 3-hop subgraph. But when the size of target nodes is large or the original whole graph is big, running NeighborSampler to get a 3-hop subgraph is slow. So I have a few questions below for running NeighborSampler.

I know there is a parameter num_workers  in NeighborSampler which is used for torch.utils.data.DataLoader. But it seems like this parameter is only used to adjust the process of CPU but not GPU. I'm wondering if NeighborSampler can run on GPU. If so, are there any parameters in NeighborSampler that I can use multiple GPUs given that I have multiple GPUs in my computer.

If I don't need to do any sampling for a target node but instead need all the neighbor nodes of a target node, Is it possible that I can turn off sampling within NeighborSampler and make it run faster?

Thank you!

NeighborSampler does only work on CPU, and there are no plans to provide a GPU version yet: We rely on num_workers to pre-fetch the data while the GPU is busy training (which shouldn't be a bottleneck for shallow networks).
We have a multi GPU neighborsampling example though, see here.
If you encounter scalability issues, then this is likely because neighbor sampling does not really scale to deeper networks (even 3-hops can result in a huge receptive field depending on the sampling size). Note that you can include all neighbors by passing -1 to sizes, e.g., sizes=[10, -1, 5].


Added Faillint check for fmt.Errorf

Fixes : #3875

cc @bwplotka , @yashrsharma44

@bwplotka @yashrsharma44 @GiedriusS I updated the faillint version, but for some reason, https://github.com/fatih/faillint/pull/15 isn't working as expected even though the pkg/ui/bindata.go file has the suffix "DO NOT EDIT" (ref : https://gotools.org/dmitri.shuralyov.com/go/generated#generated.go-L68)
Any thoughts where to go ahead with it ?

@Biswajitghosh98 it needs to start and end with these lines:
"// Code generated ... DO NOT EDIT."

The file you mentioned in faillint (which can be seen here: https://raw.githubusercontent.com/thanos-io/thanos/main/pkg/ui/bindata.go), however starts with a different keyword:
// Package ui Code generated by go-bindata. (@generated) DO NOT EDIT.

If you remove the Package ui  prefix, it should work.


CentOps: Notify participants of change

As a CentOps
I want to be able to notify participants of a change in the network
So that participants can continue to operate without a drop in comms
Acceptance Criteria

Notify if participant has left the network
Notify if a participant is going offline for a planned outage/update
Notify if a new participant has joined the network

Groom after CentOps design is complete


Updated output box copy

Pre-Submission Checklist

[X] Your pull request targets the staging branch of FreeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #9891

Description

simply added "as well" to output box copy.

@camperbot Thanks for the heads up!

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks @oalhait !
:sparkles: Congratulations on your first contribution to Free Code Camp! :sparkles:


azcopy: upgrade version to 10.25.1 to fix CVE-2024-35255

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 (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/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
[x] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Update azcopy
Change Log

azcopy: upgrade version to 10.25.1 to fix CVE-2024-35255

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-35255

Test Methodology

Pipeline build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=615174&view=results

Do you have the equivalent fix for 3.0?

Here: https://github.com/microsoft/azurelinux/pull/10032


Remove version file generation and blob publishing

Summary
Remove the *.version and *.buildversion files from the publishing process. These files were created for two primary purposes and are no longer used.

dotnet/dotnet-docker relied on these files being published to blob storage to determine the exact update version for each blob group. The update process has moved away from these files by using pipeline resource trigger that pulls a version asset directly from the build.
The release note generation would use these files after they have been published to blob store to determine the exact version of the produce being built so it can name the notes file with that version. The process is moving away from using these files and will use the in-repository version information instead: #4140

What remains is a small portion of the *.buildversion file generation that's been moved to the pack phase so that a dotnet-monitor.buildversion file is created and uploaded as an artifact on the build. dotnet/dotnet-docker still uses this file to determine the exact update version.
Validation build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2282031&view=results

Release Notes Entry

/backport to release/7.x


How to customize the LSTM layer

Hello there!
I have known how to modify the cell state in recurrent.py, like plus one value, define new arguments, but usually this operation will affect all training samples.
Now if I wanna modify the layer based on each training sample, for example, for train_data 1, I wanna make the cell gate plus value1, while for train_data 2, I wanna make the cell gate plus value2...
I don't know how to do that. maybe using a loop?
Hope someone could give me some pointers.

Define a layer that takes 2 inputs and provide this custom parameter as the 2nd input to your custom layer


Edit User Model or View for registering

Since Facebook has stopped providing username due to privacy concerns.
Issue: User created, but Username is some long ID number.
Now I want to edit the register user view so I can create a unique username from views. If anyone can help me in this issue.

Hi @futurbotconsolidated , can you let me know how did you add the provider to your user model?

Hi there, @futurbotconsolidated
Did you manage to solve this? My late suggestion is: create a django migration and assign a single username to each user.

@wagnerdelima I manage to solve this by reusing the pipelines  file of social auth. But can you explain your approach a lil more? Maybe I could use yours.

You are dealing with a database migration, right? You would like to change the data for all users in the database as I understand of course. So you need to create a database migration in your migrations.py file. You would have a function that read the users and assign them a username. Then you would run your migration either manually (I discourage you from that) or automatically, let's say with a deploy. You code you execute once the line in your production pipeline executed the python manage.py migrate
Let me know if I was clear.


feat(pd): pd master bump go version to 1.23

pd master bump go version to 1.23

/hold
wait for  PR https://github.com/tikv/pd/pull/8637 ready

/unhold


Improve menus

make them look the same in front- and backend
unify "media list" name

Are the collections in the main screen supposed to have context menus ?

No, but that could be an improvement.
Erik Spaan<EMAIL_ADDRESS>schrieb am Di., 27. Okt. 2015 15:39:

Are the collections in the main screen supposed to have context menus ?
—
Reply to this email directly or view it on GitHub
https://github.com/cmfcmf/MediaModule/issues/13#issuecomment-151522109.


[Torii] Debug output of all indexed Events

Currently, the indexer is only console logging world events like StoreSetRecord, ModelRegistered, etc.

During development phase, it's helpful to output all events (including custom events). May be pretty verbose so perhaps make sense to be debug output only.

hey broody, can i try this one?


Upgrade Azure.Core dependency for patch release

Upgrade Azure.Core dependency to latest which contains the fix corresponding to this patch.

/azp run net - identity - ci

/azp run net - identity

@schaabs doesn't look like the default triggers like working when targeting the hotfix branch. You should be able to manually trigger the build in DevOps UI.

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1032935&view=results I triggered in manually.


Update Wcms.php

Fix path for creating backups (missing data folder in path).

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


Add CMakeLists.txt with install definitions

Hi,
would it be possible to accept the changes in this PR to add a CMakeLists.txt definition?
We would like to integrate the use parson through our own cmake config files,
This change would enable us to consume your library using find_package.
Thanks for your attention.

Many thanks!


Added FAstAI and OpenAI Gym

Added Fast AI and Open AI Gym in Machine Learnign in Websites and Python libraries.

Hey @ayushsaklani I have resolved your conflicts. Can you squash the commits and push so that we can merge and close this PR.


Change Readme.md

We use Python 3.9.7. There is a different version mentioned in README.md

We use Python 3.7.3 and Python packages for analysis. For details, please refer to env-cmp.yaml.

added about knitr and kable

Done in #82. And change to Python 3.9.5 as the default version according to the installation instruction


Difference between repo and docs

ThirdEye repo moved to https://github.com/project-thirdeye/thirdeye
And Pinot docs: 1: Update the data sources configuration
Insert the connector configuration for Pinot in thirdeye-pinot/config/data-sources/data-sources-config.yml.
But data-sources-config.yml is in "thirdeye-dashboard/config/data-sources/data-sources" folder.
This is one issue of all I've found some differences in docs.
Is there a correct link to doc or ThirdEye?

https://thirdeye.readthedocs.io/en/latest/index.html
It's showing the example configuration with MySQL, but my data is Pinot data.
I'm trying to set csv data(I've already installed Pinot docker and added this csv as dataset/table) in thirdeye dashboard.
How can I change the configurations for this?

@apucher @suvodeep-pyne Can you please take a look at this issue? Is this the up-to-date thrid-eye doc?

@Jackie-Jiang we are already chatting with @zhixun-luy on slack.

@suvodeep-pyne Thanks! Can you please update this issue with some context (chat history should be fine). Can we close this issue if it is already resolved?

On the slack, it's saying this repo link.
1. my use-case is to detect anomaly in my data and create an alert.
2. In the document you shared, there isn't detailed example. I'm using csv data from pinot dataset.
3. How can I get latest version of ThirdEye? What should I do for it?

This is my question for ThirdEye integration.

How to set pinot data in persistence.yaml file?
How to set data-sources-config.yaml file?
I used below config, but failed.

dataSourceConfigs:
  - className: org.apache.pinot.thirdeye.datasource.pinot.PinotThirdEyeDataSource
    properties:
      zookeeperUrl: 'localhost:2181'
      clusterName: 'PinotCluster'
      controllerConnectionScheme: 'http'
      controllerHost: '<IP_ADDRESS>'
      controllerPort: 9000
      cacheLoaderClassName: org.apache.pinot.thirdeye.datasource.pinot.PinotControllerResponseCacheLoader
    metadataSourceConfigs:
      - className: org.apache.pinot.thirdeye.auto.onboard.AutoOnboardPinotMetadataSource

Any sample configuration for custom pinot data will be helpful.
Thanks.


how can i remove some containers from the dragula decorator ?

i have a react component
that under some conditions , needs to disable the drag and drop abilities on some elements
so after the dragula component was instantiated with 3 containers
how can i remove some of them ?
i tried using react's state and it didnt work , the decorator didnt update on setState

I solved it by calling destroy() on the dragula object then creating a new one with the updated containers

I solved it by calling destroy() on the dragula object then creating a new one with the updated containers


:sparkles: add error_val argument to feature calculation

Codecov Report

Merging #2 (c69be60) into main (9d6e917) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   96.29%   96.45%   +0.16%
==========================================
  Files          18       18
  Lines         702      706       +4
==========================================
+ Hits          676      681       +5
+ Misses         26       25       -1

Impacted Files
Coverage Δ

tsflex/features/feature_collection.py
96.33% <100.00%> (ø)

tsflex/features/function_wrapper.py
96.42% <100.00%> (+0.97%)
:arrow_up:

tsflex/features/strided_rolling.py
98.85% <100.00%> (+1.09%)
:arrow_up:

Continue to review full report at Codecov.

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


[IDEA] No display permission

If it is possible, can you add feature to turn off auto-brodcasts with permission or command (like for donors)
Thanks

Hello, Jake, I am a bit confused, do you mean to make it so that with a command, you can toggle whether not timed broadcasts will actually dispatch? If so, I can definitely do that :).

Yes thanks

Alright, I will add that as soon as I can; the update will be pushed and uploaded on spigot some time tonight. :)

However, I have one question, would only the person who executed the command not receive the broadcasts, or would you like no one to?

Added requested feature, closing issue.


Plan my trip page: Fetching other peoples activities

Fetching other peoples activities

[x] User can also pull photos (optionally)

Created a new endpoint for specifically fetching media

[x] Creation of a new API endpoint

Created a new endpoint for fetching activities based on some basic parameters (date range, type, subtype) and pagination (page, limit)

[x] Write spatial query

Added a spatial search to the above endpoint, searches based on a provided polygon.
Originally posted by @ZoeSimon in https://github.com/bcgov/invasivesbc/issues/57#issuecomment-704378642

first filter params:

[ ] type of activity
[ ] photos
[ ] date ranges

v2

[ ] spatial query

Pushed some api/app changes.
App

Updated the useInasivesApi() hook to include a new getActivities method that accepts a search criteria object.  Returns all activities that match.

This currently accepts a bounding box bbox parameter, but the api doesn't do anything with it yet.
It also accepts an 'include_media' parameter, which the api ignores for now.  I think we will have to move this out into its own call though, as the request size might get too big if the user gets 50 activities and they all have media.

Api

Updated the request body of the GET /activity endpoint to the latest version (as in the App).
Left a placeholder spot in activity-queries.ts for the spatial query portion, which is empty for now.

V3 & V4 captured in ticket #108


paper-date-picker w/o polymer

I want to use it with Material Design Lite.
https://github.com/bendavis78/paper-date-picker/issues/108

Duplicate of #1695
Please search existing issues before creating new ones.


ZEPPELIN-490 Tidying up dynamicform.md to distinguish each category e…

This PR is related to this issue.
Current dynamicform.md is little bit hard to distinguish each category.
So, I applied nav-tabs by using Bootstrap.

Before applying this PR

After

nice. if I choose python on the top tab do other tab switch to python too?
also, seems like syntax highlighting is off?

Thank you for review @felixcheung ! ☺
Because of same language code tab showing and code highlighter, as you mentioned, I made a new  javascript file : docs.js.
So, this time result is

Working well.
Looks good to me

Merge if there're no more discussions

great! thanks for making this so much better!

Merge if there're no more discussions


click on disabled breakpoint , option to enable instead of removing

Issue Type: Feature Request
Now clicking on a disabled breakpoint would remove it. I need an option to enable it first instead of removing.
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T16:45:26.313Z)
OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic
Remote OS version: Linux x64 5.4.0-73-generic

I think this suggestion makes sense in general and would make for a smoother UI.
Click on disabled breakpoint enables it. Click again to remove it (since it would be enabled).

To verify:

Add a breakpoint
Disable the breakpoint (context menu -> disable)
Click on the breakpoint in the glyph margin. Make sure the breakpoint is enabled
Click again on the now enabled breakpoint. Make sure it is removed.


Check wheels against recent Python and NumPy changes

Two things to check soon-ish:

[ ] Py 3.13 adds optional free-threaded Python support where the GIL is disabled by default. Does our stuff work with that, or do we need to do something to support this?
[x] Do our wheels work with both NumPy 2.0 and 1.x? Should we require numpy >= 2 as a build-time dependency to ensure they do?

The wheels seem to work with either line of NumPy versions.

Relevant reading:

https://github.com/pybind/pybind11/issues/5112 (and links therein)
https://py-free-threading.github.io/, particularly https://py-free-threading.github.io/porting/

Relevant for setting up the CI: https://github.com/actions/setup-python/issues/771


Increase coverage

Currently, the SQL server is only a development feature, so it makes no sense to include it into the coverage counting.
Following the principle of "broken windows" lets try to keep the coverage at 100% all the time.

Codecov Report

Merging #33 into main will increase coverage by 21.21%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             main       #33       +/-   ##
============================================
+ Coverage   78.78%   100.00%   +21.21%
============================================
  Files          25        23        -2
  Lines         726       570      -156
  Branches        0        73       +73
============================================
- Hits          572       570        -2
+ Misses        154         0      -154

Impacted Files
Coverage Δ

dask_sql/physical/rex/core/call.py
100.00% <0.00%> (ø)

dask_sql/physical/rel/logical/sort.py
100.00% <0.00%> (ø)

dask_sql/server/handler.py

dask_sql/server/messages.py

Continue to review full report at Codecov.

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


fix typo in ParisWindstormKeysLookup

Avery minor typo: get_vulnerbaility instead of get_vulnerability
The code runs fine as the misspelled function is only used there, but it's worth fixing.

Feel free to merge and delete branch when OK.


CI: deselect failing sparse pandas test

Following test is deselected:
utils/tests/test_validation.py::test_check_sparse_pandas_sp_format
Fixes # - issue number(s) if exists

[x] I have reviewed my changes thoroughly before submitting this pull request.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation to reflect the changes, if necessary (updated in # - add PR number)
[ ] The unit tests pass successfully.
[x] I have run it locally and tested the changes extensively.
[x] I have resolved any merge conflicts that might occur with the base branch.
[x] Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details)
[ ] I have added a respective label(s) to PR if I have a permission for that.

/intelci: run

Im a bit surprised that <= was not needed instead of < but looks like its working properly based on CI logs


New Function - After Data Import, Before Data Fit

An idea that might be a good call. In the function for add_jdx, we could take the data from the y['abs'] column and check to make sure it is normalized. Basically, we could do something to the effect of y['abs'].max() > 1.05, then just divide the whole list of values by y['abs'].max(). Not a burning problem, but would be a nice thing to implement. It would definitely need to come after baselining the data, but it could be a nice easy thing to do, that would be helpful for a number of people.

not needed, will back log for later.


Support "Cargo: Check" on projects with multiple targets

Right now if the project has multiple targets there is an error:
error: extra arguments to `rustc` can only be passed to one target, consider filtering
the package by passing e.g. `--lib` or `--bin NAME` to specify a single target

It would be great to have a way to configure a "default" target for checking through workspace configuration.

This would be great. The one that would be most helpful for me is --lib, but specifying a default would be even better.
Would it be possible to have an option to cargo check all of the targets (e.g. run once as --lib, again for each --bin) by concatenating the outputs of each run?

FWIW, setting to clippy seems to automatically use --lib in this case.


log:collectAllIn error

Apparently, log:collectAllIn works only when the scope is the current document. The following example:
@prefix log: <http://www.w3.org/2000/10/swap/log#> .
@prefix : <http://example.org/> .

{
  (?x { ?x a :Test } ?xs) log:collectAllIn { :x a :Test }
}
=>
{
  ?xs a :Result
}.

gives the error:
Error: Error while executing query: Foreign predicate shell/2 did not clear exception: error(system_error,context(shell/2,Function not implemented))
** ERROR ** eam ** error(existence_error(source_sink,/tmp/swipl_eye_42_4),context(system:open/4,No such file or directory))

The native eye returns (:x) a :Result.

The graph literal scoped log:collectAllIn is implemented via invoking another reasoner run using shell/2 which is not implemented in the swipl wasm version.


Does this actually work?

I wrote my own library but I'm getting 125.0C 0% humidity regardless of anything, which is the same result as when I use this library.
I'm wondering if my sensor is broken. Does this library actually work or was this a failed attempt?

No issues here.. i used the library for testing but had to make my own in the end due to a more complicated configuration.
The HTC1080s are pretty tough, ive reworked a few of them.
I also picked up a few of the closedcube BBB a while back. Plugged one in to an Uno just now and it works fine (example sketch HDC1080measurement)
Uno -> HDC1080
Gnd->Gnd
5v-> VDD
A4 -> SDA (Data)
A5-> SCL (Clock)
i also use mine with 3.3v logic and have no issues.

@TorbanP - Many thanks for the quick demo and cehck

Thanks m8. I believe I broke my sensor by soldering with temperatures above the peak temperature listed on the data sheet.


WIP Status update

Pull Request Test Coverage Report for Build 1104

34 of 40 (85.0%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 87.913%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/model/event/Event.java
5
6
83.33%

src/main/java/seedu/address/storage/XmlAdaptedEvent.java
7
8
87.5%

src/main/java/seedu/address/logic/commands/DeleteCommentCommand.java
3
5
60.0%

src/main/java/seedu/address/model/event/Status.java
4
6
66.67%

Totals

Change from base Build 1092:
-0.07%

Covered Lines:
2233

Relevant Lines:
2540

💛  - Coveralls


Error! Cannot read file, ENOENT worker_threads

After updating pkg from version 4.4.0 to 4.4.1 I got the following message:

Downgrading back to 4.4.0 fixes this. I'm running MacOS 10.13.6, NodeJS v8.12.0.
Am I missing something? This is happening in multiple projects that used to work fine.

Does it work this way even if the project is simply console.log(42)? Can you please also narrow down to a smallest code snippet?

@igorklopov That produces the same error:

Just to show the output of version 4.4.0:

Package write-file-atomic causes this problem.

write-file-atomic-npm


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1748 ms

Resolved: Bofrost.lu performance has improved in f0742bd after 8 minutes.


Fix IPv4 dhcp-relay

DHCP-relay service will fail with the following error if DHCP server IP is know in static route:
dhcrelay: Can't attach interface {ifname} to bpf device /dev/bpf0: Device not configured
This is the only place where get_real_interface( ) isn't used in IPv4 dhcp-relay

@jayantsahtoe looks like a bug indeed, thanks for patching!


Update how to get pipelines for new kedro version

Description
Why was this PR created?
context.pipelines does not work in kedro 0.18
Development notes
What have you changed, and how has this been tested?
changed to use new find_pipelines function, tested locally
Checklist

[ ] Read the contributing guidelines
[ ] Open this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Update the documentation to reflect the code changes
[ ] Add a description of this change and add your name to the list of supporting contributions in the CHANGELOG.md file. Please respect Keep a Changelog guidelines.
[ ] Add tests to cover your changes

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@cshaley do we need a little clean up here - to get the workflow matrix matching the setup.py... maybe @elanqo can help here. Not sure if github actions will take care of it..
https://github.com/Galileo-Galilei/kedro-serving/blob/3788eba24368e7215836d5c33c564594d6ea5d1e/setup.py#L34
python_requires=">=3.8, <3.11",
https://github.com/Galileo-Galilei/kedro-serving/blob/3788eba24368e7215836d5c33c564594d6ea5d1e/.github/workflows/test.yml#L17
python-version: [3.6, 3.7]
https://github.com/Galileo-Galilei/kedro-serving/blob/3788eba24368e7215836d5c33c564594d6ea5d1e/.github/workflows/publish.yml#L10
python-version: [3.7]

@rxm7706 is right, the worklflow is quite old. I've updated it in kedro-pandera recently, we can likely copy-paste it but it can be another PR.
@cshaley : See my comments directly in the code


Produce junit test report XML on Circle CI

This enables Circle's web test report display functionality
https://circleci.com/docs/test-metadata#rspec

Where can I see this in Circle? It only shows the slowest test, right? Or is there more information available?

It sounds like you're looking at the right place. My suspicion is that it will show more detailed output if there are failing tests.
On early runs of this, I think this change was conflicting with Danger's expectations around test error reporting (Danger expects every file in the reports directory to be JSON).  We may need to fix that if we want to also have this.

Actually, I took another look at the Dangerfile and the current .json report file collecting seems just fine. @KrauseFx let me know if you think this is worth having :+1:

So what advantage do we have by keeping the JUnit file? It seems like circle isn't really using it, right?

Here is what the Circle build report looks like with a failing test after these changes:

:rocket: yeah


UI enhance

Work to tidy up some parts of the UI

Merging to see if the automated branch publish is working


Make XInput2 optional

Any chance of not requiring XInput2.h? I still have to use many systems that just have RHEL 5, which is still supported through 2017, but is lacking XInput2. For now, I have SDL2, but definitely prefer GLFW when possible. If this might be possible, I could try to submit a pull request.

Thank you!  I really appreciate it.

I suspect I won't like the answer but what's the CMake version on those ancient systems?

To answer your question directly, for the latest point releases, CentOS 5 has 2.6.4 [1], CentOS 6 has 2.8.12 [2].  I was under the impression that earlier version of CentOS 6 had a significantly older CMake, since that's actually newer than what's included in CentOS 7.
I appreciate greatly your consideration of those of us required to support these legacy systems, however, upgrading cmake in user-space is not a big deal, my two cents would be to just worry about maintaining compatibility with more fundamental system components like X11, and to just do what is most convenient for you in terms of the build system.
[1] http://mirror.centos.org/centos/5/os/x86_64/CentOS/
[2] http://mirror.centos.org/centos/6/os/x86_64/Packages/

@andrewcorrigan Thank you, I'll do that then.

@andrewcorrigan This is a heads-up; I will be merging the dynamic-glx branch for 3.1.2. It's possible that it will need updating for your systems.

@elmindreda Is "XInput2 optional" in latest code? I am working on a project that customer need supports Redhat EL5 which don't have XInput2. I am interested in test out "Making XInput2 optional" as soon as it's available. Thanks!

@chuanqichen As you can see to the right it was merged into 3.1.1, which was released in March.

@elmindreda I'l give it a try as soon as I can, but I might just have to wait to file any issues later as I'm bogged down for the foreseeable future.


Warning when rendering images

Warning: img is a void element tag and must not have `children` or use `props.dangerouslySetInnerHTML`. Check the render method of MDReactComponent.

Images have children = [];

this is a warning introduced by react 0.14.x - it complains when you pass anything at all as children in the React.createElement call.
As it's not passing children, I think the warning can basically be ignored, but I've fixed it anyway in my fork @ https://github.com/davnicwil/markdown-react-js/tree/1.x
This branch basically upgrades the entire component to be totally up to date with 0.14.x. I'll be creating a PR for it soon, after my current one is merged.

duplicate of #13, should be fixed, please reopen #13 if not


bug: generated listers report $kind.$group instead of $resource.$group not found

Describe the bug
When using one of our generated listers to get an object, if it's not found, the error comes back like this:
Error from server (NotFound): APIExport.apis.kcp.io "today-cowboys" not found

Note the use of APIExport. To be consistent with the rest of the code, it should be apiexports.apis.kcp.io (resource, not kind).
Steps To Reproduce
See above
Expected Behaviour
See above
Additional Context
No response

FYI @stevekuznetsov

/assign
Upstream fix: https://github.com/kcp-dev/code-generator/pull/79

https://github.com/kcp-dev/client-go/pull/22