Client - TIME_LIMIT orders to close binance spot position used inaccurate time

Describe the bug
Client - TIME_LIMIT order to close binance spot position used inaccurate time.
Also logs indicate insufficient balance events (when balance is sufficient since its the SELL of base asset)
Issue reproduced multiple times for previous tests
Steps to reproduce

Clone and install latest dev branch
connect binance
set up v2_market_making_dman_v3 strategy using default time limit (12 hours)
ran a bot to trigger time limit
review OPEN and CLOSED time not matched with time limit set (12 hours VS 12 hours and 1.5 min)

Release version
dev-1.21.0
Type of installation
Source
Attach required files
logs_v2_market-making_dman_v3_mul2.log
!binance-spot.zip
2023-10-11 03:26:20,092 - 3874661 - hummingbot.smart_components.executors.position_executor.position_executor - INFO - Placing close order
2023-10-11 03:26:20,096 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYICXSMCUT607686309cf9e7c6e", "order_type": "OrderType.MARKET", "event_name": "MarketOrderFailureEvent", "event_source": "binance"}
2023-10-11 03:26:20,099 - 3874661 - hummingbot.connector.client_order_tracker - INFO - Order x-XEKWYICXSMCUT607686309cf9e7c6e has failed. Order Update: OrderUpdate(trading_pair='MATIC-USDT', update_timestamp=1696994779.0, new_state=<OrderState.FAILED: 6>, client_order_id='x-XEKWYICXSMCUT607686309cf9e7c6e', exchange_order_id=None, misc_updates=None)
2023-10-11 03:26:20,387 - 3874661 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - NETWORK - Error submitting sell MARKET order to Binance for 23.00000000 MATIC-USDT NaN.
Traceback (most recent call last):
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 452, in _create_order
    await self._place_order_and_process_update(order=order, **kwargs,)
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 469, in _place_order_and_process_update
    exchange_order_id, update_timestamp = await self._place_order(
  File "/home/nikita/development/hummingbot/connector/exchange/binance/binance_exchange.py", line 198, in _place_order
    order_result = await self._api_post(
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 867, in _api_post
    return await self._api_request(*args, **kwargs)
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 905, in _api_request
    request_result = await rest_assistant.execute_request(
  File "/home/nikita/development/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request
    response = await self.execute_request_and_get_response(
  File "/home/nikita/development/hummingbot/core/web_assistant/rest_assistant.py", line 99, in execute_request_and_get_response
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request POST https://api.binance.com/api/v3/order. HTTP status is 400. Error: {"code":-2010,"msg":"Account has insufficient balance for requested action."}
2023-10-11 03:26:20,388 - 3874661 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - WARNING - Failed to submit SELL order to Binance. Check API key and network connection.
2023-10-11 03:26:20,392 - 3874661 - hummingbot.strategy.script_strategy_base - INFO - Creating MATIC-USDT sell order: price: NaN amount: 23.00000000.
2023-10-11 03:26:20,393 - 3874661 - hummingbot.smart_components.executors.position_executor.position_executor - INFO - Placing close order
2023-10-11 03:26:20,397 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYICXSMCUT60768630d995e7c6e", "order_type": "OrderType.MARKET", "event_name": "MarketOrderFailureEvent", "event_source": "binance"}
2023-10-11 03:26:20,400 - 3874661 - hummingbot.connector.client_order_tracker - INFO - Order x-XEKWYICXSMCUT60768630d995e7c6e has failed. Order Update: OrderUpdate(trading_pair='MATIC-USDT', update_timestamp=1696994780.0, new_state=<OrderState.FAILED: 6>, client_order_id='x-XEKWYICXSMCUT60768630d995e7c6e', exchange_order_id=None, misc_updates=None)
2023-10-11 03:26:20,689 - 3874661 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - NETWORK - Error submitting sell MARKET order to Binance for 23.00000000 MATIC-USDT NaN.
Traceback (most recent call last):
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 452, in _create_order
    await self._place_order_and_process_update(order=order, **kwargs,)
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 469, in _place_order_and_process_update
    exchange_order_id, update_timestamp = await self._place_order(
  File "/home/nikita/development/hummingbot/connector/exchange/binance/binance_exchange.py", line 198, in _place_order
    order_result = await self._api_post(
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 867, in _api_post
    return await self._api_request(*args, **kwargs)
  File "/home/nikita/development/hummingbot/connector/exchange_py_base.py", line 905, in _api_request
    request_result = await rest_assistant.execute_request(
  File "/home/nikita/development/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request
    response = await self.execute_request_and_get_response(
  File "/home/nikita/development/hummingbot/core/web_assistant/rest_assistant.py", line 99, in execute_request_and_get_response
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request POST https://api.binance.com/api/v3/order. HTTP status is 400. Error: {"code":-2010,"msg":"Account has insufficient balance for requested action."}
2023-10-11 03:26:20,690 - 3874661 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - WARNING - Failed to submit SELL order to Binance. Check API key and network connection.
2023-10-11 03:26:20,691 - 3874661 - hummingbot.strategy.script_strategy_base - INFO - (MATIC-USDT) Canceling the limit order x-XEKWYICXSMCUT607685127ead17c6e. [clock=2023-10-11 03:26:20+00:00]
2023-10-11 03:26:20,695 - 3874661 - hummingbot.strategy.script_strategy_base - INFO - Creating MATIC-USDT sell order: price: NaN amount: 23.00000000.
2023-10-11 03:26:20,700 - 3874661 - hummingbot.smart_components.executors.position_executor.position_executor - INFO - Placing close order
2023-10-11 03:26:20,705 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYICXSMCUT6076863122fb47c6e", "order_type": "OrderType.MARKET", "event_name": "MarketOrderFailureEvent", "event_source": "binance"}
2023-10-11 03:26:20,708 - 3874661 - hummingbot.connector.client_order_tracker - INFO - Order x-XEKWYICXSMCUT6076863122fb47c6e has failed. Order Update: OrderUpdate(trading_pair='MATIC-USDT', update_timestamp=1696994780.0, new_state=<OrderState.FAILED: 6>, client_order_id='x-XEKWYICXSMCUT6076863122fb47c6e', exchange_order_id=None, misc_updates=None)
2023-10-11 03:26:21,114 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYICXSMCUT607685127ead17c6e", "exchange_order_id": "3071529452", "event_name": "OrderCancelledEvent", "event_source": "binance"}
2023-10-11 03:26:21,127 - 3874661 - hummingbot.connector.client_order_tracker - INFO - Successfully canceled order x-XEKWYICXSMCUT607685127ead17c6e.
2023-10-11 03:26:21,132 - 3874661 - hummingbot.connector.client_order_tracker - INFO - The SELL order x-XEKWYICXSMCUT607686316dd6b7c6e amounting to 23.00000000/23.00000000 MATIC has been filled.
2023-10-11 03:26:21,134 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYICXSMCUT607686316dd6b7c6e", "trading_pair": "MATIC-USDT", "trade_type": "TradeType.SELL", "order_type": "OrderType.MARKET", "price": "0.51370000", "amount": "23.00000000", "trade_fee": {"percent": "0", "percent_token": "USDT", "flat_fees": [{"token": "USDT", "amount": "0.01181510"}]}, "exchange_trade_id": "351113508", "exchange_order_id": "3071535366", "leverage": 1, "position": "NIL", "event_name": "OrderFilledEvent", "event_source": "binance"}
2023-10-11 03:26:21,170 - 3874661 - hummingbot.connector.client_order_tracker - INFO - Created MARKET SELL order x-XEKWYICXSMCUT607686316dd6b7c6e for 23.00000000 MATIC-USDT.
2023-10-11 03:26:21,172 - 3874661 - hummingbot.smart_components.executors.position_executor.position_executor - INFO - Close Order Created
2023-10-11 03:26:21,191 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "type": "OrderType.MARKET", "trading_pair": "MATIC-USDT", "amount": "23.00000000", "price": "NaN", "order_id": "x-XEKWYICXSMCUT607686316dd6b7c6e", "creation_timestamp":<PHONE_NUMBER>.0, "exchange_order_id": "3071535366", "leverage": 1, "position": "NIL", "event_name": "SellOrderCreatedEvent", "event_source": "binance"}
2023-10-11 03:26:21,364 - 3874661 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "x-XEKWYICXSMCUT607686316dd6b7c6e", "base_asset": "MATIC", "quote_asset": "USDT", "base_asset_amount": "23.00000000", "quote_asset_amount": "11.8151000000000000", "order_type": "OrderType.MARKET", "exchange_order_id": "3071535366", "event_name": "SellOrderCompletedEvent", "event_source": "binance"}
2023-10-11 03:26:21,367 - 3874661 - hummingbot.smart_components.executors.position_executor.position_executor - INFO - Closed by CloseType.TIME_LIMIT

Closing this issue since reproduced for trailing stop as well
https://github.com/hummingbot/hummingbot/issues/6612


version 2.4 not working on iphone 7

When you say apply jailbreak, the program closes directly.

To use 2.4 you must make sure to unjailbreak, revert to stock. Then install from a fresh initial jailbreak with 2.4. If it crashes right away. But doesn’t reboot or panic. Open the app and try again. It’s running the exploit multiple times and closing if no luck. Let me know your iOS version please and model
Sent from my iPhone
On Jun 20, 2024, at 1:40 PM, cuneytsezer @.***> wrote:

When you say apply jailbreak, the program closes directly.
—
Reply to this email directly, view it on GitHubhttps://github.com/pwned4ever/Od1n/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHLHADKVTSKJZO4YDY3K6LZIMHXVAVCNFSM6AAAAABJUNDKBSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DIOJUGQ4DMMQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I tried completely resetting the device and doing a clean installation, but when we jailbreak it, it cannot be started directly from the application. Jailbreak is broken, not working now. iOS 15.8.2 iPhone 7 device


Package is missing from shopware repo

PHP Version
8.1
Shopware Version
6.4
Plugin Version
all
Actual behaviour
./composer.json has been updated
Running composer update store.shopware.com/froshtools
> [ ! -f vendor/autoload.php ] || $PHP_BINARY bin/console system:update:prepare
Run Update preparations
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires store.shopware.com/froshtools, it could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Composer [require store.shopware.com/froshtools:*] failed, composer command failed: exit status 2. stderr=

Expected behaviour
Package would be installed
Steps to Reproduce?

Run composer require store.shopware.com/froshtools:*

Thanks for reaching out. Sadly I was not able to reproduce this issue. Please make sure you added the licensed the plugin via store.shopware.com and are using the correct access token.

If you continue to have problems with the installation, please reach out to shopware as we do not have any control over the composer package registry. You can also try installing the plugin using packagist: https://packagist.org/packages/frosh/tools
composer require frosh/tools


Change scss styles to isodoc mixins.

metanorma/metanorma-acme#16:

@ronaldtse @opoudjis finished with syles integration, checked visuals with example RFC 6350 document please review.

Looks good, thank you!


Vue doesn't understand cdata: ...

Vue.js version
2.0.1
Reproduction Link
https://jsfiddle.net/haobxtgh/
Steps to reproduce
Use

  in a slot.
What is Expected?
Vue treats the content inside cdata as plain text.
What is actually happening?
Vue attempts to parse the cdata content and does strange things.

Upon investigation, CDATA is actually XML only - this type of usage is not supported in HTML5, with or without Vue.


Vim9: cannot use "is" comparison operator to compare arbitrary types of operands at script level

Describe the bug
In Vim9 script, the is comparison operator cannot be used to compare arbitrary types of operands at the script level.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    var x: any
    x = ''
    eval x is 0
EOF
)

E1072 is raised:
E1072: Cannot compare string with number

Expected behavior
No error is raised.
Environment

Vim version: 8.2 Included patches: 1-2567
OS: Ubuntu 16.04.7 LTS
Terminal: xterm(366)

Additional context
In a :def function, the exact same code doesn't raise any error:
vim9script
def Func()
    var x: any
    x = ''
    eval x is 0
enddef
Func()

no error

This seems inconsistent.  If it works in a :def function, shouldn't it also work at the script level?

Or maybe the issue is not at the script level, but in compiled code.  Maybe this snippet should raise an error:
vim9script
def Func()
    var x: any
    x = ''
    eval x is 0
enddef
Func()

Not sure what the right choice is here.  I think it would be convenient to be able to compare any types of operands with is and isnot.  I have a few locations where I wrote something like this:
if typename(type) == 'string' && type == ''

If I had the guarantee that is will still be able to compare any types of operands in the future, be it at the script level or in compiled code, I would simplify these lines like this:
if type is ''

Some people agree, but not all.  I wonder whether popular programming languages – with a type checking system – provide an extra set of comparison operators which don't raise an error when comparing operands with different types.  That is, they first compare the types are identical, then the values.
I think javascript/typescript provide === which tests type equality and value equality, as well as !== which tests type inequality or value inequality.  Maybe we should make is/isnot raise an error in compiled code, to be consistent with the script level; but also introduce the operators ===/!===?

The difference between script and compiled function is that in the script the actual type can be used.  In compiled code the type from the expression is used, which is the type of "x" in this case.  The assignment with a value isn't used there.
It's very hard to change this without introducing other problems.  We could just accept any two types for "is", but then a comparison that will always fail won't generate an error.  Since "is" is usually used to compare identity between Lists or Dicts, I think it's more useful to give the error than to permit everything.  So let's leave it as is, even though it might seem inconsistent.


Set the default hotkey for the extension

It'll be nice if we can set the default hotkey for the extension.

@Arany what do you think about the hotkey combination? The commit 9c57cfe30af50131d7043c25769f9c9b47250121 sets Ctrl + J. Any preferences?

@kkamkou You mean to open the extension popup? Ctrl + J sounds good. But it should be Cmd + J on mac I guess.

@Arany oopps, it is Alt+J, because Ctrl+J is downloads


Add Windows binary to 3.04.00 release

I think this would make a lot of users happy :)

Better to wait for 3.04.01 due to PDF data corruption bug discussed in developer forum

Unless Windows doesn't use stdout. In that case, go for it.

cygwin test version is available at http://domasofan.spdns.eu/tesseract/ thanks to
Simon Eigeldinger

i wish someone create the latest version for windows

Where would this be available when its produced?

+100000

Happy happy happy. thank you

Where would this be available when its produced?

I don’t even find any binaries. Can a fella help me out? :pray:

If you have Visual Studio 2015, checkout my repository at https://github.com/peirick/leptonica and click on build_tesseract.bat. After that you still need to download the language packs.

Thanks @peirick !
Worked perfect :+1:

I need a .dll to make a wrapper for python. @Shreeshrii haven't found in the link you posted, but maybe you know alternative?
@peirick does the script also build a .dll?

No the script only builds the *.exe and the *.lib for static linkage. I run into problems with memorymangement using the *.dll.

Could you share your version of the code to compile the .dll and then I
could have a look at it?
On Wed, Jan 20, 2016 at 5:32 PM, peirick<EMAIL_ADDRESS>wrote:

No the script only builds the *.exe and the *.lib for static linkage. I
run into problems with memorymangement using the *.dll.
—
Reply to this email directly or view it on GitHub
https://github.com/tesseract-ocr/tesseract/issues/47#issuecomment-173239390
.

--
Pagarbiai,
Šarūnas

See issue 209


[move] Add 'repro' for implicit sui issue(s), update diagnostics to not fail when missing files

Description
Describe the changes or additions included in this PR.
Test plan
How did you test the new or updated feature?

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

This doesn't seem to be a legitimate issue. Closing for now.


Abstract away jedis using RedisPublisher

Using Spring Boot 3.x, Jedis is no longer the default implementation. To support the users choice of redis client, this PR will remove the direct dependency to jedis. Instead we inverse the dependency by providing the RedisPublisher interface, that should be implemented by the user of the emitter.
QUESTION: Testing it I wrapped Springs RedisConnection in a class implementing RedisPublisher. But this way we only use one connection. What happens if the connection fails? It won't reconnect in this case I guess.

Not tested but the default implementation for both could look like this:
class JedisPublisher(private val jedis: JedisPool): RedisPublisher {
    override fun publish(channel: String, message: ByteArray) {
        jedis.resource.use { it.publish(channel.toByteArray(), message) }
    }
}

class LettucePublisher(private val connection: StatefulRedisConnection<Any, Any>): RedisPublisher {
    override fun publish(channel: String, message: ByteArray) {
        connection.use { it.sync().publish(channel, message.decodeToString()) }
    }
}

The example is not running anymore. When depending on the client to provide the redis client implementation, how can we build a runnable example?


Refactoring of Gemfile needed

There seems to be some strangeness in the current Gemfile.
In particular, the test gems appear to be in the :development group and the development gems appear to be in the :test group. This should be fixed and tests should be run to confirm nothing breaks.
We should also ignore .travis.yml, .rspec, and spec/* when building the gemspec.

This is probably closed on master right?

Yeah, thanks @rshade. Closing.


Tabs API: better integration test coverage

Testing #145585
I forgot to report this yesterday: I felt that a lot of the issues uncovered could have been found with just providing a very good integration test suite (see https://github.com/microsoft/vscode/issues/145773#issuecomment-1075967255 for example).
The tabs API is super nice to test actually.
A few things to ensure to cover:

all events from tabGroups
all properties of TabGroup and Tab before and after mutation
mutations

opening editors
closing editors
moving editors
opening groups
closing groups
moving groups
making an editor active that was not active
making a group active that was not active
changing tab labels (e.g. in an untitled file changing first line)
pinning / unpinning
preview / sticky
dirty / saved
all the kinds (text, text diff, notebook, notebook diff, custom, unknown)

special cases: workbench.editor.closeEmptyGroups: false and empty groups

We need to make sure that proper commands or API is used when altering state to prevent flaky tests as outlined in https://github.com/microsoft/vscode/issues/145773#issuecomment-1077782847

I would try to get as much coverage done as possible with the API you have and leave the rest for later. Via API you can open editors, make them dirty, even open multiple editor groups, so a bit of coverage should be possible.


Update the minimum CMake requirements for pioasm

Not sure what the plans are from CMake, but there's a constant deprecation warning when building that gets triggered because the minimum CMake version listed in pioasm's CMakeLists.txt is 3.4.
Just wanted to raise the issue in case there's second order consequences from bumping this to >3.5.

Was fixed in https://github.com/raspberrypi/pico-sdk/pull/1546

fix is in develop


Rnn operator

implementation of rnn operator

From jenkins:
/var/jenkins/workspace/rm_AMDMIGraphX_rnn_operator-5OSSTIE35AKYL5KEUCW73NC5DPYN5R3T7CVOY2AVFZUITGULB3EQ/src/rewrite_rnn.cpp:46:17: error: multiple declarations in a single statement reduces readability [readability-isolate-declaration,-warnings-as-errors]
                instruction_ref bias_forward, bias_reverse;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/jenkins/workspace/rm_AMDMIGraphX_rnn_operator-5OSSTIE35AKYL5KEUCW73NC5DPYN5R3T7CVOY2AVFZUITGULB3EQ/src/rewrite_rnn.cpp:56:17: error: multiple declarations in a single statement reduces readability [readability-isolate-declaration,-warnings-as-errors]
                instruction_ref ih_forward, ih_reverse;
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/jenkins/workspace/rm_AMDMIGraphX_rnn_operator-5OSSTIE35AKYL5KEUCW73NC5DPYN5R3T7CVOY2AVFZUITGULB3EQ/src/rewrite_rnn.cpp:213:5: error: multiple declarations in a single statement reduces readability [readability-isolate-declaration,-warnings-as-errors]
    instruction_ref hidden_out = prog.end(), last_out;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Back from transaction detail should go to transaction list with current page

When I navigate to transaction detail from transaction list, and then go back, the default list always display the first page. The list should stay at the same page as I leave.
The same problem with other lists (account, token,...)

we should add page number to url, so user can back to right page @pqv199x

Implement save for the other table with pagination

Implementation pull request:
https://github.com/tomochain/tomoscan/pull/376


cloudformation crowdstrike registration

Hey,
I want to registered Falcon to my aws accounts. I want to do it on each account (not in aws organization) in cloudformation. I didn't know which template i need to use.
Also there is a way to add the clinet_id and the secret not hardcoded? I'm going to run it with pipeline and not form the console.
TNX

@Gal-Shukrun I can work on adding a single-account template.  To pass keys we normally build the templates to accept them via parameters, with NoEcho set to true for security.  You can pass the keys to the parameter when you call the template in your pipeline.  Does this satisfy your requirements?


Cmake issue

Thank you for sharing the tool . I was able to install TF C API and trying to install cppflow as per the procedure you put. However, when I issue cmake commmand in the same directory where I extract the TF C API , and of course inside build directory , I am having this error " The source directory /home/.... does not appear to contain CMakeLists.txt
I am unable to complete cppflow installation due to this catch.  I follow the recommendation to tell cmake the directory where TF C API is installed , while doing that I got the this error :- No source or binary directror was provided . Both will be assumed to be the same as the current working directory , but note that this warning will become fatal error in the future CMake releases.
I try searching on the net , but most explain this case for opencv and somehow it can't relate to the issue I face. I am unable to move on and  apprecite any help on this ... thank you

@bmiftah,
Does your project uses Cmake; if not, why did you try to build your code with Cmake?
BTW, I use gnuMake and have configured configure cppflow to build like this:
PREFIX=${CURDIR}/sysroot
cppflow:
        [ -d cppflow ] || git clone https://www.github.com/serizba/cppflow.git
        mkdir -p cppflow/build
        cd cppflow/build && cmake -DBUILD_EXAMPLES=OFF -Dtensorflow_INCLUDE_DIRS=${CURDIR}/tensorflow -Dtensorflow_LIBRARIES=${PREFIX}/lib ..
        cd cppflow/build && make
        mkdir -p ${PREFIX}/include
        cd cppflow && cp -rf include/cppflow ${PREFIX}/include

notice that tensorflow is also in the build directory.

Thanl you for your reply. I was simply trying to run my tensorflow model in a C++ linux en't. For that, I was drawn to your repository -> https://serizba.github.io/cppflow/installation.html#install-cppflow , I just have xx.pd model ( saved model with Save_Model function of tensorflow)
I install TF C API  as :-

sudo tar -C /usr/local -xzf (downloaded file)
sudo ldconfig
and exported the path

export LIBRARY_PATH=$LIBRARY_PATH:/path/to/mydir/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/mydir/lib

And followed this from the source shared :-
As for your query - Does your project use Cmake; if not, why did you try to build your code with Cmake?
umm ... I was just following the below tip
**we provide a CMake file that will install the library in your system. To install it, you just have to:
mkdir build
cd build
cmake ..
make -j
make install**
I did this inside the directory where  I extract TF C API.
I think may have gotten the concept and/or steps wrong , I should do this inside cppflow ... I will follow the above step you shared ,
Btw , I was having access issue when I try to clone cppflow.git ....
pardon my approach !

Hi @ljn917  Thank you for your tip. Yes I did that following the steps given  above by @resetpointer ... Here is the command line error I bump into ..it could be silly mistake but  I didn't catch it .

It seems you need to tell the compiler the location of the include dir with
-I flag
On Tue, Dec 20, 2022, 11:35 AM Miftah Bedru @.***>
wrote:

Hi @ljn917 https://github.com/ljn917 Thank you for your tip. Yes I did
that following the steps given above by @resetpointer
https://github.com/resetpointer ... Here is the command line error I
bump into ..it could be silly mistake but I didn't catch it .
[image: image]
https://user-images.githubusercontent.com/28997140/208577985-bef1220a-1bb9-484e-ac2c-3f13a033eff0.png
—
Reply to this email directly, view it on GitHub
https://github.com/serizba/cppflow/issues/229#issuecomment-1358795196,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALDTHTGIPIDR3NBX6YZSUDWOESQVANCNFSM6AAAAAATDFG5O4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi again @ljn917 , Yes , I did that when running the sample main.cpp test code. Here is how I run it :
g++ -I include -o main.out main.cpp -ltensorflow
-I include  , to tell the complier location the cppflow.h , I also gave complete path to dir include, nothing change then.
Below is the error and this time iostream.h is not found.  I have the TF C API installed and path exported.
main.cpp:1:10: fatal error: iostream.h: No such file or directory
1 | #include <iostream.h>
|          ^~~~~~~~~~~~
compilation terminated.
I don't have problem running for example the ff c code.
gcc hello_tf.c = ltensorflow -o hello_tf
./hello_tf
it give the output as expected.
That C++ Code is not running yet.

@bmiftah Try #include <iostream> (without the .h)

main.cpp:1:10: fatal error: iostream.h: No such file or directory 1 | #include <iostream.h> | ^~~~~~~~~~~~ compilation terminated.

Thank you   @ljn917 again,  That error  gone when I remove the '.h'  in iostream.h  but then the cppflow.h start to complain.  Though I try similar tip for this as well.
main.cpp:2:10: fatal error: cppflow/cppflow.h: No such file or directory.
2 | #include <cppflow/cppflow.h>
|          ^~~~~~~~~~~~~~~~~
compilation terminated.

Hi , @ljn917  I remove the '.h'  and put the location of cppflow in the compiling command as follows :
g++ -I include -std=c++17 -o main.out main.cpp -ltensorflow and I was able to run the demo example.
Thanks , I will go on to the real adventure of running saved model !

Thank you @ljn917 @resetpointer   for being supportive. This is resolved !


Updates for bupstash

Thank you for taking the time to complete the comparaison table.
Before I merge this, I just need to understand one thing:
For the question "Can a compromised client delete backups?" you replaced "No (backup only key)" with "No (ssh permission)".
I am aware that I should have named the backup only key a "sub key" as per bupstash documentation, but aren't sub keys the good way of adding backups without being able to delete them client side ?

Sub keys control decryption, this may be something in the documentation that needs to be improved. As an example you can can delete data without having a decryption key at all.
The correct way to prevent deletion is to limit access to what commands a user can run - this can be done an ssh forced command or something like openbsd's 'doas' utility which limits how the 'bupstash serve' command is invoked.
Consider the case a user just uses ssh to run rm -rf ./my-repository - you need to restrict the users ability to run commands, for bupstash you must restrict them to only running bupstash serve --allow-put /path/to/repository to remove the ability to do anything except making new backups.
I am going to add another simpler method to disable deletion for a repository as a whole in a future release.

Thank you for the clarification.
I indeed conifgured the authorized_keys file to run bupstash serve in the script, so, yes, I totally misunderstood the sub key concept ;)

You are not the first person to get confused by that, I think its a sign I need to rewrite the documentation and explain it better.

I've merged your notes, after rewording some (the ssh and push backup ones).
Feel free to open another PR if the wording does seem off.


fix(ecma/transform/compat): private getter/setter

Description:

BREAKING CHANGE:
would require a new version of @swc/helpers

Related issue (if exists):
closes #3618

I copied blindly from babel, which implementation is inefficient and wrong, I will start all over again.

This would be the final blockade before loose mode for class properties

@kdy1 you seems like to public @swc/helper before this pr merge

I published twice, once due to https://github.com/swc-project/swc/commit/72c9e6ca2b8186c4b297658bec1ce37912898d9f and once due to this PR


Manager and Worker on the same host (node)

Hi,
Question.
Is it possible to run Manager and Worker on the same host?
If yes. How to do it? Any hints?

Hi @lzalewsk
I am afraid your issue is related to Swarm Mode in Docker Engine. You had better put forward an issue in project docker/docker (https://github.com/docker/docker/issues).
Further, you can read https://github.com/docker/swarm#swarm-disambiguation for more details.
Closing this. If you need help, please reopen and just ask us.


Add source Reference metadata to Chat response

A Chat response currently only includes the message text. Ideally, we'd like to cite the References that were used to create the message response.
We should update the response to include metadata about the source References.

if we decide to use langchain they have a method to do that - https://python.langchain.com/docs/modules/chains/popular/vector_db_qa#return-source-documents
If we want to keep it simple we can just use prompting to cite the article like I did in S2QA where the source is send to the LLM as context and it cites it in the generation.

@shauryr yea, I was thinking something like the latter where we include the citations in the response from the LLM. I did similar when building a very early prototype.

As part of this we might want to update ingest to use text extracted via a pdf parser (e.g. pypdf) rather than the document text received from the Grobid response. Using the text extraction via our PDF parser will also allow us to add page_number to the metadata for a given chunk, which will be useful for informing a user how the chat bot came up with an answer.

Poking around LlamaIndex's QueryCitationEngine, it looks like it accomplishes adding citations by:

Some prompt-fu here
Adding a list of citation source nodes to the response which are able to be drilled into more deeply so that a user can see the underlying text chunk (see example here)


Design Meeting Notes, 5/25/2022

cts files should be modules?
https://github.com/microsoft/TypeScript/issues/49207

Historically, TS detects if a file is a module depending on import/export syntax present.
moduleDetection flag allows you to control that.

Has a force option that makes it so that everything except .d.ts files are modules.
Also has auto, which says mts and mjs are supposed to be modules

BUT we didn't do this for cts and cjs
Idea was consistency with ts and js files

Should we...

Update --moduleDetection auto to recognize cts and cjs
Make --moduleDetection force in Node16+?

cts and cjs will always be processed as (CJS) modules by Node.js, so we should always recognize them as (CJS) modules

Sure, but --module node16 implies you're going to be running in Node16 too?

Team is leaning towards both.
It's a break, but we'd need to do this in a patch and ASAP because it's not desirable long-term behavior.
We want to do both. May need to consider API breaks though. 😕

/** @suggest */ JSDoc Tag
https://github.com/microsoft/typescript/issues/49220

Want to suggest well-known values to users for a more open-ended field (e.g. GET, POST, DELETE... but the field is open-ended so it's just a string).
/**
 * @suggest {"GET" | "POST" | "DELETE} e
 */
function f(e: string) {
  // ...
}

Bikeshed time
/** @suggest {"a" | "b"} */
let foo: string;

/**
 * @param e @suggest {"GET" | "POST" | "DELETE}
 */
function f(e: string) {
  // ...
}

Is the @suggest part of the value or part of the type?

Tying to the usage site, but it's intending to "replace" the type itself.
How does this get funneled along? What if you throw the type of a property through a mapped/conditional type? Do you then generate an @suggest whose contents were processed by said conditional or mapped type?

Lots of people ask for stuff like "GET" | "POST" | ... | string to achieve this. It doesn't make sense from a set theory perspective, but they want it for tooling.

People often want this to

Spell check literals that are "similar", but is at odds with supporting any string.
Completions.

We've heard Python is adding a type constructor for these purposes, but it is a little strange? Rejects unrecognized literals, allows all strings.

Tagging work we've done in the past (link @weswigham?) is one way to achieve this.

[[Something about leveraging]]
type Completions<TKey extends PropertyKey> = {
  completions?: { [K in TKey]?: any }
};

Need to better understand this. CSS Types, look on DT for unions with string.

Ideally, this completion data is associated with the type and traverses along.

Union origins achieve this almost - we preserve the non-normalized origin of a union if the type itself is a union.

Could have multiple string types with completion info associated, but then have to subtype-reduce them to a new string type with a "unioned" completion info.

Type system should tell you about sets of values and what are reasonable sets of values. This is entirely about editor experience and documentation.

Feels like we need to prove things out here.

The next step after the design meeting is to see whether this proposal, or the feature overall, can work with the patterns in CSSType. Here's a miniature model of what it looks like today:
export interface Properties<T = string & {}> {
  positionX?: Property.PositionX<T> | undefined
}
export type Globals = "inherit" | "initial"
export type PositionX<T = (string & {}) | 0> = Globals | T | "center" | "left" | (string & {})

export type Repeat = Globals | RepeatStyle | (string & {})
type RepeatStyle = "no-repeat" | "repeat" | (string & {})

Used like this:
// @filename: main.ts
import type { Properties } from "csstype"
const o: Properties = {
  positionX: "left" // completions should suggest "inherit", "initial", "center", "left", 0
}
const o2: Properties<"custom" | 1> = {
  positionX: "assignable to string" // completions should suggest "inherit", "initial", "center", "left", "custom", 0, 1
}

Translating the mini csstype into a jsdoc style would look like this:
export interface Properties<T = string> {
  positionX?: Property.PositionX<T> | undefined
}
export type Globals = "inherit" | "initial"
/** @suggest {Globals | T | "center" | "left"} PositionX */
export type PositionX<T = string | 0> = T | string

/** @suggest {Globals | RepeatStyle} Repeat */
export type Repeat = string
/** @suggest {"no-repeat" | "repeat"} RepeatStyle */
type RepeatStyle = string

The only repetition is in PositionX, which has to repeat the type parameter T in the type and in the @suggest tag.
To make this work, completions for positionX would have to look for a jsdoc @suggest not only on positionX in csstype, but the declaration(s) of its type.
In theory this lookup should follow properties through mapped types, etc, although it's probably not a usage that exists today.


feat: Adding index to relevance_table on user_id column

Base the fact that relevance table will be a huge after a while, I've added an index for user_id column so looking for user relevances will be faster in the future. Adding an index to relation_name column might be another option.

add an index to the user_id column


show all token without typing

Hi , Setting minimumCharactersToSearch to 0 doesn't show all tokens when clicking the view

Please see example project "AutolayoutExample".


Data

Dear Mart,
In the README, the data/example.ipynb in HookNet-TLS Annotations: https://zenodo.org/records/10614928 only converts XML to PNG, which may not be the Tissue-Background Segmentation Algorithm as in the Grand Challenge. How can I obtain the Segmentation Algorithm since the application is still pending?
Regarding the HookNet-TLS Annotations Masks: https://zenodo.org/records/10635034, the TIF files cannot be opened and show as damaged. This should not be due to my computer, as other TIF files can be opened normally. Even after re-downloading the masks, it does not work.
Additionally, I would like to ask if it is possible to successfully deploy the model locally since it can be deployed in Docker.
Thank you very much.

Dear Madeypo,
Unfortunately i am not the owner of the tissue background segmentation algorithm. I would advice you to contact grand-challenge support. Alternative you could use something like Otsu's method to generate a tissue mask.
The tiff files can be opened as an overlay with ASAP software (https://computationalpathologygroup.github.io/ASAP/)
Furthermore you can openen them in python with wholeslidedata (https://github.com/DIAGNijmegen/pathology-whole-slide-data) and the "asap" image backend. Please let me know if you still have trouble opening them.
Yes the model can be deployed locally. Please le me know if you have any further questions about it.
Best wishes,
Mart

Dear Mart,
How can I generate a WSI-sized mask image from XML? This might be limited by Python libraries, making it impossible to obtain high-resolution mask images.
Best wishes

Dear Madeypo,
Here is an example to generate WSI sized mask from xml annotations files:
https://github.com/DIAGNijmegen/pathology-whole-slide-data/blob/main/scripts/convert_annotations_to_mask.sh
However for HookNet-TLS annotations i already created them and you can download them here:
https://zenodo.org/records/10635034


Handling errors

Should the documentation include ways to handle failed jobs so that SQS does not keep running them indefinitely?

Hi, I think this gem acts like a bridge between your app and aws SQS. So both failed jobs and pause jobs are handled at aws SQS.
Failed job can handle by SQS Dead Letter Queue..
Pause a job, I'm not sure how to do that. Doesn't seem can be paused.

@lovesmall - I added a "rescue Exception => exception" to stop the SQS job from rerunning.

As active-elastic-job is implemented as a rack middleware things like the Rails log and exception tracking aren't possible 😌

@mrreynolds - Worked for me.


Text to Voice Converter

Implementing Text to voice converter using Html,Css,Js. A text-to-voice converter is an application or tool that converts written text into spoken audio. It utilizes text-to-speech (TTS) technology to generate human-like speech from input text, enabling users to listen to written content instead of reading it.


CustomOverlay does not exist in MobileBarcodeScanner

I cannot use a custom overlay with MobileBarcodeScanner as there is no property available to assign a custom overlay to. This is the error that I get when I want to assign a view to that property.
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1061	'MobileBarcodeScanner' does not contain a definition for 'CustomOverlay' and no extension method 'CustomOverlay' accepting a first argument of type 'MobileBarcodeScanner' could be found (are you missing a using directive or an assembly reference?)	ScannerTesting	C:\Users\kalpr\Source\Repos\ScannerTesting\ScannerTesting\ScannerTesting\MainViewModel.cs	88	Active

Please see:
https://github.com/Redth/ZXing.Net.Mobile/blob/master/Samples/Android/Sample.Android/MainActivity.cs
you need include these using:
using ZXing;
using ZXing.Mobile;
using ZXing.Net.Mobile.Forms;

and add the nugets pkg:
ZXing.Net.Mobile
ZXing.Net.Mobile.Forms
regards

Still didn't work.

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Simple and fast way to find element by value

In our .Net-application we have a lot of problems when we can find an element in a tree or in a grid only by its value.
Now we have to use something like this:
            var treeItems = desktopSession.FindElementsByXPath("//Group/TreeItem/DataItem");
            WindowsElement docItem = null;
            foreach (var item in treeItems)
            {
                if (item.Text.Equals("Docs"))
                {
                    docItem = item;
                    break;
                }
            }

Finding items in this way is time consuming. Is there an easier and faster way to find an element by value?
I need something like in Coded UI:
docItem.SearchProperties[WinCell.PropertyNames.Value] = "Docs";

I don't think there's such a method. You may use LINQ instead of a foreach loop, it will make the code look elegant but behind the scenes LINQ will also use foreach.
Maybe there's another control attribute which you could use with the GetAttribute to cobble together a logic. But essentially, this is just it.

I only use WinAppDriver with classic forms so the following may not be applicable
Language is C#
  public static OpenQA.Selenium.Appium.AppiumWebElement GetTreeNodeControl(OpenQA.Selenium.Appium.AppiumWebElement treeControl,
                                                                           String strNodeSelector)
  {
     string strControlType;
     OpenQA.Selenium.Appium.AppiumWebElement commandButton;
     string nodeSelector;

     nodeSelector = "//TreeItem[@Name=\"" + strNodeSelector + "\"]";

     try
     {
        commandButton = treeControl.FindElementByXPath(nodeSelector);
        strControlType = commandButton.TagName;
        if ("ControlType.TreeItem" != strControlType)
        {
           Assert.Fail("Control not a Tree item control");
        }
     }
     catch (Exception ex)
     {
        commandButton = null;

     }
     return (commandButton);
  }

// restrict search to children of current treeItem
public static OpenQA.Selenium.Appium.AppiumWebElement GetChildTreeNodeControl(OpenQA.Selenium.Appium.AppiumWebElement treeControl,
String strNodeSelector)
{
string strControlType;
OpenQA.Selenium.Appium.AppiumWebElement commandButton;
string nodeSelector;
     nodeSelector = "child::*/child::TreeItem[@Name=\"" + strNodeSelector + "\"]";

     try
     {
        commandButton = treeControl.FindElementByXPath(nodeSelector);
        strControlType = commandButton.TagName;
        if ("ControlType.TreeItem" != strControlType)
        {
           Assert.Fail("Control not a Tree item control");
        }
     }
     catch (Exception ex)
     {
        commandButton = null;

     }
     return (commandButton);
  }

@naeemakram thank you for answer. Therefore, it should be future request.
I think this case can be popular – to find element with specific value.

@DLightstone
In your case, you use xpath and specific value of element’s “Name”.
In my case, I don’t have unique “Name” value, only “ValuePattern.Value”.

@testanna
I am confused by your reply.
Name in my case corresponds to the text of the tree item that is displayed as the node label.
For which Windows target environment was the application developed?
Which Tree View control are you using?

@DLightstone
My tree's properties:

DataItem in this tree:

@testanna
Now I am really confused.
I have associated TreeItems with Trees
I have associated DataItems with Grids (display of database tables)
The Tree Control which I am using is definitely not the same as the one which you are using.
I am using
ClassName="WindowsForms10.SysTreeView32.app.0.141b42a_r6_ad1"
I do not know which application you used to prepare the 2 screen images. (Which application?)
My guess is that the application you used prepares its display from the XML file that corresponds to the currently displayed screen. (Capture XML, process, filter and display). Debugging efforts are best conducted from the raw XML.
https://github.com/microsoft/WinAppDriver/issues/856 (you will have to modify it slightly it references libraries which only I have) indicates how you can capture the actual XML. . Insert a call to
SaveSourceToFile(string window, string strFile) in the test script where you want the screen image captured as XML
If there is a tree present the XML will contain something like

If there is a tree present the XML will contain something like

@DLightstone
I guess we use custom controls based on DevExpress, but I'm not sure.
I use VisualUIAVerifyNative.exe in screenshots.
But I don't really understand how this information can be helpful in this issue.
The path for DataItem is somthing like: //Tree//TreeItem/DataItem.
No TreeItem neither DataItem doesn’t have unique value of "Name" property.
My entire conditions - I have element that I can find only by "ValuePattern.Value" (not by "Name") and I want to find it faster than in my example.

I do not have access to DevExpress, so there is not a lot I can do.
Generate the XML, maybe VisualUIAVerifyNative.exe is concealing some useful information

Perhaps something like this? (with Linq
var element = desktopSession.FindElementsByAccessibilityId("_tree").Where(e => e.GetAttribute("Value.Value") == [yourText]).FirstOrDefault();


Windows installation

I'm trying to install eo-learn on a windows. After using pip install eo-learn , I get the following error:

I updated GDAL to latest version, but still I get the same error.

That is the issue related to rasterio on windows. Please have a look there. (see also issue https://github.com/sentinel-hub/eo-learn/issues/30)

Yup, installing rasterio solved the problem.
Saw the other ticket, but was confused by different error message. In any case thanks for the quick response, closing the issue.


fix(node): added node v12 support for libindy check

Signed-off-by: Berend Sliedrecht<EMAIL_ADDRESS>

Codecov Report

Merging #541 (cda9bbd) into main (62eab74) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #541   +/-   ##
=======================================
  Coverage   85.93%   85.93%
=======================================
  Files         267      267
  Lines        5836     5836
  Branches      951      951
=======================================
  Hits         5015     5015
  Misses        818      818
  Partials        3        3

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 62eab74...cda9bbd. Read the comment docs.


Overall architecture / adbackup todos

Todos for adbackup

core

[x] make adbackup usable as module and cli tool #9

[ ] define api interface (should be consistent between module and cli)

device connection

[x] list available devices #4
[ ] wrap backup/restore commands #12
[ ] list available apps to backup on device

backup/restore options (adb)

[ ] with system applications
[ ] with data
[ ] sd card
[ ] single app with data

data handling

[ ] unpack backup
[ ] define how to store data to make incremental backups possible
[ ] store data and apps

[ ] maybe use a databate for storing files? #6

documentation

[ ] preconditions (install adb, enable debug mode etc)
[ ] how adbackup works

frameworks

[x] include failure #1
[x] include log #5

should we assign a milestone to this issue? maybe "1.0.0-feature-complete" or "1.0.0-alpha" or something?

also, is it okay if I do the split between lib and cli tool? (core - make adbackup usable as module and cli tool)?

Yea...hmm would say only 1.0.0?
We can define in an other step and location what the 1.0.0 is (alpha, beta, or release candidate...)...right?

...if I do the split between lib and cli tool? ..

For sure, go for it 👍

Yea...hmm would say only 1.0.0?

1.0.0 alone would not be 100% correct in my opinion as this issues just lists features and architecture goals. a 1.0.0 milestone should be the 'whole thing' which this issues does not represent (this is why we changed the title to "overall architecture [...]")

We can define in an other step and location what the 1.0.0 is (alpha, beta, or release candidate...)...right?

isn't an alpha / beta / rc an unfinished state of a major version? I think the convention is to have a 1.0.0-alpha which is feature complete, a 1.0.0-beta which is relatively bug free and a 1.0.0-rc which is the finished state but still needs testing. if the tests are successful the rc then gets released as 1.0.0.
we can also have a 0.9.0 (for example) as alpha, 0.9.5 as beta and so on - I don't really care either way but I think the first pattern is more common

I think we actually started two discussions: What is the milestone of this issue and what is our versioning strategy.
What is our versioning strategy
The version for Jan/Feb should be a release afaik (think that was required by the lecture)...in my option 1.0.0? To make some earlier versions would be nice to represent the dependencies for the tasks but I think that would be too much overhead...so we should assign all other issues to version 1.0.0?
What is the milestone of this issue:
For this issue maybe no milestone is needed because all tasks referenced here already have milestones...

we don't have any milestones configured yet, how can all tasks already have milestones? but yeah, let's just use 1.0.0

...so we should assign all other issues to version 1.0.0?

I meant that all other issues than this one should have version 1.0.0.
Ok nice, will create the milestone and assign the tasks...

As disscussed, I will implement #12 (implement backup/restore commands) in the next few days... btw 🎄🎁 ☃


[FLINK-9659][tests] Replace hard-coded sleeps

This PR replaces hard-coded sleeps in the bucketing sink end-to-end test.
Instead we use utility functions to wait for specific events, in this case some progress in the job (measured by number of checkpoints) and the job finishing (by waiting for FINISHED state).

I tried your changes both rebased on current master and unrebased. But the test is not runnable anymore. It gets stuck. Was it runnable on your machine?
Even with the current master the tests seems to fail now on my machine with an error.

Could it be that you didn't wait long enough? We do after all replace a 100 second sleep.
What error do you get?

After knowing that we have to use the run-single-test.sh script. I could also run this successfully. Will merge this...


Bower support

Hello!
It would be nice to have Bower support!
Thank you!

+1

+1

+1

+1

Just pushed a bug fix to detect IE11 on Win 10 and added layout-engine to bower


Improved status command

Here is a new keybase status command.  It outputs stuff like this:
Username:      kwejfkwef
Logged in:     yes

Device name:   home computer
Device ID:     dc268bf91b698658dbd4c1998ae4bc18
Device status: active

Local keybase keychain: unlocked
Session status:         kwejfkwef [salt only]

KBFS:
    status:    not running
    version:
    log:       /Users/patrick/kbtest/Library/Logs/KeybaseDevel/keybase.kbfs.log

Service:
    status:    running
    version:   1.0.8-0
    log:       /Users/patrick/kbtest/Library/Logs/KeybaseDevel/keybase.service.log

Client:
    version:   1.0.8-0

Desktop app:
    status:    not running

Config path:        /Users/patrick/kbtest/Library/Application Support/KeybaseDevel/config.json
Default user:       kwejfkwef
Provisioned users:  jejjejje, kwkwwkwkkw, wjkwjekkw, 111

It can also output json and works logged out as well.
This runs now as keybase nstatus.  I haven't touched keybase status as I don't know what we should do with it...is the information that it provides more useful than keybase device list?
Also, the kbfs status of running/not running is only implemented for os x currently via @gabriel's install package.
r? @maxtaco @malgorithms
cc @oconnor663 @cjb @gabriel

this output looks great to me. I don't know if anyone was using that old status command, so I personally would vote for replacing it, unless @maxtaco or someone else speaks up in defense.

I'd propose renaming the current status command to keyfamily and removing the first four lines.

I find the old version very useful and don't want to see it nuked.

keyfamily sounds great to me.

is it something users will ever use outside of our instruction? If not, then we should make sure it doesn't appear in help.

Can the" "hello" RPC also say where the log is?  That seems very reasonable too.

Yes, but currently it's stdout for service and kbfs.  It's only the process manager (like launchd) that sends stdout to a file.  So kbfs doesn't really know where the log file is.

Let's call the old command keybase dump-keyfamily?

(Got it about the log file location, good point)

Ok, old status is now dump-keyfamily.
nstatus is now status.
And minor fixes from PR done.
PTAL

And dump-keyfamily doesn't show up in keybase help

:+1: but while you are there, can you contextify dump-keyfamily and not use GlobUI?
At this point, we're almost done!


fix: bandwidth_test_stochastic_limit function

The stochastic limit function is failing to limit data consumption to ~200 GB per month for some devices deployed through our study. A handful of devices are using around 300-400 GB per month or more (see, e.g., ba43, e768, f51f, 392b, ebb9, 546b, 47bf, f507, 9041, 3ac0, 4a4d).
My running theory for why this is happening for some devices is that the stochastic limit function uses the maximum download speed to determine the number of tests that should run each month. For devices that are connected to a symmetrical high speed link, where significant data is used to run both upload and download tests, the function might not be calibrated correctly.

interesting, they're all at&t symmetric links 370, 600, 1gbps.


Add notice that repository is no longer being maintained

Overview
Active development of this version of DistrictBuilder has ceased and is being continued in https://github.com/PublicMapping/districtbuilder.
Checklist

[x] PR has a name that won't get you publicly shamed for vagueness
[x] Files changed in the PR have been yapf-ed for style violations

I recognize that the Travis builds are failing, but I'm not able to get this up and running with scripts/setup to try and debug. I don't think it's worth fixing since this repo is no longer being maintained. I'm going to go ahead and merge.


Testing model on MNIST

The current model is tested on the complete mnist_train.csv dataset with data preprocessing.

Test accuracy: 96%
Training duration: ~20 mins

Testing is done with the following setup:
NumericDataLoader loader = NumericDataLoader(csvPath, "label"); // shuffle = true by default
loader.linear_transform((2 / 255.0f), -1.0f); // Scale the data to the range [-1, 1]
auto inputs = loader.train_test_split(0.8);

Model model;
model.Add(new DenseLayer(loader.num_features(), 256)); // Input size = number of features
model.Add(new BatchNorm(256));
model.Add(new LeakyReLU());
model.Add(new Dropout(0.2));
model.Add(new DenseLayer(256, 64));
model.Add(new BatchNorm(64));
model.Add(new LeakyReLU());
model.Add(new DenseLayer(64, 32));
model.Add(new BatchNorm(32));
model.Add(new LeakyReLU());
model.Add(new DenseLayer(32, loader.num_classes())); // Output size = number of classes

Adam optimizer(0.01);
CrossEntropyLoss loss_fn;

model.Train(inputs.train_features, inputs.train_labels, 20, 256, loss_fn, &optimizer);
model.Test(inputs.test_features, inputs.test_labels, loss_fn);

From my observation to conclude we already reach pytorch level performance, it's just very slow...


implemented Flatten Module

Pull Request Description:
This pull request introduces a convenient way to flatten tensors in a flexible and readable manner.
Changes Made:

Defined a flatten function that flattens a contiguous range of dimensions in a tensor.
Created a Flatten module, a subclass of Module, which can be used to flatten input by reshaping it into a one-dimensional array.

Details:

The flatten function takes an input tensor a, along with optional start_dim and end_dim parameters, and returns the flattened tensor.
The Flatten module provides a high-level interface for flattening input tensors. It is initialized with optional start_dim and end_dim parameters.
The module includes a documentation section with details about the input shape, output shape, and examples demonstrating the usage of the Flatten module.

Examples:
import mlx.core as mx
import mlx.nn as nn

# Example 1: With default parameters
input_tensor = mx.random.normal((32, 3, 224, 224))
flattener = nn.Flatten()
output_tensor = flattener(input_tensor)
print(output_tensor.shape)  # Output: [32, 150528]

# Example 2: With non-default parameters
flattener = nn.Flatten(start_dim=0, end_dim=2)
output_tensor = flattener(input_tensor)
print(output_tensor.shape)  # Output: [21504, 224]

Checklist

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

Do you mind if I push some changes to this? I added a few things in the C++  + some tests. I tried pushing them to your branch but I don't have permission. I think you can modify the permission in the PR to "allow edits from maintainers"
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork


Docs/fix vuepress build

Fixes #295

Separate Vuepress package.json into docs folder to avoid dependency conflicts
Add a ci for Vuepress build

Build on pull request so that it is now visible if a PR breaks the docs build
Auto publish gh-pages when main branch is updated

I did not realise you managed this fix and great to see you could split to simplify the package.json for konviw.
In parallel I managed to upgrade to vuepress 2.0, see
https://github.com/Sanofi-IADC/konviw/pull/294/commits/f6eedd2ff3e3c67e3ab27e1e6f4b491cfaac774a
ready to merge.
We could merge that change and apply your changes to keep the idea to split the docs, which is better.

I found some merge conflicts after merging https://github.com/Sanofi-IADC/konviw/pull/294 due to the migration to VuePress v2, so proposed a new commit with the fix.


fix(getVersion): add Utils to public interface of this module

Summary
need Utils in the public interface to use it from sphere-node-utils
Description
Utils is exported, now it can be used externally. Because the new getVersion method is thought to be used externally. This is required to fix a vulnerability in sphere-node-utils that is spreading throughout the tools code base
Todo

Tests

[x ] Unit
[ x] Integration
[x ] Acceptance

[ ] Documentation

sorry here is something I forgot in my last PR.


Added to HtmlEntityService.IsInvalidNumber method check for 0x0.

This case will shoot when parsing hex code that is bigger than Int32,MaxValue from html page.

Actually I would be so happy if you accept this as fast as you can. I need this code and I don't want to use my fork at project. Also I will start an issue describing base bug with overflow.
Also I did`t found any tests on this static class, so I just left as is.

I will add unit tests.

I can't build solution on local machine, so I can't execute all tests and check that they are corrent. I will try fix my problem and build this. But anyway can you run unit tests on my changes?

Hi there. How release are going? :)


[BUG] Cannot add TV accessory due to setup code already being used by another plugin

Describe the bug
I cannot add the Harmony TV accessory to Homekit, as the same setup code is being used by another TV service created by a different homebridge plugin - specifically, the homebridge-webos-tv plugin. These are both currently setup as child bridges:

[1/1/2024, 9:43:52 PM] Please add [harmony-hub-TV 0E00] manually in Home app. Setup Code: 031-45-154
[1/1/2024, 9:43:51 PM] Please add [LG CX 77 B71B] manually in Home app. Setup Code: 031-45-154

To Reproduce
Setup a TV accessory with a different plugin with the same setup code.
Expected behavior
A unique HK setup code, or a way to regenerate a different code.
Screenshots
N/A
IOS (please complete the following information):
N/A
Logs
N/A
Config
N/A
Additional context
I'm not sure if there any rules around the setup codes being generated - are codes supposed to be UUIDs, or are they more deterministic in that the placement of numbers in the code indicate something to HomeKit?

Hi, did you try to use the pin option in your config on the child bridge ?

🤦♂  TIL about the pin option - thanks for the tip. I gave this a whirl, and I do see the new pin reflected in the logs.
However, in the Home app UI, after entering the new code, it just goes back to the "Select An Accessory to Add" screen. This is the same screen that comes up after tapping + > Add Accessory > More options. Assuming something discovery related here, since the accessories show up in the Homebridge UI just fine. Took a brief look at startup logs and saw this:

[1/2/2024, 4:35:05 PM] Publishing external accessory (name: harmony-hub-TV, publishInfo: {
username: '',
pincode: '--**',
category: 31,
port: undefined,
bind: undefined,
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: 'avahi'
}).

Are the undefined values indicative of anything? Any ideas on where I can poke around next?

I removed the old bridge from Homekit, uninstalled the plugin in Homebridge, and started from scratch with a new PIN. But the TV Accessory is still MIA. Any ideas on where to go from here?
In the logs I see the activities discovered, and the corresponding switches are created since I have the switchAccessories set to true:

[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)WARNING - No main Activity that match config file found, default to first one
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Configuring Main Activity Watch Apple TV
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Creating TV Speaker Service
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Discovered Activity : Watch Apple TV
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Discovered Activity : Play PC
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Discovered Activity : Play Switch
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Discovered Activity : Play PS4
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - Discovered Activity : PowerOff
[1/3/2024, 7:20:33 PM] [harmony-hub] (harmony-hub)INFO - setupFoundAccessories - TV accessory added as external accessory
[1/3/2024, 7:20:37 PM] [harmony-hub] INFO - stopping hub discovery, hubs found : undefined

Configuration:
{
    "name": "harmony-hub",
    "hubIP": "<IP_ADDRESS>",
    "hubName": "harmony-hub",
    "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,
    "HUB_CONNECT_TIMEOUT": 10000,
    "HUB_SEND_TIMEOUT": 30000,
    "TVAccessory": true,
    "sortInput": 2,
    "switchAccessories": true,
    "showTurnOffActivity": "true",
    "otherPlatforms": [
        {
            "TVAccessory": false,
            "sortInput": 0
        }
    ],
    "_bridge": {
        "username": "0E:70:7A:E8:6D:9E",
        "pin": "427-66-694",
        "port": 59912
    },
    "platform": "HarmonyHubWebSocket"
}

Did you try to add it manually (it is not added with the bridge itself, since it is an external accessory)? You might have also to clear the homebridge cache / delete old accessory if it was previously added.
Please also remove
"otherPlatforms": [
{
"TVAccessory": false,
"sortInput": 0
}
],
since your conf since you have only one hub.

PEBKAC. External accessories are cached under a different setting than the standard cached accessories list. Clearing an old version of it allowed it to come back. Appreciate your patience and guidance in the matter. 🙌


Wiki: add/edit wiki fix link & table code layout

Quickstart: Add and edit wiki pages (https://docs.microsoft.com/en-us/azure/devops/project/wiki/add-edit-wiki?view=azure-devops&tabs=browser)
Table "Commands":

fix hyperlink "open wiki"
consistent capitalization of table header
white space consistency
description in table not ending with a stop (consistency)

@Styxxy : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Soda config generator under windows creates wrong paths for sqlite dbs

Running soda g config -t sqlite under windows 10 generates wrong paths inside database.yml.
The path looks for example like this:
/\src\test\coke/C:\Users\schroepfer\    go\src\test\coke_test.sqlite
The issue is the "mix of slashes" here, because of the windos \

The https://github.com/markbates/pop (v3.x) repo has been moved to https://github.com/gobuffalo/pop (v4.x). The markbates/pop repo has been put into READ-ONLY mode and will no longer be updated. You may continue to use this repository, but be aware no more updates will be made on it.
If this is issues is still relevant, please open a new issue on the repository.
For more information on this move see https://github.com/markbates/pop/issues/164
Thank you so much and I apologize in advance for any trouble this may cause you.


CHG Make mayat only list entries with similarity scores higher than 0

There're potentially hundreds or even thousands of entries with a similarity score of 0. We would like only to show these results if the user provides a flag in the command.

Done in e42152a


How to update node version

Hi! I'm new at developing. I starting to work with this project, just for fun.
I tried to update react and react-dom to the lastest and it worked well.. except for "node" version, that says is 8.15
I update my node but.. the project still says that is 8.15.
So.. how do i update the node version in the proyect?
I'm using docker and yarn (basically)

I finally figure out


SW-5027 Allow navigating back to deliverables list from detail deliverable view

added a route check to flag this case

@nickgraz @joshbuchea a very simple bug fix for deliverables


Readme updated

Updated Data Structures and Algorithms now showing which all have been done and the blank ones are open for contributions.
Solves #554

Thanks for contributing!


3.8 Lists and 3.10 Iteration - Notes, Challenges and Homework Submission

What to Do
Please post your name a link to your fastpages blog post which contains your notes, challenges, and homework.
Make sure that your notes on the lesson, the challenges, and the homework are all in the same blog post on your website. If they are not, quickly copy them over before committing and submitting the link.
Put your full name along with the link. You can embed the link in your name if you want.
Make sure the link works. If your link doesn't work, you will be given a zero until you come to our group, clarify the issue, and give us a chance to grade it live if necessary.
Grading
You can also access this information on the learning resources issue.
To ensure consistency when grading, keep in mind this weighting scale (out of 1 point).

Homework: Worth 0.1
Challenge Attempts: Worth 0.1
Notes Blog: Worth 0.1

Doing all of these things as expected will result in a 0.9/1. Doing these all incorrectly (such as having little to no effort put into the challenges or not writing any notes) will result in a 0.6. Only partial completion may lose you half a point on each of these grades. Not turning in anything at all will result in a 0. If you end up with a 0, come and see us and we'll help make sure there was no error.
To get a 1/1, try things such as fully completing the challenges and incorporating one or two hacks into your homework. (Doing one hack really well is a lot better for your grade than doing a few poor/small ones!)
"What if I Can't Figure Out the Homework/Challenges?"
For the challenges, you can still get a 0.9 as long as you show clear work was put into trying to complete it. If there are problems with your code, please explain them in code comments or a Markdown cell.
For the homework specifically, if you weren't able to meet all the requirements/get a working quiz before the due date, please write some notes reflecting on what doesn't work, what was difficult, and what you did to try to solve various problems you came across. Showing that you put in effort and being honest about what you didn't understand is a lot better for your grade than copying someone else.

Sophia Tang

Keira Okimoto

Alex Lu

Alex Lu

Lucas Moore

Tay Kim

Emaad Mir

Aditya Nawandhar

Jaden Nguyen

Lily Wu

Jiya Savlani

Sabine Sommers

Shruthi Malayath

Ryan Hakimipour

Chinmay Ramamurthy

Nathan Kim

Prasith Chilla

Ananya Gaurav

Harshavaratan Jaisankar

Noor Grewal

Colin Mills

Haoxuan Tong
For some reason the build failed on the fastpages but you can view it here

https://deadshotlegend.github.io/Shivansh-Goel-Fast-Pages/2022/11/26/listanditerationhomework.html

max- https://maxtullius.github.io/Max/homework/

Ethan Zhao

Shreyas

Mirza Haseeb Beg

Vyaan Gautam

Rohan Agarwal

Dylan Garrett


do not work in MacOS Safari

Hi,
could you get it working in Safari browser?

If I received a bug-report with output from the javascript-console, or any similar integrated debugging tool, which pointed to a problem I'd be happy to try to fix it.  But I'd be stabbing in the dark making changes to resolve a problem I couldn't see.
So realistically if this fails on Safari/Mac it would need somebody else to investigate that, and contribute the appropriate fix(es) to me.
In short:

If there is an explicit error message that has an obvious fix I will do it.
If there is an error message with no clear reason then I won't blindly make changes on the off-chance that it fixes the problem.
If somebody says "Hey this is broken, here is a fix" then I'll accept the fix(es) and say "thank-you".

the problem is with the  data file loading, in JS console I see
Failed to load resource: Preflight response is not successful
XMLHttpRequest cannot load file:///Users/hudecof/devel/github/bookmarks.public/bookmarks.data. Preflight response is not successful

seems that CHROME has the same problem, Works only in FF

jquery-3.1.1.min.js:4 Failed to load file:///Users/hudecof/devel/github/bookmarks.public/bookmarks.data: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
send @ jquery-3.1.1.min.js:4

Yup just confirmed:

Firefox allows the request because it accepts requests to the local file system (ie. the file:// protocol) if they originate from there too. However Chrome denies all XMLHttpRequests to file:// URLS.

Seems like there's no great solution here, short of suggesting that you run a local HTTP-server and open http://localhost:XXXX, or similar.
I use firefox so this works for me.  It's probably worth a note in the README file.

OK, closing the ISSUE. This bookmarks project fullfill all my requirements except one, run in all browsers ;(
I'm not very keen on run permanently web server ;(


[QUESTION]: Since the PV is not provisioned, the PVC becomes Pending, so I would like to resolve it.

How can the Team help you today?
failed to provision volume with StorageClass "<StorageClass for replication>": rpc error: code = Internal desc = can't find volume '<fictitious volume that doesn't exist>':
When requesting a PV in a storage class for replication, an error is output stating that a non-existent fictitious PV cannot be found.
our environment:

PowerStore 1200T
OpenShift Container Platform 4.12.44
CSI Driver for Dell PowerStore 2.7.0
CSM for Replication 1.5.0

Details:
PVC was generated at rook-ceph(Storage Orchestration for Kubernetes) https://github.com/rook/rook
The generated PVC is as below
$ oc get pvc rook-ceph-mon-a -o yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    volume.beta.kubernetes.io/storage-provisioner: csi-powerstore.dellemc.com
    volume.kubernetes.io/storage-provisioner: csi-powerstore.dellemc.com
  creationTimestamp: "2024-03-28T04:35:14Z"
  finalizers:
  - kubernetes.io/pvc-protection
  labels:
    app: rook-ceph-mon
    app.kubernetes.io/component: cephclusters.ceph.rook.io
    app.kubernetes.io/created-by: rook-ceph-operator
    app.kubernetes.io/instance: a
    app.kubernetes.io/managed-by: rook-ceph-operator
    app.kubernetes.io/name: ceph-mon
    app.kubernetes.io/part-of: rook-ceph
    ceph-version: 17.2.6-0
    ceph_daemon_id: a
    ceph_daemon_type: mon
    mon: a
    mon_cluster: pf-rook-ceph
    pvc_name: rook-ceph-mon-a
    pvc_size: 10Gi
    rook-version: v1.12.2
    rook.io/operator-namespace: pf-rook-ceph
    rook_cluster: pf-rook-ceph
  name: rook-ceph-mon-a
  namespace: pf-rook-ceph
  ownerReferences:
  - apiVersion: ceph.rook.io/v1
    blockOwnerDeletion: true
    controller: true
    kind: CephCluster
    name: rook-ceph
    uid: 22ac015f-c63d-4d55-97b3-aaf3a6d66d26
  resourceVersion: "54087199"
  uid: 493e342e-a6dc-4bd0-aa03-5c9c8a7050be
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi
  storageClassName: <StorageClass for replication>
  volumeMode: Filesystem
status:
  phase: Pending

However, the error failed to provision volume with StorageClass "<StorageClass for replication>": rpc error: code = Internal desc = can't find volume '<fictitious volume that doesn't exist>': introduced at the beginning was output.
Therefore, rook-ceph itself is in Pending state as PV is not provisioned.
It is confirmed from the PowerStore GUI that the PV does not exist.
It worked fine when I implemented it in other environments, so I believe this is a problem specific to this environment.
However, I have reinstalled the CSI driver and replication controller, but the situation does not improve.
It is unclear whether the PV is not provided because the replication has failed, or whether the replication has failed because the PV is not provided.
that's all
If you have any solutions or advice regarding the issue where PV is not provisioned, please let us know.

@hara1101kazu, in your PVC definition you have  storageClassName: <StorageClass for replication>  ; are you sure you put the correct value ?

Thank you for your reply.
Yes, I understand that.
$ oc get sc <StorageClass for replication> -o yaml
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  creationTimestamp: "2024-04-04T11:16:49Z"
  name: <StorageClass for replication>
  resourceVersion: "29215339"
  uid: 11333a97-6cd4-4730-a9a0-00e5b1a11db3
parameters:
  arrayID: PS82f1db311b16
  csi.storage.k8s.io/fstype: ext4
  replication.storage.dell.com/ignoreNamespaces: "false"
  replication.storage.dell.com/isReplicationEnabled: "true"
  replication.storage.dell.com/remoteClusterID: cluster-1
  replication.storage.dell.com/remoteStorageClassName: <StorageClass for replication>
  replication.storage.dell.com/remoteSystem: Side3
  replication.storage.dell.com/rpo: Five_Minutes
  replication.storage.dell.com/volumeGroupPrefix: csi
provisioner: csi-powerstore.dellemc.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
$

The configured storage class value is as above

@hara1101kazu,
By the description shared by you and going by the error, it seems the API is getting the volume it just created.
To debug more, we may need to look through driver logs.
Can you please share, the driver logs, and replication controller logs?
Thanks.
Utkarsh

/sync

@delldubey
Thank you for your reply.
Currently, the problem is no longer reproducible.
PVCs are not Pending and PVs are provisioned as expected.
Since the problem cannot be reproduced, I would like to close this issue. Is this okay?
If it happens again, I will share it with you, so I would appreciate it if you could consult with me.

hi @hara1101kazu , thank you for the update and confirmation.
If the issue happens again , feel free to create github issue/question and team will look into it.
Closing this for now.


Fix #2587: When Polymer.dom(el).appendChild(node) is called, cleanup …

…work must be performed on the existing parent of node. This change fixes a missing case in this cleanup work: if the existing parent has a observer via Polymer.dom(parent).observeNodes, it needs to be notified that node is being removed even if the node does not have specific logical info. For example, if an observed node has no Shady DOM and has a child that is removed. A test for this case was added.

LGTM


Populate author and license based on package.json

Code and tests to have the widget generator populate the author and license properties of the manifest.json file from the project's package.json, if it exists.
Resolves #4

@tomwayson please review and test

@gavinr nicely done!


Cannot use Google CardDAV API

I'm having a lot of difficulty downloading vCards from the Google contacts API.
async function main() {
  const client = new DAVClient({
    serverUrl: "https://www.googleapis.com/",
    credentials: {
      clientId: "...",
      clientSecret: "...",
      tokenUrl: "https://oauth2.googleapis.com/token",
      refreshToken: "...",
    },
    authMethod: "Oauth",
    defaultAccountType: "carddav",
  });

  await client.login();

  const addressBooks = await client.fetchAddressBooks();
  return addressBooks;
}

Please note that several of the examples on the README/documentation site contain incorrect information, so I have had to do a fair amount of experimentation to get this far and it's possible I've got one of these URLs configured wrong. In order to get this working at all, I also had to patch the code in serviceDiscovery to issue a PROPFIND instead of a GET, since Google does not respond otherwise. However, the fetchAddressBooks method fails regardless, with error Cannot read property 'supportedReport' of undefined, originating on this line.
For what it's worth, the following is also in the debug logs (originating from this line:
  tsdav:addressBook Found address book named Address Book,
  tsdav:addressBook              props: {"displayname":"Address Book","resourcetype":{"collection":{},"addressbook":{}},"getctag":{},"syncToken":{}} +0ms

Is this a known issue? Is there a working example of downloading vCards from Google? Thanks!

Thanks for reporting the bug, I would investigate and let you know when it's fixed.

The issue have been identified and fixed, I will draft a new release this weekend.


Async Resolving

Async resolving would be the corner stone to use Swift GraphQL as an aggregation layer. We would need to introduce some async task handling.

https://github.com/GraphQLSwift/Graphiti/issues/6

@lightsprint09 yeah for async frameworks that's true. The reason it is not async yet is because I use it mainly with Zewo which provides non-blocking synchronous APIs through coroutines. But an async API is indeed in the plans. I just gotta find time to work on it.

@lightsprint09 does #13 help at all? In theory you should be able to use an instance of the ConcurrentDispatchFieldExecutionStrategy as the queryStrategy: parameter to the graphql function to enable concurrent field resolution/execution. You will still have to ensure that your field resolution functions behave as if they are synchronous and only return once they have, for example, completed their http request but this does mean that we don't have to provide support for [insert favourite concurrent swift package here] directly and you are free to build your resolution functions as you see fit.
With the potential updates in #18 you will also be exposed to more of the internal data structures and have access to both the schema and the request AST. This could potentially help any aggregation layer to look at the incoming request to see what information it might potentially need and adjust its request(s) as required.

Implented by #41


[Bug]:

Platform
Android 8+
Plugin
device_info_plus
Version
9.0.3
Flutter SDK
3.10.4
Steps to reproduce
After integrating with this mentioned library i am getting this following error,
Could not find method namespace() for arguments [dev.fluttercommunity.plus.device_info] on extension 'android' of type com.android.build.gradle.LibraryExtension.
Code Sample
No response
Logs
[   +1 ms] FAILURE: Build failed with an exception.
[   +2 ms] * Where:
[        ] Build file '/Users/muthu/.pub-cache/hosted/pub.dev/device_info_plus-9.0.3/android/build.gradle' line: 30
[        ] * What went wrong:
[        ] A problem occurred evaluating project ':device_info_plus'.
[        ] > Could not find method namespace() for arguments [dev.fluttercommunity.plus.device_info] on extension
'android' of type com.android.build.gradle.LibraryExtension.
[        ] * Try:
[        ] > Run with --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] * Exception is:
[        ] org.gradle.api.GradleScriptException: A problem occurred evaluating project ':device_info_plus'.
[        ]      at
org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:
93)
[        ]      at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java
:133)
[        ]      at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:79)
[        ]      at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
[        ]      at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
[        ]      at
org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
[        ]      at
org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
[        ]      at
org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
[        ]      at
org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
[        ]      at
org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
[ +272 ms]      at

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.4, on macOS 13.1 22C65 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.82.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Update Android Gradle Plugin in your project as required since version 9.0.0: https://pub.dev/packages/device_info_plus/changelog#900
Duplicate of #2020 and many other similar bugs we had here.
P.S. Don't check the checkmark for first 2 items in the checklist as it seems that you definitely didn't bother yourself searching the issue in Google or StackOverflow before opening an issue here.


ci: yet another CI bug report

Currently, SDL2 is failed to compile on Linux. Working on a PR rn

Fixed on main. Releasing 0.0.9 soon.


Use deepstream client in node throws error

I'm trying to programing a server side client to connect to deepstream server to manager list of task, so I'm using node with @deepstream/client,
import DeepstreamClient from '@deepstream/client'

const dss = new DeepstreamClient('xxx.xxx.xxx.xxx:6020/deepstream')
dss.login()

run the script file with node --experimental-modules taskserver.mjs
And I get:  TypeError: DeepstreamClient is not a constructor
Am I doing correctly?

It’s { DeepstreamClient } since the function is not the default export.


write a script to send a thank you mail to the contributors who merged atleast 1 pr.

write script inside /src/scripts to send thank you mail to the contributors
create a ejs template matching our theme.

note: add every contributor's email in single array, no need to send email to individuals because of api constraints.

assign

Broo what's the status?

@nishantKathrotiya What's the status of this issue, i wanna work on it..

Bro it is done


operators [N] [CI] clever-operator (0.3.5)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?

[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@FlorentinDUBOIS the operator was not installed after subscribing. You can debug locally on k8s.

/merge possible

/merge possible

Hello @J0zi and @mvalarh, I thinks that the pull request is able to be merged. What do you think about it?

/merge possible


Add clickable suggestions for AutocompleteComponent

This does three main things:

Hovering a suggestion changes highlightedSuggestionIndex.
A click on a suggestion calls selectAutocomplete() (i.e it autocompletes the input with the clicked suggestion)
suggestionComponent is now styled with {cursor: "pointer"} so it actually looks clickable.

Any thoughts ? :-)

You are awesome, @j-allard! I planned to do that but never had time.


Allow options.pragmaImportSource to work with named exports.

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)

When compiling mdx with the “classic” runtime, it seems like the pragmaImportSource option expects the import to be a module with a default export:
/*@jsxRuntime classic @jsx Crank.createElement @jsxFrag Fragment*/
import Crank from "@b9g/crank";

I can probably fix this on my end if this is how all JSX frameworks are expected to work, but I’m wondering if there is a way to import * or otherwise use named exports? Perhaps I’m missing another option, though I scoured the type definitions for such an option.

It also seems like the classic jsx runtime is incompatible with outputFormat: "function-body".
[1:1-1:1: Cannot use `import` or `export … from` in `evaluate` (outputting a function body) by default: please set `useDynamicImport: true` (and probably specify a `baseUrl`)] {
  reason: 'Cannot use `import` or `export … from` in `evaluate` (outputting a function body) by default: please set `useDynamicImport: true` (and probably specify a `baseUrl`)',
  line: undefined,
  column: undefined,
  source: 'recma-document',
  ruleId: 'invalid-esm-statement',
  position: {
    start: { line: undefined, column: undefined, offset: undefined },
    end: { line: undefined, column: undefined, offset: undefined }
  },
  fatal: true
}


Adds support for looking up past Blocks in expando objects

Fixes #31972
The Block in the AST stops the the lookup for the symbol in the containing scope for the expando function, this PR makes the symbol lookup fallback to checking the blockscope scope when needed as well
/cc @andrewbranch

Doesn't this only fail to work in TS? Can you add a test for JS as well and see whether it fails without your fix?

Confirmed this fails in JS in the current playground, and double confirmed that it fixes it on that side too
// Creates a type { first:string, last: string }
/**
 * @typedef {Object} Human - creates a new type named 'SpecialType'
 * @property {string} first - a string property of SpecialType
 * @property...

Playground Link

This should be good for a second look


Gooey freezes when subparsers used

Gooey works fine with subparsers/column layout on my local computer, but several coworkers I've distributed my app to have found that the first subparser behaves normally, but selecting any other option causes the input fields to become un-selectable. It also causes the other subparser options to become un-selectable. Any idea how to fix this?

Hey, thanks for the report and apologies for the trouble!
My off-the-cuff guess is that there's something interacting with the main GUI thread in a way that makes WX unhappy. Could you post the platform your on, gooey version, and a small code sample that reproduces the problem?
I'm completely and totally buried under work right now, so a fix may be slow, but I'll try to investigate it.

We're both running OS X El Capitan on early 2015 Macbook Airs. Glad you asked about gooey version - I'm running 0.8.16 (works) and she's running 0.9.2 (doesn't work). I'd upgrade to the latest version myself, but don't want to lose the working version if possible.
Here's some code that reproduces:
`from future import print_function
from gooey import Gooey, GooeyParser
import module_a
import module_b
import module_c
@Gooey(program_name="Main")
def parse_args():
parser = GooeyParser()
subparsers = parser.add_subparsers(help='options', dest='subparser_name')

a_fields = subparsers.add_parser('a')
a_fields.add_argument('Links',
                    action='store',
                    default='',
                    widget='FileChooser',
                    help='')

b_fields = subparsers.add_parser('b')
b_fields.add_argument('Request_Date',
                    action='store',
                    default='',
                    help='')

c_fields = subparsers.add_parser('c')
c_fields.add_argument('Combined_File',
                    action='store',
                    default='',
                    widget='FileChooser',
                    help='')

args = parser.parse_args()
return args

if name == 'main':
conf = parse_args()

if conf.subparser_name == 'a':
    module_a.function_a(conf)
elif conf.subparser_name == 'b':
    module_b.function_b(conf)
elif conf.subparser_name == 'c':
    module_c.function_c(conf)

`
`from future import print_function
def function_a(conf):
print('Ran A')`
`from future import print_function
def function_b(conf):
print('Ran B')`
`from future import print_function
def function_c(conf):
print('Ran C')`
Thanks a ton in advance. Great work you've done here - it's made our lives much much easier.

Thanks for the extra details. I made version 0.8.16 visible on PyPi again in case you want to have then downgrade to that version while the fix is being worked on.
Apologies again for the brokenness!

Thanks, Chris! Version 0.8.16 works for my colleague.
Incidentally, one other issue I've noticed is that the order that subparsers appear in the column list is very erratic - it doesn't seem to follow either the order that they're defined in the code, alphabetical order, or any other pattern that I can observe (or control). Version 0.9.2 I believe displayed in the order defined in the code.


allow connection to all connectable peripherals

Allow connection to any peripheral where peripheral.connectable is true.
peripheral.state can become out of sync with peripheral.connectable in cases where there is no disconnect event.
This happens when plugging / unplugging an external bluetooth adapter on MacOS while a peripheral is connected as described here: https://github.com/noble/noble/issues/881

Please forward change to downstream fork:
https://github.com/noble/noble/issues/923


Strategy for integrating bbc-a11y standards into HTML_CodeSniffer

Options:

use a fork
@joshski talk to squizlabs and ask if they'll want to integrate the BBC standards into their codebase
@joshski talk to squizlabs to see if they'll build in an extension point that makes it easier to plug in new standards.

@joshski I think this can possibly be closed ... unless you think there is more should be done in regard encouraging Pa11y to be easier to extend.

@EmmaJP - happy to close?


#17260 Fix doubled statistics during stream data transfer

Additional PR: https://github.com/dbeaver/dbeaver-ee/pull/1885

verified


Update index.ts

add types described by Hateoas

Hi!
I'm not sure where these types are from. These are not part of the standard HAL spec, and HATEOAS is a type of architecture for api design, not a specific standard. What standard are these defined?


image prompt

try multi text-image pair to fine the best way get the response from LLM.

find the prompt for the response.
Now the next prompt is used.
prompt_en: |
  Please analyze the content of the image according to the following format to ensure clarity and accuracy:
  1. Presence of a heat source or cold source: Determine whether there is an identifiable heat source or cold source in the image.
  2. Type of heat source or cold source: Describe the specific type of the heat source or cold source (e.g., flame, electric heater, ice block, etc.).
  3. Location of the heat source or cold source: Specify the exact location of the heat source or cold source in the image (e.g., top-left, center, bottom-right, etc.).
  4. Proportion of the heat source or cold source: Estimate the proportion of the image occupied by the heat source or cold source (expressed as a percentage).
  Please provide the analysis following this format.