Build failure on clockwork uconsole (raspbian arm64)

I had compiled this package on same system before 2 weeks, but unfortunately sd-card failed so I reinstalled the system and now compilation is failing. Here is the output
└───▶ CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ..
-- The CXX compiler identification is Clang 14.0.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using build type 'Release' (default).
-- Dummy: ON
-- Telegram: ON
-- WhatsApp: ON
-- Dynamic Load: ON
-- Multi Protocol: ON
-- Core Dump: ON
-- Static Go: ON
-- The C compiler identification is Clang 14.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found SQLite3: /usr/include (found version "3.40.1")
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Performing Test HAVE_BUILTIN_ATOMIC
-- Performing Test HAVE_BUILTIN_ATOMIC - Failed
-- No built-in atomic, using libatomic.
-- Could NOT find ccache (this is NOT an error)
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version "3.0.14")
-- Found OpenSSL: /usr/include /usr/lib/aarch64-linux-gnu/libssl.so;/usr/lib/aarch64-linux-gnu/libcrypto.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STD14
-- Performing Test HAVE_STD14 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2 - Failed
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES - Failed
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND - Failed
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO - Failed
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP - Failed
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WVLA
-- Performing Test HAVE_CXX_FLAG_WVLA - Success
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_COMMAND_LINE_ARGUMENT
-- Performing Test HAVE_CXX_FLAG_WUNUSED_COMMAND_LINE_ARGUMENT - Success
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FLAG_WUNKNOWN_WARNING_OPTION
-- Performing Test HAVE_CXX_FLAG_WUNKNOWN_WARNING_OPTION - Success
-- Performing Test HAVE_CXX_FLAG_WODR
-- Performing Test HAVE_CXX_FLAG_WODR - Success
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING - Failed
-- Performing Test HAVE_CXX_FLAG_WPSABI
-- Performing Test HAVE_CXX_FLAG_WPSABI - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_MEMBER_FUNCTION
-- Performing Test HAVE_CXX_FLAG_WUNUSED_MEMBER_FUNCTION - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PRIVATE_FIELD
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PRIVATE_FIELD - Success
-- Git state: GITDIR-NOTFOUND
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.13")
-- Found ZLIB: /usr/include /usr/lib/aarch64-linux-gnu/libz.so
-- Performing Test ATOMICS_FOUND
-- Performing Test ATOMICS_FOUND - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Go version 1.23.1.
-- Go golang.
-- Go libraries:
-- Looking for include file xcb/xcb.h
-- Looking for include file xcb/xcb.h - found
-- Looking for include file png.h
-- Looking for include file png.h - not found
-- Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so
-- Looking for wsyncup in /usr/lib/aarch64-linux-gnu/libcurses.so - found
-- Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncursesw.so
-- Looking for cbreak in /usr/lib/aarch64-linux-gnu/libncursesw.so - found
-- Looking for nodelay in /usr/lib/aarch64-linux-gnu/libncursesw.so
-- Looking for nodelay in /usr/lib/aarch64-linux-gnu/libncursesw.so - found
-- Found Curses: /usr/lib/aarch64-linux-gnu/libncursesw.so
-- Using fallback man dir: /usr/local/man
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/sharad/nchat/lib/ncutil/MAGIC_INCLUDE_DIR
   used as include directory in directory /home/sharad/nchat/lib/ncutil
MAGIC_LIBRARY
    linked by target "ncutil" in directory /home/sharad/nchat/lib/ncutil

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Hi @Docbroke - the error message is related to MAGIC_LIBRARY - can I check if you have libmagic-dev installed?

Hi, @d99kris thanks, indeed libmagic-dev was missing.  It is building now.

closing


Composite Keys

The key option passed to Neuro should allow arrays. This also requires that a new option be added called keySeparator which is used to take multiple columns and combine them together into a single key string.

Commit:
https://github.com/ClickerMonkey/neurosync/commit/25ce4cd3f784bd4bb7f6d1185937e31ee7a60872


Error during compilation

Compiling jlibtool with Clang (c99) yields the following error and 2 warnings:
jlibtool.c:1617:11: warning: call to undeclared function 'strdup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                tmp = strdup(arg);
                                      ^
jlibtool.c:1617:9: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
                                tmp = strdup(arg);
                                    ^ ~~~~~~~~~~~
jlibtool.c:2227:2: warning: call to undeclared function 'setenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        setenv(LD_LIBRARY_PATH_LOCAL, l, 1);
        ^

Adding -Wno-int-conversion -Wno-implicit-function-declaration to the compiler command silences the error and warnings.

The better solution is to include the correct header files which have the function prototypes.  I'll take a look.


[Change request to #3670]

As a registered user, I want to see the reasons of my bonuses, so that I have a clear understanding of the movements of bonuses on my account.
Acceptance criterion:

In the column “Reason” of Bonuses table (Tab Bonuses, User Cabinet) must be pointed out one of the three possible reasons:
a)	“Повернення переплати за замовлення №12345”/ Refund of overpayment for the order №12345
b)	“Зарахування оплати скасованого замовлення №12345”/ Enrollment of payment for canceled order №12345
c)	“Списання у рахунок оплати замовлення №12345”/ Write-off of the payment of the order №12345
Order ID should be clickable and lead to the order page with the extended order form.

Impact of Change
This change request for the US Bonuses tab #3670, table Bonuses List, line “Reason”, column “Requirements”
Epic: https://github.com/ita-social-projects/GreenCity/issues/2195

From back-end functionality has been added.
Now the response looks like on the screenshot.


Use directly from component or service?

Hi,
I'm asking myself the question if it's possible to show the dialog directly from a component? Meaning I don't have a visual action that will trigger the show functionality.
For the moment I have to call another service and when this service resolves I will show an alert saying it's okay.
Tried to call functions directly from my component, but it doesn't work because of type issue and can't figure how exactly:
import * as swal from 'sweetalert2';
this.myService().subscribe((res) => {
      swal('Keep things simple :)');
      swal('The Internet?', 'That thing is still around?', 'question');
    });

Nevermind, found it, I was importing swal like this: import * as swal from 'sweetalert2'; changed it to: import swal from 'sweetalert2';

Yep, SweetAlert has a default export :)
By the way, you can also declare the modal in the template (in the case you'd like to reuse the modal from the template or to separate concerns more) and use this:
class MyComponent {
    @ViewChild('swalDialog') private swalDialog: SwalComponent;

    public somewhere(): void {
        this.swalDialog.show();
    }
}


How do I conditionally change the opacity of all nodes and edges recursively based on node data?

I'm using d3.v3.min.js and I've created a JSFiddle here. Please update the fiddle with responses so I can see how it works (the fiddle is intentionally simplistic).
I have dynamic filters that the user can apply to data but they change the opacity of the nodes to indicate what is filtered in and out (the filtered "out" elements are still partially visible and the actual d3 filter() function is not used (intentionally—and I know using eval() is bad but my filters are fairly complex and can be applied in any order by the user—they need to be conjunctive / logical AND)). I also set a property on each node that is filtered out (e.g. node = {"name": "test", "isFilteredOut": true};). So for the purposes of this question, even though I am using the word "filter", it is really just a conditional style change (and I will try to put the word "filter" in quotes in this post as a reminder of this).
This all works fine, but now I want to recursively "filter" out all children nodes and edges of "filtered-out" nodes, and also the edge connecting the initial "filtered-out" node to its non-filtered-out parent node.
All of the examples I can find begin with a click event and thus have the luxury of using this to get the data for the initial node selected. I do not have this luxury because the filter is applied using a UI element that is not within the graph itself.
I currently "filter" the nodes like so:
node.style("opacity", function(n) {
    if (my_filter_conditions) {
        return 1;
    } else {
        n.isFilteredOut = true;
        return 0.1;
    }
});

What I essentially need to do is:

Recursively select all children nodes of currently "filtered-out" nodes and "filter" those out also (i.e. change their opacity to 0.1 and set n.isFilteredOut = true;).

Change the opacity of all edges to 0.1 where the source node or target node are "filtered out" (i.e. n.isFilteredOut = true; on either end of the edge)

What I tried
I don't know how to access the data of the source and target nodes given only the index of each from the edges (remember I have no this node to start with from a click event). I tried passing the node index obtained from the edge to obtain the node data with:
var node_data = d3.select(current_edge.source.index).datum();

However, this resulted in errors from the d3 library related to this.node() being null (so passing the index here did not work).
I also tried handling edges by nesting the function for handling links inside the function passed to the node.style() function but then it tries to deal with all edges on every node and I can't get it to provide the desired result.
link.style("opacity", function (e) {
    return ( (n.isFilteredOut)
            && (n.index==e.source.index | n.index==e.target.index) ) ? 0.1 : 1;
});

This was my attempt to "filter out" edges on both sides of "filtered-out" nodes, but none of the edges were ever filtered out when I used this for some reason (it appeared as if nothing happened at all).
Notes on the fiddle:

I'm aware that it is simplistic (it's supposed to be a minimum working example)
The actual application contains filters that apply within types (even if just a search for a specific device/part/etc.), so it is important that the logic be able to conditionally follow the "chain" only for those nodes with node.isFilteredOut = true;
In this example, filtering out devices should also filter out all parts (when the solution works correctly)
Solutions that do any filtering using dataSet itself will not work, because much of my data is dynamically populated from various JSON sources. Feel free to work with nodes, edges, links, node, and/or link
Please do not rewrite my filtering methodology. Yes, I know eval() statements aren't great. But this is not a question about how to best apply infinite conjunctive filters, but about recursively changing the opacity of nodes and edges based on the filters applied (unless you know how to chain actual functions dynamically, e.g. they don't all have to be in the if statement every time—but that is not part of this question). The actual filters are much more complicated and do not simply filter on a single field of node data

Please use Stack Overflow tag d3.js to ask for help. Although I make an effort to assist everyone that asks, I am not always available to provide help promptly or directly. Stack Overflow provides a better collaborative forum for self-help: tens of thousands of D3-related questions have already been asked there, and some answered questions may be relevant to you.
When asking for help, please include a link to a live example that demonstrates the issue, preferably on bl.ocks.org. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗

Understood. I actually had tried that first but it hasn't panned out so someone recommended I try asking here. Oh well.


Update upload docs

Update upload instructions
Change P|E to PE to standardise
Add glossary

Codecov Report

Merging #578 (9387b8f) into master (a5f1eee) will increase coverage by 1.39%.
The diff coverage is 51.36%.

@@             Coverage Diff              @@
##             master     #578      +/-   ##
============================================
+ Coverage     59.88%   61.27%   +1.39%
- Complexity      541      628      +87
============================================
  Files           100      104       +4
  Lines          2064     2252     +188
  Branches        222      261      +39
============================================
+ Hits           1236     1380     +144
- Misses          736      756      +20
- Partials         92      116      +24

Impacted Files
Coverage Δ

...n/java/seedu/programmer/commons/core/Messages.java
0.00% <ø> (ø)

...main/java/seedu/programmer/logic/LogicManager.java
38.46% <0.00%> (-8.42%)
:arrow_down:

...grammer/logic/commands/DashboardCommandResult.java
100.00% <ø> (+100.00%)
:arrow_up:

...ogrammer/logic/commands/DownloadCommandResult.java
100.00% <ø> (ø)

...u/programmer/logic/commands/ShowCommandResult.java
36.36% <ø> (+3.03%)
:arrow_up:

...programmer/logic/commands/UploadCommandResult.java
100.00% <ø> (+100.00%)
:arrow_up:

...edu/programmer/logic/parser/EditCommandParser.java
61.11% <0.00%> (-3.60%)
:arrow_down:

src/main/java/seedu/programmer/model/Model.java
100.00% <ø> (ø)

...n/java/seedu/programmer/model/student/ClassId.java
85.71% <ø> (+28.57%)
:arrow_up:

...ain/java/seedu/programmer/model/student/Email.java
80.00% <ø> (ø)

... and 62 more

Continue to review full report at Codecov.

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


See if there are peak times for error/warning/info messages

Some heuristics on when we get the most types of messages might be interesting/useful in cleaning up noisy logging or finding temporal problems.

Just to clarify, this means that we should find peak time ranges for each type of message (error, warning, info) separately, correct?

im working on this one (general for all message types)


[silgen] Add helper methods to compute ArgumentSource::getSubst{RValue,}Type() as SILTypes.

[silgen] Add helper methods to compute ArgumentSource::getSubst{RValue,}Type() as SILTypes.
rdar://31145255

@jckarter How does this look? I just want to make sure I am doing this right,

@swift-ci Please smoke test


Getting "Column is Null" error when "Include" child records in Linq query

I'm getting  "Column is Null" error when I try to use "Include" in Linq query:
var query = dbContext.Accounts.Include(a => a.Contacts).Where(a => a.Name = XXX);
var list = query.ToList();  // this line will throw the following "Column is NULL" error:
Contacts is a Navigation Property of Account:
public virtual ICollection Contacts {get;set;}
System.InvalidCastException
HResult=0x80004002
Message=Column is null
Source=Npgsql
StackTrace:
at Npgsql.NpgsqlDefaultDataReader.GetFieldValue[T](Int32 column)
at Microsoft.EntityFrameworkCore.Storage.Internal.TypedRelationalValueBufferFactory.Create(DbDataReader dataReader)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)    at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded)    at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable1.Enumerator.MoveNext()
at Microsoft.EntityFrameworkCore.Query.Internal.QueryBuffer.IncludeCollection[TEntity,TRelated,TElement](Int32 includeId, INavigation navigation, INavigation inverseNavigation, IEntityType targetEntityType, IClrCollectionAccessor clrCollectionAccessor, IClrPropertySetter inverseClrPropertySetter, Boolean tracking, TEntity entity, Func1 relatedEntitiesFactory, Func3 joinPredicate)
at Microsoft.EntityFrameworkCore.Query.Internal.IncludeCompiler._Include[TEntity](QueryContext queryContext, TEntity entity, Object[] included, Action3 fixup)    at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext()
at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.<_TrackEntities>d__172.MoveNext()    at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor1.EnumeratorExceptionInterceptor.MoveNext()
at System.Collections.Generic.List1.AddEnumerable(IEnumerable1 enumerable)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Bolstra.Api.Controllers.ValuesController.Get(String[] sort, FilterRequest filter) in C:\Project\BolstraV2\web-api\src\web-api\Controllers\Other\ValuesController.cs:line 45
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__12.MoveNext()
Don't know which column in the child table caused error. There are multiple nullable columns in the Contact table.
Any suggestions on how to fix this?
By the way, it seems only happen when I try to include children with one-to-many relationship. Include child with one-to-one relationship has no problem.

Can you please post the relevant parts of your model?

I've figured out the problem. It happens when a field is Tagged with [Required] in the model, but is set Nullable in the database.
Our model was written on an existing DB, so we has some mismatches.  Thanks for your attention. Now you can close this issue.


Deserialization does not work

The tests work fine but Ratchet -> Map -> String -> Map -> Ratchet does not work

Fixed in 96d9c55 with adjusted tests.


required parameter in slider

I think it would be nice for the Slider widget to contain a required parameter, or a way to display the label even without actions

This ticket sounds like a duplicate to: https://github.com/flutter/flutter/issues/34704

yes, the same thing, show the label programmatically, without user interaction

This is duplicate of https://github.com/flutter/flutter/issues/34704 consider closing this in favor of the first reported issue.

closing as duplicate of https://github.com/flutter/flutter/issues/34704


Fixed Remote Code Execution in im-metadata

📊 Metadata *
Fixed Remote Code execution
Bounty URL:https://www.huntr.dev/bounties/1-npm-im-metadata/
⚙ Description *
This Package helps to retrieve image metadata using ImageMagick's identify command
💻 Technical Description *
The Cause for RCE was providing a command immediately after the use of a semicolon at the path variable.
🐛 Proof of Concept (PoC) *
//poc.js
metadata = require("im-metadata");
metadata(";calc.exe", {}, function () {});

🔥 Proof of Fix (PoF) *

👍 User Acceptance Testing (UAT)
The PoC does not seem to be working after the fix being applied.

👋 Hello, @Starefossen - @B3EF has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@Starefossen & @B3EF - thank you for your efforts in securing the world’s open source code! 🎉

👋 Hello, @Starefossen - @B3EF has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@Starefossen & @B3EF - thank you for your efforts in securing the world’s open source code! 🎉


Automated commit — Updated feed (Bean Shuttle ,Metro St. Louis)[SOURCES]

@emmambd this is the PR for the feed update we did last week. Fred has been able to fix it

Looks good! Only thing missing is the redirect IDs for the new feeds.

@emmambd Bean Shuttle redirect ID has been added to the metadata. Wondering why it wasn't showing here because it was included in the [cleaned] for import sheet.

@emmambd kindly review and approve. The array update has been done


More comms suggestions

This doesn't build, because NUClear's clock (which the ServoTargets use) has a different duration to this PRs custom clock, and there's no operator to subtract between the two duration types.
I think this should be along the right track though, and we're going to have to build the custom clock into the other stuff too eventually (perhaps next...)

Depending if anyone answers https://hl.forum.robocup.org/t/realtime-in-webots-controller/504, we may move to a clock like gazebo.

Have you tried bugging people on the robocup discord for an answer? could be worth doing

Have you tried bugging people on the robocup discord for an answer? could be worth doing

Yeah, a Discord post in the #webots-technical-questions channel will probably get a quicker response.


product slider won't display non-variant products in a product stream

Description:
When placing a product slider cms element within a layout and attaching a product stream as it's source, no products will be displayed if the matching stream's products are not variant products.
This is caused by the product's getVariantListingConfig method returning an empty (!) VariantListingConfig instead of null where this is not the expected behaviour.
Thus, the product is considered to be a product with variants but it has no valid variant config, of course, and is thus filtered out.
Environment: shopware <IP_ADDRESS>
Steps to reproduce:

Place a product slider within any layout, define it's source to be a product stream that matches 'simple' products, so products that have no variantListingConfig
assign the layout to a category
in the layout tab of the category the 'preview' function of the product stream will work

Expected result:

in the storefront the products that were displayed in the product slider's 'preview' modal are displayed as a product slider

Actual result:

no products are displayed in the product slider (unless they are variant products)

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-36448.
[created from NEXT-36448, comment 486460]


Wire up router and add skeleton code

Step one of #2

Create initial pages and a few components to be filled in
Removing the # from navigation
Setting up the event bus
Wiring up VueRouter correctly (vuetify was fighting it)

@tuttiq I'm not sure why Netlify isn't working with vue-router. Need to look into it more. It works locally with yarn run serve


Feature: Chat GPT window

I would like to suggest adding a Chat GPT component to this wonderful extension.
I am using GPT on a daily basis and find it sometimes better to "chat" and ask for quick code snippets or interesting historic facts than to go and look through the internet.
This component would have to work similar to what the Loadshedding component does where the user would have to register on the site and then enter their API key.

This is something I definitely would like to add in! Thanks for the suggestion!

Would it be OK to follow the same approach as the loadshedding component for the API_KEY?
Or do you have another way that should be used?

I appreciate the assistance, however I think I'd like to save this feature for after the rework I'm doing, I also want to give it some thought on how to show it given the many uses of AI.
For now keeping the work on the current version to a minimum. Thank you


Added codecov to ci builds

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9e5e186). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #23   +/-   ##
=========================================
  Coverage          ?   56.98%
=========================================
  Files             ?       79
  Lines             ?     5407
  Branches          ?        0
=========================================
  Hits              ?     3081
  Misses            ?     2326
  Partials          ?        0

Continue to review full report at Codecov.

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


Added some documentation to help newcomers send Keysend payments

Change Description
It's documentation. It might nelp.
Steps to Test
Steps for reviewers to follow to test the change.
Pull Request Checklist
Testing

[ ] Your PR passes all CI checks.
[ ] Tests covering the positive and negative (error paths) are included.
[ ] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

[x] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
[ ] Commits follow the Ideal Git Commit Structure.
[ ] Any new logging statements use an appropriate subsystem and logging level.
[ ]  There is a change description in the release notes, or [skip ci] in the commit message for small changes.

📝 Please see our  Contribution Guidelines for further guidance.

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

@brianoflondon, remember to re-request review from reviewers when ready

I don't really have time to spend. This is a useful code example that would help newbies.
Publish or delete, lightning needs more and better documentation in my opinion but as you don't pay i have to spend more time on the project that does pay me.

Fair enough, thanks for the response and the initial contribution! We'll see if someone from the team has time to polish the text so we can merge it to our docs.

Added to our builder's guide here: https://docs.lightning.engineering/lightning-network-tools/lnd/send-messages-with-keysend#docs-internal-guid-5736b677-7fff-7369-1bb3-cf686146b756
Thanks for the initial text, @brianoflondon.


transclude element is causing duplicated attributes

I apologize if this is a duplicate, but I'm not sure how to continue the discussion in 3505 which has bee closed for some time.
As described in https://github.com/angular/angular.js/issues/3505, I have removed the duplicated attributes.  However, it does not work in all cases. Wrapping an input that has ng-required and ng-model attributes, for example, will move the effective copy of those attributes to the wrapping <div>'s copy. This makes the ones on the input element themselves non-functional (even if you remove the additional copies as described above.
I am attempting to use transclude: 'element' in order to 'wrap' input elements so that I can apply CSS pseudo classes to support visual emphasis in certain circumstances (e.g. required).  Duplciated attributes (even though removed as described in 3505) make ng-model on input itself no longer effective - rendering entire approach not workable.  In essence, I want to declare an 'A' directive that overloads ng-required attribute and then wraps as the input element itself does not support CSS pseudo classes.  All works find except for the duped attributes supersede and the ones on the input are no-ops after the wrapping.
I have a very ugly plunker http://plnkr.co/edit/UD26hYq42DykR5KWJR2i?p=preview showing 3 different approaches I have attempted to realize this.  I apologize in advance as the plunker is very ugly as I have been hacking at it for a bit.  You can switch between the 3 different attempts by changing the inlcude in index. html.
ngRequired3.js (default) is as described above.  The ng-model and other attributes do not appear to have any effect as the watch is no longer triggered
ngRequired.js is actually the closest to working.  Although it is much more complicated than a transclude: 'element' based approach would be.  The main remaining issue in this option is that those input controlled by ng-if can have visual issues as the directive is compiled even when ng-if is false.
ngRequired2.js this is a different attempt to manipulate the DOM in the link function.  This seems to produce correct DOM structure for all but ng-if controlled input - which appears to get dropped entirely with this version.
Lastly, I have also made many other attempts including wrapping and/or use of $compile have resulted in endless compile/digest loops.
I'd appreciate any thoughts or ideas (that support CSS pseudo element based approached) on how to best accomplish this seemingly simple task.

The main duplication issues are probably caused by using replace: true, which is deprecated. transclude: element is making this worse, I guess. However, this is not really the place for discussing these kinds of questions. You are probably better off in one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question
That said, I think you will get more people to look at your examples if you clean them up. There seems to be a lot of code in them that is actually not needed for the core of the problem. I would suggest you make it so that one can see all three different implementations at the same time (so not using ngRequired as the directive). You should also structure your HTML better so we can see which inputs etc. belong together


[SPARK-46570][INFRA] Run Python 3.11 and 3.12 tests independently

What changes were proposed in this pull request?
This PR aims to run Python 3.11 and 3.12 tests independently.
Why are the changes needed?
Currently, the CI is broken. It's easier to split the versions to isolate and identify the Python version-related root cause.

Since Python 3.12 is relatively new than the other versions, it needs more attention.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
This should be tested after merging because Python CI is a daily test.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.

Thank you, @HyukjinKwon .


[bug] Validating bias check to "The movie was great!" is classified as biased

Describe the bug
I followed the usage example for applying the bias_check validator, but I encountered an unexpected result. The validation failed with the following error message:
Validation failed for field with errors: The original response contains potentially biased messages:
The movie was great!
 (Message scores: 0.9892271757125854)

To Reproduce
Run the example code from the documentation
Expected behavior
A clear and concise description of what you expected to happen.
Library version:
Version 0.60
Additional context
Python Version: 3.12
OS: Windows 11

Seems to be an issue with the underlying model due to a recent update
Tracking with the issue:
https://github.com/guardrails-ai/bias_check/issues/3


WIP: Pouta network documentation

https://csc-guide-preview.rahtiapp.fi/origin/pouta-network/cloud/pouta/networking/

Thank you Alvaro, I updated following your recommendations.


[DDW-738] Implement discreet Mode

This PR adds the "discreet mode" functionality.
This PR is made up of:

PR 2724
PR 2725
PR 2756
PR 2740
PR 2742

Please refer to PR 2740 and PR 2742 for detailed description, screenshots, and test scenarios.
Todos
Screenshots

Screenshot

Testing Checklist

Slack QA thread
[ ] Test

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes
[ ] PR has default-sized Daedalus window screenshots or animated GIFs of important UI changes:

[ ] In English
[ ] In Japanese

[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

still not enough space for title (some padding is very welcome)
with menu closed it looks ok

feels like there are different styles for the texts (top one uses light)
fonts should be regular + semibold here

what happened to this button?

@renanvalentin it seems like the discreet mode is not working in storybook e.g wallet summary?

what happened to this button?

Whats wrong with it?

what happened to this button?

Whats wrong with it?

huge text and icon size

feels like there are different styles for the texts (top one uses light) fonts should be regular + semibold here

Fixed, thanks!

what happened to this button?

Whats wrong with it?

huge text and icon size

Fixed, thanks!

still not enough space for title (some padding is very welcome)
with menu closed it looks ok

@alexander-rukin fixed, thanks!

Uff, it took me a while to check all the changes :). Great Job specially converting a lot of classes in function. I am only concern we used mobX to controll the discrete mode feature. Did not we agree to slowly move out from MobX?

@danielmain i don't think we have decided to move away from mobx - just to improve the way we use it. I tried most other state management approaches and can't see many benefits BUT it would require a lot of work to refactor. This would be a bigger task than the Typescript switch imo

We need a QA review before merge

@lucas-barros Everything looks well, here's a small inconsistency on the filters:

When the discreet mode is not enabled, the filters on "transactions" are empty by default. When it's enabled, "from" and "to" show 0 and 45B. These values should only be displayed if "all transactions" was clicked after enabling the mode. So by default, no values should be displayed on the filter until the user selects or inserts them. Check this video.


Laravel ExA use default database Postgresql

Firstly, thank you for the amazing work with Laravel ExA.
Following the recent changes, I noticed that the SoftDeletes concept was added and this is great for auditing and data recovery. From what I noticed, UserActions was also added, this made the template more robust.
However, I would like to raise the following logical question, thinking about making the temple more robust.
Given that when using SoftDelete the records are now marked as logically deleted, that is, the "deleted_at" field is different from null, I suggest defining the Postgresql Database as the default for the template, considering that Postgresql supports uniqueness restrictions composed disregarding records marked as deleted by softDeletes, and this meets some business need to have, for example, a table with compound uniqueness.
Example:
TableA with $table->unique(['colunaA', 'colunaB']
Event flow

Register a record with the values: ColumnValueA1, ColumnValue2
Delete the record (This will make the record marked as deleted)
I try to create a new record with the same values ColumnValueA1, ColumnValue2
MySQL will throw an exception as it does not support uniqueness, disregarding softDeletes records

I love PgSQL and I think it's great for a lot of applications, however, the most used DB with PHP/Laravel is still MySQL AFAIK, so I'd prefer to keep MySQL as the default DB and if someone needs to change, they can easily change it by doing some changes in the Docker configuration.
For this issue with MySQL, you can try this workaround:
https://gusiol.medium.com/soft-delete-and-unique-constraint-da94b41cff62


Inconsistent npm version

The command 'npm get-version' retrieves the npm version, while 'npm -v' displays the version of npm bundled with node.

See also #352

Expected State should be npm -v

See #352 what is very relevant in this regard. Most probably we can close this issue as kind of "duplicate".

The term "duplicate" may be questionable here but if #352 is fully implemented, then this bug issue is resolved. Hence, I am closing it now.


NegativeInt interface

Description
Turn the type NegativeInt to a serializable interface and implement it with a value class.
Checklist

[ ] Turn the type to an interface.
[ ] Make the interface serializable.
[ ] Implement the interface with a value class.
[ ] Update Work in progress section in changelog.

In the integers hierarchy, we should keep this class as an inline class for performance purpose.


Automatically sync map (Download save file)

It would help being able to sync the map with the client either automatically when you join server & desync or manually.
A lot of the time I play multiplayer games with a friend I have to go and zip up my save file for him to download and rejoin.
Server could pause, save map and send it every time a client joins or desyncs?
EDIT: save files are located in %localappdata%\Colossal Order\Cities_Skylines\Saves as .crp files
they do update immediately as you save them, and are not blocked by the process. Meaning you can move them, read and etc while the game is running.

Would it be able to check if desync has happened by sending back and forth MD5 data from gamesave?
Or a hashed key made by an algorithm that takes into account trees, buildings (put down by player) and so on?

Closing this as a duplicate of #45, but thanks for the additional ideas!
It is already one of our top priorities.
About detecting a desync: I think that checking the hash of the gamesave won't work because we don't need to sync everything perfectly (some things can happen only on the hosting player).
There are already some checks (like an id reserved twice) to make sure the game state is still valid, but I think we will expand this in the future.

Thanks for the extra info!


Adding U in the proof value.

Opening to track a suggestion made by @andrewwhitehead in PR #230.
The idea IMU is to add U (total number of undisclosed messages) in the proof, i.e.,
proof = (A', Abar, D, c, e^, r2^, r3^, s^, *U*, (m^_1, ..., m^_U)).
This will add some redundancy in case the proof gets accidentally truncated (or malformed in general).

Personally not sure how useful this will be above the transport layer however this would potentially make the suggestion in #227 easier to apply.

I'm a -1 to this proposal for the following reasons

It increases the proof size by 8 bytes
The detection of truncation only works for malformed components beyond U in the proof value e.g (m^_1, ..., m^_U)
For U to be useful in the proof, implementations that are decoding proofs would have to written a certain way to detect a malformed proof.

This issue does raise a good point that we could omit L from proof verify and deduce it based on length(m^_1, ..., m^_U) when decoding the proof.

This was suggested at the start of this work item as well, as the previous implementations of BBS+ used this approach. In my mind, U is part of the public proof parameters along with the presentation header ph, and does not need to be encoded in the proof itself.

Discussed on the WG call 9th of January. Consensus is that rn the added redundancy is useful in some rare cases. Will discuss closing this issue in the next WG call, with the potential of reopening after #227 is resolved

Discussed in the WG call 23d of January. Closing the issue with the potential of reopening after #227. Will also look into adding an implementation note describing this solution as a potential mitigation if one is needed.

Like this. I was doing something like this in my code but deriving U from the L value.


Anything with "ing" in it's name incorrectly shows the ING icon

Currently the ING icon shows up for services that are not related to ING at all, examples:

XING
Rippling

Both of them have ing as substring.
Related: https://github.com/helloworld1/FreeOTPPlus/pull/220

Yea, that's bad. I will add some more rules to make the matching smarter

The same problem  still exists in the latest version 3.1 from f-droid with any 2FA from *.groningen.nl


allow custom hd path

In addition to predefined HD paths allow user to set any custom prefix. Allow to import m/44'/60'/1'/0,  m/44'/60'/2'/0, and so on

@shanejonas if you can do that by release candidate, that would be great


编译成功后无法收集固件。求助

https://github.com/ilxp/AutoBuild-Actions-BETA/actions/runs/7440593440/job/20241760241。提示：
Run cd openwrt
[08:11:30] [Firmware_Diy_End] Starting ...
[08:11:30] [08:11:30] Actions Avaliable: 13G
FIRMWARE OUTPUT
x86
[08:11:30] [Firmware_Diy_End] Done
没有像大佬编译的：
Run cd openwrt
[01:12:56] [Firmware_Diy_End] Starting ...
[01:12:56] [01:12:56] Actions Avaliable: 23G
FIRMWARE OUTPUT
config.buildinfo
feeds.buildinfo
openwrt-x86-64-generic-kernel.bin
openwrt-x86-64-generic-squashfs-combined-efi.img.gz
openwrt-x86-64-generic-squashfs-combined.img.gz
openwrt-x86-64-generic-squashfs-rootfs.img.gz
openwrt-x86-64-generic.manifest
packages
profiles.json
sha256sums
version.buildinfo
[01:12:56] Moving [openwrt-x86-64-generic-squashfs-combined-efi.img.gz] to [AutoBuild-lede-x86_64-R23.11.11-20240102-UEFI-Default-56000.img.gz] ...
[01:12:56] Moving [openwrt-x86-64-generic-squashfs-combined.img.gz] to [AutoBuild-lede-x86_64-R23.11.11-20240102-BIOS-Default-d8216.img.gz] ...
/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt
[01:12:56] [Firmware_Diy_End] Done
试了，多次，找不到原因，麻烦帮忙看看。

已pr，试试

谢谢，我去试试

大佬，问题依旧。https://github.com/ilxp/AutoBuild-Actions-BETA/actions/runs/7443605069/job/20248708449。
[16:48:59] [Firmware_Diy_End] Starting ...
[16:48:59] [16:48:59] Actions Avaliable: 13G
/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/Scripts/AutoBuild_Function-oprx.sh: line 377: cd: "/home/runner/work/AutoBuild-Actions-BETA/AutoBuild-Actions-BETA/openwrt/bin/targets/x86/64": No such file or directory
Error: Process completed with exit code 1.
再帮忙看看。


Show warning message then invalid (css/html) snippet is submitted for the first time

For the first time, show warning message and prevent snippet submission. Let user force snippet submission on his own risk.

If I understand correctly, you want to show warning message but let user to submit invalid snippet? What is the use case for this?

Ace editor can return if html/css is valid in snippet. Sometimes, user may want to add invalid snippet (can be some scenarios, then user will want to use invalid css/html), so I think, we should let him do this, but warn him, that this can be harmful.
I'm not sure if we need functionality to "force invalid" snippet, but i think, displaying message to user then snippet is invalid - would be useful. We can prevent issues like in betterCms, then invalid html breaks all the page.

understood, go for it :)

Implemented.


Api: support multi-level paths in BasePathMapping

Waiting for CDK to add support for it - https://github.com/aws/aws-cdk/issues/14822
Workaround
Guy Shechter has a workaround by configuring the custom domain manually:
import {CfnApiMapping, IStage} from "@aws-cdk/aws-apigatewayv2";
...
        const myApi = sst.Api(...)
        const customDomainMapping = new CfnApiMapping(this, "customDomainMapping", {
            apiId: myApi.httpApi.apiId,
            domainName: 'api.myapp.com',
            stage: (<IStage>myApi.httpApi.defaultStage).stageName,
            apiMappingKey: (scope.stage !== 'prod' ? {path: scope.stage + '/orders/returns'} : {path: 'orders/returns'})
        })
        this.addOutputs({
            "CustomEndpoint": 'https://' + customDomainMapping.domainName + '/' + customDomainMapping.apiMappingKey
        });

This worked until I went to deploy a new stage. In that case, I also needed to add a dependency to prevent customDomainMapping from being created before the Api was created:
        customDomainMapping.node.addDependency(api.httpApi);

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


[fix][test] Fix NonDurableSubscriptionTest.testInitReaderAtSpecifiedP…

Motivation
The comments and code are inconsistent in the test NonDurableSubscriptionTest.testInitReaderAtSpecifiedPosition, some are comments not correct while others are code not correct. This issue was introduced by https://github.com/apache/pulsar/pull/21248.

Modifications
fix the inconsistent between comments and code in the test NonDurableSubscriptionTest.testInitReaderAtSpecifiedPosition

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

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

Project coverage is 74.35%. Comparing base (bbc6224) to head (faf1521).
Report is 702 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23293      +/-   ##
============================================
+ Coverage     73.57%   74.35%   +0.77%
- Complexity    32624    34428    +1804
============================================
  Files          1877     1943      +66
  Lines        139502   147045    +7543
  Branches      15299    16205     +906
============================================
+ Hits         102638   109334    +6696
- Misses        28908    29281     +373
- Partials       7956     8430     +474

Flag
Coverage Δ

inttests
27.32% <ø> (+2.74%)
:arrow_up:

systests
24.40% <ø> (+0.07%)
:arrow_up:

unittests
73.72% <ø> (+0.88%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 653 files with indirect coverage changes


[BugFix] Fix unified connector not showing iceberg table

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 6 / 6 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/RemoteFileInputFormat.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedMetadata.java
1
1
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 6 / 6 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/RemoteFileInputFormat.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedMetadata.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 6 / 6 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/hive/RemoteFileInputFormat.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedMetadata.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.2


 -DCMAKE_CXX_STANDARD=14
$> make

Remarks:

The same error occurs when using the master branch.
Compiling the same checkout GCC (tested with 4.8.5 and above) works fine.

I cannot reproduce this - at least with Clang 7.0.0 on Ubuntu, I can execute the exact commands you provided without error.

The problem seems to be due to the fact that I compiled clang from the sources on my CentOS machine, whereby GCC 4.8.5 was used, which does not support C++14 to full extent. A properly compiled clang works without problems. Thanks for the quick help.
Am 08.06.2019 um 18:55 schrieb Niels Lohmann <notifications<EMAIL_ADDRESS>I cannot reproduce this - at least with Clang 7.0.0 on Ubuntu, I can execute the exact commands you provided without error.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nlohmann/json/issues/1628?email_source=notifications&email_token=AAPGPIZOZZK3FBUA3CSU3LTPZPQAHA5CNFSM4HWHDPT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHYSTI#issuecomment-500140365, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAPGPI3CUIKVCHG62JMN6BLPZPQAHANCNFSM4HWHDPTQ.


"An essential class was loaded before Sponge could patch it"

I'm not sure which Sponge github to put this on...
Everything relivant is on this hastebin.
The console log and the fml-latest have different time stamps because they are from different attempts to run the server.

This is an issue with the BaseMetals mod: https://github.com/MinecraftModDevelopmentMods/BaseMetals/issues/159.

Thank you for the swift response.

@EmanYm You may find luck using SpongeBootstrap.

It didn't fix the issue I'm having.  It does disclaim that it's not a guaranteed fix.  shrug  I have another course I can take.  Thank you for the help, Ryan

@kashike How did you determine out of all the mods that it was with BaseMetals?

By reading the log?


0076_Minimum_Window_Substring

IMPORTANT: Please do not create a Pull Request without an issue.
closes #175
All Submissions:

[ ] I have read the CONTRIBUTING document.
[ ] My code is written in Python3 and is ending with .py
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] I have checked that my submission does pass the test on LeetCode.com
[ ] Does your filename follow the naming Conventions?
[ ] Have you linked your PR to an Issue?

Closing issues
Put closes #175   in your comment to auto-close the issue that your PR fixes (if such).

@vJechsmayr Can you please take a look at PR?

@vJechsmayr I have updated code as per requested changes. Please take a look at once. Thank you.


DNS configuration

Hello
I have set DNS perfectly as per given documentation but if i check spam score from mail- tester.com i got very less score.. it show's -4 for below reason
Your SPF record is unavailable.
More information about this error:
psrp.mydomainname.online: Sender is not authorized by default to use<EMAIL_ADDRESS>in 'mfrom' identity, however domain is not currently prepared for false failures (mechanism '~all' matched)
The Name Server handling the domain name psrp.mydomainname.online is rp.mail.mydomainname.online.
Need guidance? View guides for each host.
Verification details:
dig +short SPF psrp.mydomainname.online :
rp.mail.mydomainname.online.
dig +short SPF @rp.mail.mydomainname.online. psrp.mydomainname.online :
;; connection timed out; no servers could be reached
spfquery --scope mfrom --id<EMAIL_ADDRESS>--ip 81.xx.xxx.xxx--helo-id mail.mydomainname.online :
softfail
psrp.mydomainname.online: Sender is not authorized by default to use<EMAIL_ADDRESS>in 'mfrom' identity, however domain is not currently prepared for false failures (mechanism '~all' matched)
psrp.mydomainname.online: Sender is not authorized by default to use<EMAIL_ADDRESS>in 'mfrom' identity, however domain is not currently prepared for false failures (mechanism '~all' matched)
Received-SPF: softfail (psrp.mydomainname.online: Sender is not authorized by default to use<EMAIL_ADDRESS>in 'mfrom' identity, however domain is not currently prepared for false failures (mechanism '~all' matched)) receiver=ns303428.ip-94-23-206.eu; identity=mailfrom<EMAIL_ADDRESS>helo=mail.mydomainname.online; client-ip=81.xx.xx.xxx
Could you please help me in this matter

On the domains tab in Postal, does it say that your domain has been set up correctly? You can open it up and click on the button to check again.

it's sbow perfectly fine without any issue

Have you created all 3/4 Return Path records for your main postal domain as per https://github.com/atech/postal/wiki/Domains-&-DNS-Configuration?

yes i did the same things.. if you can give me your email id then i will PM you with postal details as well as domain dns record

I am unable to verify a domain inside an organisation.

When I tried the email verification option, it was displaying 4 protected email ids, none of which received the verification option.

When I tried the DNS verification, I added the TXT record as was expected, but the domain failed to verify even after 3 hours.

Can anyone suggest a solution please?

When I tried the email verification option...

This doesn't sound like Postal, are you sure you created this issue in the right place?

Yes Will, this is with Postal. :-)
Can you give me a link to any help file with which I can check on the DNS verification issue?
New user emails are getting delivered, but DNS verification emails are not sent.

can you send us a screenshot of the verification screen?

This is the screenshot of the DNS verification screen https://tppr.me/BhuMn
and
This is the screenshot of the email verification process https://tppr.me/cCs8w

@willpower232 what about my issue ?

@palash76 we create all our users using postal make-user as per https://github.com/atech/postal/wiki/Installation#create-your-initial-admin-user so they don't need verifying and haven't seen that screen before! Maybe make sure your postal.yml file is set up with an SMTP server to email through?
@sahilsunesara sorry, please email<EMAIL_ADDRESS>

@willpower232 I am surprised why you keep saying you have never seen this screen. :-) . To clarify further, I am creating a new user for a new organization inside postal. While creating a new user is successful, and a validation email is also sent and delivered, I get stuck in the domain verification for this new user.
If you have a help file on DNS verification, I will be grateful.

I have just run some tests using our development Postal and the verification works both ways for me.
I am not sure why you haven't received the email verification messages, if you have configured Postal to send emails via itself, maybe you could see what happened to the messages in there?
The DNS requires you to make a TXT record at the root of the domain with the value from your screen. You can use whatsmydns.net to make sure the record has been set up correctly and is resolving around the world, you should see something like this:


Stale is false even if the cache-and-network call is pending

Describe the bug
I'm so glad you answered, @kitten and say the problem is in my code because this means I can solve it independently and I don't have to bother you guys anymore.
But I'm opening this issue because after your answer I tried to further investigate and I still cannot understand where is the issue in my code.
The only code I'm using here is:
const client = getContextClient();

$: listStore = queryStore({
  client,
  query: TODOS_QUERY,
  variables: { input: { first: 100 } },
  requestPolicy: "cache-and-network",
});

Steps

Start the backend visiting: https://codesandbox.io/p/sandbox/h1pcl

Open the frontend reproduction: https://codesandbox.io/p/sandbox/mtplzm

Go to the "Todos list" page and wait for todos list to be rendered

Now the cache is fullfilled with todos

Click on the "Reload" button

As you can see the list is immediately loaded (from the cache), a call is pending (because of cache-and-network), but the stale flag is false!

Do you still believe this is expected behaviour?
More thoughts
I think this is the cause for the custom "pending requests" exchange issue too.
Using @urql/exchange-graphcache version 4.4.3 everything works as expected: stale is true during that pending call.
The gif

Reproduction
https://codesandbox.io/p/sandbox/mtplzm
Urql version
"@urql/core": "4.0.10",
"@urql/exchange-graphcache": "6.1.1",
"@urql/exchange-persisted": "4.0.0",
"@urql/exchange-retry": "1.2.0",
"@urql/svelte": "4.0.2",

Validations

[X] I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
[X] Read the docs.
[X] Follow our Code of Conduct

Codesandbox is notoriously bad at deduplicating imports and following general package manager behaviour. If you replace your import of the fetchExchange with:
import { fetchExchange } from '@urql/core';

You can see the the HTTP request is correctly cancelled.
As stated before, cancelled or not, an HTTP requests don't map 1:1 to operations. An HTTP request being active/pending does not mean an operation is and vice-versa.

As per prior responses, please stick to ongoing threads, since in the ongoing thread I've also explained this:

Furthermore, you're confusing operations with network requests. Not all operations result in a network request. So, if you're tracking active operations and pending operations, operations are only pending if they don't receive a result synchronously, since this easily maps to caching behaviour.

This is a duplicate issue, and further questions/comments should be directed at #3234.
Due to repeated behaviour, please also see this as a kind warning of a Code of Conduct violation. No matter you having been kind or polite, if you don't follow professional conduct and are respectful of the time we can or cannot spend or deem appropriate to some issues, as you've been warned to in the past, I'm forced to issue you with a temporary timeout ban.
I can only dedicate so much time to this, but if an issue is not deemed to be a bug and instead a usage issue or a misunderstanding and this has been communicated multiple times, the same question will not lead to a different answer. Expecting a different outcome from the same situation is unreasonable, no matter how you phrase it. Only different reproductions, arguments, or discussions can lead to different outcomes.
However, I'll repeat this, prior threads and PR have made the change of expected behaviour here clear, after we — as discussed — agreed and identified that the offlineExchange regressed on past queuing behaviour. Now, the prior behaviour has been restored and all normal recommendations apply, as before.
Since this is a public forum and publicly visible, and may be read by other people who this may not concern, I will remove the above texxt from the comment past the divider line in a few hours, so it's not as publicly visible.


feat: port Topology.Category.Profinite.CofilteredLimit

Please note that the start_port.sh script prints a URL to create the pull request with the correct summary

Please note that the start_port.sh script prints a URL to create the pull request with the correct summary

Oh I see that now! Thanks for fixing the title for me. Is that enough or should I create a new PR using the URL that the script gave me?


Parser should prefer to associate modifiers with an inner declaration over an outer generic

Right now something like this:
[attr] void foo<T>(T x);

associates the [attr] attribute with the generic declaration and not the inner function. It is as if the user wrote the following (using our more ugly syntax):
[attr] __generic<T>
void foo(T x);

instead of:
__generic<T>
[attr] foo(T x);

Right now the only workaround is to rewrite declarations that need modifiers into this last form, and you can see many examples of this in the Slang standard library. A better fix would be to modify the parser to not attach modifiers blindly to generic declarations.

Lets drop for issue-age. Can reopen for Q3 if we think this is imporant and mistriaged.


Update the front page wiki instructions to account for FPController scene

I'm being caught out by some inconsistent documentation, where the setup page on this toolkit still references ARVROrigin instead of FPController.  https://github.com/GodotVR/godot-xr-tools/wiki#setup
There's also a different set of instructions in the mainline docs, referring to the FPController under the openxr plugin.
https://docs.godotengine.org/en/stable/tutorials/vr/openxr/index.html
(In fact the border between the open between the openxr and xr-tools feels muddled.  It looks like FPController belongs on the latter, not the former as it is pure GDScript.)
I doubt I can constructively edit these instructions as I don't exactly know where things are going.  There seem to be duplicate ARVRControllers nodes (for controllers and aim systems) which feels like something is in transition.

This is on purpose @goatchurchprime , FPController is a node specific to the OpenXR plugin, we're trying to keep XR-tools platform agnostic so wherever possible I try to keep the documentation such that it assumes nothing is coming from the plugin being used.

Is this not very theoretical?  I thought OpenXR is going to be the only thing around.  Nevertheless I got badly caught out.  Maybe a good compromise is to write at the start of this section of the wiki: "if you are using only OpenXR, you may want to skip ahead by using the FPController scene".

It would be great if we end up with OpenXR as the only required interface but there are still plenty of platforms that aren't jumping on the bandwagon. Right now the only one of those we support is ARKit I guess but still...

Godot XR Tools now has the whole staging setup, start xr scripts and demo projects that provide a cross platform solution.
More information is available on https://godotvr.github.io/godot-xr-tools/
Closing this issue.


Integrate status incident aggregator with search service lag incidents

Need to improve search service lag incident alerting and then integrate with the improvements

Reduced estimate on this because search service lag incidents are publishing issues and don't affect search availability, so there is much less work to do

The integration is very dumb in the sense that if any instance is having issues, the entire package publishing will report degraded. This should be improved.

We have decided to close this issue unless we determine the "dumb" integration is insufficient.


Support remote PIDs in Kino.Process

We should do the Process.info via :erpc, since they only work on a local node.
We can also support {app, node} and {name, node} for app and supervisor tree respectively.

If you pass a pid itself, the node can be retrieved by node(pid).


Added BytesReader

BytesReader can be used to implement higher level parsers (e.g. JSON parsers) of ReadOnlyBytes.
The reader takes care of efficiently finding delimiters (single-byte or multi-byte) or parsing primitives contained in multi-segmented ReadOnlyBytes, even when the delimiter or the parsed primitive straddles multiple segments.

cc @davidfowl, @shiftylogic, @joshfree, @ahsonkhan, @botaberg, @pakrym, @vancem

Should this file be checked-in? BytesReader.playlist

@ahsonkhan, thanks. I fixed the two issues.


Version 1.1.0 not available in Maven Repo?

It looks like that the latest version 1.1.0 is not available in maven:
https://mvnrepository.com/artifact/dev.hsbrysk/protoc-gen-kotlin-ext

It seems there was a mistake in the release process. Please wait for a moment.


Bayron puac

First Sprint Done!

Good job on the sprint! I'd improve on making better messages for the commits as you want anyone who gets a hand on the code to know which "save points" meant what in case they want to roll back a feature and such.


Composer require does not work

Hi,
Thanks for your work with this bundle. I'd like to test it but when I run composer require nothing happens. I waited for a moment because I thought I had to wait but nothing.
My OS is an Ubuntu 22.04.1 LTS and my project run with Symfony 6.1.
If you need others informations about my conf, anytime.
Thanks for you help and thanks a lot for the bundle

Finally it was a problem with my docker project.
Again, thanks for your bundle ans sorry for the opened issue.


Extend Referrence Documentation for bivariate

I'm trying to add docstrings to the core module. This include .bivariate.
In general I believe the Reference documentation is way too sparse and does not help users understand the what and how of the specific plot. But the reference documentation for bivariate I've spend a considerable long time just understanding what type of plot this is. And I am still not sure.

When I google search for bivariate plot most of the references show something that looks close to scatter plots.
Plotly calls this a 2D Histogram Contour I believe?. It is very hard for me to be sure as the hvPlot Reference does not describe the method or provide a link to a reference explanation. If I search wikipedia I again find something that does not look like a contour plot https://en.wikipedia.org/wiki/Bivariate_analysis

As

the reference documentation is very sparse
the name bivariate and short description is very unclear
the underlying code is very difficult to follow
Pandas .plot does not seem to have  a similar kind of plot

It is so hard to understand what this is and how to use it.
My guess is that it is possible for example to add a reduce_func to specify the kind of aggregation done? At least plotly supports that. But I cannot find it via hvplot.help('bivariate'). But group and groupby are not documented there either. So I don't trust that help information 100%. And I am not capable of navigating the code within a reasonable amount of times (less than 60 secs) to figure it out.
I could add similar comments for any of the reference documentation and docstrings. Its like the documentation and implementation details are great for developers but has never been reviewed by a user. For a user it is so far from great.

The best reference I've been able to stumble upon is this one I believe https://bio304-class.github.io/bio304-fall2017/ggplot-bivariate.html. But it also spends a considerable amount of time educating its users on bivariate plots.

I agree.. it seems like it should be called 'bivariate density' or '2D density contour' plot instead, but these are so wordy. I think improving the documentation for it is the correct first step here


Question: Reuse post op and primitive attribute

Hi, I have 2 IP layers with different sizes and want to fuse the Relu.
3 questions:

Do  I need  to create post_ops for each layer separately?
Same question for the primitive attribute, create 1 for each layer ?
When can I destroy the post ops and the primitive attribute ?

Hi,
Post-ops are copied when passed to mkldnn::primitive_attr::set_post_ops() and attributes, in turn, are copied when passed to primitive descriptor constructors.
The following works as expected:
#include "mkldnn.hpp"

int main() {
    using namespace mkldnn;

    engine cpu {engine::kind::cpu, 0};

    int N = 10;
    memory::desc md {{N, N}, memory::data_type::f32, memory::format_tag::nc};
    inner_product_forward::desc ip_op_desc {prop_kind::forward, md, md, md};
    inner_product_forward::primitive_desc ip_prim_desc;

    {
        primitive_attr attr {};
        {
            post_ops po {};
            po.append_eltwise(1.0f, algorithm::eltwise_relu, 0.0f, 0.0f);
            attr.set_post_ops(po);
            // post_ops go out of scope and are destroyed
        }
        ip_prim_desc
                = inner_product_forward::primitive_desc {ip_op_desc, attr, cpu};
        // attributes go out of scope and are destroyed
    }

    inner_product_forward ip1 {ip_prim_desc};
    inner_product_forward ip2 {ip_prim_desc};

    memory w {ip_prim_desc.weights_desc(), cpu};

    memory t0 {ip_prim_desc.src_desc(), cpu};
    memory t1 {ip_prim_desc.dst_desc(), cpu};
    memory t2 {ip_prim_desc.dst_desc(), cpu};

    stream cpu_stream(cpu);
    ip1.execute(cpu_stream,
            {{MKLDNN_ARG_SRC, t0}, {MKLDNN_ARG_WEIGHTS, w},
                    {MKLDNN_ARG_DST, t1}});
    ip2.execute(cpu_stream,
            {{MKLDNN_ARG_SRC, t1}, {MKLDNN_ARG_WEIGHTS, w},
                    {MKLDNN_ARG_DST, t2}});
    cpu_stream.wait();

    return 0;
}

Closing due to lack of activity. Feel free to reopen if you have further questions!


Clarify or correct "Number of data revisions since [...]" in docs

The docs contain the "Number of data revisions since [some date, usually May 19, 2020]" for many/all signals, usually with a value of 0, sometimes with 1 (see search here).  It's unclear what type of data revision these are talking about; searching through some of these files with 1 data revision, e.g., doctor-visits and hospitalizations, comes up with reference to a regular versioning process which would amount to many, many revisions, which would continue to accumulate daily.
It would help to describe more exactly what the "Number of data revisions since [...]" refers to, and to document each instance of these revisions if they are indeed quite limited (0 or 1 per signal).

Maybe "overhaul" or "redefinition" or "major update" would be better than "data revision".
The same issue applies to "Date of last change", which might be misinterpreted as being the most recent date that data was updated, and lead users to think that a data set is not maintained (just as a "Number of data revisions" of 0 might mislead users into thinking that a source does not have a versioning process).

This is a holdover from before data versioning support was added. We should remove this header field and the associated changelog page.


How much memory of GPU is needed to train yolov3

keep the batchsize as 32, it is too large for 1080Ti, I wonder how much memory shoud be provided for train ? I guess decrease the batchsize will harm the accuracy。l
update: I set the batchsize as 8,and the loss achieves 22 after 80 epoches with earlystopping, and the test MAP is only 6.84%  in voc2012, I set IOU with 0.3 and confidence =0.1 in test.

hello, my GPU is also 1080Ti and i have the same problem. Have you found the solution?

i use a batch size of 2 , and got a good result in own dataset with mAP 67%

i use a batch size of 2 , and got a good result in own dataset with mAP 67%

I also use the batch size of 2, after 89 epoches with earlystopping, Do you have the same question?

@leoluopy : How did you use mAP, I also want to calculate IoU?

请问map如何计算的


Add to Activity Bar

Issue Type: Feature Request
Hate is a strong word, but I think I hate with a passion how cluttered the Explorer is.
Would it be possible to add Codemap to the Activity Bar?

An excellent suggestion.
Looking into it...

Works great for me on 1.10.0
Thanks!


Attempting to write a relation network in Gluon

I was trying to implement a Relational Network: https://arxiv.org/abs/1706.01427
It seems to be related to using for loops within the forward pass, which I assumed would be supported since the API is similar to pytorch
Implementation is below
class RecurrentRelational(gluon.Block):
    def __init__(self, dim=100, num_layers=1, layout='TNC',
                **kwargs):
        super(RecurrentRelational, self).__init__(**kwargs)
        self.key = 'recurrent-relational'
        with self.name_scope():
            # layers created in name_scope will inherit name space
            # from parent layer.
            #self.dropout = nn.Dropout(0.3)
            self.hidden_size = dim
            self.num_layers = num_layers
            self.layout = layout
            self.bn = nn.BatchNorm()

            # Recurrent Encoder
            self.rnn = rnn.RNN(self.hidden_size, self.num_layers,
                                layout=self.layout, bidirectional=True)
            # Relational Network
            self.g_hidden = 100
            self.relational_g1 = nn.Dense(self.g_hidden, activation='relu')
            self.relational_g2 = nn.Dense(self.g_hidden, activation='relu')

            self.relational_f = nn.Dense(100, activation='relu')
            # End RN

            self.binary = nn.Dense(2)

    def activate_relation(self, relation_vector):
        g_z = self.relational_g1(relation_vector)
        g_z = self.bn(g_z)
        g_z = self.relational_g2(g_z)
        return g_z

    def activate_aggregation(self, aggregation):
        return self.relational_f(self.bn(aggregation))

    def forward(self, (x1, x2)):
        z1 = self.rnn(x1)
        z2 = self.rnn(x2)
        batch_size, seq_len, hidden_dim = z1.shape
        num_objects = z1.shape[1]
        all_object_pairs = []

        for i in range(num_objects):
            first_object = z1[:, i, :]
            for j in range(num_objects):
                second_object = z2[:, j, :]
                relation_vector = mx.nd.concat(first_object, second_object, dim=1)
                all_object_pairs.append(relation_vector)

        all_relations = mx.nd.concat(*all_object_pairs, dim=0)
        z_rel = self.activate_relation(all_relations).reshape((-1, num_objects * num_objects,
                                                           self.g_hidden))
        z_agg = mx.nd.sum(z_rel, axis=1)
        return self.binary(self.activate_aggregation(z_agg))

The error I'm getting is
libc++abi.dylib: terminating with uncaught exception of type dmlc::Error: [16:57:57] src/engine/./threaded_engine.h:347: [16:57:57] src/operator/tensor/./matrix_op-inl.h:964: CropAssign only supports kWriteTo

Is there a different way to implement this that may avoid this issue?
I guess I essentially need to do the equivalent of the code below, but with the all_relations array being a memory view of the original array rather than a copy, does anyone know of a good tutorial or example of how to implement this with the NDArray API?
        num_relations = num_objects * num_objects
        #all_relations = []
        all_relations = mx.nd.zeros((batch_size * num_relations, hidden_dim * 2))
        for i in range(num_objects):
            first_object = z1[:, i, :]
            for j in range(num_objects):
                second_object = z2[:, j, :]
                relation_vector = mx.nd.concat(first_object, second_object, dim=1)
                start_index = ((i * num_objects) + j) * batch_size
                #all_relations.append(relation_vector)
                all_relations[start_index : start_index + batch_size] = relation_vector

I guess I essentially need to do the equivalent of the code below, but with the all_relations array being a memory view rather than a copy...
        num_relations = num_objects * num_objects
        #all_relations = []
        all_relations = mx.nd.zeros((batch_size * num_relations, hidden_dim * 2))
        for i in range(num_objects):
            first_object = z1[:, i, :]
            for j in range(num_objects):
                second_object = z2[:, j, :]
                relation_vector = mx.nd.concat(first_object, second_object, dim=1)
                start_index = ((i * num_objects) + j) * batch_size
                #all_relations.append(relation_vector)
                all_relations[start_index : start_index + batch_size] = relation_vector

@reminisce can you help take a look at this issue?

Relevant thread : https://discuss.mxnet.io/t/cross-product-style-architectures-with-gluon/271/3
The model doesn't throw an exception on the latest mainline branch built from source, but I haven't gotten the network to train yet. And it throws an exception if I try to apply batch-normalization.


Future RealmObjC vs RealmSwift compatibility

Wanted to pose a question regarding any planned compatibility between between the RealmObjc and RealmSwift frameworks.
Currently, all of our core models are written in objective-c and are all based off of the RealmObjc RLMObject base class. We would like to convert these models into Swift and base them off of RealmSwift's Object base class. The rest of our code in our project is Swift. Essentially all that is left in objective-c land for us are these RLMObject models.
It is my understanding that Realm & RealmSwift (RLMObject & Object) are not to be mixed and are not compatible. Unfortunately, the process of migrating all of our model objects in one fell swoop is simply too risky and not practical for the scale of our app.
It would be very useful if some compatibility was supported between the two frameworks so we could incrementally migrate our model objects over to Swift & the new RealmSwift Object base class. We will pretty much be stuck with these objective-c models and RealmObjc until an incremental solution is available.
Are there any plans for incremental migration support for moving to RealmSwift?
Thanks!

Thanks for getting in touch with us!
We support using the Objective-C version of our binding in a Swift app, and we fully support using both Objective-C and Swift versions of the binding together, as long as they are kept separate and don't try working with each others' models and classes.
However, in 2.1.1, we did add new APIs to transfer objects between the Objective-C and Swift bindings in a principled manner. Take a look at our release notes for more information.
Hope that helps.

Thanks for the quick response,
I guess my core question would be: is it be possible for an a RLMObject model to have a property / RLMArray of a Object base class?
If not, is this something that you are thinking of supporting?
This would allow us to slowly migrate our models from the bottom up.

Hi Adrian,
Unfortunately we don't support having Objective-C and Swift model types inheriting from each other's base classes, and it's unlikely we'll add support for this in the near future. I can bring it up with our engineers.

Thanks, would love to start a conversation internally about it.
I'm sure there are many other companies with scale that simply can't afford to migrate all of their core models in one swoop.

Just following up:
Was there any internal discussion about this?

Thanks for checking in. Unfortunately we have other issues that take priority over this one and limited engineering bandwidth, so the best I can do for now is to put it in our backlog.

Is it possible to transfer RLMObject (Objective-C) properties into  Object(Swift)?
Goal

We have a data model subclass of RLMObject with many proprites and we are stroing every thing in relam but not using  all those properites.

We are plning to enhance out local database structure with  new Swift based relam model to utilizing memory more efficiently.

Expected Results

From all existing data model object we want to tranfer some propreties into new model(table) using some realm migration.

@bmunkholm  @jpsim @austinzheng Can you guys help me on this?
Thanks!!!


Write docs for modulo

In the programming.UsesSnippets Component, we need to add to its config schema the modulo "concept", and also we need to add to its settings the documentation for that. If anyone's looking for an easy Scribe task that can be done just straight up in the level editor, they can get us started here!
http://direct.codecombat.com/editor/level/tiny

I can do this. Can you provide a bit more detail on what you are looking for?

I think the process described here is still mostly up to date: https://github.com/codecombat/codecombat/issues/399

I know this is old, but was looking for an easy thing to close off.  I added a patch for this, but only samples for Javascript and LUA.  (Also didn't go into the difference between modulus and remainder)

Thanks @reesylou!


Add future dependency to the Dockerfile

This is a follow-up for https://github.com/apache/beam/pull/5379.
DESCRIPTION HERE

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run ./gradlew build to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @pabloem cc: @RobbeSneyders

This LGTM.
One question: In line 85 ( RUN pip install /opt/apache/beam/tars/apache-beam.tar.gz[gcp]), does it make sense to install [gcp,test] to also install test dependencies for Beam? We can do that later on.

Run Python Dataflow ValidatesContainer


[Bug]: REST API not returning images.meta for models or model-versions

What happened?
REST API queries for models (by id or unfiltered) or model-versions (by id or by hash) do not return an images.meta key/field.
Steps to reproduce the problem

Load e.g. https://civitai.com/api/v1/model-versions/646523 or https://civitai.com/api/v1/models/277058

What should have happened?
According to the REST API reference (https://github.com/civitai/civitai/wiki/REST-API-Reference) the models and model-versions endpoints should return either an object containing image generation data or null for each of a model version's sample images in images.meta. This was working as recently as 7/24 but at least as of 7/29 images.meta is not present.
What platforms do you use to access the site?
No response
What browsers do you use to access the site?
No response
Additional information, context and logs
It doesn't look like there have been recent changes to  /src/pages/api/v1/model-versions/[id].ts , /src/pages/api/v1/models/[id].ts , /src/pages/api/v1/model-versions/by-hash/[hash].ts , but I did see this commit which mentions "removing 'meta' from image query" (thought it seems to still be returned by the images API...), so I'm not sure if this is an intended change to the API or just something broken by changes elsewhere.

Thanks for reporting this. Looks like I missed updating those endpoints for backwards compatability. The fix for this is ready, and it should be published soon.


Bump package version to 3.0.1

Description
I'd like to release the fix to SQLAlchemy that merged today. This PR bumps to a patch version as all these changes are backwards compatible and introduce no new functionality.

the test publish to pypi failed because of a temporary issue with deployments to test.pypi.org. nothing wrong with this code.


fix

Fixes # (issue)
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:

[ ] CHANGELOG.md updated for non-trivial changes
[ ] Unit tests have been added
[ ] Changes in public API reviewed

Codecov Report

Merging #45 (bfa1e7a) into main (c28be73) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #45   +/-   ##
=======================================
  Coverage   95.95%   95.95%
=======================================
  Files         176      176
  Lines        7172     7172
=======================================
  Hits         6882     6882
  Misses        290      290


⚠ ClamAV has degraded performance

In 7b36d0a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in 0430816 after 5 minutes.


Main dashboard is empty

Describe the bug
I ran a scan and I got the results and the report in Embark but the main dashboard remained blank.
To Reproduce
Steps to reproduce the behavior:

EMBArk installation in default mode
Start EMBArk: sudo ./run-server.sh -a
Use the firmware available here: https://github.com/jdpiercy/Kankun-SmartPlug/blob/master/Firmware - Stock/kkeps-3.1.bin
Do a scan
Check the dashboard

Expected behavior
Dashboard should show the Embark server's statistics.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu Server 22.04.5 LTS

Should there be something on the dashboard?
Are there results in the report?
EMBA might have not found anything.

The report is fine and it contains a lot of findings:

You're right
Must be an importer bug than
Will take a look

I did a brand new installation and tried another FW test which gave a good report:

but the dashboard is empty for me. I believe this can be reproducible on other systems as well.

simple git pull should do the trick

Thank you, the page is available again.


[Feature] Add support for tj-actions in the merge group queue feature

Is this feature missing in the latest version?

[X] I'm using the latest release

Is your feature request related to a problem? Please describe.
Yes, my feature request is related to a problem. The tj-actions GitHub action does not work correctly with the merge group queue feature. This means I cannot use tj-actions to automate merging pull requests that are part of a merge group.
The problem with this is that it prevents me from merging pull requests promptly. This can lead to delays in the development process and cause problems with the codebase.
I request that the team add support for tj-actions in the merge group queue feature. This would allow me to use tj-actions to automate merging pull requests that are part of a merge group, improving my workflow and making my code reviews more efficient.
I appreciate your consideration.
Describe the solution you'd like?
I want the GitHub team to add support for tj-actions in the merge group queue feature. This would allow me to use tj-actions to automate merging pull requests that are part of a merge group.
Specifically, I would like the GitHub team to make the following changes:

Add a new configuration option to the tj-actions GitHub action that allows users to specify whether or not they want to use the merge group queue feature.
Update the tj-actions GitHub action to handle pull requests from a merge group correctly.
These changes would be straightforward to implement and would provide a significant benefit to users who are using tj-actions to automate the merging of pull requests.

Describe alternatives you've considered?
No response
Anything else?
No response
Code of Conduct

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

Hi @kdpisda, you can now use tj-actions/changed-files with the merge groups feature no changes are required on your part if you use the latest major version v37


verbosity level 8 ?

See the comment on issue #45 about only showing something like the following:
Perhaps something like:

"""
SyntaxError: invalid character in identifier
    -->2:   print(“Squares:”)
                  ^
An identifier contains one or more unallowed Unicode characters.
It is likely the "curly quote" unicode quotation mark, rather than
the required ASCII single or double quote was used for a string.
"""

Basically, this is the Python exception (no header), where it occurs (no header), and the specific explanation (again, no header).

Need to document, including adding info for --h.


forgotten in comment?

https://github.com/yiisoft/yii2/blob/master/framework/db/BaseActiveRecord.php#L1024

? Whats wrong with that?

I guess $asArray property name missing.

Thanks!

Wtf? The docblock is totally valid! it describes the property defined by this getter.

@cebe It's at top of file. Same with $primaryKey.

Hmm... are you sure it is valid to use @property like that?

@kidol @samdark the comment on top of the class is generated from this @property annotation.
@samdark it is not official PHPdoc but yii internal.

https://github.com/yiisoft/yii2/blob/master/build/controllers/PhpDocController.php#L545-L549

@cebe Thanks for info, but what's reason for it? Wouldn't it work the same if method doc had $property variable?

the reason for this is that the description of the getter method does not fit as a proper description for the property because the return value differs dependend on a parameter. the property does not differ because the parameter always has default value.

hm hm hm, for it your construct bicycle ?
/**
@property mixed $user [[getUser()]] ///read-only
@property mixed $user [[getModel()]] [[setModel()]]
**/

???

@lynicidn Not sure what you mean but Yii automatically adds "This property is read-only" in doc comment on top in case there is no setter.


Implement Connect function for services, IoT and data sources and show them on the loklak map

Goal of this project is to be able to display all kinds of data on a map and to tweet it. Some data should only show up in the private user account (e.g. locations of contacts, private calendars). Other data might also be displayed publicly e.g. Internet of Things (think of a weather station on people's balcony).
The map page should show followers/following and tweets of the user and his followers/following in distinctive ways, e.g. with different colors. Also there needs to be a control box to switch on/off the different layers. Any data sources that are added by the user should also show up as a layer here automatically.
For the connect data area, please include the following:

Add a "Connect" item to the top navigation bar.

Implement lightbox overlay with
a) Emails, Contacts and Calendar connectors
b) Internet of Things
c) Data Sources
d) Applications

A first UI draft below.

Please create a project plan with Milestones and cooperate on getting data into loklak e.g. check out this issue: https://github.com/loklak/loklak_webclient/issues/206

@prasht63 Please have a look at this project outline again and the information that we added. We have missed to follow up with you on a plan. Your plan is still missing. Please add it for the following milestones. What will you achieve in GSoC? Thank you.

Plan : The plan is divided in coming milestones.Since we have so much data to visualise and not so much time so I have segregated a few data which are more useful, popular and unique.The goal is to visualise data which has not been visualised before in a way that it leaves a impression on the user.Since that is main aim of data visualisation on map, presenting the big picture around the globe on a computer screen.
Milestone : 3
1:Adding Start Ups on World Map by integrating Angel.co and show startups and investors on the map.This will provide the user the ability to geographically see the start-up culture and apply to a start-up based on a geographic filter. Issue https://github.com/loklak/loklak_webclient/issues/226 API Here.
2: Adding and Implementing Campaign Donations on a Map : This is going to be one hot feature of loklak.net where people can see the amount of donations political parties receive for their campaigns.Currently I did not find a comprehensive map showing this data.I plan to show it in state wise way through a chloropleth map.Issue https://github.com/loklak/loklak_webclient/issues/224 Chloropleth Example Link API.
3:Integrate sensor data from weather stations, wind temperature and other sensors on the loklak map.The plan is to create a simple script which @wavicles can use to stream the realtime data which can be updated on the map at regular interval.Will need discussions with @wavicles Issue https://github.com/loklak/loklak_webclient/issues/212
Milestone : 4
Weather Forecast about major climatic changes through Tweets : API here Issue https://github.com/loklak/loklak_webclient/issues/223
Instagram photos on the World Map : This will allow the user to view his Instagram Photos on the World Map. More details to be added soon

Ok, sounds good. In which milestone will you implement Instagram? I see you linked meetup.com - Great! Also, please link the issue to angel.co.

@mariobehling sure!

Instagram will be done in 4th Milestone

Ok, great. We have defined some milestone dates. As we go on, please continue to add details to plans until M4.5
Milestone 3, Due by July 25, 2015
Milestone 3.5 Sprint, Due by August 12, 2015
Milestone 4, Due by August 21, 2015
Milestone 4.5, Due by August 31, 2015

@prasht63 I hope this helps you to get a better sense of direction: I have updated the list of features for milestone. Does M3 work for you? Also, please check the ongoing tasks. For the following milestones we can add more details as we proceed.
Can you pledge that you will finish the tasks of M3, please?

please retrieve the follower list from loklak_server, documentation is online at http://loklak.org/api.html#account .. please scroll down to "Retrieval of Twitter User Account Data" for details