Only Depth-Driven Training For Colorless Dataset

Is it possible to train gsplat using your framework for only generating depthmaps without rgb  information ?

wondering as well

Yes very doable. Our rasterization() API support only render out the depth map (API link):

render_mode – The rendering mode. Supported modes are “RGB”, “D”, “ED”, “RGB+D”, and “RGB+ED”. “RGB” renders the colored image, “D” renders the accumulated depth, and “ED” renders the expected depth. Default is “RGB”.

That being said, it is very doable but you would need to modify the training script accordingly.

Yes very doable. Our rasterization() API support only render out the depth map (API link):

render_mode – The rendering mode. Supported modes are “RGB”, “D”, “ED”, “RGB+D”, and “RGB+ED”. “RGB” renders the colored image, “D” renders the accumulated depth, and “ED” renders the expected depth. Default is “RGB”.

That being said, it is very doable but you would need to modify the training script accordingly.

Is there any examples? I want to try train with depth and rgb data.

Yes very doable. Our rasterization() API support only render out the depth map (API link):

render_mode – The rendering mode. Supported modes are “RGB”, “D”, “ED”, “RGB+D”, and “RGB+ED”. “RGB” renders the colored image, “D” renders the accumulated depth, and “ED” renders the expected depth. Default is “RGB”.

That being said, it is very doable but you would need to modify the training script accordingly.

Is there any examples? I want to try train with depth and rgb data.

https://github.com/nerfstudio-project/gsplat/tree/main/examples，here are examples

one other question is how depth is handled or rasterized? For depth loss, what is the gt depth data ? Is it normalized-single channel image or metric depth ?

one other question is how depth is handled or rasterized? For depth loss, what is the gt depth data ? Is it normalized-single channel image or metric depth ?

as for how depth is handled or rasterized?，you can scroll down  to the button  of README.md of gsplat.there is a arxiv paper of explanation of rasterization，for depths loss ,according to the normalization pipeline in calmap,gt depth is produced via unprojecting normed points and pose,and my dataset  is RGBD  image my strategy is rasterizing the normed points in camera coordinate,I think there's a quicker way in mathematics but have not deducted now


SAN-142 Add pay another penalty link to confirmation page using property: penalty.ref-starts-with-url

SAN-142 Add pay another penalty link to confirmation page using property: penalty.ref-starts-with-url

CI: No security warnings found

CI: Security warnings found!

CI: No security warnings found


Hide/Show rows OR columns with animated transition for Grid mode

Great work!
You asked for suggestions. Here are some :)

be able to hide and show (via e.g. Show All) columns after selecting them, with an animated transition

not concurrently with the above, be able to do the same with rows

Any thoughts on how to approach that with react-virtualized?
:)

Sorry but I'm afraid I don't understand what you mean. "show all" ?

Ok let's say i have a grid built with react-virtualized. It has 20 columns 10 of which are in currenf view. I select 3 columns and I click Hide on my UI. I want to be able to smoothly animate the hiding of those 3 colums such that the row shrinks width wise as those columns disappear, showing 3 more columns from the portion of the grid that was outside the current view.
Then i clixk Show All and have the hidden columns reanimate into place taking the row back to its original
Width

Show All is another thing on my UI

I would be responsible for passing in an array of rows or columns to show/hide

Oh I see! Thank you for elaborating. :)
What you're describing sounds slick! But to be honest... I'm not sure if this type of feature has a place in react-virtualized. I'll admit I haven't given any thought to animation (so there may be a graceful way to do it) but I'm afraid it might complicate things and result in bugs or worsened performance.
In this use-case you describe for instance, react-virtualized would have to have a way of differentiating between the 3 columns you had showing initially and the newly-visible ones. But it doesn't actually know that. The components all just work with collections of anonymous data. (This is often what you want, since an updated number of rows may mean an entirely new source of data has been specified.)
If you have a proposal for how this might be accomplished I'd be happy to review it (as either a PR or a proof-of-concept). :)

It's more in the realm of industrial strength data grids where you actually can have millions of rows and tens or even hundreds of columns. Some have an adjunct Ui to enable collapsing a whole set of rows (during filtering) as well as hide/show.
If you have a doc describing how react virtualized works conceptually then myself or others will find it easier to adapt it. Right now it's a black box to me so any kind of description would help ... All the data grids out there suck in terms of their memory management and horrible bugs so i was hoping react virtualized can be a good substrate for an advanced data grid :)

I'd like to think it's not that much of a black box :)
The Grid code is here and it uses a few helper methods here. Both are heavily commented and should be pretty easy to follow I think. (I spend a lot of time on documentation.) Both also have pretty extensive tests (see Grid and utils) which should hopefully help further clarify intent. Those combined with the markdown documentation I think provide a pretty clear example of how things work. (Although I'm open to suggestions for how to improve the documentation.)

It's more in the realm of industrial strength data grids where you actually can have millions of rows and tens or even hundreds of columns. Some have an adjunct Ui to enable collapsing a whole set of rows (during filtering) as well as hide/show.

To be clear, react-virtualized supports columns or rows being hidden/shown. That's simply a matter of changing the [visible] columns or rows count and it will update the rendering. The only thing that is not supported (that I don't think belongs in react-virtualized) is the ability to animate the showing/hiding of columns or rows.

My bad. I have yet to dig into the code. I've only played with the demo and had a glance at the readme :)
So if you are saying that overwriting the list with a new one that has less rows or columns would be ok as react virtualized will just rerender the current view? If so then why couldn't something like CSSTransitionGroup be used to animate the max-width/max-height of React elements being removed/re-added? Basically to have the hide animation run on every element on componentWillUnmount and the show animation on componentWillMount? It sounds like a bad idea but not sure why... I will have to look at the code before I can think up something more intelligent :)

No problem! That's why I provided you with all of the links. I hope they're helpful :D

So if you are saying that overwriting the list with a new one that has less rows or columns would be ok as react virtualized will just rerender the current view?

That's correct. The test harness / demo that I linked to you lets you do just this (change the num-rows/num-cols and simulate what your'e describing).

If so then why couldn't something like CSSTransitionGroup be used to animate the max-width/max-height of React elements being removed/re-added? Basically to have the hide animation run on every element on componentWillUnmount and the show animation on componentWillMount? It sounds like a bad idea but not sure why...

This might be worth putting together a proof of concept and trying out. I'm not sure how this works with React essentially recycling children in the way it does. It might be funky. :)

@idibidiart,
I'm going to close this issue for now since I'm not planning on actively working on it. (I do this to keep the list of defects from piling up and obscuring important issues.) But we can still continue talking on this ticket and I'll be happy to review prototypes or PRs if you have anything to share.
Cheers :)

Cool! I am working on stuff related to this and will circle back sometime soon. :)

Rather than open a new issue, I think my question is related.
I'll preface with "I don't think this can work, but..." 😄
There's a need for react-virtualized windowing with filter and sorting.  Two well known JQuery libraries, Isotope and MixItUp effectively use filtering and sorting animations to show users data changes.
I hand rolled a react-virtualized with filtering and sorting.  It works great!  Is it possible to add Isotope style animations to a filter/sort?  It would seem to be that it's at worst not possible and at best difficult because of how React Virtualized windows the content.
Any thoughts or packages I've missed?  Thanks!

@LawJolla I'd love to know the answer to this, actually! I haven't tried combining animation with react-virtualized components because I haven't yet had a use-case myself. But it is a question that comes up from time to time.
If you're just talking about animating from row X to row Y then I think that should be possible by using an animation frame and passing in a new scrollTop prop. However if you're talking about animating things like the MixItUp link does...that's much trickier. In theory, you could do something like that by specifying your own cellRangeRenderer and managing the animations yourself, but it might be tricky and you might run into problems that I haven't anticipated.
If you do it, and it works out, I'd love to hear about it. 😁

Thanks for the input!  I will give it a whirl in the next several weeks and report any positive progress.  This is one of my favorite React libraries, and I'd love to help.  Fingers crossed.

That's great to hear! And kind of you to say! Thanks :)


Typo

:P saved 5 secs of work

Thank you LOL

This will be updated on pypi in the next version...


[AP-007] ReceptorConfiguration - add receptor type

Summary
adding receptor_type field to ReceptorConfiguration message
This is useful when customers want to write their own receptors and run them
locally
Test Plan
make
Task
[AP-007]

Ankit, please abandon this one and put up a replacement on what we discussed last Thu.


Add support for Rails 6

Now that Rails 6 is released, a version should be released that supports activesupport, ~> 6.0

actually it rollled back to 0.5.0 versions because of dependency on activesupport 5 in 0.7.0 version.

Curious if Rails 6 support is coming out anytime soon? Thanks.

+1


Make specs pending instead of failing in no multicast environments

See #9508 / https://github.com/crystal-lang/crystal/pull/9508#discussion_r449082311 for history and context.
I'd still argue to include this because while it doesn't happen in one of our current build environments, it might in somebody else's. Also I think the spec feature is quite nice :)
SEO: UDPSocket using IPv6 joins and transmits to multicast groups / UDPSocket using IPv4 joins and transmits to multicast groups / setsockopt: Protocol not available (Socket::Error)

Sorry, I'm confused. Is this patch still necessary after #9438?

Yeah, I suspected them to have the same reason initially, but given the IPv6 issues reproduce in some environments which this then does not, it looks like it's independent.
I don't know what settings the hosted GHA runners have to trigger this.
Either way, #9438 did not do anything about these.


Tap adaptors are moved back to root namespace after the Leave endpoint is called

In manipulating tap adaptors with a network plugin, I've found that libnetwork does not destroy them when a container is removed from a network, but rather they pop back into the root network namespace with their original name - which would be fine, except that this happens after the Leave endpoint response is sent.
This means that without a separate GC process to clean up my tap adaptors, they get orphaned.

Your driver can delete the interface on the DeleteEndpoint() call which is invoked after the LeaveEndpoint() and after the container interface is moved back to the host namespace. This is in fact what the internal network drivers do.

Ah, much clearer - though a little odd, since in cases where you don't want to leave the interface lying around in the host namespace, you try not to create it till the container is ready for it.


Add Buffer creation convenience

For some reason when i try to use this in an Angular Application it complains about fs.readFile not existing. So i resorted to using the base64 version of the image binary. I had to modify the library to accept base64 string without interfering with any of the processes that are already exists except converting base64 string to an array buffer and then on to a Buffer ready for processing.
An example usage will be
new EXIFImage({ image: this.base64Image, imageDataType: 'base64' }, function (error, exifData) {         if (error)           console.log('Error: ' + error.message);         else {           console.log(exifData); // Do something with your data!         }       });
or
new EXIFImage({ image: this.arrayBuffer, imageDataType: 'ArrayBuffer' }, function (error, exifData) {         if (error)           console.log('Error: ' + error.message);         else {           console.log(exifData); // Do something with your data!         }       });

Hello,
Why dont you use  UInt8Array.from(source)  ?
https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/TypedArray/from


Error while booting

26.11 12:19:57 [Server] Sponge Plugin 'totaleconomy' seems to be missing a valid mcmod.info metadata file. This is not a problem when testing plugins, however it is recommended to include one in public plugins.
26.11 12:19:57 [Server] INFO Please see https://docs.spongepowered.org/master/en/plugin/plugin-meta.html for details.
this appears while botting
everything runs fine just wanted to point out nothing else

I'll get this fixed today. Thanks.

All fixed. Thanks again.


get_global_rect() ignores rotation

Godot version:
3.2 beta6
OS/device including version:
windows
Issue description:
rotation the texturerect with control.rect_rotation += 90，than control.get_global_rect（） to get rect2，rect2 isnot rotation with control，you can use rect2.has_point（mouse_positon）to get bug，sorry for my english
Steps to reproduce:
Minimal reproduction project:

Honestly your problem is really hard to understand, please explain things step by step and with a little bit more details.

Repro:
ReproductionProject.zip

复制：
ReproductionProject.zip
尽管这可能是有意的。

rect2d is designed that faster detected...

I am still not sure about what the problem is. But if the problem is the global_get_rect() function doesn't account for rotation, this is an expected behavior. There is no way to compute a meaningful rect when a control is rotated.

我仍然不确定是什么问题。但是，如果问题是glo

I am still not sure about what the problem is. But if the problem is the global_get_rect() function doesn't account for rotation, this is an expected behavior. There is no way to compute a meaningful rect when a control is rotated.

so i canot overlap test... i need rotated texture to check   overlap...

You should not use get_global_rect() then, but instead use the get_global_transform() (eventually get_global_transform() * get_transform() I am not sure) to transform the position you want to check for to the Control local space, and then use get_rect() to check for the position.

您不应该使用get_global_rect()，而是使用get_global_transform()（最终get_global_transform() * get_transform()我不确定）将要检查的位置转换为Control本地空间，然后使用get_rect()来检查位置。

my cursor is get_global_mouse_position，so

Then use get_local_mouse_position() instead.
Something like get_rect().has_point(get_local_mouse_position())

然后get_local_mouse_position()改用。
就像是get_rect().has_point(get_local_mouse_position())

i will try it，thx a lot

Alright, closing this for now then. If you have difficulties using 2D transforms, please use the other community channels for this purpose.

Then use get_local_mouse_position() instead.
Something like get_rect().has_point(get_local_mouse_position())

why i donot use get_rect，it is local_rect actually？it is not bug？

Yes, get_rect() returns a rect in the Control's space.
I don't see what would be a bug here.

是的，get_rect（）在控件的空间中返回一个rect。
我看不出这里有什么错误。

Yes, get_rect() returns a rect in the Control's space.
I don't see what would be a bug here.

canot rotation with control，how can we overlap test...why rect2 donot rotation is expected and designed...

Godot版本：
3.2 beta6
OS /设备（包括版本：
Windows）
问题描述：
使用control.rect_rotation + = 90旋转texturerect，而不是使用control.get_global_rect（）来获得rect2，rect2不随控件旋转，您可以使用rect2.has_point（mouse_positon ）得到错误，很抱歉我的英语
步骤重现：
最小复制项目：

复制：
ReproductionProject.zip
尽管这可能是有意的。

it is used for overlap testing，if rect2 donot rotate，i think that is bug...

Sorry, but your english is really hard to understand.
Rect2 is not supposed to rotate, it does not handle rotations and this is by design.
If you need to check whether or not a point is inside a control's rect, you have to use the solution above (use get_rect().has_point(get_local_mouse_position()) or play with transforms to get the point you want to check in the control's local space)

抱歉，但是您的英语真的很难听。
Rect2不应旋转，它不能处理旋转，这是设计使然。
如果需要检查点是否在控件的矩形内，则必须使用上面的解决方案（使用get_rect().has_point(get_local_mouse_position())或玩转变换以获取要在控件的本地空间中检查的点）

why local rect is different with global rect，it confuse me...sorry for my english again

抱歉，但是您的英语真的很难听。
Rect2不应旋转，它不能处理旋转，这是设计使然。
如果需要检查点是否在控件的矩形内，则必须使用上面的解决方案（使用get_rect().has_point(get_local_mouse_position())或玩转变换以获取要在控件的本地空间中检查的点）

rect2 in Local coordinates still won't rotate with control ...i donot how to overlap testing to use rect2 when control can rotation

抱歉，但是您的英语真的很难听。
Rect2不应旋转，它不能处理旋转，这是设计使然。
如果需要检查点是否在控件的矩形内，则必须使用上面的解决方案（使用get_rect().has_point(get_local_mouse_position())或玩转变换以获取要在控件的本地空间中检查的点）

ReproductionProject.zip

The Rect2 object does not handle scale and rotation at all. So the get_global_rect function cannot return something else than the not rotated version of the global Rect2. That's why you have to do you checks in the control's local spacz, where you can make it so the rotation is ignored.
But anyway, this is not the place to ask questions about how to use the engine, please use the other community channels for this purpose. I am pretty sure other people faced the same problem as you do.

My bad, this is what you should use : Rect2(Vector2(), rect_size).has_point(get_local_mouse_position())


Update api.md

@yjhmelody Thank you the nice work!
the new home abot Tokio-zh merged into rustlang-cn


[Discussion] Building Block with Term and/or Unit

I am not 100% sure how to handle the following case:
Let's say we have any building block created with a unit. Can this building block only contain numbers/free text input in its main column? Or can it contain another term as value?
See the example below:

Parameter [Something]
Unit
TSR
TAN

instrument model my_unit
my_unit
unit
http://urltounit/unit_000000000

12 my_unit
my_unit
unit
http://urltounit/unit_000000000

Is it allowed to add something like instrument model to a unit block?
@muehlhaus @Martin-Kuhl @Brilator @HLWeil

So far, I cannot imagine a scenario where I would not want to put a number in front of a unit. For user-friendliness, e.g., when using a template, I would still allow to add terms as values, as Swate ignores the unit in such cases (or at least does not add it to the cell). If this however can be a problem when parsing the table, maybe an option could be that Swate automatically removes the unit when an ontology term is added?

Shouldn't be a problem when parsing the table to ISA-Json.

I used your input to make term search more flexible in standalone mode. This will now update column header, unit or term depending on the selected column ✨


test: added test for CloseChatButton #139

Added test for CloseChatButton
Description
Added unit test for CloseChatButton using Jest
Closes #139
What change does this PR introduce?
Please select the relevant option(s).

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (changes to docs/code comments)
[ X] Unit Test

What is the proposed approach?
Followed other unit tests structure and make the jest tests to test the changes
Checklist:

[X] The commit message follows our adopted guidelines
[X] Testing has been done for the change(s) added (for bug fixes/features)
[X] Relevant comments/docs have been added/updated (for bug fixes/features)

Hi @tjtanjin  .... I will make the change, and update the PR


Model with field "keys", can't be set when using Field(alias="keys").

Question
I have a model with a mandatory field that has to be called "keys" to comply with the JWKS spec.
class JSONWebKeySetModel(BaseModel):
    "JSON Web Key Set (JWKS) response type."
     keys_: List[str] = Field(..., alias="keys", description="Valid public keys.")

When instantiating an instance with either JSONWebKeySetModel(keys=[]) or JSONWebKeySetModel(keys_=[]) Pydantic throws the validation error:
    def __init__(__pydantic_self__, **data: Any) -> None:
        # Uses something other than `self` the first arg to allow "self" as a settable attribute
        if TYPE_CHECKING:
            __pydantic_self__.__dict__: Dict[str, Any] = {}
            __pydantic_self__.__fields_set__: 'SetStr' = set()
        values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
        if validation_error:
>           raise validation_error
E           pydantic.error_wrappers.ValidationError: 1 validation error for JSONWebKeySetModel
E           keys
E             field required (type=value_error.missing)

venv/lib/python3.7/site-packages/pydantic/main.py:276: ValidationError

How should approach creating a model that has to have a field named "keys" when it's dumped to JSON?
Please complete:

OS: OSX 10.14
Python version import sys; print(sys.version): 3.7.4
Pydantic version import pydantic; print(pydantic.VERSION): 1.0.0

This is a bug in FastAPI. Worked around it by returning model.dict() from the API call instead of model.


TypeError while generating modelgen in dart

Environment information
System:
  OS: Windows 10 10.0.19045
  CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
  Memory: 4.20 GB / 15.92 GB
Binaries:
  Node: 22.0.0 - C:\Program Files\nodejs\node.EXE
  Yarn: undefined - undefined
  npm: 10.8.0 - C:\Program Files\nodejs\npm.CMD
  pnpm: undefined - undefined
NPM Packages:
  @aws-amplify/auth-construct: 1.3.0
  @aws-amplify/backend: 1.1.1
  @aws-amplify/backend-auth: 1.1.3
  @aws-amplify/backend-cli: 1.2.5
  @aws-amplify/backend-data: 1.1.2
  @aws-amplify/backend-deployer: 1.1.0
  @aws-amplify/backend-function: 1.3.3
  @aws-amplify/backend-output-schemas: 1.2.0
  @aws-amplify/backend-output-storage: 1.1.1
  @aws-amplify/backend-secret: 1.1.0
  @aws-amplify/backend-storage: 1.1.2
  @aws-amplify/cli-core: 1.1.2
  @aws-amplify/client-config: 1.2.1
  @aws-amplify/deployed-backend-client: 1.4.0
  @aws-amplify/form-generator: 1.0.1
  @aws-amplify/model-generator: 1.0.5
  @aws-amplify/platform-core: 1.0.6
  @aws-amplify/plugin-types: 1.2.1
  @aws-amplify/sandbox: 1.2.0
  @aws-amplify/schema-generator: 1.2.1
  aws-amplify: 6.5.2
  aws-cdk: 2.154.1
  aws-cdk-lib: 2.154.1
  typescript: 5.5.4
AWS environment variables:
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
  AWS_STS_REGIONAL_ENDPOINTS = regional
No CDK environment variable

Codegen packages
<EMAIL_ADDRESS>G:\ADSATS\adsats_amplify_gen_2
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
Description
Describe the bug:
A model that has composite identifier will cause TypeError: Cannot read properties of undefined (reading 'primaryKeyInfo') while generating graphql model client code
TypeError: Cannot read properties of undefined (reading 'primaryKeyInfo')
[DEBUG] 2024-09-18T10:20:44.432Z: TypeError: Cannot read properties of undefined (reading 'primaryKeyInfo')
    at AppSyncModelDartVisitor.getModelIdentifierFields (G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-dart-visitor.js:874:51)
    at AppSyncModelDartVisitor.generateGetters (G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-dart-visitor.js:268:47)
    at AppSyncModelDartVisitor.generateModelClass (G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-dart-visitor.js:168:14)
    at G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-dart-visitor.js:116:43
    at Array.forEach (<anonymous>)
    at AppSyncModelDartVisitor.generateModelClasses (G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-dart-visitor.js:115:50)
    at AppSyncModelDartVisitor.generate (G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\visitors\appsync-dart-visitor.js:31:21)
    at Object.plugin (G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\appsync-modelgen-plugin\lib\plugin.js:55:24)
    at G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\graphql-generator\node_modules\@graphql-codegen\core\cjs\execute-plugin.js:36:54
    at G:\ADSATS\adsats_amplify_gen_2\node_modules\@aws-amplify\graphql-generator\node_modules\@graphql-codegen\core\node_modules\@graphql-codegen\plugin-helpers\cjs\profiler.js:7:49

How can this bug be reproduced?

Create two models and a many-to-many model in between
Specify the identifiers by those two Ids
Run npx ampx generate graphql-client-code --format modelgen --model-target dart --out lib/models --branch dev --debug

Please include any code snippets or screenshots that you think would be helpful!
NoticeStaff: a
  .model({
    read_at: a.datetime(),
    noticeId: a.id().required(),
    staffId: a.id().required(),
    notice: a.belongsTo("Notice", "noticeId"),
    staff: a.belongsTo("Staff", "staffId"),
  })
  .identifier(["noticeId", "staffId"]),

npx ampx generate graphql-client-code --format modelgen --model-target dart --out lib/models --branch dev --debug

I have found a solution in https://github.com/aws-amplify/amplify-codegen/pull/887. We are removing the foreign keys on the belongsTo model for native platforms (dart, java, swift). This is done to improve the developer experience, but it does present an issue when the foreign key is also used as part of the primary key.
We will need to do some testing with the native platforms to ensure the proposed fix does not cause other issues. For now, you can work around this issue by using a different field for your primary key.


Do not generate event log for reorder event

Part of https://github.com/fabric8-services/fabric8-wit/issues/2192
The reorder event updated the workitem such that the fields with kind list get a value of [] (empty list) and when the next Patch request is made these empty values are removed which creates an event log.
This PR fixes this issue.

Codecov Report

Merging #2196 into master will increase coverage by 0.12%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2196      +/-   ##
==========================================
+ Coverage   69.63%   69.76%   +0.12%
==========================================
  Files         171      171
  Lines       15754    15764      +10
==========================================
+ Hits        10971    10998      +27
+ Misses       3785     3772      -13
+ Partials      998      994       -4

Impacted Files
Coverage Δ

workitem/workitem_repository.go
71.27% <100%> (+1.64%)
:arrow_up:

remoteworkitem/scheduler.go
60.97% <0%> (+7.31%)
:arrow_up:

remoteworkitem/jira.go
100% <0%> (+25%)
:arrow_up:

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 e53e3d3...feea930. Read the comment docs.

it looks like the changes you've made only proof that a reorder has no effect on the event list. Is that true?

No. We were generating invalid events when a workitem was reordered. With this change https://github.com/fabric8-services/fabric8-wit/pull/2196/files#diff-55f2da878ed2fcb42e5373010f02ff92R558 we will no longer have invalid events.

The actual issue will be fixed by https://github.com/fabric8-services/fabric8-wit/pull/2261 .
Closing this.


Feature: 请问要如何回复消息到飞书的 thread 中

理论上回复的时候带上上一条消息的 message_id 应该就可以，但我不是很清楚我在用 koishi session.send 的时候如何带上 message_id 参数。

session.send 会自动带上上一条消息的 id。可能飞书适配器并没有用这个特性。

What is the thread that you referring to? Is there documents about this? It may be not implemented yet.

The thread is like this screenshot. I message the bot, which replies to me by a thread. So I can use the thread to start different conversations with ChatGPT at the same time.

I find the document about this. The Reply API can do it. I don't know how to integrate this useful function into the Koishi elegantly.
I also wrote a bot before, which is very similar to the Koishi. I moved to the Koishi until I found it and liked it. The only one I missed is this thread function.

I first used thread through the new function of Slack at that time.
You can find more descriptions about thread in the Slack document.

So you're talking about the reply feature. I thought this feature have been implemented before as long as there is a quote element with a valid message id.
Here's the reference code, is there something I missed out?
https://github.com/satorijs/satori/blob/6060d00c563d4c523b733098029840421d97c4eb/adapters/lark/src/message.ts#L25-L31

Thanks! This may be what I need. I will try it……


Update PushNotificationIOS documentation

add sample for localNotification listener

Instead of _onLocalNotification, can you use _onNotification? _onLocalNotification doesn't exist. Also, how do local notifications get triggered? Can you add some code to the example that actually triggers a local notification? That way you don't need to comment out the code to handle local notifications but can actually show how it works. In general we don't add commented out code to examples.

yep i will do that :)

Nice!
Please check the flow error on Travis:
Examples/UIExplorer/PushNotificationIOSExample.js:111
111:       'Alert message: ' + notification.getMessage(),
                           ^^^^^^^^^^^^ identifier `notification`. Could not resolve name

I update some documentation and nothing is working anymore on circli and travis-ci WTH?

Tests are currently broken but it's being worked on.
@facebook-github-bot shipit

(@facebook-github-bot shipit will still run internal tests)


After pausing the websocket connection from Apollo iOS, it can't reconnect.

Describe the bug
So my team is using Apollo iOS on our frontend and Pioneer on the backend.  I'm noticing that when we pause the websocket connection on the frontend (i.e., when backgrounding the app) that we are unable to reconnect the websocket later on.  Perhaps this is an issue with Apollo iOS, but given that no one else is having this issue while using ApolloServer, I suspect this is a bug within Pioneer.
Front end code:
print(transport.isConnected()) // Prints true
transport.pauseWebSocketConnection()
print(transport.isConnected()) // Prints false
transport.resumeWebSocketConnection(autoReconnect: true)
print(transport.isConnected()) // Prints false (should print true)

We're using Pioneer 1.0 with the defaults and the latest version of Apollo iOS.

I'm not particularly sure why that's the case, but I'll look into it.

It seems like pausing the websocket transport just a regular disconnect, and reconnecting just starts over the connection. I am not sure why that wouldn't work. The only thing might be a problem is if the reconnect HTTP Upgrade request is different from the initial one

It seems like pausing the websocket transport just a regular disconnect, and reconnecting just starts over the connection. I am not sure why that wouldn't work. The only thing might be a problem is if the reconnect HTTP Upgrade request is different from the initial one

@calvincestari are you able to shed light on this?

It seems like pausing the websocket transport just a regular disconnect, and reconnecting just starts over the connection. I am not sure why that wouldn't work. The only thing might be a problem is if the reconnect HTTP Upgrade request is different from the initial one

I will try recreating the issue with a custom test server so I can see what the server is receiving hopefully before the end of the week.

@calvincestari are you able to shed light on this?

Looking through that piece of code I don't see anything that would make it different.

I will try recreating the issue with a custom test server so I can see what the server is receiving hopefully before the end of the week.

I'm not familiar with Pioneer but if you get that test server up I can take a look from our end what the issue could be.

@cshadek you mentioned in the issue on our repo that you're updating the connecting payload between pause and reconnection - could that be the issue? What happens if you try without updating the payload?
https://github.com/apollographql/apollo-ios/issues/2675#issuecomment-1326857765

@cshadek you mentioned in the issue on our repo that you're updating the connecting payload between pause and reconnection - could that be the issue? What happens if you try without updating the payload?
https://github.com/apollographql/apollo-ios/issues/2675#issuecomment-1326857765

Thanks @calvincestari. In this case I'm actually not updating the payload.  I'm calling pause when the app leaves the foreground and then calling resume when the app re-enters the foreground.
I've also just tried calling pause and then calling resume sequentially to test it, and I get the same result.  The web socket doesn't resume the connection.

So I did some more investigation into this and found that resuming the websocket isn't instantaneous.  See here:
https://github.com/apollographql/apollo-ios/issues/2675#issuecomment-1334082625

Right, is there any problem resuming after the delay or is it just that there's the delay before the connection is up again?
It's seemed like resumeConnection is just non-blocking to compensate for the WebSocket initiation time taking noticeably too much time

My testing doesn't show anything abnormal about the resuming HTTP upgrade request sent by Apollo iOS and nothing abnormal about how Pioneer respond to it as well.
The delay in resuming was something I did notice, but it was mostly a fairly small delay <40ms roughly. I did notice even after the connection is fully resumed the subscription was still suspended for a brief moment, but I couldn't reliably reproduce that.

Closing this issue as there hasn't been any update in over a month and I assumed it is resolved, feel free to reopen if it's not


fix: go mod tidy

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
537

Relevant Lines:
611

💛  - Coveralls


Block production - deposit processing

including deposits into block
maintaining of updated merkle tree and proof generation

Could be optimized by fetching only deposits with index between <from, to>

I will fix conflicts after we merge #251

timeout is the same as #251 and it's fixed there so there is no point in fixing twice

merged #251 so this should be good for a rebase

merged #251 so this should be good for a rebase

yeah, I will do it tommorow morning, way too tired to do it now. I will try to fix some codeclimate issues as well

🚀


[AI Agent] User Persona Creation

Fixes #2345
📝 Description
Generate detailed user personas to better understand the target audience for a product or service.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

@AruSeito Can u pls merge this PR 🙏

Hi @donqu1xotechina can u pls add the hacktoberfest-accepted label/approve the review on this PR so that it can get accepted by Hacktoberfest as a valid contribution 🙏 (I made this PR before the deadline of this event)


Adding sul_styles to project

See e.g. https://github.com/sul-dlss/libsys-webforms/pull/12/files

Closed by #18


Recent changes backported to SS3

I have backported all the recent changes that have been committed to the master branch to work with the SS3 branch here: https://github.com/PortableSteve/hasoneedit/tree/merge-ss4-changes
This includes support for UploadFields, the HasOneEdit class and the ProvidesHasOneInlineFields trait.
Is this something you are interested in incorporating back into the main repository? Do you want a PR for this?

Sounds like a good idea, I'd be happy to incorporate them! Want to do a PR against the 3.x branch?

Done: #15

Merged :) I hope this works ;)


obnam benchmark does not function

nix-env -i obnam && mkdir -p "$HOME"/test/obnam && \
TMPDIR="$HOME"/test/obnam  obnam-benchmark

replacing old obnam-1.4' installing obnam-1.4'
bzr: ERROR: Not a branch: "/home/aragnon/".
ERROR: bzr failed

I think this issue can be closed since obnam version 1.7 the obnam-benchmark tool is no longer installed. From obnam-1.8/NEWS:

The obnam-benchmark program got rewritten so that it'll do something useful, but at the same time, it is no longer useful as a general tool. It is now expected to be run from the Obnam source tree (a cloned git repository), and isn't installed anymore.

The KDE method of bug fixing; just deprecate the feature! (Mostly directed at the author of obnam in this case.)


Simplify dataset downloading process and update README

This PR simplifies the dataset downloading process and updates the README with new instructions.
The main changes are:

Simplified subset_data.py script:

Removed dependencies on aria2c and wget
Eliminated custom download functions and multithreading
Now exclusively uses the Hugging Face Datasets API for downloading and processing
Improved handling of dataset configurations and splits
Implemented saving of downloaded data in parquet format for efficiency

Updated README.md:

Revised the "Pre-downloading datasets" section with new instructions
Added clear explanations of script parameters and usage
Included an example command for downloading datasets
Provided notes on script behavior and considerations for users

Improved error handling and logging in subset_data.py

These changes make the dataset preparation process more straightforward and reliable, especially for large-scale distributed training scenarios. The simplified script should work more consistently across different environments and dataset structures.
Testing:

Tested the new subset_data.py script with multiple datasets, including allenai/c4:en and PrimeIntellect/fineweb-edu
Verified that the script correctly handles different data ranks and world sizes

Thanks for the PR. The intention of the script seems to have been changed though.
This script will download the dataset and reshard it into one big parquet. This isnt great for multiple data workers which will try to load a different parquet each. It also does not perform parallel downloads and im not sure if the split is doing what was intended.
The intention of the script is to download the subset of data shards in the dataset such that data ranks do not contain overlapping shards. Say the dataset contains 1000 files and we have a world size of 10. I want rank 0 to download all the files  that have the last digit of 0 and rank 1 to download all files that contain last digit of 1. In pseudo-code this means it is downloading data_files[data_rank::data_world_size]. There is also a constraint that we dont always want all the shards so its closer to data_files[data_rank:data_world_size * max_shards:data_world_size].

Thanks for the PR. The intention of the script seems to have been changed though. This script will download the dataset and reshard it into one big parquet. This isnt great for multiple data workers which will try to load a different parquet each. It also does not perform parallel downloads and im not sure if the split is doing what was intended.
The intention of the script is to download the subset of data shards in the dataset such that data ranks do not contain overlapping shards. Say the dataset contains 1000 files and we have a world size of 10. I want rank 0 to download all the files that have the last digit of 0 and rank 1 to download all files that contain last digit of 1. In pseudo-code this means it is downloading data_files[data_rank::data_world_size]. There is also a constraint that we dont always want all the shards so its closer to data_files[data_rank:data_world_size * max_shards:data_world_size].

I see. Yes the intent of the script was changed but I seem to have misinterpreted the intent. It seems that what I was doing initally is closer to what the goal actually is. I can give it another pass at the script using the intended logic.


Undefined index: body_fail

@Spuds that's for you... :sob:
I was trying to test the bounce emails, so I took a gmail account I have, and added the configs to my localhost install of elk.
Then I enabled the mail queue.
I sent a PM to a member with a broken email.
Then I went to ?action=admin;area=mailqueue;sa=browse and clicked on "Send mail queue now".
The result is:

Notice: Undefined index: body_fail

    reduceMailQueue() in /.../Dialogo/sources/subs/Mail.subs.php at line 1390
    action_clear() in /.../Dialogo/sources/admin/ManageMail.controller.php at line 412
    dispatch() in /.../Dialogo/sources/subs/Action.class.php at line 182
    action_index() in /.../Dialogo/sources/admin/ManageMail.controller.php at line 92
    callMenu() in /.../Dialogo/sources/subs/Menu.subs.php at line 385
    action_index() in /.../Dialogo/sources/admin/Admin.controller.php at line 579
    dispatch() in /.../Dialogo/sources/SiteDispatcher.class.php at line 264
    elk_main() in /index.php_11 at line 237
    require_once() in /index.php_11 at line 166
    () in /index.php at line 23

Notice: Undefined index: body_fail in /.../Dialogo/sources/subs/Mail.subs.php on line 1390 Call Stack: 0.0001 254616 1. {main}() /home/emanuele/webserver/htdocs/beta_21/index.php:0 0.0005 312712 2. require_once('/home/emanuele/webserver/htdocs/beta_21/index.php_11') /home/emanuele/webserver/htdocs/beta_21/index.php:23 0.0242 3533632 3. elk_main() /home/emanuele/webserver/htdocs/beta_21/index.php_11:166 0.0420 4361656 4. Site_Dispatcher->dispatch() /home/emanuele/webserver/htdocs/beta_21/index.php_11:237 0.0453 4777632 5. Admin_Controller->action_index() /.../Dialogo/sources/SiteDispatcher.class.php:264 0.0540 5557616 6. callMenu() /.../Dialogo/sources/admin/Admin.controller.php:579 0.0546 5644432 7. ManageMail_Controller->action_index() /.../Dialogo/sources/subs/Menu.subs.php:385 0.0570 5805176 8. Action->dispatch() /.../Dialogo/sources/admin/ManageMail.controller.php:92 0.0571 5805576 9. ManageMail_Controller->action_clear() /.../Dialogo/sources/subs/Action.class.php:182 0.0592 6089888 10. reduceMailQueue() /.../Dialogo/sources/admin/ManageMail.controller.php:412
Error: The database value you're trying to insert does not exist: body(Mail.subs.php-1098)

    trigger_error() in /.../Dialogo/sources/database/Db-abstract.class.php at line 306
    error_backtrace() in /.../Dialogo/sources/database/Db-abstract.class.php at line 306
    replacement__callback() in /.../Dialogo/sources/database/Db-abstract.class.php at line 92
    preg_replace_callback()
    quote() in /.../Dialogo/sources/database/Db-abstract.class.php at line 191
    insert() in /.../Dialogo/sources/database/Db-mysql.class.php at line 720
    updateFailedQueue() in /.../Dialogo/sources/subs/Mail.subs.php at line 1098
    reduceMailQueue() in /.../Dialogo/sources/subs/Mail.subs.php at line 1404
    action_clear() in /.../Dialogo/sources/admin/ManageMail.controller.php at line 412
    dispatch() in /.../Dialogo/sources/subs/Action.class.php at line 182
    action_index() in /.../Dialogo/sources/admin/ManageMail.controller.php at line 92
    callMenu() in /.../Dialogo/sources/subs/Menu.subs.php at line 385
    action_index() in /.../Dialogo/sources/admin/Admin.controller.php at line 579
    dispatch() in /.../Dialogo/sources/SiteDispatcher.class.php at line 264
    elk_main() in /index.php_11 at line 237
    require_once() in /index.php_11 at line 166
    () in /index.php at line 23

The issue seems to be that 'body_fail' is set only at https://github.com/elkarte/Elkarte/blob/development/sources/subs/Mail.subs.php#L1364 so only when using send_mail and the mailing list is enabled.
What would you suggest for the fix? :angel:
ETA: actually, 'body_fail' is used only in these two places (when it's set and when it's used) and is set to be equal to 'body'... can we just remove it and use 'body' instead?

@Spuds any opinion on that? :angel:

Sorry, I promise to take a look as soon as I'm done breaking things with _req   Plus I still need to fix beSocial and want to use the poor mans lightbox for the attachment zoom ... Argh !  Oh I think the search api should have standard topic remove, post remove, etc methods ... just seems tidy that way ... Argh to much stuff in my head !

Argh to much stuff in my head !

Track it!! :P

That is a hard one to test for me, but does that commit fix the problem?

Changed milestone to 1.0.7 as the error exists there when re adding a mail back to the queue after a sendmail failure.


Add screenshot feature

A screenshot feature a la Greenshot would be cool. I know that there's a built in option in Windows and also OneNote has such a feature, but not everyone uses these. Also Greenshot has nice features like the built in editor where you can highlight areas, add texts, arrows etc., or obfuscate certain sensitive areas of the screenshot. Also one can directly copy the screenshot into clipboard and also the version, modified in the editor.
If you'd like to see this feature implemented, add a 👍 reaction to this post.

You can do that with Win + Shift + S

Cool, didn't know that. Thanks a lot.


training with custom dataset

Hello,
Thanks for the great idea.
I am now trying to train the model with my own dataset which has 1 class.
Can you briefly guide me how to / what to modify for training own dataset?
What I've changed is,
1. edited config by coping imagenet configs and changing number of classes / name in it.
2. added class for loading my own dataset in inputs.py script

Any other things should be required?
thank you

Yes, changing the config by changing data['type'] and changing the number of classes to 1 should do it.
The class that you write should be a torch.data.Dataset class.

@mhyeonsoo
How did you do it? Did you train successfully later?thanks a lot.


proxmox_cloud_init_disk update fails after *_data file changes

System details:

Proxmox VE 8.2.2
Terraform v1.8.4
terraform-provider-proxmox v3.0.1-rc3

New resource creation works as expected, as per cloud_init_disk.md.
When trying to update some data in *_data, for example, in user_data package_upgrade parameter, terraform apply fails:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # proxmox_cloud_init_disk.ci must be replaced
-/+ resource "proxmox_cloud_init_disk" "ci" {
      ~ id             = "cephfs:iso/tf-ci-***.iso" -> (known after apply)
        name           = "***"
      ~ sha256         = "***" -> (known after apply)
      ~ size           = "44K" -> (known after apply)
      ~ user_data      = <<-EOT # forces replacement
            #cloud-config
            users:
              - default
            manage_etc_hosts: true
            user: ***
            password: ***
            chpasswd:
              expire: false
          - package_upgrade: true
          + package_upgrade: false
        EOT
        # (4 unchanged attributes hidden)
    }

  # proxmox_vm_qemu.cloud_vm_from_packer_template will be updated in-place
  ~ resource "proxmox_vm_qemu" "cloud_vm_from_packer_template" {
        id                     = "***/qemu/***"
        name                   = "***"
        tags                   = "***"
        # (67 unchanged attributes hidden)

      ~ disks {
          ~ scsi {
              ~ scsi11 {
                  ~ cdrom {
                      ~ iso         = "cephfs:iso/tf-ci-***.iso" -> (known after apply)
                        # (1 unchanged attribute hidden)
                    }
                }

                # (1 unchanged block hidden)
            }
        }

        # (3 unchanged blocks hidden)
    }

Plan: 1 to add, 1 to change, 1 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

proxmox_cloud_init_disk.ci: Destroying... [id=cephfs:iso/tf-ci-***.iso]
proxmox_cloud_init_disk.ci: Destruction complete after 0s
proxmox_cloud_init_disk.ci: Creating...
╷
│ Error: import failed: cp: cannot create regular file '/mnt/pve/cephfs/template/iso/tf-ci-***.iso': File exists
│
│   with proxmox_cloud_init_disk.ci,
│   on main.tf line 19, in resource "proxmox_cloud_init_disk" "ci":
│   19: resource "proxmox_cloud_init_disk" "ci" {

There seems to be some a wrong logic/order in the update operation.
Now it looks like:

Destroying iso file (this cannot be done if iso is mounted on VM)
Creating new iso file
Fail

But should be:

Remove old iso from VM (as a workaround, now this can be done manually via the PVE GUI)
Destroying iso file
Creating new iso file
Add new iso to VM
VM shutdown & start

@Tinyblargon,
Please take a look on this issue.


Cannot open 3.5.2rc2

Godot version
3.5.2 RC 2 Linux
System information
OpenGL ES 3.0 Renderer: AMD Radeon RX 5700 (navi10, LLVM 14.0.6, DRM 3.49, 6.1.3-1-MANJARO)
Issue description
can not even open. getting stuck at this in the terminal and getting stuck with nothing outside of the terminal

Steps to reproduce
unzip the RC
attempt to run the .64
wait
keep waiting
nothign
Minimal reproduction project
N/A

I can't reproduce this on Fedora 37.

I can't reproduce this on Fedora 37 (3.5.2rc2).
Does it work if you specify the path to a project.godot file directly on the command line? Also, make sure you don't have a project.godot file within the same folder as the editor binary, or the engine will attempt to run the project directly instead of opening the project manager.

i can not however i think that was due to me having installed the wrong version (Godot_v3.5.2-rc2_linux_headless.64.zip as the x11 verson runs but crashes immediatly after. i can eather addendum the console here or make a new bug report


validate regular expression for indian vehicle registration number

I need to apply 'either' and 'OR' regular expression between the alphabet 'C' and 'S' for verify the delhi vehicle registration no like DL 12C AS 1234 OR DL 12S AS 1234.
I tried:-
$('#registration_no').inputmask("mask", {"mask": "a{2} 9{1,2}(c|s) a{1,3} 9{4}"});
or
$('#registration_no').inputmask("mask", {"mask": "a{2} 9{1,2}[cs] a{1,3} 9{4}"});
but it accepts the C by default always.

@ankitajain32 ,
You should escape the s as this is also a definition symbol.
$('#registration_no').inputmask("mask", {"mask": "a{2} 9{1,2}c|\s a{1,3} 9{4}"});
Maybe this one:
$('#registration_no').inputmask("mask", {"mask": "A{2} 9{1,2}C|S A{1,3} 9{4}"});
This mask works, only there is some visual mistake the initial mask is __ ____ ____ and should be __ ___ _ ____ but that is something that is on the todo list ;-)

Thanks for replying
But in both case it takes 'c' as default.If i try to replace 'c' by 's'  it takes 's' in next slot.

Did you try this one? $('#registration_no').inputmask("mask", {"mask": "A{2} 9{1,2}C|S A{1,3} 9{4}"});

yes sir.:-)

@ankitajain32 ,
Give me some examples, ...

Sir, I need a  DL 12C ASD 1234 or DL 12S ASD 1234
$('#registration_no').inputmask("mask", {"mask": "a{2} 9{1,2}a a{1,3} 9{4}"});

@ankitajain32 ,
Have a look at https://jsfiddle.net/2xc3o61o/1/

Thanks robin but it not works it didn't allow me to replace 'c' with 's'.

@ankitajain32 ,
I tested again and you are right! You can type the S initially, but you cannot replace the C by an S.
I will have a look at that.

Thanks and please also tell me, which event we use to allow edit the value of input text take by the input mask?

@ankitajain32,
Have a look at the updated fiddle https://jsfiddle.net/2xc3o61o/3/

Thanks Robin, Now it works fine.Can you please tell me how we make the masking editable.Suppose We have the DL 12S ASD 1321 and we want to change DL 12C ASD 1321,means edit the character from mid.so which option we can use to edit the masking.

@ankitajain32 ,
Or you select the char and start typing or press insert to switch to overwrite mode or set the insertMode option to false to enable the overwrite mode by default.

Hi Robin ,
Edit is not working can you please give the proper syntax that i can use in code for make my input mask editable.

@ankiSuccessive ,
I guess you mean this.  See https://jsfiddle.net/2xc3o61o/5/

@robin
By default the text fox in which we apply masking is editable,if we move left it goes.
But in my case the masking is not editable,if i try to edit the character between the string it does  not allow me.insertMode is not working.

@ankitajain32 ,
Can you explain step by step what you do?  Or even better can you submit a PR with a unit test which shows the problem.

@RobinHerbots
I want to edit the mask.
Suppose we enter the registration Number DL12C AB 1234.Now we want to change 'C' with 'S' without remove AB 1234 with backspace.Need goes to the 'C' place with left key and then remove C with backspace  and insert S there.
This will do default in your jsfiddle textbox but in my text box it is only allow first remove forward part 'C'
with backspace and then replace C with S.

Can you create a jsfiddle with your text box as an example?
Op wo 6 apr. 2016 om 08:19 schreef ankitajain32<EMAIL_ADDRESS>
@RobinHerbots https://github.com/RobinHerbots
I want to edit the mask.
Suppose we enter the registration Number DL12C AB 1234.Now we want to
change 'C' with 'S' without remove AB 1234 with backspace.Need goes to the
'C' place with left key and then remove C with backspace and insert S there.
This will do default in your jsfiddle textbox but in my text box it is
only allow first remove forward part 'C'
with backspace and then replace C with S.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/RobinHerbots/jquery.inputmask/issues/1223#issuecomment-206137651

Hi Robin
please check the jsfiddle.
I want to edit a character A by C without removing the forward characters of A.
https://jsfiddle.net/ankitajain32/Lzr6Lsv0/10/

@ankitajain32 ,
Due the keyup event you reapply the mask on every keystroke.  Why do you do that?
Have a look at https://jsfiddle.net/Lzr6Lsv0/12/

@RobinHerbots
actually i want to test the registration number  on every add new character.
And robin please help to solve one more issue,i want to append a character forcely. How i can do it?
Suppose a user enter the Registration No. DL 3C AB 1234. and i want update this string into DL 03C AB 1234..'0' will append forcely.

@ankitajain32 ,
The inputmask will do the validation for you.  So you do not need to test the registration number on every keystroke.
Have a look at these
oncomplete: $.noop, //executes when the mask is complete
onincomplete: $.noop, //executes when the mask is incomplete and focus is lost
onKeyValidation: $.noop, //executes on every key-press with the result of isValid. Params: key, result, opts
Can you provide some info on the correct format for the registration.
When should the 0 be appended?  In which cases?  Give some examples.

if the user enter the value DL 1C  AB 4242 ,I want to append DL 0 before the 1C.
Please Have a look at https://jsfiddle.net/Lzr6Lsv0/12/

Hello,
If we bring data from cache in textbox on which input masking is applied and delete /slash/erase the content and submit the form then an extra space is automatically add in that textbox.
How to removee Extra space?

@ankitajain32 ,
Can you simulate that in a jsfiddle.  The exact mask with options

Hi Robin
Please check the jsfiddle
https://jsfiddle.net/ankitajain32/vczht14u/5/
Please delete the entire content from the textbox and then submit you will the extra space in textbox.

Hi Robin,
Any update?

Hi @ankitajain32,
I updated your fiddle to make it clear what is happening.
https://jsfiddle.net/vczht14u/7/
I replaced the spaces in your mask with S.  What you see is not some extra spaces but the masktemplate.
Add the  jitMasking: true option to your mask to solve the problem.

Thanks Robin


Move component.json to latest version of bower.json

component.json has been deprecated for bower.json, this  provides an update to the latest bower.json format.

Thanks! Sorry for the wait.


Use workspaces so we're able to release this

Now that the generator is a build dep, we can't use path dependencies anymore, so it all has to release in lockstep.
Looks like cargo workspaces is the only way, and I guess I have to squat a crate name to use that.

bors r+


Solarcharging while full

sometimes the robot is at 19/20 fuel, but can't charge because the check says the tank if full

Re-Check, but found no issue. In the backend every fuel value is a int. Might been a frontend bug?


Support Django 2.0

You should use cascade, otherwise this will be incompatible with the database state for deployments that had already applied the migrations.

Hi @erikriver,
Thanks for taking a look at this! Is there a reason why you modified the existing migration instead of creating a 0002 file?
Dom

There's no need for a new migration since there's no need to touch the database. On the other hand, you need to use CASCADE, which is the old default, and not DO_NOTHING.

I opened #110, which provides better defaults, includes tests of django2, and updates docs.

Closing this in favour of #110 (which is now merged). Thanks for the work here though @erikriver, it's much appreciated.


Auto restore still set up even when --no-auto-restore specified in nuget conversion

I ran this:
.paket\paket.exe convert-from-nuget --no-auto-restore --creds-migration plaintext --force

but I still seem to have paket.targets installed and it attempts auto restore. Is there a known bug in no-auto-restore?

/cc @theimowski do you know something?

I'll try to reproduce

I've sent a fix
Thanks @mavnn for spotting

Thanks!


chore: update pod/container overrides docs

What does this PR do?
Updates pod/container overrides docs for volume/volumeMounts.
What issues does this PR fix or reference?
https://github.com/eclipse/che/issues/22751
Is it tested? How?

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

Also, just thinking out loud:
I think documenting the caveats of modifying volume/volumeMounts in pod/container overrides is good enough for now.
If users end up misusing this feature (and ignoring the warning given in this PR), we could add a webhook warning when validating a devworkspace to check if the volume or volumeMount fields are being set in pod/container overrides.

Thanks @AObuchow @amisevsk , I've updated the PR


[BUG] Image size spec test using protected repo is not working

Describe the bug
When executing spec test for image size with protected repo, it fails on helm install:

https://github.com/cnti-testcatalog/testsuite/actions/runs/10405256412/job/28844883137
To Reproduce
Run reasonable_image_size spec tests on the main branch (not from forked repo)

Bit of a duplicate of #2081


Custom Data

How do I train it on my own data(images)?

Build the numpy of your images and prepare like we prepare then put their paths in our configs file then just run :)


HDFS-16168. Fix TestHDFSFileSystemContract.testAppend timeout

Description of PR

Fix random timeout failures of TestHDFSFileSystemContract.testAppend

How was this patch tested?

UT

For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 50s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 33s

trunk passed

+1 :green_heart:
compile
1m 29s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  1s

trunk passed

+1 :green_heart:
mvnsite
1m 30s

trunk passed

+1 :green_heart:
javadoc
1m  1s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 34s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 21s

trunk passed

+1 :green_heart:
shadedclient
23m 21s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 26s

the patch passed

+1 :green_heart:
compile
1m 25s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 25s

the patch passed

+1 :green_heart:
compile
1m 19s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 19s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 55s

the patch passed

+1 :green_heart:
mvnsite
1m 23s

the patch passed

+1 :green_heart:
javadoc
0m 59s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 31s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 44s

the patch passed

+1 :green_heart:
shadedclient
24m 31s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
229m  6s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 47s

The patch does not generate ASF License warnings.

333m 24s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3815/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3815

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 87bd3d88e402 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 1bfc3fb64144851be2794101c39681d72ecb8104

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3815/1/testReport/

Max. process+thread count
3591 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3815/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@secfree Thanks for your contribution, it looks good, will merge this if no other comments.
BTW, as you mentioned in jira, FileSystemContractBaseTest affects all its sub classes. Maybe you can check whether other test cases except the one here are affected and resolve them if they are affected.

@secfree Thanks for your contribution. @ayushtkn Thanks for your review!

@secfree Thanks for your contribution, it looks good, will merge this if no other comments. BTW, as you mentioned in jira, FileSystemContractBaseTest affects all its sub classes. Maybe you can check whether other test cases except the one here are affected and resolve them if they are affected.

@ferhui thanks for your suggestion. I checked all sub classes of FileSystemContractBaseTest and found one more case. Here is the details: https://issues.apache.org/jira/browse/HDFS-16392


Log the request time in nginx container logs

It can be useful to log the request time in the nginx container log, as the container logs also log the pod name, and hostname. So you could in theory create a visualisation to plot response times for a particular path, by kubernetes host or pod name. This could be useful for performance reasons.
See https://github.com/uselagoon/lagoon-images/blob/main/images/nginx/nginx.conf#L19
There is a variable we can use for this (see the documentation)
$request_time
request processing time in seconds with a milliseconds resolution; time elapsed between the first bytes were read from the client and the log write after the last bytes were sent to the client

This would need an associated update to the regex for parsing nginx container logs.
Because there would be a period where some nginx logs would have the $request_time and some wouldn't it would need to be put somewhere unambiguous for regex parsing.
Probably this makes sense:
-$status $body_bytes_sent "$http_referer"
+$status $body_bytes_sent $request_time "$http_referer"

Because then it is an optional bare number before the quoted referer which can be parsed like:
-(?<code>[^ ]*) (?<size>[^ ]*) "
+(?<code>[^ ]*) (?<size>[^ ]*)(?: (?<request_time>[^ ]*)) "


Groups special guests

Currently i was removed from a clans group by the sync feature because i am not in the clan (it is my secondary clan).
I was thinking there could be a feature where certain people could be added a special guests and therefore not deleted from the group by the sync feature.

@rorro isn't there an "ignore rank" option on the plugin? Would it solve this?

The ignore rank feature would do the opposite of that. It would not add the people with the ignored rank. There is however an "always included" option where one can add names that will always be added to the group no matter the sync option.


Support empty responses with types

Fixes: #2138

control CI failure fix: https://github.com/platformatic/platformatic/pull/2173


OIDC name for gitlab and authelia

Context

Nor Authelia (see #739) or Gitlab do provide given_name or family_name attributes in userinfo
Gitlab does not provide an end_session_endpoint, which led to an ugly error when disconnecting

Solutions

I propose to use display_name or name as alternative attributes for the given_name + family_name pair;
I propose to just redirect to the logout page directly, the user won't be logged out in the IdP;

@dsagal Thanks for your review! I answered to your comments :)
I also changed a bit of strategy, I allow customizing the administrator the user properties to read in userInfo for both name and email. Some other product seem to offer this ability (Hedgedoc through CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR or Outline through OIDC_USERNAME_CLAIM

Thanks again for your review @dsagal, I have taken them into account!

@fflorent , there seems to be a merge conflict because of your other change to OIDC. Could you rebase?

@dsagal @georgegevoian Done :)


Awes-io/Ui Improvements

"No storage error" - Installation issue (please add to documentation an example)
Installation issue on Windows
Improve a view of errors in forms, tag:
Navigation menu - create an example page
Typography: add default styles to

➤ Ilya Kitayev commented:
https://git.awescode.com/awes-io/ui/merge_requests/2 ( https://git.awescode.com/awes-io/ui/merge_requests/2 )

[~accountid:5a0de9129887f23837b6759d]

please add a documentation for page class, and disable it by default
width of notification

➤ Ilya Kitayev commented:
https://git.awescode.com/awes-io/ui/merge_requests/4 ( https://git.awescode.com/awes-io/ui/merge_requests/4 )


ask for permissions on ios also. move checking to didMount

@keybase/react-hackers this fixes a crasher on ios w/ react-native-camera. we ask for permissions (like android) and show some screens if we don't have them.

@keybase/react-hackers bump

The commits 8952c6de34ca...81b3050d6b87 introduce visual changes on linux. :mag_right: 1 changed

Changed: Tracker-New_user_Scroll_1 (before) (after)


Kas rework

Rework the kas files to be up to date with current main.

Now that this is working I would suggest to also block merging unless it passes the CI

@Gerry546 Not yet. I would like to keep it optional for some time to see how if it is stable enough.

@bachp this is getting useful beyond just homeassistant. Thank you for the efforts!
https://github.com/moto-timo/meta-java/actions/runs/7769377548/job/21188394016
https://github.com/moto-timo/meta-java/tree/github-ci

@moto-timo It's not yet fully stable, it still runs out of memory occasionaly. I need to think how we could improve. Maybe build a smaller container image without kernel.


Push notifications

It would be nice if users could get notifications from recent posts, but it is very important that they are customizable.
For example, a user should be able to decide if they only want to receive notifications from posts announcing dogs given up for adoption in Havana City.

Can I work on this 🙏🙏

Hi @Bootspace! Yess! Thank you for choosing our project to collaborate :)

I am not a frontend Dev.
I can only provide an Endpoint for the user to get all notifications and sort them however the user wants to
Maybe you might consider creating an issue for a react dev to consume the Endpoint I'm working on.
Hope you don't mind.

Hi @Bootspace. Sorry for the late reply.
What we need in the backend is a script that sends the notification to a specific push server. You can make some experiments with a new push server in Firebase (which was the platform we planned to use for this purpose), but feel free to propose any other service/platform
I think you had other ideas in mind so please tell us if you still want to take the issue. It is completely ok with us if it is your first time doing it!
Thanks!

I'm ready to give It a shot. Even though it will be my first time working with Push Servers


Condensing/Stylistic tweaks

Very small style stuff that needn't be looked at before 1.0. Just typos etc that I caught as I was drafting an extensions proposal.

capitalize the ‘i’ in “Meta Information”, because all the section
names are categorized.
merge the multiple sections about allowed characters into one, and
the multiple sections about reserved characters into one, to simplify
the document outline.
fix small typos

Thanks @ethanresnick!


init-list ctor javadocs

The reference for the initializer_list constructor could use some improvements: e.g. "Construct an object or array from an initializer_list". I find this hugely important since just the mere presence of an initializer_list constructor changes the meaning of brace initialization.

The current javadoc is a bit more specific, do we still need this issue?


Modular API refactor

Created new modular API system
Added README explanation for the new modular system
Added wallet version into the injected object
Added icon options for the ArConfetti effect (arweave/hedgehog/dollar)
Added option to receive a notification when a transaction is signed
Moved all functions into their separate modules
Improved code style and project structure
Improved the chunk method signing
Improved allowance UX

Re-implemented functions:

[x] Connect
[x] Disconnect
[x] Active address
[x] All addresses
[x] Wallet names
[x] Sign
[x] Permissions
[x] Encrypt
[x] Decrypt
[x] Arweave config
[x] Signature
[x] Public key
[x] Dispatch

All functions re-implemented. Cleaning up now

Ready for review


WhatsMyName

Neat project and fast too! Love it! Just in case you want more site signatures, check out my similar tool over at https://github.com/webbreacher/whatsmyname. JSON file has the site info which may or may not be helpful...like I said, we have similar projects.

@WebBreacher @hoadlck  I also have a similar project https://github.com/checker/cli and a REST API variant as well as https://github.com/checker/api

@crock I've done this already in Recon-ng's multi-threaded Profiler module and Steve Micallef did this in the Spiderfoot "Accounts" module. They take the JSON file and then run several loops on it against as many user names as their databases contain. For details on Profiler, check out https://webbreacher.com/2014/12/11/recon-ng-profiler-module/

How about merging the two? Just the databases.


There is better PowerShell language bundle

Current grammar for PowerShell language has few problems:

It's case sensitive sometimes (PS is case-insensitive).
It's outdated (i.e. identify class keyword as an error. Classes are new in PS v5). It was written for PS v1.
It lacks a lot of scopes.
Project doesn't look alive (0 issues, last activity 10 months ago), so there is little chance for improvements in the near future.

There is SublimeText bundle with better syntax highlighting.
Compare current highlighting to ST bundle.
Also samples for PowerShell are pretty small. It affects auto-recognition algorithm.
If everybody fine with switching vendor, I can prepare PR with bundle replacement and bigger samples.

Can this be closed now @vors (given that https://github.com/github/linguist/pull/2047 is merged)?

Yes, thank you!
When new grammar will be used on github?

When new grammar will be used on github?

Probably another couple of days. I'm planning/hoping to cut a new gem tomorrow.

Cool, thank you!


After installing Search Guard Plugin not able to find dashboards

Hi,
I have using search guard for authentication purpose in our Project. When i use this plugin all the earlier dashboards which was created is not visible now. Can anyone help me in resolving the issue. Thanks in advance.

Please do not ask questions here.
For that refer to https://groups.google.com/forum/#!forum/search-guard
Github is a place only for reporting bugs or feature requests.
If you report a bug please include always the following informations:

Search Guard and Elasticsearch version
JVM version and operating system version
Number of nodes in your cluster
Description of the bug

These informations are optional but are very valueable and
typically would lead to get bugs fixed faster:

Steps to reproduce
Logfiles on DEBUG level
A failing unittest


feat: public emitEvents and getStateForStep macro

This makes two macro's available for developers:

emitEvents: can be used to pass events from StepComponents to the wizard.
getStateForStep: can be used on a wizard to fetch state for a step to pass on.

I wasn't completely sure how and where to add individual tests for these macro's. Both are used in tests at this moment. It could use an exception in getStateForStep when a step does not exist, I can add that in a second commit (or you can merge it and add it yourself).
getStateForStep found an error in how we test the initial state. While the initial state is available in the wizard, if the public property doesn't exist in the step itself it's not going to be used. I've added an extra test for it.

Thanks for you work on this. Seems like the test are failing, could you take a look at that?
Could you also add a page on testing to the docs where you explain how these macro's could be used?

@freekmurze I don't know why the test is failing on prefer-stable. I cannot replicate it on my machine. I haven't used the snapshot package before so I'm not sure where to look for.
About the docs: absolutely. I will do this tomorrow; and I will add the exception too.

I'm tempted to rename the getStateForStep method to getState and make the step optional. This would allow us to test all state as well.

Thanks!


Change values from mail payload

Coverage remained the same at 86.0% when pulling 9deb5afd883ba44223fc10bb05bfa62a480700e1 on mail-fix into 3972a1c68c76d956033a5b9d22fa0fa31b12f840 on master.


New Feature - Add a custom Action on an Intent

I would like to know, how can I set a custom Action on an Intent ?
Maybe it's a new feature :

To have in response  "action": "user_asks_color"
"results": [
      {
        "domain": "Personality",
        "project": "TestBot",
        "entities": [],
        "model": "Personality_just_er_c1b8cd7c-5f8a-5bfe-8650-e464208564e7",
        "intent": {
          "confidence": 1,
          "name": "User asks a color"
          "action": "user_asks_color"
        },
        "elapsed_time_ms": 233.009869,
        "domainScore": 0.8294703084715257
      }
]

Currently, it's possible with Dialogflow :

added in new UI, won't add too old.


Backup not working

I tried to backup my to-do's but it keeps saying "Something went wrong" no matter where i try to save it. I was doing it on the sd card at first and thought that was the problem but it was doing that for the internal storage as well.
Same behavior when clicking on restore.

Where did you download the app from?

From f-droid

https://apt.izzysoft.de/fdroid/index/apk/com.yoshi.todark ?

Yes

Then it's weird.

Can you tell me what kind of device you have and what version of Android?

It's Android 8, Samsung A9 pro (2016 model)

I have this issue, too. Downloaded from GitHub releass. when I restore to-do, It says " Something went wrong"

If this is still relevant for you, can you see if everything works?

@Leonavichus
Tested on 1.4.0 and I can't create backup! It shows me "sth went wrong". In some previous versions, I created backup but couldn't reatore. In this version I can't create backup file...

If this is still relevant for you, can you see if everything works?

I test it again and find out that I just can create backup on certain folders! I created some folders on root or other subdirectories but I just can use"Documents" folder and their subfolders and "Downloads" subfolders!
another things that I can restore them but incomplete! for example when restore "task.json", just categories restored and after that when I restore "todo.json", It shows me "sth went wrong" but restore just one of my tasks in "Restored tasks" categories, not my categories. Is it confusing?

If this is still relevant for you, can you see if everything works?

I test it again and find out that I just can create backup on certain folders! I created some folders on root or other subdirectories but I just can use"Documents" folder and their subfolders and "Downloads" subfolders!
another things, I can restore them but not completely! for example when restore "task.json", just categories restored and after that when I restore "todo.json", It shows me "sth went wrong" but restore just one of my tasks in "Restored tasks" categories, not my categories. Is it confusing?

Yes, I also just discovered this error, I will try to fix it this week.

@mojienjoyment, You can see if everything is working fine? As for the fact that the data is not being restored in your categories, I can't do anything about it yet, since isar (the database I use) will not be able to export links.

@mojienjoyment, You can see if everything is working fine? As for the fact that the data is not being restored in your categories, I can't do anything about it yet, since isar (the database I use) will not be able to export links.

Everything are good. all my task restored! All my categories are restored (blank). previous problems solved. backup folder problem still there. I can just choose some folders for backup folder location

No, it's not working as far as i can tell. i tried to save it but it game me the same "Something went wrong." message.

I have the same issue. Android 14, November 2023 security update, v1.46 of the app from GitHub. "Something went wrong" after trying to allow giving it access to a specific backup directory.
Does the app need any additional storage permissions assigned to it?

checked app logs:

seems that the OS just somehow can't give folder access to the app


adds guard to stdout logs when stdout options is set

LGTM.
Although, console.time doesn't really need to be guarded, but I guess for consistency it's OK.


[Bug][Gitlab]  v1.0.1-beta2 Data Time Range not working

Search before asking

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

What happened
Gitlab, Data Time Range, v1.0.1-beta1 is working , but v1.0.1-beta2 not working.
What do you expect to happen
v1.0.1-beta2 will collect all commits

How to reproduce
1、Upgrade to version v1.0.1-beta2
2、Set Time Range to 2024-06-01
3、Collect Data
4、Select commits table
Anything else
No response
Version
v1.0.1-beta2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

try perform a full refresh and see if the problem goes away.

Sorry? what do you mean by "Data before June 2024 will still be collected."?
The screenshot you posted showed commits from 2024-09-17 to 18, I thought you were talking about commits between 2024-06-01 and 2024-09-17 were not collected.
Are you expecting data in the database to be deleted? if so, that is not supported at the moment, commits will never be deleted once collected.

Are you two working together? 😂

@klesh  Sorry, I may not have made it clear. What I meant is that if the Time Range value is set to 2024-06-01, the commit data before 2024-06-01 will not be collected, but the v1.0.1-beta2 version will also collect the commit data before 2024-06-01.

@klesh I changed my account name this afternoon..😂

I redeployed devlake, added the gitlab project, set the Time Range to 2024-06-01, and then clicked the collect data button. The commits before 2024-06-01 will also be collected (I don’t want the commits to be collected).

Please see that committed_date is 2014, not 2024

Please take a closer look at the screenshot of the database table. The committed_date is 2014, not 2024.

Aah, sorry, I see what you meant now.
Can you check the ``_raw_data_tableand see if those commits were collected by thegitextractor` plugin.

Aah, sorry, I see what you meant now. Can you check the _raw_data_table and see if those commits were collected by the gitextractor plugin.
@klesh  Yes, using the gitextractor plugin

After reviewing the details, I can confirm that the functionality is performing as expected. The purpose of this PR (https://github.com/apache/incubator-devlake/pull/7727) was to address the issue where new commits from non-default branches were not being collected. The implemented solution involves fetching all branches from the remote server—this includes fetching at least some old commits from all branches—before executing the shallow fetch. Therefore, it's likely that the old commits are originating from those branches that have not been deleted.

After reviewing the details, I can confirm that the functionality is performing as expected. The purpose of this PR (#7727) was to address the issue where new commits from non-default branches were not being collected. The implemented solution involves fetching all branches from the remote server—this includes fetching at least some old commits from all branches—before executing the shallow fetch. Therefore, it's likely that the old commits are originating from those branches that have not been deleted.

@klesh Ok, many thanks for your help!

@klesh  Can you help me create v1.0.1-beta4 based on the main branch? Let me test this function.

You can try the latest release: https://github.com/apache/incubator-devlake/releases

@abeizn Hello, please ask why this commit was not released to v1.0.1-beta4. I want to test this commit. https://github.com/apache/incubator-devlake/pull/7760

@xlqbyy Note that #7760 doesn't fix the issue but merely reduces the total number of collected commits.

@xlqbyy I just CPed #7760 back to v1.0, will release a new beta this week.

@xlqbyy I just CPed #7760 back to v1.0, will release a new beta this week.

Okay, thank you for your answer. I would like to ask you, will this bug be fixed soon?

After reviewing the details, I can confirm that the functionality is performing as expected. The purpose of this PR (#7727) was to address the issue where new commits from non-default branches were not being collected. The implemented solution involves fetching all branches from the remote server—this includes fetching at least some old commits from all branches—before executing the shallow fetch. Therefore, it's likely that the old commits are originating from those branches that have not been deleted.

@xlqbyy As discussed previously, it is an unintended side-effect of PR #7727. While it would be ideal to avoid this behavior, we haven't found a viable solution yet. Therefore, it's unlikely to be fixed anytime soon unless a solution to the underlying issue emerges.


Data written to PVC is deleted when pod is shut down

After creating a PVC and mounting in a pod,  the pod wirtes data under the PVC mountpoint.
On stopping the pod, and relaunching a new pod and mounting the PVC, the volume is empty?
We were expecting to see the previously written data available?

@mattjwarren was this resolved?


close connection when using DialAddr

I'm using Go 1.10.1 and quic-go v0.8.0. My setup is quite simple: a client opens a session with quic.DialAddrContext and a single stream, transfers data and closes both with stream.Close() and session.Close(nil).
It seems that after the Close a goroutine and also a socket stays alive. Via the profiling interface, a huge number of goroutines with the following stack trace occurs:
# 0x4274f6 internal/poll.runtime_pollWait+0x56 /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/runtime/netpoll.go:173
# 0x4932ca internal/poll.(*pollDesc).wait+0x9a /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/internal/poll/fd_poll_runtime.go:85
# 0x49334c internal/poll.(*pollDesc).waitRead+0x3c /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/internal/poll/fd_poll_runtime.go:90
# 0x4945bc internal/poll.(*FD).ReadFrom+0x17c /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/internal/poll/fd_unix.go:207
# 0x5cfe8a net.(*netFD).readFrom+0x5a /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/net/fd_unix.go:208
# 0x5ef449 net.(*UDPConn).readFrom+0x69 /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/net/udpsock_posix.go:47
# 0x5ecf1e net.(*UDPConn).ReadFrom+0x6e /nix/store/g26fjzz20rydrbylmlf8hiidxycazbys-go-1.10.1/share/go/src/net/udpsock.go:118
# 0x9ec835 .../vendor/github.com/lucas-clemente/quic-go.(*conn).Read+0x55 /.../vendor/github.com/lucas-clemente/quic-go/conn.go:32
# 0x9ea95f .../vendor/github.com/lucas-clemente/quic-go.(*client).listen+0x9f /.../vendor/github.com/lucas-clemente/quic-go/client.go:330

I'm not sure if I missed something, but it seems like a bug in the quic-go lib.
Any help is appreciated.
Best regards

Thanks for reporting this!
We never stop listening on the connection until a Read call on the connection fails. This is the intended behaviour when using Dial (where you pass in a net.PacketConn), but not correct for DialAddr (which creates a new net.PacketConn).
As far as I can see, this should only result in a single go routine staying alive after closing the session though.

 And many thanks for the quick reply.
If I'm using Dial instead of DialAddr and create a custom net.PacketConn which I can close after stream and session, the corresponding goroutine should terminate and the leak should be gone? Or am I missing something?
The background is, that I'm using this quic implementation in github.com/simia-tech/netx. It comes with a simple load balancer that opens and closes many connections. The bug causes than a shortage of open files on the system.

Yes, that should work until we fix that issue.

Hmm... I've tried the workaround, but the goroutine still seems to hang around. See the implementation at https://github.com/simia-tech/netx/blob/master/network/quic/conn.go
But I'll do further testing.

The listen go routine should return as soon as the ReadFrom fails, see https://github.com/lucas-clemente/quic-go/blob/master/client_multiplexer.go#L87-L106.
Please let me know if that doesn't work as intended.


add []byte and duration and avoid \x00 (NUL) in string (error out)

done in !8 and released in 0.2.0


[contentful] enabled way to richtext fields

Enabled way to explicitly allow mapping richtext fields via CONTENTFUL_RICHTEXT_FIELDS envionment variable. Default: ["content"].

What's being changed:
https://github.com/cohere-ai/quick-start-connectors/issues/391
How did you test this change (include any code snippets, API requests, screenshots, or gifs):

Environment setup
Content type without field called «content»

Created sample content

Tests

Test case 1: searching content with explicitly richtext fields parametrized
With CONTENTFUL_RICHTEXT_FIELDS

Result: fields processed successfully

Test case 2: searching content without richtext fields parametrized
Without CONTENTFUL_RICHTEXT_FIELDS

Result: raw fields

Test case 3: searching content (with "content" field) without richtext fields parametrized
Without CONTENTFUL_RICHTEXT_FIELDS

Result: raw fields except "content" because deault

 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.

@bssanchez when you get a chance can you run your code through our code formatter? you can do that by running black . in the virtual env for this connector

Done


configure.ac: use AC_CONFIG_MACRO_DIR

Instead of having to explicitly pass -I./scripts when running aclocal,
use the AC_CONFIG_MACRO_DIR() macro in configure.ac. This allows to
use "autoreconf" normally, without any hacks.
Signed-off-by: Thomas Petazzoni<EMAIL_ADDRESS>

Thanks for the patch!


Missing: Avatar linked to User

Right now it appears there are two avatars: one for the admin and one for all users,. It would be nice if I can create an avatar for each user.
Thx for the great product.

User can upload any image and set it as avatar in the admin/settings/profile.

Thx. I have another issue the I posted. The functionality to assign images isn't working.


Add dgl build from a custom built wheel for aarch64

Modulus Pull Request
Description
Closes #432
Checklist

[ ] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


Implement match chat redirection

Overview
Implement chat redirection for matched pair, added current user information to other profile screens.
Changes Made

Added reach out button to chat with matched pair
Passed current user information to other user profiles, in case we need to implement chatting with other users.

Test Coverage
Tested on device.

It would be ideal if you included screenshots and/or screen recordings in your PR description.


Switch to Quarkus Roq

Preview: https://jotak.github.io/netobserv.github.io/

hey @Amoghrd @dushyantbehl @msherif1234 @stleerh @jpinsonneau @memodi
I used your github avatar as picture but let me know if you prefer something else - I can also use an anonymous red hat like here. Also, don't hesitate to add a bio


Add LspTypes for C# and clean up table.

I am adding here my LspTypes C# library, which implements every message parameter type in the 3.16 spec and works with VS2019, VSCode, Emacs lsp-emacs with my server Antlrvsix. Other versions will be scraped directly from the online spec with a tool I will be writing because it took me a week to methodically hand-translate the spec into C#.
I cleaned up the table slightly by sorting it by the first column, which was done in the servers table. However, the link for "C# | MS | work in progress by David Wilson" is completely useless for people looking for resources to actually implement code. I suggest this row be deleted, or MS actually open-source whatever library that is referred to here.

Thanks! It was a lot of work making the library. Hopefully, others can find it useful. --Ken


Upgrade calico to v3.27.0

This PR upgrades the Standalone Calico installation to version 3.27.0.

Upgrade reference

Marked as duplicate of #77


Consider using promise-worker

https://npmjs.com/promise-worker
This would allow us to have async ping-pong like communication, instead of non-responsive messaging. If we intend to emulate a "back end" as a worker, this seems like a better way to do it.

Yeah this isn't happening anymore


Workaround resource loading crashes due to buggy TLS

My current diagnosis of the issue is that MinGW's TLS implementation is causing a double-free of the load_paths_stack vector, with the second attempt happening when the memory is already tampered and therefore it's not just as nice as seeing the allocation pointer is already null, which would cause no crash.
Ideally, this would be a temporary fix.
Workarounds #78734.

As pointed out on RC by @bitsawer, this has the same pattern as a Windows + LTS + MinGW GCC/Clang issue observed in the past, such as #47368 fixed by @hpvb. Moving the thread_local to the .cpp might solve the issue too in a cleaner way (and if so, we should re-assess all thread_local usage in headers and make sure we prevent against those in the future).

Potential alternative (untested):
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp
index 4e001efcf8..b6aff109a6 100644
--- a/core/io/resource_loader.cpp
+++ b/core/io/resource_loader.cpp
@@ -202,6 +202,10 @@ void ResourceFormatLoader::_bind_methods() {

 ///////////////////////////////////

+static thread_local int load_nesting = 0;
+static thread_local WorkerThreadPool::TaskID caller_task_id = 0;
+static thread_local Vector<String> load_paths_stack;
+
 // This should be robust enough to be called redundantly without issues.
 void ResourceLoader::LoadToken::clear() {
 	thread_load_mutex.lock();
@@ -401,6 +405,10 @@ Error ResourceLoader::load_threaded_request(const String &p_path, const String &
 	}
 }

+bool ResourceLoader::is_within_load() {
+	return load_nesting > 0;
+}
+
 Ref<Resource> ResourceLoader::load(const String &p_path, const String &p_type_hint, ResourceFormatLoader::CacheMode p_cache_mode, Error *r_error) {
 	if (r_error) {
 		*r_error = OK;
@@ -1168,10 +1176,6 @@ bool ResourceLoader::create_missing_resources_if_class_unavailable = false;
 bool ResourceLoader::abort_on_missing_resource = true;
 bool ResourceLoader::timestamp_on_load = false;

-thread_local int ResourceLoader::load_nesting = 0;
-thread_local WorkerThreadPool::TaskID ResourceLoader::caller_task_id = 0;
-thread_local Vector<String> ResourceLoader::load_paths_stack;
-
 template <>
 thread_local uint32_t SafeBinaryMutex<ResourceLoader::BINARY_MUTEX_TAG>::count = 0;
 SafeBinaryMutex<ResourceLoader::BINARY_MUTEX_TAG> ResourceLoader::thread_load_mutex;
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h
index 592befb603..febd178eb3 100644
--- a/core/io/resource_loader.h
+++ b/core/io/resource_loader.h
@@ -180,9 +180,6 @@ private:

 	static void _thread_load_function(void *p_userdata);

-	static thread_local int load_nesting;
-	static thread_local WorkerThreadPool::TaskID caller_task_id;
-	static thread_local Vector<String> load_paths_stack;
 	static SafeBinaryMutex<BINARY_MUTEX_TAG> thread_load_mutex;
 	static HashMap<String, ThreadLoadTask> thread_load_tasks;
 	static bool cleaning_tasks;
@@ -196,7 +193,7 @@ public:
 	static ThreadLoadStatus load_threaded_get_status(const String &p_path, float *r_progress = nullptr);
 	static Ref<Resource> load_threaded_get(const String &p_path, Error *r_error = nullptr);

-	static bool is_within_load() { return load_nesting > 0; };
+	static bool is_within_load();

 	static Ref<Resource> load(const String &p_path, const String &p_type_hint = "", ResourceFormatLoader::CacheMode p_cache_mode = ResourceFormatLoader::CACHE_MODE_REUSE, Error *r_error = nullptr);
 	static bool exists(const String &p_path, const String &p_type_hint = "");

Here's a build for the original commit in this PR (41c07856361d7cf2bcbda6d84386b1a0d3969f6a): https://downloads.tuxfamily.org/godotengine/testing/Godot_v4.1-rc_pr78977_original_win64.x86_64.zip
And here's a build for the proposed alternative moving the thread_locals to the .cpp: https://downloads.tuxfamily.org/godotengine/testing/Godot_v4.1-rc_pr78977_alternative_win64.x86_64.zip

Thanks!