import error

When I import databricks.koalas as ks, I get error as follows:
Can you help me how to solve this issue?

import databricks.koalas as ks
Traceback (most recent call last):
File "", line 1, in
File "/Users/opt/anaconda3/envs/biodiversity/lib/python3.11/site-packages/databricks/koalas/init.py", line 49, in
from databricks.koalas.frame import DataFrame
File "/Users/opt/anaconda3/envs/biodiversity/lib/python3.11/site-packages/databricks/koalas/frame.py", line 33, in
from pandas.api.types import is_list_like, is_dict_like
ModuleNotFoundError: No module named 'pandas.api'

same as https://github.com/databricks/koalas/issues/2235. Let me close this one as it seems like duplicated


SetInitializer Instance Reference issue

Following the How To Use on the readme results in an error for my project.
Project is targetting 4.8 (which is listed as supported?)
And the code for OnModelCreating is a straight copy from the How To Use section.
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
	var sqliteConnectionInitializer = new SqliteCreateDatabaseIfNotExists<DbContext>(modelBuilder);
	Database.SetInitializer(sqliteConnectionInitializer);
}

But this results in an error on the Database.SetInitializer(sqliteConnectionInitializer) line.

Found Solution:
Have to fully specify the name of the type as such
System.Data.Entity.Database.SetInitializer(sqliteConnectionInitializer);

Found Solution:
Have to fully specify the name of the type as such
System.Data.Entity.Database.SetInitializer(sqliteConnectionInitializer);

Found Solution: Have to fully specify the name of the type as such System.Data.Entity.Database.SetInitializer(sqliteConnectionInitializer);

This should definitely be added to the example code on the main page!


when now platforms enabled, fail with explicit message

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>

What's up with stickler?

Updated release notes draft:

orchestrate_build raises a more descriptive error when no platforms are enabled


[SPARK-44397][PYTHON] Expose assertDataFrameEqual in pyspark.testing.utils

What changes were proposed in this pull request?
This PR adds the util function assertDataFrameEqual to the __all__ list in pyspark/testing/utils.py.
Why are the changes needed?
The change is needed to expose assertDataFrameEqual.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests in runtime/python/pyspark/sql/tests/test_utils.py and runtime/python/pyspark/sql/tests/connect/test_utils.py

LGTM, merged to master


Fix IAM token expiration

This PR solves the issue described in #233.  This object knows when and how to refresh the session token, so there's no need to implement custom code to do that. In current code, this object is thrown away so it gets no chance to auto-refresh the token.
Instead, use a lower level session object and if possible, attach this RefreshableCredentials object to it, and create the s3 client from it.
Tested on MWDB v2.10.2 with a karton that uses v5.3.0 of karton-core with the diff in this PR patched into it and seems to still work even a couple of hours after the karton is up (whereas the current code fails). Kept as draft until I'm sure it solves the issue
Fixes #233

It's really annoying that my solution has to access internal members of botocore classes (hence the # type: ignores), but seems like this is the way to go right now: https://github.com/boto/botocore/pull/1742#issuecomment-1574235418

Hi! Looks good I think.
What do you think about splitting the IAM and "regular" logic? Right now it's a bit tangled. I'm thinking of something like:
def init_snippet():
    # first part of the __init__ method
    if iam_auth:
        self.s3 = iam_auth()
        return  # or `if self.s3 is None: return` to try fallback, like the current code does

    if access_key is None or secret_key is None:
        raise RuntimeError(
                "Attempting to get S3 client without an access_key/secret_key set"
            )
    self.s3 = boto3.Session().client(
        "s3",
        endpoint_url=endpoint,
        aws_access_key_id=access_key,
        aws_secret_access_key=secret_key,
    )

def iam_auth():
    boto_session = get_session()
    iam_providers = [
        ContainerProvider(),
        InstanceMetadataProvider(
            iam_role_fetcher=InstanceMetadataFetcher(
                timeout=1000, num_attempts=2
            )
        ),
    ]
    for provider in iam_providers:
        creds = provider.load()
        if creds:
            boto_session._credentials = creds  # type: ignore
            return boto3.Session(botocore_session=boto_session).client(
                "s3",
                endpoint_url=endpoint,
            )

(not tested ofc, but I think it's significantly easier to understand)

Btw, similar code is used in MWDB, so when we agree on final solution I'll be happy to apply the change to mwdb-core as well: https://github.com/CERT-Polska/mwdb-core/blob/master/mwdb/core/util.py#L164

Hi! Looks good I think.
What do you think about splitting the IAM and "regular" logic? Right now it's a bit tangled. I'm thinking of something like:
def init_snippet():
    # first part of the __init__ method
    if iam_auth:
        self.s3 = iam_auth()
        return  # or `if self.s3 is not None: return` to try fallback, like the current code does

    if access_key is None or secret_key is None:
        raise RuntimeError(
                "Attempting to get S3 client without an access_key/secret_key set"
            )
    self.s3 = boto3.Session().client(
        "s3",
        endpoint_url=endpoint,
        aws_access_key_id=access_key,
        aws_secret_access_key=secret_key,
    )

def iam_auth():
    boto_session = get_session()
    iam_providers = [
        ContainerProvider(),
        InstanceMetadataProvider(
            iam_role_fetcher=InstanceMetadataFetcher(
                timeout=1000, num_attempts=2
            )
        ),
    ]
    for provider in iam_providers:
        creds = provider.load()
        if creds:
            boto_session._credentials = creds  # type: ignore
            return boto3.Session(botocore_session=boto_session).client(
                "s3",
                endpoint_url=endpoint,
            )

(not tested ofc, but I think it's significantly easier to understand)

Sure, if you guys think this is cleaner I have no real objection :)
I do want to note however, that during some reading in the botocore repo I noticed they have some function called create_credential_resolver and inside it is all of the different providers they have are created - not only ContainerProvider etc.
So instead of selecting a few providers (in our case 2), we can call create_credential_resolver and let it search for credentials in all places they support: env variables, config in ~/.boto file, etc. This will make iam_auth meaningless however. Instead, maybe require_hardcoded_keys or something like that will make more sense.


Document oidc-agent, fedcloudclient and terraform

Document using oidc-agent, fedcloudclient and terraform altogether.
Using Dynamic DNS too.
I had to do this for myself so thought it may be nice to have some kind of of very guided tutorial/setup for starting up with a more advanced CLI usage.

I've also some bits allowing to prepare some kind of template repository, that could also include requirements.txt to setup the python module, required terraform files and also using terraform an ansible inventory file, and a requirements.yml to install some ansible module and run it against the deployed VM.
Maybe having this as a ral repo template may be handy/useful for some?

I am getting 404 from https://docs.egi.eu/documentation/515
Not sure if this is related or useful, but I documented some guides here:

https://github.com/EGI-ILM/fedcloud-terraform
https://github.com/EGI-ILM/automated-containers

The 404 is the usual one when the preview is marked as deployed but not yet reachable for real, now it's here: https://docs.egi.eu/documentation/515/users/tutorials/oidc-agent-fedcloudclient-terraform/ (it's a WIP, some content, like the terraform files, is missing).
Currently my position/feeling is to aim at "promoting" tools that are properly maintained by an upstream and that we are sure will stay for long (ie thinks like terraform, oidc-agent and fedcloudclient, compared to home made scripts) , but I think providing a bunch of places/repo where people could look for more advanced stuff would be nice. But drawing the line about what to document or not is always difficult, especially as some stuff may become outdated.
Concerning your repositories (nice work!), we may at least want to reference them somewhere, so that people can find them.
In the end I feel we are apparently all maintaining some personal documentation or even advanced scripts like yours, so while it's expected people will have to dive into stuff to understand/own them, there is some duplication of effort and lack of reuse and sharing, and I feel those resources may be interesting for other users.
Maybe we could at least add a section with some references to advanced tools/resources/repositories with a short description?

I agree, there is an inherent peril in maintaining documentation about products and tools that change rapidly, as the documentation becomes outdated and it is impossible to keep up.
I shared the links in my comment exactly for the issue you mention: checking if my work could help to avoid duplicated work. There is actually overlapping between my Terraform repository and this new tutorial.
In my case, I created the repositories to address specific requests from the community ("how can I use Terraform on EGI infrastructure" and "how can I run disposable containers with automated means on EGI infrastructure" respectively). I just wanted to give a tested, specific step-by-step guide, which is easier than going through the whole documentation of disparate sources. In the case of Terraform I gave manual steps, but also created a user-friendly script, something as simple as possible for the user to have all the work done for them (e.g. it automatically creates Terraform files with the available flavours of a specific site, etc). This will solve the current community needs, but may require some updates in future...
As you mention, maybe the best is to link these guides from the docs. This way, if something is not relevant anymore, the link can be easily removed. Or it can be kept to serve as the base for updates or new requests. I think it is important to keep track of this efforts and knowledge, otherwise it will get lost. For example, other people did also a similar exercise with Terraform in the past, but this effort is not registered anywhere.

@enolfc what is your opinion on something like this PR? Worth to be included in official doc or to be kept outside?


load function fails for custom defined systems, time-independent systems

The structureeom is not created when calling Problem with a time-independent ODE (which is introduced manually, not derived symbolically). As a result, the load function fails,
`UndefRefError: access to undefined reference
Stacktrace:
[1] getproperty
@ ./Base.jl:42 [inlined]
[2] _parse_symbol_names(x::Problem)
@ HarmonicBalance ~/.julia/packages/HarmonicBalance/1VZoW/src/saving.jl:74
[3] _parse_symbol_names(x::Result)
@ HarmonicBalance ~/.julia/packages/HarmonicBalance/1VZoW/src/saving.jl:79
[4] load(filename::String)
@ HarmonicBalance ~/.julia/packages/HarmonicBalance/1VZoW/src/saving.jl:44`

This is correct but the suggested usage does not require HarmonicBalance at all, so there is probably no need to implement this.


Java braceless conditionals

Issue Type: Bug
Issue is a midpoint between a bug and a feature request, but I went with bug for priority.
Whenever I write an if-statement without a curly brace such that there is only 1 line following the if, the vertical line indicating the scope of the if doesn't terminate until a new line of code.
What I write:
if (some condition)
doThis;
other;
lines;
of code;
What it shows:
if (some condition)
|   doThis;
|
other;
lines;
of code;
The vertical line continued beyond the statement "doThis;" and only terminated once it encountered "other;". I am not using any extensions.
What it should show:
if (some condition)
|   doThis;
other;
lines;
of code;
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.96GB (11.72GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Could it be as simple as configuring Java to use offSide folding?

Solution proposed above. Thanks all!


Support @Produce and @EndpointInject on setter methods

A fix for https://github.com/apache/camel-quarkus/issues/2539 will bring support for @Produce and @EndpointInject on fields. Supporting @Consume and @EndpointInject on setter methods is to be done.

I'd like to point out that I find this a low priority, because we have not seen much usage of this in plain Camel. We'd implement this only if there is a strong demand.


Batch download of folders is not supported

Such a powerful software actually does not support folder downloading. Do you have to manually download files in a folder countless times? I hope the author can improve, thank you!

Duplicste of https://github.com/quasar/Quasar/issues/891 Feel free to contribute and help add this feature. :slightly_smiling_face:

Duplicste of https://github.com/quasar/Quasar/issues/891 Feel free to contribute and help add this feature. :slightly_smiling_face:


after close vscode ,  find -L . type f command consule all cpus

VSCode Version:1.16.0 (1.16.0)
OS Version: osx 12.6

Steps to Reproduce:
sometimes when i close  a  workspace which contains 225973 file, the command
find -L .type f

will consume all cpus

Could you try the latest insiders build and see if it reproduces? You should see rg rather than find processes there, I'd expect these to run faster.
Also: Does Quick Open (Cmd + P) allow you to open files? Which extensions do you have installed (code --list-extensions)?

i don't have much extension
code --list-extensions
HookyQR.beautify
donjayamanne.python
johnpapa.Angular2
lukehoban.Go
ms-vscode.csharp
xabikos.ReactSnippets

vscode config file
// 将设置放入此文件中以覆盖默认设置
{
    "workbench.colorTheme": "Visual Studio Light",
    "markdown.styles": [
        "file:///Users/a/Library/Application%20Support/Code/User/github-markdown.css"
    ],
    "extensions.ignoreRecommendations": false,
    "files.autoSave": "afterDelay",
    //这里要设置， 否则在jsx中不能用emmet
    "emmet.includeLanguages": {
        "javascript": "javascriptreact",
        "vue-html": "html",
        "plaintext": "jade"
    },
    "window.zoomLevel": 0,
    "editor.fontSize": 13,
    "files.exclude": {
        // include the defaults from VS Code
        "**/.git": true,
        "**/.DS_Store": true,

        // exclude .js and .js.map files, when in a TypeScript project
        "**/*.js": { "when": "$(basename).ts"},
        "**/*.spec.ts": { "when": "$(basename).ts"},
        "**/*.js.map": true,
        "**/node_modules": true
    },
    "[yaml]": {
        "editor.insertSpaces": true,
        "editor.tabSize": 4
    },
    "files.watcherExclude": {
        "**/.git/objects/**": true,
        "**/.git/subtree-cache/**": true,
        "**/node_modules/**": true
    }
}

when in the workspace the following command consume a lot of cpu

Duplicate of #34434


add spanish

this commit adds spanish, via lang=:es. supports decimals and negatives. after this pr is merged, i revamp the dispatch mechanism, as i need different keywords than english (scale, gender and partitive grammar).

ci fails seems unrelated

ci fails seems unrelated


ZCBOR code generator generates names not compatible with C++

Describe the bug
There is a problem with compiling ZBOR code generated from .cddl files when we use it in the application written in C++.
To be precise the problem occurs if we want to generate Union type. The generated code can be compiled in C but it is not working for C++ due to generated variables names conflicts.
To Reproduce
Simple example showing the problem was created and it is available on my repository -> https://github.com/kborowski3/zcbor_union_test
This is a simple application, which just includes the generated zcbor code. ZCBOR code is generated using zcbor_union_test.cddl which contains a simple union definition.
zcbor_union_test.cddl file content
Foo = int / bstr

where Foo is either an int or bstr.
The code is generated using ZCBOR code generator:
python3 ${ZCBOR_PATH}/zcbor/zcbor.py code -c zcbor_union_test.cddl --encode -t Foo --oc src/zcbor_union_test.c --oh src/zcbor_union_test.h

The problem is in the zcbor_union_test.h file. The content of the file was pasted below.
/*
 * Generated using zcbor version 0.6.99
 * https://github.com/NordicSemiconductor/zcbor
 * Generated with a --default-max-qty of 3
 */

#ifndef ZCBOR_UNION_TEST_TYPES_H__
#define ZCBOR_UNION_TEST_TYPES_H__

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#include "zcbor_encode.h"

/** Which value for --default-max-qty this file was created with.
 *
 *  The define is used in the other generated file to do a build-time
 *  compatibility check.
 *
 *  See `zcbor --help` for more information about --default-max-qty
 */
#define DEFAULT_MAX_QTY 3

struct Foo_ {
	union {
		int32_t _Foo_int;
		struct zcbor_string _Foo_bstr;
	};
	enum {
		_Foo_int,
		_Foo_bstr,
	} _Foo_choice;
};

#endif /* ZCBOR_UNION_TEST_TYPES_H__ */

As you can see there is a problem with the enum's and union's  fields names. Both union and enum has a member _Foo_int and _Foo_bstr, which cannot be compiled in C++ code.
Steps to reproduce the behavior:

git clone https://github.com/kborowski3/zcbor_union_test.git
cd zcbor_union_test
west build -p always -b nucleo_wb55rg ./
See error

Expected behavior
The application compiles successfully.
Logs and console output
/zcbor_union_test/src/zcbor_union_test_types.h:31:17: error: '_Foo_int' conflicts with a previous declaration
   31 |                 _Foo_int,
      |                 ^~~~~~~~
/zcbor_union_test/src/zcbor_union_test_types.h:27:25: note: previous declaration 'int32_t Foo_::<unnamed union>::_Foo_int'
   27 |                 int32_t _Foo_int;
      |                         ^~~~~~~~
/zcbor_union_test/src/zcbor_union_test_types.h:32:17: error: '_Foo_bstr' conflicts with a previous declaration
   32 |                 _Foo_bstr,
      |                 ^~~~~~~~~
/zcbor_union_test/src/zcbor_union_test_types.h:28:37: note: previous declaration 'zcbor_string Foo_::<unnamed union>::_Foo_bstr'
   28 |                 struct zcbor_string _Foo_bstr;
      |

Environment

Zephyr SDK version 0.15.1
ZCBOR version 0.6.99

This should really have been posted to https://github.com/NordicSemiconductor/zcbor

Actually I can see that there are some C++ improvements commits but they are not available on zephyr zcbor forked repository. Can you bump there the newest version?

@oyvindronningstad this has been marked as stale 3 times. Is this an issue? If it isn't can you close this?

It is an issue. It is tracked by https://github.com/NordicSemiconductor/zcbor/issues/314.

@oyvindronningstad Any chance to upstream zcbor fix to zephyr?

@oyvindronningstad Ping

@oyvindronningstad If upstreaming is not possibel or planned then please close this issue.


deleted appsync data still being returned by amplify api call

** Which Category is your question related to? **
amplify api
** What AWS Services are you utilizing? **
appsync one-to-many sample with 1 added type: User
** Provide additional details e.g. code snippets **
amplfy version I'm using = 1.1.28
I am developing an Expo (React Native) app.
Inside my main <App /> component, inside componentDidMount, I perform the following:
const foundUser = await appsyncClient.query({
  query: gql(queries.getUserByOwner)
  variables: { owner: user_id },
});
if (!foundUser.data.getUserByOwner.items.length) {
  console.log('appsync user does not exist');
} else {
  console.log(`appsync user exists, dynamodb user.id = ${foundUser.data.getUserByOwner.items[0].id}`);
}

So now I've updated my schema.graphql and did amplify remove api + amplify push (i did it this way since simply pushing the updated schema lead to some errors, this happens quite often).
So all dynamodb tables were deleted and recreated, and are now thus empty. Still, the above code will return me a very old response. I am puzzled as to how this can happen as that dynamodb table + data was deleted, when looking in dynamodb in aws console, I can see all tables are empty!
Also restarting Expo on my phone etc. didn't resolve the problem.
Is there something I need to do to "flush" old data? or maybe some option to amplify to disable caching?

@klaop57 Can you run amplify console api to check the data-sources connected to your API? I'm wondering if this is the the data returned from the on-device/browser cache? Did you try clearing your local cahce?

@kaustavghosh06 thanks for your suggestions.
on-device cache
I've emptied expo cache by doing expo r -c as described here, still the same issue though.
connected Data Source
So I've ran amplify console api, and I end up at the appsync page, if I check the Data Sources, click on the User Table, I get a user table which is empty (which is expected since I amplify remove api followed by amplify add api).
caching issue on AWS side?
Also I've not worked on this during the last 2+ days so if it was a caching issue on AWS side it should by now have been gone, which it isn't.
Conclusion
I still have the same problem, I get a User table "user" returned, even though the dynamodb table is empty..
so the code I exec is:
const user_id = (await Auth.currentAuthenticatedUser()).attributes.sub;

const foundUser = await appsyncClient.query({
  query: gql(queries.getUserByOwner),
  variables: { owner: user_id },
});

@klaop57 Are you still able to get the data from your API?

So I managed to solve it by:

save the schema.graphql file of the api
amplify remove api
then renaming the query (since it was a queryField query)
amplify add api, pasting in the original schema from step 1 as schema
amplify push

what exactly was causing it is still a mystery to me

@klaop57 This seems like a momentary service issue. Please let me know if you're still seeing this.

@klaop57 I have the same problem. Could you please let e know what should I do?

I am having the exact same problem.

@JECamachoR did you try Datastore.clear() ?


I'm having trouble building with Carthage

The error maybe related to swiftlint problems? I have swiftlint version 0.26.0.
Here's the error that I see:
*** Building scheme "SwiftShell" in SwiftShell.xcodeproj
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell/SwiftShell.xcodeproj -scheme SwiftShell -configuration Release -derivedDataPath /Users/jessegrosjean/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/SwiftShell/4.1.0 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/kl/mq456jxs2hl13xn41v0pl9qh0000gn/T/SwiftShell SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/jessegrosjean/Documents/github/Workspace/Carthage/Checkouts/SwiftShell)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/kl/mq456jxs2hl13xn41v0pl9qh0000gn/T/carthage-xcodebuild.cGhLjB.log

And then in carthage-xcodebuild.cGhLjB.log I see:
...
 Found 245 violations, 34 serious in 22 files.

** ARCHIVE FAILED **

The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/jessegrosjean/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/SwiftShell/4.1.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftShell/IntermediateBuildFilesPath/SwiftShell.build/Release/SwiftShell.build/Script-BA50D29D1E9714C7002BA4A5.sh
(1 failure)

You're right, this is a bug with swiftlint.  I have released a new version of SwiftShell which removes the swiftlint build phase from Xcode. It was inactive anyway.


Add line info when sanity fails

This code fails in sanity:
import reframe as rfm
import reframe.utility.sanity as sn

@rfm.simple_test
class HelloTest(rfm.RunOnlyRegressionTest):
    def __init__(self):
        self.valid_systems = ['dom:login']
        self.valid_prog_environs = ['*']
        self.executable = 'echo x y'
        self.sanity_patterns = sn.all([
            sn.assert_found('x', self.stdout),
            sn.assert_eq(self.num_tasks, 0),
            sn.assert_found('z', self.stdout),
        ])

Sometimes, the message is explicit enough like in:
sn.assert_found('z', self.stdout), stops with:

Reason: sanity error: pattern z' not found in rfm_HelloTest_job.out'

but with:
sn.assert_eq(self.num_tasks, 0), stops with:

Reason: sanity error: 1 != 0

Would it be possible to have a message like:

Reason: sanity error: 1 != 0 (2d sanity)

@jgphpc Can you be more precise as of what you would like to have?

pointing to which line in the python file would be enough for me.

Do you know that you can pass a msg argument to the assert function and customize the actual message?
            sn.assert_eq(self.num_tasks, 0, msg='num_tasks differ: {0} != {1}'),

This will print as a reason: num_tasks differ: 1 != 0.
Adding line info could be a possibility and we can see whether it's possible.

:+1:  I forgot about this, thanks!


Getting version number of installed library

What is the most consistent way to get the version number of the installed version(s) of this library? Considering that it could theoretically installed via either apt-get or pip/easy_install and there are Python 2 and Python 3 versions floating around, this could get a bit interesting. It would be fine to skip Python 2 and just worry about v3.

Not sure about pip off the top of my head but for apt-get 'dpkg --list' will show you the version
robot@ev3dev[~]# dpkg --list python-ev3dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                      Version                   Architecture              Description
+++-=========================================-=========================-=========================-========================================================================================
ii  python-ev3dev                             0.6.0                     all                       Python language bindings for ev3dev
robot@ev3dev[~]#

Hmmmm... That seems to be a good start; I think I'll do it like that for now. Do you know if there's an accessible __version__ property exposed by this library? If not, it might make sense to add one (although I have no idea how to do that) to make the version easily accessible in the future.

yep it is defined in debian/changelog
https://github.com/rhempel/ev3dev-lang-python/blob/develop/debian/changelog

http://stackoverflow.com/questions/10214827/find-which-version-of-package-is-installed-with-pip

@WasabiFan ok to close this one?  There really isn't anything to change to the python library for this.

I don't believe this is resolved. In my mind, asking someone to look up the version through apt-get is too complicated (regardless of the fact that it's so easy for us to do); the fewer moving parts, the better. Could we define a __version__ property? That would solve the problem, I think.

I guess it couldn't hurt anything to stick a __version___ in core.py...we just have to make sure we keep it and the version in the debian changelog in sync.

Fixed by #208

When we packaged the library with setuptools, the version information used to be provided by git_version.py script (still present in the repo). The script works along these lines:

When run from inside git repo (that is, when package is created on developer's machine), it asks git for version number. It also writes the version info to RELEASE-VERSION file and packages it with the library.
When run as part of installation on user machine, it reads RELEASE-VERSION file directly.

We could extend the process to write a __version__ string into, for example, ev3dev/__init__.py. Or we could write it into ev3dev/version.py and import it from ev3dev/__init__.py to not mess with git history. I am not sure though this is possible with debian packaging tools.

https://www.python.org/dev/peps/pep-0396/


ng-bind has not updated the view

var subscription = $stomp.subscribe('/queue/' + user.id + '/interviews/1', function (payload, headers, response) {
console.log(headers)
console.log(response)
console.log(payload)
$scope.ss = 'sf'  // here !!!!!

}, {});
I update the variables in the callback, but the view has no update to reflect the change.

Try to add
$scope.$apply();

at the end of the callback.

@kurbatov yes, I actually did that. But is it a bug of ng-stomp or not?

I guess it is not a bug. This behavior gives more fine-grained control over updating the view.

@richdyang IMHO a library should not explicitly apply the scope as this might lead to undesired side effects.


Fix Config (unnamed): Key "language"

close: #360

It seems that language property has been added to the object returned by ESLint.prototype.calculateConfigForFile(filePath) since ESLint v9.5.0.
Example:
{
  linterOptions: { reportUnusedDisableDirectives: 'off' },
  language: {
    fileType: 'text',
    lineStart: 1,
    columnStart: 0,
    nodeTypeKey: 'type',
    visitorKeys: [Object],
    validateLanguageOptions: [Function: validateLanguageOptions],
    matchesSelectorClass: [Function: matchesSelectorClass],
    parse: [Function: parse],
    createSourceCode: [Function: createSourceCode]
  },
  languageOptions: {
    sourceType: 'module',
    ecmaVersion: 'latest',
    parser: [Object],
    parserOptions: {}
  },
  plugins: { '@': [Object], '@typescript-eslint': [Object] },
  rules: { '@typescript-eslint/no-explicit-any': [Array] },
  files: [ '**/*.*', '**/*' ]
}

The new ESLint supports the feature of adding languages via plugins, and the language property is supposed to be for that purpose.

https://eslint.org/docs/latest/extend/languages

The config returned from ESLint.prototype.calculateConfigForFile(filePath) is passed to Linter.prototype.verify(text, config, filePath)
https://github.com/mizdra/eslint-interactive/blob/1a62bd2ec5401ab0cb9f1b58766415fafdb58739/src/eslint/linter.ts#L52-L53
However, Linter.prototype.verify does not seem to support language properties for some reason.


Remove unncessary fixture injection for already mocked tests

Codecov Report

Merging #11 (d5b0aa6) into main (ba02073) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   99.00%   99.00%
=======================================
  Files           4        4
  Lines         301      301
=======================================
  Hits          298      298
  Misses          3        3


List of backward incompatibilities for Stan 3.0

Feel free to add expected/desired changes directly to the issue.
Argument Configuration

[ ]  "file" to "source"
[ ]  Something better than "engine"

Model

[ ] Rename write_array method

Nothing has been added to this and the Stan 3 discussions have moved elsewhere, so I'm going to close this to reduce open issues. Feel free to reopen if you think it shouldn't be closed.


charts,manifests: Remove the 'minimum' and 'maximum' schema properties.

/test all

The OLM BZ has been resolved, so this is no longer needed to convert v1beta1 -> v1 CRDs under-the-hood.


chore(repo): deprecate testID and add testId - 9

Closes #2486
Depends on #2462 #2475 #2478 #2480 #2481 #2490 #2493 #2499
Summary
Adds testId prop to element that don't have it, and marks the existing testID prop as deprecated. It also uses the passed testID or testId to create usable test ids for nested components and make them easier to test.
THIS PR SHOULD NOT CONTAIN ANY BREAKING CHANGES, SO THAT IT CAN BE ROLLED OUT BEFORE V3. IT NEEDS A GOOD EYE TO CONFIRM THAT WITH SO MANY CHANGES.
Change List (commits, features, bugs, etc)

SelectUsersModal
SideNav
SimpleIconDropdown
SimplePagination
Skeleton
SkeletonPlaceholder
SkeletonText
Slider
StructuredList
SuiteHeader
Switch
SelectItemGroup

Acceptance Test (how to verify the PR)

storyshots should now contain more data-testid attributes in their output
testId should be used on all props for the components mentioned above and not testID
testID should throw a deprecation warning

Regression Test (how to make sure this PR doesn't break old functionality)

All tests still pass as expected.
testID or testId should both be valid to maintain existing tests without breaking.

b/c #2506 merged before this one there are no changes here now, since everything here was also merged into that one.


CSV upload interface

Don't merge this yet: we're waiting for final copy.

Ready for review/merge.

Looks good to me :+1:


Custom build docs do not specify a minimum sqlite version

I want to know the minimum sqlite version required for use with better-sqlite3.  I notice this documentation which describes how to build against a user-specified version, however there is no info about what versions may be supported.  Does this mean that all features of better-sqlite3 are usable from the initial alpha release in May of 2000?  Some newer version is required?

An exact answer is hard to provide because better-sqlite3 is regularly updated with new features that may depend on the most recent version of SQLite. After doing a quick, manual scan, I'll say that better-sqlite3 should current work with SQLite version 3.31.0 or later, but that's not guaranteed for future versions of better-sqlite3.


Fix compilation after update to DataFusion 44

Proposed PR that targets @rtyler 's PR https://github.com/delta-io/delta-rs/pull/3073 to update to latest DataFusion and fixes compilation

Actually, I think the issue may be the wrong pin. Closing this change


Upgrade blob explorer to use Data Grid component

[x] Notification
[x] Toolbar

[x] Replicate all commands
[x] Button resizing

[x] Context menu

[x] Invoke context menu
[x] Replicate all commands

[x] Navigation

[x] Allow storing all locations in navigation history

[x] Side panel toggle button
[x] Data grid

[x] Data source

[x] Side panel

[x] Base panel
[x] Clause list
[x] Resizing with data grid

[x] Localization
[x] Explorer state

[x] Save state
[x] Restore state

[x] Open to a directory (initial editor path)
[x] Session data migration (no session data change, conversion logic implemented)
[ ] Delete old explorer

Stretch goals:

[x] Kill v2 ui-components
[x] Replace all icons

Will delete the old explorer in 1.32.0.


Write Infinity and NaN floats as strings

This PR updates the float32 and float64 marshalers to write -Infinity, Infinity and NaN as strings instead of having the jsoniter library error on those.

What about reading ?


Compilation fails for ESP32-C6 board

Hi,
I am trying to build for ESP32-C6 with this branch:
- set(ENV{ESP_MATTER_DEVICE_PATH} $ENV{ESP_MATTER_PATH}/device_hal/device/esp32_devkit_c)
+ set(ENV{ESP_MATTER_DEVICE_PATH} $ENV{ESP_MATTER_PATH}/device_hal/device/esp32c6_devkit_c)

But switching target to esp32c6 fails:
user@laptop:~/matter-esp32-dcmotor$ idf.py --preview set-target esp32c6
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Directory '/home/user/matter-esp32-dcmotor/build' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it.
user@laptop:~/matter-esp32-dcmotor$
user@laptop:~/matter-esp32-dcmotor$
user@laptop:~/matter-esp32-dcmotor$ idf.py build
Executing action: all (aliases: build)
Running cmake in directory /home/user/matter-esp32-dcmotor/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/user/.espressif/python_env/idf5.1_py3.10_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 /home/user/matter-esp32-dcmotor"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: /usr/bin/git (found version "2.34.1")
CMake Error at /home/user/tools/esp-matter/device_hal/device/esp32c6_devkit_c/esp_matter_device.cmake:3 (message):
  please set esp32c6 as the IDF_TARGET using 'idf.py --preview set-target
  esp32c6'
Call Stack (most recent call first):
  CMakeLists.txt:11 (include)

-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /home/user/matter-esp32-dcmotor/build/log/idf_py_stderr_output_47901 and /home/user/matter-esp32-dcmotor/build/log/idf_py_stdout_output_47901

Do you have any ideas on how to correct this?
Regards

@lboue I'm not sure about solution.. I was able to set target following below steps.

clean build result and set target again

$ idf.py fullclean

if it fails, delete build path
$ rm -rf build

set target again

$ idf.py set-target esp32c6

Also, pull below commit and try to re-build. (There's no need to modify CMakeLists.txt ever again)
695668f2cb6106641a64f574793e08d58aa03490

Thanks a lot. I works now.


Parse duplicate headers properly

Fixes #123

@adri Ready for review.

Nice! I think the best solution would be to store the exact request.
For now this is good 👍

I'll release with some other stuff soon.

Released 1.2.5


Adding AWS:reInforce to list of conferences.

Adding in AWS re:Inforce to the list of AWS conferences. It is slated to be the first AWS Security focused conference, which is very relevant to this project.

I added re:Inforce to pr #46 (in addition to a few others).  It just hasn't been merged to the master yet.  I'm heading there and looking forward to it!


Scrollspy don't works if id contains dot or other special character

This line failed in case if this.hash contains dots or other special symbols.
		    var offset = $(this.hash).offset().top + 1;

jQuery requires such character to be escaped:
http://stackoverflow.com/questions/9930577/jquery-dot-in-id-selector
https://learn.jquery.com/using-jquery-core/faq/how-do-i-select-an-element-by-an-id-that-has-characters-used-in-css-notation/

Wow, to be honest I didn't even know id's could have all these special characters haha.
Fixed in 8623e7e


Increase GPUs quotas for m2lines

Context
m2lines is pushing the boundaries of machine learning.  Recently, they tried to do an adhoc demo/tutorial and were only able to spin up a small number of GPU enabled Jupyter servers (2?) before running out out of quota.
We requested an increase from GCP in quota and received an allocation of 4 "committed" NVIDIA T4 nodes.  We have been asked to increase the number of available GPUs nodes.  Some possibilities:

[ ] Request additional quota from GCP
[ ] Create additional machine types (K80, V100, P100, A100?) so that there is more opportunities for GPU enabled processing
[ ] Explore running hubs in multiple zones (or regions?) where additional GPU resources may be available

For context, the demo was for a group of 20 users, so a quota of 20 GPUs would be potentially required again in the future. And as machine learning intensive community, an allocation of a 100 GPUs would welcomed (potentially over several different machine types)
While increasing the quota of available GPUs is the primary goal, m2lines also wants to understand the limitations imposed by the cloud vendors.
Proposal
No response
Updates and actions
No response

I've asked for another increase from the current 4 to 8.

the quota was also approved for 8. I think we just need to ask for it once a week? wtf

I see they had hit their CPU quota of 128 as well, so I asked (and was approved) a bump to 128.
I also asked for a GPU bump from 8 to 12, and that was approved

I ask for about 4 more GPUs each week, and it gets automatically approved! It is upto 16 now.

Go to https://console.cloud.google.com/iam-admin/quotas?project=m2lines-hub&pageState=("allQuotasTable":("f":"%255B%257B_22k_22_3A_22Metric_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22compute.googleapis.com%252Fnvidia_t4_gpus_5C_22_22_2C_22s_22_3Atrue_2C_22i_22_3A_22metricName_22%257D%255D"))
Select NVIDIA T4 GPUs in us-central1
Click 'edit quotas' on the top right
Ask for a higher number. I've been asking for 4 more, but I think we can get a bit more aggressive.
Provide a reason such as "We are working on bringing up a bigger workshop for ML training soon"
Provide email (and unfortunately) phone number
wait

I asked for a bump to 20 and was automatically denied :( At this point I would say this requires engagement with some human on the GCP side

I asked for a bump to 20 again, and this time i got it.

Is 20 enough or should we make another iteration? Or involved someone else from GCP to grant us a significantly bigger number as suggested in the top message? cc @jmunroe and @yuvipanda

With the m2lines hub now winding down, I think this issue is no longer relevant to track.

I might have closed this just a moment too early:
I note that https://2i2c.freshdesk.com/helpdesk/tickets/769 requesting help with "JupyterHub GPU instances not starting" for LEAP.  Since the user group for m2lines is merging into the LEAP, is there a way to use the GPU quota we have already secured for m2lines but apply it to LEAP?

is there a way to use the GPU quota we have already secured for m2lines but apply it to LEAP?

Unfortunately there is not.

@jmunroe if you think we should do this for LEAP, let's open an issue separately? That issue linked in the support ticket was solved in a different way.


Kani optimisation blog post

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@celinval @adpaco-aws a new version is up (different file name because of title and date)

Thanks! Please mark comments which you're confident you've resolved as "resolved" using the "Resolve conversation" button. Other conversations can remain open until the next review and I'll mark as "resolved" if it proceeds.
I'll follow up with another review now.


Kanban Board Set-up

Hello
Kindly check our Github Project.
For this project, we are a group of 3 composed by:

Augusto Galindo: @jsug9
Catherine Kemigabo: @kemigabocatherine
Sediqullah Badakhsh: @sediqullahbadakhsh

We have divided the tasks into group, student A, B and C In the following way:

Group tasks: Everyone.
Student A: Sediqullah Badakhsh
Student B: Augusto Galindo
Student C: Catherine Kemigabo

Hi @jsug9, @kemigabocatherine and @sediqullahbadakhsh,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Status: Approved ✔
Cheers and Happy coding!👏👏👏
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


crash when scrolling fast with prefetch enabled

the index paths returned by prefetchItemsAt seem to be unordered, so first...last could not form a valid Range.
open func collectionView(_ collectionView: UICollectionView, prefetchItemsAt indexPaths: [IndexPath]) {
        if self.usedPrefetch {
            queue.async { [weak self] in
                guard let `self` = self, let collection = self.focusedCollection else { return }
                if indexPaths.count <= collection.count,let first = indexPaths.first?.row, let last = indexPaths.last?.row {
                    guard let assets = collection.getAssets(at: first...last) else { return }
                    let scale = max(UIScreen.main.scale,2)
                    let targetSize = CGSize(width: self.thumbnailSize.width*scale, height: self.thumbnailSize.height*scale)
                    self.photoLibrary.imageManager.startCachingImages(for: assets, targetSize: targetSize, contentMode: .aspectFill, options: nil)
                }
            }
        }
    }

there is a similar issue within
func collectionView(_ collectionView: UICollectionView, cancelPrefetchingForItemsAt indexPaths: [IndexPath])

Fixed 08bfbcfbaf02fe335e8b4a13c5ace31ba8887cf5


Feat numerical

Use ln/log, atan/atan2 to differentiate one/two argument versions now. This is not compatible with the standard.

LGTM, but Those functions should be implemented in (scheme inexact) later


Log error when running Indexing API

Hello, I scheduled a command to run google indexing on my application. The command runs fine but I receive this error:
Declaration of Psr\Log\AbstractLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Declaration of Psr\Log\AbstractLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void at /var/www/html/careermove.co.ke/public/google-api-php-client/vendor/psr/log/Psr/Log/AbstractLogger.php:22)

How can I solve this? Please help.

Yes, this seems to be an issue you have with your dependencies. Both Psr\Log\AbstractLogger and Psr\Log\LoggerInterface are not maintained by this library. How those could get out of sync is beyond me... I would try removing your dependencies and reinstalling with composer.
However, since the errors are happening in an installed dependency, it's not something we can help you with.


wrapper rewritten, patches removed, make test, libhext and boost updated

I finally had time to look at hext-emscripten.
And I've made some changes:

I have rewritten the wrapper. It now behaves almost exactly like the Hext nodejs module (https://github.com/brandonrobertz/hext-emscripten/commit/ec4d046c22a587e3e5e5b90623e4249dc043e5a5).
I threw out the old wrapper. I don't know if this works for you :) Maybe we can have two build targets, 'new' and 'old wrapper'.

Ideally, I'd like to see hext-emscripten be included in the html-extract organization. Let me know if you are willing to join.
Either way, thanks for setting up this project. I wouldn't have known where to start without a working base to build upon.

Hey! Thanks for your work on this. I'm willing to move this into the hext org namespace. Just let me know what I need to do to make this happen.
I like the direction of this, but when I was trying to build this, it fails. I checked against the master branch on my repo and it succeeds, so it doesn't look like an environment issue common to both branches. I'm not sure what your environment looks like, but basically all the deps build and then building libhext fails.
$ make
if ! which em++ 2> /dev/null || \
        ! which emar 2> /dev/null  || \
        ! which emmake 2> /dev/null || \
        ! which emcmake 2> /dev/null; then \
        echo "Emscripten not on PATH! Quitting."; \
        exit 1; \
fi
/home/brando/src/emsdk/emscripten/1.38.24/em++
/home/brando/src/emsdk/emscripten/1.38.24/emar
/home/brando/src/emsdk/emscripten/1.38.24/emmake
/home/brando/src/emsdk/emscripten/1.38.24/emcmake
mkdir -p build
mkdir -p build-dep
make -f Makefile.boost
make[1]: Entering directory '/home/brando/src/hext-emscripten-tomastrapp'
make[1]: Nothing to be done for 'boost'.
make[1]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp'
make -f Makefile.gumbo
make[1]: Entering directory '/home/brando/src/hext-emscripten-tomastrapp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp'
make -f Makefile.libhext
make[1]: Entering directory '/home/brando/src/hext-emscripten-tomastrapp'
cd build/hext-0.8.0/libhext/build && \
emcmake cmake \
        -DGumbo_LIBRARY=/home/brando/src/hext-emscripten-tomastrapp/build-dep/lib/libgumbo.a \
        -DGumbo_INCLUDE_DIR=/home/brando/src/hext-emscripten-tomastrapp/build-dep/include \
        -DBoost_INCLUDE_DIR=/home/brando/src/hext-emscripten-tomastrapp/build-dep/include \
        -DBoost_LIBRARY_DIR=/home/brando/src/hext-emscripten-tomastrapp/build-dep/lib \
        -DCMAKE_INSTALL_PREFIX=/home/brando/src/hext-emscripten-tomastrapp/build-dep \
        .. && \
emmake make install VERBOSE=1
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:801 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.10/Modules/FindBoost.cmake:1558 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:32 (find_package)

-- Boost version: 1.70.0
-- Found the following Boost libraries:
--   regex
-- Configuring done
CMake Error at CMakeLists.txt:37 (add_library):
  Target "hext" links to target "Boost::regex" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?

CMake Error at CMakeLists.txt:37 (add_library):
  Target "hext" links to target "Boost::regex" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?

-- Generating done
-- Build files have been written to: /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/build
shared:ERROR: Configure step failed with non-zero return code: 1.  Command line: cmake -DCMAKE_CROSSCOMPILING_EMULATOR="/home/brando/src/emsdk/node/8.9.1_64bit/bin/node" -DGumbo_LIBRARY=/home/brando/src/hext-emscripten-tomastrapp/build-dep/lib/libgumbo.a -DGumbo_INCLUDE_DIR=/home/brando/src/hext-emscripten-tomastrapp/build-dep/include -DBoost_INCLUDE_DIR=/home/brando/src/hext-emscripten-tomastrapp/build-dep/include -DBoost_LIBRARY_DIR=/home/brando/src/hext-emscripten-tomastrapp/build-dep/lib -DCMAKE_INSTALL_PREFIX=/home/brando/src/hext-emscripten-tomastrapp/build-dep .. -DCMAKE_TOOLCHAIN_FILE=/home/brando/src/emsdk/emscripten/1.38.24/cmake/Modules/Platform/Emscripten.cmake at /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/build
Makefile.libhext:18: recipe for target 'build-dep/lib/libhext.a' failed
make[1]: *** [build-dep/lib/libhext.a] Error 1
make[1]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp'
Makefile:15: recipe for target 'dependencies' failed
make: *** [dependencies] Error 2

And just so you can see my deps have been compiled:
build-dep/include:
boost  gumbo.h  tag_enum.h

build-dep/lib:
cmake      libboost_regex.bc  libboost_regex.so.1     libboost_regex.so.1.70.0  libgumbo.la
pkgconfig  libboost_regex.so  libboost_regex.so.1.70  libgumbo.a

My hunch is it's a result of the patches I had only working with that specific hext/boost version combination. I'm curious what your thoughts are. When I was first doing this cross-compilation, I had this same kind of problem when using cmake w/ emscripten. That's what led me to patch the CMakeLists.txt to pull in the emscripten compiled deps explicitly.

The last commit should fix the issue.

I'm willing to move this into the hext org namespace

Great! I've sent an invite.
After accepting, you should be able to transfer the repository the html-extract organization.
https://help.github.com/en/articles/transferring-a-repository#transferring-a-repository-owned-by-your-personal-account
Also we should add a license. Is Apache 2.0 okay for you?

Sorry about the long response cycle, I've been really busy with contracts. I get a different error with the latest master:
[Note: truncated to failing part ...]
[  2%] Building CXX object CMakeFiles/hext.dir/src/AppendPipe.cpp.o
/home/brando/src/emsdk/emscripten/1.38.24/em++  -DBOOST_ALL_NO_LIB @CMakeFiles/hext.dir/includes_CXX.rsp -DNDEBUG -O2 -fvisibility=hidden   -Weverything -Wno-c++98-compat -Wno-documentation -Wno-documentation-html -Wno-documentation-unknown-command -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-switch-enum -Wno-weak-vtables -o CMakeFiles/hext.dir/src/AppendPipe.cpp.o -c /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/src/AppendPipe.cpp
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/src/AppendPipe.cpp:15:
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/AppendPipe.h:21:
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/Cloneable.h:48:9: error:
      too many arguments provided to function-like macro invocation
        "template argument <Base> is not a base of "
        ^
/home/brando/src/emsdk/emscripten/1.38.24/system/include/libcxx/__config:805:12: note: macro
      'static_assert' defined here
#   define static_assert(__b, __m) _Static_assert(__b, __m)
           ^
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/src/AppendPipe.cpp:15:
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/AppendPipe.h:21:
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/Cloneable.h:47:5: error:
      use of undeclared identifier 'static_assert'
    static_assert(std::is_base_of<Base, Derived>::value,
    ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/Cloneable.h:50:5: warning:
      _Static_assert is a C11-specific feature [-Wc11-extensions]
    static_assert(std::is_copy_constructible<Derived>::value,
    ^
/home/brando/src/emsdk/emscripten/1.38.24/system/include/libcxx/__config:805:36: note: expanded from macro
      'static_assert'
#   define static_assert(__b, __m) _Static_assert(__b, __m)
                                   ^
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/src/AppendPipe.cpp:15:
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/AppendPipe.h:21:
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/Cloneable.h:54:17: error:
      no member named 'make_unique' in namespace 'std'
    return std::make_unique<Derived>(static_cast<const Derived&>(*this));
           ~~~~~^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/Cloneable.h:54:29: error:
      'Derived' does not refer to a value
    return std::make_unique<Derived>(static_cast<const Derived&>(*this));
                            ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/Cloneable.h:35:19: note:
      declared here
template<typename Derived, typename Base>
                  ^
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/src/AppendPipe.cpp:15:
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/AppendPipe.h:22:
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:43:16: warning:
      'noexcept' is a keyword in C++11 [-Wc++11-compat]
  StringPipe() noexcept;
               ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:43:15: error:
      expected ';' at end of declaration list
  StringPipe() noexcept;
              ^
              ;
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:45:24: warning:
      rvalue references are a C++11 extension [-Wc++11-extensions]
  StringPipe(StringPipe&&) noexcept = default;
                       ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:45:27: error:
      expected ';' at end of declaration list
  StringPipe(StringPipe&&) noexcept = default;
                          ^
                          ;
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:47:35: warning:
      rvalue references are a C++11 extension [-Wc++11-extensions]
  StringPipe& operator=(StringPipe&&) noexcept = default;
                                  ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:47:38: error:
      expected ';' at end of declaration list
  StringPipe& operator=(StringPipe&&) noexcept = default;
                                     ^
                                     ;
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:48:24: error:
      expected ';' at end of declaration list
  virtual ~StringPipe() noexcept = default;
                       ^
                       ;
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:66:48: error:
      expected ';' at end of declaration list
  void append(std::unique_ptr<StringPipe> pipe) noexcept;
                                               ^
                                               ;
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:69:45: warning:
      variadic templates are a C++11 extension [-Wc++11-extensions]
  template<typename StringPipeType, typename... Args>
                                            ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:70:20: warning:
      rvalue references are a C++11 extension [-Wc++11-extensions]
  void emplace(Args&&... arg)
                   ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:72:23: error:
      no member named 'make_unique' in namespace 'std'
    this->append(std::make_unique<StringPipeType>(std::forward<Args>(arg)...));
                 ~~~~~^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:72:35: error:
      'StringPipeType' does not refer to a value
    this->append(std::make_unique<StringPipeType>(std::forward<Args>(arg)...));
                                  ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:69:21: note:
      declared here
  template<typename StringPipeType, typename... Args>
                    ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:72:74: error:
      expected ')'
    this->append(std::make_unique<StringPipeType>(std::forward<Args>(arg)...));
                                                                         ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/StringPipe.h:72:50: note:
      to match this '('
    this->append(std::make_unique<StringPipeType>(std::forward<Args>(arg)...));
                                                 ^
In file included from /home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/src/AppendPipe.cpp:15:
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/AppendPipe.h:32:30: warning:
      'final' keyword is a C++11 extension [-Wc++11-extensions]
class HEXT_PUBLIC AppendPipe final
                             ^
/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/include/hext/AppendPipe.h:42:48: warning:
      'override' keyword is a C++11 extension [-Wc++11-extensions]
  std::string transform(std::string str) const override;
                                               ^
8 warnings and 12 errors generated.
shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
CMakeFiles/hext.dir/build.make:63: recipe for target 'CMakeFiles/hext.dir/src/AppendPipe.cpp.o' failed
make[4]: *** [CMakeFiles/hext.dir/src/AppendPipe.cpp.o] Error 1
make[4]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/hext.dir/all' failed
make[3]: *** [CMakeFiles/hext.dir/all] Error 2
make[3]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/build'
Makefile:129: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp/build/hext-0.8.0/libhext/build'
Makefile.libhext:18: recipe for target 'build-dep/lib/libhext.a' failed
make[1]: *** [build-dep/lib/libhext.a] Error 2
make[1]: Leaving directory '/home/brando/src/hext-emscripten-tomastrapp'
Makefile:15: recipe for target 'dependencies' failed
make: *** [dependencies] Error 2

Do I have the wrong version of clang or emscripten?
Emscripten version is 1.38.32
Clang version is 6.0.0-1ubuntu2 (tags/RELEASE_600/final)

Interesting. I'll try to reproduce this in a clean Ubuntu-18.04 docker image in the following days.

Do I have the wrong version of clang or emscripten?

I noticed that your path to em++ is emsdk/emscripten/1.38.24/em++. The path emsdk/emscripten  does not exist in my install of the SDK. When I build hext-emscripten, it uses emsdk/fastcomp/emscripten/em++.
I guess you are building the SDK from source.
I pull in the toolchain through the "Python driver".
Both methods should work, but my knowledge of emscripten is limited.
One thing you can try is doing a fresh reinstall of the emsdk using the "Python driver" or recompiling the latest source of emscripten (although 1.38.32 should be recent enough).
Details:

The error messages show that the compiler does not accept C++17
And indeed, CMake is not setting the C++ version (--std=c++17) when calling em++.
But, libhext v0.8.0 requires this flag in: target_compile_features(hext PUBLIC cxx_std_17)
According to the CMake v3.10 documentation target_compile_features should either set the flag, or, if the compiler does not support it, report an error, which should abort the build. Puzzling.

I was able to build hext-emscripten on a clean Ubuntu-18.04 image.
Dependencies:
apt-get install \
  wget git libdigest-sha-perl python2.7 python build-essential libxml2 \
  libtool autoconf rapidjson-dev cmake

And then:
# setup emsdk
cd ~
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh

# setup hext-emscripten
cd ~
git clone https://github.com/thomastrapp/hext-emscripten.git
cd hext-emscripten
make
make test
ls -lah hext-emscripten.*

Can you try this method?
Off topic: Turning this into a script that works on Travis CI should be straight forward. Travis could then build hext-emscripten automatically and upload the compiled files to the Github releases.

Okay so I've got it compiling (HINT: I think it was my system dependencies). I think I simply had the "clang" package installed. When I copied your apt-get install string, I was missing rapidjson-dev.
I also noticed this pop up:
The following package was automatically installed and is no longer required:
  libllvm7

After which, my compilation succeeded. The weird part is that removing the libllvm7 library didn't change anything, but everything worked after that rapidjson-dev installation.
Anyway, we should add that to the deps so that it's explicit. Otherwise, this looks good and I'll merge it in. I'm also going to transfer the repo over.

Yeah, there are probably a lot of ways the build can break. I am still amazed that it works at all, compiling to JavaScript that is.
Thanks for the merge and transfer!


Import legacy scenarios.

Now that we have separate scenarios and bundles, we need to be able to import the old unified scenarios and bundles.

done.


visible

Hi.
When i set visibility of a field to false it will hide in my admin page and i cant edit it again. How can i set visibility to false only for user page not admin page.
I've attached a screenshot of my project.

You would have to change the value of the visibility based on what page you are currently viewing.
This is not a bug report, and appears to be a support request specific to your project and not to VFG.
I'm closing this issue.


Show quorum connections in "quorum dkgstatus" and use it in mine_quorum

Instead of statically sleeping 2 seconds

rebased on develop after merge of https://github.com/dashpay/dash/pull/3269. This should fix tests

Test failures on Travis are unrelated


Do you support evaluation on multi-lingual model and dataset?

Can I evaluate other languages other than English using this package?

@petergaoshan Depends if the evaluation model you're using supports that language. You an use any evaluation you wish using deepeval

@penguine-ip I am using a model that supports my language yet some questions generated are in English despite all text being in the other language. The solution seems to be to modify the internal prompt but this is not exposed.

@EssamWisam happy to accept a PR on this, i'm imagining an enum of languages and provide it during metrics initialization before passing it onto the prompt template.

@EssamWisam happy to accept a PR on this, i'm imagining an enum of languages and provide it during metrics initialization before passing it onto the prompt template.

OK I will try to find time for this. My complain was actually regarding test set generation. I'm not assuming metrics will be that language sensitive.


Updating to Dagger 0.8 and using ExitCode helper

I think this is ready to merge. I ran a full publish_tag_enterprise.sh locally and it worked :)


Top-level richtext widgets use  tags, nested ones use  tags

If I make a richtext singleton field in a page, it uses <p> tags to divide paragraphs when I hit return.
If I include a richtext field nested in another widget, it uses <div> tags with nbsp's in them to divide the paragraphs.
The desired behavior is always the <p> tags because we have to resort to hacks otherwise.
Related: #48

I don't know why this varies, but I do know it's a ckeditor issue.
We need to document how to do ckeditor configuration in Apostrophe.
On Thu, Sep 8, 2016 at 12:28 AM, Alex Gleason<EMAIL_ADDRESS>wrote:

If I make a richtext singleton field in a page, it uses  tags to
divide paragraphs when I hit return.
If I include a richtext field nested in another widget, it uses
tags with nbsp's in them to divide the paragraphs.
The desired behavior is always the  tags because we have to resort to
hacks otherwise.
Related: #48 https://github.com/punkave/apostrophe/issues/48
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/649, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fad5gqoMR4pgayAoyV1FBEiKvfENks5qn47SgaJpZM4J3mY7
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

Please see:
http://apostrophenow.org/howtos/ckeditor.html
If you can, please tinker with the CKEditor docs and let me know what your
experiences are. We can't rewrite CKEditor, but we can enable you to
configure it in project-specific ways, and we might discover a better
default configuration.
On Thu, Sep 8, 2016 at 7:36 AM, Tom Boutell<EMAIL_ADDRESS>wrote:

I don't know why this varies, but I do know it's a ckeditor issue.
We need to document how to do ckeditor configuration in Apostrophe.
On Thu, Sep 8, 2016 at 12:28 AM, Alex Gleason<EMAIL_ADDRESS>wrote:

If I make a richtext singleton field in a page, it uses  tags to
divide paragraphs when I hit return.
If I include a richtext field nested in another widget, it uses
tags with nbsp's in them to divide the paragraphs.
The desired behavior is always the  tags because we have to resort to
hacks otherwise.
Related: #48 https://github.com/punkave/apostrophe/issues/48
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/649, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fad5gqoMR4pgayAoyV1FBEiKvfENks5qn47SgaJpZM4J3mY7
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com


Exposing include files for use in projects via FetchContent

Exposing include files for use in projects via FetchContent

@socketio anyone that can take a look at this PR?

Hi @Jikari seems good to me, thanks for your contribution


4 reconfiguring memote

Modifying .yml files and adding files necessary to run memote.

Also go back to original model for this PR.


The project is the best  I have ever seen About Akamai cookie. Please Please Please update Part2 ASAP.

Looking forward to your update
Or you can send me some spoilers haha
my email<EMAIL_ADDRESS>

Seconded! Awesome work.


Fix To Do List Navigation

Fix To Do List Navigation

An href was overriding an accidentally placed second href.
The links now navigate to the correct pages.

Thank you!


report the current version as latest if nothing can be found

When checking for updated packages, it's possible that none of the queried sources has that package.  The result is that UpdateChecker.latest_version can be nil which leads to all sorts of problems.
The fix is to report the currently installed package version as latest if nothing could be found.  This situation was found where a user is running dependabot on their repo with only their own private NuGet feed, specifically so they could always be up-to-date with their internal organization.  During this update process, the dependency Newtonsoft.Json version 13.0.3 was found, but since that's a public package, it wasn't found on their private feed.  The result was undefined method 'fetch' for nil:NilClass.  That is obviously incorrect, so in the instance where the package could not be found, it is simply reported as being up-to-date so no other action is attempted.
Fixes #9233

Few CI errors to fix

There appear to be issues with the CI in general, I can't see how this change would cause failures in the e.g., swift updater.  I'll pull/rebase once main has some more commits to try to get a clean CI.

Ah, the CI is failing due to API rate limits.


7545 UP Routing function sends message to Translate function even when data will go to no receivers

This PR adds an alternate routing process for FHIR bundles with no receivers that skips sending a message to the translate function, eliminating a minor inefficiency.
Test Steps:

Use the Single HL7 Full ELR test to submit data to be routed. Ensure the data sent does not have a valid receiver.
Retrieve the report id from the data returned from the API call.
Allow time for the data to be routed, then confirm no calls to the translate function for this report lineage on the report_file, action, and task tables.

Changes

Changed the FHIR routing process to omit steps to create a message for and send a message to the translation queue. This event is tracked as EventAction.NONE rather than EventAction.TRANSLATE.
Added EventAction.NONE as a possible action for blobURL creation. This should prevent primary key constraint violations if other EventAction types cause the other string to be written to blobURL.

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[x] Added tests?

Linked Issues

Fixes #7545

@carlosfelix2
Created #8451 for the Submission History behavior.


How to extract feature vector from the last layer?

Hi!
I need to extract feature vectors from the various images with different resolutions. To make it I tried to modify the code so here I returned not only bboxes but vector x also. After that I have got the pytorch tensors with different shapes for different image sizes. How can I encode that to the equal shapes?

Feature map shapes of different input resolutions are naturally different, thus this question is not related to the codebase itself, but more a method design and choice by yourself.

@hellock Thank you for reply! If we disregard taking different resolutions, can I assume that my method of feature vectors extraction is generally correct? If no, how can I get feature vector for any resolution?

If you use the same resolution, you can just take the output feature map of backbone as your feature vector, see the x here.

@hellock thanks!


newlines in function arguments or parenthesis enclosed blocks

the following code (bad.coffee) is parsed by the original coffee but not CoffeeScriptRedux
angular.module('App').controller('AppController',
['$location', '$scope', (
  $location,   $scope) ->

  @link = (field) ->
    ("http://example.com" +
     "/" + field)
  @
])

if I modify it to this (good.coffee) it works
angular.module('App').controller('AppController',['$location', '$scope', (  $location,   $scope) ->

  @link = (field) ->
    ("http://example.com" +     "/" + field)
  @
])

I can't tell if this is #119 or #142 related so apologies if it's a dupe.
I installed from npm
$ ./bin/coffee -v
CoffeeScript version 2.0.0-beta8
$ ./bin/coffee -js < ~/mysrc/third_party/bad.coffee
Syntax error on line 1, column 50: unexpected '\n' (\u000A)
1 : angular.module('App').controller('AppController',
^ :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2 : ['$location', '$scope', (
3 :   $location,   $scope) ->
4 :

and the original CoffeeScript
$ coffee -v
CoffeeScript version 1.7.1
$ coffee -p ~/mysrc/third_party/bad.coffee
(function() {
  angular.module('App').controller('AppController', [
    '$location', '$scope', function($location, $scope) {
      this.link = function(field) {
        return "http://example.com" + "/" + field;
      };
      return this;
    }
  ]);

}).call(this);

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3560984-newlines-in-function-arguments-or-parenthesis-enclosed-blocks?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github).

OK, so why is this invalid?
a(b,
  c)

isn’t the grouping given via parens?

@flying-sheep
a(b
   ,c)

# or

a \
      b
    , c

thanks but:

i didn’t create the code, coffee-react-transform did, so i have no control over it.
there’s absolutely no ambiguity so there’s no reason why it shouldn’t be accepted
the grammar says nothing about whitespace in argument lists


Include demo page in source

Please consider including the demo .html file to the repo, would be really helpful for behind firewall reviewing of the icons.
Thanks

will do
sorry for the delay


MSEARCH-209: Authority record search - sorting

Purpose/Overview:
The default sort should be by the ranking but the user should be able to sort the results list by Authorized/Reference, Heading/Reference and Type of Heading
Requirements/Scope:

The default sorting is by relevance
Sorting results by:

Authority/Reference as described in MSEARCH-212
Heading/Reference as described in MSEARCH-211
Type of heading as described in MSEARCH-210

The sort order can be ascending or descending
Sort order  > special characters, integers, A-Z

Acceptance criteria:

The results are sorted by default by the relevance
The results can be sorted alphabetically by specified columns
The order can be asc or desc

Please, update the README.md file with new section for sorting options for authority resource


Improve testing story

We should introduce a proper Testing Pyramid.

Some improvements that come to mind after trying to make the tests pass for #400:

[ ] Do not make the tests depend on each other! Currently, only the whole test suite can be run. Also, this makes it impossible to run the tests in parallel.
[ ] Use the auto generated API for integration tests
[ ] Remove time.Sleep's in the test code. Business logic, like key expiration,  are better suited to be moved to unit tests, where we can test more scenario's cheaply without resorting to tricks like waiting for a few seconds.

I agree that we should strive for being more aligned with the test period. At the same time, I'm aware that the cost of adding unit tests to existing code is often higher than writing that code itself. (unless it's very good code).
Proposal
So, my pragmatic proposal would be: Let's aim to unit-test new code, but accept that existing code is not always unit-tested. This can also easily work when adding new methods to a previously untested struct (for example see https://github.com/creativesoftwarefdn/weaviate/commit/97dd6fa876635646d51d340dc21bb63c8fa4fa0a) This way, we don't add new tech debt and don't waste spend weeks on cleaning up existing debt.
Improvements down the line
Once we have many new unit tests, we'll automatically have much fewer requirements for higher-level tests (like acceptance, journey and integration tests): Because edge-cases are tested at a unit level, we'll only really need to verify one happy-path per feature at a higher level to prevent us from regressions on that feature. This should reduce the feedback cycle times dramatically.
Personally I prefer test-driven development, but don't think we should make this an overall rule or even guideline - as the learning curve can be quite steep. The goal right now is the improve the (useful) unit-test coverage on newly added code and in turn balance out the pyramid. This way we don't have special tickets only to "fix tests" and therefore don't waste time and money on "non-functionals".
@moretea has already introduced a pattern of keeping packages very small with clear boundaries, for example: https://github.com/creativesoftwarefdn/weaviate/blob/3a5777303a6d1c93d0b3383064bb4b561ed546f8/graphqlapi/local/get/get.go#L1
I think we should keep up this pattern of isolation, as it also makes testing much easier - which can only be a good sign.
Test style ("native" vs. framework)
I've made good experiences with BDD-style testing in Golang before (using Ginkgo ) before, but I'd actually advise against introducing a new style/framework right now and stick with the default go testing methods. Only once we run into limitations there, would I recommend considering a BDD framework like Ginkgo.

I've also noticed that a simple go test ./... leads to failures, because it includes the acceptance tests. I assume that the acceptance tests can only run inside a docker-compose setup?
I would propose to flag all tests with buildConstraints, such as // +build unitTest or // +bulild acceptanceTest. This way you can selectively run whatever tests you want using go test -tag unitTests ./..., etc.
@moretea How do you currently run all unit tests? Are they currently run separate from the acceptance tests on CI?


feat(EXC): Name Section for Metadata Command

Add support for keeping the name section in the Wasm module when running the metadata command. Currently that command will always drop the name section when mutating the custom sections.

This is needed to enable including name sections for Rust canisters in the main repo where the metadata step is always run as determined by the bazel rules: https://github.com/dfinity/ic/blob/41c742d5de5e80ce0e812418c2cf5a87e04d37ac/bazel/canisters.bzl#L192-L193


disapearing tasks in lists

Hallo I am using Opentasks 1.1.13 with Davdroid 1.11 and owncloud as server. When i create a new task it gets synced to owncloud but disappears immediately from the list in Opentasks.

just forgot, i set all permission to contacts as suggested in another thread but the problem persists.


update packages

I'm about to bump a different package, trying to get a clean run first.

Hm. My change is going to touch a bunch of pubspecs anyway, but it'll be good to know if this specific hange breaks anything :)


mmr: added hash of fixed length 32

Describe your changes
context: https://github.com/0xPolygonMiden/miden-vm/pull/829/files#r1159320768
this basically allows unhashing of the MMR to use 1/4 of the cycles.
Checklist before requesting a review

Repo forked and branch created from next according to naming convention.
Commit messages and codestyle follow conventions.
Relevant issues are linked in the PR description.
Tests added for new functionality.
Documentation/comments updated according to changes.

I wonder if we should pick a more flexible approach here. For example, we could say that the number of peaks is floored at some smaller number (i.e., 16) and after that can grow in increments of 2. This should still let us cut the number of cycles in the VM by about 2, while not putting an upper limit on the MMR and also not imposing as much of a fixed cost.

@bobbinth do you want me to work on that alternative?

@hackaugusto - assuming you don't disagree with the approach, yes :)


Support data collection for multiple disk groups per pool.

The pool serial number was used as dictionary identifier for disk groups instead of the disk group serial number. Because of this there were some discovery errors about failing to create multiple items with the same key when there were multiple disk groups per volume.

Hi @frei-style, thank you for you PR. )


New tips

This article contains new security tips
https://brakemanpro.com/2017/09/08/cross-site-scripting-in-rails

Very good article. Thank you.


Why not "loss_q = sum(losses_q) / task_num" ?

Hi, thanks for your codes!
I think the line 134 "loss_q = losses_q[-1] / task_num" in meta.py should be "loss_q = sum(losses_q) / task_num". What do you think of it?

@geekyutao Here's what I think.
For every task, the k's losses_q is the final loss after update_step calculations.
Actually, the losses_q[-1] is the sum of losses of all tasks.

Thanks for your hint！I will close the issue.


Patches not working

Hello and thanks for your work. I tried every rom I could get my hands on, but sadly "Legend of Zelda, The - Oracle of Seasons (E) (M5) [C][!].gbc.bsdiff" and also "Bomberman GB (U) [S][!].gb.bsdiff" don't seem to work. I've patched nearly every other game you got patches for (successully), but these two only give me a blank white screen... Thought I should report this.

Hi there, thanks for your report.
I tried Bomberman GB (U) [S][!].gb and that one seems to be saving and loading fine. These are the hashes of the ROMs:
md5 before patching: 7e4c9c3620bea7b633394beb67e9680b
md5 after patching: 9dd8e8f09168c146aa28fef743a4e3ad
Also I tried Legend of Zelda, The - Oracle of Seasons (E) (M5) [C][!].gbc and that one was getting a blank white screen for me too. I've pushed a new patch, let me know if you run into any issues.

Hello again and thank you, everything works fine now :) Also thanks for the md5 hashes, this was very helpful.


Add Issue, PR template and Bot configurations

:tada: This issue has been resolved in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The name "SecureZip" is already in use.

"SecureZIP" is used by PKWare for their commercial product with strong encryption. (https://www.pkware.com/products/securezip) You should give this project a different name.
By the way, you can find modifications to Info-ZIP's unzip to detect zip bombs here: https://github.com/madler/unzip

Somehow this completely slipped my mind. I renamed the project to DefuseZip.
This project was mainly created to sate my curiosity, and I will study Info-ZIP to hopefully increase my knowledge.
Thank you.


Themes I would like to see in godot

I have a few suggestions on themes I would like to see for godot with syntax highlighting for code
--not sure if these could get godot sued
Visual Studio 2017 Light Theme
Visual Studio 2017 Blue Theme
Visual Studio 2017 Dark Theme
--these might be hard since they would use textures
PixelArt Light
PixelArt Dark
PixelArt Orange and Faded Blue - faded blue is the background color orange is things like buttons and panels
--basically Black and specified color
Command Line Green
Command Line White
I feel like they would make godot more customizable.
I would probably use Visual Studio 2017 Dark Theme and PixelArt Orange and Faded Blue to be honest.

there are some of those syntax themes already here https://github.com/Calinou/godot-syntax-themes

these might be hard since they would use textures

What you're saying is not actually that hard because you can define textures in godot for custom themes. You would need to either store the textures in the theme resource or in relative paths however.

Syntax themes can be distributed through the asset library, no need to add more to the editor out of the box, unless there's a strong need for them.


Creating resource with schema_id at None

At this line:
https://github.com/BlueBrain/nexus-python-sdk/blob/cfdd5393ab247ebf47e42eaf3133a3595c35c1d5/nexussdk/resources.py#L89
we can see that if the schema is explicitly set to None when creating a new resource, the schema_id value will be internally set to resource, while it should be set to _ (underscore). I think this is a remnant of how it was done before _ was a thing.

Fixed in #82


Create picai_prep.yaml

Carefully go through this example .yaml proposal file and let me know of any questions and concerns

Thanks for setting up a sample!
I think it makes sense to:

Always start the query with SELECT * FROM DICOMS WHERE
Use a different keyword for an SQL query or a metadata filter
Add metadata filter options, as we had before

Additionally, I propose to:

Consistently use four spaces as indent (currently have both two and four. Four is more often used).
Don't start path with a /. That means it's an absolute path (while we do out_dir / path).
Add the file extension to the path. Then users can also specify .nii.gz or whatever supported by SimpleITK (we can make .mha default if not specified).

I've collected these proposals in https://github.com/DIAGNijmegen/picai_prep/pull/48/commits/9e46e57038c1e2374d2a5e53321b695fa4499cd2.


[Feature][Connectors] Abnormal Data Logging

Search before asking

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

Description
Description:

Currently, there are no metrics for tracking abnormal data records, nor is there an option to ignore exceptions and continue execution. Regardless of whether JDBC or other data sources are used, any error encountered during insertion will terminate the application, which is not user-friendly.

Suggested Improvements:
1. Abnormal Data Metrics:
The final metrics should include not only the read and write counts but also the count of abnormal data. The sum of abnormal data and successful write counts should equal the total read count.
2. Detailed Abnormal Record Entity:
Introduce a domain entity to record detailed information about abnormal records. This entity should include:

The identifier of the erroneous row.
The name of the column.
The erroneous data content.
The reason for the error.

3. Batch Submission Handling:
Some connectors may use batch submission to improve performance, relying on the transaction management of the target data source (e.g., the batch_size parameter in the JDBC connector). Users must balance their tolerance for record-level granularity.

If a batch contains an erroneous record, the entire batch will typically fail. As a result, the error count will accumulate in multiples of batch_size.

For precise error tracking, users would need to set batch_size to 1, but this compromises performance.

Conversely, for high-performance batch submissions, error tracking becomes less accurate.
This trade-off needs to be managed by the user based on their specific use case, but the system should provide the necessary functionality.

4. Planned Total Record Count in Metrics:
It would be beneficial to include the total planned record count in the metrics (e.g., the result of SELECT COUNT(*) FROM source).

This would enable the implementation of a progress bar when using batch processing.

Currently, the metrics only show the cumulative read and write counts at the current time but do not include the total planned count for the entire task.

Usage Scenario
1. Precise Error Row Counting and Detailed Error Information

The system should be able to accurately count the number of error rows.
For each error, detailed information should be recorded, including:

The specific row that caused the error.
The erroneous column identifier and name.
The erroneous data content.
The reason for the error.

2. Incremental Synchronization

The solution must support incremental data synchronization.
Errors encountered during synchronization should not halt the entire process.

3. User Display

Users should be able to view a summary of the synchronization process, including error statistics and detailed error records.

4. Key Pain Points:

Task Termination on Error:
During large-scale data synchronization, a single error can cause the task to terminate abruptly.

This is especially frustrating when earlier successful transactions have already been committed to the database.
Users are left with incomplete data and have to restart or manually reconcile the process.

5. Desired Behavior:

The task should not terminate immediately upon encountering an error.
Instead, errors should be logged, and the synchronization process should continue.
At the end of the task, a comprehensive report should be available for users, showing:

Total records processed.
Successful writes.
Errors, including their details.
Metrics for read, write, and error counts.

This approach would improve user experience and ensure data integrity while allowing users to handle errors post-synchronization.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

@liugddx PTAL

@liugddx PTAL

Thanks for following this issue! @Ivan-gfan LGTM! cc: @Hisoka-X @hailin0

😀


Roadmap to 3.0 Compatibility?

Curious if any one has gotten spree-product-assembly working with Spree 3.0. Not sure if there were any breaking changes in the newest release but I thought I'd ask.

If it's working with 2.4.x then it should be okay I haven't used it though, but there are probably some view markup related changes required to make it look nice with the new bootstrap admin.

I have spree-product-assembly working successfully with the Spree 3-0-stable branch. As JDUtil correctly stated above, the vast majority of the work is porting the views to bootstrap. I have most of them done with just 1 or 2 left to do.
With respect to breaking changes, there is a problem introduced by Spree 3 when updating the track_inventory flag on the stock page. (This is actually NOT related to spree-product assembly but someone could think that it was.) The ajax call to update the flag was failing with a routing error, resulting in a 500 return code, and the flag could not be updated. My manager and I found and fixed the problem, and his spree pull request #6286 has been accepted and incorporated into master and 3-0-stable.

One of the views with which I had not dealt is parts index, and I've been working on it today. The code in that view that adds a part doesn't work at all, which I am trying to fix.


Save unfilled orders for displaying in UI

User Story
As a user I want my offchain transactions to be saved
Why Is this Needed?
So a user can see the open orders they have created that have yet to be filled.
Summary:
Description
Type:
Current Behavior
Expected Behavior
Reproduction
Solution
Summary:
Definition of Done

[x] signedOrder data is loaded into the Open Orders component

Additional Information

@travisdmathis - pretty sure this got created on the wrong repo ;)

Issue moved to MARKETProtocol/dApp #362 via ZenHub


Update cmdlet syntax and examples according to removed external access dialing parameters

Updating cmdlet syntax and examples to match deprecated parameters (ExternalAccessPrefix and OptimizeDeviceDialing) for external access dialing.

@mskartikb Please implement the suggested changes. Thanks

adding also @jenstrier

@tiburd Please merge this PR. Thanks


field translation from docker-compose.yml

Because the document is really lacking, I have several questions about field translation. Here is my original post:
https://stackoverflow.com/questions/63572956/difficult-fields-from-docker-compose-yml-to-dockerrun-aws-json
Thanks

Hey @hkbluesky, thanks for reaching out. Unfortunately this is not the appropriate venue for EB docker image support. I would recommend posting your issue to the AWS Elastic Beanstalk forum for further assistance. Closing as not related to EBCLI.


gtl_type is set to an ivar by the caller, so just do it there

we don't need to set the ivar multiple times.
Lets do this for now instead of #1727.  /cc @martinpovolny

Great.  One less side effect!
I see, we set this ivar in one place as the result of this now query method:
@gtl_type = get_view_calculate_gtl_type(db_sym)
here


Special search

this button don't work ? Nothing when i press it, but the search work when i press enter on the serach field.

sad :(

Oh, i just see the problem guys

the event for the search button it's here:
if (specialSearchParametersJSON.showFriends) {
document.querySelector("#searchButton").addEventListener("click", searchURL);
so if you don't activate this option, he don't work

I just remove it from the if. I hope it was just a mistake and that there was no need for it to be there xD


Error when converting model to TensorRT

When converting the ONNX model to a TensorRT model I get the following error:
Parameter check failed at: ../builder/Network.cpp::addPooling::108, condition: allDimsGtEq(windowSize, 1) && windowSize.h() * windowSize.w() < MAX_KERNEL_DIMS_PRODUCT
Building accelerated plugins...
Parameter check failed at: ../builder/Network.cpp::addConcatenation::167, condition: nbInputs > 0 && nbInputs < MAX_CONCAT_INPUTS
Segmentation fault (core dumped)

I believe it relates to the adaptive nature of the pooling layers. I draw this conclusion based on this link: https://devtalk.nvidia.com/default/topic/985607/gpu-accelerated-libraries/tensorrt-1-0-fails-on-squeezenet/

It may be possible to change the squeeze excitation pooling layer (x_squeezed = F.avg_pool2d(x)) with a GlobalAveragePool as suggested by this link: https://forums.fast.ai/t/using-a-fast-ai-model-in-production/12033/2

I convert it succeed, maybe you need to use the latest TensorRT.

@xiaochus what version of TensorRT were you using? I tried with 5.1.5

@FamousDirector 5.1.5 also. Did you use the support version of pytorch and onnx in TensorRT?

@xiaochus I used this contianer: https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel_19-05.html#rel_19-05

@FamousDirector I did not use docker image, i build it in my own environment. CUDA 9.0, cudnn 7.5 and Pytorch 1.0.

Is using ONNX the only way to convert to tensorRT? I am trying to use torch2trt to convert EfficientNet and its throwing _trt attribute error. Any idea how to solve this?

@xiaochus  i use tensorrt version <IP_ADDRESS>, error Unsupported ONNX data type: INT64 (7)
[TensorRT] ERROR: Parameter check failed at: ../builder/Layers.cpp::ConstantLayer::1585, condition: weights.type == DataType::kFLOAT || weights.type == DataType::kHALF || weights.type == DataType::kINT32
[TensorRT] ERROR: Network must have at least one output

I think that it's just because of the constant MAX_KERNEL_DIMS_PRODUCT limitation. When intput resolution is too large, GAP kernel size product is larger than MAX_KERNEL_DIMS_PRODUCT.