CA Certificates core entity documentations

@kikito Please take a look at the changes to autodoc-admin-api/run.lua in https://github.com/Kong/docs.konghq.com/pull/1421/commits/0f014c6ddbde27275cfd174b712308fb4ed5d331. It seems that the original code incorrectly used the field name as entity name and won't work with fields like:
{ client_certificate = { type = "foreign", reference = "certificates" }, },

as this will cause it to look for core entity client_certificates instead of certificates. Which causes the following error:
ERROR: autodoc-admin-api/run.lua:726: attempt to index local 'feinfo' (a nil value)
stack traceback:
	autodoc-admin-api/run.lua:837: in function 'write_admin_api'
	autodoc-admin-api/run.lua:900: in function 'main'
	autodoc-admin-api/run.lua:922: in function 'file_gen'
	init_worker_by_lua:45: in function <init_worker_by_lua:43>
	[C]: in function 'xpcall'
	init_worker_by_lua:52: in function <init_worker_by_lua:50>

@kikito The placeholders are for my changes to render properly. Other people can add their docs later (it will only be in the release branch for now) but no reason to block unrelated docs from being merged because of those.

Please hold merging this PR as we are reworking the infra for the autogenerated docs. Thank you!

No longer needed thanks to the autogen-doc!


accept storage migration ADR

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Does this PR require documentation?

As this does not change any dependencies, I am ignoring the failing (due to timeout) fossa-scan.


Basic console login page design in Figma

Console-based login page need a design made in Figma.
The design should be simple, focusing on functionality rather than aesthetics.
It needs to include fields for username or email and password, plus a login button.
Please ensure the design is user-friendly.

Please add the correct labels

' ui/ux ' seem correct label for this issue.

This issue has been postponed to a later date


Typography for Input fields

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

Are the prettier failures something that you can/should address, @sudhanshutech?

Are the prettier failures something that you can/should address, @sudhanshutech?

yes i will take care, its due to lint in a readme file though which is not harm currently


Move Zygote.jl to an extension

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 10 (90.0%)  changed or added relevant lines in 5 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+1.0%) to 90.553%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/EvaluateEquationDerivative.jl
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/precompile.jl
5
89.57%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
1016

Relevant Lines:
1122

💛  - Coveralls


Config.unobserve is deprecated.

Config::unobserve no longer does anything. Call .dispose() on the object returned by Config::observe instead.
Config.unobserve (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:1060:19)
LinterPep8.destroy (/Users/yukihiro/.atom/packages/linter-pep8/lib/linter-pep8.coffee:28:16)
LinterView.remove (/Users/yukihiro/.atom/packages/linter/lib/linter-view.coffee:252:6)
<unknown> (/Users/yukihiro/.atom/packages/linter/lib/linter-view.coffee:124:7)

Also in  atom -v 0.198.0 and linter-pep8 -v 0.1.0


1.0.0-alpha.22 info error

when this command is issued:  helium_gateway info
this is returned:
Error: Service(Service(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 146, kind: ConnectionRefused, message: "Connection refused" })))))
does anyone know how to fix this from the ssh command line?
i found some commands in the code - "start_service", "enable", "disable","reload" but those don't appear to be useful when used after "helium_gateway".

You need to run helium_gateway start_service so that the service begins. When the service is running,
you can run helium_gateway info.

@lthiery thank you.  i really wish that would have worked, but it didn't.
instead of starting the service, this is returned:
error: Found argument 'start_service' which wasn't expected, or isn't valid in this context
some background - i am using the dragino lps8 and recently upgraded to firmware version lgw-5.4.1644990565.  i believe that during that upgrade the helium_gateway version updated from alpha.21 (which worked) to alpha.22 (not currently working).  my suspicion is that something is wrong with the dragino file(s) and / or the dragino GUI.
please note that i am not looking for dragino help - i am just looking for gateway-rs help.
that is why i am trying to bypass the dragino GUI and control the unit from putty / ssh.
i tried to downgrade the helium_gateway version from alpha.22 to alpha.21 but it wouldn't let me.
i also tried to re-install alpha.22 with this command:
opkg install /tmp/helium-gateway-v1.0.0-alpha.22-dragino.ipk
which returned:
Package helium_gateway (1.0.0-alpha.22) installed in root is up to date.
nothing noticeably changed.
thanks for your time.

same with lig16 since few hours....

I was wrong about "start_service". It's just helium_gateway server. Also, you can access the help menu by using --help to see valid commands and explanations of how specific commands work.
eg:
helium_gateway --help
helium_gateway server --help

You can ignore those JSON parsing errors but I'll reach out to Dragino about that anyway.
INFO new packet forwarder client: A8:40:41:21:D7:BC:41:50, <IP_ADDRESS>:45093, module: gateway is not out of place. A GWMP client is only considered "connected" once it sends a PULL_DATA and it's received by the Host. What you see above that frame is PUSH_DATA status frame which was sent before the PULL_DATA frame which creations the "connection". The PULL_DATA frames are usually sent every N seconds, so it's entirely possible and not really worrisome.
This basically looks good to me. If you open another terminal window, you can interact with the server instance.

I notice those JSON parsing errors, which seem the sensor node uplink format error instead of the gateway parsing issue.  could let me know what your sensor node is?

The info you sent is log from gateway-rs. Can you also show the log for LPS8 packet_forwarder, the most properly reason is the gateway-rs parse the info from packet_frowarder wrongly. Below is what we can see from packet_forwarder of LPS8:
Looks ok.
PKTUP~ [server] JSON: {"stat":{"time":"2022-03-02 08:41:28 UTC","rxnb":5,"rxok":2,"rxfw":2,"ackr":0.0,"dwnb":0,"txnb":0,"pfrm":"SX1308","mail":"dragino-1e9674@dragino.com","desc":"Dragino LoRaWAN Gateway"}}
Wed Mar  2 08:41:28 2022 daemon.info fwd[14617]: PKTUP~ [server2] JSON: {"stat":{"time":"2022-03-02 08:41:28 UTC","rxnb":5,"rxok":2,"rxfw":2,"ackr":0.0,"dwnb":0,"txnb":0,"pfrm":"SX1308","mail":"dragino-1e9674@dragino.com","desc":"Dragino LoRaWAN Gateway"}}

@dragino This is not what is received over UDP.
 Is your serializer behaving properly?

Note that this release https://github.com/helium/gateway-rs/releases/tag/v1.0.0-alpha.23 should fix the issue

thanks. It's working now. Only to press download and install and that's it.
Marc Berthelot
Le jeu. 3 mars 2022 à 08:26, Marc Nijdam @.***> a
écrit :

Note that this release
https://github.com/helium/gateway-rs/releases/tag/v1.0.0-alpha.23 should
fix the issue
—
Reply to this email directly, view it on GitHub
https://github.com/helium/gateway-rs/issues/202#issuecomment-1058154923,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARJXVEL3GRFRVAJIO7HAQB3U6DK2HANCNFSM5PPVZX2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>


Invite me to the GitHub Community Organization

Name
Ragul Sankar
Discord Username (if applicable)
iam_ragul#2620
Twiiter username (if applicable)
ragul_sankar
Additional Context
I got to know about this from twitter and I would like yo improve my leadership and communication skills

Please wait for a day as GitHub has restricted us from sending invites, as we have send 50+ invites today itself, sorry for the inconvenience. In the meanwhile, you can create your journey in Journey Book

-- Hey Rahul , we have sent you an invitation
-- kindly check it out
-- We are happy to onboard you in our community 😄


Added support for overriding the RepresentationMode in Lua

Wasn't previously possible, which caused some performance issues on my server as my lua scripts call that method pretty frequently and the default mode was Detailed, so it was pretty resource intensive.
Wasn't exactly sure if adding a new property to itemsImpl was a good choice as that changes the method signature, so perhaps it could be breaking to other plugins depening on this one?

Hey, thanks for contribution. I will update it to make it work properly without breaking something. Optional argument is nice idea


Update OpenXR

OPS Build status updates of commit 55d8e85:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/images/mixed-reality-openxr-developer-preview.png
:white_check_mark:Succeeded
View

mixed-reality-docs/openxr.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Account switching for Android TV

As the Android TV version will most likely be used by multiple users, would there be a way to switch (trakt) accounts in order to track your own progress and not mess up someone else's?

As far as I'm aware, Android TV has user profiles, so you can set it up like that. I do see the potential problem, but it's not something that I'll be adding in the near future at least.


Error with custom installation on windows

Describe the bug
Selecting the custom options in create-scss-cli does
not delete selected directory and does not update "@import" in main.scss
To Reproduce
see file:
message.txt
Error message
(node:8748) UnhandledPromiseRejectionWarning: TypeError: fs.rm is not a function
    at C:\Users\pmore\AppData\Roaming\npm\node_modules\create-scss-cli\src\index.js:70:16
    at Array.forEach (<anonymous>)
    at copyFiles (C:\Users\pmore\AppData\Roaming\npm\node_modules\create-scss-cli\src\index.js:69:19)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:8748) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8748) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Expected behavior
Selected files should be removed or emptied
Additional context

OS: Windows 10 Home 10.0.19043 Build 19043
Node: ?
Terminal:  PowerShell

Node.js related
The bug is related to Node.js versions under 14.0.0.
I was able to reproduce this issue when using Node.js 11, 12, or 13.
Solution
Install the latest version of node.js or the recommended version (14.17.6)
nodejs.org


Fix for table panic

Description
This is an initial fix for issue #470.
After walking through one of the cases that caused the panic in a debugger, I found that it was due to a miscalculation (it seems like a rounding issue) in the column widths from the cassowary solver. I don't fully understand the parameters for this solver and as such I didn't feel comfortable trying to implement a fix into the get_column_widths function. Changing the solver also seems to have potential knock-on effects in how all tables are rendered, which sounds like a disruptive change.
So, I tried to make a minimal fix by simply checking for overflow in the set_style function and clamping the value if there would have been an overflow.
I'm not exactly sure if this is a completely robust solution, but it seems to work for the two test cases we have so far.
@fdehau would love your thoughts on how robust of a fix this is!
Testing guidelines
I added the two example tables that were causing a panic from the issue in widgets_table_columns_dont_panic test function. All this test does is render the tables and ensures a panic doesn't occur. It doesn't verify the output of the table.
Checklist

[X] I have read the contributing guidelines.
[X] I have added relevant tests.
[ ] I have documented all new additions.

So after a little more testing:
for i in 10..1000 {
    test_case(&mut state, table2.clone(), i);
}

I found that with table widths below 100, table2 from the tests still panics sometimes. Not sure why, but this fix is definitely not completely robust. It does work above 100 though, and table1 still does not panic.

I'll test this branch as soon as I find some time

@fdehau WDYT? it would be nice to have this in a patch release

Thanks for looking into it and sorry for the late response. I'm not very fond of the proposed fix because it can potentially hide a lot of bugs which will be harder to track and fix. Thanks to your provided regression test, I was able to identify an issue in the column widths computation. I've open this PR which reuses existing code and should fix the issue.

Thanks @fdehau! Glad there was a better solution :100:


how to rotate 360 degrees animator

gitf how to rotate 360 degrees around the central z-axis

https://github.com/google/filament/issues/7324


Delay only once - singleton jobs.

We use delayed job to continuously index in the background, for example with ElasticSearch.
That adds up quickly. We'd like to queue a job, and not queue the same one again as long as there's already a queued one. We use MongoDB, so this is even possible atomically with an upsert, however this is rarely needed since delayed jobs in our case get queued after something is saved, so if we see something still queued, it will for sure pickup the update we just made.
Any suggestions regarding an implementation of something like this? At the least we want to override .delay to check for an existing job.
where(handler: options[:payload_object].to_yaml).any?

Use a queue and check to see if any jobs exists in that queue before creating the job.

I am thinking of implementing this as a proper delayed_job extension. Maybe Foobar.delay.once.somethibng?

@betamatt You just closed this? Am I not posting this in the right place? I just want a place to discuss this.

Discussions usually belong on the mailing list. http://groups.google.com/group/delayed_job
You could also submit a PR to center discussion around.

Thanks, I opened https://github.com/collectiveidea/delayed_job/pull/801/files with some working code.


Refactor: Nested logistic address DTOs

Reduce deeply-nested structures using JsonUnwrapped in LogisticAddress DTOs with interfaces for commonly used fields.
Introduced interfaces IBasePostalAddressDto and IBasePhysicalPostalAddressDto as replacement.
Solves #407
Based on https://github.com/eclipse-tractusx/bpdm/pull/398, so this must be merged first

I made an alternative version where I added an extra interface for each class in the hierarchy.
This makes it extra clear what fields are added to each subclass. The OpenAPI field annotations show only up in the interfaces. The actual classes only define the constructor with the exact order and maybe default parameters.
I'm curious what solution you prefer, I can still drop the second commit.

For me it makes no sense to create a description object for descriptions that are only used once in an annotation like PostalAddressDescription.administrativeAreaLevel2
interface IBasePhysicalPostalAddressDto : IBasePostalAddressDto {
@get:Schema(description = PostalAddressDescription.administrativeAreaLevel2)
val administrativeAreaLevel2: String?


Added new 404 page layout

@matteobruni I have successfully added new 404 page layout. Kindly accept the Pull Request.
It was nice working in your repo.
Thank You.

The PR is actually invalid. Please read all the instructions here: https://github.com/tsparticles/404-templates/issues/18
I'll close this, please submit a new one following the instructions.


Add test base classes

Closes #<ISSUE_NUMBER>

This pull request introduces several new testing utilities and updates package references in the project. The most important changes include adding new package references, copying testing utilities from other repositories, and implementing new Xunit attributes and discoverers.
Package Updates:

Directory.Packages.props: Added new package versions for JsonSchema.Net, Microsoft.Extensions.Diagnostics.HealthChecks, Microsoft.Extensions.Hosting, and OpenTelemetry.Exporter.InMemory. [1] [2]
tests/Aspire.CommunityToolkit.Testing/Aspire.CommunityToolkit.Testing.csproj: Added package references for JsonSchema.Net, Microsoft.Extensions.Diagnostics.HealthChecks, Microsoft.Extensions.Hosting, and OpenTelemetry.Extensions.Hosting.

Testing Utilities:

tests/Aspire.CommunityToolkit.Testing/ActivityNotifier.cs: Added ActivityNotifier class, an OpenTelemetry processor to notify callers when an activity is processed.
tests/Aspire.CommunityToolkit.Testing/TestLoggerFactory.cs: Added TestLoggerFactory class for creating loggers in tests.

Xunit Attributes and Discoverers:

tests/Aspire.CommunityToolkit.Testing/Xunit/ConditionalFactAttribute.cs: Added ConditionalFactAttribute class for conditionally running tests.
tests/Aspire.CommunityToolkit.Testing/Xunit/ConditionalFactDiscoverer.cs: Added ConditionalFactDiscoverer class to discover conditional facts.
tests/Aspire.CommunityToolkit.Testing/Xunit/ConditionalTheoryAttribute.cs: Added ConditionalTheoryAttribute class for conditionally running theories.
tests/Aspire.CommunityToolkit.Testing/Xunit/ConditionalTheoryDiscoverer.cs: Added ConditionalTheoryDiscoverer class to discover conditional theories.
tests/Aspire.CommunityToolkit.Testing/Xunit/ITestCondition.cs: Added ITestCondition interface for defining test conditions.
tests/Aspire.CommunityToolkit.Testing/Xunit/OSSkipConditionAttribute.cs: Added OSSkipConditionAttribute class to skip tests based on the operating system.
tests/Aspire.CommunityToolkit.Testing/Xunit/OperatingSystems.cs: Added OperatingSystems enum to represent different operating systems.
tests/Aspire.CommunityToolkit.Testing/Xunit/SkippedTestCase.cs: Added SkippedTestCase class to represent skipped test cases.
tests/Aspire.CommunityToolkit.Testing/Xunit/TestMethodExtensions.cs: Added TestMethodExtensions class with extension methods for test methods.

PR Checklist

[ ] Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
[ ] Based off latest main branch of toolkit
[ ] PR doesn't include merge commits (always rebase on top of our main, if needed)
[ ] New integration

[ ] Docs are written
[ ] Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)

[ ] Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Contains NO breaking changes
[ ] Every new API (including internal ones) has full XML docs
[ ] Code follows all style conventions

Other information

I believe they come from https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json
We can probably hack around some of this stuff by implementing it ourselves or using different types, but it's a worthwhile conversation to have with the Aspire team about more access to test helpers

I've done some digging and those libraries are from https://github.com/dotnet/arcade
Given what they are and their intended use, we should not take a dependency on them as it ties the Community Toolkit to .NET engineering, which will be a problem from a governance perspective.

@davidfowl, We need some helper classes in Aspire.Components.Common.Tests to keep community toolkit integration aligned to aspire.
Is it possible to have a Nuget package for this?

I merge this to unblock #66. If any changes are needed #66 will take care of it.


This is more of a question...

Is there no love in Brazil? There's a broken heart in the footer of the GitHub IO page.

Ah, the broken heart in the footer probably is my. Well, Brazil is a peculiar country. It's a complicated relation. In the moment, I like more the Germany* :de: :flushed:
* yes, it's a 7x1 reference


Grafana instance added

From now on, grafana stats will be logged from the performance server. All user stats + cli stats.
This will help us with an more clear mind decide whats going good and bad faster.

Need to add a few more commits
Reopening when done.


fix: matches more than one schema ApiAtlasFTSAnalyzers

Description
HELP-46593 Atlas CLI erroring with "Error: data matches more than one schema in oneOf(FTSAnalyzersTokenizer)"
Added transformations workaround for nested OpenAPI clusters search object compatibility issue that was found following the SDK migration
Type of change:

[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 not work as expected)
[ ] This change requires a documentation update

Required Checklist:

[x] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Closing as duplicate


Crashing onLongPress for Day

Library will crash app if user attempts long press on day.
Looks like the Calendar component is passing a onLongPress function into Day, but this.longPress is no defined anywhere in Calendar.js

I see there is a PR for fixing this.
https://github.com/christopherdro/react-native-calendar/pull/134

https://github.com/christopherdro/react-native-calendar/pull/158


Stores reorganization

Some stores files might be trying to handle too much in each file and sometimes makes it unclear as to what the purpose of the file is. Consider maybe separating the logic into even more specialized files.

Addressed by #1179. Closing this, but we can reopen if we find that it's not enough.


WIP: Temporary solution for race between plugin_runner and device-aggregator

Setup
4 servers, aka 2 DC. first pair holds data(active-active), second - metadata(active-passive)
1 IML server.
Network between Lustre client and servers is IPoIB via simple switch.
Everything goes in monitored mode.
Problem
Sometimes, in logs seen message:
[2019-07-04 08:44:49,214: ERROR/plugin_runner] iml-device-aggregator is not providing expected data, ensure iml-device-scanner package is installed and relevant services are running on storage servers (No JSON object could be decoded)

Usually it happens:

On restart/reboot of IML server
Randomly

The reason seems to be a race condition between plugin_runner and device-aggregator-daemon.
First of all, there's no dependency declared between these services in systemd unit, and connection goes via HTTP.
Second, since connection proxies by nginx, it returns 502 if service didn't started yet.
Third, if connection from agent is initiated, it doesn't mean device information has already arrive in parallel. Thus, it is useful to wait for the incoming data.
Signed-off-by: Alex Talker<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins: trigger a test run

Jenkins: trigger a test run

Jenkins: trigger a test run

Jenkins: trigger a test run

Jenkins: trigger a test run

Jenkins: trigger a test run

Refreshed on latest master

Jenkins: trigger a test run

Jenkins: trigger a test run


Mask R-CNN error when changing aspect_ratios

🐛 Describe the bug
I'm trying to make the maskrcnn_resnet50_fpn work on a custom simple dataset with 3 kind of objects. My learning works fine when using 3 aspect_ratios. When I'm trying to use more, I get errors. So, it's fine with :
from torchvision.models.detection import maskrcnn_resnet50_fpn
from torchvision.models.detection.rpn import AnchorGenerator
d_mask_model = maskrcnn_resnet50_fpn(num_classes = 3).to('cuda')
d_mask_model.rpn.anchor_generator = AnchorGenerator(
                                sizes = ((8,), (16,), (32,), (64,), (128,)),
                                aspect_ratios = tuple([(0.1, 1.0, 10.0) for i in range (5)]))

I get a RuntimeError: stack expects each tensor to be equal size, but got [1918584, 1] at entry 0 and [1918584, 0] at entry 1, when changing the aspect_ratios to :
                                aspect_ratios = tuple([(0.1, 0.2, 1.0, 10.0) for i in range (5)]))

And a RuntimeError: shape '[2398230, -1]' is invalid for input of size 5755752, with :
                                aspect_ratios = tuple([(0.1, 0.2, 1.0, 5.0, 10.0) for i in range (5)]))

As it works with 3 aspect ratios (I changed the values and it's fine), but not with more, I suspected the problem may be with the implemented RPN. Please tell me if it can come from my dataset or my learning loop definition.
Thanks for any help !
Versions
PyTorch version: 2.1.0a0+fe05266
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.24.1
Libc version: glibc-2.31
Python version: 3.8.10 (default, Mar 13 2023, 10:26:41)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-72-generic-x86_64-with-glibc2.29
Is CUDA available: True
CUDA runtime version: 12.1.66
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3060 Ti
Nvidia driver version: 530.41.03
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              2
Core(s) per socket:              8
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           167
Model name:                      11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz
Stepping:                        1
CPU MHz:                         2500.000
CPU max MHz:                     4900.0000
CPU min MHz:                     800.0000
BogoMIPS:                        4992.00
Virtualization:                  VT-x
L1d cache:                       384 KiB
L1i cache:                       256 KiB
L2 cache:                        4 MiB
L3 cache:                        16 MiB
NUMA node0 CPU(s):               0-15
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Retbleed:          Mitigation; Enhanced IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap avx512ifma clflushopt intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm md_clear flush_l1d arch_capabilities
Versions of relevant libraries:
[pip3] numpy==1.22.2
[pip3] pytorch-quantization==2.1.2
[pip3] torch==2.1.0a0+fe05266
[pip3] torch-tensorrt==1.4.0.dev0
[pip3] torchsummary==1.5.1
[pip3] torchtext==0.13.0a0+fae8e8c
[pip3] torchvision==0.15.0a0
[pip3] triton==2.0.0
[conda] Could not collect

I haven't looked at it in details, but try passing your custom rpn to the model builder instead of setting it as an attribute after instanciation. It's possible that some other components of the model get instanciated under the hood with the default rpn, which is incompatible with the one you set later. Try something like this (adapt it to MaskRCNN):
https://github.com/pytorch/vision/blob/abc40ef241e309bff598222b1accff8d0eb93e8d/torchvision/models/detection/faster_rcnn.py#L155-L158

Yay, thanks a lot, just changed the few precedent lines to :
from torchvision.models.detection import maskrcnn_resnet50_fpn
from torchvision.models.detection.rpn import AnchorGenerator
anchor_generator = AnchorGenerator(
                                   sizes = ((8,), (16,), (32,), (64,), (128,)),
                                   aspect_ratios = tuple([(0.1, 0.2, 0.5, 1.0, 2.0, 5.0, 10.0) for i in range (5)]))

d_mask_model = maskrcnn_resnet50_fpn(num_classes = 3,
                                     rpn_anchor_generator = anchor_generator).to('cuda')

and my learning loop starts normally. I'll keep in mind that possible further incompatibilities and set the other Mask R-CNN components using the model builder from now on ! Thanks a lot for the help ! :+1:


Why product Dashboard not working in IE11?

Product Dashboard not working in IE11.But working fine in chrome and firefox.

@dhivaharNewt Can you add a screenshot of the problem and also a screenshot of the error in the developer tools window in IE ?

@satishc1 . Please find the screenshot for the chrome and IE11. In Ie11 nothing has been displayed. I am getting uncaught Dixie error in the console.
Screenshot for IE11

Screenshot for Chrome

@satishc1 , Any update on this. Do u have any idea how to resolve this?

@dhivaharNewt  - work in progress.

Hi @nireeshT , has the work been completed? any update on this progress?

@nireeshT -Any update on this?

Hi @nireeshT , This issue has been resolved? Any update on this?


Drop per timeline pageserver_storage_operations_seconds histograms and create a global one

Related to: https://github.com/neondatabase/neon/issues/2848
pageserver_storage_operations_seconds is the most expensive metric we have, as there are a lot of tenants/timelines and the histogram had 42 buckets. These are quite sparse too, so instead of having a histogram per timeline, create a new histogram pageserver_storage_operations_seconds_global without tenant and timeline dimensions and replace pageserver_storage_operations_seconds with sum and counter.
The _total suffix seems to be enforced by the crate so can't keep the old naming. This could be worked around by keeping the histogram, but with just one bucket (perhaps very large or very small value).

I'll see if this can be rebased.

@problame, @SomeoneToIgnore I think this is ready to be peeked again. Quick delta if you peeked this earlier:

gc is now recorded from timeline, because the metric is still (op, tenant, timeline) labeled except for the global one
comments added
confusing lines removed

see resolved monologues

record only success cases

unsure if @lassizci meant this to change, but I think it makes sense; errors are probably noops anyway which would just create the impression that most of the time we are really fast
went through all call sites of `start_timer

I will next audit that those per timeline metrics are in fact removed, wasn't expecting a test pass.

Yeah I think the regression test pass is valid, looked through:

test_metrics_normal_work
test_pageserver_metrics_removed_after_detach

Thanks @problame ...

The cherry on top would be to replace the &'static str that identify the op by an enum.

Now that you mentioned it I thought we had one already. Can hack it in of course.

Oh and now that I look at it closely, do we want to take the opportunity to replace the spaces with _?

Does grafana not support utf-8 or is this some prometheus naming thing? But yeah, I guess fine for me. All dashboards using these should break.


otel-cli exec does not report a span when SIGINT is passed

$ otel-cli exec -- sleep 100
^C

Currently, otel-cli handles this by dying.
The scenario I'm observing this is that I have a file-watcher program that runs make build whenever any relevant files change. I've instrumented make build to do a span, and make watch also. The only way to exit the filewatcher is to <Ctrl-C> it from the terminal, but this also kills otel-cli, so the make builds are reported with an empty/missing parent span.

Good catch, and someone else asked before. It makes sense to add a flag to otel-cli like --ignore-signals or --ignore-sigint perhaps. Might be cool to have SIGHUP send a span event. I'll keep this open and work on it as a feature/bugfix for the next release.

0.4.1 is released and the issue should be solved. Please reopen if the issue persists.


code 503 and message is empty but return a html in body rather then JSON

I got a 503 error when fetch delta, this debug message like below:
url=https://api.onedrive.com/v1.0/drives('me')/items('9005F332ACBDB318!101')/view.delta?$top=200&$select=id%2cname%2csize%2ccreatedDateTime%2clastModifiedDateTime%2ccTag%2ceTag%2cparentReference%2cfile%2cfolder%2cdeleted&token=aTE09NjM2NDAyOTU4MTM2NDA7SUQ9OTAwNUYzMzJBQ0JEQjMxOCExMDE7TFI9NjM2NDAzMDkzNTU2Mzc7RVA9MTY7U0k9ODE7U0c9MTtTTz0yO1BJPTM ,code=503 , msg= , body=OneDriveOur services aren't available right nowWe're working to restore all services as soon as possible. Please check back soon.Ref A: 7DF50CEFF7D94A2B858069FC1393CDB0 Ref B: TYO01EDGE0214 Ref C: 2017-09-06T15:50:37Z
The problem is
1.Message is empty in top level,
2.Inner error should be JSON format are wrapped in response body, but if return a HTML from webservice, client parser can't expectd a HTML format
3.Why return a HTML format rather then JSON? how to handle this ?

Thanks @shinjikao. We are tracking this issue with the above issue so I'm going to close this one to avoid duplication. Please feel free to comment on the other issue if you have anything else do add.


Force user_type to UPN when username is a UPN

When ordering a remote service the userid passed to the remote is taken from the database's
userid field, which can be either a UPN or a full DN. If it is a UPN and the authentication
configuration specifies samaccountname for User Type the domain prefix is erroneously
prepended to the username causing group lookup to fail.
This PR plugs this edge case by not prepending the domain prefix to the username if the username is already in UPN format.
Testing Done
In addition to the updated spec tests included in this PR I configured a service on a remote region on a live appliance and successfully ordered it from the global region while logged in as a:

AD samaccount User Type user
AD UPN User Type user
OpenLdap Distinguished Name (CN=

Links

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1594641

Steps for Testing/QA

Integrate AD to authenticate Global and subordinate region on CFME appliance
with the User Type of samaccountname
Configure a service on the subordinate region
Login on Global region via AD user and order a service.

@miq-bot add_label bug
@miq-bot add_label authentication

@miq-bot assign @abellotti

@abellotti Please review.

@miq-bot add_label blocker

@jvlcek if this can be backported, can you add the gaprindashvili/yes label

@miq-bot add_label gaprindashvili/yes

@gtanzillo Please take a look.

@abellotti Tests against AD with user type DN were successful! Wee HA!

LGTM!! Thanks @jvlcek for the additional testing.  👍

@jvlcek context '#get_user_object' does't exist in spec file for Gaprindashvili. What do we want do do for the new test added in that context in this PR? (it "searches for group membership when username is upn regardless of user_type" do

@simaishi
I am not sure why this PR lists a new test in contect #get_user_object
it "searches for group membership when username is upn regardless of user_type" do
Was added to the spec as part of the different commit:
https://github.com/ManageIQ/manageiq/commit/f290134d3ae776c45e3945e4d24f9ce2052ad341
Can you just add the  `context "#fqusername" ?
JoeV

@jvlcek Added the fqusername only.


SLOW

The service is unusable right now, is anything happening? I had to disable it to be able to write this

nevermind, it seems that it was on my end. ISP said it has problems.


How to use with typescript?

How do I use 'import' with typescript?

@matteoturini
just tried this one (might not be the best solution)
// @ts-ignore
import srcsetWebp from '../example.jpg?w=500;700;900;1200&webp&srcset'

@matteoturini
just tried this one (might not be the best solution)
// @ts-ignore
import srcsetWebp from '../example.jpg?w=500;700;900;1200&webp&srcset'

No typing. This is not a fix. Maybe make a flag so that you have to do something like this:
import example from '../example.jpg'

Config:
images: {
  'example.jpg': 'w=500;700;900;1200&webp&srcset'
}

You can also create a file, eg. typings.d.ts in your project with:
declare module "*.jpg?w=500;700;900;1200&webp&srcset"

Not ideal if you have a lot of different formats, but...

Yeah, there are a lot of less than ideal solutions to this problem, not much we can do from our side. The real fix is to lobby the typescript guys to allow multiple * in module declarations or allow search params to occur in any order.
But until then, presets will ease this a bit.

Yeah, there are a lot of less than ideal solutions to this problem, not much we can do from our side. The real fix is to lobby the typescript guys to allow multiple * in module declarations or allow search params to occur in any order. But until then, presets will ease this a bit.

Yes, TypeScript could do that. But until then, is it possible to make importing with the config as I mentioned before?

A config object like you proposed will not be implemented. It's actually the exact thing that motivated this project. It'd should be obvious from looking at your source code what transformations are applied to your image instead of it being a declared somewhere else and applied "magically".
However, using the updated defaultDirectives you can implement type-able presets:
imagetools({
   defaultDirectives: id => {
      if (id.searchParams.has('hero')) { // the `hero` directive was set on the image
         return new URLSearchParams('width=1200;900;800&avif&metadata')
      }
      return new URLSearchParams()
   }
})

You can then type the preset:
declare module '*.jpg?hero' {
   const image: Record<string, any>
   export default image
}

However, using the updated defaultDirectives you can implement type-able presets:
This got released in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>respectively.
I feel like this provides enough workarounds for the use in typescript so I'll close this for now. Feel free to reopen if the situation changes!

this is perfect, thank you so much
Em qua., 10 de nov. de 2021 às 08:33, Jonas Kruckenberg <
@.***> escreveu:

However, using the updated defaultDirectives you can implement type-able
presets:
This got released in @.*** and
@.*** respectively.
I feel like this provides enough workarounds for the use in typescript so
I'll close this for now. Feel free to reopen if the situation changes!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JonasKruckenberg/imagetools/issues/160#issuecomment-965522435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQRVPRL4AFJ7HUY4WWBDDJ3ULKNFJANCNFSM5AGMY46Q
.

as another workaround, for anyone else finding this
rather than create a preset without values, i added
declare module "*&imagetools" {
  /**
   * actual types
   * - code https://github.com/JonasKruckenberg/imagetools/blob/main/packages/core/src/output-formats.ts
   * - docs https://github.com/JonasKruckenberg/imagetools/blob/main/docs/guide/getting-started.md#metadata
   */
  const out;
  export default out;
}

to my globals.d.ts (i'm using sveltekit), and then added &imagetools to the end of my imports, e.g.
import image from "$lib/assets/image.jpg?w=200;400&format=webp;png&meta&imagetools";

imagetools seems to happily ignore the extra query parameter.
this is a bit verbose, but i liked it better than not being able to specify values.
also, one could add specific typing this way, e.g. by
declare module "*&meta&imagetools" {
  ...
}

thats an awesome and creative solution, thanks!

With the plugin configured as follows, the imported image ending with ?gallery returns an array of two objects.
imagetools({
  defaultDirectives: (id) => {
    if (id.searchParams.has("gallery")) {
      return new URLSearchParams("w=300;600&format=webp&as=metadata");
    }
    return new URLSearchParams();
  },
}),

import hauseMitTreppen from "@/assets/images/hause-mit-treppen.jpeg?gallery";
console.log(hauseMitTreppen);

Output

You then can define the type for the values of interest.
declare module "*?gallery" {
  const images: {
    width: string;
    src: string;
  }[];
  export default images;
}

Now, as you can see, you can access the low res image as hauseMitTreppen[0].src and high res with hauseMitTreppen[1].src

Imagetools can return:

A string
An array of strings
An object
An array of objects

I have updated my types like this to reflect that. You know best what type of import to use in your application:
interface OutputMetadata {
    src: string; // URL of the generated image
    width: number; // Width of the image
    height: number; // Height of the image
    format: string; // Format of the generated image

    // The following options are the same as sharps input options
    space: string; // Name of colour space interpretation
    channels: number; // Number of bands e.g. 3 for sRGB, 4 for CMYK
    density: number; //  Number of pixels per inch
    depth: string; // Name of pixel depth format
    hasAlpha: boolean; // presence of an alpha transparency channel
    hasProfile: boolean; // presence of an embedded ICC profile
    isProgressive: boolean; // indicating whether the image is interlaced using a progressive scan
}

declare module "*&as=metadata&imagetools-gallery" {
    const outputs: Array<OutputMetadata>;
    export default outputs;
}

declare module "*&as=metadata&imagetools" {
    const outputs: OutputMetadata;
    export default outputs;
}

declare module "*&imagetools-gallery" {
    const outputs: Array<string>;
    export default outputs;
}

declare module "*&imagetools" {
    const outputs: string;
    export default outputs;
}


Prevent right-shifting of block comments with bare lines.

Lines that didn't start with a comment sigil were returned unchanged in
comment::rewrite_comment. Then these unchanged lines were indented in
MacroBranch::rewrite.
Close #2917

The AppVeyor check failed at the start with error: failed to initialized index git repository and ran no test.

Awesome work, thank you!


Create an attribute by adding rules in DynamicModel

Now when I use dynamic validation like this:
$model = new DynamicModel();
$model->load($params);
switch ($way) {
    case 'first':
        $model->addRule('time', 'required');
        $model->addRule('time', 'integer', ['min' => 1, 'max' => 1800]);
        break;
//    ...
    case 'last':
        $model->addRule(['speed'], 'required');
        $model->addRule('speed', 'integer', ['min' => 0, 'max' => 320]);
        break;
}
$model->validate();

the error occurs:
Getting unknown property: yii\base\DynamicModel::time.
I understand that following code will be work:
switch ($way) {
    case 'first':
        $model = new DynamicModel(array_replace(['time', 'factor'], $params));
        $model->addRule('time', 'required');
        $model->addRule('time', 'integer', ['min' => 1, 'max' => 1800]);
        break;
//    ...
    case 'last':
        $model = new DynamicModel(array_replace(['speed'], $params));
        $model->addRule('speed', 'required');
        $model->addRule('speed', 'integer', ['min' => 0, 'max' => 320]);
        break;
}
$model->validate();

but why preset an attributes before?
Maybe сreate an attribute by addRule if it not set early?
It's really a dynamic approach.

Now when I use dynamic validation like this....

Method Model::load() can set only safe model attributes, which are none, unless you specify any attribute explicitly or declare a validation rule.

I understand that following code will be work...

If you don't have 'time' or 'speed' attribute inside the data to be validated, why do you add a rules for them?
This issue seems like abuse of the DynamicModel, which was created to facilitate direct vaidation of the  abstract value. It should not serve for handling incoming user requests of unknown strucutre.


Enable IP tests for build-init subproject

Relates to https://github.com/gradle/gradle/issues/28965

@bot-gradle test prf

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build


"col" shown in status bar is wrong

"col" shown in the status bar is wrong, it multiplied by the tab size. thx

https://github.com/microsoft/vscode/issues/91990#issuecomment-594430323


adding in front-end wireframe

Got the front-end working. Added directions at the top of README to launch it.
One of my big issues was I wasn't copying MobyStore-0.0.1-SNAPSHOT.jar from /target to /app

I think a more permanent fix would be to add something like this to the app Dockerfile
RUN  mvn package ../ && cp ../target/MobyStore-0.0.1-SNAPSHOT.jar ../app/MobyStore-0.0.1-SNAPSHOT.jar
I'll test out

Updating front-end work.


KazooTestHarness leading to chroot path error

Hey, I'm running kazoo 2.5 on Flask 0.12.4 on my mac running High Sierra (10.13.6). I'm trying to add the KazooTestHarness to my integration tests. This is the code for doing so -
from kazoo.testing import KazooTestHarness
from os import environ

class TestListStuff(KazooTestHarness):

  def setUp(self):
    environ['ZOOKEEPER_PATH'] = '/usr/local/Cellar/zookeeper/3.4.12/libexec'
    self.setup_zookeeper()

  def tearDown(self):
    self.teardown_zookeeper()

  def test_list_stuff_runs(self, connection):
      connection.fetch_stuff_that_uses_kazoo()

My zookeeper path has both a zookeeper-3.4.12.jar and a lib directory with a log4j-1.2.17.jar file.
E           UserWarning: No chroot path exists, the chroot path should be created before normal use.

venv/3.6/lib/python3.6/site-packages/kazoo/client.py:563: UserWarning

Has this occurred for other people? Am I just doing something wrong here? I followed the documentation at https://github.com/python-zk/kazoo/blob/master/docs/testing.rst

Hi,
I'm not sure this problem comes from your code since this warning always appears on the first test (check on travis or locally launch any single test). But this should not raise an exception. What are you using for your tests? Is there an option handling warnings as exceptions?


Downsample UMI counts

To be merged following #39.
During the wrangler app, run a series of four MIPWrangler commands. These commands first correct barcode counts (UMIs) and then cluster MIPs together. When we cluster the MIPs together the UMI count for a specific cluster is equal to the sum of the UMI count for each MIP within that cluster. As a result, in some cases, the number of UMI counts can reach very large numbers and slow down our downstream analysis variant calling steps. In order to increase the speed of our pipeline, w can downsample the UMI counts before merging MIPs together.
This PR serves to reduce the number of UMI counts by downsampling counts above a user-defined threshold (default value: 1000). To do so, we manipulate the underlying FASTQ files that MIPWrangler relies on.

I would default to 2k
On Fri, May 6, 2022, 8:21 AM Aris Paschalidis @.***>
wrote:

To be merged following #39
https://github.com/bailey-lab/MIPTools/pull/39.
During the wrangler app, run a series of four MIPWrangler
https://github.com/bailey-lab/MIPWrangler commands. These commands
first correct barcode counts (UMIs) and then cluster MIPs together. When we
cluster the MIPs together the UMI count for a specific cluster is equal to
the sum of the UMI count for each MIP within that cluster. As a result, in
some cases, the number of UMI counts can reach very large numbers and slow
down our downstream analysis variant calling steps. In order to increase
the speed of our pipeline, w can downsample the UMI counts before merging
MIPs together.
This PR serves to reduce the number of UMI counts by downsampling counts
above a user-defined threshold (default value: 1000). To do so, we
manipulate the underlying FASTQ files that MIPWrangler
https://github.com/bailey-lab/MIPWrangler relies on.
You can view, comment on, or merge this pull request online at:
https://github.com/bailey-lab/MIPTools/pull/40
Commit Summary

22cc6b1
https://github.com/bailey-lab/MIPTools/pull/40/commits/22cc6b1206b790b0f56f05cb5c79d879e5a2cade
Merge branch 'pop-cluster-frac' into downsample-umis
2f9f8e8
https://github.com/bailey-lab/MIPTools/pull/40/commits/2f9f8e86446318b503caefd40b63ce08c28cdc2d
Merge branch 'pop-cluster-frac' into downsample-umis
9435c7d
https://github.com/bailey-lab/MIPTools/pull/40/commits/9435c7d190dae49aadfdc721509d6dcf92e25b15
Downsample UMIs and set the threshold as an argument
41904b5
https://github.com/bailey-lab/MIPTools/pull/40/commits/41904b5cb824c7cf03f5998d0ad97668db6b42fe
Fix the SWGA MIPWrangler scripts so that they work with four inputs
2375e9c
https://github.com/bailey-lab/MIPTools/pull/40/commits/2375e9c2eee6db53b6c74dfcd7c6d7c6fe6faed6
Add documentation on downsampling

File Changes
(8 files https://github.com/bailey-lab/MIPTools/pull/40/files)

M MIPTools.def
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-277946d780e1e23fc35f59688aed200f924be8222332d40c3c73225a0bf203d6
(9)
M base_resources/MIPWrangler_scripts/runMIPWranglerCurrent.sh
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-cd03917e10822c2f50b0377712e4e92c81b7f55b6a760173e876d57a94ec5e52
(26)
M base_resources/MIPWrangler_scripts/runMIPWranglerSwga.sh
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-f197aa4b3890e2fbc4897515047c1d5bd158701bb4af3acfc1f7a400138fadb5
(5)
M base_resources/MIPWrangler_scripts/runMIPWranglerSwgaPop.sh
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-4b52e4ba76cc943b527a7a6905f4a3a846557da11ceb12fa17473141b408a115
(5)
M bin/runMIPWranglerCurrent.sh
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-4bd0476b7fba7d1b0d3f3e6ae36061b1015496b6e3298e8360faca00b6b93c79
(26)
M docs/CHANGELOG.rst
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-a3eb23aaf44c5fba1fabdb90f9d57bc4d0ca6ccfecc4374b45835880a3d56934
(5)
M docs/app-reference/wrangler-app.rst
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-9a2f615fcdd29a1719006c032669a0d34f14977a2ab631ea993c0d844bcdd931
(4)
M src/generate_wrangler_scripts.py
https://github.com/bailey-lab/MIPTools/pull/40/files#diff-d33f11c492d94f50d3b1c7499c8d7c17f80cecaf062f2ce84aa8d3f781e03683
(8)

Patch Links:

https://github.com/bailey-lab/MIPTools/pull/40.patch
https://github.com/bailey-lab/MIPTools/pull/40.diff

—
Reply to this email directly, view it on GitHub
https://github.com/bailey-lab/MIPTools/pull/40, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXH6YMQXVAZI44XNH2ELV3VIST5HANCNFSM5VHBV6YA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Following a conversation with @JeffAndBailey and @iek, this PR has been significantly updated.
Previously, our strategy for downsampling included reading each FASTQ and changing the read count for each UMI. However, this approach did not solve the original problem as, in some cases, there were still MIPs with many thousands of UMIs. We now adjust the number of UMIs found for each MIP. To do so, we remove lines from the FASTQ files that MIPWrangler relies on. MIPWrangler combines the FASTQs for each UMI into one master file. We iterate over this file, and if the number of UMIs (i.e., the number of sets of four lines) is greater than our threshold, we reduce the number UMIs (by removing sets of four lines).
The other main change now implemented is that when downsampling, the user may choose to downsample by randomly selecting UMIs weighed by their read counts. In other words, UMIs with a higher read count will have a lower probability of being removed when downsampling. This option is controlled by the -w flag within the wrangler app. By default, we randomly subset the UMIs and do not consider the read count of each UMI.

Below find a table with some benchmarking statistics on the run time and the memory utilization for a single iteration of the wrangler app. We compare the old version of MIPTools with this branch, which includes the downsampling of UMIs.

Description
Wall Clock Time
Memory Utilized

MIPTools v0.4.0
1:27:10
3.72 GB

Default Downsampling
1:41:56
3.72 GB

Weighted Downsampling
1:41:10
3.63 GB

Downsampling, Threshold 500 UMIs
1:39:36
3.64 GB

Weighted Downsampling, Threshold 500 UMIs
1:42:13
3.62 GB


GetProcessorArchitecture in PSUtil.cs is not ported

GetProcessorArchitecture uses Windows native API to detect a processor architecture.
This method is used in ModuleCmdletBase.cs to test the required process architecture, and thus that code is broken on Unix platforms as GetProcessorArchitecture depends on a win32 API to get process architecture.
We should use CoreFX API [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.

Seems we can catch more problems with the code - I see CoreFX has a workaround for Win8/8.1.


[Feature/extensions]Enforce type safety for RegisterTransportActionsRequest

Signed-off-by: mloufra<EMAIL_ADDRESS>Description
Add unbounded wildcard for RegisterTransportActionsRequest constructor to clean up compiler warning
Equivalent PR on OpenSearch-sdk-java:  https://github.com/opensearch-project/opensearch-sdk-java/pull/195
Issues Resolved
https://github.com/opensearch-project/opensearch-sdk-java/issues/130
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mloufra Can you edit your title to add [Feature/extensions] as a prefix so the maintainers know our team is handling it?

Codecov Report

Merging #4796 (47d7276) into feature/extensions (eee59c5) will increase coverage by 0.73%.
The diff coverage is 77.37%.

@@                   Coverage Diff                    @@
##             feature/extensions    #4796      +/-   ##
========================================================
+ Coverage                 70.52%   71.25%   +0.73%
- Complexity                57898    58292     +394
========================================================
  Files                      4708     4706       -2
  Lines                    278528   277834     -694
  Branches                  40661    40389     -272
========================================================
+ Hits                     196420   197980    +1560
+ Misses                    65740    63850    -1890
+ Partials                  16368    16004     -364

Impacted Files
Coverage Δ

...main/java/org/opensearch/gradle/PublishPlugin.java
43.43% <0.00%> (-0.45%)
:arrow_down:

.../java/org/opensearch/gradle/pluginzip/Publish.java
11.62% <0.00%> (-0.57%)
:arrow_down:

...earch/analysis/common/NGramTokenFilterFactory.java
75.00% <0.00%> (+10.71%)
:arrow_up:

...gregations/bucket/geogrid/BucketPriorityQueue.java
75.00% <ø> (ø)

...arch/aggregations/bucket/geogrid/CellIdSource.java
69.23% <ø> (ø)

...ions/bucket/geogrid/GeoGridAggregationBuilder.java
75.67% <ø> (ø)

.../bucket/geogrid/GeoHashGridAggregationBuilder.java
100.00% <ø> (ø)

.../bucket/geogrid/GeoTileGridAggregationBuilder.java
100.00% <ø> (ø)

...ions/bucket/geogrid/InternalGeoHashGridBucket.java
100.00% <ø> (ø)

...ions/bucket/geogrid/InternalGeoTileGridBucket.java
100.00% <ø> (ø)

... and 654 more

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

@mloufra you need to make the changes in test files as well
/home/runner/work/OpenSearch/OpenSearch/server/src/test/java/org/opensearch/extensions/RegisterTransportActionsRequestTests.java:24: error: incompatible types: inference variable V has incompatible bounds
        this.originalRequest = new RegisterTransportActionsRequest("extension-uniqueId", Map.of("testAction", Map.class));
> Task :server:compileTestJava
                               ^
    equality constraints: Class<? extends TransportAction<? extends ActionRequest,? extends ActionResponse>>
    lower bounds: Class<org.opensearch.common.collect.Map>
  where V,K are type-variables:
    V extends Object declared in method <K,V>of(K,V)
    K extends Object declared in method <K,V>of(K,V)
/home/runner/work/OpenSearch/OpenSearch/server/src/test/java/org/opensearch/extensions/action/ExtensionTransportActionsHandlerTests.java:132: error: incompatible types: inference variable V has incompatible bounds
        RegisterTransportActionsRequest request = new RegisterTransportActionsRequest(

@mloufra you need to make the changes in test files as well
/home/runner/work/OpenSearch/OpenSearch/server/src/test/java/org/opensearch/extensions/RegisterTransportActionsRequestTests.java:24: error: incompatible types: inference variable V has incompatible bounds
        this.originalRequest = new RegisterTransportActionsRequest("extension-uniqueId", Map.of("testAction", Map.class));
> Task :server:compileTestJava
                               ^
    equality constraints: Class<? extends TransportAction<? extends ActionRequest,? extends ActionResponse>>
    lower bounds: Class<org.opensearch.common.collect.Map>
  where V,K are type-variables:
    V extends Object declared in method <K,V>of(K,V)
    K extends Object declared in method <K,V>of(K,V)
/home/runner/work/OpenSearch/OpenSearch/server/src/test/java/org/opensearch/extensions/action/ExtensionTransportActionsHandlerTests.java:132: error: incompatible types: inference variable V has incompatible bounds
        RegisterTransportActionsRequest request = new RegisterTransportActionsRequest(

Thanks for the reminder, I'm trying to fix this.


TMP_MODE = 1

Re-enable the function to use links for OUTDIR (TMP_MODE = 1).
Create those links also using the same staging list files as TMP_MODE = 2 or 3.

stage_in_ln.sh and stage_out_ln.sh added in 1ab17f8 144ac2d

#58
1ab17f8 144ac2d for the function to link files based on the unified staging list files

db937b6 afa64aa b3b51a6 79932b1 for enabling TMP_MODE = 1 for the original CONF_MODE='dynamic' jobs


Fixed spacing on h2 elements

Markdown format fixes for some H2 elements.
I left the #Riak release notes bits alone, because it seems they shouldn't be H1s.

Appreciated, thanks @BillSmargiassi !


Add Lemmy Go

I made it, so I might be biased in telling whether it's awesome.
https://github.com/Raicuparta/lemmy-go

Thanks indeed it's awesome :smile:!


Install on windows?

Nevermind, installed it on a linux server after all.

Is there any way to use this slack-cleaner on a windows machine?
Can someone make a simple downloadable exe out of it, maybe?

mind


RDF Mapping Relationships (parentTriplesMap, child, parent ...)

Hi. Is there any tutorial or anything else that explains relationships in Rdf Mapping other than this--(http://rml.io/spec.html#relationships-among-logical-sources-rr-parenttriplesmap-rr-joincondition-rr-child-and-rr-parent (Chapter 7)).

Hi,
You can have a look at this. It's a tutorial for YARRRML (a human readable text-based representation for declarative knowledge graph generation rules). YARRRML rules can be converted to RML rules. As part of the tutorial, we explain how entities can be linked. Users don't need to know about parentTriplesMaps, and so on. I hope this helps.

Thank you


Customize without hack node_modules/mustard-ui

Hi! @kylelogue @patrickhlauke @chilts
This is a good work sweet look&feel,
I want to install through NPM but there is no way to hack variables outside of the package
How do this??
Bye

This was resolved in the latest v0.0.8 release.  All SCSS variables are now declared using !default


Fix async HTTP sensor failing with http: 4.0.0

The PR includes the following changes:

The http: 4.0.0 provider release removes the assignment of hook
variable to the instance. As a result, the derived class
HttpSensorAsync extending the base class HttpSensor fails as it
relies on the base class' instance variable hook. The fix involves
reinstantiating the hook so that it is available for usage in the
subsequent methods.
Add apache-airflow-providers-http>=4.0.0 to setup.cfg
Also, reorder the dependencies by alphabetical order.

closes: #514

The change is forward-incompatible and should only be merged once apache-airflow-providers-http==4.0.0 is released.

The circleci checks are failing as http==4.0.0 is not release yet with the below error:
ERROR: Could not find a version that satisfies the requirement apache-airflow-providers-http>=4.0.0;

The change is forward-incompatible and should only be merged once apache-airflow-providers-http==4.0.0 is released.

Checkout https://github.com/astronomer/astronomer-providers/pull/471#discussion_r907184079 and make it forward and backward compatible

mypy check is failing due to an issue unrelated to the change in this PR. It is an issue in the astronomer/providers/snowflake/hooks/sql_api_generate_jwt.py module and I created another PR to fix that: https://github.com/astronomer/astronomer-providers/pull/519


Issues importing the library in a Nuxt3/Vue3/Vite environment

Hi,
This might be a very basic issue that I'm simply unable to solve (probably due to lack of knowledge of how wasm works). I'm trying to import the modules into my Vue App in order to encode AVIF files and i'm getting the following error
500  Cannot find module 'C:\Users\cab_l\Desktop\Repositories\wsp-3.0\node_modules\@jsquash\avif\encode' imported from<EMAIL_ADDRESS>I did check the node_modules folder and the module is present thus I have no idea why that might be the case.
My code looks like this
./composables/useUtiles.ts
import { encode } from "@jsquash/avif";

  const convertToAvif = (file) => {
    return new Promise(async (res, rej) => {
      console.log("file ", file);
      const avifBuffer = await encode(file);
      console.log("buffer ", avifBuffer);
      res();
    });
  };

I'm guessing that the issue might be related to this step in the readme file that I'm failing to understand how to proceed with
Note: You will need to either manually include the wasm files from the codec directory or use a bundler like WebPack or Rollup to include them in your app/server.
Any help with this would be greatly appreciated

Adding onto this for my experience in Nuxt, I followed the steps you linked in the README.
nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  ...
  vite: {
    optimizeDeps: {
      exclude: ['@jsquash/png', '@jsquash/oxipng'],
    },
  },
})

I followed the recommended formatting set in the docs, so I am pretty confident its doing something
But I am still getting this error
ERROR  Failed to resolve import "../../.." from "node_modules/@jsquash/oxipng/codec/pkg-parallel/snippets/wasm-bindgen-rayon-3d2df09ebec17a22/src/workerHelpers.js?v=ff7385f7". Does the file exist?

Editing line 54 of workerHelpers.js
    // the main thread).
-  const pkg = await import('../../..');
+  const pkg = await import('../../../squoosh_oxipng');
   await pkg.default(data.module, data.memory);

Fixes Failed to resolve import "../../..", I suspect this is because you can't import a directory unless that directory contains an index.js to be automatically imported

Hey thank you for your answers guys, I did try what was written in the documentation to no avail.
I tried the following things:

Adding the following lines to the nuxt config file

./nuxt.config.ts
  vite: {     optimizeDeps: {       exclude: ["@jsquash/avif"],     },   },

Based on CodeF53's answer I tried importing the encode package directly as such

import encode from "@jsquash/avif/encode";
which resulted in a different import error which is the following:
Cannot find module 'C:\Users\cab_l\Desktop\Repositories\wsp-3.0\node_modules@jsquash\avif\meta' imported from<EMAIL_ADDRESS>
I also tried looking for a similar import error in the<EMAIL_ADDRESS>file and came across the following 2 imports which seem to import the files directly and not the directories as mentioned in the above comment.

       const avifEncoder = await import('./codec/enc/avif_enc_mt');          const avifEncoder = await import('./codec/enc/avif_enc');
I'm still at a loss how to make this work on my app

Hello,
I've digged deeper into this issue and finally was able to resolve it, mainly thanks to @CodeF53.
The fix that did it for me was the following:

I imported the encode module directly

./composables/useUtils.ts
 import encode from<EMAIL_ADDRESS>
I changed the import lines and added a final .js at the end of the files.

<EMAIL_ADDRESS>import  {defaultOptions} from './meta.js';
import { initEmscriptenModule } from './utils.js';

Modifying the content of the source in node_modules isn't a proper solution for me. We still need a proper fix

I agree, i reopened the issue

I found a fix for Nuxt:
nuxt.config.ts:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  ...
  build: {
    transpile<EMAIL_ADDRESS>  },
})

I haven't found an alternative for Vite

Thanks for looking further into this @CodeF53 and @patratel.
It looks like Nuxt anticipates all third party modules to use the CommonJS module format. The modules provided by jSquash are all ESM. I'd prefer not to add CommonJS as it's a legacy format and not relevant to the browser intended context of these jSquash modules.
This means to use the jSquash modules with Nuxt you'll need to manually mark them as needing to be transpiled to CommonJS exports. (As discovered by @CodeF53).
I'd recommend setting the Nuxt config to
export default defineNuxtConfig({
  build: {
    transpile: ["@jsquash/avif", "@jsquash/png"],
  },
  vite: {
    optimizeDeps: {
      exclude: ["@jsquash/avif", "@jsquash/png"],
    },
  },
});

I have a minimal example of running jSquash modules with Nuxt at https://codesandbox.io/p/sandbox/hardcore-wildflower-zfh93n. You might find it useful @patratel.

this doesn't fix the Could not resolve "../../.." from @jsquash/oxipng

@CodeF53 when you have time could you please provide an reproducible example of this with a shareable interface, such as CodeSandbox. That would be super helpful.
I've got my own example working ok with @jsquash/oxipng, Nuxt, Vite, Vue over at https://codesandbox.io/p/sandbox/jsquash-issue-19-oxipng-8kdc5h

I tried what you suggested @jamsinclair and it worked like a charm, thanks for the fix!
If I may dare I would like to ask you another question regarding an issue I encountered. I'm using the @jsquash/avif library in a Web Worker in order to run the conversion in the background. This works well now in development, the issue is that when I run "nuxt build"  it stops due to an issue:
Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:                    22:36:03 (vite:worker) transform "C:/Users/cab_l/Desktop/Repositories/wsp-3.0/assets/workers/convertWorker.js?worker" (commonjs--resolver) resolveId "./codec/enc/avif_enc_mt"<EMAIL_ADDRESS>(vite:worker-import-meta-url) transform<EMAIL_ADDRESS>My intuition tells me this might be due to Vite rather than the library itself. If you've run into anything similar before I would be grateful for any help/insight.

@patratel yeah I think this is an issue with Vite itself. I think you've already found the related issue over at https://github.com/vitejs/vite/issues/13367.
I will note that the avif package contains a worker, so you are indeed loading a worker inside worker which matches with the other user's problems in that issue.

Indeed I did scour the internet trying to find a fix to this. I wasn't aware that there is a worker already running inside of it. I resorted to the worker solution because without it whenever the encoding of the avif is happening my application freezes. It might be due to how I'm implementing the library, this is my code:
` const convertToAvifFile = (file, size, name) => {
return new Promise(async (res, rej) => {
try {
const loadedImage = await loadImage(file, size);
    const avifBuffer = await encode(loadedImage);
    const base64String = "data:image/jpg;base64," + arrayBufferToBase64(avifBuffer);
    const avifBlob = await dataUrlToFile(base64String, name, "image/avif");

    res(avifBlob);
  } catch (e) {
    console.log("error", e);
  }
});

};`
This was the solution that worked in dev and didn't make the app freeze but presented the above error:
`  const convertToAvifFile = (file, size, name) => {
return new Promise(async (res, rej) => {
try {
    const loadedImage = await loadImage(file, size);

    if (window.Worker) {
      const convWorker = convertWorker();

      convWorker.postMessage(loadedImage);
      convWorker.onmessage = async (e) => {
        const base64String = "data:image/jpg;base64," + arrayBufferToBase64(e.data);
        const avifBlob = await dataUrlToFile(base64String, name, "image/avif");
        res(avifBlob);
      };
    } else {
      const avifBuffer = await encode(loadedImage);
      const base64String = "data:image/jpg;base64," + arrayBufferToBase64(avifBuffer);
      const avifBlob = await dataUrlToFile(base64String, name, "image/avif");

      res(avifBlob);
      console.log("Your browser doesn't support web workers.");
    }
  } catch (e) {
    console.log("error", e);
  }
});

};`
I'm pretty sure it's the encoding part since I tried isolating it. Thank you for helping with this so far since I realize this is outside of the scope of this issue.

I believe the original issue has been resolved so I'll close this issue.
I've added a commit to update the README with additional information to get these modules working with Nuxt (https://github.com/jamsinclair/jSquash/commit/b152ee5dbcc5f7a51539e3a0c53871ee786013c5).
@patratel I've had a brief play around and hit the same issue you are only when the production code is built. This is a vite/bundling problem and not related to this project. I wish you all the best with coming up with a solution 🤞

yeah I think this is an issue with Vite itself. I think you've already found the related issue over at vitejs/vite#13367.

I would add a note about this to the ### Issues with Vite and Vue build environments section of the readme, or open a github issue and leave it open until Vite fixes it.
Sure, this problem is technically documented, as it shows up in this issue, but this issue is closed, so it was the last place I thought to look when trying to figure out what I was doing wrong for my build step.

vitejs/vite#13367 can be pretty easily worked around by forcing single threaded behavior.
I propose adding a forceSingleThread flag to the init functions of problematic modules. It would default to false, so users don't have to think about adding it unless they need it.
avif/encode.ts
- export async function init(module?: WebAssembly.Module) {
+ export async function init(module?: WebAssembly.Module, forceSingleThread: boolean = false) {
-   if (!isRunningInCloudflareWorker() && await threads()) {
+   if (!isRunningInCloudflareWorker() && await threads() && !forceSingleThread) {
      const avifEncoder = await import('./codec/enc/avif_enc_mt');
      emscriptenModule = initEmscriptenModule(avifEncoder.default, module);
      return emscriptenModule;
    }
    const avifEncoder = await import('./codec/enc/avif_enc');
    emscriptenModule = initEmscriptenModule(avifEncoder.default, module);
    return emscriptenModule;
  }

oxipng/optimise.ts
- export function init(moduleOrPath?: InitInput): void {
+ export function init(moduleOrPath?: InitInput, forceSingleThread: boolean = false): void {
    if (!wasmReady) {
-     const hasHardwareConcurrency = globalThis.navigator?.hardwareConcurrency > 1;
+     const hasHardwareConcurrency = globalThis.navigator?.hardwareConcurrency > 1 && !forceSingleThread;

      wasmReady = hasHardwareConcurrency ? threads().then((hasThreads: boolean) =>
        hasThreads ? initMT(moduleOrPath) : initST(moduleOrPath),
      ) : initST(moduleOrPath);
    }
  }

In testing this fixes my issues with @jSquash/OxiPNG, and doesn't cause any losses to performance, as I am multithreading calls to optimise within my application.

Try completely commenting out the Multithreaded portion of the init code, leaving only the singlethreaded option.

Wow! I can't thank you enough @CodeF53, commenting the first section worked! I can finally ditch the 'sharp' server workaround I've been using for the past 3 months. I do feel a bit like a monkey since I've no clue what this change did to make it work. If you ever do have the time and patience to give a short explanation as to why this workaround works and what could be the drawbacks.
Leaving my changes down here for anyone stumbling upon this issue in the future:
avif/encode.js
 export async function init(module, forceSingleThread = true) {     // if (!isRunningInCloudflareWorker() && await threads() && !forceSingleThread) {     //     const avifEncoder = await import('./codec/enc/avif_enc_mt');     //     emscriptenModule = initEmscriptenModule(avifEncoder.default, module);     //     return emscriptenModule;     // }     const avifEncoder = await import('./codec/enc/avif_enc');     emscriptenModule = initEmscriptenModule(avifEncoder.default, module);     return emscriptenModule; }
./nuxt.config.ts
  vite: {     optimizeDeps: {       exclude: ["@jsquash/avif"],     },     worker: {       format: "es",     },   },
Adding the worker format in the nuxt config file was also required in order to circumvent another error.
Thanks again!

Thanks @CodeF53. I had thought of a similar work around. Feel free to submit a PR and I can help add that code into the repository.
I've added a note to the README about this issue.

I've created a rollup plugin that I think will help solve these Vite/Nuxt issues.
Install the plugin with npm i -D rollup-plugin-replace-worker-import-meta-url.
Then update your Nuxt config with something similar to:
import replaceWorkerImportMetaUrl from 'rollup-plugin-replace-worker-import-meta-url';

export default defineNuxtConfig({
    build: {
        transpile: ["@jsquash/avif"], // Or update with the jsquash modules your project uses
    },
    vite: {
        optimizeDeps: {
            exclude: ["@jsquash/avif"], // Or update with the jsquash modules your project uses
        },
        plugins: [replaceWorkerImportMetaUrl()]
    },
});

@patratel this might help simplify your approach without needing to modify the node_modules files. Let me know if this works solves the issue 🙇 , thanks!

I've updated the docs with a workaround of special single thread only builds that don't use workers. This will bypass the Vite problem until it's solved.
See: https://github.com/jamsinclair/jSquash#issues-with-nuxtvite-and-nested-web-workers


Inclusion of toolchain forces static=on Go Targets to Dynamically Link

The description pretty much says it all.
Maybe I don't know enough about this toolchain, but including it as a module and registering Zig toolchains has forced normally statically linked Go targets to become dynamically linked.
Before:
ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, for GNU/Linux 3.7.0, Go BuildID=redacted, BuildID[sha1]=a3055087e190f1087358decf3ff32c494c13fd58, stripped

After:
ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 2.0.0, Go BuildID=redacted, stripped

Using Bazel:
go_binary(
    name = ...,
    data = ...,
    embed = ...,
    static = "on",
    visibility = ["//visibility:public"],
)

Is there a way to maintain for other targets the correct behavior? This an only Go code target.

Is this due to #171 ?

Or is this a feature of Zig compiler itself that prevents the static linking of glibc (forcing good behavior).
https://github.com/rust-cross/cargo-zigbuild/issues/231#issuecomment-1986970132


Crossplatform remote access authentication

Under Mono there's no way to check the username+password against the user, mainly because there's no guarantee that passwords are even used.
I realized that this system was acting more as an auth token than a user login. So I simplified the concept to a single passcode.
However, their's no guarantee that the configuration files or the system's memory will be kept secure.  So I decided to keep the code around only as a salted SHA256 hash.
I didn't go to the extreme and implement key stretching, but that could be added if there's enough worry.
Under .NET on Windows the old active user authentication process is still used if the hash is blank or not set.  This provides backwards compatibility with pre-existing setups.

This change will break existing Maestro code which uses the Util method to do authentication.  If we wanted cross platform might have been better to overload it there.

I started out researching libpam auth methods. Then I found out why Mono doesn't already call it: PAM can use a large variety of authentication schemes: anything from simple username with or without password, to fingerprint, dongle, and more as people get inventive.  What's more, PAM only works under Linux, there'd have to another whole process for OSX.
Hence after reviewing all the options I decided that it was far simpler to just keep it in the code. Therefore I found a way to do so such that this code could go on IW or other servers without any config changes and work just like the old code did.

I'm creating a JWT token based auth that can use system usernames and check godlevels for API authentication. I should have something up in the next week or so for the remote console.

Can this PR be closed now, in light of #271 #273 and #274 ? It remains an outstanding pull request (with conflicts now).

Ya, if any parts need resurrecting it'll be a totally different PR.
On Thu, Sep 15, 2016 at 1:56 PM, Jim Tarber<EMAIL_ADDRESS>wrote:

Can this PR be closed now, in light of #271
https://github.com/InWorldz/halcyon/pull/271 #273
https://github.com/InWorldz/halcyon/pull/273 and #274
https://github.com/InWorldz/halcyon/pull/274 ? It remains an
outstanding pull request (with conflicts now).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/InWorldz/halcyon/pull/243#issuecomment-247453106, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABGoaPwCde1eVAOVilCLHBxF7u-T4ONTks5qqbEAgaJpZM4JI9sx
.

Okay, it sounds like my oar-backup-tweaks branch, which was thought to be a good change but is on hold. Keep the branch around if you think there's value in there, but if there's no intention to merge this one into master, I'll close the PR.


[CARBONDATA-3702] Clean temp index files in parallel in merge index flow

Why is this PR needed?
Now, Cleaning temp index files in the mergeindex flow takes a lot of time, sometimes it will take 2~3 mins, which should be optimized
What changes were proposed in this PR?
Clean temp index files in parallel in merge index flow
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/299/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2003/

retest this please

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/306/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2009/


Add way to specify types

Add a way of specifying the different types for use with the VisualProgram. Additionally, allow setting a different name for types.
For example, one could choose to create nodes for and allow a custom data type. Additionally, one could choose to ignore certain types, for example in some cases one may wish to simplify the experience and remove the int type and just allow double, but renamed as "number".

Partially complete (additional types, not renaming) with 88525587.


Syntax highlighting for Rust added

I added syntax highlighting for Rust. I wanted to submit a separate pull request, but it somehow it got merged into my previous pull request #62 . Sorry.
Jens

highlighting definitions updated from upstream and new languages added

This was resolved by a9c62a7f88256c0eaa530e765e943b28f7e3e68f.


demo: Create interactive demo website

The web ui will be this.
We can use runme.io
When a user clicks a https://runme.io/run?app_id=a1774bbe-b840-4853-b4f1-e6d4440c5e2e style link they'll be redirected to a https://runme.io/show?build_id=3ee099f0-7680-464e-89bf-9e2357e9b5af style link.
We can take that UUID at the end and get the URL the HTTP server is running at: https://3ee099f0-7680-464e-89bf-9e2357e9b5af.runme.io/
So we'll want to add a runme button to the initial popup of the webUI saying that they can try in demo mode or they can try with a real backend if they click the link. If they click it open another model that gives them a couple steps:

Click this link (replace with real one eventually): https://runme.io/run?app_id=a1774bbe-b840-4853-b4f1-e6d4440c5e2e
Wait until the app launches
Copy the URL in their address bar back into the new modal of the web UI and parse it to get the value of app_id
Set the backend URL to https://$app_id.runme.io/ and close all the modals so they can now play around

https://pyscript.net/


Estimate dictionary decode size

As originally described in https://github.com/parquet-go/parquet-go/pull/96, column dictionaries are not properly sized befored decoding which leads to many small allocations in a loop.
This PR extracts the part of #96 which does buffer size estimation for dictionaries until we figure out a safe way to pool those buffers.
@asubiotto let me know what you think.

Completely agree 👍


Headings outline for markdown

Adds a DocumentSymbolProvider for markdown that lists headings. Should make navigation is large documents easier.

Changes Unknown when pulling c209601f1d0ae1494e8d3b1ad6dc1559bd8091b6 on joh/mdSymbols into ** on master**.

@mjbvz I am aware of how this should work in a perfect world using a syntax tree with all bells and whistles. I have no intentions of implementing that 😄 Closing this PR.

@jrieken I'm not opposed to taking this change in with these limitations (although I would like to see the few suggested fixes for the regular expressions). It would be beneficial to include this in the builtin markdown functionality, even if it it's not perfect.


If no content-text is given, make pin a single-line notification

I've created a extra branch for this feature, dev-singleline. It is fully implemented and seems working without any problems. But I'm not sure about the layout. Here's what it currently looks like:

To make it look like a normal notification just with a single line, I would have to extend the base (material) notification and setup the layout manually. I don't want to do this, because since I would have to create a new layout for each Android version >= SDK 16.
If someone knows a better solution, please don't mind to constribute!

Closed, as this wouldn't follow the Material Design guidelines.


webpack --watch is not recompling changed file

I'm currently on branch feature/03-fem-debug-script.
When i change things in the file, webpack is not respond to file changes.
It keep hanging around.

Fixed by moving directory from /mnt/ to ~/ in WSL2.


Update Hassio add-on

Hi!
Would it be possible to update the add-on to the latest version of lvcc since TWC3 is now added to the master branch?
That will provide support for Tesla Wall Changers
Thanks

As soon as @andig pushes a new release, this release will be available for the Home Assistant Add-On. Shipping the nightlies with :latest tag is on our wishlist but currently not possible because Home Assistant supervisor unfortunately does not compare Container hashes but just tags.

Ah ok, I thought the version with twc3 support for chargers was pushed already. But maybe I am wronged will have to wait a bit.
I believe that is the case since I get the following in the startup log:
[main  ] FATAL 2022/12/25 08:18:49 cannot create charger 'twc3': invalid charger type: twc3

We'll have to wait a little longer. With so many changes during the last days we'll need to wait for things to settle a little.

I think this is solved and can be closed….

Closed since solved.


fix: fallback to window.msURL

window.msURL was never a thing (even IE 10 doesn't prefix it), plus your PR changes the code to URL.msURL, which definitely isn't right 😁.

Haha, whoops. it was definitely supposed to be window.msURL.


Please prevent dependencies between CPS and this particular event queue implementation

Mornin' Disruptek,
Went through the code a bit, but I need to spend some more time to get into the details. One thing I'd like to propose: your current implementation kind of implies the use of the provided eventqueue which is used by all the tests and all, which also holds the bare essential thing to pump an continuation, the trampoline.
I'd like to propose to make a very explict split between the CPS part and the eventqueue part to make sure there will be no dependency creep of one single eventqueue/selector/whatever on the CPS implementation. We should be able to use and offer CPS building blocks with a pretty clean interface and put that on top of anything we want. So continuations know nothing of fds or timers or whatever is out there in the world, it's just the context itself.

That was always my feeling also, but I got frustrated writing tests without a real dispatcher.  I was a little annoyed that I had to add a dependency to get the behavior I wanted, and I'm sure that irritated you as well. :wink:
If you PR a replacement dispatcher, then we can move this one out to its own package and we'll be assured that cps stands alone.  This would make cps development much simpler and more reliable, and it would probably help promote novel dispatcher development as well.

AFAICT, this has always been the case.  Feel free to reopen if you discover otherwise.

yeah, it was just me not grokking your virtual floating Cont


Story/iexp 322

the social icons were missing because they used the font awesome v. 4 syntax so we may need to check everywhere there's a font awesome icon to make sure it's all updated for version 5

yes, if you upgrade font awesome from 4 to 5 please make sure all icons are migrated.

Also, please reopen this PR (instead of opening a new one) so that the comments are kept.

Regarding the last point: I agree with Julia, we should cache these. Paul
and I talked about this at one point, and it makes a lot of sense.
On Mon, Jan 3, 2022 at 8:23 PM Julia Damerow @.***>
wrote:

@.**** requested changes on this pull request.
In isiscb/isisdata/isiscbviews/authority_views.py
https://github.com/upconsulting/IsisCB/pull/732#discussion_r777782626:

wikiCredit = ''

wikiIntro = ''
authorityName = ''

if not authority.type_controlled == authority.SERIAL_PUBLICATION and not(authority.type_controlled == authority.PERSON and author_contributor_count != 0 and author_contributor_count/related_citations_count > .9):

   authorityName = authority.name

   if hasattr(authority, 'person'):

       if authorityName.find(',') >= 0:

           firstName = authorityName[authorityName.index(',') + 2:len(authorityName)].strip()

           if firstName.find(',') >= 0:

               firstName = firstName[:firstName.find(',')]

           lastName = authorityName[:authorityName.find(',')]

           authorityName = firstName + ' ' + lastName

   elif authority.type_controlled == authority.PERSON:

       if authorityName.find(';') >= 0:

           authorityName = authorityName[:authorityName.find(';').strip()]

I believe the closing bracket (]) shouldn't be at the end but after ';')?
In isiscb/isisdata/isiscbviews/authority_views.py
https://github.com/upconsulting/IsisCB/pull/732#discussion_r777782751:

if not authority.type_controlled == authority.SERIAL_PUBLICATION and not(authority.type_controlled == authority.PERSON and author_contributor_count != 0 and author_contributor_count/related_citations_count > .9):

   authorityName = authority.name

   if hasattr(authority, 'person'):

       if authorityName.find(',') >= 0:

           firstName = authorityName[authorityName.index(',') + 2:len(authorityName)].strip()

           if firstName.find(',') >= 0:

               firstName = firstName[:firstName.find(',')]

           lastName = authorityName[:authorityName.find(',')]

           authorityName = firstName + ' ' + lastName

   elif authority.type_controlled == authority.PERSON:

       if authorityName.find(';') >= 0:

           authorityName = authorityName[:authorityName.find(';').strip()]

   elif authority.type_controlled == authority.GEOGRAPHIC_TERM:

       if authorityName.find('(') >= 0:

           authorityName = authorityName[:authorityName.find('(').strip]

same as above: wrong position of closing bracket and also strip is
missing ()
In isiscb/isisdata/isiscbviews/authority_views.py
https://github.com/upconsulting/IsisCB/pull/732#discussion_r777791520:

   introURL = settings.WIKIPEDIA_INTRO_API_PATH.format(authorityName = authorityName)

   imgJSON = requests.get(imgURL).json()

   if list(imgJSON['query']['pages'].items())[0][0] != '-1':

       imgPage = list(imgJSON['query']['pages'].items())[0][1]

       imgPageID = imgPage['pageid']

       wikiCredit = f'{settings.WIKIPEDIA_PAGE_PATH}{imgPageID}'

       if imgPage.get('original') and imgPage['original'].get('source'):

           wikiImage = imgPage['original']['source']

       introJSON = requests.get(introURL).json()

       extract = list(introJSON['query']['pages'].items())[0][1]['extract']

       if extract.find('may refer to') < 0:

           wikiIntro = extract

return wikiImage, wikiIntro, wikiCredit

looking at this and thinking about it, two thoughts:

it would be cleaner to use the api to tell us if a page is a
disambiguation page. Should wikipedia change the text they show on the page
(not using "may refer to" in the extract anymore), this code won't work
anymore. I might mean making two calls though, which brings me to the next
point.
I think we might want to cache the retrieved data and only update it
every so often. The way it is written right now, if we have a crawler
indexing our sites (we had issues with those before), there will be many
requests coming from our servers to wikipedia and I don't know at what
point Wikipedia decides to block requests. I think I would cache the
wikipedia data for 2 or 4 weeks (maybe with an option for the user to
refresh it manually) and then after that update the cached data at the next
page call or something like that. This is also a question for Stephen
though.

—
Reply to this email directly, view it on GitHub
https://github.com/upconsulting/IsisCB/pull/732#pullrequestreview-843145250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADE5NZHZ6UKIT6DMG7W3VTDUUJKZNANCNFSM5LBOBPSQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Stephen P. Weldon  (stephenpweldon.com)
Associate Professor of History of Science, University of Oklahoma
Chair, Department of History of Science, Technology, and Medicine
The Scientific Spirit of American Humanism
https://jhupbooks.press.jhu.edu/title/scientific-spirit-american-humanism
(Johns
Hopkins University Press, 2020)
Editor, Isis Bibliography of the History of Science (https://isiscb.org/)
Address: University of Oklahoma; Physical Sciences Building, Room 618;
Norman, Oklahoma 73019
Phone:<PHONE_NUMBER>

yeah that makes sense. i thought calling it from the view automatically cached it so that the call wasn't made every single time the page is loaded. how do I implement this?


Can't find keyplane that supports type 5 for keyboard

Getting this error...
=== AttributeGraph: cycle detected through attribute 994328 ===
=== AttributeGraph: cycle detected through attribute 994328 ===
=== AttributeGraph: cycle detected through attribute 994328 ===
Can't find keyplane that supports type 5 for keyboard
=== AttributeGraph: cycle detected through attribute 994328 ===
=== AttributeGraph: cycle detected through attribute 994328 ===
=== AttributeGraph: cycle detected through attribute 994328 ===

someone with this same error?

Still experiencing this


Crash upon startup [1.12.2]

I found an issue regarding dynamic surroundings and I did what it said there, but it still crashing. Can you please tell me the cause and/or fix this?
Crash report generated by VanillaFix: https://paste.dimdev.org/itaxinikuy.mccrash
Latest debug log: debug.log
Latest.log: latest.log

This is caused by outdated VanillaFix version.


Disable stylecop rule SA1412StoreFilesAsUtf8BOM

When I try to deploy a bot, it pop up an error that the build is failure and dll is not exist.
This is because when we copy the botProject template to the new bot folder, the files are saved as UTF8 defaultly and the stylecop rule requires the file format to be UTF8 with BOM.

Version
master
Browser
What browser are you using?

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS
What operating system are you using?

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create a bot from a template
Run create.ps1
Run deply.ps1
See error

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots/gif/video to help explain your problem.
Additional context
Add any other context about the problem here.

addressed in https://github.com/microsoft/BotFramework-Composer/issues/1577


feat: optimize version output

Signed-off-by: yxxhero<EMAIL_ADDRESS>
▓▓▓ ./helmfile

  Version            0.145.4
  Git Commit         N/A
  Build Date         N/A
  Commit Date        N/A
  Dirty Build        no
  Go version         1.19
  Compiler           gc
  Platform           linux/amd64

  │ A new release is available: 0.145.4 → v0.146.0
  │ https://github.com/helmfile/helmfile/releases/tag/v0.146.0

[root@devops helmfile]# ./helmfile version -o json
{
  "buildDate": "N/A",
  "commitDate": "N/A",
  "compiler": "gc",
  "gitCommit": "N/A",
  "goVersion": "go1.19",
  "platform": "linux/amd64",
  "version": "0.145.4"
}

  │ A new release is available: 0.145.4 → v0.146.0
  │ https://github.com/helmfile/helmfile/releases/tag/v0.146.0

@mumoshu set HELMFILE_UPGRADE_NOTICE_DISABLED to any not empty value to disable upgrade notice behavior.

@mumoshu fix the ci error. done.


Nightly bug?

latest nightly appears like this, any way to fix :)? I know I shouldnt be using nightly with this skin but still ^^

Do you have svg.context-properties.content.enabled set to true?

Do you have svg.context-properties.content.enabled set to true?

thanks a lot, it was false , fixed it by turning it on :D thanks!

No problemo!


Markdown complete checkmark behavior

When adding markdown, then code, then markdown, then code, sometimes the "complete" checkmark to save the markdown shows up on what looks like "mouse out" and sometimes when the focus changed (which requires a click, or many). I'm wondering if we should explore using "mouseout", or even adding a cmd+enter keyboard shortcut to save it without a click.
Either way it should be consistent.
You can see what I mean here: https://runme.dev/examples/hello-world.gif

The way this works is part of the VS Code Notebook APIs. If it's broken we should file a ticket against https://github.com/microsoft/vscode. For the keyboard shortcuts, both shft+enter (alternative is ESC) and option+enter (insert empty cell after currrent) will do what the requested cmd+enter does.


And 3725 implement missed call notification and relavant event

In this PR, we have implemented both the feature of missed call notification and related events & disconnect incoming call from notification and full screen.
Attached both the tickets here,
https://phonecom.atlassian.net/browse/AND-3725
https://phonecom.atlassian.net/browse/AND-3726

@SirSaunders @dheerajkatarya No action required. Just added, so you can get the updates on current progress.