Feature request: scoring

Hello, community.
I am an old user of AL3 in an offline environment. Lately, I've deployed a new cluster of AL4 and started testing it. One of the major drawbacks of the UI I observed is that the score is no longer present in the submission(s) pages beside each file (only when hovering over it).
It would be very helpful if the feature of showing the score next to each file would be added, even as an optional parameter in the UI management interface.
Thanks in advance.

Can this feature be optionally available in the next versions?
In organizations scoring based on YARA rules, the cumulative score has meaning. By available I mean there would be a tick box that enables this feature on and off in the UI. It would be very helpful for me and for some other users as far as I know.
thanks.

Can this feature be optionally available in the next versions? In organizations scoring based on YARA rules, the cumulative score has meaning. By available I mean there would be a tick box that enables this feature on and off in the UI. It would be very helpful for me and for some other users as far as I know. thanks.

I was browsing the issues to see if anyone had previously asked to add this optional feature.
I'm also an old user since AL3 and our team would really appreciate this feature ASAP.
Thanks for understanding!


enough

Is your request related to a problem? Please describe.
A clear and concise description of what the problem is and the results it had on the environment.
Describe The Request
A clear and concise description of the feature to add to a current tool or a new tool with what we all want to be checking with examples.
Additional context
Add any other context or screenshots about the feature request here.

closing to due to lack of information.


syslog ng is crashing

This is just a virtual box vm. @lattera maybe you want to be aware of it.

Haven't seen this anymore. Closing...


Fixed format of Notification code according to PEP8, and add a Notification processor

Looks good. just one comment, please address that one, then we merge this one. thanks.


What should philanthropy newsletter widget do?

We currently have a widget in the sidebar to subscribe to the philanthropy newsletter.  This doesn't actually do anything though.
@OscarSiba what should this widget do?

This newsletter was discontinued @maneesha. But I guess the subscribe widget would have linked to this?

@OscarSiba Thanks for letting me know this was discontinued. Should this widget do something else?  It could be a link to our general newsletter page, or it could be a link to something else.

Ok, please link it to our newsletter. Thanks @maneesha.

Thanks.  Let's make it link direclty to the newsletter page (instead of a form action).

@maneesha Is this something you want us to get in place? If so, assuming you want to have the title and the link managed outside of the theme?

If we can remove this from being about the newsletter and make it instead any text and link, that would be great.  If that's the case, we should be sure to rename the widget.
If it needs to be static content, then it should say "Subscribe to our newsletter" and link to /about-us/newsletter/

This has been simplified to just a be a button pointing to /about-us/newsletter

Looks good.


Controller config alters the citizen config for all subsequent controllers in the chain

Since it's a controller config, it should probably only alter the config for that specific controller.
Consider adding a global controller config to handle this case.

global config object changes the config for all subsequent controllers in the chain
controller config object changes the config for only the controller itself
Action config object (named after the specific action, handler for example) changes the config for only that action within that controller

Rather than complicate controller configs further, I simply added a config reset for each include controller and prior to controller handoff. Controllers will remain sandboxed instead of passing custom controller configs down the route chain to subsequent controllers.


MenuItem (Radio) is not allocated in GroupManager property on first appearance.

Describe the bug
As described in title.
To Reproduce
Add below code in sandbox and click on third menu item. You will see both 1 and 3 are checked.
  <Button Content="Hello World">
    <Button.Flyout>
      <MenuFlyout>
        <MenuItem Header="A" IsChecked="True" ToggleType="Radio" GroupName="A"/>
        <MenuItem Header="B" ToggleType="Radio" GroupName="A"/>
        <MenuItem Header="C" ToggleType="Radio" GroupName="A"/>
      </MenuFlyout>
    </Button.Flyout>
  </Button>

Expected behavior
Only third is checked.
Avalonia version
latest master
OS
Windows
Additional context
Actually this is a test case covered in unit test https://github.com/AvaloniaUI/Avalonia/blob/ed0cc758e4c1bae1938fbfed738b254627977a59/tests/Avalonia.Controls.UnitTests/MenuItemTests.cs#L485-L523
But unfortunately, there is a difference between headless platform and actual running app.
In headless test app, after MenuFlyoutPresenter attached to logical tree, the three menu items are already LogicalChildren of the MenuFlyoutPresenter, but actually no, which leads to the failure of adding them to radio groups.
https://github.com/AvaloniaUI/Avalonia/blob/ed0cc758e4c1bae1938fbfed738b254627977a59/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs#L628-L640

In fact, there is a very generic issue, developers do not have any clue when are ItemsControl's items materialized inside PanelRoot.


Reapply "Ensure REPL arguments are processed by the ArgsResolver"

This reverts commit e807fdcbd5add1ba41b8e6d9800da248d7556f69.
It also brings back [Job.ArgTemplate].joinedArguments as a deprecated property forwarding to the renamed joinedUnresolvedArguments, to avoid breaking SwiftPM.

@swift-ci please test


All the python work for 666, 615, 719

Codecov Report

Merging #732 (530490b) into main (0793137) will increase coverage by 38.96%.
The diff coverage is 79.84%.

@@             Coverage Diff             @@
##             main     #732       +/-   ##
===========================================
+ Coverage   42.13%   81.09%   +38.96%
===========================================
  Files          13       26       +13
  Lines         750     1582      +832
===========================================
+ Hits          316     1283      +967
+ Misses        376      299       -77
+ Partials       58        0       -58

Impacted Files
Coverage Δ

python/trinsic/template_service.py
94.44% <ø> (ø)

python/trinsic/trinsic_service.py
0.00% <0.00%> (ø)

python/trinsic/trustregistry_service.py
92.85% <ø> (ø)

python/trinsic/account_service.py
90.56% <62.50%> (ø)

python/trinsic/provider_service.py
77.41% <66.66%> (ø)

...rinsic/proto/services/trustregistry/v1/__init__.py
77.39% <71.42%> (ø)

...nsic/proto/services/universalwallet/v1/__init__.py
73.52% <90.47%> (ø)

...roto/services/verifiablecredentials/v1/__init__.py
77.12% <93.75%> (ø)

...ces/verifiablecredentials/templates/v1/__init__.py
84.41% <94.28%> (ø)

...thon/trinsic/proto/services/account/v1/__init__.py
80.52% <95.34%> (ø)

... and 44 more

Continue to review full report at Codecov.

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


Generate Thumbs

With the talk of including MPV as an internal player, it occurred to me we can easily generate our own thumbs rather than using the TVDb or something. This way, we won't eat bandwidth (I don't really care. I have fiber), but more importantly, we will never have missing or incorrect thumbnails. Cough OVAs Cough

Well, actually, the Thumb generation should be in the server, there is
already a wrapper around ffmpeg that MediaPortal uses, but we need to
include ffmpeg in the distribution.
On Wed, Aug 17, 2016 at 4:19 AM, da3dsoul<EMAIL_ADDRESS>wrote:

With the talk of including MPV as an internal player, it occurred to me we
can easily generate our own thumbs rather than using the TVDb or something.
This way, we won't eat bandwidth (I don't really care. I have fiber), but
more importantly, we will never have missing or incorrect thumbnails.
Cough OVAs Cough
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/jmmserver/issues/373, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABHDba9H8ed7_WKPGtrEJ_87qRJB_Abgks5qgrYOgaJpZM4JmKaX
.

Right mpv is in desktop, I spaced that. Anyway, I think it'd be cool if we could use a web cache to store timestamps of screenshots. Then you could sync and generate a thumbnail that is not a spoiler for one and actually has something in it for two. Thumbnails based on percent or exact timing sometimes ends up with nothing there.

Even better if TvDB provides the timestamp for theirs, but doubtful


Calling custom extensions using trainer

I have a custom extension that changes the learning rate after a certain number of epochs.
This extension is called via a lambda function in the trainer 'observe value' extension, as shown below:
trainer.extend(extensions.observe_value('lr', lambda _: lr_shift()), trigger=(150, 'epoch'))
I am wondering if this extension should be called by a single work or by all the workers?
e.g. should it be..
if comm.rank == 0:              trainer.extend(extensions.observe_value('lr', lambda _: lr_shift()), trigger=(150, 'epoch'))
`
Thanks

Call it from all workers, please.


fix(table): 表格宽度计算函数添加注释

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[x] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

#1284
💡 需求背景和解决方案

添加注释

📝 更新日志

fix(table): 宽度计算函数添加注释

[x] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[x] 文档已补充或无须补充
[x] 代码演示已提供或无须提供
[x] TypeScript 定义已补充或无须补充
[x] Changelog 已提供或无须提供

Codecov Report

Merging #1286 (34166bd) into develop (b249875) will decrease coverage by 0.02%.
The diff coverage is 49.24%.

@@             Coverage Diff             @@
##           develop    #1286      +/-   ##
===========================================
- Coverage    59.73%   59.71%   -0.03%
===========================================
  Files         1007     1007
  Lines        17661    17758      +97
  Branches      4032     4067      +35
===========================================
+ Hits         10550    10604      +54
- Misses        7111     7154      +43

Impacted Files
Coverage Δ

src/cascader/Cascader.tsx
57.89% <0.00%> (ø)

src/table/THead.tsx
92.85% <0.00%> (-2.27%)
:arrow_down:

src/table/_example/affix.jsx
95.74% <ø> (ø)

src/table/hooks/useColumnResize.tsx
31.25% <44.70%> (+16.75%)
:arrow_up:

src/table/hooks/useFixed.ts
43.52% <57.14%> (+2.94%)
:arrow_up:

src/table/BaseTable.tsx
77.77% <91.66%> (+0.09%)
:arrow_up:

src/table/TFoot.tsx
82.85% <0.00%> (+2.85%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Improved[Test][Connector-v2][Hive] Add Hive3 E2E test case

Purpose of this pull request

Resolve #7474
Does this PR introduce any user-facing change?
NO

How was this patch tested?
NO

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

@Hisoka-X
I'm working on #7474, but  a connection of Hive JDBC driver couldn't connect to a container of Hive Server 2 by a Connection Refused on my Mac , I think it caused by a network issue.
Could you give me any advices for this?
Test Scenarios are

Creates a HMS standalone container, and after it's created, create a HiveServer container for creating tables for E2E tests
Create tables for E2E by Hive JDBC Driver (It's simple way)
Run E2E test

It looks like hiveserver2 did not start properly. I'll try it on an x86 machine.

It resolved by #8003
Thanks @zhangshenghang


/MITREATT&CK/Workbooks/

The MITRE ATT&CK Cloud Matrix Workbook provides an automated visualization of MITRE ATT&CK principles cross walked to Microsoft security offerings. Threat Modeling isn’t just an annual requirement, and organizations must monitor configurations over time like a muscle. This workbook leverages the full breadth of Microsoft security offerings across Azure, Office 365, Teams, Intune, Windows Virtual Desktop, and many more. This workbook enables SecOps Analysts, Assessors, Security & Compliance Decision Makers, and MSSPs to gain situational awareness for cloud workloads' security posture. The workbook features 45+ technique cards aligned to 11 MITRE ATT&CK Cloud Matrix tactics with selectable GUI buttons for navigation. This workbook is designed to augment staffing through automation, artificial intelligence, machine learning, query/alerting generation, visualizations, tailored recommendations, and respective documentation references.
Fixes #
Proposed Changes

Workbook file should be placed under Solutions -->  --> Workbooks path.
Please refer any existing solution here

Are you able to provide DEV support for rollout of this solution?
From: v-rucdu @.>
Sent: Wednesday, July 14, 2021 3:53 PM
To: Azure/Azure-Sentinel @.>
Cc: TJ Banasik @.>; Author @.>
Subject: Re: [Azure/Azure-Sentinel] /MITREATT&CK/Workbooks/ (#2661)
Workbook file should be placed under Solutions --> --> Workbooks path.
Please refer any existing solution herehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel%2Ftree%2Fmaster%2FSolutions&data=04|01|Thomas.Banasik%40microsoft.com|064d59a655bb4e5af50108d9470105b6|72f988bf86f141af91ab2d7cd011db47|1|0|637618891997568502|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=P0seVb3WIyvFH3rp6ntj9u2KLOf2Ty2t4kK73RaWNrk%3D&reserved=0

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel%2Fpull%2F2661%23issuecomment-880165734&data=04|01|Thomas.Banasik%40microsoft.com|064d59a655bb4e5af50108d9470105b6|72f988bf86f141af91ab2d7cd011db47|1|0|637618891997578499|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7O5lAuEcgFl8rlQxXfW14vUMB%2FVUVwpislsyVoKJic8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAM6PREXGRT6KI7AEV6Z2TK3TXXTKZANCNFSM5AG7RT5A&data=04|01|Thomas.Banasik%40microsoft.com|064d59a655bb4e5af50108d9470105b6|72f988bf86f141af91ab2d7cd011db47|1|0|637618891997578499|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NRedTeRanICBmRO4ek9hJQNOlNUTx7fzpFxrHuh5lOk%3D&reserved=0.

Please provide atleast 1-1 preview image for white and dark themes each.  File names must have White and Black words.
Please refer Preview images here for file path and Naming convention

Workbook file should be placed under Solutions --> --> Workbooks path.
Please refer any existing solution here

Please ignore as this is a community contribution it does not need to be part of solutions folder.
Thanks!!

For deploying any workbook its entry needs to be added in WorkbooksMetadata.json.
Please refer instructions to understand more on how to add a new workbook.


Clipboard shortcuts do not work on Linux

Describe the bug
CTRL+C / CTRL+V do not work on Linux.
Neither do CTRL+SHIFT+C / CTRL+SHIFT+V.
Neither do ALT+C / ALT+V (ie. ⌘+C / ⌘+V).
Right click "copy" / "paste" do work.
To Reproduce
Steps to reproduce the behavior:

Copy some text in the clipboard
Switch to Waveterm
Type CTRL+V : nothing happens
Type CTRL+SHIFT+V : nothing happens
Type ⌘+V : nothing happens
Right click + select "Paste" : Et voilà ! (it works)

Expected behavior
Some shortcut should work.
Screenshots
N/A
Desktop (please complete the following information):

OS: Ubuntu 23.10
Version v0.5.3 (20231227-055038)
BÉPO keyboard layout

Additional context
N/A

thanks for submitting! are you tried to copy/paste into the input box or into a running terminal window (a running command)?
for the input box, cmd-v and cmd-c should work.  for the terminal windows shift-ctrl-v and shift-ctrl-c should work.
note that these are MacOS keybindings.  For Linux, "cmd" is bound to "super" (the windows button on windows keyboards).  in the future we hope to change the linux keybindings so that "cmd" will map to "ctrl" or "alt", but unfortunately today it is mapped to "super".

same underlying problem as #205

I think this may be fixed with the last round of keybinding fixes that went out with the v0.6.x builds.  But, to be safe I'll mark this as v0.7.1 for when we introduce the new keybind manager.


Add support for subkeys

Wishlist:

[x] Create Subkey
[x] Read Subkey
[x] List Subkeys
[x] Update Subkey Configuration
[x] Revoke Subkey
[x] Delete Subkey
[x] Sign Data with Subkey

Fixed with #7, #8, #9


src/port-mirroring.c:514: warning: comparison between signed and unsigned integer expressions

https://github.com/mmaraya/port-mirroring/blob/8ac5075e976e73dbb88c9a98d6c0d43958864ec2/src/port-mirroring.c#L514
src/port-mirroring.c: In function 'getSenderInterface':
src/port-mirroring.c:514:122: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (; NLMSG_OK(nlMsg, len); nlMsg = NLMSG_NEXT(nlMsg, len)) {
                                                                                ^

NLMSG_OK from netlink expands to:
 87 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
 88                            (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
 89                            (nlh)->nlmsg_len <= (len))

The netlink macro NLMSG_OK produces the error by comparing an unsigned uint32_t with a signed ssize_t. Rewrote the NLMSG_OK macro into a function in 70bd14901267f7c2dc3af2ce73d3fcd053d6fb50 and type casted one of the operands.


build fix

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

What exactly does it fix?

build fails when trying to use SettingsChanges::changes()  due to ctor deduction failure

What build exactly and for what reason?
We have build check in CI and all supported builds have passed: https://clickhouse-builds.s3.yandex.net/6509/c52a34fd15bc834ab40c8ef91ee281a89d58e2b3/report.html

The build check is passed because this function is not called in ClickHouse. Build the following example with g++-8 will encounter the error.
#include <iostream>
#include <vector>

using namespace std;

using String = std::string;

struct SettingChange {
    String name;
    int value;
};

using SettingsChanges = std::vector<SettingChange>;

int main() {
    String name= "test";
    int value = 0;
    SettingsChanges found_changes;
    found_changes.emplace_back(name, value);
    return 0;
}

Error:
/usr/local/Cellar/gcc@8/8.3.0/include/c++/8.3.0/ext/new_allocator.h:136:4: error: no matching function for call to 'SettingChange::SettingChange(std::__cxx11::basic_string<char>&, int&)'
  { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.cpp:8:8: note: candidate: 'SettingChange::SettingChange()'

Thank you!


Enable python bindings for count_cells

Hi,
There is a high demand for python bindings to the count_cell_function. In order to enable it, I suggest we allow it to return the array of cell_count by dimension.
Please let me know if that solution is fine with you.

Thanks! 🎉


Support support for last Laravel version

An attempt was made to install the package but it has Laravel version limits.
Could you update it to work with the latest versions?
I sent you a PR.
regards

@kattatzu @MrTheSoulz thank you for your contribution, this has been merged!

The change has been merged but it still doesn't work for me :(
Problem 1
    - Installation request for betapeak/laravel-godaddy ^1.0 -> satisfiable by betapeak/laravel-godaddy[1.0.0].
    - Conclusion: remove laravel/framework v5.8.30
    - Conclusion: don't install laravel/framework v5.8.30
    - betapeak/laravel-godaddy 1.0.0 requires illuminate/support ~5.3.0|~5.4.0|~5.5.0 -> satisfiable by laravel/framework[5.3.x-dev, 5.4.x-dev, 5.5.x-dev], illuminate/support[5.3.x-dev, 5.4.x-dev, 5.5.x-dev, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
    - Can only install one of: laravel/framework[5.5.x-dev, v5.8.30].
    - Can only install one of: laravel/framework[5.3.x-dev, v5.8.30].
    - Can only install one of: laravel/framework[5.4.x-dev, v5.8.30].
    - don't install illuminate/support 5.5.x-dev|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.0|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.16|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.17|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.2|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.28|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.33|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.34|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.35|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.36|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.37|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.39|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.40|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.41|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.43|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.5.44|don't install laravel/framework v5.8.30
    - don't install illuminate/support 5.3.x-dev|don't install laravel/framework v5.8.30
    - don't install illuminate/support 5.4.x-dev|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.3.0|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.3.16|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.3.23|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.3.4|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.0|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.13|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.17|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.19|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.27|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.36|don't install laravel/framework v5.8.30
    - don't install illuminate/support v5.4.9|don't install laravel/framework v5.8.30
    - Installation request for laravel/framework (locked at v5.8.30, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.30].

@tecreasey fair point, I've just tagged version 1.0.1, you can update that and it should work.


BugFix for: #2011

BugFix for: Unable to provide different values of spring.config.import.configserver since 2020.0.4 #2011

@sean-che Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@sean-che Thank you for signing the Contributor License Agreement!


Very fast perfomance degradation and app crash when using 6.1.6 osmdroid

Fast perfomance degradation and total application crash after moving, zoom in zoom out map.
Issue Type
[ ] Question
[x] Bug
[ ] Improvement
[ ] Build system related
[x] Performance
[ ] Documentation
Description and/or steps/code to reproduce the problem
I have a map with some polylines and markers on it. Use default "mapnik".
At each map move and/or zoom - I add new polylines and markers and remove objects that outside the map screen bounds (pls. see screen1).
For reproducing the problem: after application is openned, just enough to move or zoom in/out the map about 1-2 minutes. At each moving the application are freezing more and more.
After abbout 5 minutes - application totally crashes (pls. see screen2)
Log with crash info is log_6_1_0. In this log has some errors:

E/OsmDroid: Error loading tile
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack trace available
Waiting for a blocking GC Alloc

and etc.
Which version osmdroid:

The problem occure if I use osmdroid 6.1.0. (pls. see log_6_1_0)
If I use the same map but 6.0.2 osmdroid version - everything is Ok. I can move/zoom the map very long time (pls. see log_6_0_2)

log_6_1_0.txt
log_6_0_2.txt
Stack trace of app crash, from error log is below:
...
at java.lang.Throwable.nativeFillInStackTrace(Native method)
at java.lang.Throwable.fillInStackTrace(Throwable.java:775)
at java.lang.Throwable.(Throwable.java:258)
at java.lang.Error.(Error.java:70)
at java.lang.VirtualMachineError.(VirtualMachineError.java:53)
at java.lang.OutOfMemoryError.(OutOfMemoryError.java:58)
at java.util.Arrays.copyOf(Arrays.java:3260)
at com.android.internal.util.LineBreakBufferedWriter.ensureCapacity(LineBreakBufferedWriter.java:266)
at com.android.internal.util.LineBreakBufferedWriter.appendToBuffer(LineBreakBufferedWriter.java:249)
at com.android.internal.util.LineBreakBufferedWriter.write(LineBreakBufferedWriter.java:215)
at java.io.PrintWriter.write(PrintWriter.java:473)
at java.io.PrintWriter.print(PrintWriter.java:603)
at java.io.PrintWriter.println(PrintWriter.java:756)
at java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:756)
at java.lang.Throwable.printStackTrace(Throwable.java:651)
at java.lang.Throwable.printStackTrace(Throwable.java:713)
at android.util.Log.printlns(Log.java:422)
at android.util.Log.e(Log.java:251)
at org.osmdroid.tileprovider.modules.MapTileSqlCacheProvider$TileLoader.loadTile(MapTileSqlCacheProvider.java:176)
at org.osmdroid.tileprovider.modules.MapTileApproximater.approximateTileFromLowerZoom(MapTileApproximater.java:183)
at org.osmdroid.tileprovider.modules.MapTileApproximater.approximateTileFromLowerZoom(MapTileApproximater.java:149)
at org.osmdroid.tileprovider.modules.MapTileApproximater.approximateTileFromLowerZoom(MapTileApproximater.java:131)
at org.osmdroid.tileprovider.modules.MapTileApproximater$TileLoader.loadTile(MapTileApproximater.java:112)
at org.osmdroid.tileprovider.modules.MapTileModuleProviderBase$TileLoader.run(MapTileModuleProviderBase.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Environment
If it's a bug, version(s) of android this affects:
Android 9.0
Android 10.0
Version of osmdroid the issue relates to:
6.1.0
6.1.6

@panovvitalik Could be related to #1299 (which maybe solves it) and #1383 (which may be a similar issue).
Do you by any chance use MyLocationNewOverlay or something like that?
What if you don't create/display the Polylines and Markers: do you still have this issue?

@monsieurtanuki
I dont use MyLocationNewOverlay or something like...
If I don't create Polylines and Markers - everything is fine, on empty map: No Issue.
If I create only! Polylines: I have the Issue
If I create only! Markers: I have the Issue

@panovvitalik Then it looks like the issue is related to Markers, Polylines or just Overlays in general, not really to zooms. Or it's a memory usage side-effect.
That being said:

if you remove Markers for performance reasons, that may be a wrong idea. When drawing, we loop on all Markers (of course), check if the Marker is likely to be on the screen (short test with coordinates and icon dimensions), and we display it (the more time-consuming step) only if it is on screen. Could you try your app without Polylines at all while always keeping all Markers?
as a side effect, as your log displays the name of class MapTileApproximater, maybe the problem lies in the MapTileProviderArray you're using. I suggest that you try that:

map.getTileProvider().getTileCache().getProtectedTileComputers().clear();
map.getTileProvider().getTileCache().setAutoEnsureCapacity(false);

I have tested the same scenario at 6.1.6 version. The same issue exists.
But before the App crashed now I have following additional error messages in the error log:
(may be this info will be usefull...)
E/OsmDroid: Error loading tile     android.database.sqlite.SQLiteException: unknown error (code 0 SQLITE_OK): Native could not create new byte[]         at android.database.CursorWindow.nativeGetBlob(Native Method)         at android.database.CursorWindow.getBlob(CursorWindow.java:434)         at android.database.AbstractWindowedCursor.getBlob(AbstractWindowedCursor.java:47)         at org.osmdroid.tileprovider.modules.SqlTileWriter.loadTile(SqlTileWriter.java:614)         at org.osmdroid.tileprovider.modules.MapTileSqlCacheProvider$TileLoader.loadTile(MapTileSqlCacheProvider.java:163)         at org.osmdroid.tileprovider.modules.MapTileModuleProviderBase$TileLoader.loadTileIfReachable(MapTileModuleProviderBase.java:214)         at org.osmdroid.tileprovider.MapTilePreCache.search(MapTilePreCache.java:125)         at org.osmdroid.tileprovider.MapTilePreCache.access$100(MapTilePreCache.java:30)         at org.osmdroid.tileprovider.MapTilePreCache$1.run(MapTilePreCache.java:41)         at org.osmdroid.util.GarbageCollector$1.run(GarbageCollector.java:31)         at java.lang.Thread.run(Thread.java:919)
E/AndroidRuntime: FATAL EXCEPTION: FinalizerWatchdogDaemon     Process: vitalypanov.phototracker.pro, PID: 23912     java.util.concurrent.TimeoutException: com.android.internal.os.BinderInternal$GcWatcher.finalize() timed out after 10 seconds         at com.android.internal.os.BinderInternal$GcWatcher.finalize(BinderInternal.java:63)         at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:289)         at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:276)         at java.lang.Daemons$Daemon.run(Daemons.java:137)         at java.lang.Thread.run(Thread.java:919)
So I have to stay with 6.0.2 version again (

You could try leak detector leakcanary and/or Android Studio profiler (where you can see the memory pile grow as you keep on doing some stuff such as not closing files or spinning threads...).

@pasniak
What info do you want to see from profiler which helps to resolve the issue? Memory growing graph or what?

As you see the "memory growing" graph, you can click on it (assuming Allocation tracking is on) and see what is being allocated. The mountain should grow and Allocations/Shallow size columns will tell you Instances that keep being allocated and, most importantly the stacks at allocations.
As the lib's user (multiple layers), I am pretty much on #master branch and it works fine on bunch of real devices, emu etc... I hit 227MB total and 300MB if zoom in/out at region scale...
Maybe check (set to null) infowindows attached to the elements you create?

@panovvitalik Did you try what I recommended on https://github.com/osmdroid/osmdroid/issues/1389#issuecomment-526809415?

@pasniak  @monsieurtanuki
Thank you for the help. I think I have resolved the issue.
The problem was in infowindows attached to markers.
I have custom info windows for each marker on map. These info windows have specific custom layouts
(with some textviews and imageviews)
I attached these views to my markers with code below:
Marker marker = new DistanceMarker(mapView);
MarkerInfoWindow infoWindow = new MarkerInfoWindow(R.layout.marker_track_openstreet, mapView);
marker.setInfoWindow(infoWindow);

THIS WAS THE ISSUE. And this was a reason of memory leaks.
When I run a profiler (@pasniak thank you for your advice again) I see a lot of AppCompatTextView and AppCompatImageView objects which are not freed.
It because of  dialog info window are сreated in the contructor of the Marker object (Layout inflater run inside contructor), not when I click on a marker and force to show info indow on screen. This behavior is very unexpected for me!
So I had too much created dialog windows with images and texts as I have markers on the map. This was a disaster for the memory.
The solution is:
Remove all marker.setInfoWindow calls and replace them with: OnMarkerClickListener and custom run of infoWindow.open(). Please see code below:
marker.setOnMarkerClickListener(new Marker.OnMarkerClickListener() {
                        @Override
                        public boolean onMarkerClick(Marker marker, MapView mapView) {
                            MarkerInfoWindow infoWindow = new MarkerInfoWindow(R.layout.marker_track_openstreet, mapView);
                            infoWindow.open(marker, marker.getPosition(), 0, 0);
                            return false;
                        }
                    });

So in this solution the dialog are created only when I tap on the selected marker - and this only one! dialog I need at the moment. The amount of RAM used has decreased significantly!
I have tested new code with 6.1.8 version.
I think the issue can be closed

@panovvitalik I'm glad you solved your issue.
That being said, we should detach the info window when we detach the marker in order to leave a clean memory.
And I also like your solution that constructs the info window just in time.

Can you tell me how to draw 1000 tags and still keep the program flowing

@xfeng-github What do you mean with "tags"? Opened InfoWindows? Or custom labels?


NG Build -prod not compiling Bootstrap

Versions
Angular CLI: 1.5.0
Node: 8.9.3
OS: darwin x64
Angular: 5.1.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.5.0
@angular-devkit/build-optimizer: 0.0.35
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.41
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.10
@schematics/schematics: 0.0.10
typescript: 2.4.2
webpack: 3.8.1
<!--
Output from: `ng --version`.
If nothing, output from: `node --version` and `npm --version`.
  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
-->

Repro steps

I Have a project with bootstrap 4 alpha-6 and fonts-awesome
Have this two extensions defined on my .angular-cli.json
"styles": [
"styles.css",
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../node_modules/font-awesome/css/font-awesome.css"
],
Observed behavior
<!-- Normally this includes a stack trace and some more information. -->

When i do ng build -prod
my dist come without bootstrap and fonts awesome
Desired behavior

The boostrap need to be compiled with my project
Mention any other details that might be useful (optional)
If i use ng build -prod --aot=false, i receive a error
Uncaught Error: Unexpected value 'e' imported by the module 'e'. Please add a @NgModule annotation.
at u (main.13992d0797794439eefc.bundle.js:1)
at main.13992d0797794439eefc.bundle.js:1
at Array.forEach ()
at e.getNgModuleMetadata (main.13992d0797794439eefc.bundle.js:1)
at e._loadModules (main.13992d0797794439eefc.bundle.js:1)
at e._compileModuleAndComponents (main.13992d0797794439eefc.bundle.js:1)
at e.compileModuleAsync (main.13992d0797794439eefc.bundle.js:1)
at e.compileModuleAsync (main.13992d0797794439eefc.bundle.js:1)
at e.LMZF.e.bootstrapModule (main.13992d0797794439eefc.bundle.js:1)
at Object.cDNt (main.13992d0797794439eefc.bundle.js:1)

The CLI has been updated significantly since version 1.5.0.  The current stable version is 8.3.5.  If this problem is still being encountered with the current version, please consider opening a new issue with updated details.


IE9 and Popups?

Is there any reason this wouldn't work in IE9 using popups? I havent generated a standalone example of it not working yet, but I can't seem to make it work in IE9 using a popup (not an iframe) for some reason.

We've experienced this kind of problem in a few browsers (IE9 among them). These browsers don't let a page communicate with a popup on a different domain. We solved this by creating a hidden iframe on the same domain as the popup which we use as an intermediary.
So rather than this:
top-level page ➡ popup

We do this:
top-level page ➡ intermediate frame ➡ popup

This isn't really an issue with Framebus so we're closing this, but good to know that we're not the only ones who've seen this weird behavior!

Ah brilliant, that makes sense. I'll see if this indeed helps.

FYI as far as I can see this doesn't work. I have tried to make a minimal demo but it's not really working.

Main page
+------------------------------------------+
| http://example.com                       |
|  +-------------------------------------+ |
|  | Intermediary page                   | |
|  | window.name=intermediary_frame      | |
|  |                                     | |
|  | http://popup.domain.com/bridge.html | |
|  +-------------------------------------+ |
+------------------------------------------+

Popup
+------------------------------------+
| http://popup.domain.com/popup.html |
+------------------------------------+

The Popup can access global variables on the Intermediary frame as long as they share the same origin through
window.opener.frames['intermediary_frame']

Keep in mind that not all browsers allow code execution across frames, such as invoking a function from another window (such as Metro-mode IE browsers). But reading variable data is fine.
The Main page and Intermediary frame can communicate through traditional postMessage for any setup and global values.
We successfully use this pattern as a complement to framebus for popup messaging support in IE8 and IE9.
Hope this helps to clarify things!


Scraper randomly cuts off and miss records

I am currently trying to scrape jobs from the below link each day. There should be around 700 jobs per day and below is the link I use to check the results.
Data Engineer in Canada
Here is my query parameter set up. I am using auth session with  max_workers=1,  slow_mo=0.5.
Query(
query='Data Engineer',
options=QueryOptions(
locations=['Canada'],
optimize=True,
apply_link = True,  # Try to extract apply link (slower because it needs to open a new tab for each job). Default to false
limit=1000, # Most days the posting number is around 700.
filters=QueryFilters(
relevance=RelevanceFilters.RECENT,
time=TimeFilters.DAY,
)
)
)
The scraper will stop around 100-200 mark and with below errors
[ON_ERROR] Message: javascript error: Cannot read properties of undefined (reading 'querySelector')
(Session info: headless chrome=100.0.4896.127)
After a bit it will just say there are no more jobs

Hi, thanks for the feedback!
Please can you try again with the latest version? I have tried to improve the stability of apply_link extraction logic. Please also mind to set optimize option to false since it could cause instability on dynamic jobs loading. This is the code I have used:
import logging
from linkedin_jobs_scraper import LinkedinScraper
from linkedin_jobs_scraper.events import Events, EventData
from linkedin_jobs_scraper.query import Query, QueryOptions, QueryFilters
from linkedin_jobs_scraper.filters import RelevanceFilters, TimeFilters

logging.basicConfig(level=logging.INFO)

scraper = LinkedinScraper(
    # chrome_executable_path=None,
    # chrome_options=None,
    headless=True,
    max_workers=1,
    slow_mo=0.5,
    page_load_timeout=20,
)

def on_data(data: EventData):
    print('\t', data.job_id, data.apply_link)

# scraper.on(Events.DATA, on_data)

query1 = Query(
    query='Data Engineer',
    options=QueryOptions(
        locations=['Canada'],
        optimize=False,  # <--- Set this to false
        apply_link=True,
        limit=1000,  # Most days the posting number is around 700.
        filters=QueryFilters(
            relevance=RelevanceFilters.RECENT,
            time=TimeFilters.DAY,
        )
    )
)

scraper.run([query1])

This is the result:

python v3.9.12
ChromeDriver 102.0.5005.61


Match early vote and day-of polling locations based solely on address

Please see the image below. There is an early vote and polling location at the same address, however, the names are different. Because we can't always control the names submitted, can we merge the icons if they have the same address?
*FYI this is staging data

I wanted to follow up on the bug Jen identified here, because I'm noticing another interesting behavior around this:
The City of Cave Creek, Arizona (Sample address: 5936 E Chuckwalla Trail, Cave Creek, AZ 85331) has a polling location and an early vote location at 37622 N. Cave Creek Road.
In the data, the Polling Location is named: CAVE CREEK TOWN HALL - ALL MAIL REPLACEMENT SITE ONLY
The early vote site is named: Cave Creek Town Clerk's Office
When I look up the voter address, the name and hours text for the polling location are shown, but with the red bubble indicating an early vote site.  This is especially problematic, since the hours for early voting are different than the hours displayed, which are for election day only.

Another item to be aware of is that when a location is "both," as indicated by the green marker, we'll want to display hours and dates for early voting, as well as day-of hours.

This is likely because the tool is having trouble matching the two
locations because of their different titles, etc., and so placing two
markers on the map in the same location--the early voting site marker
hiding the polling location marker. I believe we match based on address and
title but for this we may need to match based only on address.
Alex Konrad
On Tue, Feb 24, 2015 at 12:28 PM, Jen<EMAIL_ADDRESS>wrote:

Another item to be aware of is that when a location is "both," as
indicated by the green marker, we'll want to display hours and dates for
early voting, as well as day-of hours.
—
Reply to this email directly or view it on GitHub
https://github.com/votinginfoproject/vip-embeddable-tool/issues/108#issuecomment-75802581
.

@alexkonrad @MariaDemocracyWorks @jen-tolentino Is it worth investigating redesigning the layout of the info box for locations that serve as both early vote sites and polling locations, especially considering the title and ancillary information may be different/varied?

It seems like we'll need to do something like that, since displaying the polling place hours for the early vote site is going to be misleading to voters. (You can early vote in Cave Creek today, but not at 6:00am, as the current display in the tool is suggesting.)

Another thing I'm noticing is that if I click anywhere on the map (other than the red markers) I get an information box with only the name and address of the polling location (but without the hours or "get directions" link).   Is that the intended behavior of the tool?

@alexkonrad in the interim, I think we should match solely on address, but we probably do need to think through and change how we display dates/times for early voting and day-off when they are the same location. What do you think?
We have election data right now, so it would be great to at least get an intermediate fix done soon.

Bump @alexkonrad
I would be great to get this address soon since the election is on Tuesday. Thanks!

I'll work on getting this fixed for this weekend. Let me know if there are
other addresses with this behavior in this upcoming election. Thanks!
Alex Konrad
On Thu, Mar 5, 2015 at 3:23 PM, Jen<EMAIL_ADDRESS>wrote:

Bump @alexkonrad https://github.com/alexkonrad
I would be great to get this address soon since the election is on
Tuesday. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/votinginfoproject/vip-embeddable-tool/issues/108#issuecomment-77444032
.


Ability to turn vsync off

Closes #256.
Turn vsync off when max_fps is high. This could also be a separate prop, but I suppose they sort of go hand in hand.

Maybe allow max_fps=0/False

Why can't the settings be independent?

Yeah ... better make it separate.


feat(scan): add Astro monitoring component

Add monitoring support for astro, usage:
// Layout.astro
---
import Monitoring from 'react-scan/monitoring/astro'
---

<Monitoring apiKey="" url="https://monitoring.react-scan.com/api/v1/ingest"/>

Okay tested it and it works :)
Last change I didn't already mention in the comments, can we make the Monitoring export from /monitor/astro a named export instead of default export just to stay consistent with the other framework exports

Updated, new way:
// Layout.astro
---
import { Monitoring } from 'react-scan/monitoring/astro'
---

<Monitoring apiKey="" url="https://monitoring.react-scan.com/api/v1/ingest"/>


Setup GitHub Actions, sbt-ci-release

sbt-ci-release (https://github.com/olafurpg/sbt-ci-release) is an sbt
plugin that helps with publishing to Sonatype from CI.
This commit also configures the CI to run on GitHub Actions instead of
Travis CI.

Both travis-ci.org and Bintray are being shut down. This commit moves away from both.
If this ends up being merged, this would publish a snapshot on every merge / push to master, and publish a new release when a tag is pushed. Some secrets would need to be added to the repo's configuration (instructions at https://github.com/olafurpg/sbt-ci-release), and you'd also need to ask for publishing rights to ch.jodersky.

@jodersky Bintray artifacts are no longer accessible.

Thank you so much for this PR! 💯


release 4.2.0

coverage: 98.784%. remained the same
when pulling 147e2758c5c71cbb0a763c435422d144aa013ed0 on isaacbrodsky:release-4.2.0
into 573ff1e7f313d468a1c6155a7f2a0961a3f0dc29 on uber:master.


typo: sevice -> service

@nschonni : Thanks for your contribution! The author, @smichelotti, has been notified to review your proposed change.

merging typo fixes


plase try to use semantic versions

something like v1.0.0
Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
sauce https://semver.org/

btw. the code looks great, I hope it will be useful but please don't use ssl thats another huge piece of software

Ok I'll try and change that with the next release. And yeah it's been pointed out about ssl but i don't know what else to use to abbreviate it right now still thinking! But i will also change as soon as I can :)

please re-create your first release in order to be constant.
what about tyss :question: Thomas Young Simple Shell ;) :exclamation:


Release in pypi

The latest release in pypi is 2.2.0, which is same as the source version.
but the code is not the same

I finally released a new version 2.3.0 to pypi. Really sorry for the late work.


Shader Error

Fresh new installation on Unity 2021.2 and 2021.3, shader has issues which prevents animations from working.

After doing some digging, it appears this has do to with the per hybrid instance option.
https://forum.unity.com/threads/shader-graph-shader-produces-strange-error-in-unity-2021-1-16f1.1149599/
Disabling it does make animations work for mono, and the characters do show for example 2 (ecs), however no animations.

It's not exactly an error, for anyone who came across this issue after Unity 2021.1.15, please enable Hybrid Renderer V2 by adding ENABLE_HYBRID_RENDERER_V2 in scripting define symbols. I will make a commit with changes to the readme.

Cool! I will have a look at the changes soon, maybe the package in general should be upgraded to a newer version.


decompctx.py: include pattern does not support comments

with the clangd addition, includes can be seen to have comments such as:
#include "my_file.h" // IWYU pragma: export

The current include_pattern regex in decompctx.py does not account for this.
A solution could be to allow any(non-capture?) characters until end of line after the pattern is met?

Fixed in 6d59f31a80a4e8b900e7558d4a2842fd14e054d1


Add dates/links for China OpenWhisk Academy events / videos / slides /transcripts

We completed the 1st session June 1st; its video is here (do not have transcript link):
http://v.youku.com/v_show/id_XMjc5OTkxNjE0MA==.html
I know Daisy has a whole series of sessions planned and we need to promote them as well

We REALLY need a means to submit (email/form requests) for submitting not only News, but also content, and requests for use of logo or to be added to Supporters page.

Perhaps add an invitation at the top of the Community page like:
News and Events
Please let us know if you have any news or events you would to share with the communoty and publisize.
Email us at: XXXX


bug: language cookie not set

Gitea version (or commit ref): 1.14.0+dev-615-gb2c20b68a
issue encountered on try.gitea.io
Can you reproduce this issue at try.gitea.io?

[x] Yes (provide example URL) just choose any random page at https://try.gitea.io (and clear your cookies before)

Description
The lang cookie is not set  at all.
This leads to the language always being the default, and the language changer at the bottom does not work at all (except for reloading the page).
However, the language cookie is loaded. (If you have the cookie stored from some past session and change it's value manually, the language changes as expected.)

Addition: at least in version 1.13.1 this bug did not exist.

Addition: at least in version 1.13.1 this bug did not exist.


Introduce task scope

Motivation
This introduces the idea of task scope, as a lower level construct which can be used instead of resources.
Currently, some base operations, such as spawn and label are based on resources, because resources are the only escape hatch allowing one to "expand the scope" as we like to say, or it can be seen as "inlining" an operation.
However this has presented a problem for us: we want resources to introduce a task which "groups" a resources tasks, which can be seen in the inspector. But adding this additional layer is incompatible with e.g. spawn being a resource.
Approach
This solves the problem by introducing the concept of task scope. Every task which is not a root task has a scope. Normally this scope is the parent task, but it does not necessarily have to be.
This scope is accessible to "inlining" operations such as spawn, and also indirectly to resources, since the newly introduce resourceTask is running inside the scope.
In this PR, there is no convenience added to access the scope for operations. Instead they must us task.options.scope to obtain the scope. This is also partly meant as "syntactic vinegar" since such operations probably should not be the norm.
Alternate Designs
We have explored many, many alternative designs to this approach, but crucially it is very difficult to find an approach which composes well, and that is the main advantage of the current system
Possible Drawbacks or Risks
We have seen with v0.1 of effection that using just a notion of parent does not compose well for building resource-like structures. This is why resources were introduced in the first place. There is some risk of repeating this mistake, but it is mitigated by the fact that we now have a solid resource system.
There are some complications with higher order operations. While this does prepare the way for making higher order operations such as all work better with resources, it is unclear what the exact semantics should be in the case of an error.
TODOs and Open Questions

[ ] how does this interact with higher order operations?
[ ] do we provide access to the resource task to a consumer of the resource? and if so, how?

This should allow us to avoid the double-spawn problem when using spawn itself. If we have this, then I wonder if we could use it for a, or an idea I had that if we could specify resources as two operations, both of which run inside a scope that is created for the resource. The "init" returns the value of the resource (as it does today) but then the "body" accepts the value and then runs potentially forever. The type sig would be roughly:
interface Resource<T> {
  init: Operation<T>;
  operation: (value: T) => Operation<void>;
}

This would be how you could write the server code that's clean to compose, but also easy to get right about defining your core group.
export function createServer(): Resource<Server> {
  return {
    *init() {
      let server = http.createServer();
      server.listen();
      if (!server.listening) {
        let error = yield race([
          once(server, 'error'),
          once(server, 'listening')
        ]);
        if (error) {
          throw error;
        }
      }

      yield spawn(function* listenForServerErrors() {
        let error = yield once(server.http, 'error');
        throw error;
      });

      return {
        http,
        address: server.address() as AddressInfo
      };
    },
    operation: server => on(server, 'request').forEach(function*(request) {
      /// body of server
    }
  }
}

It occurs to me now, that if we had some way to compose operations within a single task, then we could do this without any special options. Let's say there was an enqueue() method that added an operation to a task. This would be almost equivalent of the then() method in Promise, except that it would allow you to chain multiple operations together inside the same task programatically.
task.run(resource.init || Future.resolve()).enqueue(value => resource.operation(value));

This would let you write spawn as a simple resource again:
// spawn is just a resource with no `init` operation
export function spawn<T>(operation: Operation<T>): Operation<Task<T>> {
  return { operation };
}

@cowboyd there are a few reasons I'm not a fan of splitting up init like this:

It is often the case that we want to have access to shared data between what happens in the init and what happens in the long running server. For example, imagine we are consuming a resource in init and want to use its value in the background. There is no real sensible way of "transferring" a value from init, especially a resource, to operation.
It restricts composition. Imagine in the example that you posted above that we would want to create an abstraction around http server and use it in your resource. How would this work? There isn't a good way to extend the lifetime of the http server that was created within init to the larger scope of operation. And like we mentioned last time, the idea of "moving" a resource or task somewhere else in the tree is unappealing, not least because of implementation concerns.
It reintroduces the really annoying problem we had in v1 where the resource task terminates prematurely.

Let's say there was an enqueue() method that added an operation to a task

I explored the idea of running operations "inline" inside of a task when working on v2. We had some idea of a task having a list of operations that it would iterate, and having the option to append operations to a task. I think this is roughly what you are suggesting here, right? Unfortunately this just fundamentally doesn't really mesh with the idea of having a task resolve to a single value. Otherwise enqueue is just the same as run, which is fine, but that still requires us to get a hold of the outer scope to run the operation. Otherwise we'll just be restricted to the scope of the yield point, which doesn't help us.
If you just see enqueue as a higher level operation, sort of like then on promise, then that might be a worthwhile addition, I've certainly wanted this from time to time (though quite rarely), but I don't think that in itself is powerful enough to solve this problem here.

It is often the case that we want to have access to shared data between what happens in the init and what happens in the long running server. For example, imagine we are consuming a resource in init and want to use its value in the background. There is no real sensible way of "transferring" a value from init, especially a resource, to operation.

The argument to operation is the value returned by init.

It restricts composition. Imagine in the example that you posted above that we would want to create an abstraction around http server and use it in your resource. How would this work? There isn't a good way to extend the lifetime of the http server that was created within init to the larger scope of operation.

This idea would depend on both operations running within the same task, so  I would imagine that composition works the same as it does today:
yield createServer()

And of course, the server operation would be more correctly expressed as:
operation: server => function*() {
try {
  //server body
} finally {
  server.close();
}

It is a really good point about breaking the 1:1 nature of Task:Operation and I don't see that being a change free of unforeseen consequences. Still, it makes me feel like perhaps scope and task really are two different things.

do we provide access to the resource task to a consumer of the resource? and if so, how?

@jnicklas I think it's fair to say that any interface to the resource task should be through the resource value itself. That seems to optimize for encapsulation, but still allows for poking holes in the encapsulation where needed. I mean, trivially, the resource could define its own task attribute to expose it fully.

The argument to operation is the value returned by init. Any value generate in init can be passed as part of that value.

I see you've changed your mind on this, but for posterity's sake: this works fine with regular values, but becomes significantly trickier when the value is also a resource.


Add create file and folder within another folder

Unfortunately this is a bit buggy. Getting the focus states working smoothly is not an easy task.

Damn the logic is really finicky. Wonder if there are some product simplifications we can do.

I definitely agree it's finicky, but it's only the focus portion that's finicky which is currently self contained in a component that's only about 20-30 lines of code, so I'm not terribly concerned at the moment. While I think we could shift around the UX to avoid this problem (e.g., in the extreme case you could use pop up a modal to create a new file), I think this is the UX people are used to for editing experiences.

I think we can just live with this for a bit and revisit before launching.


Error sparse array length is ambiguous; use getnnz() or shape[0]

When trying to use the first function to split the data I get this error:
---> [12](vscode-notebook-cell:?execution_count=33&line=12) train_indices, val_indices, test_indices = split_data(
     [13](vscode-notebook-cell:?execution_count=33&line=13)     adata.X,
     [14](vscode-notebook-cell:?execution_count=33&line=14)     adata.obs[group_by],
     [15](vscode-notebook-cell:?execution_count=33&line=15)     [0.7, 0.1, 0.2],
     [16](vscode-notebook-cell:?execution_count=33&line=16) )
     [17](vscode-notebook-cell:?execution_count=33&line=17) train_val_indices = np.concatenate([train_indices, val_indices])
     [19](vscode-notebook-cell:?execution_count=33&line=19) train_dataloader, val_dataloader = MarkerMap.prepareData(
     [20](vscode-notebook-cell:?execution_count=33&line=20)     adata,
     [21](vscode-notebook-cell:?execution_count=33&line=21)     train_indices,
   (...)
     [25](vscode-notebook-cell:?execution_count=33&line=25)     batch_size=batch_size,
     [26](vscode-notebook-cell:?execution_count=33&line=26) )

[1150](That set of data must have at least that number of representatives of each group in y

-> [1153](/site-packages/markermap/utils.py:1153) assert len(X) == len(y)

TypeError: sparse array length is ambiguous; use getnnz() or shape[0]

My adata.X is:

<1786x33567 sparse matrix of type '<class 'numpy.float32'>'
	with 1869211 stored elements in Compressed Sparse Row format>

Already tried changing todense and toarray and didn't work

Hi Rafael,
Hmm, this does look like a sparse array issue. How did you try to converting it to a dense array? Take a look at the mouse brain loading function for how we do it, https://github.com/Computational-Morphogenomics-Group/MarkerMap/blob/main/src/markermap/utils.py#L1012
So it would be something like load it into adata, then do
adata.X = adata.X.toarray()
This is a common issue though, so I will add some documentation and maybe a helpful error message.


Updated TranspileResultTest to have separate tests for case sensitive and case insensitive files systems.

Updated TranspileResultTest to have separate tests for case sensitive and case insensitive files systems. Test would previously fail when run on Windows Operating Systems. Made it so the test is OS agnostic, but check for the behavior of the underlying file system.
The test was changed from a Junit3 Style test to a Junit4 Style test so that the Assume functionality would work correctly with the project's build is setup.
This test failure was one of the ones reported in this issue:
https://github.com/google/closure-compiler/issues/2683

@chetmichals
Changing from JUnit3 to JUnit4 may make it difficult for us to accept this PR.
We'll have to make changes to our internal build setup to handle that, and we really have bigger fish to fry right now.
Would you consider dropping the JUnit 4 changes?

I can drop the JUnit 4 changes if needed, I would just have to not use the Assume functionality and use an if statement instead (Since Assume works via throwing a specific exception which Junit 4+ handle to mean the test isn't applicable, which the JUnit 3 test runner just sees as a failure).
One thing to note, is that there is other tests that use the JUnit 4 runner currently, like RecoverableJsAstTest which is in the 'parent' package, and most of the tests in the com.google.javascript.refactoring package
But there may be reasons I am not aware of for why the test runner shouldn't be changed. Just let me know that you still want me to change it back to a JUnit 3 style test even if there are other JUnit 4 styles tests, and I can get the pull request updated.

I'm curious to see how easy/hard it will be to upgrade this single test to JUnit 4, so I'll take this on.
FYI, I'll be on travel April 30 - May 3, so I don't expect to have time to work on this until after that.

@chetmichals could you resolve conflicts so I can import this cleanly?
Thanks

When looking over the merge conflict, it appears that the changes made to how the transpiler class works makes these changes to the tests unnecessary. The URL class is case sensitive inherently, which eliminates the platform specific behavior.
Specifically, the changes made in this commit:
https://github.com/google/closure-compiler/commit/18c9a695fcb2781ef8f25bd04dd27e9a383b1a4c


New Scenario, "Un Temblor en la Noche"

<!--
My first scenario, let's hope you enjoy it

 [] Mansions of Madness
-

### https://github.com/RealPolux/TemblorNocheScenario

New scenario for:
Mansions of Madness
https://github.com/RealPolux/TemblorNocheScenario

New scenario for:
Mansions of Madness
https://github.com/RealPolux/TemblorNocheScenario


can't auto download and install synced extensions

Visual Studio Code Version : [ 1.18.1 ]
Code Settings Sync Version : [ 2.8.5 ]
Operating System : [ win7 service pack1 ]
Occurs On: [ Download ]
Proxy Enabled: [ No ]
GIst Id: [ 151521f4634a7bf6005e4d5da9de2db0 ]
It can't download my other extensions, don't know why.

what is the exception logged in the developer console.

I have installed two versions of vscode, one is the insider version, i was using the insider version to test the
setting sync update/upload, looks like this method can't work through.

what is the error you have faced?

The insider version of Vscode with setting sync'downloading setting command cannot auto download and install  the extensions that already installed in my machine's another formal version of vscode.

I have update/upload the config by the formal version of vscode to my gist: this is my gist url:https://gist.github.com/ljporljp/151521f4634a7bf6005e4d5da9de2db0

let me know if there is any exception, with the image


Update docker.yaml action versions.

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

Comparison is base (9c22551) 10.52% compared to head (ba9159b) 10.52%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   10.52%   10.52%
=======================================
  Files           3        3
  Lines          19       19
  Branches        2        2
=======================================
  Hits            2        2
  Misses         17       17

Flag
Coverage Δ

unittests
10.52% <ø> (ø)

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

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


updated submodules for v2023.4

https://github.com/getodk/central-backend/pull/1003 looks fine to me and i just approved it.
I'm less sure about https://github.com/getodk/central-backend/pull/981... what would we need to do to test it? Review the code one last time and deploy it somewhere to see it in action?


feat(archicad): Update connector icon on Mac

Description
Archicad connector icon under File > Interoperability looks out of place in Mac. Replace it with an speckle cube outline similar to other icons in the same dialog. This should be fairly easy to implement.
Screenshots

Similar icon-related problem on macOS: when you switch between running applications by pressing Cmd+Tab, the Speckle Archicad Connector doesn't have an icon assigned to it.
I'm running:

Archicad 27 INT b4060
Archicad Connector v2.18.3
OS: macOS Ventura 13.6.4
HW: M1 Max MBP

Example screenshot:


Bump to v0.8.0

Bump to v0.8.0

[x] I have read and checked the items on the review checklist.

bors try

bors r+


Coverage w/ Jacoco

I know multiple issue proposals exist as far as flagging content as 'Generated' so that code coverage tools can skip checking that content. Has any consideration been given to just making a lombok annotation that can generate tests for lombok pojo's (for any generated code). This would provide a solution to the code coverage problem that would be universal.
Would this even be possible?
I am envisioning something like.
package com.pojotown.newpojos;

import lombok.testing.GenerateTests;

@GenerateTests(annotations={ @Setters, @Getters, @EqualsAndHashcode })
public class PojoTests {
 //Put all tests for manual code here
}

Also a lombok.config entry to set the testing suite
lombok.testing.framework = testng|junit;
Does this seem like a possible to implement?

I would consider generating tests outside the scope of Lombok. It is possible to generate them using a regular annotation processor.


IP Geolocation granularity impacts regulatory and contractual use cases

Originally filed at https://github.com/spanicker/ip-blindness/issues/21 by @smhendrickson

In addition to the targeting use cases described in https://github.com/spanicker/ip-blindness/issues/20, IP Geolocation may also be used for regulatory and contractual requirements. Will the Geo granularity described create any anticipated difficulties in meeting regulatory needs?

There is some existing conversation in the original thread w/ @dmdabbs and @patmmccann, but let's continue the topic here.

I was watching the older spanicker repo but did not know about this one. Thank you for the ping @miketaylr.

Thanks, one other note, simply calling the topics api which provides it training data, or setting a fledge interest group, likely constitutes a data sale under California law, as IAB MSPA training material indicate similar activities do.
If an entity is making one of these js calls unaware of the real user jurisdiction because of chrome has misled it, perhaps chrome should make sure to suppress the illegal set interest group or topics api calls.

We use geolocation for making decisions related to contractual and regulatory compliance and need to be able to map interaction sources to jurisdictions and legal boundaries (generally states).


Unable to sign in as Project Maintainer using my LFID

This might because of a set-up, but we should also consider a clearer UX if it's because I am a project maintainer not added or my project isn't onboarded:
https://cl.ly/2fe5f791afbc

Create Incognito Tab
Click Sign in from https://project.lfcla.com/#/login
Enter my working LFID
Get login error message:

@timfong888, I experienced this the first time I tried to use EasyCLA. You're right, it happens when your LF id doesn't have access to any projects. There's definitely a more elegant way to do this.


[5.3] Remove unwanted spaces in constraints

Allows columns names be separated by spaces
User::where(...)->with('business: id, name')->get()

:-1: from me I'm afraid. I prefer having a single representation, without spaces, consistent with the rest of the framework.

When you say consistent, you are referring to what other parts that list columns?

For instance you can have a validation rule like: 'issued'    => 'required | date_format: d/m/Y'

Just don't use spaces.


[HUDI-4482]  remove guava and use caffeine instead for cache

Brief change log

use caffeine replace guava cache
remove guava dep

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run azure

@xushiyan @XuQianJin-Stars see see :)

@xushiyan see see

hey @KnightChess a gentle reminder: 1) guava dependency cleanup from hadoop-mr and spark bundles as shown above. 2) a separate PR to fix the styles in integ test module. thanks!

failed in flink-moudle, It is ok in my local test, force push to trigger re-run

@xushiyan thanks for review, integ-test checkstyple in #6523

Removing Guava from the bundle jar does not make sense IMO, because the third-party libs required by the bundle still may require Guava, like curator.
Specifically, this PR breaks the Zk functionalities, I meet the following error when testing hudi-spark3.3-bundle w/ Kyuubi.
Caused by: java.lang.NoClassDefFoundError: org/apache/hudi/com/google/common/base/Preconditions
	at org.apache.curator.ensemble.fixed.FixedEnsembleProvider.<init>(FixedEnsembleProvider.java:39)
	at org.apache.curator.framework.CuratorFrameworkFactory$Builder.connectString(CuratorFrameworkFactory.java:193)
	at org.apache.kyuubi.ha.client.zookeeper.ZookeeperClientProvider$.buildZookeeperClient(ZookeeperClientProvider.scala:62)
	at org.apache.kyuubi.ha.client.zookeeper.ZookeeperDiscoveryClient.<init>(ZookeeperDiscoveryClient.scala:65)
	... 45 more

Further, why bundle jar contains the curator w/the original package name rather than the relocated one?

@yihua I believe this issue affects the ongoing 0.13.0, would you please take a look and evaluate how critical it is?

@pan3793 yes, look like removing guava in the bundle jar does not make sense

@pan3793 yes, look like removing guava in the bundle jar does not make sense

Hi @KnightChess could you clarify the original intention of removing Guava dependency?  Does Guava cause any conflict in your production environment and that's why you try to replace Guava cache with Caffeine so Guava is not used?  What about  other third-party libs in the bundle using Guava as @pan3793 mentioned?

I'm trying to gauge the severity of the problem.  If it's ok to use Guava, do we still need the Caffeine cache?

@yihua removing Guava still the right long-term call -- Guava is eternal source of conflicts and any library should avoid packaging it at all costs


Unable to uninstall

Unable to uninstall:
Apex Class | RollupService | Component is in use by another component in your organization. dlrs_Sales_InvoiceTrigger

Ideally, you can navigate to the rollup that installed that Trigger, use the Manage Trigger button and uninstall the trigger.
If you no longer have that rollup you'll either need to go down to the developer layer and execute a destructive change to remove the trigger or, probably easier, create a new rollup on the Sales_Invoice__c object and use Manage Trigger to remove the trigger from there.
Let us know if you need additional instructions or help.

We could really do with an unstall wiki page. Also a utility to remove triggers without having to re-create the rollup definition.

Duplicate of #674


Timeout trying to lock table "USERS"

Hello,
I am experiencing this error on my aws instance. It happens after about 10 minutes of use. Here is the log:
ERROR [2015-08-24 19:39:09,993] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: Timeout trying to lock table "USERS"; SQL statement:
/* update com.commafeed.backend.model.User */ update USERS set apiKey=?, created=?, disabled=?, email=?, last_full_refresh=?, lastLogin=?, name=?, password=?, recoverPasswordToken=?, recoverPasswordTokenDate=?, salt=? where id=? [50200-187]
WARN  [2015-08-24 19:39:09,993] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: SQL Error: 50200, SQLState: HYT00
ERROR [2015-08-24 19:39:09,994] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: Timeout trying to lock table "USERS"; SQL statement:
/* update com.commafeed.backend.model.User */ update USERS set apiKey=?, created=?, disabled=?, email=?, last_full_refresh=?, lastLogin=?, name=?, password=?, recoverPasswordToken=?, recoverPasswordTokenDate=?, salt=? where id=? [50200-187]
ERROR [2015-08-24 19:39:09,995] org.hibernate.engine.jdbc.batch.internal.BatchingBatch: HHH000315: Exception executing batch [could not execute batch]
ERROR [2015-08-24 19:39:11,563] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 64a5c563dc1d5e97
! org.h2.jdbc.JdbcBatchUpdateException: Timeout trying to lock table "USERS"; SQL statement:
! /* update com.commafeed.backend.model.User */ update USERS set apiKey=?, created=?, disabled=?, email=?, last_full_refresh=?, lastLogin=?, name=?, password=?, recoverPasswordToken=?, recoverPasswordTokenDate=?, salt=? where id=? [50200-187]
! at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1198) ~[commafeed.jar:2.2.0]
! at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:123) ~[commafeed.jar:2.2.0]
! ... 69 common frames omitted

I am not sure if this is a Commafeed issue or it might have to be with the instance as it is a micro instance with low memory.
Any tip on how to keep it running will be appreciated.
Thanks!

Could you try to append ;LOCK_TIMEOUT=10000 to the database url in config.yml?
The default value seems to be 1s, it may be too low for an aws micro instance.
See http://h2database.com/html/grammar.html#set_lock_timeout

Thanks! that seems to be working so far!


ImportError: No module named  'consts'

Created a new project within Divio and added only this addon to generate the following message.
Step 7/7 : RUN DJANGO_MODE=build python manage.py collectstatic --noinput
---> Running in f75f57df933e
[91m/virtualenv/lib/python3.5/site-packages/storages/init.py:9: UserWarning: This library has been designated as the official successor of django-storages and releases under that namespace. Please update your requirements files to point to django-storages.
warnings.warn('This library has been designated as the official successor of django-storages and '
[0m[91mTraceback (most recent call last):
File "manage.py", line 7, in
startup.manage(path=os.path.dirname(os.path.abspath(file)))
File "/virtualenv/lib/python3.5/site-packages/aldryn_django/startup.py", line 11, in manage
[0m[91m    utility.execute()
File "/virtualenv/lib/python3.5/site-packages/django/core/management/init.py", line 328, in execute
[0m[91m    django.setup()
File "/virtualenv/lib/python3.5/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/virtualenv/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
[0m[91m    app_config.import_models(all_models)
File "/virtualenv/lib/python3.5/site-packages/django/apps/config.py", line 198, in import_models
[0m[91m    self.models_module = import_module(models_module_name)
File "/virtualenv/lib/python3.5/importlib/init.py", line 126, in import_module
[0m[91m    return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
[0m[91m  File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
[0m[91m  File "", line 665, in exec_module
[0m[91m  File "", line 222, in _call_with_frames_removed
[0m[91m  File "/virtualenv/lib/python3.5/site-packages/djangocms_charts/models.py", line 4, in
from .chartjs.models import *
[0m[91m  File "/virtualenv/lib/python3.5/site-packages/djangocms_charts/chartjs/models.py", line 3, in
[0m[91m    from djangocms_charts.base.models import ChartsBaseModel
File "/virtualenv/lib/python3.5/site-packages/djangocms_charts/base/models.py", line 5, in
import consts
ImportError: No module named 'consts'
[0m

I'm having the same issue when using Divio. It should probably be
import .consts
Will this be fixed or is this project dead?


Ring 2 cannot be un-selected.

I have the latest version of GSE. Options are set correctly as well as doing a full uninstall/reinstall. Options files were also deleted. At a loss on a fix.
Thanks for your time with the addon! Wouldn't be playing WoW without it.

The set command for Ring 2 was setting instead Ring 1


PLOT function does not work

The datavis.animate can only plot the startup figure even the iterations are set to 2001 or 10001.
And the output in the terminal says:  max test accuracy: 0
the model has not been trained at all.
while the following code can output the normal value
for i in range(10000+1): training_step(i, i % 100 == 0, i % 20 == 0)

I have the same problem. any result?!


Error

Starting Em4 causes an Error saying LC_API.dll is missing

Which version of EM4 are you running?

The CD Deluxe version

Run EM4Deluxe.exe instead of em4.exe

Same error occurs

Do you perhaps remember which Deluxe version you're running?
In your EM folder there should be a "ba4" file. You can rename that to "em4.exe" as it's a backup of your original file. In the main menu of the game the version is displayed in the bottom left. It should be "v.1.3f"

version is v.1.3f

Not sure how to help here as I've tested it with the Steam Deluxe version on 1.3f on both Windows 10 and 11. It seems like your setup simply is incompatible. I'm sorry, but there's nothing I can do

I have exactly the same error, using Windows 11 😞

As menitoned previously, nothing I can do.

This issue has been fixed in latest Version 2.1.0


Ubuntu Crashing on esp-matter/install.sh build (CON-755)

Describe the bug
I have an M1 Mac with a Ubuntu 22.04 VM running in Parallels. I installed the arm64 version of everything from esp-idf and esp-matter.
When the esp-matter/install.sh gets to the point where it is building the host tools, it gets to a file in the range of 471 to 474. The last time it was 474 chip-tool.main.cpp.o
At this point I get a FAILED: error that simply says fatal error: Killled signal terminated program cc1plus.
It keeps compiling for a few more files and then stops saying ninja: build stopped: subcommand failed.
I don't know if this is a problem with the VM or something someone here can help with.
I tried installing everything directly on the M1 Mac and had all kinds of other problems. I figured maybe the linux version would work better.
Environment

ESP-Matter Commit Id: 41b143e0bc600d7e72a522ec7df0051951d07e98
ESP-IDF Commit Id: e088c3766ba440e72268b458a68f27b6e7d63986
SoC (eg: ESP32 or ESP32-C3):ESP32-C3
Device Logs (Please attach the log file): NA
Host Machine OS: MacOS Parallels VM running Ubuntu 22.04
Commissioner app and versions if present: NA
Commissioner's logs if present: NA

Any additional details
...

This turned out to be not allocating enough RAM to the virtual machine. It gets past this now.


libgdx gdx-setup.jar Build failed

Hi all,
I have problem with resolving dependencies. Have you guys had similar issue? Any ideas?
thanks in advance
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'test'.

Could not resolve all dependencies for configuration ':classpath'.
Could not find org.robovm:robovm-gradle-plugin:1.0.0-SNAPSHOT.
Searched in the following locations:
https://repo1.maven.org/maven2/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/maven-metadata.xml
https://repo1.maven.org/maven2/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.pom
https://repo1.maven.org/maven2/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.jar
https://jcenter.bintray.com/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/maven-metadata.xml
https://jcenter.bintray.com/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.pom
https://jcenter.bintray.com/org/robovm/robovm-gradle-plugin/1.0.0-SNAPSHOT/robovm-gradle-plugin-1.0.0-SNAPSHOT.jar
Required by:
:test:unspecified

it works when I uncheck iOS subproject...
On Mar 8, 2015 10:15 PM, "Tomski"<EMAIL_ADDRESS>wrote:

Closed #2921 https://github.com/libgdx/libgdx/issues/2921 via e7cf3ec
https://github.com/libgdx/libgdx/commit/e7cf3ecf78f6c266db8137c2375dc2abbac514fb
.
—
Reply to this email directly or view it on GitHub
https://github.com/libgdx/libgdx/issues/2921#event-248218359.

thanks for commit. I'm compiling latest version. When will you update .jar which is for download on:
http://libgdx.badlogicgames.com/download.html ?

That is automatically built base on the bleeding edge. Should be good to go.

Another little issue:

What went wrong:
Could not compile build file 'C:\te\test\build.gradle'.

startup failed:
build file 'C:\te\test\build.gradle': 255: expecting '}', found '' @ line 255, column 1.
1 error

when generating

Probably missed it as I rushed it, will have to look when I'm back at home.

ok. I'm also looking into code. I've added bracket but not sure if in proper place as I don't know gradle. Now I'm receiving:

What went wrong:
A problem occurred configuring root project 'test'.

Could not resolve all dependencies for configuration ':classpath'.
You must specify a URL for a Maven repository.

hi there,
I receive the same failure ( org.robovm:robovm-gradle-plugin:1.0.0-SNAPSHOT) when I download the latest setup.jar from http://libgdx.badlogicgames.com/download.html
should I compile from libgdx-master?
thanks

Latest setup should be fine.

Hi, few days ago I compiled gdx-setup with ant.
Target jar is working like a charm

thanks changed 1.0.0-SNAPSHOT to 1.0.0 and it worked as suggested

2.3.0 is not working either. I tried both 2.2.0 and 2.2.1 as well and they are giving the same error messages. I didn't use snapshots.


Observable.combineLatest2 is not streaming when page is loaded through navigation

I am creating a flutter app with blocs.
I followed the code available in Flutter bloc login
It works as expected, if my app has no routes defined
class App extends StatelessWidget {
  Widget build(BuildContext context) {
    return Provider(
      child: MaterialApp(
        title: 'Log Me In!',
        home: Scaffold(
          body: LoginScreen(),
        ),
      ),
    );
  }
}

but when I change my app to use routes
class App extends StatelessWidget {
  Widget build(BuildContext context) {
    return  MaterialApp(
        title: 'Log Me In!',
        routes: {
          '/':(context) => Provider(
            child: Scaffold(
              body: LoginScreen(),
            ),
          )
        },
       );
  }
}

bloc code
class Bloc extends Object with Validators {
  final _email = BehaviorSubject<String>();
  final _password = BehaviorSubject<String>();

  // retrieve data from stream
  Stream<String> get email    => _email.stream.transform(validateEmail);
  Stream<String> get password => _password.stream.transform(validatePassword);
  Stream<bool>   get submitValid => Observable.combineLatest2(email, password, (e, p) => true);

  // add data to stream
  Function(String) get changeEmail    => _email.sink.add;
  Function(String) get changePassword => _password.sink.add;

  submit() {
    final validEmail    = _email.value;
    final validPassword = _password.value;

    print('$validEmail and $validPassword');
  }

  dispose() {
    _email.close();
    _password.close();
  }
}

Observable.combileLatest2

is not streaming the data (but it streams error though).
Using Rxdart version 0.19.0 and
Flutter 1.0.0 • channel beta •https://github.com/flutter/flutter.git Framework • revision 5391447fae (6 days ago) • 2018-11-29 19:41:26-0800 Engine • revision 7375a0f414Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

Am I doing something wrong here? thanks in advance

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .


Body is empty when using +server.ts

Hey!
I have the following handler in my project:
import { json, type RequestHandler } from '@sveltejs/kit'

export const POST: RequestHandler = async ({ request }) => {
	return json({ data: await request.json() })
}

The app is served with docker and proxied with nginx. When testing this endpoint with curl i receive following response, which means i cant read the body of my request.
curl  -X POST \
  'https://lk.qastud.io/tasks/field_validation' \
  --header 'Content-Type: application/json' \
  --data-raw '{"hello": "world"}'
{"data":""}

I've confirmed the body is transferred correctly to my server by adding body's content to nginx response headers.
And also i've tried to deploy my app using node adapter and it works perfectly fine.

i ran into the same issue, running bun:1.0-slim. swapping

i'm using superforms, but it doesn't seem like that plays a role
here's the repo, which i've deployed using a dockerfile: https://github.com/ambergristle/fly-lo
below are the package versions that seemed most relevant

"@sveltejs/kit": "^2.0.0",
"svelte-adapter-bun": "^0.5.1",
"vite": "^5.0.3"

@gornostay25 i'm down to help investigate this, and to contribute to the svelte-adapter-bun project more generally

for me it seems POST breaks when using hooks to modify locals, can't access body or form data, it just hangs there
using the node adapter works fine

Hello,

POST breaks [...] can't access body or form data, it just hangs there

I'm experiencing the same issue, even without hooks.
Any news on this @gornostay25 ?
Thanks


Error loading cudnn64_7.dll" or one of its dependencies.

<IP_ADDRESS>
Python: 3.7.10 (default, Feb 26 2021, 13:06:18) [MSC v.1916 64 bit (AMD64)]
Executable: D:\Program Files (x86)\anaconda3\envs\yolox\python.exe
OS: Windows
Arch: x86_64

(yolox) D:\work\demo\YOLOX-main\tools\out-1\demo.dist>demo.exe
Traceback (most recent call last):
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 19, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\torch_init_.py", line 124, in
raise err
OSError: [WinError 1455] 页面文件太小，无法完成操作。 Error loading "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\torch\lib\cudnn64_7.dll" or one of its dependencies.
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
Traceback (most recent call last):
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\demo.py", line 597, in
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\context.py", line 56, in Manager
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\managers.py", line 567, in start
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 250, in recv
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
KeyboardInterrupt
File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
KeyboardInterrupt  File "D:\work\demo\YOLOX-~1\tools\out-1\DEMO~1.DIS\multiprocessing\connection.py", line 306, in _recv_bytes
something print caffe2_detectron_ops_gpu.dll" or one of its dependencies  error message

No minimal reproducer, no support.


Restore AbstractModel method show_controller the way it was

This reverts a reversion.

Coverage decreased (-0.009%) to 92.722% when pulling 5e04045af9027485e758149a9bd9b77f94e6f1d7 on nimmo-namespaced-show-controller into 3c7e1a4c3f7d949860ea1e4ca8c44c46f21697ec on master.

Also fixes an obsolete Herbarium path in a mailer.

Looks good to me!


fix bug for remove darklunch config from config center

Coverage increased (+0.2%) to 61.362% when pulling 65ed8b400c3408180fb934aa3125c4d572a55c99 on ninokop:master into 187bb35c8b125972868617c1488207b0b9990ca5 on ServiceComb:master.


External C++ library undefined behavior

I want to use an external C++ library linked to a Zephyr application as a static library. For a background - an external library is AgIsoStack
I have a problem with including it in the binary. Building goes well, but as soon as the application refers to any classes defined in the external library, the FW crashes.
To simplify the situation, I reproduced the issue on a smaller example.
Testing platform: NUCLEO-F446RE
Zephyr SDK version: 0.16.8
C and CXX compilers version: 12.2.0 both
Host: Ubuntu 22.04
Directory structure (In the real application, the external library is outside of app repo):
├── app
│   ├── CMakeLists.txt
│   ├── prj.conf
│   └── src
│       └── main.cpp
├── lib
│   └── mathoperations
│       ├── CMakeLists.txt
│       ├── include
│       │   └── MathOperations.hpp
│       └── src
│           └── MathOperations.cpp
└── west.yml

west.yml:
manifest:
  defaults:
    remote: zephyrproject

  remotes:
    - name: zephyrproject
      url-base: https://github.com/zephyrproject-rtos

  projects:
    - name: zephyr
      revision: v3.7.1
      west-commands: scripts/west-commands.yml
      remote: zephyrproject
      import:
        name-allowlist:
          - hal_stm32
          - cmsis

prj.conf:
CONFIG_CPP=y
CONFIG_REQUIRES_FULL_LIBCPP=y
CONFIG_CPP_EXCEPTIONS=y
CONFIG_NEWLIB_LIBC=y

CMakeLists.txt in app:
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(linkage-example)
target_sources(app PRIVATE src/main.cpp)
add_subdirectory(../lib/mathoperations mathoperations)
target_link_libraries(app PRIVATE MathOperations)

CMakeLists.txt in mathoperations:
cmake_minimum_required(VERSION 3.10)
project(MathOperationsLibrary)

set(INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
set(SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
set(SOURCES ${SRC_DIR}/MathOperations.cpp)
add_library(MathOperations STATIC ${SOURCES})

target_include_directories(MathOperations PUBLIC ${INCLUDE_DIR})
target_include_directories(MathOperations
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
        $<INSTALL_INTERFACE:include>
)

MathOperations.hpp:
namespace MathLib {
class MathOperations {
public:
    int add(int a, int b);
    int subtract(int a, int b);
};
}

MathOperations.cpp:
#include "MathOperations.hpp"

namespace MathLib {
int MathOperations::add(int a, int b) {
    return a + b;
}
int MathOperations::subtract(int a, int b) {
    return a - b;
}
}

main.cpp:
#include <stdio.h>
#include <zephyr/kernel.h>
#include "MathOperations.hpp"

int main(void)
{
	printf("APP STARTED\n");
	auto operations = new MathLib::MathOperations();
	int a = operations->add(1, 2);
	printf("a = %d\n", a);
	while (1) {
		static int counter = 0;
		printf("COUNTER: %d\n", counter++);
		k_msleep(1000);
	}
	return 0;
}

Problem. The result of adding is not printed. Debugger stuck after the line operations->add(1, 2);.
In the real library case, I got BUS FAULT during object allocation:
[00:00:00.005,000] <err> os: ***** BUS FAULT *****
[00:00:00.005,000] <err> os:   Precise data bus error
[00:00:00.005,000] <err> os:   BFAR Address: 0x28118163
[00:00:00.005,000] <err> os: r0/a1:  0x28118163  r1/a2:  0x00000001  r2/a3:  0x00000002
[00:00:00.005,000] <err> os: r3/a4:  0xff381821 r12/ip:  0x00000005 r14/lr:  0x08001645
[00:00:00.005,000] <err> os:  xpsr:  0x01010000
[00:00:00.005,000] <err> os: Faulting instruction address (r15/pc): 0x0800107c
[00:00:00.005,000] <err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
[00:00:00.005,000] <err> os: Current thread: 0x20000f90 (unknown)
[00:00:00.070,000] <err> os: Halting system

I guess there is some linkage issue, which is not seen by linker. Looks like linker puts wrong addresses in the memory. Symbols defined in the library are present in target zephyr.map file. So, linker linked it, but looks like it links to the wrong addresses.
As a limitation. I can't get rid of the CMakeLists.txt defined in the library, I can modify my CMakeLists.txt in the app directory. Optionally, I can write some wrapper/adapter to the lib if needed.

Moved to a discussion https://github.com/zephyrproject-rtos/zephyr/discussions/83363


Adding DatapointsToAlarm to AWS::CloudWatch::Alarm

Adding DatapointsToAlarm property to AWS::CloudWatch::Alarm.

Thanks!