#include errors detect c++ in vim

Im using Windows terminal Ubuntu 20.04.3 LTS and gcc version gcc (Ubuntu 9.3.0-17ubuntu~20.04) 9.3.0 g++ version g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
#include 'queue'
#include 'iostream'
<<Here's an error Detection_
using namespace std;
int main(void) {
queue que; << Here's an error detection too.
return 0;
}
error says that
note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
Im using vim-syntastic plugin as above, When I include file  (#include ), I get an error saying it is not included and vim-syntastic plugin use like this
let g:syntastic_check_on_wq=0
let g:syntastic_cpp_compiler_options='-std=c++14'
let g:syntastic_cpp_compiler='g++'
let g:syntastic_cpp_check_header=1
here's on stackoverflow too
https://stackoverflow.com/questions/69149083/include-errors-detect-c-in-vim?noredirect=1#comment122216002_69149083

You're aware that syntastic is a Vim script and not a C++ linter, right?  Please open your test file, set g:syntastic_debug to 1, run the checker, then run :mes and post the output.

First, Thank you so much about your comment,
"test.cpp" 12L, 141C
"~/.vim/syntax/cpp.vim" 7L, 163C
"test.cpp" 12L, 141C
Pattern not found: syntastic_debug=1
"test.cpp" 12L, 141C written
syntastic: 59.265460: g:syntastic_version = '3.10.0-27 (Vim 801, Linux)'
syntastic: 59.265868: &shell = '/usr/bin/zsh', &shellcmdflag = '-c', &shellpipe = '2>&1| tee', &shellquote = '', &shellredir = '>%s 2>&1', &shelltemp = 1, &shellxquote = '', &autochdir = 0, &shellxescape = ''
syntastic: 59.267306: UpdateErrors (auto): default checkers
syntastic: 59.276779: CacheErrors: default checkers
syntastic: 59.286974: g:syntastic_aggregate_errors = 0
syntastic: 59.287336: getcwd() = '/mnt/c/Users/tkddl/Study/data_structure'
syntastic: 59.544762: CacheErrors: Invoking checker: cpp/gcc
syntastic: 59.551016: SyntasticMake: called with options: {'postprocess': [], 'errorformat': '%-G%f:%s:,%f:%l:%c: %trror: %m,%f:%l:%c: %tarning: %m,%f:%l:%c: %m,%f:%l: %trror: %m,%f:%l: %tarning:
%m,%f:%l: %m', 'makeprg': '''g++'' -x c++ -fsyntax-only -std=c++17 -I. -I.. -Iinclude -Iincludes -I../include -I../includes   test.cpp'}
syntastic: 60.209730: system: command run in 0.658339s
syntastic: 61.469226: getLocList: checker cpp/gcc returned 1
syntastic: 61.469589: getLocList: checker cpp/gcc run in 1.924626s
Press ENTER or type command to continue
This is what I saw after follow your comment

Now please run this in a terminal and post the output:
cd /mnt/c/Users/tkddl/Study/data_structure
g++ -x c++ -fsyntax-only -std=c++17 -I. -I.. -Iinclude -Iincludes -I../include -I../includes test.cpp

/queue:1:2: error: ‘ELF’ does not name a type; did you mean ‘EOF’?
1 | ELF          >    �      @       �y          @ 8   @          @       @       @       �      �
�      �                                        �      �                    0       0       0      \      \                   �L      �\      �\      8      P                   �L      �\      �\                              8      8      8
      X      X      X      D       D              S�td   8      8      8                            P�td   @0      @0      @0      �      �             Q�td                                                  R�td   �L      �\      �\                           /lib64/ld-linux-x86-64.so.2              GNU   �                   GNU כF���Ed˷��D;D         GNU                                 �            �e�ms��
C
U                      r                     �                     �
                     �                      �
A                     #                     �                     �
a                                          �                     �
�                     �                     ?                     x                     �                     �                                             �                     G                                            ;                       I                     0  "                   @   a            n               libstdc++.so.6 __gmon_start__ _ITM_deregisterTMCloneTable _ITM_registerTMCloneTable _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc _ZSt20__throw_length_errorPKc _ZNSirsERi _ZNSolsEi _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_ _ZSt3cin _ZNSt8ios_base4InitD1Ev _ZNSolsEPFRSoS_E _ZSt17__throw_bad_allocv __cxa_begin_catch _ZdlPv _ZNSt8ios_base15sync_with_stdioEb __gxx_personality_v0 _Znwm _ZNSt8ios_base4InitC1Ev __cxa_rethrow _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev _ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo _ZSt4cout __cxa_end_catch _ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE libgcc_s.so.1 _Unwind_Resume libc.so.6 __stack_chk_fail __cxa_atexit __cxa_finalize memmove __libc_start_main GCC_3.0 GLIBC_2.4 GLIBC_2.2.5 CXXABI_1.3 GLIBCXX_3.4 GLIBCXX_3.4.21                                          �         P&y                                                                                Y            0   ii    a     ui    k                  ӯk   w     t)   �     q��   �      �\            �      �\                  �\            �           �_                    �_                    �_                    �_                    �_                    �_         _                                        @                  a                     _                    (_                    0_
8_                    @_                    H_                    P_                   X_                     `_
|  ^~~
|  EOF
In file included from test.cpp:1:
./queue:2:835: error: ‘D’ does not name a type
2 | ��h   ���������h   ��������h   ��������h   ��������h   ��������h   ��q������   ��a������h    ��Q������h
|                                                                                ^
./queue:2:1592: error: ‘I’ does not name a type
2 |            h_
p_
x_                     �_
�_                    �_                    �_                    �_                    �_                    �_                    �_                    �_
                                                                           ��H�H��O  H��t��H��     �5�N  ��%�N   ��h    ���������h   ���������h   ���������h   ��������h   ��������h   ��������h   ��������h   ��q������   ��a������h    ��Q������h
  |

In file included from test.cpp:1:
./queue:84:2: error: expected declaration before ‘}’ token
./queue:84:17: error: expected unqualified-id before ‘|’ token
./queue:111:49: error: ‘Z’ does not name a type
./queue:111:89: error: ‘Z’ does not name a type
In file included from test.cpp:1:
./queue:119:627: error: expected declaration before ‘}’ token
./queue:119:658: error: ‘s’ does not name a type
In file included from test.cpp:1:
./queue:121:32: error: expected unqualified-id before ‘-’ token
In file included from test.cpp:1:
./queue:128:239: error: ‘Y’ does not name a type
In file included from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from test.cpp:2:
/usr/include/c++/9/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type
98 |   typedef ptrdiff_t streamsize; // Signed integral type
|           ^~~~~~~~~
/usr/include/c++/9/bits/postypes.h:41:1: note: ‘ptrdiff_t’ is defined in header ‘’; did you forget to ‘#include ’?
40 | #include  // For mbstate_t
+++ |+#include
41 |
In file included from /usr/include/c++/9/bits/exception_ptr.h:40,
from /usr/include/c++/9/exception:143,
from /usr/include/c++/9/ios:39,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from test.cpp:2:
/usr/include/c++/9/new:125:50: error: declaration of ‘operator new’ as non-function
125 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
|                                                  ^
/usr/include/c++/9/new:125:44: error: ‘size_t’ is not a member of ‘std’; did you mean ‘size_t’?
125 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
|                                            ^~~~~~
In file included from /usr/include/wchar.h:35,
from /usr/include/c++/9/cwchar:44,
from /usr/include/c++/9/bits/postypes.h:40,
from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from test.cpp:2:
.. continued..
as bove, there are so many things like that and so many error on it .
I don't know what happens here

Do you have a file named queue in the current directory? :smile:  Well, fix that and syntastic will start working.

Do you have a file named queue in the current directory? 😄 Well, fix that and syntastic will start working.

oh,, my,, what a shame,... Im sorry for that my stupdity,,,
Anyway, Thank you for Your Kindness,,, and HELP,, thank you so much

It's a good idea to read :h syntastic-debug to understand what's going on.  It's probably an even better idea to use a dedicated plugin for working with C++ files, syntastic is not particularly useful for C / C++, and it's also dead.

It's a good idea to read :h syntastic-debug to understand what's going on. It's probably an even better idea to use a dedicated plugin for working with C++ files, syntastic is not particularly useful for C / C++, and it's also dead.

Yes, I understand Your Replay, And Thank you for your Advice. Really Thank you


Fix build errors on AARCH64 and PPC

This makes OpenNI2 build correctly on Linux/aarch64 and Linux/ppc{,64,64le}.

Replaced by #153.


Devel

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

30 of 31 (96.77%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 91.327%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

overlaps.go
3
4
75.0%

Totals

Change from base Build<PHONE_NUMBER>5:
-0.02%

Covered Lines:
1390

Relevant Lines:
1522

💛  - Coveralls


Update pom.xml

@cjpcloud Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


"Backfill" Request to merge Teamnado 4319 to "prod-stable" (#159)

Codecov Report
Base: 89.53% // Head: 89.17% // Decreases project coverage by -0.36% :warning:

Coverage data is based on head (0610a5f) compared to base (d11df60).
Patch coverage: 77.27% of modified lines in pull request are covered.

:exclamation: Current head 0610a5f differs from pull request most recent head c86d3a2. Consider uploading reports for the commit c86d3a2 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
- Coverage   89.53%   89.17%   -0.37%
==========================================
  Files          40       40
  Lines         669      702      +33
  Branches      127      134       +7
==========================================
+ Hits          599      626      +27
- Misses         70       76       +6

Impacted Files
Coverage Δ

...mponents/CreateManifestForm/CreateManifestForm.tsx
83.05% <77.27%> (-1.57%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Is this project abandoned?

Not had a release since 2020.
Does seem like a very nice way to develop webgl applications as it nicely encapsulates the shader part of the code instead of abstracting it away in some nested function.

There are certainly a couple incremental improvements or bugfixes around the edge which would be nice, but I think it's better to think of regl as (nearly) complete rather than abandoned. It aims to wrap the WebGL library completely and it does just that. I use it all the time and made this just a couple days ago: https://observablehq.com/d/9ac731e591350692 I believe it's in use in various commercial projects as well.
That said, regl doesn't (and won't) aim to address WebGL 2 which now has pretty good support, and emerging WebGPU is significantly more powerful. You might try checking out this project by @adnanwahab which is sort of regl meets webgpu: https://github.com/stackgpu/Simple-GPU

Very good point. That is how I will think of it.
So WebGL2 for regl? that's a damn shame.


Grid deallocation may not happen

Here:
!    deallocate(x%e1,x%e2,x%e3)    !handled by clear_unitvecs (assuming netural perturbations are used)
!    deallocate(x%er,x%etheta,x%ephi)

the explicit deallocation of grid members may not happen at the end of the simulation if neutral perturbations are not used in the simulation.

I was just about to make a release, I'll add these too as they're harmless.

just remember in these cases to check if already deallocated as deallocating again gives
Fortran runtime error: Attempt to DEALLOCATE unallocated 'x'

Fixed by #16


RemoteIp.Options.proxies expect list of strings not INETs

RemoteIp actually expects a list of strings, not a comma-separate string 🤦. Updated test to reflect, and tested manually as well.

Pull Request Test Coverage Report for Build 528e7cf11c0b2fe66d189004a53b8fb7505a0968-PR-1456

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.508%

Totals

Change from base Build a6c01767bfbe1842f7d282cdd2203bd0e0df4f70:
0.0%

Covered Lines:
1674

Relevant Lines:
2517

💛  - Coveralls


import Literal from typing_extensions for python 3.6

typing.Literal is available after python3.8, and openQA
tests with "old" hosts are using python3.6.

Please run tox -e format and resubmit. Otherwise this looks good for me!

done


refactor(alert): follow actual guideline

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => You can submit support request here, but we preffer to chat about it realtime at our [ngParty slack](https://ngparty.herokuapp.com/)

Current behavior
Alert needs to be refactored
Expected behavior
Alert will be refactored.

:)

There is a problem with actual devstack or build because when I try to import button from package, I get a error:
Uncaught ReferenceError: skatejs is not defined
    at Object.t.a (index.min.js:1)

Do someone know where is a problem? @Hotell @hopkins-tk @elmariofredo

maybe you are loading npm module instead of lerna or something like that, please check your node_modules folder what button is there.

The problem was in importing button from index not from Button.tsx as Raw Class. I need only register our custom bl-alert-button. But thanks :)

ahh ok make sense glad it's resolved 👍


Crash fix in Rialto Server getChallenge procedure

Summary: Crash fix in Rialto Server getChallenge procedure
Type: Fix
Test Plan: UT, CT, Fullstack
Jira: RIALTO-680

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/63738/

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/63754/

build-brcm-refboard3 Console Log uploaded to Gist URL: https://gist.github.com/rdkcmf-jenkins/3159a386726c700ec11f4837dd8589d2

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/63841/


Basic test cases for naicreport

Every function should have at least one test, also naicreport.  It's a little hairy testing the json output since it tends to be large and messy but no doubt something will work.  This may need to wait for #169, to make matching the output manageable.

Test cases for ml-webload will land with #104.
Test cases for ml-deadweight and ml-cpuhog must be written separately (at least one for each function).

For ml-deadweight and ml-cpuhog this means that there needs to be new code to be able to allow the program to point to the state database and the input reports separately.  Groan.


Incomplete repo?

Hello
First of all thank you for sharing your work - interesting principle and paper. I am however wondering if some parts are missing to enable us third parties to replicate the results. For example in the notebook "4.Portfolio_measure" there are references to several functions in the imports that are not contained within the repo.
Any chance that these can be shared?
Again thank you for sharing this.

Thank you very much for your interest. First of all, many functions are usually measures to measure portfolio performance. Unfortunately, the code cleanup is not done, so it will take some time to update.
Nevertheless, what I want to emphasize is that the function for the label proposed in this study is very easy to apply. It is expected to be very helpful in replicating results related to portfolio performance.
There is another point I want to emphasize. Although I couldn't cite it because I didn't know it while writing the paper, there is a similarity between our research and the Triple Barrier Method mentioned in Professor Lopez de Prado's textbook, Advances in Financial Machine Learning. I think our method is a more generalized version.
Once again, thank you for your interest.

PS If you need the code that is not cleaned up, I will update it as soon as possible.

Thank you for your rapid reply. I am indeed familiar with de Prado's work on Triple Barriers and metalabeling. I found your work when I specifically searched for labeling in connection with setting stoploss levels because I had an intuition that the method was useful in this regard. Lo and behold I found your paper and repo :-D
I would very much appreciate if you could share the missing code. Clean up or not - specifically I would just like to be able to do a "end-to-end" of your method so I can assess how much I can apply to my own use case. So a lack of clean up would not bother me, but I fully understand if you prefer to tidy up before you push. Either way thank you for your time.
Best regards


HHH-18359 Fixes to Informix functions errors

Cumulative PR for all subtasks [HHH-18360, HHH-18361, HHH-18362, HHH-18363, HHH-18364, HHH-18365, HHH-18168, HHH-18366, HHH-18367, HHH-18368, HHH-18369]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

Can you please try to rebase on top of #8675 and make use of the SqlAstNodeRenderingMode.WRAP_ALL_PARAMETERS for nvl, coalesce and case expressions? That should work according to jOOQ/jOOQ#12064

Can you help me with this rebase as you suggested? I'm not sure how to rebase on top of pull request #8675. In my local clone of the repository, I added your remote fork https://github.com/hibernate/hibernate-orm. Then I fetched from it and finally rebases onto the remotes/beikov/wrap-parameter-rendering-mode branch. After my code changes, should I just push to my remote origin branch from which my pull request is created to get the expected result?

After changing to functionFactory.coalesce( SqlAstNodeRenderingMode.WRAP_ALL_PARAMETERS ); , a java.lang.StackOverflowError occurs.
	at org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.visitParameter(AbstractSqlAstTranslator.java:7057)
	at org.hibernate.sql.exec.internal.AbstractJdbcParameter.accept(AbstractJdbcParameter.java:63)
	at org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.render(AbstractSqlAstTranslator.java:7113)
	at org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.renderWrappedParameter(AbstractSqlAstTranslator.java:7085)
	at org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.visitParameter(AbstractSqlAstTranslator.java:7057)

After making small changes to avoid cycling, I tested using rendering mode WRAP_ALL_PARAMETERS in the coalesce function. This is a workaround for unsupported host variables in Informix. The problem is with older Informix 11, where it is syntactically correct after this, but the database incorrectly determines metadata about columns with expressions (I can send a protocol trace) and therefore returns incorrect values. I isolated a simple test:
TypedQuery<String> query = session.createQuery( "select :name", String.class );
query.setParameter("name", "Johannes");
List<String> resultList = query.getResultList();
assertThat(resultList, hasItem("Johannes"));

Which ends with the error:
    select
        cast(? as varchar(255))
    from
        systables
    where
        tabid=1
[subsystem] TRACE g.hibernate.orm.jdbc.bind JdbcBindingLogging:24 - binding parameter (1:VARCHAR) <- [Johannes]
[subsystem] TRACE ibernate.orm.jdbc.extract JdbcExtractingLogging:24 - extracted value (1:VARCHAR) -> [J]
java.lang.AssertionError:
Expected: a collection containing "Johannes"
     but: was "J"

Informix 14 did not have this problem.
For the concat() function in the specified test, the result remains similar to the DEFAULT rendering mode.
    select
        case
            when te1_0.id is not null
                then concat((select
                    cast(? as varchar(255))), '_1')
            else 'Empty'
    end,
    trim(BOTH from concat((select
        cast(? as varchar(255))), 'Test   '))
from
    TEST_ENTITY te1_0

There is no syntax problem, but again it is the metadata. The changes are taken into account according to the cast type, but it is still not good. The latest Informix 14 also has a problem with this. Therefore, I stick to my proposal. After all, I assume that there may be problems with this metadata in other SQL selects as well, as contained in the tests.

Hi Vlado, sorry for not responding in a while. I was working hard on some performance improvements and had to focus a while.
I just merged the PR I mentioned with a fix for the cycle, so please revert the changes you did in AbstractSqlAstTranslator. Can you please rebase your work on top of it?

There is no syntax problem, but again it is the metadata. The changes are taken into account according to the cast type, but it is still not good. The latest Informix 14 also has a problem with this. Therefore, I stick to my proposal. After all, I assume that there may be problems with this metadata in other SQL selects as well, as contained in the tests.

I just tested this myself on Informix 14 and it seems to work fine. What am I missing?
session.createNativeQuery( "select case when 1 is not null then concat((select cast(? as varchar(255))), '_1') else 'Empty' end,trim(BOTH from concat((select cast(? as varchar(255))), 'Test   '))  from systables where tabid=1" ).setParameter( 1, "abc" ).setParameter( 2, "abc" ).getResultList()

Hi Chris,
I just got back from vacation on Tuesday evening, so the longer silence didn't bother me. Thanks for your support. I tried the rebase as you recommended. You solved the looping issue, but now in the resulting WRAP_ALL_PARAMETERS rendering mode, it's coalesce((select ?), p1_0.name) instead of the expected coalesce((select cast(? as varchar(255))), p1_0.name). That's why I used renderCasted() in my version.

I just tested this myself on Informix 14 and it seems to work fine. What am I missing?
session.createNativeQuery( "select case when 1 is not null then concat((select cast(? as varchar(255))), '_1') else 'Empty' end,trim(BOTH from concat((select cast(? as varchar(255))), 'Test   '))  from systables where tabid=1" ).setParameter( 1, "abc" ).setParameter( 2, "abc" ).getResultList()

Try using my exact scenario. Run the test org.hibernate.orm.test.jpa.criteria.basic.ConcatTest.testSelectCaseWithConcat in your branch with functionFactory.concat( SqlAstNodeRenderingMode.WRAP_ALL_ PARAMETERS );  set in the InformixDialect.
For this scenario, I've extended CommonFunctionFactory.java:
public void concat() {
    concat(SqlAstNodeRenderingMode.DEFAULT);
}

public void concat(SqlAstNodeRenderingMode inferenceArgumentRenderingMode) {
    functionRegistry.namedDescriptorBuilder("concat")
            .setInvariantType(stringType)
            .setMinArgumentCount(1)
            .setArgumentTypeResolver(
                    StandardFunctionArgumentTypeResolvers.impliedOrInvariant(typeConfiguration, STRING)
            )
            .setArgumentListSignature("(STRING string0[,
 STRING string1[, ...]])")
            .setArgumentRenderingMode(inferenceArgumentRenderingMode)
            .register();
}

Please rebase your PR to resolve the conflicts. Also, please change the code to use renderCasted like you described.

As I predicted, problems with parameters are common in SqlSelections. Another example is from the test org.hibernate.orm.test.query.hql.FunctionTests.testTrimFunctionParameters
org.hibernate.exception.SQLGrammarException: could not prepare statement [A syntax error has occurred.] [select trim(BOTH from ?) from (select 0 from systables where tabid=1) dual]
Therefore, I propose a different, more radical solution: in Informix, for SqlSelections, set the default parameter rendering mode to INLINE_ALL_PARAMETERS.

I omitted the fixes for subtasks HHH-18366 Informix concat pipe operator error and HHH-18368 Informix function coalesce() error due to an ambiguous problematic solution.

I also found this documentation saying:

In general, you cannot use variables (for example, host variables in an Informix
ESQL/C application) in the select list by themselves. A variable is valid in the
select list, however, if an arithmetic or concatenation operator connects it to a
constant.

How about connecting it with an empty string in case the parameter is a string and +0 if it's a number? Maybe you can add 0 seconds to timestamps parameters as well?


Add commonjs files to the dist output

This will make the packages compatible with both commonjs and esm.
The method for creating a esm + cjs package, which is compatible with current tooling is explained here.
This would for example resolve these issues:
https://github.com/react-dnd/react-dnd/issues/3443
https://github.com/react-dnd/react-dnd/issues/3454
https://github.com/react-dnd/react-dnd/issues/3521
https://github.com/react-dnd/react-dnd/issues/3518
and plenty more.
I've not bumped the version in the packages.
I've tested this PR by publishing these packages to our private registry. We use typescript and ESM as well as jest and commonjs and this resolved the issues.

The way the dependency semvers are setup we need to bump everything with a major version in order to merge something like this

I bumped all the versions to a new major version

would be nice to have this merged as it would solve https://github.com/react-page/react-page/issues/1190

I also would appreciate it if this pull request would get merged

I kind of balked at this PR at first, since a lot of work went into making this work with ESM. But I understand that shipping dual-mode makes life easier in a lot of cases.
I'll need to verify that these libraries can be required() in a CommonJS context before release.

Thank you very much for merging it. When can we expect it to be in a release?

Second this. I think now is a good time to release a new version.

I kind of balked at this PR at first, since a lot of work went into making this work with ESM. But I understand that shipping dual-mode makes life easier in a lot of cases.
I'll need to verify that these libraries can be required() in a CommonJS context before release.

Thank you very much for merging it. When can we expect it to be in a release?

Is there any information on when this change is available?

Hello @darthtrevino, I think these changes would help quite a few people. Any plans to release those changes on npm soon?

Just following up to see when this could be released? I really do appreciate all the hard work that goes into maintaining an open source package and I thank everyone involved so far for creating such a great library! I'm happy to offer any help needed to move this along, we've been waiting for this release for a while now in order to upgrade all of our dnd dependencies.
Thanks again!

Any news on release for this?

Really need this fix, any news?

Is there going to be a release for this anytime soon? I'm trying to update an outdated React project


Machines and Bins rotating by themselves

I'm using Mekanism-1.10.2-<IP_ADDRESS>5 and Progressive Automation 1.6.48 for 1.10.2. When Generators and Bins are in the same chunk the bins are either rotating of showing empty when they are not empty.
I've only seen this behaviour near the tree farm, where the Progressive Automation machines are. Where there are only Mekanism blocks everything behaves well.

I cannot say if other mods cause the same effect.
Many thanks

Please use the search function, this has been reported multiple times.

Sorry I didn't know how to search github was only getting code results, now I know how.
I see I've duplicated https://github.com/aidancbrady/Mekanism/issues/3977.


Module build failed from postcss-loader

Using webpack to package in angular13, the package triggers "Error: Module build failed (from ... /... /... /... /... /node_modules/postcss-loader/dist/cjs.js):".
I don't have anything related to postcss-loader set in my webpack.:
`

{
test: /.css$/,
use: [
"css-to-string-loader",
{ loader: "css-loader", options: { sourceMap: true } },
{ loader: "less-loader", options: { sourceMap: true } }
]
},

`
The only postcss-loader that exists is '<EMAIL_ADDRESS>Here<EMAIL_ADDRESS>and<EMAIL_ADDRESS>exist.
I have tried downgrading postcss-loader and postcss-import to v3 and v13. but it still reports this error.
Where is this problem, please?
Here is the package.json:
`

{
"name": "htmlaccess",
"version": "1.0.0",
"private": true,
"description": "HTML Access View Client & Chrome Client",
"scripts": {
"preinstall": "npx npm-force-resolutions"
},
"resolutions": {
"webpack-dev-server/**/spdy-transport": "^3.0.0",
"postcss-import": "^13.0.0"
},
"dependencies": {
"@angular/animations": "13.2.4",
"@angular/common": "13.2.4",
"@angular/compiler": "13.2.4",
"@angular/core": "13.2.4",
"@angular/forms": "13.2.4",
"@angular/localize": "^13.2.4",
"@angular/platform-browser": "13.2.4",
"@angular/router": "13.2.4",
"@auth0/angular-jwt": "^5.0.2",
"@ng-bootstrap/ng-bootstrap": "^11.0.0",
"@types/lodash": "^4.14.175",
"big-integer": "^1.6.50",
"bootstrap": "4.5.2",
"buffer": "^6.0.3",
"core-js": "2.6.9",
"crc-32": "^1.2.0",
"crypto-browserify": "^3.12.0",
"file-saver": "^2.0.5",
"jquery": "3.6.0",
"jquery-ui-dist": "1.12.1",
"jssha": "3.1.2",
"lodash": "^4.17.21",
"popper.js": "1.16.1",
"resize-observer-polyfill": "^1.5.1",
"rxjs": "~6.6.7",
"snappyjs": "^0.6.0",
"style-loader": "^3.3.1",
"tslib": "^2.0.0",
"webpack": "^5.67.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^13.1.0",
"@angular-devkit/build-angular": "13.2.5",
"@angular-devkit/core": "~13.2.5",
"@angular/cli": "13.2.5",
"@angular/compiler-cli": "~13.2.4",
"@angular/language-service": "~13.2.4",
"@angular/platform-browser-dynamic": "~13.2.4",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@ngtools/webpack": "^13.2.5",
"@types/angular": "^1.6.57",
"@types/bootstrap": "^4.5.0",
"@types/chrome-apps": "0.0.13",
"@types/file-saver": "^2.0.1",
"@types/jasmine": "^3.6.5",
"@types/jquery": "^3.5.1",
"@types/jqueryui": "^1.12.10",
"@types/node": "14.0.4",
"@types/w3c-web-usb": "^1.0.4",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"babel-loader": "^8.2.2",
"base-href-webpack-plugin": "^3.0.0",
"bower": "1.8.8",
"bower-art-resolver": "^2.0.0",
"clean-webpack-plugin": "^3.0.0",
"copy-dir": "^0.3.0",
"copy-webpack-plugin": "^10.2.4",
"cross-env": "^7.0.3",
"css-loader": "^3.6.0",
"css-to-string-loader": "^0.1.3",
"dts-bundle": "^0.7.3",
"eslint": "^8.10.0",
"eslint-config-google": "^0.14.0",
"eslint-webpack-plugin": "^3.1.1",
"exports-loader": "^0.6.4",
"expose-loader": "^3.0.0",
"extend": "^3.0.2",
"file-loader": "^5.0.2",
"gettext-parser": "1.1.2",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^5.5.0",
"http-rewrite-middleware": "0.1.6",
"imports-loader": "^0.7.1",
"jasmine-core": "^3.7.1",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.16",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.4",
"karma-sabarivka-reporter": "^3.2.5",
"less": "^4.1.0",
"less-loader": "^6.2.0",
"lint-staged": "^12.3.4",
"mini-css-extract-plugin": "^2.5.3",
"ng-mocks": "^11.10.1",
"null-loader": "^0.1.1",
"prettier": "^1.16.4",
"raw-loader": "0.5.1",
"script-loader": "^0.7.0",
"shelljs": "^0.8.5",
"string-replace-loader": "^3.0.0",
"type-check": "^0.4.0",
"typedoc": "^0.22.12",
"typescript": "^4.3.5",
"url-loader": "^3.0.0",
"webpack-cli": "^4.9.2",
"webpack-crx": "^1.0.7",
"webpack-dev-middleware": "^3.7.2",
"webpack-dev-server": "^4.7.4"
}
}

`
and angular.json:
`

{
"$schema"<EMAIL_ADDRESS>"cli": {
"analytics": false
},
"version": 1,
"newProjectRoot": "projects",
"projects": {
"html5": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "css"
}
},
"root": "projects/html5",
"sourceRoot": "src/main/webapp/webclient",
"prefix": "vmw",
"architect": {
"build": {
"builder":"@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "html5-access.webpack-config.js",
"replaceDuplicatePlugins": true
},
"outputPath": "target/web-build/webclient",
"index": "src/main/webapp/webclient/chrome-client/index.html",
"main": "src/main/webapp/webclient/chrome-client/resources/main.js",
"polyfills": "src/main/webapp/webclient/polyfills.ts",
"tsConfig": "tsconfig.app.json"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/main/webapp/webclient/titan/environments/environment.ts",
"with": "src/main/webapp/webclient/titan/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "100mb",
"maximumError": "100mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "html5:build",
"port": 5002
},
"configurations": {
"production": {
"browserTarget": "html5:build"
}
}
},
"test": {
"builder": "@angular-builders/custom-webpack:karma",
"options": {
"customWebpackConfig": {
"path": "projects/html5/webpack.config.js",
"mergeRules": {
"module": {
"rules": "prepend"
}
},
"replaceDuplicatePlugins": true
},
"main": "projects/html5/src/test.ts",
"polyfills": "src/main/webapp/webclient/polyfills.ts",
"tsConfig": "projects/html5/tsconfig.spec.json",
"karmaConfig": "projects/html5/karma.conf.js",
"assets": [],
"styles": [
"node_modules/jquery-ui-dist/jquery-ui.min.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/main/webapp/webclient/shared/styles/style.css",
"src/main/webapp/webclient/shared/styles/appblast.css",
"src/main/webapp/webclient/shared/styles/clipboard.css",
"src/main/webapp/webclient/shared/styles/sidebar.css",
"src/main/webapp/webclient/shared/styles/modal-dialogs.css"
],
"scripts": [
"node_modules/crc-32/crc32.js",
"node_modules/jquery/dist/jquery.min.js",
"node_modules/jquery-ui-dist/jquery-ui.min.js",
"node_modules/file-saver/dist/FileSaver.min.js"
]
}
}
}
}
},
"defaultProject": "html5"
}

`

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.


Unable to set two notification handlers for same Bucket

Expected behaviour:

claudia add-s3-event-source --profile private --region eu-west-1 --bucket test.secretescapes.com --events s3:ObjectCreated:* --prefix sales-upload/ --suffix .jpg allows me to setup S3 Bucket Notification handler.

What actually happens:

Unfortunately, this command allows to setup only one command at all for one bucket. So when I run: claudia add-s3-event-source --profile private --region eu-west-1 --bucket test.secretescapes.com --events s3:ObjectCreated:* --prefix sales-upload/ --suffix .png to add new handler for different suffix I get:
{ ResourceConflictException: The statement id (test_secretescapes_com-access) provided already exists. Please provide a new statement id, or remove the existing statement.
    at Object.extractError (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/protocol/json.js:43:27)
    at Request.extractError (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/protocol/rest_json.js:37:8)
    at Request.callListeners (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
    at Request.emit (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
    at Request.emit (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/request.js:671:14)
    at Request.transition (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/Users/kamil/work/aws-lambda-image/node_modules/aws-sdk/lib/request.js:673:12)
  message: 'The statement id (test_secretescapes_com-access) provided already exists. Please provide a new statement id, or remove the existing statement.',
  code: 'ResourceConflictException',
  time: 2017-02-12T14:18:48.898Z,
  requestId: '2be6e299-f12e-11e6-86a0-7d781ad7b133',
  statusCode: 409,
  retryable: false,
  retryDelay: 73.63990209771674 }

Steps to reproduce the problem:

Just try to add second handler for same Bucket but different prefix or suffix.

This could be supported by adding a current timestamp or some kind of rule source hash to the statement ID here: https://github.com/claudiajs/claudia/blob/c3b837d5f4537483e4d7f2e89d29e4ca7751d370/src/commands/add-s3-event-source.js#L37
would you like to give it a try and submit a PR?

I would rather think of checking if policy for that bucket already exists and skipping that step if it does. This could be accomplished by checking in IAM or storing policies together with role in claudia.json. What do you think about such approach?

It would be good to have a check if the equivalent policy exists, but I think skipping is wrong, it should fail if the same thing exists and someone tries to add it. the statement ID would still have to change if you want to add two triggers to the same s3 bucket

As Claudia is setting Inline Policy for that role and it's using Bucket name based convention, I do not see a reason why we could not trust this approach. I believe I'm missing something here, so I would appreciate some help in understanding this aspect.
Looking over every policy content seems to be out of question, because seems to be overcomplicated for what we are trying to achieve here.
As a different approach we could be simulating/testing if our role already has all needed permissions, without the need of going into the details. We should be able to use AIM itself to do such check, which would be a equivalent of aws iam simulate-principal-policy --policy-source-arn arn:aws:iam::12345678901234:role/aws-lambda-image-executor --action-names "s3:*" --resource-arns "arn:aws:s3:::test.secretescapes.com/*"
I also understand that user is able to provide his own policies in create step, but this still should not stay in conflict with the name based approach, right?

it's possible for someone to attach additional policies outside claudia, so I wouldn't trust too much the fact that the policy with that name exists. I didn't know about simulate-principal-policy, that actually sounds quite nice. If I understand correctly what will happen there, if the simulation succeeds we know not to add the policy? This would allow eg externally allowed roles and so on to be used without duplicating policy rights.

Thanks for this fix! 👍 I've had no time to work on it :/

this is now on NPM as 2.8.0


Dictionary has keys and values mixed up

When opening a dictionary of dataframes from the Variable explorer, the sizes and values do not match the actual data. Specifically, when I start sorting the keys, one can see that the sizes are not sorted correctly:

I get this problem even before "sorting" the dictionary, because when opening the dictionary the keys by default are displayed alphabetically and not in the actual insertion order.
However, I do not have this problem with dicts of small dfs. E.g., sorting this one works perfectly fine:
directors = {}
directors["A"] = pd.DataFrame({"A": "joe","A2": "biden"}, index=[0])
directors["B"] = pd.DataFrame({"B": "don","B2": "trump"}, index=[0])
directors["C"] = pd.DataFrame({"C": "anderson","C2": "cooper"}, index=[0])
directors["D"] = pd.DataFrame({"D": "katie","D2": "hobbs"}, index=[0])

Spyder version: 4.1.5
Python version: 3.7.7 64-bit
Qt version: 5.12.8
PyQt version: 5.12.3
Operating System name/version: Windows 10

Hey @skalierer, thanks for reporting. I think this was already fixed by @skjerns and it'll be available in our 4.2.0 version, to be available in the net few days.
@skjerns, could you confirm that?

this should be fixed indeed, unless this issue is different from #13733  which I cannot checkwithout code

Apologies for not having found #13733 myself! This looks like the fix I was looking for. Thank you for your efforts!

I'm currently using 4.2.0 and see a similar issue.
Steps to reproduce:

Create a dict with lists as values. An illustrative example is:
var = {'a_len=4': [1,2,3,4], 'b_len=8': [1,2,3,4,5,6,7,8], 'c_len=5': [1,2,3,4,5]}
View the variable in the variable explorer. Click on "Size" twice (to sort increasing and then decreasing). On the second click only the size column is reordered. Thus the columns go out of sync.

As the problem only ocurred when sorting in the reverse direction, I quickly tracked it down to the line
https://github.com/spyder-ide/spyder/blob/436290ba71bb16c5928676467a358b70f4f38c10/spyder/plugins/variableexplorer/widgets/collectionseditor.py#L288
It is missing a keyword argument "reverse=reverse". (Verified by editing my local files.)
I could make a pull request with this change. Would branch 4.x be the right place to put it?

I'm currently using 4.2.0 and see a similar issue.
Steps to reproduce:

Create a dict with lists as values. An illustrative example is:
var = {'a_len=4': [1,2,3,4], 'b_len=8': [1,2,3,4,5,6,7,8], 'c_len=5': [1,2,3,4,5]}
View the variable in the variable explorer. Click on "Size" twice (to sort increasing and then decreasing). On the second click only the size column is reordered. Thus the columns go out of sync.

As the problem only ocurred when sorting in the reverse direction, I quickly tracked it down to the line
https://github.com/spyder-ide/spyder/blob/436290ba71bb16c5928676467a358b70f4f38c10/spyder/plugins/variableexplorer/widgets/collectionseditor.py#L288
It is missing a keyword argument "reverse=reverse". (Verified by editing my local files.)
I could make a pull request with this change. Would branch 4.x be the right place to put it?

Hey @hengin, thanks for tracking that problem down! A pull request against 4.x is the right thing to do too. Thanks for your help!

Hello @ccordoba12, thanks for responding so quickly! I see GitHub has already linked my pull request, so I guess I'm only commenting here to show my appreciation :+1:


deconz devices becoming unavailable

The problem
My ZigBee devices connected to deConz are becoming constantly unavailable without any apparent reason. I have multiple brands including Phillips and Aqara. They're all bettery-run so none are acting as repeaters.
Environment
docker_version | 19.03.8
host_os | HassOS 4.10
os_version | 4.19.126-v8
python_version | 3.7.7
supervisor | 228
version | 0.112.0
frontend |  20200603.3 - latest
deconz | 5.3.6
Logs
Nothing shows up on the logs
Images

I've been having the same issues on and off since I upgraded to 5.3.4 an above. I'm now on 5.3.6 and keep getting this in the logs
10:37:11:408 COM: /dev/ttyACM0 / serialno: redacted
10:37:11:408 COM: --dev: /dev/ttyACM0 (ConBee II)
10:37:11:924 device state timeout ignored in state 2
10:37:12:875 device state timeout ignored in state 2
10:37:13:868 device state timeout ignored in state 2
10:37:14:368 try to reconnect to network try=6
10:37:15:869 device state timeout ignored in state 2
10:37:16:869 device state timeout ignored in state 2
10:37:17:869 device state timeout (handled)
10:37:17:931 device disconnected reason: 1, index: 0
10:37:18:368 wait reconnect 15 seconds
10:37:18:368 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
10:37:18:368 device state timeout ignored in state 1
10:37:19:368 failed to reconnect to network try=7
10:37:19:368 wait reconnect 14 seconds

The initial issue by @aguilaair should be reported for the integration, not the add-on. Which was already done I see, so that makes this issue an duplicate.
@jappish84 That is the log from deCONZ itself. Please report that with dresden. 👍


How can I manually download Cesium for Unity using the Package Manager

Hi,
I would like to start a new project from scratch, and not from the sample project. How can I manually download Cesium for Unity using the Package Manager?

See the Quick Start. Please post followup questions to the community forum; we use GitHub issues only for bug reports and feature requests.


Wrong url for forge download

[OS]
Ubuntu 22.04
Minecraft install via snap
I had an issue with the version 2.4 of  GT new horizons
The link to download forge was worng
reating .minecraft directory
Creating symlinks
Installing modloader
Updating user launcher profiles
Downloading https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-<IP_ADDRESS>4/forge-1.7.10-<IP_ADDRESS>4-installer.jar
Got 404 error trying to download Forge
Downloading https://adfoc.us/serve/sitelinks/?id=271228&url=https://maven.minecraftforge.net/net/minecraftforge/forge/1.7.10-<IP_ADDRESS>4-1.7.10/forge-1.7.10-<IP_ADDRESS>4-1.7.10-installer.jar
Traceback (most recent call last):
  File "/home/herrlockckun/modpack-installer/install.py", line 393, in <module>
    main(
  File "/home/herrlockckun/modpack-installer/install.py", line 243, in main
    modloaders[modloader].main(manifest, mcver, mlver, packname, user_mcdir, manual)
  File "/home/herrlockckun/modpack-installer/forge_install.py", line 46, in main
    resp = download(url, outpath, True)
  File "/home/herrlockckun/modpack-installer/util.py", line 33, in download
    size = int(r.headers['Content-Length'])
  File "/usr/lib/python3/dist-packages/requests/structures.py", line 54, in __getitem__
    return self._store[key.lower()][1]
KeyError: 'content-length'

the format of the url appear to be mcver + mlver + mcver and not mcver + mlver.
So i changed line 33 of forge_install.py from
   forge_fullver = mcver + '-' + mlver to     forge_fullver = mcver + '-' + mlver + '-' + mcver
And this work for me.

If I remember right, the format is not consistent across different versions of Forge. I can check if that's what's happening. In any case, the fallback option should not be trying to use an adfocus link.

I have not fully tested it, but this should be resolved in f6aa4ea.


1.1.1

Bringing iotivity-node up to par with iotivity.
@nagineni could you please test this with our demo setup?

LGTM  :+1:


Update lucene-analyzers-common to 8.11.2

Updates org.apache.lucene:lucene-analyzers-common from 8.11.1 to 8.11.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (8.11.1).
You might want to review and update them manually.
nlpcraft-examples/lightswitch-fr/pom.xml
nlpcraft-examples/lightswitch-ru/pom.xml

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.lucene", artifactId = "lucene-analyzers-common" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.apache.lucene", artifactId = "lucene-analyzers-common" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

already upgraded to 8.11.2


MergeFolderList fails with "Default folder Drafts not found"

I have two default created mailboxes but with different languages.
My wish was to merge automatically WellKnownFolderName.Drafts into WellKnownFolderName.Drafts without caring about the used translation.
Target:

Source:

But the script fails.
.\Merge-MailboxFolder.ps1 -SourceMailbox<EMAIL_ADDRESS>-TargetMailbox<EMAIL_ADDRESS>-ProcessSubfolders -CreateTargetFolder -Copy -Office365 -Impersonate -OAuth -MergeFolderList @{"WellKnownFolderName.Drafts" = "WellKnownFolderName.Drafts"}
11.06.2024 17:36:11 [Merge-MailboxFolder.ps1] Merge-MailboxFolder.ps1 version 1.4.2 starting
11.06.2024 17:36:11 [LoadEWSManagedAPI] Using EWS Managed API found at: PowerShell-EWS-Scripts\Legacy\Microsoft.Exchange.WebServices.dll

Processing mailbox<EMAIL_ADDRESS>11.06.2024 17:36:12 [ErrorReported] ERROR (ThrottledFolderBind): Ausnahme beim Aufrufen von "Bind" mit 3 Argument(en):  "The specified object was not found in the store., Default folder Drafts not found."
Merge parameters invalid: merge  into WellKnownFolderName.Drafts
Finished processing mailbox<EMAIL_ADDRESS>11.06.2024 17:36:12 [Merge-MailboxFolder.ps1] Script finished in 00:00:00.3770003

I have also tried to use the correct folder names which fails like this:
[...]-MergeFolderList @{"Entwürfe" = "Drafts"}
[...]
11.06.2024 17:35:30 [GetFolder] Failed to create folder Entwürfe in path Entwürfe
Merge parameters invalid: merge  into Entwürfe

Also tried to use WellKnownFolderName.Drafts in both cases:
[...]-MergeFolderList @{"WellKnownFolderName.Drafts" = "WellKnownFolderName.Drafts"}
[...]
11.06.2024 17:34:50 [ErrorReported] ERROR (ThrottledFolderBind): Ausnahme beim Aufrufen von "Bind" mit 3 Argument(en):  "The specified object was not found in the store., Default folder Drafts not found."
Merge parameters invalid: merge  into WellKnownFolderName.Drafts

Does source mailbox have FullAccess rights to target mailbox?  The script impersonates the source mailbox, so that mailbox needs FullAccess rights to the target for the impersonation to work.

Folder permissions won't work in this scenario.  FullAccess permissions are needed (https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-permissions-for-recipients).
I have just tested this - I can reproduce the issue when I don't have permissions set, but after granting FullAccess the script then works as expected.

Works fine for me as well.
Perhaps you can update the documentation to mention this as well. I have found within another issue the hint about the permissions, but I didn't got that there are differences between folder permissions and mail box permissions.

I have two mailboxes, one works with the mailbox permission update and the other does not work. 🤣
11.06.2024 18:19:01 [MoveItems] Copying from source:\Top of Information Store\Drafts to target:\Oberste Ebene des Informationsspeichers\Entwürfe
11.06.2024 18:19:01 [MoveItems] 14 items found; attempting to copy
11.06.2024 18:19:01 [ThrottledBatchMove] UNEXPECTED ERROR ON MOVE: Ausnahme beim Aufrufen von "CopyItems" mit 3 Argument(en):  "The specified target folder could not be found."

I have set the permission like for the other mailbox:
Add-MailboxPermission -Identity target -User source -AccessRights FullAccess -InheritanceType All -AutoMapping $false

I'll do some testing for the scenario, it's not one I've tested before.  I suspect the script may be targeting one of the WellKnownFolders at the wrong mailbox (from the log, this would be the target mailbox).
For the mailbox where it worked, was the localisation of each of the mailboxes the same?  I'm not sure why it would work for one but not another - if the targeting is wrong, I'd expect it to fail consistently (I've only been testing in -WhatIf mode so far).

Here both scenarios:

Source
Target

Entwürfe
Drafts
Worked with WellKnownFolderName

Drafts
Entwürfe
Worked with with manual mapping

Some side note, the mailbox had only issues with the Drafts WellKnownFolderName. The others worked directly.
Perhaps there is also some issue at our O365 Tenant, I can't explain.
Finally it is working. Thanks for the support and your script!

If it worked for the other WellKnownFolders then the script must be targeting ok (I thought it should be as I did some work quite some time ago to ensure mailbox was included with folder Ids).
If the issue only occurred with one Drafts folder, I suspect mailbox corruption.  The Drafts folder is defined by a property on the mailbox root folder (PR_IPM_DRAFTS_ENTRYID) - I have seen this kind of issue when that property is invalid (e.g. the EntryId does not match a folder).
Thanks for confirming - I won't test further unless I get any other reports of issues.


preview-thumbnails via src:callback()

I have a request: We can't use the current VTT-previewThumbnails for some reasons.
Would you mind to extend the API with a callback (see the attached pull request)?
E.g.:
previewThumbnails: {
    enabled: true,
    src: function() {
        return [{
            frames: [{
                startTime: 0,
                endTime: 1000,
                text: "http://localhost/demo/240p-00001.jpg",
                x: 0,
                y: 0,
                w: 427,
                h: 240},
                //...
            ],
            width: 2135,
            height: 1200,
            urlPrefix: "",
        }];
    },
}

Thanks for looking at this 👍 This PR will fail ESLint though. Please check you have ESLint installed and running. Preferably with Prettier.

We don't use underscores in variable names. Please stick to camelCase. i.e. you could just call the function resolve.
We have built-in type checking helpers. i.e. is.function(...)
If statements need a space after the if and no spaces inside the parenthesis - i.e. if (something) {

Fixed. And I have changed the API e.g. to call an XHR request in the callback:
Thanks a lot for your help.
previewThumbnails: {
    enabled: true,
    src: function(resolver) {
        var thumbnails = [{
            frames: [{
                startTime: 0,
                endTime: 10000,
                text: "http://localhost/demo/240p-00001.jpg",
                x: 0,
                y: 0,
                w: 427,
                h: 240},
                //...
            ],
            width: 2135,
            height: 1200,
            urlPrefix: "",
        }];
        resolver(thumbnails);
    },
}

Thanks a lot for your help!


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.18 to before v5.15.6",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb9d43f6775457cac75544bc4197f26ac2b6f294",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bb851d0fb02547d03cd40106b5f2391c4fed6ed1"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "cb9d43f6775457cac75544bc4197f26ac2b6f294",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "bb851d0fb02547d03cd40106b5f2391c4fed6ed1",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.6 by commit bb851d0fb02547d03cd40106b5f2391c4fed6ed1, it was introduced in version v4.18 by commit cb9d43f6775457cac75544bc4197f26ac2b6f294. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002540


Remote CLI: Only manage remote extensions

Fixes https://github.com/microsoft/vscode-remote-release/issues/4377
Fixes https://github.com/microsoft/vscode-remote-release/issues/4372

@aeschli Changes look good to me. Did some polish (tweaked the message a bit). Feel free to push.

@aeschli Changes look good to me. Did some polish (tweaked the message a bit). Feel free to push.

@sandy081 I improved the printed messages to indicate the location where the list/install/uninstall happens

@sandy081 I improved the printed messages to indicate the location where the list/install/uninstall happens


Fixed reacttable to use the same formatting as datatablesjs

Reduced the amount of duplicated formatting code and fixed an issue where decimals values were not be displayed with comma separators

Coverage decreased (-0.06%) to 93.064% when pulling d9976e6a4c481008571f9a1d5cd86164c9da2410 on fix_react_formats_again into 143ce2bfd2c70d87b800e2c659bdb47d1b814478 on fireant1.0.


[Bug]: snowflake_object_parameter on warehouse constantly seen as modified

Terraform CLI Version
1.9.1
Terraform Provider Version
0.92.0
Terraform Configuration
I created a warehouse and modified a specific parameter on it:

resource snowflake_warehouse test {
  name = "TEST"
  warehouse_size = "xsmall"
  initially_suspended = true
  auto_resume         = true
  auto_suspend        = 60
}

resource "snowflake_object_parameter" "test" {
  key = "STATEMENT_TIMEOUT_IN_SECONDS"
  value = 600
  object_type = "WAREHOUSE"
  object_identifier {
    name = snowflake_warehouse.test.name
  }
}

Everything works fine, but every time I run terraform the object_parameter is detected as modified and thus update.

Category
category:resource
Object type(s)
resource:object_parameter
Expected Behavior
Since the parameter value is unchanged, nothing should happen
Actual Behavior
The parameter is updated at any terraform apply
Steps to Reproduce

create a snowflake_warehouse
create a snowflake_object_parameter connected to the above warehouse
run terraform apply
run terraform plan --> parameter change is planned over and over again

How much impact is this issue causing?
Low
Logs
No response
Additional Information
No response
Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Hey @danielefrigo . Thanks for reaching out to us.
The warehouse resource is being redesigned as part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#preparing-essential-ga-objects-for-the-provider-v1. This is already reworked, but not released yet - should happen very soon.

Hey @danielefrigo. One additional comment from my side.
With the current resources redesign, we are slowly moving away from allowing the same parameter configuration in different places. This is the exact problem you observe here. statement_timeout_in_seconds is configured in your example in two places:

snowflake_object_parameter (value: 600)
snowflake_warehouse directly (default value on the resource level: 172800)

So essentially, you want to configure the same parameter in two places to different values, so continuous diff is expected.
In the current version, you can just set statement_timeout_in_seconds on the warehouse level and get rid of the snowflake_object_parameter.
In the upcoming v0.93.0, the behavior will be a bit different because we are getting rid of the provider's internal defaults (we leave it to Snowflake). The current example will work exactly the same, though. The reason for that is, that the new warehouse implementation would detect any drift to the parameter, including the level on which the parameter is set, so:

not setting the parameter on the warehouse level will mean that Snowflake will set the parameter to the account/snowflake default value (depending on your account setup)
setting in the snowflake_object_parameter will change the level to object, so the warehouse resource will discover a drift (similarly to having two different values in your initial example).

Long story short do not use both objects simultaneously:

we recommend handling the parameters on the object resource level; we will add missing ones to all the resources during the rework (they are there for warehouse already)
we are still considering leaving the snowflake_object_parameter resource but for the cases where you don't want to manage the whole object but only its parameters

Also, you can check the upcoming migration notes (there is a long warehous-dedicated section: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#v0920--v0930).


Change the install url to .

Proposed Changes

Change the install url to . Consistent with the official website documents. https://knative.dev/docs/install/knative-with-operators/

Release Note

None

@googlebot I signed it!

/ok-to-test


Fixed url validation in FormValidation to admit ip addresses

@sneridagh @tiberiuichim what about this pr? what do you think?


Make LEDs work

First you have to put nK2 in External LED mode.

What to do with it now?

The S button LED indicates, if the adjacent knob is active. For faders, it is the M button LED.


Error: Using $this when not in object context in InstagramScraper\Instagram::getMediasByTag() (line 414 of InstagramScraper/Instagram.php).

Hi all
if I try to use getMediasByTag then I became this error
Error: Using $this when not in object context in InstagramScraper\Instagram::getMediasByTag() (line 414 of .../vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php).
if I change the $this to a new object it works, but I don't think that this is a good solution...
and if i became the result back, the ownerId is filled out, but not the owner name. Any ideas?
thank for help

see

ok thank you
we call the methods like this, its this wrong?
try {       $medias = Instagram::getMediasByTag($tag, $amount);       return array('success' => $medias);     }     catch (\Exception $ex) {       return array('error' => $ex);     }

Method has been set not static in version 0.5.0 link.
try this:
try {
    $instagram = new Instagram();
    $medias = $instagram->getMediasByTag($tag, $amount);

    return array('success' => $medias);
} catch (\Exception $ex) {
    return array('error' => $ex);
}

work as described


Add "Esc" keyboard shortcut to dismiss things

This is a specific example, but one of the things that I found very annoying in general with vs code and also with web apps in general, but something that true desktop apps seem to just get right every time:
In sublime text, pressing ctrl+shift+f open the "view files". But, you can get out of there by pressing "Esc".  This is not specific to the "view files" command. In general, it feels like you can get out or close things with "Esc".
On vs code... nothing happens.

/needsmoreinfo

This is because the global search in VS Code is a "tab" of the activity bar while in Sublime Text it's a dialog. Dialogs in VS Code (e.g. Ctrl+F in a file) can be dismissed using Escape.

And btw you can configure ESC to close the search sidebar.


Error when deploying Nodejs app

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: remote: Deploy Async
send-pack: unexpected disconnect while reading sideband packet
error: error in sideband demultiplexer
To https://twobitbears.scm.azurewebsites.net:443/twobitbears.git

[new branch]      HEAD -> master

Version: 0.19.0
OS: darwin
OS Release: 20.5.0
Product: Visual Studio Code
Product Version: 1.46.1
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:164:522736
rejected extension.bundle.js:164:522163
processTicksAndRejections task_queues.js:85:5

Please provide repro steps.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


"Costești-Vâlsan", "Mușătești" are listed in the drop-down menu

Description:
When user writes "Costești-Vâlsan" and "Mușătești" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Costești-Vâlsan"

Expected results
The location appears in the drop-down menu as "Costești-Vâlsan, Argeș (Mușătești)"

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Mușătești"

Expected results
The location appears in the drop-down menu as "Mușătești, Argeș (Mușătești)"


modules: hal: ti: fix timer integration issues

DNM: PR head needs to be replaced by SHA in west.yml.
Updates the TI hal module to include the following fixes in Zephyr's ClockP API implementation:

The unused stubs.h header was removed.
The ClockP implementation contained some cruft due to an incomplete migration from the ms based to the tick based kernel timer API.
The ClockP implementation assumed timeouts and periods to be given in ms although TI's API always expected ticks.
A fix for a major conversion bug in TI's own usage of the ClockP API throughout the SimpleLink framework is included.

See https://github.com/zephyrproject-rtos/hal_ti/pull/49

@cfriedt @vaishnavachath Final SHA now inserted. Can be re-ACKed and merged now. Thanks for your help!


Add fetch message while threads are loading

Overview
This PR adds message to .instruments call while threads are loading to fetch the metadata from Uframe.

Pull Request Test Coverage Report for Build 299

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 ?%

Totals

Change from base Build 297:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls


Better fetch

This branch prevents 404 messages on missing QC Reports.
We now also return the QC Report as a Promise allowing processing in the background instead of waiting for all QC Reports to process before displaying results. The Promise can now be awaited only when we need the data from any particular report and is likely to be fully processed and ready when we need it without delaying UI.

I added the Title and Favicon update to this PR because they are quick little changes and didn't need their own branch.


Using CanCan authorization on custom action

Hello.
I have forked rails_admin_charts gem, which is custom action for rails_admin.
It shows number of models as graph and uses self method to query database.
When admin logs in, he can see in graph all models. However, when user logs in he also sees all models.
How to make custom action to get only user's models to show it on graph?

You can call authorization adapter in your custom action, like: https://github.com/sferik/rails_admin/blob/9abc1be0c1fee006a7a746583461891911fe9330/lib/rails_admin/config/actions/dashboard.rb#L29

Wow, answer after 4 years 😆. At least it wasn't completely forgotten.


tutanota-desktop: 3.119.3 -> 3.121.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/tutanota-desktop/versions.
meta.description for tutanota-desktop is: Tutanota official desktop client
meta.homepage for tutanota-desktop is: https://tutanota.com/
meta.changelog for tutanota-desktop is: https://github.com/tutao/tutanota/releases/tag/tutanota-desktop-release-3.121.4
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.121.4 with grep in /nix/store/bwnb8qp3daap38p1d29pghsxs06fb9kf-tutanota-desktop-3.121.4
found 3.121.4 in filename of file in /nix/store/bwnb8qp3daap38p1d29pghsxs06fb9kf-tutanota-desktop-3.121.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
tutanota-desktop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bwnb8qp3daap38p1d29pghsxs06fb9kf-tutanota-desktop-3.121.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tutanota-desktop https://github.com/r-ryantm/nixpkgs/archive/26a7b2ca6a2561936ba50c9ff1899f07fe200a1b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/26a7b2ca6a2561936ba50c9ff1899f07fe200a1b#tutanota-desktop

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bwnb8qp3daap38p1d29pghsxs06fb9kf-tutanota-desktop-3.121.4
ls -la /nix/store/bwnb8qp3daap38p1d29pghsxs06fb9kf-tutanota-desktop-3.121.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

tutanota-desktop

Maintainer pings
cc @WolfangAukang for testing.

Superseded by #278953


Uncaught TypeError: data[config] is not a function

Use dispose instead of destroy
fixed documentation by https://github.com/twbs/bootstrap/commit/62199b96dc8f2b56ca46df2762e328442ce29157

thanks


#35: Added regular reporting of metrics from EXA_SYSTEM_EVENTS

Closes #35

left open: https://github.com/exasol/cloudwatch-adapter/issues/37


Expose changedValue Method to get the new changed value in BluetoothCharacteristic

fix issue #378

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

Obsolete from https://github.com/pauldemarco/flutter_blue/pull/526


Rc 4.0.0 major

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 5
- Added 11

Complexity increasing per file
==============================
- src/Helper/RequestInspector.php  6
- src/Mapper/RequestMapper.php  1
- src/Helper/ResponseType.php  1

Complexity decreasing per file
==============================
+ src/Mapper/ResponseMapper.php  -7

Clones added
============
- examples/payments/CreditCard/createUiThreeD.php  1
- examples/payments/CreditCard/createUiWppV2.php  1
- examples/payments/CreditCard/createUiWppV2Token.php  2

Clones removed
==============
+ examples/payments/CreditCard/pay_tokenize.php  -1
+ examples/payments/CreditCard/reserve.php  -1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 6
- Added 1

Coverage increased per file
===========================
+ src/Entity/StatusCollection.php  100
+ src/Entity/AccountInfo.php  73
+ src/Entity/Mappable.php  6
+ src/Entity/Payload/NvpPayloadData.php  63
+ src/Mapper/ResponseMapper.php  100
+ src/Response/ResponseFactory.php  78
+ src/TransactionService.php  54
+ src/Response/SuccessResponse.php  100
+ src/Entity/Amount.php  100
+ src/Transaction/PoiPiaTransaction.php  100
+ src/Entity/RiskInfo.php  76
+ src/BackendService.php  43
+ src/Entity/Card.php  100
+ src/Transaction/AlipayCrossborderTransaction.php  100
+ src/Response/InteractionResponse.php  100
+ src/Transaction/MaestroTransaction.php  100
+ src/Response/FailureResponse.php  100
+ src/Helper/XmlBuilder.php  90
+ src/Transaction/CustomFieldTransaction.php  85
+ src/Response/XmlResponseData.php  94
+ src/Transaction/SepaDirectDebitTransaction.php  100
+ src/Config/Config.php  98
+ src/Transaction/Transaction.php  90
+ src/Entity/AccountHolder.php  85
+ src/Transaction/BancontactTransaction.php  100
+ src/Entity/Status.php  100
+ src/Transaction/UpopTransaction.php  100
+ src/Mapper/Response/MapperFactory.php  100
+ src/Transaction/PayolutionBtwobTransaction.php  100
+ src/Entity/TransactionDetails.php  98
+ src/Transaction/RatepayInstallmentTransaction.php  100
+ src/Transaction/Risk.php  100
+ src/Config/MaestroConfig.php  100
+ src/Transaction/EpsTransaction.php  40
+ src/Entity/Payload/PayPalPayloadData.php  86
+ src/Entity/SubMerchantInfo.php  100
+ src/Transaction/RatepayDirectDebitTransaction.php  100
+ src/Transaction/PtwentyfourTransaction.php  100
+ src/Entity/Payload/PayloadDataFactory.php  95
+ src/Mapper/RequestMapper.php  90
+ src/Entity/Address.php  100
+ src/Entity/Periodic.php  100
+ src/Transaction/RatepayTransaction.php  100
+ src/Entity/Item.php  100
+ src/Transaction/CreditCardTransaction.php  99
+ src/Transaction/PayolutionInvoiceTransaction.php  100
+ src/Entity/Redirect.php  39
+ src/Entity/PaymentDetails.php  90
+ src/Response/FormInteractionResponse.php  100
+ src/Transaction/MasterpassTransaction.php  100
+ src/Transaction/RatepayInvoiceTransaction.php  100
+ src/Transaction/SepaCreditTransferTransaction.php  100
+ src/Entity/Payload/RatepayPayloadData.php  86
+ src/Transaction/SofortTransaction.php  100
+ src/Transaction/UpiTransaction.php  100
+ src/Entity/Payload/SyncPayloadData.php  86
+ src/Config/SepaConfig.php  100
+ src/Transaction/WeChatTransaction.php  100
+ src/Config/PaymentMethodConfig.php  100
+ src/Entity/Browser.php  35
+ src/Helper/RequestInspector.php  100
+ src/Entity/CustomFieldCollection.php  98
+ src/Config/CreditCardConfig.php  100
+ src/Entity/CompanyInfo.php  100
+ src/Transaction/PayPalTransaction.php  100
+ src/Transaction/PaysafecardTransaction.php  100
+ src/Entity/FormFieldMap.php  100
+ src/Entity/Device.php  91
+ src/Transaction/SepaBtwobTransaction.php  100
+ src/Transaction/GiropayTransaction.php  100
+ src/Transaction/IdealTransaction.php  100
+ src/Response/Response.php  97
+ src/Entity/Basket.php  92
+ src/Entity/CustomField.php  85
+ src/Entity/Mandate.php  100
+ src/Mapper/Response/SeamlessMapper.php  100
+ src/Entity/BankAccount.php  100
+ src/Mapper/Response/WithSignatureMapper.php  75

Complexity increasing per file
==============================
- src/Entity/Payload/NvpPayloadData.php  2
- src/Response/ResponseFactory.php  4
- src/Helper/XmlBuilder.php  3
- src/Response/XmlResponseData.php  3
- src/Mapper/Response/MapperFactory.php  1
- src/Entity/Payload/PayPalPayloadData.php  2
- src/Entity/Payload/PayloadDataFactory.php  6
- src/Mapper/RequestMapper.php  1
- src/Mapper/Response/WithoutSignatureMapper.php  1
- src/Entity/Payload/RatepayPayloadData.php  2
- src/Entity/Payload/SyncPayloadData.php  2
- src/Helper/RequestInspector.php  6
- src/Entity/Payload/IdealPayloadData.php  2
- src/Mapper/Response/SeamlessMapper.php  6
- src/Mapper/Response/WithSignatureMapper.php  1

Complexity decreasing per file
==============================
+ src/Mapper/ResponseMapper.php  -7

Clones added
============
- examples/payments/CreditCard/createUiThreeD.php  1
- examples/payments/CreditCard/createUiWppV2.php  1
- examples/payments/CreditCard/createUiWppV2Token.php  2

Clones removed
==============
+ examples/payments/CreditCard/reserve.php  -1
+ examples/payments/CreditCard/pay_tokenize.php  -1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 6
- Added 1

Coverage increased per file
===========================
+ src/Transaction/GiropayTransaction.php  100
+ src/Transaction/Transaction.php  90
+ src/Entity/Periodic.php  100
+ src/Transaction/Risk.php  100
+ src/Response/FormInteractionResponse.php  100
+ src/Transaction/MaestroTransaction.php  100
+ src/Entity/StatusCollection.php  100
+ src/Config/PaymentMethodConfig.php  100
+ src/Transaction/SepaBtwobTransaction.php  100
+ src/Response/XmlResponseData.php  94
+ src/Entity/Redirect.php  39
+ src/Transaction/BancontactTransaction.php  100
+ src/Transaction/CustomFieldTransaction.php  85
+ src/Entity/CompanyInfo.php  100
+ src/Entity/FormFieldMap.php  100
+ src/Entity/Payload/PayPalPayloadData.php  86
+ src/Transaction/SofortTransaction.php  100
+ src/Transaction/CreditCardTransaction.php  99
+ src/Transaction/MasterpassTransaction.php  100
+ src/Config/MaestroConfig.php  100
+ src/Entity/PaymentDetails.php  90
+ src/Entity/Mandate.php  100
+ src/Entity/Item.php  100
+ src/Transaction/WeChatTransaction.php  100
+ src/Config/CreditCardConfig.php  100
+ src/Response/SuccessResponse.php  100
+ src/Transaction/PayolutionBtwobTransaction.php  100
+ src/Entity/Payload/SyncPayloadData.php  86
+ src/Response/FailureResponse.php  100
+ src/Response/Response.php  97
+ src/Transaction/EpsTransaction.php  40
+ src/Entity/RiskInfo.php  76
+ src/Response/InteractionResponse.php  100
+ src/Entity/AccountInfo.php  73
+ src/Mapper/RequestMapper.php  90
+ src/Helper/RequestInspector.php  100
+ src/Transaction/UpopTransaction.php  100
+ src/Entity/Address.php  100
+ src/Helper/XmlBuilder.php  90
+ src/Entity/Mappable.php  6
+ src/TransactionService.php  54
+ src/Transaction/PayPalTransaction.php  100
+ src/Entity/SubMerchantInfo.php  100
+ src/Mapper/Response/SeamlessMapper.php  100
+ src/Transaction/UpiTransaction.php  100
+ src/Response/ResponseFactory.php  78
+ src/Transaction/AlipayCrossborderTransaction.php  100
+ src/Transaction/SepaCreditTransferTransaction.php  100
+ src/Entity/Amount.php  100
+ src/Mapper/Response/MapperFactory.php  100
+ src/Transaction/IdealTransaction.php  100
+ src/Transaction/RatepayInvoiceTransaction.php  100
+ src/Transaction/RatepayInstallmentTransaction.php  100
+ src/Transaction/RatepayTransaction.php  100
+ src/Entity/Payload/PayloadDataFactory.php  95
+ src/Entity/BankAccount.php  100
+ src/Transaction/PtwentyfourTransaction.php  100
+ src/Entity/TransactionDetails.php  98
+ src/Config/SepaConfig.php  100
+ src/Entity/Browser.php  35
+ src/Transaction/SepaDirectDebitTransaction.php  100
+ src/Entity/Status.php  100
+ src/Entity/Payload/RatepayPayloadData.php  86
+ src/Transaction/RatepayDirectDebitTransaction.php  100
+ src/Entity/CustomFieldCollection.php  98
+ src/Entity/Payload/NvpPayloadData.php  63
+ src/Entity/AccountHolder.php  85
+ src/Mapper/Response/WithSignatureMapper.php  75
+ src/Entity/CustomField.php  85
+ src/Transaction/PaysafecardTransaction.php  100
+ src/Entity/Basket.php  92
+ src/Entity/Device.php  91
+ src/Transaction/PoiPiaTransaction.php  100
+ src/Mapper/ResponseMapper.php  100
+ src/Entity/Card.php  100
+ src/BackendService.php  43
+ src/Transaction/PayolutionInvoiceTransaction.php  100
+ src/Config/Config.php  98

Complexity increasing per file
==============================
- src/Response/XmlResponseData.php  3
- src/Entity/Payload/PayPalPayloadData.php  2
- src/Entity/Payload/SyncPayloadData.php  2
- src/Mapper/RequestMapper.php  1
- src/Helper/RequestInspector.php  6
- src/Helper/XmlBuilder.php  3
- src/Entity/Payload/IdealPayloadData.php  2
- src/Mapper/Response/SeamlessMapper.php  6
- src/Response/ResponseFactory.php  4
- src/Mapper/Response/MapperFactory.php  1
- src/Entity/Payload/PayloadDataFactory.php  6
- src/Entity/Payload/RatepayPayloadData.php  2
- src/Mapper/Response/WithoutSignatureMapper.php  1
- src/Entity/Payload/NvpPayloadData.php  2
- src/Mapper/Response/WithSignatureMapper.php  1

Complexity decreasing per file
==============================
+ src/Mapper/ResponseMapper.php  -7

Clones added
============
- examples/payments/CreditCard/createUiWppV2Token.php  2
- examples/payments/CreditCard/createUiWppV2.php  1
- examples/payments/CreditCard/createUiThreeD.php  1

Clones removed
==============
+ examples/payments/CreditCard/pay_tokenize.php  -1
+ examples/payments/CreditCard/reserve.php  -1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 6

Complexity increasing per file
==============================
- src/Entity/Payload/PayPalPayloadData.php  2
- src/Mapper/Response/SeamlessMapper.php  6
- src/Entity/Payload/SyncPayloadData.php  2
- src/Entity/Payload/RatepayPayloadData.php  2
- src/Entity/Payload/NvpPayloadData.php  2
- src/Mapper/Response/MapperFactory.php  1
- src/Helper/RequestInspector.php  6
- src/Response/XmlResponseData.php  3
- src/Mapper/RequestMapper.php  1
- src/Entity/Payload/PayloadDataFactory.php  6
- src/Helper/XmlBuilder.php  3
- src/Entity/Payload/IdealPayloadData.php  2
- src/Mapper/Response/WithSignatureMapper.php  1
- src/Response/ResponseFactory.php  4
- src/Mapper/Response/WithoutSignatureMapper.php  1

Complexity decreasing per file
==============================
+ src/Mapper/ResponseMapper.php  -7

Clones added
============
- examples/payments/CreditCard/createUiWppV2Token.php  2
- examples/payments/CreditCard/createUiWppV2.php  1
- examples/payments/CreditCard/createUiThreeD.php  1

Clones removed
==============
+ examples/payments/CreditCard/pay_tokenize.php  -1
+ examples/payments/CreditCard/reserve.php  -1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 6

Complexity increasing per file
==============================
- src/Entity/Payload/SyncPayloadData.php  2
- src/Mapper/Response/WithSignatureMapper.php  1
- src/Mapper/Response/MapperFactory.php  1
- src/Mapper/Response/WithoutSignatureMapper.php  1
- src/Entity/Payload/RatepayPayloadData.php  2
- src/Entity/Payload/PayloadDataFactory.php  6
- src/Entity/Payload/NvpPayloadData.php  2
- src/Response/XmlResponseData.php  3
- src/Helper/XmlBuilder.php  3
- src/Response/ResponseFactory.php  4
- src/Mapper/RequestMapper.php  1
- src/Helper/RequestInspector.php  6
- src/Entity/Payload/PayPalPayloadData.php  2
- src/Entity/Payload/IdealPayloadData.php  2
- src/Mapper/Response/SeamlessMapper.php  6

Complexity decreasing per file
==============================
+ src/Mapper/ResponseMapper.php  -7

Clones added
============
- examples/payments/CreditCard/createUiThreeD.php  1
- examples/payments/CreditCard/createUiWppV2.php  1
- examples/payments/CreditCard/createUiWppV2Token.php  2

Clones removed
==============
+ examples/payments/CreditCard/pay_tokenize.php  -1
+ examples/payments/CreditCard/reserve.php  -1

See the complete overview on Codacy


Add support for macOS arm64 builds in CI

Description
The GitHub Actions runner image support for macos-13-xlarge and macos-14 (beta) arm64 builds.
This PR updates all the macOS runner images to macos-14
Afaik we can't use the macos-13-xlarge ones, not sure if we want to wait for macos-14 to get out of beta.
See also: https://github.com/actions/runner-images
How to test this PR?
Have CI be green

Since it can't find Vorbis as system lib on macos-14 does that mean, we'd have to install it manually?

Since it can't find Vorbis as system lib on macos-14 does that mean, we'd have to install it manually?

Shouldn't it be finding what we have in extlibs? That's what gets found when I configure the library.

Shouldn't it be finding what we have in extlibs? That's what gets found when I configure the library.

I'm referring to the failing macOS System Deps builds, which should find the libraries on the system and not the ones SFML brings along.

Shouldn't it be finding what we have in extlibs? That's what gets found when I configure the library.

I'm referring to the failing macOS System Deps builds, which should find the libraries on the system and not the ones SFML brings along.

Oh my bad. In that case I'd try installing libvorbis from Homebrew to see if that works.

https://github.com/SFML/SFML/compare/master...arm_mac_builds
I propose we do something simple like this.

master...arm_mac_builds
I propose we do something simple like this.

Why remain on macos-12 with the rest?

master...arm_mac_builds
I propose we do something simple like this.

Why remain on macos-12 with the rest?

It's worth updating those but it's not strictly necessary if we just want to add an ARM job. I'm fine adding the one line from my arm_mac_builds and also bumping all macos-12 images to macos-13 while we're at it.


Allow autocapitalization

Would be great to support the autocapitalize prop: https://facebook.github.io/react-native/docs/textinput.html#autocapitalize

This is how they RN does it for TextInput - https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java#L550


docs page : update createEffect names according naming convention, fix incorrect imports in Store examples

Fantastic! Documentation becomes much more consistent 👍👍


Validation logic is not triggered for Save Draft button even with some custom logic

Link to reproduction
No response
Describe the Bug
After discussing with @DanRibbens on trying to enable validation on the Save Draft button, not just the Publish Changes, seems like this behavior doesn't exactly work, even with the suggestions.
The code for this is similar to this:
const Blocks: CollectionConfig = {
  slug: 'blocks',
  admin: {
    useAsTitle: 'Name',
  },
  versions: {
    drafts: true,
  },
  hooks: {
    beforeChange: [
      ({ req, data }) => {
        // incoming documents saved as draft, will be set to published so that Payload does not skip validation
        if (data._status === 'draft') {
          // we will use this context to reset the status later
          req.context.resetStatus = true
          data._status = 'published'
        }

        return data
      },
    ],
  },
  fields: [
    {
      name: 'Name',
      type: 'text',
    },
    {
      name: '_status',
      type: 'select',
      hooks: {
        // reverts the status to draft if the context was set
        beforeChange: [
          ({ req }) => {
            if (req.context.resetStatus) {
              return 'draft'
            }
          },
        ],
      },
      admin: {
        components: {
          Field: () => null,
        },
        disableBulkEdit: true,
      },
      defaultValue: 'draft',
      options: [
        {
          label: 'Draft',
          value: 'draft',
        },
        {
          label: 'Published',
          value: 'published',
        },
      ],
    },

Unfortunately, because of some custom components, the validation does not get triggered, even though the status value is carried around.
To Reproduce
Include the code I mentioned above, along with having a custom component as part of a child field.  Click the Save Draft button and notice that although some code logic can happen (like a console warn), the validation isn't triggered.
Payload Version
2.11.2
Adapters and Plugins
db-mongodb,plugin-cloud-storage,oidc

Sorry for the delay on my response, but that fix would make sense for us.  I can look into upgrading our version of Payload 2 in use and verify that this works on our end.


Don't set VERSION/SOVERSION for APPLE libraries

Issue:
When a plugin is attempted to be loaded but it can't be found due to the naming of the file on OSX (Ventura)
Error in 'pxrInternal_v0_23__pxrReserved__::PlugPlugin::_Load' at line 261 in file [.....]/USD/23.05/pxr/base/plug/plugin.cpp : 'Failed to load plugin 'usdTri': dlopen([.....]/UsdPluginExamples/build_23.05/lib/libusdTri.dylib, 0x0002): tried: '[.....]/UsdPluginExamples/build_23.05/lib/libusdTri.dylib' (no such file), '[.....]/UsdPluginExamples/build_23.05/lib/libusdTri.dylib' (no such file), '[.....]/UsdPluginExamples/build_23.05/lib/libusdTri.dylib' (no such file), '[.....]/USDPluginExamples/build_23.05/lib/libusdTri.dylib' (no such file), '[.....]/USDPluginExamples/build_23.05/lib/libusdTri.dylib' (no such file), '[.....]/USDPluginExamples/build_23.05/lib/libusdTri.dylib' (no such file) in '[.....]/UsdPluginExamples/build_23.05/lib/libusdTri.dylib'
The file is actually called libusdTri.0.0.0.dylib
This PR is fixing the issue for Apple

Verified with @SebSchmidtWetaFx that it is not an issue.  Appropriate symlinks are created for the library to be found (libusdTri.dylib -> libusdTri.0.0.0.dylib)


[BEAM-2914] Add portable merging window support to Python.

This adds support to the Python SDK and the Python ULR.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @angoenka

Ping @angoenka

Run Python PreCommit

Thanks for looking at this. I'll fix the merge conflicts, address your comments, and we can get this in.

Run Python PreCommit

Run Portable_Python PreCommit

Flake in apache_beam.runners.interactive.utils_test.ProgressIndicatorTest.test_progress_in_HTML_JS_when_in_notebook

Run Python PreCommit

I think this broke XVR_Direct, see BEAM-11803

I think it also broke Java VR on ULR: https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_ULR/534/


Add extension and classifier properties to ArtifactResult

ResolvedConfiguration::getResolvedArtifacts return ResolvedArtifact which provides all the information about resolved artifacts including extension and classifier.
I really miss these properties in ResolvedArtifactResult returned by ArtifactCollection::getResolvedArtifacts.

Thank you for your interest in Gradle!
I do not think that exposing a Maven concept like classifier at that level makes sense. With ResolvedArtifactResult we are in the territory of variant aware resolution and the concept does not make sense there.
Could you share some use case(s) for needing this added APIs?

Thank you for gradle! :)
I want to resolve some configuration with external dependencies and publish the resolution result as an outgoing variant with a flat (non transitive) dependency list.
But i can't create a dependency from a resolved artifact without all parts of dependency notation.

I'm running into the same problem. I'm trying to implement a plugin for a tool that completely works with maven tooling. Therefore I need a valid gav (with classifier and extension).
Everything works fine when I obtain the dependencies with myConfig.getAllDependencies(), except for project dependencies.
Project dependencies are not working in this way because the artifacts are not available there (See DependencyMapNotationConverter).
Therefore I have to use ResolvedArtifactResult for project dependencies, where the extension and classifier for external Artifacts is not available.
I'm trying now to workaround it and mapping the results together, but it feels not correct.
Maybe I missed something in my implementation.

I was wondering how gradle construct a unique id when you have two identical artifacts which are only differs in classifier and extension and found out that the classifier and extension is available, but not exposed to the api.
The DefaultModuleComponentArtifactIdentifier has a IvyArtifactName where you can get the classifier and extension.
So is there any Chance to expose this to the api? Or is there any reason why not?
For Project dependencies it's exposed in PublishArtifactLocalArtifactMetadata.
I'm still looking for a elegant way to obtain the group and version for Project dependencies from ResolvedArtifactResult.

I do not think that exposing a Maven concept like classifier at that level makes sense. With ResolvedArtifactResult we are in the territory of variant aware resolution and the concept does not make sense there.

But couldn't these Maven-specific concepts be mapped to generic attributes?

Sorry for the late reply.
As @CRogers said, it can be resolved by accessing the filename.
Gradle offering an API for that would be limiting with regards to the flexibility of the Gradle dependency model and couldn't be always correct.
So we're closing this as there is a workaround and it's unlikely to be implemented.

As @CRogers said, it can be resolved by accessing the filename.

To be clear, I don't think this is a reasonable solution to the problem, as it's super fragile since it depends on the internals of how gradle caches work. I presented it as a "look what we'd be forced to do". Were this format to change any point (and there is no guarantee it won't, as it's not part of the public api) the hack would no longer work. Similarly for using reflection and toString() - these are not real production quality fixes and liable to break at any time.
There must be some way of exposing this information in a configuration cacheable way - perhaps at a different level or via another maven specific api to get this classifier/extension info for maven artifacts?

There must be some way of exposing this information in a configuration cacheable way

What about my idea from above to use attributes?


GPS Pcode Issue

When compiling and running the make command on the basic gps_sim test. The test fails all cases. I believe this is because the expected vs. actual keys differ by 9 bits in the P-code region.

We are in the process of a major overhaul of the project, migrating to UCB's Chipyard with significant upgrades to the simulation environment.  As part of that, we have updates to the GPS tests that are actually compliant with the standard.

Hi, Is there a time frame when the migration could happen? I am interested in using the most-up-to-date CEP design and simulation environment for a project.

Hello.  My hope is to have the Chipyard-based CEP released in ~1 month.  We are in the process of standing up an FPGA version, which is essential to the open source release.

With CEP v4.2, the pcode work properly for the first GPS core, but will fail on subsequent ones (in the same simulation).  A patch will be released with the next CEP update.

This issue has been address in CEP v4.3, which is located at the new CEP repository location


Fix the not-iterable exception occurred when directly returning a custom class

Fix the not-iterable exception occurred when a @app.output() decorated view function directly return a custom class.

fixes #384

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[ ] Add or update relevant docs, in the docs folder and in code docstring.
[x] Add an entry in CHANGES.md summarizing the change and linking to the issue.
[ ] Add *Version changed* or *Version added* note in any relevant docs and docstring.
[x] Run pytest and tox, no tests failed.

Merged, thanks!


ifconfig now works on WSL

Not entirely sure which version brought the fix for this, but running 14986, I can run ifconfig and ip and get network information from all available interfaces. I haven't tested any of the commands to set network configuration.

That is great! Could you make a PR to add it to the list?

This is in the List as of now, can be closed.


The latest version of the compiler between Swift2.5 and Swift3 compilation problems

The latest version of the compiler between Swift2.5 and Swift3 compilation problems
The following：⤵😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
The workspace has projects that contain source code developed with an earlier version of Swift.
Choose “Convert” to update the source code in these projects to the latest SDKs. You will be given the choice to use Swift 2.3 syntax or update to Swift 3.
This action can be performed later using “Convert to Current Swift Syntax” in the Edit menu.

这个是之前备课时写的，用swift2.2写的，如果你是Xcode8的话，就转成Swift2.3吧。等我更新到3.0。应该没时候了，没时间


[stable/kiam] fix README typo

Signed-off-by: Yusuke Komahara<EMAIL_ADDRESS>
What this PR does / why we need it:
Just fixed a typo on README.md in stable/kiam.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped

/assign
/ok-to-test

/lgtm


docs: Fix FCOS description

We now have bootc packaged, so let's just tell people to use that.

Fixes: #259


Live Captions Customization (Overlay Theme Creator/Generator)

Basically allowing manipulation of all fields in the current overlay theme files.

[ ] layout (top, left, bottom, full screen), dropdown. if left, slider for how much of the left
[ ] font sizes (master + primary/secondary relative sliders = 3 sliders in total, each secondary line must have some in-built font size relation to base off so .5 english = .6 punjabi or something and the secondary slider scales these appropriately)
[ ] center align toggle
[ ] padding sliders
[ ] background options: full (fills to the edge), box (fills the box around the words), lines (fills bg of only the words) dropdown

Color implies color and potentially opacity (rgba). So might be best to just do these all in rgb with separate opacity for the ones that need it.

[ ] Custom font colors for primary (gurbani) and secondary (all other) lines
[ ] Larrivaar assist color
[ ] Vishraam colors
[ ] Custom shadow colors for primary and secondary
[ ] Custom bg color

Can you check mark all the items that are done and probably open new issues or link any open


Does there any updates for pure rust box?

Hi, does there any updates for implementing pure rustbox?

I had started a branch which got most things working but I never pushed it. It was pretty basic and didn't cover all terminal types and hadn't gotten to the Windows support. I'll see if I can find the branch and push it up here.

Update: just pushed the rewrite branch.
There is an example called basic.rs which shows where it is at functionality wise. Still a ways to go. I still hope to finish it, just not had time recently.

@gchp  Thanks u so much! I am using rustbox for an external dependencies in my project. So hope there would be pure rust implementation of this. However, using as a c wrapper also works fine. Hoping this crate can stay stable.