Property type is not changed into the correct type

This sounds like an awesome package, exactly what I need to get rid of all those IPublishedContent properties and get rid of all my manual overrides!
But...
It doesn't seem to work for me?
I have this MNTP:

And this is the generated property:

The type should be Ambassador here, right?

To be honest, stuff got worse after installing this package.
For example, before I had this generated code:
public IEnumerable<ShopHeroSliderSlide> SliderItems => this.Value<IEnumerable<ShopHeroSliderSlide>>("sliderItems");
Which now became:
public IEnumerable<IPublishedElement> SliderItems => this.Value<IEnumerable<IPublishedElement>>("sliderItems");

Hey Stefan,
Thanks for using SuperValueConverters!
There is a small issue where you have to rebuild and regenerate your models a second time in order for it to discover all the types needed to be returned - this might be what is happening here? Can you try rebuilding your solution and regenerating your models to see if that helps?
If that doesn't work, please let me know your Umbraco version and version of the package you are using.
Cheers,
Callum

I've rebuild the solution 3 times and rebuild the models every time as well, the result is the same.
Where I expect a strongly typed model, it remains IPublishedContent and some strongly types stuff is reverted to IPublishedElement as described in https://github.com/callumbwhyte/super-value-converters/issues/16#issuecomment-673407937
Umbraco v8.6.3, super value converter v2.0.1

Thanks for clarifying!
Just to check also which Models Builder mode you are using?
Cheers,
Callum

The API mode with visual studio plugin

I could really use this strongly typed feature right now, can I help debug?

It would be good if you could try and replicate this on a clean Umbraco install. Blank VS solution > Install Umbraco + the SuperValueConverters from NuGet.
If you can replicate, you should then clone down the source - attach to the process when generating models and see what's going on in this method.
I will be able to have a look at it shortly too, but no guarantees about timeframes unfortunately.

I tested this just now on a clean solution (with MB in PureLive mode I think) and it worked.
So now the question is, why doesn't it work in my solution (using generated models from the API)... Will investigate.

Soooooo I think the problem is generating models via the API in Visual Studio.
I switched to the pre-generated models solution and now this is what gets generated:
public IPublishedContent Person => this.Value<IPublishedContent>("person");

Right, the namespace is the issue!
{
    var value = ConfigurationManager.AppSettings[Prefix + "ModelsNamespace"];

    if (string.IsNullOrWhiteSpace(value) == false)
    {
        return value;
    }

    return "Umbraco.Web.PublishedContentModels";
}

I have my namespace configured via a C# class, as mentioned here:
https://github.com/modelsbuilder/ModelsBuilder.Original/wiki/Control-Generation#models-namespace

Great find @stefankip! I can confirm I can replicate this also on AppData mode.
This seems to be a bit of an oversight in the implementation, and honestly this namespace check and the dependency on Models Builder shouldn't actually be needed at all.
This namespace check is purely there to try and avoid clashes between type names in namespaces we don't care about. The safer solution is surely to only check for types that implement IPublishedElement, and this would actually improve extensibility too as packages could return their own types.
I've been investigating options of switching the logic determining types to Umbraco's IPublishedModelFactory and have a prototype of this working but need a little more time to work out how to replicate the "common interface" logic we have in SuperValueConverters.
For now is it a suitable workaround to set this app setting?

Yeah works fine using the appSetting, so I'll keep that in place for now ;-)


VTag: Use computed property for router link

<router-link
  :to="{ name: 'home-tag', params: { tag: name } }"
  :class="className"
>

Ideally, { name: 'home-tag', params: { tag: name } } should be a computed property and then used like:
<router-link
  :to="homeLink"
  :class="className"
>

Related resources:

https://vuejs.org/v2/guide/computed.html

please assign me to this..

I can tackle this if you don't mind.

PR at #224

Use computed property for router link #231

@andriyfm this PR got error that name is null
We should accept pull request of @kylerits . That PR fix my error


multiparallel implementation can break a task entirely with overly faulty molecules

Despite a rudimentary cleaning of molecules prior to submission for TD calculation via multiprocessing, certain "dirty" molecules will break the task execution.
Either increase cleaning functionality; or add error checking; alternatively use joblib instead (maybe with error correction).

This is for now fixed by using joblib, until further notice (since it's been tested but not fully stress tested).


Upgrade DZNEmptyDataSet to version 1.8.1

Upgrade DZNEmptyDataSet to version 1.8.1

#500

VS bug #780049

@Wenfengcheng Thanks for your patience.  This has now been approved and pushed to Nuget.org
Thanks for your help


Allow customizing module name for namedAmd with function

In my project I have a structure such as:
src/
  - server side code
src/client/
  - app
  - lib
  - assets
  - tests

When setting up broccoli trees for this project, I'm rooting them to src/client and passing globs based with each subdirectory (eg. app/**/*.js, lib/**/*.js, etc). However, I do not want my modules to start with app. In the past I've made this work by changing how I specify the tree for app, by rooting it to src/client/app instead of src/client. However, this means I have an inconsistency in my code just for 1 plugin. By using this function I can replace app from my module names without having to change how my trees are setup.

@joefiorini nice LGTM

released as v1.1.0


[Feature] Un-select row

Summary
Ability to clear selection in a table without having the "multi select" option enabled.
Motivation
In some cases, users would like to remove selection of the selected row.

Is anyone working on this issue?

@Devedunkey you can go for it! I'm assigning it to you :)

During the adjustment, I've figured out the selected row action does not trigger any event. Is it a bug?

Hi, is there any event for the un-select action? I need to clear some store properties loaded on selection

Not yet @diegonc, We only have an event for the selected state
cc @dilippitchika does this sound feasible, Should we think about this in the v2

Created a new issue https://github.com/appsmithorg/appsmith/issues/15891, also @diegonc is it not possible to simply reassign the store value when a new row is selected? What is the use-case here exactly on clearing value on row unselection?

@dilippitchika Sorry, I don't remember exactly right now, it's been a long time since I did any work on appsmith. I recall some fields not being cleared on form submit (the form where the selected row info was shown) but I'm not sure how that worked.

The use-case, is if you were to utilize "on-row selected" to load table/list-item data and then when you "unselect" the tables are allowed to be re-query-ed thus allowing the table to load the "null" or empty data as they should on "row-unselected".


Settings doesn't open

Your Windows build number:  10.0.18890.1000

What you're doing and what's happening: Open windows terminal and down arrow then settings, then nothing happens.

What's wrong / what should be happening instead: Settings should open.

it looks like currently clicking Settings will just open a json file with your default system "open with", for me it is Visual Studio(yes, it does really opening my VS directly),so you may try check this out.

It seems I don't have a default for json. It should probably open the menu that lets you choose what to open it with.

If you don't have a default json editor, it will eventually open the Open With... dialog, but that seems to have a really long time out before it actually shows itself.


upgrade to GHC 8.8

Compiles with GHC 8.10 as well.

Unrelated changes removed. Still needs a version bump too

Unrelated changes removed. Still needs a version bump too


Revert AddressConfig updates

Reverts https://github.com/kgrgreer/foam3/pull/2510

I'm ok with this -- but with the new setup is addressConfig needed at all? Can we just make a model for Brazil in the new setup and remove this?

I'm ok with this -- but with the new setup is addressConfig needed at all? Can we just make a model for Brazil in the new setup and remove this?

I found addressConfig.jrl for BR that is a bit different from US, CA


Add Selection page

here you need to add the selection page for the student to select there department

can you assign me this issue #9


docs: add Star History live graph to readme

star-history is super useful & I love it, but not particularly relevant here. Going to close this, sorry!


Fix for Issue 214

Link to app ID in docs appears to be broken #214
Added correct link to take you to API Key page

🐑


Add test data

Include 10 years of test data for each variable (SLP, SST, Z500, SAT, SSS, PREC).

Closed by #11


pasthrough() dropping ember-ajax data payload

ember-cli-mirage v0.2.3
ember-ajax v2.0.1
I've set ember-ajax up as an injected service in one of my routes, and have it returning an ajax request that has a data object with query params supplied to the backend API.  I do not want mirage to handle this request since it is going to an external endpoint on AWS.  So I am using the passthrough() option in mirage/config.js to ignore all requests to this external host, per the docs.
When mirage is disabled in environment.js, the call works fine and I get data back from AWS.  When mirage is enabled, the request goes out, but the JSON payload containing the query parameters is completely empty (I verified this with tcpdump).
Any idea why this is happening?
Thanks.

I apologize for not responding to this!
I’m trying to get back on top of issues, so for now I’ll go ahead and close this issue since it's quite old.
If you’re still having trouble, please ping me here or on slack @samselikoff and I’ll be happy to reopen + discuss.


size increase in toolchain image (stable/20220421)

This has at least been observed on the Windows toolchain, though is likely to hit the other platforms as well.
installer.exe (pre): 362.16 MB
installer.exe (post): 374.16 MB
The installer uses maximum compression to reduce the distribution size (which is ~2.5 G in the pre case).  This indicates a 12MB compressed, so likely a 25-50M uncompressed size change.

Seems to be about a 10mb increase in all binaries that link with the LLVM libraries:
/System/Library/PrivateFrameworks/LLDB.framework/Versions/A/LLDB	446	456
/usr/bin/swift-frontend	421	431
/usr/lib/sourcekitd.framework/Versions/A/XPCServices/SourceKitService.xpc/Contents/MacOS/SourceKitService	419	430
/usr/lib/swift/macosx/lib_InternalSwiftScan.dylib	414	424
/usr/bin/clang-13	359	371
/usr/lib/libLTO.dylib	191	197
/usr/bin/clangd	147	153
/usr/bin/dsymutil	136	140
/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib	79	80


WINGET doesn't resume very big download file from github.

Brief description of your issue
Windows Package Manager v1.8.1911
winget upgrade Ollama.Ollama -i --source winget
Downloading https://github.com/ollama/ollama/releases/download/v0.3.12/OllamaSetup.exe
██████████████████████▎          493 MB /  663 MB   forever!!!!!!
Tried many times and stucks after 300Mb, 610Mb and then at 230Mb and randomly after hundreds of wasted Mb.
Winget seems freezed and no-way, no option to resume the stopped download.
Waste of time above all and money, for a no flat data traffic.
Steps to reproduce
winget upgrade Ollama.Ollama -i --source winget
Expected behavior
what do You think?
Actual behavior
Unstable!
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.4249
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Enabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

The download is coming from GitHub where the package is published. WinGet doesn't control the download speed. You could try switching from "DO" the default downloader to "wininet" to see if you get better results, or you could try using a proxy.

hi @pulsar14,
I had no issues downloading the exact package on several devices and several internet connections.
What you request is a resume feature in winget for stucked or interrupted downloads, right?

hi @pulsar14,
I had no issues downloading the exact package on several devices and several internet connections. What you request is a resume feature in winget for stucked or interrupted downloads, right?

Thanks thmeyer-msft for your test.
Yes, My problem is with the casual download interruption when file is very big like Ollama upgrades. And although my Internet is available for other stuff there's no possibility to resume the current operation by winget the freeze indefinitely.
My internet connection is not so fast by using 4G WiFi hotspot at 5MB/sec max.
The Win terminal has big limitations and almost no features in resuming and manage long tasks like download big files.
Why don't create a tiny Winget UI App that can save us lot of time without need to insert commands every time and manage resume task as well?
So, to overcome this "Issue" I use a safer third-party Downloader that guarantees me a one-time download without waste my limited internet data traffic that costs.

@denelon - Is this a possible feature for winget version 2?

I remember a few issues related to "cache management" and "faster" downloads. I'm not sure if there is already a feature request for an ability to resume a download. Feel free to create a new feature request for that.


feat!: extend storage read oracle to receive address and block number

Follow up to #7237, closes https://github.com/AztecProtocol/aztec-packages/issues/7230. I only changed the oracles and not the PXE interface to keep this change as small as possible.
I did change the node interface, but made it so you can still do it the old way by passing 'latest', which I had to do in a couple places.
Finally, I added getters for UnconstrainedContext, mirroring the work in #7320, which I imagine are the ones we'll use in the vast majority of cases.

Benchmark results
Metrics with a significant change:

app_circuit_witness_generation_time_in_ms (SchnorrAccount:constructor): 1,669 (+18%)
avm_simulation_time_ms (Token:transfer_public): 34.3 (-33%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_30_ms
11,444 (+1%)
3,097 (+1%)
1,426 (-15%)
1,444 (-10%)
1,607 (+7%)

proof_construction_time_sha256_100_ms
44,025
11,904 (+1%)
5,603 (+3%)
5,506 (+2%)
5,448 (+2%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
57.0 (-3%)
88.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,517
415
200
225 (-2%)
269 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,753
1,564
716 (-1%)
782 (+5%)
802 (+1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,476
9,460
9,476

l1_rollup_execution_gas
610,297
610,281
610,297

l2_block_processing_time_in_ms
764 (-1%)
1,412
2,722 (-1%)

l2_block_building_time_in_ms
25,472 (-1%)
51,118 (-1%)
100,031

l2_block_rollup_simulation_time_in_ms
25,472 (-1%)
51,117 (-1%)
100,030

l2_block_public_tx_process_time_in_ms
21,923 (-1%)
47,318 (-1%)
96,307

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,006
9,871

node_database_size_in_bytes
12,161,104
16,052,304

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
65.3 (-3%)
13,800

GasToken:set_portal
16.6 (-3%)
3,315

Token:constructor
94.1 (+1%)
23,719

FPC:constructor
62.2 (-2%)
13,653

GasToken:mint_public
52.6 (-1%)
10,168

Token:mint_public
65.8 (+1%)
19,010

Token:assert_minter_and_mint
206 (-3%)
12,901

AuthRegistry:set_authorized
31.6 (-1%)
7,822

FPC:prepare_fee
146 (-3%)
15,129

Token:transfer_public
:warning: 34.3 (-33%)
31,245

FPC:pay_refund
204 (-3%)
28,061

Benchmarking:increment_balance
2,701 (-1%)
15,300

Token:_increase_public_balance
56.4
14,982

FPC:pay_refund_with_shielded_rebate
207 (+2%)
29,148

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.158 (+2%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4
16.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.599
0.515
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.3
76.5 (+1%)
133 (+1%)
245
474 (+1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.494
0.469 (+1%)
0.456 (+1%)
0.444
0.443 (+1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.8
112 (-1%)
185 (-1%)
353
700 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.506
0.504 (-1%)
0.490 (-1%)
0.478
0.480 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.8
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.519
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
85,672
670,983

Transaction size based on fee payment method
| Metric |  |
| - |  |


Mobile responsiveness with media queries

Mobile responsiveness with media queries
Mobile and queries responses

TBD

Added media query technique allowing the page to be properly shown on screens between 575px and 978px.


New game : Haunted manor (cli)

@Yashwanth-Kumar-Kurakula,
Here is another little python game to integrate into your repo.
I hope you like this game, despite its simplicity.
timotheeMM
Ps: Do you mind if I think about a deeper repository organization?

Thanks @timotheeMM !
Feel free to unleash your imagination and make modifications to the repository as you deem appropriate. As long as it benefits at least one person, my objective will be fulfilled.


Bug in Deals(): KeyError: 'OPERATION_STATE_PROGRESS'

"TKSBrokerAPI.py", line 2639, in Deals
    TKS_OPERATION_STATES[item["state"]],
KeyError: 'OPERATION_STATE_PROGRESS'

There is a new status in OperationState method: https://tinkoff.github.io/investAPI/operations/#operationstate
So, Deals() method was failed, because it used api https://tinkoff.github.io/investAPI/swagger-ui/#/OperationsService/OperationsService_GetOperations
Fixed in v1.6.dev130
build: https://app.travis-ci.com/github/Tim55667757/TKSBrokerAPI/builds/258283394
PyPI: https://pypi.org/project/tksbrokerapi/1.6.dev130/


[Tables] Passing a string for a TINYINT in filter causes an HTTP 500

A table like this:
{
    "status": {
        "tables": [
            {
                "name": "games",
                "definition": {
                    "columns": {
                        "match_id": {
                            "type": "text"
                        },
                        "round": {
                            "type": "tinyint"
                        },
                        "fighters": {
                            "type": "set",
                            "valueType": "uuid"
                        },
                        "m_vector": {
                            "type": "vector",
                            "dimension": 3
                        },
                        "score": {
                            "type": "int"
                        },
                        "when": {
                            "type": "timestamp"
                        },
                        "winner": {
                            "type": "text"
                        }
                    },
                    "primaryKey": {
                        "partitionBy": [
                            "match_id"
                        ],
                        "partitionSort": {
                            "round": 1
                        }
                    }
                }
            }
        ]
    }
}

If searching with a string for the TINYINT field:
{
    "find": {
        "filter": {"round": "C", "winner": "Caio Gozer"}
    }
}

gives an HTTP 500 Internal Server Error (which should not be other than a regular 200 with typechecking error IIUC, like it happens in a similar case upon insertions)

@hemidactylus do you have the response and the error that was returned ?

Right, sorry for not including it in the first place. I will paste the whole thing (of course we are interested in the error at the bottom, not the - correct - warning about index missing):
{
    "data": {
        "documents": [],
        "nextPageState": null
    },
    "status": {
        "warnings": [
            {
                "errorCode": "MISSING_INDEX",
                "message": "The filter includes columns that are not indexed. \n\nThe table default_keyspace.games has the primary key: match_id(text), round(int).\nAnd has indexes on the columns: m_vector, score, winner.\nThe request filtered on the un-indexed columns: round.\n\nThe query was executed without taking advantage of the primary key or indexes on the table, this can have performance implications on large tables.\n\nSee documentation for best practices for filtering.",
                "family": "REQUEST",
                "scope": "WARNING",
                "title": "Filter includes columns that are not indexed",
                "id": "328ea73c-c782-4b4a-9069-6dce33c06860"
            }
        ]
    },
    "errors": [
        {
            "message": "Server failed: root cause: (io.smallrye.mutiny.CompositeException) Multiple exceptions caught:\n\t[Exception 0] java.lang.IllegalStateException: retryContext must not be null\n\t[Exception 1] java.lang.RuntimeException: io.stargate.sgv2.jsonapi.exception.checked.ToCQLCodecException: Error trying to convert to targetCQLType `INT` from value.class `java.lang.String`, value \"C\". Root cause: no codec matching value type",
            "errorCode": "SERVER_UNHANDLED_ERROR",
            "id": "ec9bd5e1-0c44-4403-b206-27d67df23f01",
            "title": "Server failed",
            "family": "SERVER",
            "scope": "DATABASE"
        }
    ]
}

Retested, @hemidactylus  this is what I get now , can you close if happy....
Given this table
{
    "createTable": {
        "name": "users",
        "definition": {
            "columns": {
                "email": "text",
                "age": "tinyint",
                "country": "text",
                "human": "boolean",
                "name": "text"
            },
            "primaryKey": "email"
        }
    }
}

this request
{
    "find": {
        "filter": {
            "age": "ten"
        },
        "projection": {},
        "sort": {
            "name": 1
        }
    }
}

Generates this response with a nice V2 error
{
    "data": {
        "documents": [],
        "nextPageState": null
    },
    "status": {
        "warnings": [
            {
                "errorCode": "IN_MEMORY_SORTING_DUE_TO_NON_PARTITION_SORTING",
                "message": "The command used columns in the sort clause that are not part of the partition sorting, and so the query was sorted in memory.\n      \nThe table demo.users has the partition sorting columns: [None].\nThe command sorted on the columns: name.\n\nThe command was executed using in memory sorting rather than taking advantage of the partition sorting on disk. This can have performance implications on large tables.\n\nSee documentation for best practices for sorting.",
                "family": "REQUEST",
                "scope": "WARNING",
                "title": "Sorting by non partition sorting columns",
                "id": "55de6f6e-0db8-4996-96be-87fd094c2897"
            }
        ]
    },
    "errors": [
        {
            "message": "Only values that are supported by the column data type can be included when filtering.\n\nThe table demo.users defines the columns: email(text), age(tinyint), country(text), human(boolean), name(text).\nThe command included the column age that has TINYINT type defined.\n\nResend the command using only supported column values.",
            "scope": "FILTER",
            "errorCode": "INVALID_FILTER_COLUMN_VALUES",
            "id": "c17a0822-aee1-4339-909e-81d6d9587841",
            "family": "REQUEST",
            "title": "Column value in filter is not valid"
        }
    ]
}

it's a little weird to get the in mem sort warning, but we work that out before trying to sort out the fitler

it's a little weird to get the in mem sort warning, but we work that out before trying to sort out the fitler

You want to sort on name, but name is not a clustering column, so IN_MEMORY_SORTING_DUE_TO_NON_PARTITION_SORTING should be expected.

@hemidactylus , will close this ticket, since codec errors in filter are not 500 anymore.


Assorted dependency graph fixes

WIP

This PR has dependency graph improvements to finish up the lingering places on npr.org where we weren't tracking dependencies, but mostly focuses on tracking dependencies for the replay devtools themselves.  For this we have to track dependencies related to postMessage (which react uses for scheduling work) and for DOM websocket messages.  This PR adds tracking to CloneableMessage so we can get the point when a message was posted (if it was in the same process) and annotations so we can see all the websocket messages sent/received in a recording.  See https://linear.app/replay/issue/TT-236/support-websockets for more context here.


feat(NODE-4814): implement remaining severity logging methods

Description
What is changing?
Adds in the remainder of the severity loggers whose base designs were implemented in NODE-5169
Is there new documentation needed for these changes?
No
Double check the following

[ ] Ran npm run check:lint script
[ ] Self-review completed using the steps outlined here
[ ] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[ ] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

Question: Do we want to remove the entries in the SeverityLevel enum that correspond to the severities that we are not using?
These would be:

emergency
alert
critical
notice

Question: Do we want to have the helper that corresponds with the warn severity be named warn or warning? Doing the former allows for easy accessing on the logger object by using the severity name directly as a property, so I skew towards that approach.

CI failures are unrelated.


Can't select search box when gallery first loads.

yeah. i know why this is happening. i can apply a jank solution.
(the event listener for the 3d sprig isn't being cleared on page transition)


Assets precompilation failed when using rails_email_preview gem

Hi,
I'm trying to precompile assets in my app, but when trying to do that when using the rails_email_preview gem, the precompile fail because of turbolinks which rails_email_preview depends on:

Sprockets::FileNotFound: couldn't find file 'turbolinks' with type 'application/javascript'
...
.rvm/gems/ruby-2.3.7/gems/rails_email_preview-2.0.6/app/assets/javascripts/rails_email_preview/application.js:1

I'm not using turbolinks on my app, except this gem dependency. Any idea why?
Thanks.

Ah, this gem should depend on turbolinks. As a workaround, add gem 'turbolinks' to your Gemfile.

@glebm I did try to add gem 'turbolinks' to my Gemfile. Didn't work also.


Decrease default collectors precision

We use 1-e5 tolerance in example cluster, but looks it is a bit too much. See more in https://github.com/tarantool/metrics/issues/301

Well, seems like this issue is no more relevant


router: speed up health check by checking in parallel

What problem does this PR solve?

Issue Number: close #216
Problem Summary:
In a large cluster, checking health serially is impractical.
What is changed and how it works:

Define a wrapper for wait group and goroutine pool
Check the health by the goroutine pool

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Notable changes

[ ] Has configuration change
[ ] Has HTTP API interfaces change
[ ] Has tiproxyctl change
[ ] Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
- Speed up health check by checking in parallel

Codecov Report
Attention: Patch coverage is 94.00000% with 3 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@1a2c0c8). Click here to learn what that means.

Files
Patch %
Lines

pkg/manager/router/backend_observer.go
85.71%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #498   +/-   ##
=======================================
  Coverage        ?   64.60%
=======================================
  Files           ?       61
  Lines           ?     5846
  Branches        ?        0
=======================================
  Hits            ?     3777
  Misses          ?     1781
  Partials        ?      288

Flag
Coverage Δ

unit
64.60% <94.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


"Device /dev/ttyACM0 is dead" with python3

APM: Copter v3.5.3
when I use:
vehicle = connect("/dev/ttyACM0", boud=ANY)
in python 2 work great, but in python 3 I have message:

Device /dev/ttyACM0 is dead

and then

>>>> No IO Thread Heartbeat

I have this problem too, without the No IO Thread Heartbeat part.

I found same problem on ArduPilot Copter 3.6.3, Python 3.7.1, Windows 10, and dronekit (latest github repo master).
Device com3 is dead
Exception in MAVLink input loop
Traceback (most recent call last):
  File "C:\Users\otsuka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dronekit\mavlink.py", line 210, in mavlink_thread_in
    fn(self)
  File "C:\Users\otsuka\AppData\Local\Programs\Python\Python37-32\lib\site-packages\dronekit\__init__.py", line 1370, in listener
    self._heartbeat_error)
dronekit.APIException: No heartbeat in 30 seconds, aborting.


added freecad-pre

adding freecad prerelease to bucket

please help regarding installation procedure in .json

/verify

/verify

/verify

/verify

needless to say, I'm having trouble with this 😛 ...

my draft regex: https://regex101.com/r/y1Fv71/1/

removed the checkver, autoupdate, and architecture fields, now simply downloads zip, checks hash, extracts, and makes shortcut

/verify

I've updated the package with the latest weekly and an autoupdate section, would you like to submit it @pandaero?
{
    "version": "26761",
    "description": "A free and open-source multi-platform parametric 3D modeler.",
    "homepage": "https://www.freecadweb.org",
    "license": "LGPL-2.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-26761-Win-Conda_vc14.x-x86_64.7z",
            "hash": "57f698b22caa786a82c6f56d87411f79bf33172f03df564789852b2836a8feed"
        }
    },
    "extract_dir": "FreeCAD_weekly-builds-26761-Win-Conda_vc14.x-x86_64",
    "bin": "bin\\FreeCADCmd.exe",
    "shortcuts": [
        [
            "bin\\FreeCAD.exe",
            "FreeCAD"
        ]
    ],
    "checkver": {
        "url": "https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds",
        "regex": "FreeCAD_weekly-builds-([\\d]+)-Win-Conda"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-$version-Win-Conda_vc14.x-x86_64.7z"
            }
        },
        "hash": {
            "url": "$url-SHA256.txt",
            "regex": "(?sm):\\s+([a-fA-F\\d\\s]+)CertUtil"
        },
        "extract_dir": "FreeCAD_weekly-builds-$version-Win-Conda_vc14.x-x86_64"
    }
}

/verify
I have updated the manifest as per @tech189's comment

Thanks again @tech189 :)

The website also calls them weekly:

Yes, thank you, I forgot to mention that they renamed the pre-releases to weekly.

And thank you @pandaero for making this PR, sorry we didn’t get to it earlier!


Can I disable route level code-splitting

to get one js chunk in dist?

It cannot be disabled yet.

Specifying VueRouter({ importMode: 'sync' }), or VueRouter({ importMode: 'async' }),
breaks both dev/build with vite, but works when omitting: VueRouter({}),

0.2.0

Works in 0.2.1
Thanks.


Touch support

For reference: https://github.com/GoogleChrome/ui-element-samples/tree/gh-pages/side-nav

NTS: need to figure out how this will be incorporated with different modes, and also whether we should handle swipe to open as well.

+1
This is all I need right now. It's perfect.


back button does not work on top of google map

Steps to Reproduce
The app contains a StatefulWidget with Scaffold having Drawer and GoogleMap plugin.
Steps to reproduce:

Inside GoogleMap add two markers.
Set initialCamera to some random coordinates.
Open the drawer
Tap to open new page
Minimize app
Open app and try pushing back, not working
Back button eventually works if you minimize again

See movie back_button_doesnt_work.MOV
I see it happen only on iOS.
link to source code and recorded video: https://drive.google.com/drive/folders/1_oaZLIAqFQ82Eg_Gcn9X0I59Vto3TR5k?usp=sharing
Logs
flutter run --verbose
does not produce any logs after starting the app on iPhone
flutter analyze
does not return any  issues
Not sure if we used properly the plugin.
Thank you for helping with this issue.
flutter doctor -v
[✓] Flutter (Channel master, v1.2.3-pre.50, on Mac OS X 10.14 18A391, locale en-GB)
    • Flutter version 1.2.3-pre.50 at /Users/bogdannedelcu/Developpment/flutter
    • Framework revision f460dd60df (in the future), 2019-02-26 08:08:28 -0500
    • Engine revision 9f95ef23aa
    • Dart version 2.2.0 (build 2.2.0-dev.2.1 f7e435ac26)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/bogdannedelcu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Hipp • 2b1aea516796a71aec47f891c6f8cb7f70dc797c • ios • iOS 12.1.4

! Doctor found issues in 1 category.

main file is bellow:
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:maps_testing/new_screen.dart';

class MapScreen extends StatefulWidget {
  @override
  _MapScreenState createState() => _MapScreenState();
}

class _MapScreenState extends State<MapScreen> {
  GoogleMapController mapController;
  var _scaffoldKey = GlobalKey<ScaffoldState>();

  bool markersVisible = true;

  String error;

  @override
  Widget build(BuildContext context) {
    double _screenWidth = MediaQuery.of(context).size.width;
    double _screenHeight = MediaQuery.of(context).size.height;
    return Scaffold(
        key: _scaffoldKey,
        drawer: Drawer(
          child: GestureDetector(
            behavior: HitTestBehavior.opaque,
            child: Center(
              child: Text('Press anywhere to test the bug'),
            ),
            onTap: () {
              Navigator.pop(context);
              Navigator.push(
                context,
                MaterialPageRoute(
                  builder: (context) => NewScreen(),
                ),
              );
            },
          ),
        ),
        body: Stack(children: <Widget>[
          Align(
            alignment: Alignment.topCenter,
            child: SizedBox(
              width: _screenWidth,
              height: _screenHeight,
              child: GoogleMap(
                trackCameraPosition: true,
                initialCameraPosition: CameraPosition(
                  bearing: 0.0,
                  target: LatLng(48.8566,2.3522),
                  tilt: 0.0,
                  zoom: 18.0,
                ),
                mapType: MapType.normal,
                onMapCreated: _onMapCreated,
                tiltGesturesEnabled: false,
                compassEnabled: false,
              ),
            ),
          ),

        ]));
  }

  void _onMapCreated(GoogleMapController controller) {
    _showMarkers(markersVisible, controller);

//    setState(() {});
  }

  void _showMarkers(bool flag, GoogleMapController controller) {
    if (flag == true) {
      setState(() {
        mapController = controller;
        mapController.clearMarkers();
        mapController.onMarkerTapped.add((marker) {
          setState(() {});
        });

        mapController.addMarker(
          MarkerOptions(
              position: LatLng(44.496113, 26.131699),
              infoWindowText:
              InfoWindowText("Mega Image", "Strada George Bacovia"),
              icon: BitmapDescriptor.defaultMarkerWithHue(
                  BitmapDescriptor.hueGreen),
              consumeTapEvents: false),
        );

        mapController.addMarker(
          MarkerOptions(
              position: LatLng(44.4110224, 26.0712143),
              infoWindowText:
              InfoWindowText("Mega Image", "Bulevardul Lacul Tei"),
              icon: BitmapDescriptor.defaultMarkerWithHue(
                  BitmapDescriptor.hueGreen),
              consumeTapEvents: false),
        );
      });
    }
  }
}

+1

Same type of behavior occurs if instead of minimizing the app you launch from the app another native iOS view on top of the new page (which covers the Map). After closing the native iOS view the back button becomes unresponsive.

@sMoKeSz rather than commenting +1 or me too, please upvote the original issue.  Comments notify all subscribers to the issue and don't help us properly triage how many people an issue is impacting.

/cc @amirh

One odd thing about this is that the map is still responsive to touch events, when it is covered by the NewScreen and appears unresponsive.  If you trigger the bug and then drag on the screen, when the map does appear again it has moved because of the drag event.
If you have any UI buttons on the map screen these can also be triggered when they are covered after the bug has been triggered.
This only happens on a physical device, not in a simulator.

@sam-toon I believe the issue you're seeing is #28659 which was fixed in master.
As for the back button issue, I'm not sure what's going on, a simple thing to check is whether the same happens when replacing the map with a webview, this can hint us whether it's a maps specific issue or something related to platform views.

@amirh, Thanks, you are right that issue looks to be fixed in master. It was firing onMarkerTapped events, but they have now gone.
The back button issue happens when you replace the map with a webview, so does point to it being a problem related to platform views.
Here is code that reproduces the issue:
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Webview Test',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: WebScreen(),
    );
  }
}

class WebScreen extends StatefulWidget {
  @override
  _WebScreenState createState() => _WebScreenState();
}

class _WebScreenState extends State<WebScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: WebView(
        initialUrl: 'https://flutter.dev',
      ),
      drawer: Drawer(
        child: GestureDetector(
          behavior: HitTestBehavior.opaque,
          child: Center(
            child: Text('Press anywhere to test the bug'),
          ),
          onTap: () {
            Navigator.pop(context);
            Navigator.push(
              context,
              MaterialPageRoute(
                builder: (context) => NewScreen(),
              ),
            );
          },
        ),
      ),
    );
  }
}

class NewScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
    appBar: AppBar(),
    body: Center(child: Text('Annoying bug incoming...', softWrap: true,),),
  );
}

If this is fixed on master, can we close it?

@dnfield the back button issue still exists on master.
The issue that is fixed is  #28659, which is the map seeing gestures it shouldn't have.

FYI, I tried to repro this on a simulator https://photos.app.goo.gl/q1DpwWuGV8eNoCzd6, it doesn't seem to repo. Will try it out on an actual device tomorrow.

Update: I'm able to repro this on an actual device. Working on isolating the cause.

Seems to work now, thank you! I will close this one.
Please look at the issue https://github.com/flutter/flutter/issues/29089 and at issue https://github.com/flutter/flutter/issues/29492 , as I presume they are related somehow to the areas you just fixed.
We plan to use the maps plugin in our app and the issues you just fixed were blocking for us. Great job!
Bogdan


donate section form design can be improve....

its looks simple design adding some color and background make it more attractive

@akshitagupta15june  please assign me issue  under gssoc . I want to work on this issue

Hey @akshitagupta15june
Can this issue be assigned to me for gssoc '24
Regards,
V Meenakshi Iyer


TypeScript@3 peer dependency?

Receiving a peer dependency warning for react-resource-router
➤ YN0060: │ @atlassian/canvas@workspace:. provides typescript (p87734) with version 4.5.5, which doesn't satisfy what react-resource-router requests

I don't see why it would depend on an explicit TypeScript major, could the peer dependency be removed or widened?

That is a very good point. To be honest dunno why TS and Tslib are marked as dependencies. We publish transpiled bundles with type defs, so they should not be required at all.
Do you feel like raising PR to address that?

https://github.com/atlassian-labs/react-resource-router/pull/117


[Feature] Support django_migrations on CH cluster

Describe the bug
Migrations will be run several times if the Django application connects to a specific cluster shard.
I manually added the table on the cluster to fix the issue:
CREATE TABLE IF NOT EXISTS django_migrations_local ON CLUSTER '{cluster}'
(
    `id` Int64,
    `app` FixedString(255),
    `name` FixedString(255),
    `applied` DateTime64(6, 'UTC')
)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{cluster}/default/{table}', '{replica}')
ORDER BY id
SETTINGS index_granularity = 8192;

CREATE TABLE IF NOT EXISTS django_migrations ON CLUSTER '{cluster}' AS django_migrations_local
ENGINE = Distributed('{cluster}', default, django_migrations_local, id);

However, this assumes that you have a macro for the cluster name. That way, you ensure the migration data is synced on every shard and every replica.
insert_distributed_sync=1 might be needed before running the migration.

This project does not support distributed table. The only way to use distributed table is managing table schema yourself and set managed = False in Meta class.
But this feature is planned. Several weeks are needed to implement.


Add a contribution plugins for tichi

Feature Request

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Is your feature request related to a Issue or PR(Optional)
cc: https://github.com/ti-community-infra/rfcs/blob/main/active-rfcs/0001-contribution.md
Describe the feature you'd like:
https://github.com/ti-community-infra/rfcs/blob/main/active-rfcs/0001-contribution.md
Do you have any ideas on how to implement it?(Optional)

cc: @andylokandy

/assign

I will finish it today.


Yield with null object causes silent crash on a headless server

Godot version:
v3.2.1
Issue description:
Calling yield with null as the first argument crashes silently, but only on a headless server.
Steps to reproduce:
Create a project where yield(null, "") is called in _ready.
Export the .pck.
Launch the Godot server with the --main-pack argument.
Minimal reproduction project:
.pck file
project folder

It also crashes silenty on the normal engine when run directly:
$ godot --path /path/to/project
...
SCRIPT ERROR: _ready: First argument of yield() not of type object.
   At: res://Node2D.gd:5.

I don't think it's a bug, Godot tries to recover from these problems without impacting the rest of the code, so it keeps running after this error.

I don't think it's a bug, Godot tries to recover from these problems without impacting the rest of the code, so it keeps running after this error.

As I'm agreeing with @Ev1lbl0w  not only yield, but almost all runtime errors are fail silently, it can be easily be noticeable when there is a runtime error in the script and it's a tool script, is this expected behavior, if not how to handle?

Closing as this is a larger issue. Maybe there can be a proposal about printing an error message when the server crashes.


[FEATURE REQ] [Search] Base classes like ScoringFunction should be abstract

Library or service name.
Azure.Search
Is your feature request related to a problem? Please describe.
In the current (Track 1) .NET client library for Azure Cognitive Search, the generated model classes that represent base classes (for example, ScoringFunction) are not abstract, but they should be. This can lead to confusion when customers try to serialize and deserialize the model classes themselves, as in this issue.
We should ensure this is corrected in the Track 2 .NET SDK.
FYI @AlexGhiondea

I'll discuss with @pakrym but this may be something we have to do manually with the customized model classes. I imagine, in general, it's not easy to tell whether generated base models can be instantiated or only extended. I imagine the latter is more common, but wouldn't expect the former to never occur.

/cc @Yahnoosh
One concern that came up in internal discussions was that if the server returns a different discriminated type, what then? It can't deserialize to anything including the base class because it's abstract. That's actually why @pakrym doesn't mark the classes abstract.
However, I pointed out that IIF the services introduce new types in new api-versions, this shouldn't be a concern. Client libraries, according to guidelines, should use service version enums that are not directly tied to an api-version and don't accept user-input. .NET, for example, uses monotonically increasing version numbers to represent supported api-versions. Combined, no dev should expect an unsupported type from the server in an older version of the library because the type would never be returned. @johanste has pointed out, however, that services often return new types in older api-versions because they don't always bind response models to api-version.
Thus, we may need to leave these models as non-abstract and, instead, on the base models, implement azure/autorest.csharp#650 to support round tripping unknown types.

@heaths Is there some way we can address both the deserialization-of-unknown-types issue and the usability issue created by having non-abstract base classes? For example, instead of deserializing unknown properties to a dictionary on the base class, perhaps each hierarchy gets its own UnknownResponse derived type or something similar?

That's a pretty good idea. @pakrym, that could be done generically, right? Maybe an Unknown{Type} model gets generated for each would-be abstract model, and that would have a property bag?

Incidentally, this is one of the recommended patterns for service teams that knew that they had a polymorphic type that they intended to add new child types to.

It's possible but not very clean. We would need to generate an Unknown{Type} for every polymorphic type that being returned by model or client method.
Would these types be public?

We'd only need one for the base class that you'd otherwise mark abstract. And, yes, I imagine they should be publish. People could dig into the property bag at least. They wouldn't have to be, though. I've seen in some implementations the property bag for unhandled properties are often private just so one can roundtrip.

We'd only need one for the base class that you'd otherwise mark abstract.

Not really, imagine you have A -> B -> C hierarchy.
And 3 client methods:
A GetA();
B GetB();
C GetC()
You can't just generate 1 UknownA class and use it as a return value in GetB and GetC you also need UnknownB and UnknownC. Same things with models, if any subclass is directly returned it would need and Unknown{Type}

Fair enough, but how many times is there more than one base class? We have to do something. We're told not to ship "empty classes" and it's confusing for customers if they try to instantiate the base class and pass it along. Have a "few" extra Unknown{Type} classes seems a better option.
/cc @KrzysztofCwalina

Fair enough, but how many times is there more than one base class?

This is something we would have to figure out. There are at least 3 in storage management.
I agree that we need to figure it out. I think internal classes might be a reasonable solution here.

I think internal classes might be a reasonable solution here.

Could you clarify what you mean? You're agreeing (as an option) that the generator should emit all those classes as needed, but make those classes internal? So we'd just return the base class for roundtripping purposes only.
If that's what you meant, I think that's fine. It won't overload the namespace with a bunch of new types.

I'd personally like an interface IExtraProperties { Dictionary<string, object> Properties { get; } } that everything implements explicitly per the discussion in https://github.com/Azure/autorest.csharp/issues/650.

Here's a list of the classes that should be abstract:

[ ] CharFilter
[ ] CognitiveServicesAccount
[ ] DataChangeDetectionPolicy
[ ] DataDeletionDetectionPolicy
[ ] LexicalAnalyzer
[ ] LexicalTokenizer
[ ] ScoringFunction
[ ] SearchIndexerSkill
[ ] Similarity
[ ] TokenFilter

The generator doesn't handle abstract classes correctly when I added customized models as abstract. Thus, this is blocked on Azure/autorest.csharp#650.

For preview 3 I'll make the constructors internal, at least.

Are all of these classes input-output?

Yes, all input/output.


lxb_dom_node_text_content_set not decode entities

i try to change text of LXB_TAG__TEXT node:
lxb_dom_node_text_content_set(..., "&#61 & &Auml", ...)
than
lxb_dom_node_text_content
returns "&#61 & &Auml"
is this expected or bug?

Hi @kostya
Implemented to specification (see "The textContent setter"). According to the specification, the behavior is correct.
Browsers do the same.

to

Result:
&#61 & &Auml

ok. thanks.


[Bug] Collision Arbiter Normals Swapped

While making my game for ludum dare 34, i found a bug, at first i thought it was my code, then i found how to fix it and i guess it is a nape bug.
The api docs says that CollisionArbiter.normal will always point from arbiter's shape1 towards shape2, but doesn't seem to work like this every time, it depends on the order that the shapes are being instantiated.
I made a test. Here's the source code and you can see the test running online. There's some comments in the code explaining what's happening.
Hope this will help figure out what is happening. And if this is not a bug, please help me fix my code, i put a lot of time into this issue trying to fix it without touch nape code.

I fixed this by checking if the id of the shape1 is equal the id of the shape it should be, if not, i swap the normal.

Yeah, I'd the same issue too! Having a crazy one-way platform.

@deltaluca please would you mind to provide a fix & make a release build?

@EduardoLopes just by curiosity, why closing this?

@alamboley I was cleaning up my issue box and this is there since 2016. I don't feel like this will ever be fixed.

@EduardoLopes yup sadly :( thanks for the answer 👍

yea :(

Perhaps it has been fixed there, but can't confirm:

https://github.com/shirogames/hxnape
https://github.com/HaxeFlixel/nape-haxe4

nape-haxe4 only fixes compilation with Haxe 4 so far, nothing else.

I think you summoned him from being too busy? https://www.newgrounds.com/bbs/topic/578434/2044#bbspost26513818_post_text


Reconsider the core algoritm

https://github.com/tonyganch/gonzales-pe

this one too https://github.com/csstree/csstree

https://github.com/reworkcss/css

done


Reducing size of monaco-editor dependency

Hi, I was doing a check of my node_modules folder in a medium sized project and I'm using monaco-editor as a dependency. Monaco-editor ended up being the largest dependency by size in my node_modules folder at 29MB.
I used the following command on Mac OS X to check this:
du -sm node_modules/* | sort -rn | head -n 20

I wanted to see why monaco-editor was taking up so much space so I checked the folder itself:
> du -sm node_modules/monaco-editor/*
1	node_modules/monaco-editor/CHANGELOG.md
1	node_modules/monaco-editor/LICENSE
1	node_modules/monaco-editor/README.md
1	node_modules/monaco-editor/ThirdPartyNotices.txt
16	node_modules/monaco-editor/dev
6	node_modules/monaco-editor/min
7	node_modules/monaco-editor/min-maps
1	node_modules/monaco-editor/monaco.d.ts
1	node_modules/monaco-editor/package.json

Those sizes are in MB. I noticed that monaco-editor ends up packaging "dev", "min" and "min-maps" in its package.
Since the npm monaco-editor package seems to be built by using a subset of the vscode repository, I was wondering if it was also possible to produce a reduced subset of the monaco-editor repository for people who don't need the "dev" and "min-maps" directories. Perhaps as "monaco-editor-min" or a separate package since npm doesn't support it under the same name. This would significantly reduce the size of package needed for a number of users seeing as how monaco-editor is downloaded over ten thousand times a month according to npm stats (https://www.npmjs.com/package/monaco-editor).

Today I have installed and found it is 81.3 MB (85,336,064 bytes) of the entire "monaco-editor" in the production build, which is huge. Would appreciate any suggestions to reduce the size of it.
I am using:
"monaco-editor": "^0.26.1",
"ngx-monaco-editor": "^12.0.0",

Today I have installed and found it is 81.3 MB (85,336,064 bytes) of the entire "monaco-editor" in the production build, which is huge. Would appreciate any suggestions to reduce the size of it.
I am using:
"monaco-editor": "^0.26.1",
"ngx-monaco-editor": "^12.0.0",

Update your glob input and output in angular.json to only copy the min version to /assets.
{ "glob": "**/*", "input": "node_modules/monaco-editor/min", "output": "assets/monaco-editor/min" }

Thanks @tjb1019
The problem remains if we copy only /monaco-editor/min, it seems there are dependencies on /monaco-editor/min-map too
I found below error in the console (build made with your setup) { "glob": "**/*", "input": "node_modules/monaco-editor/min", "output": "assets/monaco-editor/min" }
DevTools failed to load source map: Could not parse content for ~/assets/monaco-editor/min-maps/vs/loader.js.map: Unexpected token < in JSON at position 0

Today I have installed and found it is 81.3 MB (85,336,064 bytes) of the entire "monaco-editor" in the production build, which is huge. Would appreciate any suggestions to reduce the size of it.
I am using:
"monaco-editor": "^0.26.1",
"ngx-monaco-editor": "^12.0.0",

Update your glob input and output in angular.json to only copy the min version to /assets.
{ "glob": "**/*", "input": "node_modules/monaco-editor/min", "output": "assets/monaco-editor/min" }

Thanks! this took the production size from 36MB to 12MB, that still seems very high. Is this normal?

Minify editor.main.js atularen/ngx-monaco-editor#238

how can I do that on ember.js? what is the corresponding file for angular.json?

Why is the minified editor.main.js file 2.9 MB in my node_modules folder but its just 731 kb when accessing from jsdelivr path<EMAIL_ADDRESS>?
Is there a way to reduce the size of the minified files in nod_modules folder down to 731 kb similar to the jsdelivr CDN?

@vishalsatam jsdelivr is compressing the file sent over the wire with gzip. What you're reading from the chrome network tab is the gzip'd file size, when chrome decompresses editor.main.js, it's still 2.9MB in size (you can see this if when you open the network tab for<EMAIL_ADDRESS>as "734KB transferred | 2.9MB resources").
Compressing the files in node_modules locally will not work because node build tools won't work with compressed files in development.


Update SDK Client Service error codes to use status names

Problem
In the SDK Client Service, we've implemented logic to support SDK client reinitialisation upon certain preconfigured error codes encounter.
Solution
Switch this logic to use status names instead for easier configuration.
Alternatives
No response

@georgi-l95 was this done in teh connected PR?
If so let's close this


quality doesn't changes after one tap on mobile devices

Expected behaviour
Changing quality after tapping on it on mobile
Actual behaviour
Hover action triggers after first tap on item. Quaity changes after second tap
Environment

Browser: iPhone Safari
Version: 11
Operating System: iOS
Version: 11.3.1

Steps to reproduce

open player on phone (iOS, Android)
tap on the settings button
try to change quality by one tap

If I understand this correctly the problem is that the menu is closed when you tap the "Quality" option. Then when you tap the settings icon next time it is shown.

Not quite so. After first tap on gear icon, it is painted in a different, just like mouse hover event on desktop. Menu shows only after the second tap. Same thing with all other icons in control panel.

I now know what this is but I'm totally unsure how to resolve it. iOS seems to, only for the controls in the menu, set the :focus styles on the first tap and then the second tap works as expected. I'm still unable to fix this. Even removing the CSS styles doesn't resolve it. Another classic Mobile Safari oddity 🤦♂


App hijacks the F1 key

When I press the F1 key in another app, the about dialog appears.
OneNote-Desktop v2.2.1 @ Debian Bookworm
Thanks

Hi, thanks for letting me know. I'll test it out today and issue a patch asap.
Anuj

Okay, so that was a weird one. F1 worked just fine when using other apps. For me the issue only popped up when I was using Chrome. That's the only time I saw OneNote Desktop hijack the F1 key. Makes me think this might be a problem when using other Chromium or Electron based apps too.
Anyway, I have disabled the F1 accelerator/shortcut in the latest release. So you shouldn't have that problem anymore. Release 2.2.2 should be live. If you are using the snap package from snapstore, give it a few hours to propogate to all users. Otherwise feel free to grab the latest release from the release page.


V1.0.0/sub bio detail

#19

Location, website and date of birth fields have been added to the user page area.

#59

User tags and links in the post section are redirected.

@atahantutar Conflict'leri çözelim abi

@atahantutar ne durumdayız?

@harundogdu conflictleri çözdüm abi

@atahantutar hala var conflict, tamamlayalım ya da kapatayım.


add beauty to CMakeLists.txt

How should I add to CMakeLists.txt?
for rapidyaml I have this for example:
add_subdirectory(deps/rapidyaml)
target_include_directories(test PRIVATE deps/rapidyaml/src)
target_link_libraries(test PRIVATE ryml)

If you cloned beauty repo in yout own deps directory ?
May works, but not tested since I used it with conan. You will need to be sure boost and openssl are available.
add_subdirectory(deps/beauty) target_link_libraries(test PRIVATE beauty::beauty)

yes.
I tried that, but now I see I needed to add set(CONAN OFF).


Sending output to stdout if no output file specified

Hi!
Reading the docs:
"If no output is specified, vulcanized.html is used by default."
Are there any plans on changing this to the standard behaviour of sending the output to stdout instead? I can't see the benefit of creating a non-standard file instead.
At the moment it's hard to build vulcanize into a existing build system without it.
Thanks,
Josua

This is the only output of vulcanize in 1.x


Comparison with original simulation data

@RemDelaporteMathurin, @ehodille, do we need to compare the FESTIM results with MHIMS/TESSIM/handmade-code results in the H-Ti case  in addition to the comparison with experimental dependencies?

I don't personally care about code-to-code comparisons in general.
Plus I don't think we already have MHIMS/TESSIM results on this right? Not sure the authors of TESSIM and MHIMS would like to spend time doing this.
I'd stick with the experimental data

We have the simulation data on all cases except the H absorption in Ti: Etienne provided the simulation results for D in DWO, D in damaged W, and Mikhail gave us the TESSIM data on D in Eurofer.

So, shall we just omit a cross-code comparison in the paper? We could keep it in this distro, but omitting comparison in the paper would let us to not make duplicated plots (i.e. FESTIM x experiments + FESTIM x code).
The only benefit I see is the "D in Eurofer case" where the simulated TDS curves do not agree perfectly with the experimental data.

I'm not very opiniated. I don't think it hurts to also show the codes agree

@RemDelaporteMathurin
I think this issue can be closed as we discussed the data for the paper.


Wazuh Import Error

Bug description
If a vulnerability in a Wazuh import has the severity of Untriaged, this results in an error in the import since this doesn't map to a severity within DefectDojo:
[18/May/2023 12:34:37] ERROR [dojo.api_v2.exception_handler:32] 'Untriaged'
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/rest_framework/mixins.py", line 19, in create
    self.perform_create(serializer)
  File "/app/dojo/api_v2/views.py", line 2302, in perform_create
    serializer.save(push_to_jira=push_to_jira)
  File "/app/dojo/api_v2/serializers.py", line 1674, in save
    test, finding_count, closed_finding_count, test_import = importer.import_scan(scan, scan_type, engagement, lead, environment,
                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/dojo/importers/importer/importer.py", line 337, in import_scan
    new_findings = self.process_parsed_findings(test, parsed_findings, scan_type, user, active=active,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/dojo/decorators.py", line 47, in __wrapper__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/celery/local.py", line 188, in __call__
    return self._get_current_object()(*a, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/celery/app/task.py", line 392, in __call__
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/dojo/importers/importer/importer.py", line 79, in process_parsed_findings
    if minimum_severity and (Finding.SEVERITIES[item.severity] >
                             ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'Untriaged'

Steps to reproduce
Steps to reproduce the behavior:

Import a Wazuh import where a vulnerability has the status of Untriaged

Expected behavior
A clear and concise description of what you expected to happen.
Deployment method (select with an X)

[x] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: Ubuntu 22.04
DefectDojo version (see footer) or commit message: 2.22.2

Logs
[18/May/2023 12:34:37] ERROR [dojo.api_v2.exception_handler:32] 'Untriaged'
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/rest_framework/mixins.py", line 19, in create
    self.perform_create(serializer)
  File "/app/dojo/api_v2/views.py", line 2302, in perform_create
    serializer.save(push_to_jira=push_to_jira)
  File "/app/dojo/api_v2/serializers.py", line 1674, in save
    test, finding_count, closed_finding_count, test_import = importer.import_scan(scan, scan_type, engagement, lead, environment,
                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/dojo/importers/importer/importer.py", line 337, in import_scan
    new_findings = self.process_parsed_findings(test, parsed_findings, scan_type, user, active=active,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/dojo/decorators.py", line 47, in __wrapper__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/celery/local.py", line 188, in __call__
    return self._get_current_object()(*a, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/celery/app/task.py", line 392, in __call__
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/dojo/importers/importer/importer.py", line 79, in process_parsed_findings
    if minimum_severity and (Finding.SEVERITIES[item.severity] >
                             ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'Untriaged'
[18/May/2023 12:34:37] ERROR [django.request:241] Internal Server Error: /api/v2/import-scan/

Sample scan files
{
  "data": {
      "affected_items": [
          {
            "architecture": "amd64",
            "condition": "Package less than 4.3.2",
            "cve": "CVE-1234-123123",
            "cvss2_score": 0,
            "cvss3_score": 5.5,
            "detection_time": "2023-02-08T13:55:10Z",
            "external_references": [
                "https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXXX",
                "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-XXXXX"
            ],
            "name": "asdf",
            "published": "2022-09-01",
            "severity": "Untriaged",
            "status": "VALID",
            "title": "CVE-YYYY-XXXXX affects asdf",
            "type": "PACKAGE",
            "updated": "2022-09-07",
            "version": "4.3.1"
        }
      ],
      "failed_items": [],
      "total_affected_items": 1,
      "total_failed_items": 0
  },
  "error": 0,
  "message": "All selected vulnerabilities were returned"
}

@damiencarol and @mtesauro: This issue reults from this commit: https://github.com/DefectDojo/django-DefectDojo/pull/7684/commits/74a4fc886e259b2ddc8734137a37682bb673e9a3
We have two options here to resolve this:

Set a default severity for "untriaged"
Skip all "untriaged" findings. It will be processed as soon as it has an official severity.

The problem is that in case 1 we rely on the possibility to automatically update the severity of a finding. Is this planned for V3?

@manuel-sommer
I assume "untriaged" is the same as the "Pending" described here
If that's the case, I'd skip all 'untriaged' findings as Wazuh isn't sure they're really vulnerable at the time the file was generated. Also, subsequent Wazuh scans will show those as "valid" in future imports so they will be finding in DefectDojo once Wazuh is sure of their state.
I'd personally rather have untriaged findings dropped than cluttering up DefectDojo.
There's maybe a case to bring them in under Info but since info findings aren't action-able, I don't see how adding info findings into DefectDojo for Wazuh imports adds any value for the DefectDojo users.
HTH

@mtesauro I agree to this and add a PR today / tomorrow.

You can close this issue @SeanWrightFeat

I got it.


Add resource block to juju_application

Description
fix #194
This change adds the block resource to the resource juju_application, this block is repeatable and only support setting oci-images.
Example:
resource "juju_application" "ex" {
  ...
  resource {
    name      = "charm-oci-image"
    oci_image = "registry:5000/my_app/my_image"
  }
}

Type of change
Please mark if proceeds.

[ ] New resource (a new resource in the schema)
[X] Changed resource (changes in an existing resource)
[X] Logic changes in resources (the API interaction with Juju has been changed)
[X] Test changes (one or several tests have been changed)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update
[ ] Other (describe)

Environment

Juju controller version: 2.9.42
Terraform version: v1.4.5

QA steps
Manual QA steps should be done to test this PR.

Step 1 juju add-model resource
Step 2 run terraform apply with the following snippet, check the payload container has the correct image

provider juju {}

data "juju_model" "resource" {
  name = "resource"
}

resource "juju_application" "resource_example" {
  name  = "resource-example"
  model = data.juju_model.resource.name
  charm {
    name     = "hello-kubecon"
    channel  = "edge"
    revision = 19
    series   = "focal"
  }

  resource {
    name = "gosherve-image"
    oci_image = "jnsgruk/gosherve:latest"
  }
}

Step 3: Delete the inner resource block and apply, note the application is deleted and recreated with the charmstore resource

Additional notes

There's no infrastructure for testing K8S charms, and this would require specific K8S tests
Change in behavior of DeleteResource, because force new would try to re-create the resource as soon as the delete call was sent to the controller. The new create request would fail because the application is still present

@juanmanuel-tirado I opened the PR as a draft to have a discussion on 2 topics:

Do we need a K8S test infra to be setup ?
Handling the resource update scenario needed to add the new behavior on delete. If that's not appropriate, here are the 3 possible scenarii:

Keep this pr behavior on delete
Forbid updates of the resource
throw an error when the update would require to go back to a store resource (Therefore only allowing Store -> Upload, and Upload -> Upload) (this removes the need for ForceNew)

About 1. Yes, we need it. That's not intended to be done in this PR. There are plans to have k8s and lxd test environments. Said that, tests around this cannot be landed yet. For the context of this PR I would say, let the tests commented so we can move forward on this. This will be addressed once the new environments are available.
About 2. There are no plans to have changes on the Juju side to have a delete endpoint for resources. I will keep the ForceNew if any changes are done for resources.
Thanks again for the PR!

@gboutry, please resolve the merge conflict and address the test failures.

We are moving from the provider from using the terraform sdk to the terraform framework. Closing this pr for now. We can address the fix later.


php(bob): fix "toOrdinal" to "respondTo"

In Bob, the placeholder said "Implement the toOrdinal function" instead of respondTo.
This PR is a very minor one that solves this.

@TheTechRobo thanks for the PR catching this, @petemcfarlane thanks for reviewing.
Something changed in our CI step where windows-latest started enforcing the composer.json's config.allow-plugins field.
I think this is good to merge since main@HEAD is now fixed.


Add no-op step to ETL to move files from input to output directory

As a developer I want a way to move files without manipulation because
Platform Output Support should only deal with output files and be blind
to the input files.
Background
The PIS project gathers the inputs necessary for the Open Targets Platform.
The vast bulk of these are manipulated using the ETL to generate the files
necessary for the Platform application. There is at least one exception to this
in the form of sequence ontology where PIS gets the raw file which is used
directly as an output.
To handle this the POS project needs to know about where the inputs and the
outputs are in the release process. This adds unnecessary complexity to the
release process and is difficult for external users to recreate.
Tasks

[ ] Update ETL with new 'no-op' step which can be used to move files within GCP
[ ] Update POS to remove mention of the inputs directory.
[ ] Update workflows to include new step.

Acceptance tests

When I run the full workflow all the necessary files for POS land in the output directory.
When I look at the POS project I don't see a variable config_direct_json.

@mbdebian I'm tagging you to evaluate how likely is that we work on this soon

My point of view is that we need to split this issue in two separate issues:

On one hand we want a new passthrough step in the ETL where, through the config file, we tell it each dataset that needs to pass through, where to collect the data and where to put it.
On the other hand, we need to create a new issue on updating POS for, whatever it was working with from the inputs, to collect it from the ETL outputs now.
These updates, if useful for the next release, could be part of it.
@d0choa , thoughts?

Once the ETL is run using airflow (#3396), this will no longer be a concern. We can handle the moving of data from input to output in the graph.


chore: Bump minor version

To signal the feature addition of severity in the SARIF report

Spotted that the plugin PR was merged, so the minor version bump is outdated

should read more closely... main was merged into the plugin branch rather than the other way around.
@jeremylong close to finish up on the plugin? or should we first go for 7.5.0?


implement ObserveHandler

ObserveHandler + final normalization/conditioning of the distribution.
To pass through the normalizing factor for normalization at the end, the additional parameter error_prob: Distribution is added to all InstructionHandler's compute method, and their return type is changed from Distribution to tuple[Distribution, Distribution].

Thank you for the implementation attempt. Upfront I have a question.
What was the design decision behind storing an additional error probability?
Would it also be possible to keep the instruction handler as is, and store the error probability right inside the current distribution (maybe by adding a dedicated $X_{\text{err}}$ variable? Of course this mans that we have to make sure a user does not use this name a a variable name in the program but seems to be the cleaner solution?

Keeping the error probability within the distribution should be possible, and it was what I considered at first too. The need for a reserved error variable that you mentioned was one reason i decided against it though. But more importantly, one would need to extract the error prob from that distribution again whenever it is needed, which to me did not seem very efficient or clean either.

We should discuss this next time. I currently prefer that solution, however I'm open to have a discussion with the other developers and decide this in plenum.


allow typing-extensions-4.7.0+ on pypy3.9+

Change Summary
Remove the PyPy-specific version restriction on typing-extensions when PyPy3.9 or newer is used.  The bug cited
in 12073b84563e3c74da9bbf847f6af88c8c229c12 is specific to PyPy3.7 and PyPy3.8.
Related issue number
(discussed in https://github.com/pydantic/pydantic-core/commit/12073b84563e3c74da9bbf847f6af88c8c229c12#r120315009)
Checklist

[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes where applicable
[x] Pydantic tests pass with this pydantic-core (except for expected changes)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @davidhewitt

please review

Thanks!


FirestorePagingAdapter - retry() failing

Hi @samtstern
I go through FirestorePagingAdapter and there is a method in it.
public void retry() {
        FirestoreDataSource source = mDataSource.getValue();
        if (source == null) {
            Log.w(TAG, "Called retry() when FirestoreDataSource is null!");
            return;
        }

        source.retry();
    }

I observed that source always remains null. Every time it shows Log...
"Called retry() when FirestoreDataSource is null!".
I also tested calling this method from FirestorePagingActivity after caught in error. Still, it failed.
I implemented this in our FirebaseRecyclerPagingAdapter and it is running fine!
I did it by adding Observer for DataSource and it's running fine without null value.

I noticed that fix in the other adapter, thanks for that!  We should fix this in the Firestore one too, for 4.4.0.
I'd also like to understand the underlying behavior here.  Does LiveData not hold values if nobody is observing?

Yes.
I observed that while working on FirebaseRecyclerPagingAdaper.
I did an experiment:

When I added this line
mDataSource.observeForever(mDataSourceObserver)
Then after calling getValue() on mDataSource doesn't returned null value

When I commented the code of observeForever
Then mDataSource.getValue() always returned null value.

By observing this, may be LiveData not hold values if nobody is observing

Apparently if you're using Transformations.map or Transformations.switchMap then the expected behavior is for there to be no value until you add an Observer ... which is really tricky!
I just found this out by asking someone.

@samtstern Okay!
It means we will have to add an Observer

Can I send pull request to branch version-4.4.0-dev by implementing this as same as FirebaseRecyclerPagingAdapter to fix this issue?

Absolutely!
On Wed, Mar 27, 2019 at 10:34 AM Shreyas Patil<EMAIL_ADDRESS>wrote:

Can I send pull request to branch version-4.4.0-dev by implementing this
as same as FirebaseRecyclerPagingAdapter to fix this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/1608#issuecomment-477270459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIEw6lPQOU-piSbPvJ3Qlv3ElhDqGQX7ks5va6uOgaJpZM4cORyU
.

Should we add refresh() method to refresh list as FirebaseRecyclerPagingAdapter ?

Sure I am open to that as well
On Wed, Mar 27, 2019 at 11:15 AM Shreyas Patil<EMAIL_ADDRESS>wrote:

Should we add refresh() method to refresh list as
FirebaseRecyclerPagingAdapter ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/1608#issuecomment-477288871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIEw6k6I-1-lGh_aeB4lfF1SKZgv5LTHks5va7VQgaJpZM4cORyU
.

Okay!

So, this issue is fixed now! 😃😃

@PatilShreyas yes thank you!  I mark things as "fix-implemented" until the fix is actually released to users.

@samtstern Okay
Thank You!

This has been fixed and released in 5.0.0


Staging websites for SSO and Demo

Definition of done:

[ ] Staging website created for Demo and SSO website

https://tonomy-id-market-com-staging.tonomy.foundation/


Creating ArchiveKey from raw hashes

in the manifest the key is serialized as directory hash and file hash, I wonder if this is somehow exposed in the library api

You can construct hashes using the From trait. That hash can then be used as key into the archive/directory. For example:
let key: ArchiveKey = b"Interface/HUDMenu.swf".into();
let file = archive.get(&key)?;

Lookinging up files using the embedded file strings is an anti pattern. The embedded file name is not guaranteed to be the one that generated the hash, and not all archives have file strings. It's also much faster to look files up using the hash.

If you mean the manifest stores the raw numbers for the hash, then you can build the hash directly and use the From trait to construct the key.

If you mean the manifest stores the raw numbers for the hash, then you can build the hash directly and use the From trait to construct the key.

hmmm I cannot find the From implementation

ah, figured it out:
                                            .map(|key_hash| {
                                                key_hash
                                                    .conv::<ba2::fo4::FileHash>()
                                                    .conv::<ba2::fo4::ArchiveKey>()
                                            })

(conv() is .into() helper, with ergonomic generic parameter, comes from (amazing tap library)[https://github.com/myrrlyn/tap])


tinymce settings take no effect

I have hard times understanding, why changes of the tinymce settings in the config file I created (see last PR's) do not take effect for the editor or do take effect randomly. I am using the cms-fortress gem locally. I change the settings for the editor in tinymce.yml and expect, that the changes are made after

login / logout
destroyed session
flushed memcache

Nothing is changing and I was not able to find out, when they change or what I have to do that the new settings are being used. Is there a cache in cms-fortress in the admin are - e.g the edit page? During development, everything should change immediately.
Thanks a lot for any help or hints
Cheers
Andy

I assume this has sth. do with caching. Will close now because it's not a cms-fortress related issue


After updating HA, when trying to setup integration again it says "Config flow could not be loaded: {"message":"Invalid handler specified"}"

Problem:
I updated HA to the latest versions. The integration with my gateway stopped working. I removed xiaomi gateway integration and updated the Xiaomi Gateway 3 in HACS. When try to add new integration in settings and select Xiaomi Gateway 3 it promts this error
Config flow could not be loaded: {"message":"Invalid handler specified"}
I the logs there is following error:
Logger: homeassistant.config_entries
Source: config_entries.py:852
First occurred: 12:35:56 (2 occurrences)
Last logged: 12:37:36

Error occurred loading configuration flow for integration xiaomi_gateway3: cannot import name 'Command' from 'zigpy.zcl.foundation' (/usr/local/lib/python3.10/site-packages/zigpy/zcl/foundation.py)

I cleared all integrations and tried again. Same problem. With my bare knowledge I can see that there is probolem loading Command from zigpy package. But this is may be on a HA or HACS level. I dont know
Environment
Home Assistant 2023.1.2
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230104.0 - latest
HACS: 1.29.1

Same problem

Same here.
Went back to 2023.1.1, i hope to have an update soon..

Same here.

Same problem

Same problem

The same . Whole zigbee network connected to Xiaomi Gateway 3 is down.
2023-01-09 14:04:15.297 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration xiaomi_gateway3: Unable to import component: cannot import name 'Command' from 'zigpy.zcl.foundation' (/usr/local/lib/python3.10/site-packages/zigpy/zcl/foundation.py)

#911

Проблема та же.

Проблема так же существует, с той же ошибкой
Home Assistant 2023.1.5
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest
Gateway 1.5.0_0102

Проблема так же существует, с той же ошибкой Home Assistant 2023.1.5 Supervisor 2022.12.1 Operating System 9.4 Frontend 20230110.0 - latest Gateway 1.5.0_0102

What is the version of Xiaomi Gateway 3 integration?

same issue, I even can't delete or remove the whole integration of Xiaomi gateway3, the only thing I can do is disable it first.

Same problem...

Same here.


Multi-select selected options stored as object instead of array

I have the following schema keys
"general.shipTypes": {
        type: Array,
        optional: true,
        // minCount: 1,
        label: "Selecteer de scheepstypes die van toepassing zijn",
        autoform: {
            firstOption: "(Selecteer scheepstypes, meerdere mogelijk)",
            placeholder: "Scheepstypes selecteren",
            type: "select2",
            multiple: true,
            options: function () {
                var result = [];
                shipTypes = TaxonomiesList.find({taxonomy: 'shipType'});
                shipTypes.forEach(function (shipType) {
                    result.push({label: shipType.name, value: shipType._id});
                });
                return result;
            },
            allowedValues: function () {
                var result = [];
                shipTypes = TaxonomiesList.find({taxonomy: 'shipType'});
                shipTypes.forEach(function (shipType) {
                    result.push(shipType._id);
                });
                return result;
            }
        }
    },
    "general.shipTypes.$": {
        type: String,
        optional: true,
    },

The data is saved as an object, but should be array. This was working pre 5.0. The modifier is as follows:
{ '$set':
    {
        'general.shipTypes.0': 'WXweJeYpjaLFsGarG',
        'general.shipTypes.1': 'wBPLfC6xkS2FG5u2c'
    }
}

Any ideas?

You are running into a mongo quirk (bug, in my opinion), where it is not smart enough to realize that a numeric key should create an array. Specifically

If the modifier you posted is used and general.shipTypes is already an array in the database, it works.
If the modifier you posted is used and general.shipTypes does not yet exist in the database or is null, it will create an object instead of an array.

Prior to AF5, we attempted to avoid this issue by always setting entire arrays. We always did:
{ '$set':
    {
        'general.shipTypes': ['WXweJeYpjaLFsGarG', 'wBPLfC6xkS2FG5u2c']
    }
}

However, the drawback is then we couldn't easily support forms where you want to update just a single array item. Forms always had to overwrite an entire array.
I anticipated this change might cause problems in cases like yours, but I wanted to get some real world example submitted before figuring out a solution, so if you can post the corresponding autoform, that would be helpful.
One simple solution could be to have a keepArrays=true attribute on the autoform, which would switch back to the old behavior. That feels a bit wrong, but it would probably work.
The way you can most likely solve your issue right now, without a new autoform release, is to restructure other parts of your code to ensure that shipTypes is always set to an empty array for every document.

That is a weird issue! You would expect that if you set a type to array in SS that it would save as an array, but it obviously does not. I want to set the shipTypes (a category list) to an array of strings (doc id's). I use methods to save the data, so i've written a few lines of code that checks if the general.shiptypes is an array or not, and update it accordingly. It works like a charm, but also feels a bit wrong... Maybe I come up with a better solution in the future.

Reopening to track

I added keepArrays=true quickFrom. Like this {{> quickFrom keepArrays=true ...}}.
But nothing changes. Still getting object, not array.

I haven't implemented keepArrays=true yet. Still figuring out the best way to handle this.

Please retest with AutoForm 5.1.0 and close if your issue is resolved.

I'm seeing this problem when using a schema like this one (array inside array):
"book.$.authors": {
    type: [String],
    label: "Authors",
    optional: true
  },

I'll create a repo with this issue as soon as possible.


Master slide "Big" with only one area A

Issue description
Right now we only Cover and Chapter. Both of them are dividing the screen into A and B.
It would be nice to have an element that is in center of the whole screen. And that in only one area A.
This way the Cover would be different from the Chapter and people can use it in different ways.
Proposal
Big

Slot
Content
Alignment

A
Any
center, bottom

┏━━━━━━━━━━━━━━━┓
┃               ┃
┃       A       ┃
┃               ┃
┗━━━━━━━━━━━━━━━┛

Versions

dekk: 1.0.0-17

Sometimes the things you suggest make sense... sometimes

This is the biggest blocker right now when using Dekk 😱


Format on paste doesn't adhere to current tab depth

If pasting code in and the editor is formatting on paste, the code will always be reset to no tab depth. Even the simplest pasting of one random character will reset the whole line's tab depth to 0 characters/tabs.

I can confirm this issue.

Any solution yet? Having the same issue

As much as it killed me to do so, I removed the extension. I have a feeling @mblode may have moved onto some bigger fish, but this project is a great start for a fork.

Same here. Anyone find a fix or workaround for this?

Hey guys, I have just pushed an update to Twig Language 2 with a brand new formatter using Prettydiff 3 which brings about some major bug fixes along with fixing this indentation issue. Please let me know if you are still having issues. Sorry about the lack of communication and slow development speeds but hopefully these updates have fixed some of your problems.

@mblode Looks like initial "paste point" is correct now, but the formatter will do a line break unnecessarily (which is another issue by itself) which seems to ignore the tab depth.

Hmmm yeah, I had realised that on testing 2 days ago and haven't had a chance to look into it any further. But I'll do some research now and hopefully push a fix in the next couple of days. 👍

@mblode Thanks for your continued work on this man!

I'm having the same issues as described. When I paste, it will remove any indentation.
Hitting "command + Z" will then re-indent the line to the appropriate place.
I've tried enabling/disabling Prettier and changing some of the settings but can't seem to narrow down the issue.
Thanks in advance for any thoughts or help!

@mblode Is it be possible to override VSCode's Editor setting for "Format on Paste"? Unfortunately, disabling Format on Paste would disable that functionality globally.

When I paste, not only does it reset the indentation, it adds a blank line below.
Any fix for this would be greatly appreciated :)

same issue as @Flowgram

@peterchang2 this extension has been kind of abandoned. I've since moved to using Prettier and https://github.com/trivago/prettier-plugin-twig-melody


Implementation of IF97 Transport Equations

Closes Issue #7

[x] Viscosity (state and saturation functions)
[x] Thermal Conductivity (state and saturation functions)
[x] Surface Tension (saturation function)

Also updates Mathcad wrapper and function documentation for these transport functions.  Verification of functions provided in the Mathcad document, if97_verification.xmcdz, and a PDF version, if97_verification.pdf, of that same file for viewing without Mathcad.  The compressed .xmcdz file was added to the repository for tracking purposes.

Thanks for the great work as usual!


Addressing vulnerability in mongoose

The Mongoose version used is susceptible to a recently found vulnerability (see https://github.com/Automattic/mongoose/issues/10035). Although, it is a medium severity vulnerability, it will be best to update the package.json with "mongoose": "^5.12.2", as humbly suggested in this pull request.

Interesting. I just noticed that you have the automated WhiteSource Security Check and highlighted the other pull request I submitted #39  in issue #38  ;-) I will try to address some of these CVEs in separate pull requests.


Add Colab notebook showing ResNet50 compilation and execution.

Note that we just recently started being able to compile and execute ResNet correctly, so there are still many areas where performance will be improving soon.

Can we add a little bit of timing prints?
I know that we are not performance oriented now but It could be useful to check time by time how this will evolve on colab.

Can we add a little bit of timing prints?
I know that we are not performance oriented now but It could be useful to check time by time how this will evolve on colab.

@bhack
I'd prefer to keep the Colab notebooks focused on ergonomics and experimentation. The Python bindings and Colab environment(1) introduce some overheads that make comparisons less meaningful. Performance history over time will be great to track, but I don't think Colab notebooks are the place for it.
The "Resnet50 Improvements" project is tracking some of the most visible optimization work, and the IR snapshot linked there has much room for improvement.
Out of curiosity, I added some timing locally (but don't plan to commit it):
def run_tf():
  tf_model.predict(input_data)
tf_time = timeit.timeit(run_tf, number=1)

def run_iree():
  rt_context.modules.module.predict(input_data)
iree_time = timeit.timeit(run_iree, number=1)

With all the above caveats, default flags for the Bazel build, TF takes ~0.11 seconds and IREE VMLA (reference CPU backend) takes ~14.3 seconds(2). The vulkan-spirv backend was failing for me on Windows with a VK_ERROR_DEVICE_LOST, which could indicate a timeout (for which partitioning our work and having faster kernels will help).
(1) Building the compiler and runtime together appears to affect the optimization flags. I think we're using opt flags, but NDEBUG is unset, so some very costly DCHECK (debug only checks) are still compiled in?
(2) It actually takes ~145 seconds (yes, that's 10x) before https://github.com/google/iree/pull/1917. So, still plenty of places to optimize :D

By the way, correctness tests are defined here: https://github.com/google/iree/blob/4ed6414a826b276064d5fa131e608bfc56c382dc/integrations/tensorflow/e2e/BUILD#L101-L152

ok thanks

If have something internal minimal to plot a graph on a page it could by interesting to see how checkpoints will improve over time. :)

with classification result it is better to show an image too

Good idea, done.