remove legacy thousand fuzzy parsing

Why
For legacy reasons the FuzzyParser would convert 1.000 to 1_000 irregardless of currency. This is no longer required
What
Apps using this parser will convert 1.000 using the delimiter of the currency
Money::Parser::Fuzzy.parse("1.000", "USD") == Money.new(1, "USD")
Money::Parser::Fuzzy.parse("1.000", "EUR") == Money.new(1000, "EUR")

closing in favor of a deprecation warning. It's unclear if this is a feature or a bug yet... we need to collect more info


Calendar orientation is not working properly in some projects

(FSCalendarOrientation)currentCalendarOrientation
{
CGFloat scale = [UIScreen mainScreen].scale;
CGSize nativeSize = [UIScreen mainScreen].currentMode.size;
CGSize sizeInPoints = [UIScreen mainScreen].bounds.size;
FSCalendarOrientation orientation = scale * sizeInPoints.width == nativeSize.width ? FSCalendarOrientationPortrait : FSCalendarOrientationLandscape;
return orientation;
}
The above method is working fine in sample projects. But when i integrated the calendar in my own project this method is not working well. If the orientation is Landscape this method is returning Portrait and if the orientation is Portrait this method is returning Landscape.

Hi @imranali123 Could you share the information about the modal and iOS version of your device?


Allow znode to run on any port.

Currently there's a requirement that znodes run on the same port (8168).
However, there are 2 major issues with this:

the network is susceptible to an attack where an ISP or other
provider could simply block port 8168, breaking all znodes
it's impossible to run multiple znodes with the same IP, which is
largely an artificial limitation

+1

Good idea!
It will be great if the team update us about this, because you are right about the ISP can block the port!

Thanks for contribution! We are sorry to take so long time to merge this.

@brndnmtthws we decided to revert this changes. After talking with @yura-pakhuchiy, the purpose of Znode is to make Zcoin network reliable. We cannot compare Znode with normal node since it have a different purpose. That mean it does not make sense to have more than one Znode on the same physical computer since if that computer is going down it will also take down all Znode that currently running on it.

It is noted that Dash's code also prevents this and only runs on one port. I think this is the reason why they also disable ipv6 by default.


Stop cleaning ci triggers

We want to enable ci triggers now so stop removing them.
The removal/adding was causing an invalid dirty state which means
we were always updating all the ci pipelines unnecessarily.
Also added some caching of the pipeline references to help cut down
on some of the network calls.

Lets hold off on this until after our M2M changes but we will want these changes after that work is done.

Removing the CI triggers for the integration test pipelines might result on them running automatically when someone merges to master. Is that intentional?

Removing the CI triggers for the integration test pipelines might result on them running automatically when someone merges to master. Is that intentional?

We don't naturally add the triggers to the test pipelines so this would only not remove them if someone manually added them.


Does this work with 8.5?

This does not load for us using Grafana 8.5.11:
Fetch error: 404 Instantiating https://[redacted]/grafana/public/tslib Loading https://[redacted]/grafana/public/plugins/grafana-orbit-datasource/module.js Loading plugins/grafana-orbit-datasource/module

I believe there might have been some changes in the Grafana toolkit, and this plugin might need to be rebuilt?

I was just trying to install that as well, same issue on 8.5.6 and 9.1.3

@marcusolsson is there anything I can do to help resolving this issue?

Hey! Unfortunately I'm no longer with Grafana. The tslib issue also doesn't ring a bell so I'm not sure how helpful I can be here.

@marcusolsson ah that's unfortunate indeed, thanks for the heads-up. Any chance you could still release the unreleased 0.1.1 version? I did yarn install/build/dev and it seems to be working (although unsigned), but the go-binaries I didn't manage to compile ;)

I don't have access to this repository anymore, so I'd need to rely on someone from the plugins team. And since this plugin is under Grafana Labs (as opposed to my other plugins), I won't be able to submit a release for review.
Maybe @tolzhabayev can help here?

i put it into our triage, will followup tomorrow. there was a toolkit version problem that was missing the tslib dependency and required including it in the package.json, but easier to just bump the version of toolkit to latest to ensure it builds correctly.

@tolzhabayev thanks for taking a look! Is there any information on if/how/when? Anything I could do to help (i.e. testing)?


FR: Update CMake lexer to support more keywords

For example, keywords like COMMENT and VERBATIM are currently not highlighted:
https://github.com/AdeptLanguage/Adept/blob/master/CMakeLists.txt

Maybe you can give me a hand with this one? You already know how to do it =)

Maybe you can give me a hand with this one? You already know how to do it =)

Where can I get a full list of CMake keywords? I can only add the keywords I found that are not properly highlighted when I read people's CMakeLists.txt.

Update: I can't help. Your addCMake() is a mess. How do you tell if a keyword is of type literal, keyword1, or keyword2? I really don't know!

😆 keywords use "keyword2", literals use "literal" and operators use "operator" haha sorry but that's all the logic behind. But yeah, don't worry, we can get the list from other editors, as always. As far as I saw in this comment, CMake has a ridiculous number of keywords, we can add them with some patience.

Update: I can't help. Your addCMake() is a mess. How do you tell if a keyword is of type literal, keyword1, or keyword2? I really don't know!

😆 keywords use "keyword2", literals use "literal" and operators use "operator" haha sorry but that's all the logic behind. But yeah, don't worry, we can get the list from other editors, as always. As far as I saw in this comment, CMake has a ridiculous number of keywords, we can add them with some patience.

By what logic that you have APPEND as literal? I really don't understand!
https://github.com/SpartanJ/eepp/blob/bdcf47dfebb1fe2bb7be1ea33d9650914e1cdce5/src/eepp/ui/doc/languages/cmake.cpp#L35

I might do it myself.

Please help me this time. Thank you.


Facing issue when tried to do clasp login with service account

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

Expected Behavior
Login with clasp with service account key
Actual Behavior
Logging in locally…
Authorizing with the following scopes:
https://www.googleapis.com/auth/script.container.ui
https://www.googleapis.com/auth/documents
https://www.googleapis.com/auth/script.webapp.deploy
NOTE: The full list of scopes your project may need can be found at script.google.com under:
File > Project Properties > Scopes
Error retrieving access token: TypeError: Cannot destructure property 'client_id' of 'options.creds.installed' as it is undefined.
Steps to Reproduce the Problem
Create service account into GCP
Generate keys & download it
npx @google/clasp login --creds generated-key.json
Specifications

Node version (node -v): v16.14.0
Version (clasp -v): 2.4.2
OS (Mac/Linux/Windows): Windows

Seems there is no way to use service account with clasp ?
https://developers.google.com/apps-script/api/concepts
Can someone approve it to not waste time of other who are interesting in this topic ?
Very strange approach, mostly only service accounts available rather then 'main' account.


Multiple Windows

Description
This is another attempt at getting multiple windows working in GLMakie.
closes #1287
closes #188
Type of change
New feature (non-breaking change which adds functionality)
TODO / Checklist

[x] multiple window open and render
[x] multiple windows process events multiple
multiple instances of the same Scene (or a child Scene) process events independently
[ ] Fix rendering issues

scatter markers disappear when opening a window for ax.scene and translating them off screen to the left

[ ] Move WINDOW_CONFIG from a global constant to scene attributes
[ ] Move enable_SSAO, enable_FXAA and transparency_weight_scale to scene attributes
[ ] Check for issues with atlas_texture_cache
[ ] Add an entry in NEWS.md (for new features and breaking changes)
[ ] Add or change relevant sections in the documentation
[ ] Add unit tests for new algorithms, conversion methods, etc.
[ ] Add reference image tests for new plotting functions, recipes, visual options, etc.

Compile Times benchmark

Getting something like
fig, ax, p = scatter(10)
ax.scene

to work with overlapping interactions seems like big rabbit hole to me. Mouse positions from axis.scene will be based on a different window size and therefore incompatible with those from fig.scene. So either we need to adjust the position in axis.scene to be based on the size of fig.scene, or we need to adjust all child scenes to have position based on their size. In the latter case we also need to check if that breaks any of the current interaction and we will likely break some assumption people have made in using events.
So for now I stopped connecting events to scenes that already have a window attached. (This seems to be shared from the top down.)
Another issue I've noticed with the setup above is that ax.scene stops displaying some markers when the plot moves outside the axis area to the left. (The lack of axis lines etc is expected.) The axis outline also fails to resize correctly sometimes, leaving gaps.

With
fig, ax, p = scatter(rand(10))
fig2, ax, p = scatter(rand(10))

there is still some event duplication going on with resizing. This seems to cause gaps like in the example above and other graphical errors (half updated ticks, grids, etc).

Just having fig at the end of a cell in a jupyter notebook opens a window and generates an image with this. I'm not sure if that's a bad thing but it's different from master...

Damn, I can't reproduce the failure locally...
Will need to come back after the current release.

Maybe singleton_screen or scene2image needs a context switch?

I can't reproduce it either :man_shrugging:

I think this one needs some docs, for example in the GLMakie backend section maybe, or in the docstring of display.

I wonder if we should even have this display(GLMakie.Screen(), fig_or_scene) complication to display another screen. The changes made here basically all take effect whether or not multiple screens are used. The only thing you remove are context switches, which you can also do by just not having multiple screens open.
Personally I think we should just stop one scene from opening multiple windows but allow multiple windows otherwise. (I.e. every unique Scene tree can open a new window without any extra code)

After some event cleanup fixes
fig, ax, p = scatter(rand(10));
s1 = display(fig)
s2 = display(GLMakie.Screen(), fig)

now results in two windows, s1 without interactivity and s2 with interactivity. If s2 is closed, s1 remain unresponsive. Also, neither window/screen is present in scene.current_screens. (This is generally the case when using display(GLMakie.Screen(), ...))
We should decide on how this should behave and make some more adjustments before merging:

Should you be able to open multiple windows for one Scene tree?
If so, should every window be in current_screens?
If so, should an old window regain control when another is closed? Alternatively, should interactivity be based on which window is hovered/focused?

Should you be able to open multiple windows for one Scene tree?

We'll go with no for now.
I found another issue with the display system in here: Repeatedly calling display(fig) adds more and more copies of the same screen to current_screens. I tried clearing them in connect_screen, but that triggers a segfault in GLFW.SetWindowCloseCallback(window, nothing) on the second display(fig). I tried adding a context switch right before it but that doesn't seem to help. Calling display(fig) multiple times also breaks interactivity.

Do I understand correctly from your previous comment that you can only have interactivity in the scene that was opened last? That seems like a big caveat, unresponsive windows aren't of much use

Do I understand correctly from your previous comment that you can only have interactivity in the scene that was opened last? That seems like a big caveat, unresponsive windows aren't of much use

I was talking about the when you open the same figure multiple times. If you open independent figures you get interactions for each

Aha then I'd be all for closing the old window of a Scene. That seems to me to only have potential for confusion. Or rather, displaying a Scene that is already open should just focus that window, no real need to open it again right?

I restricted things to one window per scene tree now and added some tests for window/screen bookkeeping.

I found another issue with the display system in here: Repeatedly calling display(fig) adds more and more copies of the same screen to current_screens. I tried clearing them in connect_screen, but that triggers a segfault in GLFW.SetWindowCloseCallback(window, nothing) on the second display(fig). I tried adding a context switch right before it but that doesn't seem to help. Calling display(fig) multiple times also breaks interactivity.

The segfault happened when a closed window was used. I wrote the same general code a couple of times, now it works. I must've closed the wrong screen or gotten something about the order wrong with earlier versions because it works fine now.

Cleanup the event cleanup

While I still allowed multiple windows per scene tree I got duplicate mouse and window area updates because screen.render_tick.listeners didn't get cleared. I fixed that here

The changes boil down to:

adjust window management to allow more than one window
make shaders per screen
add lots of context switched
add display(GLMakie.Screen(), scene) (?)
fix a few cleanup issues

I think all of those are either internals or non-breaking/additions (display stuff). I don't think we need to wait for a breaking release for this

Compile Times benchmark
Note, that these numbers may fluctuate on the CI servers, so take them with a grain of salt. All benchmark results are based on the mean time and negative percent mean faster than master. Note, that GLMakie + WGLMakie run on an emulated GPU, so the runtime benchmark is much slower. Results are from running:
using_time = @ctime using Backend
# Compile time
create_time = @ctime fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @ctime Makie.colorbuffer(display(fig))
# Runtime
create_time = @benchmark fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @benchmark Makie.colorbuffer(display(fig))

using
create
display
create
display

GLMakie
–
–
–
–
–

master
–
–
–
–
–

evaluation
–
–
–
–
–

CairoMakie
11.53s (11.35, 11.72) 0.15+-
28.50s (27.97, 29.04) 0.37+-
4.58s (4.51, 4.67) 0.05+-
25.51ms (25.04, 25.79) 0.27+-
29.58ms (29.23, 30.45) 0.45+-

master
11.62s (11.37, 11.98) 0.22+-
28.43s (27.88, 29.21) 0.40+-
4.53s (4.42, 4.64) 0.07+-
25.81ms (25.57, 26.04) 0.18+-
29.71ms (29.06, 30.38) 0.46+-

evaluation
-0.79%, -0.09s invariant (-0.49d, 0.38p, 0.18std)
+0.26%, 0.07s invariant (0.19d, 0.73p, 0.39std)
+1.11%, 0.05s invariant (0.84d, 0.14p, 0.06std)
-1.19%, -0.3ms invariant (-1.32d, 0.03p, 0.22std)
-0.43%, -0.13ms invariant (-0.28d, 0.61p, 0.45std)

WGLMakie
–
–
–
–
–

master
–
–
–
–
–

evaluation
–
–
–
–
–

That regression looks real:

Since it isn't that much, and we haven't had the chance to really optimize display times for GLMakie yet anyways, I'll just go ahead and merge this. We should try to make this faster in a separate PR when we have time for it.

I'm very happy to see that Makie should support multiple windows.
I want to be sure that

I restricted things to one window per scene tree now and added some tests for window/screen bookkeeping.

means that it's not possible to have two windows showing different camera views of the same scene, as is common in 3D modeling software.

(If you wanted each of the quadrants to be different OS windows.)

Yea that's right. The main issue is that if two windows show the same scene tree you end up with things like events.mouseposition getting triggered from two sources with conflicting position. This could be solved by only allowing position updates from a focused window, but that would deny some interactivity if done in the backend. It probably also still causes jumps


Question

Hi.
In your screenshots (in tabs) I see after ⚡ character only ~. But I have whole username — https://monosnap.com/file/FkOqrmNgl99n2H898CZZi6G8bAsfaF. Can you help me hide this?

It has to do with your shell. I suggest you check out https://github.com/sindresorhus/pure

I have already installed the pure with oh-my-zsh and have no idea why I see the full name instead of short ~. Anyway thank you.

Closing since it's unrelated to hyper-tabs-enhanced. Hope you got it solved ✌


⚠ Bofrost.es has degraded performance

In d76c6bb, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1661 ms

Resolved: Bofrost.es performance has improved in 61d3a92 after 6 minutes.


fix: mitigate push failuer when graphql api backend is missing

Cloud formation push fails in amplify console when a project has GraphQL API but changes are in non
GraphQL API resource. When pushing resources to cloud, Amplify CLI expects the api build directory
to present. When the push is running in the console,  API build directory will be missing because of
the gitignore rule. Updating the build steps to generate build folder when they are missing
https://github.com/aws-amplify/amplify-console/issues/10
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2559 into master will increase coverage by 0.95%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2559      +/-   ##
==========================================
+ Coverage    65.4%   66.35%   +0.95%
==========================================
  Files         200      195       -5
  Lines        9697     9585     -112
  Branches     1973     1955      -18
==========================================
+ Hits         6342     6360      +18
+ Misses       3080     2947     -133
- Partials      275      278       +3

Impacted Files
Coverage Δ

...-graphql-types-generator/src/utilities/printing.ts
70% <0%> (-5%)
:arrow_down:

...phql-types-generator/src/utilities/complextypes.ts
60% <0%> (-3.16%)
:arrow_down:

...raphql-types-generator/src/flow-modern/language.ts
92.5% <0%> (-2.38%)
:arrow_down:

...-types-generator/src/compiler/visitors/typeCase.ts
92.4% <0%> (-2.12%)
:arrow_down:

...es/graphql-http-transformer/src/HttpTransformer.ts
96.22% <0%> (-1.76%)
:arrow_down:

...graphql-transformer-core/src/TransformFormatter.ts
72% <0%> (-1.47%)
:arrow_down:

...ges/amplify-graphql-types-generator/src/loading.ts
73.33% <0%> (-1.18%)
:arrow_down:

...fy-graphql-types-generator/src/typescript/types.ts
85.71% <0%> (-0.96%)
:arrow_down:

...y-graphql-types-generator/src/utilities/graphql.ts
68.91% <0%> (-0.95%)
:arrow_down:

packages/amplify-dynamodb-simulator/index.js
76.34% <0%> (-0.83%)
:arrow_down:

... and 67 more

Continue to review full report at Codecov.

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


amazon echo not finding ha bridge 4.2.1 when windows firewall is up.

As of now my firewall is down and everything is good.
I noticed that this slot 'Web Server IP Address' had <IP_ADDRESS> written in.  Do i need to do something with that?  Should I put my ip address where the bridge is?
If port 50000 has to be open is it tdp or udp?
Any other suggestion would be great.  I dont really want to leave windows firewall down to long.

Looks like I created a new rule under windows firewall that opened up the web server port i was using. (8082 in my case).  Looks like everything is working.  I used the TCP Protocol.  Didnt try UDP because TCP worked.  If you think this will cause a future issue , maybe you can make another suggestion.

Looks like I created a new rule under windows firewall that opened up the web server port i was using. (8082 in my case). Looks like everything is working. I used the TCP Protocol. Didnt try UDP because TCP worked. If you think this will cause a future issue , maybe you can make another suggestion.


enhance RoomMemberQueryFilter

Is your feature request related to a problem? Please describe.
The current RoomMemberQueryFilter doesn't support query by wxid (id of Contact), can we support this?
Describe the solution you'd like
Add id as a string type in RoomMemberQueryFilter
Describe alternatives you've considered

Find all contacts for the room and find out the matched id
Load the contact by id first and use Room.has function, however, if the contact is not a friend of the bot, I am not sure if we can load the contact by id

Additional context
Add any other context or screenshots about the feature request here.
[enhancement]

i need to catch up someone scam

scam i want try to say is criminal using account for selling product after tranfer money he\she block me on whats up how do i catch him\her ... please help!!


CoCoNet example and implementation of overlap

Hi, I've read your paper on arxiv. I found that there's a coconet-example repo and currently the link is invalid. Is that repo the example directory under this repo?
I also not very sure about your implementation of overlapped all-reduce and comp operations, which is described in your paper. Does nccl/src/collectives/device/primitives_computation.h implement an overlapped kernel for all-reduce and other computation operators? Could you give more details of overlap's implementation? Thanks!

Any update on this? I'm also searching for integration with PyTorch as claimed in your paper.
Thanks

This issue has been fixed but I forgot to close it. You can view the Pytorch integration here: https://github.com/parasailteam/coconet-experiments . Note that the datasets are not available anymore. If you have any questions then please create a new issue


Always get " ERROR: content too short"

[download]  85.7% of 44.32MiB at  8.48MiB/s ETA 00:00 ERROR: content too short (
expected 46477872 bytes and served 39846316)

Which video are you trying to download? Please paste the video link.

Hi Yan,
Thanks for the response.
it's occurred randomly, like this one, happened after a few videos then succeed after a few time retry.
youtube-dl.exe  -o "Y:@youtube\健身%(title)s.%(ext)s" https://www.youtube.com/user/kos44444/videos

There are lots of videos on that page. Is the video in problem different each time?

yes, each time it's different.

I can download all of the videos from here. Maybe it's a network issue. I'm sorry that I can't help more.

No worries. Retry a couple of times will do the work.

I am getting this issue too. Why doesn't the -R (retry) functionality apply here?

@Tatsh the --ignore-errors option (or -i) should skip those videos.


fix a broken link at PLUGIN-GUIDE.md

fix the link to UMD template and remove some trailing spaces

Thanks!


dio.get() passes a non-String data parameter, it will time out

Package
dio
Version
5.3.2
Output of flutter doctor -v
No response
Dart Version
2.17.5
Steps to Reproduce
try {
 final dio = Dio();
dio.options
..baseUrl = 'https://ones-liuyanfeng.myones.net/api/project/'
..connectTimeout = const Duration(seconds: 15)
..receiveTimeout = const Duration(seconds: 30);
final result = await dio.get("auth/login_support", data: {}, options: Options( method: 'GET', ));
print(result.toString());
 } catch (e) {
 print(e);
}

Expected Result
success get data.
Actual Result
DioException [receive timeout]: The request took longer than 0:00:10.000000 to receive data. It was aborted.

The connection has been established, it looks like your server didn't respond to your requests.

curl https://ones-liuyanfeng.myones.net/api/project/auth/login_support
{"is_unique_org":true,"org_uuid":"TDSh469b","org_type":0,"corp_id":"","agent_id":0,"logo":"","favicon":"","page_title":"default","encryption":null}

The connection has been established, it looks like your server didn't respond to your requests.
->>> curl https://ones-liuyanfeng.myones.net/api/project/auth/login_support
{"is_unique_org":true,"org_uuid":"TDSh469b","org_type":0,"corp_id":"","agent_id":0,"logo":"","favicon":"","page_title":"default","encryption":null}

Send a request directly in the browser is also successful

Your Dart code is not equal to your browser request.

Your Dart code is not equal to your browser request.

It seemed that  dio.get() can't set 'data' parameter.


Please expose endpoint 0 for Vision ZL7432

The Vision ZL7432 has three end points, 0, 1, and 2.  0 and 1 control the same physical device (device 1), but only endpoint 0 supports controller notifications on local changes, while end point 1 does not. See https://opensmarthouse.org/zwavedatabase/112
(Don't ask me why for the love of everything holy there are two endpoints on the same device that do the same thing with varying capabilities.)
Right now only endpoints 1 and 2 are exposed, meaning any local changes (i.e. wall switch changes) are unreported in the UI, forcing polling. Polling bad, mmmmmkay?
I'd like for endpoint 0 to be exposed along with 1 and 2. Really you could hide endpoint 1 entirely and I'd be fine with it, but people who've already built things might get annoyed by that.

Before I add the PR can you see if this works.  (first time using the "compat" section.)
zl7432.json

@apella12 That fixes the issue entirely!


Setup Sonar

The code coverage seems to not working :(

And Java code is not scanned :P

java require a lot more works for sonar. I will do it later guigui

Done <3


empty collection defaults break PATCH functionality

when specifying an operation like
                {
                    "method": "PATCH",
                    "path": "/:vendor_guid/:number",
                    "body": { "type": "item_patch" },
                    "description": "Upsert an item. Updates the item for the supplied vendor guid and number, creates it if one does not exist.",
                    "responses": {
                        "200": { "type": "item" },
                        "201": { "type": "item" },
                        "409": { "type": "[error]" }
                    }
                },

                },

given the below definition of item_patch
        "item_patch": {
            "description": "Used to PUT or PATCH an item.",

            "fields": [
                { "name": "quantity", "type": "long", "required": false },
                { "name": "prices", "type": "prices", "required": false },
                { "name": "attributes", "type": "[attribute]", "required": false },
                { "name": "return_policy", "type": "return_policy", "required": false },
                { "name": "metadata", "type": "[metadata]", "required": false },
                { "name": "identifiers", "type": "[identifier]", "required": false },
                { "name": "dimensions", "type": "[dimension]", "required": false },
                { "name": "content", "type": "[content]", "required": false },
                { "name": "images", "type": "[media]", "required": false },
                { "name": "videos", "type": "[media]", "required": false }
            ]
        },

one would expect that a field which is omitted from the patch would not be changed. However, due to the current default values for collection fields in both ruby and scala, the client generates empty collections that override the field to empty when sent to the server.

My proposal would be to generate Option[Coll[T]] in scala (e.g. Option[Seq[T]]) and default those fields to None (as we already do for Options). In ruby I would propose making the field nullable.

This issue is related to https://github.com/gilt/apidoc/issues/293

+1
Didn't look like this included stuff for #7 does it? Want me to take a crack at that?


fix: report period keepalive message

This solution is primarily designed to address the following issue:
When an instance of PostgreSQL has multiple databases in use, if one of the databases has a low write traffic and also has a replication slot, it can cause the position of this slot to be unable to advance. This leads to a buildup of WAL logs that cannot be cleared, thereby affecting the entire PostgreSQL instance.
For example:

If the blue table were to continue receiving writes, but without a write operation occurring on the pink table, the pink replication slot would never have a chance to advance, and all of the blue WAL events would be left sitting around, taking up space.
Common solutions include:

Create heart_beats table and writing regularly.
Using pg_logical_emit_message without needing an extra table.
Using PostgreSQL's regular keepalive messages to the client, which include the ServerWALEnd for the entire PostgreSQL instance.

I believe that solution 3 is simpler and more elegant.
However, since keepalive messages are very frequent, by setting the ReportLSNThreshold, we can ensure that when the replication lag reaches a certain threshold, then PGXSource would pass the corresponding keepalive message to PulsarSink, which will then report back to PostgreSQL.

@benjamin99 After discussion with @rueian, the normal keepalive message period is about 5 seconds.
And Usually, if there are many changes waiting to be consumed in the slot, there won't be any keepalive messages during this time. So, we can try the version without a threshold to see if the replication lag will intensify.

LGTM


Updating element with blank array

In my schema I have an array element and currently I'm trying to update that property to a blank array. For some reason in the Amazon Web Services console it just doesn't even have that element.
Right before the update call the body JSON element includes {array: []}. Inside the update callback function the new element doesn't include array at all.
In AWS console it's undefined. Instead of updated to undefined I want to update the element to a blank array.
Any easy way to do this in Dynamoose?

Depending on how you have the Schema set you could have it write a JSON String
> JSON.stringify([]);
'[]'
> JSON.stringify({array:[]});
'{"array":[]}'

var ContentSchema = new dynamoose.Schema({
    _id: String,
    title: String,
    user: String,
    array: Array,
});

Is my example schema. I'm not sure how exactly I would do JSON.stringify since I am setting more then just the array.
I also have a Stack Overflow question here that goes into it in a bit more detail (http://stackoverflow.com/questions/38727869/dynamoose-dynamodb-update-saving-empty-array-as-null).
I'm using a few different examples and tests but the goal is still the same between the situations.

Also I was able to figure out a temporary fix when after saving the content using the update method at the callback setting array = [] then running content.save(); and that seemed to work. That is really a band-aid fix tho since it's having to make two separate save requests.

Ok.  I follow now.   The save uses the JSON.stringify; however, the update has different logic.  Update will remove the element if it's an empty array.   Below is the code in question.
https://github.com/automategreen/dynamoose/blob/18edb0173090325139e5c5ac5a63765c7d7cff78/lib/Model.js#L396-L397
        if(val === null || val === undefined || val === '' || (Array.isArray(val) && val.length === 0)) {
          operations.REMOVE[putItem] = null;

Awesome. Sounds like making a fork and removing || (Array.isArray(val) && val.length === 0) from that line and using that fork would work best for my use case. Since my workflow is different then what is assumed by Dynamoose. Thanks again so much for your help!

If you wanted to make the functionality configurable, I would be happy to merge a PR.

update data with empty value array is not working again on  version 1.10.0
example
Model.update({
     id: searchid,
   },{
      testList:[]
   },  {"emptyarrayallowed": true})

when updated data testList field not found or was deleted
cc @fishcharlie @brandongoode

@derit I'm pretty sure that functionality has never been implemented

@derit @dolsem It was implemented. The property name however was renamed to 'allowEmptyArray' from 'emptyarrayallowed'.

@tejavakalapudi9 oh, interesting. If this is the case, someone should update the docs to include this option.


Define identity-associated data, not Identity

There is no need to have a definition of a term used like the dictionary says.
The important term is `identity-associated data', and the relevant snippet from the existing definition:

Identity-associated data consists of signed certificates or credentials such as verifiable credentials and other unsigned, non-verifiable data objects generated by or on behalf of the unique identifier(s).

Is sufficient...

But identity is not constructed as the dictionary says, because the dictionary is mute on that point. Hence, the programmatic definition of identity how it is used in the Baseline Protocol is more than warranted.

@chaals ... will close the issue at the next standards meeting, unless commented on by you before the next standards meering.

clarified language in #114


Gizmo jumps to its parent when being transformed with local space

Description
Gizmo jumps to its parent when being transformed with local space
https://github.com/user-attachments/assets/136e32b1-9a02-4c02-bcb1-d105fed620b3
Steps to Reproduce

go to the gizmo example https://playcanvas.vercel.app/#/gizmos/transform-translate
Add the box to a parent entity and transform that entity a small amount
reload, switch to local transform and attempt to move the box, see it jumps position

Fix incoming...


chore: add plausible analytics

Adds analytics to the blog site, managed by the DaaS account.
https://plausible.io/blog.libp2p.io/

How will RSS readers show up here?

How will RSS readers show up here?

https://plausible.io/docs/integration-guides#server-side-tracking

This is also an option: https://github.com/spekulatius/vuepress-plugin-plausible


Unit 1 Hands-on prerequisites

Prerequisites of Unit 1 hands-on mention Monte Carlo and TD-Learning, that are covered later in Unit 2 - they're not even mentioned in Unit 1.
Might be bit confusing for some people, perhaps it'd be better to delete that.

https://huggingface.co/deep-rl-course/unit1/hands-on?fw=pt#prerequisites

Thanks for pointing this out I'm adding it to next week update 🤗

Solved in #230 thanks :hugs:


--disassemble-optimized shows no output

OS: MacOS
Dart Version: Tested on Dart VM version: 2.8.4 (stable) & Dart SDK version: 2.9.0-21.0.dev.flutter-20bf2fcf56
Using

./dart --print-flow-graph-optimized --disassemble-optimized test.dart
Shows only

4
6
10
10
104
Instance of 'ClassSample'
Instance of 'ClassSample'
Instance of 'ClassSample'

While

./dart --print-flow-graph --disassemble test.dart
Is OK and shows IL and ASM

@dolpheen Would you mind explaining what you are trying to do?
Our JIT is first compiling unoptimized code and runs this for some time to learn more about the program behavior. When functions were called enough times it will start optimizing such functions. Maybe that doesn't happen on your example?

@mkustermann
Just exploring Dart VM as mentioned in https://github.com/dart-lang/sdk/blob/master/runtime/docs/index.md
At the moment mostly interested in boxing/unboxing optimization of Ints.
Just wanted to see the optimized disassembly code for this with --disassemble-optimized, but no outputs.
But if I understand you correctly - the optimization is not done on single run of code.
The code is simple,
main()
{
  testFunction();
}

testFunction()
{
  // Local variables stored on Stack
  int k;
  int i = 4;
  int j = 6;
  k = i + j;

  print(i);
  print(j);
  print(k);
}

Thank you, I suppose then to close the question.


feat(ngRepeat): expose the iterating properties over the alias

Expose the properties $index, $first, $middle, $last, $odd and $even as part of the alias
Closes #9582

there is no traction on this idea, closing


How to build the native library

I am trying to build the native C codes but ndk-build is not working on me. How do you build it without an Android.mk file?

I'd like to know how to do this too!
If any can help writing a "how to", it will be really nice!

Do you still need this kind of "how to", please let me know.


Collection language settings

Describe the bug
When i accessed my collection today most cards are shown with Asian texts with a few exceptions in between that are English. So i looked for some language settings and saw the language option - and switched it to German for testing purposes. The collection now appeared in German as expected. When i switched back to English most cards are back to Asian text.
Screenshot

Additional context
I already tried a full reset without success.
Account name: NIL
MTGA Account name: NIL#76331

Hi! Thank you for your issue! This bug was already fixed. Please, turn CTRL+ f5.

yep solved - closing the issue


Feel free to join our Discord for live chatting

https://discord.gg/4HTUAcTvqV
The Discord is not a replacement for the issue board, please do not use the discord for bug reporting.

@HappyZombies should we shutdown the discord? No one is really replying and there is not much activity. I also don't check discord that often.

Yeah I Think we can just keep conversations here or even use the discussions


Change RethinkDB as PetSet default to RC

PetSets aren't supported enough in the kubernetes ecosystem quite yet so we should reverse the defaults for now.

This has been fixed by #1230.


[2700] Remove Route row and replace with Education phase in confirmation view

Context
Remove Route row and replace with Education phase in confirmation view
Changes proposed in this pull request
Guidance to review

 [M] Update course details component


WRITER_2007 Produces Wrong XML Tag for Conditional Formatting

Hello community,
if I load with the demo program ZDEMO_EXCEL37 an XLSX file with conditional formatting and save it to frontend the XML tag of the conditional formatting is wrong. I expected conditionalFormatting sqref="D38:D43" but the WRITER_2007 generates conditionalFormatting sqref="A1 D38:D43". The READER_2007 dumps if it reads this kind of conditional formatting, the A1 with the following space is wrong.
Thanks in advance.
Cheers
Stefan
Test XLSX file: Mappe1.xlsx
Result XLSX file: 37- Read template and output.xlsx

Unfortunately I can't reproduce the issue with the latest version of abap2xlsx. As it was a long time ago, maybe the issue has been fixed.
Text XLSX file: same as above "Mappe1.xlsx"
Result XLSX file: 37- Read template and output.xlsx
Could you confirm whether it's fine for you or not?
Thank you.

No answer. Closing.


Preserve LIMA_CIDATA_* variables when running a user provision script

Description
Lima's environment vars are not accessible from a user mode provision script like this:
provision:
- mode: user
  script: |
    #!/bin/sh
    ln -s $LIMA_CIDATA_HOSTHOME_MOUNTPOINT/.conan ~/.conan

The above script creates a wrong link since the LIMA_CIDATA_HOSTHOME_MOUNTPOINT variable isn't visible from the script:
# ls -la ~
total 20
drwxr-xr-x    4 zzzzz    zzzzz         4096 Dec  4 15:01 .
drwxr-xr-x    3 root     root          4096 Dec  2 00:02 ..
-rw-------    1 zzzzz    zzzzz          234 Dec  4 11:58 .ash_history
lrwxrwxrwx    1 zzzzz    zzzzz            7 Dec  4 15:01 .conan -> /.conan
drwxr-xr-x    3 zzzzz    zzzzz         4096 Dec  4 11:54 .config
drwx------    2 zzzzz    zzzzz         4096 Dec  2 00:02 .ssh

To preserve LIMA_CIDATA_* variables in a user script the sudo command shall use -E option which preserves all environment variables.

LIMA_CIDATA_* vars are considered to be private to the internal script. I'm not sure we want to expose them.
At least, these will not be guaranteed to work.

Sorry, but they are already exposed and used, for instance in this template. If this is not the intended behavior, then perhaps provision scripts should get the support of go template "actions" like {{.Name}}? Currently, they are unsupported, and writing provision scripts that rely on the info about VM (like in my case) is quite problematic.

LIMA_CIDATA_* vars are considered to be private to the internal script.

They are already exposed to system provisioning scripts, and sometimes needed there. I don't see any harm in exposing them to user provisioning scripts as well.

I'm not sure we want to expose them. At least, these will not be guaranteed to work.

This is a good point. We should probably think about which variables we'll consider as an API, so provisioning scripts can rely on them, and which ones we consider internal, subject to change without warning.
Given that system provisioning scripts can already use these variables (and some of our templates do), we can't actually just change/drop variables because otherwise older machine instances may fail to work after a restart.
I'm going to approve this PR, but leave it to @AkihiroSuda to decide if it should be merged or not.

I just noticed that the commit doesn't have a DCO signature, so that will need to be fixed before it can be merged: https://github.com/lima-vm/lima/pull/2052/checks?check_run_id=19294190163

never used signatures before, so this is a good reason to start.

never used signatures before, so this is a good reason to start.

DCO signatures are required by all projects belonging to the CNCF: https://github.com/cncf/foundation/blob/main/dco-guidelines.md

perhaps provision scripts should get the support of go template "actions" like {{.Name}}?

👍
This can be probably added in:
https://github.com/lima-vm/lima/blob/b453dedb757e5fc1e249f352d0812d008e66fa3f/pkg/store/instance.go#L233-L239

@AkihiroSuda if there are no plans or time from your side to add templates to provision scripts I could try to add this (if you have no objections).

@AkihiroSuda if there are no plans or time from your side to add templates to provision scripts I could try to add this (if you have no objections).

Thanks 👍

I think this issue can be solved by executing user provisioning scripts with a small wrapper script that just reads lima.env the same way the boot.sh script does, and then execs the actual user script.
I think I would prefer that mechanism over turning scripts into Go templates. I'll try to post a sample later today; just very busy right now.

For my personal needs to run stuff on a local machine, using private vars is an acceptable solution even if they would change in the future. I cannot judge and argue somehow whether it's acceptable from the project's long-run perspective to expose them, so I leave this to maintainers. 😃

I think this issue can be solved by executing user provisioning scripts with a small wrapper script

Turns out this is a bit more complicated than anticipated because all the CIDATA files are only readable/executable by root:
lima-alpine:~# ls -ld /mnt/lima-cidata/provision.user/
drwx------    3 root     dialout        336 Dec  5 21:26 /mnt/lima-cidata/provision.user/

So when I run the wrapper script with sudo -i then it can no longer exec the actual user script because it already lost access to it.
Out of time again; will have to think about it some more.

all the CIDATA files are only readable/executable by root

Looks like I was not paying proper attention because I was in a hurry. We already copy the user scripts into the user's home directory, so we can do the same for the launcher script. I've created #2056 to show what I mean.
I'm still not sure if turning scripts into Go templates has any advantages over simply exporting the variables. We probably have to keep supporting lima.env for backwards compatibility anyways, so adding templating would mostly be redundant (for system scripts).
@lima-vm/maintainers Let me know what you think!


docs: minor typo fix academy.mdx

"Autonomys' protocol" -> "Autonomys Protocol"
There's no need to use an apostrophe.

Thanks for the suggestion, but I believe that an apostrophe makes sense in the context!


Preventing loading from certain directories

In some situations it would bee useful to be able to prevent loading mods from certain directories or other rule objects. For example when user want to load a mod that is incompatible with another loaded mod, this is a good precaution.
Is it possible to implement something like this?

tl, dr: Theorically yes, but no without many design change. Some features can be implemented in other ways currently.

prevent loading mods from certain directories or other rule objects

For GENERATED and NESTED rules (the rules that opens a new settings screen), this can be achieved via the lock button. However it's up to the user whether to use it.

when user want to load a mod that is incompatible with another loaded mod

Incompatible mod sets are typically separated to different options of a DEFINED rule. If you choose one option, the other options are not chosen and therefore mods are not loaded.
I've been thinking about implementing some kind of logic in the config file well before publishing this mod, something like boolean expressions (mod1 ^ (mod2 && mod3)) or dependency manifests (like "depends" and "breaks" fields in fabric.mods.json). But this would be relatively a mess to implement, so with v0.1.0 I've come up with the DEFINED rules: "directories" fields are ANDs, a rule itself is XOR (w/ NOT capability), and the whole ruleset is OR. This is not to say the current ruleset format is not a mess, but it's the best I can get without creating a larger mess.
Maybe in the future when ThatOrThis becomes like a "package manager" for mods (see #8), a proper way of defining logic between rules can be designed.


perf: Parser performance optimization

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):
kclvm/parser

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

Call path.canonicalize() when initializing PkgFile
Record the parsed files in the global to avoid repeated parsing

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

71 of 74 (95.95%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 70.584%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/parser/src/lib.rs
60
63
95.24%

Files with Coverage Reduction
New Missed Lines
%

kclvm/parser/src/lib.rs
1
95.82%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.003%

Covered Lines:
51998

Relevant Lines:
73668

💛  - Coveralls