Insert organization and regional data into database

💡 Summary
To build out the new registration process, modifications to the Crossfeed database are needed.
Implementation notes

Add the CyHy database "Organizations" to the Crossfeed "Organizations" tables, using Crossfeed schema
Add as needed a "region_id" to the Organizations table
Create a Regions table ("state" | "region_id") - https://www.cisa.gov/about/regions
Key relationship "region_id" between Regions to Organizations

Acceptance criteria

[ ] Back-up/Snapshots made prior to update
[ ] Modifications to database are implemented
[ ] Proper tests conducted

@rapidray12 , @kckoch  - tagged you both for awareness as we look for someone to make these updates.

Renaming Issue, as it was a model and scheme change. Not a data load.

@schmelz21 we have a number of open issues for the Organization page - does this issue address any other open issues?
https://github.com/cisagov/crossfeed/issues/1993
https://github.com/cisagov/crossfeed/issues/2128
https://github.com/cisagov/crossfeed/issues/2129
https://github.com/cisagov/crossfeed/issues/2229

@dmfezzareed  - closing this issue as it addresses the model change which has been tested by the team in staging.


Fix of AppService System.Xml.XDocument bad reference under net4.5

Fix for issue https://github.com/Azure/azure-sdk-for-net/issues/3222

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

Can one of the admins verify this patch?


XSS Vulnerability

We ran Burp Suite security scanner through our code base and it identifies a vulnerability in turbolinks gem.
Here's the line that may cause script injection:
https://github.com/turbolinks/turbolinks/blob/c73e134731ad12b2ee987080f4c905aaacdebba1/src/turbolinks/history.coffee#L17
The tool recommends to escape location variable to prevent script injection. Something like:
htmlEncode = function(value) {
return $('< div />').text(value).html();
}
Would this be a vulnerability or is it already addressed?

Just run the Burp Suite and also got this, more than 2 years from the original question. Is something to worry about?

AFAIK this is a false positive. Burp (2.0) reports the following:
Data is read from window.location and passed to the 'wrap()' function of function of JQuery via the following statement:
l.Location.wrap(window.location)

However, the identified 'wrap' function is not from jQuery, but located in https://github.com/turbolinks/turbolinks/blob/master/src/location.ts#L10 and wraps the given URL string within a turbolinks Location object. It does not seem to be vulnerable to DOM based XSS.


Security Vulnerability: Lack of Access Token Signature Verification

Description
Overview
Upon user login to the Reduced.to platform, an access_token is generated and stored as an HttpOnly cookie. However, the access_token lacks signature verification, enabling an attacker to manipulate the JWT token's payload. Exploiting this vulnerability allows unauthorized users to elevate their privileges by modifying the access_token cookie, granting them access to protected features, such as those restricted to ADMIN roles.
Steps to Reproduce

Log in to Reduced.to.
Obtain the access_token cookie.
Decode the access_token payload.
Modify the payload, specifically changing the role from USER to ADMIN.
Update the access_token cookie with the manipulated payload.

Expected Behavior
Access tokens should be securely signed to prevent tampering. Any attempt to modify the token payload should result in invalidation of the token.
Actual Behavior
The access_token lacks signature verification, allowing an attacker to modify the payload and update the access_token cookie, thereby gaining unauthorized access to elevated roles and protected features.
Proposed Solution
Implement JWT signature verification for access/refresh tokens on server side to ensure their integrity and prevent tampering.
Screenshots

Additional information
No response

Hey @GuillemPM, I am so happy to hear from you!
You are right, there is no jwt signature check on the Qwik server.
Although we are using the backend (nest) as our API and for database access we do check the jwt over there.

You are right, visually you have an "admin" access but you can't do nothing with it.
I think we can solve it using an internal shared library that handle authentication and JWT operation for both Qwik server and backend.
What do you think, do you want to work on that issue?

Hello @origranot,
i can work on this issue if no one wants it.

Hello @origranot,
i can work on this issue if no one wants it.

@ymoukhli, Hey,
That's sounds good, I assigned you to this issue 💯

Hey @origranot
It seems that the issue is not assigned to anyone
I can work on it if it's relevant

Hey @origranot
Has this issue been addressed yet?
It looks like the issue has not been assigned to anyone...
I can work on it if it's relevant

Hey @origranot Has this issue been addressed yet? It looks like the issue has not been assigned to anyone... I can work on it if it's relevant

Sounds good, go for it.

@origranot
Several solutions have been proposed here
Should I solve with the solution that @GuillemPM  proposed and preferred?
(Fetch the role of the user when loading the page instead of relying on the cookie JWT payload, then show the menus according to that role, if we decide to use this method we wouldn't need to modify the database and access of pages would be handled by frontend.)

@origranot Several solutions have been proposed here Should I solve with the solution that @GuillemPM proposed and preferred?
(Fetch the role of the user when loading the page instead of relying on the cookie JWT payload, then show the menus according to that role, if we decide to use this method we wouldn't need to modify the database and access of pages would be handled by frontend.)

That's a good idea. I think we should do it as a "server action" and fetch it before the page loads.
What do you think?


Doubt/Question regarding processing of timesteps involved with pretraining

Hi - thank you for the this work and providing the weights- it is quite insightful. I was going through the paper and had a question about something you mention. It is my understanding that for pretraining you feed all the three timesteps for temporal effect.  I am a bit confused by this line ->

In our implementation, we set the tubelet size (i.e., the size of the tube on the temporal dimension) to 1 due to the relatively low frequency of the data

In the code; So if in pretraining an image is fed with three timesteps, and the tubelet size is 1, the patch embedding is basically a 2D representation applied independently of time. Thus, you will be creating patches per frame. Hence assuming the patch size is 14 -> the effective sequence length after tokenizing here is 3*14*14?

Hi -NVM - tried it out after posting and it's clear. Thanks anyway

Okay - I understand what exactly is happening - I missed the in_channels and hadn't seen the dataset. Makes sense now.


Add configuration to allow C8 client to communicate via gRPC from outside the cluster

This does come up on a regular basis with prospect and customers (FEMA and Johnson and Johnson this past week)

The nginx/ingress/tls profiles for AWS, Azure and Google all configure an endpoint to communicate with Zeebe GRPC by default.
There is also this azure secure zeebe ingress profile that is currently in the works which demonstrates how to secure the zeebe gatway using an Oauth 2 server and Keycloak.


Random fixes and cleanup

Looks good!  Thanks for this!

:+1: Looks good! Let me know about the latest comments, then I'll merge.  Thanks!

Ok adjusted based on those two comments

Awesome!  Thanks!


Update: UMEZAWATakeshi.UtvideoCodecSuite version 21.3.1

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


Ship release 1.1.0

The last feature release of this package was also the very first stable release, and it happened more than two years ago. The following additions are long overdue:

TreeSet and TreeDictionary
Heap
BitSet, BitSet.Counted and BitArray
The experimental _RopeModule module.

Of these, _RopeModule will ship underscored for now, for use in swift-foundation. It is not going to be a part of the stable public API yet, and should not be used in production outside of Foundation. (I expect a public RopeModule will ship in version 1.2.0.)
All public additions have seen informal API "reviews" on the forums, although BitSet/BitArray have been extensively reworked since then, so they would probably deserve another chance for comments. (Or not -- this package is (un)fortunately not bound by any particular process for API additions, and to be frank, at this time the lack of a predictable release schedule is a far bigger problem than the problem of getting more eyes on these APIs. 😞 If we ship the wrong APIs, we'll simply deprecate and fix them in subsequent releases.)

@lorentey thank you!

@lorentey Sounds great! Are we targeting Q1 hopefully to ship? Do we have any RFCs up with the WIP benchmarks for TreeSet and TreeDictionary to show the O(log(n)) copy-on-write mutations? This is a great data structure… thanks for shipping this!

Awesome; thank you for shipping the new release!

Hmm, don't think they shipped it yet.

Any interest in shipping https://github.com/apple/swift-collections/pull/352 in 1.1.0? Anything more I can do to help?

@lorentey what can we do to help release 1.1.0? A lot of folks have swift-collections as a dependency and we'd love to bump it up to 1.1.0.

Release preparation work is progressing over in https://github.com/apple/swift-collections/pull/355, with full prerelease testing starting as soon as I run out of things on my checklist. I expect testing will take some amount of iteration as it tends to uncover random issues on specific compilers/platforms. The 1.1.0 tag will drop soon after testing is complete. I don't expect there will be an extended preview period on the forum, but I may post a candidate commit a day or two in advance.
(I think it won't be long now, but I can't promise any particular release date -- it depends on how many problems testing will uncover.)

Candidate commit:

41b95865a2b135a703a06ae20b38ae9c64921b60

Diff: https://github.com/apple/swift-collections/compare/1.0.5...41b95865a2b135a703a06ae20b38ae9c64921b60
I'll skip Windows testing; I trust that the CMake build results on macOS & Linux indicate that Windows will pass too.
Testing progress:
macOS/AS

[x] macOS 14, Apple Silicon, Xcode 15.2 (Swift 5.11 dev snapshot)
[x] macOS 14, Apple Silicon, Xcode 15.2 (Swift 5.10 dev snapshot)
[x] macOS 14, Apple Silicon, Xcode 15.2 (Swift 5.9.2)
[ ] macOS 14, Apple Silicon, Xcode 14.3.1 (Swift 5.8.1)
[x] macOS 14, Apple Silicon, Xcode 14.2 (Swift 5.7.2)

macOS/x86_64

[x] macOS 14, Intel x86_64, Xcode 15.0.1 (Swift 5.11 dev snapshot)
[x] macOS 14, Intel x86_64, Xcode 15.0.1 (Swift 5.10 dev snapshot)
[x] macOS 14, Intel x86_64, Xcode 15.0.1 (Swift 5.9.2)
[ ] macOS 14, Intel x86_64, Xcode 14.3.1 (Swift 5.8.1)
[ ] macOS 14, Intel x86_64, Xcode 14.2 (Swift 5.7.2)

Linux/Aarch64

[ ] Ubuntu 20.04, Aarch64, Swift 5.11 dev snapshot
[ ] Ubuntu 20.04, Aarch64, Swift 5.10 dev snapshot
[x] Ubuntu 20.04, Aarch64, Swift 5.9.2
[x] Ubuntu 20.04, Aarch64, Swift 5.8.1
[x] Ubuntu 20.04, Aarch64, Swift 5.7.3

Linux/x86_64

[x] Ubuntu 20.04, x86_64, Swift version 5.11-dev (LLVM 067380bceb10522, Swift 15a6c01a16e3465)
[x] Ubuntu 20.04, x86_64, Swift version 5.10-dev (LLVM 2d55bb6028127bf, Swift 766e653ae1d0268)
[x] Ubuntu 20.04, x86_64, Swift 5.9.2
[x] Ubuntu 20.04, x86_64, Swift 5.8.1
[x] Ubuntu 20.04, x86_64, Swift 5.7.3

Windows 10/x86_64

[ ] ~Windows 10, x86_64, Swift 5.11 dev snapshot~
[ ] ~Windows 10, x86_64, Swift 5.10 dev snapshot~
[ ] ~Windows 10, x86_64, Swift 5.9.2~
[ ] ~Windows 10, x86_64, Swift 5.8.1~
[ ] ~Windows 10, x86_64, Swift 5.7.3~

(Note: I expect most of this matrix will remain untested in this tag.)

Swift 5.9.2. failed to build the project on Xcode 15.2 for the watchOS simulator, due to XCTest no longer shipping i386 binaries.
ld: warning: ignoring file .../Contents/Developer/Platforms/WatchSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XC
Test, file is universal (x86_64,arm64) but does not contain the i386 architecture: .../Contents/Developer/Platforms/WatchSimulator.p
latform/Developer/Library/Frameworks/XCTest.framework/XCTest
ld: warning: Could not find or use auto-linked library 'XCTestSwiftSupport'
Undefined symbols for architecture i386:
  "_$s6XCTest7XCTFail_4file4lineySS_s12StaticStringVSutF", referenced from:
      _$s23_CollectionsTestSupport13expectFailure_8trapping4file4lineySSyXK_Sbs12StaticStringVSutF in _CollectionsTestSupport.o
      _$s23_CollectionsTestSupport14_expectFailure__8trapping4file4lineySS_SSyXESbs12StaticStringVSutF05$s23_ab77Support14checkEquatable_6oracle10maxSamples
4file4lineySayxG_SbSi_SitXESiSgs12ij14VSutSQRzlFySnyR15GXEfU0_SSyXEfu_SiTf1ncnnn_n in _CollectionsTestSupport.o
      _$s23_CollectionsTestSupport14_expectFailure__8trapping4file4lineySS_SSyXESbs12StaticStringVSutF05$s23_ab77Support14checkEquatable_6oracle10maxSamples
4file4lineySayxG_SbSi_SitXESiSgs12ij14VSutSQRzlFySnyR16GXEfU0_SSyXEfu0_S2iTf1ncnnn_n in _CollectionsTestSupport.o
      _$s23_CollectionsTestSupport14_expectFailure__8trapping4file4lineySS_SSyXESbs12StaticStringVSutF05$s23_ab54Support10expectTrue__8trapping4file4lineySb
_SSyXKSbs12iJ16VSutFfA0_SSycfu_Tf1ncnnn_nTm in _CollectionsTestSupport.o
      _$s23_CollectionsTestSupport14_expectFailure__8trapping4file4lineySS_SSyXESbs12StaticStringVSutF05$s23_aB60Support12MinimalIndexV17_assertCompatible4w
ithyAC_tFSSyXEfu_Tf1ncnnn_nTm in _CollectionsTestSupport.o
      _$s23_CollectionsTestSupport14_expectFailure__8trapping4file4lineySS_SSyXESbs12StaticStringVSutF in _CollectionsTestSupport.o
      _$s23_CollectionsTestSupport12expectThrows__8trapping4file4line_yxyKXK_SSyXKSbs12StaticStringVSuys5Error_pXEtlF in _CollectionsTestSupport.o
      ...
  "_OBJC_CLASS_$_XCTestCase", referenced from:
      _$s23_CollectionsTestSupport010CollectionB4CaseCN in _CollectionsTestSupport.o
  "_OBJC_METACLASS_$_XCTestCase", referenced from:
      _OBJC_METACLASS_$__TtC23_CollectionsTestSupport18CollectionTestCase in _CollectionsTestSupport.o
  "__swift_FORCE_LOAD_$_XCTestSwiftSupport", referenced from:
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_RopeModuleTests in Availability.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_RopeModuleTests in SampleStrings.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_RopeModuleTests in TestBigString.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_RopeModuleTests in TestRope.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$__CollectionsTestSupport in _CollectionsTestSupport.o
     (maybe you meant: __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_RopeModuleTests)
ld: symbol(s) not found for architecture i386

This is a problem with the generic/platform=watchOS Simulator destination specifier; it's not new and it isn't related to this project.

 See /tmp/run-full-tests.sh.lv0rF/20.run-benchmarks.log for full console output.
    Array<Int> random insertions, reserving capacity
    Array<Int> removeLast
    Array<Int> removeFirst
    (584 more)
  Output file: /tmp/run-full-tests.sh.lv0rF/benchmark.results
  Appending to existing data (if any) for these tasks/sizes.

  Collecting data:
    1.2.4...8...16...32...64...128 -- 79.3s
    1./Utils/run-benchmarks.sh: line 11: 27359 Trace/BPT trap: 5       swift run --package-path "$srcroot" $flags benchmark "$@"

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   benchmark                     	       0x10254d3a8 Swift runtime failure: Double value cannot be converted to Int because it is either infinite or NaN + 0 [inlined]
1   benchmark                     	       0x10254d3a8 Task.measure(size:input:options:) + 936 (Task.swift:121)
2   benchmark                     	       0x10254d274 static Tick.now.getter + 16 (Tick.swift:27) [inlined]
3   benchmark                     	       0x10254d274 static Time.since(_:) + 16 (<compiler-generated>:37) [inlined]
4   benchmark                     	       0x10254d274 Task.measure(size:input:options:) + 628 (Task.swift:110)
5   benchmark                     	       0x10251ae88 _ConcreteTask.measure(size:input:options:) + 276 (AnyTask.swift:119)
6   benchmark                     	       0x1025325e8 AnyTask.measure(size:input:options:) + 24 (AnyTask.swift:49) [inlined]
7   benchmark                     	       0x1025325e8 specialized Benchmark.measureOneCycle(tasks:sizes:options:delegate:) + 1512 (Benchmark+RunOptions.swift:40)
8   benchmark                     	       0x102533768 specialized Benchmark.run(options:delegate:) + 252 (Benchmark+RunOptions.swift:84)

This appears to be a problem in the benchmark environment! Huh

The line in question is
        let remainingIterationEstimate =
          Int((remainingDuration / averageDuration).rounded(.up))

So presumably the average duration measured as zero. This is a real issue, but it's in swift-collections-benchmark, and it doesn't need to hold up the collections release.

Ah, it's an old one: https://github.com/apple/swift-collections-benchmark/issues/12

Development toolchains downloaded from swift.org do not allow building the package with xcodebuild. This is not a fault of the package, though.

Tests have passed on every supported Swift version, which is a really good sign. (Architecture-specific problems may still be lurking, but working around language discrepancies was historically more difficult.)

I'm running the Intel tests on macOS under Rosetta 2. I'll defer x86_64 tests on Linux for tomorrow, to run them on actual Intel hardware.
Once the current test jobs complete, I think I'll partially cherry pick the doc fixes in https://github.com/apple/swift-collections/pull/356 to release/1.1 -- it'll be a super late change, but risks are really low. (I will not restart the testing process, beyond simply doing a quick single-platform pass verifying that the change does not introduce any regressions.)
Beyond these, the last major item left is to run tests on arm64_32, which is (IIRC) the last remaining architecture actively supported by Swift that has 32-bit pointers.

arm64_32 tests completed successfully -- things are still on track.

Any interest in shipping https://github.com/apple/swift-collections/pull/352 in 1.1.0? Anything more I can do to help?

I'll add this one to the post-test batch, too!

94cf62b3ba8d4bed62680a282d4c25f9c63c2efb is the current release candidate commit.
I am still waiting for some tests to complete, but I see no problems detected so far.
The next item on my list is going to be to draft 1.1.0 release notes.

1.1.0 is out: https://github.com/apple/swift-collections/releases/tag/1.1.0


feat: print a message when no content found

-A message is printed when no content was found, either  No inputs or  No outputs.  or  No secrets .

@all-contributors please add @looztra for code and test


Remove zrender from devDependencies

zrender already be listed as a dependency.

zrender in devDependencies is used when building echarts distributions.

if it is a dependency it does not have to be added to devDependencies


Update core

Core is starting to get pretty stale. All the changes in develop are pretty stable and I think we should encourage updating to them. As most future updates can be done through devlib, so once you switch to this version of the template. Updating to new changes will be much simpler (ie #91).

bors try

I just switched the PR's goal to update core with changes from develop. Sorry I may have been a bit hasty with calling it a release. We can discuss tagging the release after develop has been merged. As per your suggestion, 0.10.0 works for me.

bors try

bors r+

bors r+


[CompilerApp] Use StrideEditorTargetFramework

PR Details
Stride.Core.Assets.CompilerApp.targets  hadn't been updated in PR #1908
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] Solution on a clean clone builds.

See my comment on #1968 about Stride solution targets vs user targets

Good point

Also, I don't think you can use that property in the build folder which is shipped to the user - either has to be defined in the same file or use net6.0 explicitly.

Good point. I didn't realize it was shipped.

While this gets worked on should the original PR be reverted? it breaks GameStudio in master currently.

Agreed, let's revert asset compiler TFM change and keep the targets as they were for the moment to unblock people.

after running into issues again, when the assetcompiler compiled once with net6.0-windows and you change the assemblyprocessor to net6 it still works but it uses the old assemblyprocessor

Not relevant any more (we moved to .NET 8). Will be done differently on the other xplat PRs. Closing.


[CI][C++] arrow-azurefs-test times out on Ubuntu 22.04 test jobs

Describe the bug, including details regarding any error messages, version, and platform.
For the last days the jobs:

test-ubuntu-22.04-cpp
test-ubuntu-22.04-cpp-20

have been failing with timeout
       Start 72: arrow-azurefs-test
    Test #72: arrow-azurefs-test ...........................***Timeout 300.10 sec
Running arrow-azurefs-test, redirecting output into /build/cpp/build/test-logs/arrow-azurefs-test.txt (attempt 1/1)

      Start 72: arrow-azurefs-test
    Test #72: arrow-azurefs-test ...........................***Timeout 300.01 sec
Running arrow-azurefs-test, redirecting output into /build/cpp/build/test-logs/arrow-azurefs-test.txt (attempt 1/1)

The test-ubuntu-22.04-python-3 job also started failing on the same dates and is failing on test_fs on azure test even though the stack trace doesn't say much it seems to be the same issue:
 Fatal Python error: Aborted

Current thread 0x00007f85db68a000 (most recent call first):
  File "/arrow-dev/lib/python3.10/site-packages/pyarrow/tests/test_fs.py", line 312 in azurefs
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 877 in call_fixture_func
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122 in pytest_fixture_setup
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073 in execute
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 603 in _get_active_fixturedef
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 518 in getfixturevalue
  File "/arrow-dev/lib/python3.10/site-packages/pyarrow/tests/test_fs.py", line 452 in filesystem_config
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 884 in call_fixture_func
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122 in pytest_fixture_setup
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073 in execute
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 603 in _get_active_fixturedef
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 1035 in execute
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 603 in _get_active_fixturedef
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 518 in getfixturevalue
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/fixtures.py", line 683 in _fillfixtures
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/python.py", line 1630 in setup
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 512 in setup
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 159 in pytest_runtest_setup
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 241 in <lambda>
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 341 in from_call
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 240 in call_and_report
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 129 in runtestprotocol
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/runner.py", line 116 in pytest_runtest_protocol
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 364 in pytest_runtestloop
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 339 in _main
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 285 in wrap_session
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/main.py", line 332 in pytest_cmdline_main
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/arrow-dev/lib/python3.10/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/config/__init__.py", line 178 in main
  File "/arrow-dev/lib/python3.10/site-packages/_pytest/config/__init__.py", line 206 in console_main
  File "/arrow-dev/bin/pytest", line 8 in <module>

There were no changes related to azure when it started failing so it seems is related to infrastructure.
This also fails on the maintenance 16.1.0 branch and is a release blocker.
Component(s)
C++, Continuous Integration

I've tried locally:
$ UBUNTU=22.04 docker compose run --rm ubuntu-cpp

and I was not able to reproduce but with:
$ ARCHERY_DEBUG=1 ARCHERY_USE_DOCKER_CLI=1 UBUNTU=22.04 archery docker run ubuntu-cpp

and (the command that archery executes):
$ docker run --rm --shm-size<PHONE_NUMBER> -e ARROW_MIMALLOC=ON -e CCACHE_COMPILERCHECK=content -e CCACHE_COMPRESS=1 -e CCACHE_COMPRESSLEVEL=6 -e CCACHE_DIR=/ccache -e CCACHE_MAXSIZE=1G -e SCCACHE_S3_KEY_PREFIX=sccache -v /home/raulcd/code/arrow:/arrow -v ubuntu-ccache:/ccache apache/arrow-dev:amd64-ubuntu-22.04-cpp /bin/bash -c '  /arrow/ci/scripts/cpp_build.sh /arrow /build &&\n  /arrow/ci/scripts/integration_skyhook.sh /build &&\n  /arrow/ci/scripts/cpp_test.sh /arrow /build'

I was able to reproduce, I am investigating to see if I can further debug.

Issue resolved by pull request 41501
https://github.com/apache/arrow/pull/41501


Time zones

Handle all client-side dates as moment objects. The date utility helpers should accept string, date, or moment objects and return moment whenever a date is returned. Also handle times as a moment. In both cases, the object will be converted back to a string for sending to the server.
Created a timezone service for parsing the timezone from an iso string, setting a default 'user' timezone, and building moment objects with a timezone.
Breaking change

Ran all


Default to "batch" if setBatchPath is never called (null).

Fixes #1073
#1087 aimed to fix this (and might have for some cases) but when I use it batchPath is null when not set and not an empty string.

I signed it!


Scrollbar not resized after notifications

Steps to Reproduce

Add two layers
Add a new layer
Wait until the notification disappears

Current Result
The scrollbar appears because of the notification. When the notification disappears the scrollbar is not resized, so if you move the scrollbar it recomputes its height and disappears.
Expected result
When the notification disappears the modal height should be recomputed and also its scrollbar.

Fixed (https://github.com/CartoDB/cartodb/pull/13061 by @jesusbotella :smile:)


GDScript export of C# class not working

Godot version
4.1.1-mono
System information
MacOS 12.3
Issue description
When I do this:
extends Node

const InkStory = preload("res://addons/GodotInk/Src/InkStory.cs")

@export var story: InkStory

InkStory is of type CSharpScript, and the editor shows

This prevents me from narrowing the export, because I can use a Resource instead, but I can't verify that resource is the correct type. I'm left with duck typing and an export interface that accepts any resource in my project.
I know that this export would work in C#, so this appears to be an edgecase when loading C# classes into GDScript.
Steps to reproduce

Create a C# script with a class in it, or Import the ink addon.
Create a GDScript with the contents:

extends Node

const MyType = preload("res://path/to/csharp_script.cs") # change to the correct C# script path

@export var specific_resource: MyType

Minimal reproduction project

Does this work with global classes, exports are restricted to global classes I believe
Can you confirm that this works with a GDScript script loaded in the same way, i.e. without class_name?

I tried reproducing the bug with global class
`using Godot;
using System;
[GlobalClass]
public partial class script : Node
{
}`
`extends Node2D
const ScriptPath = preload("res://script.cs")
@export var thing: ScriptPath`
Same thing

Just use the name, script and try

Hello, I maintain the linked addon.
I haven't moved to [GlobalClass] yet, since it is very recent. That's on my roadmap, though.
For now, you should still be able to export from GDScript as a simple resource. Duck typing will ensure everything from InkStory is still accessible anyway. There is a dedicated page about interoperability on our wiki: https://github.com/paulloz/godot-ink/wiki/Interop-with-GDScript
@export var story : Resource

# For instance:
if story.GetCanContinue():
    var current_text = story.Continue()

That's on my roadmap, though.

Just as a heads-up, this is now the case in our v1.1.0.


Restrict selectable location to specified area

I need to restrict location allowed to be selected to specified area. So I need to:

draw my city border on map (geojson polygon)
throw message when selected location is outside city border

Is there any way to do that, or that functionality needs to be added? As I can see, there's some callback methods called on position change, so they could be used to check if current position is inside city border and possibly block selecting location outside the city, can I also draw anything I need on map (city border in this case).

now on version 3.1.0 you can find mapLayers attribute and you can add polygon layer or any layer you want to throw meassage you can use any service you want and validate the picked location in the onPicked or onChanged

you can use any service you want and validate the picked location in the onPicked or onChanged

I know which polygon should be validated, I know its coordinates. I don't know what do you mean by "any service" - I still need to calculate if picked location is inside polygon or not. As I understand, you mean version 3.1.0 introduces easier way to access polygon, right?

To validate location you need to impliment point-in-polygon algorithm


Update dependencies

Oops, I forgot about this, just re-triggered checks, curious if the problem is gone now or if you have to rebase.


StructBuilder doesn't handle nulls correctly for empty structs

Describe the bug
StructBuilder allows the creation of empty structs, but doesn't handle nulls correctly when calling finish() to get the array.
To Reproduce
reproducing test:
    #[test]
    fn empty_struct_nulls() {
        let mut builder = StructBuilder::new(Fields::default(), vec![]);

        builder.append_null();
        builder.append_null();
        builder.append_null();

        let array = builder.finish();

        assert_eq!(array.len(), 3);
        assert_eq!(array.null_count(), 3);
    }

Expected behavior
The test passes.
Additional context
I think this is because of this line in StructArray:
https://github.com/apache/arrow-rs/blob/master/arrow-array/src/array/struct_array.rs#L116
which uses unwrap_or_default() to get the length. A potential fix is the unwrap_or with the null array length but I don't know the internals well enough to know if that's a correct fix.

The challenge is the null buffer is technically optional. What is your use-case for a StructArray containing no data?

In this case I was replicating a protobuf structure, where proto allows empty message definitions:
message Foo {

}

message Bar {
    Foo foo = 1;
}

and I was doing this in a reflection-like context where I was just examining descriptors and creating structs for them. In the end I caught this in my code and replaced it with a differently-typed column.

The challenge is the null buffer is technically optional. What is your use-case for a StructArray containing no data?

Understood. I think it'd also be sensible to either use this as a fallback with another unwrap_or_default layer, or just bin if you have a) no field columns and b) no null buffer. Alternately if empty structs are unsupported then not allowing you to construct a builder with no fields seems sensible.

label_issue.py automatically added labels {'arrow'} from #4845


Lepton fix (fixes #205)

Input path for external libraries in the Lepton wrapper can (and should) now be a full path to the file.

[ ] I have added the tests to cover my changes.
[x] I have updated the documentation, VERSION, and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

The path to the external library should be absolute. Examples, tutorials and how-tos should be updated to reflect this.


[4 pt] Setup routes and navigation links

Set routes using react router

I submit this pull request for review
https://github.com/AbrahaKahsay/final-capstone-frontend/pull/1


Transcription Factor column

Description of feature
Hi, this is a really useful tool. A simple but useful addition would be to annotate whether a gene/transcript is a Transcription Factor or not.
At the moment I do this using the table (attached) from this paper . This is human specific. There are probably other dbs for other species, maybe ensembl?
Filtering the genes output using the description is not capturing this well. For instance,genes[genes.description.str.contains('transcription', na=False, case=False)] gives me 705 genes, whereas filtering the table I attached by Is TF? == 'Yes' gives me over 1600 genes.
1-s2.0-S0092867418301065-mmc2.xlsx

Thanks for the suggestion!
I'm not sure this is going to be in scope for the library though, since we're really just getting data from the annotation hub ensembl sqlite tables.
Maybe this could be an extension that directly talks to ensembl-biomart, but I'm not sure if they have an exact equivalent for the list you've suggested. Maybe there's a GO term that fits here?


Xcode 8.3 IOS 10.3 with react-native 0.39.2 doesn't work

React Native version:0.39.2
Platform: IOS 10.3
Development Operating System: MACOS
Dev tools: XCODE 8.3

Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x1200d7cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11feee6f0). One of the two will be used. Which one is undefined.
2017-03-30 20:06:37.637 [info][tid:main][RCTBatchedBridge.m:72] Initializing <RCTBatchedBridge: 0x610000380000> (parent: <RCTBridge: 0x6100000af420>, executor: RCTJSCExecutor)
2017-03-30 20:06:37.638 SocialApp[20996:74712] *** Assertion failure in -RCTBatchedBridge loadSource:onProgress:, /

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!


Create new AWS account

A new AWS account needs to be created. central-infra will have to provision that.

[x] A name should be decided by the census team.
[ ] The new AWS account needs to have a poweruser role set up for developers.
[ ] A Terraform Enterprise workspace should be created and bound to a single-cell-infra directory so that we can create the new infrastructure using Terraform.

On 2023-04-20 @pablo-gar @atolopko-czi @ebezzi @maniarathi met to decide that the name for the new AWS account will be single-cell-public.
@maniarathi has scheduled a meeting with Travis Fields (Core Infra EM) on 2023-04-24 to discuss setting up the new account.

Infra issue tracked here: https://czi-tech.atlassian.net/browse/CCIE-1387


DBZ-5336 Add note about escaping dot (.) characters

https://issues.redhat.com/browse/DBZ-5336
Updated incremental snapshot documentation to note that tables that have a dot (.) in their name should be escaped with double-quotes.

Applied to 1.9 and main (=2.0)


Add additional checks for resources existing in GCE

Checks for dependency existence of any non workflow created resources
Checks for naming collisions of workflow created resources
Lookups are cached to limit the amount of API calls needed.

/gofmt
/go vet
/golint
/go test


Prow test are failing due to nodejs-8 image

Prow test are failing due to nodejs-8 image!
ci/prow/v4.2-integration-e2e-benchmark
ci/prow/v4.3-integration-e2e-benchmark
• Failure [397.878 seconds]
odo supported images e2e tests
/go/src/github.com/openshift/odo/tests/e2escenarios/e2e_images_test.go:14
  odo supported images deployment
  /go/src/github.com/openshift/odo/tests/e2escenarios/e2e_images_test.go:137
    Should be able to verify the nodejs-8-centos7 image [It]
    /go/src/github.com/openshift/odo/tests/e2escenarios/e2e_images_test.go:173
    Timeout out after � minutes
    /go/src/github.com/openshift/odo/tests/helper/helper_generic.go:122
------------------------------

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2637/pull-ci-openshift-odo-master-v4.2-integration-e2e-benchmark/684
/priority critical
/area testing
/kind failing-test

/assign

/unassign

@prietyc123 @kadel I have tested the same scenario on 4.2 cluster more than 5 times to have atleast one occurrence of failure but none of the the time it hit.
From the logs it is clear that curl command could not hit the route in the specified time limit. Not sure if this is some kind of glitch from network side or from the nodejs application side itself. @kadel Until we are not sure on the issue behaviour till then can we add flake in the title.

Yesterday I saw almost all PRs failing on this.
/kind flake
/priority high
/remove-priority critical
/remove-kind failing-test

This is getting really really annoying :-/
Another occurrence in
https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2629/pull-ci-openshift-odo-master-v4.1-integration-e2e-benchmark/754
this time for centos7-s2i-nodejs:10.x image

@amitkrout I am able to reproduce the error with nodejs-10:latest and centos7-s2i-nodejs:10.x images on 4.2 cluster.
Curl command could not be able to hit for both the images. Need to figure out the reason behind this.

@kadel I ran the test yesterday and today also in a loops but now I am not getting this error. Although I will be running it again and will update further.

The same failure first time hit in java:8 component too against 4.1 cluster - https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2755/pull-ci-openshift-odo-master-v4.1-integration-e2e-benchmark/1301#1:build-log.txt%3A885
Tried locally twice and none of the time i hit the issue. Now i am going to send a pr to get atleast few info like oc get pod, oc get dc, oc get dc -o yaml just after the component push may be helpful to debug the issue.

Ahh...
Finally got the problem. I think the issue is with watch function pointing to another context dir (Due to the race condition in parallel run).
Will send the PR today itself

Still I can observe the same issue on prow : https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2809/pull-ci-openshift-odo-master-v4.2-integration-e2e-benchmark/1857#1:build-log.txt%3A722

Still I can observe the same issue on prow : https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2809/pull-ci-openshift-odo-master-v4.2-integration-e2e-benchmark/1857#1:build-log.txt%3A722

@prietyc123 Thanks for reporting it. Will take a look.

one more occurance : https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/3041/pull-ci-openshift-odo-master-v4.3-integration-e2e/72#1:build-log.txt%3A732

hitting the same failure again https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/3041/pull-ci-openshift-odo-master-v4.2-integration-e2e/75#1:build-log.txt%3A748

Seeing a failure for this on PR #3239:

4.2 integration tests failure for centos7-s2i-nodejs image - link to logs
4.5 integration tests failure for nodejs-8-rhel7 image - link to logs.

we would remove the nodejs 8 image related tests

@amitkrout please open a separate issue for more of the scope discussed

@amitkrout please open a separate issue for more of the scope discussed

@girishramnani As discussed i have created separate issue https://github.com/openshift/odo/issues/3307.
Also we had a discussion on the supported images that nodejs8 has been deprecated, @girishramnani however i can still see these images in the supported list https://github.com/openshift/odo-init-image/blob/master/language-scripts/image-mappings.json#L5-L15 and in the odo README too - https://github.com/openshift/odo#officially-supported-languages-and-corresponding-container-images. We should remove those reference aswell, right ?

@amitkrout to do write-up explaining the problem and how to fix it.

@amitkrout to do write-up explaining the problem and how to fix it.

I have created a separate issue #3307 as per the comment https://github.com/openshift/odo/issues/2641#issuecomment-638865321. The cause of failure and fix will be discussed in #3307.
Actually i am waiting for @girishramnani comment on my last comment. Then only i can decide the next task, otherwise i will close the issue.

why do we still have nodejs-8 images?


The generated DDL install.sql should use show errors after every stored procedure.

This can solve problems like order of creation or compile warnings.

A 'show errors  ' has been added after every invocation of a script where  is listed below (from the SQL*Plus documentation):
SHOW ERR[ORS] [{FUNCTION | PROCEDURE | PACKAGE | PACKAGE BODY | TRIGGER | VIEW | TYPE | TYPE BODY | DIMENSION | JAVA CLASS} [schema.]name]
Please note that there is a difference between SQL*plus (old SQL client) and SQLcl (new SQL client). The new client by default displays the errors but the old client did not hence adding show errors is necessary there. The side effect is that in the new client the messages are shown twice.


Changing the interface language appears to be broken

Can't change on Safari; page keeps reloading
Update: and in Firefox (Mac).

I can confirm this. After trying to change the language there seems to be some kind of an infinite loop. If I try to change the language once, it doesn't stop even if I try to change the page.

After some extensive searching, I think I found the cause of this problem. It comes down to a mismatch between language code for Chinese between Django (zh-hans or zh-hant) and Signbank (cn). To switch between languages, two things are executed (if you are logged in):

the last_used_language of a user is set to the new language. This done by calling /dictionary/switch_to_language/
the page language is changed. This is done by calling /i18n/setlang with the new language code as a POST parameter.

Making Signbank use zh-han(s|t) involves (as far as I can see now):

Changing the database so that the last_used_language may hold language codes longer than 5 characters
Changing all language codes cn to zn-han(s|t) in Signbank (could be in quite a number of places).

Note that if you never touch the Chinese flag, no harm is done, in my experience.

Thanks @vanlummelhuizen. For whomever will be working on this: we use zh-hans (simplified characters) in the interface, not zh-hant (traditional).

Got this working again. I first did the two task suggested by @vanlummelhuizen ('cn' -> 'zh-hans' everywhere on the site) and allowing this longer language code in the database, but it still didn't work. After a long search, I discovered I also needed tot do this:

Allow longer language codes in switch_to_language url regex.
Rename the locale folder (with all translations) to zh_Hans (instead of zh-hans, which I tried earlier).

I think this is ready now?


Revisit support for :: operator

Suggestion for Extensions and :: operator
🔍 Search Terms
Support proposed ES Next "::" bind operator https://github.com/microsoft/TypeScript/issues/3508
bind operator
Extensions
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
I would like to revisit Support proposed ES Next "::" bind operator #3508

We'll revisit this if the proposal proceeds to stage 1.
Originally posted by @DanielRosenwasser in https://github.com/microsoft/TypeScript/issues/3508#issuecomment-456615454

There is a new iteration on the original bind operator proposal that has reached stage 1.

This is an ECMAScript (JavaScript) proposal in stage 1.
Note: The proposal could be seen as the new iteration of old bind operator proposal and I hope we could continue the further development in the original proposal repo if possible. See https://github.com/tc39/proposal-bind-operator/issues/56 .
~ https://github.com/tc39/proposal-extensions

📃 Motivating Example and 💻 Use Cases
https://github.com/tc39/proposal-extensions

I think nowadays the team follows the stance to wait for stage 3.

What @MartinJohns said -- we don't add new runtime-observable syntax unless it's at Stage 3 in the process. We continue to monitor active proposals and provide feedback where needed to help move them along.

Alright! Get it. Too bad, I would love to see some syntactic sugar for binding.


Use sequential identifiers?

I just realized that when I changed the background to orange, the identifier didn't change automatically which makes totally sense, as not every color as a name, etc. But I didn't realize of that at first... so maybe (my suggestion) it's preferable create identifiers that user doesn't associate with the background color.
Consider this example of Generator that always answers a new string:
alphabetGenerator := Generator on: [ :generator |
		| index |
		index := 1.
		[ 	Character alphabet do: [ :each |
				| next suffix |
				next := each asUppercase asString.
				suffix := index = 1
					ifTrue: [ '' ]
					ifFalse: [ index asString ].
				generator yield: next, suffix ].
			index := index + 1 ] repeat ].

The generators can be used like a read stream, via next or with next: to get a collection, like this:
alphabetGenerator next: 50. "an OrderedCollection('A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O'
'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z' 'A2' 'B2' 'C2' 'D2'
'E2' 'F2' 'G2' 'H2' 'I2' 'J2' 'K2' 'L2' 'M2' 'N2' 'O2' 'P2'
'Q2' 'R2' 'S2' 'T2' 'U2' 'V2' 'W2' 'X2')"

Bah, the identifier could be also calculated like (collectionOfAllElementsInTheSpace size + 1) asString, but personally I liked more alphabet char + number as in the generator, and had the snippet at hand so I proposed it. But any sequence is okay :p

@tinchodias that's a good idea !
Even if our creation panel is temporary I think we need to rewrite the id generation for avoid confusion. Especially during demos.
In term we can have some strategy to propose different/default id such as a prefix or a suffix, etc.
For now we will use your generator to create not confusing ids :)

https://github.com/OpenSmock/Pyramid/pull/33


CoxPHFitter alpha parameter

Good Morning,
I am attempting to run the lifelines's examples and followed the steps for installing the development repository. I received the following and wanted to ensure that this line indeed was the error.
Thank you, in advance, for your time.

Yup! I noticed that too. I'll push a fix to master now so you can get unblocked.


Switch to libclang 11 for doxygen-generation step

Description
Libclang 9 packages are no longer available on the latest Ubuntu (22.04). Libclang 11 instead must be used.
See https://packages.ubuntu.com/search?keywords=libclang&searchon=names&suite=jammy&section=all

Failures are expected until the C-SDK submodule pointer is updated (pending change - https://github.com/aws/aws-iot-device-sdk-embedded-C/pull/1844 still needs updating to use doxygen 1.9.6).
This change fixes CI failures across many of our repos due to libclang-9 unavailability on the latest ubuntu versions. Example pipeline failures can be found here, here, and here


A fix for the library.

The library asks for an exchange code when the captcha function isn't there and the reputation endpoint returns arkose or ReCaptcha.
There's 4 other commits, but they were reverted.

My comment to this PR is here: https://github.com/SzymonLisowiec/node-epicgames-client/issues/83#issuecomment-608414704
In addition this PR would broke methods like enableTwoFactor while someone would use exchangeToken.
Possibility to use exchangeCode to login has been added in 2.0.23


Use a coherent logging mechanism all over PDI

logging is close to non-existent in PDI with std::cerr used here and there.
The use of a good logging framework would allow for a better user experience and provide a solution for plugins.

let's go with it

Do these logging systems rely on a dedicated thread?
In a HPC context where we typically use exactly as many threads as core, this wouldn't be ideal. Otherwise, they seem nice!

In GitLab by @ksiero on Jun 4, 2018, 14:03
You are right. Seems that G3log is fully asynchronous ("I/O access is done in one or several background threads"), but Spdlog is not (asynchronism is only optional).
This leave us with Spdlog :)
What do you think?

I would say this is done, @ksiero what do you think?

In GitLab by @ksiero on Jul 23, 2018, 14:48
I agree :)

In GitLab by @ksiero on Jul 23, 2018, 14:48
closed


Question: Are identical files always "perfectly" deduplicated (a chunking design-related question)

I'm knee-deep in the evaluation and testing phase of backup product selection. (And ditching Crashplan after ten+ years, considering their recent string of disastrous business decisions.)
I have about 7tb of mostly photos and videos. Due to my workflow, there's a high degree of redundancy (~2x).
I was testing Duplicacy but, although excellent in many ways, I realized it's not going to work for me. Restic is next up, and I'm wondering if it suffers from the same design "flaw"?
My daily workflow - which involves moving folders and individual files around quite a bit - often breaks Duplicacy's ability to deduplicate. That's because of the way it chunks data. Chunks include parts of more than one file, even if the files are large - based on some unchangeable scanning order like alphabetical, inode, or something. As a result, it doesn't deduplicate on a strictly file-by-file basis (at least for large files such as digital photos and videos), which is what I need.
I've scoured Restic's documentation, and the github issues, but I can't find any reference that addresses this.
So, for larger files (e.g. photos), does Restic limit chunks to containing single files? More than one chunk per file is fine, but more than one file per chunk is not. (I understand the need to combine smaller files, e.g. <1mb, to reduce API charges on many backends like the one I use, Backblaze B2. That's all good.)
Thanks in advance!

You're probably looking for this: https://restic.readthedocs.io/en/v0.3.0/Design/

One blob only contains data from one file.
Multiple blobs may be combined into one pack file.
Dedupe is done at the blob level.
Also, I think this sort of question is better suited for the forum.

You're probably looking for this: https://restic.readthedocs.io/en/v0.3.0/Design/. Specifically, maybe this: https://restic.readthedocs.io/en/v0.3.0/Design/#backups-and-deduplication
I found it by googling "restic pack", but the different terminology between backup systems can make things hard to find.

@alphapapa great, thanks! I did actually read that section. Very carefully, multiple times. I still don't see how it clearly states anything about one-file-per-chunk (or more accurately, blob). But your answer is good enough for me to continue with evaluation.
Just for completeness, here's the section in question:

For creating a backup, restic scans the source directory for all files, sub-directories and other entries. The data from each file is split into variable length Blobs cut at offsets defined by a sliding window of 64 byte. The implementation uses Rabin Fingerprints for implementing this Content Defined Chunking (CDC). An irreducible polynomial is selected at random and saved in the file config when a repository is initialized, so that watermark attacks are much harder.
Files smaller than 512 KiB are not split, Blobs are of 512 KiB to 8 MiB in size. The implementation aims for 1 MiB Blob size on average.
For modified files, only modified Blobs have to be saved in a subsequent backup. This even works if bytes are inserted or removed at arbitrary positions within the file.

@cfbao perfect, thanks! And agreed, forum would have been a better place. Ironically I did do a "search for text on page" for "forum". Unfortunately I think I must have done so from restic.readthedocs.io, rather than the main site, which required more than one brain fart to acheive.

I still don't see how it clearly states anything about one-file-per-chunk (or more accurately, blob).

You might be thinking too much in terms of other backup software.
As you know, the point of deduplication is to reduce storage, because a range of data may be present in more than one file.  So I think the description "one-file-per-chunk" or "one-file-per-blob" isn't accurate, because each blob may be present in multiple files.  The point is that each unique blob is only stored once.
Your actual concern seems to be:

My daily workflow - which involves moving folders and individual files around quite a bit - often breaks Duplicacy's ability to deduplicate. That's because of the way it chunks data. Chunks include parts of more than one file, even if the files are large - based on some unchangeable scanning order like alphabetical, inode, or something.

I think that concern is addressed by the section you quoted.  Restic does the right thing.

You might be thinking too much in terms of other backup software.

@alphapapa I just didn't express my concern very well. Yes - I understand the concept of blobs (and whatever other vocabularies call the same idea), and deduplicated data. (I've actually written what I think is the first/only offline ZFS deduplication utility...uploading to github as soon as I solve one last bug...) The problem with Duplicacy, is that it combines parts of multiple files into variable-sized chunks. If the hash for that chunk (before encryption and compression) has been stored before, it only stores a reference, not the data again. That's great, if your files stay in the same place and in the same context next to each other, and also tend to not change willy-nilly. Otherwise, data deduplication can easily drop 20% or more (according to others' observations).
Many FLOSS backup products, Restic included, seem to do such "chunk/blob-based" deduplication. Which aside from Duplicity's drawback, seems like the obvious smart approach. But integrated "backup-product-and-cloud-storage" solutions, like Crashplan, seem to do it differently. (Presumably due to not worrying about charging per object and/or API call, and being able to maintain an arbitrarily large/complex database on the server.) They back up newest files first (which is not possible with Duplicacy without destroying deduplication completely), and the deduplication seems flawless (if insanely memory intensive).
Anyway, that's just background. You answered the question, thanks!

The problem with Duplicacy, is that it combines parts of multiple files into variable-sized chunks. If the hash for that chunk (before encryption and compression) has been stored before, it only stores a reference, not the data again.

Huh, that sounds odd, and restic works differently. I've also written a blog article how restic works under the hood, there are many examples at the end playing around with saving files containing duplicate data.
What may be a problem though is that restic's memory usage scales with the number of files. So if you have a large number of small files, restic may not be suited very well, but for photos (which tend to be rather large, mine are usually 8-30MiB in size per file) it should work.
Can we close this issue then? We're using the issue tracker exclusively for tracking bugs and feature requests, the forum would have been better for this :)

Yes, apologies again for trying to find the forum and not being able to. (Because I didn't realize I was on the docs site!) And thanks for the link to the blog. Good info. I have one more question related to (or at least dependent on) not chunking partial files together. I'll do that on the forum. Thanks.
BTW, while the overwhelming majority of my storage (currently 7TB and growing about 1.5x per year) is consumed by photos and videos, the overwhelming majority by count, is small files. So I'll just have to test Restic. Crashplan has similar deduping memory scaling, and can struggle. One nice bonus of Duplicacy is the simplicity of deduplication (independent of the not-so-great chunking algorithm). It stores each chunk as a file on the back-end (including cloud storage), with the content hash (in base64 probably) as the filename. Rather than keeping an in-memory db of hashes (or literally any db), it just queries the backend for the existence of a file with with the name of the current chunk hash it's working on. Yeah that involves alot of tradeoffs, but also has a beautiful simplicity.

Many FLOSS backup products, Restic included, seem to do such "chunk/blob-based" deduplication. Which aside from Duplicity's drawback, seems like the obvious smart approach. But integrated "backup-product-and-cloud-storage" solutions, like Crashplan, seem to do it differently. (Presumably due to not worrying about charging per object and/or API call, and being able to maintain an arbitrarily large/complex database on the server.) They back up newest files first (which is not possible with Duplicacy without destroying deduplication completely), and the deduplication seems flawless (if insanely memory intensive).

I can't speak for CrashPlan's internals, but my understanding is that it does essentially the same thing as Restic: file content is chunked, hashed, and de-duplicated, and unique chunks are stored in repositories, whether local or remote.  Having used CrashPlan, that's one of the things that attracted me to Restic: it's almost like a FLOSS version of CrashPlan, minus the inotify watcher (I hope it will get support for one someday, but even without it, backup performance is very good).
BTW, you might find this helpful: https://github.com/alphapapa/restic-runner

BTW, you might find this helpful: https://github.com/alphapapa/restic-runner If performance is ever a problem, it helps to split data into sets and back them up separately, and this script makes that easy and flexible.

I can't "thumbs-up" this hard enough.


Problems with metadata upload

Hi
i have been trying for a long time now to import metadata with my data.
the data is read fine, but the metadata not. I always get the following error:
metadata.txt
”[!] Samples found in the dataset, but not in the metadata: 18_5 22_5 24_5 Did you add all the necessary samples to the metadata file with correct names?”
Please find attached the metadata that was parsed using the following command, toghether with the files 18_5, 22_5, 24_5:
immdata = repLoad("/Users/anner/AnneDoc/Results_2019/TCRa_Sequencing/Piotr_sequencing /bfx1062/files_grouped_forTcR/Group2_Teff")
Could you please have a look and let me know what is wrong?
Thanks a lot !!!
annecar

Hi, thank you, we will look into it! We will have a new release at the beginning of the next week, so it should be fixed there. However, if you want to speed up things, can you please remove quotes " from the sample names, and try again?

Hi vadim! Thanks, For your quick answer. I am sorry to bother you... I will try again, though I am not aware of the quotes. Otherwise I will wait for the new release! Best Anne
On 31. Oct 2019, at 10:01, Vadim Nazarov <notifications<EMAIL_ADDRESS>wrote:
Hi, thank you, we will look into it! We will have a new release at the beginning of the next week, so it should be fixed there. However, if you want to speed up things, can you please remove quotes " from the sample names, and try again?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/immunomind/immunarch/issues/27?email_source=notifications&email_token=AIM7QPRQ3QHYUEZYR47WSXTQRKLDTA5CNFSM4JGZAOXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECW6RJA#issuecomment-548268196, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIM7QPTYDX5NOOVCJ5FSXPLQRKLDTANCNFSM4JGZAOXA.

Hi, i had tried without before and it did not work either.
thanks for your help
Anne
Anne Eugster, PhD
Head Single Cell Unit/
Scientist AG Bonifacio
Technische Universität Dresden
DFG-Center for Regenerative Therapies Dresden
Cluster of Excellence
Fetscherstr. 105
01307 Dresden
Tel: +49 (0)351-458-821 41
Fax: +49 (0)351-458-821 09
Email<EMAIL_ADDRESS>Webpage: www.crt-dresden.de

On 31. Oct 2019, at 09:43, Vadim Nazarov<EMAIL_ADDRESS>wrote:
Hi, thank you, we will look into it! We will have a new release at the beginning of the next week, so it should be fixed there. However, if you want to speed up things, can you please remove quotes " from the sample names, and try again?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, thank you, it should be fixed in todays release, we will message you here or by email when its ready!

Hi Vadim
one more question: do you plan to ingrate the Shannon diversity index in your pipeline?
That would be quite good.
Thanks!!
Anne
CRTD
Anne Eugster, PhD
Head Single Cell Unit/
Scientist AG Bonifacio
Technische Universität Dresden
DFG-Center for Regenerative Therapies Dresden
Cluster of Excellence
Fetscherstr. 105
01307 Dresden
Tel: +49 (0)351-458-821 41
Fax: +49 (0)351-458-821 09
Email<EMAIL_ADDRESS>Webpage: www.crt-dresden.de

On 4. Nov 2019, at 09:32, Vadim Nazarov<EMAIL_ADDRESS>wrote:
Hi, thank you, it should be fixed in todays release, we will message you here or by email when its ready!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Can you provide a link to it please? Wikipedia, a publication, anything you find useful.
P.S. Todays release postponed to the middle of the week, sorry for that!

Dear Vadim
for example used in this paper, there is also the original reference.
ok, i wait to see the release…
Something else:
about IMMREP20: we should talk about a workshop or tool demo, as you said you would be interested to do some. Would you like to think about this and then i could arrange a call wit the other organisers?
Thanks for all!
Anne
CRTD
Anne Eugster, PhD
Head Single Cell Unit/
Scientist AG Bonifacio
Technische Universität Dresden
DFG-Center for Regenerative Therapies Dresden
Cluster of Excellence
Fetscherstr. 105
01307 Dresden
Tel: +49 (0)351-458-821 41
Fax: +49 (0)351-458-821 09
Email<EMAIL_ADDRESS>Webpage: www.crt-dresden.de

On 4. Nov 2019, at 21:29, Vadim Nazarov<EMAIL_ADDRESS>wrote:
Can you provide a link to it please? Wikipedia, a publication, anything you find useful.
P.S. Todays release postponed to the middle of the week, sorry for that!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi @annecar
We fixed the metadata problem in 0.5.2 version.

Update your package to 0.5.2. Get the latest version from master branch.

https://github.com/immunomind/immunarch/blob/master/immunarch.tar.gz

Just apply repLoad(...) to your data folder again and it will load the metadata file.
tmp = repLoad("path/to/your/data")
tmp$meta
names(tmp$data)

Hope we solved your problem :)

@vadimnazarov Will mail you about IMMREP20 and rarefaction in one of the next days.

Thanks a lot, Eugene!
I will give it a try asap.
@Vadim: talks for getting back to me, that would be great.
Best
Anne
Anne Eugster, PhD
Scientist AG Bonifacio
CRTD - Center for Regenerative Therapies TU Dresden
Fetscherstr. 105
01307 Dresden
Tel: +49 (0)351-458-821 41
Fax: +49 (0)351-458-821 09
Email: a.eugster<EMAIL_ADDRESS>Webpage: www.crt-dresden.dehttp://www.crt-dresden.de
On 20. Nov 2019, at 13:26, Eugene Rumynskiy <notifications<EMAIL_ADDRESS>wrote:
Hi @annecarhttps://github.com/annecar
We fixed the metadata problem in 0.5.2 version.

Update your package to 0.5.2. Get the latest version from master branch.
*   https://github.com/immunomind/immunarch/blob/master/immunarch.tar.gz
Just apply repLoad(...) to your data folder again and it will load the metadata file.
tmp = repLoad("path/to/your/data")
tmp$meta
names(tmp$data)
[image]https://user-images.githubusercontent.com/20778038/69238622-7ba4d500-0ba9-11ea-89a3-4692732d883e.png
Hope we solved your problem :)

@vadimnazarovhttps://github.com/vadimnazarov Will mail you about IMMREP20 and rarefaction in one of the next days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/immunomind/immunarch/issues/27?email_source=notifications&email_token=AIM7QPR2OZCZR7HIVJ7WSOLQUUUF5A5CNFSM4JGZAOXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERZ4HQ#issuecomment-555982366, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIM7QPUUPNLSEEQMLEWXF4TQUUUF5ANCNFSM4JGZAOXA.

Dear Eugene
the Metadata import worked perfectly! Thanks again.
Another thing: i tried to install 0.5.2 via CRAN as suggested on GitHub, but i get a teh waring :  in install.packages :
package ‘immunarch’ is not available (for R version 3.6.1)
So i installed it as you suggested.
May be you would like to check back what is happening there.
Best
Anne
Anne Eugster, PhD
Scientist AG Bonifacio
CRTD - Center for Regenerative Therapies TU Dresden
Fetscherstr. 105
01307 Dresden
Tel: +49 (0)351-458-821 41
Fax: +49 (0)351-458-821 09
Email: a.eugster<EMAIL_ADDRESS>Webpage: www.crt-dresden.dehttp://www.crt-dresden.de
On 20. Nov 2019, at 13:26, Eugene Rumynskiy <notifications<EMAIL_ADDRESS>wrote:
Hi @annecarhttps://github.com/annecar
We fixed the metadata problem in 0.5.2 version.

Update your package to 0.5.2. Get the latest version from master branch.
*   https://github.com/immunomind/immunarch/blob/master/immunarch.tar.gz
Just apply repLoad(...) to your data folder again and it will load the metadata file.
tmp = repLoad("path/to/your/data")
tmp$meta
names(tmp$data)
[image]https://user-images.githubusercontent.com/20778038/69238622-7ba4d500-0ba9-11ea-89a3-4692732d883e.png
Hope we solved your problem :)

@vadimnazarovhttps://github.com/vadimnazarov Will mail you about IMMREP20 and rarefaction in one of the next days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/immunomind/immunarch/issues/27?email_source=notifications&email_token=AIM7QPR2OZCZR7HIVJ7WSOLQUUUF5A5CNFSM4JGZAOXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERZ4HQ#issuecomment-555982366, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIM7QPUUPNLSEEQMLEWXF4TQUUUF5ANCNFSM4JGZAOXA.


refactor(app, components): Incorporate two dimensional rendering of modules into defs and component

Overview
Changelog
Review requests
Risk assessment
medium, this changes the organization of a couple of widely shared components, it would be good to check that they're still sound.

Reopened after integration merge as #8355


[Chromium] Update version 107.0.5304.17 to 131.0.6778.135

I don't think this will ever be merged. Better use Quetta.


EnTT v2

Coverage increased (+0.1%) to 99.74% when pulling 30dd71a386c306bdff2a27952e4f6d45e6cb4e7e on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.

Coverage increased (+0.4%) to 100.0% when pulling c338a8fcd337832d7af9d769c8e078c201808129 on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.

Coverage increased (+0.4%) to 100.0% when pulling 6d1f7b44b2d81b0cc7ee5696174a0b5096e5dc9c on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.

Coverage increased (+0.4%) to 100.0% when pulling 825a020f3513182c06cf090aa4a645d5efa76e86 on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.

Coverage increased (+0.4%) to 100.0% when pulling 825a020f3513182c06cf090aa4a645d5efa76e86 on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.

Coverage increased (+0.4%) to 100.0% when pulling 0270483f8a01e5f6be64ef0ba7560c8b2daa0f4f on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.

Coverage increased (+0.4%) to 100.0% when pulling 6d1f7b44b2d81b0cc7ee5696174a0b5096e5dc9c on experimental into b4d18e94daff21c982ed92100c4b698f02865f39 on master.


Biblebook Tags for numbered Books not working

Describe the bug
When a numbered book like "2 Corinthians" is referenced and a Book-Tag is generated, the generated Tag looks like "#2 Corinthians". The problem here is that Obsidian will not recognize this as a Tag. It should look like "#2Corinthians".
To Reproduce
Steps to reproduce the behavior:

Activate Book Tags in the Expert Settings
Reference a numbered Book
Look for the used Tags

Expected behavior
Tags should be in the right format to be recognized by Obsidian
What Device Do You Use(please complete the following information):

Device: MacBook Pro 14 M1 Pro 2021
OS: Sonoma 14.0
Obsidian Version 1.4.16
Version 2.3.4

Thanks for raising this, I didn't notice it. Will have a look

Hi, similar issue in windows11pro: with numbered books (eg Cor, Thess) it is not possible to get the bible text, same with or without tag. Doesnot work in german bible texts (eg Luther, Menge). English works, french works, spanish works.
Regards from Germany,

Just noticed this as well. Fixed by adding .replace(/ /g, "") to:
bottom += ((_c = this.settings) == null ? void 0 : _c.bookTagging) ? ` #${this.verseReference.bookName

and
bottom += ((_d = this.settings) == null ? void 0 : _d.chapterTagging) ? ` #${this.verseReference.bookName

in get bottom()
Hope that helps.

Pull request submitted to fix this.

https://github.com/tim-hub/obsidian-bible-reference/releases/tag/2.5.2
Fixed here. Credits @abbasou


sketch visual style (portrait)

Possibilites:

Slack webinterface +  style adaption
IRC webinterface + style adaption

run snippet in chrome. and close developer tools. height adjusts after 2secs
// clean slack browser snippet
ciao = []
ciao.push($('.client_channels_list_container'))
ciao.push($('#client_header'))
ciao.push($('#footer'))

for(el of ciao){
    el.css('display','none')
}

$('#messages_container').css('height', '100%')

setTimeout(function(){
$('#msgs_scroller_div').css('height', '100%')
},2000)

i was rather thinking of something in this direction with relative sizes of fonts and message blobs, so we can use any resolution and it just adjusts.

adding your picture of the message tree as a reference:

Mmh. Ja But this is a me and others perspective.  So who would be who

https://paper.dropbox.com/doc/ECO-v4.0-dirty-57A60gxwxruZbNeBdXOJ3


Error against 5.11.46

I'm getting:
[ERROR] json.Unmarshal(uap): json: cannot unmarshal number into Go struct field .ht of type string
from a newly installed instance of unifi-poller. I installed via the provided install script:
UniFi Poller v1.5.3-418
UniFi Controller version: 5.11.46
It seems to be able to enumerate clients and sites, but not APs based on the logs.

Are you using a deb or rpm or Docker?

This is a duplicate of #118. If you let me know how you installed I can give you a package to use until a new version come out with the fix.

I installed via the install.sh script in your repo. Running ubuntu, so deb. Thank you very much! This thing is amazing and made my life 100x easier.

Try that deb linked at the bottom of #118.

That did the trick, thank you!

Sweet! I'll have an official release out with all the latest patches soon. For now that deb should be good!


Custom build failed

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.6.4

Platform and Target: CORDOVA, IOS, ANDROID

What you did
gulp custom -swiper,photobrowser
Expected Behavior
successfully built
Actual Behavior
src/js/dom7/framework7.custom.js
line 252   col 36   Strings must use singlequote.
line 252   col 77   Strings must use singlequote.
line 254   col 34   Strings must use singlequote.
line 254   col 69   Strings must use singlequote.
line 273   col 51   Strings must use singlequote.
line 278   col 50   Strings must use singlequote.
line 287   col 50   Strings must use singlequote.
line 472   col 34   Strings must use singlequote.
line 475   col 54   Strings must use singlequote.
line 478   col 50   Strings must use singlequote.
line 515   col 47   Strings must use singlequote.
line 540   col 53   Strings must use singlequote.
line 543   col 81   Strings must use singlequote.
line 550   col 51   Strings must use singlequote.
line 556   col 26   Strings must use singlequote.
line 556   col 46   Strings must use singlequote.
line 556   col 68   Strings must use singlequote.
line 556   col 88   Strings must use singlequote.
line 556   col 98   Strings must use singlequote.
line 556   col 120  Strings must use singlequote.
line 655   col 98   Expected an assignment or function call and instead saw an expression.
line 658   col 128  Expected an assignment or function call and instead saw an expression.
line 683   col 29   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 690   col 29   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 697   col 29   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 922   col 47   Strings must use singlequote.
line 1010  col 33   Strings must use singlequote.
line 1053  col 22   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1142  col 22   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1704  col 13   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1882  col 13   If a strict mode function is executed using function invocation, its 'this' value will be undefined.
line 1975  col 22   Strings must use singlequote.
line 1996  col 29   Strings must use singlequote.
line 2071  col 45   Strings must use singlequote.
line 2075  col 52   Strings must use singlequote.
line 2106  col 58   Strings must use singlequote.
line 2106  col 106  Strings must use singlequote.
line 2130  col 24   Strings must use singlequote.
line 2145  col 40   Strings must use singlequote.
line 2145  col 73   Strings must use singlequote.
line 2147  col 38   Strings must use singlequote.
line 2147  col 70   Strings must use singlequote.
line 2150  col 24   Strings must use singlequote.
line 2150  col 37   Strings must use singlequote.
line 2154  col 24   Strings must use singlequote.
line 2180  col 21   Strings must use singlequote.
line 2196  col 36   Strings must use singlequote.
line 2196  col 64   Strings must use singlequote.
line 2198  col 36   Strings must use singlequote.
line 2198  col 58   Strings must use singlequote.
line 2198  col 58   Too many errors. (19% scanned).
✖  1 error
⚠  50 warnings

Does anyone have a workaround?

I have found a workaround, just comment this line in .jslintrc
//"quotmark"     : "single",

It is not failed, just a JSHint warnings. Build is still produced in custom folder


Implement display attribute

And some refactoring to allow changes

Pull Request Test Coverage Report for Build 760

71 of 118 (60.17%)  changed or added relevant lines in 34 files are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.009%) to 41.243%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/HTML.package/CSSDisplayFormatter.class/instance/readDisplayFrom.to..st
0
1
0.0%

packages/Scamper.package/HtmlBlockLayout.class/instance/textAlign..st
0
3
0.0%

packages/Scamper.package/HtmlBlockLayout.class/instance/textAlign.st
0
3
0.0%

packages/Scamper.package/HtmlGridLayout.class/instance/textAlign..st
0
3
0.0%

packages/Scamper.package/HtmlGridLayout.class/instance/textAlign.st
0
3
0.0%

packages/Scamper.package/HtmlLayoutStyles.class/instance/width.st
0
3
0.0%

packages/Scamper.package/HtmlLayoutStyles.class/instance/height..st
0
3
0.0%

packages/Scamper.package/HtmlLayoutStyles.class/instance/width..st
0
3
0.0%

packages/Scamper.package/HtmlLayoutStyles.class/instance/paddingBottom..st
0
3
0.0%

packages/Scamper.package/HtmlLayoutStyles.class/instance/paddingLeft..st
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

packages/Scamper.package/HtmlInlineLayout.class/instance/float.st
3
0.0%

packages/Scamper.package/HtmlBlockLayout.class/instance/float.st
3
0.0%

packages/Scamper.package/HtmlBlockLayout.class/instance/padding.st
3
0.0%

Totals

Change from base Build 750:
0.009%

Covered Lines:
6831

Relevant Lines:
16563

💛  - Coveralls


How to set "object-fit: cover;" during cropping

Hi,
in my frontend blade file i want to show  a gallery with thumbnail.
in my Provider i have:
ImageLibrary::addConversionDefinition( ConversionDefinition::make() ->name('miniatura') ->label('Miniatura') ->aspectRatio('16:9') ->defaultWidth(317) ->defaultHeight(250) ->createSync() );
and i my blade:
@foreach($galleryImages as $image)         <x-image-library-image :image="$image" conversion="miniatura" />     @endforeach
I use filament plugin, simply upload image and conversion has set to database.
But in my rendered page the image crop without "aspect ration"... i like to have a "cover" fit when image was cropped.
It is possible to have this behaviour ? thanks

Hi @luigirossidev ,
You can easily do that with your own classes and CSS.
Take this code example of a project of mine for example. (Using Tailwind)
<div class="aspect-square w-[100px]">
  <x-image-library-image
	  :image="$testimonial->profilePicture"
	  conversion="image_grid_square"
	  class="object-cover object-center w-full h-full"
  />
</div>

Hope tis answers your question

Hi @luigirossidev ,
Sorry for the late answer. I've been busy and have time off right now.
Currently, it is not possible to configure this in this package. But when I have some time. I will try to implement it for you.
Currently the code will use this:
https://github.com/outer-web/image-library/blob/main/src/Models/Traits/HandlesConversions.php#L56-L62
It uses the manualCrop or the crop with position set to center. I will try to change the code so you can configure the Fit::Contain


Update color.md

Clarified what theme is, using the setting's terminology (part of "Choose your default app mode").

@GrantMeStrength : PR passed acceptance checklist; please evaluate the proposed change further.
If the change is accepted, please consider whether "App Modes" should be capitalized or lowercase. If not an approved feature name, it should probably not be capitalized. Thanks!

Is "App Modes" really a thing? I can find no reference to it.

Confirmed "App Modes" is a thing.


Jpuerto/example8 dag

This PR adds a DAG to generate @icaoberg daily report in py-hubmapbags
Deployment of this PR will require that we update our conda environments @sunset666

@sunset666 - the py-hubmapbags submodule had its requirements.txt updated

@jpuerto-psc, if that's the case we need to add those changes to the main requirements.txt, we haven't found a way to recursively install requirements from submodules, yet.


[FIX] Use SERIAL reads for CassandraSieveDAO

As said somewhere else, I am not convinced LWT are necessary in here, and likely indempotence would be better.
I propose to rather drop idemotence. WDYT?

we can remove it, we can write two queries separate if necessary.

we can remove it,

+1

we can write two queries separate if necessary.

I prefer not to, not at the data access layer. Maybe at the protocol layer if really needed.


Feature Request: JDBC Supplement Package

According to this link, the JDBC package is required by JetBrain's DataGrip IDE.
Thanks,
Jerry

Hi Jerry. PR welcome!


Load Template from Gitlab Functionality Added

Added the feature to load the template from GitLab repository.
Type of change
Please select the relevant option:

[ ] Bug fix
[X] New feature
[ ] New test
[ ] Refactoring / code cleanup
[ ] Documentation
[ ] Other (please describe here: ...)

Description
To imlement this functionality, I researched that the url needed to fetch files from gitlab is little different than github, also gitlab have one api to give the folder/dir of the template and another api to give the content of the blob/file.
The content of the file which we recieve is encoded in base64 format, which needs to be decoded in order to get the content of the file.
Also to make the things resuable , I have added a parameter, named urrlType to the existing function and based on this I am driving the code to the specific function fot gitlab and github.
Changes
Things I did for this feature:-

Added a package to decode base64 string, because gitlab gives the content of file in base64.
Added a new method to load template/dir from gitlab
Added tests to make sure everything works as expected.
Added required changes in the help description.

Hi @cophilot , I have completed all the changes along with necessary tests for this PR. Please check and let me know if you want any changes. Also as soon as you read this, please assign me with some other task / bug to contribute on.

Hi @RounakJoshi09 , sorry for the late reply, I was pretty busy...
Very nice work you did here! I added some comments with small code changes but I think they are quiet easy to fix :)
Also your changes are not passing the comment-check and the lint check in the CI pipeline. Please also fix the issues that occure when running the scripts (are also quiet easy to fix). You can find more details here.

I greatly appreciate your patience and thorough review of this PR, @cophilot. I'll certainly keep these principles of code reusability and maintainability in mind for future contributions. I've implemented all the changes you suggested. Could you please take another look at the updated code? For your reference, I've also attached the latest test result screenshot. Thank you again for your guidance and support.

I greatly appreciate your patience and thorough review of this PR, @cophilot . I'll certainly keep these principles of code reusability and maintainability in mind for future contributions. I've implemented all the changes you suggested. Could you please take another look at the updated code? For your reference, I've also attached the latest test result screenshot. Thank you again for your guidance and support.

@RounakJoshi09  You don`t have to run the test manually and show them, the pipeline is triggered automatically :)

Well done! Will merge now

Thanks for merging this @cophilot , At last I would request to change readme.md of this gitlab repository
https://gitlab.com/cophilot/templify-vault , and update all the load urls of the vault to the gitlab urls, for users convenience.

Thanks for merging this @cophilot , At last I would request to change readme.md of this gitlab repository
https://gitlab.com/cophilot/templify-vault , and update all the load urls of the vault to the gitlab urls, for users convenience.

Good Idea @RounakJoshi09 !
I will do that


Having some issues building - maybe XSD related

Hi,
Thanks for your work on this - it looks like it should be a great tool to use!
I've tried adding some of the Open Telemetry config to my mule config file but it is failing the build. It is complaining about:
Invalid content was found starting with element '{"http://www.mulesoft.org/schema/mule/opentelemetry":resource-attributes}'. One of '{"http://www.mulesoft.org/schema/mule/opentelemetry":ignore-mule-components}' is expected.
Could this be because the XSD in the file is giving a 404? I used the following, based on your example (https://github.com/avioconsulting/mule-opentelemetry-module/blob/main/examples/mule-opentelemetry-app-1/src/main/mule/mule-opentelemetry-app-1.xml):
xmlns:opentelemetry="http://www.mulesoft.org/schema/mule/opentelemetry"

http://www.mulesoft.org/schema/mule/opentelemetry http://www.mulesoft.org/schema/mule/opentelemetry/current/mule-opentelemetry.xsd

I'm not particularly familiar with Mulesoft config files to be honest, so I might be looking at the wrong thing here, but does the below look OK?
If it has any effect, I have most of those values defined in a separate properties files, and the env value is declared as a global property in this file.
The otlp_traces_enabled value is "otlp" for production and "none" for nn-production so it should only send traces from production.....or at least that was my theory here. The header is due to me trying to set this up to send the traces to Dynatrace.
	<opentelemetry:config name="OpenTelemetry_Config" doc:name="OpenTelemetry Config" doc:id="91477cb5-36f7-48ad-90b7-c339af87b408" serviceName="SERVICE_NAME">
		<opentelemetry:exporter >
			<opentelemetry:otlp-exporter collectorEndpoint="${otlp_trace_endpoint}" protocol="HTTP_PROTOBUF" >
 				<opentelemetry:headers >
					<opentelemetry:header key="Authorization" value="Api-Token ${otlp_trace_token}" />
				</opentelemetry:headers>
				<opentelemetry:config-properties >
					<opentelemetry:config-property key="otel.traces.exporter" value="${otlp_traces_enabled}" />
				</opentelemetry:config-properties>
			</opentelemetry:otlp-exporter>
		</opentelemetry:exporter>
		<opentelemetry:resource-attributes >
			<opentelemetry:attribute key="mule.env" value="${env}" />
		</opentelemetry:resource-attributes>
	</opentelemetry:config>
</mule>

Am I doing anything obviously wrong here?
Thanks!

Thanks for reaching out @StephenGoodall and sharing your thoughts. XSD declaration looks fine.
Could you try switching the sequence of exporter and resource-attributes? =
<opentelemetry:config name="OpenTelemetry_Config" doc:name="OpenTelemetry Config" doc:id="91477cb5-36f7-48ad-90b7-c339af87b408" serviceName="SERVICE_NAME">
		<opentelemetry:resource-attributes >
			<opentelemetry:attribute key="mule.env" value="${env}" />
		</opentelemetry:resource-attributes>
		<opentelemetry:exporter >
			<opentelemetry:otlp-exporter collectorEndpoint="${otlp_trace_endpoint}" protocol="HTTP_PROTOBUF" >
 				<opentelemetry:headers >
					<opentelemetry:header key="Authorization" value="Api-Token ${otlp_trace_token}" />
				</opentelemetry:headers>
				<opentelemetry:config-properties >
					<opentelemetry:config-property key="otel.traces.exporter" value="${otlp_traces_enabled}" />
				</opentelemetry:config-properties>
			</opentelemetry:otlp-exporter>
		</opentelemetry:exporter>
	</opentelemetry:config>

I know it doesn't make sense but see if that helps.

hey @manikmagar  thanks for the quick reply!
I tried that and it didn't seem to make a difference, is there a specific mule-maven version I should be using? Currently it's using 3.8.0:
[Step 1/5] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.8.0:process-classes (default-process-classes) on project *************: Execution default-process-classes of goal org.mule.tools.maven:mule-maven-plugin:3.8.0:process-classes failed: There was '1' error while parsing the given file '00.config/001.global_config.xml'.
Full list:
org.xml.sax.SAXParseException; lineNumber: 121; columnNumber: 42; cvc-complex-type.2.4.a: Invalid content was found starting with element '{"http://www.mulesoft.org/schema/mule/opentelemetry":resource-attributes}'. One of '{"http://www.mulesoft.org/schema/mule/opentelemetry":abstract-open-telemetry-exporter, "http://www.mulesoft.org/schema/mule/opentelemetry":global-abstract-open-telemetry-exporter}' is expected.

Sorry, probably should have just put that whole message in the first post.
Is the XSD definitely not an issue if the URL is getting a 404?

I commented out the resource-attribute elements:
                <!--
                <opentelemetry:resource-attributes >
			<opentelemetry:attribute key="mule.env" value="${env}" />
		</opentelemetry:resource-attributes>
                -->

And the build was able to complete - how essential is it to include the attributes? 🤔

I think the re-ordering did work - I just didn't pay enough attention and accidentally put the resource-attribute inside the <opentelemetry:exporter > element 🤦♂
I put in the following and it built successfully - thanks again for your help!
<opentelemetry:config name="OpenTelemetry_Config" doc:name="OpenTelemetry Config" doc:id="91477cb5-36f7-48ad-90b7-c339af87b408" serviceName="SERVICE_NAME">
		<opentelemetry:resource-attributes>
		    <opentelemetry:attribute key="mule.env" value="${env}" />
		</opentelemetry:resource-attributes>
		<opentelemetry:exporter >
		    <opentelemetry:otlp-exporter collectorEndpoint="${otlp_trace_endpoint}" protocol="HTTP_PROTOBUF" >
 				<opentelemetry:headers >
					<opentelemetry:header key="Authorization" value="Api-Token ${otlp_trace_token}" />
				</opentelemetry:headers>
				<opentelemetry:config-properties >
					<opentelemetry:config-property key="otel.traces.exporter" value="${otlp_traces_enabled}" />
				</opentelemetry:config-properties>
			</opentelemetry:otlp-exporter>
		</opentelemetry:exporter>
	</opentelemetry:config>

Glad it worked! Thanks for updating back here.


Add gemma-2-9b-it-SimPO and gemma-2-9b-it-DPO to AlpacaEval

Here are the results for two gemma-based models. Could you help merge the results to the leaderboard? Many thanks!
                            length_controlled_winrate  win_rate  standard_error  n_total  avg_length
gemma-2-9b-it-SimPO                             72.35     65.86            1.42      805        1833
gemma-2-9b-it-DPO                               67.66     65.36            1.40      805        2016
gpt-4o-2024-05-13                               57.46     51.33            1.47      805        1873
gpt-4-turbo-2024-04-09                          55.02     46.12            1.47      805        1802
gpt4_1106_preview                               50.00     50.00            0.00      805        2049
claude-3-opus-20240229                          40.51     29.11            1.39      805        1388
claude-3-sonnet-20240229                        34.87     25.56            1.34      805        1420
Meta-Llama-3-70B-Instruct                       34.42     33.18            1.39      805        1919
gemini-pro                                      24.38     18.18            1.16      805        1456
Mixtral-8x7B-Instruct-v0.1                      23.69     18.26            1.19      805        1465
Meta-Llama-3-8B-Instruct                        22.92     22.57            1.26      805        1899
Mistral-7B-Instruct-v0.2                        17.11     14.72            1.08      805        1676
alpaca-7b                                        5.88      2.59            0.49      805         396

Very impressive results @xiamengzhou but the leaderboard is surprisingly at the wrong path (not sure why).
You should be pushing:
src/alpaca_eval/leaderboards/data_AlpacaEval_2/weighted_alpaca_eval_gpt4_turbo_leaderboard.csv
and you should not have
src/alpaca_eval/leaderboards/weighted_alpaca_eval_gpt4_turbo_leaderboard.csv
Do you know why this is the case? Please update the PR

@YannDubs Thanks! It should be fixed now. I accidentally ran the final verification experiments on a cloned original repository instead of the forked repository. To correct this, I manually copied all the files over to the forked repository, which is likely why the issue occurred. Let me know if there are still any problems!

thanks @xiamengzhou but it seems that your files are removing some models on the leaderboard (maybe due to merge conflict). Please add back those rows

@YannDubs  Fixed!


add pending documentation file

Adds to the repo all the pending documentation we have so far (including what I just wrote for the recent new features)

@dwightguth in the cases where it constitutes a new Kompile pass, we should include (in the manual) examples of before/after for developers reading the manual.
Another nit is that we should move all the already existing features to documentation.md instead of pending. Pending should be for features that we are implementing or have PRs for, but don't exist yet (in my mind).

I mean, the idea I had behind pending was that it was features that have not been integrated into the body of the real documentation yet. Which is at this point all of them.

I guess I was thinking of PRs into "pending" as "Ready for feature design review", and the actual "documentation.md" being "whatever documentation we have available for it right now, complete or not". So my thoughts would be, if it's actually a feature you can use in K right now, it belongs in "documentation.md", however bad the documentation is, and if it's a proposed feature that doesn't have an implementation yet but has approval, it belongs in pending.

@dwightguth is it possible to have a function declared as withConfig in the program that I write? Or can they only show up on the RHS of rules?

@ehildenb as the configuration does not yet exist when the initial program is constructed, there is no value to pass as the configuration parameter at that time. I believe this should be disallowed; at the very least, users should not expect it to work.

I also think it should be disallowed, I guess I was just wondering if the current implementation actually disallows it.


Update to new fsf-api format with arrays of SPDX identifiers

Catch the tooling here up with wking/fsf-api#9.  This isn't a high priority, because you vendor the full JSON.  But you'll need it if you want the list to mark GPL-3.0-only and similar as FSF libre.

Moved the issue to LicenseListPublisher: https://github.com/spdx/LicenseListPublisher/issues/8


Scam Thread Submission

Duplicate Submissions

[X] Yes, I checked that the name is not currently in the list
[X] I read the wiki explaining each different categories and examples before submitting

(Required) Spam Comment Direct Link
https://www.youtube.com/channel/UCfaJNgrumOdK3uQtw4gDxtA/community?lc=Ugz3hUZMYz0mD3c2Oq14AaABAg.9Y3Yix-PSMA9Y3ZKW_IbI6&lb=UgkxWhafcjHlbSK1aGewoKnXyXLejLbl201R
(Optional) Screenshot of comments referencing the scammer names

(Required) List of the scammer names
mr steve miley

added