GetDatabaseValues for owned type throws exception if the type is only used by one entity

Calling EntityEntry.GetDatabaseValues() on an owned type can raise an exception in certain circumstances.
Steps to reproduce

Run this simplified project that is only using the Order and ShipmentAddress entities:
https://github.com/coder925/EntityFramework.Docs/tree/owned-type-issue/samples/core/Modeling/OwnedEntities

Expected result: Only the changed properties of the owned entity is saved.
Actual result: An exception:
System.InvalidOperationException
  HResult=0x80131509
  Message=Cannot create a DbSet for 'StreetAddress' because it is configured as an owned entity type and should be accessed through the defining entities.
  Source=Microsoft.EntityFrameworkCore
  StackTrace:
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.AsNoTracking[TEntity](IQueryable`1 source)
   at Microsoft.EntityFrameworkCore.Internal.EntityFinder`1.GetDatabaseValuesQuery(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.Internal.EntityFinder`1.GetDatabaseValues(InternalEntityEntry entry)
   at Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry.GetDatabaseValues()
   at EFModeling.OwnedEntities.Program.Main(String[] args) in C:\repos-github\EntityFramework.Docs\samples\core\Modeling\OwnedEntities\Program.cs:line 46

Workaround:
Uncomment code in OwnedEntityContext:
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            #region OwnsOne
            modelBuilder.Entity<Order>().OwnsOne(p => p.ShippingAddress);
            #endregion

            // Uncomment following line and it starts working
            #region OwnsOne
            //// modelBuilder.Entity<Order2>().OwnsOne(p => p.ShippingAddress);
            #endregion

        }

It seems if more than one Entity is owning ShipmentAddress the excpetion is not occuring.
Use case
I am receiving a detached Order entity that needs to be updated in the database. However, I am only allowed to save actual changed properties and cannot use context.Update(order) .
Instead, I use this read-update pattern:
var orderEntry = context.Attach(order);
orderEntry.OriginalValues.SetValues(orderEntry.GetDatabaseValues());

and for each owned type owned by Order (i.e. value objects):
var shippingAddressEntry = context.Entry(order.ShippingAddress);
shippingAddressEntry.OriginalValues.SetValues(shippingAddressEntry.GetDatabaseValues());

Further technical details
EF Core version: 3.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 3.0
Operating system: Windows 10 Enterprise
IDE: Visual Studio 2019 16.3.0

var shippingAddressEntry = context.Entry(order.ShippingAddress);

This is invalid. We don't have a way to determine the IEntityType so it should throw. Further, given the "work-around", we are also processing owned & weak entity differently in that code path.

Thank you @smitpatel for pointing me in the right direction. I was confused because I got it to work sometimes depending on how the model was configured as showcased.
Do you know the right way to get database values for an owned type so I can keep track on which properties actually been changed?

Untested but try this
var shippingAddressEntry = orderEntry.Reference("ShippingAddress").TargetEntry;

Thanks for your suggestion!
Unfortunately, it gives the same exception when trying to fetch the database values on the next line:
var dbValues = shippingAddressEntry.GetDatabaseValues();

This is related to https://github.com/aspnet/EntityFrameworkCore/issues/16186


[Feature] Support to query relation metrics through PromQL

Search before asking

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

Description
PromQL Service doesn't support metrics of relation between services, instances or endpoints.
Use case
User could use this to build dashboards to show metrics from the lines on the topology or manually click.
Related issues
No response
Are you willing to submit a pull request to implement this on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

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

@CzyerChen @weixiang1862 @yswdqz Any of you has interest in implementing this?

I am new to this repo - would like to pick this up.
Can you add some more verbose details of what is required as part of the feature?

This is not easy. Do you read most of SkyWalking codebases?

I will have to do that. I am brand-new to this repo.

I would say, you could consider to implement this. But don't be in urgent.
This requires you to have good understanding of the whole system.

I would like to take a shot at this. I will go through the docs and readme. Is there anything else you suggest me to do? Or a similar MR for a different Query language?

You could do as following

Get familiar with project, and how to run showcase. https://skywalking.apache.org/docs/skywalking-showcase/next/readme/
Learn MQE about the protocol and native UI for relative metrics.
Learn PromQL service, and workflow.
Try to implement this.

Okay, let me do as you recommend.

@wu-sheng I only have 16 GB RAM in my mac, I am not able to run showcase:
Release "demo" does not exist. Installing it now.

Is there another alternative?

You need to run necessary components only. Don't run the default. It includes all features.

@yswdqz told me, he will work on this from June 2nd/3th.


[HIP] missing hipDevAttrTextureAlignment in hipDeviceAttribute_t

When I try to hipify a HPC application, there is no hipDevAttrTextureAlignment comparing to CUDA.
refer to:

https://rocm-documentation.readthedocs.io/en/latest/Programming_Guides/CUDAAPIHIPTEXTURE.html#data-types

Is there any alternative way to support it? or any plan about it?
Thanks.

@zjunweihit, apologies for the lack of response from AMD.  Do you still need assistance with this issue?  Thanks.

Closing this ticket as it is stale.  @zjunweihit, please re-open if you still see this issue with latest ROCm 6.0.2 (HIP 6.0.32831).  Thanks.


i18n: update ko translations

https://github.com/quisquous/cactbot/blob/c245ef6b45f864fc79689f6e5a87cc06cb899e6e/ui/raidboss/data/03-hw/trial/zurvan-ex.ts#L8-L12
From my reading of the code, it looks like infiniteElement will always be either fire or ice, regardless of the display language.

https://github.com/quisquous/cactbot/blob/c245ef6b45f864fc79689f6e5a87cc06cb899e6e/ui/raidboss/data/03-hw/trial/zurvan-ex.ts#L8-L12
From my reading of the code, it looks like infiniteElement will always be either fire or ice, regardless of the display language.

Yeah, it looks like we need fire and ice outputStrings there, and I missed this when looking through it.  cc @JLGarber

Sorry about that! I was under a small time crunch and wasn't thinking over the ramifications of hardcoding the element values. Thanks for fixing that for us quisquous.


[ja page fix]ambiguous link destination in /content/ja/docs/tasks/tools/install-minikube.md

This is a Feature Request

What would you like to be added

In インストールの確認 section of this page (https://kubernetes.io/ja/docs/tasks/tools/install-minikube/), the link destination of specifying the VM driver documentation seems  not good because destination page doesn't have driver infomation.
Instead, I think the link below is more accurate in this sentense, like this page's VMドライバーの指定 part.
link: https://minikube.sigs.k8s.io/docs/drivers/
Why is this needed
option's lists of --driver can not find in current destination.
Comments

I made a pull request https://github.com/kubernetes/website/pull/26495 about this.

/assign
/language ja

The original content was already deleted.
So I think we need to delete this page.
#24416
/close


Syntax Error Python 3.5

The current version of pyntcloud does not work with python 3.5, although it says on the website that pyntcloud supports this python version.
I get the following error:
Traceback (most recent call last):
    import pyntcloud.io.ply
  File "env/lib/python3.5/site-packages/pyntcloud/__init__.py", line 1, in <module>
    from .core_class import PyntCloud
  File "env/lib/python3.5/site-packages/pyntcloud/core_class.py", line 8, in <module>
    from .io import FROM_FILE, TO_FILE, FROM_INSTANCE, TO_INSTANCE
  File "env/lib/python3.5/site-packages/pyntcloud/io/__init__.py", line 1, in <module>
    from pyntcloud.io.open3d import from_open3d, to_open3d
  File "env/lib/python3.5/site-packages/pyntcloud/io/open3d.py", line 13
    raise TypeError(f"Type {type(o3d_data)} not supported for conversion."
                    ^
SyntaxError: invalid syntax

F-strings are not supported in Python 3.5, so this does not compile. Remvoing the f makes everything work.

OS: Ubuntu 16.04
pyntcloud-0.1.2 (via pip)

Hola @christianbrugger! Sorry for the confusion, the minimum required Python version is 3.6. I have updated the setup.py accordingly and will update the documentation and release.


[D&D 5e OGL] Carrying Capacity Modifier does not process decimals (again)

On the 5e OGL sheet, the "Carrying Capacity Modifier" field in PC settings only accepts integers, not decimal numbers. If I want, for example, the encumbered weight of a 10 str character to be 80 instead of 50, I would put "*1.6", however this doesn't work. If I want to halve a character's carrying capacity, this does not work either.

Even though this ticket was closed:
#3797
the issue still appears.

This should be fixed now with PR #4863 . If its still an issue feel free to reopen it. :)


Updates Conrod to 0.57.0

Builds with no warnings using rustc-stable (1.22). Whitespace changes due to
rustfmt.

Wow! Thanks. Great to see. Out of interest, are you using mango at all? Or interested in Conrod in particular?

If I'm honest, I've felt that maybe using GTK either in addition to Conrod or instead of it might be useful as certain parts of the UI (mostly text inputs) would benefit from being more standard. I'd be very grateful for anything thoughts on that if you're interested in the project.

Hi Michael, I'm glad you appreciated it!
My interest was primarily with Conrod. I'm working on something that requires dynamic widget creation, and I couldn't figure out how to do it from the project's examples. It's also partly a computational DAG tool, so Mango was interesting on both fronts there as something to look to for inspiration and implementation, and to evaluate Conrod's fitness for that need.
I've not actually done a ton of UI coding before, so I don't think I have the best perspective for evaluating it against other things like GTK. However, it's not easy to shake the impression that Conrod is... Janky as hell? I was looking at dear imgui (https://github.com/ocornut/imgui), and it was much more polished. However, I was (and am) trying to stick with as pure-Rust as possible, because...
After I quit Lucasfilm in 2011, after being one of the lead developers of Alembic, the animated geometric data interchange format, I vowed to never write C++ again, a vow I've mostly kept ;) Alembic is still probably the capstone project of my professional career, so I still get a thrill when I discover that someone has done something cool with it. All of that is to say that I checked out your other repos this morning, and thought alembic-fs was pretty awesome :)

Wow, very cool! Lead dev on Alembic. Much respect. It was impressive to watch that come in win over the VFX industry. I was at Weta when it started to really make an impact though I didn't get a chance to work with it properly in my day job. The alembic-fs was a bit of fun, I'm glad you like it :) I was happy that I got something working. Made me smile to think of opening up VFX assets to bash scripting :)
I have a similar desire to steer clear of C++ if at all possible and Rust certainly looks like a good way to do that. Janky is a good way to describe Conrod though :) I'm grateful that people have put it together but I get the feeling they must be stretched a little thin as there is promise that hasn't been capitalised on yet. I think I'll attempt to use some GTK at some point though perhaps Conrod might still be ok for the node graph. This is my first chunk of Rust though and it isn't flowing very smoothly yet so I've been distracted by other things.
Thanks for the thoughts and for sharing! Happy New Year and all that :)

I was mostly trailing on the coattails of Christopher Horvath (Pinst at Weta, Alembic at ILM) :) I've left the industry since ILM, though.
There are some other projects that are not as mature, but seem precocious in comparison to Conrod. Relm is a wrapper for GTK, but structured like an Elm web-app. limn is more greenfield, and looks pretty nice and clean (eg https://github.com/christolliday/limn/blob/master/examples/counter.rs).
Anyway, I'm still in the very beginning of the project, so if it turns interesting, I'll let you know how it goes :)


GET /api/v1/cron-workflows/{namespace} "items" property could be null

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
The swagger definition for /api/v1/cron-workflows/{namespace} mentions that "items" is an array but it also can be "null" using the query "listOptions.labelSelector".

Version
latest
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
{
    "apiVersion": "argoproj.io/v1alpha1",
    "kind": "Workflow",
    "metadata": {
      "generateName": "hello-world-",
      "labels": {
        "workflows.argoproj.io/archive-strategy": "false"
      }
    },
    "spec": {
      "entrypoint": "whalesay",
      "templates": [
        {
          "container": {
            "args": [
              "echo 'hello world'"
            ],
            "command": [
              "ash",
              "-c"
            ],
            "image": "alpine:3.15",
            "imagePullPolicy": "IfNotPresent"
          },
          "name": "whalesay"
        }
      ]
    }
  }

Logs from the workflow controller
No required

Logs from in your workflow's wait container
No required

@imjulioc Do you like to update comments?

How is that @sarabala1979 😲 ?

I will fix this so that we return an empty array.

https://github.com/argoproj/argo-workflows/blob/f470fdab279a4e0f28c6e324f1a337dafb73ec13/server/cronworkflow/cron_workflow_server.go#L55 seems to be the place but couldn't work out how to change it


Modify Site-Wide-Settings to suit Pocket Hotel

modified file _base.scss content from "AB-3" to "Pocket Hotel"

Codecov Report

Merging #26 (f27890e) into master (550f1e9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #26   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 550f1e9...f27890e. Read the comment docs.


Integration testing

We need some way of doing integration tests.

In order to do some longer end-to-end tests it would be good to have a Docker image with the Firebase emulator which we can then run via testcontainers. See this issue and this repo for some possibilities.


Delannoy_number in Python

💥 Proposal
Delannoy_number in Python
Have you read the Contributing Guidelines on Pull Requests?
YES

/assign


Added connection's source view is not formatted correctly

Description:
When a connection is added, its source view is not formatted correctly, as shown below.
<?xml version="1.0" encoding="UTF-8"?>
    <localEntry key="FileConnection" xmlns="http://ws.apache.org/ns/synapse">
        <file.init>
  <connectionType>LOCAL</connectionType>
  <name>FileConnection</name>
  <workingDir>/Users/chathurangaj/Desktop/resource</workingDir>
  <fileLockScheme>Local</fileLockScheme>
</file.init>
    </localEntry>

Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The latest release v1.1.0 has resolved the issue. Please reopen if the problem persists.


Need example using DiffOrderBookSnapshot

hi @nkaz001 ,
i am new to this framwork, and plan to move my backtest to this framework.

Can you give some examples which import L2 snapshot data and do the rest backtest? I have read and checked all the sample here. and i find DiffOrderBookSnapshot might be relevance. but i am not able to find the examples.
some advices: the workflow is tide and clean, but for new beginers, a skeleton of this framework might be useful.

best,
justin

Which exchange are you targeting? If the exchange provides incremental L2 market depth, it should be used. If not, could you provide sample data or a link to the page where I can download the sample data? This will allow me to make an example and run tests.

Which exchange are you targeting? If the exchange provides incremental L2 market depth, it should be used. If not, could you provide sample data or a link to the page where I can download the sample data? This will allow me to make an example and run tests.

here is a sample.
ticksize is 5.0,
multiplier is also 5.
fee is 3.0 dollars(fixed and no rebate) per trade.
Uploading 401002410_20240909.csv.tar.gz…

thanks a lot for ur snippet. It helps me a lot!!
After read the snippet and the data.utils.binancefutures, i still have two questions.
Q1.  what should be the data stream be?
eg.
pre_tick: ap1 100, av1 10;
and a buy_trade happens( buy px 100, lot 5), and an add sell limit order is sent to the exchange( limit quote px 100, lot 5).
finanally, the current tick turns to be ap1 100, av1 10.
is it:
"ev: BUY_EVENT | TRADE_EVENT, px 100, qty 5"
"ev: SELL_EVENT | DEPTH_EVENT, px 100, qty 5"   or "ev: SELL_EVENT | DEPTH_EVENT, px 100, qty 10"
or just:
"ev: SELL_EVENT | DEPTH_EVENT, px 100, qty 10"
or:
"ev: SELL_EVENT | DEPTH_SNAPSHOT_EVENT, px 100, qty 10"
Q2:
row 122 in data.utils.binancefutures:
tmp[row_num] = (
DEPTH_EVENT | BUY_EVENT,
exch_timestamp,
local_timestamp,
float(px),
float(qty),
0,
0,
0
)
what does the 0 stand for?

Q1) You need to specify the final quantity, but the exchange provides the full tick-by-tick data, it should be
ev: BUY_EVENT | TRADE_EVENT, exch_ts: T1, px 100, qty 5
ev: SELL_EVENT | DEPTH_EVENT, exch_ts: T1, px 100, qty 5
ev: SELL_EVENT | DEPTH_EVENT, exch_ts: T2, px 100, qty 10
Q2) The last three fields are unused in Level-2 data. Please see https://hftbacktest.readthedocs.io/en/latest/data.html#format

to fix your trouble check this click
maybe this will solve your problem.

Q1) You need to specify the final quantity, but the exchange provides the full tick-by-tick data, it should be ev: BUY_EVENT | TRADE_EVENT, exch_ts: T1, px 100, qty 5 ev: SELL_EVENT | DEPTH_EVENT, exch_ts: T1, px 100, qty 5 ev: SELL_EVENT | DEPTH_EVENT, exch_ts: T2, px 100, qty 10
Q2) The last three fields are unused in Level-2 data. Please see https://hftbacktest.readthedocs.io/en/latest/data.html#format

i check the simulation result, and find the rebuild snapshot didnt match the correspond snapshot.
i dont know if i need to add the trade stream to get the correct simulation. cuz if i ignore the trade stream, and only input the  snapshot-diff stream ( result from the DiffOrderBookSnapshot function), the rebuild snapshot matches

TRADE_EVENT isn't related to the market depth. There should be no difference in the snapshot with or without the TRADE_EVENT. TRADE_EVENT should not be input to the DiffOrderBookSnapshot function.

to fix your trouble check this solution click
maybe this will solve your problem.


Handle status comment IDs greater than i32

Also:

Lock Rust version to 1.78.0
Fix new clippy lints

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

18 of 25 (72.0%)  changed or added relevant lines in 13 files are covered.
204 unchanged lines in 57 files lost coverage.
Overall coverage decreased (-0.2%) to 75.7%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/prbot-database-tests/src/testcase.rs
1
2
50.0%

crates/prbot-ghapi-interface/src/types/reviews/review_state.rs
0
2
0.0%

crates/prbot-models/src/checks_status.rs
0
2
0.0%

crates/prbot-models/src/step_label.rs
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

crates/prbot-core/src/use_cases/pulls/add_pull_request_rule.rs
1
7.69%

crates/prbot-core/src/bot_commands/commands/admin/admin_set_default_reviewers.rs
1
0.0%

crates/prbot/src/commands/repository/pull_request_rule/mod.rs
1
0.0%

crates/prbot-server/src/webhook/pulls.rs
1
18.75%

crates/prbot-core/src/bot_commands/commands/admin/admin_set_pr_reviewers.rs
1
0.0%

crates/prbot-core/src/bot_commands/commands/user/set_automerge.rs
1
0.0%

crates/prbot-server/src/external/status.rs
1
0.0%

crates/prbot-core/src/bot_commands/commands/admin/admin_set_default_automerge.rs
1
0.0%

crates/prbot/src/commands/debug/mod.rs
1
0.0%

crates/prbot/src/commands/server.rs
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
12984

Relevant Lines:
17152

💛  - Coveralls


Array variable shared between instances

Operating system or device, Godot version, GPU Model and driver (if graphics related):
master, linux
Issue description:
I have a script that I load and then instance it with .new().
It's only job is to initialize an array with Array() and then append to it the number 1.
When I instance the script many times, the array just keeps growing in size, like it is a static variable and is shared between the instances.
Link to minimal example project:
array_test.zip

I can confirm this, using [] instead of Array() makes it work as expected.
Also it's the same with Dictionary() and {}

Probably related: #4114

@Noshyaar Not related, this is actually the opposite issue. The other issues had problems with COW-mode Array(), this issue is something deeper...

I guess it could be hacked to be interpreted as a construct
On Wed, Sep 20, 2017 at 9:00 AM, Bojidar Marinov<EMAIL_ADDRESS>wrote:

@Noshyaar https://github.com/noshyaar Not related, this is actually the
opposite issue. The other issues had problems with COW-mode Array(), this
issue is something deeper...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/11400#issuecomment-330829891,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z25V1r1-UfC8slleq1pBh6dPYRk_eks5skP5HgaJpZM4Pbhz9
.

The easiest way to fix this is to tweak GDParser and look for assignment of a TK_PR_VAR with a ConstantNode. If it's an array or dictionary, change it for ArrayNode and DictionaryNode:
Relevant code sections:
https://github.com/godotengine/godot/blob/master/modules/gdscript/gd_parser.cpp#L2421
https://github.com/godotengine/godot/blob/master/modules/gdscript/gd_parser.cpp#L3179
Alternatively (and this is probably simpler), we could just forbid Array or Dictionary constructors, relevant code here:
https://github.com/godotengine/godot/blob/master/modules/gdscript/gd_parser.cpp#L592

I think I have the fix.  I just ran a test project with an version before my fix and I am able to recreate the problem.  After my fix it works as you would expect.

Fixed by #12845.


6.4.0 Version crashes with error Cannot read property 'subscriptions' of undefined

Current Behavior
After updating ganache from 6.2.5 to 6.4.0 while running tests its crashing with error "Cannot read property 'subscriptions' of undefined".
TypeError: Cannot read property 'subscriptions' of undefined
node_modules/ganache-cli/build/ganache-core.node.cli.js:130:151516
looking at code its
https://github.com/trufflesuite/ganache-core/blob/e17046e16d41e8a758cbebb13d8a98fb0c7795d3/lib/webSocketServer.js#L102
I think its the similar to https://github.com/trufflesuite/ganache-core/issues/213

@olaf89 Thanks for letting us know. I'll do another release later today to fix this!

Thanks for such a fast fix, i tested new version and previous issue is gone but its still sometimes fails in another place.
Here is a line which fails:
https://github.com/trufflesuite/ganache-core/blob/5877f32e212a6408afc47cc7ac89d92802b1f0f0/lib/webSocketServer.js#L87

Thanks @olaf89 for testing so quickly! I've got a new branch of ganache-core that refactors our webSocketServer here that should gaurd against all of these kinds of failures: https://github.com/trufflesuite/ganache-core/tree/websocket-refector (please excuse the "refector" typo... it was as late night :-D )
I'm curious what you testing code looks like. Are you using Truffle? This bug is triggered if something closes the webSocketServer connection while simultaneously calling eth_subscribe and/or eth_unsubscribe.

I am running e2e tests where dev server and ui are using ganache-cli over websockets. I am not using truffle. I do snapshot revert and reset connection in between tests so probably thats the reason.

I created a pr to fix this issue. If you could please take a look and let me know if that is ok or how it should behave in this scenario. I think maybe it would be better when the server would return some kind of error.

Could someone give me feedback about my pr? https://github.com/trufflesuite/ganache-core/pull/385 I tested it on my app and it solved the problem. At the moment i have to use forked cli so it would be awsome if this issue could be solved.


Hi

I would like to contact you. Please provide me with your info. Or add me on discord PandaLord#5413 @cynecx

@cynecx

@cynecx please contact<EMAIL_ADDRESS>

@cynecx i would like to hire you for a project please contact me

@cynecx how do I contact you . I need work done. Are you msnduy or duyan. I worked with you on envy products long ago

@cynecx<EMAIL_ADDRESS>email me. 150$ work I need please


How to change CVL?

Hi, i want to balance my cells. But the battery aggregator limit CVL to 54v. For balancing i need 55.3v
My BMS and DVCC is settable but for the aggregator i cant. How can i do this?

Currently, to avoid overvoltage, the aggregator picks the lowest voltage. I should be able to detect balancing and pick the highest to fix this.

It will also detect balancing if not the BMS is balancing but an additional NEEY Balancer?

See if v2.8 helps.

Seems to work

It's not working anymore. DVCC is set to 55.3v to balance but the BatteryAggregator has 54v

I want to have DVCC settings as a primary value. Is this possible?

Switch to head and try v3.0.55. I've added dvcc support.

I have installed it and will watch it. Many thanks for your quick response

Hello,
i have the same issue. How can i install v3.0.55? SetupHelper shows only v3.0.52 as latest.
Thanks and greetings
Kris

Just change branch to main
superkrischi @.***> schrieb am Do., 9. Mai 2024, 19:21:

Hello,
i have the same issue. How can i install v3.0.55? SetupHelper shows only
v3.0.52 as latest.
Thanks and greetings
Kris
—
Reply to this email directly, view it on GitHub
https://github.com/pulquero/BatteryAggregator/issues/23#issuecomment-2103085314,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADI6EC7SKBYCC677TGCVTE3ZBOWAHAVCNFSM6AAAAABEAB73O2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGA4DKMZRGQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Closing as no further issues reported.

Im still in MAIN and it worked very good until the last update to 3.0.66 with taking the CVL setting of DVCC into account.
But with 3.0.66 my batteries are just charged very slow with 45A max. When i change the battery monitor of DVCC to some battery pack it is starting to charge with full possible power to my CVL.
What has been changed?

The change in v3.0.66 should only affect use of the auxiliaryServices option. I think the issue maybe to do more with that BatteryAggregator restarted. I've just pushed a fix that I think will fix your issue, you should see CCL updates now in the log that'll ensure it is set to the correct value.

Thanks, i just installed 3.0.67 and will watch. But the CVL setting of DVCC is still not taken.

What about CCL? Are there CCL updates in the log?

That is the output:
cat /var/log/BatteryAggregator/current
@4000000066693df52654187c INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@4000000066693df526543ba4 INFO:com.victronenergy.battery.aggregator:Current ratios: [(2.6610937228150093, 'ir'), (3.1768595449884347, 'ir'), (3.2316610448230927, 'ir')]
@4000000066693df526545314 INFO:com.victronenergy.battery.aggregator:CCL estimates: [226.1929664392758,<PHONE_NUMBER>2401696,<PHONE_NUMBER>0996285]
@4000000066693df526563774 INFO:com.victronenergy.battery.aggregator:Individual DCLs: {'com.victronenergy.battery.ttyACM0': 95.0, 'com.victronenergy.battery.ttyACM1': 95.0, 'com.victronenergy.battery.ttyACM2': 95.0}
@4000000066693df5265652cc INFO:com.victronenergy.battery.aggregator:Connected batteries: ['com.victronenergy.battery.ttyACM0', 'com.victronenergy.battery.ttyACM1', 'com.victronenergy.battery.ttyACM2']
@4000000066693df526566a3c INFO:com.victronenergy.battery.aggregator:Current ratios: [(2.6610937228150093, 'ir'), (3.1768595449884347, 'ir'), (3.2316610448230927, 'ir')]
@4000000066693df5268912fc INFO:com.victronenergy.battery.aggregator:DCL estimates: [252.80390366742589,<PHONE_NUMBER>739013,<PHONE_NUMBER>581938]

Unfortunatley it doesn't changed. It is charging with very low A

There is enough PV power available. It is just consumed 100 % because the battery charging ist limited by the aggregator and my dynamic powered water heater is taking the surplus.

I've added a dedicated cvlMode to track the DVCC voltage. If you set {"cvlMode": "dvcc"} in config then the battery aggregator should track whatever you dynamically set the Max charge voltage to.

{
"cvlMode": "dvcc",
"currentRatioMethod": "count"
}
Note the trailing comma.

Charging with CVL of DVCC and high A is back again. Many thanks


[DotNet][Datetime] Remove Dutch unused regexes

Remove unused regexes from Dutch extractors. This was a split from PR #1421, the reasons were explained on that PR.

I'll temporarily close the 4 PRs (#1407, #1408, #1421, #1426) related to removing regexes as there was no time to properly review and many folks here will be on a week-long holiday this week. I'll re-open when everyone is back.
Sorry for the delay.


Use Towncrier to generate the unstable changelog

Why we should use Towncrier:

Towncrier makes it nearly impossible to have a merge conflict on the changelog
Generating changelogs is so much easier

This still requires a contributor to open a pull request before they can add to the changelog, however that seems to have worked okay up until now and there's not really a way around it.
A rendered version of the spec is available here: https://pr1389.matrix-spec.t2host.io
Fixes https://github.com/matrix-org/matrix-doc/issues/1303
Notable changes

The changelog format is different now (towncrier is a little opinionated about the format, but it is at least clean)
The project now uses Python 3, which means everybody needs a new virtual environment, including any automated builds.
If you haven't guessed by now, Towncrier is used for changelogs

A bunch of lists have been removed, and potentially improvements in the area of towncrier exploding on us. @richvdh please take a look when you get a chance.

Should now be python 3.4 compatible

FWIW, the porting looks reasonable. I don't love towncrier being used through popen though, but that's on me for not providing a scripting based API :)
If you want to change the changelog format, you can provide it another template, although I believe towncrier's default is probably worth keeping for its uniformity.

A scripting API would be a big +1 from me :)  The default format (within reason) is useful for the actual changelog we generate at release-time, so the build process gets to be the exception and strip out headers.

@hawkowl if you're comfortable with it, an approval on this would be great btw :)

Have addressed your review: the tldr is python 3.4 works with matrix-doc, so we don't need any of the python 3.5 stuff that was geared towards Travis CI.


remove old plant suggestion endpoint

Tasks

[ ] remove old plant suggestion endpoint

Use case
No response
Related Pull request
No response

@badnames we already have a specific task for this

Fixed in #951.


change EF Identity namespace

Hi @lambidu, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:shipit:
@lambidu  Thanks!


add ifdef guard to avoid errors

Error happens when VKFW is included with the flag NO_INCLUDE_VULKAN{_HPP}

Thanks for the PR!


Import Data.Monoid for (<>)

I wasn't able to compile gutenhasktags. This fixed it. =)

@spaceships I guess you must be using a newer stackage version right? It looks like optparse-applicative used to export <> but no longer does
http://hackage.haskell.org/package/optparse-applicative-<IP_ADDRESS>/docs/doc-index-60.html
http://hackage.haskell.org/package/optparse-applicative-<IP_ADDRESS>/docs/doc-index-60.html
Could you tweak your PR to make it a qualified import i.e. import Data.Monoid ((<>)) which would hopefully avoid this kind of issue in future. Thanks

Done, thanks!

Thanks for this, merging now


[BUG] Crashes on dedicated server

When run on a dedicated server, client-specific code (https://github.com/Virus5600/Defensive-Measures-Mod/blob/main/src/main/java/com/virus5600/DefensiveMeasures/entity/ModEntities.java#L80) is run causing it to crash.
To Reproduce
Just run it on a dedicated server
latest.log

It's because of compatibility issues with Quilt. Apparently, the code used a Fabric exclusive code that caused compatibility with Quilt resulting to a crash. Sorry but there's currently no plan to port the mod from Fabric to Quilt.

Re-opening due to a duplicate bug from a fabric loader. I apologize for assuming this was a compatibility issue with quilt. I'll do my best to fix this one as well.

Hello, you can now download the updated version here:
https://www.curseforge.com/minecraft/mc-mods/defensive-measures/files/4372197


Issue with asar packaging (after 'prolonged' use, files start to ENOENT)

This issue occurs on both Electron v30.0 and v33.0 but only reproducible on Windows (x64). We have tested extensively on OSX and can't reproduce but Windows 32-bit and Linux are untested.
Essentially we have an application with lots of image resources packaged into the .asar archive. Our application will frequently load images from the archive - depending on state in our application, we completely unload assets from memory so we are often re-requesting them. We have used both XHR + file:// requests and the fs module directly and the result is the same.
After some time (ie continued / frequent requests of assets) - the files start to ENOENT as if they don't exist. Once the files start to ENOENT, they can never be read again unless the application is restarted. How long this takes to occur may vary but it is almost 100% reproducible for us.
If we disable asar packing and just bundle without the asar, the issue does not occur.
Not clear if the issue lies inside Electron's asar.coffee or the asar implementation itself. It does not appear the asar archive becomes corrupt (as it works fine when you restart) but something is breaking the reading of files.
You basically see something like below, despite the fact that all the files obviously exist:
vendor.js:11 Error: ENOENT, src\resources\units\neutral_beastdarkharbinger.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)
vendor.js:11 Error: ENOENT, src\resources\units\neutral_golembloodshard.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)
vendor.js:11 Error: ENOENT, src\resources\units\neutral_mechaz0rcannon.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)
vendor.js:11 Error: ENOENT, src\resources\units\neutral_chaoselemental.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)
vendor.js:11 Error: ENOENT, src\resources\units\neutral_monsteroculus.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)
vendor.js:11 Error: ENOENT, src\resources\units\neutral_golem_crossbones.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)
vendor.js:11 Error: ENOENT, src\resources\units\neutral_golemstone.png not found in C:\Users\m\app\v1.0.18\resources\app.asar(…)

I can try to write up a standalone test case that reproduces this behavior if necessary.
Just again tested on 33.1 (noting the other bug fix in the asar code) but it still happens.

I'm having quite the same problem in Windows 7. See here:
https://discuss.atom.io/t/windows-7-dom-shadow-issues-on-v1-0-15/21021/2

A test case would be awesome, it is quite mysterious to me since the asar code is exactly the same on all platforms.

@zcbenz It'll take some time to wire up a test case that emulates our actual usage but if it would be helpful - I can Skype/Hangout with you and demo you the issue. Nonetheless, will try to write up a test case.
Note @cluxter, at first we thought this was an issue with FDs leaking but we do not get EMFILE errors, the files 'disappear' with ENOENT. My experience debugging on Windows is pretty limited but used Sysinternals tools to inspect the open file descriptors and there does not appear to be anything out of the ordinary there.
I'm not sure if Windows has a hard limit on FDs similar to *nix that can configured with ulimit -n, any ideas on this @zcbenz ?

@zcbenz I was just looking https://github.com/atom/electron/commit/d8d7e5b9bb11e4959dd4fe04602ed83b6b022e1d#diff-ace709cf496d188d302a87b24d26e383R271 which calls _open_osfhandle.
Do those handles returned need to be eventually closed somehow? Could they possibly be leaking when archive.getFd() occurs a lot and then causing EMFILE errors to be masked as ENOENT issues inside asar?

If anyone has suggestions on how to test / count file descriptors on Windows, I can definitely investigate further. From my initial debugging, it was difficult to tell if I had reached a limit (not even really sure how/what this limit is on Windows). It does appear that the asar code will gobble up the errors and just return ENOENT but cannot confirm.

Okay, I was able to reduce this a bit and reproduce on Windows 8.1 using Electron 0.33.1 64-bit:
Run the following from the dev tools in the default Electron app:
for(var i = 0; i < 10000; i++) require('fs').readFileSync(require('path').join(process.resourcesPath, 'atom.asar', 'renderer', 'api', 'lib', 'ipc.js'))

The ENOENT errors seems to start after around ~3,000 fs.readFileSync calls.
Here is a screenshot showing it working the first time, then trying to call it over and over in loops of 1000 and then it stops working altogether:

Do those handles returned need to be eventually closed somehow? Could they possibly be leaking when archive.getFd() occurs a lot and then causing EMFILE errors to be masked as ENOENT issues inside asar?

It is exactly the cause of this bug, great job!

Thanks a lot guys! I hope the v1.0.17 for Windows will be out soon so we can test it. Also the v1.0.16 is not usable on Windows so this is quite important.


Fix style test and integration test

Add unit test for Credentials parsing
Fix style in write.rs
Improve error reporting for download_google_jwks

Very happy to see that you put this PR up! This was on my TODO list to see if there was a way to get these integration tests more reliable.
Integration tests like this can sometimes be difficult to work with in these situations where there are dependencies on 3rd party tools like Firebase. In the past in other orgs that I've worked at, we don't run these kind of integration (or sometimes called functional tests) by default. If you do want to run these its up to the dev to follow instructions on how to get it running locally.

Very happy to see that you put this PR up! This was on my TODO list to see if there was a way to get these integration tests more reliable.
Integration tests like this can sometimes be difficult to work with in these situations where there are dependencies on 3rd party tools like Firebase. In the past in other orgs that I've worked at, we don't run these kind of integration (or sometimes called functional tests) by default. If you do want to run these its up to the dev to follow instructions on how to get it running locally.

Not done yet, should mark this PR as Draft. The old private key was no longer working, I had accidentally removed the associated firebase admin account.

Not done yet, should mark this PR as Draft. The old private key was no longer working, I had accidentally removed the associated firebase admin account.


Add indication of volume sources being copy in the cli

Can be something like:
copying ${volume.source}............done

done


rename expiry/start to expiresOn/StartsOn

Fixes #8041
Added the same generator.ts bug fix that was added in https://github.com/Azure/azure-sdk-for-net/pull/8067 as that has not been merged yet.

/azp run net - storage - ci


--features defmt precludes running firmware without it

When probe-run has the defmt feature enabled, using it to run a firmware that uses rtt-target results in Error: defmt version symbol not found then probe-run exits.
To Reproduce
Steps to reproduce the behavior:

Install probe-run with --features defmt
Build an ELF that uses RTT, but not defmt
probe-run elf_from_step_2 --chip SOMECHIP

Expected and observed behavior
I'd expect to see either the same behaviour as when probe-run is not built with --features defmt, perhaps with a warning to the effect of "defmt version symbol not found, falling back to raw RTT".  Actually, an error message is displayed and probe-run exits.
config.toml
[build]
target = "thumbv6m-none-eabi"

[target.thumbv6m-none-eabi]
runner = "probe-run --chip ATSAMD21G18AU"
rustflags = [
  "-C", "link-arg=-Tlink.x",
]

Probe details
➜  main git:((aba2ddc...)) ✗ probe-run --list-probes
The following devices were found:
[0]: STLink V2-1 (VID: 0483, PID: 374b, Serial: 0670FF505055877267123015, STLink)

Operating System:
Linux (Ubuntu 20.04)
ELF file (attachment)
codecraft_demo.zip
Additional context
I'm totally digging probe-run and defmt, thanks for making and sharing it!

Thanks for the report! I've opened https://github.com/knurling-rs/defmt/pull/224 with a fix for this.

https://github.com/knurling-rs/probe-run/pull/92 updates defmt to get the fix. @ianrrees can you test if this is now working again?

Thanks for the quick fix @jonas-schievink , it works great!


Standardize CI 20200203

cleanup .gitignore
implement Travis like in skel (separate phpstan job, --prefer-lowest in matrix)
implement composer like in skel
apply cs-fixer changes

I added a commit "Use at least current phpunit minor versions"
As was done in skel https://github.com/sabre-io/skel/pull/12


Catch error in fetch/asyncData methods for error reporting with Vue.config.errorHandler dont work

Version
v1.4.0
Reproduction link
https://glitch.com/edit/#!/jumpy-boat
Steps to reproduce
Its a must have for error reporting with tools like bugsnag, sentry etc. They register error handlers for Vue.config.errorHandler but this doesnt get triggered for some reason when error get happened inside fetch/asyncData, maybe in some other nuxt methods dont know.
This error wont be catched. It also wont be catched by general js script error catcher in bugsnag,  nuxt will process it itself and show a error page.
So basically this errors will be lost
If it happens on SSR it can be catched via render:errorMiddleware hook. But it dont work for client.
Same happens in latest edge version.
What is expected ?
Errors trigger errorHandler as in mount
What is actually happening?
Nothing get triggered, error got eaten by nuxt.
Additional comments?
Any workaround?

This bug report is available on Nuxt.js community (#c7070)

We will work on this @aldarund
Thank you for this bug report.

If i am using asynData method and dispatching any action and on that action if i receive 401,404,500 error so nuxtjs will currently throw out of app correct???
For Example:
On my page folder index page
Pages/index.vue
<template>

Component data

</template>

So if i receive 401/404/500 error on store.dispatch('GET_BANNERS'); it will through me out of nuxt app?!!


fix to bail option works properly with hooks

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions.

Description of the Change
With bail option, all tests must be stopped after first test failure. However, bail option doesn't stop hooks such as after or afterEach.

Alternate Designs
I have no idea.

Why should this be in core?
It's a bug. It makes bail works correctly.

Benefits
A user can use bail intentionally.

Possible Drawbacks
No.

Applicable issues
Fix  #3096 .
It is patch release.

Coverage increased (+0.05%) to 90.077% when pulling c5a1d38e5ea821eb320dad24558534b171173161 on outsideris:issue-3096 into d76f490fe2f4b827712a0f8874e9cc702f507db4 on mochajs:master.

I removed done parameter. I will merge this after confirm that CI passed.

IMO, this should be backed out. Believe it's completely wrong.

Why?

bail should call those events you mentioned. if it’s not, I agree it’s wrong. past that, whether more hooks should run is a matter of opinion. some would prefer an immediate process exit with exception, others would like cleanup. but fwiw I’m feeling wishy-washy on it

Think:

if either before/beforeEach fail, don't run test and die.
if test fails, afterEach/after should be run, then die.

If we manage to do the setup, we should be responsible for the teardown.

Was this fix to #3096 overkill, then?  @outsideris?

IMO, it definitely doesn't seem to be semver-patch either.
The "fix" has major ramifications to event logic.

However, I still didn't understand why people want to clean up them when they run Mocha with bail.

If you launch a background server (in setup), it will be using a port. If you terminate without shutting the server down, that port will still be in use. Now you can't trivially restart your test without going back to shell to determine the server pid to kill it manually. Would make --watch (or your nodemon equivalent) rather cumbersome to use, no?

Why the case which you provide is handled by --bail? Without --bail, there is no problem.
I think a purpose of --bail is prechecking for all tests are passed before deployment or publishing like there is no reason to proceed further if there is a failure already.
Please tell me If I missed something. I don't use --bail heavily.

I don't use --bail much either. But I can definitely see it potentially being used with --watch during refactoring.

Users of two cases, only --bail and --bail with --watch have different needs. I guess former case want to stop running at first exception and latter case want to run clean up.
I'm not sure how we handle both cases gracefully in `--bail.


Feat: Add Preloader

Describe the feature
Design and Appearance:

A simple and visually appealing animation.
Should match the overall design language of the application.
Customizable options for color, size, and style to fit different themes.

Functionality:

Should display during the loading of heavy components or data fetching processes.
Must cover the main content area that is being loaded.
Option to show the preloader globally (entire screen) or locally (specific component).

Performance:

Lightweight and optimized to prevent additional load times.
Should not interfere with the loading process of the main content.

Implementation:

Should be implemented as a reusable component.
Easy to integrate with different parts of the application.
Must include appropriate documentation for usage and customization.

Add ScreenShots
My Previous Work:-
https://github.com/subhadeeproy3902/BloxAI/assets/146121869/a6c41891-eabd-4042-8950-4919d17fad90
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@AsmitaMishra24 If u can create a unique loader according to the theme of and the logo
(or do a logo svg creation animation) .... I would be increasing the level of the PR from 1 to 2
And do read Contributing.md

thats cool ... check out our logo ... u can try animating it :) ...

https://github.com/subhadeeproy3902/BloxAI/assets/146121869/79590b3a-6091-4f1c-b990-e65713869b66
@subhadeeproy3902, I have created an animation for the logo. Please take a look and let me know if any changes are needed.

Recording.2024-06-28.223554.mp4
@subhadeeproy3902, I have created an animation for the logo. Please take a look and let me know if any changes are needed.

@subhadeeproy3902

@AsmitaMishra24 Its perfect .... just make the edged sharp ... rest its perfect


chore: updates to relay bump PR

I noticed the target versions of relay dependencies varied in #8337, with some bumping to v10.0.1 and some bumping to v10.1.3.
This PR is based on that branch and bumps the ones that were at 10.0.1 to 10.1.3. It does not fix the failing tests in that branch; this was just a thread I pulled at to see if it would fix them.
It includes removing a patch!!! I felt comfortable removing it because it contains a comment that reads // This patch is just to make an error message more helpful. It can be deleted safely.. In addition, it looks like that area of code has changed between v9 and v10, and the patch would need to be rewritten to keep it.
I'm happy to take time to rewrite the patch if we think it's important; my preference is to remove it and see if the error messages are frustrating and need to be patched again.

Totally agree on removing the patch. Lets trust in the library authors (who work on incredible scale) knowing what's best.


rocks db config error on startup

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[X] 3.2

Mode:

[ ] Cluster
[X] Single-Server

Storage-Engine:

[ ] mmfiles
[X] rocksdb

On this operating system:

[X] Linux

[X] other: archlinux

It appears the rocksdb.use-direct-writes option mentioned here in the "Tuning the RocksDB engine" does not work correctly. The rocksdb.use-direct-reads option works as expected.
[rocksdb]
rocksdb.block-cache-size=12G
rocksdb.use-direct-reads=true
rocksdb.use-direct-writes=true

Oct 03 09:24:08 arangod[9148]: Error while processing config file '//etc/arangodb3/arangod.conf', line #15:
Oct 03 09:24:08 arangod[9148]:   unknown option '--rocksdb.use-direct-writes'
Oct 03 09:24:08 arangod[9148]: Did you mean this?
Oct 03 09:24:08 arangod[9148]:   --rocksdb.use-direct-reads    use O_DIRECT for reading files

Hi,
The option was removed upstream by the rocksdb team - thus we had to remove it too when upgrading.
We should also remove it from the article.

Ok,
Removed. Thanks for reporting.

yep, thanks for the clarification.


Points in the_geom get replaced by new multipoint geometry from lat/long columns on import

STR:

Generate a new dataset
Create two numeric columns for lat/long values
Fill in manually a row with a point in (1,1). Set the lat long columns to "5" both
Export as CSV
Import to CartoDB

Detected behavior:

The old the_geom has been replaced by a new geometry in coordinates (5,5)
The geometry type is no longer a point but a multipoint

Expected behavior:
Downloading a CSV from a CartoDB dataset already geocoded (with the_geom) should generate exactly the same table that was exported.
Other notes:
This issue does not happen with other formats such as GeoJSON.

Related to this revert: https://github.com/CartoDB/cartodb/pull/5965
I'd remove the PROMOTE_TO_MULTI param, test everything and add back the geom_possible_names param.

From @javisantana:

if you export a points table as csv and you reimport it torque does not work because the_geom is imported as multipoint

I'd write some specs for export and re-import cases we want to cover, perform the changes suggested above and smoke-test the resulting branch

Some conclusions here:
Detected behavior:
The old the_geom has been replaced by a new geometry in coordinates (5,5)

This is an expected behaviour. If import guessing is enabled, why wouldn't the system geocode it? We will not take care of inconsistent data in a table. Disable guessing if you don't want this to happen.

The geometry type is no longer a point but a multipoint

This is the issue. Any point generated by Ogr2ogr should not be a multipoint but a point.


feat: add nats event before upload/after read ipfs file

Signed-off-by: Truong Nguyen<EMAIL_ADDRESS>Description:
This PR is giving support some custom hooks on ipfs file
-> An event to modify/process IPFS file before upload
-> An event to modify/process IPFS after read from API
The hooks is optional, If we not listen to these event the content will keeps as the original content
Related issue(s):
Notes for reviewer:

It includes some minor text changes on other components
Checklist

[x] Documented (Code comments, README, etc.)

[ ] Tested (unit, integration, etc.)

@simvalery Please review this PR. Thanks

For merge this pull request, you need to fix all linting errors

Thank you @samuraitruong for the contribution, this is aligned with guardian direction and we would like to accept it. Please could you fix the linting errors, we suggest running ‘yarn run lint’ in all services which would show the errors.


switching to WikiData taxon ranks

Our taxons use imported WikiData identifiers, e.g., "Alligator" is boltz:Q530597. But our taxon ranks do not, e.g., "Genus" is currently kgo:Genus rather than the imported WikiData identifier boltz:Q34740. This is a problem: words like "genus", "order", and "family" have multiple meanings, so we should not be using them as concept identifiers.
We should replace all our taxon ranks (Species through Kingdom) with their WikiData equivalents, e.g., replace kgo:Genus with boltz:Q34740.
Do this in the Devel database so we don't break the existing demo code.

Hi, sorry this is a bit late, but after some debugging, I finally successfully added the nextHigherRank and nextLowerRank for all the taxonRanks, so this should now be a viable property on the server. Additionally, now all taxonRanks utilize the q-value system. The code is viewable here, and the results of the query against the Devel server can be found by typing:
PREFIX kgo: http://solid.boltz.cs.cmu.edu:3030/ontology/
PREFIX rdfs:  http://www.w3.org/2000/01/rdf-schema#
SELECT DISTINCT ?yLabel ?rLabel ?nextHigh ?nextLow WHERE {
?a kgo:taxonName "Animalia"@en.
?y kgo:subTaxonOf* ?a.
?y kgo:taxonName ?yLabel.
?y kgo:taxonRank ?b .
?b rdfs:label ?rLabel .
OPTIONAL{?b kgo:nextHigherRank [rdfs:label ?nextHigh]}
OPTIONAL{?b kgo:nextLowerRank [rdfs:label ?nextLow]}
}
ORDER BY ?yLabel

Well done. I just tried it and it works.
I had to fix the missing angle brackets <> in the PREFIX statements first. After that it worked fine.
Is it time to migrate the Devel graph over to replace the current Demo graph? If you and @nhadlaw agree that this would be a good time, then please go ahead and do it. We should also remove the now spurious triples from Arthur's initial animal test data while we're at it.

Nelly and I do agree that it would be good to migrate the Devel graph over, and I think she'll be working on that today, where I'll also start playing around with the Demo. We had a question about Arthur's triples however; do you want us to delete everything that Arthur wrote in regards to the animal taxonomy––and keep the plant taxonomies etc, or get rid of that too?

Let's keep Arthur's species, including the plants and bacteria, but make sure they're coded the same way as the species you've been importing. He had some ersatz Animal class that he cooked up for our initial testing but we should no longer be using. Let's also keep Arthur's other triples for now, like the corporation info, if they don't conflict with our newer stuff.


Player is not on the side to attack. #4

Hello ! Any predictions to fix?

I will start fix it today

Thank's !!!!

I think you need to pay attention when you enter the portal too. He was testing and the character does not stop after entering the portal, because when he collides with the BoxCollider he ends up not finding the center of the tile where the target is.

Yes, seems like I have to create new monster activity class and player character controller class to control character's move target within grids

Try 1.3 demo, I've added PlayerCharacterController2DAI, you should use it instead of default PlayerCharacterController. For the monster, you should use MonsterActivityComponent2DAI instead of default MonsterActivityComponent.


Add support for libsqlite3 on z/OS

Allows the use of the libsqlite3 tag on z/OS

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.16%. Comparing base (18cdded) to head (70dbb21).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1239   +/-   ##
=======================================
  Coverage   47.16%   47.16%
=======================================
  Files          12       12
  Lines        1533     1533
=======================================
  Hits          723      723
  Misses        669      669
  Partials      141      141

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Looks like an unrelated test failure

yeah, merging. Thank you

HI @dustin-ward
Did you manage to make it work on zos ? I have been banging my head for 3 weeks straight trying to make this work. Knowing that is possible would be great!!
Thank you in advance.

Hey @Benjamin-Barda
Yes it is absolutely possible to get go-sqlite3 running on zOS. You’ll have to forgive me because it’s been a while since I’ve been involved with the project, but IIRC the best way to get it working was to first compile sqlite3.c into an archive and link the final go executable with it (You might have to try a couple of different C compilers… I remember one of clang or xlclang didn’t work for me)

At the end it was a little tricky to get it running on z/OS.
I ended up modifying the vendored library by replacing in both sqlite3-bindings.c/h the following definitions
#define SQLITE_ERROR_MISSING_COLLSEQ   (SQLITE_ERROR | (1<<8))
...
...
#define SQLITE_OK_SYMLINK              (SQLITE_OK | (2<<8)) /* internal use only */

with their resolved values. This made it work with xlclang along with the following compilation flags
-std=gnu99 -m64 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_SOURCE=600 -DHAVE_NANOSLEEP=0"

I know this is a bit rough but I could not get it working with a precompiled library.
I leave this here given that there are few resources for z/OS and go.
A P.R might be possible to add it but I do not know how many people would be intrested.


New version: GMT v0.13.1

Registering package: GMT
Repository: https://github.com/GenericMappingTools/GMT.jl
Created by: @joa-quim
Version: v0.13.1
Commit: ac793783c98230b03788cd14734b76e08170e661
Reviewed by: @joa-quim
Reference: https://github.com/GenericMappingTools/GMT.jl/issues/327

@joa-quim This PR skips 0.13.0. Is that intentional?


Issue loading vertices

OrientDB Version: orientdb-community-2.2.16
Java Version: Java 8 Update 91
OS: Mac Os Sierra 10.12.3
Expected behavior
Vertex has all the info.
Actual behavior
I'm using oetl.sh with JSON to load data on an OrientDB remote server. For some reason oetl.sh sees an edge that doesn't have the source/destination yet and adds the missing vertex. When it actually encounters the missing vertex in the json file it just skips it. So I am missing the attributes for that vertex.
Steps to reproduce
This happens only sometimes, not always.
Here is a snippet of the debug.
[444:merge] DEBUG Transformer input: {inherits:[0],kind:ComponentAssembly,name:DesignContainer_Full_Earm_cfg2,contains:[142],connects:[0],references:[0],edgeProperties:[0],guid:{338e3a27-7a66-492d-8fce-d356c35c28b6},type:model,id:id-0065-00000420}
[444:merge] DEBUG joinValue=id-0065-00000420, lookupResult=null
[444:merge] DEBUG unresolved link!!! 0
[444:merge] DEBUG Transformer output: {inherits:[0],kind:ComponentAssembly,name:DesignContainer_Full_Earm_cfg2,contains:[142],connects:[0],references:[0],edgeProperties:[0],guid:{338e3a27-7a66-492d-8fce-d356c35c28b6},type:model,id:id-0065-00000420}
[444:vertex] DEBUG Transformer input: {inherits:[0],kind:ComponentAssembly,name:DesignContainer_Full_Earm_cfg2,contains:[142],connects:[0],references:[0],edgeProperties:[0],guid:{338e3a27-7a66-492d-8fce-d356c35c28b6},type:model,id:id-0065-00000420}
[444:vertex] DEBUG Transformer output: v(Entity)[#18:198]
[444:edge] DEBUG Transformer input: v(Entity)[#18:198]
[444:edge] DEBUG joinCurrentValue=id-0065-000004f2, lookupResult=null
[444:edge] DEBUG created new vertex=Entity#19:198{id:id-0065-000004f2} v1
[444:edge] DEBUG created new edge=e[#23:43][#18:198-Containment->#19:198]
[444:edge] DEBUG joinCurrentValue=id-0065-000004f5, lookupResult=null
[444:edge] DEBUG created new vertex=Entity#20:198{id:id-0065-000004f5} v1
[444:edge] DEBUG created new edge=e[#24:43][#18:198-Containment->#20:198]
[444:edge] DEBUG joinCurrentValue=id-0065-000004f8, lookupResult=null
[444:edge] DEBUG created new vertex=Entity#17:199{id:id-0065-000004f8} v1
[444:edge] DEBUG created new edge=e[#21:44][#18:198-Containment->#17:199]
[444:edge] DEBUG joinCurrentValue=id-0065-000004fb, lookupResult=null
[444:edge] DEBUG created new vertex=Entity#18:199{id:id-0065-000004fb} v1
[444:edge] DEBUG created new edge=e[#22:44][#18:198-Containment->#18:199]
[444:edge] DEBUG joinCurrentValue=id-0065-000004fe, lookupResult=null
[444:edge] DEBUG created new vertex=Entity#19:199{id:id-0065-000004fe} v1
[444:edge] DEBUG created new edge=e[#23:44][#18:198-Containment->#19:199]
[444:edge] DEBUG joinCurrentValue=id-0065-00000501, lookupResult=null
[444:edge] DEBUG created new vertex=Entity#20:199{id:id-0065-00000501} v1
[444:edge] DEBUG created new edge=e[#24:44][#18:198-Containment->#20:199]

extracted 946 entries (16 entries/sec) - 946 entries -> loaded 444 vertices (16 vertices/sec) Total time: 16036ms [0 warnings, 0 errors]

In the json file i am trying to load
{"inherits": [], "kind": "ComponentAssembly", "name": "inhibit  # C8 + BAR/BAX <--> BAR/BAX:C8 __inhibit", "contains": ["id-0065-000004f3", "id-0065-000004f4", "id-0066-000001b9", "id-0066-000001ba", "id-0066-000001bb", "id-0067-000007d7", "id-0067-000007d8"], "connects": [], "references": [], "edgeProperties": {}, "guid": "{c4078e7a-a99c-431f-8a0f-b9e0b465da70}", "type": "model", "id": "id-0065-000004f2"}
But in the resulting orientdb database id-0065-000004f2 is missing kind, name etc.

Hi, Do you know how much longer this will take to fix? oetl.sh is unpredictable without this fix.

the query to get vertices that are mis-inserted:  "select from v where kind is null"
Archive.zip

All is woking fine here, but I switched off parallel execution AND I used plocal
odb-frank:7191 frank$ ~/local/orientdb/orientdb-community-2.2.17/bin/console.sh

OrientDB console v.2.2.17-SNAPSHOT (build UNKNOWN@re7562eaab24ebfbebf10c2a819f660c3b584ac98; 2017-02-16 09:22:14+0000) www.orientdb.com
Type 'help' to display all the supported commands.
Installing extensions for GREMLIN language v.2.6.0

orientdb> connect plocal:..../database admin admin

Connecting to database [plocal:..../database] with user 'admin'...OK
orientdb {db=database}> select from v where kind is null

0 item(s) found. Query executed in 0.347 sec(s).
orientdb {db=database}>

Using 2.2.17:

From the oetl.sh log searching for id-0065-0000a29f:
"[111:merge] DEBUG Transformer input: {guid:{0bd6349f-37e9-4258-b3a8-8b3f4dd4159c},edgeProperties:[0],kind:ComponentAssembly,references:[0],connects:[0],attributes:[8],contains:[36],type:model,id:id-0065-0000a29c,name:DC_Spacecraft_V2_cfg2,inherits:[0]}
[111:merge] DEBUG joinValue=id-0065-0000a29c, lookupResult=null
[111:merge] DEBUG unresolved link!!! 0
[111:merge] DEBUG Transformer output: {guid:{0bd6349f-37e9-4258-b3a8-8b3f4dd4159c},edgeProperties:[0],kind:ComponentAssembly,references:[0],connects:[0],attributes:[8],contains:[36],type:model,id:id-0065-0000a29c,name:DC_Spacecraft_V2_cfg2,inherits:[0]}
[111:vertex] DEBUG Transformer input: {guid:{0bd6349f-37e9-4258-b3a8-8b3f4dd4159c},edgeProperties:[0],kind:ComponentAssembly,references:[0],connects:[0],attributes:[8],contains:[36],type:model,id:id-0065-0000a29c,name:DC_Spacecraft_V2_cfg2,inherits:[0]}
[111:vertex] DEBUG Transformer output: v(Entity)[#19:66]
[111:edge] DEBUG Transformer input: v(Entity)[#19:66]
[111:edge] DEBUG joinCurrentValue=id-0065-0000a29d, lookupResult=null
[111:edge] DEBUG created new vertex=Entity#20:66{id:id-0065-0000a29d} v1

extracted 613 entries (1 entries/sec) - 613 entries -> loaded 111 vertices (1 vertices/sec) Total time: 19067ms [0 warnings, 0 errors]
[111:edge] DEBUG created new edge=e[#21:20][#19:66-Containment->#20:66]
[111:edge] DEBUG joinCurrentValue=id-0065-0000a29f, lookupResult=null
[111:edge] DEBUG created new vertex=Entity#17:67{id:id-0065-0000a29f} v1
[111:edge] DEBUG created new edge=e[#22:20][#19:66-Containment->#17:67]
[111:edge] DEBUG joinCurrentValue=id-0065-0000a2a1, lookupResult=null
"

I was able to reproduce the issue, don't know why it happens yet.
In the meanwhile, my suggestion is to bulk load using plocal.

I am using pyorient atm ( also due to the fact that I cannot figure out how to configure the loader template to add different properties on different edges. e.g. edgeProperties": {"id-0067-000001bf": "Built", "id-0067-00000462": "Built"}  So I am adding that dictionary as a property on every Connection edge with src. e.g. The [id-0067-00000456,  id-0067-000001bf] edge has the  {"id-0067-000001bf": "Built", "id-0067-00000462": "Built"} edge property, and the [id-0067-00000456, id-0067-00000462] has the same {"id-0067-000001bf": "Built", "id-0067-00000462": "Built"} edge property.  Instead I would want the [id-0067-00000456,  id-0067-000001bf] edge to have the "Build" edge property, and the [id-0067-00000456, id-0067-00000462] to have the "Build" edge property. I will submit that as a new request).

Hi @danciui , I found a solution to let the configuration work on remote.
I simply add a unique index on entity id

  "classes": [
        {
          "name": "Entity",
          "extends": "V"
        },
        {
          "name": "Containment",
          "extends": "E"
        },
        {
          "name": "Connection",
          "extends": "E"
        },
        {
          "name": "Inheritance",
          "extends": "E"
        }
      ],
      "indexes": [
        {"class":"Entity", "fields":["id:string"], "type":"UNIQUE" }
      ]

The other good side-effect is a great speedup of the import .
Let me know if it works

Thank you. That workaround worked. This issue is still a bug though and will need to be fixed.

The workaround worked for that file. Here's an example where it doesn't work but maybe for a different reason. id-0067-0000008b does not have kind. Maybe due to https://github.com/orientechnologies/orientdb/issues/7252
Archive 3.zip


no_std environment is unusable

When using the crate with a no_std environment either from the dependency itertools still asks for std, contradicting the readme.
compiled with rust toolchain nightly-2024-02-20 on windows
error
error[E0463]: can't find crate for `std`
  --> C:\Users\----\.cargo\registry\src\index.crates.io-6f17d22bba15001f\either-1.10.0\src\lib.rs:19:1
   |
19 | extern crate std;
   | ^^^^^^^^^^^^^^^^^ can't find crate
   |

cargo.toml dependencies
[dependencies]
ieee80211 = {version = "0.1.3", default-features = false }
scroll = { version = "0.12.0", default-features = false }

Oh, thanks for pointing this out, I'm going to look into it right away.

Fixed with c3500af. Thanks a lot! itertools wasn't actually necessary anymore and removing it resolved the issue. I also introduced a test, which only compiles if no_std is operational.


Fix bug not adding baseParams to params for multiple NIC Results

Issue:
End up requiring parameters that aren't there and script stops working.
Fix:
Add in the $baseParams to the $params

#994


Update all plugins once iOS 8 support is dropped

Once Flutter stable no longer supports iOS 8, we should update all the 1P plugins to match. This will eliminate the issue of deprecation warnings from the plugins in the now-common case where people build with projects that use iOS 9 as the minimum.
Currently all of our plugins support iOS 8 so this will affect every plugin that supports iOS, although we'll only need to update  the deprecated plugins if at some point we have CI issues with the iOS 8 support.
When we do this, we should make sure the READMEs prominently list the minimum iOS version (see also https://github.com/flutter/flutter/issues/34999)

We should probably also update the minimum Flutter version at the same time so that we guarantee that nobody trying to build for iOS 8 with an older version of Flutter resolves to a newer version of the plugin.

@nguyenlamzx in https://github.com/flutter/plugins/pull/4335#issuecomment-925332697 says this cause problems when dependency resolving with other packages:

@jmagman can we keep the previous sdk constrains? because there're many packages didn't update to sdk and I using this package along with other packages.
For now, I use old version image_picker: 0.8.4+1 to be able to install successfully

@stuartmorgan for comment.

https://github.com/flutter/plugins/pull/4334 was the last one.  Closing as fixed.

@nguyenlamzx I'm not clear on what exactly the issue you have is. There's no requirement that all packages you use have the same minimum SDK version. What specifically are you trying to do, and what is the error message?


Switch to termbox for rendering.

This will require a rewrite of most of the code, but the trade off here is worth it as termbox is a much cleaner library than ncurses.

I also want to note that termbox is unmaintained but there's nothing that needs changing about it so its fine to use.

I also want to note that termbox is unmaintained but there's nothing that needs changing about it so its fine to use.


Detected blocking call to import_module inside the event loop

What version of Adaptive Cover are you using?
1.1.4
What version of Home Assistant are you using?
core-2024.5.0
Checklist

[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
See dump
Reproduction steps

...
Diagnostics dump
I found this in the logs ...
Logger: homeassistant.util.loop
Source: util/loop.py:99
First occurred: 16:09:56 (1 occurrences)
Last logged: 16:09:56

Detected blocking call to import_module inside the event loop by custom integration 'adaptive_cover' at custom_components/adaptive_cover/sun.py, line 26: times = pd.date_range( (offender: /usr/local/lib/python3.12/site-packages/pandas/compat/_optional.py, line 132: module = importlib.import_module(name)), please create a bug report at https://github.com/basbruss/adaptive-cover/issues

I am aware of the issue, but for now, I can't find a solution because pandas itself is loading a module inside the event loop.


Excavator is not updating teamviewer-np

The latest version of teamviewer-np is still 15.11.6 while the official release has bumped to 15.12.4.
I can use .\bin\checkver.ps1 teamviewer-np -u to update to latest version, but the excavator seems can't.

The version on the website is probably cached; for me, I still see 15.11.6, but the downloaded setup file is for version 15.12.4. I'll just manually update the version. :smile:

Sadly, the Excavator just committed a downgraded manifest (version 15.11.6) again. Please reopen this issue.

Hm, this is annoying.

#198 seems to still be happening also.


make PPP Fit page limit

Pull Request Test Coverage Report for Build 563

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

Totals

Change from base Build 562:
0.0%

Covered Lines:
2116

Relevant Lines:
3233

💛  - Coveralls


Implement Attributes on Filters/Sorting

This should be possible
[AttributeUsage(
      AttributeTargets.Property,
      Inherited = true,
      AllowMultiple = false)]
    public sealed class MyFilterAttribute : DescriptorAttribute
    {
        protected override void TryConfigure(IDescriptor descriptor)
        {
            switch (descriptor)
            {
                case IComparableFilterFieldDescriptor field:
                    field.BindFiltersExplicitly().AllowEquals().And().AllowNotEquals();
                    break;
            }
        }
    }

[ ] Delete branch of #1276

@PascalSenn  Can we close this one? Or is this still pending?

@michaelstaib  i think this is still on the list


Handling color of navigationBar using ColorStack

UINavigation Controller does not keep navigationBar's color information based on its viewController. It just save current color(barTintColor, tintColor etc).
Problem is, when I change color from second view controller, for example
first VC -> setColorA -> pushVC -> second VC -> setColorB -> goBack to first VC
In this case I have no idea about colorA. So I need to set color from viewWillAppear of firstVC.
My Idea about resolving this issue is, just keep the colorStack of UINavigation Controller's viewController.

I think it does not have that much benefits. So, I will not support this feature.


feat: Add ability to save protobuf plans to disk for debugging

Which issue does this PR close?

Related to https://github.com/apache/datafusion-comet/issues/1098
Rationale for this change

I would like to be able to save protobuf execution plans to disk and then write benchmarks for deserializing and creating physical plans.
What changes are included in this PR?

WIP
How are these changes tested?

Codecov Report
Attention: Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 33.60%. Comparing base (b74bfe4) to head (4197982).
Report is 6 commits behind head on main.

Files with missing lines
Patch %
Lines

...ain/scala/org/apache/comet/CometExecIterator.scala
16.66%
4 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1099      +/-   ##
============================================
- Coverage     34.33%   33.60%   -0.74%
+ Complexity      898      866      -32
============================================
  Files           115      115
  Lines         42986    42940      -46
  Branches       9369     9380      +11
============================================
- Hits          14761    14431     -330
- Misses        25361    25645     +284
  Partials       2864     2864

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Error when running "php app/console cache:clear --env=prod --no-debug"

I'm getting this error when I run php app/console cache:clear --env=prod --no-debug
[Symfony\Component\Config\Exception\FileLoaderLoadException]
[Semantical Error] The annotation "@FOS\RestBundle\Controller\Annotations\GET" in method CampaignChai
n\CoreBundle\Controller\REST\PackageController::getVendorsMetaAction() does not exist, or could not b
e auto-loaded in CampaignChain\CoreBundle\Controller\REST\PackageController (which is being imported
from "/var/www/campaignchain/vendor/campaignchain/core/Resources/config/routing_rest.yml").
[Doctrine\Common\Annotations\AnnotationException]
[Semantical Error] The annotation "@FOS\RestBundle\Controller\Annotations\GET" in method CampaignChai
n\CoreBundle\Controller\REST\PackageController::getVendorsMetaAction() does not exist, or could not b
e auto-loaded.

Hi tipcircle,
how did you install CampaignChain and what are you trying to do? Are you using the latest version?

Hello, I installed it according to the steps here: https://github.com/CampaignChain/campaignchain-ce/blob/master/README.md
I get this error on step 6

Version 1.0.0-beta.3

I think something went wrong during the composer command. Can you please
try again in a new folder starting with step 4 and check if there are any
errors?
You can also try dev-master as it is pretty stable.
Am 04.02.2016 6:39 nachm. schrieb "tipcircle"<EMAIL_ADDRESS>
Version 1.0.0-beta.3
—
Reply to this email directly or view it on GitHub
https://github.com/CampaignChain/campaignchain-ce/issues/22#issuecomment-179960783
.

I tried dev-master and all went very smooth. Thank you.


Beta Unifi Network Application 6.3.51

Beta 6.3.51
For testing only beta firmware

Install command: fetch -o - https://git.io/Jnp9e | sh -s
(install at your own risk, back up your DB first)
Tested on a clean install
OS: OPNsense 21.1.7_1-amd64
FreeBSD 12.1-RELEASE-p18-HBSD
OpenSSL 1.1.1k  25 Mar 2021
CPU type: Intel(R) Celeron(R) CPU 1037U @ 1.80GHz (2 cores)
Tested also on a overwrite version of 6.2.26
comming from 6.2.26 it showed "Migrating database...."
before showing the login for 6.3.51
(you cant downgrade without full erase of 6.3.51)

OS: OPNsense 21.1.7_1-amd64
FreeBSD 12.1-RELEASE-p18-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type: Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 cores)
Updated 6.2.26 to 6.3.51, no issue found, uprade was successfull
(minor warning in installation window)


server: split css into static assets

We need to support multiple styles. This would probably be a good place to start.

closed by #717


Incomplete docs section

https://istio.io/docs/tasks/ingress.html#configuring-secure-ingress-https

remove understanding altogether or beef it up.

Also reported in #161

Resolved by https://github.com/istio/istio.github.io/pull/203.


Bug 2209288: After hub recovery, cant initiate failover

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2209288

/hold

/hold cancel

so, this annotation will never get removed ?? not even during hub recovery ??

so, this annotation will never get removed ?? not even during hub recovery ??

When ramen starts to reconcile, it will add the annotation immediately. In hub recovery they will get this info from s3 object storage and display it as a last remembered application cluster.

/lgtm

/cherry-pick release-4.14

/bugzilla refresh

/cherry-pick release-4.14-compatibility

/test odf-console-e2e-aws

/test odf-console-e2e-aws


Type Inference Bug for Partial Enum Dictionary

Bug Report
There appears to be a type inference bug for partial dictionary objects types expanding to full and partial dictionary objects created from an enum type. The type inference works only during a full dictionary object type being filtered then expanding back to full dictionary object type. I searched for duplicates for type inference bugs and found 2,133 results, making it difficult to know if this is a duplicate report. I provided 4 interesting combinations in the playground link and only 1 of the 4 successfully infers type information correctly.
🔎 Search Terms
Type Inference
Type Inference Partial Enum Dictionary
Type Inference Partial Enum Object
Type Inference Enum Dictionary
Type Inference Enum Object
🕗 Version & Regression Information
v3.5.1 - v4.2.0.dev-20210203 (All Versions supporting new features)
⏯ Playground Link
Playground link with relevant code
💻 Code

type EnumDictionary<T extends string | symbol | number, U> = {
  [K in T]: U;
};

enum Category { A, B, C, D };

function extend<T extends object, U extends keyof T>(obj: Omit<T, U>, property: U, value: T[U]): T {
  return { ...obj, [property]: value }; //Error: Type 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is not assignable to type 'T'. 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'object'.(2322)
}

const b: EnumDictionary<Category.A | Category.B | Category.C, number> = {
  [Category.A]: 1,
  [Category.B]: 2,
  [Category.C]: 3
};

const extendedObjB /*: EnumDictionary<Category, number> */ = extend(b, Category.D, 5); // Error: Argument of type 'Category' is not assignable to parameter of type 'never'.(2345)

🙁 Actual behavior
Compile with type errors
🙂 Expected behavior
Compile without errors

This is a correct error; extend does not fulfill the contract described by its call signature:
declare const s: "m" | "n"
// Legal call to extend
const k: { m: string, n: number } = extend({}, s, 13);
// One of these will definitely fail
k.m.toLowerCase();
k.n.toFixed();

I'm not sure what the source of complaint on extendedObjB is.

@RyanCavanaugh Modifying your example, I can more simply show you the issue. In the below example, variable k in my opinion should infer to be the type of { n: number }. Unless there is something I can't see, the below code should be of type soundness and type inference is not handling this case by mistake or due to the complex nature of the expand function generic types.
function extend<T extends object, U extends keyof T>(obj: Omit<T, U>, property: U, value: T[U]): T {
  return { ...obj, [property]: value }; //Error: Type 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is not assignable to type 'T'. 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'object'.(2322)
}

const k /* : { n: number } */ = extend({}, 'n', 13); //Fix type inference by making variable K type explict `: { n: number }`
console.log(k.n.toFixed()); //Error: Property 'n' does not exist on type 'object'.(2339)

TypeScript Playground Link

There aren't any true inference sites for T; TS cannot "work backwards" from Omit to piece together what you meant.
You could use a definition like this to get the desired behavior:
function extend<T extends object, K extends string, V>(obj: T, property: K, value: V): Omit<T, K> & Record<K, V> {
  return { ...obj, [property]: value } as any;
}

const k /* : { n: number } */ = extend({}, 'n', 13); //Fix type inference by making variable K type explict `: { n: number }`
console.log(k.n.toFixed());

I've tried the new signature and it misses important type information and thus compiles when it should not.
type EnumDictionary<T extends string | symbol | number, U> = {
  [K in T]: U;
};

enum Category { A = 'A', B = 'B', C = 'C', D = 'D' };

function filter<T, U extends keyof T>(obj: T, property: U): Omit<T, U> {
  const { [property]: _, ...newObj } = obj;
  return newObj;
}

function oldExtend<T extends object, U extends keyof T>(obj: Omit<T, U>, property: U, value: T[U]): T {
  return { ...obj, [property]: value } as T; //Error: Type 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is not assignable to type 'T'. 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'object'.(2322)
}

function newExtend<T extends object, K extends string, V>(obj: T, property: K, value: V): Omit<T, K> & Record<K, V> {
  return { ...obj, [property]: value } as any;
}

const a: EnumDictionary<Category.A | Category.B | Category.C | Category.D, number> = {
  [Category.A]: 1,
  [Category.B]: 2,
  [Category.C]: 3,
  [Category.D]: 4
};

const filteredObjA = filter(a, Category.D);
const extendedObjA = oldExtend(filteredObjA, Category.D, 5); // Correctly compiles because `Category.D` is Category type

const filteredObjB = filter(a, Category.D);
const extendedObjB = oldExtend(filteredObjB, 'invalid', 5); // Correct Error: Argument of type '"invalid"' is not assignable to parameter of type 'Category'.(2345)

const filteredObjC = filter(a, Category.D);
const extendedObjC = newExtend(filteredObjC, 'invalid', 5); // New type signature compiles when it shouldn't.

TypeScript Playground Link

function newExtend<T extends Record<K, V>, K extends string, V>(obj: T, property: K, value: V): Omit<T, K> & Record<K, V> {
  return { ...obj, [property]: value } as any;
}

will produce an error on that line
Further questions can be taken to Stack Overflow where there's a larger community of experts ready to help. Thanks!

Further questions can be taken to Stack Overflow where there's a larger community of experts ready to help. Thanks!

Thanks for all your help and suggesting an alternative signature (although less granular). I can certainly work around it but I feel like there should be a simple enough change to properly infer this particular case.

There aren't any true inference sites for T; TS cannot "work backwards" from Omit to piece together what you meant.

function extend<T extends object, U extends keyof T>(obj: Omit<T, U>, property: U, value: T[U]): T {
  return { ...obj, [property]: value }; //Error: Type 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is not assignable to type 'T'. 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'object'.(2322)
}

const k /* : { n: number } */ = extend({}, 'n', 13); //Fix type inference by making variable K type explict `: { n: number }`
console.log(k.n.toFixed()); //Error: Property 'n' does not exist on type 'object'.(2339)

Are you saying that there really aren't any true inference or that it's too complex for TypeScript to figure it out? In my type signature, using my previous example, obj can be inferred to be { n: number } because of the following:
I made up two concepts here: ValueOfObject and PropertyOfObject, where combined = { [PropertyOfObject]: ValueOfObject }
Inference Steps:
let T[U] = ValueOfObject<T> // i.e. 13
let U = PropertyOfObject<T> // i.e. 'n'
let Pick<T, U> = PropertyOfObject<T> & ValueOfObject<T> // i.e. { n: 13 }
let T = Omit<T, U> & Pick<T, U> // i.e. { } & { n: 13 } or { n: 13 }

If this is really working as intended, I would like to request this new feature so that inference can work in this case.

See #30134

function extend<T extends object, U extends keyof T>(obj: Omit<T, U>, property: U, value: T[U]): T {
  return { ...obj, [property]: value }; //Error: Type 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is not assignable to type 'T'. 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'object'.(2322)
}

I noticed a separate issue that I was getting around by casting to T, but looking into it more, seems like it might be related.
The error in the extend function pre-cast is Type 'Pick<T, Exclude<keyof T, U>> & { [x: string]: T[U]; }' is not assignable to type 'T'. It's showing the widened type as { [x: string]: T[U]; } instead of the narrower type { [x: U]: T[U]; } which is not currently a type because { [x: U]: T[U]; } is either interpreted as an index signature or a computed property, instead of a generic non-computed property. A good valid alternative narrower type would be Pick<T, U>. The type Pick<T, Exclude<keyof T, U>> & Pick<T, U> should simplify to T and return without issue. It doesn't even get a chance because it widened too soon and somehow that still doesn't simplify to T.
To summarize I would suggest the following changes:

The use of a function signature like function extend<T extends object, U extends keyof T>(obj: Omit<T, U>, property: U, value: T[U]): T where U and T[U] can infer Pick<T, U> and thus combine with Omit<T, U> to infer T.
The following object { [property]: value } should infer the narrower type Pick<T, U> instead of the wider string index { [x: string]: T[U]; } type.
The type Omit<T, U> & Pick<T, U> or Pick<T, Exclude<keyof T, U>> & Pick<T, U> should be equivalent and implicitly collapse to T.
Optionally, the following type { [x: U]: T[U]; } should be considered a valid generic non-computed property that is equivalent to Pick<T, U>.
Optionally, the language service should show obj type as Omit<T, U> instead of Pick<T, Exclude<keyof T, U>>.

I can open separate GitHub issues if there aren't duplicates already and get good feedback. I think in my case the first 3 suggestions need to work together properly for type inference to work properly in my case with no casts. These are the basic building blocks that would open up possibilities to create rich type safe functionalities based on a closed type system that enums provide in a generic way.
My use case was to create various degrees of state machine fluctuations that I can prove are valid using the TypeScript type system such as a generic type that can adhere to all the possibilities of a graph or a chart.
Use Case Types:
type EnumDictionary<T extends string | symbol | number, U> = {
  [K in T]: U;
};

enum Category { A, B, C, D };

interface ChartSelection<X extends Category, S extends Exclude<Category, X>> {
  xAxis: X;
  yAxis: YAxisType;
  series: S;
  filter: EnumDictionary<Exclude<Category, X | S>, number[]>;
}

With the above types I can then write a generic function that would allow me to alter the state in a way that is type safe and follows all the above constraints.


CSS rem and em

Description 📜

What is the difference between normal pixel values , rem and em

Domain of Contribution 📊

[x] Frontend Dev HTML/CSS/JS

/assign

/assign

/assign

/assign