Vue + Jest + Typescript Unexpected reserved word 'let' and Jest encountered an unexpected token

I get different errors by unit test for working code. With babel installed "Unexpected reserved word 'let'" and without babel installed "Jest encountered an unexpected token". What do I do wrong?
Version
1.0.0-beta.29
Reproduction links
https://github.com/Maniumn/vue-typescript-babel-unit-test
https://github.com/Maniumn/vue-typescript-no-babel-unit-test
Steps to reproduce
git clone
npm i
npm run test:unit
What is expected?
Test passed
What is actually happening?
Errors: Unexpected reserved word 'let' and Jest encountered an unexpected token

This works out of the box for me:

Ok, I got a similar error (but not about let) when using class component.
get setImages(): boolean {
    let x: number = 4
    let y = <number>x
    return true
  }

This seems to be the problem, specifically let y = <number>x. Try either:

let y = 4
let y: number = x
let y = x as number

And it should be okay. It seemed to think < was the start of a JSX element. Here is the error I got:
 FAIL  tests/unit/example.spec.ts
  ● Test suite failed to run

    SyntaxError: /Users/lachlan/code/dump/testing-ts-utils/unknown: Expected corresponding JSX closing tag for <number> (11:8)

       9 |
      10 | }
    > 11 |         </>;
         |         ^
      12 |     }
      13 | };
      14 | tslib_1.__decorate([

I don't think it's a bug in vue-test-utils.

Going to close this one for now - let me know if you disagree with this, @Maniumn . If it helps, there is a tslint rule to prevent using <type> to cast a type, and use the as type syntax instead.

This is not a solution. My example is a little code from big project. In my project there are everywhere problems with test, let, JSX, babel ... Something is complettly wrong with vue class based and tests with jest.

@Maniumn , can you provide a repro demonstrating the problems with let? Your above reproduction does not use JSX.
I was able to get your reproduction running correctly by using the as String typecasting opposed to the <string> typecasting. You cannot use the <string> type with JSX - the parser does not know what to do when it encounters as < token.
If you have an alternative failing repro I can pull down, I'm happy to reopen this issue until we have a fix. "Something is completely wrong with class based tests with Jest" is not enough to allow me to troubleshoot your issue.

This is a problem plaguing me as well

@lmiller1990 I'm not using jsx anywhere in my project, and I don't want to.  Whenever I run jest on code using <type> assertions I get

.  I see that jsx is enabled by default.  So when I change my babel config to say

, I now get

.

My question: is there any way to use Vue without ANY jsx at all, in such a way that I can use <type> assertions?  Or does vue-test-utils require jsx compatible code?
Thanks so much for your help

You are using Vue 2 (not Vue 3 right) + Vue CLI?
The obvious work-around is just to use (window as any) instead of (<any>window). Disallowing <....> casts is pretty common among React projects for this same reason - it is difficult for the parse to know what to do.

Yeah, that is the obvious workaround I'll do if this doesn't get answered.  But I was wondering if I could totally disable React and jsx in the parser, so there is no ambiguity

Most likely it is possible to disable JSX, you will need to play around with the Vue CLI config. This is not really a VTU specific problem but Jest + tooling. There is likely some magic configuration that will allow this to work but for now I would recommend just never using the <type> type-casting syntax.
If I have some time I might try figure this out but I cannot promise I can spend time on this with other issues taking priority. Let me know if you do get it working, though.

Thank you.  The easy solution is simply to enable eslint.  I have went through everything I could to get rid of all jsx references to no avail.  So I will use the eslint rule.  :(

You are using Vue 2 (not Vue 3 right) + Vue CLI?
The obvious work-around is just to use (window as any) instead of (<any>window). Disallowing <....> casts is pretty common among React projects for this same reason - it is difficult for the parse to know what to do.

Thanks @lmiller1990 its working.


build: Allow packagers to override stage1 version

Fixes #1813.

@krnowak Thanks! Can you explain in packaging.md why and how should packagers use this option?

I suppose I will have to simply write a separate document about configure flags and their uses and link to it from the other places that mention configure script or its parameters.

@alban: ^

@krnowak good idea. As long as packaging.md mentions this problem with a link.

Depends on #1824 for documentation fixes.

Rebased.

Khem, I thought it was merged... Anyway, I updated this branch some time ago.

LGTM


What is an "associated" error?

Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes
Question:
I have Docker installed on my desktop MacBook Pro (with Portainer) , a raspberry Pi 4 (4g) and a Synology DS918+
I was able to successfully add the Pi as an Edge Agent.
I tried adding the Synology as an Edge Agent, using the slight modification as suggested in https://www.youtube.com/watch?v=eyZsjs5ktF8 with respect to the Synology Directory Structure.
What I get is an entry with the name of the Host and the word "associated" in Red - I take red to mean an error condition, but I can find anything in any documentation, that indicates what might be the cause of the "associated" error (or what it means).

Hi
please share the screenshots, hope portainer version is 2.6.1 , also share docker n synology version

Here is the main screen...

Yes, it is 2.6.1 (happened before with 2.6.0) so did the update just to be sure.
Docker on the Synology is 20.10.3-0554
Log on the Portainer side (asterix) says...
2021/07/12 06:17:48 server: Reverse tunnelling enabled
2021/07/12 06:17:48 server: Fingerprint 6a:4a:91:ec:96:77:e2:16:1c:b1:16:d4:1b:a8:8c:ec
2021/07/12 06:17:48 server: Listening on <IP_ADDRESS>:8000...
2021/07/12 06:17:48 Starting Portainer 2.6.1 on :9000
2021/07/12 06:17:48 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
2021/07/12 06:17:48 [DEBUG] [internal,init] [message: start initialization monitor ]
2021/07/12 06:18:28 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
but, I just noticed log on the agent container on the Synology is pumping out lots of these...
2021/07/12 09:19:22 [ERROR] [internal,edge,poll] [message: an error occured during short poll] [error: Get http://<IP_ADDRESS>:9000/api/endpoints/5/status: dial tcp <IP_ADDRESS>:9000: connect: connection refused]

pl check  If you are using Synology’s firewall, and make sure you create an allow rule for port 9000.

No Not using the Synology Firewall.

When you add an endpoint for an edge agent, Portainer is waiting for the edge agent to connect. At that point the endpoint is not yet associated with the edge agent, which is shown in the Home screen as the strike through text.
Once the edge agent makes contact, Portainer will show that label as either a green or red heartbeat, depending on how long it was since the last time the edge agent made contact.
For more details on the status indicator please see https://github.com/portainer/portainer/issues/3842.

Finally worked it out, it would appear that I hadn't fully removed the "old" agent instance on the end client. a full docker stop/docker rm, and docker rmi of the agent and reinstall, cleared it all up.


Feature proposal: Selecting a Certificate in ClientCertificate

Feature proposal: Selecting a Certificate in ClientCertificate
The way PKCS 12 works allows more than one certificate to be attached in a single file. However, when initializing the ClientCertificate  in RequestDL, there is no way to specify which certificate from this group of certificates to use. It is the application's responsibility to inform which certificate to send to the server.
The proposal is to allow developers to specify which certificate to use in the ClientCertificate, such as certificate at index 0 (default value) or 2. If the RequestDL cannot find the certificate in the correct position, it would be helpful to select at least the last available certificate.
Here's an example of how this proposal could be used:
DataTask {
    // Properties specifications
    ClientCertificate(

        certificateData,
        password: password,
        at: 2
   )

}

With this proposal, the implementation of ClientCertificate becomes more complete, better representing the PKCS 12 format.

We inform you that the proposed feature has been closed due to the launch of the new development course for version 2.0.0. We thank all developers who have submitted their suggestions and ideas to improve our package Topic. We will continue to work to provide the best possible declarative experience.


Recursive access in migration and relations

DBFlow Version: 3.1.1
Hi,
I am trying to migrate some data in a migration however I am getting recursion errors. The issue is the OneToMany relation I have in my User model. How can I adapt it so I can use the model in the migration? As mentioned in the docs I set the DatabaseWrapper, however for the relation I can't do that. Creating a second getPosts() with the DatabaseWrapper parameter passed to queryList does not compile/generate the classes.
Migration:
// this works because there is no relation in the Post model
List<Post> posts = SQLite.select()
                         .from(Post.class)
                         .where(Post_Table.userId.isNull())
                         .queryList(database); // passing in DatabaseWrapper

for (Post post : posts) {

    // this results in a recursion because of getPosts() in the User model
    User user = SQLite.select()
                      .from(User.class)
                      .where(User_Table.username.eq(post.getUsername()))
                      .querySingle(database); // passing in DatabaseWrapper

User model:
@Table(database = AppDatabase.class)

public class User extends BaseModel {

    @PrimaryKey(autoincrement = true)
    long id; // package-private recommended, not required

    @Column
    private String username;

    @OneToMany(methods = {OneToMany.Method.ALL}, variableName = "posts")
    public List<Post> getPosts() {
        if (posts == null || posts.isEmpty()) {
            posts = SQLite.select()
                    .from(Post.class)
                    .where(Post_Table.userId.eq(id))
                    .queryList(); // DatabaseWrapper not passed so recursion occurs
        }
        return posts;
    }
   ...

Ill add ability to specify a DatabaseWrapper in the method as a param so you wont have this problem.

in the meantime youll have to manually use it, you can if you extend BaseModel, override the methods you wish to keep relation in and add the same code there.

in develop. :)


Implement 3D smoothed particles

SphStdKernel3 struct
SphSystemData3 class
SphSpikyKernel3 struct
SphSystemSolver3 class

Completed

SphStdKernel3 struct
SphSystemData3 class
SphSpikyKernel3 struct

Completed

SphSystemSolver3 class


Autobahn Failures: IIS Express tests seem to fail randomly

I'm not sure if it's an issue with the test (though Kestrel is pretty consistent) or in IIS Express, but the Autobahn suites keep failing on IIS Express. I'm disabling them to unblock the build.

Actually, it looks like it's because of an unsupported OS.


Slow segment loading from S3

We noticed that segment loading from S3 on historical nodes running Druid 0.9.0 is way slower than expected. While our hardware should be capable of loading more than 400MB/s, we only see around 42MB/s on average.
While digging into that we noticed that even though we set druid.segmentCache.numLoadingThreads=25 only one of the loading threads is active at a time, as shown in the following picture:

This leads to sequential loading of segments instead of parallel loading as one would expect it when using multiple threads.
We think this could be a bug in how Druid handles the segment loading from S3 (or possibly from deep storage in general).
Some additional information including a log file showing the sequential loading as well is available in the following thread on the mailinglist: https://groups.google.com/forum/#!topic/druid-user/doaE61OLHEo

General note that numLoadingThreads and numBootstrapThreads do two different things.
It looks like numLoadingThreads is not handled properly. That config is used to create the executor for the PathChildrenCache, which explicitly states: ExecutorService to use for the PathChildrenCache's background thread. This service should be single threaded, otherwise the cache may see inconsistent results.

Hi, regarding segment loading performance, should this druid.segmentCache.announceIntervalMillis be set to zero when adding a new historical node? For the segments to be loaded faster?


refactor(config): use go-yaml for verbose config formatting errors

It appears that go-yaml fails to decode time.Duration.


The model: gpt-4 does not exist

Hi there,
loving this plugin, but it's still not possible to use GTP-4. It just says
The model: gpt-4 does not exist
I have a GPT Plus subscription and it works in the normal web interface. What am I doing wrong here...?

You have to have access to gpt-4 via the gpt-4 api waitlist
https://openai.com/waitlist/gpt-4-api


Introduce composable performing type

Spec: https://material-motion.gitbooks.io/material-motion-starmap/content/specifications/runtime/performer-composition.html

🎊 My diff is ready for review at http://codereview.cc/D1488


MAINT: Add repr and example of add_clause

Codecov Report

Merging #338 (ac39b68) into develop (0207be5) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           develop      #338      +/-   ##
============================================
+ Coverage    99.87%   100.00%   +0.12%
============================================
  Files           46        46
  Lines         1582      1614      +32
============================================
+ Hits          1580      1614      +34
+ Misses           2         0       -2

Impacted Files
Coverage Δ

pfhedge/instruments/base.py
100.00% <ø> (ø)

pfhedge/autogreek.py
100.00% <100.00%> (ø)

pfhedge/features/_base.py
100.00% <100.00%> (ø)

pfhedge/features/container.py
100.00% <100.00%> (ø)

pfhedge/features/features.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/american_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/base.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/european.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/european_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/lookback.py
100.00% <100.00%> (ø)

... and 10 more

Continue to review full report at Codecov.

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


Rheology parameters not set

The rheology parameters in param all have the value 0 (or 0.) now.
I check this by putting an assert(params.P0 > 0.) somewhere in BBMStressUpdateStep.hpp (e.g. line 90).
Doing a git bisect reveals that
d5d88649d0f55438fb4f6299c2874ae2a1cb1f28 is the first bad commit
commit d5d88649d0f55438fb4f6299c2874ae2a1cb1f28
Author: Tim Spain<EMAIL_ADDRESS>Date:   Mon Aug 26 12:04:36 2024 +0200

    Move calculation of the ice ocean stress to a common routine.

 dynamics/src/CGDynamicsKernel.cpp                | 25 ++++++++++++++--
 dynamics/src/include/BrittleCGDynamicsKernel.hpp | 37 +++---------------------
 dynamics/src/include/CGDynamicsKernel.hpp        | 24 +++++++++++++--
 dynamics/src/include/DynamicsKernel.hpp          | 32 ++++++++++++++++----
 dynamics/src/include/FreeDriftDynamicsKernel.hpp | 34 +++-------------------
 dynamics/src/include/VPCGDynamicsKernel.hpp      | 32 +++-----------------
 6 files changed, 82 insertions(+), 102 deletions(-)

I haven't investigated this further.

Link to the commit is here.

BBM still doesn't work, despite the hotfix. A relevant build warning could be
/Applications/CLion.app/Contents/bin/cmake/mac/aarch64/bin/cmake --build /Users/einola/CLionProjects/nextsimdg/cmake-build-debug --target all -j 6
[29/157] Building CXX object CMakeFiles/nextsimlib.dir/core/src/modules/DynamicsModule/module.cpp.o
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/module.cpp:12:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/FreeDriftDynamics.hpp:11:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/FreeDriftDynamicsKernel.hpp:39:70: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::u' [-Wuninitialized]
   39 |               sin(radians * paramsIn.ocean_turning_angle), paramsIn, u, v)
      |                                                                      ^
/Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/FreeDriftDynamics.hpp:30:11: note: in instantiation of member function 'Nextsim::FreeDriftDynamicsKernel<6>::FreeDriftDynamicsKernel' requested here
   30 |         , kernel(params)
      |           ^
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/module.cpp:12:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/FreeDriftDynamics.hpp:11:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/FreeDriftDynamicsKernel.hpp:39:73: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::v' [-Wuninitialized]
   39 |               sin(radians * paramsIn.ocean_turning_angle), paramsIn, u, v)
      |                                                                         ^
2 warnings generated.
[31/157] Building CXX object CMakeFiles/nextsimlib.dir/core/src/modules/DynamicsModule/MEVPDynamics.cpp.o
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/MEVPDynamics.cpp:10:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/MEVPDynamics.hpp:15:
In file included from /Users/einola/CLionProjects/nextsimdg/dynamics/src/include/MEVPDynamicsKernel.hpp:12:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/VPCGDynamicsKernel.hpp:58:59: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::u' [-Wuninitialized]
   58 |         : CGDynamicsKernel<DGadvection>(1., 0., paramsIn, u, v)
      |                                                           ^
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/MEVPDynamicsKernel.hpp:23:11: note: in instantiation of member function 'Nextsim::VPCGDynamicsKernel<6>::VPCGDynamicsKernel' requested here
   23 |         : VPCGDynamicsKernel<DGadvection>(MEVPStressStep, paramsIn)
      |           ^
/Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/MEVPDynamics.cpp:31:7: note: in instantiation of member function 'Nextsim::MEVPDynamicsKernel<6>::MEVPDynamicsKernel' requested here
   31 |     , kernel(params)
      |       ^
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/MEVPDynamics.cpp:10:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/MEVPDynamics.hpp:15:
In file included from /Users/einola/CLionProjects/nextsimdg/dynamics/src/include/MEVPDynamicsKernel.hpp:12:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/VPCGDynamicsKernel.hpp:58:62: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::v' [-Wuninitialized]
   58 |         : CGDynamicsKernel<DGadvection>(1., 0., paramsIn, u, v)
      |                                                              ^
2 warnings generated.
[157/157] Linking CXX executable dynamics/test/testAdvectionPeriodicBC

Build finished

There was a compile warning in develop before the hotfix; maybe this can help:
====================[ Build | nextsim | Debug ]=================================
/Applications/CLion.app/Contents/bin/cmake/mac/aarch64/bin/cmake --build /Users/einola/CLionProjects/nextsimdg/cmake-build-debug --target nextsim -j 6
[3/7] Building CXX object CMakeFiles/nextsimlib.dir/core/src/modules/DynamicsModule/module.cpp.o
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/module.cpp:12:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/FreeDriftDynamics.hpp:11:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/FreeDriftDynamicsKernel.hpp:39:70: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::u' [-Wuninitialized]
   39 |               sin(radians * paramsIn.ocean_turning_angle), paramsIn, u, v)
      |                                                                      ^
/Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/FreeDriftDynamics.hpp:30:11: note: in instantiation of member function 'Nextsim::FreeDriftDynamicsKernel<6>::FreeDriftDynamicsKernel' requested here
   30 |         , kernel(params)
      |           ^
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/module.cpp:12:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/FreeDriftDynamics.hpp:11:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/FreeDriftDynamicsKernel.hpp:39:73: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::v' [-Wuninitialized]
   39 |               sin(radians * paramsIn.ocean_turning_angle), paramsIn, u, v)
      |                                                                         ^
2 warnings generated.
[4/7] Building CXX object CMakeFiles/nextsimlib.dir/core/src/modules/DynamicsModule/MEVPDynamics.cpp.o
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/MEVPDynamics.cpp:10:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/MEVPDynamics.hpp:15:
In file included from /Users/einola/CLionProjects/nextsimdg/dynamics/src/include/MEVPDynamicsKernel.hpp:12:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/VPCGDynamicsKernel.hpp:58:59: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::u' [-Wuninitialized]
   58 |         : CGDynamicsKernel<DGadvection>(1., 0., paramsIn, u, v)
      |                                                           ^
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/MEVPDynamicsKernel.hpp:23:11: note: in instantiation of member function 'Nextsim::VPCGDynamicsKernel<6>::VPCGDynamicsKernel' requested here
   23 |         : VPCGDynamicsKernel<DGadvection>(MEVPStressStep, paramsIn)
      |           ^
/Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/MEVPDynamics.cpp:31:7: note: in instantiation of member function 'Nextsim::MEVPDynamicsKernel<6>::MEVPDynamicsKernel' requested here
   31 |     , kernel(params)
      |       ^
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/MEVPDynamics.cpp:10:
In file included from /Users/einola/CLionProjects/nextsimdg/core/src/modules/DynamicsModule/include/MEVPDynamics.hpp:15:
In file included from /Users/einola/CLionProjects/nextsimdg/dynamics/src/include/MEVPDynamicsKernel.hpp:12:
/Users/einola/CLionProjects/nextsimdg/dynamics/src/include/VPCGDynamicsKernel.hpp:58:62: warning: base class 'Nextsim::CGDynamicsKernel<6>' is uninitialized when used here to access 'Nextsim::CGDynamicsKernel<6>::v' [-Wuninitialized]
   58 |         : CGDynamicsKernel<DGadvection>(1., 0., paramsIn, u, v)
      |                                                              ^
2 warnings generated.
[7/7] Linking CXX executable nextsim

Build finished

I get the same warning in my branch where BBM definitely does work.
Add yes, we need to clean up those warnings.

I've been trying to figure this out, but without any luck. It does not destroy all the ice if I turn off the advection, but that's as far as I've gotten.

Oh!
Yes, I still need to debug the advection. That's why PR #668 is still a draft.


Compress otlp payload with zlib

Adds gzip compression to the HTTP client.
Also updates the local otel-collector and docker-compose configurations, some of the configs have been renamed and OTLP support was added to Jaeger since the last update.
I've tested this locally, but I'm having trouble running the integration test suite, I'm hoping the GitHub Action will work OK.
Fixes #71

@plantfansam Could you review this PR?


i18n(ko-KR): update reading-time.mdx

Description (required)

update reading-time.mdx
#10521

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

ko/recipes/reading-time.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Update parameters table, new ones requires

Hi,
Please update the parameters tables as new items are required.
Supports Https Traffic Only
Allow Blob Public Access
Network AclsBypass
Network Acls Default Action
Kind regards.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bec5cd7c-2241-dc13-0f95-be2bbf300d6c
Version Independent ID: c42e2294-e257-9993-dc9c-5da0453513d9
Content: Deploy template - Azure portal - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/quickstart-create-templates-use-the-portal.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@haivercarrillo Thanks for your comment! We will review and provide an update as appropriate.

@mumian Thanks for the confirmation.
@haivercarrillo We will be closing this issue for now. If there are further questions regarding this matter or any other feedback on the referred documentation, please do let us know and we will gladly continue the discussion.


Greater than symbol or less than symbol resolution error in sql

Actual Behavior
When parsing the following statement:
		String sql = "select 1<2 from table_name"; 		CCJSqlParserUtil.parse(sql);
Throw an exception：
Encountered unexpected token: "<" "<"
Expected Behavior
Normal parsing
Specifications

Version:2.0.0
Platform:
Subsystem:

JSqlParser 4.0 parses this.

JSqlParser 4.0 parses this.


Full screen support for apps (via F11 key)

Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
No response
Describe alternatives you've considered
No response

The full screen works with this, but the title bar is still displayed, this doesn't auto hide.
Title bar hides in native Android mobile phone/tablet. Expect similar behavior in WSA as well.


High CPU condition plugin

Just an idea: check the CPU usage in the past time (at least the time between two subsequent checks in When) and make the condition true if above a user defined threshold. Should be easy to implement as a command-based condition plugin.

Also, a system temperature check might be useful.


bug:Cannot find name 'flexSearchIndexOptions'.

Because the error information is too long, I uploaded the error picture. I don't know why. Maybe the problem is caused by another module.

Link

You should create your own options object
If you want to use with default values just don't pass Any parameter to it.
commenting line 7 should make it work

感谢!您的邮件已由系统接收并保存在希酱的收件箱思い出の中で、いつも瞬間があって、かつてのことを暖めることができます。回忆中，总有些瞬间，能温暖整个曾经。————————————这是来自QQ邮箱的自动回复邮件。

Thanks for your reply. It's already late here. I will try this method and reply to you tomorrow. Thanks for your reply.

An error occurred when configuring vitepress again.

Link

Vscode's git tool is configured to be private by default when uploaded and now has access to my repository.

Remove the options..
SearchPlugin()

Your reply has been automatically replied by the email manager, which means that the email has been received, but it may take some time for me to receive the message, because I may be early or late in China, or I may be sleeping?---This is an automatic reply from QQ mail

There's nothing in the

leave only the config.js file inside .vitepress
remove node_modules and package-lock.json
npm i
npm run docs:dev


Create Altimeter Point Plotting Function

Hey @scottyhq ! Just wanted to get your thoughts on the below idea after I spent a lot of time messily plotting PCD candidate sites:
Idea to create a quick plotting function for LiDAR extent, stereo extent, and GEDI and ICESat-2 point overlaps. Probably need a separate package 'plot' (ie. coincident.plot.plot_altimeter_points() ?)
Take the results of cascading_search() (and the input GeoDataframe/GeoSeries into cascading_search()) and plot all overlaps onto a small figure with a quick method call.
ie. If you know a 3dep site (variable name gf_wesm) has overlaps, plug it into this function:

Call the cascading_search() function inside this larger plotting function
Plot the gf_wesm and gf_stereo extents
Use the granule names for GEDI and ICESat-2 from cascading_search() to pass into a SlideRule call (to get filtered/quality-flagged ICESat-2 and GEDI points)

Not sure if building all SlideRule dependencies into this library is desirable

Plot the GEDI and ICESat-2 points (ensure same color ramp scale)

This way you can do a quick check if your overlap area contains a satisfactory amount of filtered/quality-flagged ICESat-2 and GEDI points unaffected by clouds and such.

Probably need a separate package 'plot' (ie. coincident.plot.plot_altimeter_points()

I've gone back and forth on including built-in plots beyond basic geopandas.plot/explore and xarray.plot versus just focusing on search and I/O and leaving all visualizations up to users. On one hand, everyone has different aesthetic preferences and it tends to require many dependencies, on the other, as you mention it's ultimately nice to have a quick visual check of results! Your plan sounds good if you want to open a draft PR!

Not sure if building all SlideRule dependencies into this library is desirable

Yes, I think we should add it https://github.com/uw-cryo/coincident/issues/6, I'll wrap that up tomorrow!


What's the use of pm_type=1 when mptcpd manipulates the ip mptcp endpoint table anyway? And whitelist interfaces request.

Regardless of net.mptcp.pm_type being 0 or 1, mptcpd will manipulate the endpoints accordingly with how mptcpd is configured. I've got this configuration:
log=journal
plugin-dir=/usr/lib/x86_64-linux-gnu/mptcpd
addr-flags=subflow,fullmesh
notify-flags=existing,skip_link_local,skip_loopback
load-plugins=addr_adv

I don't have an issue with the current behaviour, I'm just confused.
Another issue I'm having is interfaces that do not provide access to the internet will be added as subflows which breaks the connection. It'd be great to have an address notification flag where I can specify interfaces as a whitelist so that the plugins would only be notified with the addresses of the whitelisted interfaces.

Hello,
Sorry for the delay, I missed that one!

What's the use of pm_type=1 when mptcpd manipulates the ip mptcp endpoint table anyway?

mptcpd can work with the in-kernel and userspace path-managers, depending on the plugin that is selected, e.g. addr_adv is for the in-kernel PM, while sspi needs the userspace PM.
Note that the Path-Manager is selected at the creation of the connection. If the pm_type is switch later, previous connections will still use the previous PM. It is then not enough to look at the sysctl value, but I understand it can be confusing.
I'm not sure what could help as it is a daemon. Maybe a check when the plugin is loaded using one mode or another, and printing a warning in the logs?

Another issue I'm having is interfaces that do not provide access to the internet will be added as subflows which breaks the connection. It'd be great to have an address notification flag where I can specify interfaces as a whitelist so that the plugins would only be notified with the addresses of the whitelisted interfaces.

Good idea!
Do you mind creating a dedicated issue about that please, not to mix the two topics here?

So this seems to be a documentation issue then.
Because I don't see the plugins properly documented and clarifying which sysctl setting they need.


Wrong page size with PaginationView and ComposableArchitecture

This is my reproduce project.
I'm trying to make a pagination view with TCA and it seems using a different initializer overload and the view content got wrong size. I'm not sure what is the root cause of this. But the page count only one:

More detail description in my README file.  If need any other information, feel free to tell me, thanks for doing great work for this library. 🙏

@marcuswu0814 closing this as I believe your PR was the one that fixed it!


Dashboard background in the groups page

The dashboard groups page has a background that starts with pink and then when you scroll it is almost white. Maybe it can be better to have the same pink color in the entire page so it is not so difficult to read the group info that appears almost at the end of the page.

hey ! i have solved this issue ,i'll link an image to show how it looks when the entire page background is in pinkcolour
PS:-do u just want the groups page to be this colour?
or even the remaining pages except the home page to be of the same pink  colour without gradient?

Hey @tanyas-codes it looks nice! By the remaining pages you mean group and new-group, if so, yes, the other pages too.


Unpin cftime

The cftime package has been pinned to 1.1.3 as the lastest offering 1.2.0 is causing epoch unit test failures, see https://github.com/SciTools/iris/pull/3750
We require to investigate and unpin asap. Either:

Fix iris, or
Raise an issue with the cftime developers

It looks like num2date is giving a different value for certain dates when running this code:
import cftime
import cf_units
year = 1
hrs_unit = cf_units.Unit(("hours since epoch", calendar=cf_units.CALENDAR_GREGORIAN)
hrs_unit.date2num(cftime.datetime(year,1,1))

From experiments, it seems that there is a discrepancy between versions when year is between 1 and 1582 and there is no longer a discrepancy for year = 1583. For what its worth, 1582 is when the Gregorian calendar was first adopted. I wonder if there is some conversion going on for pre-Gregorian dates.

It looks like cftime has just released version 1.2.1 which ought to include a fix for this.


added some info about System.out.printf() method

printf() method uses a stringbuilder wich is more efficient in memory

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@BrentWillems thanx for your contribution. We look forward to future pr's :balloon:


CUDA Setup failed despite GPU being available.

System Info
windowsServer2022
E5-2686v4
RTX2080 Ti
Reproduction
===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
binary_path: C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll
CUDA SETUP: Loading binary C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll...
Could not find module 'C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll' (or one of its dependencies). Try using the full path with constructor syntax.
CUDA SETUP: Loading binary C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll...
Could not find module 'C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll' (or one of its dependencies). Try using the full path with constructor syntax.
CUDA SETUP: Loading binary C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll...
Could not find module 'C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll' (or one of its dependencies). Try using the full path with constructor syntax.
CUDA SETUP: Problem: The main issue seems to be that the main CUDA library was not detected.
CUDA SETUP: Solution 1): Your paths are probably not up-to-date. You can update them via: sudo ldconfig.
CUDA SETUP: Solution 2): If you do not have sudo rights, you can do the following:
CUDA SETUP: Solution 2a): Find the cuda library via: find / -name libcuda.so 2>/dev/null
CUDA SETUP: Solution 2b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_2a
CUDA SETUP: Solution 2c): For a permanent solution add the export from 2b into your .bashrc file, located at ~/.bashrc
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 110, in get_module_details
import(pkg_name)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes_init.py", line 7, in
from .autograd.functions import (
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\autograd_init.py", line 1, in
from ._functions import undo_layout, get_inverse_transform_indices
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\autograd_functions.py", line 9, in
import bitsandbytes.functional as F
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\functional.py", line 17, in
from .cextension import COMPILED_WITH_CUDA, lib
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\bitsandbytes\cextension.py", line 22, in
raise RuntimeError('''
RuntimeError:
CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs above to fix your environment!
If you cannot find any issues and suspect a bug, please open an issue with detals about your environment:
https://github.com/TimDettmers/bitsandbytes/issues
Expected behavior
I just want it to work!

Hi @SrKium,
Can you please let us know what version of PyTorch and bitsandbytes you are using? Based on the output, it is looking like you may be using PyTorch 1.13 or earlier. We no longer ship CUDA 11.6 binaries, and generally, I would recommend updating to a minimum PyTorch >= 2.0.
Alternatively, you may be able to work around this for a short while by setting an env var BNB_CUDA_VERSION=118, but we're unlikely to continue to support torch < 2.


Not able to see sentimentAnalysis on LUIS trigger dialog

Bot Info

SDK Platform: Node.js
SDK Version: v3
Active Channels: MS Teams
Deployment Environment: Azure App Service

Issue Description
I followed this doc https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-quickstart-intent-and-sentiment-analysis#before-you-begin
to turn ON sentiment analysis on my existing LUIS app.
I am using
Code Example
    bot.dialog('GetAddress', [
        function (session, args, next) {
            session.conversationData.currentIntent = args
        },
        function (session, results, next) {
            session.endDialog()
        }
    ]).triggerAction({
        matches: 'Address'
    })

Reproduction Steps
Put a breakpoint at any line in the dialog triggered by triggerAction() and look at args. You can only see intent and entities data. Nothing for sentimentAnalysis which is part of original luis json output.
Expected Behavior
I should be able to grab sentimentAnalysis object in luis triggered dialog.
"sentimentAnalysis": {
    "label": "negative",
    "score": 0.0258086324
  }

Actual Results
No data about sentimentAnalysis in args object.

hi @rjgmail88,
Unfortunately the Node SDK does not currently have support for sentiment analysis via LUIS. Although there is a PR currently in the works for the C# SDK, at the moment there is not one for Node. I've added the tag Feature Request to your issue. Thank you.

Thank you @corinagum

Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.
From now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:
https://github.com/microsoft/botbuilder-v3/issues
For Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:
https://github.com/microsoft/botframework-services/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


$model->makeRoot() within a migration safeUp function

What steps will reproduce the problem?
$model->makeRoot() within safeUp in a migration.
What is the expected result?
The Root note to be made.
What do you get instead?
Exception: SQLSTATE[42000]: Syntax error or access violation: 1305 SAVEPOINT LEVEL1 does not exist
Additional info
The work around it to use up() instead of safeUp()

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.2.7

Operating system
MacOS 10.13.5

Yii does not have anything like makeRoot().


WIP: Use/party

@bazimov last thing to point out, lavatory purge isnt working right now with the default policy since things were changed. I think that should be updated in this PR too.
My opinion is that at https://github.com/gogoair/lavatory/blob/master/src/lavatory/commands/purge.py#L28 you create another artifactory object with repo_name=repo, and then you pass that to the policy.purgelist(artifactory)
The policy then would look like:
    return artifactory.retain(None, depth=2, terms=[
            { "$or": [
                ]}
        ])

That None is still the project setting, which I think should be abstracted out later

@ndcampbell did you mean like last commit? I still cannot make that find_by_aql work. Looking into it.

@bazimov yup! Looks good. I'll poke around at the find_by_aql issue too.

@bazimov figured it out. Couple of issues. That find_by_aql expects a dict, we are sending a string. We need to just remove the json.dumps from find_expr and then set find_by_aql(criteria=find_expr)
you can delete the sort, offset, and limit parts too, those are all in the party function: https://github.com/tedops/party/blob/master/party/aql.py

@bazimov this looks good to me, are you planning on adding anything else or is this still WIP?


New format for month

MMM -> short month name like 10 Nov 2017
MMMM -> full month name like 10 November 2017

@tyllo resolved


This would make this a supremely-convenient tool, but I understand if it is out of scope or one of those security no-nos.
What do you think? Would you accept a pull request for this?

I am of the opinion that this is out of scope for this project, but would be a very useful tool to be made. Something that wraps http-server and feeds it an auto-generated cert.
There is also a little discussion of this in #562.


Client and Mast

Proposal Title
Client and Mast
Context and Problem Statement
Client and Mast
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Client and Mast
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Client and Mast.
Scripting / entity APIs: wasm / barebones messaging protocols + notification / scripted objects? entities?
If this enhancement will not be used often, can it be worked around with a few lines of script?
Not a few lines of script.
Positive Consequences
No response
Negative Consequences
No response
Is there a reason why this should be core and done by us?
I know how this works.
References
No response
Derivative License
Copyright (c) 2020-2021 V-Sekai contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

34ce56d0bafc63e1fed9a1edbdc2fc616accd1e1


5e 3.0 support

I have a tiny set of changes (like 3 lines) so it will work on the new 5e release.  Would you like the contribution?

Hey, yeah, if you wanna open a PR I'd be glad to take a look. You might also wanna submit one over here as well; it's the spiritual successor to this mod, and is probably more actively maintained than this one is.

FYI, I am working on this right now. It's gonna be a little more involved than I expected because they left support in place for the legacy sheet; I'm probably gonna need a new template for the content on the new 3.0 sheet, and that's an excuse to clean up the sorry state of the CSS, and that's an excuse to... My to-do list keeps snowballing lol.
TLDR don't worry about that PR. I'll try to have this out by the end of the week.

Sorry for the delay, had some stuff come up.
Version 1.1.0 contains dnd5e 3.x support. You'll need to be running the latest patch (dnd5e v3.0.3 as of writing) for the module to work.


Update minimum cmake version number

Update minimum cmake version number

Closing this PR as this is contained by $166


Adding Logo Design File

Keeping the logo in blue tones as its a color of wisdom. Added a horn as it denotes the process of our teachers calling out the names in school.
The handle of the horn doubles as C and actual horn close to R. Denoting RC - Rollcall.
Contributing to Hacktoberfest.

good work 👍


ESP32C3 ADC does not work along with the MCUboot.

Describe the bug
The sample zephyr/samples/drivers/adc builds successfully for the esp32c3_devkitm in both cases, the simple west build and sysbuild for MCUboot.
The issue is when I just use the west build, it displays the console logs for the ADC readings, while in case of sysbuild, it does not display any logs over the console.
To Reproduce
Steps to reproduce the behavior:

west build --sysbuild -b esp32c3_devkitm .
west flash

Expected behavior
The logs should be visible over the console for both the builds.
Environment:

OS: Ubuntu 22.04.4 LTS
Toolchain: Zephyr SDK 0.16.5 & MCUboot with rev 9bf7ce8c5fe8152836a6e00bd4444153bd950342
Board: ESP32C3 devkitm (development board)

Can you confirm that the same sample works without MCUboot first.
There is possibility that there is something not properly de-initialized before control is passed to an application and was accidentally initialized while executing MCUboot.

Can you confirm that the same sample works without MCUboot first.

Yes, both the things work properly when they are handled individually.
The ADC counts are proper when the sample is built without sysbuild. And, the MCUboot works when built with another sample code.

How other sample works with MCUboot does not matter. We need to figure out whether MCUboot affects this specific sample.
Can you build the ADC sample for MCUBoot without sysbuild and MCUboot separately, upload those to pre-erased board and check if that shows the same symptoms?
To build application for MCUboot you need to set CONFIG_BOOTLOADER_MCUBOOT=y.

Can you build the ADC sample for MCUBoot without sysbuild and MCUboot separately, upload those to the pre-erased board, and check if that shows the same symptoms?
To build the application for MCUboot you need to set CONFIG_BOOTLOADER_MCUBOOT=y.

Thank you for getting back to me so quickly. I followed the steps you suggested:

Erased the board using the esptool.py erase_flash
Built and flashed the MCUboot separately using ninja -C build/ flash from the bootloader/mcuboot/boot/espressif
Added the macro in the prj.conf file
Built and flashed the Zephyr ADC sample code into the ESP32C3 devkitm

The behavior of the board is expected. I can get the ADC readings on the console.

https://github.com/zephyrproject-rtos/zephyr/pull/73480.
Thank you for your support!
You have mentioned the ESP32-S3 chip. But, I am facing an issue with the ESP32-C3 chip.

Thank you for getting back to me so quickly. I followed the steps you suggested:
1. Erased the board using the esptool.py erase_flash

2. Built and flashed the MCUboot separately using ninja -C build/ flash from the bootloader/mcuboot/boot/espressif

3. Added the macro in the prj.conf file

4. Built and flashed the Zephyr ADC sample code into the ESP32C3 devkitm

The behavior of the board is expected. I can get the ADC readings on the console.

OK so it does not be seem to be issue with MCUboot,

#73480. Thank you for your support! You have mentioned the ESP32-S3 chip. But, I am facing an issue with the ESP32-C3 chip.

@marekmatej Do you maybe have any ideas here? And why separate building MCUboot and app seems to work?

2. Built and flashed the MCUboot separately using ninja -C build/ flash from the bootloader/mcuboot/boot/espressif

@rana-roy The boot/zephyr is used in Espressif port of MCUboot. To build the MCUboot Zephyr port please use boot/zephyr. The Zephyr port is used during the --sysbuild.
@de-nordic The recent changes in Zephyr bring additional code to iram0.text section, which size was optimised in MCUboot Zephyr port. This can be fixed easily by increasing the segment length, but there are related issues in other SOCs, which we are fixing now. This is a memory fix PR https://github.com/zephyrproject-rtos/zephyr/pull/73292 preceding the current issue.
The reason for separate build works is because --sysbuild is using sources from west.yml, while separate build use the sources you choose to use.

And why separate building MCUboot and app seems to work?

The reason for separate build works is because --sysbuild is using sources from west.yml, while separate build use the sources you choose to use.

Thanks, I have not noticed that different MCUboot path is used.

@rana-roy Is the issue still present after https://github.com/zephyrproject-rtos/zephyr/pull/73292 got merged?

@rana-roy Can you verify whether issue is there and close the report if does not apply anymore?

Tested esp32c3_devkitm with samples/drivers/adc/adc_dt. Works with https://github.com/zephyrproject-rtos/zephyr/pull/75533

My apologies for the long delay as I was occupied with another task.
Now, I have cloned the latest Zephyr release with the tag: Zephyr v3.7.0.
I tried to build my custom code using --sysbuild, but it shows the iram_segment overflow error. So, I tried with the blinky_pwm sample code with the following configurations:
Sample: blinky_pwm
Board: esp32c3_devkitm
Zephyr SDK: 0.16.8
Zephyr Version: 3.7.0 (LTS)
Build configs: west build with --sysbuild
Command: west build --sysbuild -b esp32c3_devkitm .
The results are memory overflow errors and other multiple errors. Attached is the log file containing the build logs for your reference:
zephyr_build_err.txt

I am trying to clone the Zephyr using commit IDs:
adec316cd7f5edcfb70a0e6c37989e80e75c9f07
3416f9ab47cef05308f635a1d8af0a10a36b4556 in my west.yml file, but it shows the update error:
FATAL ERROR: command exited with status 128: rev-parse 'adec316cd7f5edcfb70a0e6c37989e80e75c9f07^{commit}'
The west.yml file contents are as follows:
manifest:
remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos
projects:
- name: zephyr
remote: zephyrproject-rtos
repo-path: zephyr
clone-depth: 1
west-commands: scripts/west-commands.yml
revision: adec316cd7f5edcfb70a0e6c37989e80e75c9f07 # v3.7.0  # zephyr-v3.5.0
import:
name-allowlist:
- hal_espressif
- name: mcuboot
remote: zephyrproject-rtos
revision: 9bf7ce8c5fe8152836a6e00bd4444153bd950342
path: bootloader/mcuboot
- name: tinycrypt
remote: zephyrproject-rtos
revision: master
path: modules/crypto/tinycrypt
groups:
- crypto
- name: mbedtls
remote: zephyrproject-rtos
revision: v3.0.0 # zephyr
path: modules/crypto/mbedtls
groups:
- crypto
- name: zcbor
remote: zephyrproject-rtos
revision: release/0.6.1
path: modules/lib/zcbor
self:
path: Dev_Board
I want to know if I am missing out on something. Any references will be great.

I appreciate your support. I can resolve the issue by updating the version of mcuboot.


Further adapt to OTP 24 + adopt GHA

This pull request builds on top of my previous one.
On the one hand, I prefer erl_anno:line/1 to matching on an "opaque" structure, since this eases maintenance.
On the other hand, with a more recent version of OTP (from master), I got new warnings (introduced by new behaviour from https://github.com/erlang/otp/pull/2995), now fixed.
Note: this doesn't fundamentally change the way we handle the location, but it meant I was assuming that the format for that might not change, which might not be true (since OTP 24 isn't out yet).

I'm pushing a ~hack~ "fix" to the tests, since I keep getting unexpected results (discussed here) that mislead me into thinking I added/changed something that start causing an issue.

Moving to draft, since I'm going to try and replace Travis CI with GitHub Actions (running here, for testing purposes).

b9ce226 fixes, in the scope of tests, https://github.com/erlang-lager/lager/pull/535/files#r571739582.
(I can separate it to a different pull request, but I preferred to do it here since it was part of my tests).

I've removed gen_fsm from the scope of OTP 22+ tests.

After many a experiment with Github Actions and failing tests, I found that I was missing container option --user 1001. All tests are now passing, as evidenced by Embrace the future at https://github.com/paulo-ferraz-oliveira/lager/actions.

@paulo-ferraz-oliveira beat me to some of these changes. This seems a bit more urgent now that OTP 24 has reached a public RC.
@mrallen1 merging this would help team RabbitMQ test on OTP 24 (and indirectly test Lager on it).

@michaelklishin: cool. The main goal was to prepare for OTP 24, but I thought I could fix the tests too, while moving to GitHub Actions, so I did.
We'd appreciate a release too, since MANY of our lib.s still depend on lager, though I'd really like to have https://github.com/erlang-lager/lager/pull/540 included in that release too. 😄

I don't know much about GHA, but as long as it's more reliable than Travis I don't object.
The changes look fine. I think we can probably just remove the platform_define entirely at this point.
@mrallen1 any thoughts?

@mrallen1 already told me (before) we don't need to keep supporting stuff prior to OTP 21, which is why the GHA element doesn't make a reference to it.
I'll remove it, and also propose further cleanup (I can see references to OTP 18, for example).

@Vagabond, should we get rid of appveyor also?

@paulo-ferraz-oliveira @lukebakken built the appveyor stuff to test lager on Windows Erlang builds (which I guess was something that RabbitMQ needed) but if it's bit rotted and broken, remove it

@Vagabond @paulo-ferraz-oliveira Kill anything prior to OTP 20 with extreme prejudice - it's on the TODO list, just haven't TODONE it...

@mrallen1: appveyor is failing, but I'm not sure it's broken, which is why I asked 😄. I don't know what versions it runs on, or what's the target (the yml is not very informative).
Regarding OTP 20, I cleaned pre OTP-21 stuff from the tests, but didn't go after anything else.
I'm OK for merge if you are.

If I have time I'll re-visit a Windows build but yeah feel free to nuke it for now.

@michaelklishin: cool. The main goal was to prepare for OTP 24, but I thought I could fix the tests too, while moving to GitHub Actions, so I did.
We'd appreciate a release too, since MANY of our lib.s still depend on lager, though I'd really like to have #540 included in that release too. 😄

No objections from me. I just hope we will have an OTP 24-compatible release in the next couple of weeks so that all Lager users can begin testing on the OTP 24 RC1, even if they build every dependency from source :)

Thank you very much. I know this was a lot of work - really appreciate it.


Updating the marquee

Quick question.  Is there a way to update the speed of the marquee after its been loaded and without destroying it?
$('.text-marquee').simplemarquee('destroy')
                          .simplemarquee({
                            speed:              this.settings.scroll_speed,
                            delayBetweenCycles: 0,
                            cycles:             'infinity',
                          }).simplemarquee('update')

This works, but destroying it causes it to restart.  Removing the destroy doesn't change the speed at all.
Thanks

There's no way at the moment, I didn't wanted to overcomplicate the plugin. We could had a method to update the options, but there are options that can't be changed at the moment (handleResize, etc).

Ahh.  Could it be possible to have a limited set of options be update capable?  It's only the speed I need to update on the fly.

Depends on the complexity added. If the footprint to add the functionality is small, I will merge it gladly.

The solution we came up with was the following.
let jqEl = $('.text-marquee')

var instance            = jqEl.data('_simplemarquee')
instance._options.speed = this.settings.scroll_speed
instance.update(false)

Does this seem proper and correct to you?

Yes that certainly works, still it's not "recommended" to access "private" properties, such as _options.

Closing this for now.


52 write frontend tests

This pull request deals with issue #52 and a few items of issue #31 :

Numerous JS errors in development mode due to PropType validation failing for ScenarioResultItem, ScenarioResults, ScenarioSlider
TextBlock arguments should be called props for consistency with React. Alternatively, destructure the props.

@antw Would you be willing to review this pull request? All the necessary components should now have tests and all tests pass. Except for one, I can't figure out why not: would you be willing to take a look at it? It's scenario test in which the 'herbereken' button should reappear when you alter something in the input.

@antw Wauw, thank you so much for taking the time to give all this feedback and suggestions. This is super valuable for me. Especially also things like 'leaving a blank space after each test', small adjustments that make code that much easier to read. I'll get working on the changes tomorrow. Thanks again!

Except for one, I can't figure out why not: would you be willing to take a look at it? It's scenario test in which the 'herbereken' button should reappear when you alter something in the input.

I fixed it. The test would result in triggercalculate being called; this calls the API. However the fetchMock wasn't configured for that test so it was trying to call the real API (which, for me, wasn't running).
I adjusted the tests to always set up the mock prior to each test and now it passes.
 I haven't needed it in other apps so I'm not sure why it's needed here. I'm not very experienced with this, so I'll do some reading and try to find out.

@antw Would you mind reviewing the changes I've made in this branch? Most of it is based on what you suggested, so (hopefully) no surprises there.


Nessus Solaris 11 Sparc Identification

When importing a Nessus scan with Oracle 11.3 systems, only the x86 systems have the OS and STIGs identified.
The one x86 host that (mostly) worked, had for cpe's:
cpe:/o:sun:sunos:11::x86  (In the ReportHost section)
Plugin ID 11936 (OS Identification) provides:
cpe:/o:oracle:solaris:11.3
(which does not include the x86 - I suspect you are using the ReportHost tag)
The OS was identified as Oracle Solaris 11 and both the SPARC and x86 STIGs were applied (should have only been the x86)
The others had in the Report host section:
cpe:/o:sun:sunos:11::sparc
These came from various Critical patch update plugins (which I will decline to identify for obvious reasons)
cpe:/o:oracle:solaris:11.3
The result was that the OS was Generic and no STIG applied  (for over 100 hosts...)
I don't know that getting the OS version down to Solaris 11.3 is critical, but identifying Solaris 11 and differentiating between x86 and Sparc and applying the correct STIG is important.
--------- Workaround -------------
Here is a bug workaround that I was able to figure out today.  Actually, there is an error in the sw_translation table that was causing Sagacity to miss the Sparc hosts.
parse_nessus.php, line 151
"cpe:/o:sun:sunos:([\d]+)::x([\d+)." assumes only x86.  It should be:
"cpe:/o:sun.sunos:([\d]+)::."
We can also add right below that:
"cpe:/o:vmware:esx_server.*" => "cpe:/o:vmware:esxi:5.0",  (This picks up some missing VMWare hosts for us.)
There are no Solaris 11 CPEs that differentiate sparc and x86, so we just have to live with having both STIGs applied for now.  However, this is a HUGE help not to have to sort out all those generic hosts and figure out which is which.

No complaints from the peanut gallery, and it works for me...


Need version of plugin compatible with Intellij Idea 2021.2.1

Need version of plugin compatible with Intellij Idea 2021.2.1
Thanks.

There is a build compatible with 2021.2.1
What error are you seeing ?

I've seen this before where intellij gets confused. The solution is to remove the plugin, then go to invalidate caches and restart, and then once restarted add the plugin and it should pick up the right version.

You are right, thanks!

Glad it worked :)
On Tue, 31 Aug 2021 at 08:31, pe4enko @.***> wrote:

Closed #141 https://github.com/kotest/kotest-intellij-plugin/issues/141.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kotest/kotest-intellij-plugin/issues/141#event-5232599167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGXYSWWHZBU2ERGJFUTT7TKRVANCNFSM5C7QMN3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

BTW, for me it has only worked after I manually removed kotest-intellij-plugin from disabled_plugins.txt (lives in ~/.config/JetBrains/IntelliJIdea2021.2 on Linux).


Integration test

In this project, we create integration tests for all of the views used in your project.

[ ]  Added integration test

Hi @girma336,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

The Pull Request has a proper title and description. ✔
You have added a descriptive Readme file. Good Job. ✔
There is no linter error is present. ✔
Project has met all the technical aspects you needed for this project. Keep rocking! ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


DX improvement: Make phenomic start reuse tabs instead of opening new ones

Taking this from the create-react-app CLI.
When you start the create-react-app app with npm start (if on mac), it checks if your browser has an open tab at the given port and reuses it instead of opening a new tab.
I'd classify this as a nice to have feature for improved developer experience. Keeps browser tabs to a minimum.
This is how they do it and it runs this applescript. If not on Mac it defaults back to opn package
Implementation should be pretty easy: replace  https://github.com/MoOx/phenomic/blob/161dbc63410e56451af8568377ff4aab38971ac1/src/builder/server.js#L175 with this and add the applescript to project
The question is: can we use this? I'm not sure what the BSD license means here: https://github.com/facebookincubator/create-react-app/blob/master/scripts/utils/chrome.applescript#L3-L10
What do you think?

I'm totally agree with this. But this is for macOS only?

@thangngoc89 It only works for mac users yes but It will default back to standard opn package if the user is on windows etc

@DavidWells Could you send a PR. I'll be more than happy to merge it

@thangngoc89 Do you know about the BSD license stuff? Can we use that applescript as is or do we need to make our own?

@DavidWells I don't know about BSD license stuff. But React was licensed with BSD too. We can shoot a tweet to the repo's manager right?

@thangngoc89 tweeted dan https://twitter.com/DavidWells/status/772638871074906112 waiting for hear back. =)

FYI, they probably ripped this script here http://stackoverflow.com/questions/11735471/apple-script-opening-webpage-on-chrome-and-copy-text (the similarities are more than obvious), so no big deal imo. You can even see that the license header is removed while "ejecting".
Not that this is macOS AND Chrome only.
Could be nice to make it works for other browser :)

I don't see how we can use this script for people that use other browser. This script enforce your to use Chrome right? Maybe I am missing something.
Also, currently, if you navigate in a page (url is not the root anymore) this script does not work since url to open !== url opened.

The script does this:
if (computerHasChromeOpen) {
   // Check for tab in chrome with matching url (localhost:3333)
   if(tabAlreadyOpenReUseIt) {
      // do magic and reuse tab
      return; // stop script
   }
}

do normal opn call here if chrome check fails

As for the license from FB. I got this response: https://twitter.com/Vjeux/status/772808842618949633
So does this mean including https://github.com/facebookincubator/create-react-app/blob/master/LICENSE and https://github.com/facebookincubator/create-react-app/blob/master/PATENTS inside the folder that contains this applescript?
An alternative would be adding create-react-app as a dev-dependancy but man that would be a lot of extra crap for just this applescript.

Seriously? This code has definitively been mostly ripped from here http://stackoverflow.com/questions/11735471/apple-script-opening-webpage-on-chrome-and-copy-text (2012) or from another place that used another source. This is crazy.
FYI https://twitter.com/MoOx/status/772897845854732289
Anyway, I won't add cra as a dep for a single script (kind of ripped), so I will just go for recoding this using my brain and stack overflow... I guess I will find something to check that chrome is the default browser.... Cause even if I have Chrome open sometimes, it's not my default browser, I don't expect Phenomic to open in Chrome.
But be reassured, we will find a way for this. We could even make a npm package this time, what do you think? What about we create a open-or-focus {url}? :D

Btw, if "opn" bother you, you can disable "open" by adding "open: false" in your phenomic config ;)

Sounds good. It is a convenience feature for sure but is super nice. (seriously try create-react-app's npm start a couple times)

Refreshes the same url (ie localhost:3333/my-current/path/xyz) instead of loading the homepage everytime (localhost:3333)
Opens browser back to the same tab and keeps the single tab

The fact that it reopens the same url, not just the homepage, is a time save for me and why I proposed it =)

Closing in favor of #783

Closed by 3917d46529604602bc4645d9e3ffac357c68d015


Fix Issue: https://github.com/AngleSharp/AngleSharp/issues/1147

Types of Changes
Prerequisites
Please make sure you can check the following two boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project

Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Description
Fix the issue of not setting up Start and End property after one of both is explicitly given. The core fix is to modify CompareTo function according to the described algorithm from https://dom.spec.whatwg.org/#boundary-points Additionally, added more operator functions with overridden Equals & GetHasCode functions as well.
Also, the test case for this issue is added in Library/Range.cs.

 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.


Feature Request: Clear data if zero rows returns

It would be good to show empty table if 0 rows found.
Example:

Try demo db
Run query select * from employees;. See 10 rows.
Run query select * from employees WHERE name = 'test';. You still see 10 rows.

Perhaps the query output should always be cleared before execution.

I agree wholeheartedly! Done in 3db274a.


How to get a collection after subscription?

Hey everyone,
"userLoginData" - Give my all the information about the current user.
I'm trying to get collection from subscription(called "userLoginData") and i can't figure it how should I get the collection after sign in.
AppDelegate.swift
`let users = MeteorCollection<User>(name: "users")

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        // Override point for customization after application launch.

        Meteor.client.logLevel = .Debug

        Meteor.connect(URL) {

        }

        return true
    }
    `

LoginViewController.swift
`Meteor.loginWithPassword(usernameTextField.text!, password: passwordTextField.text!) { (result, error) in
        if (error != nil) {
            print("user not found")

        }else{

            Meteor.subscribe("userLoginData") {
                self.performSegueWithIdentifier("LoginScreenToMessagesScreenSegue", sender: self)

            }

        }

    }`

and after that In MessagesViewController.swift I want to get all the information about the user(address, email, phone number etc..). How can I do this??
Thanks!!

Hi @RonGafni
What is the result in your console when executing this code?
   ```

let appDelegate = UIApplication.sharedApplication().delegate as AppDelegate
print(appDelegate.users.sorted)

[onestage.User]) $R0 = 1 value {   [0] = 0x00007f951c3490a0 {     SwiftDDP.MeteorDocument = {       ObjectiveC.NSObject = {         isa = onestage_gefenonline.User       }       _id = "tihSmRZiJCfWCE32e"     }     _id = nil     emails = 1 element {       [0] = 0x00007f951c357920 2 key/value pairs     }     firstName = nil   } }

It looks to me like you're getting your user data. It's returned as an array of MeteorDocuments, not JSON nor a dictionary, so you can access the data accordingly. Get the user from the array, then access its' properties.

ok, but how "userLoginData" get update? which method get called when there is update from the subscription?

userLoginData gets updated automatically, you can watch for updates by subscribing to this observer:
NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(yourViewController.yourMethod), name: METEOR_COLLECTION_SET_DID_CHANGE, object: nil)
You can access the fields like this:
appDelegate.users.sorted._id

This is my User meteorDocument:
`import SwiftDDP
class User: MeteorDocument {
var _id:String?
var emails: NSMutableArray?
var firstName: String?

}
`
but SwiftDDP need to build for me all the other fields from the subscription?

In this case you'll need to create a custom user collection & class. You can do this by subclassing MeteorCollection and MeteorDocument. See the docs for how to do this.

Ok now its work great!! Thanks
But how meteor know the different between custom collection?
`NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(yourViewController.yourMethod), name: METEOR_COLLECTION_SET_DID_CHANGE, object: nil)

`

@RonGafni - I'm not sure I understand exactly what you're asking.

Hello.
There is already couple of questions on this subject, but I didn't found an answer to my problem, so I hope it's OK if I ask here.
I have a collection declared like so:
let myCollection = MeteorCollection<MyCollection>(name: "my-collection")
I subscribe to this collection using method:
Meteor.subscribe("my-collection")
So I got my collection properly when I retrieve it for the first time. But I want to get updates for it - when collection updates on the server I want to get updated data in client as well.
I added observer to notification METEOR_COLLECTION_SET_DID_CHANGE, and I get it sent when collection updates:
NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(myViewController.updateCollection), name: METEOR_COLLECTION_SET_DID_CHANGE, object: nil)
This is how my class looks like:
let myCollection = MeteorCollection<MyCollection>(name: "my-collection")

func viewDidLoad() {
   super.viewDidLoad()
   NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(myViewController.updateCollection), name: METEOR_COLLECTION_SET_DID_CHANGE, object: nil)
   Meteor.subscribe("my-collection")
}

func updateCollection() {
   let collectionData = myCollection.sorted
   // Update UI with new data
}

The problem is when I get selector called I can't retrieve updated collection. When collection changes on server and I get notification thrown, when I perform myCollection.sorted, it returns me old data that myCollection was initialized with for the first time. But I can track that my new data gets received when I add breakpoint on self.setValue(value, forKey: key as! String) method in MeteorDocument class.
I think I missed some method in my notification selector, but can'y figured out what it could be.
Maybe I need

It's not clear to me what you're doing from the code you've posted. By class, I assume you mean your ViewController, but there's not a lot of context here.
But several things:
Your data should update automatically in your collection when changes are made on the server. If this is not happening, first make sure that your collection name on the client is exactly the same as the collection name on the server.
Then enable logging on the client. You should be able to see each message as it's received by the client. This will help narrow down where the problem is.
Finally, I see that you're subscription has the same name as your collection. Is this correct? I ask because you subscribe to a publication, not to a collection. Although they can seem like the same thing in simple contexts, they're not. Is your publication set up correctly on the server?


Refactor event hooks.

closes #1301

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

addon/mixins/sl-component-input-id.js, line 38 [r1] (raw file):
This should be in the "Methods" section

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

addon/mixins/sl-component-input-id.js, line 34 [r1] (raw file):
Do we want to mark this method as @private?

Comments from the review on Reviewable.io

Please merge latest changes from v0.11.0 branch so that tests can run.

Review status: all files reviewed at latest revision, 2 unresolved discussions.

Comments from the review on Reviewable.io

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

addon/mixins/sl-component-input-id.js, line 22 [r2] (raw file):
Capitalize for consistency with rest of comment descriptions.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 1 unresolved discussion.

addon/mixins/sl-component-input-id.js, line 22 [r2] (raw file):
Or consider using "init event hook" to be consistent with other PRs you have made.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Compression segfaults for z-smallest strides

The following code using strides of {4*5, 5, 1} on data of size (3,4,5) and fails with a segfault on linux, but using strides of {1, 3, 3*4 } works just fine.
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "zfp.h"

int main() {
    static const int nx = 3;
    static const int ny = 4;
    static const int nz = 5;
    int strides[3] = { 4*5, 5, 1};
    //int strides[3] = { 1, 3, 3*4 };
    float data[3*4*5] = {0};

    // Fill the data
    for(int iz=0; iz<nz; ++iz) {
        for(int iy=0; iy<ny; ++iy) {
            for(int ix=0; ix<nx; ++ix) {
                int idx = ix*strides[0] + iy * strides[1] + iz * strides[2];
                data[idx] = iz + sin(0.01*ix + 0.02*iy + 0.03*iz + 0.00002*(ix*iy));
            }
        }
    }

    // Compress and write to stdout
    double bits_per_value = 12;
    zfp_field * field = zfp_field_alloc();
    zfp_field_set_size_3d(field, nx, ny, nz);
    zfp_field_set_pointer(field, data);
    zfp_field_set_stride_3d(field, strides[0], strides[1], strides[2]);
    zfp_field_set_type(field, zfp_type_float);
    zfp_stream * zfp = zfp_stream_open(NULL);
    zfp_stream_set_rate(zfp, bits_per_value, zfp_type_float, 3, 0);
    size_t bufsize = zfp_stream_maximum_size(zfp, field);
    void* buffer = malloc(bufsize);
    bitstream * stream = stream_open(buffer, bufsize);
    zfp_stream_set_bit_stream(zfp, stream);
    size_t zfpsize = zfp_compress(zfp, field);
    fwrite(buffer, zfpsize, 1, stdout);
}

The error I get is:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bc5f60 in gather_partial_float_3 (q=0x7fffffffae00, p=0x8003ffffb334, nx=3, ny=4, nz=4, sx=20, sy=5, sz=1)
    at /xxx/zfp/src/template/encode3.c:22
22              q[16 * z + 4 * y + x] = *p;

The stack trace I get is :
#0  0x00007ffff7bc5f60 in gather_partial_float_3 (q=0x7fffffffae00, p=0x8003ffffb334, nx=3, ny=4, nz=4, sx=20, sy=5, sz=1)
    at /xxxzfp/src/template/encode3.c:22
#1  0x00007ffff7bc6368 in zfp_encode_partial_block_strided_float_3 (stream=0x603040, p=0x7fffffffb320, nx=3, ny=4, nz=4, sx=20, sy=5, sz=1)
    at /xxx/zfp/src/template/encode3.c:71
#2  0x00007ffff7baeb54 in compress_strided_float_3 (stream=0x603040, field=0x603010)
    at /xxx/zfp/src/template/compress.c:80
#3  0x00007ffff7bb693a in zfp_compress (zfp=0x603040, field=0x603010) at /xxx/zfp/src/zfp.c:746
#4  0x0000000000400e46 in main () at zfp_test.c:44

And gdb shows:
buffer=0x603070
data=0x7fffffffb320
*stream = {bits = 0, buffer = 0, ptr = 0x603070, begin = 0x603070, end = 0x603148}
*zfp = {minbits = 768, maxbits = 768, maxprec = 64, minexp = -1074, stream = 0x603150, exec = {policy = zfp_exec_serial, params = {omp = {threads = 0,
        chunk_size = 0}}}}
*field = {type = zfp_type_float, nx = 3, ny = 4, nz = 5, sx = 20, sy = 5, sz = 1, data = 0x7fffffffb320}

With strides {45, 5, 1}, I believe you already access indices outside the range of array "data" when filling it, causing undefined behavior. Could check this with valgrind for example, or assert that "idx < nxny*nz".

This appears to be a bug in zfp caused by incorrect sign extension in gather_partial_float_3.  We'll work on a fix.

@mikeando, our current plan is to address this bug in the next release, slated for the end of September, by in effect killing two birds with one stone.  We've been meaning to replace int and uint with ptrdiff_t and size_t to support very large arrays with more than 2^32 elements.  This change will also take care of the incorrect sign extension from 32 to 64 bits that's causing the bug you're seeing.
If you need a quicker fix, please let us know and we'll walk you through the necessary changes.

@mikeando, we have addressed this bug on the 'develop' branch.  The fix will also be included in the next release that is set for late September.

The fix is now available through the 0.5.4 release.


Add a command that prints all the version info

When  I open a new bug I am asked for a bunch of version info that requires going back and forth copying and pasting versions of OS, vscode, extensions, pylance, etc. Why not add a little command to vscode that collects all these versions and prints them in the Markdown form the issue tracker requires? And then advertise that in the new issue template.

Here is something similar C# does using the clipboard to help users report issues.
https://github.com/OmniSharp/omnisharp-vscode/pull/2845
https://github.com/OmniSharp/omnisharp-vscode/pull/2503

Much better would be to encode the text into the new issue URL; this is what Go does for the go bug and gopls bug commands.

Much better would be to encode the text into the new issue URL; this is what Go does for the go bug and gopls bug commands.

Whatever, just save me from hunting down half a dozen of different pieces of info by clicking around in the UI and copying them to GitHub one at a time. :-)

Whatever, just save me from hunting down half a dozen of different pieces of info by clicking around in the UI and copying them to GitHub one at a time. :-)

Of course, just throwing that there before I forget. 🙂

Of course, just throwing that there before I forget. 🙂

Huh, I just found a "Report issue" menu item under Help in VS Code Insiders. That solves my problem. Sorry!

Huh, I just found a "Report issue" menu item under Help in VS Code Insiders. That solves my problem. Sorry!

That may help for most, but I'm actually going to leave this open at the moment (if you don't mind) as we're working on a version which will auto-populate our template here with all of our required info as well as switch things over to the right logs, etc.

That may help for most, but I'm actually going to leave this open at the moment (if you don't mind) as we're working on a version which will auto-populate our template here with all of our required info as well as switch things over to the right logs, etc.

This issue has been fixed in version 2021.1.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202111-13-january-2021

This issue has been fixed in version 2021.1.1, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202111-13-january-2021


nest under existing block?

I have a page template that includes a block that I'd like to nest phonetonote notes under, but phonetonote creates a new block instead.
Obviously you can have multiple of the "same" block on a page, but I could see implementing this with a limitation that the notes always end up under the first available block of that "name".

i think this one will need to wait until i have better integration testing of the roam client, which should be soonish but not immediate


Style-keeper.js throwing an error in v0.16.0

Just pulled down release v0.16.0 and style-keeper.js is throwing an error Uncaught TypeError: Cannot read property 'indexOf' of undefined.
It's occurring on line 21 in style-keeper.js. I think this.__listeners is scoped to the wrong this

Excellent, was hoping to release 0.16.1 tonight ^^

Are you doing anything out of the ordinary? I can't repro this in the examples.

Awesome! Glad I could assist. @ianobermiller: Amazing work with the new release ;)


rancher/container-crontab is panicing on invalid cron.schedule syntax

Rancher versions:
rancher/server: v1.6.10
rancher/agent: v1.2.6
Infrastructure Stack versions:
healthcheck: v0.3.3
ipsec: v0.11.9
network-services:

rancher/metadata:v0.9.4
rancher/network-manager:v0.7.8
scheduler: v0.8.2
kubernetes (if applicable): -

Docker version: (docker version,docker info preferred)
$ docker info
Containers: 30
 Running: 27
 Paused: 0
 Stopped: 3
Images: 54
Server Version: 17.03.2-ce
Storage Driver: overlay
 Backing Filesystem: extfs
 Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: rancher-secrets local rancher-nfs
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.45-rancher
Operating System: RancherOS v1.1.0
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.67 GiB
Name: john
ID: UAW3:ZOJU:ISXD:GDRB:RI7Q:WIWS:3FK4:6JYY:XUK6:EGFP:NF46:YYND
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
$ uname -r
4.9.45-rancher

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
VMWare
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher, internal DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

have a infrastructure service 'container-crontab'
create a service with label cron.schedule and empty value.
watch 'container-crontab' container restart endlessly with the error

goroutine 1 [running]:
panic(0x7fb640, 0xc42000c090)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/rancher/container-crontab/vendor/github.com/robfig/cron.Parser.Parse(0xff, 0x1, 0x0, 0x0, 0xcc000000005060fa, 0x8, 0xccf2a72134421474, 0x0)
	/go/src/github.com/rancher/container-crontab/vendor/github.com/robfig/cron/parser.go:79 +0x89a
github.com/rancher/container-crontab/vendor/github.com/robfig/cron.Parse(0x0, 0x0, 0x40ba81, 0xc42028e260, 0xc42030ef28, 0xc42030eea8)
	/go/src/github.com/rancher/container-crontab/vendor/github.com/robfig/cron/parser.go:182 +0x4d
github.com/rancher/container-crontab/vendor/github.com/robfig/cron.(*Cron).AddJob(0xc4201f86e0, 0x0, 0x0, 0xc1bf20, 0xc42029cf50, 0x1, 0x1)
	/go/src/github.com/rancher/container-crontab/vendor/github.com/robfig/cron/cron.go:103 +0x3f
github.com/rancher/container-crontab/cron.(*Crontab).AddJob(0xc42024e780, 0xc4202980c0, 0x40, 0xc420290240, 0x85ea12, 0x6, 0x0, 0x0)
	/go/src/github.com/rancher/container-crontab/cron/cron.go:59 +0x29d
github.com/rancher/container-crontab/events.NewDockerHandler(0x845a60)
	/go/src/github.com/rancher/container-crontab/events/events.go:54 +0x2b8
github.com/rancher/container-crontab/events.StartRouter(0xc1d2e0, 0xc42022a680)
	/go/src/github.com/rancher/container-crontab/events/events.go:100 +0x56
main.start(0xc420224b40, 0x5, 0xc42016fc00)
	/go/src/github.com/rancher/container-crontab/main.go:43 +0x5e
github.com/rancher/container-crontab/vendor/github.com/urfave/cli.HandleAction(0x7e7f60, 0x88c7b0, 0xc420224b40, 0xc4201da720, 0x0)
	/go/src/github.com/rancher/container-crontab/vendor/github.com/urfave/cli/app.go:485 +0xd4
github.com/rancher/container-crontab/vendor/github.com/urfave/cli.(*App).Run(0xc42008cb60, 0xc42000c1f0, 0x1, 0x1, 0x0, 0x0)
	/go/src/github.com/rancher/container-crontab/vendor/github.com/urfave/cli/app.go:259 +0x74f
main.main()
	/go/src/github.com/rancher/container-crontab/main.go:34 +0x1b3
time="2017-11-20T09:41:01Z" level=info msg="Starting Cron"
time="2017-11-20T09:41:01Z" level=info msg="Scanning for container cron entries"
time="2017-11-20T09:41:01Z" level=info msg="Added: 82553c757a953d54eb1a616534b0aa401d73a7ff294d1d2c7512aa6c71b3971e, with schedule: 0 0 0 * * ?"
panic: runtime error: index out of range

One can see, that the first container with correct cron.schedule syntax is added, and the second container causes a panic.
Results:
Services with correct cron.schedule will not be executed.
Expected:
services with invalid syntax should be ignored, at least not causing a panic.

Just wanted to say that the current fail-fast approach helps to quickly notice an invalid schedule configuration. Otherwise it would only be visible in the container logs or if some cron jobs are simply not executed. So the bug could actually be considered as a feature.
However, it should behave congruently - so if the panic only occurs in case of an empty cron.schedule (and maybe not if it is invalid in some other way) - it is not useful this way.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Add support for --title to the wt.exe commandline args

Summary of the Pull Request
Adds support for setting the terminal title with the commandline argument --title <title>.
PR Checklist

[x] Closes #6183
[x] I work here
[ ] Tests added/passed
[ ] Requires documentation to be updated - probably does, yea

Detailed Description of the Pull Request / Additional comments

I wasn't sure how we felt about -t being the short version of this argument, so I left it out. If we're cool with that, adding it wouldn't be hard.

Validation Steps Performed

I wasn't sure how we felt about -t being the short version of this argument, so I left it out. If we're cool with that, adding it wouldn't be hard.

I feel like -t could mean too many things. Tab, title.... I'm sure there are more. But I'm not the one with the pulse of the command-line args as much as @DHowett is.

We can think about -t later. I'm not sure how i feel about it.


What is this error? How do I solve it?

Hi Prisma Team! The following command just crashed.
Command
generate
Versions

Name
Version

Platform
debian-openssl-1.1.x

Node
v19.8.1

Prisma CLI
4.12.0

Engine
659ef412370fa3b41cd7bf6e94587c1dfb7f67e7

Error
Error: RuntimeError: panicked at 'internal error: entered unreachable code: No unsupported field should reach that path', query-engine/schema-builder/src/input_types/mod.rs:28:40

This is an unexpected error that should never happen. Can you share the Prisma schema that causes this? We would love to be able to reproduce this - and then fix it. Thanks!

ping @Unicodist Can you provide some more information please so we can possibly reproduce this? Thanks.


[Translation][Japanese] Improvement

Hi,I am a native Japanese speaker,tried to create a nearly correct Japanese translation for DJV ver 2.0.6.
I was able to spend on the translation as my planned job was gone,cause COVID-19.
Right now, I'm asking some professional Japan VFX users to check if my translation is appropriate.
https://github.com/ufotone/DJV_Japanese/tree/master
Things are sometimes tough, but I am happy to help you!

Hi, thank you for your contribution! I am sorry to hear about your job, hopefully you can find a replacement soon. Let me know when you are satisfied with the translation checks and I will merge the changes.
Also would you like to be added to the credits for helping with the translations? If so let me know and what name you would like to use.
https://darbyjohnston.github.io/DJV/credits.html

Hi,I will finish by the end of this month.
Please wait until then.
Just got some suggestions for better translation from.
Also,Thank you for your credit suggestions.
I didn't think about it, but if possible, my name is
Yushi Tone.
Thank you for your reply.
Keep in touch.
2020年5月15日(金) 3:06 Darby Johnston<EMAIL_ADDRESS>
Hi, thank you for your contribution! I am sorry to hear about your job,
hopefully you can find a replacement soon. Let me know when you are
satisfied with the translation checks and I will merge the changes.
Also would you like to be added to the credits for helping with the
translations? If so let me know and what name you would like to use.
https://darbyjohnston.github.io/DJV/credits.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darbyjohnston/DJV/issues/255#issuecomment-628799839,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APSU4TBIF4ZKSDKVQQ2HFG3RRQXLXANCNFSM4NA4FDMA
.

Hi Yushi, I hope all is going well with you; I just wanted to check-in, are the translations going OK?

Hi!It's OK.
2020年6月2日(火) 3:00 Darby Johnston<EMAIL_ADDRESS>
Hi Yushi, I hope all is going well with you; I just wanted to check-in,
are the translations going OK?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darbyjohnston/DJV/issues/255#issuecomment-637016963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APSU4TBKWM62UYCDSKGMDEDRUPUFBANCNFSM4NA4FDMA
.

OK, thanks; I was hoping to make a new release sometime next week, do you think it will be ready by then? If not, no pressure, I can move this issue to the next release.

Hi ! sorry for the late contact.Please release when you want !
The Japanese release currently on GitHub has been tested by Japanese
professional users.
There is still a part I want to fix, but it's a trivial matter so there is
no problem.
Thank you.
2020年6月4日(木) 2:08 Darby Johnston<EMAIL_ADDRESS>
OK, thanks; I was hoping to make a new release sometime next week, do you
think it will be ready by then? If not, no pressure, I can move this issue
to the next release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darbyjohnston/DJV/issues/255#issuecomment-638331164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APSU4TEXNBAEMAWSQVPMSL3RUZ7QNANCNFSM4NA4FDMA
.

Great, thanks! I'm excited for these changes, I'll merge them into the code base and include them with the next release. If you have any more updates just let me know.
Thanks, Darby

Thankyou! I'm happy and excited.
2020年6月11日(木) 4:19 Darby Johnston<EMAIL_ADDRESS>
Closed #255 https://github.com/darbyjohnston/DJV/issues/255.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darbyjohnston/DJV/issues/255#event-3431105460, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APSU4THGQQ3VGYPW6OA4LSLRV7MEXANCNFSM4NA4FDMA
.