[Getting Started with Sass] Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit

How can we reproduce this bug?
Downloading the project template...
Done downloading!
Installing dependencies...
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:12720) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
What did you expect to happen?
When I run "foundation new --framework emails", after I type the project name and hit the enter key, it start to installing the dependencies, and it gives me a lot of warnings.
How Can I fix it?

I get the same error. Any ideas on how to fix?

+1!

Same issue - clean install Mac OS Sierra, clean install Node.js 4.5

Me too

+1 !

I get it too :/

Workaround:

Navigate into the project folder.
Run foundation watch.
Look at the error messages. I got an error saying Error: Cannot find module 'source-map'.
Run an npm install for each error. In my case npm install source-map.
Run foundation watch.
Everything should be working fine :)

Thanks @Stadly, but after using foundation watch, i now see that i have some external modules not loading
[15:27:25] Failed to load external module babel-register
[15:27:25] Failed to load external module babel-core/register
[15:27:25] Failed to load external module babel/register
I have tried to install babel several times, using this install command:
npm install babel-register babel-preset-es2015
as well as a couple others, but i still get this same error with missing external modules.
any ideas?

I've got no idea, @minnaert. Sorry.

I needed to properly clone the emails template.
after running this:
git clone https://github.com/zurb/foundation-emails-template project
cd project
npm install
found here:
https://github.com/zurb/foundation-emails
into a new project, I was able to run & build successfully.

Try updating your Node.js version.

Closing as this is only an issue with Node and specific libraries and a too low setting for the listeners on systems. Warnings cna be often ignored and this is a warning thrown by Node itself.


加载页面太慢了

Describe the solution you'd like
加载页面太慢了
Type of feature
User Interface (UI)
Additional context
加载页面太慢了

If you want to solve the problem, create a issue that includes some useful information.


NativeFunctionInvocationFixer - Don't consider imported functions global

This PR fixes #3051 by making sure that FunctionsAnalyzer::isGlobalFunctionCall() only returns true if the function name isn't imported using use function.
Running NamespaceUsesAnalyzer::getDeclarationsFromTokens() on the same set of tokens over and over again (in for example NativeFunctionInvocationFixer, where FunctionsAnalyzer::isGlobalFunctionCall() is called within a loop) feels suboptimal, but not sure what a better solution would be.

Thanks @jyggen for all the work!
I made a different fix https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4846 as such I'm closing this one, thanks again!


Is it possible to use it in linux?

Probably using wine. WHich parts of code are windows specific?

I tested Vliv on Wine for MacOSX and it worked. Should also work on Linux.
Almost every line of code is Win32 specific, in fact it has been written as an exercise in Win32 pure C coding ;-).
The principle behind Vliv (only load parts of the image that is visible, and leverage the TIFF format - tiled pyramidal images) can be implemented on any OS. The API for plugins consists only of 5 functions, see the vlivplugins repo for examples.


very simple highlighter.c does not transpile

See these two files, which are mostly pure and simple C operating on string slices:
https://git.zx2c4.com/WireGuard/plain/contrib/examples/highlighter/highlighter.c
https://git.zx2c4.com/WireGuard/plain/contrib/examples/highlighter/highlighter.h
c2go becomes upset:
$ ~/.go/bin/c2go transpile highlighter.c
panic: could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)> '(?P<type>.*?)'(:'(?P<type2>.*)')?(?P<lvalue> lvalue)?(?P<prefix> prefix)?(?P<postfix> postfix)? '(?P<operator>.*?)'[\s]*$
0x556f22e8c470 <col:28, col:29> 'struct highlight_span_array *' prefix '&' cannot overflow

goroutine 60 [running]:
github.com/elliotchance/c2go/ast.groupsFromRegex(0xc00026ec60, 0xa6, 0xc0003d7cd2, 0x5a, 0x6981f8)
        /home/zx2c4/.go/src/github.com/elliotchance/c2go/ast/ast.go:286 +0x379
github.com/elliotchance/c2go/ast.parseUnaryOperator(0xc0003d7cd2, 0x5a, 0x69dd5a)
        /home/zx2c4/.go/src/github.com/elliotchance/c2go/ast/unary_operator.go:16 +0x62
github.com/elliotchance/c2go/ast.Parse(0xc0003d7cc4, 0x68, 0x699766, 0x5)
        /home/zx2c4/.go/src/github.com/elliotchance/c2go/ast/ast.go:246 +0x2350
main.convertLinesToNodes(0xc00031ed70, 0x186, 0x186, 0x0, 0x0, 0x0)
        /home/zx2c4/.go/src/github.com/elliotchance/c2go/main.go:89 +0x1d8
main.convertLinesToNodesParallel.func1.2(0xc0001ca300, 0xc00019c000, 0xc00031ed70, 0x186, 0x186, 0x0)
        /home/zx2c4/.go/src/github.com/elliotchance/c2go/main.go:121 +0x59
created by main.convertLinesToNodesParallel.func1
        /home/zx2c4/.go/src/github.com/elliotchance/c2go/main.go:119 +0x1a6

You will need to modify the regex that handles the parsing of a unary operator: https://github.com/elliotchance/c2go/blob/master/ast/unary_operator.go#L15-L36
You must use your panic as a test case, like this: https://github.com/elliotchance/c2go/blob/master/ast/unary_operator_test.go#L39-L48
The panic is caused by the fact that the clang AST is interpreted as text. So every so often we come across a formatted AST node that doesn't fit the regex.

Please try https://github.com/Konstantin8105/c4go


Fix for two variable clique (k2) embedding

Fixes #222

Codecov Report

Merging #223 into master will decrease coverage by 2.93%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
- Coverage   94.68%   91.74%   -2.94%
==========================================
  Files          18       18
  Lines         715      715
==========================================
- Hits          677      656      -21
- Misses         38       59      +21

Impacted Files
Coverage Δ

dwave/system/samplers/dwave_sampler.py
64.35% <0%> (-18.82%)
:arrow_down:

dwave/system/composites/embedding.py
96.4% <0%> (-1.44%)
:arrow_down:

Continue to review full report at Codecov.

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


License inquiry

Hi,
Great work on the POC! Can you please provide the license detail of the POC code? I was planning on using the POC code for college project and educational purposes. I wanted to check if the license is open source and if I am allowed to use it.
Thanks

Hi @iam-alex, added a license, good luck in your project.


i dont know how to inject it help

i tried many times and i couldnt

What did you tried yet?
You should download the compiled .rar, extract it to a folder and open the ".exe" app. Just press Start and the program will automatically be injected.

Extract the injector and the dll from the archive, disable your antivirus, run the injector, clik start in the injector, go into the game.


Extra channel permissions

Adds in some extra permission checks in deactivate, activate, and push. Fixes https://github.com/Chattahooligans/hooligan-hymnal-app/issues/70.

already included in #73


lineSplit regex splits on \r AND \n, will not do what you expect

https://github.com/Jasonnn331/line-numbers.js/blob/6e5e56ca757d4884b130bbca0c528f7f1c5aa209/src/line-numbers.js#L5
This regex splits on \r and on \n instead of intended \r\n.
let y = "\r\n\r\n";
y.split(/\r|\n|\r\n/); // ["", "", "", "", ""]

maybe use something like /\r?\n/|\r.

Very appreciate!
That's my negligence indeed! 😁


[iOS-Wallet-App] Verifiable Credential with Matching KID But Wrong Public Key Data Gets Saved in Wallet

Describe the bug
A verifiable credential (see attached file) with matching KID but wrong public key data could be saved in the wallet app  despite the wrong public key data (invalid signature).
Expected behaviour
The app should recognize the invalidity of the signature and deny saving the credential due to invalid signature.
Technical details
Wallet App Hash 1.3.3(4)

05.05.2022: Retest with iOS Wallet 1.3.3(7) not successful. Actual Result: "Barcode-Fehler".

Prio will be reduced in agreement with project-mgmt, because thid unexpected clamiing of this wrong Credential feature is only displayed in the app of the one's user and has no further impact  The most important thing is that It is not accepted as expected by the Verifier App.

tvt, 11.05.2022: Retest successfully carried out together with Hendrik.


CTRL+SHIFT+W close all panes when in pane zoom mode

Windows Terminal version
1.22.240823002-preview
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce

Expected Behavior
only close currren pane just like without pane zoom mode
Actual Behavior
close all panes and quit program

Perhaps a more accurate description is: when there are multiple panes, entering pane zoom mode and closing the current pane will cause the program to crash and exit


CVEs fixes

Change description
CVEs fix
Does this PR introduce a breaking change? (check one with "x")
[X] Yes
[ ] No

Leaving as a note, please do not merge in until 3rd of Jan due to code freeze. Should also be revisited just to see if the suppressions can be removed if a newer library version is available


[Feature][Qdrant] Support qdrant connector source/sink

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Currently, we already support the milvus connector, would anyone like to add support for qdrant?
reference
https://github.com/qdrant/qdrant
https://github.com/qdrant/java-client
milvus connector pr
https://github.com/apache/seatunnel/pull/7158
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey!
I'll be trying to implement this.


Settings translation with i18n

Made settings translation ready
Added spanish translation
Missing dropdown translations
First step in solving https://github.com/DFreds/dfreds-convenient-effects/issues/15

I had translated the strings for default status effects on the settings file, it didn't break anything, but wasn't sure about it.
Didn't erase the translation for said strings just in case..
Also, screencap

Fixed some bugs (I dislike js) and finished the dropdown options translation for spanish

Added as comments the changes to the handlebars I don't know how to make those changes properly, the string were kept

Looks like adding the localize helper is really the only thing. Again, awesome stuff.
If you could update with the latest from develop and resolve any merge conflicts, I can review those and then we can get it merged.

I don't see any develop branch, and only the main one is active, do you mean v4.1.1? It's hidden to me

Ah, I said develop but I meant main, my fault. Yes, update with main.

Out of date... Not inherently wrong, just out of my scope to fix at the moment


Python 3 support

Is there a reason why Python 3 is not supported?

And would you be open to pull requests to add Python 3 support?

@bmwilly : The only reason Python 3 isn't currently supported is that we haven't gotten around to implementing it yet.
@brendanlong : Sure, send us your pull requests!

For those who are looking for a Python 3 version of titus, I have created a fork -
https://github.com/animator/hadrian
It is still in experimental stages and I will update on this thread when it is stable.

Is this repository still actively maintained? I have a mostly-working version of titus that adds Python 3 support (I estimate the work is ~80% done). Is there any interest in a PR?

hi @tyarkoni .. I have updated the repository link above.  It is a working (~ 80%-90% ) version of titus Python 3 implemention .. I was busy with another project so couldn't finish the port. I am open to collaborate (on your source or mine or a combined version, we can discuss ) to speed up the process. Please let me know.

Attached test log of the port (still not release ready).
Unit Test Report.pdf

Oh, hah—I assumed you'd abandoned your effort since the link was broken. Should have dug a little further; it would probably have saved me some work. :)
It looks like your port is farther along than mine (see fork here). I still have about 130 tests failing, , though it seems like we have the same pain points left (notably, the Tree and Regex functionality). I haven't compared the code bases in any detail; have you done any major refactoring or optimization, or is it pretty much a direct port? In my case I've made as few changes possible to get things working (with the exception of renaming all the test modules to ensure compatibility with PEP8 and py.test).
I guess the only potential benefit I can see to my approach is that I've tried to maintain 2/3 compatibility in the same codebase (the Python 2 tests are nearly all passing, and I'm slowly fixing the Python 3 failures). I think if the maintainers here have any interest in keeping this repo alive, it would be nice to support both versions going forward. But if this is basically abandonware at this point, then I'd definitely support dropping Python 2 support and working from your port.

It looks like your port is farther along than mine (see fork here). I still have about 130 tests failing, , though it seems like we have the same pain points left (notably, the Tree and Regex functionality). I haven't compared the code bases in any detail; have you done any major refactoring or optimization, or is it pretty much a direct port? In my case I've made as few changes possible to get things working (with the exception of renaming all the test modules to ensure compatibility with PEP8 and py.test).

Tree is the only major pain point left. The tests are run on a Windows environment so Regex is failing, it will work perfectly fine on Linux machine. I have also tried making few changes along the way and just made 1 major change [Read below].

I guess the only potential benefit I can see to my approach is that I've tried to maintain 2/3 compatibility in the same codebase (the Python 2 tests are nearly all passing, and I'm slowly fixing the Python 3 failures). I think if the maintainers here have any interest in keeping this repo alive, it would be nice to support both versions going forward. But if this is basically abandonware at this point, then I'd definitely support dropping Python 2 support and working from your port.

My port is a pure Python 3 port with no back compatibility as Python 2 is near the end of its lifecycle. To ensure proper Python 3 compatibility, I moved my code to use avro-python3. They have made some changes in the avro code which I had to incorporate in my port.

@animator sounds good, let's move forward with your port. Do you have a list of remaining action items? I can try to help out. (FWIW, I have a fairly specific use case in mind that doesn't include most of the currently failing tests, so getting to 100% isn't that critical, from my perspective).
I'll close my PR here and open an issue for discussion on your repo.

I'm happy to close this issue out so that you all can track your progress elsewhere. I no longer use PFA and it's clear that it is no longer actively maintained.

@tyarkoni please go ahead and open up an issue on my repo. We can discuss and create a plan.
@bmwilly thanks for creating this issue thread, please go ahead and close this issue.

@bmwilly thanks for the update. Out of curiosity, have you found an alternative/better standard or open-source tool that meets the same need, or are you just not working in this space any more? I ask because I'm not wedded to PFA any more and am in principle open to exploring other open-source solutions roughly in the same space (especially if they're actively maintained!).

@tyarkoni I currently use serialized model files (e.g., Pickle) and serverless functions (OpenFaaS) to put models into production.
Unfortunately, I don't think there is a completely comparable alternative to PFA, which is a shame!

Hi everyone,
With the sunset of Python 2 by the end of this year, I am glad to inform that Titus is now fully supported in Python 3.4-3.8.
Please head to this repo - https://github.com/animator/python3-titus
The migrated code is passing all unit tests and conformance tests.
Please don't forget to star the project in case you find it useful.
Cheers,
Ankit


Invite me

Test

Invitation sent for the GitHub Organisation. Welcome to the community

Invitation sent for the GitHub Organisation. Welcome to the community


Login with basic auth using username & password

AFAIK this is not possible now. I think this could be handy for example when using the openshift-rest-client in some nightly tests and especially handy in the case when the cluster is behind SSO (but oc is allowed to authenticate with just username/password).
I would like to try to work on this since I already have a POC working.

released as 1.6.0

Great. Thank you very much.


[Bug report] Incompatability with godlike faces.

If you have godlike faces then legendary and mythical fake rated levels will appear as, well idk.

Also globed featured levels dont have to do with this bug.

Looks like an issue with Godlike Faces itself

It's an issue with GodlikeFaces itself. I forwarded this to Adya, but I haven't gotten a response yet.

Huh, i downladed the update but its still hapening.

Read my comment.


Fixed PascalUnicode length size

Encountered some pascal unicode earlier today and noticed the length type was to small. See https://wiki.freepascal.org/Character_and_string_types#UnicodeString

While you may have run into a 4byte length prefixed pascal string, I don't think it eliminates the need for 2byte length prefixed strings.
I'm also enjoying having the equivalent of "#define TWO 4" with your change :smile:

While you may have run into a 4byte length prefixed pascal string, I don't think it eliminates the need for 2byte length prefixed strings.
I'm also enjoying having the equivalent of "#define TWO 4" with your change :smile:

Yea. I was going to rename this but then I figured it could be interpreted as the length for a two byte character string. The two byte prefixed string should still be there PascalString and only PascalUnicode uses the 2 byte length size.

Not sure I'm parsing your reply correctly, but right now both PascalStringDataType and PascalUnicodeDataType use the StringLayoutEnum.PASCAL_64k.
I'll need to consult with some team mates about if the Unicode's size was wrong or if there is actually a system that has that layout.

Not sure I'm parsing your reply correctly, but right now both PascalStringDataType and PascalUnicodeDataType use the StringLayoutEnum.PASCAL_64k.
I'll need to consult with some team mates about if the Unicode's size was wrong or if there is actually a system that has that layout.

Sounds good. I did the same earlier but never really came to a clear answer until I found that link.

This isn't correct.


Service to create custom mount-points using fsnode

#399  for creating service is not surviving upgrade, even when  org.osbuild.systemd.unit.create is modified to save file in /etc/systemd/system.
Adding service using this methods works as expected, and can be a workaround by the time we investigate the issue and fix it accordingly.

closed as its a work around and we pulled the feature out of 9.4


Resolve Azure Deployment - Investigation

Is this the right issue type?

[x] Yes, I'm planning work for this project team.

Summary
We should have a docker image in our public registry.
As a data partner, I want to deploy Resolve as easy as possible, preferably in one click.
We need infrastructure as code (Bicep) to describe this process.
Investigate best way to deploy docker image on azure.
Time spent no more than half a day.
Acceptance Criteria

[ ] Decide on how/where to deploy the Resolve image

Tasks

[ ] Investigate best way to deploy docker image on azure.
[ ] Options: Container Instances, Container Apps, Appservice, WebJobs

Confirm creation

[x] This issue is ready

Not Azure Web Jobs (not for docker)
Not Azure Container Instances (not for long running)
Not Azure app service (don't need http)
Azure Container Apps:
https://learn.microsoft.com/en-us/azure/container-apps/overview
_There are two types of compute resources in Azure Container Apps: apps and jobs.
Apps are services that run continuously. If a container in an app fails, it restarts automatically. Examples of apps include HTTP APIs, web apps, and background services that continuously process input._


AO dtype composability tracker

As we start onboarding more dtypes we ideally want them to work in as many different situations as possible so opening this tracker and will update the table as things change. If I should be adding more columns or rows or if there's any cells you disagree with please let me know!
The columns can also compose with each other but to be explicit

training with FSDP2 should compose with low bit optimizers
Inference quantization and KV cache quantization should compose

And sparsity IIUC only works with in8 inference quantization right now

Dtype
Training with FSDP2
Inference
Optimizer
QAT
KV cache
Notes

Int8
Experimental
Yes
Yes
Yes
Yes

Int4
No
Yes
Yes
Yes
No

Fp8
Yes
Yes
Yes
Not needed
No

NF4
Yes
Experimental
No
In progress
No
Does not use quantize api

fp6
No
Yes
No
No
No

UintX/Fpx
In progress
Yes
No
No
No
Still requires more performance work

MX: fp8/6/4 with scales
Yes
Yes
No
Not needed because we can compute in this dtype
No
Pending release of B100 gpus for acceleration

Autoquant
N/A
Yes
N/A
N/A
N/A
Supports int8/4. Fp8 coming next

Small correction. 8-bit and 4-bit optimizers are not exactly INT8 and INT4. They are LUT-based quantization, where the LUT values are defined by Timm Dettmer's "dynamic tree quantization" scheme. (to be even more specific, the 2nd buffer of INT4 optimizer actually uses affine quantization).


Class 'Form' not found

Hi, I try to use class Form in laravelcollective/html package. But it seems doesn't work.
I have this error Class 'Form' not found.
Can you give me a hand.
My code is simple like this :
{!! Form::select('category_ids[]', $categories, $category_ids, [                             'class'=>'form-control select2',                             'id'   => 'category_ids',                             'required' => true,                             'multiple' => true,                             ] ) !!}
PHP 7
Laravel version 5.4
laravel-modules v3

hello,
This is not related to this package. Please refer to the package or laravel documentation.


Is it possible to switch / select a profile?

Hey all,
I started to use the library to enhance the usability of an application and it already feels pretty good!
To optimize it even more: Is there a way to detect which profile is currently displayed or to switch to another profile? I want to switch to an empty profile to avoid conflicts with existing buttons when it starts up, and go back to the default profile when the application is shutting down. Is this possible?

I think you have misunderstood how this library works and is supposed to be used.
The elgato application should not be running at the same time as using this library, as otherwise there will be conflicts as we access the usb device directly.
As such there is no knowledge, awareness or control of any 'profiles'

I have interpreted the sentences "please note that node-elgato-stream-deck is NOT a standalone application. It is not something you download and run on its own. It is not an alternative to the official Stream Deck program provided by Elgato." to mean that the elgato software must run in the background to operate. But thanks for clarification.


Remove redundant windows toolchain registrations in WORKSPACE

These are for building with RBE windows and are registered via --extra_execution_platforms and --extra_toolchains in windows.bazelrc. So no need to include them in WORKSPACE.
Fixes https://github.com/grpc/grpc/issues/27470.
https://github.com/grpc/grpc/blob/f57a1f7d8cd6371dec57016dd69720b7ace732a8/tools/remote_build/windows.bazelrc#L10-L12

LGTM


Validate DB in Pro

Does not validate:
Validate Database
Parameters
Input geodatabase or geopackage     D:_COVID_SAFSOC_Dudash\PMF\GISdata\ProSunfairDB.gdb
Output workspace     D:_COVID_SAFSOC_Dudash\PMF\GISdata\ValidateGDB
Validate standalone file
Validate embedded metadata
Report errors with _ID, not OBJECTID     false
Skip topology checks     false
Refresh GeoMaterialDict     true
Delete unused Glossary and DataSources rows     true
Compact GDB     true
Open report when done     true
Messages
Start Time: Friday, September 29, 2023 9:14:15 AM
This version of the tool is up to date: GeMS_ValidateDatabase.py, version of 9/28/2023
Refreshing GeoMaterialDict
Replacing GeoMaterial domain
Assigning domain to GeoMaterial

Looking at level 2 compliance
Rule 2.1 - Has required elements: nonspatial tables DataSources,
DescriptionOfMapUnits, GeoMaterialDict; feature dataset GeologicMap with
feature classes ContactsAndFaults and MapUnitPolys
Rule 2.2 - Required fields within required elements are present and correctly defined
2.3 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 2 topology rules:
no internal gaps or overlaps in MapUnitPolys, boundaries of MapUnitPolys are covered by ContactsAndFaults
Topology in GeologicMap found
Looking at validation results for errors
2.4 All map units in MapUnitPolys have entries in DescriptionOfMapUnits table
2.5 No duplicate MapUnit values in DescriptionOfMapUnits table
2.6 Certain field values within required elements have entries in Glossary table
2.7 No duplicate Term values in Glossary table
2.8 All xxxSourceID values in required elements have entries in DataSources table
2.9 No duplicate DataSources_ID values in DataSources table

Looking at level 3 compliance
3.1 Table and field definitions conform to GeMS schema
3.2 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 3 topology rules:
no overlaps, self-overlaps, or self-intersections in ContactsAndFaults.
3.3 No missing required values
3.4 No missing terms in Glossary
3.5 No unnecessary terms in Glossary
Removing unused terms from Glossary
3.6 No missing sources in DataSources
3.7 No unnecessary sources in DataSources
Removing unused sources from DataSources
3.8 No map units without entries in DescriptionOfMapUnits
3.9 No unnecessary map units in DescriptionOfMapUnits
3.10 HierarchyKey values in DescriptionOfMapUnits are unique and well formed
Traceback (most recent call last):
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.5\Scripts\GeMS_ValidateDatabase.py", line 1710, in
dmu_path = db_dict["DescriptionOfMapUnits"]["catalogPath"]
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.5\Scripts\GeMS_ValidateDatabase.py", line 1630, in main
#     if result[0] == 1:
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.5\Scripts\GeMS_ValidateDatabase.py", line 848, in rule3_10
]
TypeError: 'NoneType' object is not iterable
Failed script Validate Database...
Failed to execute (ValidateDatabase).
Failed at Friday, September 29, 2023 9:14:32 AM (Elapsed Time: 16.98 seconds)

This is another case of the line numbers not making any sense, which suggests that Pro is reading one file but reporting errors against an older, cached file. Try closing Pro completely down and trying again. If the error doesn't go away, hopefully it will at least get reported correctly and I can start to track it down.

I closed down Pro, opened a new map, added my database and tried to validate. This is the error:
Validate Database
Parameters
Input geodatabase or geopackage     D:_COVID_SAFSOC_Dudash\PMF\GISdata\ProSunfairDB.gdb
Output workspace     D:_COVID_SAFSOC_Dudash\PMF\GISdata\ValidateGDB
Validate standalone file
Validate embedded metadata
Report errors with _ID, not OBJECTID     false
Skip topology checks     false
Refresh GeoMaterialDict     false
Delete unused Glossary and DataSources rows     false
Compact GDB     true
Open report when done     true
Messages
Start Time: Friday, September 29, 2023 9:45:21 AM
This version of the tool is up to date: GeMS_ValidateDatabase.py, version of 9/28/2023

Looking at level 2 compliance
Rule 2.1 - Has required elements: nonspatial tables DataSources,
DescriptionOfMapUnits, GeoMaterialDict; feature dataset GeologicMap with
feature classes ContactsAndFaults and MapUnitPolys
Rule 2.2 - Required fields within required elements are present and correctly defined
2.3 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 2 topology rules:
no internal gaps or overlaps in MapUnitPolys, boundaries of MapUnitPolys are covered by ContactsAndFaults
      Topology in GeologicMap found
            Looking at validation results for errors
2.4 All map units in MapUnitPolys have entries in DescriptionOfMapUnits table
2.5 No duplicate MapUnit values in DescriptionOfMapUnits table
2.6 Certain field values within required elements have entries in Glossary table
2.7 No duplicate Term values in Glossary table
2.8 All xxxSourceID values in required elements have entries in DataSources table
2.9 No duplicate DataSources_ID values in DataSources table

Looking at level 3 compliance
3.1 Table and field definitions conform to GeMS schema
3.2 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 3 topology rules:
no overlaps, self-overlaps, or self-intersections in ContactsAndFaults.
3.3 No missing required values
3.4 No missing terms in Glossary
3.5 No unnecessary terms in Glossary
3.6 No missing sources in DataSources
3.7 No unnecessary sources in DataSources
3.8 No map units without entries in DescriptionOfMapUnits
3.9 No unnecessary map units in DescriptionOfMapUnits
3.10 HierarchyKey values in DescriptionOfMapUnits are unique and well formed
Traceback (most recent call last):
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.5\Scripts\GeMS_ValidateDatabase.py", line 1710, in
dmu_path = db_dict["DescriptionOfMapUnits"]["catalogPath"]
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.5\Scripts\GeMS_ValidateDatabase.py", line 1630, in main
#     if result[0] == 1:
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.5\Scripts\GeMS_ValidateDatabase.py", line 848, in rule3_10
]
TypeError: 'NoneType' object is not iterable
Failed script Validate Database...
Failed to execute (ValidateDatabase).
Failed at Friday, September 29, 2023 9:45:27 AM (Elapsed Time: 6.34 seconds)
Stephanie L Dudash
Geologist
US Geological Survey-GMEG Science Ctr
520 N Park Ave, Suite 357
Tucson, AZ 85719
520.670.5514
________________________________
From: Evan Thoms<EMAIL_ADDRESS>Sent: Friday, September 29, 2023 9:41 AM
To: DOI-USGS/gems-tools-pro<EMAIL_ADDRESS>Cc: Dudash, Stephanie L<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [DOI-USGS/gems-tools-pro] Validate DB in Pro (Issue #83)

 This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

This is another case of the line numbers not making any sense, which suggests that Pro is reading one file but reporting errors against an older, cached file. Try closing Pro completely down and trying again. If the error doesn't go away, hopefully it will at least get reported correctly and I can start to track it down.

—
Reply to this email directly, view it on GitHub<https://github.com/DOI-USGS/gems-tools-pro/issues/83#issuecomment-1741193072>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATDGULXJISYG4LA7RLD22VDX4322TANCNFSM6AAAAAA5MWIXIQ>.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hmm, exactly the same.
Try downloading the latest release (v2.12.6)
The edits have nothing to do with this issue, but maybe, again, we'll get line numbers that make sense.
Couldn't hurt to do a full restart as well and clean out any old copies of the toolbox.

Ugh,
I restarted my computer, downloaded the new release, and opened a new Pro template. I think this is the same issue. The tool in ArcMap does work, though and gives me appropriate errors. But, that doesn't solve the bigger issue at hand.
Thanks for all of your hard work addressing all of these issues.
Cheers,
Stephanie
Validate Database
Parameters
Input geodatabase or geopackage     D:_COVID_SAFSOC_Dudash\PMF\GISdata\ProSunfairDB.gdb
Output workspace     D:_COVID_SAFSOC_Dudash\PMF\GISdata\ValidateGDB
Validate standalone file
Validate embedded metadata
Report errors with _ID, not OBJECTID     false
Skip topology checks     false
Refresh GeoMaterialDict     false
Delete unused Glossary and DataSources rows     false
Compact GDB     true
Open report when done     true
Messages
Start Time: Friday, September 29, 2023 12:46:19 PM
This version of the tool is up to date: GeMS_ValidateDatabase.py, version of 9/28/2023

Looking at level 2 compliance
Rule 2.1 - Has required elements: nonspatial tables DataSources,
DescriptionOfMapUnits, GeoMaterialDict; feature dataset GeologicMap with
feature classes ContactsAndFaults and MapUnitPolys
Rule 2.2 - Required fields within required elements are present and correctly defined
2.3 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 2 topology rules:
no internal gaps or overlaps in MapUnitPolys, boundaries of MapUnitPolys are covered by ContactsAndFaults
      Topology in GeologicMap found
            Looking at validation results for errors
2.4 All map units in MapUnitPolys have entries in DescriptionOfMapUnits table
2.5 No duplicate MapUnit values in DescriptionOfMapUnits table
2.6 Certain field values within required elements have entries in Glossary table
2.7 No duplicate Term values in Glossary table
2.8 All xxxSourceID values in required elements have entries in DataSources table
2.9 No duplicate DataSources_ID values in DataSources table

Looking at level 3 compliance
3.1 Table and field definitions conform to GeMS schema
3.2 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 3 topology rules:
no overlaps, self-overlaps, or self-intersections in ContactsAndFaults.
3.3 No missing required values
3.4 No missing terms in Glossary
3.5 No unnecessary terms in Glossary
3.6 No missing sources in DataSources
3.7 No unnecessary sources in DataSources
3.8 No map units without entries in DescriptionOfMapUnits
3.9 No unnecessary map units in DescriptionOfMapUnits
3.10 HierarchyKey values in DescriptionOfMapUnits are unique and well formed
Traceback (most recent call last):
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.6\Scripts\GeMS_ValidateDatabase.py", line 1710, in
if "DescriptionOfMapUnits" in db_dict:
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.6\Scripts\GeMS_ValidateDatabase.py", line 1630, in main
#     result = arcpy.GetCount_management(ver_table)
File "D:\GeMS\LatestGeMSTools\20230929\gems-tools-pro-2.12.6\Scripts\GeMS_ValidateDatabase.py", line 848, in rule3_10
"UnusedTerms",
TypeError: 'NoneType' object is not iterable
Failed script Validate Database...
Failed to execute (ValidateDatabase).
Failed at Friday, September 29, 2023 12:46:26 PM (Elapsed Time: 6.54 seconds)
Stephanie L Dudash
Geologist
US Geological Survey-GMEG Science Ctr
520 N Park Ave, Suite 357
Tucson, AZ 85719
520.670.5514
________________________________
From: Evan Thoms<EMAIL_ADDRESS>Sent: Friday, September 29, 2023 12:38 PM
To: DOI-USGS/gems-tools-pro<EMAIL_ADDRESS>Cc: Dudash, Stephanie L<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [DOI-USGS/gems-tools-pro] Validate DB in Pro (Issue #83)

 This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

Hmm, exactly the same.
Try downloading the latest release (v2.12.6)<https://github.com/DOI-USGS/gems-tools-pro/releases/tag/v2.12.6>
The edits have nothing to do with this issue, but maybe, again, we'll get line numbers that make sense.
Couldn't hurt to do a full restart as well and clean out any old copies of the toolbox.

—
Reply to this email directly, view it on GitHub<https://github.com/DOI-USGS/gems-tools-pro/issues/83#issuecomment-1741393810>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATDGULTF452RTBEJMHW7AKTX44PSRANCNFSM6AAAAAA5MWIXIQ>.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Yeah, darn. Can you send me your gdb?

Well, this is interesting. I just tried to validate my database on my home laptop, and it worked fine. It returned the same errors as when I validated in ArcMap, so that's good. I'm not sure why my desktop would fail to run the script in a brand-new Pro project, even after restarting my computer.
Cheers,
Stephanie
Stephanie L Dudash
Geologist
US Geological Survey-GMEG Science Ctr
520 N Park Ave, Suite 357
Tucson, AZ 85719
520.670.5514
________________________________
From: Evan Thoms<EMAIL_ADDRESS>Sent: Saturday, September 30, 2023 10:59 AM
To: DOI-USGS/gems-tools-pro<EMAIL_ADDRESS>Cc: Dudash, Stephanie L<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [DOI-USGS/gems-tools-pro] Validate DB in Pro (Issue #83)

 This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

Yeah, darn. Can you send me your gdb?

—
Reply to this email directly, view it on GitHub<https://github.com/DOI-USGS/gems-tools-pro/issues/83#issuecomment-1741825710>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATDGULQOWLUJYCR44HZEZILX5BMYHANCNFSM6AAAAAA5MWIXIQ>.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Outdated README.md

I would like to fix it tested with both Visual Studio 2013 and Visual Studio 2015  , so you can use both of them or any of them
The easy fix would be to just delete the year and leave it as Visual Studio "You need to have Visual Studio installed"

If it works with either 2013 or 2015 then rather state
"In order to run the example you need to have Visual Studio 2013 / 2015 installed."
Just saying Visual Studio is way too broad.

Okay .


Are there any plans to develop a skywalking-go plugin to connect to the skywalking system?

skywalking support auto-instrument agent in Golang now, And supports plugin mechanism to support various third-party frameworks.
The following RPC Frameworks plugins provide the distributed tracing capability:
kratosv2,microv4,dubbo,grpc.
Are there any plans to develop a go-zero plugin to connect to the skywalking system?
SkyWalking Go: The Golang auto-instrument Agent for Apache SkyWalking, which provides the native tracing/metrics/logging abilities for Golang projects.  Plugin Development Guide
Thank you.

Not yet, but would you please contribute this kind of plugin? Thanks!

Not yet, but would you please contribute this kind of plugin? Thanks!

ok, We are already developing, and wish contribute asap after completely test.

现在开发怎么样了？skywalking可以接入了吗？有源码教程吗？


build log watching doesn't work with FMP 3.5.30 and OpenShift 3.6

Description
Doing mvn clean fabric8:deploy against OpenShift 3.6 (tried both with remote OCP 3.6 cluster and local oc cluster up), using FMP 3.5.30. (Using this app https://github.com/Ladicek/rourka/ but not sure if that's relevant).
It all works fine, but the build log isn't showed. When I attached a debugger to the Maven process, it seems OpenshiftBuildService.startBuild only returns after the build finishes, and then obviously waitForOpenShiftBuildToComplete doesn't log anything, because the build is already complete.
Info

f-m-p version : 3.5.30
Maven version (mvn -v) :

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: /home/lthon/software/apache-maven
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: cs_CZ, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-94-generic", arch: "amd64", family: "unix"

Kubernetes / OpenShift setup and version : OpenShift 3.6 (both actual OCP 3.6 cluster and local oc cluster up)
If it's a bug, how to reproduce : run mvn clean fabric8:deploy and watch if the build log is showed
Sample project : https://github.com/Ladicek/rourka/

fixed now fabric8io/kubernetes-client#883
F-M-P 3.5.33


Changing Source File Folder changes empty Additional Add In Path and Settings File variable value to $(build.SourcesDirectory)

VSTS Extension you are using
StyleCop
Where are you running it?
on-premise TFS 2015 Version 14.102.25423.0
Version of Extension/Task
1.9.4
Expected behavior and actual behavior
Expected behavior:
Extenting the Source File Folder Variable from $(build.SourcesDirectory) to $(build.SourcesDirectory)$(My.localPath)\Src should not affect empty additionalAddInPath and settingsFile variables.
Actual behavior:
additionalAddInPath and settingsFile variable get set to $(build.SourcesDirectory) causing all tests to break, because there is no ruleset there.
Log excerpt:
2017-04-03T11:27:19.3500415Z VERBOSE: Importing function 'Invoke-StyleCopForFolderStructure'.
2017-04-03T11:27:19.3657406Z VERBOSE: Source folder [C:_work\20\s\QA_Test\Src]
2017-04-03T11:27:19.3657406Z VERBOSE: Logging folder [C:_work\20\TestResults\StyleCop]
2017-04-03T11:27:19.3657406Z VERBOSE: Treat violations as warnings [false]
2017-04-03T11:27:19.3657406Z VERBOSE: Max violations count [1000]
2017-04-03T11:27:19.3657406Z VERBOSE: Show Output [false]
2017-04-03T11:27:19.3657406Z VERBOSE: Cache Results [false]
2017-04-03T11:27:19.3812376Z VERBOSE: Force Full Analysis [true]
2017-04-03T11:27:19.3812376Z VERBOSE: Addition Add-In path [C:_work\20\s]
2017-04-03T11:27:19.3812376Z VERBOSE: SettingsFile [C:_work\20\s]
2017-04-03T11:27:19.3812376Z VERBOSE: Summary FileName [stylecopsummary.md]
2017-04-03T11:27:19.8813664Z VERBOSE: Processing the folder
JSON Excerpt for TFS settings:
"inputs": {
"treatStyleCopViolationsErrorsAsWarnings": "false",
"sourcefolder": "$(build.SourcesDirectory)\$(My.localPath)\Src",
"maximumViolationCount": "1000",
"showOutput": "false",
"cacheResults": "false",
"forceFullAnalysis": "true",
"additionalAddInPath": "",
"settingsFile": "",
"loggingfolder": "$(COMMON_TESTRESULTSDIRECTORY)\StyleCop",
"summaryFileName": "stylecopsummary.md"
}
Steps to reproduce the problem
As mentioned: Extend Source File Folder variable by $(My.localPath)\Src whereas $(My.localPath) is set to be a directory name that exists for the build.

Sounds like a bug to me, I will have a look when I get a chance, might be a few days though. Happy to accept pull requests if you have a fix

As far as my time allowed me to analyse the problem, I might have found the cause.
TFS always passes the content of the $(build.SourcesDirectory) as value for your $additionalAddInPath and $settingsFile variables.
Your StyleCop.psm1 file however nullifies these values in the block from line 73 to 80, as long as the value of $sourcefolder is equal to the value of $additionalAddInPath and/or $settingsFile.
When I change the value for the source folder to go beyond **\s it no longer equals these values. Therefore the values are set incorrectly.
I sadly do not have time to pull and fix this issue, since it also might require a bit of testing. And I also do not know, why TFS is passing the $(build.SourcesDirectory) value to the two affected variables that should be empty according to our settings.
Best Regards
Joerg
PS: To fix the issue for my department I did however change line 119 in the StyleCop.psm1 file. It now does not only search in the source folder for the first occurrence of the settings.stylecop file.
I have set it to search for the solution file and then on that level for a solution wide settings.stylecop file: $settings = Join-Path -path (Get-ChildItem $sourcefolder -Filter *.sln -Recurse).Directory -childpath "settings.stylecop"
Von: Richard Fennell<EMAIL_ADDRESS>Gesendet: Montag, 3. April 2017 17:52
An: rfennell/vNextBuild
Cc: Jörg Plödereder; Author
Betreff: Re: [rfennell/vNextBuild] Changing Source File Folder changes empty Additional Add In Path and Settings File variable value to $(build.SourcesDirectory) (#104)
Sounds like a bug to me, I will have a look when I get a chance, might be a few days though. Happy to accept pull requests if you have a fix
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/rfennell/vNextBuild/issues/104#issuecomment-291180657, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVn8VfhCPQ6J_tPtmB5Iysb_xfZfFPyiks5rsRGzgaJpZM4MxiFN.
Jörg Plödereder
Dipl.-Inf.
Business Unit Systems
Development
[http://asset.balluff.com/std.lang.all/jpeg-converted/E-Mail-Footer_Vertrieb_Logo.jpg]
Balluff GmbH · Schurwaldstrasse 9 · 73765 Neuhausen a.d.F. · Germany
Phone +49 7158 173-315 · Fax +49 7158 173-962 · joerg.ploedereder<EMAIL_ADDRESS>· www.balluff.comhttp://www.balluff.com
Place of incorporation/Sitz der Gesellschaft: Neuhausen a.d.F., Germany · Register court/Registergericht: Amtsgericht Stuttgart, Germany
Trade register/Handelsregister: HRB 214038 · Managing directors/Geschäftsführer: Michael Unger, Katrin Stegmaier-Hermle, Florian Hermle
Chairman board of directors/Vorsitzender des Aufsichtsrats: Dr. Wolf Münstermann · VAT ID/USt-ID: DE213 402 337
[http://asset.balluff.com/std.lang.all/jpeg-converted/E-Mail-Footer_Vertrieb_Claim.jpg]

Thanks for the really detailed repo, I will look into it

Have a look at 1.10.3 It uses you logic with an extra check in case multiple sln files are found in the search


Unable to train Burmese tokenizer for training_size = 100,000

Have you been able to replicate this? I've had it happen before, but just trying again later went much faster and finished quickly.

I've had it happen before, but just trying again later went much faster and finished quickly.
Which language was this? I am debugging it right now, and have been able to replicate this bug consistently.

This was with Thai. I’ll try with Burmese

Thanks Hailey! Yeap it's memory issue.


Skip validation if variables used for between threshold

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Jarosław Załucki seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

License/CLA problem branch recreated SAS-2427/between-threshold-error-with-variables-


Targetting Haswell only makes sense on CI

haswell is specified instead of native for testing with and without AVX512F.

Pull Request Test Coverage Report for Build 634661350

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.558%

Totals

Change from base Build 634635784:
0.0%

Covered Lines:
1957

Relevant Lines:
1982

💛  - Coveralls


Implement navbar toggle and responsive adjustments

Description

What does this PR do?
Adds an icon near the header title to toggle the visibility of the navbar.
Ensures content area adjusts dynamically for either a wider view or a visible navbar.

Breaking changes
Now, since we added new features for UI and make it responsive, I have placed an icon near the current header title that toggles the navbar visibility. When implementing issue #259 (Responsive Layout), which includes a new title and description, the icon should be positioned near the new title.
Code review focus

Dependencies

Checks

[ ] Summary updated
[ ] Version view updated
[ ] Documentation added
[ ] Tests added
[ ] E2e tests created
[ ] Successfully ran e2e tests before merge

closes GH-

Just realized: When editing a DMP, the bottom bar is not fixed anymore. A user has to scroll all the way down to interact with the buttons to save changes, new version and export

Which browser do you use for testing? As shown on my video above i do not have the issue?

I am encountering the same issues as David, i am using Chrome 127.0.6533.120.

Seems like there is an extra scrollbar now - careless scrolling can lead to this:

I also notice that the divider here is missing now:

The logo moved up a little, was this intentional?

I noticed that on the mobile version, it becomes impossible to switch languages.
As for the design as a whole, i think just the icons for the mobile version should suffice, i also enjoy the new icon choices.

Hey, i think it is unnecessary to show the menu icon on mobile, since it can be clicked anyways.

And i know that aligning icons is annoying, but is it maybe possible align the icons on mobile, since on desktop these are aligned.


I know it's crazy, maybe UnoCSS support?

🙈🤪

You can extend an UnoCSS preset to solve this issue. I would start with the Tailwind one. It's actually fairly easy! Just a lot of regexp.
I'm not sure if someone wants to update the @unocss/preset-tailwind package but that's where I'd start.

Thanks for the input @JessicaSachs ! I believe shadcn-vue would be a good reference point for testing out edge-case which was not included in the preset package, since there's quite many components, and some with weird class 😁
Other than the syntax, there's also some tweak needed to be done when initiating the project. Instead of tailwind.config.js and tw plugins, it should import unocss.config.ts.

Uno automatically looks for a tailwind config btw and iirc they merge them

I'm interested in this, but maybe I need more time to do this.

Will be watching eagerly!!! Huge win for Vue ecosystem if we can get compatibility. A lot of Vue uses Uno because of @antfu7 influence

I wrote up some steps in my Discord for someone looking for something to work on, but I'm not sure if he's got interest or bandwidth to work on it. I figured I'd post it publicly.
Actual
The examples inside of the radix-vue documentation don't work because of lack of support for a lot of the more complex TailwindCSS / for opacity, group-hover-data or as UnoCSS would do group:hover:data-.

There's examples in the Accordion that I want to work with unocss.config.js files, not just tailwind.config.js files, since UnoCSS is basically a more extendable Tailwind compiler.
In the [radix-vue](radix-vue.com) docs, they assume you're using Tailwind and give you the correct tailwind config to make it happen.

I'd love it if Uno supported this in their main preset.
Issue

When you plug these examples into UnoCSS, they don't style correctly. UnoCSS's default preset attempts to be a superset of Tailwind, so it seems like fixing these issues is in-scope.

The default preset attempts to be compatible with Tailwind always, but it seems they're a little behind!
Whoever picks this up should look at the more complex rules inside of the radix-vue link I linked above and make sure that all of the more advanced syntax used is supported.

Solution
This can be accomplished by extending the UnoCSS variants using Regexp.
Development Approach
Whoever picks this up can iterate quickly in two ways:

Without downloading any packages by writing code inline in the Playground

Playground link
Here's how to extend variants. This is how they supported hover:bg-red-500.
For an example: here is the PR in which they began supporting group-data- variant.
However UnoCSS's preset is missing some more variants that are present inside of the radix-vue package. For example, the hover:group:data- variant is missing.

Scope + Benefit
This will help all users of UnoCSS, which is not limited to Vue users!
Issue Tracking
Arguable, this issue could be moved into the UnoCSS repository.

Yeah. I am working on unocss-preset-shadcn to support vue-shadcn. Just test button & accordion. It works well.
Check: https://github.com/fisand/unocss-preset-shadcn/blob/main/vue-shadcn/App.vue

现在我已有的项目已经使用了unocss , 再去安装tailwindcss 是不是冗余了?
Now that I have an existing project that uses unocss, is it redundant to install tailwindcss?

现在我已有的项目已经使用了unocss , 再去安装tailwindcss 是不是冗余了? Now that I have an existing project that uses unocss, is it redundant to install tailwindcss?

Yeah. Actually unocss-preset-shadcn has supported vue-shadcn but not perfect. Just need to add some special variants.

unocss-preset-shadcn works normal  with nuxt + unocss module + shadcn-vue ? is it stable ?

i removed nuxt+tailwind for nuxt+uno with shadcn. i noticed i did not get the reset css or fonts and probably more after installing all the deps.
when adding shadcn to the project it creates a tailwind config that is probably responsible for the missing parts.
how do i connect the uno so i don't need the tailwind config file ?

@orenmizr  Install @unocss/reset and then import it to your main js entry or a css file
https://github.com/unocss/unocss/blob/main/packages/reset/tailwind.md

i did. imported first via js, then via style. i saw it loaded in devtools. but the body margin was still there,
i have another project with is setup the same but with tailwind+nuxt and there it the same tailwind code looks ok. wondering about the difference. like where the default  fonts come from...

If possible I think we could improve the cli implementation to support selecting unocss/tailwindcss and do the work of generating the config file. This could simplify the cost of using unocss

unocss-preset-shadcn works normal with nuxt + unocss module + shadcn-vue ? is it stable ?

Absolute yes. I had check it. Just submit issue when you have it.

i am already using it :+1:
btw, once init-ed the shadch-vue it creates a component.json that points to tailwind.config.ts... not sure what to do with it

If possible I think we could improve the cli implementation to support selecting unocss/tailwindcss and do the work of generating the config file. This could simplify the cost of using unocss

I have thought about this before. I think css engine should be optional in cli. But unocss still don’t have enough users compared with tailwind. But for a unocss fan like me, manual using is also possible. :)

i tried the accordion and the button as a test with shadcn-vue. the test was successful. i won';t know for sure until i will start using it.
when shadcn-vue inits it creates a component file and points to tailwind.config... does that matter ? can i delete it ? should i point it to unocss.config ?

I think you should remove all packages & config files which related to tailwindcss

found a Neat UnoCSS Project
https://github.com/pondrax/floeui/blob/master/src/lib/ui/shortcuts/button.js
in this case, we don't need libs like cva or tailwind-variants
Combine UnoCSS rules and shortcuts (simple)
import { defineConfig } from 'unocss'
import presetUno from '@unocss/preset-uno'
import presetAttributify from '@unocss/preset-attributify'
import { fonts } from '@unocss/preset-mini/rules'

export default defineConfig({
	presets: [
	        presetUno(),
		presetAttributify(),
		{
			name: 'shadcn-unocss',
			rules: [
				[/^button-(.*)$/, fonts[1][1] as any]
			],
			shortcuts: [
				[
					'button',
					[
						'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[focus-visible]:outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[focus-visible]:ring-offset-2'
					].join(' '),
					{ layer: 'components button' }
				],
			]
		}
	],
})

<template>
  <Button button="~ 5xl">Button</Button>
  A tag that act like a button
</template>

interesting link. i am still looking into the best way for using unocss+tailwind(wind preset) to create a shadcn theme config:
btn: (classA classB.....)
link: (classA classB.....)

found a Neat UnoCSS Project
https://github.com/pondrax/floeui/blob/master/src/lib/ui/shortcuts/button.js
in this case, we don't need libs like cva or tailwind-variants
Combine UnoCSS rules and shortcuts (simple)
import { defineConfig } from 'unocss'
import presetUno from '@unocss/preset-uno'
import presetAttributify from '@unocss/preset-attributify'
import { fonts } from '@unocss/preset-mini/rules'

export default defineConfig({
	presets: [
	        presetUno(),
		presetAttributify(),
		{
			name: 'shadcn-unocss',
			rules: [
				[/^button-(.*)$/, fonts[1][1] as any]
			],
			shortcuts: [
				[
					'button',
					[
						'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[focus-visible]:outline-none data-[focus-visible]:ring-2 data-[focus-visible]:ring-ring data-[focus-visible]:ring-offset-2'
					].join(' '),
					{ layer: 'components button' }
				],
			]
		}
	],
})

<template>
  <Button button="~ 5xl">Button</Button>
  A tag that act like a button

  <button button="~ primary sm">bruh sorry</button>
</template>

but you still need to go over all the components one by one and add them to the theme config.
i thought that was shadcn preset was all about.  whenever they add css the preset gets updated.

Hello, have we solved this? I run into a situation where I'd want to use shadcn-vue but not quite sure how to configure it with Unocss

I've been using UnoCSS with shad-vue for a while now, I have not found any problem so far, is there a blocker that anyone know of? I'd be happy to help !

Ladies and gentlemen!.....
drum rolls🥁🥁🥁
May I present to you......... Unocss Preset Shadcn.
Your questions have been answered, your savior is here 😁

UnoCSS is no longer usable on v0.11


Does not download stories when --load-cookies is passed

Describe the bug
When --load-cookies is passed, stories are not downloaded, even if the loaded cookies provided a valid session (and the user is considered logged in).
To Reproduce
Steps to reproduce the behavior:
Log in using a browser
instaloder --stories --load-cookies firefox taylorswift

Expected behavior
Posts and stories should be downloaded.
Error messages and tracebacks
No error is reported, and posts are downloaded, but there's a warning at the start:
--login=USERNAME required to download stories.

Instaloader version
Using upcoming/4.12 branch.
Additional context
--load-cookies is an anternative to --login, so it should be considered when checking if stories are downloaded.
There might be other places where a similar problem happens.

I looked at the code and it seems that the only place where --load-cookies is not considered a login is for stories.


sequence: clarify sequence constant name and add ENABLE_ALL/DISABLE_ALL

c24630e7b13312ea34f0f54ed832783ced8dde3f

LOCKTIME is used for both absolute and relative one without clear classification, which is confusing and could lead to an unexpected bug. Although it's API breaking change, current constant is so ambiguous unless understand the details of LOCKTIME semantic.

9cc5dfeef178f03ea4d0786cfbaa3b8709fed644

Add constant ENABLE_ALL and DISABLE_ALL, which is useful for those who want to enable(disable) rbf, absolute/relative locktime.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

5 of 6 (83.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.579%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

primitives/src/sequence.rs
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
19022

Relevant Lines:
23035

💛  - Coveralls

Looks good, i liked this changes.
Checked and builded locally.

(a) we need to add deprecations when renaming constants; and (b) I think the concept of "disabling relative locktimes" in a sequence number is just weird. Some sequence numbers are interpreted as relative locktimes and others are not.
You can think of this as "disabling" or "enabling" relative locktimes (and BIP 68 does use this language), but the enabling/disabling property really applies to a single flag of the sequence number. Whereas disabling absolute locktimes does apply to a single value (but every other value is enabling).
So IOW I think all these constants are pretty messy to describe, although some are in common use so we should continue having them. In particular the max value, max -1 ("enable nLockTime but not RBF"), and max -2 ("enable nLockTime and RBF but otherwise disable any potential use for nSequence") are widely used.
The new DISABLE_ALL we should call FINAL since that's the standard term for it. I notice in the comment you say "This sequence number..." even though the value is unique so you could more usefully say "The sequence number...".
The new ENABLE_ALL we just shouldn't have. I have no idea how I'm supposed to interpret a value that "enables relative locktimes" while having a locktime of 0. And the use of this contstant seems to be limited to obscure use-cases where you want to try to prevent 0conf chains of transactions. And you say "The sequence number..." in these docs which is wrong because the value isn't unique.
Whatever we decide here, we should backport it.

My proposal would be:

Add FINAL as a synonym for MAX.
Leave ENABLE_LOCKTIME_NO_RBF alone; I think would be fine as long as we...
Rename ENABLE_RBF_NO_LOCKTIME to ENABLE_LOCKTIME_AND_RBF

Then we should clearly comment that the first two constants are unique, while the latter is the maximum such value, and is commonly used to indicate that no other meaning of the sequence number is desired or usable. In particular, this value is not a valid relative locktime. We should also be clear that the LOCKTIME in the name refers to the absolute locktime, even though normally sequence numbers are about relative locktimes.
But I don't think we can fit that paragraph into the name of the constant. I also don't like the abbreviation ABS and think ABSOLUTE is just too long a name for suchcommon constants.

I have no idea how I'm supposed to interpret a value that "enables relative locktimes" while having a locktime of 0.

Talking about manipulating Sequence value, we could improve functionality of the sequence number setting some constant masks that interact with the Sequence as the guys from the core do. Hard to develop, good to use.
But this idea seems out of scope of this PR.

The new ENABLE_ALL we just shouldn't have. I have no idea how I'm supposed to interpret a value that "enables relative locktimes" while having a locktime of 0. And the use of this contstant seems to be limited to obscure use-cases where you want to try to prevent 0conf chains of transactions. And you say "The sequence number..." in these docs which is wrong because the value isn't unique.

May we should only have 3 const to work as constructors for the field.
FINAL

or MAX/DISABLE_ALL for some alias

ENABLE_NLOCKTIME

Some times the NLocktime field is mentioned as tx LockTime
ENABLE_RBF

Explain that one auto enables features on higher values and the rest we can build some methods to interact with.
Sequence::set_relative_value(u16), Sequence::disable_nlocktime() ...

Sequence::disable_nlocktime() could just check firstly if the nlocktime is enabled and subtract one from the sequence. Securing the usability of Sequence.

I like both of suggestions from @apoelstra and @jaoleal. @jaoleal 's suggestion seems more intuitive and simple, but what @apoelstra suggests only deprecates ENABLE_RBF_NO_LOCKTIME, while @jaoleal 's one must deprecate 2 constants(ENABLE_RBF_NO_LOCKTIME and ENABLE_LOCKTIME_NO_RBF). I've reflected @apoelstra 's suggestion now but could be changed following more discussions.
276e7171f900631b199c931153296ece59a0c255

Add FINAL as a synonym for MAX

5c4104f3deec33bca2d56dccbb7357013848db65

Rename ENABLE_RBF_NO_LOCKTIME to ENABLE_LOCKTIME_AND_RBF

In 276e7171f900631b199c931153296ece59a0c255:
The text should be "The sequence number that disables..."
In 5c4104f3deec33bca2d56dccbb7357013848db65:
The text should say "The maximum sequence number that enables...", and have another sentence that says that using the maximum value makes it clear that this sequence number has no meaning other than to enable RBF and the absolute locktime.
Otherwise ack 5c4104f3deec33bca2d56dccbb7357013848db65 from me.

Updated the comments!

Sorry to keep iterating on this, but in de82981c089bda4d0952b51b2e699818dc09f3e0 can you add a blank line between the two sentences? This will separate them in the docs.rs display.

No problem! added a blank line.


Make create_dab_permissions return a boolean

Make create_dab_permissions return a boolean.

To have it pasted here, this was modeled after:
https://github.com/django/django/blob/main/django/contrib/auth/management/__init__.py
Generally I wanted the method signatures and everything to remain the same as that from auth.Permission, but adding a return value isn't conflicting.
Django signals does have documentation on return values to some minor extent
https://docs.djangoproject.com/en/5.0/topics/signals/

All four methods return a list of tuple pairs [(receiver, response), ...], representing the list of called receiver functions and their response values.

But that makes it dependent on the sender.
https://github.com/django/django/blob/99f23eaabd8da653f046dc1d19f5008c030a4f79/django/core/management/sql.py#L52-L59
and the sender of the post_migrate signal doesn't seem to care.

We no longer need this because of a different direction.


Keep user logged

Hi,
suppose that I have an app with a Twitter login button. After the login, I'm given back the credentials and I can store them in NSUserDefaults.standardUserDefaults()
If the user runs the app again, and I see that he has auth credentials already set, how can I set up the oauth client so that it uses them without requiring the login again?
Also, once the user it logged in, how to get info of the logged user, such is user id etc?
Thanks

Did you already find an answer for this question? Because I am currently having the same problem. I saved the token and the secret key but now I want to verify if this information is still correct without having the user to re-authenticate again.
Somehow we have to manually set the credential information and tokens that the applications set when a user logged in.

Okay I found out how to do it.
In the framework file OAuthClientSwift you add this function in the first class
    public func setUserDetails(token: String, secret: String, parameters: Dictionary<String, AnyObject>) {
        self.credential.oauth_token_secret = secret;
        self.credential.oauth_token = token;
    }

Then in your view controller you add:
oauthswift.client.setUserDetails("Here the token you saved", secret: "here the secret you saved", parameters: parameters)

        oauthswift.client.get("https://api.linkedin.com/v1/people/~:(skills,first-name,last-name,picture-url)", parameters: parameters,
            success: {
                data, response in
                println("PARAMETERS: \(parameters)");
                let dataString = NSString(data: data, encoding: NSUTF8StringEncoding)
                println(parameters);
                println(dataString);
            }, failure: {(error:NSError!) -> Void in
                println(error)
        })

That way you can use the token and secret without having to authorize all over again. Remember to check if the token is still valid by checking the LinkedIn response on failure.

Hi,
yes, I ended up doing something very similar to be able to set the credentials from outside the class. I think this should be added to the project.

i have the same questions, im using instagram auth . i do not know how to get the id, and other info instagram provides when authenticating... i took the code from the example...
Instagram only provides that info at authorization only looks like, then  you can use the other end points, but theres no https://api.instagram.com/v1/users/myinfo   , the /self/feed , returns the feed from the user but no logged user info..
Can someone please point me in the right direction ?
oauthswift.authorizeWithCallbackURL( NSURL(string: "comalacartado://oauth-callback/instagram")!, scope: "likes+comments+basic", state:"INSTAGRAM", success: {
credential, response in
self.showAlertView("Instagram", message: "oauth_token:(credential.oauth_token)")
        let url :String = "https://api.instagram.com/v1/users/self/feed/?access_token=\(credential.oauth_token)"
        let parameters :Dictionary = Dictionary<String, AnyObject>()

If PR #78 validated
oauthswift.client.credential.oauth_token = "here your data"
oauthswift.client.credential.oauth_token_secret = "here your secret data"


Can't read part with intersecting bounds

reported in https://github.com/developmentseed/titiler/discussions/640#discussioncomment-10636946
I'm getting that error consistently with the following url:

https://{something}/cog/bbox/-72.39661926483915,-14.198810143003932,-72.26331881334586,-14.066961918019524/595x842.tif?url=https://{something}/mantis/l1c/2024/08/03/MANTIS_L1C_021900730139_20240803T151319_20240803T151321/TCI_COG.tiff

I've tried several things:
- Adjusting bbox values
- Not adding bbox
- Using query parameters (such as zoom, max_size, nodata, etc)

Nothings seems to be working.

The info endpoint returns the following:

Driver: GTiff/GeoTIFF
Files: mantis.tif
Size is 7532, 7428
Coordinate System is:
GEOGCRS["WGS 84",
    DATUM["World Geodetic System 1984",
        ELLIPSOID["WGS 84",6378137,298.257223563,
            LENGTHUNIT["metre",1]]],
    PRIMEM["Greenwich",0,
        ANGLEUNIT["degree",0.0174532925199433]],
    CS[ellipsoidal,2],
        AXIS["geodetic latitude (Lat)",north,
            ORDER[1],
            ANGLEUNIT["degree",0.0174532925199433]],
        AXIS["geodetic longitude (Lon)",east,
            ORDER[2],
            ANGLEUNIT["degree",0.0174532925199433]],
    ID["EPSG",4326]]
Data axis to CRS axis mapping: 2,1
GeoTransform =
  -72.39661926483915, 1.523991680507554e-05, 2.492379929651992e-06
  -14.16868824977417, -3.999189223282901e-06, 1.369498273487359e-05
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=PIXEL
  LAYOUT=COG
Corner Coordinates:
Upper Left  ( -72.3966193, -14.1686882) ( 72d23'47.83"W, 14d10' 7.28"S)
Lower Left  ( -72.3781059, -14.0669619) ( 72d22'41.18"W, 14d 4' 1.06"S)
Upper Right ( -72.2818322, -14.1988101) ( 72d16'54.60"W, 14d11'55.72"S)
Lower Right ( -72.2633188, -14.0970838) ( 72d15'47.95"W, 14d 5'49.50"S)
Center      ( -72.3299690, -14.1328860) ( 72d19'47.89"W, 14d 7'58.39"S)
Band 1 Block=512x512 Type=Byte, ColorInterp=Undefined
  NoData Value=0
  Overviews: 3766x3714, 1883x1857, 941x928, 470x464
Band 2 Block=512x512 Type=Byte, ColorInterp=Undefined
  NoData Value=0
  Overviews: 3766x3714, 1883x1857, 941x928, 470x464
Band 3 Block=512x512 Type=Byte, ColorInterp=Undefined
  NoData Value=0
  Overviews: 3766x3714, 1883x1857, 941x928, 470x464

  The bounds endpoint returns the following:

  {'bounds': [-72.39661926483915, -14.198810143003932, -72.26331881334586, -14.066961918019524]}

  The statistics endpoint returns the following:

  {'b1': {'min': 2.0, 'max': 255.0, 'mean':<PHONE_NUMBER>365454, 'count': 946702.0, 'sum': 114017647.0, 'std': 37.32024805775883, 'median': 121.0, 'majority': 121.0, 'minority': 2.0, 'unique': 254.0, 'histogram': [[6759.0, 25467.0, 83966.0, 184967.0, 259873.0, 216997.0, 111765.0, 41689.0, 13035.0, 2184.0], [2.0, 27.3, 52.6, 77.9, 103.2, 128.5, 153.8, 179.1, 204.4,<PHONE_NUMBER>0000002, 255.0]], 'valid_percent': 91.54, 'masked_pixels': 87538.0, 'valid_pixels': 946702.0, 'percentile_2': 44.0, 'percentile_98': 201.0}, 'b2': {'min': 1.0, 'max': 255.0, 'mean':<PHONE_NUMBER>9128426, 'count': 946702.0, 'sum': 106028130.0, 'std': 34.50480622081493, 'median': 113.0, 'majority': 118.0, 'minority': 1.0, 'unique': 255.0, 'histogram': [[7252.0, 31979.0, 112193.0, 207180.0, 284018.0, 204372.0, 72250.0, 21912.0, 4764.0, 782.0], [1.0, 26.4, 51.8, 77.19999999999999, 102.6, 128.0,<PHONE_NUMBER>9999998,<PHONE_NUMBER>9999998, 204.2, 229.6, 255.0]], 'valid_percent': 91.54, 'masked_pixels': 87538.0, 'valid_pixels': 946702.0, 'percentile_2': 40.0, 'percentile_98': 185.0}, 'b3': {'min': 1.0, 'max': 255.0, 'mean':<PHONE_NUMBER>212242, 'count': 946702.0, 'sum': 101975879.0, 'std': 32.5602988773908, 'median': 109.0, 'majority': 115.0, 'minority': 247.0, 'unique': 255.0, 'histogram': [[8383.0, 36193.0, 122873.0, 228991.0, 295296.0, 189146.0, 51156.0, 12027.0, 2297.0, 340.0], [1.0, 26.4, 51.8, 77.19999999999999, 102.6, 128.0,<PHONE_NUMBER>9999998,<PHONE_NUMBER>9999998, 204.2, 229.6, 255.0]], 'valid_percent': 91.54, 'masked_pixels': 87538.0, 'valid_pixels': 946702.0, 'percentile_2': 38.0, 'percentile_98': 174.0}}

  The preview endpoint works fine!

Any idea of what might be happening?

ps - If I use only the last part of the url (https://{something}/mantis/l1c/2024/08/03/MANTIS_L1C_021900730139_20240803T151319_20240803T151321/TCI_COG.tiff) the image is properly downloaded

Thank you in advance :)

_Originally posted by @MisterTiago in https://github.com/developmentseed/titiler/discussions/640#discussioncomment-10636946_

Issue: User is trying to read bbox with bounds intersecting the database bounds (boundless read)
Solutions:

user WarpedVRT
customize the windows.from_bounds method from rasterio to avoid causing issue

cc @MisterTiago

🤔 I think I miss understood the issue.

the bbox passed by the user doesn't cross the dataset bounds (it's the dataset bounds 😓)
when using a bounds that is fully contained with the dataset bounds it also fails

from affine import Affine
from rasterio.windows import from_bounds

transform = Affine(
    1.5239916805075538e-05, 2.4923799296519917e-06, -72.39661926483915,
    -3.999189223282901e-06, 1.3694982734873585e-05, -14.168688249774165,
    0.0, 0.0, 1.0,
)

dataset_bounds = [-72.39661926483915, -14.198810143003932, -72.26331881334586, -14.066961918019524]

from_bounds(*dataset_bounds, transform)
>> WindowError: Bounds and transform are inconsistent

within_bounds = [-72.30, -14.15, -72.28, -14.10]
from_bounds(*dataset_bounds, transform)
>> WindowError: Bounds and transform are inconsistent

Notes:

There is something going on with the transform of the dataset, the transform shows there is rotation and I'm
This might be a rasterio bug

Hi @vincentsarago,
Should this be an issue opened in rasterio repo?

Already opened an issue https://github.com/rasterio/rasterio/issues/3176

Hi @vincentsarago ,
I noticed the issue you opened is now closed. I was on vacations last week so I'm a bit lost here haha
Would you mind putting me up to date on this issue please?
Thank you :)

@MisterTiago the issue needs more deep diving to really understand what's going on.
There is something with the file geo transform but I can't be 100% sure that's the behaviour is expected or not/
How did the file was created?

"How did the file was created?"
Are you asking for the packages used in creating the file or something else? The file was created using a script that uses rasterio (amongst other things)

Are you asking for the packages used in creating the file or something else? The file was created using a script that uses rasterio (amongst other things)

Yes, the fact the transform is uncommon (having rotation) is making things a bit weird.

Do you want to know how the transform is being calculated for this image?

HI @vincentsarago ,
Apologies for taking so long to reply, been caught on other issues.
Regarding the transform,  we use a simple pinhole camera model which generates GCPs for the 4 corners from which the affine is made.
Does this answer your question?

Hi @vincentsarago ,
Did you have time to take a deeper look into the issue?

Hi @MisterTiago
Sadly I did not. Got a lot of projects work at the moment so open-source maintenance is not the priority sadly.

Do you think there's someone we can tag that might be able to look into this?

not that I can think off
I still think there is something with rasterio as I've tried to explained in https://github.com/rasterio/rasterio/issues/3176
But my understanding of Affine transform is limited so if you or if you find someone with knowledge in affine transform, maybe you can see if there is really an issue with rasterio, or if it's with your file.
I would also try to replicate what you're trying to do with gdalwarp command (which is a nice way to tell that maybe rasterio has a bug)

Hi @vincentsarago,
Just want to let you know that I've applied the command gdalwarp -t_srs EPSG:4326 -of COG \<input\> \<output\> and my action now works with the output image.


iOS/Android - Workspace feature toggle switch not enabled after upgrading to Control WS

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.70-2
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: Exploratory around https://expensify.testrail.io/index.php?/tests/view/5291849&group_by=cases:section_id&group_id=229065&group_order=asc
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Launch Hybrid or ND app
Navigate to settings >> Workspaces >> select collect WS (or create new WS) >> More features
Toggle on either Company card, Per diem, Rules or Report fields
Click on Upgrade >> Got, it thanks
User redirected to More features page (Note: Observe toggle switch not enabled after upgrading to control worksapce

Expected Result:
Workspace feature toggle switch (Company card, Per diem, Rules or Report fields) should be enabled after upgrading to Control Workspace
Actual Result:
Workspace feature toggle switch (Company card, Per diem, Rules or Report fields) not enabled after upgrading to Control Workspace
Workaround:
Unknown
Platforms:

[x] Android: Standalone
[x] Android: HybridApp
[ ] Android: mWeb Chrome
[x] iOS: Standalone
[x] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/bf45fa3e-5a1e-452f-829a-b9e86092ec1e
View all open jobs on GitHub

Production
https://github.com/user-attachments/assets/43235ef6-ddaf-40fd-870e-7396b84d63a4

Same as this issue #53360


npx react-native run-android fails

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Starting this morning I'm no longer able to run-android, was working fine the past week
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/khamusolutions/Desktop/sapphire-drive/SapphireDrive/android/app/build.gradle' line: 218

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.

React Native version:
System:
    OS: macOS 11.5.1
    CPU: (8) arm64 Apple M1
    Memory: 138.48 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.6.2 - /opt/homebrew/bin/node
    Yarn: Not Found
    npm: 7.20.3 - /opt/homebrew/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.10.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 29, 31
      Build Tools: 29.0.2, 31.0.0
      System Images: android-29 | Intel x86 Atom_64, android-31 | Google APIs ARM 64 v8a, android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7621141
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found

Steps To Reproduce

Wake up
Turn on monitors
Run npx react-native run-android in terminal like you've been doing for a week without issue

Expected Results
Build to run on android simulator
Snack, code example, screenshot, or link to a repository:
line 217-220 from build.gradle - unmodified from initial npx react-native init
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

@dzedward try to replace compile with implementation


support for datePickerModeAndroid={"spinner"}

Greetings ,
this library is an amazing one and has potential to be one of the best since it address many feature that the native picker lack !
i was wondering if there is any support for the android time picker spinner style !
since imo the calendar clock view is not user friendly and the spinner is much easier to use
thanks in advance

Thank you,
It does not support a spinner mode.


Create fh-campuswien

Adding the "FH Campus Wien - University of Applied Sciences"
Official website (english version): https://www.fh-campuswien.ac.at/en/

@maia Please rename lib/domains/at/ac/fh-campuswien to lib/domains/at/ac/fh-campuswien.txt
Thank you.

@philipto I renamed the file as requested, thanks for the note!

@maia Thank you for the update! Pull request merged.

@philipto much appreciated!


Fix to handle collisions in the effective partition key

There was a bug where the SDK could not handle collisions in the effective partition key. Normally this is pretty much impossible, since the epk is 128, but in HashV1 we only hash the first 100 bytes. This means any two strings with the same large prefix will collide. This collision caused an assertion error (the query ranges were not sorted and non-overlapping (because there was a perfect overlap)).
The client now puts all the ranges into a sorted set to avoid this issue.
Corresponding .NET PR https://github.com/Azure/azure-cosmos-dotnet-v3/pull/835
Fixes #19911

/azp run java - cosmos - ci

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - ci


Rewrite setImageSrc to only work with native images

In our attempt to get the iOS maps to behave properly with
tracksViewChanges, i've replaced the entire setImageSrc function to only
accept native images. This allows them to load fast enough on my device
that everything just works out of the box.

Does any other open PR do the same thing?

(please answer here)
What issue is this PR fixing?
(please link the issue here)
How did you test this PR?

(please answer here)

I've reviewed this on iPhone XS, iPad Air and iPhone 6 simulator, all running iOS 12.1, and this seems to be working great! 👍


Default browser window size in configuration

It would be great to have a default browser window size that can be defined in configuration, otherwise I have to add an extra step in every Behat scenario of the kind:
'And I set browser window size to "1024" x "768"'

@stof, that link is broken now. Is there some way to set the browser window size? @gonzalovilaseca, how does that step work? I may need to copy it.

Here is correct link (I've replaced Behat with minkphp because we've moved the repo): https://github.com/minkphp/Mink/issues/525#issuecomment-42531273


refactor(semantic): rename Counts to Stats

#5758
#5757
#5756
#5755
#5754
#5753  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


feat: add tabs component from oruga

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[x] Refactoring

Context

[x] Closes #4232
[x] Closes #4081. How to reproduce:

visit gallery item (direct link) https://kodadot.xyz/rmrk/gallery/11823638-900D19DC7D3C444E4C-KSMBOT-KUSAMA_BOT_063-0000000000000066
navigate to Gallery under Explore > Gallery menu

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[x] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

What edge cases have you found?

there were no bounty tags attached to the tickets. was that intended? 👀


Add examples to Stream/Branch

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is n/a.

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


mongodb-optimization-task peter.shumskiy

https://travis-ci.org/github/petr-shumskiy/db-assignments/jobs/740962394

Closing the PR as accepted! Thanks!


Workload Component.GitHub.VisualStudio removed from VS 2022

@Anawaz : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@Anawaz : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Use view-space for lighting and any other rendering calculations

At present, all rendering calculations in our shader are in world-space, but it is better to convert all objects to view-space before entering the shader.
That is to say, we don't need to pass in "model_matrix" and "view_matrix" respectively to the shader, just pass in their product "model_view_matrix".
This has many advantages:

When using view space for calculation, all camera positions are fixed at the coordinate origin, which is conducive to simplifying some algorithms.

When the scene is large, it is calculated in the world space. Some numbers may be large (objects that are far from the origin of the world coordinates), which will lead to calculation accuracy problems. In view space, all numbers are relatively small.

Each vertex in the shader needs to perform the operation of projection_matrix * view_matrix * model_matrix * local_pos. When using view space, we only need to perform the calculation of projection_matrix * model_view_matrix * local_pos, which saves one matrix multiplication.
I think this point is also true for other calculations. Some "constant calculations" (The calculation results are the same for each vertex or fragment) should be performed on the CPU as much as possible (only calculate once), rather than on each vertex or fragment (such as the conversion of constant color from srgb-space to linear-space). This is a good way to improve rendering performance.

If we decide to make this change, it may have a large impact and may affect other features developed at the same time. Therefore, we'd better make this change when the version is relatively stable.

Each vertex in the shader needs to perform the operation of projection_matrix * view_matrix * model_matrix * local_pos.

Having these three matrices available means that in the shader we can move to any of the spaces, which has several use-cases. One example is the clipping planes. I'm not sure from the top of my head whether we explicitly use world_space for other things, but I sure would like it to be possible ...
Yes, it costs an extra matrix multiplication, but that's fine, because it's not our goal to squeeze out the highest possible performance.
As for point 1 and 2. Shaders can still do their thing in view-space if that makes things easier, right?


Add dedicated health endpoint and update dockerfile

Adds a dedicated health endpoint /health that works regardless of the base path that is set.
Closes #419

Thanks for your PR and for using the develop base!


[Accessibility] [Omnichannel] Omnichannel Chat Widget has an incorrect use of ariaroledescription

https://unify.services.dynamics.com/CRM/Org/69910a2a-c571-417f-be95-816e553720d2/Incident/ServiceDesk/2201200050000888/Home
Scope:
FROM ICYM -> https://portal.microsofticm.com/imp/v3/incidents/details/286723576/home
============
This shall be considered resolved once we determine how to properly implement the aria-roledescription within the Omnichannel Chat Widget
Customer Experience:
This is the customer's statement: Omnichannel Chat Widget has an incorrect use of ariaroledescription="message", it needs to be accompanied by an explicitky stated role as it is not used within an implicit html element type such as img.
Repro Steps:
N/A
Expected Results:
To determine the correct use of ariaroledescription in Omnichannel Chat Widget.
Actual Results:
Omnichannel Chat Widget has an incorrect use of ariaroledescription="message", it needs to be accompanied by a role as it is not used within an implicit html element
Telemetry Information:
Both me and the customers have found the following resource: https://dequeuniversity.com/rules/axe/4.0/aria-roledescription
However, we are unsure of the exact role required for this to work as expected.
Image
We have to adhere to the highest standards of accessability for our govenment content which include using aria tags correctly and according to the w3c standards. "Ariaroledescription" needs to be used in conjunction with "role" where the role is not implicit, for instance, if I had an img element I would not have to give the element a role because it implicitly has a role of image, to use ariaroledescription
https://unify.services.dynamics.com/CRM/Org/69910a2a-c571-417f-be95-816e553720d2/Incident/ServiceDesk/2201200050000888/Home
Scope:
FROM ICYM -> https://portal.microsofticm.com/imp/v3/incidents/details/286723576/home
============
This shall be considered resolved once we determine how to properly implement the aria-roledescription within the Omnichannel Chat Widget
Customer Experience:
This is the customer's statement: Omnichannel Chat Widget has an incorrect use of ariaroledescription="message", it needs to be accompanied by an explicitky stated role as it is not used within an implicit html element type such as img.
Repro Steps:
N/A
Expected Results:
To determine the correct use of ariaroledescription in Omnichannel Chat Widget.
Actual Results:
Omnichannel Chat Widget has an incorrect use of ariaroledescription="message", it needs to be accompanied by a role as it is not used within an implicit html element
Telemetry Information:
Both me and the customers have found the following resource: https://dequeuniversity.com/rules/axe/4.0/aria-roledescription
However, we are unsure of the exact role required for this to work as expected.
Image
We have to adhere to the highest standards of accessability for our govenment content which include using aria tags correctly and according to the w3c standards. "Ariaroledescription" needs to be used in conjunction with "role" where the role is not implicit, for instance, if I had an img element I would not have to give the element a role because it implicitly has a role of image, to use ariaroledescription
Please view our Technical Support Guide before filing a new issue.

Screenshots

Version

To determine what version of Web Chat you are running, open your browser's development tools, and paste the following line of code into the console.
[].map.call(document.head.querySelectorAll('meta[name^="botframework-"]'), function (meta) { return meta.outerHTML; }).join('\n')
If you are using Web Chat outside of a browser, please specify your hosting environment. For example, React Native on iOS, Cordova on Android, SharePoint, PowerApps, etc.

Describe the bug

Steps to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Additional context

[Bug]

I am looking at 4.14.1.
We have 5 type of DOM nodes using aria-roledescription attribute (through running document.querySelectorAll('[aria-roledescription]') in the console):

 (This is live region chat history, not visible/navigable)

 (This is main chat history, visible/navigable)

 (Container of every activity)

 (Container for every activity)

 (Container for every activity)

I am unaware of which type of DOM nodes is violating the rule. Both role="group" and role="region" are allowed to have aria-roledescription set.
Could you give us more details for this issue?
On the other hand, we have recently reworked part of our DOM tree to improve accessibility (#4108). However, as we don't know the root cause, it may or may not have resolved the issue.

Hi @compulim , from the customer  ->

`This is a html element called a div (division) as far as a screen reader is concerned, it doen’t have a role in the same way as an image would (ie ), with an image, it has an implied role of image, a div dosent have this, when using aria-roledescription without a stated role=”whatever” it dosent know what role it is describing.
This link really does tell you everything you need to know about the problem we are facing :- https://dequeuniversity.com/rules/axe/4.0/aria-roledescription`

On my side, this is 4.14.1 and the DOM tree look significantly different.
Can you verify the version of Web Chat used?

In the HTML , there should be a <meta> tag indicating the version of Web Chat loaded.

Me and @elopezanaya discussed offline and this is repro only on 4.9.x, and no longer repro on 4.14.1.